msvcrt/tests: Add tests about intricating kernel32 and msvcrt env calls.
[wine.git] / configure
blob4deeccc3e9c9e3841e0d195d3f0b0ed4c3249f35
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.19.
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.19'
615 PACKAGE_STRING='Wine 8.19'
616 PACKAGE_BUGREPORT='wine-devel@winehq.org'
617 PACKAGE_URL='https://www.winehq.org'
619 ac_unique_file="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
651 ac_header_c_list=
652 ac_subst_vars='LTLIBOBJS
653 LIBOBJS
654 TAGSFLAGS
655 RT_LIBS
656 WINELOADER_PROGRAMS
657 DELAYLOADFLAG
658 MSVCRTFLAGS
659 NETAPI_LIBS
660 NETAPI_CFLAGS
661 PROCSTAT_LIBS
662 GSSAPI_LIBS
663 GSSAPI_CFLAGS
664 KRB5_LIBS
665 KRB5_CFLAGS
666 FONTCONFIG_LIBS
667 FONTCONFIG_CFLAGS
668 CUPS_LIBS
669 CUPS_CFLAGS
670 CAPI20_LIBS
671 CAPI20_CFLAGS
672 SDL2_LIBS
673 SDL2_CFLAGS
674 UNWIND_LIBS
675 UNWIND_CFLAGS
676 UDEV_LIBS
677 UDEV_CFLAGS
678 OSS4_LIBS
679 OSS4_CFLAGS
680 ALSA_LIBS
681 GSTREAMER_LIBS
682 GSTREAMER_CFLAGS
683 PULSE_LIBS
684 PULSE_CFLAGS
685 GETTEXTPO_LIBS
686 FREETYPE_LIBS
687 FREETYPE_CFLAGS
688 RESOLV_LIBS
689 GPHOTO2_PORT_LIBS
690 GPHOTO2_PORT_CFLAGS
691 GPHOTO2_LIBS
692 GPHOTO2_CFLAGS
693 USB_LIBS
694 USB_CFLAGS
695 SANE_LIBS
696 SANE_CFLAGS
697 GNUTLS_LIBS
698 GNUTLS_CFLAGS
699 DBUS_LIBS
700 DBUS_CFLAGS
701 INOTIFY_LIBS
702 INOTIFY_CFLAGS
703 PCSCLITE_LIBS
704 PCAP_LIBS
705 WAYLAND_SCANNER
706 WAYLAND_CLIENT_LIBS
707 WAYLAND_CLIENT_CFLAGS
708 X_EXTRA_LIBS
709 X_LIBS
710 X_PRE_LIBS
711 X_CFLAGS
713 XMKMF
714 PTHREAD_LIBS
715 ZYDIS_PE_LIBS
716 ZYDIS_PE_CFLAGS
717 ZLIB_PE_LIBS
718 ZLIB_PE_CFLAGS
719 XSLT_PE_LIBS
720 XSLT_PE_CFLAGS
721 XML2_PE_LIBS
722 XML2_PE_CFLAGS
723 VKD3D_PE_LIBS
724 VKD3D_PE_CFLAGS
725 TIFF_PE_LIBS
726 TIFF_PE_CFLAGS
727 PNG_PE_LIBS
728 PNG_PE_CFLAGS
729 MUSL_PE_LIBS
730 MUSL_PE_CFLAGS
731 MPG123_PE_LIBS
732 MPG123_PE_CFLAGS
733 LDAP_PE_LIBS
734 LDAP_PE_CFLAGS
735 LCMS2_PE_LIBS
736 LCMS2_PE_CFLAGS
737 JXR_PE_LIBS
738 JXR_PE_CFLAGS
739 JPEG_PE_LIBS
740 JPEG_PE_CFLAGS
741 GSM_PE_LIBS
742 GSM_PE_CFLAGS
743 FLUIDSYNTH_PE_LIBS
744 FLUIDSYNTH_PE_CFLAGS
745 FAUDIO_PE_LIBS
746 FAUDIO_PE_CFLAGS
747 MINGW_PKG_CONFIG
748 PE_ARCHS
749 WINELOADER_DEPENDS
750 ac_ct_OBJC
751 OBJCFLAGS
752 OBJC
753 OPENCL_LIBS
754 COREAUDIO_LIBS
755 SYSTEMCONFIGURATION_LIBS
756 SECURITY_LIBS
757 APPKIT_LIBS
758 CORESERVICES_LIBS
759 APPLICATIONSERVICES_LIBS
760 METAL_LIBS
761 IOKIT_LIBS
762 DISKARBITRATION_LIBS
763 COREFOUNDATION_LIBS
764 CARBON_LIBS
765 CONFIGURE_TARGETS
766 DISABLED_SUBDIRS
767 SUBDIRS
768 READELF
769 OTOOL
771 DLLEXT
772 WINEPRELOADER_LDFLAGS
773 WINELOADER_LDFLAGS
774 TOP_INSTALL_DEV
775 TOP_INSTALL_LIB
776 UNIXLDFLAGS
777 UNIXDLLFLAGS
778 EXTRACFLAGS
779 LDEXECFLAGS
780 LDDLLFLAGS
781 DLLFLAGS
782 OPENGL_LIBS
783 I386_LIBS
784 ICOTOOL
785 CONVERT
786 RSVG
787 FONTFORGE
788 PKG_CONFIG
789 MSGFMT
790 LDCONFIG
791 EGREP
792 GREP
793 LN_S
794 RANLIB
795 STRIP
796 ac_ct_AR
798 BISON
799 FLEX
800 SED_CMD
801 RUNTESTFLAGS
802 MAKEDEP
803 toolsdir
804 x86_64_DISABLED_SUBDIRS
805 x86_64_DELAYLOADFLAG
806 x86_64_TARGET
807 x86_64_DEBUG
808 x86_64_LDFLAGS
809 x86_64_EXTRACFLAGS
810 x86_64_CFLAGS
811 x86_64_CC
812 i386_DISABLED_SUBDIRS
813 i386_DELAYLOADFLAG
814 i386_TARGET
815 i386_DEBUG
816 i386_LDFLAGS
817 i386_EXTRACFLAGS
818 i386_CFLAGS
819 i386_CC
820 arm_DISABLED_SUBDIRS
821 arm_DELAYLOADFLAG
822 arm_TARGET
823 arm_DEBUG
824 arm_LDFLAGS
825 arm_EXTRACFLAGS
826 arm_CFLAGS
827 arm_CC
828 aarch64_DISABLED_SUBDIRS
829 aarch64_DELAYLOADFLAG
830 aarch64_TARGET
831 aarch64_DEBUG
832 aarch64_LDFLAGS
833 aarch64_EXTRACFLAGS
834 aarch64_CFLAGS
835 aarch64_CC
836 HOST_ARCH
837 toolsext
838 TARGETFLAGS
840 CPPBIN
841 ac_ct_CXX
842 CXXFLAGS
844 OBJEXT
845 EXEEXT
846 ac_ct_CC
847 CPPFLAGS
848 LDFLAGS
849 CFLAGS
851 SET_MAKE
852 srcdir
853 nlsdir
854 fontdir
855 dlldir
856 host_os
857 host_vendor
858 host_cpu
859 host
860 build_os
861 build_vendor
862 build_cpu
863 build
864 system_dllpath
865 target_alias
866 host_alias
867 build_alias
868 LIBS
869 ECHO_T
870 ECHO_N
871 ECHO_C
872 DEFS
873 mandir
874 localedir
875 libdir
876 psdir
877 pdfdir
878 dvidir
879 htmldir
880 infodir
881 docdir
882 oldincludedir
883 includedir
884 runstatedir
885 localstatedir
886 sharedstatedir
887 sysconfdir
888 datadir
889 datarootdir
890 libexecdir
891 sbindir
892 bindir
893 program_transform_name
894 prefix
895 exec_prefix
896 PACKAGE_URL
897 PACKAGE_BUGREPORT
898 PACKAGE_STRING
899 PACKAGE_VERSION
900 PACKAGE_TARNAME
901 PACKAGE_NAME
902 PATH_SEPARATOR
903 SHELL'
904 ac_subst_files=''
905 ac_user_opts='
906 enable_option_checking
907 enable_archs
908 enable_win16
909 enable_win64
910 enable_tests
911 enable_build_id
912 enable_maintainer_mode
913 enable_silent_rules
914 enable_werror
915 with_alsa
916 with_capi
917 with_coreaudio
918 with_cups
919 with_dbus
920 with_float_abi
921 with_fontconfig
922 with_freetype
923 with_gettext
924 with_gettextpo
925 with_gphoto
926 with_gnutls
927 with_gssapi
928 with_gstreamer
929 with_inotify
930 with_krb5
931 with_mingw
932 with_netapi
933 with_opencl
934 with_opengl
935 with_osmesa
936 with_oss
937 with_pcap
938 with_pcsclite
939 with_pthread
940 with_pulse
941 with_sane
942 with_sdl
943 with_udev
944 with_unwind
945 with_usb
946 with_v4l2
947 with_vulkan
948 with_wayland
949 with_xcomposite
950 with_xcursor
951 with_xfixes
952 with_xinerama
953 with_xinput
954 with_xinput2
955 with_xrandr
956 with_xrender
957 with_xshape
958 with_xshm
959 with_xxf86vm
960 with_system_dllpath
961 with_wine_tools
962 with_wine64
963 enable_largefile
964 with_x
965 enable_acledit
966 enable_aclui
967 enable_activeds_tlb
968 enable_activeds
969 enable_actxprxy
970 enable_adsldp
971 enable_adsldpc
972 enable_advapi32
973 enable_advpack
974 enable_amsi
975 enable_amstream
976 enable_apisetschema
977 enable_apphelp
978 enable_appwiz_cpl
979 enable_appxdeploymentclient
980 enable_atl
981 enable_atl100
982 enable_atl110
983 enable_atl80
984 enable_atl90
985 enable_atlthunk
986 enable_atmlib
987 enable_authz
988 enable_avicap32
989 enable_avifil32
990 enable_avrt
991 enable_bcrypt
992 enable_bcryptprimitives
993 enable_bluetoothapis
994 enable_browseui
995 enable_bthprops_cpl
996 enable_cabinet
997 enable_capi2032
998 enable_cards
999 enable_cdosys
1000 enable_cfgmgr32
1001 enable_clusapi
1002 enable_cng_sys
1003 enable_combase
1004 enable_comcat
1005 enable_comctl32
1006 enable_comdlg32
1007 enable_compstui
1008 enable_comsvcs
1009 enable_concrt140
1010 enable_connect
1011 enable_credui
1012 enable_crtdll
1013 enable_crypt32
1014 enable_cryptdlg
1015 enable_cryptdll
1016 enable_cryptext
1017 enable_cryptnet
1018 enable_cryptowinrt
1019 enable_cryptsp
1020 enable_cryptui
1021 enable_ctapi32
1022 enable_ctl3d32
1023 enable_d2d1
1024 enable_d3d10
1025 enable_d3d10_1
1026 enable_d3d10core
1027 enable_d3d11
1028 enable_d3d12
1029 enable_d3d12core
1030 enable_d3d8
1031 enable_d3d8thk
1032 enable_d3d9
1033 enable_d3dcompiler_33
1034 enable_d3dcompiler_34
1035 enable_d3dcompiler_35
1036 enable_d3dcompiler_36
1037 enable_d3dcompiler_37
1038 enable_d3dcompiler_38
1039 enable_d3dcompiler_39
1040 enable_d3dcompiler_40
1041 enable_d3dcompiler_41
1042 enable_d3dcompiler_42
1043 enable_d3dcompiler_43
1044 enable_d3dcompiler_46
1045 enable_d3dcompiler_47
1046 enable_d3dim
1047 enable_d3dim700
1048 enable_d3drm
1049 enable_d3dx10_33
1050 enable_d3dx10_34
1051 enable_d3dx10_35
1052 enable_d3dx10_36
1053 enable_d3dx10_37
1054 enable_d3dx10_38
1055 enable_d3dx10_39
1056 enable_d3dx10_40
1057 enable_d3dx10_41
1058 enable_d3dx10_42
1059 enable_d3dx10_43
1060 enable_d3dx11_42
1061 enable_d3dx11_43
1062 enable_d3dx9_24
1063 enable_d3dx9_25
1064 enable_d3dx9_26
1065 enable_d3dx9_27
1066 enable_d3dx9_28
1067 enable_d3dx9_29
1068 enable_d3dx9_30
1069 enable_d3dx9_31
1070 enable_d3dx9_32
1071 enable_d3dx9_33
1072 enable_d3dx9_34
1073 enable_d3dx9_35
1074 enable_d3dx9_36
1075 enable_d3dx9_37
1076 enable_d3dx9_38
1077 enable_d3dx9_39
1078 enable_d3dx9_40
1079 enable_d3dx9_41
1080 enable_d3dx9_42
1081 enable_d3dx9_43
1082 enable_d3dxof
1083 enable_davclnt
1084 enable_dbgeng
1085 enable_dbghelp
1086 enable_dciman32
1087 enable_dcomp
1088 enable_ddraw
1089 enable_ddrawex
1090 enable_devenum
1091 enable_dhcpcsvc
1092 enable_dhcpcsvc6
1093 enable_dhtmled_ocx
1094 enable_diasymreader
1095 enable_difxapi
1096 enable_dinput
1097 enable_dinput8
1098 enable_directmanipulation
1099 enable_dispex
1100 enable_dmband
1101 enable_dmcompos
1102 enable_dmime
1103 enable_dmloader
1104 enable_dmscript
1105 enable_dmstyle
1106 enable_dmsynth
1107 enable_dmusic
1108 enable_dmusic32
1109 enable_dnsapi
1110 enable_dplay
1111 enable_dplayx
1112 enable_dpnaddr
1113 enable_dpnet
1114 enable_dpnhpast
1115 enable_dpnhupnp
1116 enable_dpnlobby
1117 enable_dpvoice
1118 enable_dpwsockx
1119 enable_drmclien
1120 enable_dsdmo
1121 enable_dsound
1122 enable_dsquery
1123 enable_dssenh
1124 enable_dsuiext
1125 enable_dswave
1126 enable_dwmapi
1127 enable_dwrite
1128 enable_dx8vb
1129 enable_dxcore
1130 enable_dxdiagn
1131 enable_dxgi
1132 enable_dxtrans
1133 enable_dxva2
1134 enable_esent
1135 enable_evr
1136 enable_explorerframe
1137 enable_faultrep
1138 enable_feclient
1139 enable_fltlib
1140 enable_fltmgr_sys
1141 enable_fntcache
1142 enable_fontsub
1143 enable_fusion
1144 enable_fwpuclnt
1145 enable_gameux
1146 enable_gamingtcui
1147 enable_gdi32
1148 enable_gdiplus
1149 enable_geolocation
1150 enable_glu32
1151 enable_gphoto2_ds
1152 enable_gpkcsp
1153 enable_graphicscapture
1154 enable_hal
1155 enable_hhctrl_ocx
1156 enable_hid
1157 enable_hidclass_sys
1158 enable_hidparse_sys
1159 enable_hlink
1160 enable_hnetcfg
1161 enable_hrtfapo
1162 enable_http_sys
1163 enable_httpapi
1164 enable_hvsimanagementapi
1165 enable_ia2comproxy
1166 enable_iccvid
1167 enable_icmp
1168 enable_ieframe
1169 enable_ieproxy
1170 enable_imaadp32_acm
1171 enable_imagehlp
1172 enable_imm32
1173 enable_inetcomm
1174 enable_inetcpl_cpl
1175 enable_inetmib1
1176 enable_infosoft
1177 enable_initpki
1178 enable_inkobj
1179 enable_inseng
1180 enable_iphlpapi
1181 enable_iprop
1182 enable_ir50_32
1183 enable_irprops_cpl
1184 enable_itircl
1185 enable_itss
1186 enable_joy_cpl
1187 enable_jscript
1188 enable_jsproxy
1189 enable_kerberos
1190 enable_kernel32
1191 enable_kernelbase
1192 enable_ksecdd_sys
1193 enable_ksproxy_ax
1194 enable_ksuser
1195 enable_ktmw32
1196 enable_l3codeca_acm
1197 enable_light_msstyles
1198 enable_loadperf
1199 enable_localspl
1200 enable_localui
1201 enable_lz32
1202 enable_magnification
1203 enable_mapi32
1204 enable_mapistub
1205 enable_mciavi32
1206 enable_mcicda
1207 enable_mciqtz32
1208 enable_mciseq
1209 enable_mciwave
1210 enable_mf
1211 enable_mf3216
1212 enable_mferror
1213 enable_mfmediaengine
1214 enable_mfplat
1215 enable_mfplay
1216 enable_mfreadwrite
1217 enable_mfsrcsnk
1218 enable_mgmtapi
1219 enable_midimap
1220 enable_mlang
1221 enable_mmcndmgr
1222 enable_mmdevapi
1223 enable_mountmgr_sys
1224 enable_mp3dmod
1225 enable_mpr
1226 enable_mprapi
1227 enable_msacm32_drv
1228 enable_msacm32
1229 enable_msado15
1230 enable_msadp32_acm
1231 enable_msasn1
1232 enable_msauddecmft
1233 enable_mscat32
1234 enable_mscms
1235 enable_mscoree
1236 enable_mscorwks
1237 enable_msctf
1238 enable_msctfmonitor
1239 enable_msctfp
1240 enable_msdaps
1241 enable_msdasql
1242 enable_msdelta
1243 enable_msdmo
1244 enable_msdrm
1245 enable_msftedit
1246 enable_msg711_acm
1247 enable_msgsm32_acm
1248 enable_mshtml_tlb
1249 enable_mshtml
1250 enable_msi
1251 enable_msident
1252 enable_msimg32
1253 enable_msimsg
1254 enable_msimtf
1255 enable_msisip
1256 enable_msisys_ocx
1257 enable_msls31
1258 enable_msmpeg2vdec
1259 enable_msnet32
1260 enable_mspatcha
1261 enable_msports
1262 enable_msrle32
1263 enable_msscript_ocx
1264 enable_mssign32
1265 enable_mssip32
1266 enable_mstask
1267 enable_msttsengine
1268 enable_msv1_0
1269 enable_msvcirt
1270 enable_msvcm80
1271 enable_msvcm90
1272 enable_msvcp100
1273 enable_msvcp110
1274 enable_msvcp120
1275 enable_msvcp120_app
1276 enable_msvcp140
1277 enable_msvcp140_1
1278 enable_msvcp140_2
1279 enable_msvcp140_atomic_wait
1280 enable_msvcp140_codecvt_ids
1281 enable_msvcp60
1282 enable_msvcp70
1283 enable_msvcp71
1284 enable_msvcp80
1285 enable_msvcp90
1286 enable_msvcp_win
1287 enable_msvcr100
1288 enable_msvcr110
1289 enable_msvcr120
1290 enable_msvcr120_app
1291 enable_msvcr70
1292 enable_msvcr71
1293 enable_msvcr80
1294 enable_msvcr90
1295 enable_msvcrt
1296 enable_msvcrt20
1297 enable_msvcrt40
1298 enable_msvcrtd
1299 enable_msvfw32
1300 enable_msvidc32
1301 enable_mswsock
1302 enable_msxml
1303 enable_msxml2
1304 enable_msxml3
1305 enable_msxml4
1306 enable_msxml6
1307 enable_mtxdm
1308 enable_ncrypt
1309 enable_nddeapi
1310 enable_ndis_sys
1311 enable_netapi32
1312 enable_netcfgx
1313 enable_netio_sys
1314 enable_netprofm
1315 enable_netutils
1316 enable_newdev
1317 enable_ninput
1318 enable_normaliz
1319 enable_npmshtml
1320 enable_npptools
1321 enable_nsi
1322 enable_nsiproxy_sys
1323 enable_ntdll
1324 enable_ntdsapi
1325 enable_ntoskrnl_exe
1326 enable_ntprint
1327 enable_objsel
1328 enable_odbc32
1329 enable_odbcbcp
1330 enable_odbccp32
1331 enable_odbccu32
1332 enable_ole32
1333 enable_oleacc
1334 enable_oleaut32
1335 enable_olecli32
1336 enable_oledb32
1337 enable_oledlg
1338 enable_olepro32
1339 enable_olesvr32
1340 enable_olethk32
1341 enable_opcservices
1342 enable_opencl
1343 enable_opengl32
1344 enable_packager
1345 enable_pdh
1346 enable_photometadatahandler
1347 enable_pidgen
1348 enable_powrprof
1349 enable_printui
1350 enable_prntvpt
1351 enable_propsys
1352 enable_psapi
1353 enable_pstorec
1354 enable_pwrshplugin
1355 enable_qasf
1356 enable_qcap
1357 enable_qdvd
1358 enable_qedit
1359 enable_qmgr
1360 enable_qmgrprxy
1361 enable_quartz
1362 enable_query
1363 enable_qwave
1364 enable_rasapi32
1365 enable_rasdlg
1366 enable_regapi
1367 enable_resutils
1368 enable_riched20
1369 enable_riched32
1370 enable_rpcrt4
1371 enable_rsabase
1372 enable_rsaenh
1373 enable_rstrtmgr
1374 enable_rtutils
1375 enable_rtworkq
1376 enable_samlib
1377 enable_sane_ds
1378 enable_sapi
1379 enable_sas
1380 enable_scarddlg
1381 enable_scardsvr
1382 enable_sccbase
1383 enable_schannel
1384 enable_schedsvc
1385 enable_scrobj
1386 enable_scrrun
1387 enable_scsiport_sys
1388 enable_sechost
1389 enable_secur32
1390 enable_security
1391 enable_sensapi
1392 enable_serialui
1393 enable_setupapi
1394 enable_sfc
1395 enable_sfc_os
1396 enable_shcore
1397 enable_shdoclc
1398 enable_shdocvw
1399 enable_shell32
1400 enable_shfolder
1401 enable_shlwapi
1402 enable_slbcsp
1403 enable_slc
1404 enable_snmpapi
1405 enable_softpub
1406 enable_spoolss
1407 enable_sppc
1408 enable_srclient
1409 enable_srvcli
1410 enable_srvsvc
1411 enable_sspicli
1412 enable_stdole2_tlb
1413 enable_stdole32_tlb
1414 enable_sti
1415 enable_strmdll
1416 enable_svrapi
1417 enable_sxs
1418 enable_t2embed
1419 enable_tapi32
1420 enable_taskschd
1421 enable_tbs
1422 enable_tdh
1423 enable_tdi_sys
1424 enable_threadpoolwinrt
1425 enable_traffic
1426 enable_twain_32
1427 enable_twinapi_appcore
1428 enable_tzres
1429 enable_ucrtbase
1430 enable_uianimation
1431 enable_uiautomationcore
1432 enable_uiribbon
1433 enable_unicows
1434 enable_updspapi
1435 enable_url
1436 enable_urlmon
1437 enable_usbd_sys
1438 enable_user32
1439 enable_userenv
1440 enable_usp10
1441 enable_utildll
1442 enable_uxtheme
1443 enable_vbscript
1444 enable_vcomp
1445 enable_vcomp100
1446 enable_vcomp110
1447 enable_vcomp120
1448 enable_vcomp140
1449 enable_vcomp90
1450 enable_vcruntime140
1451 enable_vcruntime140_1
1452 enable_vdmdbg
1453 enable_version
1454 enable_vga
1455 enable_virtdisk
1456 enable_vssapi
1457 enable_vulkan_1
1458 enable_wbemdisp
1459 enable_wbemprox
1460 enable_wdscore
1461 enable_webservices
1462 enable_websocket
1463 enable_wer
1464 enable_wevtapi
1465 enable_wevtsvc
1466 enable_wiaservc
1467 enable_wimgapi
1468 enable_win32u
1469 enable_windows_applicationmodel
1470 enable_windows_devices_bluetooth
1471 enable_windows_devices_enumeration
1472 enable_windows_devices_usb
1473 enable_windows_gaming_input
1474 enable_windows_gaming_ui_gamebar
1475 enable_windows_globalization
1476 enable_windows_media_devices
1477 enable_windows_media_mediacontrol
1478 enable_windows_media_speech
1479 enable_windows_media
1480 enable_windows_networking_hostname
1481 enable_windows_networking
1482 enable_windows_perception_stub
1483 enable_windows_security_credentials_ui_userconsentverifier
1484 enable_windows_storage_applicationdata
1485 enable_windows_system_profile_systemmanufacturers
1486 enable_windows_ui
1487 enable_windowscodecs
1488 enable_windowscodecsext
1489 enable_winealsa_drv
1490 enable_wineandroid_drv
1491 enable_winebus_sys
1492 enable_winecoreaudio_drv
1493 enable_winecrt0
1494 enable_wined3d
1495 enable_winegstreamer
1496 enable_winehid_sys
1497 enable_winemac_drv
1498 enable_winemapi
1499 enable_wineoss_drv
1500 enable_wineps_drv
1501 enable_winepulse_drv
1502 enable_wineusb_sys
1503 enable_winevulkan
1504 enable_winewayland_drv
1505 enable_winex11_drv
1506 enable_winexinput_sys
1507 enable_wing32
1508 enable_winhttp
1509 enable_wininet
1510 enable_winmm
1511 enable_winnls32
1512 enable_winprint
1513 enable_winscard
1514 enable_winspool_drv
1515 enable_winsta
1516 enable_wintab32
1517 enable_wintrust
1518 enable_wintypes
1519 enable_winusb
1520 enable_wlanapi
1521 enable_wlanui
1522 enable_wldap32
1523 enable_wldp
1524 enable_wmasf
1525 enable_wmi
1526 enable_wmiutils
1527 enable_wmp
1528 enable_wmphoto
1529 enable_wmvcore
1530 enable_wnaspi32
1531 enable_wofutil
1532 enable_wow64
1533 enable_wow64cpu
1534 enable_wow64win
1535 enable_wpc
1536 enable_wpcap
1537 enable_ws2_32
1538 enable_wsdapi
1539 enable_wshom_ocx
1540 enable_wsnmp32
1541 enable_wsock32
1542 enable_wtsapi32
1543 enable_wuapi
1544 enable_wuaueng
1545 enable_x3daudio1_0
1546 enable_x3daudio1_1
1547 enable_x3daudio1_2
1548 enable_x3daudio1_3
1549 enable_x3daudio1_4
1550 enable_x3daudio1_5
1551 enable_x3daudio1_6
1552 enable_x3daudio1_7
1553 enable_xactengine2_0
1554 enable_xactengine2_4
1555 enable_xactengine2_7
1556 enable_xactengine2_9
1557 enable_xactengine3_0
1558 enable_xactengine3_1
1559 enable_xactengine3_2
1560 enable_xactengine3_3
1561 enable_xactengine3_4
1562 enable_xactengine3_5
1563 enable_xactengine3_6
1564 enable_xactengine3_7
1565 enable_xapofx1_1
1566 enable_xapofx1_2
1567 enable_xapofx1_3
1568 enable_xapofx1_4
1569 enable_xapofx1_5
1570 enable_xaudio2_0
1571 enable_xaudio2_1
1572 enable_xaudio2_2
1573 enable_xaudio2_3
1574 enable_xaudio2_4
1575 enable_xaudio2_5
1576 enable_xaudio2_6
1577 enable_xaudio2_7
1578 enable_xaudio2_8
1579 enable_xaudio2_9
1580 enable_xinput1_1
1581 enable_xinput1_2
1582 enable_xinput1_3
1583 enable_xinput1_4
1584 enable_xinput9_1_0
1585 enable_xinputuap
1586 enable_xmllite
1587 enable_xolehlp
1588 enable_xpsprint
1589 enable_xpssvcs
1590 enable_fonts
1591 enable_include
1592 enable_adsiid
1593 enable_dmoguids
1594 enable_dxerr8
1595 enable_dxerr9
1596 enable_dxguid
1597 enable_faudio
1598 enable_fluidsynth
1599 enable_gsm
1600 enable_jpeg
1601 enable_jxr
1602 enable_lcms2
1603 enable_ldap
1604 enable_mfuuid
1605 enable_mpg123
1606 enable_musl
1607 enable_png
1608 enable_strmbase
1609 enable_strmiids
1610 enable_tiff
1611 enable_uuid
1612 enable_vkd3d
1613 enable_wbemuuid
1614 enable_wmcodecdspuuid
1615 enable_xml2
1616 enable_xslt
1617 enable_zlib
1618 enable_zydis
1619 enable_loader
1620 enable_nls
1621 enable_po
1622 enable_arp
1623 enable_aspnet_regiis
1624 enable_attrib
1625 enable_cabarc
1626 enable_cacls
1627 enable_certutil
1628 enable_chcp_com
1629 enable_clock
1630 enable_cmd
1631 enable_conhost
1632 enable_control
1633 enable_cscript
1634 enable_dism
1635 enable_dllhost
1636 enable_dplaysvr
1637 enable_dpnsvr
1638 enable_dpvsetup
1639 enable_dxdiag
1640 enable_eject
1641 enable_expand
1642 enable_explorer
1643 enable_extrac32
1644 enable_fc
1645 enable_find
1646 enable_findstr
1647 enable_fsutil
1648 enable_hh
1649 enable_hostname
1650 enable_icacls
1651 enable_icinfo
1652 enable_iexplore
1653 enable_ipconfig
1654 enable_klist
1655 enable_lodctr
1656 enable_mofcomp
1657 enable_mshta
1658 enable_msidb
1659 enable_msiexec
1660 enable_msinfo32
1661 enable_net
1662 enable_netsh
1663 enable_netstat
1664 enable_ngen
1665 enable_notepad
1666 enable_oleview
1667 enable_ping
1668 enable_plugplay
1669 enable_pnputil
1670 enable_powershell
1671 enable_presentationfontcache
1672 enable_progman
1673 enable_reg
1674 enable_regasm
1675 enable_regedit
1676 enable_regini
1677 enable_regsvcs
1678 enable_regsvr32
1679 enable_robocopy
1680 enable_rpcss
1681 enable_rundll32
1682 enable_sc
1683 enable_schtasks
1684 enable_sdbinst
1685 enable_secedit
1686 enable_servicemodelreg
1687 enable_services
1688 enable_setx
1689 enable_shutdown
1690 enable_spoolsv
1691 enable_start
1692 enable_subst
1693 enable_svchost
1694 enable_systeminfo
1695 enable_taskkill
1696 enable_tasklist
1697 enable_taskmgr
1698 enable_termsv
1699 enable_uninstaller
1700 enable_unlodctr
1701 enable_view
1702 enable_wevtutil
1703 enable_where
1704 enable_whoami
1705 enable_wineboot
1706 enable_winebrowser
1707 enable_winecfg
1708 enable_wineconsole
1709 enable_winedbg
1710 enable_winedevice
1711 enable_winefile
1712 enable_winemenubuilder
1713 enable_winemine
1714 enable_winemsibuilder
1715 enable_winepath
1716 enable_winetest
1717 enable_winhlp32
1718 enable_winmgmt
1719 enable_winver
1720 enable_wmic
1721 enable_wmplayer
1722 enable_wordpad
1723 enable_write
1724 enable_wscript
1725 enable_wuauserv
1726 enable_wusa
1727 enable_xcopy
1728 enable_server
1729 enable_tools
1730 enable_sfnt2fon
1731 enable_widl
1732 enable_winebuild
1733 enable_winedump
1734 enable_winegcc
1735 enable_winemaker
1736 enable_wmc
1737 enable_wrc
1739 ac_precious_vars='build_alias
1740 host_alias
1741 target_alias
1743 CFLAGS
1744 LDFLAGS
1745 LIBS
1746 CPPFLAGS
1748 CXXFLAGS
1750 OBJC
1751 OBJCFLAGS
1752 FAUDIO_PE_CFLAGS
1753 FAUDIO_PE_LIBS
1754 FLUIDSYNTH_PE_CFLAGS
1755 FLUIDSYNTH_PE_LIBS
1756 GSM_PE_CFLAGS
1757 GSM_PE_LIBS
1758 JPEG_PE_CFLAGS
1759 JPEG_PE_LIBS
1760 JXR_PE_CFLAGS
1761 JXR_PE_LIBS
1762 LCMS2_PE_CFLAGS
1763 LCMS2_PE_LIBS
1764 LDAP_PE_CFLAGS
1765 LDAP_PE_LIBS
1766 MPG123_PE_CFLAGS
1767 MPG123_PE_LIBS
1768 MUSL_PE_CFLAGS
1769 MUSL_PE_LIBS
1770 PNG_PE_CFLAGS
1771 PNG_PE_LIBS
1772 TIFF_PE_CFLAGS
1773 TIFF_PE_LIBS
1774 VKD3D_PE_CFLAGS
1775 VKD3D_PE_LIBS
1776 XML2_PE_CFLAGS
1777 XML2_PE_LIBS
1778 XSLT_PE_CFLAGS
1779 XSLT_PE_LIBS
1780 ZLIB_PE_CFLAGS
1781 ZLIB_PE_LIBS
1782 ZYDIS_PE_CFLAGS
1783 ZYDIS_PE_LIBS
1784 XMKMF
1786 WAYLAND_CLIENT_CFLAGS
1787 WAYLAND_CLIENT_LIBS
1788 INOTIFY_CFLAGS
1789 INOTIFY_LIBS
1790 DBUS_CFLAGS
1791 DBUS_LIBS
1792 GNUTLS_CFLAGS
1793 GNUTLS_LIBS
1794 SANE_CFLAGS
1795 SANE_LIBS
1796 USB_CFLAGS
1797 USB_LIBS
1798 GPHOTO2_CFLAGS
1799 GPHOTO2_LIBS
1800 GPHOTO2_PORT_CFLAGS
1801 GPHOTO2_PORT_LIBS
1802 FREETYPE_CFLAGS
1803 FREETYPE_LIBS
1804 PULSE_CFLAGS
1805 PULSE_LIBS
1806 GSTREAMER_CFLAGS
1807 GSTREAMER_LIBS
1808 UDEV_CFLAGS
1809 UDEV_LIBS
1810 UNWIND_CFLAGS
1811 UNWIND_LIBS
1812 SDL2_CFLAGS
1813 SDL2_LIBS
1814 CAPI20_CFLAGS
1815 CAPI20_LIBS
1816 CUPS_CFLAGS
1817 CUPS_LIBS
1818 FONTCONFIG_CFLAGS
1819 FONTCONFIG_LIBS
1820 KRB5_CFLAGS
1821 KRB5_LIBS
1822 GSSAPI_CFLAGS
1823 GSSAPI_LIBS
1824 NETAPI_CFLAGS
1825 NETAPI_LIBS'
1828 # Initialize some variables set by options.
1829 ac_init_help=
1830 ac_init_version=false
1831 ac_unrecognized_opts=
1832 ac_unrecognized_sep=
1833 # The variables have the same names as the options, with
1834 # dashes changed to underlines.
1835 cache_file=/dev/null
1836 exec_prefix=NONE
1837 no_create=
1838 no_recursion=
1839 prefix=NONE
1840 program_prefix=NONE
1841 program_suffix=NONE
1842 program_transform_name=s,x,x,
1843 silent=
1844 site=
1845 srcdir=
1846 verbose=
1847 x_includes=NONE
1848 x_libraries=NONE
1850 # Installation directory options.
1851 # These are left unexpanded so users can "make install exec_prefix=/foo"
1852 # and all the variables that are supposed to be based on exec_prefix
1853 # by default will actually change.
1854 # Use braces instead of parens because sh, perl, etc. also accept them.
1855 # (The list follows the same order as the GNU Coding Standards.)
1856 bindir='${exec_prefix}/bin'
1857 sbindir='${exec_prefix}/sbin'
1858 libexecdir='${exec_prefix}/libexec'
1859 datarootdir='${prefix}/share'
1860 datadir='${datarootdir}'
1861 sysconfdir='${prefix}/etc'
1862 sharedstatedir='${prefix}/com'
1863 localstatedir='${prefix}/var'
1864 runstatedir='${localstatedir}/run'
1865 includedir='${prefix}/include'
1866 oldincludedir='/usr/include'
1867 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1868 infodir='${datarootdir}/info'
1869 htmldir='${docdir}'
1870 dvidir='${docdir}'
1871 pdfdir='${docdir}'
1872 psdir='${docdir}'
1873 libdir='${exec_prefix}/lib'
1874 localedir='${datarootdir}/locale'
1875 mandir='${datarootdir}/man'
1877 ac_prev=
1878 ac_dashdash=
1879 for ac_option
1881 # If the previous option needs an argument, assign it.
1882 if test -n "$ac_prev"; then
1883 eval $ac_prev=\$ac_option
1884 ac_prev=
1885 continue
1888 case $ac_option in
1889 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1890 *=) ac_optarg= ;;
1891 *) ac_optarg=yes ;;
1892 esac
1894 case $ac_dashdash$ac_option in
1896 ac_dashdash=yes ;;
1898 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1899 ac_prev=bindir ;;
1900 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1901 bindir=$ac_optarg ;;
1903 -build | --build | --buil | --bui | --bu)
1904 ac_prev=build_alias ;;
1905 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1906 build_alias=$ac_optarg ;;
1908 -cache-file | --cache-file | --cache-fil | --cache-fi \
1909 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1910 ac_prev=cache_file ;;
1911 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1912 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1913 cache_file=$ac_optarg ;;
1915 --config-cache | -C)
1916 cache_file=config.cache ;;
1918 -datadir | --datadir | --datadi | --datad)
1919 ac_prev=datadir ;;
1920 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1921 datadir=$ac_optarg ;;
1923 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1924 | --dataroo | --dataro | --datar)
1925 ac_prev=datarootdir ;;
1926 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1927 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1928 datarootdir=$ac_optarg ;;
1930 -disable-* | --disable-*)
1931 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1932 # Reject names that are not valid shell variable names.
1933 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1934 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1935 ac_useropt_orig=$ac_useropt
1936 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1937 case $ac_user_opts in
1939 "enable_$ac_useropt"
1940 "*) ;;
1941 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1942 ac_unrecognized_sep=', ';;
1943 esac
1944 eval enable_$ac_useropt=no ;;
1946 -docdir | --docdir | --docdi | --doc | --do)
1947 ac_prev=docdir ;;
1948 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1949 docdir=$ac_optarg ;;
1951 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1952 ac_prev=dvidir ;;
1953 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1954 dvidir=$ac_optarg ;;
1956 -enable-* | --enable-*)
1957 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1958 # Reject names that are not valid shell variable names.
1959 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1960 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1961 ac_useropt_orig=$ac_useropt
1962 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1963 case $ac_user_opts in
1965 "enable_$ac_useropt"
1966 "*) ;;
1967 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1968 ac_unrecognized_sep=', ';;
1969 esac
1970 eval enable_$ac_useropt=\$ac_optarg ;;
1972 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1973 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1974 | --exec | --exe | --ex)
1975 ac_prev=exec_prefix ;;
1976 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1977 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1978 | --exec=* | --exe=* | --ex=*)
1979 exec_prefix=$ac_optarg ;;
1981 -gas | --gas | --ga | --g)
1982 # Obsolete; use --with-gas.
1983 with_gas=yes ;;
1985 -help | --help | --hel | --he | -h)
1986 ac_init_help=long ;;
1987 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1988 ac_init_help=recursive ;;
1989 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1990 ac_init_help=short ;;
1992 -host | --host | --hos | --ho)
1993 ac_prev=host_alias ;;
1994 -host=* | --host=* | --hos=* | --ho=*)
1995 host_alias=$ac_optarg ;;
1997 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1998 ac_prev=htmldir ;;
1999 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2000 | --ht=*)
2001 htmldir=$ac_optarg ;;
2003 -includedir | --includedir | --includedi | --included | --include \
2004 | --includ | --inclu | --incl | --inc)
2005 ac_prev=includedir ;;
2006 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2007 | --includ=* | --inclu=* | --incl=* | --inc=*)
2008 includedir=$ac_optarg ;;
2010 -infodir | --infodir | --infodi | --infod | --info | --inf)
2011 ac_prev=infodir ;;
2012 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2013 infodir=$ac_optarg ;;
2015 -libdir | --libdir | --libdi | --libd)
2016 ac_prev=libdir ;;
2017 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2018 libdir=$ac_optarg ;;
2020 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2021 | --libexe | --libex | --libe)
2022 ac_prev=libexecdir ;;
2023 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2024 | --libexe=* | --libex=* | --libe=*)
2025 libexecdir=$ac_optarg ;;
2027 -localedir | --localedir | --localedi | --localed | --locale)
2028 ac_prev=localedir ;;
2029 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2030 localedir=$ac_optarg ;;
2032 -localstatedir | --localstatedir | --localstatedi | --localstated \
2033 | --localstate | --localstat | --localsta | --localst | --locals)
2034 ac_prev=localstatedir ;;
2035 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2036 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2037 localstatedir=$ac_optarg ;;
2039 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2040 ac_prev=mandir ;;
2041 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2042 mandir=$ac_optarg ;;
2044 -nfp | --nfp | --nf)
2045 # Obsolete; use --without-fp.
2046 with_fp=no ;;
2048 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2049 | --no-cr | --no-c | -n)
2050 no_create=yes ;;
2052 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2053 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2054 no_recursion=yes ;;
2056 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2057 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2058 | --oldin | --oldi | --old | --ol | --o)
2059 ac_prev=oldincludedir ;;
2060 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2061 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2062 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2063 oldincludedir=$ac_optarg ;;
2065 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2066 ac_prev=prefix ;;
2067 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2068 prefix=$ac_optarg ;;
2070 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2071 | --program-pre | --program-pr | --program-p)
2072 ac_prev=program_prefix ;;
2073 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2074 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2075 program_prefix=$ac_optarg ;;
2077 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2078 | --program-suf | --program-su | --program-s)
2079 ac_prev=program_suffix ;;
2080 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2081 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2082 program_suffix=$ac_optarg ;;
2084 -program-transform-name | --program-transform-name \
2085 | --program-transform-nam | --program-transform-na \
2086 | --program-transform-n | --program-transform- \
2087 | --program-transform | --program-transfor \
2088 | --program-transfo | --program-transf \
2089 | --program-trans | --program-tran \
2090 | --progr-tra | --program-tr | --program-t)
2091 ac_prev=program_transform_name ;;
2092 -program-transform-name=* | --program-transform-name=* \
2093 | --program-transform-nam=* | --program-transform-na=* \
2094 | --program-transform-n=* | --program-transform-=* \
2095 | --program-transform=* | --program-transfor=* \
2096 | --program-transfo=* | --program-transf=* \
2097 | --program-trans=* | --program-tran=* \
2098 | --progr-tra=* | --program-tr=* | --program-t=*)
2099 program_transform_name=$ac_optarg ;;
2101 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2102 ac_prev=pdfdir ;;
2103 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2104 pdfdir=$ac_optarg ;;
2106 -psdir | --psdir | --psdi | --psd | --ps)
2107 ac_prev=psdir ;;
2108 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2109 psdir=$ac_optarg ;;
2111 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2112 | -silent | --silent | --silen | --sile | --sil)
2113 silent=yes ;;
2115 -runstatedir | --runstatedir | --runstatedi | --runstated \
2116 | --runstate | --runstat | --runsta | --runst | --runs \
2117 | --run | --ru | --r)
2118 ac_prev=runstatedir ;;
2119 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2120 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2121 | --run=* | --ru=* | --r=*)
2122 runstatedir=$ac_optarg ;;
2124 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2125 ac_prev=sbindir ;;
2126 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2127 | --sbi=* | --sb=*)
2128 sbindir=$ac_optarg ;;
2130 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2131 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2132 | --sharedst | --shareds | --shared | --share | --shar \
2133 | --sha | --sh)
2134 ac_prev=sharedstatedir ;;
2135 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2136 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2137 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2138 | --sha=* | --sh=*)
2139 sharedstatedir=$ac_optarg ;;
2141 -site | --site | --sit)
2142 ac_prev=site ;;
2143 -site=* | --site=* | --sit=*)
2144 site=$ac_optarg ;;
2146 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2147 ac_prev=srcdir ;;
2148 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2149 srcdir=$ac_optarg ;;
2151 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2152 | --syscon | --sysco | --sysc | --sys | --sy)
2153 ac_prev=sysconfdir ;;
2154 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2155 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2156 sysconfdir=$ac_optarg ;;
2158 -target | --target | --targe | --targ | --tar | --ta | --t)
2159 ac_prev=target_alias ;;
2160 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2161 target_alias=$ac_optarg ;;
2163 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2164 verbose=yes ;;
2166 -version | --version | --versio | --versi | --vers | -V)
2167 ac_init_version=: ;;
2169 -with-* | --with-*)
2170 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2171 # Reject names that are not valid shell variable names.
2172 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2173 as_fn_error $? "invalid package name: \`$ac_useropt'"
2174 ac_useropt_orig=$ac_useropt
2175 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2176 case $ac_user_opts in
2178 "with_$ac_useropt"
2179 "*) ;;
2180 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2181 ac_unrecognized_sep=', ';;
2182 esac
2183 eval with_$ac_useropt=\$ac_optarg ;;
2185 -without-* | --without-*)
2186 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2187 # Reject names that are not valid shell variable names.
2188 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2189 as_fn_error $? "invalid package name: \`$ac_useropt'"
2190 ac_useropt_orig=$ac_useropt
2191 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2192 case $ac_user_opts in
2194 "with_$ac_useropt"
2195 "*) ;;
2196 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2197 ac_unrecognized_sep=', ';;
2198 esac
2199 eval with_$ac_useropt=no ;;
2201 --x)
2202 # Obsolete; use --with-x.
2203 with_x=yes ;;
2205 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2206 | --x-incl | --x-inc | --x-in | --x-i)
2207 ac_prev=x_includes ;;
2208 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2209 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2210 x_includes=$ac_optarg ;;
2212 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2213 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2214 ac_prev=x_libraries ;;
2215 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2216 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2217 x_libraries=$ac_optarg ;;
2219 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2220 Try \`$0 --help' for more information"
2223 *=*)
2224 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2225 # Reject names that are not valid shell variable names.
2226 case $ac_envvar in #(
2227 '' | [0-9]* | *[!_$as_cr_alnum]* )
2228 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2229 esac
2230 eval $ac_envvar=\$ac_optarg
2231 export $ac_envvar ;;
2234 # FIXME: should be removed in autoconf 3.0.
2235 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2236 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2237 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2238 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2241 esac
2242 done
2244 if test -n "$ac_prev"; then
2245 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2246 as_fn_error $? "missing argument to $ac_option"
2249 if test -n "$ac_unrecognized_opts"; then
2250 case $enable_option_checking in
2251 no) ;;
2252 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2253 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2254 esac
2257 # Check all directory arguments for consistency.
2258 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2259 datadir sysconfdir sharedstatedir localstatedir includedir \
2260 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2261 libdir localedir mandir runstatedir
2263 eval ac_val=\$$ac_var
2264 # Remove trailing slashes.
2265 case $ac_val in
2266 */ )
2267 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2268 eval $ac_var=\$ac_val;;
2269 esac
2270 # Be sure to have absolute directory names.
2271 case $ac_val in
2272 [\\/$]* | ?:[\\/]* ) continue;;
2273 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2274 esac
2275 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2276 done
2278 # There might be people who depend on the old broken behavior: `$host'
2279 # used to hold the argument of --host etc.
2280 # FIXME: To remove some day.
2281 build=$build_alias
2282 host=$host_alias
2283 target=$target_alias
2285 # FIXME: To remove some day.
2286 if test "x$host_alias" != x; then
2287 if test "x$build_alias" = x; then
2288 cross_compiling=maybe
2289 elif test "x$build_alias" != "x$host_alias"; then
2290 cross_compiling=yes
2294 ac_tool_prefix=
2295 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2297 test "$silent" = yes && exec 6>/dev/null
2300 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2301 ac_ls_di=`ls -di .` &&
2302 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2303 as_fn_error $? "working directory cannot be determined"
2304 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2305 as_fn_error $? "pwd does not report name of working directory"
2308 # Find the source files, if location was not specified.
2309 if test -z "$srcdir"; then
2310 ac_srcdir_defaulted=yes
2311 # Try the directory containing this script, then the parent directory.
2312 ac_confdir=`$as_dirname -- "$as_myself" ||
2313 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2314 X"$as_myself" : 'X\(//\)[^/]' \| \
2315 X"$as_myself" : 'X\(//\)$' \| \
2316 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2317 printf "%s\n" X"$as_myself" |
2318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2319 s//\1/
2322 /^X\(\/\/\)[^/].*/{
2323 s//\1/
2326 /^X\(\/\/\)$/{
2327 s//\1/
2330 /^X\(\/\).*/{
2331 s//\1/
2334 s/.*/./; q'`
2335 srcdir=$ac_confdir
2336 if test ! -r "$srcdir/$ac_unique_file"; then
2337 srcdir=..
2339 else
2340 ac_srcdir_defaulted=no
2342 if test ! -r "$srcdir/$ac_unique_file"; then
2343 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2344 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2346 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2347 ac_abs_confdir=`(
2348 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2349 pwd)`
2350 # When building in place, set srcdir=.
2351 if test "$ac_abs_confdir" = "$ac_pwd"; then
2352 srcdir=.
2354 # Remove unnecessary trailing slashes from srcdir.
2355 # Double slashes in file names in object file debugging info
2356 # mess up M-x gdb in Emacs.
2357 case $srcdir in
2358 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2359 esac
2360 for ac_var in $ac_precious_vars; do
2361 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2362 eval ac_env_${ac_var}_value=\$${ac_var}
2363 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2364 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2365 done
2368 # Report the --help message.
2370 if test "$ac_init_help" = "long"; then
2371 # Omit some internal or obsolete options to make the list less imposing.
2372 # This message is too long to be a string in the A/UX 3.1 sh.
2373 cat <<_ACEOF
2374 \`configure' configures Wine 8.19 to adapt to many kinds of systems.
2376 Usage: $0 [OPTION]... [VAR=VALUE]...
2378 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2379 VAR=VALUE. See below for descriptions of some of the useful variables.
2381 Defaults for the options are specified in brackets.
2383 Configuration:
2384 -h, --help display this help and exit
2385 --help=short display options specific to this package
2386 --help=recursive display the short help of all the included packages
2387 -V, --version display version information and exit
2388 -q, --quiet, --silent do not print \`checking ...' messages
2389 --cache-file=FILE cache test results in FILE [disabled]
2390 -C, --config-cache alias for \`--cache-file=config.cache'
2391 -n, --no-create do not create output files
2392 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2394 Installation directories:
2395 --prefix=PREFIX install architecture-independent files in PREFIX
2396 [$ac_default_prefix]
2397 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2398 [PREFIX]
2400 By default, \`make install' will install all the files in
2401 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2402 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2403 for instance \`--prefix=\$HOME'.
2405 For better control, use the options below.
2407 Fine tuning of the installation directories:
2408 --bindir=DIR user executables [EPREFIX/bin]
2409 --sbindir=DIR system admin executables [EPREFIX/sbin]
2410 --libexecdir=DIR program executables [EPREFIX/libexec]
2411 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2412 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2413 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2414 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2415 --libdir=DIR object code libraries [EPREFIX/lib]
2416 --includedir=DIR C header files [PREFIX/include]
2417 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2418 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2419 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2420 --infodir=DIR info documentation [DATAROOTDIR/info]
2421 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2422 --mandir=DIR man documentation [DATAROOTDIR/man]
2423 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2424 --htmldir=DIR html documentation [DOCDIR]
2425 --dvidir=DIR dvi documentation [DOCDIR]
2426 --pdfdir=DIR pdf documentation [DOCDIR]
2427 --psdir=DIR ps documentation [DOCDIR]
2428 _ACEOF
2430 cat <<\_ACEOF
2432 X features:
2433 --x-includes=DIR X include files are in DIR
2434 --x-libraries=DIR X library files are in DIR
2436 System types:
2437 --build=BUILD configure for building on BUILD [guessed]
2438 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2439 _ACEOF
2442 if test -n "$ac_init_help"; then
2443 case $ac_init_help in
2444 short | recursive ) echo "Configuration of Wine 8.19:";;
2445 esac
2446 cat <<\_ACEOF
2448 Optional Features:
2449 --disable-option-checking ignore unrecognized --enable/--with options
2450 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2451 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2452 --enable-archs={i386,x86_64,arm,aarch64}
2453 enable multiple architectures for PE compilation
2454 --disable-win16 do not include Win16 support
2455 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2456 binaries)
2457 --disable-tests do not build the regression tests
2458 --enable-build-id include .buildid section in output objects
2459 --enable-maintainer-mode
2460 enable maintainer-specific build rules
2461 --enable-silent-rules use silent build rules (override: "make V=1")
2462 --enable-werror treat compilation warnings as errors
2463 --disable-largefile omit support for large files
2465 Optional Packages:
2466 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2467 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2468 --without-alsa do not use the Alsa sound support
2469 --without-capi do not use CAPI (ISDN support)
2470 --without-coreaudio do not use the CoreAudio sound support
2471 --without-cups do not use CUPS
2472 --without-dbus do not use DBus (dynamic device support)
2473 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2474 --without-fontconfig do not use fontconfig
2475 --without-freetype do not use the FreeType library
2476 --without-gettext do not use gettext
2477 --with-gettextpo use the GetTextPO library to rebuild po files
2478 --without-gphoto do not use gphoto (Digital Camera support)
2479 --without-gnutls do not use GnuTLS (schannel support)
2480 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2481 --without-gstreamer do not use GStreamer (codecs support)
2482 --without-inotify do not use inotify (filesystem change notifications)
2483 --without-krb5 do not use krb5 (Kerberos)
2484 --without-mingw do not use the MinGW cross-compiler
2485 --without-netapi do not use the Samba NetAPI library
2486 --without-opencl do not use OpenCL
2487 --without-opengl do not use OpenGL
2488 --without-osmesa do not use the OSMesa library
2489 --without-oss do not use the OSS sound support
2490 --without-pcap do not use the Packet Capture library
2491 --without-pcsclite do not use PCSC lite
2492 --without-pthread do not use the pthread library
2493 --without-pulse do not use PulseAudio sound support
2494 --without-sane do not use SANE (scanner support)
2495 --without-sdl do not use SDL
2496 --without-udev do not use udev (plug and play support)
2497 --without-unwind do not use the libunwind library (exception
2498 handling)
2499 --without-usb do not use the libusb library
2500 --without-v4l2 do not use v4l2 (video capture)
2501 --without-vulkan do not use Vulkan
2502 --without-wayland do not build the Wayland driver
2503 --without-xcomposite do not use the Xcomposite extension
2504 --without-xcursor do not use the Xcursor extension
2505 --without-xfixes do not use Xfixes for clipboard change notifications
2506 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2507 --without-xinput do not use the Xinput extension
2508 --without-xinput2 do not use the Xinput 2 extension
2509 --without-xrandr do not use Xrandr (multi-monitor support)
2510 --without-xrender do not use the Xrender extension
2511 --without-xshape do not use the Xshape extension
2512 --without-xshm do not use XShm (shared memory extension)
2513 --without-xxf86vm do not use XFree video mode extension
2514 --with-system-dllpath=PATH
2515 load external PE dependencies from colon-separated
2516 path PATH
2517 --with-wine-tools=DIR use Wine tools from directory DIR
2518 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2519 --with-x use the X Window System
2521 Some influential environment variables:
2522 CC C compiler command
2523 CFLAGS C compiler flags
2524 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2525 nonstandard directory <lib dir>
2526 LIBS libraries to pass to the linker, e.g. -l<library>
2527 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2528 you have headers in a nonstandard directory <include dir>
2529 CXX C++ compiler command
2530 CXXFLAGS C++ compiler flags
2531 OBJC Objective C compiler command
2532 OBJCFLAGS Objective C compiler flags
2533 FAUDIO_PE_CFLAGS
2534 C compiler flags for the PE faudio, overriding the bundled
2535 version
2536 FAUDIO_PE_LIBS
2537 Linker flags for the PE faudio, overriding the bundled version
2538 FLUIDSYNTH_PE_CFLAGS
2539 C compiler flags for the PE fluidsynth, overriding the bundled
2540 version
2541 FLUIDSYNTH_PE_LIBS
2542 Linker flags for the PE fluidsynth, overriding the bundled
2543 version
2544 GSM_PE_CFLAGS
2545 C compiler flags for the PE gsm, overriding the bundled version
2546 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2547 JPEG_PE_CFLAGS
2548 C compiler flags for the PE jpeg, overriding the bundled version
2549 JPEG_PE_LIBS
2550 Linker flags for the PE jpeg, overriding the bundled version
2551 JXR_PE_CFLAGS
2552 C compiler flags for the PE jxr, overriding the bundled version
2553 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2554 LCMS2_PE_CFLAGS
2555 C compiler flags for the PE lcms2, overriding the bundled
2556 version
2557 LCMS2_PE_LIBS
2558 Linker flags for the PE lcms2, overriding the bundled version
2559 LDAP_PE_CFLAGS
2560 C compiler flags for the PE ldap, overriding the bundled version
2561 LDAP_PE_LIBS
2562 Linker flags for the PE ldap, overriding the bundled version
2563 MPG123_PE_CFLAGS
2564 C compiler flags for the PE mpg123, overriding the bundled
2565 version
2566 MPG123_PE_LIBS
2567 Linker flags for the PE mpg123, overriding the bundled version
2568 MUSL_PE_CFLAGS
2569 C compiler flags for the PE musl, overriding the bundled version
2570 MUSL_PE_LIBS
2571 Linker flags for the PE musl, overriding the bundled version
2572 PNG_PE_CFLAGS
2573 C compiler flags for the PE png, overriding the bundled version
2574 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2575 TIFF_PE_CFLAGS
2576 C compiler flags for the PE tiff, overriding the bundled version
2577 TIFF_PE_LIBS
2578 Linker flags for the PE tiff, overriding the bundled version
2579 VKD3D_PE_CFLAGS
2580 C compiler flags for the PE vkd3d, overriding the bundled
2581 version
2582 VKD3D_PE_LIBS
2583 Linker flags for the PE vkd3d, overriding the bundled version
2584 XML2_PE_CFLAGS
2585 C compiler flags for the PE xml2, overriding the bundled version
2586 XML2_PE_LIBS
2587 Linker flags for the PE xml2, overriding the bundled version
2588 XSLT_PE_CFLAGS
2589 C compiler flags for the PE xslt, overriding the bundled version
2590 XSLT_PE_LIBS
2591 Linker flags for the PE xslt, overriding the bundled version
2592 ZLIB_PE_CFLAGS
2593 C compiler flags for the PE zlib, overriding the bundled version
2594 ZLIB_PE_LIBS
2595 Linker flags for the PE zlib, overriding the bundled version
2596 ZYDIS_PE_CFLAGS
2597 C compiler flags for the PE zydis, overriding the bundled
2598 version
2599 ZYDIS_PE_LIBS
2600 Linker flags for the PE zydis, overriding the bundled version
2601 XMKMF Path to xmkmf, Makefile generator for X Window System
2602 CPP C preprocessor
2603 WAYLAND_CLIENT_CFLAGS
2604 C compiler flags for wayland-client, overriding pkg-config
2605 WAYLAND_CLIENT_LIBS
2606 Linker flags for wayland-client, overriding pkg-config
2607 INOTIFY_CFLAGS
2608 C compiler flags for libinotify, overriding pkg-config
2609 INOTIFY_LIBS
2610 Linker flags for libinotify, overriding pkg-config
2611 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2612 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2613 GNUTLS_CFLAGS
2614 C compiler flags for gnutls, overriding pkg-config
2615 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2616 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2617 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2618 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2619 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2620 GPHOTO2_CFLAGS
2621 C compiler flags for libgphoto2, overriding pkg-config
2622 GPHOTO2_LIBS
2623 Linker flags for libgphoto2, overriding pkg-config
2624 GPHOTO2_PORT_CFLAGS
2625 C compiler flags for libgphoto2_port, overriding pkg-config
2626 GPHOTO2_PORT_LIBS
2627 Linker flags for libgphoto2_port, overriding pkg-config
2628 FREETYPE_CFLAGS
2629 C compiler flags for freetype2, overriding pkg-config
2630 FREETYPE_LIBS
2631 Linker flags for freetype2, overriding pkg-config
2632 PULSE_CFLAGS
2633 C compiler flags for libpulse, overriding pkg-config
2634 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2635 GSTREAMER_CFLAGS
2636 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2637 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2638 GSTREAMER_LIBS
2639 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2640 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2641 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2642 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2643 UNWIND_CFLAGS
2644 C compiler flags for libunwind, overriding pkg-config
2645 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2646 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2647 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2648 CAPI20_CFLAGS
2649 C compiler flags for capi20, overriding pkg-config
2650 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2651 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2652 CUPS_LIBS Linker flags for cups, overriding pkg-config
2653 FONTCONFIG_CFLAGS
2654 C compiler flags for fontconfig, overriding pkg-config
2655 FONTCONFIG_LIBS
2656 Linker flags for fontconfig, overriding pkg-config
2657 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2658 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2659 GSSAPI_CFLAGS
2660 C compiler flags for krb5-gssapi, overriding pkg-config
2661 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2662 NETAPI_CFLAGS
2663 C compiler flags for netapi, overriding pkg-config
2664 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2666 Use these variables to override the choices made by `configure' or to help
2667 it to find libraries and programs with nonstandard names/locations.
2669 Report bugs to <wine-devel@winehq.org>.
2670 Wine home page: <https://www.winehq.org>.
2671 _ACEOF
2672 ac_status=$?
2675 if test "$ac_init_help" = "recursive"; then
2676 # If there are subdirs, report their specific --help.
2677 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2678 test -d "$ac_dir" ||
2679 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2680 continue
2681 ac_builddir=.
2683 case "$ac_dir" in
2684 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2686 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2687 # A ".." for each directory in $ac_dir_suffix.
2688 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2689 case $ac_top_builddir_sub in
2690 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2691 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2692 esac ;;
2693 esac
2694 ac_abs_top_builddir=$ac_pwd
2695 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2696 # for backward compatibility:
2697 ac_top_builddir=$ac_top_build_prefix
2699 case $srcdir in
2700 .) # We are building in place.
2701 ac_srcdir=.
2702 ac_top_srcdir=$ac_top_builddir_sub
2703 ac_abs_top_srcdir=$ac_pwd ;;
2704 [\\/]* | ?:[\\/]* ) # Absolute name.
2705 ac_srcdir=$srcdir$ac_dir_suffix;
2706 ac_top_srcdir=$srcdir
2707 ac_abs_top_srcdir=$srcdir ;;
2708 *) # Relative name.
2709 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2710 ac_top_srcdir=$ac_top_build_prefix$srcdir
2711 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2712 esac
2713 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2715 cd "$ac_dir" || { ac_status=$?; continue; }
2716 # Check for configure.gnu first; this name is used for a wrapper for
2717 # Metaconfig's "Configure" on case-insensitive file systems.
2718 if test -f "$ac_srcdir/configure.gnu"; then
2719 echo &&
2720 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2721 elif test -f "$ac_srcdir/configure"; then
2722 echo &&
2723 $SHELL "$ac_srcdir/configure" --help=recursive
2724 else
2725 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2726 fi || ac_status=$?
2727 cd "$ac_pwd" || { ac_status=$?; break; }
2728 done
2731 test -n "$ac_init_help" && exit $ac_status
2732 if $ac_init_version; then
2733 cat <<\_ACEOF
2734 Wine configure 8.19
2735 generated by GNU Autoconf 2.71
2737 Copyright (C) 2021 Free Software Foundation, Inc.
2738 This configure script is free software; the Free Software Foundation
2739 gives unlimited permission to copy, distribute and modify it.
2740 _ACEOF
2741 exit
2744 ## ------------------------ ##
2745 ## Autoconf initialization. ##
2746 ## ------------------------ ##
2748 # ac_fn_c_try_compile LINENO
2749 # --------------------------
2750 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2751 ac_fn_c_try_compile ()
2753 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2754 rm -f conftest.$ac_objext conftest.beam
2755 if { { ac_try="$ac_compile"
2756 case "(($ac_try" in
2757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2758 *) ac_try_echo=$ac_try;;
2759 esac
2760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2761 printf "%s\n" "$ac_try_echo"; } >&5
2762 (eval "$ac_compile") 2>conftest.err
2763 ac_status=$?
2764 if test -s conftest.err; then
2765 grep -v '^ *+' conftest.err >conftest.er1
2766 cat conftest.er1 >&5
2767 mv -f conftest.er1 conftest.err
2769 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2770 test $ac_status = 0; } && {
2771 test -z "$ac_c_werror_flag" ||
2772 test ! -s conftest.err
2773 } && test -s conftest.$ac_objext
2774 then :
2775 ac_retval=0
2776 else $as_nop
2777 printf "%s\n" "$as_me: failed program was:" >&5
2778 sed 's/^/| /' conftest.$ac_ext >&5
2780 ac_retval=1
2782 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2783 as_fn_set_status $ac_retval
2785 } # ac_fn_c_try_compile
2787 # ac_fn_cxx_try_compile LINENO
2788 # ----------------------------
2789 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2790 ac_fn_cxx_try_compile ()
2792 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2793 rm -f conftest.$ac_objext conftest.beam
2794 if { { ac_try="$ac_compile"
2795 case "(($ac_try" in
2796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2797 *) ac_try_echo=$ac_try;;
2798 esac
2799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2800 printf "%s\n" "$ac_try_echo"; } >&5
2801 (eval "$ac_compile") 2>conftest.err
2802 ac_status=$?
2803 if test -s conftest.err; then
2804 grep -v '^ *+' conftest.err >conftest.er1
2805 cat conftest.er1 >&5
2806 mv -f conftest.er1 conftest.err
2808 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2809 test $ac_status = 0; } && {
2810 test -z "$ac_cxx_werror_flag" ||
2811 test ! -s conftest.err
2812 } && test -s conftest.$ac_objext
2813 then :
2814 ac_retval=0
2815 else $as_nop
2816 printf "%s\n" "$as_me: failed program was:" >&5
2817 sed 's/^/| /' conftest.$ac_ext >&5
2819 ac_retval=1
2821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2822 as_fn_set_status $ac_retval
2824 } # ac_fn_cxx_try_compile
2826 # ac_fn_c_try_link LINENO
2827 # -----------------------
2828 # Try to link conftest.$ac_ext, and return whether this succeeded.
2829 ac_fn_c_try_link ()
2831 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2832 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2833 if { { ac_try="$ac_link"
2834 case "(($ac_try" in
2835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2836 *) ac_try_echo=$ac_try;;
2837 esac
2838 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2839 printf "%s\n" "$ac_try_echo"; } >&5
2840 (eval "$ac_link") 2>conftest.err
2841 ac_status=$?
2842 if test -s conftest.err; then
2843 grep -v '^ *+' conftest.err >conftest.er1
2844 cat conftest.er1 >&5
2845 mv -f conftest.er1 conftest.err
2847 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2848 test $ac_status = 0; } && {
2849 test -z "$ac_c_werror_flag" ||
2850 test ! -s conftest.err
2851 } && test -s conftest$ac_exeext && {
2852 test "$cross_compiling" = yes ||
2853 test -x conftest$ac_exeext
2855 then :
2856 ac_retval=0
2857 else $as_nop
2858 printf "%s\n" "$as_me: failed program was:" >&5
2859 sed 's/^/| /' conftest.$ac_ext >&5
2861 ac_retval=1
2863 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2864 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2865 # interfere with the next link command; also delete a directory that is
2866 # left behind by Apple's compiler. We do this before executing the actions.
2867 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2869 as_fn_set_status $ac_retval
2871 } # ac_fn_c_try_link
2873 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2874 # -------------------------------------------------------
2875 # Tests whether HEADER exists and can be compiled using the include files in
2876 # INCLUDES, setting the cache variable VAR accordingly.
2877 ac_fn_c_check_header_compile ()
2879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2881 printf %s "checking for $2... " >&6; }
2882 if eval test \${$3+y}
2883 then :
2884 printf %s "(cached) " >&6
2885 else $as_nop
2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2887 /* end confdefs.h. */
2889 #include <$2>
2890 _ACEOF
2891 if ac_fn_c_try_compile "$LINENO"
2892 then :
2893 eval "$3=yes"
2894 else $as_nop
2895 eval "$3=no"
2897 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2899 eval ac_res=\$$3
2900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2901 printf "%s\n" "$ac_res" >&6; }
2902 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2904 } # ac_fn_c_check_header_compile
2906 # ac_fn_objc_try_compile LINENO
2907 # -----------------------------
2908 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2909 ac_fn_objc_try_compile ()
2911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2912 rm -f conftest.$ac_objext conftest.beam
2913 if { { ac_try="$ac_compile"
2914 case "(($ac_try" in
2915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2916 *) ac_try_echo=$ac_try;;
2917 esac
2918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2919 printf "%s\n" "$ac_try_echo"; } >&5
2920 (eval "$ac_compile") 2>conftest.err
2921 ac_status=$?
2922 if test -s conftest.err; then
2923 grep -v '^ *+' conftest.err >conftest.er1
2924 cat conftest.er1 >&5
2925 mv -f conftest.er1 conftest.err
2927 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2928 test $ac_status = 0; } && {
2929 test -z "$ac_objc_werror_flag" ||
2930 test ! -s conftest.err
2931 } && test -s conftest.$ac_objext
2932 then :
2933 ac_retval=0
2934 else $as_nop
2935 printf "%s\n" "$as_me: failed program was:" >&5
2936 sed 's/^/| /' conftest.$ac_ext >&5
2938 ac_retval=1
2940 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2941 as_fn_set_status $ac_retval
2943 } # ac_fn_objc_try_compile
2945 # ac_fn_c_check_func LINENO FUNC VAR
2946 # ----------------------------------
2947 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2948 ac_fn_c_check_func ()
2950 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2952 printf %s "checking for $2... " >&6; }
2953 if eval test \${$3+y}
2954 then :
2955 printf %s "(cached) " >&6
2956 else $as_nop
2957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2958 /* end confdefs.h. */
2959 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2961 #define $2 innocuous_$2
2963 /* System header to define __stub macros and hopefully few prototypes,
2964 which can conflict with char $2 (); below. */
2966 #include <limits.h>
2967 #undef $2
2969 /* Override any GCC internal prototype to avoid an error.
2970 Use char because int might match the return type of a GCC
2971 builtin and then its argument prototype would still apply. */
2972 #ifdef __cplusplus
2973 extern "C"
2974 #endif
2975 char $2 ();
2976 /* The GNU C library defines this for functions which it implements
2977 to always fail with ENOSYS. Some functions are actually named
2978 something starting with __ and the normal name is an alias. */
2979 #if defined __stub_$2 || defined __stub___$2
2980 choke me
2981 #endif
2984 main (void)
2986 return $2 ();
2988 return 0;
2990 _ACEOF
2991 if ac_fn_c_try_link "$LINENO"
2992 then :
2993 eval "$3=yes"
2994 else $as_nop
2995 eval "$3=no"
2997 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2998 conftest$ac_exeext conftest.$ac_ext
3000 eval ac_res=\$$3
3001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3002 printf "%s\n" "$ac_res" >&6; }
3003 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3005 } # ac_fn_c_check_func
3007 # ac_fn_c_try_cpp LINENO
3008 # ----------------------
3009 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3010 ac_fn_c_try_cpp ()
3012 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3013 if { { ac_try="$ac_cpp conftest.$ac_ext"
3014 case "(($ac_try" in
3015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3016 *) ac_try_echo=$ac_try;;
3017 esac
3018 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3019 printf "%s\n" "$ac_try_echo"; } >&5
3020 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3021 ac_status=$?
3022 if test -s conftest.err; then
3023 grep -v '^ *+' conftest.err >conftest.er1
3024 cat conftest.er1 >&5
3025 mv -f conftest.er1 conftest.err
3027 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3028 test $ac_status = 0; } > conftest.i && {
3029 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3030 test ! -s conftest.err
3032 then :
3033 ac_retval=0
3034 else $as_nop
3035 printf "%s\n" "$as_me: failed program was:" >&5
3036 sed 's/^/| /' conftest.$ac_ext >&5
3038 ac_retval=1
3040 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3041 as_fn_set_status $ac_retval
3043 } # ac_fn_c_try_cpp
3045 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3046 # ----------------------------------------------------
3047 # Tries to find if the field MEMBER exists in type AGGR, after including
3048 # INCLUDES, setting cache variable VAR accordingly.
3049 ac_fn_c_check_member ()
3051 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3053 printf %s "checking for $2.$3... " >&6; }
3054 if eval test \${$4+y}
3055 then :
3056 printf %s "(cached) " >&6
3057 else $as_nop
3058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3059 /* end confdefs.h. */
3062 main (void)
3064 static $2 ac_aggr;
3065 if (ac_aggr.$3)
3066 return 0;
3068 return 0;
3070 _ACEOF
3071 if ac_fn_c_try_compile "$LINENO"
3072 then :
3073 eval "$4=yes"
3074 else $as_nop
3075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3076 /* end confdefs.h. */
3079 main (void)
3081 static $2 ac_aggr;
3082 if (sizeof ac_aggr.$3)
3083 return 0;
3085 return 0;
3087 _ACEOF
3088 if ac_fn_c_try_compile "$LINENO"
3089 then :
3090 eval "$4=yes"
3091 else $as_nop
3092 eval "$4=no"
3094 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3096 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3098 eval ac_res=\$$4
3099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3100 printf "%s\n" "$ac_res" >&6; }
3101 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3103 } # ac_fn_c_check_member
3105 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3106 # -------------------------------------------
3107 # Tests whether TYPE exists after having included INCLUDES, setting cache
3108 # variable VAR accordingly.
3109 ac_fn_c_check_type ()
3111 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3113 printf %s "checking for $2... " >&6; }
3114 if eval test \${$3+y}
3115 then :
3116 printf %s "(cached) " >&6
3117 else $as_nop
3118 eval "$3=no"
3119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3120 /* end confdefs.h. */
3123 main (void)
3125 if (sizeof ($2))
3126 return 0;
3128 return 0;
3130 _ACEOF
3131 if ac_fn_c_try_compile "$LINENO"
3132 then :
3133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3134 /* end confdefs.h. */
3137 main (void)
3139 if (sizeof (($2)))
3140 return 0;
3142 return 0;
3144 _ACEOF
3145 if ac_fn_c_try_compile "$LINENO"
3146 then :
3148 else $as_nop
3149 eval "$3=yes"
3151 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3153 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3155 eval ac_res=\$$3
3156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3157 printf "%s\n" "$ac_res" >&6; }
3158 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3160 } # ac_fn_c_check_type
3161 ac_configure_args_raw=
3162 for ac_arg
3164 case $ac_arg in
3165 *\'*)
3166 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3167 esac
3168 as_fn_append ac_configure_args_raw " '$ac_arg'"
3169 done
3171 case $ac_configure_args_raw in
3172 *$as_nl*)
3173 ac_safe_unquote= ;;
3175 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3176 ac_unsafe_a="$ac_unsafe_z#~"
3177 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3178 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3179 esac
3181 cat >config.log <<_ACEOF
3182 This file contains any messages produced by compilers while
3183 running configure, to aid debugging if configure makes a mistake.
3185 It was created by Wine $as_me 8.19, which was
3186 generated by GNU Autoconf 2.71. Invocation command line was
3188 $ $0$ac_configure_args_raw
3190 _ACEOF
3191 exec 5>>config.log
3193 cat <<_ASUNAME
3194 ## --------- ##
3195 ## Platform. ##
3196 ## --------- ##
3198 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3199 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3200 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3201 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3202 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3204 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3205 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3207 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3208 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3209 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3210 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3211 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3212 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3213 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3215 _ASUNAME
3217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3218 for as_dir in $PATH
3220 IFS=$as_save_IFS
3221 case $as_dir in #(((
3222 '') as_dir=./ ;;
3223 */) ;;
3224 *) as_dir=$as_dir/ ;;
3225 esac
3226 printf "%s\n" "PATH: $as_dir"
3227 done
3228 IFS=$as_save_IFS
3230 } >&5
3232 cat >&5 <<_ACEOF
3235 ## ----------- ##
3236 ## Core tests. ##
3237 ## ----------- ##
3239 _ACEOF
3242 # Keep a trace of the command line.
3243 # Strip out --no-create and --no-recursion so they do not pile up.
3244 # Strip out --silent because we don't want to record it for future runs.
3245 # Also quote any args containing shell meta-characters.
3246 # Make two passes to allow for proper duplicate-argument suppression.
3247 ac_configure_args=
3248 ac_configure_args0=
3249 ac_configure_args1=
3250 ac_must_keep_next=false
3251 for ac_pass in 1 2
3253 for ac_arg
3255 case $ac_arg in
3256 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3257 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3258 | -silent | --silent | --silen | --sile | --sil)
3259 continue ;;
3260 *\'*)
3261 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3262 esac
3263 case $ac_pass in
3264 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3266 as_fn_append ac_configure_args1 " '$ac_arg'"
3267 if test $ac_must_keep_next = true; then
3268 ac_must_keep_next=false # Got value, back to normal.
3269 else
3270 case $ac_arg in
3271 *=* | --config-cache | -C | -disable-* | --disable-* \
3272 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3273 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3274 | -with-* | --with-* | -without-* | --without-* | --x)
3275 case "$ac_configure_args0 " in
3276 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3277 esac
3279 -* ) ac_must_keep_next=true ;;
3280 esac
3282 as_fn_append ac_configure_args " '$ac_arg'"
3284 esac
3285 done
3286 done
3287 { ac_configure_args0=; unset ac_configure_args0;}
3288 { ac_configure_args1=; unset ac_configure_args1;}
3290 # When interrupted or exit'd, cleanup temporary files, and complete
3291 # config.log. We remove comments because anyway the quotes in there
3292 # would cause problems or look ugly.
3293 # WARNING: Use '\'' to represent an apostrophe within the trap.
3294 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3295 trap 'exit_status=$?
3296 # Sanitize IFS.
3297 IFS=" "" $as_nl"
3298 # Save into config.log some information that might help in debugging.
3300 echo
3302 printf "%s\n" "## ---------------- ##
3303 ## Cache variables. ##
3304 ## ---------------- ##"
3305 echo
3306 # The following way of writing the cache mishandles newlines in values,
3308 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3309 eval ac_val=\$$ac_var
3310 case $ac_val in #(
3311 *${as_nl}*)
3312 case $ac_var in #(
3313 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3314 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3315 esac
3316 case $ac_var in #(
3317 _ | IFS | as_nl) ;; #(
3318 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3319 *) { eval $ac_var=; unset $ac_var;} ;;
3320 esac ;;
3321 esac
3322 done
3323 (set) 2>&1 |
3324 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3325 *${as_nl}ac_space=\ *)
3326 sed -n \
3327 "s/'\''/'\''\\\\'\'''\''/g;
3328 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3329 ;; #(
3331 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3333 esac |
3334 sort
3336 echo
3338 printf "%s\n" "## ----------------- ##
3339 ## Output variables. ##
3340 ## ----------------- ##"
3341 echo
3342 for ac_var in $ac_subst_vars
3344 eval ac_val=\$$ac_var
3345 case $ac_val in
3346 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3347 esac
3348 printf "%s\n" "$ac_var='\''$ac_val'\''"
3349 done | sort
3350 echo
3352 if test -n "$ac_subst_files"; then
3353 printf "%s\n" "## ------------------- ##
3354 ## File substitutions. ##
3355 ## ------------------- ##"
3356 echo
3357 for ac_var in $ac_subst_files
3359 eval ac_val=\$$ac_var
3360 case $ac_val in
3361 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3362 esac
3363 printf "%s\n" "$ac_var='\''$ac_val'\''"
3364 done | sort
3365 echo
3368 if test -s confdefs.h; then
3369 printf "%s\n" "## ----------- ##
3370 ## confdefs.h. ##
3371 ## ----------- ##"
3372 echo
3373 cat confdefs.h
3374 echo
3376 test "$ac_signal" != 0 &&
3377 printf "%s\n" "$as_me: caught signal $ac_signal"
3378 printf "%s\n" "$as_me: exit $exit_status"
3379 } >&5
3380 rm -f core *.core core.conftest.* &&
3381 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3382 exit $exit_status
3384 for ac_signal in 1 2 13 15; do
3385 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3386 done
3387 ac_signal=0
3389 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3390 rm -f -r conftest* confdefs.h
3392 printf "%s\n" "/* confdefs.h */" > confdefs.h
3394 # Predefined preprocessor variables.
3396 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3398 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3400 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3402 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3404 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3406 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3409 # Let the site file select an alternate cache file if it wants to.
3410 # Prefer an explicitly selected file to automatically selected ones.
3411 if test -n "$CONFIG_SITE"; then
3412 ac_site_files="$CONFIG_SITE"
3413 elif test "x$prefix" != xNONE; then
3414 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3415 else
3416 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3419 for ac_site_file in $ac_site_files
3421 case $ac_site_file in #(
3422 */*) :
3423 ;; #(
3424 *) :
3425 ac_site_file=./$ac_site_file ;;
3426 esac
3427 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3429 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3430 sed 's/^/| /' "$ac_site_file" >&5
3431 . "$ac_site_file" \
3432 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3433 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3434 as_fn_error $? "failed to load site script $ac_site_file
3435 See \`config.log' for more details" "$LINENO" 5; }
3437 done
3439 if test -r "$cache_file"; then
3440 # Some versions of bash will fail to source /dev/null (special files
3441 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3442 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3444 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3445 case $cache_file in
3446 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3447 *) . "./$cache_file";;
3448 esac
3450 else
3451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3452 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3453 >$cache_file
3456 # Test code for whether the C compiler supports C89 (global declarations)
3457 ac_c_conftest_c89_globals='
3458 /* Does the compiler advertise C89 conformance?
3459 Do not test the value of __STDC__, because some compilers set it to 0
3460 while being otherwise adequately conformant. */
3461 #if !defined __STDC__
3462 # error "Compiler does not advertise C89 conformance"
3463 #endif
3465 #include <stddef.h>
3466 #include <stdarg.h>
3467 struct stat;
3468 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3469 struct buf { int x; };
3470 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3471 static char *e (p, i)
3472 char **p;
3473 int i;
3475 return p[i];
3477 static char *f (char * (*g) (char **, int), char **p, ...)
3479 char *s;
3480 va_list v;
3481 va_start (v,p);
3482 s = g (p, va_arg (v,int));
3483 va_end (v);
3484 return s;
3487 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3488 function prototypes and stuff, but not \xHH hex character constants.
3489 These do not provoke an error unfortunately, instead are silently treated
3490 as an "x". The following induces an error, until -std is added to get
3491 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3492 array size at least. It is necessary to write \x00 == 0 to get something
3493 that is true only with -std. */
3494 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3496 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3497 inside strings and character constants. */
3498 #define FOO(x) '\''x'\''
3499 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3501 int test (int i, double x);
3502 struct s1 {int (*f) (int a);};
3503 struct s2 {int (*f) (double a);};
3504 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3505 int, int);'
3507 # Test code for whether the C compiler supports C89 (body of main).
3508 ac_c_conftest_c89_main='
3509 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3512 # Test code for whether the C compiler supports C99 (global declarations)
3513 ac_c_conftest_c99_globals='
3514 // Does the compiler advertise C99 conformance?
3515 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3516 # error "Compiler does not advertise C99 conformance"
3517 #endif
3519 #include <stdbool.h>
3520 extern int puts (const char *);
3521 extern int printf (const char *, ...);
3522 extern int dprintf (int, const char *, ...);
3523 extern void *malloc (size_t);
3525 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3526 // dprintf is used instead of fprintf to avoid needing to declare
3527 // FILE and stderr.
3528 #define debug(...) dprintf (2, __VA_ARGS__)
3529 #define showlist(...) puts (#__VA_ARGS__)
3530 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3531 static void
3532 test_varargs_macros (void)
3534 int x = 1234;
3535 int y = 5678;
3536 debug ("Flag");
3537 debug ("X = %d\n", x);
3538 showlist (The first, second, and third items.);
3539 report (x>y, "x is %d but y is %d", x, y);
3542 // Check long long types.
3543 #define BIG64 18446744073709551615ull
3544 #define BIG32 4294967295ul
3545 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3546 #if !BIG_OK
3547 #error "your preprocessor is broken"
3548 #endif
3549 #if BIG_OK
3550 #else
3551 #error "your preprocessor is broken"
3552 #endif
3553 static long long int bignum = -9223372036854775807LL;
3554 static unsigned long long int ubignum = BIG64;
3556 struct incomplete_array
3558 int datasize;
3559 double data[];
3562 struct named_init {
3563 int number;
3564 const wchar_t *name;
3565 double average;
3568 typedef const char *ccp;
3570 static inline int
3571 test_restrict (ccp restrict text)
3573 // See if C++-style comments work.
3574 // Iterate through items via the restricted pointer.
3575 // Also check for declarations in for loops.
3576 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3577 continue;
3578 return 0;
3581 // Check varargs and va_copy.
3582 static bool
3583 test_varargs (const char *format, ...)
3585 va_list args;
3586 va_start (args, format);
3587 va_list args_copy;
3588 va_copy (args_copy, args);
3590 const char *str = "";
3591 int number = 0;
3592 float fnumber = 0;
3594 while (*format)
3596 switch (*format++)
3598 case '\''s'\'': // string
3599 str = va_arg (args_copy, const char *);
3600 break;
3601 case '\''d'\'': // int
3602 number = va_arg (args_copy, int);
3603 break;
3604 case '\''f'\'': // float
3605 fnumber = va_arg (args_copy, double);
3606 break;
3607 default:
3608 break;
3611 va_end (args_copy);
3612 va_end (args);
3614 return *str && number && fnumber;
3618 # Test code for whether the C compiler supports C99 (body of main).
3619 ac_c_conftest_c99_main='
3620 // Check bool.
3621 _Bool success = false;
3622 success |= (argc != 0);
3624 // Check restrict.
3625 if (test_restrict ("String literal") == 0)
3626 success = true;
3627 char *restrict newvar = "Another string";
3629 // Check varargs.
3630 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3631 test_varargs_macros ();
3633 // Check flexible array members.
3634 struct incomplete_array *ia =
3635 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3636 ia->datasize = 10;
3637 for (int i = 0; i < ia->datasize; ++i)
3638 ia->data[i] = i * 1.234;
3640 // Check named initializers.
3641 struct named_init ni = {
3642 .number = 34,
3643 .name = L"Test wide string",
3644 .average = 543.34343,
3647 ni.number = 58;
3649 int dynamic_array[ni.number];
3650 dynamic_array[0] = argv[0][0];
3651 dynamic_array[ni.number - 1] = 543;
3653 // work around unused variable warnings
3654 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3655 || dynamic_array[ni.number - 1] != 543);
3658 # Test code for whether the C compiler supports C11 (global declarations)
3659 ac_c_conftest_c11_globals='
3660 // Does the compiler advertise C11 conformance?
3661 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3662 # error "Compiler does not advertise C11 conformance"
3663 #endif
3665 // Check _Alignas.
3666 char _Alignas (double) aligned_as_double;
3667 char _Alignas (0) no_special_alignment;
3668 extern char aligned_as_int;
3669 char _Alignas (0) _Alignas (int) aligned_as_int;
3671 // Check _Alignof.
3672 enum
3674 int_alignment = _Alignof (int),
3675 int_array_alignment = _Alignof (int[100]),
3676 char_alignment = _Alignof (char)
3678 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3680 // Check _Noreturn.
3681 int _Noreturn does_not_return (void) { for (;;) continue; }
3683 // Check _Static_assert.
3684 struct test_static_assert
3686 int x;
3687 _Static_assert (sizeof (int) <= sizeof (long int),
3688 "_Static_assert does not work in struct");
3689 long int y;
3692 // Check UTF-8 literals.
3693 #define u8 syntax error!
3694 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3696 // Check duplicate typedefs.
3697 typedef long *long_ptr;
3698 typedef long int *long_ptr;
3699 typedef long_ptr long_ptr;
3701 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3702 struct anonymous
3704 union {
3705 struct { int i; int j; };
3706 struct { int k; long int l; } w;
3708 int m;
3709 } v1;
3712 # Test code for whether the C compiler supports C11 (body of main).
3713 ac_c_conftest_c11_main='
3714 _Static_assert ((offsetof (struct anonymous, i)
3715 == offsetof (struct anonymous, w.k)),
3716 "Anonymous union alignment botch");
3717 v1.i = 2;
3718 v1.w.k = 5;
3719 ok |= v1.i != 5;
3722 # Test code for whether the C compiler supports C11 (complete).
3723 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3724 ${ac_c_conftest_c99_globals}
3725 ${ac_c_conftest_c11_globals}
3728 main (int argc, char **argv)
3730 int ok = 0;
3731 ${ac_c_conftest_c89_main}
3732 ${ac_c_conftest_c99_main}
3733 ${ac_c_conftest_c11_main}
3734 return ok;
3738 # Test code for whether the C compiler supports C99 (complete).
3739 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3740 ${ac_c_conftest_c99_globals}
3743 main (int argc, char **argv)
3745 int ok = 0;
3746 ${ac_c_conftest_c89_main}
3747 ${ac_c_conftest_c99_main}
3748 return ok;
3752 # Test code for whether the C compiler supports C89 (complete).
3753 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3756 main (int argc, char **argv)
3758 int ok = 0;
3759 ${ac_c_conftest_c89_main}
3760 return ok;
3764 # Test code for whether the C++ compiler supports C++98 (global declarations)
3765 ac_cxx_conftest_cxx98_globals='
3766 // Does the compiler advertise C++98 conformance?
3767 #if !defined __cplusplus || __cplusplus < 199711L
3768 # error "Compiler does not advertise C++98 conformance"
3769 #endif
3771 // These inclusions are to reject old compilers that
3772 // lack the unsuffixed header files.
3773 #include <cstdlib>
3774 #include <exception>
3776 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3777 extern void assert (int);
3778 namespace std {
3779 extern int strcmp (const char *, const char *);
3782 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3783 using std::exception;
3784 using std::strcmp;
3786 namespace {
3788 void test_exception_syntax()
3790 try {
3791 throw "test";
3792 } catch (const char *s) {
3793 // Extra parentheses suppress a warning when building autoconf itself,
3794 // due to lint rules shared with more typical C programs.
3795 assert (!(strcmp) (s, "test"));
3799 template <typename T> struct test_template
3801 T const val;
3802 explicit test_template(T t) : val(t) {}
3803 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3806 } // anonymous namespace
3809 # Test code for whether the C++ compiler supports C++98 (body of main)
3810 ac_cxx_conftest_cxx98_main='
3811 assert (argc);
3812 assert (! argv[0]);
3814 test_exception_syntax ();
3815 test_template<double> tt (2.0);
3816 assert (tt.add (4) == 6.0);
3817 assert (true && !false);
3821 # Test code for whether the C++ compiler supports C++11 (global declarations)
3822 ac_cxx_conftest_cxx11_globals='
3823 // Does the compiler advertise C++ 2011 conformance?
3824 #if !defined __cplusplus || __cplusplus < 201103L
3825 # error "Compiler does not advertise C++11 conformance"
3826 #endif
3828 namespace cxx11test
3830 constexpr int get_val() { return 20; }
3832 struct testinit
3834 int i;
3835 double d;
3838 class delegate
3840 public:
3841 delegate(int n) : n(n) {}
3842 delegate(): delegate(2354) {}
3844 virtual int getval() { return this->n; };
3845 protected:
3846 int n;
3849 class overridden : public delegate
3851 public:
3852 overridden(int n): delegate(n) {}
3853 virtual int getval() override final { return this->n * 2; }
3856 class nocopy
3858 public:
3859 nocopy(int i): i(i) {}
3860 nocopy() = default;
3861 nocopy(const nocopy&) = delete;
3862 nocopy & operator=(const nocopy&) = delete;
3863 private:
3864 int i;
3867 // for testing lambda expressions
3868 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3870 return f(v);
3873 // for testing variadic templates and trailing return types
3874 template <typename V> auto sum(V first) -> V
3876 return first;
3878 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3880 return first + sum(rest...);
3885 # Test code for whether the C++ compiler supports C++11 (body of main)
3886 ac_cxx_conftest_cxx11_main='
3888 // Test auto and decltype
3889 auto a1 = 6538;
3890 auto a2 = 48573953.4;
3891 auto a3 = "String literal";
3893 int total = 0;
3894 for (auto i = a3; *i; ++i) { total += *i; }
3896 decltype(a2) a4 = 34895.034;
3899 // Test constexpr
3900 short sa[cxx11test::get_val()] = { 0 };
3903 // Test initializer lists
3904 cxx11test::testinit il = { 4323, 435234.23544 };
3907 // Test range-based for
3908 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3909 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3910 for (auto &x : array) { x += 23; }
3913 // Test lambda expressions
3914 using cxx11test::eval;
3915 assert (eval ([](int x) { return x*2; }, 21) == 42);
3916 double d = 2.0;
3917 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3918 assert (d == 5.0);
3919 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3920 assert (d == 5.0);
3923 // Test use of variadic templates
3924 using cxx11test::sum;
3925 auto a = sum(1);
3926 auto b = sum(1, 2);
3927 auto c = sum(1.0, 2.0, 3.0);
3930 // Test constructor delegation
3931 cxx11test::delegate d1;
3932 cxx11test::delegate d2();
3933 cxx11test::delegate d3(45);
3936 // Test override and final
3937 cxx11test::overridden o1(55464);
3940 // Test nullptr
3941 char *c = nullptr;
3944 // Test template brackets
3945 test_template<::test_template<int>> v(test_template<int>(12));
3948 // Unicode literals
3949 char const *utf8 = u8"UTF-8 string \u2500";
3950 char16_t const *utf16 = u"UTF-8 string \u2500";
3951 char32_t const *utf32 = U"UTF-32 string \u2500";
3955 # Test code for whether the C compiler supports C++11 (complete).
3956 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3957 ${ac_cxx_conftest_cxx11_globals}
3960 main (int argc, char **argv)
3962 int ok = 0;
3963 ${ac_cxx_conftest_cxx98_main}
3964 ${ac_cxx_conftest_cxx11_main}
3965 return ok;
3969 # Test code for whether the C compiler supports C++98 (complete).
3970 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3972 main (int argc, char **argv)
3974 int ok = 0;
3975 ${ac_cxx_conftest_cxx98_main}
3976 return ok;
3980 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3981 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3982 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3983 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3984 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3985 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3986 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3987 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3988 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3990 # Auxiliary files required by this configure script.
3991 ac_aux_files="config.guess config.sub"
3993 # Locations in which to look for auxiliary files.
3994 ac_aux_dir_candidates="${srcdir}/tools"
3996 # Search for a directory containing all of the required auxiliary files,
3997 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3998 # If we don't find one directory that contains all the files we need,
3999 # we report the set of missing files from the *first* directory in
4000 # $ac_aux_dir_candidates and give up.
4001 ac_missing_aux_files=""
4002 ac_first_candidate=:
4003 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4005 as_found=false
4006 for as_dir in $ac_aux_dir_candidates
4008 IFS=$as_save_IFS
4009 case $as_dir in #(((
4010 '') as_dir=./ ;;
4011 */) ;;
4012 *) as_dir=$as_dir/ ;;
4013 esac
4014 as_found=:
4016 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4017 ac_aux_dir_found=yes
4018 ac_install_sh=
4019 for ac_aux in $ac_aux_files
4021 # As a special case, if "install-sh" is required, that requirement
4022 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4023 # and $ac_install_sh is set appropriately for whichever one is found.
4024 if test x"$ac_aux" = x"install-sh"
4025 then
4026 if test -f "${as_dir}install-sh"; then
4027 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4028 ac_install_sh="${as_dir}install-sh -c"
4029 elif test -f "${as_dir}install.sh"; then
4030 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4031 ac_install_sh="${as_dir}install.sh -c"
4032 elif test -f "${as_dir}shtool"; then
4033 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4034 ac_install_sh="${as_dir}shtool install -c"
4035 else
4036 ac_aux_dir_found=no
4037 if $ac_first_candidate; then
4038 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4039 else
4040 break
4043 else
4044 if test -f "${as_dir}${ac_aux}"; then
4045 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4046 else
4047 ac_aux_dir_found=no
4048 if $ac_first_candidate; then
4049 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4050 else
4051 break
4055 done
4056 if test "$ac_aux_dir_found" = yes; then
4057 ac_aux_dir="$as_dir"
4058 break
4060 ac_first_candidate=false
4062 as_found=false
4063 done
4064 IFS=$as_save_IFS
4065 if $as_found
4066 then :
4068 else $as_nop
4069 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4073 # These three variables are undocumented and unsupported,
4074 # and are intended to be withdrawn in a future Autoconf release.
4075 # They can cause serious problems if a builder's source tree is in a directory
4076 # whose full name contains unusual characters.
4077 if test -f "${ac_aux_dir}config.guess"; then
4078 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4080 if test -f "${ac_aux_dir}config.sub"; then
4081 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4083 if test -f "$ac_aux_dir/configure"; then
4084 ac_configure="$SHELL ${ac_aux_dir}configure"
4087 # Check that the precious variables saved in the cache have kept the same
4088 # value.
4089 ac_cache_corrupted=false
4090 for ac_var in $ac_precious_vars; do
4091 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4092 eval ac_new_set=\$ac_env_${ac_var}_set
4093 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4094 eval ac_new_val=\$ac_env_${ac_var}_value
4095 case $ac_old_set,$ac_new_set in
4096 set,)
4097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4098 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4099 ac_cache_corrupted=: ;;
4100 ,set)
4101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4102 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4103 ac_cache_corrupted=: ;;
4104 ,);;
4106 if test "x$ac_old_val" != "x$ac_new_val"; then
4107 # differences in whitespace do not lead to failure.
4108 ac_old_val_w=`echo x $ac_old_val`
4109 ac_new_val_w=`echo x $ac_new_val`
4110 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4112 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4113 ac_cache_corrupted=:
4114 else
4115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4116 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4117 eval $ac_var=\$ac_old_val
4119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4120 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4122 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4123 fi;;
4124 esac
4125 # Pass precious variables to config.status.
4126 if test "$ac_new_set" = set; then
4127 case $ac_new_val in
4128 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4129 *) ac_arg=$ac_var=$ac_new_val ;;
4130 esac
4131 case " $ac_configure_args " in
4132 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4133 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4134 esac
4136 done
4137 if $ac_cache_corrupted; then
4138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4139 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4141 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4142 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4143 and start over" "$LINENO" 5
4145 ## -------------------- ##
4146 ## Main body of script. ##
4147 ## -------------------- ##
4149 ac_ext=c
4150 ac_cpp='$CPP $CPPFLAGS'
4151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4157 ac_config_headers="$ac_config_headers include/config.h"
4161 libwine_version="1.0"
4164 # Check whether --enable-archs was given.
4165 if test ${enable_archs+y}
4166 then :
4167 enableval=$enable_archs;
4170 # Check whether --enable-win16 was given.
4171 if test ${enable_win16+y}
4172 then :
4173 enableval=$enable_win16;
4176 # Check whether --enable-win64 was given.
4177 if test ${enable_win64+y}
4178 then :
4179 enableval=$enable_win64;
4182 # Check whether --enable-tests was given.
4183 if test ${enable_tests+y}
4184 then :
4185 enableval=$enable_tests;
4188 # Check whether --enable-build-id was given.
4189 if test ${enable_build_id+y}
4190 then :
4191 enableval=$enable_build_id;
4194 # Check whether --enable-maintainer-mode was given.
4195 if test ${enable_maintainer_mode+y}
4196 then :
4197 enableval=$enable_maintainer_mode;
4200 # Check whether --enable-silent-rules was given.
4201 if test ${enable_silent_rules+y}
4202 then :
4203 enableval=$enable_silent_rules;
4206 # Check whether --enable-werror was given.
4207 if test ${enable_werror+y}
4208 then :
4209 enableval=$enable_werror;
4214 # Check whether --with-alsa was given.
4215 if test ${with_alsa+y}
4216 then :
4217 withval=$with_alsa;
4221 # Check whether --with-capi was given.
4222 if test ${with_capi+y}
4223 then :
4224 withval=$with_capi;
4228 # Check whether --with-coreaudio was given.
4229 if test ${with_coreaudio+y}
4230 then :
4231 withval=$with_coreaudio;
4235 # Check whether --with-cups was given.
4236 if test ${with_cups+y}
4237 then :
4238 withval=$with_cups;
4242 # Check whether --with-dbus was given.
4243 if test ${with_dbus+y}
4244 then :
4245 withval=$with_dbus;
4249 # Check whether --with-float-abi was given.
4250 if test ${with_float_abi+y}
4251 then :
4252 withval=$with_float_abi;
4256 # Check whether --with-fontconfig was given.
4257 if test ${with_fontconfig+y}
4258 then :
4259 withval=$with_fontconfig;
4263 # Check whether --with-freetype was given.
4264 if test ${with_freetype+y}
4265 then :
4266 withval=$with_freetype;
4270 # Check whether --with-gettext was given.
4271 if test ${with_gettext+y}
4272 then :
4273 withval=$with_gettext;
4277 # Check whether --with-gettextpo was given.
4278 if test ${with_gettextpo+y}
4279 then :
4280 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4284 # Check whether --with-gphoto was given.
4285 if test ${with_gphoto+y}
4286 then :
4287 withval=$with_gphoto;
4291 # Check whether --with-gnutls was given.
4292 if test ${with_gnutls+y}
4293 then :
4294 withval=$with_gnutls;
4298 # Check whether --with-gssapi was given.
4299 if test ${with_gssapi+y}
4300 then :
4301 withval=$with_gssapi;
4305 # Check whether --with-gstreamer was given.
4306 if test ${with_gstreamer+y}
4307 then :
4308 withval=$with_gstreamer;
4312 # Check whether --with-inotify was given.
4313 if test ${with_inotify+y}
4314 then :
4315 withval=$with_inotify;
4319 # Check whether --with-krb5 was given.
4320 if test ${with_krb5+y}
4321 then :
4322 withval=$with_krb5;
4326 # Check whether --with-mingw was given.
4327 if test ${with_mingw+y}
4328 then :
4329 withval=$with_mingw;
4333 # Check whether --with-netapi was given.
4334 if test ${with_netapi+y}
4335 then :
4336 withval=$with_netapi;
4340 # Check whether --with-opencl was given.
4341 if test ${with_opencl+y}
4342 then :
4343 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4347 # Check whether --with-opengl was given.
4348 if test ${with_opengl+y}
4349 then :
4350 withval=$with_opengl;
4354 # Check whether --with-osmesa was given.
4355 if test ${with_osmesa+y}
4356 then :
4357 withval=$with_osmesa;
4361 # Check whether --with-oss was given.
4362 if test ${with_oss+y}
4363 then :
4364 withval=$with_oss;
4368 # Check whether --with-pcap was given.
4369 if test ${with_pcap+y}
4370 then :
4371 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4375 # Check whether --with-pcsclite was given.
4376 if test ${with_pcsclite+y}
4377 then :
4378 withval=$with_pcsclite;
4382 # Check whether --with-pthread was given.
4383 if test ${with_pthread+y}
4384 then :
4385 withval=$with_pthread;
4389 # Check whether --with-pulse was given.
4390 if test ${with_pulse+y}
4391 then :
4392 withval=$with_pulse;
4396 # Check whether --with-sane was given.
4397 if test ${with_sane+y}
4398 then :
4399 withval=$with_sane;
4403 # Check whether --with-sdl was given.
4404 if test ${with_sdl+y}
4405 then :
4406 withval=$with_sdl;
4410 # Check whether --with-udev was given.
4411 if test ${with_udev+y}
4412 then :
4413 withval=$with_udev;
4417 # Check whether --with-unwind was given.
4418 if test ${with_unwind+y}
4419 then :
4420 withval=$with_unwind;
4424 # Check whether --with-usb was given.
4425 if test ${with_usb+y}
4426 then :
4427 withval=$with_usb;
4431 # Check whether --with-v4l2 was given.
4432 if test ${with_v4l2+y}
4433 then :
4434 withval=$with_v4l2;
4438 # Check whether --with-vulkan was given.
4439 if test ${with_vulkan+y}
4440 then :
4441 withval=$with_vulkan;
4445 # Check whether --with-wayland was given.
4446 if test ${with_wayland+y}
4447 then :
4448 withval=$with_wayland;
4452 # Check whether --with-xcomposite was given.
4453 if test ${with_xcomposite+y}
4454 then :
4455 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4459 # Check whether --with-xcursor was given.
4460 if test ${with_xcursor+y}
4461 then :
4462 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4466 # Check whether --with-xfixes was given.
4467 if test ${with_xfixes+y}
4468 then :
4469 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4473 # Check whether --with-xinerama was given.
4474 if test ${with_xinerama+y}
4475 then :
4476 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4480 # Check whether --with-xinput was given.
4481 if test ${with_xinput+y}
4482 then :
4483 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4487 # Check whether --with-xinput2 was given.
4488 if test ${with_xinput2+y}
4489 then :
4490 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4494 # Check whether --with-xrandr was given.
4495 if test ${with_xrandr+y}
4496 then :
4497 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4501 # Check whether --with-xrender was given.
4502 if test ${with_xrender+y}
4503 then :
4504 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4508 # Check whether --with-xshape was given.
4509 if test ${with_xshape+y}
4510 then :
4511 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4515 # Check whether --with-xshm was given.
4516 if test ${with_xshm+y}
4517 then :
4518 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4522 # Check whether --with-xxf86vm was given.
4523 if test ${with_xxf86vm+y}
4524 then :
4525 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
4530 # Check whether --with-system-dllpath was given.
4531 if test ${with_system_dllpath+y}
4532 then :
4533 withval=$with_system_dllpath; system_dllpath=$withval
4538 # Check whether --with-wine-tools was given.
4539 if test ${with_wine_tools+y}
4540 then :
4541 withval=$with_wine_tools;
4545 # Check whether --with-wine64 was given.
4546 if test ${with_wine64+y}
4547 then :
4548 withval=$with_wine64;
4555 # Make sure we can run config.sub.
4556 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4557 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4560 printf %s "checking build system type... " >&6; }
4561 if test ${ac_cv_build+y}
4562 then :
4563 printf %s "(cached) " >&6
4564 else $as_nop
4565 ac_build_alias=$build_alias
4566 test "x$ac_build_alias" = x &&
4567 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4568 test "x$ac_build_alias" = x &&
4569 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4570 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4571 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4575 printf "%s\n" "$ac_cv_build" >&6; }
4576 case $ac_cv_build in
4577 *-*-*) ;;
4578 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4579 esac
4580 build=$ac_cv_build
4581 ac_save_IFS=$IFS; IFS='-'
4582 set x $ac_cv_build
4583 shift
4584 build_cpu=$1
4585 build_vendor=$2
4586 shift; shift
4587 # Remember, the first character of IFS is used to create $*,
4588 # except with old shells:
4589 build_os=$*
4590 IFS=$ac_save_IFS
4591 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4595 printf %s "checking host system type... " >&6; }
4596 if test ${ac_cv_host+y}
4597 then :
4598 printf %s "(cached) " >&6
4599 else $as_nop
4600 if test "x$host_alias" = x; then
4601 ac_cv_host=$ac_cv_build
4602 else
4603 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4604 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4609 printf "%s\n" "$ac_cv_host" >&6; }
4610 case $ac_cv_host in
4611 *-*-*) ;;
4612 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4613 esac
4614 host=$ac_cv_host
4615 ac_save_IFS=$IFS; IFS='-'
4616 set x $ac_cv_host
4617 shift
4618 host_cpu=$1
4619 host_vendor=$2
4620 shift; shift
4621 # Remember, the first character of IFS is used to create $*,
4622 # except with old shells:
4623 host_os=$*
4624 IFS=$ac_save_IFS
4625 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4629 dlldir=\${libdir}/wine
4631 fontdir=\${datadir}/wine/fonts
4633 nlsdir=\${datadir}/wine/nls
4638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4639 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4640 set x ${MAKE-make}
4641 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4642 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4643 then :
4644 printf %s "(cached) " >&6
4645 else $as_nop
4646 cat >conftest.make <<\_ACEOF
4647 SHELL = /bin/sh
4648 all:
4649 @echo '@@@%%%=$(MAKE)=@@@%%%'
4650 _ACEOF
4651 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4652 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4653 *@@@%%%=?*=@@@%%%*)
4654 eval ac_cv_prog_make_${ac_make}_set=yes;;
4656 eval ac_cv_prog_make_${ac_make}_set=no;;
4657 esac
4658 rm -f conftest.make
4660 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4662 printf "%s\n" "yes" >&6; }
4663 SET_MAKE=
4664 else
4665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4666 printf "%s\n" "no" >&6; }
4667 SET_MAKE="MAKE=${MAKE-make}"
4679 ac_ext=c
4680 ac_cpp='$CPP $CPPFLAGS'
4681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4684 if test -n "$ac_tool_prefix"; then
4685 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4686 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4688 printf %s "checking for $ac_word... " >&6; }
4689 if test ${ac_cv_prog_CC+y}
4690 then :
4691 printf %s "(cached) " >&6
4692 else $as_nop
4693 if test -n "$CC"; then
4694 ac_cv_prog_CC="$CC" # Let the user override the test.
4695 else
4696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4697 for as_dir in $PATH
4699 IFS=$as_save_IFS
4700 case $as_dir in #(((
4701 '') as_dir=./ ;;
4702 */) ;;
4703 *) as_dir=$as_dir/ ;;
4704 esac
4705 for ac_exec_ext in '' $ac_executable_extensions; do
4706 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4707 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4708 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4709 break 2
4711 done
4712 done
4713 IFS=$as_save_IFS
4717 CC=$ac_cv_prog_CC
4718 if test -n "$CC"; then
4719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4720 printf "%s\n" "$CC" >&6; }
4721 else
4722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4723 printf "%s\n" "no" >&6; }
4728 if test -z "$ac_cv_prog_CC"; then
4729 ac_ct_CC=$CC
4730 # Extract the first word of "gcc", so it can be a program name with args.
4731 set dummy gcc; ac_word=$2
4732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4733 printf %s "checking for $ac_word... " >&6; }
4734 if test ${ac_cv_prog_ac_ct_CC+y}
4735 then :
4736 printf %s "(cached) " >&6
4737 else $as_nop
4738 if test -n "$ac_ct_CC"; then
4739 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4740 else
4741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4742 for as_dir in $PATH
4744 IFS=$as_save_IFS
4745 case $as_dir in #(((
4746 '') as_dir=./ ;;
4747 */) ;;
4748 *) as_dir=$as_dir/ ;;
4749 esac
4750 for ac_exec_ext in '' $ac_executable_extensions; do
4751 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4752 ac_cv_prog_ac_ct_CC="gcc"
4753 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4754 break 2
4756 done
4757 done
4758 IFS=$as_save_IFS
4762 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4763 if test -n "$ac_ct_CC"; then
4764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4765 printf "%s\n" "$ac_ct_CC" >&6; }
4766 else
4767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4768 printf "%s\n" "no" >&6; }
4771 if test "x$ac_ct_CC" = x; then
4772 CC=""
4773 else
4774 case $cross_compiling:$ac_tool_warned in
4775 yes:)
4776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4777 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4778 ac_tool_warned=yes ;;
4779 esac
4780 CC=$ac_ct_CC
4782 else
4783 CC="$ac_cv_prog_CC"
4786 if test -z "$CC"; then
4787 if test -n "$ac_tool_prefix"; then
4788 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4789 set dummy ${ac_tool_prefix}cc; ac_word=$2
4790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4791 printf %s "checking for $ac_word... " >&6; }
4792 if test ${ac_cv_prog_CC+y}
4793 then :
4794 printf %s "(cached) " >&6
4795 else $as_nop
4796 if test -n "$CC"; then
4797 ac_cv_prog_CC="$CC" # Let the user override the test.
4798 else
4799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4800 for as_dir in $PATH
4802 IFS=$as_save_IFS
4803 case $as_dir in #(((
4804 '') as_dir=./ ;;
4805 */) ;;
4806 *) as_dir=$as_dir/ ;;
4807 esac
4808 for ac_exec_ext in '' $ac_executable_extensions; do
4809 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4810 ac_cv_prog_CC="${ac_tool_prefix}cc"
4811 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4812 break 2
4814 done
4815 done
4816 IFS=$as_save_IFS
4820 CC=$ac_cv_prog_CC
4821 if test -n "$CC"; then
4822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4823 printf "%s\n" "$CC" >&6; }
4824 else
4825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4826 printf "%s\n" "no" >&6; }
4832 if test -z "$CC"; then
4833 # Extract the first word of "cc", so it can be a program name with args.
4834 set dummy cc; ac_word=$2
4835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4836 printf %s "checking for $ac_word... " >&6; }
4837 if test ${ac_cv_prog_CC+y}
4838 then :
4839 printf %s "(cached) " >&6
4840 else $as_nop
4841 if test -n "$CC"; then
4842 ac_cv_prog_CC="$CC" # Let the user override the test.
4843 else
4844 ac_prog_rejected=no
4845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4846 for as_dir in $PATH
4848 IFS=$as_save_IFS
4849 case $as_dir in #(((
4850 '') as_dir=./ ;;
4851 */) ;;
4852 *) as_dir=$as_dir/ ;;
4853 esac
4854 for ac_exec_ext in '' $ac_executable_extensions; do
4855 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4856 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4857 ac_prog_rejected=yes
4858 continue
4860 ac_cv_prog_CC="cc"
4861 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4862 break 2
4864 done
4865 done
4866 IFS=$as_save_IFS
4868 if test $ac_prog_rejected = yes; then
4869 # We found a bogon in the path, so make sure we never use it.
4870 set dummy $ac_cv_prog_CC
4871 shift
4872 if test $# != 0; then
4873 # We chose a different compiler from the bogus one.
4874 # However, it has the same basename, so the bogon will be chosen
4875 # first if we set CC to just the basename; use the full file name.
4876 shift
4877 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4882 CC=$ac_cv_prog_CC
4883 if test -n "$CC"; then
4884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4885 printf "%s\n" "$CC" >&6; }
4886 else
4887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4888 printf "%s\n" "no" >&6; }
4893 if test -z "$CC"; then
4894 if test -n "$ac_tool_prefix"; then
4895 for ac_prog in cl.exe
4897 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4898 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4900 printf %s "checking for $ac_word... " >&6; }
4901 if test ${ac_cv_prog_CC+y}
4902 then :
4903 printf %s "(cached) " >&6
4904 else $as_nop
4905 if test -n "$CC"; then
4906 ac_cv_prog_CC="$CC" # Let the user override the test.
4907 else
4908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4909 for as_dir in $PATH
4911 IFS=$as_save_IFS
4912 case $as_dir in #(((
4913 '') as_dir=./ ;;
4914 */) ;;
4915 *) as_dir=$as_dir/ ;;
4916 esac
4917 for ac_exec_ext in '' $ac_executable_extensions; do
4918 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4919 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4920 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4921 break 2
4923 done
4924 done
4925 IFS=$as_save_IFS
4929 CC=$ac_cv_prog_CC
4930 if test -n "$CC"; then
4931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4932 printf "%s\n" "$CC" >&6; }
4933 else
4934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4935 printf "%s\n" "no" >&6; }
4939 test -n "$CC" && break
4940 done
4942 if test -z "$CC"; then
4943 ac_ct_CC=$CC
4944 for ac_prog in cl.exe
4946 # Extract the first word of "$ac_prog", so it can be a program name with args.
4947 set dummy $ac_prog; ac_word=$2
4948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4949 printf %s "checking for $ac_word... " >&6; }
4950 if test ${ac_cv_prog_ac_ct_CC+y}
4951 then :
4952 printf %s "(cached) " >&6
4953 else $as_nop
4954 if test -n "$ac_ct_CC"; then
4955 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4956 else
4957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4958 for as_dir in $PATH
4960 IFS=$as_save_IFS
4961 case $as_dir in #(((
4962 '') as_dir=./ ;;
4963 */) ;;
4964 *) as_dir=$as_dir/ ;;
4965 esac
4966 for ac_exec_ext in '' $ac_executable_extensions; do
4967 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4968 ac_cv_prog_ac_ct_CC="$ac_prog"
4969 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4970 break 2
4972 done
4973 done
4974 IFS=$as_save_IFS
4978 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4979 if test -n "$ac_ct_CC"; then
4980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4981 printf "%s\n" "$ac_ct_CC" >&6; }
4982 else
4983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4984 printf "%s\n" "no" >&6; }
4988 test -n "$ac_ct_CC" && break
4989 done
4991 if test "x$ac_ct_CC" = x; then
4992 CC=""
4993 else
4994 case $cross_compiling:$ac_tool_warned in
4995 yes:)
4996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4997 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4998 ac_tool_warned=yes ;;
4999 esac
5000 CC=$ac_ct_CC
5005 if test -z "$CC"; then
5006 if test -n "$ac_tool_prefix"; then
5007 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5008 set dummy ${ac_tool_prefix}clang; ac_word=$2
5009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5010 printf %s "checking for $ac_word... " >&6; }
5011 if test ${ac_cv_prog_CC+y}
5012 then :
5013 printf %s "(cached) " >&6
5014 else $as_nop
5015 if test -n "$CC"; then
5016 ac_cv_prog_CC="$CC" # Let the user override the test.
5017 else
5018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5019 for as_dir in $PATH
5021 IFS=$as_save_IFS
5022 case $as_dir in #(((
5023 '') as_dir=./ ;;
5024 */) ;;
5025 *) as_dir=$as_dir/ ;;
5026 esac
5027 for ac_exec_ext in '' $ac_executable_extensions; do
5028 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5029 ac_cv_prog_CC="${ac_tool_prefix}clang"
5030 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5031 break 2
5033 done
5034 done
5035 IFS=$as_save_IFS
5039 CC=$ac_cv_prog_CC
5040 if test -n "$CC"; then
5041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5042 printf "%s\n" "$CC" >&6; }
5043 else
5044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5045 printf "%s\n" "no" >&6; }
5050 if test -z "$ac_cv_prog_CC"; then
5051 ac_ct_CC=$CC
5052 # Extract the first word of "clang", so it can be a program name with args.
5053 set dummy clang; ac_word=$2
5054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5055 printf %s "checking for $ac_word... " >&6; }
5056 if test ${ac_cv_prog_ac_ct_CC+y}
5057 then :
5058 printf %s "(cached) " >&6
5059 else $as_nop
5060 if test -n "$ac_ct_CC"; then
5061 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5062 else
5063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5064 for as_dir in $PATH
5066 IFS=$as_save_IFS
5067 case $as_dir in #(((
5068 '') as_dir=./ ;;
5069 */) ;;
5070 *) as_dir=$as_dir/ ;;
5071 esac
5072 for ac_exec_ext in '' $ac_executable_extensions; do
5073 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5074 ac_cv_prog_ac_ct_CC="clang"
5075 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5076 break 2
5078 done
5079 done
5080 IFS=$as_save_IFS
5084 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5085 if test -n "$ac_ct_CC"; then
5086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5087 printf "%s\n" "$ac_ct_CC" >&6; }
5088 else
5089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5090 printf "%s\n" "no" >&6; }
5093 if test "x$ac_ct_CC" = x; then
5094 CC=""
5095 else
5096 case $cross_compiling:$ac_tool_warned in
5097 yes:)
5098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5099 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5100 ac_tool_warned=yes ;;
5101 esac
5102 CC=$ac_ct_CC
5104 else
5105 CC="$ac_cv_prog_CC"
5111 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5112 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5113 as_fn_error $? "no acceptable C compiler found in \$PATH
5114 See \`config.log' for more details" "$LINENO" 5; }
5116 # Provide some information about the compiler.
5117 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5118 set X $ac_compile
5119 ac_compiler=$2
5120 for ac_option in --version -v -V -qversion -version; do
5121 { { ac_try="$ac_compiler $ac_option >&5"
5122 case "(($ac_try" in
5123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5124 *) ac_try_echo=$ac_try;;
5125 esac
5126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5127 printf "%s\n" "$ac_try_echo"; } >&5
5128 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5129 ac_status=$?
5130 if test -s conftest.err; then
5131 sed '10a\
5132 ... rest of stderr output deleted ...
5133 10q' conftest.err >conftest.er1
5134 cat conftest.er1 >&5
5136 rm -f conftest.er1 conftest.err
5137 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5138 test $ac_status = 0; }
5139 done
5141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5142 /* end confdefs.h. */
5145 main (void)
5149 return 0;
5151 _ACEOF
5152 ac_clean_files_save=$ac_clean_files
5153 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5154 # Try to create an executable without -o first, disregard a.out.
5155 # It will help us diagnose broken compilers, and finding out an intuition
5156 # of exeext.
5157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5158 printf %s "checking whether the C compiler works... " >&6; }
5159 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5161 # The possible output files:
5162 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5164 ac_rmfiles=
5165 for ac_file in $ac_files
5167 case $ac_file in
5168 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5169 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5170 esac
5171 done
5172 rm -f $ac_rmfiles
5174 if { { ac_try="$ac_link_default"
5175 case "(($ac_try" in
5176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5177 *) ac_try_echo=$ac_try;;
5178 esac
5179 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5180 printf "%s\n" "$ac_try_echo"; } >&5
5181 (eval "$ac_link_default") 2>&5
5182 ac_status=$?
5183 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5184 test $ac_status = 0; }
5185 then :
5186 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5187 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5188 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5189 # so that the user can short-circuit this test for compilers unknown to
5190 # Autoconf.
5191 for ac_file in $ac_files ''
5193 test -f "$ac_file" || continue
5194 case $ac_file in
5195 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5197 [ab].out )
5198 # We found the default executable, but exeext='' is most
5199 # certainly right.
5200 break;;
5201 *.* )
5202 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5203 then :; else
5204 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5206 # We set ac_cv_exeext here because the later test for it is not
5207 # safe: cross compilers may not add the suffix if given an `-o'
5208 # argument, so we may need to know it at that point already.
5209 # Even if this section looks crufty: it has the advantage of
5210 # actually working.
5211 break;;
5213 break;;
5214 esac
5215 done
5216 test "$ac_cv_exeext" = no && ac_cv_exeext=
5218 else $as_nop
5219 ac_file=''
5221 if test -z "$ac_file"
5222 then :
5223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5224 printf "%s\n" "no" >&6; }
5225 printf "%s\n" "$as_me: failed program was:" >&5
5226 sed 's/^/| /' conftest.$ac_ext >&5
5228 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5229 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5230 as_fn_error 77 "C compiler cannot create executables
5231 See \`config.log' for more details" "$LINENO" 5; }
5232 else $as_nop
5233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5234 printf "%s\n" "yes" >&6; }
5236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5237 printf %s "checking for C compiler default output file name... " >&6; }
5238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5239 printf "%s\n" "$ac_file" >&6; }
5240 ac_exeext=$ac_cv_exeext
5242 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5243 ac_clean_files=$ac_clean_files_save
5244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5245 printf %s "checking for suffix of executables... " >&6; }
5246 if { { ac_try="$ac_link"
5247 case "(($ac_try" in
5248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5249 *) ac_try_echo=$ac_try;;
5250 esac
5251 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5252 printf "%s\n" "$ac_try_echo"; } >&5
5253 (eval "$ac_link") 2>&5
5254 ac_status=$?
5255 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5256 test $ac_status = 0; }
5257 then :
5258 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5259 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5260 # work properly (i.e., refer to `conftest.exe'), while it won't with
5261 # `rm'.
5262 for ac_file in conftest.exe conftest conftest.*; do
5263 test -f "$ac_file" || continue
5264 case $ac_file in
5265 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5266 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5267 break;;
5268 * ) break;;
5269 esac
5270 done
5271 else $as_nop
5272 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5273 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5274 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5275 See \`config.log' for more details" "$LINENO" 5; }
5277 rm -f conftest conftest$ac_cv_exeext
5278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5279 printf "%s\n" "$ac_cv_exeext" >&6; }
5281 rm -f conftest.$ac_ext
5282 EXEEXT=$ac_cv_exeext
5283 ac_exeext=$EXEEXT
5284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5285 /* end confdefs.h. */
5286 #include <stdio.h>
5288 main (void)
5290 FILE *f = fopen ("conftest.out", "w");
5291 return ferror (f) || fclose (f) != 0;
5294 return 0;
5296 _ACEOF
5297 ac_clean_files="$ac_clean_files conftest.out"
5298 # Check that the compiler produces executables we can run. If not, either
5299 # the compiler is broken, or we cross compile.
5300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5301 printf %s "checking whether we are cross compiling... " >&6; }
5302 if test "$cross_compiling" != yes; then
5303 { { ac_try="$ac_link"
5304 case "(($ac_try" in
5305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5306 *) ac_try_echo=$ac_try;;
5307 esac
5308 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5309 printf "%s\n" "$ac_try_echo"; } >&5
5310 (eval "$ac_link") 2>&5
5311 ac_status=$?
5312 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5313 test $ac_status = 0; }
5314 if { ac_try='./conftest$ac_cv_exeext'
5315 { { case "(($ac_try" in
5316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5317 *) ac_try_echo=$ac_try;;
5318 esac
5319 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5320 printf "%s\n" "$ac_try_echo"; } >&5
5321 (eval "$ac_try") 2>&5
5322 ac_status=$?
5323 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5324 test $ac_status = 0; }; }; then
5325 cross_compiling=no
5326 else
5327 if test "$cross_compiling" = maybe; then
5328 cross_compiling=yes
5329 else
5330 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5331 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5332 as_fn_error 77 "cannot run C compiled programs.
5333 If you meant to cross compile, use \`--host'.
5334 See \`config.log' for more details" "$LINENO" 5; }
5338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5339 printf "%s\n" "$cross_compiling" >&6; }
5341 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5342 ac_clean_files=$ac_clean_files_save
5343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5344 printf %s "checking for suffix of object files... " >&6; }
5345 if test ${ac_cv_objext+y}
5346 then :
5347 printf %s "(cached) " >&6
5348 else $as_nop
5349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5350 /* end confdefs.h. */
5353 main (void)
5357 return 0;
5359 _ACEOF
5360 rm -f conftest.o conftest.obj
5361 if { { ac_try="$ac_compile"
5362 case "(($ac_try" in
5363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5364 *) ac_try_echo=$ac_try;;
5365 esac
5366 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5367 printf "%s\n" "$ac_try_echo"; } >&5
5368 (eval "$ac_compile") 2>&5
5369 ac_status=$?
5370 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5371 test $ac_status = 0; }
5372 then :
5373 for ac_file in conftest.o conftest.obj conftest.*; do
5374 test -f "$ac_file" || continue;
5375 case $ac_file in
5376 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5377 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5378 break;;
5379 esac
5380 done
5381 else $as_nop
5382 printf "%s\n" "$as_me: failed program was:" >&5
5383 sed 's/^/| /' conftest.$ac_ext >&5
5385 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5386 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5387 as_fn_error $? "cannot compute suffix of object files: cannot compile
5388 See \`config.log' for more details" "$LINENO" 5; }
5390 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5393 printf "%s\n" "$ac_cv_objext" >&6; }
5394 OBJEXT=$ac_cv_objext
5395 ac_objext=$OBJEXT
5396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5397 printf %s "checking whether the compiler supports GNU C... " >&6; }
5398 if test ${ac_cv_c_compiler_gnu+y}
5399 then :
5400 printf %s "(cached) " >&6
5401 else $as_nop
5402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5403 /* end confdefs.h. */
5406 main (void)
5408 #ifndef __GNUC__
5409 choke me
5410 #endif
5413 return 0;
5415 _ACEOF
5416 if ac_fn_c_try_compile "$LINENO"
5417 then :
5418 ac_compiler_gnu=yes
5419 else $as_nop
5420 ac_compiler_gnu=no
5422 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5423 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5427 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5430 if test $ac_compiler_gnu = yes; then
5431 GCC=yes
5432 else
5433 GCC=
5435 ac_test_CFLAGS=${CFLAGS+y}
5436 ac_save_CFLAGS=$CFLAGS
5437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5438 printf %s "checking whether $CC accepts -g... " >&6; }
5439 if test ${ac_cv_prog_cc_g+y}
5440 then :
5441 printf %s "(cached) " >&6
5442 else $as_nop
5443 ac_save_c_werror_flag=$ac_c_werror_flag
5444 ac_c_werror_flag=yes
5445 ac_cv_prog_cc_g=no
5446 CFLAGS="-g"
5447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5448 /* end confdefs.h. */
5451 main (void)
5455 return 0;
5457 _ACEOF
5458 if ac_fn_c_try_compile "$LINENO"
5459 then :
5460 ac_cv_prog_cc_g=yes
5461 else $as_nop
5462 CFLAGS=""
5463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5464 /* end confdefs.h. */
5467 main (void)
5471 return 0;
5473 _ACEOF
5474 if ac_fn_c_try_compile "$LINENO"
5475 then :
5477 else $as_nop
5478 ac_c_werror_flag=$ac_save_c_werror_flag
5479 CFLAGS="-g"
5480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5481 /* end confdefs.h. */
5484 main (void)
5488 return 0;
5490 _ACEOF
5491 if ac_fn_c_try_compile "$LINENO"
5492 then :
5493 ac_cv_prog_cc_g=yes
5495 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5497 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5499 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5500 ac_c_werror_flag=$ac_save_c_werror_flag
5502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5503 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5504 if test $ac_test_CFLAGS; then
5505 CFLAGS=$ac_save_CFLAGS
5506 elif test $ac_cv_prog_cc_g = yes; then
5507 if test "$GCC" = yes; then
5508 CFLAGS="-g -O2"
5509 else
5510 CFLAGS="-g"
5512 else
5513 if test "$GCC" = yes; then
5514 CFLAGS="-O2"
5515 else
5516 CFLAGS=
5519 ac_prog_cc_stdc=no
5520 if test x$ac_prog_cc_stdc = xno
5521 then :
5522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5523 printf %s "checking for $CC option to enable C11 features... " >&6; }
5524 if test ${ac_cv_prog_cc_c11+y}
5525 then :
5526 printf %s "(cached) " >&6
5527 else $as_nop
5528 ac_cv_prog_cc_c11=no
5529 ac_save_CC=$CC
5530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5531 /* end confdefs.h. */
5532 $ac_c_conftest_c11_program
5533 _ACEOF
5534 for ac_arg in '' -std=gnu11
5536 CC="$ac_save_CC $ac_arg"
5537 if ac_fn_c_try_compile "$LINENO"
5538 then :
5539 ac_cv_prog_cc_c11=$ac_arg
5541 rm -f core conftest.err conftest.$ac_objext conftest.beam
5542 test "x$ac_cv_prog_cc_c11" != "xno" && break
5543 done
5544 rm -f conftest.$ac_ext
5545 CC=$ac_save_CC
5548 if test "x$ac_cv_prog_cc_c11" = xno
5549 then :
5550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5551 printf "%s\n" "unsupported" >&6; }
5552 else $as_nop
5553 if test "x$ac_cv_prog_cc_c11" = x
5554 then :
5555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5556 printf "%s\n" "none needed" >&6; }
5557 else $as_nop
5558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5559 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5560 CC="$CC $ac_cv_prog_cc_c11"
5562 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5563 ac_prog_cc_stdc=c11
5566 if test x$ac_prog_cc_stdc = xno
5567 then :
5568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5569 printf %s "checking for $CC option to enable C99 features... " >&6; }
5570 if test ${ac_cv_prog_cc_c99+y}
5571 then :
5572 printf %s "(cached) " >&6
5573 else $as_nop
5574 ac_cv_prog_cc_c99=no
5575 ac_save_CC=$CC
5576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5577 /* end confdefs.h. */
5578 $ac_c_conftest_c99_program
5579 _ACEOF
5580 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5582 CC="$ac_save_CC $ac_arg"
5583 if ac_fn_c_try_compile "$LINENO"
5584 then :
5585 ac_cv_prog_cc_c99=$ac_arg
5587 rm -f core conftest.err conftest.$ac_objext conftest.beam
5588 test "x$ac_cv_prog_cc_c99" != "xno" && break
5589 done
5590 rm -f conftest.$ac_ext
5591 CC=$ac_save_CC
5594 if test "x$ac_cv_prog_cc_c99" = xno
5595 then :
5596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5597 printf "%s\n" "unsupported" >&6; }
5598 else $as_nop
5599 if test "x$ac_cv_prog_cc_c99" = x
5600 then :
5601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5602 printf "%s\n" "none needed" >&6; }
5603 else $as_nop
5604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5605 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5606 CC="$CC $ac_cv_prog_cc_c99"
5608 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5609 ac_prog_cc_stdc=c99
5612 if test x$ac_prog_cc_stdc = xno
5613 then :
5614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5615 printf %s "checking for $CC option to enable C89 features... " >&6; }
5616 if test ${ac_cv_prog_cc_c89+y}
5617 then :
5618 printf %s "(cached) " >&6
5619 else $as_nop
5620 ac_cv_prog_cc_c89=no
5621 ac_save_CC=$CC
5622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5623 /* end confdefs.h. */
5624 $ac_c_conftest_c89_program
5625 _ACEOF
5626 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5628 CC="$ac_save_CC $ac_arg"
5629 if ac_fn_c_try_compile "$LINENO"
5630 then :
5631 ac_cv_prog_cc_c89=$ac_arg
5633 rm -f core conftest.err conftest.$ac_objext conftest.beam
5634 test "x$ac_cv_prog_cc_c89" != "xno" && break
5635 done
5636 rm -f conftest.$ac_ext
5637 CC=$ac_save_CC
5640 if test "x$ac_cv_prog_cc_c89" = xno
5641 then :
5642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5643 printf "%s\n" "unsupported" >&6; }
5644 else $as_nop
5645 if test "x$ac_cv_prog_cc_c89" = x
5646 then :
5647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5648 printf "%s\n" "none needed" >&6; }
5649 else $as_nop
5650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5651 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5652 CC="$CC $ac_cv_prog_cc_c89"
5654 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5655 ac_prog_cc_stdc=c89
5659 ac_ext=c
5660 ac_cpp='$CPP $CPPFLAGS'
5661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5671 ac_ext=cpp
5672 ac_cpp='$CXXCPP $CPPFLAGS'
5673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5676 if test -z "$CXX"; then
5677 if test -n "$CCC"; then
5678 CXX=$CCC
5679 else
5680 if test -n "$ac_tool_prefix"; then
5681 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5683 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5684 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5686 printf %s "checking for $ac_word... " >&6; }
5687 if test ${ac_cv_prog_CXX+y}
5688 then :
5689 printf %s "(cached) " >&6
5690 else $as_nop
5691 if test -n "$CXX"; then
5692 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5693 else
5694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5695 for as_dir in $PATH
5697 IFS=$as_save_IFS
5698 case $as_dir in #(((
5699 '') as_dir=./ ;;
5700 */) ;;
5701 *) as_dir=$as_dir/ ;;
5702 esac
5703 for ac_exec_ext in '' $ac_executable_extensions; do
5704 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5705 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5706 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5707 break 2
5709 done
5710 done
5711 IFS=$as_save_IFS
5715 CXX=$ac_cv_prog_CXX
5716 if test -n "$CXX"; then
5717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5718 printf "%s\n" "$CXX" >&6; }
5719 else
5720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5721 printf "%s\n" "no" >&6; }
5725 test -n "$CXX" && break
5726 done
5728 if test -z "$CXX"; then
5729 ac_ct_CXX=$CXX
5730 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5732 # Extract the first word of "$ac_prog", so it can be a program name with args.
5733 set dummy $ac_prog; ac_word=$2
5734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5735 printf %s "checking for $ac_word... " >&6; }
5736 if test ${ac_cv_prog_ac_ct_CXX+y}
5737 then :
5738 printf %s "(cached) " >&6
5739 else $as_nop
5740 if test -n "$ac_ct_CXX"; then
5741 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5742 else
5743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5744 for as_dir in $PATH
5746 IFS=$as_save_IFS
5747 case $as_dir in #(((
5748 '') as_dir=./ ;;
5749 */) ;;
5750 *) as_dir=$as_dir/ ;;
5751 esac
5752 for ac_exec_ext in '' $ac_executable_extensions; do
5753 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5754 ac_cv_prog_ac_ct_CXX="$ac_prog"
5755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5756 break 2
5758 done
5759 done
5760 IFS=$as_save_IFS
5764 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5765 if test -n "$ac_ct_CXX"; then
5766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5767 printf "%s\n" "$ac_ct_CXX" >&6; }
5768 else
5769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5770 printf "%s\n" "no" >&6; }
5774 test -n "$ac_ct_CXX" && break
5775 done
5777 if test "x$ac_ct_CXX" = x; then
5778 CXX="g++"
5779 else
5780 case $cross_compiling:$ac_tool_warned in
5781 yes:)
5782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5783 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5784 ac_tool_warned=yes ;;
5785 esac
5786 CXX=$ac_ct_CXX
5792 # Provide some information about the compiler.
5793 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5794 set X $ac_compile
5795 ac_compiler=$2
5796 for ac_option in --version -v -V -qversion; do
5797 { { ac_try="$ac_compiler $ac_option >&5"
5798 case "(($ac_try" in
5799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5800 *) ac_try_echo=$ac_try;;
5801 esac
5802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5803 printf "%s\n" "$ac_try_echo"; } >&5
5804 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5805 ac_status=$?
5806 if test -s conftest.err; then
5807 sed '10a\
5808 ... rest of stderr output deleted ...
5809 10q' conftest.err >conftest.er1
5810 cat conftest.er1 >&5
5812 rm -f conftest.er1 conftest.err
5813 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5814 test $ac_status = 0; }
5815 done
5817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5818 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5819 if test ${ac_cv_cxx_compiler_gnu+y}
5820 then :
5821 printf %s "(cached) " >&6
5822 else $as_nop
5823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5824 /* end confdefs.h. */
5827 main (void)
5829 #ifndef __GNUC__
5830 choke me
5831 #endif
5834 return 0;
5836 _ACEOF
5837 if ac_fn_cxx_try_compile "$LINENO"
5838 then :
5839 ac_compiler_gnu=yes
5840 else $as_nop
5841 ac_compiler_gnu=no
5843 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5844 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5848 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5851 if test $ac_compiler_gnu = yes; then
5852 GXX=yes
5853 else
5854 GXX=
5856 ac_test_CXXFLAGS=${CXXFLAGS+y}
5857 ac_save_CXXFLAGS=$CXXFLAGS
5858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5859 printf %s "checking whether $CXX accepts -g... " >&6; }
5860 if test ${ac_cv_prog_cxx_g+y}
5861 then :
5862 printf %s "(cached) " >&6
5863 else $as_nop
5864 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5865 ac_cxx_werror_flag=yes
5866 ac_cv_prog_cxx_g=no
5867 CXXFLAGS="-g"
5868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5869 /* end confdefs.h. */
5872 main (void)
5876 return 0;
5878 _ACEOF
5879 if ac_fn_cxx_try_compile "$LINENO"
5880 then :
5881 ac_cv_prog_cxx_g=yes
5882 else $as_nop
5883 CXXFLAGS=""
5884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5885 /* end confdefs.h. */
5888 main (void)
5892 return 0;
5894 _ACEOF
5895 if ac_fn_cxx_try_compile "$LINENO"
5896 then :
5898 else $as_nop
5899 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5900 CXXFLAGS="-g"
5901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5902 /* end confdefs.h. */
5905 main (void)
5909 return 0;
5911 _ACEOF
5912 if ac_fn_cxx_try_compile "$LINENO"
5913 then :
5914 ac_cv_prog_cxx_g=yes
5916 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5918 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5920 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5921 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5924 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5925 if test $ac_test_CXXFLAGS; then
5926 CXXFLAGS=$ac_save_CXXFLAGS
5927 elif test $ac_cv_prog_cxx_g = yes; then
5928 if test "$GXX" = yes; then
5929 CXXFLAGS="-g -O2"
5930 else
5931 CXXFLAGS="-g"
5933 else
5934 if test "$GXX" = yes; then
5935 CXXFLAGS="-O2"
5936 else
5937 CXXFLAGS=
5940 ac_prog_cxx_stdcxx=no
5941 if test x$ac_prog_cxx_stdcxx = xno
5942 then :
5943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5944 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5945 if test ${ac_cv_prog_cxx_cxx11+y}
5946 then :
5947 printf %s "(cached) " >&6
5948 else $as_nop
5949 ac_cv_prog_cxx_cxx11=no
5950 ac_save_CXX=$CXX
5951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5952 /* end confdefs.h. */
5953 $ac_cxx_conftest_cxx11_program
5954 _ACEOF
5955 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5957 CXX="$ac_save_CXX $ac_arg"
5958 if ac_fn_cxx_try_compile "$LINENO"
5959 then :
5960 ac_cv_prog_cxx_cxx11=$ac_arg
5962 rm -f core conftest.err conftest.$ac_objext conftest.beam
5963 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5964 done
5965 rm -f conftest.$ac_ext
5966 CXX=$ac_save_CXX
5969 if test "x$ac_cv_prog_cxx_cxx11" = xno
5970 then :
5971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5972 printf "%s\n" "unsupported" >&6; }
5973 else $as_nop
5974 if test "x$ac_cv_prog_cxx_cxx11" = x
5975 then :
5976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5977 printf "%s\n" "none needed" >&6; }
5978 else $as_nop
5979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5980 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5981 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5983 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5984 ac_prog_cxx_stdcxx=cxx11
5987 if test x$ac_prog_cxx_stdcxx = xno
5988 then :
5989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5990 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5991 if test ${ac_cv_prog_cxx_cxx98+y}
5992 then :
5993 printf %s "(cached) " >&6
5994 else $as_nop
5995 ac_cv_prog_cxx_cxx98=no
5996 ac_save_CXX=$CXX
5997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5998 /* end confdefs.h. */
5999 $ac_cxx_conftest_cxx98_program
6000 _ACEOF
6001 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
6003 CXX="$ac_save_CXX $ac_arg"
6004 if ac_fn_cxx_try_compile "$LINENO"
6005 then :
6006 ac_cv_prog_cxx_cxx98=$ac_arg
6008 rm -f core conftest.err conftest.$ac_objext conftest.beam
6009 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6010 done
6011 rm -f conftest.$ac_ext
6012 CXX=$ac_save_CXX
6015 if test "x$ac_cv_prog_cxx_cxx98" = xno
6016 then :
6017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6018 printf "%s\n" "unsupported" >&6; }
6019 else $as_nop
6020 if test "x$ac_cv_prog_cxx_cxx98" = x
6021 then :
6022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6023 printf "%s\n" "none needed" >&6; }
6024 else $as_nop
6025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6026 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6027 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6029 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6030 ac_prog_cxx_stdcxx=cxx98
6034 ac_ext=c
6035 ac_cpp='$CPP $CPPFLAGS'
6036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6040 if test -n "$ac_tool_prefix"; then
6041 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6042 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6044 printf %s "checking for $ac_word... " >&6; }
6045 if test ${ac_cv_prog_CPPBIN+y}
6046 then :
6047 printf %s "(cached) " >&6
6048 else $as_nop
6049 if test -n "$CPPBIN"; then
6050 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6051 else
6052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6053 for as_dir in $PATH
6055 IFS=$as_save_IFS
6056 case $as_dir in #(((
6057 '') as_dir=./ ;;
6058 */) ;;
6059 *) as_dir=$as_dir/ ;;
6060 esac
6061 for ac_exec_ext in '' $ac_executable_extensions; do
6062 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6063 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6064 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6065 break 2
6067 done
6068 done
6069 IFS=$as_save_IFS
6073 CPPBIN=$ac_cv_prog_CPPBIN
6074 if test -n "$CPPBIN"; then
6075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6076 printf "%s\n" "$CPPBIN" >&6; }
6077 else
6078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6079 printf "%s\n" "no" >&6; }
6084 if test -z "$ac_cv_prog_CPPBIN"; then
6085 ac_ct_CPPBIN=$CPPBIN
6086 # Extract the first word of "cpp", so it can be a program name with args.
6087 set dummy cpp; ac_word=$2
6088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6089 printf %s "checking for $ac_word... " >&6; }
6090 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6091 then :
6092 printf %s "(cached) " >&6
6093 else $as_nop
6094 if test -n "$ac_ct_CPPBIN"; then
6095 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6096 else
6097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6098 for as_dir in $PATH
6100 IFS=$as_save_IFS
6101 case $as_dir in #(((
6102 '') as_dir=./ ;;
6103 */) ;;
6104 *) as_dir=$as_dir/ ;;
6105 esac
6106 for ac_exec_ext in '' $ac_executable_extensions; do
6107 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6108 ac_cv_prog_ac_ct_CPPBIN="cpp"
6109 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6110 break 2
6112 done
6113 done
6114 IFS=$as_save_IFS
6118 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6119 if test -n "$ac_ct_CPPBIN"; then
6120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6121 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6122 else
6123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6124 printf "%s\n" "no" >&6; }
6127 if test "x$ac_ct_CPPBIN" = x; then
6128 CPPBIN="cpp"
6129 else
6130 case $cross_compiling:$ac_tool_warned in
6131 yes:)
6132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6133 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6134 ac_tool_warned=yes ;;
6135 esac
6136 CPPBIN=$ac_ct_CPPBIN
6138 else
6139 CPPBIN="$ac_cv_prog_CPPBIN"
6143 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6145 if test -n "$ac_tool_prefix"; then
6146 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6147 set dummy ${ac_tool_prefix}ld; ac_word=$2
6148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6149 printf %s "checking for $ac_word... " >&6; }
6150 if test ${ac_cv_prog_LD+y}
6151 then :
6152 printf %s "(cached) " >&6
6153 else $as_nop
6154 if test -n "$LD"; then
6155 ac_cv_prog_LD="$LD" # Let the user override the test.
6156 else
6157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6158 for as_dir in $PATH
6160 IFS=$as_save_IFS
6161 case $as_dir in #(((
6162 '') as_dir=./ ;;
6163 */) ;;
6164 *) as_dir=$as_dir/ ;;
6165 esac
6166 for ac_exec_ext in '' $ac_executable_extensions; do
6167 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6168 ac_cv_prog_LD="${ac_tool_prefix}ld"
6169 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6170 break 2
6172 done
6173 done
6174 IFS=$as_save_IFS
6178 LD=$ac_cv_prog_LD
6179 if test -n "$LD"; then
6180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6181 printf "%s\n" "$LD" >&6; }
6182 else
6183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6184 printf "%s\n" "no" >&6; }
6189 if test -z "$ac_cv_prog_LD"; then
6190 ac_ct_LD=$LD
6191 # Extract the first word of "ld", so it can be a program name with args.
6192 set dummy ld; ac_word=$2
6193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6194 printf %s "checking for $ac_word... " >&6; }
6195 if test ${ac_cv_prog_ac_ct_LD+y}
6196 then :
6197 printf %s "(cached) " >&6
6198 else $as_nop
6199 if test -n "$ac_ct_LD"; then
6200 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6201 else
6202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6203 for as_dir in $PATH
6205 IFS=$as_save_IFS
6206 case $as_dir in #(((
6207 '') as_dir=./ ;;
6208 */) ;;
6209 *) as_dir=$as_dir/ ;;
6210 esac
6211 for ac_exec_ext in '' $ac_executable_extensions; do
6212 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6213 ac_cv_prog_ac_ct_LD="ld"
6214 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6215 break 2
6217 done
6218 done
6219 IFS=$as_save_IFS
6223 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6224 if test -n "$ac_ct_LD"; then
6225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6226 printf "%s\n" "$ac_ct_LD" >&6; }
6227 else
6228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6229 printf "%s\n" "no" >&6; }
6232 if test "x$ac_ct_LD" = x; then
6233 LD=""
6234 else
6235 case $cross_compiling:$ac_tool_warned in
6236 yes:)
6237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6238 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6239 ac_tool_warned=yes ;;
6240 esac
6241 LD=$ac_ct_LD
6243 else
6244 LD="$ac_cv_prog_LD"
6248 case $host in
6249 *-darwin*)
6250 with_fontconfig=${with_fontconfig:-no}
6252 *-mingw32*|*-cygwin*)
6253 enable_win16=${enable_win16:-no}
6254 with_mingw=${with_mingw:-no}
6256 esac
6259 case $host in
6260 x86_64*|amd64*)
6261 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6262 then
6263 CC="$CC -m32"
6264 CXX="$CXX -m32"
6266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6267 printf %s "checking whether $CC works... " >&6; }
6268 if test ${wine_cv_cc_m32+y}
6269 then :
6270 printf %s "(cached) " >&6
6271 else $as_nop
6272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6273 /* end confdefs.h. */
6276 main (void)
6280 return 0;
6282 _ACEOF
6283 if ac_fn_c_try_link "$LINENO"
6284 then :
6285 wine_cv_cc_m32=yes
6286 else $as_nop
6287 wine_cv_cc_m32=no
6289 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6290 conftest$ac_exeext conftest.$ac_ext
6292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6293 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6294 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
6295 host_cpu="i386"
6296 notice_platform="32-bit "
6297 TARGETFLAGS="$TARGETFLAGS -m32"
6298 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6299 export PKG_CONFIG_LIBDIR
6300 with_unwind=${with_unwind:-no}
6301 else
6302 CC="$CC -m64"
6303 CXX="$CXX -m64"
6304 host_cpu="x86_64"
6305 notice_platform="64-bit "
6306 TARGETFLAGS="$TARGETFLAGS -m64"
6309 arm*)
6310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6311 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6312 if test ${wine_cv_thumb2+y}
6313 then :
6314 printf %s "(cached) " >&6
6315 else $as_nop
6316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6317 /* end confdefs.h. */
6320 main (void)
6322 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6324 return 0;
6326 _ACEOF
6327 if ac_fn_c_try_link "$LINENO"
6328 then :
6329 wine_cv_thumb2=yes
6330 else $as_nop
6331 wine_cv_thumb2=no
6333 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6334 conftest$ac_exeext conftest.$ac_ext
6336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6337 printf "%s\n" "$wine_cv_thumb2" >&6; }
6338 if test x"$wine_cv_thumb2" = xyes
6339 then
6340 CFLAGS="$CFLAGS -mthumb"
6341 TARGETFLAGS="$TARGETFLAGS -mthumb"
6342 else
6343 CFLAGS="$CFLAGS -marm"
6344 TARGETFLAGS="$TARGETFLAGS -marm"
6346 case $with_float_abi in
6347 soft|softfp|hard)
6348 float_abi=$with_float_abi ;;
6350 case $host_os in
6351 *eabihf)
6352 float_abi=hard ;;
6354 float_abi=softfp
6355 saved_CFLAGS=$CFLAGS
6356 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6358 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6359 if test ${wine_cv_float_abi+y}
6360 then :
6361 printf %s "(cached) " >&6
6362 else $as_nop
6363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6364 /* end confdefs.h. */
6367 main (void)
6369 asm("vmrs r2,fpscr");
6371 return 0;
6373 _ACEOF
6374 if ac_fn_c_try_link "$LINENO"
6375 then :
6376 wine_cv_float_abi=yes
6377 else $as_nop
6378 wine_cv_float_abi=no
6380 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6381 conftest$ac_exeext conftest.$ac_ext
6383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6384 printf "%s\n" "$wine_cv_float_abi" >&6; }
6385 if test $wine_cv_float_abi = no
6386 then
6387 float_abi=soft
6388 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6390 CFLAGS=$saved_CFLAGS
6391 esac
6393 esac
6394 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6395 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6397 i[3456789]86*)
6398 with_unwind=${with_unwind:-no}
6400 esac
6402 enable_win16=${enable_win16:-i386}
6403 enable_win64=${enable_win64:-no}
6404 enable_wow64=${enable_wow64:-aarch64,x86_64}
6405 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6406 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6407 enable_vcruntime140_1=${enable_vcruntime140_1:-x86_64}
6409 enable_winetest=${enable_winetest:-$enable_tests}
6411 if test "x$enable_win64" = "xyes"
6412 then
6413 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6414 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6417 case $build_os in
6418 cygwin*|mingw32*) toolsext=".exe"
6420 *) toolsext=""
6422 esac
6424 HOST_ARCH=unknown
6425 case "$host_cpu" in
6426 aarch64*) HOST_ARCH=aarch64 ;;
6427 arm*) HOST_ARCH=arm ;;
6428 i[3456789]86*) HOST_ARCH=i386 ;;
6429 x86_64) HOST_ARCH=x86_64 ;;
6430 esac
6433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6434 printf %s "checking for the directory containing the Wine tools... " >&6; }
6435 if test ${wine_cv_toolsdir+y}
6436 then :
6437 printf %s "(cached) " >&6
6438 else $as_nop
6439 wine_cv_toolsdir="$with_wine_tools"
6440 if test -z "$with_wine_tools"; then
6441 if test "$cross_compiling" = "yes"; then
6442 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6443 elif test -n "$with_wine64"; then
6444 wine_cv_toolsdir="$with_wine64"
6448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6449 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6450 if test -z "$wine_cv_toolsdir"; then
6451 wine_makedep=tools/makedep$toolsext
6452 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6453 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6454 enable_tools=${enable_tools:-no}
6455 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6456 else
6457 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6459 toolsdir=$wine_cv_toolsdir
6461 MAKEDEP=$wine_makedep
6463 RUNTESTFLAGS="-q -P wine"
6465 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'"
6468 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6469 then
6470 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6473 for ac_prog in flex
6475 # Extract the first word of "$ac_prog", so it can be a program name with args.
6476 set dummy $ac_prog; ac_word=$2
6477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6478 printf %s "checking for $ac_word... " >&6; }
6479 if test ${ac_cv_prog_FLEX+y}
6480 then :
6481 printf %s "(cached) " >&6
6482 else $as_nop
6483 if test -n "$FLEX"; then
6484 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6485 else
6486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6487 for as_dir in $PATH
6489 IFS=$as_save_IFS
6490 case $as_dir in #(((
6491 '') as_dir=./ ;;
6492 */) ;;
6493 *) as_dir=$as_dir/ ;;
6494 esac
6495 for ac_exec_ext in '' $ac_executable_extensions; do
6496 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6497 ac_cv_prog_FLEX="$ac_prog"
6498 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6499 break 2
6501 done
6502 done
6503 IFS=$as_save_IFS
6507 FLEX=$ac_cv_prog_FLEX
6508 if test -n "$FLEX"; then
6509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6510 printf "%s\n" "$FLEX" >&6; }
6511 else
6512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6513 printf "%s\n" "no" >&6; }
6517 test -n "$FLEX" && break
6518 done
6519 test -n "$FLEX" || FLEX="none"
6521 if test "$FLEX" = "none"
6522 then
6523 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6526 printf %s "checking whether flex is recent enough... " >&6; }
6527 if test ${wine_cv_recent_flex+y}
6528 then :
6529 printf %s "(cached) " >&6
6530 else $as_nop
6531 cat >conftest.l <<EOF
6532 %top{
6533 #include "prediluvian.h"
6537 if $FLEX -t conftest.l >/dev/null 2>&5
6538 then
6539 wine_cv_recent_flex=yes
6540 else
6541 wine_cv_recent_flex=no
6544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6545 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6546 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
6548 for ac_prog in bison
6550 # Extract the first word of "$ac_prog", so it can be a program name with args.
6551 set dummy $ac_prog; ac_word=$2
6552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6553 printf %s "checking for $ac_word... " >&6; }
6554 if test ${ac_cv_prog_BISON+y}
6555 then :
6556 printf %s "(cached) " >&6
6557 else $as_nop
6558 if test -n "$BISON"; then
6559 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6560 else
6561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6562 for as_dir in $PATH
6564 IFS=$as_save_IFS
6565 case $as_dir in #(((
6566 '') as_dir=./ ;;
6567 */) ;;
6568 *) as_dir=$as_dir/ ;;
6569 esac
6570 for ac_exec_ext in '' $ac_executable_extensions; do
6571 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6572 ac_cv_prog_BISON="$ac_prog"
6573 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6574 break 2
6576 done
6577 done
6578 IFS=$as_save_IFS
6582 BISON=$ac_cv_prog_BISON
6583 if test -n "$BISON"; then
6584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6585 printf "%s\n" "$BISON" >&6; }
6586 else
6587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6588 printf "%s\n" "no" >&6; }
6592 test -n "$BISON" && break
6593 done
6594 test -n "$BISON" || BISON="none"
6596 if test "$BISON" = "none"
6597 then
6598 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6601 printf %s "checking whether bison is recent enough... " >&6; }
6602 if test ${wine_cv_recent_bison+y}
6603 then :
6604 printf %s "(cached) " >&6
6605 else $as_nop
6606 cat >conftest.y <<EOF
6607 %define parse.error verbose
6609 empty: ;
6611 if $BISON conftest.y >/dev/null 2>&5
6612 then
6613 wine_cv_recent_bison=yes
6614 else
6615 wine_cv_recent_bison=no
6618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6619 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6620 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
6622 if test -n "$ac_tool_prefix"; then
6623 for ac_prog in ar gar
6625 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6626 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6628 printf %s "checking for $ac_word... " >&6; }
6629 if test ${ac_cv_prog_AR+y}
6630 then :
6631 printf %s "(cached) " >&6
6632 else $as_nop
6633 if test -n "$AR"; then
6634 ac_cv_prog_AR="$AR" # Let the user override the test.
6635 else
6636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6637 for as_dir in $PATH
6639 IFS=$as_save_IFS
6640 case $as_dir in #(((
6641 '') as_dir=./ ;;
6642 */) ;;
6643 *) as_dir=$as_dir/ ;;
6644 esac
6645 for ac_exec_ext in '' $ac_executable_extensions; do
6646 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6647 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6648 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6649 break 2
6651 done
6652 done
6653 IFS=$as_save_IFS
6657 AR=$ac_cv_prog_AR
6658 if test -n "$AR"; then
6659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6660 printf "%s\n" "$AR" >&6; }
6661 else
6662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6663 printf "%s\n" "no" >&6; }
6667 test -n "$AR" && break
6668 done
6670 if test -z "$AR"; then
6671 ac_ct_AR=$AR
6672 for ac_prog in ar gar
6674 # Extract the first word of "$ac_prog", so it can be a program name with args.
6675 set dummy $ac_prog; ac_word=$2
6676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6677 printf %s "checking for $ac_word... " >&6; }
6678 if test ${ac_cv_prog_ac_ct_AR+y}
6679 then :
6680 printf %s "(cached) " >&6
6681 else $as_nop
6682 if test -n "$ac_ct_AR"; then
6683 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6684 else
6685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6686 for as_dir in $PATH
6688 IFS=$as_save_IFS
6689 case $as_dir in #(((
6690 '') as_dir=./ ;;
6691 */) ;;
6692 *) as_dir=$as_dir/ ;;
6693 esac
6694 for ac_exec_ext in '' $ac_executable_extensions; do
6695 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6696 ac_cv_prog_ac_ct_AR="$ac_prog"
6697 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6698 break 2
6700 done
6701 done
6702 IFS=$as_save_IFS
6706 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6707 if test -n "$ac_ct_AR"; then
6708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6709 printf "%s\n" "$ac_ct_AR" >&6; }
6710 else
6711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6712 printf "%s\n" "no" >&6; }
6716 test -n "$ac_ct_AR" && break
6717 done
6719 if test "x$ac_ct_AR" = x; then
6720 AR="ar"
6721 else
6722 case $cross_compiling:$ac_tool_warned in
6723 yes:)
6724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6725 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6726 ac_tool_warned=yes ;;
6727 esac
6728 AR=$ac_ct_AR
6732 if test -n "$ac_tool_prefix"; then
6733 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6734 set dummy ${ac_tool_prefix}strip; ac_word=$2
6735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6736 printf %s "checking for $ac_word... " >&6; }
6737 if test ${ac_cv_prog_STRIP+y}
6738 then :
6739 printf %s "(cached) " >&6
6740 else $as_nop
6741 if test -n "$STRIP"; then
6742 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6743 else
6744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6745 for as_dir in $PATH
6747 IFS=$as_save_IFS
6748 case $as_dir in #(((
6749 '') as_dir=./ ;;
6750 */) ;;
6751 *) as_dir=$as_dir/ ;;
6752 esac
6753 for ac_exec_ext in '' $ac_executable_extensions; do
6754 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6755 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6756 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6757 break 2
6759 done
6760 done
6761 IFS=$as_save_IFS
6765 STRIP=$ac_cv_prog_STRIP
6766 if test -n "$STRIP"; then
6767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6768 printf "%s\n" "$STRIP" >&6; }
6769 else
6770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6771 printf "%s\n" "no" >&6; }
6776 if test -z "$ac_cv_prog_STRIP"; then
6777 ac_ct_STRIP=$STRIP
6778 # Extract the first word of "strip", so it can be a program name with args.
6779 set dummy strip; ac_word=$2
6780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6781 printf %s "checking for $ac_word... " >&6; }
6782 if test ${ac_cv_prog_ac_ct_STRIP+y}
6783 then :
6784 printf %s "(cached) " >&6
6785 else $as_nop
6786 if test -n "$ac_ct_STRIP"; then
6787 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6788 else
6789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6790 for as_dir in $PATH
6792 IFS=$as_save_IFS
6793 case $as_dir in #(((
6794 '') as_dir=./ ;;
6795 */) ;;
6796 *) as_dir=$as_dir/ ;;
6797 esac
6798 for ac_exec_ext in '' $ac_executable_extensions; do
6799 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6800 ac_cv_prog_ac_ct_STRIP="strip"
6801 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6802 break 2
6804 done
6805 done
6806 IFS=$as_save_IFS
6810 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6811 if test -n "$ac_ct_STRIP"; then
6812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6813 printf "%s\n" "$ac_ct_STRIP" >&6; }
6814 else
6815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6816 printf "%s\n" "no" >&6; }
6819 if test "x$ac_ct_STRIP" = x; then
6820 STRIP="strip"
6821 else
6822 case $cross_compiling:$ac_tool_warned in
6823 yes:)
6824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6825 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6826 ac_tool_warned=yes ;;
6827 esac
6828 STRIP=$ac_ct_STRIP
6830 else
6831 STRIP="$ac_cv_prog_STRIP"
6834 if test -n "$ac_tool_prefix"; then
6835 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6836 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6838 printf %s "checking for $ac_word... " >&6; }
6839 if test ${ac_cv_prog_RANLIB+y}
6840 then :
6841 printf %s "(cached) " >&6
6842 else $as_nop
6843 if test -n "$RANLIB"; then
6844 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6845 else
6846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6847 for as_dir in $PATH
6849 IFS=$as_save_IFS
6850 case $as_dir in #(((
6851 '') as_dir=./ ;;
6852 */) ;;
6853 *) as_dir=$as_dir/ ;;
6854 esac
6855 for ac_exec_ext in '' $ac_executable_extensions; do
6856 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6857 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6858 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6859 break 2
6861 done
6862 done
6863 IFS=$as_save_IFS
6867 RANLIB=$ac_cv_prog_RANLIB
6868 if test -n "$RANLIB"; then
6869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6870 printf "%s\n" "$RANLIB" >&6; }
6871 else
6872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6873 printf "%s\n" "no" >&6; }
6878 if test -z "$ac_cv_prog_RANLIB"; then
6879 ac_ct_RANLIB=$RANLIB
6880 # Extract the first word of "ranlib", so it can be a program name with args.
6881 set dummy ranlib; ac_word=$2
6882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6883 printf %s "checking for $ac_word... " >&6; }
6884 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6885 then :
6886 printf %s "(cached) " >&6
6887 else $as_nop
6888 if test -n "$ac_ct_RANLIB"; then
6889 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6890 else
6891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6892 for as_dir in $PATH
6894 IFS=$as_save_IFS
6895 case $as_dir in #(((
6896 '') as_dir=./ ;;
6897 */) ;;
6898 *) as_dir=$as_dir/ ;;
6899 esac
6900 for ac_exec_ext in '' $ac_executable_extensions; do
6901 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6902 ac_cv_prog_ac_ct_RANLIB="ranlib"
6903 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6904 break 2
6906 done
6907 done
6908 IFS=$as_save_IFS
6912 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6913 if test -n "$ac_ct_RANLIB"; then
6914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6915 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6916 else
6917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6918 printf "%s\n" "no" >&6; }
6921 if test "x$ac_ct_RANLIB" = x; then
6922 RANLIB=":"
6923 else
6924 case $cross_compiling:$ac_tool_warned in
6925 yes:)
6926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6927 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6928 ac_tool_warned=yes ;;
6929 esac
6930 RANLIB=$ac_ct_RANLIB
6932 else
6933 RANLIB="$ac_cv_prog_RANLIB"
6936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6937 printf %s "checking whether ln -s works... " >&6; }
6938 LN_S=$as_ln_s
6939 if test "$LN_S" = "ln -s"; then
6940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6941 printf "%s\n" "yes" >&6; }
6942 else
6943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6944 printf "%s\n" "no, using $LN_S" >&6; }
6947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6948 printf %s "checking for grep that handles long lines and -e... " >&6; }
6949 if test ${ac_cv_path_GREP+y}
6950 then :
6951 printf %s "(cached) " >&6
6952 else $as_nop
6953 if test -z "$GREP"; then
6954 ac_path_GREP_found=false
6955 # Loop through the user's path and test for each of PROGNAME-LIST
6956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6957 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6959 IFS=$as_save_IFS
6960 case $as_dir in #(((
6961 '') as_dir=./ ;;
6962 */) ;;
6963 *) as_dir=$as_dir/ ;;
6964 esac
6965 for ac_prog in grep ggrep
6967 for ac_exec_ext in '' $ac_executable_extensions; do
6968 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6969 as_fn_executable_p "$ac_path_GREP" || continue
6970 # Check for GNU ac_path_GREP and select it if it is found.
6971 # Check for GNU $ac_path_GREP
6972 case `"$ac_path_GREP" --version 2>&1` in
6973 *GNU*)
6974 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6976 ac_count=0
6977 printf %s 0123456789 >"conftest.in"
6978 while :
6980 cat "conftest.in" "conftest.in" >"conftest.tmp"
6981 mv "conftest.tmp" "conftest.in"
6982 cp "conftest.in" "conftest.nl"
6983 printf "%s\n" 'GREP' >> "conftest.nl"
6984 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6985 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6986 as_fn_arith $ac_count + 1 && ac_count=$as_val
6987 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6988 # Best one so far, save it but keep looking for a better one
6989 ac_cv_path_GREP="$ac_path_GREP"
6990 ac_path_GREP_max=$ac_count
6992 # 10*(2^10) chars as input seems more than enough
6993 test $ac_count -gt 10 && break
6994 done
6995 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6996 esac
6998 $ac_path_GREP_found && break 3
6999 done
7000 done
7001 done
7002 IFS=$as_save_IFS
7003 if test -z "$ac_cv_path_GREP"; then
7004 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7006 else
7007 ac_cv_path_GREP=$GREP
7011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7012 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7013 GREP="$ac_cv_path_GREP"
7016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7017 printf %s "checking for egrep... " >&6; }
7018 if test ${ac_cv_path_EGREP+y}
7019 then :
7020 printf %s "(cached) " >&6
7021 else $as_nop
7022 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7023 then ac_cv_path_EGREP="$GREP -E"
7024 else
7025 if test -z "$EGREP"; then
7026 ac_path_EGREP_found=false
7027 # Loop through the user's path and test for each of PROGNAME-LIST
7028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7029 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7031 IFS=$as_save_IFS
7032 case $as_dir in #(((
7033 '') as_dir=./ ;;
7034 */) ;;
7035 *) as_dir=$as_dir/ ;;
7036 esac
7037 for ac_prog in egrep
7039 for ac_exec_ext in '' $ac_executable_extensions; do
7040 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7041 as_fn_executable_p "$ac_path_EGREP" || continue
7042 # Check for GNU ac_path_EGREP and select it if it is found.
7043 # Check for GNU $ac_path_EGREP
7044 case `"$ac_path_EGREP" --version 2>&1` in
7045 *GNU*)
7046 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7048 ac_count=0
7049 printf %s 0123456789 >"conftest.in"
7050 while :
7052 cat "conftest.in" "conftest.in" >"conftest.tmp"
7053 mv "conftest.tmp" "conftest.in"
7054 cp "conftest.in" "conftest.nl"
7055 printf "%s\n" 'EGREP' >> "conftest.nl"
7056 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7057 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7058 as_fn_arith $ac_count + 1 && ac_count=$as_val
7059 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7060 # Best one so far, save it but keep looking for a better one
7061 ac_cv_path_EGREP="$ac_path_EGREP"
7062 ac_path_EGREP_max=$ac_count
7064 # 10*(2^10) chars as input seems more than enough
7065 test $ac_count -gt 10 && break
7066 done
7067 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7068 esac
7070 $ac_path_EGREP_found && break 3
7071 done
7072 done
7073 done
7074 IFS=$as_save_IFS
7075 if test -z "$ac_cv_path_EGREP"; then
7076 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7078 else
7079 ac_cv_path_EGREP=$EGREP
7084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7085 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7086 EGREP="$ac_cv_path_EGREP"
7089 # Extract the first word of "ldconfig", so it can be a program name with args.
7090 set dummy ldconfig; ac_word=$2
7091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7092 printf %s "checking for $ac_word... " >&6; }
7093 if test ${ac_cv_path_LDCONFIG+y}
7094 then :
7095 printf %s "(cached) " >&6
7096 else $as_nop
7097 case $LDCONFIG in
7098 [\\/]* | ?:[\\/]*)
7099 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7103 for as_dir in /sbin /usr/sbin $PATH
7105 IFS=$as_save_IFS
7106 case $as_dir in #(((
7107 '') as_dir=./ ;;
7108 */) ;;
7109 *) as_dir=$as_dir/ ;;
7110 esac
7111 for ac_exec_ext in '' $ac_executable_extensions; do
7112 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7113 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7115 break 2
7117 done
7118 done
7119 IFS=$as_save_IFS
7121 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7123 esac
7125 LDCONFIG=$ac_cv_path_LDCONFIG
7126 if test -n "$LDCONFIG"; then
7127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7128 printf "%s\n" "$LDCONFIG" >&6; }
7129 else
7130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7131 printf "%s\n" "no" >&6; }
7135 for ac_prog in msgfmt
7137 # Extract the first word of "$ac_prog", so it can be a program name with args.
7138 set dummy $ac_prog; ac_word=$2
7139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7140 printf %s "checking for $ac_word... " >&6; }
7141 if test ${ac_cv_prog_MSGFMT+y}
7142 then :
7143 printf %s "(cached) " >&6
7144 else $as_nop
7145 if test -n "$MSGFMT"; then
7146 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7147 else
7148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7149 for as_dir in $PATH
7151 IFS=$as_save_IFS
7152 case $as_dir in #(((
7153 '') as_dir=./ ;;
7154 */) ;;
7155 *) as_dir=$as_dir/ ;;
7156 esac
7157 for ac_exec_ext in '' $ac_executable_extensions; do
7158 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7159 ac_cv_prog_MSGFMT="$ac_prog"
7160 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7161 break 2
7163 done
7164 done
7165 IFS=$as_save_IFS
7169 MSGFMT=$ac_cv_prog_MSGFMT
7170 if test -n "$MSGFMT"; then
7171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7172 printf "%s\n" "$MSGFMT" >&6; }
7173 else
7174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7175 printf "%s\n" "no" >&6; }
7179 test -n "$MSGFMT" && break
7180 done
7181 test -n "$MSGFMT" || MSGFMT="false"
7183 if test ${ac_tool_prefix+y}
7184 then :
7185 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7186 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7188 printf %s "checking for $ac_word... " >&6; }
7189 if test ${ac_cv_prog_PKG_CONFIG+y}
7190 then :
7191 printf %s "(cached) " >&6
7192 else $as_nop
7193 if test -n "$PKG_CONFIG"; then
7194 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7195 else
7196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7197 for as_dir in $PATH
7199 IFS=$as_save_IFS
7200 case $as_dir in #(((
7201 '') as_dir=./ ;;
7202 */) ;;
7203 *) as_dir=$as_dir/ ;;
7204 esac
7205 for ac_exec_ext in '' $ac_executable_extensions; do
7206 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7207 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7208 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7209 break 2
7211 done
7212 done
7213 IFS=$as_save_IFS
7217 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7218 if test -n "$PKG_CONFIG"; then
7219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7220 printf "%s\n" "$PKG_CONFIG" >&6; }
7221 else
7222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7223 printf "%s\n" "no" >&6; }
7228 if ${ac_cv_prog_PKG_CONFIG:+false} :
7229 then :
7230 if test "x$cross_compiling" = xyes
7231 then :
7233 else $as_nop
7234 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7235 # Extract the first word of "pkg-config", so it can be a program name with args.
7236 set dummy pkg-config; ac_word=$2
7237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7238 printf %s "checking for $ac_word... " >&6; }
7239 if test ${ac_cv_prog_PKG_CONFIG+y}
7240 then :
7241 printf %s "(cached) " >&6
7242 else $as_nop
7243 if test -n "$PKG_CONFIG"; then
7244 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7245 else
7246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7247 for as_dir in $PATH
7249 IFS=$as_save_IFS
7250 case $as_dir in #(((
7251 '') as_dir=./ ;;
7252 */) ;;
7253 *) as_dir=$as_dir/ ;;
7254 esac
7255 for ac_exec_ext in '' $ac_executable_extensions; do
7256 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7257 ac_cv_prog_PKG_CONFIG="pkg-config"
7258 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7259 break 2
7261 done
7262 done
7263 IFS=$as_save_IFS
7267 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7268 if test -n "$PKG_CONFIG"; then
7269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7270 printf "%s\n" "$PKG_CONFIG" >&6; }
7271 else
7272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7273 printf "%s\n" "no" >&6; }
7278 else $as_nop
7279 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7282 if test "x$enable_maintainer_mode" != "xyes"
7283 then
7284 FONTFORGE=""
7285 RSVG=""
7286 CONVERT=""
7287 ICOTOOL=""
7288 else
7289 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7290 for ac_prog in fontforge
7292 # Extract the first word of "$ac_prog", so it can be a program name with args.
7293 set dummy $ac_prog; ac_word=$2
7294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7295 printf %s "checking for $ac_word... " >&6; }
7296 if test ${ac_cv_prog_FONTFORGE+y}
7297 then :
7298 printf %s "(cached) " >&6
7299 else $as_nop
7300 if test -n "$FONTFORGE"; then
7301 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7302 else
7303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7304 for as_dir in $PATH
7306 IFS=$as_save_IFS
7307 case $as_dir in #(((
7308 '') as_dir=./ ;;
7309 */) ;;
7310 *) as_dir=$as_dir/ ;;
7311 esac
7312 for ac_exec_ext in '' $ac_executable_extensions; do
7313 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7314 ac_cv_prog_FONTFORGE="$ac_prog"
7315 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7316 break 2
7318 done
7319 done
7320 IFS=$as_save_IFS
7324 FONTFORGE=$ac_cv_prog_FONTFORGE
7325 if test -n "$FONTFORGE"; then
7326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7327 printf "%s\n" "$FONTFORGE" >&6; }
7328 else
7329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7330 printf "%s\n" "no" >&6; }
7334 test -n "$FONTFORGE" && break
7335 done
7336 test -n "$FONTFORGE" || FONTFORGE="false"
7338 for ac_prog in rsvg-convert rsvg
7340 # Extract the first word of "$ac_prog", so it can be a program name with args.
7341 set dummy $ac_prog; ac_word=$2
7342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7343 printf %s "checking for $ac_word... " >&6; }
7344 if test ${ac_cv_prog_RSVG+y}
7345 then :
7346 printf %s "(cached) " >&6
7347 else $as_nop
7348 if test -n "$RSVG"; then
7349 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7350 else
7351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7352 for as_dir in $PATH
7354 IFS=$as_save_IFS
7355 case $as_dir in #(((
7356 '') as_dir=./ ;;
7357 */) ;;
7358 *) as_dir=$as_dir/ ;;
7359 esac
7360 for ac_exec_ext in '' $ac_executable_extensions; do
7361 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7362 ac_cv_prog_RSVG="$ac_prog"
7363 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7364 break 2
7366 done
7367 done
7368 IFS=$as_save_IFS
7372 RSVG=$ac_cv_prog_RSVG
7373 if test -n "$RSVG"; then
7374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7375 printf "%s\n" "$RSVG" >&6; }
7376 else
7377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7378 printf "%s\n" "no" >&6; }
7382 test -n "$RSVG" && break
7383 done
7384 test -n "$RSVG" || RSVG="false"
7386 for ac_prog in convert
7388 # Extract the first word of "$ac_prog", so it can be a program name with args.
7389 set dummy $ac_prog; ac_word=$2
7390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7391 printf %s "checking for $ac_word... " >&6; }
7392 if test ${ac_cv_prog_CONVERT+y}
7393 then :
7394 printf %s "(cached) " >&6
7395 else $as_nop
7396 if test -n "$CONVERT"; then
7397 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7398 else
7399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7400 for as_dir in $PATH
7402 IFS=$as_save_IFS
7403 case $as_dir in #(((
7404 '') as_dir=./ ;;
7405 */) ;;
7406 *) as_dir=$as_dir/ ;;
7407 esac
7408 for ac_exec_ext in '' $ac_executable_extensions; do
7409 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7410 ac_cv_prog_CONVERT="$ac_prog"
7411 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7412 break 2
7414 done
7415 done
7416 IFS=$as_save_IFS
7420 CONVERT=$ac_cv_prog_CONVERT
7421 if test -n "$CONVERT"; then
7422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7423 printf "%s\n" "$CONVERT" >&6; }
7424 else
7425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7426 printf "%s\n" "no" >&6; }
7430 test -n "$CONVERT" && break
7431 done
7432 test -n "$CONVERT" || CONVERT="false"
7434 for ac_prog in icotool
7436 # Extract the first word of "$ac_prog", so it can be a program name with args.
7437 set dummy $ac_prog; ac_word=$2
7438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7439 printf %s "checking for $ac_word... " >&6; }
7440 if test ${ac_cv_prog_ICOTOOL+y}
7441 then :
7442 printf %s "(cached) " >&6
7443 else $as_nop
7444 if test -n "$ICOTOOL"; then
7445 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7446 else
7447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7448 for as_dir in $PATH
7450 IFS=$as_save_IFS
7451 case $as_dir in #(((
7452 '') as_dir=./ ;;
7453 */) ;;
7454 *) as_dir=$as_dir/ ;;
7455 esac
7456 for ac_exec_ext in '' $ac_executable_extensions; do
7457 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7458 ac_cv_prog_ICOTOOL="$ac_prog"
7459 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7460 break 2
7462 done
7463 done
7464 IFS=$as_save_IFS
7468 ICOTOOL=$ac_cv_prog_ICOTOOL
7469 if test -n "$ICOTOOL"; then
7470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7471 printf "%s\n" "$ICOTOOL" >&6; }
7472 else
7473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7474 printf "%s\n" "no" >&6; }
7478 test -n "$ICOTOOL" && break
7479 done
7480 test -n "$ICOTOOL" || ICOTOOL="false"
7482 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7483 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7485 if test "$CONVERT" = false
7486 then
7487 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7488 else
7489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7490 printf %s "checking for recent enough imagemagick... " >&6; }
7491 convert_version=`convert --version | head -n1`
7492 if test "x$convert_version" != "x"
7493 then
7494 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7495 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7496 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7497 then
7498 CONVERT=false
7501 if test "$CONVERT" = false
7502 then
7503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7504 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7505 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7506 else
7507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7508 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7512 if test "$ICOTOOL" = false
7513 then
7514 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7515 else
7516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7517 printf %s "checking for recent enough icotool... " >&6; }
7518 icotool_version=`icotool --version | head -n1`
7519 if test "x$icotool_version" != "x"
7520 then
7521 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7522 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7523 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7524 then
7525 ICOTOOL=false
7526 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7529 if test "$ICOTOOL" = false
7530 then
7531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7532 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7533 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7534 else
7535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7536 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7540 with_gettext=yes
7541 with_gettextpo=yes
7543 enable_werror=yes
7546 test "x$with_gettext" != xno || MSGFMT=false
7547 if test "$MSGFMT" != "false"
7548 then
7549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7550 printf %s "checking whether msgfmt supports contexts... " >&6; }
7551 if test ${wine_cv_msgfmt_contexts+y}
7552 then :
7553 printf %s "(cached) " >&6
7554 else $as_nop
7555 cat >conftest.po <<EOF
7556 # comment
7557 msgctxt "ctxt"
7558 msgid "id"
7559 msgstr "str"
7561 if $MSGFMT -o /dev/null conftest.po 2>&5
7562 then
7563 wine_cv_msgfmt_contexts=yes
7564 else
7565 wine_cv_msgfmt_contexts=no
7568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7569 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7570 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7572 if test "$MSGFMT" = false
7573 then :
7574 case "x$with_gettext" in
7575 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7576 xno) ;;
7577 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7578 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7579 esac
7580 enable_po=${enable_po:-no}
7584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7585 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7586 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7587 then :
7588 printf %s "(cached) " >&6
7589 else $as_nop
7590 ac_check_lib_save_LIBS=$LIBS
7591 LIBS="-li386 $LIBS"
7592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7593 /* end confdefs.h. */
7595 /* Override any GCC internal prototype to avoid an error.
7596 Use char because int might match the return type of a GCC
7597 builtin and then its argument prototype would still apply. */
7598 char i386_set_ldt ();
7600 main (void)
7602 return i386_set_ldt ();
7604 return 0;
7606 _ACEOF
7607 if ac_fn_c_try_link "$LINENO"
7608 then :
7609 ac_cv_lib_i386_i386_set_ldt=yes
7610 else $as_nop
7611 ac_cv_lib_i386_i386_set_ldt=no
7613 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7614 conftest$ac_exeext conftest.$ac_ext
7615 LIBS=$ac_check_lib_save_LIBS
7617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7618 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7619 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7620 then :
7621 I386_LIBS="-li386"
7626 OPENGL_LIBS=""
7630 # Check whether --enable-largefile was given.
7631 if test ${enable_largefile+y}
7632 then :
7633 enableval=$enable_largefile;
7636 if test "$enable_largefile" != no; then
7638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7639 printf %s "checking for special C compiler options needed for large files... " >&6; }
7640 if test ${ac_cv_sys_largefile_CC+y}
7641 then :
7642 printf %s "(cached) " >&6
7643 else $as_nop
7644 ac_cv_sys_largefile_CC=no
7645 if test "$GCC" != yes; then
7646 ac_save_CC=$CC
7647 while :; do
7648 # IRIX 6.2 and later do not support large files by default,
7649 # so use the C compiler's -n32 option if that helps.
7650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7651 /* end confdefs.h. */
7652 #include <sys/types.h>
7653 /* Check that off_t can represent 2**63 - 1 correctly.
7654 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7655 since some C++ compilers masquerading as C compilers
7656 incorrectly reject 9223372036854775807. */
7657 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7658 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7659 && LARGE_OFF_T % 2147483647 == 1)
7660 ? 1 : -1];
7662 main (void)
7666 return 0;
7668 _ACEOF
7669 if ac_fn_c_try_compile "$LINENO"
7670 then :
7671 break
7673 rm -f core conftest.err conftest.$ac_objext conftest.beam
7674 CC="$CC -n32"
7675 if ac_fn_c_try_compile "$LINENO"
7676 then :
7677 ac_cv_sys_largefile_CC=' -n32'; break
7679 rm -f core conftest.err conftest.$ac_objext conftest.beam
7680 break
7681 done
7682 CC=$ac_save_CC
7683 rm -f conftest.$ac_ext
7686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7687 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7688 if test "$ac_cv_sys_largefile_CC" != no; then
7689 CC=$CC$ac_cv_sys_largefile_CC
7692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7693 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7694 if test ${ac_cv_sys_file_offset_bits+y}
7695 then :
7696 printf %s "(cached) " >&6
7697 else $as_nop
7698 while :; do
7699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7700 /* end confdefs.h. */
7701 #include <sys/types.h>
7702 /* Check that off_t can represent 2**63 - 1 correctly.
7703 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7704 since some C++ compilers masquerading as C compilers
7705 incorrectly reject 9223372036854775807. */
7706 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7707 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7708 && LARGE_OFF_T % 2147483647 == 1)
7709 ? 1 : -1];
7711 main (void)
7715 return 0;
7717 _ACEOF
7718 if ac_fn_c_try_compile "$LINENO"
7719 then :
7720 ac_cv_sys_file_offset_bits=no; break
7722 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7724 /* end confdefs.h. */
7725 #define _FILE_OFFSET_BITS 64
7726 #include <sys/types.h>
7727 /* Check that off_t can represent 2**63 - 1 correctly.
7728 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7729 since some C++ compilers masquerading as C compilers
7730 incorrectly reject 9223372036854775807. */
7731 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7732 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7733 && LARGE_OFF_T % 2147483647 == 1)
7734 ? 1 : -1];
7736 main (void)
7740 return 0;
7742 _ACEOF
7743 if ac_fn_c_try_compile "$LINENO"
7744 then :
7745 ac_cv_sys_file_offset_bits=64; break
7747 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7748 ac_cv_sys_file_offset_bits=unknown
7749 break
7750 done
7752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7753 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7754 case $ac_cv_sys_file_offset_bits in #(
7755 no | unknown) ;;
7757 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7759 esac
7760 rm -rf conftest*
7761 if test $ac_cv_sys_file_offset_bits = unknown; then
7762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7763 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7764 if test ${ac_cv_sys_large_files+y}
7765 then :
7766 printf %s "(cached) " >&6
7767 else $as_nop
7768 while :; do
7769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7770 /* end confdefs.h. */
7771 #include <sys/types.h>
7772 /* Check that off_t can represent 2**63 - 1 correctly.
7773 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7774 since some C++ compilers masquerading as C compilers
7775 incorrectly reject 9223372036854775807. */
7776 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7777 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7778 && LARGE_OFF_T % 2147483647 == 1)
7779 ? 1 : -1];
7781 main (void)
7785 return 0;
7787 _ACEOF
7788 if ac_fn_c_try_compile "$LINENO"
7789 then :
7790 ac_cv_sys_large_files=no; break
7792 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7794 /* end confdefs.h. */
7795 #define _LARGE_FILES 1
7796 #include <sys/types.h>
7797 /* Check that off_t can represent 2**63 - 1 correctly.
7798 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7799 since some C++ compilers masquerading as C compilers
7800 incorrectly reject 9223372036854775807. */
7801 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7802 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7803 && LARGE_OFF_T % 2147483647 == 1)
7804 ? 1 : -1];
7806 main (void)
7810 return 0;
7812 _ACEOF
7813 if ac_fn_c_try_compile "$LINENO"
7814 then :
7815 ac_cv_sys_large_files=1; break
7817 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7818 ac_cv_sys_large_files=unknown
7819 break
7820 done
7822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7823 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7824 case $ac_cv_sys_large_files in #(
7825 no | unknown) ;;
7827 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7829 esac
7830 rm -rf conftest*
7835 ac_header= ac_cache=
7836 for ac_item in $ac_header_c_list
7838 if test $ac_cache; then
7839 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7840 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7841 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7843 ac_header= ac_cache=
7844 elif test $ac_header; then
7845 ac_cache=$ac_item
7846 else
7847 ac_header=$ac_item
7849 done
7858 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7859 then :
7861 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7864 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7865 if test "x$ac_cv_header_CL_cl_h" = xyes
7866 then :
7867 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7870 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7871 if test "x$ac_cv_header_EGL_egl_h" = xyes
7872 then :
7873 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7876 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7877 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7878 then :
7879 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7882 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7883 if test "x$ac_cv_header_arpa_inet_h" = xyes
7884 then :
7885 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7888 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7889 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7890 then :
7891 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7894 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7895 if test "x$ac_cv_header_asm_types_h" = xyes
7896 then :
7897 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7900 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7901 if test "x$ac_cv_header_asm_user_h" = xyes
7902 then :
7903 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7906 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7907 if test "x$ac_cv_header_elf_h" = xyes
7908 then :
7909 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7912 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7913 if test "x$ac_cv_header_float_h" = xyes
7914 then :
7915 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7918 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7919 if test "x$ac_cv_header_gettext_po_h" = xyes
7920 then :
7921 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7924 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7925 if test "x$ac_cv_header_libproc_h" = xyes
7926 then :
7927 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7930 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7931 if test "x$ac_cv_header_link_h" = xyes
7932 then :
7933 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7936 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7937 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7938 then :
7939 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7942 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7943 if test "x$ac_cv_header_linux_filter_h" = xyes
7944 then :
7945 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7948 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7949 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7950 then :
7951 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7954 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7955 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7956 then :
7957 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7960 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7961 if test "x$ac_cv_header_linux_input_h" = xyes
7962 then :
7963 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7966 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7967 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7968 then :
7969 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7972 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7973 if test "x$ac_cv_header_linux_major_h" = xyes
7974 then :
7975 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7978 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7979 if test "x$ac_cv_header_linux_param_h" = xyes
7980 then :
7981 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7984 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7985 if test "x$ac_cv_header_linux_serial_h" = xyes
7986 then :
7987 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7990 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7991 if test "x$ac_cv_header_linux_types_h" = xyes
7992 then :
7993 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7996 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7997 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7998 then :
7999 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8002 ac_fn_c_check_header_compile "$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
8003 if test "x$ac_cv_header_linux_wireless_h" = xyes
8004 then :
8005 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
8008 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8009 if test "x$ac_cv_header_lwp_h" = xyes
8010 then :
8011 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8014 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8015 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8016 then :
8017 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8020 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8021 if test "x$ac_cv_header_mach_mach_h" = xyes
8022 then :
8023 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8026 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8027 if test "x$ac_cv_header_machine_cpu_h" = xyes
8028 then :
8029 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8032 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8033 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8034 then :
8035 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8038 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8039 if test "x$ac_cv_header_mntent_h" = xyes
8040 then :
8041 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8044 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8045 if test "x$ac_cv_header_netdb_h" = xyes
8046 then :
8047 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8050 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8051 if test "x$ac_cv_header_netinet_in_h" = xyes
8052 then :
8053 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8056 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8057 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8058 then :
8059 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8062 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8063 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8064 then :
8065 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8068 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8069 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8070 then :
8071 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8074 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8075 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8076 then :
8077 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8080 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8081 if test "x$ac_cv_header_port_h" = xyes
8082 then :
8083 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8086 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8087 if test "x$ac_cv_header_pwd_h" = xyes
8088 then :
8089 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8092 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8093 if test "x$ac_cv_header_sched_h" = xyes
8094 then :
8095 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8098 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8099 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8100 then :
8101 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8104 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8105 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8106 then :
8107 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8110 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8111 if test "x$ac_cv_header_scsi_sg_h" = xyes
8112 then :
8113 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8116 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8117 if test "x$ac_cv_header_stdint_h" = xyes
8118 then :
8119 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8122 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8123 if test "x$ac_cv_header_sys_attr_h" = xyes
8124 then :
8125 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8128 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8129 if test "x$ac_cv_header_sys_auxv_h" = xyes
8130 then :
8131 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8134 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8135 if test "x$ac_cv_header_sys_cdio_h" = xyes
8136 then :
8137 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8140 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8141 if test "x$ac_cv_header_sys_epoll_h" = xyes
8142 then :
8143 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8146 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8147 if test "x$ac_cv_header_sys_event_h" = xyes
8148 then :
8149 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8152 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8153 if test "x$ac_cv_header_sys_extattr_h" = xyes
8154 then :
8155 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8158 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8159 if test "x$ac_cv_header_sys_filio_h" = xyes
8160 then :
8161 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8164 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8165 if test "x$ac_cv_header_sys_ipc_h" = xyes
8166 then :
8167 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8170 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8171 if test "x$ac_cv_header_sys_link_h" = xyes
8172 then :
8173 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8176 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8177 if test "x$ac_cv_header_sys_modem_h" = xyes
8178 then :
8179 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8182 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8183 if test "x$ac_cv_header_sys_mtio_h" = xyes
8184 then :
8185 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8188 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8189 if test "x$ac_cv_header_sys_param_h" = xyes
8190 then :
8191 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8194 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8195 if test "x$ac_cv_header_sys_prctl_h" = xyes
8196 then :
8197 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8200 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8201 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8202 then :
8203 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8206 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8207 if test "x$ac_cv_header_sys_queue_h" = xyes
8208 then :
8209 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8212 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8213 if test "x$ac_cv_header_sys_random_h" = xyes
8214 then :
8215 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8218 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8219 if test "x$ac_cv_header_sys_resource_h" = xyes
8220 then :
8221 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8224 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8225 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8226 then :
8227 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8230 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8231 if test "x$ac_cv_header_sys_shm_h" = xyes
8232 then :
8233 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8236 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8237 if test "x$ac_cv_header_sys_signal_h" = xyes
8238 then :
8239 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8242 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8243 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8244 then :
8245 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8248 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8249 if test "x$ac_cv_header_sys_sockio_h" = xyes
8250 then :
8251 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8254 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8255 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8256 then :
8257 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8260 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8261 if test "x$ac_cv_header_sys_strtio_h" = xyes
8262 then :
8263 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8266 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8267 if test "x$ac_cv_header_sys_syscall_h" = xyes
8268 then :
8269 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8272 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8273 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8274 then :
8275 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8278 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8279 if test "x$ac_cv_header_sys_times_h" = xyes
8280 then :
8281 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8284 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8285 if test "x$ac_cv_header_sys_uio_h" = xyes
8286 then :
8287 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8290 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8291 if test "x$ac_cv_header_sys_user_h" = xyes
8292 then :
8293 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8296 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8297 if test "x$ac_cv_header_sys_utsname_h" = xyes
8298 then :
8299 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8302 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8303 if test "x$ac_cv_header_sys_vnode_h" = xyes
8304 then :
8305 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8308 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8309 if test "x$ac_cv_header_sys_xattr_h" = xyes
8310 then :
8311 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8314 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8315 if test "x$ac_cv_header_syscall_h" = xyes
8316 then :
8317 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8320 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8321 if test "x$ac_cv_header_utime_h" = xyes
8322 then :
8323 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8326 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8327 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8328 then :
8329 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8332 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8333 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8334 then :
8335 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8339 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8340 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8341 then :
8343 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8347 if test $ac_cv_header_sys_mkdev_h = no; then
8348 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8349 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8350 then :
8352 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8358 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8359 if test ${ac_cv_header_stat_broken+y}
8360 then :
8361 printf %s "(cached) " >&6
8362 else $as_nop
8363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8364 /* end confdefs.h. */
8365 #include <sys/types.h>
8366 #include <sys/stat.h>
8368 #if defined S_ISBLK && defined S_IFDIR
8369 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8370 #endif
8372 #if defined S_ISBLK && defined S_IFCHR
8373 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8374 #endif
8376 #if defined S_ISLNK && defined S_IFREG
8377 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8378 #endif
8380 #if defined S_ISSOCK && defined S_IFREG
8381 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8382 #endif
8384 _ACEOF
8385 if ac_fn_c_try_compile "$LINENO"
8386 then :
8387 ac_cv_header_stat_broken=no
8388 else $as_nop
8389 ac_cv_header_stat_broken=yes
8391 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8394 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8395 if test $ac_cv_header_stat_broken = yes; then
8397 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8403 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8404 #ifdef HAVE_SYS_PARAM_H
8405 # include <sys/param.h>
8406 #endif
8408 if test "x$ac_cv_header_sys_conf_h" = xyes
8409 then :
8410 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8413 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8414 #ifdef HAVE_SYS_PARAM_H
8415 # include <sys/param.h>
8416 #endif
8418 if test "x$ac_cv_header_sys_mount_h" = xyes
8419 then :
8420 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8423 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8424 #ifdef HAVE_SYS_PARAM_H
8425 # include <sys/param.h>
8426 #endif
8428 if test "x$ac_cv_header_sys_statfs_h" = xyes
8429 then :
8430 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8433 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8434 #ifdef HAVE_SYS_PARAM_H
8435 # include <sys/param.h>
8436 #endif
8438 if test "x$ac_cv_header_sys_user_h" = xyes
8439 then :
8440 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8443 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8444 #ifdef HAVE_SYS_PARAM_H
8445 # include <sys/param.h>
8446 #endif
8448 if test "x$ac_cv_header_sys_vfs_h" = xyes
8449 then :
8450 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8455 saved_sysctl_h_CFLAGS=$CFLAGS
8456 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8457 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8458 #ifdef HAVE_SYS_PARAM_H
8459 # include <sys/param.h>
8460 #endif
8462 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8463 then :
8464 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8468 CFLAGS=$saved_sysctl_h_CFLAGS
8470 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8471 #include <sys/socket.h>
8472 #ifdef HAVE_SYS_SOCKETVAR_H
8473 # include <sys/socketvar.h>
8474 #endif
8475 #ifdef HAVE_NET_ROUTE_H
8476 # include <net/route.h>
8477 #endif
8478 #ifdef HAVE_NETINET_IN_H
8479 # include <netinet/in.h>
8480 #endif
8481 #ifdef HAVE_NETINET_IN_SYSTM_H
8482 # include <netinet/in_systm.h>
8483 #endif
8484 #ifdef HAVE_NET_IF_H
8485 # include <net/if.h>
8486 #endif
8487 #ifdef HAVE_NETINET_IP_H
8488 # include <netinet/ip.h>
8489 #endif
8491 if test "x$ac_cv_header_netinet_ip_h" = xyes
8492 then :
8493 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8496 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8497 #include <sys/socket.h>
8498 #ifdef HAVE_SYS_SOCKETVAR_H
8499 # include <sys/socketvar.h>
8500 #endif
8501 #ifdef HAVE_NET_ROUTE_H
8502 # include <net/route.h>
8503 #endif
8504 #ifdef HAVE_NETINET_IN_H
8505 # include <netinet/in.h>
8506 #endif
8507 #ifdef HAVE_NETINET_IN_SYSTM_H
8508 # include <netinet/in_systm.h>
8509 #endif
8510 #ifdef HAVE_NET_IF_H
8511 # include <net/if.h>
8512 #endif
8513 #ifdef HAVE_NETINET_IP_H
8514 # include <netinet/ip.h>
8515 #endif
8517 if test "x$ac_cv_header_net_if_h" = xyes
8518 then :
8519 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8522 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8523 #include <sys/socket.h>
8524 #ifdef HAVE_SYS_SOCKETVAR_H
8525 # include <sys/socketvar.h>
8526 #endif
8527 #ifdef HAVE_NET_ROUTE_H
8528 # include <net/route.h>
8529 #endif
8530 #ifdef HAVE_NETINET_IN_H
8531 # include <netinet/in.h>
8532 #endif
8533 #ifdef HAVE_NETINET_IN_SYSTM_H
8534 # include <netinet/in_systm.h>
8535 #endif
8536 #ifdef HAVE_NET_IF_H
8537 # include <net/if.h>
8538 #endif
8539 #ifdef HAVE_NETINET_IP_H
8540 # include <netinet/ip.h>
8541 #endif
8543 if test "x$ac_cv_header_net_if_arp_h" = xyes
8544 then :
8545 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8548 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8549 #include <sys/socket.h>
8550 #ifdef HAVE_SYS_SOCKETVAR_H
8551 # include <sys/socketvar.h>
8552 #endif
8553 #ifdef HAVE_NET_ROUTE_H
8554 # include <net/route.h>
8555 #endif
8556 #ifdef HAVE_NETINET_IN_H
8557 # include <netinet/in.h>
8558 #endif
8559 #ifdef HAVE_NETINET_IN_SYSTM_H
8560 # include <netinet/in_systm.h>
8561 #endif
8562 #ifdef HAVE_NET_IF_H
8563 # include <net/if.h>
8564 #endif
8565 #ifdef HAVE_NETINET_IP_H
8566 # include <netinet/ip.h>
8567 #endif
8569 if test "x$ac_cv_header_net_if_dl_h" = xyes
8570 then :
8571 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8574 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8575 #include <sys/socket.h>
8576 #ifdef HAVE_SYS_SOCKETVAR_H
8577 # include <sys/socketvar.h>
8578 #endif
8579 #ifdef HAVE_NET_ROUTE_H
8580 # include <net/route.h>
8581 #endif
8582 #ifdef HAVE_NETINET_IN_H
8583 # include <netinet/in.h>
8584 #endif
8585 #ifdef HAVE_NETINET_IN_SYSTM_H
8586 # include <netinet/in_systm.h>
8587 #endif
8588 #ifdef HAVE_NET_IF_H
8589 # include <net/if.h>
8590 #endif
8591 #ifdef HAVE_NETINET_IP_H
8592 # include <netinet/ip.h>
8593 #endif
8595 if test "x$ac_cv_header_net_if_types_h" = xyes
8596 then :
8597 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8600 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8601 #include <sys/socket.h>
8602 #ifdef HAVE_SYS_SOCKETVAR_H
8603 # include <sys/socketvar.h>
8604 #endif
8605 #ifdef HAVE_NET_ROUTE_H
8606 # include <net/route.h>
8607 #endif
8608 #ifdef HAVE_NETINET_IN_H
8609 # include <netinet/in.h>
8610 #endif
8611 #ifdef HAVE_NETINET_IN_SYSTM_H
8612 # include <netinet/in_systm.h>
8613 #endif
8614 #ifdef HAVE_NET_IF_H
8615 # include <net/if.h>
8616 #endif
8617 #ifdef HAVE_NETINET_IP_H
8618 # include <netinet/ip.h>
8619 #endif
8621 if test "x$ac_cv_header_net_route_h" = xyes
8622 then :
8623 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8626 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8627 #include <sys/socket.h>
8628 #ifdef HAVE_SYS_SOCKETVAR_H
8629 # include <sys/socketvar.h>
8630 #endif
8631 #ifdef HAVE_NET_ROUTE_H
8632 # include <net/route.h>
8633 #endif
8634 #ifdef HAVE_NETINET_IN_H
8635 # include <netinet/in.h>
8636 #endif
8637 #ifdef HAVE_NETINET_IN_SYSTM_H
8638 # include <netinet/in_systm.h>
8639 #endif
8640 #ifdef HAVE_NET_IF_H
8641 # include <net/if.h>
8642 #endif
8643 #ifdef HAVE_NETINET_IP_H
8644 # include <netinet/ip.h>
8645 #endif
8647 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8648 then :
8649 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8652 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8653 #include <sys/socket.h>
8654 #ifdef HAVE_SYS_SOCKETVAR_H
8655 # include <sys/socketvar.h>
8656 #endif
8657 #ifdef HAVE_NET_ROUTE_H
8658 # include <net/route.h>
8659 #endif
8660 #ifdef HAVE_NETINET_IN_H
8661 # include <netinet/in.h>
8662 #endif
8663 #ifdef HAVE_NETINET_IN_SYSTM_H
8664 # include <netinet/in_systm.h>
8665 #endif
8666 #ifdef HAVE_NET_IF_H
8667 # include <net/if.h>
8668 #endif
8669 #ifdef HAVE_NETINET_IP_H
8670 # include <netinet/ip.h>
8671 #endif
8673 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8674 then :
8675 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8678 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8679 #include <sys/socket.h>
8680 #ifdef HAVE_SYS_SOCKETVAR_H
8681 # include <sys/socketvar.h>
8682 #endif
8683 #ifdef HAVE_NET_ROUTE_H
8684 # include <net/route.h>
8685 #endif
8686 #ifdef HAVE_NETINET_IN_H
8687 # include <netinet/in.h>
8688 #endif
8689 #ifdef HAVE_NETINET_IN_SYSTM_H
8690 # include <netinet/in_systm.h>
8691 #endif
8692 #ifdef HAVE_NET_IF_H
8693 # include <net/if.h>
8694 #endif
8695 #ifdef HAVE_NETINET_IP_H
8696 # include <netinet/ip.h>
8697 #endif
8699 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8700 then :
8701 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8704 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8705 #include <sys/socket.h>
8706 #ifdef HAVE_SYS_SOCKETVAR_H
8707 # include <sys/socketvar.h>
8708 #endif
8709 #ifdef HAVE_NET_ROUTE_H
8710 # include <net/route.h>
8711 #endif
8712 #ifdef HAVE_NETINET_IN_H
8713 # include <netinet/in.h>
8714 #endif
8715 #ifdef HAVE_NETINET_IN_SYSTM_H
8716 # include <netinet/in_systm.h>
8717 #endif
8718 #ifdef HAVE_NET_IF_H
8719 # include <net/if.h>
8720 #endif
8721 #ifdef HAVE_NETINET_IP_H
8722 # include <netinet/ip.h>
8723 #endif
8725 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8726 then :
8727 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8730 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8731 #include <sys/socket.h>
8732 #ifdef HAVE_SYS_SOCKETVAR_H
8733 # include <sys/socketvar.h>
8734 #endif
8735 #ifdef HAVE_NET_ROUTE_H
8736 # include <net/route.h>
8737 #endif
8738 #ifdef HAVE_NETINET_IN_H
8739 # include <netinet/in.h>
8740 #endif
8741 #ifdef HAVE_NETINET_IN_SYSTM_H
8742 # include <netinet/in_systm.h>
8743 #endif
8744 #ifdef HAVE_NET_IF_H
8745 # include <net/if.h>
8746 #endif
8747 #ifdef HAVE_NETINET_IP_H
8748 # include <netinet/ip.h>
8749 #endif
8751 if test "x$ac_cv_header_netinet_udp_h" = xyes
8752 then :
8753 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8756 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8757 #include <sys/socket.h>
8758 #ifdef HAVE_SYS_SOCKETVAR_H
8759 # include <sys/socketvar.h>
8760 #endif
8761 #ifdef HAVE_NET_ROUTE_H
8762 # include <net/route.h>
8763 #endif
8764 #ifdef HAVE_NETINET_IN_H
8765 # include <netinet/in.h>
8766 #endif
8767 #ifdef HAVE_NETINET_IN_SYSTM_H
8768 # include <netinet/in_systm.h>
8769 #endif
8770 #ifdef HAVE_NET_IF_H
8771 # include <net/if.h>
8772 #endif
8773 #ifdef HAVE_NETINET_IP_H
8774 # include <netinet/ip.h>
8775 #endif
8777 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8778 then :
8779 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8782 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8783 #include <sys/socket.h>
8784 #ifdef HAVE_SYS_SOCKETVAR_H
8785 # include <sys/socketvar.h>
8786 #endif
8787 #ifdef HAVE_NET_ROUTE_H
8788 # include <net/route.h>
8789 #endif
8790 #ifdef HAVE_NETINET_IN_H
8791 # include <netinet/in.h>
8792 #endif
8793 #ifdef HAVE_NETINET_IN_SYSTM_H
8794 # include <netinet/in_systm.h>
8795 #endif
8796 #ifdef HAVE_NET_IF_H
8797 # include <net/if.h>
8798 #endif
8799 #ifdef HAVE_NETINET_IP_H
8800 # include <netinet/ip.h>
8801 #endif
8803 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8804 then :
8805 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8808 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8809 #include <sys/socket.h>
8810 #ifdef HAVE_SYS_SOCKETVAR_H
8811 # include <sys/socketvar.h>
8812 #endif
8813 #ifdef HAVE_NET_ROUTE_H
8814 # include <net/route.h>
8815 #endif
8816 #ifdef HAVE_NETINET_IN_H
8817 # include <netinet/in.h>
8818 #endif
8819 #ifdef HAVE_NETINET_IN_SYSTM_H
8820 # include <netinet/in_systm.h>
8821 #endif
8822 #ifdef HAVE_NET_IF_H
8823 # include <net/if.h>
8824 #endif
8825 #ifdef HAVE_NETINET_IP_H
8826 # include <netinet/ip.h>
8827 #endif
8829 if test "x$ac_cv_header_sys_un_h" = xyes
8830 then :
8831 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8836 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8837 #include <sys/socket.h>
8838 #ifdef HAVE_SYS_SOCKETVAR_H
8839 # include <sys/socketvar.h>
8840 #endif
8841 #ifdef HAVE_NETINET_IN_H
8842 # include <netinet/in.h>
8843 #endif
8844 #ifdef HAVE_NETINET_IN_SYSTM_H
8845 # include <netinet/in_systm.h>
8846 #endif
8847 #ifdef HAVE_NETINET_IP_H
8848 # include <netinet/ip.h>
8849 #endif
8850 #ifdef HAVE_NETINET_IP_VAR_H
8851 # include <netinet/ip_var.h>
8852 #endif
8853 #ifdef HAVE_NETINET_IP_ICMP_H
8854 # include <netinet/ip_icmp.h>
8855 #endif
8856 #ifdef HAVE_NETINET_UDP_H
8857 # include <netinet/udp.h>
8858 #endif
8859 #ifdef HAVE_NETINET_TCP_H
8860 # include <netinet/tcp.h>
8861 #endif
8863 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8864 then :
8865 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8868 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8869 #include <sys/socket.h>
8870 #ifdef HAVE_SYS_SOCKETVAR_H
8871 # include <sys/socketvar.h>
8872 #endif
8873 #ifdef HAVE_NETINET_IN_H
8874 # include <netinet/in.h>
8875 #endif
8876 #ifdef HAVE_NETINET_IN_SYSTM_H
8877 # include <netinet/in_systm.h>
8878 #endif
8879 #ifdef HAVE_NETINET_IP_H
8880 # include <netinet/ip.h>
8881 #endif
8882 #ifdef HAVE_NETINET_IP_VAR_H
8883 # include <netinet/ip_var.h>
8884 #endif
8885 #ifdef HAVE_NETINET_IP_ICMP_H
8886 # include <netinet/ip_icmp.h>
8887 #endif
8888 #ifdef HAVE_NETINET_UDP_H
8889 # include <netinet/udp.h>
8890 #endif
8891 #ifdef HAVE_NETINET_TCP_H
8892 # include <netinet/tcp.h>
8893 #endif
8895 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8896 then :
8897 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8900 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8901 #include <sys/socket.h>
8902 #ifdef HAVE_SYS_SOCKETVAR_H
8903 # include <sys/socketvar.h>
8904 #endif
8905 #ifdef HAVE_NETINET_IN_H
8906 # include <netinet/in.h>
8907 #endif
8908 #ifdef HAVE_NETINET_IN_SYSTM_H
8909 # include <netinet/in_systm.h>
8910 #endif
8911 #ifdef HAVE_NETINET_IP_H
8912 # include <netinet/ip.h>
8913 #endif
8914 #ifdef HAVE_NETINET_IP_VAR_H
8915 # include <netinet/ip_var.h>
8916 #endif
8917 #ifdef HAVE_NETINET_IP_ICMP_H
8918 # include <netinet/ip_icmp.h>
8919 #endif
8920 #ifdef HAVE_NETINET_UDP_H
8921 # include <netinet/udp.h>
8922 #endif
8923 #ifdef HAVE_NETINET_TCP_H
8924 # include <netinet/tcp.h>
8925 #endif
8927 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8928 then :
8929 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8932 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8933 #include <sys/socket.h>
8934 #ifdef HAVE_SYS_SOCKETVAR_H
8935 # include <sys/socketvar.h>
8936 #endif
8937 #ifdef HAVE_NETINET_IN_H
8938 # include <netinet/in.h>
8939 #endif
8940 #ifdef HAVE_NETINET_IN_SYSTM_H
8941 # include <netinet/in_systm.h>
8942 #endif
8943 #ifdef HAVE_NETINET_IP_H
8944 # include <netinet/ip.h>
8945 #endif
8946 #ifdef HAVE_NETINET_IP_VAR_H
8947 # include <netinet/ip_var.h>
8948 #endif
8949 #ifdef HAVE_NETINET_IP_ICMP_H
8950 # include <netinet/ip_icmp.h>
8951 #endif
8952 #ifdef HAVE_NETINET_UDP_H
8953 # include <netinet/udp.h>
8954 #endif
8955 #ifdef HAVE_NETINET_TCP_H
8956 # include <netinet/tcp.h>
8957 #endif
8959 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8960 then :
8961 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8966 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8967 #include <sys/socket.h>
8968 #ifdef HAVE_ASM_TYPES_H
8969 # include <asm/types.h>
8970 #endif
8971 #ifdef HAVE_LINUX_TYPES_H
8972 # include <linux/types.h>
8973 #endif
8975 if test "x$ac_cv_header_linux_ipx_h" = xyes
8976 then :
8977 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8980 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8981 #include <sys/socket.h>
8982 #ifdef HAVE_ASM_TYPES_H
8983 # include <asm/types.h>
8984 #endif
8985 #ifdef HAVE_LINUX_TYPES_H
8986 # include <linux/types.h>
8987 #endif
8989 if test "x$ac_cv_header_linux_irda_h" = xyes
8990 then :
8991 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8994 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8995 #include <sys/socket.h>
8996 #ifdef HAVE_ASM_TYPES_H
8997 # include <asm/types.h>
8998 #endif
8999 #ifdef HAVE_LINUX_TYPES_H
9000 # include <linux/types.h>
9001 #endif
9003 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9004 then :
9005 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9010 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9011 #include <sys/socket.h>
9012 #ifdef HAVE_NETINET_IN_H
9013 # include <netinet/in.h>
9014 #endif
9015 #ifdef HAVE_ARPA_NAMESER_H
9016 # include <arpa/nameser.h>
9017 #endif
9019 if test "x$ac_cv_header_resolv_h" = xyes
9020 then :
9021 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9026 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9028 if test "x$ac_cv_header_ifaddrs_h" = xyes
9029 then :
9030 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9035 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9037 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9038 then :
9039 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9044 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9045 #ifdef HAVE_SYS_UCONTEXT_H
9046 #include <sys/ucontext.h>
9047 #endif
9049 if test "x$ac_cv_header_sys_thr_h" = xyes
9050 then :
9051 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9056 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#include <pthread.h>
9058 if test "x$ac_cv_header_pthread_np_h" = xyes
9059 then :
9060 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9065 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9066 #include <sys/types.h>
9067 #ifdef HAVE_ASM_TYPES_H
9068 #include <asm/types.h>
9069 #endif
9071 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9072 then :
9073 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9078 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9079 #include <sys/param.h>
9080 #endif
9081 #include <sys/socket.h>
9082 #ifdef HAVE_SYS_QUEUE_H
9083 #include <sys/queue.h>
9084 #endif
9086 if test "x$ac_cv_header_libprocstat_h" = xyes
9087 then :
9088 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9093 if test "x$ac_cv_header_sys_xattr_h" = xyes
9094 then
9095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9096 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9097 if test ${wine_cv_xattr_extra_args+y}
9098 then :
9099 printf %s "(cached) " >&6
9100 else $as_nop
9101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9102 /* end confdefs.h. */
9103 #include <sys/xattr.h>
9105 main (void)
9107 getxattr("", "", "", 0, 0, 0);
9109 return 0;
9111 _ACEOF
9112 if ac_fn_c_try_compile "$LINENO"
9113 then :
9114 wine_cv_xattr_extra_args=yes
9115 else $as_nop
9116 wine_cv_xattr_extra_args=no
9118 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9121 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9122 test $wine_cv_xattr_extra_args != yes ||
9123 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9128 DLLFLAGS=""
9130 LDDLLFLAGS=""
9132 LDEXECFLAGS=""
9134 EXTRACFLAGS=""
9136 UNIXDLLFLAGS="-fPIC"
9138 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9140 TOP_INSTALL_LIB=""
9142 TOP_INSTALL_DEV=""
9144 WINELOADER_LDFLAGS=""
9146 WINEPRELOADER_LDFLAGS=""
9148 DLLEXT=".so"
9150 LIBEXT="so"
9151 # Extract the first word of "ldd", so it can be a program name with args.
9152 set dummy ldd; ac_word=$2
9153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9154 printf %s "checking for $ac_word... " >&6; }
9155 if test ${ac_cv_path_LDD+y}
9156 then :
9157 printf %s "(cached) " >&6
9158 else $as_nop
9159 case $LDD in
9160 [\\/]* | ?:[\\/]*)
9161 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9165 as_dummy="/sbin:/usr/sbin:$PATH"
9166 for as_dir in $as_dummy
9168 IFS=$as_save_IFS
9169 case $as_dir in #(((
9170 '') as_dir=./ ;;
9171 */) ;;
9172 *) as_dir=$as_dir/ ;;
9173 esac
9174 for ac_exec_ext in '' $ac_executable_extensions; do
9175 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9176 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9177 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9178 break 2
9180 done
9181 done
9182 IFS=$as_save_IFS
9184 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9186 esac
9188 LDD=$ac_cv_path_LDD
9189 if test -n "$LDD"; then
9190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9191 printf "%s\n" "$LDD" >&6; }
9192 else
9193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9194 printf "%s\n" "no" >&6; }
9198 if test -n "$ac_tool_prefix"; then
9199 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9200 set dummy ${ac_tool_prefix}otool; ac_word=$2
9201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9202 printf %s "checking for $ac_word... " >&6; }
9203 if test ${ac_cv_prog_OTOOL+y}
9204 then :
9205 printf %s "(cached) " >&6
9206 else $as_nop
9207 if test -n "$OTOOL"; then
9208 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9209 else
9210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9211 for as_dir in $PATH
9213 IFS=$as_save_IFS
9214 case $as_dir in #(((
9215 '') as_dir=./ ;;
9216 */) ;;
9217 *) as_dir=$as_dir/ ;;
9218 esac
9219 for ac_exec_ext in '' $ac_executable_extensions; do
9220 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9221 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9222 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9223 break 2
9225 done
9226 done
9227 IFS=$as_save_IFS
9231 OTOOL=$ac_cv_prog_OTOOL
9232 if test -n "$OTOOL"; then
9233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9234 printf "%s\n" "$OTOOL" >&6; }
9235 else
9236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9237 printf "%s\n" "no" >&6; }
9242 if test -z "$ac_cv_prog_OTOOL"; then
9243 ac_ct_OTOOL=$OTOOL
9244 # Extract the first word of "otool", so it can be a program name with args.
9245 set dummy otool; ac_word=$2
9246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9247 printf %s "checking for $ac_word... " >&6; }
9248 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9249 then :
9250 printf %s "(cached) " >&6
9251 else $as_nop
9252 if test -n "$ac_ct_OTOOL"; then
9253 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9254 else
9255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9256 for as_dir in $PATH
9258 IFS=$as_save_IFS
9259 case $as_dir in #(((
9260 '') as_dir=./ ;;
9261 */) ;;
9262 *) as_dir=$as_dir/ ;;
9263 esac
9264 for ac_exec_ext in '' $ac_executable_extensions; do
9265 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9266 ac_cv_prog_ac_ct_OTOOL="otool"
9267 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9268 break 2
9270 done
9271 done
9272 IFS=$as_save_IFS
9276 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9277 if test -n "$ac_ct_OTOOL"; then
9278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9279 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9280 else
9281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9282 printf "%s\n" "no" >&6; }
9285 if test "x$ac_ct_OTOOL" = x; then
9286 OTOOL="otool"
9287 else
9288 case $cross_compiling:$ac_tool_warned in
9289 yes:)
9290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9291 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9292 ac_tool_warned=yes ;;
9293 esac
9294 OTOOL=$ac_ct_OTOOL
9296 else
9297 OTOOL="$ac_cv_prog_OTOOL"
9300 if test -n "$ac_tool_prefix"; then
9301 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9302 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9304 printf %s "checking for $ac_word... " >&6; }
9305 if test ${ac_cv_prog_READELF+y}
9306 then :
9307 printf %s "(cached) " >&6
9308 else $as_nop
9309 if test -n "$READELF"; then
9310 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9311 else
9312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9313 for as_dir in $PATH
9315 IFS=$as_save_IFS
9316 case $as_dir in #(((
9317 '') as_dir=./ ;;
9318 */) ;;
9319 *) as_dir=$as_dir/ ;;
9320 esac
9321 for ac_exec_ext in '' $ac_executable_extensions; do
9322 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9323 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9324 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9325 break 2
9327 done
9328 done
9329 IFS=$as_save_IFS
9333 READELF=$ac_cv_prog_READELF
9334 if test -n "$READELF"; then
9335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9336 printf "%s\n" "$READELF" >&6; }
9337 else
9338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9339 printf "%s\n" "no" >&6; }
9344 if test -z "$ac_cv_prog_READELF"; then
9345 ac_ct_READELF=$READELF
9346 # Extract the first word of "readelf", so it can be a program name with args.
9347 set dummy readelf; ac_word=$2
9348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9349 printf %s "checking for $ac_word... " >&6; }
9350 if test ${ac_cv_prog_ac_ct_READELF+y}
9351 then :
9352 printf %s "(cached) " >&6
9353 else $as_nop
9354 if test -n "$ac_ct_READELF"; then
9355 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9356 else
9357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9358 for as_dir in $PATH
9360 IFS=$as_save_IFS
9361 case $as_dir in #(((
9362 '') as_dir=./ ;;
9363 */) ;;
9364 *) as_dir=$as_dir/ ;;
9365 esac
9366 for ac_exec_ext in '' $ac_executable_extensions; do
9367 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9368 ac_cv_prog_ac_ct_READELF="readelf"
9369 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9370 break 2
9372 done
9373 done
9374 IFS=$as_save_IFS
9378 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9379 if test -n "$ac_ct_READELF"; then
9380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9381 printf "%s\n" "$ac_ct_READELF" >&6; }
9382 else
9383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9384 printf "%s\n" "no" >&6; }
9387 if test "x$ac_ct_READELF" = x; then
9388 READELF="true"
9389 else
9390 case $cross_compiling:$ac_tool_warned in
9391 yes:)
9392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9393 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9394 ac_tool_warned=yes ;;
9395 esac
9396 READELF=$ac_ct_READELF
9398 else
9399 READELF="$ac_cv_prog_READELF"
9402 wine_rules="all:"
9403 SUBDIRS=""
9405 DISABLED_SUBDIRS=""
9407 CONFIGURE_TARGETS=""
9410 wine_fn_config_makefile ()
9412 as_fn_append SUBDIRS " \\$as_nl $1"
9413 eval enable=\$$2
9414 case "$enable" in
9415 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9416 *aarch64*|*arm*|*i386*|*x86_64*)
9417 if test -n "$PE_ARCHS"
9418 then
9419 for i in $PE_ARCHS
9421 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9422 done
9423 else
9424 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9425 fi;;
9426 esac
9429 wine_fn_config_symlink ()
9431 ac_links=$@
9432 as_fn_append wine_rules "
9433 $ac_links:
9434 @./config.status \$@"
9435 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9438 case $host_os in
9439 cygwin*|mingw32*)
9440 LIBEXT="dll"
9441 DLLEXT=""
9442 EXTRACFLAGS="-D__WINE_PE_BUILD"
9443 if test "x$HOST_ARCH" = xi386
9444 then :
9445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9446 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9447 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9448 then :
9449 printf %s "(cached) " >&6
9450 else $as_nop
9451 ac_wine_try_cflags_saved=$CFLAGS
9452 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9454 /* end confdefs.h. */
9455 int main(int argc, char **argv) { return 0; }
9456 _ACEOF
9457 if ac_fn_c_try_link "$LINENO"
9458 then :
9459 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9460 else $as_nop
9461 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9463 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9464 conftest$ac_exeext conftest.$ac_ext
9465 CFLAGS=$ac_wine_try_cflags_saved
9467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9468 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9469 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9470 then :
9471 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9474 enable_loader=${enable_loader:-no}
9475 enable_server=${enable_server:-no}
9476 with_x=${with_x:-no}
9477 with_pthread=${with_pthread:-no}
9480 darwin*|macosx*)
9481 LIBEXT="dylib"
9482 DLLFLAGS="$DLLFLAGS -fPIC"
9483 LDDLLFLAGS="-fPIC"
9484 enable_winemac_drv=${enable_winemac_drv:-yes}
9485 CARBON_LIBS="-framework Carbon"
9487 COREFOUNDATION_LIBS="-framework CoreFoundation"
9489 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9491 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9493 METAL_LIBS="-framework Metal"
9495 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9497 CORESERVICES_LIBS="-framework CoreServices"
9499 APPKIT_LIBS="-framework AppKit"
9501 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9503 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9506 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9508 case $HOST_ARCH in
9509 i386|x86_64) wine_can_build_preloader=yes ;;
9510 *) wine_can_build_preloader=no ;;
9511 esac
9513 if test "$wine_can_build_preloader" = "yes"
9514 then
9515 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -mmacosx-version-min=10.7 -Wl,-no_new_main,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9517 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9518 if test ${ac_cv_cflags__Wl__no_pie+y}
9519 then :
9520 printf %s "(cached) " >&6
9521 else $as_nop
9522 ac_wine_try_cflags_saved=$CFLAGS
9523 CFLAGS="$CFLAGS -Wl,-no_pie"
9524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9525 /* end confdefs.h. */
9526 int main(int argc, char **argv) { return 0; }
9527 _ACEOF
9528 if ac_fn_c_try_link "$LINENO"
9529 then :
9530 ac_cv_cflags__Wl__no_pie=yes
9531 else $as_nop
9532 ac_cv_cflags__Wl__no_pie=no
9534 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9535 conftest$ac_exeext conftest.$ac_ext
9536 CFLAGS=$ac_wine_try_cflags_saved
9538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9539 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9540 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9541 then :
9542 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9544 case $HOST_ARCH in
9545 i386)
9546 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9548 x86_64)
9549 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9551 esac
9552 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9553 else
9554 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9557 if test "x$with_coreaudio" != "xno";
9558 then
9559 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9561 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9563 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9564 then
9565 OPENCL_LIBS="-framework OpenCL"
9567 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9571 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9572 ac_ext=m
9573 ac_cpp='$OBJCPP $CPPFLAGS'
9574 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9575 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9576 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9578 ac_ext=m
9579 ac_cpp='$OBJCPP $CPPFLAGS'
9580 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9581 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9582 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9583 if test -n "$ac_tool_prefix"; then
9584 for ac_prog in gcc objcc objc cc CC clang
9586 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9587 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9589 printf %s "checking for $ac_word... " >&6; }
9590 if test ${ac_cv_prog_OBJC+y}
9591 then :
9592 printf %s "(cached) " >&6
9593 else $as_nop
9594 if test -n "$OBJC"; then
9595 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9596 else
9597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9598 for as_dir in $PATH
9600 IFS=$as_save_IFS
9601 case $as_dir in #(((
9602 '') as_dir=./ ;;
9603 */) ;;
9604 *) as_dir=$as_dir/ ;;
9605 esac
9606 for ac_exec_ext in '' $ac_executable_extensions; do
9607 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9608 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9609 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9610 break 2
9612 done
9613 done
9614 IFS=$as_save_IFS
9618 OBJC=$ac_cv_prog_OBJC
9619 if test -n "$OBJC"; then
9620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9621 printf "%s\n" "$OBJC" >&6; }
9622 else
9623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9624 printf "%s\n" "no" >&6; }
9628 test -n "$OBJC" && break
9629 done
9631 if test -z "$OBJC"; then
9632 ac_ct_OBJC=$OBJC
9633 for ac_prog in gcc objcc objc cc CC clang
9635 # Extract the first word of "$ac_prog", so it can be a program name with args.
9636 set dummy $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_ac_ct_OBJC+y}
9640 then :
9641 printf %s "(cached) " >&6
9642 else $as_nop
9643 if test -n "$ac_ct_OBJC"; then
9644 ac_cv_prog_ac_ct_OBJC="$ac_ct_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_ac_ct_OBJC="$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 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9668 if test -n "$ac_ct_OBJC"; then
9669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9670 printf "%s\n" "$ac_ct_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 "$ac_ct_OBJC" && break
9678 done
9680 if test "x$ac_ct_OBJC" = x; then
9681 OBJC="gcc"
9682 else
9683 case $cross_compiling:$ac_tool_warned in
9684 yes:)
9685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9686 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9687 ac_tool_warned=yes ;;
9688 esac
9689 OBJC=$ac_ct_OBJC
9693 # Provide some information about the compiler.
9694 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9695 set X $ac_compile
9696 ac_compiler=$2
9697 for ac_option in --version -v -V -qversion; do
9698 { { ac_try="$ac_compiler $ac_option >&5"
9699 case "(($ac_try" in
9700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9701 *) ac_try_echo=$ac_try;;
9702 esac
9703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9704 printf "%s\n" "$ac_try_echo"; } >&5
9705 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9706 ac_status=$?
9707 if test -s conftest.err; then
9708 sed '10a\
9709 ... rest of stderr output deleted ...
9710 10q' conftest.err >conftest.er1
9711 cat conftest.er1 >&5
9713 rm -f conftest.er1 conftest.err
9714 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9715 test $ac_status = 0; }
9716 done
9718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9719 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9720 if test ${ac_cv_objc_compiler_gnu+y}
9721 then :
9722 printf %s "(cached) " >&6
9723 else $as_nop
9724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9725 /* end confdefs.h. */
9728 main (void)
9730 #ifndef __GNUC__
9731 choke me
9732 #endif
9735 return 0;
9737 _ACEOF
9738 if ac_fn_objc_try_compile "$LINENO"
9739 then :
9740 ac_compiler_gnu=yes
9741 else $as_nop
9742 ac_compiler_gnu=no
9744 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9745 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9749 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9750 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9752 if test $ac_compiler_gnu = yes; then
9753 GOBJC=yes
9754 else
9755 GOBJC=
9757 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9758 ac_save_OBJCFLAGS=$OBJCFLAGS
9759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9760 printf %s "checking whether $OBJC accepts -g... " >&6; }
9761 if test ${ac_cv_prog_objc_g+y}
9762 then :
9763 printf %s "(cached) " >&6
9764 else $as_nop
9765 ac_save_objc_werror_flag=$ac_objc_werror_flag
9766 ac_objc_werror_flag=yes
9767 ac_cv_prog_objc_g=no
9768 OBJCFLAGS="-g"
9769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9770 /* end confdefs.h. */
9773 main (void)
9777 return 0;
9779 _ACEOF
9780 if ac_fn_objc_try_compile "$LINENO"
9781 then :
9782 ac_cv_prog_objc_g=yes
9783 else $as_nop
9784 OBJCFLAGS=""
9785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9786 /* end confdefs.h. */
9789 main (void)
9793 return 0;
9795 _ACEOF
9796 if ac_fn_objc_try_compile "$LINENO"
9797 then :
9799 else $as_nop
9800 ac_objc_werror_flag=$ac_save_objc_werror_flag
9801 OBJCFLAGS="-g"
9802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9803 /* end confdefs.h. */
9806 main (void)
9810 return 0;
9812 _ACEOF
9813 if ac_fn_objc_try_compile "$LINENO"
9814 then :
9815 ac_cv_prog_objc_g=yes
9817 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9819 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9821 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9822 ac_objc_werror_flag=$ac_save_objc_werror_flag
9824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9825 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9826 if test $ac_test_OBJCFLAGS; then
9827 OBJCFLAGS=$ac_save_OBJCFLAGS
9828 elif test $ac_cv_prog_objc_g = yes; then
9829 if test "$GOBJC" = yes; then
9830 OBJCFLAGS="-g -O2"
9831 else
9832 OBJCFLAGS="-g"
9834 else
9835 if test "$GOBJC" = yes; then
9836 OBJCFLAGS="-O2"
9837 else
9838 OBJCFLAGS=
9841 ac_ext=m
9842 ac_cpp='$OBJCPP $CPPFLAGS'
9843 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9844 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9845 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9849 /* end confdefs.h. */
9850 #include <Metal/Metal.h>
9852 main (void)
9854 id<MTLDevice> device; device.registryID;
9856 return 0;
9858 _ACEOF
9859 if ac_fn_objc_try_compile "$LINENO"
9860 then :
9861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9862 printf "%s\n" "yes" >&6; }
9864 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9866 else $as_nop
9867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9868 printf "%s\n" "no" >&6; }
9870 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9871 ac_ext=c
9872 ac_cpp='$CPP $CPPFLAGS'
9873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9878 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9879 WINELOADER_DEPENDS="wine_info.plist"
9883 linux-android*)
9885 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9887 DLLFLAGS="$DLLFLAGS -fPIC"
9888 LDDLLFLAGS="-fPIC"
9889 LDEXECFLAGS="-Wl,-pie"
9890 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9892 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9893 if test ${ac_cv_cflags__Wl__z_defs+y}
9894 then :
9895 printf %s "(cached) " >&6
9896 else $as_nop
9897 ac_wine_try_cflags_saved=$CFLAGS
9898 CFLAGS="$CFLAGS -Wl,-z,defs"
9899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9900 /* end confdefs.h. */
9901 int main(int argc, char **argv) { return 0; }
9902 _ACEOF
9903 if ac_fn_c_try_link "$LINENO"
9904 then :
9905 ac_cv_cflags__Wl__z_defs=yes
9906 else $as_nop
9907 ac_cv_cflags__Wl__z_defs=no
9909 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9910 conftest$ac_exeext conftest.$ac_ext
9911 CFLAGS=$ac_wine_try_cflags_saved
9913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9914 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9915 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9916 then :
9917 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9920 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9921 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9922 then :
9923 printf %s "(cached) " >&6
9924 else $as_nop
9925 ac_wine_try_cflags_saved=$CFLAGS
9926 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9928 /* end confdefs.h. */
9929 int main(int argc, char **argv) { return 0; }
9930 _ACEOF
9931 if ac_fn_c_try_link "$LINENO"
9932 then :
9933 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9934 else $as_nop
9935 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9937 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9938 conftest$ac_exeext conftest.$ac_ext
9939 CFLAGS=$ac_wine_try_cflags_saved
9941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9942 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9943 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9944 then :
9945 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9947 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9950 printf %s "checking for -lEGL... " >&6; }
9951 if test ${ac_cv_lib_soname_EGL+y}
9952 then :
9953 printf %s "(cached) " >&6
9954 else $as_nop
9955 ac_check_soname_save_LIBS=$LIBS
9956 LIBS="-lEGL $LIBS"
9957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9958 /* end confdefs.h. */
9960 /* Override any GCC internal prototype to avoid an error.
9961 Use char because int might match the return type of a GCC
9962 builtin and then its argument prototype would still apply. */
9963 char eglGetProcAddress ();
9965 main (void)
9967 return eglGetProcAddress ();
9969 return 0;
9971 _ACEOF
9972 if ac_fn_c_try_link "$LINENO"
9973 then :
9974 case "$LIBEXT" in
9975 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9976 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'` ;;
9977 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9978 if ${ac_cv_lib_soname_EGL:+false} :
9979 then :
9980 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9981 fi ;;
9982 esac
9983 else $as_nop
9984 ac_cv_lib_soname_EGL=
9986 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9987 conftest$ac_exeext conftest.$ac_ext
9988 LIBS=$ac_check_soname_save_LIBS
9990 if ${ac_cv_lib_soname_EGL:+false} :
9991 then :
9992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9993 printf "%s\n" "not found" >&6; }
9995 else $as_nop
9996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9997 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
9999 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10004 printf %s "checking for -lGLESv2... " >&6; }
10005 if test ${ac_cv_lib_soname_GLESv2+y}
10006 then :
10007 printf %s "(cached) " >&6
10008 else $as_nop
10009 ac_check_soname_save_LIBS=$LIBS
10010 LIBS="-lGLESv2 $LIBS"
10011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10012 /* end confdefs.h. */
10014 /* Override any GCC internal prototype to avoid an error.
10015 Use char because int might match the return type of a GCC
10016 builtin and then its argument prototype would still apply. */
10017 char glFlush ();
10019 main (void)
10021 return glFlush ();
10023 return 0;
10025 _ACEOF
10026 if ac_fn_c_try_link "$LINENO"
10027 then :
10028 case "$LIBEXT" in
10029 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10030 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'` ;;
10031 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10032 if ${ac_cv_lib_soname_GLESv2:+false} :
10033 then :
10034 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10035 fi ;;
10036 esac
10037 else $as_nop
10038 ac_cv_lib_soname_GLESv2=
10040 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10041 conftest$ac_exeext conftest.$ac_ext
10042 LIBS=$ac_check_soname_save_LIBS
10044 if ${ac_cv_lib_soname_GLESv2:+false} :
10045 then :
10046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10047 printf "%s\n" "not found" >&6; }
10049 else $as_nop
10050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10051 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10053 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10058 if test "x$exec_prefix" = xNONE
10059 then
10060 case $HOST_ARCH in
10061 i386) exec_prefix='${prefix}/x86' ;;
10062 x86_64) exec_prefix='${prefix}/x86_64' ;;
10063 arm) exec_prefix='${prefix}/armeabi-v7a' ;;
10064 aarch64) exec_prefix='${prefix}/arm64-v8a' ;;
10065 esac
10071 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10073 test "$ac_cv_sys_file_offset_bits" = 64 &&
10074 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10076 if test $HOST_ARCH = i386
10077 then
10078 DLLFLAGS="$DLLFLAGS -fno-PIC"
10079 LDDLLFLAGS="-fno-PIC"
10080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10081 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10082 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10083 then :
10084 printf %s "(cached) " >&6
10085 else $as_nop
10086 ac_wine_try_cflags_saved=$CFLAGS
10087 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10089 /* end confdefs.h. */
10090 int main(int argc, char **argv) { return 0; }
10091 _ACEOF
10092 if ac_fn_c_try_link "$LINENO"
10093 then :
10094 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10095 else $as_nop
10096 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10099 conftest$ac_exeext conftest.$ac_ext
10100 CFLAGS=$ac_wine_try_cflags_saved
10102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10103 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10104 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10105 then :
10106 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10108 else
10109 DLLFLAGS="$DLLFLAGS -fPIC"
10110 LDDLLFLAGS="-fPIC"
10113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wl,-z,defs works correctly" >&5
10114 printf %s "checking whether -Wl,-z,defs works correctly... " >&6; }
10115 if test ${ac_cv_wl_z_defs+y}
10116 then :
10117 printf %s "(cached) " >&6
10118 else $as_nop
10119 ac_save_CFLAGS="$CFLAGS"
10120 CFLAGS="$CFLAGS $UNIXDLLFLAGS $UNIXLDFLAGS -Wl,-z,defs"
10121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10122 /* end confdefs.h. */
10123 extern char **environ; char **envp; void myfunc(void) { envp = environ; }
10124 _ACEOF
10125 if ac_fn_c_try_link "$LINENO"
10126 then :
10127 ac_cv_wl_z_defs=yes
10128 else $as_nop
10129 ac_cv_wl_z_defs=no
10131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10132 conftest$ac_exeext conftest.$ac_ext
10133 CFLAGS=$ac_save_CFLAGS
10135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wl_z_defs" >&5
10136 printf "%s\n" "$ac_cv_wl_z_defs" >&6; }
10137 test $ac_cv_wl_z_defs != yes || as_fn_append UNIXLDFLAGS " -Wl,-z,defs"
10139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10140 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10141 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10142 then :
10143 printf %s "(cached) " >&6
10144 else $as_nop
10145 ac_wine_try_cflags_saved=$CFLAGS
10146 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10148 /* end confdefs.h. */
10149 int main(int argc, char **argv) { return 0; }
10150 _ACEOF
10151 if ac_fn_c_try_link "$LINENO"
10152 then :
10153 ac_cv_cflags__Wl___export_dynamic=yes
10154 else $as_nop
10155 ac_cv_cflags__Wl___export_dynamic=no
10157 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10158 conftest$ac_exeext conftest.$ac_ext
10159 CFLAGS=$ac_wine_try_cflags_saved
10161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10162 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10163 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10164 then :
10165 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10167 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10169 case $host_os in
10170 linux*)
10171 as_fn_append WINELOADER_LDFLAGS " -pie"
10172 case $HOST_ARCH in
10173 i386|arm)
10174 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10177 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10178 if test ${ac_cv_cflags__static_pie+y}
10179 then :
10180 printf %s "(cached) " >&6
10181 else $as_nop
10182 ac_wine_try_cflags_saved=$CFLAGS
10183 CFLAGS="$CFLAGS -static-pie"
10184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10185 /* end confdefs.h. */
10186 int main(int argc, char **argv) { return 0; }
10187 _ACEOF
10188 if ac_fn_c_try_link "$LINENO"
10189 then :
10190 ac_cv_cflags__static_pie=yes
10191 else $as_nop
10192 ac_cv_cflags__static_pie=no
10194 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10195 conftest$ac_exeext conftest.$ac_ext
10196 CFLAGS=$ac_wine_try_cflags_saved
10198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10199 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10200 if test "x$ac_cv_cflags__static_pie" = xyes
10201 then :
10202 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10203 else $as_nop
10204 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10207 esac
10210 case $HOST_ARCH in
10211 i386|arm)
10212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10213 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10214 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10215 then :
10216 printf %s "(cached) " >&6
10217 else $as_nop
10218 ac_wine_try_cflags_saved=$CFLAGS
10219 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10221 /* end confdefs.h. */
10222 int main(int argc, char **argv) { return 0; }
10223 _ACEOF
10224 if ac_fn_c_try_link "$LINENO"
10225 then :
10226 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10227 else $as_nop
10228 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10231 conftest$ac_exeext conftest.$ac_ext
10232 CFLAGS=$ac_wine_try_cflags_saved
10234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10235 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10236 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10237 then :
10238 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10239 else $as_nop
10240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10241 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10242 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10243 then :
10244 printf %s "(cached) " >&6
10245 else $as_nop
10246 ac_wine_try_cflags_saved=$CFLAGS
10247 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10249 /* end confdefs.h. */
10250 int main(int argc, char **argv) { return 0; }
10251 _ACEOF
10252 if ac_fn_c_try_link "$LINENO"
10253 then :
10254 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10255 else $as_nop
10256 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10258 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10259 conftest$ac_exeext conftest.$ac_ext
10260 CFLAGS=$ac_wine_try_cflags_saved
10262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10263 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10264 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10265 then :
10266 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10271 as_fn_append WINELOADER_LDFLAGS " -pie"
10273 esac
10275 esac
10277 esac
10279 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10280 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10281 enable_winemac_drv=${enable_winemac_drv:-no}
10283 PE_ARCHS=""
10285 cross_archs=
10286 if test ${enable_archs+y}
10287 then :
10288 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10289 ac_save_IFS=$IFS
10290 IFS=' ,'
10291 set x $enable_archs
10292 IFS=$ac_save_IFS
10293 shift
10294 for arch
10296 case $arch in
10297 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10298 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10299 esac
10300 done
10301 else $as_nop
10302 if test "x$with_mingw" != xno
10303 then
10304 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10308 for wine_arch in $cross_archs
10310 case "x$with_mingw" in
10311 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10312 esac
10313 if eval \${${wine_arch}_CC:+false} :
10314 then :
10315 case $wine_arch in
10316 aarch64)
10317 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10319 # Extract the first word of "$ac_prog", so it can be a program name with args.
10320 set dummy $ac_prog; ac_word=$2
10321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10322 printf %s "checking for $ac_word... " >&6; }
10323 if test ${ac_cv_prog_aarch64_CC+y}
10324 then :
10325 printf %s "(cached) " >&6
10326 else $as_nop
10327 if test -n "$aarch64_CC"; then
10328 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10329 else
10330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10331 for as_dir in $PATH
10333 IFS=$as_save_IFS
10334 case $as_dir in #(((
10335 '') as_dir=./ ;;
10336 */) ;;
10337 *) as_dir=$as_dir/ ;;
10338 esac
10339 for ac_exec_ext in '' $ac_executable_extensions; do
10340 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10341 ac_cv_prog_aarch64_CC="$ac_prog"
10342 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10343 break 2
10345 done
10346 done
10347 IFS=$as_save_IFS
10351 aarch64_CC=$ac_cv_prog_aarch64_CC
10352 if test -n "$aarch64_CC"; then
10353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10354 printf "%s\n" "$aarch64_CC" >&6; }
10355 else
10356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10357 printf "%s\n" "no" >&6; }
10361 test -n "$aarch64_CC" && break
10362 done
10363 test -n "$aarch64_CC" || aarch64_CC="false"
10366 arm)
10367 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10369 # Extract the first word of "$ac_prog", so it can be a program name with args.
10370 set dummy $ac_prog; ac_word=$2
10371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10372 printf %s "checking for $ac_word... " >&6; }
10373 if test ${ac_cv_prog_arm_CC+y}
10374 then :
10375 printf %s "(cached) " >&6
10376 else $as_nop
10377 if test -n "$arm_CC"; then
10378 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10379 else
10380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10381 for as_dir in $PATH
10383 IFS=$as_save_IFS
10384 case $as_dir in #(((
10385 '') as_dir=./ ;;
10386 */) ;;
10387 *) as_dir=$as_dir/ ;;
10388 esac
10389 for ac_exec_ext in '' $ac_executable_extensions; do
10390 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10391 ac_cv_prog_arm_CC="$ac_prog"
10392 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10393 break 2
10395 done
10396 done
10397 IFS=$as_save_IFS
10401 arm_CC=$ac_cv_prog_arm_CC
10402 if test -n "$arm_CC"; then
10403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10404 printf "%s\n" "$arm_CC" >&6; }
10405 else
10406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10407 printf "%s\n" "no" >&6; }
10411 test -n "$arm_CC" && break
10412 done
10413 test -n "$arm_CC" || arm_CC="false"
10416 i386)
10417 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 "
10418 for ac_prog in $ac_prefix_list clang
10420 # Extract the first word of "$ac_prog", so it can be a program name with args.
10421 set dummy $ac_prog; ac_word=$2
10422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10423 printf %s "checking for $ac_word... " >&6; }
10424 if test ${ac_cv_prog_i386_CC+y}
10425 then :
10426 printf %s "(cached) " >&6
10427 else $as_nop
10428 if test -n "$i386_CC"; then
10429 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10430 else
10431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10432 for as_dir in $PATH
10434 IFS=$as_save_IFS
10435 case $as_dir in #(((
10436 '') as_dir=./ ;;
10437 */) ;;
10438 *) as_dir=$as_dir/ ;;
10439 esac
10440 for ac_exec_ext in '' $ac_executable_extensions; do
10441 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10442 ac_cv_prog_i386_CC="$ac_prog"
10443 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10444 break 2
10446 done
10447 done
10448 IFS=$as_save_IFS
10452 i386_CC=$ac_cv_prog_i386_CC
10453 if test -n "$i386_CC"; then
10454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10455 printf "%s\n" "$i386_CC" >&6; }
10456 else
10457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10458 printf "%s\n" "no" >&6; }
10462 test -n "$i386_CC" && break
10463 done
10464 test -n "$i386_CC" || i386_CC="false"
10467 x86_64)
10468 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10469 for ac_prog in $ac_prefix_list clang
10471 # Extract the first word of "$ac_prog", so it can be a program name with args.
10472 set dummy $ac_prog; ac_word=$2
10473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10474 printf %s "checking for $ac_word... " >&6; }
10475 if test ${ac_cv_prog_x86_64_CC+y}
10476 then :
10477 printf %s "(cached) " >&6
10478 else $as_nop
10479 if test -n "$x86_64_CC"; then
10480 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10481 else
10482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10483 for as_dir in $PATH
10485 IFS=$as_save_IFS
10486 case $as_dir in #(((
10487 '') as_dir=./ ;;
10488 */) ;;
10489 *) as_dir=$as_dir/ ;;
10490 esac
10491 for ac_exec_ext in '' $ac_executable_extensions; do
10492 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10493 ac_cv_prog_x86_64_CC="$ac_prog"
10494 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10495 break 2
10497 done
10498 done
10499 IFS=$as_save_IFS
10503 x86_64_CC=$ac_cv_prog_x86_64_CC
10504 if test -n "$x86_64_CC"; then
10505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10506 printf "%s\n" "$x86_64_CC" >&6; }
10507 else
10508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10509 printf "%s\n" "no" >&6; }
10513 test -n "$x86_64_CC" && break
10514 done
10515 test -n "$x86_64_CC" || x86_64_CC="false"
10518 esac
10521 saved_CC=$CC
10522 saved_CFLAGS=$CFLAGS
10523 saved_LDFLAGS=$LDFLAGS
10525 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10526 LDFLAGS=$CROSSLDFLAGS
10527 eval CC=\$${wine_arch}_CC
10528 eval ${wine_arch}_CFLAGS=\$CFLAGS
10529 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10530 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10532 target=""
10533 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10535 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10536 then :
10538 else $as_nop
10539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10540 printf %s "checking whether $CC works... " >&6; }
10541 if eval test \${$as_wine_cv_crosscc+y}
10542 then :
10543 printf %s "(cached) " >&6
10544 else $as_nop
10545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10546 /* end confdefs.h. */
10549 main (void)
10553 return 0;
10555 _ACEOF
10556 if ac_fn_c_try_compile "$LINENO"
10557 then :
10558 eval "$as_wine_cv_crosscc=yes"
10559 else $as_nop
10560 eval "$as_wine_cv_crosscc=no"
10562 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10564 eval ac_res=\$$as_wine_cv_crosscc
10565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10566 printf "%s\n" "$ac_res" >&6; }
10568 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10569 then :
10570 set x $CC
10571 shift
10572 while test $# -ge 1
10574 case "$1" in
10575 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10576 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10577 esac
10578 shift
10579 done
10581 llvm_target=$target
10582 if test -z "$llvm_target"
10583 then
10584 case $wine_arch in
10585 i386) llvm_target=i686-windows ;;
10586 arm) llvm_target=armv7-windows ;;
10587 *) llvm_target=$wine_arch-windows ;;
10588 esac
10590 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10591 case $llvm_target in
10592 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10593 esac
10594 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10596 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10597 if eval test \${$as_ac_var+y}
10598 then :
10599 printf %s "(cached) " >&6
10600 else $as_nop
10601 ac_wine_try_cflags_saved=$CFLAGS
10602 ac_wine_try_cflags_saved_exeext=$ac_exeext
10603 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10604 ac_exeext=".exe"
10605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10606 /* end confdefs.h. */
10607 int __cdecl mainCRTStartup(void) { return 0; }
10608 _ACEOF
10609 if ac_fn_c_try_link "$LINENO"
10610 then :
10611 eval "$as_ac_var=yes"
10612 else $as_nop
10613 eval "$as_ac_var=no"
10615 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10616 conftest$ac_exeext conftest.$ac_ext
10617 CFLAGS=$ac_wine_try_cflags_saved
10618 ac_exeext=$ac_wine_try_cflags_saved_exeext
10620 eval ac_res=\$$as_ac_var
10621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10622 printf "%s\n" "$ac_res" >&6; }
10623 if eval test \"x\$"$as_ac_var"\" = x"yes"
10624 then :
10625 target=$llvm_target
10626 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10627 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10628 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10629 fi }
10630 eval "${wine_arch}_TARGET=\$target"
10634 if test -z "$target"
10635 then
10636 if test ${enable_archs+y}
10637 then :
10638 as_fn_error $? "MinGW $wine_arch compiler not found.
10639 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10641 CC=$saved_CC
10642 CFLAGS=$saved_CFLAGS
10643 LDFLAGS=$saved_LDFLAGS
10644 continue
10647 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10650 printf %s "checking for $CC option to enable C99 features... " >&6; }
10651 if eval test \${$as_wine_cv_crosscc_c99+y}
10652 then :
10653 printf %s "(cached) " >&6
10654 else $as_nop
10655 eval "$as_wine_cv_crosscc_c99=no"
10656 for arg in '' '-std=gnu99' '-D__STDC__'
10658 test -z "$arg" || CC="$CC $arg"
10659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10660 /* end confdefs.h. */
10661 $ac_c_conftest_c99_program
10662 _ACEOF
10663 if ac_fn_c_try_compile "$LINENO"
10664 then :
10665 eval "$as_wine_cv_crosscc_c99=\$arg"
10666 else $as_nop
10667 eval "$as_wine_cv_crosscc_c99=no"
10669 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10670 eval CC=\$${wine_arch}_CC
10671 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10672 then :
10674 else $as_nop
10675 break
10677 done
10680 eval res=\$$as_wine_cv_crosscc_c99
10682 case "x$res" in
10683 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10684 printf "%s\n" "none needed" >&6; } ;;
10685 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10686 printf "%s\n" "unsupported" >&6; }
10687 CC=$saved_CC
10688 CFLAGS=$saved_CFLAGS
10689 LDFLAGS=$saved_LDFLAGS
10690 if test ${enable_archs+y}
10691 then :
10692 as_fn_error $? "MinGW $wine_arch compiler supporting C99 not found.
10693 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10695 continue
10697 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10698 printf "%s\n" "$res" >&6; }
10699 as_fn_append ${wine_arch}_CC " $res" ;;
10700 esac
10702 as_fn_append PE_ARCHS " $wine_arch"
10703 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10705 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10706 if eval test \${$as_ac_var+y}
10707 then :
10708 printf %s "(cached) " >&6
10709 else $as_nop
10710 ac_wine_try_cflags_saved=$CFLAGS
10711 ac_wine_try_cflags_saved_exeext=$ac_exeext
10712 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10713 ac_exeext=".exe"
10714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10715 /* end confdefs.h. */
10716 int __cdecl mainCRTStartup(void) { return 0; }
10717 _ACEOF
10718 if ac_fn_c_try_link "$LINENO"
10719 then :
10720 eval "$as_ac_var=yes"
10721 else $as_nop
10722 eval "$as_ac_var=no"
10724 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10725 conftest$ac_exeext conftest.$ac_ext
10726 CFLAGS=$ac_wine_try_cflags_saved
10727 ac_exeext=$ac_wine_try_cflags_saved_exeext
10729 eval ac_res=\$$as_ac_var
10730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10731 printf "%s\n" "$ac_res" >&6; }
10732 if eval test \"x\$"$as_ac_var"\" = x"yes"
10733 then :
10734 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10735 fi }
10736 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10738 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10739 if eval test \${$as_ac_var+y}
10740 then :
10741 printf %s "(cached) " >&6
10742 else $as_nop
10743 ac_wine_try_cflags_saved=$CFLAGS
10744 ac_wine_try_cflags_saved_exeext=$ac_exeext
10745 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10746 ac_exeext=".exe"
10747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10748 /* end confdefs.h. */
10749 int __cdecl mainCRTStartup(void) { return 0; }
10750 _ACEOF
10751 if ac_fn_c_try_link "$LINENO"
10752 then :
10753 eval "$as_ac_var=yes"
10754 else $as_nop
10755 eval "$as_ac_var=no"
10757 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10758 conftest$ac_exeext conftest.$ac_ext
10759 CFLAGS=$ac_wine_try_cflags_saved
10760 ac_exeext=$ac_wine_try_cflags_saved_exeext
10762 eval ac_res=\$$as_ac_var
10763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10764 printf "%s\n" "$ac_res" >&6; }
10765 if eval test \"x\$"$as_ac_var"\" = x"yes"
10766 then :
10767 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10768 fi }
10769 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10771 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10772 if eval test \${$as_ac_var+y}
10773 then :
10774 printf %s "(cached) " >&6
10775 else $as_nop
10776 ac_wine_try_cflags_saved=$CFLAGS
10777 ac_wine_try_cflags_saved_exeext=$ac_exeext
10778 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10779 ac_exeext=".exe"
10780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10781 /* end confdefs.h. */
10782 int __cdecl mainCRTStartup(void) { return 0; }
10783 _ACEOF
10784 if ac_fn_c_try_link "$LINENO"
10785 then :
10786 eval "$as_ac_var=yes"
10787 else $as_nop
10788 eval "$as_ac_var=no"
10790 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10791 conftest$ac_exeext conftest.$ac_ext
10792 CFLAGS=$ac_wine_try_cflags_saved
10793 ac_exeext=$ac_wine_try_cflags_saved_exeext
10795 eval ac_res=\$$as_ac_var
10796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10797 printf "%s\n" "$ac_res" >&6; }
10798 if eval test \"x\$"$as_ac_var"\" = x"yes"
10799 then :
10800 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10801 fi }
10802 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10804 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10805 if eval test \${$as_ac_var+y}
10806 then :
10807 printf %s "(cached) " >&6
10808 else $as_nop
10809 ac_wine_try_cflags_saved=$CFLAGS
10810 ac_wine_try_cflags_saved_exeext=$ac_exeext
10811 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10812 ac_exeext=".exe"
10813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10814 /* end confdefs.h. */
10815 int __cdecl mainCRTStartup(void) { return 0; }
10816 _ACEOF
10817 if ac_fn_c_try_link "$LINENO"
10818 then :
10819 eval "$as_ac_var=yes"
10820 else $as_nop
10821 eval "$as_ac_var=no"
10823 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10824 conftest$ac_exeext conftest.$ac_ext
10825 CFLAGS=$ac_wine_try_cflags_saved
10826 ac_exeext=$ac_wine_try_cflags_saved_exeext
10828 eval ac_res=\$$as_ac_var
10829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10830 printf "%s\n" "$ac_res" >&6; }
10831 if eval test \"x\$"$as_ac_var"\" = x"yes"
10832 then :
10833 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10834 fi }
10835 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10837 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10838 if eval test \${$as_ac_var+y}
10839 then :
10840 printf %s "(cached) " >&6
10841 else $as_nop
10842 ac_wine_try_cflags_saved=$CFLAGS
10843 ac_wine_try_cflags_saved_exeext=$ac_exeext
10844 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10845 ac_exeext=".exe"
10846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10847 /* end confdefs.h. */
10848 int __cdecl mainCRTStartup(void) { return 0; }
10849 _ACEOF
10850 if ac_fn_c_try_link "$LINENO"
10851 then :
10852 eval "$as_ac_var=yes"
10853 else $as_nop
10854 eval "$as_ac_var=no"
10856 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10857 conftest$ac_exeext conftest.$ac_ext
10858 CFLAGS=$ac_wine_try_cflags_saved
10859 ac_exeext=$ac_wine_try_cflags_saved_exeext
10861 eval ac_res=\$$as_ac_var
10862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10863 printf "%s\n" "$ac_res" >&6; }
10864 if eval test \"x\$"$as_ac_var"\" = x"yes"
10865 then :
10866 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10867 fi }
10868 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10870 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10871 if eval test \${$as_ac_var+y}
10872 then :
10873 printf %s "(cached) " >&6
10874 else $as_nop
10875 ac_wine_try_cflags_saved=$CFLAGS
10876 ac_wine_try_cflags_saved_exeext=$ac_exeext
10877 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10878 ac_exeext=".exe"
10879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10880 /* end confdefs.h. */
10881 int __cdecl mainCRTStartup(void) { return 0; }
10882 _ACEOF
10883 if ac_fn_c_try_link "$LINENO"
10884 then :
10885 eval "$as_ac_var=yes"
10886 else $as_nop
10887 eval "$as_ac_var=no"
10889 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10890 conftest$ac_exeext conftest.$ac_ext
10891 CFLAGS=$ac_wine_try_cflags_saved
10892 ac_exeext=$ac_wine_try_cflags_saved_exeext
10894 eval ac_res=\$$as_ac_var
10895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10896 printf "%s\n" "$ac_res" >&6; }
10897 if eval test \"x\$"$as_ac_var"\" = x"yes"
10898 then :
10899 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10900 fi }
10901 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10903 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10904 if eval test \${$as_ac_var+y}
10905 then :
10906 printf %s "(cached) " >&6
10907 else $as_nop
10908 ac_wine_try_cflags_saved=$CFLAGS
10909 ac_wine_try_cflags_saved_exeext=$ac_exeext
10910 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10911 ac_exeext=".exe"
10912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10913 /* end confdefs.h. */
10914 int __cdecl mainCRTStartup(void) { return 0; }
10915 _ACEOF
10916 if ac_fn_c_try_link "$LINENO"
10917 then :
10918 eval "$as_ac_var=yes"
10919 else $as_nop
10920 eval "$as_ac_var=no"
10922 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10923 conftest$ac_exeext conftest.$ac_ext
10924 CFLAGS=$ac_wine_try_cflags_saved
10925 ac_exeext=$ac_wine_try_cflags_saved_exeext
10927 eval ac_res=\$$as_ac_var
10928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10929 printf "%s\n" "$ac_res" >&6; }
10930 if eval test \"x\$"$as_ac_var"\" = x"yes"
10931 then :
10932 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10933 fi }
10934 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
10935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10936 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10937 if eval test \${$as_ac_var+y}
10938 then :
10939 printf %s "(cached) " >&6
10940 else $as_nop
10941 ac_wine_try_cflags_saved=$CFLAGS
10942 ac_wine_try_cflags_saved_exeext=$ac_exeext
10943 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10944 ac_exeext=".exe"
10945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10946 /* end confdefs.h. */
10947 int __cdecl mainCRTStartup(void) { return 0; }
10948 _ACEOF
10949 if ac_fn_c_try_link "$LINENO"
10950 then :
10951 eval "$as_ac_var=yes"
10952 else $as_nop
10953 eval "$as_ac_var=no"
10955 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10956 conftest$ac_exeext conftest.$ac_ext
10957 CFLAGS=$ac_wine_try_cflags_saved
10958 ac_exeext=$ac_wine_try_cflags_saved_exeext
10960 eval ac_res=\$$as_ac_var
10961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10962 printf "%s\n" "$ac_res" >&6; }
10963 if eval test \"x\$"$as_ac_var"\" = x"yes"
10964 then :
10965 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
10966 fi }
10967 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
10968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
10969 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
10970 if eval test \${$as_ac_var+y}
10971 then :
10972 printf %s "(cached) " >&6
10973 else $as_nop
10974 ac_wine_try_cflags_saved=$CFLAGS
10975 ac_wine_try_cflags_saved_exeext=$ac_exeext
10976 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
10977 ac_exeext=".exe"
10978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10979 /* end confdefs.h. */
10980 int __cdecl mainCRTStartup(void) { return 0; }
10981 _ACEOF
10982 if ac_fn_c_try_link "$LINENO"
10983 then :
10984 eval "$as_ac_var=yes"
10985 else $as_nop
10986 eval "$as_ac_var=no"
10988 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10989 conftest$ac_exeext conftest.$ac_ext
10990 CFLAGS=$ac_wine_try_cflags_saved
10991 ac_exeext=$ac_wine_try_cflags_saved_exeext
10993 eval ac_res=\$$as_ac_var
10994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10995 printf "%s\n" "$ac_res" >&6; }
10996 if eval test \"x\$"$as_ac_var"\" = x"yes"
10997 then :
10998 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
10999 fi }
11000 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wmicrosoft-enum-forward-reference" | $as_tr_sh`
11001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wmicrosoft-enum-forward-reference" >&5
11002 printf %s "checking whether $CC supports -Wmicrosoft-enum-forward-reference... " >&6; }
11003 if eval test \${$as_ac_var+y}
11004 then :
11005 printf %s "(cached) " >&6
11006 else $as_nop
11007 ac_wine_try_cflags_saved=$CFLAGS
11008 ac_wine_try_cflags_saved_exeext=$ac_exeext
11009 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wmicrosoft-enum-forward-reference"
11010 ac_exeext=".exe"
11011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11012 /* end confdefs.h. */
11013 int __cdecl mainCRTStartup(void) { return 0; }
11014 _ACEOF
11015 if ac_fn_c_try_link "$LINENO"
11016 then :
11017 eval "$as_ac_var=yes"
11018 else $as_nop
11019 eval "$as_ac_var=no"
11021 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11022 conftest$ac_exeext conftest.$ac_ext
11023 CFLAGS=$ac_wine_try_cflags_saved
11024 ac_exeext=$ac_wine_try_cflags_saved_exeext
11026 eval ac_res=\$$as_ac_var
11027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11028 printf "%s\n" "$ac_res" >&6; }
11029 if eval test \"x\$"$as_ac_var"\" = x"yes"
11030 then :
11031 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-microsoft-enum-forward-reference"
11032 fi }
11033 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11035 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11036 if eval test \${$as_ac_var+y}
11037 then :
11038 printf %s "(cached) " >&6
11039 else $as_nop
11040 ac_wine_try_cflags_saved=$CFLAGS
11041 ac_wine_try_cflags_saved_exeext=$ac_exeext
11042 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11043 ac_exeext=".exe"
11044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11045 /* end confdefs.h. */
11046 int __cdecl mainCRTStartup(void) { return 0; }
11047 _ACEOF
11048 if ac_fn_c_try_link "$LINENO"
11049 then :
11050 eval "$as_ac_var=yes"
11051 else $as_nop
11052 eval "$as_ac_var=no"
11054 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11055 conftest$ac_exeext conftest.$ac_ext
11056 CFLAGS=$ac_wine_try_cflags_saved
11057 ac_exeext=$ac_wine_try_cflags_saved_exeext
11059 eval ac_res=\$$as_ac_var
11060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11061 printf "%s\n" "$ac_res" >&6; }
11062 if eval test \"x\$"$as_ac_var"\" = x"yes"
11063 then :
11064 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11065 fi }
11066 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11068 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11069 if eval test \${$as_ac_var+y}
11070 then :
11071 printf %s "(cached) " >&6
11072 else $as_nop
11073 ac_wine_try_cflags_saved=$CFLAGS
11074 ac_wine_try_cflags_saved_exeext=$ac_exeext
11075 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11076 ac_exeext=".exe"
11077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11078 /* end confdefs.h. */
11079 int __cdecl mainCRTStartup(void) { return 0; }
11080 _ACEOF
11081 if ac_fn_c_try_link "$LINENO"
11082 then :
11083 eval "$as_ac_var=yes"
11084 else $as_nop
11085 eval "$as_ac_var=no"
11087 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11088 conftest$ac_exeext conftest.$ac_ext
11089 CFLAGS=$ac_wine_try_cflags_saved
11090 ac_exeext=$ac_wine_try_cflags_saved_exeext
11092 eval ac_res=\$$as_ac_var
11093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11094 printf "%s\n" "$ac_res" >&6; }
11095 if eval test \"x\$"$as_ac_var"\" = x"yes"
11096 then :
11097 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11098 fi }
11099 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11101 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11102 if eval test \${$as_ac_var+y}
11103 then :
11104 printf %s "(cached) " >&6
11105 else $as_nop
11106 ac_wine_try_cflags_saved=$CFLAGS
11107 ac_wine_try_cflags_saved_exeext=$ac_exeext
11108 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11109 ac_exeext=".exe"
11110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11111 /* end confdefs.h. */
11112 int __cdecl mainCRTStartup(void) { return 0; }
11113 _ACEOF
11114 if ac_fn_c_try_link "$LINENO"
11115 then :
11116 eval "$as_ac_var=yes"
11117 else $as_nop
11118 eval "$as_ac_var=no"
11120 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11121 conftest$ac_exeext conftest.$ac_ext
11122 CFLAGS=$ac_wine_try_cflags_saved
11123 ac_exeext=$ac_wine_try_cflags_saved_exeext
11125 eval ac_res=\$$as_ac_var
11126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11127 printf "%s\n" "$ac_res" >&6; }
11128 if eval test \"x\$"$as_ac_var"\" = x"yes"
11129 then :
11130 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11131 fi }
11132 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11134 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11135 if eval test \${$as_ac_var+y}
11136 then :
11137 printf %s "(cached) " >&6
11138 else $as_nop
11139 ac_wine_try_cflags_saved=$CFLAGS
11140 ac_wine_try_cflags_saved_exeext=$ac_exeext
11141 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11142 ac_exeext=".exe"
11143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11144 /* end confdefs.h. */
11145 int __cdecl mainCRTStartup(void) { return 0; }
11146 _ACEOF
11147 if ac_fn_c_try_link "$LINENO"
11148 then :
11149 eval "$as_ac_var=yes"
11150 else $as_nop
11151 eval "$as_ac_var=no"
11153 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11154 conftest$ac_exeext conftest.$ac_ext
11155 CFLAGS=$ac_wine_try_cflags_saved
11156 ac_exeext=$ac_wine_try_cflags_saved_exeext
11158 eval ac_res=\$$as_ac_var
11159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11160 printf "%s\n" "$ac_res" >&6; }
11161 if eval test \"x\$"$as_ac_var"\" = x"yes"
11162 then :
11163 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11164 fi }
11165 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11167 printf %s "checking whether $CC supports -Wvla... " >&6; }
11168 if eval test \${$as_ac_var+y}
11169 then :
11170 printf %s "(cached) " >&6
11171 else $as_nop
11172 ac_wine_try_cflags_saved=$CFLAGS
11173 ac_wine_try_cflags_saved_exeext=$ac_exeext
11174 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11175 ac_exeext=".exe"
11176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11177 /* end confdefs.h. */
11178 int __cdecl mainCRTStartup(void) { return 0; }
11179 _ACEOF
11180 if ac_fn_c_try_link "$LINENO"
11181 then :
11182 eval "$as_ac_var=yes"
11183 else $as_nop
11184 eval "$as_ac_var=no"
11186 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11187 conftest$ac_exeext conftest.$ac_ext
11188 CFLAGS=$ac_wine_try_cflags_saved
11189 ac_exeext=$ac_wine_try_cflags_saved_exeext
11191 eval ac_res=\$$as_ac_var
11192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11193 printf "%s\n" "$ac_res" >&6; }
11194 if eval test \"x\$"$as_ac_var"\" = x"yes"
11195 then :
11196 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11197 fi }
11198 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11200 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11201 if eval test \${$as_ac_var+y}
11202 then :
11203 printf %s "(cached) " >&6
11204 else $as_nop
11205 ac_wine_try_cflags_saved=$CFLAGS
11206 ac_wine_try_cflags_saved_exeext=$ac_exeext
11207 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11208 ac_exeext=".exe"
11209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11210 /* end confdefs.h. */
11211 int __cdecl mainCRTStartup(void) { return 0; }
11212 _ACEOF
11213 if ac_fn_c_try_link "$LINENO"
11214 then :
11215 eval "$as_ac_var=yes"
11216 else $as_nop
11217 eval "$as_ac_var=no"
11219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11220 conftest$ac_exeext conftest.$ac_ext
11221 CFLAGS=$ac_wine_try_cflags_saved
11222 ac_exeext=$ac_wine_try_cflags_saved_exeext
11224 eval ac_res=\$$as_ac_var
11225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11226 printf "%s\n" "$ac_res" >&6; }
11227 if eval test \"x\$"$as_ac_var"\" = x"yes"
11228 then :
11229 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11230 fi }
11231 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11233 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11234 if eval test \${$as_ac_var+y}
11235 then :
11236 printf %s "(cached) " >&6
11237 else $as_nop
11238 ac_wine_try_cflags_saved=$CFLAGS
11239 ac_wine_try_cflags_saved_exeext=$ac_exeext
11240 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11241 ac_exeext=".exe"
11242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11243 /* end confdefs.h. */
11244 int __cdecl mainCRTStartup(void) { return 0; }
11245 _ACEOF
11246 if ac_fn_c_try_link "$LINENO"
11247 then :
11248 eval "$as_ac_var=yes"
11249 else $as_nop
11250 eval "$as_ac_var=no"
11252 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11253 conftest$ac_exeext conftest.$ac_ext
11254 CFLAGS=$ac_wine_try_cflags_saved
11255 ac_exeext=$ac_wine_try_cflags_saved_exeext
11257 eval ac_res=\$$as_ac_var
11258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11259 printf "%s\n" "$ac_res" >&6; }
11260 if eval test \"x\$"$as_ac_var"\" = x"yes"
11261 then :
11262 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11263 fi }
11264 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11266 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11267 if eval test \${$as_ac_var+y}
11268 then :
11269 printf %s "(cached) " >&6
11270 else $as_nop
11271 ac_wine_try_cflags_saved=$CFLAGS
11272 ac_wine_try_cflags_saved_exeext=$ac_exeext
11273 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11274 ac_exeext=".exe"
11275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11276 /* end confdefs.h. */
11277 int __cdecl mainCRTStartup(void) { return 0; }
11278 _ACEOF
11279 if ac_fn_c_try_link "$LINENO"
11280 then :
11281 eval "$as_ac_var=yes"
11282 else $as_nop
11283 eval "$as_ac_var=no"
11285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11286 conftest$ac_exeext conftest.$ac_ext
11287 CFLAGS=$ac_wine_try_cflags_saved
11288 ac_exeext=$ac_wine_try_cflags_saved_exeext
11290 eval ac_res=\$$as_ac_var
11291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11292 printf "%s\n" "$ac_res" >&6; }
11293 if eval test \"x\$"$as_ac_var"\" = x"yes"
11294 then :
11295 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11296 fi }
11297 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11299 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11300 if eval test \${$as_ac_var+y}
11301 then :
11302 printf %s "(cached) " >&6
11303 else $as_nop
11304 ac_wine_try_cflags_saved=$CFLAGS
11305 ac_wine_try_cflags_saved_exeext=$ac_exeext
11306 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11307 ac_exeext=".exe"
11308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11309 /* end confdefs.h. */
11310 int __cdecl mainCRTStartup(void) { return 0; }
11311 _ACEOF
11312 if ac_fn_c_try_link "$LINENO"
11313 then :
11314 eval "$as_ac_var=yes"
11315 else $as_nop
11316 eval "$as_ac_var=no"
11318 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11319 conftest$ac_exeext conftest.$ac_ext
11320 CFLAGS=$ac_wine_try_cflags_saved
11321 ac_exeext=$ac_wine_try_cflags_saved_exeext
11323 eval ac_res=\$$as_ac_var
11324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11325 printf "%s\n" "$ac_res" >&6; }
11326 if eval test \"x\$"$as_ac_var"\" = x"yes"
11327 then :
11328 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11329 fi }
11331 case $wine_arch in
11332 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11334 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11335 if eval test \${$as_ac_var+y}
11336 then :
11337 printf %s "(cached) " >&6
11338 else $as_nop
11339 ac_wine_try_cflags_saved=$CFLAGS
11340 ac_wine_try_cflags_saved_exeext=$ac_exeext
11341 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11342 ac_exeext=".exe"
11343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11344 /* end confdefs.h. */
11345 int __cdecl mainCRTStartup(void) { return 0; }
11346 _ACEOF
11347 if ac_fn_c_try_link "$LINENO"
11348 then :
11349 eval "$as_ac_var=yes"
11350 else $as_nop
11351 eval "$as_ac_var=no"
11353 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11354 conftest$ac_exeext conftest.$ac_ext
11355 CFLAGS=$ac_wine_try_cflags_saved
11356 ac_exeext=$ac_wine_try_cflags_saved_exeext
11358 eval ac_res=\$$as_ac_var
11359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11360 printf "%s\n" "$ac_res" >&6; }
11361 if eval test \"x\$"$as_ac_var"\" = x"yes"
11362 then :
11363 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11364 fi }
11365 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11367 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11368 if eval test \${$as_ac_var+y}
11369 then :
11370 printf %s "(cached) " >&6
11371 else $as_nop
11372 ac_wine_try_cflags_saved=$CFLAGS
11373 ac_wine_try_cflags_saved_exeext=$ac_exeext
11374 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11375 ac_exeext=".exe"
11376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11377 /* end confdefs.h. */
11378 int __cdecl mainCRTStartup(void) { return 0; }
11379 _ACEOF
11380 if ac_fn_c_try_link "$LINENO"
11381 then :
11382 eval "$as_ac_var=yes"
11383 else $as_nop
11384 eval "$as_ac_var=no"
11386 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11387 conftest$ac_exeext conftest.$ac_ext
11388 CFLAGS=$ac_wine_try_cflags_saved
11389 ac_exeext=$ac_wine_try_cflags_saved_exeext
11391 eval ac_res=\$$as_ac_var
11392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11393 printf "%s\n" "$ac_res" >&6; }
11394 if eval test \"x\$"$as_ac_var"\" = x"yes"
11395 then :
11396 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11397 fi } ;;
11398 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11400 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11401 if eval test \${$as_ac_var+y}
11402 then :
11403 printf %s "(cached) " >&6
11404 else $as_nop
11405 ac_wine_try_cflags_saved=$CFLAGS
11406 ac_wine_try_cflags_saved_exeext=$ac_exeext
11407 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11408 ac_exeext=".exe"
11409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11410 /* end confdefs.h. */
11411 int __cdecl mainCRTStartup(void) { return 0; }
11412 _ACEOF
11413 if ac_fn_c_try_link "$LINENO"
11414 then :
11415 eval "$as_ac_var=yes"
11416 else $as_nop
11417 eval "$as_ac_var=no"
11419 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11420 conftest$ac_exeext conftest.$ac_ext
11421 CFLAGS=$ac_wine_try_cflags_saved
11422 ac_exeext=$ac_wine_try_cflags_saved_exeext
11424 eval ac_res=\$$as_ac_var
11425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11426 printf "%s\n" "$ac_res" >&6; }
11427 if eval test \"x\$"$as_ac_var"\" = x"yes"
11428 then :
11429 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11430 fi }
11431 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11433 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11434 if eval test \${$as_ac_var+y}
11435 then :
11436 printf %s "(cached) " >&6
11437 else $as_nop
11438 ac_wine_try_cflags_saved=$CFLAGS
11439 ac_wine_try_cflags_saved_exeext=$ac_exeext
11440 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11441 ac_exeext=".exe"
11442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11443 /* end confdefs.h. */
11444 int __cdecl mainCRTStartup(void) { return 0; }
11445 _ACEOF
11446 if ac_fn_c_try_link "$LINENO"
11447 then :
11448 eval "$as_ac_var=yes"
11449 else $as_nop
11450 eval "$as_ac_var=no"
11452 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11453 conftest$ac_exeext conftest.$ac_ext
11454 CFLAGS=$ac_wine_try_cflags_saved
11455 ac_exeext=$ac_wine_try_cflags_saved_exeext
11457 eval ac_res=\$$as_ac_var
11458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11459 printf "%s\n" "$ac_res" >&6; }
11460 if eval test \"x\$"$as_ac_var"\" = x"yes"
11461 then :
11462 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11463 fi }
11464 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11466 printf %s "checking whether $CC supports -mcx16... " >&6; }
11467 if eval test \${$as_ac_var+y}
11468 then :
11469 printf %s "(cached) " >&6
11470 else $as_nop
11471 ac_wine_try_cflags_saved=$CFLAGS
11472 ac_wine_try_cflags_saved_exeext=$ac_exeext
11473 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11474 ac_exeext=".exe"
11475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11476 /* end confdefs.h. */
11477 int __cdecl mainCRTStartup(void) { return 0; }
11478 _ACEOF
11479 if ac_fn_c_try_link "$LINENO"
11480 then :
11481 eval "$as_ac_var=yes"
11482 else $as_nop
11483 eval "$as_ac_var=no"
11485 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11486 conftest$ac_exeext conftest.$ac_ext
11487 CFLAGS=$ac_wine_try_cflags_saved
11488 ac_exeext=$ac_wine_try_cflags_saved_exeext
11490 eval ac_res=\$$as_ac_var
11491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11492 printf "%s\n" "$ac_res" >&6; }
11493 if eval test \"x\$"$as_ac_var"\" = x"yes"
11494 then :
11495 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11496 fi }
11497 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" | $as_tr_sh`
11498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11499 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11500 if eval test \${$as_ac_var+y}
11501 then :
11502 printf %s "(cached) " >&6
11503 else $as_nop
11504 ac_wine_try_cflags_saved=$CFLAGS
11505 ac_wine_try_cflags_saved_exeext=$ac_exeext
11506 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11507 ac_exeext=".exe"
11508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11509 /* end confdefs.h. */
11510 int __cdecl mainCRTStartup(void) { return 0; }
11511 _ACEOF
11512 if ac_fn_c_try_link "$LINENO"
11513 then :
11514 eval "$as_ac_var=yes"
11515 else $as_nop
11516 eval "$as_ac_var=no"
11518 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11519 conftest$ac_exeext conftest.$ac_ext
11520 CFLAGS=$ac_wine_try_cflags_saved
11521 ac_exeext=$ac_wine_try_cflags_saved_exeext
11523 eval ac_res=\$$as_ac_var
11524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11525 printf "%s\n" "$ac_res" >&6; }
11526 if eval test \"x\$"$as_ac_var"\" = x"yes"
11527 then :
11528 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11529 fi } ;;
11530 esac
11532 wine_crossdebug=$CROSSDEBUG
11533 if test -z "$wine_crossdebug"
11534 then
11535 for ac_flag in $CFLAGS; do
11536 case $ac_flag in
11537 -gdwarf*) wine_crossdebug=dwarf ;;
11538 -gcodeview) wine_crossdebug=pdb ;;
11539 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11540 esac
11541 done
11544 ac_debug_format_seen=""
11545 for ac_flag in $CFLAGS; do
11546 case $ac_flag in
11547 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11548 esac
11549 done
11550 if test "x$ac_debug_format_seen" = x
11551 then
11552 case $wine_crossdebug in
11553 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11555 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11556 if eval test \${$as_ac_var+y}
11557 then :
11558 printf %s "(cached) " >&6
11559 else $as_nop
11560 ac_wine_try_cflags_saved=$CFLAGS
11561 ac_wine_try_cflags_saved_exeext=$ac_exeext
11562 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11563 ac_exeext=".exe"
11564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11565 /* end confdefs.h. */
11566 int __cdecl mainCRTStartup(void) { return 0; }
11567 _ACEOF
11568 if ac_fn_c_try_link "$LINENO"
11569 then :
11570 eval "$as_ac_var=yes"
11571 else $as_nop
11572 eval "$as_ac_var=no"
11574 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11575 conftest$ac_exeext conftest.$ac_ext
11576 CFLAGS=$ac_wine_try_cflags_saved
11577 ac_exeext=$ac_wine_try_cflags_saved_exeext
11579 eval ac_res=\$$as_ac_var
11580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11581 printf "%s\n" "$ac_res" >&6; }
11582 if eval test \"x\$"$as_ac_var"\" = x"yes"
11583 then :
11584 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11585 fi } ;;
11586 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11588 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11589 if eval test \${$as_ac_var+y}
11590 then :
11591 printf %s "(cached) " >&6
11592 else $as_nop
11593 ac_wine_try_cflags_saved=$CFLAGS
11594 ac_wine_try_cflags_saved_exeext=$ac_exeext
11595 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11596 ac_exeext=".exe"
11597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11598 /* end confdefs.h. */
11599 int __cdecl mainCRTStartup(void) { return 0; }
11600 _ACEOF
11601 if ac_fn_c_try_link "$LINENO"
11602 then :
11603 eval "$as_ac_var=yes"
11604 else $as_nop
11605 eval "$as_ac_var=no"
11607 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11608 conftest$ac_exeext conftest.$ac_ext
11609 CFLAGS=$ac_wine_try_cflags_saved
11610 ac_exeext=$ac_wine_try_cflags_saved_exeext
11612 eval ac_res=\$$as_ac_var
11613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11614 printf "%s\n" "$ac_res" >&6; }
11615 if eval test \"x\$"$as_ac_var"\" = x"yes"
11616 then :
11617 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11618 fi } ;;
11619 esac
11621 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11623 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11625 printf %s "checking whether $CC supports -Werror... " >&6; }
11626 if eval test \${$as_ac_var+y}
11627 then :
11628 printf %s "(cached) " >&6
11629 else $as_nop
11630 ac_wine_try_cflags_saved=$CFLAGS
11631 ac_wine_try_cflags_saved_exeext=$ac_exeext
11632 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11633 ac_exeext=".exe"
11634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11635 /* end confdefs.h. */
11636 int __cdecl mainCRTStartup(void) { return 0; }
11637 _ACEOF
11638 if ac_fn_c_try_link "$LINENO"
11639 then :
11640 eval "$as_ac_var=yes"
11641 else $as_nop
11642 eval "$as_ac_var=no"
11644 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11645 conftest$ac_exeext conftest.$ac_ext
11646 CFLAGS=$ac_wine_try_cflags_saved
11647 ac_exeext=$ac_wine_try_cflags_saved_exeext
11649 eval ac_res=\$$as_ac_var
11650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11651 printf "%s\n" "$ac_res" >&6; }
11652 if eval test \"x\$"$as_ac_var"\" = x"yes"
11653 then :
11654 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11655 fi }
11656 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11658 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11659 if eval test \${$as_ac_var+y}
11660 then :
11661 printf %s "(cached) " >&6
11662 else $as_nop
11663 ac_wine_try_cflags_saved=$CFLAGS
11664 ac_wine_try_cflags_saved_exeext=$ac_exeext
11665 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11666 ac_exeext=".exe"
11667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11668 /* end confdefs.h. */
11669 int __cdecl mainCRTStartup(void) { return 0; }
11670 _ACEOF
11671 if ac_fn_c_try_link "$LINENO"
11672 then :
11673 eval "$as_ac_var=yes"
11674 else $as_nop
11675 eval "$as_ac_var=no"
11677 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11678 conftest$ac_exeext conftest.$ac_ext
11679 CFLAGS=$ac_wine_try_cflags_saved
11680 ac_exeext=$ac_wine_try_cflags_saved_exeext
11682 eval ac_res=\$$as_ac_var
11683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11684 printf "%s\n" "$ac_res" >&6; }
11685 if eval test \"x\$"$as_ac_var"\" = x"yes"
11686 then :
11687 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11688 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11689 fi }
11691 CC=$saved_CC
11692 CFLAGS=$saved_CFLAGS
11693 LDFLAGS=$saved_LDFLAGS
11694 done
11696 if test $HOST_ARCH = aarch64
11697 then
11698 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
11699 DLLEXT=""
11703 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11704 then
11705 if test "x$HOST_ARCH" = xi386
11706 then :
11707 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config "
11708 else $as_nop
11709 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config"
11711 for ac_prog in $ac_prefix_list
11713 # Extract the first word of "$ac_prog", so it can be a program name with args.
11714 set dummy $ac_prog; ac_word=$2
11715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11716 printf %s "checking for $ac_word... " >&6; }
11717 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11718 then :
11719 printf %s "(cached) " >&6
11720 else $as_nop
11721 if test -n "$MINGW_PKG_CONFIG"; then
11722 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11723 else
11724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11725 for as_dir in $PATH
11727 IFS=$as_save_IFS
11728 case $as_dir in #(((
11729 '') as_dir=./ ;;
11730 */) ;;
11731 *) as_dir=$as_dir/ ;;
11732 esac
11733 for ac_exec_ext in '' $ac_executable_extensions; do
11734 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11735 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11737 break 2
11739 done
11740 done
11741 IFS=$as_save_IFS
11745 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11746 if test -n "$MINGW_PKG_CONFIG"; then
11747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11748 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11749 else
11750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11751 printf "%s\n" "no" >&6; }
11755 test -n "$MINGW_PKG_CONFIG" && break
11756 done
11757 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11759 if ${FAUDIO_PE_CFLAGS:+false} :
11760 then :
11761 if test ${MINGW_PKG_CONFIG+y}
11762 then :
11763 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11766 if ${FAUDIO_PE_LIBS:+false} :
11767 then :
11768 if test ${MINGW_PKG_CONFIG+y}
11769 then :
11770 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11773 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11774 ac_save_CPPFLAGS=$CPPFLAGS
11775 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11777 printf %s "checking for MinGW FAudio.h... " >&6; }
11778 if test ${ac_cv_mingw_header_FAudio_h+y}
11779 then :
11780 printf %s "(cached) " >&6
11781 else $as_nop
11782 ac_wine_check_headers_saved_cc=$CC
11783 ac_wine_check_headers_saved_exeext=$ac_exeext
11784 eval CC=\$${wine_arch}_CC
11785 ac_exeext=".exe"
11786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11787 /* end confdefs.h. */
11789 #include <FAudio.h>
11791 main (void)
11795 return 0;
11797 _ACEOF
11798 if ac_fn_c_try_compile "$LINENO"
11799 then :
11800 ac_cv_mingw_header_FAudio_h=yes
11801 else $as_nop
11802 ac_cv_mingw_header_FAudio_h=no
11804 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11805 CC=$ac_wine_check_headers_saved_cc
11806 ac_exeext=$ac_wine_check_headers_saved_exeext
11808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11809 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11810 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11811 then :
11812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11813 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11814 if test ${ac_cv_mingw_lib_FAudio+y}
11815 then :
11816 printf %s "(cached) " >&6
11817 else $as_nop
11818 ac_wine_check_headers_saved_cc=$CC
11819 ac_wine_check_headers_saved_exeext=$ac_exeext
11820 ac_wine_check_headers_saved_libs=$LIBS
11821 eval CC=\$${wine_arch}_CC
11822 ac_exeext=".exe"
11823 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11825 /* end confdefs.h. */
11827 /* Override any GCC internal prototype to avoid an error.
11828 Use char because int might match the return type of a GCC
11829 builtin and then its argument prototype would still apply. */
11830 char FAudio_CommitOperationSet ();
11832 main (void)
11834 return FAudio_CommitOperationSet ();
11836 return 0;
11838 _ACEOF
11839 if ac_fn_c_try_link "$LINENO"
11840 then :
11841 ac_cv_mingw_lib_FAudio=yes
11842 else $as_nop
11843 ac_cv_mingw_lib_FAudio=no
11845 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11846 conftest$ac_exeext conftest.$ac_ext
11847 CC=$ac_wine_check_headers_saved_cc
11848 ac_exeext=$ac_wine_check_headers_saved_exeext
11849 LIBS=$ac_wine_check_headers_saved_libs
11851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11852 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11853 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11854 then :
11856 else $as_nop
11857 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11859 else $as_nop
11860 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11862 CPPFLAGS=$ac_save_CPPFLAGS
11864 if test "x$FAUDIO_PE_LIBS" = "x"
11865 then
11866 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11869 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
11870 then :
11871 if test ${MINGW_PKG_CONFIG+y}
11872 then :
11873 FLUIDSYNTH_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags fluidsynth 2>/dev/null`
11876 if ${FLUIDSYNTH_PE_LIBS:+false} :
11877 then :
11878 if test ${MINGW_PKG_CONFIG+y}
11879 then :
11880 FLUIDSYNTH_PE_LIBS=`$MINGW_PKG_CONFIG --libs fluidsynth 2>/dev/null`
11883 FLUIDSYNTH_PE_LIBS=${FLUIDSYNTH_PE_LIBS:-"-lfluidsynth"}
11884 ac_save_CPPFLAGS=$CPPFLAGS
11885 CPPFLAGS="$CPPFLAGS $FLUIDSYNTH_PE_CFLAGS"
11886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW fluidsynth.h" >&5
11887 printf %s "checking for MinGW fluidsynth.h... " >&6; }
11888 if test ${ac_cv_mingw_header_fluidsynth_h+y}
11889 then :
11890 printf %s "(cached) " >&6
11891 else $as_nop
11892 ac_wine_check_headers_saved_cc=$CC
11893 ac_wine_check_headers_saved_exeext=$ac_exeext
11894 eval CC=\$${wine_arch}_CC
11895 ac_exeext=".exe"
11896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11897 /* end confdefs.h. */
11899 #include <fluidsynth.h>
11901 main (void)
11905 return 0;
11907 _ACEOF
11908 if ac_fn_c_try_compile "$LINENO"
11909 then :
11910 ac_cv_mingw_header_fluidsynth_h=yes
11911 else $as_nop
11912 ac_cv_mingw_header_fluidsynth_h=no
11914 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11915 CC=$ac_wine_check_headers_saved_cc
11916 ac_exeext=$ac_wine_check_headers_saved_exeext
11918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_fluidsynth_h" >&5
11919 printf "%s\n" "$ac_cv_mingw_header_fluidsynth_h" >&6; }
11920 if test "x$ac_cv_mingw_header_fluidsynth_h" = xyes
11921 then :
11922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for new_fluid_synth in MinGW -lfluidsynth" >&5
11923 printf %s "checking for new_fluid_synth in MinGW -lfluidsynth... " >&6; }
11924 if test ${ac_cv_mingw_lib_fluidsynth+y}
11925 then :
11926 printf %s "(cached) " >&6
11927 else $as_nop
11928 ac_wine_check_headers_saved_cc=$CC
11929 ac_wine_check_headers_saved_exeext=$ac_exeext
11930 ac_wine_check_headers_saved_libs=$LIBS
11931 eval CC=\$${wine_arch}_CC
11932 ac_exeext=".exe"
11933 LIBS="-lfluidsynth $FLUIDSYNTH_PE_LIBS $LIBS"
11934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11935 /* end confdefs.h. */
11937 /* Override any GCC internal prototype to avoid an error.
11938 Use char because int might match the return type of a GCC
11939 builtin and then its argument prototype would still apply. */
11940 char new_fluid_synth ();
11942 main (void)
11944 return new_fluid_synth ();
11946 return 0;
11948 _ACEOF
11949 if ac_fn_c_try_link "$LINENO"
11950 then :
11951 ac_cv_mingw_lib_fluidsynth=yes
11952 else $as_nop
11953 ac_cv_mingw_lib_fluidsynth=no
11955 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11956 conftest$ac_exeext conftest.$ac_ext
11957 CC=$ac_wine_check_headers_saved_cc
11958 ac_exeext=$ac_wine_check_headers_saved_exeext
11959 LIBS=$ac_wine_check_headers_saved_libs
11961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_fluidsynth" >&5
11962 printf "%s\n" "$ac_cv_mingw_lib_fluidsynth" >&6; }
11963 if test "x$ac_cv_mingw_lib_fluidsynth" = xyes
11964 then :
11966 else $as_nop
11967 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
11969 else $as_nop
11970 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
11972 CPPFLAGS=$ac_save_CPPFLAGS
11974 if test "x$FLUIDSYNTH_PE_LIBS" = "x"
11975 then
11976 as_fn_append wine_notices "|Fluidsynth ${notice_platform}MinGW development files not found (or too old); using bundled version."
11979 if ${JPEG_PE_CFLAGS:+false} :
11980 then :
11981 if test ${MINGW_PKG_CONFIG+y}
11982 then :
11983 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11986 if ${JPEG_PE_LIBS:+false} :
11987 then :
11988 if test ${MINGW_PKG_CONFIG+y}
11989 then :
11990 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11994 ac_save_CPPFLAGS=$CPPFLAGS
11995 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11997 printf %s "checking for MinGW jpeglib.h... " >&6; }
11998 if test ${ac_cv_mingw_header_jpeglib_h+y}
11999 then :
12000 printf %s "(cached) " >&6
12001 else $as_nop
12002 ac_wine_check_headers_saved_cc=$CC
12003 ac_wine_check_headers_saved_exeext=$ac_exeext
12004 eval CC=\$${wine_arch}_CC
12005 ac_exeext=".exe"
12006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12007 /* end confdefs.h. */
12008 #include <stddef.h>
12009 #include <stdio.h>
12010 #include <jpeglib.h>
12012 main (void)
12016 return 0;
12018 _ACEOF
12019 if ac_fn_c_try_compile "$LINENO"
12020 then :
12021 ac_cv_mingw_header_jpeglib_h=yes
12022 else $as_nop
12023 ac_cv_mingw_header_jpeglib_h=no
12025 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12026 CC=$ac_wine_check_headers_saved_cc
12027 ac_exeext=$ac_wine_check_headers_saved_exeext
12029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12030 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12031 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12032 then :
12033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12034 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12035 if test ${ac_cv_mingw_lib_jpeg+y}
12036 then :
12037 printf %s "(cached) " >&6
12038 else $as_nop
12039 ac_wine_check_headers_saved_cc=$CC
12040 ac_wine_check_headers_saved_exeext=$ac_exeext
12041 ac_wine_check_headers_saved_libs=$LIBS
12042 eval CC=\$${wine_arch}_CC
12043 ac_exeext=".exe"
12044 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12046 /* end confdefs.h. */
12048 /* Override any GCC internal prototype to avoid an error.
12049 Use char because int might match the return type of a GCC
12050 builtin and then its argument prototype would still apply. */
12051 char jpeg_start_decompress ();
12053 main (void)
12055 return jpeg_start_decompress ();
12057 return 0;
12059 _ACEOF
12060 if ac_fn_c_try_link "$LINENO"
12061 then :
12062 ac_cv_mingw_lib_jpeg=yes
12063 else $as_nop
12064 ac_cv_mingw_lib_jpeg=no
12066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12067 conftest$ac_exeext conftest.$ac_ext
12068 CC=$ac_wine_check_headers_saved_cc
12069 ac_exeext=$ac_wine_check_headers_saved_exeext
12070 LIBS=$ac_wine_check_headers_saved_libs
12072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12073 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12074 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12075 then :
12077 else $as_nop
12078 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12080 else $as_nop
12081 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12083 CPPFLAGS=$ac_save_CPPFLAGS
12085 if test "x$JPEG_PE_LIBS" = "x"
12086 then
12087 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12090 if ${LCMS2_PE_CFLAGS:+false} :
12091 then :
12092 if test ${MINGW_PKG_CONFIG+y}
12093 then :
12094 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12097 if ${LCMS2_PE_LIBS:+false} :
12098 then :
12099 if test ${MINGW_PKG_CONFIG+y}
12100 then :
12101 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12104 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12105 ac_save_CPPFLAGS=$CPPFLAGS
12106 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12108 printf %s "checking for MinGW lcms2.h... " >&6; }
12109 if test ${ac_cv_mingw_header_lcms2_h+y}
12110 then :
12111 printf %s "(cached) " >&6
12112 else $as_nop
12113 ac_wine_check_headers_saved_cc=$CC
12114 ac_wine_check_headers_saved_exeext=$ac_exeext
12115 eval CC=\$${wine_arch}_CC
12116 ac_exeext=".exe"
12117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12118 /* end confdefs.h. */
12120 #include <lcms2.h>
12122 main (void)
12126 return 0;
12128 _ACEOF
12129 if ac_fn_c_try_compile "$LINENO"
12130 then :
12131 ac_cv_mingw_header_lcms2_h=yes
12132 else $as_nop
12133 ac_cv_mingw_header_lcms2_h=no
12135 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12136 CC=$ac_wine_check_headers_saved_cc
12137 ac_exeext=$ac_wine_check_headers_saved_exeext
12139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12140 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12141 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12142 then :
12143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12144 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12145 if test ${ac_cv_mingw_lib_lcms2+y}
12146 then :
12147 printf %s "(cached) " >&6
12148 else $as_nop
12149 ac_wine_check_headers_saved_cc=$CC
12150 ac_wine_check_headers_saved_exeext=$ac_exeext
12151 ac_wine_check_headers_saved_libs=$LIBS
12152 eval CC=\$${wine_arch}_CC
12153 ac_exeext=".exe"
12154 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12156 /* end confdefs.h. */
12158 /* Override any GCC internal prototype to avoid an error.
12159 Use char because int might match the return type of a GCC
12160 builtin and then its argument prototype would still apply. */
12161 char cmsOpenProfileFromFile ();
12163 main (void)
12165 return cmsOpenProfileFromFile ();
12167 return 0;
12169 _ACEOF
12170 if ac_fn_c_try_link "$LINENO"
12171 then :
12172 ac_cv_mingw_lib_lcms2=yes
12173 else $as_nop
12174 ac_cv_mingw_lib_lcms2=no
12176 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12177 conftest$ac_exeext conftest.$ac_ext
12178 CC=$ac_wine_check_headers_saved_cc
12179 ac_exeext=$ac_wine_check_headers_saved_exeext
12180 LIBS=$ac_wine_check_headers_saved_libs
12182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12183 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12184 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12185 then :
12187 else $as_nop
12188 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12190 else $as_nop
12191 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12193 CPPFLAGS=$ac_save_CPPFLAGS
12195 if test "x$LCMS2_PE_LIBS" = "x"
12196 then
12197 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12200 if ${MPG123_PE_CFLAGS:+false} :
12201 then :
12202 if test ${MINGW_PKG_CONFIG+y}
12203 then :
12204 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12207 if ${MPG123_PE_LIBS:+false} :
12208 then :
12209 if test ${MINGW_PKG_CONFIG+y}
12210 then :
12211 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12214 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12215 ac_save_CPPFLAGS=$CPPFLAGS
12216 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12218 printf %s "checking for MinGW mpg123.h... " >&6; }
12219 if test ${ac_cv_mingw_header_mpg123_h+y}
12220 then :
12221 printf %s "(cached) " >&6
12222 else $as_nop
12223 ac_wine_check_headers_saved_cc=$CC
12224 ac_wine_check_headers_saved_exeext=$ac_exeext
12225 eval CC=\$${wine_arch}_CC
12226 ac_exeext=".exe"
12227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12228 /* end confdefs.h. */
12230 #include <mpg123.h>
12232 main (void)
12236 return 0;
12238 _ACEOF
12239 if ac_fn_c_try_compile "$LINENO"
12240 then :
12241 ac_cv_mingw_header_mpg123_h=yes
12242 else $as_nop
12243 ac_cv_mingw_header_mpg123_h=no
12245 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12246 CC=$ac_wine_check_headers_saved_cc
12247 ac_exeext=$ac_wine_check_headers_saved_exeext
12249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12250 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12251 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12252 then :
12253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12254 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12255 if test ${ac_cv_mingw_lib_mpg123+y}
12256 then :
12257 printf %s "(cached) " >&6
12258 else $as_nop
12259 ac_wine_check_headers_saved_cc=$CC
12260 ac_wine_check_headers_saved_exeext=$ac_exeext
12261 ac_wine_check_headers_saved_libs=$LIBS
12262 eval CC=\$${wine_arch}_CC
12263 ac_exeext=".exe"
12264 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12266 /* end confdefs.h. */
12268 /* Override any GCC internal prototype to avoid an error.
12269 Use char because int might match the return type of a GCC
12270 builtin and then its argument prototype would still apply. */
12271 char mpg123_feed ();
12273 main (void)
12275 return mpg123_feed ();
12277 return 0;
12279 _ACEOF
12280 if ac_fn_c_try_link "$LINENO"
12281 then :
12282 ac_cv_mingw_lib_mpg123=yes
12283 else $as_nop
12284 ac_cv_mingw_lib_mpg123=no
12286 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12287 conftest$ac_exeext conftest.$ac_ext
12288 CC=$ac_wine_check_headers_saved_cc
12289 ac_exeext=$ac_wine_check_headers_saved_exeext
12290 LIBS=$ac_wine_check_headers_saved_libs
12292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12293 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12294 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12295 then :
12297 else $as_nop
12298 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12300 else $as_nop
12301 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12303 CPPFLAGS=$ac_save_CPPFLAGS
12305 if test "x$MPG123_PE_LIBS" = "x"
12306 then
12307 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12310 if ${PNG_PE_CFLAGS:+false} :
12311 then :
12312 if test ${MINGW_PKG_CONFIG+y}
12313 then :
12314 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12317 if ${PNG_PE_LIBS:+false} :
12318 then :
12319 if test ${MINGW_PKG_CONFIG+y}
12320 then :
12321 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12325 ac_save_CPPFLAGS=$CPPFLAGS
12326 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12328 printf %s "checking for MinGW png.h... " >&6; }
12329 if test ${ac_cv_mingw_header_png_h+y}
12330 then :
12331 printf %s "(cached) " >&6
12332 else $as_nop
12333 ac_wine_check_headers_saved_cc=$CC
12334 ac_wine_check_headers_saved_exeext=$ac_exeext
12335 eval CC=\$${wine_arch}_CC
12336 ac_exeext=".exe"
12337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12338 /* end confdefs.h. */
12340 #include <png.h>
12342 main (void)
12346 return 0;
12348 _ACEOF
12349 if ac_fn_c_try_compile "$LINENO"
12350 then :
12351 ac_cv_mingw_header_png_h=yes
12352 else $as_nop
12353 ac_cv_mingw_header_png_h=no
12355 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12356 CC=$ac_wine_check_headers_saved_cc
12357 ac_exeext=$ac_wine_check_headers_saved_exeext
12359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12360 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12361 if test "x$ac_cv_mingw_header_png_h" = xyes
12362 then :
12363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12364 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12365 if test ${ac_cv_mingw_lib_png+y}
12366 then :
12367 printf %s "(cached) " >&6
12368 else $as_nop
12369 ac_wine_check_headers_saved_cc=$CC
12370 ac_wine_check_headers_saved_exeext=$ac_exeext
12371 ac_wine_check_headers_saved_libs=$LIBS
12372 eval CC=\$${wine_arch}_CC
12373 ac_exeext=".exe"
12374 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12376 /* end confdefs.h. */
12378 /* Override any GCC internal prototype to avoid an error.
12379 Use char because int might match the return type of a GCC
12380 builtin and then its argument prototype would still apply. */
12381 char png_create_read_struct ();
12383 main (void)
12385 return png_create_read_struct ();
12387 return 0;
12389 _ACEOF
12390 if ac_fn_c_try_link "$LINENO"
12391 then :
12392 ac_cv_mingw_lib_png=yes
12393 else $as_nop
12394 ac_cv_mingw_lib_png=no
12396 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12397 conftest$ac_exeext conftest.$ac_ext
12398 CC=$ac_wine_check_headers_saved_cc
12399 ac_exeext=$ac_wine_check_headers_saved_exeext
12400 LIBS=$ac_wine_check_headers_saved_libs
12402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12403 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12404 if test "x$ac_cv_mingw_lib_png" = xyes
12405 then :
12407 else $as_nop
12408 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12410 else $as_nop
12411 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12413 CPPFLAGS=$ac_save_CPPFLAGS
12415 if test "x$PNG_PE_LIBS" = "x"
12416 then
12417 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12420 if ${TIFF_PE_CFLAGS:+false} :
12421 then :
12422 if test ${MINGW_PKG_CONFIG+y}
12423 then :
12424 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12427 if ${TIFF_PE_LIBS:+false} :
12428 then :
12429 if test ${MINGW_PKG_CONFIG+y}
12430 then :
12431 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12435 ac_save_CPPFLAGS=$CPPFLAGS
12436 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12438 printf %s "checking for MinGW tiffio.h... " >&6; }
12439 if test ${ac_cv_mingw_header_tiffio_h+y}
12440 then :
12441 printf %s "(cached) " >&6
12442 else $as_nop
12443 ac_wine_check_headers_saved_cc=$CC
12444 ac_wine_check_headers_saved_exeext=$ac_exeext
12445 eval CC=\$${wine_arch}_CC
12446 ac_exeext=".exe"
12447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12448 /* end confdefs.h. */
12450 #include <tiffio.h>
12452 main (void)
12456 return 0;
12458 _ACEOF
12459 if ac_fn_c_try_compile "$LINENO"
12460 then :
12461 ac_cv_mingw_header_tiffio_h=yes
12462 else $as_nop
12463 ac_cv_mingw_header_tiffio_h=no
12465 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12466 CC=$ac_wine_check_headers_saved_cc
12467 ac_exeext=$ac_wine_check_headers_saved_exeext
12469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12470 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12471 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12472 then :
12473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12474 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12475 if test ${ac_cv_mingw_lib_tiff+y}
12476 then :
12477 printf %s "(cached) " >&6
12478 else $as_nop
12479 ac_wine_check_headers_saved_cc=$CC
12480 ac_wine_check_headers_saved_exeext=$ac_exeext
12481 ac_wine_check_headers_saved_libs=$LIBS
12482 eval CC=\$${wine_arch}_CC
12483 ac_exeext=".exe"
12484 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12486 /* end confdefs.h. */
12488 /* Override any GCC internal prototype to avoid an error.
12489 Use char because int might match the return type of a GCC
12490 builtin and then its argument prototype would still apply. */
12491 char TIFFClientOpen ();
12493 main (void)
12495 return TIFFClientOpen ();
12497 return 0;
12499 _ACEOF
12500 if ac_fn_c_try_link "$LINENO"
12501 then :
12502 ac_cv_mingw_lib_tiff=yes
12503 else $as_nop
12504 ac_cv_mingw_lib_tiff=no
12506 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12507 conftest$ac_exeext conftest.$ac_ext
12508 CC=$ac_wine_check_headers_saved_cc
12509 ac_exeext=$ac_wine_check_headers_saved_exeext
12510 LIBS=$ac_wine_check_headers_saved_libs
12512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12513 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12514 if test "x$ac_cv_mingw_lib_tiff" = xyes
12515 then :
12517 else $as_nop
12518 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12520 else $as_nop
12521 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12523 CPPFLAGS=$ac_save_CPPFLAGS
12525 if test "x$TIFF_PE_LIBS" = "x"
12526 then
12527 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12530 if ${XML2_PE_CFLAGS:+false} :
12531 then :
12532 if test ${MINGW_PKG_CONFIG+y}
12533 then :
12534 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12537 if ${XML2_PE_LIBS:+false} :
12538 then :
12539 if test ${MINGW_PKG_CONFIG+y}
12540 then :
12541 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12544 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12545 ac_save_CPPFLAGS=$CPPFLAGS
12546 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12548 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12549 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12550 then :
12551 printf %s "(cached) " >&6
12552 else $as_nop
12553 ac_wine_check_headers_saved_cc=$CC
12554 ac_wine_check_headers_saved_exeext=$ac_exeext
12555 eval CC=\$${wine_arch}_CC
12556 ac_exeext=".exe"
12557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12558 /* end confdefs.h. */
12560 #include <libxml/parser.h>
12562 main (void)
12566 return 0;
12568 _ACEOF
12569 if ac_fn_c_try_compile "$LINENO"
12570 then :
12571 ac_cv_mingw_header_libxml_parser_h=yes
12572 else $as_nop
12573 ac_cv_mingw_header_libxml_parser_h=no
12575 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12576 CC=$ac_wine_check_headers_saved_cc
12577 ac_exeext=$ac_wine_check_headers_saved_exeext
12579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12580 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12581 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12582 then :
12585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12586 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12587 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12588 then :
12589 printf %s "(cached) " >&6
12590 else $as_nop
12591 ac_wine_check_headers_saved_cc=$CC
12592 ac_wine_check_headers_saved_exeext=$ac_exeext
12593 eval CC=\$${wine_arch}_CC
12594 ac_exeext=".exe"
12595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12596 /* end confdefs.h. */
12598 #include <libxml/xmlsave.h>
12600 main (void)
12604 return 0;
12606 _ACEOF
12607 if ac_fn_c_try_compile "$LINENO"
12608 then :
12609 ac_cv_mingw_header_libxml_xmlsave_h=yes
12610 else $as_nop
12611 ac_cv_mingw_header_libxml_xmlsave_h=no
12613 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12614 CC=$ac_wine_check_headers_saved_cc
12615 ac_exeext=$ac_wine_check_headers_saved_exeext
12617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12618 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12619 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12620 then :
12623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12624 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12625 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12626 then :
12627 printf %s "(cached) " >&6
12628 else $as_nop
12629 ac_wine_check_headers_saved_cc=$CC
12630 ac_wine_check_headers_saved_exeext=$ac_exeext
12631 eval CC=\$${wine_arch}_CC
12632 ac_exeext=".exe"
12633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12634 /* end confdefs.h. */
12636 #include <libxml/SAX2.h>
12638 main (void)
12642 return 0;
12644 _ACEOF
12645 if ac_fn_c_try_compile "$LINENO"
12646 then :
12647 ac_cv_mingw_header_libxml_SAX2_h=yes
12648 else $as_nop
12649 ac_cv_mingw_header_libxml_SAX2_h=no
12651 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12652 CC=$ac_wine_check_headers_saved_cc
12653 ac_exeext=$ac_wine_check_headers_saved_exeext
12655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12656 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12657 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12658 then :
12661 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"
12662 then
12663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12664 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12665 if test ${ac_cv_mingw_lib_xml2+y}
12666 then :
12667 printf %s "(cached) " >&6
12668 else $as_nop
12669 ac_wine_check_headers_saved_cc=$CC
12670 ac_wine_check_headers_saved_exeext=$ac_exeext
12671 ac_wine_check_headers_saved_libs=$LIBS
12672 eval CC=\$${wine_arch}_CC
12673 ac_exeext=".exe"
12674 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12676 /* end confdefs.h. */
12678 /* Override any GCC internal prototype to avoid an error.
12679 Use char because int might match the return type of a GCC
12680 builtin and then its argument prototype would still apply. */
12681 char xmlFirstElementChild ();
12683 main (void)
12685 return xmlFirstElementChild ();
12687 return 0;
12689 _ACEOF
12690 if ac_fn_c_try_link "$LINENO"
12691 then :
12692 ac_cv_mingw_lib_xml2=yes
12693 else $as_nop
12694 ac_cv_mingw_lib_xml2=no
12696 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12697 conftest$ac_exeext conftest.$ac_ext
12698 CC=$ac_wine_check_headers_saved_cc
12699 ac_exeext=$ac_wine_check_headers_saved_exeext
12700 LIBS=$ac_wine_check_headers_saved_libs
12702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12703 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12704 if test "x$ac_cv_mingw_lib_xml2" = xyes
12705 then :
12707 else $as_nop
12708 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12710 else
12711 XML2_PE_CFLAGS=""
12712 XML2_PE_LIBS=""
12714 CPPFLAGS=$ac_save_CPPFLAGS
12716 if test "x$XML2_PE_LIBS" = "x"
12717 then
12718 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12721 if ${XSLT_PE_CFLAGS:+false} :
12722 then :
12723 if test ${MINGW_PKG_CONFIG+y}
12724 then :
12725 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12728 if ${XSLT_PE_LIBS:+false} :
12729 then :
12730 if test ${MINGW_PKG_CONFIG+y}
12731 then :
12732 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12735 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12736 ac_save_CPPFLAGS=$CPPFLAGS
12737 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12739 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12740 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12741 then :
12742 printf %s "(cached) " >&6
12743 else $as_nop
12744 ac_wine_check_headers_saved_cc=$CC
12745 ac_wine_check_headers_saved_exeext=$ac_exeext
12746 eval CC=\$${wine_arch}_CC
12747 ac_exeext=".exe"
12748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12749 /* end confdefs.h. */
12751 #include <libxslt/pattern.h>
12753 main (void)
12757 return 0;
12759 _ACEOF
12760 if ac_fn_c_try_compile "$LINENO"
12761 then :
12762 ac_cv_mingw_header_libxslt_pattern_h=yes
12763 else $as_nop
12764 ac_cv_mingw_header_libxslt_pattern_h=no
12766 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12767 CC=$ac_wine_check_headers_saved_cc
12768 ac_exeext=$ac_wine_check_headers_saved_exeext
12770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12771 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12772 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12773 then :
12776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12777 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12778 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12779 then :
12780 printf %s "(cached) " >&6
12781 else $as_nop
12782 ac_wine_check_headers_saved_cc=$CC
12783 ac_wine_check_headers_saved_exeext=$ac_exeext
12784 eval CC=\$${wine_arch}_CC
12785 ac_exeext=".exe"
12786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12787 /* end confdefs.h. */
12789 #include <libxslt/transform.h>
12791 main (void)
12795 return 0;
12797 _ACEOF
12798 if ac_fn_c_try_compile "$LINENO"
12799 then :
12800 ac_cv_mingw_header_libxslt_transform_h=yes
12801 else $as_nop
12802 ac_cv_mingw_header_libxslt_transform_h=no
12804 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12805 CC=$ac_wine_check_headers_saved_cc
12806 ac_exeext=$ac_wine_check_headers_saved_exeext
12808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12809 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12810 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12811 then :
12814 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12815 then
12816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12817 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12818 if test ${ac_cv_mingw_lib_xslt+y}
12819 then :
12820 printf %s "(cached) " >&6
12821 else $as_nop
12822 ac_wine_check_headers_saved_cc=$CC
12823 ac_wine_check_headers_saved_exeext=$ac_exeext
12824 ac_wine_check_headers_saved_libs=$LIBS
12825 eval CC=\$${wine_arch}_CC
12826 ac_exeext=".exe"
12827 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12829 /* end confdefs.h. */
12831 /* Override any GCC internal prototype to avoid an error.
12832 Use char because int might match the return type of a GCC
12833 builtin and then its argument prototype would still apply. */
12834 char xsltCompilePattern ();
12836 main (void)
12838 return xsltCompilePattern ();
12840 return 0;
12842 _ACEOF
12843 if ac_fn_c_try_link "$LINENO"
12844 then :
12845 ac_cv_mingw_lib_xslt=yes
12846 else $as_nop
12847 ac_cv_mingw_lib_xslt=no
12849 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12850 conftest$ac_exeext conftest.$ac_ext
12851 CC=$ac_wine_check_headers_saved_cc
12852 ac_exeext=$ac_wine_check_headers_saved_exeext
12853 LIBS=$ac_wine_check_headers_saved_libs
12855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12856 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12857 if test "x$ac_cv_mingw_lib_xslt" = xyes
12858 then :
12860 else $as_nop
12861 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12863 else
12864 XSLT_PE_CFLAGS=""
12865 XSLT_PE_LIBS=""
12867 CPPFLAGS=$ac_save_CPPFLAGS
12869 if test "x$XSLT_PE_LIBS" = "x"
12870 then
12871 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12874 if ${VKD3D_PE_CFLAGS:+false} :
12875 then :
12876 if test ${MINGW_PKG_CONFIG+y}
12877 then :
12878 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12881 if ${VKD3D_PE_LIBS:+false} :
12882 then :
12883 if test ${MINGW_PKG_CONFIG+y}
12884 then :
12885 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12888 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12889 ac_save_CPPFLAGS=$CPPFLAGS
12890 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12892 printf %s "checking for MinGW vkd3d.h... " >&6; }
12893 if test ${ac_cv_mingw_header_vkd3d_h+y}
12894 then :
12895 printf %s "(cached) " >&6
12896 else $as_nop
12897 ac_wine_check_headers_saved_cc=$CC
12898 ac_wine_check_headers_saved_exeext=$ac_exeext
12899 eval CC=\$${wine_arch}_CC
12900 ac_exeext=".exe"
12901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12902 /* end confdefs.h. */
12904 #include <vkd3d.h>
12906 main (void)
12910 return 0;
12912 _ACEOF
12913 if ac_fn_c_try_compile "$LINENO"
12914 then :
12915 ac_cv_mingw_header_vkd3d_h=yes
12916 else $as_nop
12917 ac_cv_mingw_header_vkd3d_h=no
12919 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12920 CC=$ac_wine_check_headers_saved_cc
12921 ac_exeext=$ac_wine_check_headers_saved_exeext
12923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12924 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12925 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12926 then :
12929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12930 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12931 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12932 then :
12933 printf %s "(cached) " >&6
12934 else $as_nop
12935 ac_wine_check_headers_saved_cc=$CC
12936 ac_wine_check_headers_saved_exeext=$ac_exeext
12937 eval CC=\$${wine_arch}_CC
12938 ac_exeext=".exe"
12939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12940 /* end confdefs.h. */
12942 #include <vkd3d_shader.h>
12944 main (void)
12948 return 0;
12950 _ACEOF
12951 if ac_fn_c_try_compile "$LINENO"
12952 then :
12953 ac_cv_mingw_header_vkd3d_shader_h=yes
12954 else $as_nop
12955 ac_cv_mingw_header_vkd3d_shader_h=no
12957 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12958 CC=$ac_wine_check_headers_saved_cc
12959 ac_exeext=$ac_wine_check_headers_saved_exeext
12961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12962 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12963 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12964 then :
12967 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12968 then
12969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12970 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12971 if test ${ac_cv_mingw_lib_vkd3d+y}
12972 then :
12973 printf %s "(cached) " >&6
12974 else $as_nop
12975 ac_wine_check_headers_saved_cc=$CC
12976 ac_wine_check_headers_saved_exeext=$ac_exeext
12977 ac_wine_check_headers_saved_libs=$LIBS
12978 eval CC=\$${wine_arch}_CC
12979 ac_exeext=".exe"
12980 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12982 /* end confdefs.h. */
12984 /* Override any GCC internal prototype to avoid an error.
12985 Use char because int might match the return type of a GCC
12986 builtin and then its argument prototype would still apply. */
12987 char vkd3d_set_log_callback ();
12989 main (void)
12991 return vkd3d_set_log_callback ();
12993 return 0;
12995 _ACEOF
12996 if ac_fn_c_try_link "$LINENO"
12997 then :
12998 ac_cv_mingw_lib_vkd3d=yes
12999 else $as_nop
13000 ac_cv_mingw_lib_vkd3d=no
13002 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13003 conftest$ac_exeext conftest.$ac_ext
13004 CC=$ac_wine_check_headers_saved_cc
13005 ac_exeext=$ac_wine_check_headers_saved_exeext
13006 LIBS=$ac_wine_check_headers_saved_libs
13008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13009 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13010 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13011 then :
13013 else $as_nop
13016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
13017 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
13018 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13019 then :
13020 printf %s "(cached) " >&6
13021 else $as_nop
13022 ac_wine_check_headers_saved_cc=$CC
13023 ac_wine_check_headers_saved_exeext=$ac_exeext
13024 ac_wine_check_headers_saved_libs=$LIBS
13025 eval CC=\$${wine_arch}_CC
13026 ac_exeext=".exe"
13027 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13029 /* end confdefs.h. */
13031 /* Override any GCC internal prototype to avoid an error.
13032 Use char because int might match the return type of a GCC
13033 builtin and then its argument prototype would still apply. */
13034 char vkd3d_shader_serialize_dxbc ();
13036 main (void)
13038 return vkd3d_shader_serialize_dxbc ();
13040 return 0;
13042 _ACEOF
13043 if ac_fn_c_try_link "$LINENO"
13044 then :
13045 ac_cv_mingw_lib_vkd3d_shader=yes
13046 else $as_nop
13047 ac_cv_mingw_lib_vkd3d_shader=no
13049 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13050 conftest$ac_exeext conftest.$ac_ext
13051 CC=$ac_wine_check_headers_saved_cc
13052 ac_exeext=$ac_wine_check_headers_saved_exeext
13053 LIBS=$ac_wine_check_headers_saved_libs
13055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13056 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13057 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13058 then :
13060 else $as_nop
13063 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13064 then
13065 VKD3D_PE_CFLAGS=""
13066 VKD3D_PE_LIBS=""
13068 else
13069 VKD3D_PE_CFLAGS=""
13070 VKD3D_PE_LIBS=""
13072 CPPFLAGS=$ac_save_CPPFLAGS
13074 if test "x$VKD3D_PE_LIBS" = "x"
13075 then
13076 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13079 if ${ZLIB_PE_CFLAGS:+false} :
13080 then :
13081 if test ${MINGW_PKG_CONFIG+y}
13082 then :
13083 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13086 if ${ZLIB_PE_LIBS:+false} :
13087 then :
13088 if test ${MINGW_PKG_CONFIG+y}
13089 then :
13090 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13093 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13094 ac_save_CPPFLAGS=$CPPFLAGS
13095 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13097 printf %s "checking for MinGW zlib.h... " >&6; }
13098 if test ${ac_cv_mingw_header_zlib_h+y}
13099 then :
13100 printf %s "(cached) " >&6
13101 else $as_nop
13102 ac_wine_check_headers_saved_cc=$CC
13103 ac_wine_check_headers_saved_exeext=$ac_exeext
13104 eval CC=\$${wine_arch}_CC
13105 ac_exeext=".exe"
13106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13107 /* end confdefs.h. */
13109 #include <zlib.h>
13111 main (void)
13115 return 0;
13117 _ACEOF
13118 if ac_fn_c_try_compile "$LINENO"
13119 then :
13120 ac_cv_mingw_header_zlib_h=yes
13121 else $as_nop
13122 ac_cv_mingw_header_zlib_h=no
13124 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13125 CC=$ac_wine_check_headers_saved_cc
13126 ac_exeext=$ac_wine_check_headers_saved_exeext
13128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13129 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13130 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13131 then :
13132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13133 printf %s "checking for inflate in MinGW -lz... " >&6; }
13134 if test ${ac_cv_mingw_lib_z+y}
13135 then :
13136 printf %s "(cached) " >&6
13137 else $as_nop
13138 ac_wine_check_headers_saved_cc=$CC
13139 ac_wine_check_headers_saved_exeext=$ac_exeext
13140 ac_wine_check_headers_saved_libs=$LIBS
13141 eval CC=\$${wine_arch}_CC
13142 ac_exeext=".exe"
13143 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13145 /* end confdefs.h. */
13147 /* Override any GCC internal prototype to avoid an error.
13148 Use char because int might match the return type of a GCC
13149 builtin and then its argument prototype would still apply. */
13150 char inflate ();
13152 main (void)
13154 return inflate ();
13156 return 0;
13158 _ACEOF
13159 if ac_fn_c_try_link "$LINENO"
13160 then :
13161 ac_cv_mingw_lib_z=yes
13162 else $as_nop
13163 ac_cv_mingw_lib_z=no
13165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13166 conftest$ac_exeext conftest.$ac_ext
13167 CC=$ac_wine_check_headers_saved_cc
13168 ac_exeext=$ac_wine_check_headers_saved_exeext
13169 LIBS=$ac_wine_check_headers_saved_libs
13171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13172 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13173 if test "x$ac_cv_mingw_lib_z" = xyes
13174 then :
13176 else $as_nop
13177 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13179 else $as_nop
13180 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13182 CPPFLAGS=$ac_save_CPPFLAGS
13184 if test "x$ZLIB_PE_LIBS" = "x"
13185 then
13186 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13190 if ${FAUDIO_PE_LIBS:+false} :
13191 then :
13192 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13193 if ${FAUDIO_PE_CFLAGS:+false} :
13194 then :
13195 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13196 else $as_nop
13197 enable_faudio=no
13199 else $as_nop
13200 enable_faudio=no
13202 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13203 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13205 if ${FLUIDSYNTH_PE_LIBS:+false} :
13206 then :
13207 FLUIDSYNTH_PE_LIBS="fluidsynth"
13208 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
13209 then :
13210 FLUIDSYNTH_PE_CFLAGS="-I\$(top_srcdir)/libs/fluidsynth/include"
13211 else $as_nop
13212 enable_fluidsynth=no
13214 else $as_nop
13215 enable_fluidsynth=no
13217 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth cflags: $FLUIDSYNTH_PE_CFLAGS" >&5
13218 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth libs: $FLUIDSYNTH_PE_LIBS" >&5
13220 if ${GSM_PE_LIBS:+false} :
13221 then :
13222 GSM_PE_LIBS=gsm
13223 if ${GSM_PE_CFLAGS:+false} :
13224 then :
13225 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13226 else $as_nop
13227 enable_gsm=no
13229 else $as_nop
13230 enable_gsm=no
13232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13235 if ${JPEG_PE_LIBS:+false} :
13236 then :
13237 JPEG_PE_LIBS=jpeg
13238 if ${JPEG_PE_CFLAGS:+false} :
13239 then :
13240 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13241 else $as_nop
13242 enable_jpeg=no
13244 else $as_nop
13245 enable_jpeg=no
13247 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13250 if ${JXR_PE_LIBS:+false} :
13251 then :
13252 JXR_PE_LIBS=jxr
13253 if ${JXR_PE_CFLAGS:+false} :
13254 then :
13255 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13256 else $as_nop
13257 enable_jxr=no
13259 else $as_nop
13260 enable_jxr=no
13262 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13265 if ${LCMS2_PE_LIBS:+false} :
13266 then :
13267 LCMS2_PE_LIBS=lcms2
13268 if ${LCMS2_PE_CFLAGS:+false} :
13269 then :
13270 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13271 else $as_nop
13272 enable_lcms2=no
13274 else $as_nop
13275 enable_lcms2=no
13277 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13278 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13280 if ${LDAP_PE_LIBS:+false} :
13281 then :
13282 LDAP_PE_LIBS=ldap
13283 if ${LDAP_PE_CFLAGS:+false} :
13284 then :
13285 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13286 else $as_nop
13287 enable_ldap=no
13289 else $as_nop
13290 enable_ldap=no
13292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13293 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13295 if ${MPG123_PE_LIBS:+false} :
13296 then :
13297 MPG123_PE_LIBS=mpg123
13298 if ${MPG123_PE_CFLAGS:+false} :
13299 then :
13300 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13301 else $as_nop
13302 enable_mpg123=no
13304 else $as_nop
13305 enable_mpg123=no
13307 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13308 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13310 if ${MUSL_PE_LIBS:+false} :
13311 then :
13312 MUSL_PE_LIBS=musl
13313 if ${MUSL_PE_CFLAGS:+false} :
13314 then :
13315 MUSL_PE_CFLAGS=
13316 else $as_nop
13317 enable_musl=no
13319 else $as_nop
13320 enable_musl=no
13322 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13323 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13325 if ${PNG_PE_LIBS:+false} :
13326 then :
13327 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13328 if ${PNG_PE_CFLAGS:+false} :
13329 then :
13330 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13331 else $as_nop
13332 enable_png=no
13334 else $as_nop
13335 enable_png=no
13337 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13338 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13340 if ${TIFF_PE_LIBS:+false} :
13341 then :
13342 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13343 if ${TIFF_PE_CFLAGS:+false} :
13344 then :
13345 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13346 else $as_nop
13347 enable_tiff=no
13349 else $as_nop
13350 enable_tiff=no
13352 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13353 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13355 if ${VKD3D_PE_LIBS:+false} :
13356 then :
13357 VKD3D_PE_LIBS=vkd3d
13358 if ${VKD3D_PE_CFLAGS:+false} :
13359 then :
13360 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13361 else $as_nop
13362 enable_vkd3d=no
13364 else $as_nop
13365 enable_vkd3d=no
13367 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13368 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13370 if ${XML2_PE_LIBS:+false} :
13371 then :
13372 XML2_PE_LIBS=xml2
13373 if ${XML2_PE_CFLAGS:+false} :
13374 then :
13375 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13376 else $as_nop
13377 enable_xml2=no
13379 else $as_nop
13380 enable_xml2=no
13382 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13383 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13385 if ${XSLT_PE_LIBS:+false} :
13386 then :
13387 XSLT_PE_LIBS=xslt
13388 if ${XSLT_PE_CFLAGS:+false} :
13389 then :
13390 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13391 else $as_nop
13392 enable_xslt=no
13394 else $as_nop
13395 enable_xslt=no
13397 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13398 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13400 if ${ZLIB_PE_LIBS:+false} :
13401 then :
13402 ZLIB_PE_LIBS=z
13403 if ${ZLIB_PE_CFLAGS:+false} :
13404 then :
13405 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13406 else $as_nop
13407 enable_zlib=no
13409 else $as_nop
13410 enable_zlib=no
13412 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13413 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13415 if ${ZYDIS_PE_LIBS:+false} :
13416 then :
13417 ZYDIS_PE_LIBS=zydis
13418 if ${ZYDIS_PE_CFLAGS:+false} :
13419 then :
13420 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13421 else $as_nop
13422 enable_zydis=no
13424 else $as_nop
13425 enable_zydis=no
13427 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13428 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13432 if test "x$with_pthread" = xno
13433 then :
13435 else $as_nop
13436 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13437 if test "x$ac_cv_func_pthread_create" = xyes
13438 then :
13440 else $as_nop
13441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13442 printf %s "checking for pthread_create in -lpthread... " >&6; }
13443 if test ${ac_cv_lib_pthread_pthread_create+y}
13444 then :
13445 printf %s "(cached) " >&6
13446 else $as_nop
13447 ac_check_lib_save_LIBS=$LIBS
13448 LIBS="-lpthread $LIBS"
13449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13450 /* end confdefs.h. */
13452 /* Override any GCC internal prototype to avoid an error.
13453 Use char because int might match the return type of a GCC
13454 builtin and then its argument prototype would still apply. */
13455 char pthread_create ();
13457 main (void)
13459 return pthread_create ();
13461 return 0;
13463 _ACEOF
13464 if ac_fn_c_try_link "$LINENO"
13465 then :
13466 ac_cv_lib_pthread_pthread_create=yes
13467 else $as_nop
13468 ac_cv_lib_pthread_pthread_create=no
13470 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13471 conftest$ac_exeext conftest.$ac_ext
13472 LIBS=$ac_check_lib_save_LIBS
13474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13475 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13476 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13477 then :
13478 PTHREAD_LIBS="-lpthread"
13485 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13486 then :
13487 case "x$with_pthread" in
13488 xno) ;;
13489 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13490 Wine cannot support threads without libpthread.
13491 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13492 esac
13497 ac_ext=c
13498 ac_cpp='$CPP $CPPFLAGS'
13499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13503 printf %s "checking how to run the C preprocessor... " >&6; }
13504 # On Suns, sometimes $CPP names a directory.
13505 if test -n "$CPP" && test -d "$CPP"; then
13506 CPP=
13508 if test -z "$CPP"; then
13509 if test ${ac_cv_prog_CPP+y}
13510 then :
13511 printf %s "(cached) " >&6
13512 else $as_nop
13513 # Double quotes because $CC needs to be expanded
13514 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13516 ac_preproc_ok=false
13517 for ac_c_preproc_warn_flag in '' yes
13519 # Use a header file that comes with gcc, so configuring glibc
13520 # with a fresh cross-compiler works.
13521 # On the NeXT, cc -E runs the code through the compiler's parser,
13522 # not just through cpp. "Syntax error" is here to catch this case.
13523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13524 /* end confdefs.h. */
13525 #include <limits.h>
13526 Syntax error
13527 _ACEOF
13528 if ac_fn_c_try_cpp "$LINENO"
13529 then :
13531 else $as_nop
13532 # Broken: fails on valid input.
13533 continue
13535 rm -f conftest.err conftest.i conftest.$ac_ext
13537 # OK, works on sane cases. Now check whether nonexistent headers
13538 # can be detected and how.
13539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13540 /* end confdefs.h. */
13541 #include <ac_nonexistent.h>
13542 _ACEOF
13543 if ac_fn_c_try_cpp "$LINENO"
13544 then :
13545 # Broken: success on invalid input.
13546 continue
13547 else $as_nop
13548 # Passes both tests.
13549 ac_preproc_ok=:
13550 break
13552 rm -f conftest.err conftest.i conftest.$ac_ext
13554 done
13555 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13556 rm -f conftest.i conftest.err conftest.$ac_ext
13557 if $ac_preproc_ok
13558 then :
13559 break
13562 done
13563 ac_cv_prog_CPP=$CPP
13566 CPP=$ac_cv_prog_CPP
13567 else
13568 ac_cv_prog_CPP=$CPP
13570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13571 printf "%s\n" "$CPP" >&6; }
13572 ac_preproc_ok=false
13573 for ac_c_preproc_warn_flag in '' yes
13575 # Use a header file that comes with gcc, so configuring glibc
13576 # with a fresh cross-compiler works.
13577 # On the NeXT, cc -E runs the code through the compiler's parser,
13578 # not just through cpp. "Syntax error" is here to catch this case.
13579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13580 /* end confdefs.h. */
13581 #include <limits.h>
13582 Syntax error
13583 _ACEOF
13584 if ac_fn_c_try_cpp "$LINENO"
13585 then :
13587 else $as_nop
13588 # Broken: fails on valid input.
13589 continue
13591 rm -f conftest.err conftest.i conftest.$ac_ext
13593 # OK, works on sane cases. Now check whether nonexistent headers
13594 # can be detected and how.
13595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13596 /* end confdefs.h. */
13597 #include <ac_nonexistent.h>
13598 _ACEOF
13599 if ac_fn_c_try_cpp "$LINENO"
13600 then :
13601 # Broken: success on invalid input.
13602 continue
13603 else $as_nop
13604 # Passes both tests.
13605 ac_preproc_ok=:
13606 break
13608 rm -f conftest.err conftest.i conftest.$ac_ext
13610 done
13611 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13612 rm -f conftest.i conftest.err conftest.$ac_ext
13613 if $ac_preproc_ok
13614 then :
13616 else $as_nop
13617 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13618 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13619 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13620 See \`config.log' for more details" "$LINENO" 5; }
13623 ac_ext=c
13624 ac_cpp='$CPP $CPPFLAGS'
13625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13631 printf %s "checking for X... " >&6; }
13634 # Check whether --with-x was given.
13635 if test ${with_x+y}
13636 then :
13637 withval=$with_x;
13640 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13641 if test "x$with_x" = xno; then
13642 # The user explicitly disabled X.
13643 have_x=disabled
13644 else
13645 case $x_includes,$x_libraries in #(
13646 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13647 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13648 then :
13649 printf %s "(cached) " >&6
13650 else $as_nop
13651 # One or both of the vars are not set, and there is no cached value.
13652 ac_x_includes=no
13653 ac_x_libraries=no
13654 # Do we need to do anything special at all?
13655 ac_save_LIBS=$LIBS
13656 LIBS="-lX11 $LIBS"
13657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13658 /* end confdefs.h. */
13659 #include <X11/Xlib.h>
13661 main (void)
13663 XrmInitialize ()
13665 return 0;
13667 _ACEOF
13668 if ac_fn_c_try_link "$LINENO"
13669 then :
13670 # We can compile and link X programs with no special options.
13671 ac_x_includes=
13672 ac_x_libraries=
13674 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13675 conftest$ac_exeext conftest.$ac_ext
13676 LIBS="$ac_save_LIBS"
13677 # If that didn't work, only try xmkmf and file system searches
13678 # for native compilation.
13679 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13680 then :
13681 rm -f -r conftest.dir
13682 if mkdir conftest.dir; then
13683 cd conftest.dir
13684 cat >Imakefile <<'_ACEOF'
13685 incroot:
13686 @echo incroot='${INCROOT}'
13687 usrlibdir:
13688 @echo usrlibdir='${USRLIBDIR}'
13689 libdir:
13690 @echo libdir='${LIBDIR}'
13691 _ACEOF
13692 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13693 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13694 for ac_var in incroot usrlibdir libdir; do
13695 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13696 done
13697 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13698 for ac_extension in a so sl dylib la dll; do
13699 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13700 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13701 ac_im_usrlibdir=$ac_im_libdir; break
13703 done
13704 # Screen out bogus values from the imake configuration. They are
13705 # bogus both because they are the default anyway, and because
13706 # using them would break gcc on systems where it needs fixed includes.
13707 case $ac_im_incroot in
13708 /usr/include) ac_x_includes= ;;
13709 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13710 esac
13711 case $ac_im_usrlibdir in
13712 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13713 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13714 esac
13716 cd ..
13717 rm -f -r conftest.dir
13720 # Standard set of common directories for X headers.
13721 # Check X11 before X11Rn because it is often a symlink to the current release.
13722 ac_x_header_dirs='
13723 /usr/X11/include
13724 /usr/X11R7/include
13725 /usr/X11R6/include
13726 /usr/X11R5/include
13727 /usr/X11R4/include
13729 /usr/include/X11
13730 /usr/include/X11R7
13731 /usr/include/X11R6
13732 /usr/include/X11R5
13733 /usr/include/X11R4
13735 /usr/local/X11/include
13736 /usr/local/X11R7/include
13737 /usr/local/X11R6/include
13738 /usr/local/X11R5/include
13739 /usr/local/X11R4/include
13741 /usr/local/include/X11
13742 /usr/local/include/X11R7
13743 /usr/local/include/X11R6
13744 /usr/local/include/X11R5
13745 /usr/local/include/X11R4
13747 /opt/X11/include
13749 /usr/X386/include
13750 /usr/x386/include
13751 /usr/XFree86/include/X11
13753 /usr/include
13754 /usr/local/include
13755 /usr/unsupported/include
13756 /usr/athena/include
13757 /usr/local/x11r5/include
13758 /usr/lpp/Xamples/include
13760 /usr/openwin/include
13761 /usr/openwin/share/include'
13763 if test "$ac_x_includes" = no; then
13764 # Guess where to find include files, by looking for Xlib.h.
13765 # First, try using that file with no special directory specified.
13766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13767 /* end confdefs.h. */
13768 #include <X11/Xlib.h>
13769 _ACEOF
13770 if ac_fn_c_try_cpp "$LINENO"
13771 then :
13772 # We can compile using X headers with no special include directory.
13773 ac_x_includes=
13774 else $as_nop
13775 for ac_dir in $ac_x_header_dirs; do
13776 if test -r "$ac_dir/X11/Xlib.h"; then
13777 ac_x_includes=$ac_dir
13778 break
13780 done
13782 rm -f conftest.err conftest.i conftest.$ac_ext
13783 fi # $ac_x_includes = no
13785 if test "$ac_x_libraries" = no; then
13786 # Check for the libraries.
13787 # See if we find them without any special options.
13788 # Don't add to $LIBS permanently.
13789 ac_save_LIBS=$LIBS
13790 LIBS="-lX11 $LIBS"
13791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13792 /* end confdefs.h. */
13793 #include <X11/Xlib.h>
13795 main (void)
13797 XrmInitialize ()
13799 return 0;
13801 _ACEOF
13802 if ac_fn_c_try_link "$LINENO"
13803 then :
13804 LIBS=$ac_save_LIBS
13805 # We can link X programs with no special library path.
13806 ac_x_libraries=
13807 else $as_nop
13808 LIBS=$ac_save_LIBS
13809 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13811 # Don't even attempt the hair of trying to link an X program!
13812 for ac_extension in a so sl dylib la dll; do
13813 if test -r "$ac_dir/libX11.$ac_extension"; then
13814 ac_x_libraries=$ac_dir
13815 break 2
13817 done
13818 done
13820 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13821 conftest$ac_exeext conftest.$ac_ext
13822 fi # $ac_x_libraries = no
13825 # Record the results.
13826 case $ac_x_includes,$ac_x_libraries in #(
13827 no,* | *,no | *\'*) :
13828 # Didn't find X, or a directory has "'" in its name.
13829 ac_cv_have_x="have_x=no" ;; #(
13830 *) :
13831 # Record where we found X for the cache.
13832 ac_cv_have_x="have_x=yes\
13833 ac_x_includes='$ac_x_includes'\
13834 ac_x_libraries='$ac_x_libraries'" ;;
13835 esac
13837 ;; #(
13838 *) have_x=yes;;
13839 esac
13840 eval "$ac_cv_have_x"
13841 fi # $with_x != no
13843 if test "$have_x" != yes; then
13844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13845 printf "%s\n" "$have_x" >&6; }
13846 no_x=yes
13847 else
13848 # If each of the values was on the command line, it overrides each guess.
13849 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13850 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13851 # Update the cache value to reflect the command line values.
13852 ac_cv_have_x="have_x=yes\
13853 ac_x_includes='$x_includes'\
13854 ac_x_libraries='$x_libraries'"
13855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13856 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13859 if test "$no_x" = yes; then
13860 # Not all programs may use this symbol, but it does not hurt to define it.
13862 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13864 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13865 else
13866 if test -n "$x_includes"; then
13867 X_CFLAGS="$X_CFLAGS -I$x_includes"
13870 # It would also be nice to do this for all -L options, not just this one.
13871 if test -n "$x_libraries"; then
13872 X_LIBS="$X_LIBS -L$x_libraries"
13873 # For Solaris; some versions of Sun CC require a space after -R and
13874 # others require no space. Words are not sufficient . . . .
13875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13876 printf %s "checking whether -R must be followed by a space... " >&6; }
13877 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13878 ac_xsave_c_werror_flag=$ac_c_werror_flag
13879 ac_c_werror_flag=yes
13880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13881 /* end confdefs.h. */
13884 main (void)
13888 return 0;
13890 _ACEOF
13891 if ac_fn_c_try_link "$LINENO"
13892 then :
13893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13894 printf "%s\n" "no" >&6; }
13895 X_LIBS="$X_LIBS -R$x_libraries"
13896 else $as_nop
13897 LIBS="$ac_xsave_LIBS -R $x_libraries"
13898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13899 /* end confdefs.h. */
13902 main (void)
13906 return 0;
13908 _ACEOF
13909 if ac_fn_c_try_link "$LINENO"
13910 then :
13911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13912 printf "%s\n" "yes" >&6; }
13913 X_LIBS="$X_LIBS -R $x_libraries"
13914 else $as_nop
13915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13916 printf "%s\n" "neither works" >&6; }
13918 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13919 conftest$ac_exeext conftest.$ac_ext
13921 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13922 conftest$ac_exeext conftest.$ac_ext
13923 ac_c_werror_flag=$ac_xsave_c_werror_flag
13924 LIBS=$ac_xsave_LIBS
13927 # Check for system-dependent libraries X programs must link with.
13928 # Do this before checking for the system-independent R6 libraries
13929 # (-lICE), since we may need -lsocket or whatever for X linking.
13931 if test "$ISC" = yes; then
13932 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13933 else
13934 # Martyn Johnson says this is needed for Ultrix, if the X
13935 # libraries were built with DECnet support. And Karl Berry says
13936 # the Alpha needs dnet_stub (dnet does not exist).
13937 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13939 /* end confdefs.h. */
13941 /* Override any GCC internal prototype to avoid an error.
13942 Use char because int might match the return type of a GCC
13943 builtin and then its argument prototype would still apply. */
13944 char XOpenDisplay ();
13946 main (void)
13948 return XOpenDisplay ();
13950 return 0;
13952 _ACEOF
13953 if ac_fn_c_try_link "$LINENO"
13954 then :
13956 else $as_nop
13957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13958 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13959 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13960 then :
13961 printf %s "(cached) " >&6
13962 else $as_nop
13963 ac_check_lib_save_LIBS=$LIBS
13964 LIBS="-ldnet $LIBS"
13965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13966 /* end confdefs.h. */
13968 /* Override any GCC internal prototype to avoid an error.
13969 Use char because int might match the return type of a GCC
13970 builtin and then its argument prototype would still apply. */
13971 char dnet_ntoa ();
13973 main (void)
13975 return dnet_ntoa ();
13977 return 0;
13979 _ACEOF
13980 if ac_fn_c_try_link "$LINENO"
13981 then :
13982 ac_cv_lib_dnet_dnet_ntoa=yes
13983 else $as_nop
13984 ac_cv_lib_dnet_dnet_ntoa=no
13986 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13987 conftest$ac_exeext conftest.$ac_ext
13988 LIBS=$ac_check_lib_save_LIBS
13990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13991 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13992 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13993 then :
13994 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13997 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13999 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
14000 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14001 then :
14002 printf %s "(cached) " >&6
14003 else $as_nop
14004 ac_check_lib_save_LIBS=$LIBS
14005 LIBS="-ldnet_stub $LIBS"
14006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14007 /* end confdefs.h. */
14009 /* Override any GCC internal prototype to avoid an error.
14010 Use char because int might match the return type of a GCC
14011 builtin and then its argument prototype would still apply. */
14012 char dnet_ntoa ();
14014 main (void)
14016 return dnet_ntoa ();
14018 return 0;
14020 _ACEOF
14021 if ac_fn_c_try_link "$LINENO"
14022 then :
14023 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14024 else $as_nop
14025 ac_cv_lib_dnet_stub_dnet_ntoa=no
14027 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14028 conftest$ac_exeext conftest.$ac_ext
14029 LIBS=$ac_check_lib_save_LIBS
14031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14032 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14033 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14034 then :
14035 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14040 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14041 conftest$ac_exeext conftest.$ac_ext
14042 LIBS="$ac_xsave_LIBS"
14044 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14045 # to get the SysV transport functions.
14046 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14047 # needs -lnsl.
14048 # The nsl library prevents programs from opening the X display
14049 # on Irix 5.2, according to T.E. Dickey.
14050 # The functions gethostbyname, getservbyname, and inet_addr are
14051 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14052 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14053 if test "x$ac_cv_func_gethostbyname" = xyes
14054 then :
14058 if test $ac_cv_func_gethostbyname = no; then
14059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14060 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14061 if test ${ac_cv_lib_nsl_gethostbyname+y}
14062 then :
14063 printf %s "(cached) " >&6
14064 else $as_nop
14065 ac_check_lib_save_LIBS=$LIBS
14066 LIBS="-lnsl $LIBS"
14067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14068 /* end confdefs.h. */
14070 /* Override any GCC internal prototype to avoid an error.
14071 Use char because int might match the return type of a GCC
14072 builtin and then its argument prototype would still apply. */
14073 char gethostbyname ();
14075 main (void)
14077 return gethostbyname ();
14079 return 0;
14081 _ACEOF
14082 if ac_fn_c_try_link "$LINENO"
14083 then :
14084 ac_cv_lib_nsl_gethostbyname=yes
14085 else $as_nop
14086 ac_cv_lib_nsl_gethostbyname=no
14088 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14089 conftest$ac_exeext conftest.$ac_ext
14090 LIBS=$ac_check_lib_save_LIBS
14092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14093 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14094 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14095 then :
14096 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14099 if test $ac_cv_lib_nsl_gethostbyname = no; then
14100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14101 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14102 if test ${ac_cv_lib_bsd_gethostbyname+y}
14103 then :
14104 printf %s "(cached) " >&6
14105 else $as_nop
14106 ac_check_lib_save_LIBS=$LIBS
14107 LIBS="-lbsd $LIBS"
14108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14109 /* end confdefs.h. */
14111 /* Override any GCC internal prototype to avoid an error.
14112 Use char because int might match the return type of a GCC
14113 builtin and then its argument prototype would still apply. */
14114 char gethostbyname ();
14116 main (void)
14118 return gethostbyname ();
14120 return 0;
14122 _ACEOF
14123 if ac_fn_c_try_link "$LINENO"
14124 then :
14125 ac_cv_lib_bsd_gethostbyname=yes
14126 else $as_nop
14127 ac_cv_lib_bsd_gethostbyname=no
14129 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14130 conftest$ac_exeext conftest.$ac_ext
14131 LIBS=$ac_check_lib_save_LIBS
14133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14134 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14135 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14136 then :
14137 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14143 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14144 # socket/setsockopt and other routines are undefined under SCO ODT
14145 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14146 # on later versions), says Simon Leinen: it contains gethostby*
14147 # variants that don't use the name server (or something). -lsocket
14148 # must be given before -lnsl if both are needed. We assume that
14149 # if connect needs -lnsl, so does gethostbyname.
14150 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14151 if test "x$ac_cv_func_connect" = xyes
14152 then :
14156 if test $ac_cv_func_connect = no; then
14157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14158 printf %s "checking for connect in -lsocket... " >&6; }
14159 if test ${ac_cv_lib_socket_connect+y}
14160 then :
14161 printf %s "(cached) " >&6
14162 else $as_nop
14163 ac_check_lib_save_LIBS=$LIBS
14164 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14166 /* end confdefs.h. */
14168 /* Override any GCC internal prototype to avoid an error.
14169 Use char because int might match the return type of a GCC
14170 builtin and then its argument prototype would still apply. */
14171 char connect ();
14173 main (void)
14175 return connect ();
14177 return 0;
14179 _ACEOF
14180 if ac_fn_c_try_link "$LINENO"
14181 then :
14182 ac_cv_lib_socket_connect=yes
14183 else $as_nop
14184 ac_cv_lib_socket_connect=no
14186 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14187 conftest$ac_exeext conftest.$ac_ext
14188 LIBS=$ac_check_lib_save_LIBS
14190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14191 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14192 if test "x$ac_cv_lib_socket_connect" = xyes
14193 then :
14194 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14199 # Guillermo Gomez says -lposix is necessary on A/UX.
14200 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14201 if test "x$ac_cv_func_remove" = xyes
14202 then :
14206 if test $ac_cv_func_remove = no; then
14207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14208 printf %s "checking for remove in -lposix... " >&6; }
14209 if test ${ac_cv_lib_posix_remove+y}
14210 then :
14211 printf %s "(cached) " >&6
14212 else $as_nop
14213 ac_check_lib_save_LIBS=$LIBS
14214 LIBS="-lposix $LIBS"
14215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14216 /* end confdefs.h. */
14218 /* Override any GCC internal prototype to avoid an error.
14219 Use char because int might match the return type of a GCC
14220 builtin and then its argument prototype would still apply. */
14221 char remove ();
14223 main (void)
14225 return remove ();
14227 return 0;
14229 _ACEOF
14230 if ac_fn_c_try_link "$LINENO"
14231 then :
14232 ac_cv_lib_posix_remove=yes
14233 else $as_nop
14234 ac_cv_lib_posix_remove=no
14236 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14237 conftest$ac_exeext conftest.$ac_ext
14238 LIBS=$ac_check_lib_save_LIBS
14240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14241 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14242 if test "x$ac_cv_lib_posix_remove" = xyes
14243 then :
14244 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14249 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14250 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14251 if test "x$ac_cv_func_shmat" = xyes
14252 then :
14256 if test $ac_cv_func_shmat = no; then
14257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14258 printf %s "checking for shmat in -lipc... " >&6; }
14259 if test ${ac_cv_lib_ipc_shmat+y}
14260 then :
14261 printf %s "(cached) " >&6
14262 else $as_nop
14263 ac_check_lib_save_LIBS=$LIBS
14264 LIBS="-lipc $LIBS"
14265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14266 /* end confdefs.h. */
14268 /* Override any GCC internal prototype to avoid an error.
14269 Use char because int might match the return type of a GCC
14270 builtin and then its argument prototype would still apply. */
14271 char shmat ();
14273 main (void)
14275 return shmat ();
14277 return 0;
14279 _ACEOF
14280 if ac_fn_c_try_link "$LINENO"
14281 then :
14282 ac_cv_lib_ipc_shmat=yes
14283 else $as_nop
14284 ac_cv_lib_ipc_shmat=no
14286 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14287 conftest$ac_exeext conftest.$ac_ext
14288 LIBS=$ac_check_lib_save_LIBS
14290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14291 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14292 if test "x$ac_cv_lib_ipc_shmat" = xyes
14293 then :
14294 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14300 # Check for libraries that X11R6 Xt/Xaw programs need.
14301 ac_save_LDFLAGS=$LDFLAGS
14302 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14303 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14304 # check for ICE first), but we must link in the order -lSM -lICE or
14305 # we get undefined symbols. So assume we have SM if we have ICE.
14306 # These have to be linked with before -lX11, unlike the other
14307 # libraries we check for below, so use a different variable.
14308 # John Interrante, Karl Berry
14309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14310 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14311 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14312 then :
14313 printf %s "(cached) " >&6
14314 else $as_nop
14315 ac_check_lib_save_LIBS=$LIBS
14316 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14318 /* end confdefs.h. */
14320 /* Override any GCC internal prototype to avoid an error.
14321 Use char because int might match the return type of a GCC
14322 builtin and then its argument prototype would still apply. */
14323 char IceConnectionNumber ();
14325 main (void)
14327 return IceConnectionNumber ();
14329 return 0;
14331 _ACEOF
14332 if ac_fn_c_try_link "$LINENO"
14333 then :
14334 ac_cv_lib_ICE_IceConnectionNumber=yes
14335 else $as_nop
14336 ac_cv_lib_ICE_IceConnectionNumber=no
14338 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14339 conftest$ac_exeext conftest.$ac_ext
14340 LIBS=$ac_check_lib_save_LIBS
14342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14343 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14344 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14345 then :
14346 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14349 LDFLAGS=$ac_save_LDFLAGS
14354 if test "$have_x" = "yes"
14355 then
14356 ac_save_CPPFLAGS="$CPPFLAGS"
14357 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14360 printf %s "checking for -lX11... " >&6; }
14361 if test ${ac_cv_lib_soname_X11+y}
14362 then :
14363 printf %s "(cached) " >&6
14364 else $as_nop
14365 ac_check_soname_save_LIBS=$LIBS
14366 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14368 /* end confdefs.h. */
14370 /* Override any GCC internal prototype to avoid an error.
14371 Use char because int might match the return type of a GCC
14372 builtin and then its argument prototype would still apply. */
14373 char XCreateWindow ();
14375 main (void)
14377 return XCreateWindow ();
14379 return 0;
14381 _ACEOF
14382 if ac_fn_c_try_link "$LINENO"
14383 then :
14384 case "$LIBEXT" in
14385 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14386 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'` ;;
14387 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14388 if ${ac_cv_lib_soname_X11:+false} :
14389 then :
14390 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14391 fi ;;
14392 esac
14393 else $as_nop
14394 ac_cv_lib_soname_X11=
14396 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14397 conftest$ac_exeext conftest.$ac_ext
14398 LIBS=$ac_check_soname_save_LIBS
14400 if ${ac_cv_lib_soname_X11:+false} :
14401 then :
14402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14403 printf "%s\n" "not found" >&6; }
14405 else $as_nop
14406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14407 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14409 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14414 printf %s "checking for -lXext... " >&6; }
14415 if test ${ac_cv_lib_soname_Xext+y}
14416 then :
14417 printf %s "(cached) " >&6
14418 else $as_nop
14419 ac_check_soname_save_LIBS=$LIBS
14420 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14422 /* end confdefs.h. */
14424 /* Override any GCC internal prototype to avoid an error.
14425 Use char because int might match the return type of a GCC
14426 builtin and then its argument prototype would still apply. */
14427 char XextCreateExtension ();
14429 main (void)
14431 return XextCreateExtension ();
14433 return 0;
14435 _ACEOF
14436 if ac_fn_c_try_link "$LINENO"
14437 then :
14438 case "$LIBEXT" in
14439 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14440 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'` ;;
14441 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14442 if ${ac_cv_lib_soname_Xext:+false} :
14443 then :
14444 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14445 fi ;;
14446 esac
14447 else $as_nop
14448 ac_cv_lib_soname_Xext=
14450 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14451 conftest$ac_exeext conftest.$ac_ext
14452 LIBS=$ac_check_soname_save_LIBS
14454 if ${ac_cv_lib_soname_Xext:+false} :
14455 then :
14456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14457 printf "%s\n" "not found" >&6; }
14459 else $as_nop
14460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14461 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14463 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14465 X_LIBS="$X_LIBS -lXext"
14467 X_LIBS="$X_LIBS -lX11"
14469 xlib_includes="#include <X11/Xlib.h>
14470 #include <X11/Xutil.h>"
14472 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "$xlib_includes
14474 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14475 then :
14476 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14479 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$xlib_includes
14481 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14482 then :
14483 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14486 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "$xlib_includes
14488 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14489 then :
14490 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14493 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "$xlib_includes
14495 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14496 then :
14497 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14500 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$xlib_includes
14502 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14503 then :
14504 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14507 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$xlib_includes
14509 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14510 then :
14511 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14514 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$xlib_includes
14516 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14517 then :
14518 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14521 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "$xlib_includes
14523 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14524 then :
14525 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14528 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "$xlib_includes
14530 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14531 then :
14532 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14537 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "$xlib_includes
14539 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14540 then :
14541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14542 printf %s "checking for -lXcursor... " >&6; }
14543 if test ${ac_cv_lib_soname_Xcursor+y}
14544 then :
14545 printf %s "(cached) " >&6
14546 else $as_nop
14547 ac_check_soname_save_LIBS=$LIBS
14548 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14550 /* end confdefs.h. */
14552 /* Override any GCC internal prototype to avoid an error.
14553 Use char because int might match the return type of a GCC
14554 builtin and then its argument prototype would still apply. */
14555 char XcursorImageLoadCursor ();
14557 main (void)
14559 return XcursorImageLoadCursor ();
14561 return 0;
14563 _ACEOF
14564 if ac_fn_c_try_link "$LINENO"
14565 then :
14566 case "$LIBEXT" in
14567 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14568 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'` ;;
14569 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14570 if ${ac_cv_lib_soname_Xcursor:+false} :
14571 then :
14572 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14573 fi ;;
14574 esac
14575 else $as_nop
14576 ac_cv_lib_soname_Xcursor=
14578 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14579 conftest$ac_exeext conftest.$ac_ext
14580 LIBS=$ac_check_soname_save_LIBS
14582 if ${ac_cv_lib_soname_Xcursor:+false} :
14583 then :
14584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14585 printf "%s\n" "not found" >&6; }
14587 else $as_nop
14588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14589 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14591 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 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$xlib_includes
14610 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14611 then :
14612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14613 printf %s "checking for -lXi... " >&6; }
14614 if test ${ac_cv_lib_soname_Xi+y}
14615 then :
14616 printf %s "(cached) " >&6
14617 else $as_nop
14618 ac_check_soname_save_LIBS=$LIBS
14619 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14621 /* end confdefs.h. */
14623 /* Override any GCC internal prototype to avoid an error.
14624 Use char because int might match the return type of a GCC
14625 builtin and then its argument prototype would still apply. */
14626 char XOpenDevice ();
14628 main (void)
14630 return XOpenDevice ();
14632 return 0;
14634 _ACEOF
14635 if ac_fn_c_try_link "$LINENO"
14636 then :
14637 case "$LIBEXT" in
14638 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14639 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'` ;;
14640 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14641 if ${ac_cv_lib_soname_Xi:+false} :
14642 then :
14643 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14644 fi ;;
14645 esac
14646 else $as_nop
14647 ac_cv_lib_soname_Xi=
14649 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14650 conftest$ac_exeext conftest.$ac_ext
14651 LIBS=$ac_check_soname_save_LIBS
14653 if ${ac_cv_lib_soname_Xi:+false} :
14654 then :
14655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14656 printf "%s\n" "not found" >&6; }
14658 else $as_nop
14659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14660 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14662 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14668 if test "x$ac_cv_lib_soname_Xi" = "x"
14669 then :
14670 case "x$with_xinput" in
14671 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14672 xno) ;;
14673 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14674 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14675 esac
14679 if test "x$ac_cv_lib_soname_Xi" != x
14680 then
14681 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14682 then :
14683 case "x$with_xinput2" in
14684 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14685 xno) ;;
14686 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14687 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14688 esac
14693 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14694 then
14695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14696 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14697 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14698 then :
14699 printf %s "(cached) " >&6
14700 else $as_nop
14701 ac_check_lib_save_LIBS=$LIBS
14702 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14704 /* end confdefs.h. */
14706 /* Override any GCC internal prototype to avoid an error.
14707 Use char because int might match the return type of a GCC
14708 builtin and then its argument prototype would still apply. */
14709 char XShmQueryExtension ();
14711 main (void)
14713 return XShmQueryExtension ();
14715 return 0;
14717 _ACEOF
14718 if ac_fn_c_try_link "$LINENO"
14719 then :
14720 ac_cv_lib_Xext_XShmQueryExtension=yes
14721 else $as_nop
14722 ac_cv_lib_Xext_XShmQueryExtension=no
14724 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14725 conftest$ac_exeext conftest.$ac_ext
14726 LIBS=$ac_check_lib_save_LIBS
14728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14729 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14730 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14731 then :
14733 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14738 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14739 then :
14740 case "x$with_xshm" in
14741 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14742 xno) ;;
14743 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14744 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14745 esac
14749 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14750 then
14751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14752 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14753 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14754 then :
14755 printf %s "(cached) " >&6
14756 else $as_nop
14757 ac_check_lib_save_LIBS=$LIBS
14758 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14760 /* end confdefs.h. */
14762 /* Override any GCC internal prototype to avoid an error.
14763 Use char because int might match the return type of a GCC
14764 builtin and then its argument prototype would still apply. */
14765 char XShapeQueryExtension ();
14767 main (void)
14769 return XShapeQueryExtension ();
14771 return 0;
14773 _ACEOF
14774 if ac_fn_c_try_link "$LINENO"
14775 then :
14776 ac_cv_lib_Xext_XShapeQueryExtension=yes
14777 else $as_nop
14778 ac_cv_lib_Xext_XShapeQueryExtension=no
14780 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14781 conftest$ac_exeext conftest.$ac_ext
14782 LIBS=$ac_check_lib_save_LIBS
14784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14785 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14786 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14787 then :
14789 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14794 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14795 then :
14796 case "x$with_xshape" in
14797 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14798 xno) ;;
14799 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14800 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14801 esac
14805 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14806 then
14807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14808 printf %s "checking for -lXxf86vm... " >&6; }
14809 if test ${ac_cv_lib_soname_Xxf86vm+y}
14810 then :
14811 printf %s "(cached) " >&6
14812 else $as_nop
14813 ac_check_soname_save_LIBS=$LIBS
14814 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14816 /* end confdefs.h. */
14818 /* Override any GCC internal prototype to avoid an error.
14819 Use char because int might match the return type of a GCC
14820 builtin and then its argument prototype would still apply. */
14821 char XF86VidModeQueryExtension ();
14823 main (void)
14825 return XF86VidModeQueryExtension ();
14827 return 0;
14829 _ACEOF
14830 if ac_fn_c_try_link "$LINENO"
14831 then :
14832 case "$LIBEXT" in
14833 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14834 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'` ;;
14835 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14836 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14837 then :
14838 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14839 fi ;;
14840 esac
14841 else $as_nop
14842 ac_cv_lib_soname_Xxf86vm=
14844 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14845 conftest$ac_exeext conftest.$ac_ext
14846 LIBS=$ac_check_soname_save_LIBS
14848 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14849 then :
14850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14851 printf "%s\n" "not found" >&6; }
14853 else $as_nop
14854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14855 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14857 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14862 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14863 then :
14864 case "x$with_xxf86vm" in
14865 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14866 xno) ;;
14867 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14868 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14869 esac
14873 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14874 then
14875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14876 printf %s "checking for -lXrender... " >&6; }
14877 if test ${ac_cv_lib_soname_Xrender+y}
14878 then :
14879 printf %s "(cached) " >&6
14880 else $as_nop
14881 ac_check_soname_save_LIBS=$LIBS
14882 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14884 /* end confdefs.h. */
14886 /* Override any GCC internal prototype to avoid an error.
14887 Use char because int might match the return type of a GCC
14888 builtin and then its argument prototype would still apply. */
14889 char XRenderQueryExtension ();
14891 main (void)
14893 return XRenderQueryExtension ();
14895 return 0;
14897 _ACEOF
14898 if ac_fn_c_try_link "$LINENO"
14899 then :
14900 case "$LIBEXT" in
14901 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14902 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'` ;;
14903 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14904 if ${ac_cv_lib_soname_Xrender:+false} :
14905 then :
14906 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14907 fi ;;
14908 esac
14909 else $as_nop
14910 ac_cv_lib_soname_Xrender=
14912 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14913 conftest$ac_exeext conftest.$ac_ext
14914 LIBS=$ac_check_soname_save_LIBS
14916 if ${ac_cv_lib_soname_Xrender:+false} :
14917 then :
14918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14919 printf "%s\n" "not found" >&6; }
14921 else $as_nop
14922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14923 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14925 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14928 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14929 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14930 then :
14931 printf %s "(cached) " >&6
14932 else $as_nop
14933 ac_check_lib_save_LIBS=$LIBS
14934 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14936 /* end confdefs.h. */
14938 /* Override any GCC internal prototype to avoid an error.
14939 Use char because int might match the return type of a GCC
14940 builtin and then its argument prototype would still apply. */
14941 char XRenderSetPictureTransform ();
14943 main (void)
14945 return XRenderSetPictureTransform ();
14947 return 0;
14949 _ACEOF
14950 if ac_fn_c_try_link "$LINENO"
14951 then :
14952 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14953 else $as_nop
14954 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14956 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14957 conftest$ac_exeext conftest.$ac_ext
14958 LIBS=$ac_check_lib_save_LIBS
14960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14961 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14962 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14963 then :
14965 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14970 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14971 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14972 then :
14973 printf %s "(cached) " >&6
14974 else $as_nop
14975 ac_check_lib_save_LIBS=$LIBS
14976 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14978 /* end confdefs.h. */
14980 /* Override any GCC internal prototype to avoid an error.
14981 Use char because int might match the return type of a GCC
14982 builtin and then its argument prototype would still apply. */
14983 char XRenderCreateLinearGradient ();
14985 main (void)
14987 return XRenderCreateLinearGradient ();
14989 return 0;
14991 _ACEOF
14992 if ac_fn_c_try_link "$LINENO"
14993 then :
14994 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
14995 else $as_nop
14996 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
14998 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14999 conftest$ac_exeext conftest.$ac_ext
15000 LIBS=$ac_check_lib_save_LIBS
15002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15003 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15004 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15005 then :
15007 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15014 if test "x$ac_cv_lib_soname_Xrender" = "x"
15015 then :
15016 case "x$with_xrender" in
15017 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15018 xno) ;;
15019 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15020 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15021 esac
15025 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15026 then
15027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15028 /* end confdefs.h. */
15029 #include <X11/Xlib.h>
15030 #include <X11/extensions/Xrandr.h>
15032 main (void)
15034 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15036 return 0;
15038 _ACEOF
15039 if ac_fn_c_try_compile "$LINENO"
15040 then :
15041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15042 printf %s "checking for -lXrandr... " >&6; }
15043 if test ${ac_cv_lib_soname_Xrandr+y}
15044 then :
15045 printf %s "(cached) " >&6
15046 else $as_nop
15047 ac_check_soname_save_LIBS=$LIBS
15048 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15050 /* end confdefs.h. */
15052 /* Override any GCC internal prototype to avoid an error.
15053 Use char because int might match the return type of a GCC
15054 builtin and then its argument prototype would still apply. */
15055 char XRRQueryExtension ();
15057 main (void)
15059 return XRRQueryExtension ();
15061 return 0;
15063 _ACEOF
15064 if ac_fn_c_try_link "$LINENO"
15065 then :
15066 case "$LIBEXT" in
15067 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15068 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'` ;;
15069 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15070 if ${ac_cv_lib_soname_Xrandr:+false} :
15071 then :
15072 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15073 fi ;;
15074 esac
15075 else $as_nop
15076 ac_cv_lib_soname_Xrandr=
15078 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15079 conftest$ac_exeext conftest.$ac_ext
15080 LIBS=$ac_check_soname_save_LIBS
15082 if ${ac_cv_lib_soname_Xrandr:+false} :
15083 then :
15084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15085 printf "%s\n" "not found" >&6; }
15087 else $as_nop
15088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15089 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15091 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15094 /* end confdefs.h. */
15095 #include <X11/Xlib.h>
15096 #include <X11/extensions/Xrandr.h>
15098 main (void)
15100 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15102 return 0;
15104 _ACEOF
15105 if ac_fn_c_try_compile "$LINENO"
15106 then :
15108 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15110 else $as_nop
15111 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15113 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15116 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15118 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15119 then :
15120 case "x$with_xrandr" in
15121 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15122 xno) ;;
15123 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15124 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15125 esac
15129 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15130 then
15131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15132 /* end confdefs.h. */
15133 #include <X11/Xlib.h>
15134 #include <X11/extensions/Xfixes.h>
15136 main (void)
15138 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15140 return 0;
15142 _ACEOF
15143 if ac_fn_c_try_compile "$LINENO"
15144 then :
15145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15146 printf %s "checking for -lXfixes... " >&6; }
15147 if test ${ac_cv_lib_soname_Xfixes+y}
15148 then :
15149 printf %s "(cached) " >&6
15150 else $as_nop
15151 ac_check_soname_save_LIBS=$LIBS
15152 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15154 /* end confdefs.h. */
15156 /* Override any GCC internal prototype to avoid an error.
15157 Use char because int might match the return type of a GCC
15158 builtin and then its argument prototype would still apply. */
15159 char XFixesQueryVersion ();
15161 main (void)
15163 return XFixesQueryVersion ();
15165 return 0;
15167 _ACEOF
15168 if ac_fn_c_try_link "$LINENO"
15169 then :
15170 case "$LIBEXT" in
15171 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15172 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'` ;;
15173 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15174 if ${ac_cv_lib_soname_Xfixes:+false} :
15175 then :
15176 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15177 fi ;;
15178 esac
15179 else $as_nop
15180 ac_cv_lib_soname_Xfixes=
15182 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15183 conftest$ac_exeext conftest.$ac_ext
15184 LIBS=$ac_check_soname_save_LIBS
15186 if ${ac_cv_lib_soname_Xfixes:+false} :
15187 then :
15188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15189 printf "%s\n" "not found" >&6; }
15191 else $as_nop
15192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15193 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15195 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15200 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15202 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15203 then :
15204 case "x$with_xfixes" in
15205 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15206 xno) ;;
15207 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15208 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15209 esac
15213 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15214 then
15215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15216 /* end confdefs.h. */
15217 #include <X11/Xlib.h>
15218 #include <X11/extensions/Xinerama.h>
15220 main (void)
15222 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15224 return 0;
15226 _ACEOF
15227 if ac_fn_c_try_compile "$LINENO"
15228 then :
15229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15230 printf %s "checking for -lXinerama... " >&6; }
15231 if test ${ac_cv_lib_soname_Xinerama+y}
15232 then :
15233 printf %s "(cached) " >&6
15234 else $as_nop
15235 ac_check_soname_save_LIBS=$LIBS
15236 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15238 /* end confdefs.h. */
15240 /* Override any GCC internal prototype to avoid an error.
15241 Use char because int might match the return type of a GCC
15242 builtin and then its argument prototype would still apply. */
15243 char XineramaQueryScreens ();
15245 main (void)
15247 return XineramaQueryScreens ();
15249 return 0;
15251 _ACEOF
15252 if ac_fn_c_try_link "$LINENO"
15253 then :
15254 case "$LIBEXT" in
15255 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15256 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'` ;;
15257 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15258 if ${ac_cv_lib_soname_Xinerama:+false} :
15259 then :
15260 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15261 fi ;;
15262 esac
15263 else $as_nop
15264 ac_cv_lib_soname_Xinerama=
15266 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15267 conftest$ac_exeext conftest.$ac_ext
15268 LIBS=$ac_check_soname_save_LIBS
15270 if ${ac_cv_lib_soname_Xinerama:+false} :
15271 then :
15272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15273 printf "%s\n" "not found" >&6; }
15275 else $as_nop
15276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15277 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15279 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15284 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15286 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15287 then :
15288 case "x$with_xinerama" in
15289 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15290 xno) ;;
15291 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15292 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15293 esac
15297 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "$xlib_includes
15299 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
15300 then :
15301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15302 printf %s "checking for -lXcomposite... " >&6; }
15303 if test ${ac_cv_lib_soname_Xcomposite+y}
15304 then :
15305 printf %s "(cached) " >&6
15306 else $as_nop
15307 ac_check_soname_save_LIBS=$LIBS
15308 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15310 /* end confdefs.h. */
15312 /* Override any GCC internal prototype to avoid an error.
15313 Use char because int might match the return type of a GCC
15314 builtin and then its argument prototype would still apply. */
15315 char XCompositeRedirectWindow ();
15317 main (void)
15319 return XCompositeRedirectWindow ();
15321 return 0;
15323 _ACEOF
15324 if ac_fn_c_try_link "$LINENO"
15325 then :
15326 case "$LIBEXT" in
15327 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15328 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'` ;;
15329 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15330 if ${ac_cv_lib_soname_Xcomposite:+false} :
15331 then :
15332 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15333 fi ;;
15334 esac
15335 else $as_nop
15336 ac_cv_lib_soname_Xcomposite=
15338 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15339 conftest$ac_exeext conftest.$ac_ext
15340 LIBS=$ac_check_soname_save_LIBS
15342 if ${ac_cv_lib_soname_Xcomposite:+false} :
15343 then :
15344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15345 printf "%s\n" "not found" >&6; }
15347 else $as_nop
15348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15349 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15351 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15357 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15358 then :
15359 case "x$with_xcomposite" in
15360 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15361 xno) ;;
15362 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15363 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15364 esac
15368 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "$xlib_includes
15370 if test "x$ac_cv_member_XICCallback_callback" = xyes
15371 then :
15373 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15377 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "$xlib_includes
15379 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15380 then :
15382 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15389 opengl_msg=""
15390 if test "x$with_opengl" != "xno"
15391 then
15392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15393 printf %s "checking for -lGL... " >&6; }
15394 if test ${ac_cv_lib_soname_GL+y}
15395 then :
15396 printf %s "(cached) " >&6
15397 else $as_nop
15398 ac_check_soname_save_LIBS=$LIBS
15399 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15401 /* end confdefs.h. */
15403 /* Override any GCC internal prototype to avoid an error.
15404 Use char because int might match the return type of a GCC
15405 builtin and then its argument prototype would still apply. */
15406 char glXCreateContext ();
15408 main (void)
15410 return glXCreateContext ();
15412 return 0;
15414 _ACEOF
15415 if ac_fn_c_try_link "$LINENO"
15416 then :
15417 case "$LIBEXT" in
15418 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15419 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'` ;;
15420 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15421 if ${ac_cv_lib_soname_GL:+false} :
15422 then :
15423 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15424 fi ;;
15425 esac
15426 else $as_nop
15427 ac_cv_lib_soname_GL=
15429 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15430 conftest$ac_exeext conftest.$ac_ext
15431 LIBS=$ac_check_soname_save_LIBS
15433 if ${ac_cv_lib_soname_GL:+false} :
15434 then :
15435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15436 printf "%s\n" "not found" >&6; }
15437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15438 printf %s "checking for -lGL... " >&6; }
15439 if test ${ac_cv_lib_soname_GL+y}
15440 then :
15441 printf %s "(cached) " >&6
15442 else $as_nop
15443 ac_check_soname_save_LIBS=$LIBS
15444 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"
15445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15446 /* end confdefs.h. */
15448 /* Override any GCC internal prototype to avoid an error.
15449 Use char because int might match the return type of a GCC
15450 builtin and then its argument prototype would still apply. */
15451 char glXCreateContext ();
15453 main (void)
15455 return glXCreateContext ();
15457 return 0;
15459 _ACEOF
15460 if ac_fn_c_try_link "$LINENO"
15461 then :
15462 case "$LIBEXT" in
15463 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15464 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'` ;;
15465 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15466 if ${ac_cv_lib_soname_GL:+false} :
15467 then :
15468 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15469 fi ;;
15470 esac
15471 else $as_nop
15472 ac_cv_lib_soname_GL=
15474 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15475 conftest$ac_exeext conftest.$ac_ext
15476 LIBS=$ac_check_soname_save_LIBS
15478 if ${ac_cv_lib_soname_GL:+false} :
15479 then :
15480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15481 printf "%s\n" "not found" >&6; }
15482 if test -f /usr/X11R6/lib/libGL.a
15483 then
15484 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15485 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15486 else
15487 opengl_msg="No OpenGL library found on this system."
15489 else $as_nop
15490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15491 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15493 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15495 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"
15497 else $as_nop
15498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15499 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15501 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15503 OPENGL_LIBS="-lGL"
15505 if test "x$with_osmesa" != "xno"
15506 then
15507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15508 printf %s "checking for -lOSMesa... " >&6; }
15509 if test ${ac_cv_lib_soname_OSMesa+y}
15510 then :
15511 printf %s "(cached) " >&6
15512 else $as_nop
15513 ac_check_soname_save_LIBS=$LIBS
15514 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15516 /* end confdefs.h. */
15518 /* Override any GCC internal prototype to avoid an error.
15519 Use char because int might match the return type of a GCC
15520 builtin and then its argument prototype would still apply. */
15521 char OSMesaGetProcAddress ();
15523 main (void)
15525 return OSMesaGetProcAddress ();
15527 return 0;
15529 _ACEOF
15530 if ac_fn_c_try_link "$LINENO"
15531 then :
15532 case "$LIBEXT" in
15533 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15534 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'` ;;
15535 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15536 if ${ac_cv_lib_soname_OSMesa:+false} :
15537 then :
15538 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15539 fi ;;
15540 esac
15541 else $as_nop
15542 ac_cv_lib_soname_OSMesa=
15544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15545 conftest$ac_exeext conftest.$ac_ext
15546 LIBS=$ac_check_soname_save_LIBS
15548 if ${ac_cv_lib_soname_OSMesa:+false} :
15549 then :
15550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15551 printf "%s\n" "not found" >&6; }
15553 else $as_nop
15554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15555 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15557 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15561 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15562 then :
15563 case "x$with_osmesa" in
15564 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15565 xno) ;;
15566 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15567 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15568 esac
15573 if test -n "$opengl_msg"
15574 then :
15575 case "x$with_opengl" in
15576 x) as_fn_append wine_warnings "|$opengl_msg
15577 OpenGL and Direct3D won't be supported." ;;
15578 xno) ;;
15579 *) as_fn_error $? "$opengl_msg
15580 OpenGL and Direct3D won't be supported.
15581 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15582 esac
15586 CPPFLAGS="$ac_save_CPPFLAGS"
15587 else
15588 X_CFLAGS=""
15589 X_LIBS=""
15592 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15593 then
15594 if test "x$X_LIBS" = "x"
15595 then :
15596 case "x$with_x" in
15597 xno) ;;
15598 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15599 without X support, which probably isn't what you want. You will need
15600 to install ${notice_platform}development packages of Xlib at the very least.
15601 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15602 esac
15603 enable_winex11_drv=${enable_winex11_drv:-no}
15605 else
15606 if test "x$X_LIBS" = "x"
15607 then :
15608 case "x$with_x" in
15609 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15610 xno) ;;
15611 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15612 This is an error since --with-x was requested." "$LINENO" 5 ;;
15613 esac
15614 enable_winex11_drv=${enable_winex11_drv:-no}
15618 if test "x$with_wayland" != "xno"
15619 then
15620 rm -f conftest.err
15621 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15622 then :
15623 if test ${PKG_CONFIG+y}
15624 then :
15625 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15629 if ${WAYLAND_CLIENT_LIBS:+false} :
15630 then :
15631 if test ${PKG_CONFIG+y}
15632 then :
15633 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15638 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15639 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15640 if test -s conftest.err; then
15641 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15642 cat conftest.err >&5
15644 rm -f conftest.err
15645 ac_save_CPPFLAGS=$CPPFLAGS
15646 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
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" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15651 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
15652 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15653 then :
15654 printf %s "(cached) " >&6
15655 else $as_nop
15656 ac_check_lib_save_LIBS=$LIBS
15657 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15659 /* end confdefs.h. */
15661 /* Override any GCC internal prototype to avoid an error.
15662 Use char because int might match the return type of a GCC
15663 builtin and then its argument prototype would still apply. */
15664 char wl_display_connect ();
15666 main (void)
15668 return wl_display_connect ();
15670 return 0;
15672 _ACEOF
15673 if ac_fn_c_try_link "$LINENO"
15674 then :
15675 ac_cv_lib_wayland_client_wl_display_connect=yes
15676 else $as_nop
15677 ac_cv_lib_wayland_client_wl_display_connect=no
15679 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15680 conftest$ac_exeext conftest.$ac_ext
15681 LIBS=$ac_check_lib_save_LIBS
15683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15684 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15685 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15686 then :
15687 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15688 set dummy wayland-scanner; ac_word=$2
15689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15690 printf %s "checking for $ac_word... " >&6; }
15691 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15692 then :
15693 printf %s "(cached) " >&6
15694 else $as_nop
15695 case $WAYLAND_SCANNER in
15696 [\\/]* | ?:[\\/]*)
15697 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
15700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15701 for as_dir in $PATH
15703 IFS=$as_save_IFS
15704 case $as_dir in #(((
15705 '') as_dir=./ ;;
15706 */) ;;
15707 *) as_dir=$as_dir/ ;;
15708 esac
15709 for ac_exec_ext in '' $ac_executable_extensions; do
15710 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15711 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
15712 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15713 break 2
15715 done
15716 done
15717 IFS=$as_save_IFS
15719 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`"
15721 esac
15723 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
15724 if test -n "$WAYLAND_SCANNER"; then
15725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15726 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15727 else
15728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15729 printf "%s\n" "no" >&6; }
15733 else $as_nop
15734 WAYLAND_CLIENT_LIBS=""
15739 CPPFLAGS=$ac_save_CPPFLAGS
15742 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER" -o "$ac_cv_header_linux_input_h" = "no"
15743 then :
15744 case "x$with_wayland" in
15745 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15746 xno) ;;
15747 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15748 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15749 esac
15750 enable_winewayland_drv=${enable_winewayland_drv:-no}
15753 if test "$ac_cv_header_CL_cl_h" = "yes"
15754 then
15755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15756 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15757 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15758 then :
15759 printf %s "(cached) " >&6
15760 else $as_nop
15761 ac_check_lib_save_LIBS=$LIBS
15762 LIBS="-lOpenCL $LIBS"
15763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15764 /* end confdefs.h. */
15766 /* Override any GCC internal prototype to avoid an error.
15767 Use char because int might match the return type of a GCC
15768 builtin and then its argument prototype would still apply. */
15769 char clGetPlatformInfo ();
15771 main (void)
15773 return clGetPlatformInfo ();
15775 return 0;
15777 _ACEOF
15778 if ac_fn_c_try_link "$LINENO"
15779 then :
15780 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15781 else $as_nop
15782 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15784 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15785 conftest$ac_exeext conftest.$ac_ext
15786 LIBS=$ac_check_lib_save_LIBS
15788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15789 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15790 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15791 then :
15792 OPENCL_LIBS="-lOpenCL"
15797 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15798 then :
15799 case "x$with_opencl" in
15800 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15801 xno) ;;
15802 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15803 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15804 esac
15805 enable_opencl=${enable_opencl:-no}
15808 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15809 then
15810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15811 printf %s "checking for pcap_init in -lpcap... " >&6; }
15812 if test ${ac_cv_lib_pcap_pcap_init+y}
15813 then :
15814 printf %s "(cached) " >&6
15815 else $as_nop
15816 ac_check_lib_save_LIBS=$LIBS
15817 LIBS="-lpcap $LIBS"
15818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15819 /* end confdefs.h. */
15821 /* Override any GCC internal prototype to avoid an error.
15822 Use char because int might match the return type of a GCC
15823 builtin and then its argument prototype would still apply. */
15824 char pcap_init ();
15826 main (void)
15828 return pcap_init ();
15830 return 0;
15832 _ACEOF
15833 if ac_fn_c_try_link "$LINENO"
15834 then :
15835 ac_cv_lib_pcap_pcap_init=yes
15836 else $as_nop
15837 ac_cv_lib_pcap_pcap_init=no
15839 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15840 conftest$ac_exeext conftest.$ac_ext
15841 LIBS=$ac_check_lib_save_LIBS
15843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15844 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15845 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15846 then :
15847 PCAP_LIBS="-lpcap"
15852 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15853 then :
15854 case "x$with_pcap" in
15855 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15856 xno) ;;
15857 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15858 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15859 esac
15860 enable_wpcap=${enable_wpcap:-no}
15863 if test "x$with_pcsclite" != "xno"
15864 then
15865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15866 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
15867 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15868 then :
15869 printf %s "(cached) " >&6
15870 else $as_nop
15871 ac_check_lib_save_LIBS=$LIBS
15872 LIBS="-lpcsclite $LIBS"
15873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15874 /* end confdefs.h. */
15876 /* Override any GCC internal prototype to avoid an error.
15877 Use char because int might match the return type of a GCC
15878 builtin and then its argument prototype would still apply. */
15879 char SCardEstablishContext ();
15881 main (void)
15883 return SCardEstablishContext ();
15885 return 0;
15887 _ACEOF
15888 if ac_fn_c_try_link "$LINENO"
15889 then :
15890 ac_cv_lib_pcsclite_SCardEstablishContext=yes
15891 else $as_nop
15892 ac_cv_lib_pcsclite_SCardEstablishContext=no
15894 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15895 conftest$ac_exeext conftest.$ac_ext
15896 LIBS=$ac_check_lib_save_LIBS
15898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15899 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15900 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15901 then :
15902 PCSCLITE_LIBS="-lpcsclite"
15904 else $as_nop
15905 case $host_os in
15906 darwin*|macosx*) PCSCLITE_LIBS="-framework PCSC"
15908 esac
15912 if test "x$PCSCLITE_LIBS" = x
15913 then :
15914 case "x$with_pcsclite" in
15915 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
15916 xno) ;;
15917 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
15918 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15919 esac
15920 enable_winscard=${enable_winscard:-no}
15923 if test "x$with_inotify" != "xno"
15924 then
15925 rm -f conftest.err
15926 if ${INOTIFY_CFLAGS:+false} :
15927 then :
15928 if test ${PKG_CONFIG+y}
15929 then :
15930 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15934 if ${INOTIFY_LIBS:+false} :
15935 then :
15936 if test ${PKG_CONFIG+y}
15937 then :
15938 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15943 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15944 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15945 if test -s conftest.err; then
15946 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15947 cat conftest.err >&5
15949 rm -f conftest.err
15950 ac_save_CPPFLAGS=$CPPFLAGS
15951 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15952 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15953 if test "x$ac_cv_header_sys_inotify_h" = xyes
15954 then :
15955 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15960 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15961 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15962 then :
15963 printf %s "(cached) " >&6
15964 else $as_nop
15965 ac_check_lib_save_LIBS=$LIBS
15966 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15968 /* end confdefs.h. */
15970 /* Override any GCC internal prototype to avoid an error.
15971 Use char because int might match the return type of a GCC
15972 builtin and then its argument prototype would still apply. */
15973 char inotify_add_watch ();
15975 main (void)
15977 return inotify_add_watch ();
15979 return 0;
15981 _ACEOF
15982 if ac_fn_c_try_link "$LINENO"
15983 then :
15984 ac_cv_lib_inotify_inotify_add_watch=yes
15985 else $as_nop
15986 ac_cv_lib_inotify_inotify_add_watch=no
15988 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15989 conftest$ac_exeext conftest.$ac_ext
15990 LIBS=$ac_check_lib_save_LIBS
15992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15993 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15994 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15995 then :
15997 else $as_nop
15998 INOTIFY_LIBS=""
16001 CPPFLAGS=$ac_save_CPPFLAGS
16004 if test "$ac_cv_header_sys_inotify_h" != "yes"
16005 then :
16006 case "x$with_inotify" in
16007 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16008 xno) ;;
16009 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16010 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16011 esac
16015 if test "x$with_dbus" != "xno"
16016 then
16017 rm -f conftest.err
16018 if ${DBUS_CFLAGS:+false} :
16019 then :
16020 if test ${PKG_CONFIG+y}
16021 then :
16022 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16026 if ${DBUS_LIBS:+false} :
16027 then :
16028 if test ${PKG_CONFIG+y}
16029 then :
16030 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16035 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16036 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16037 if test -s conftest.err; then
16038 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16039 cat conftest.err >&5
16041 rm -f conftest.err
16042 ac_save_CPPFLAGS=$CPPFLAGS
16043 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16044 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16045 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16046 then :
16047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16048 printf %s "checking for -ldbus-1... " >&6; }
16049 if test ${ac_cv_lib_soname_dbus_1+y}
16050 then :
16051 printf %s "(cached) " >&6
16052 else $as_nop
16053 ac_check_soname_save_LIBS=$LIBS
16054 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16056 /* end confdefs.h. */
16058 /* Override any GCC internal prototype to avoid an error.
16059 Use char because int might match the return type of a GCC
16060 builtin and then its argument prototype would still apply. */
16061 char dbus_connection_close ();
16063 main (void)
16065 return dbus_connection_close ();
16067 return 0;
16069 _ACEOF
16070 if ac_fn_c_try_link "$LINENO"
16071 then :
16072 case "$LIBEXT" in
16073 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16074 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'` ;;
16075 *) 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'`
16076 if ${ac_cv_lib_soname_dbus_1:+false} :
16077 then :
16078 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16079 fi ;;
16080 esac
16081 else $as_nop
16082 ac_cv_lib_soname_dbus_1=
16084 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16085 conftest$ac_exeext conftest.$ac_ext
16086 LIBS=$ac_check_soname_save_LIBS
16088 if ${ac_cv_lib_soname_dbus_1:+false} :
16089 then :
16090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16091 printf "%s\n" "not found" >&6; }
16092 DBUS_CFLAGS=""
16093 else $as_nop
16094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16095 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16097 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16101 else $as_nop
16102 DBUS_CFLAGS=""
16105 CPPFLAGS=$ac_save_CPPFLAGS
16108 case $host_os in
16109 darwin*|macosx*) ;;
16110 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16111 then :
16112 case "x$with_dbus" in
16113 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16114 xno) ;;
16115 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16116 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16117 esac
16119 fi ;;
16120 esac
16122 if test "x$with_gnutls" != "xno"
16123 then
16124 rm -f conftest.err
16125 if ${GNUTLS_CFLAGS:+false} :
16126 then :
16127 if test ${PKG_CONFIG+y}
16128 then :
16129 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16133 if ${GNUTLS_LIBS:+false} :
16134 then :
16135 if test ${PKG_CONFIG+y}
16136 then :
16137 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16141 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16143 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16144 if test -s conftest.err; then
16145 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16146 cat conftest.err >&5
16148 rm -f conftest.err
16149 ac_save_CPPFLAGS=$CPPFLAGS
16150 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16151 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16152 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16153 then :
16154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16155 /* end confdefs.h. */
16156 #include <gnutls/gnutls.h>
16157 #include <gnutls/crypto.h>
16159 main (void)
16161 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16163 return 0;
16165 _ACEOF
16166 if ac_fn_c_try_compile "$LINENO"
16167 then :
16168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16169 printf %s "checking for -lgnutls... " >&6; }
16170 if test ${ac_cv_lib_soname_gnutls+y}
16171 then :
16172 printf %s "(cached) " >&6
16173 else $as_nop
16174 ac_check_soname_save_LIBS=$LIBS
16175 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16177 /* end confdefs.h. */
16179 /* Override any GCC internal prototype to avoid an error.
16180 Use char because int might match the return type of a GCC
16181 builtin and then its argument prototype would still apply. */
16182 char gnutls_global_init ();
16184 main (void)
16186 return gnutls_global_init ();
16188 return 0;
16190 _ACEOF
16191 if ac_fn_c_try_link "$LINENO"
16192 then :
16193 case "$LIBEXT" in
16194 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16195 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'` ;;
16196 *) 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'`
16197 if ${ac_cv_lib_soname_gnutls:+false} :
16198 then :
16199 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'`
16200 fi ;;
16201 esac
16202 else $as_nop
16203 ac_cv_lib_soname_gnutls=
16205 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16206 conftest$ac_exeext conftest.$ac_ext
16207 LIBS=$ac_check_soname_save_LIBS
16209 if ${ac_cv_lib_soname_gnutls:+false} :
16210 then :
16211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16212 printf "%s\n" "not found" >&6; }
16213 GNUTLS_CFLAGS=""
16214 else $as_nop
16215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16216 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16218 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16222 ac_wine_check_funcs_save_LIBS="$LIBS"
16223 LIBS="$LIBS $GNUTLS_LIBS"
16225 for ac_func in gnutls_cipher_init
16226 do :
16227 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16228 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16229 then :
16230 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16232 else $as_nop
16233 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16236 done
16237 LIBS="$ac_wine_check_funcs_save_LIBS"
16239 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16240 else $as_nop
16241 GNUTLS_CFLAGS=""
16244 CPPFLAGS=$ac_save_CPPFLAGS
16247 if test "x$ac_cv_lib_soname_gnutls" = "x"
16248 then :
16249 case "x$with_gnutls" in
16250 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16251 xno) ;;
16252 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16253 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16254 esac
16258 if test "x$with_sane" != "xno"
16259 then
16260 rm -f conftest.err
16261 if ${SANE_CFLAGS:+false} :
16262 then :
16263 if test ${PKG_CONFIG+y}
16264 then :
16265 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16268 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16269 if ${SANE_LIBS:+false} :
16270 then :
16271 if test ${PKG_CONFIG+y}
16272 then :
16273 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16276 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16278 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16279 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16280 if test -s conftest.err; then
16281 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16282 cat conftest.err >&5
16284 rm -f conftest.err
16285 ac_save_CPPFLAGS=$CPPFLAGS
16286 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16287 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16288 if test "x$ac_cv_header_sane_sane_h" = xyes
16289 then :
16290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16291 printf %s "checking for sane_init in -lsane... " >&6; }
16292 if test ${ac_cv_lib_sane_sane_init+y}
16293 then :
16294 printf %s "(cached) " >&6
16295 else $as_nop
16296 ac_check_lib_save_LIBS=$LIBS
16297 LIBS="-lsane $SANE_LIBS $LIBS"
16298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16299 /* end confdefs.h. */
16301 /* Override any GCC internal prototype to avoid an error.
16302 Use char because int might match the return type of a GCC
16303 builtin and then its argument prototype would still apply. */
16304 char sane_init ();
16306 main (void)
16308 return sane_init ();
16310 return 0;
16312 _ACEOF
16313 if ac_fn_c_try_link "$LINENO"
16314 then :
16315 ac_cv_lib_sane_sane_init=yes
16316 else $as_nop
16317 ac_cv_lib_sane_sane_init=no
16319 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16320 conftest$ac_exeext conftest.$ac_ext
16321 LIBS=$ac_check_lib_save_LIBS
16323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16324 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16325 if test "x$ac_cv_lib_sane_sane_init" = xyes
16326 then :
16332 CPPFLAGS=$ac_save_CPPFLAGS
16335 if test "$ac_cv_lib_sane_sane_init" != "yes"
16336 then :
16337 case "x$with_sane" in
16338 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16339 xno) ;;
16340 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16341 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16342 esac
16343 enable_sane_ds=${enable_sane_ds:-no}
16346 if test "x$with_usb" != "xno"
16347 then
16348 rm -f conftest.err
16349 if ${USB_CFLAGS:+false} :
16350 then :
16351 if test ${PKG_CONFIG+y}
16352 then :
16353 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16357 if ${USB_LIBS:+false} :
16358 then :
16359 if test ${PKG_CONFIG+y}
16360 then :
16361 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16365 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16366 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16367 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16368 if test -s conftest.err; then
16369 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16370 cat conftest.err >&5
16372 rm -f conftest.err
16373 ac_save_CPPFLAGS=$CPPFLAGS
16374 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16375 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16376 if test "x$ac_cv_header_libusb_h" = xyes
16377 then :
16378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16379 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16380 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16381 then :
16382 printf %s "(cached) " >&6
16383 else $as_nop
16384 ac_check_lib_save_LIBS=$LIBS
16385 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16387 /* end confdefs.h. */
16389 /* Override any GCC internal prototype to avoid an error.
16390 Use char because int might match the return type of a GCC
16391 builtin and then its argument prototype would still apply. */
16392 char libusb_interrupt_event_handler ();
16394 main (void)
16396 return libusb_interrupt_event_handler ();
16398 return 0;
16400 _ACEOF
16401 if ac_fn_c_try_link "$LINENO"
16402 then :
16403 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16404 else $as_nop
16405 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16407 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16408 conftest$ac_exeext conftest.$ac_ext
16409 LIBS=$ac_check_lib_save_LIBS
16411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16412 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16413 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16414 then :
16416 else $as_nop
16417 USB_LIBS=""
16420 else $as_nop
16421 USB_LIBS=""
16424 CPPFLAGS=$ac_save_CPPFLAGS
16427 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16428 then :
16429 case "x$with_usb" in
16430 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16431 xno) ;;
16432 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16433 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16434 esac
16435 enable_wineusb_sys=${enable_wineusb_sys:-no}
16438 if test "x$with_v4l2" != "xno"
16439 then
16440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16441 printf %s "checking for -lv4l2... " >&6; }
16442 if test ${ac_cv_lib_soname_v4l2+y}
16443 then :
16444 printf %s "(cached) " >&6
16445 else $as_nop
16446 ac_check_soname_save_LIBS=$LIBS
16447 LIBS="-lv4l2 $LIBS"
16448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16449 /* end confdefs.h. */
16451 /* Override any GCC internal prototype to avoid an error.
16452 Use char because int might match the return type of a GCC
16453 builtin and then its argument prototype would still apply. */
16454 char v4l2_open ();
16456 main (void)
16458 return v4l2_open ();
16460 return 0;
16462 _ACEOF
16463 if ac_fn_c_try_link "$LINENO"
16464 then :
16465 case "$LIBEXT" in
16466 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16467 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'` ;;
16468 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16469 if ${ac_cv_lib_soname_v4l2:+false} :
16470 then :
16471 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16472 fi ;;
16473 esac
16474 else $as_nop
16475 ac_cv_lib_soname_v4l2=
16477 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16478 conftest$ac_exeext conftest.$ac_ext
16479 LIBS=$ac_check_soname_save_LIBS
16481 if ${ac_cv_lib_soname_v4l2:+false} :
16482 then :
16483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16484 printf "%s\n" "not found" >&6; }
16486 else $as_nop
16487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16488 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16490 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16495 if test "x$ac_cv_lib_soname_v4l2" = "x"
16496 then :
16497 case "x$with_v4l2" in
16498 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16499 xno) ;;
16500 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16501 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16502 esac
16506 if test "x$with_gphoto" != "xno"
16507 then
16508 rm -f conftest.err
16509 if ${GPHOTO2_CFLAGS:+false} :
16510 then :
16511 if test ${PKG_CONFIG+y}
16512 then :
16513 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16516 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16517 if ${GPHOTO2_LIBS:+false} :
16518 then :
16519 if test ${PKG_CONFIG+y}
16520 then :
16521 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16524 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16525 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16526 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16527 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16528 if test -s conftest.err; then
16529 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16530 cat conftest.err >&5
16532 rm -f conftest.err
16533 ac_save_CPPFLAGS=$CPPFLAGS
16534 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16535 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16536 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16537 then :
16538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16539 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16540 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16541 then :
16542 printf %s "(cached) " >&6
16543 else $as_nop
16544 ac_check_lib_save_LIBS=$LIBS
16545 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16547 /* end confdefs.h. */
16549 /* Override any GCC internal prototype to avoid an error.
16550 Use char because int might match the return type of a GCC
16551 builtin and then its argument prototype would still apply. */
16552 char gp_camera_new ();
16554 main (void)
16556 return gp_camera_new ();
16558 return 0;
16560 _ACEOF
16561 if ac_fn_c_try_link "$LINENO"
16562 then :
16563 ac_cv_lib_gphoto2_gp_camera_new=yes
16564 else $as_nop
16565 ac_cv_lib_gphoto2_gp_camera_new=no
16567 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16568 conftest$ac_exeext conftest.$ac_ext
16569 LIBS=$ac_check_lib_save_LIBS
16571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16572 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16573 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16574 then :
16580 CPPFLAGS=$ac_save_CPPFLAGS
16582 rm -f conftest.err
16583 if ${GPHOTO2_PORT_CFLAGS:+false} :
16584 then :
16585 if test ${PKG_CONFIG+y}
16586 then :
16587 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16590 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16591 if ${GPHOTO2_PORT_LIBS:+false} :
16592 then :
16593 if test ${PKG_CONFIG+y}
16594 then :
16595 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16598 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16599 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16600 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16601 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16602 if test -s conftest.err; then
16603 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16604 cat conftest.err >&5
16606 rm -f conftest.err
16607 ac_save_CPPFLAGS=$CPPFLAGS
16608 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16609 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16610 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16611 then :
16612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16613 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16614 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16615 then :
16616 printf %s "(cached) " >&6
16617 else $as_nop
16618 ac_check_lib_save_LIBS=$LIBS
16619 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16621 /* end confdefs.h. */
16623 /* Override any GCC internal prototype to avoid an error.
16624 Use char because int might match the return type of a GCC
16625 builtin and then its argument prototype would still apply. */
16626 char gp_port_info_list_new ();
16628 main (void)
16630 return gp_port_info_list_new ();
16632 return 0;
16634 _ACEOF
16635 if ac_fn_c_try_link "$LINENO"
16636 then :
16637 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16638 else $as_nop
16639 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16641 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16642 conftest$ac_exeext conftest.$ac_ext
16643 LIBS=$ac_check_lib_save_LIBS
16645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16646 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16647 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16648 then :
16650 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16652 else $as_nop
16653 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16656 else $as_nop
16657 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16660 CPPFLAGS=$ac_save_CPPFLAGS
16663 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16664 then :
16665 case "x$with_gphoto" in
16666 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16667 xno) ;;
16668 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16669 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16670 esac
16671 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16673 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16674 then :
16675 case "x$with_gphoto" in
16676 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16677 xno) ;;
16678 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16679 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16680 esac
16685 if test "$ac_cv_header_resolv_h" = "yes"
16686 then
16687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16688 printf %s "checking for resolver library... " >&6; }
16689 if test ${ac_cv_have_resolv+y}
16690 then :
16691 printf %s "(cached) " >&6
16692 else $as_nop
16693 ac_save_LIBS="$LIBS"
16694 for lib in '' -lresolv
16696 LIBS="$lib $ac_save_LIBS"
16697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16698 /* end confdefs.h. */
16699 #ifdef HAVE_NETINET_IN_H
16700 #include <netinet/in.h>
16701 #endif
16702 #include <resolv.h>
16704 main (void)
16706 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16708 return 0;
16710 _ACEOF
16711 if ac_fn_c_try_link "$LINENO"
16712 then :
16713 ac_cv_have_resolv=${lib:-"none required"}
16714 else $as_nop
16715 ac_cv_have_resolv="not found"
16717 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16718 conftest$ac_exeext conftest.$ac_ext
16719 test "x$ac_cv_have_resolv" = "xnot found" || break
16720 done
16721 LIBS="$ac_save_LIBS"
16723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16724 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16726 case "$ac_cv_have_resolv" in
16727 "not found") ;;
16728 "none required")
16730 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16733 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16735 RESOLV_LIBS=$ac_cv_have_resolv
16737 esac
16739 if test "x$ac_cv_have_resolv" != "xnot found"
16740 then
16741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16742 printf %s "checking for res_getservers... " >&6; }
16743 if test ${ac_cv_have_res_getservers+y}
16744 then :
16745 printf %s "(cached) " >&6
16746 else $as_nop
16747 ac_save_LIBS="$LIBS"
16748 LIBS="$RESOLV_LIBS $LIBS"
16749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16750 /* end confdefs.h. */
16751 #include <resolv.h>
16753 main (void)
16755 res_getservers(NULL, NULL, 0);
16757 return 0;
16759 _ACEOF
16760 if ac_fn_c_try_link "$LINENO"
16761 then :
16762 ac_cv_have_res_getservers=yes
16763 else $as_nop
16764 ac_cv_have_res_getservers=no
16766 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16767 conftest$ac_exeext conftest.$ac_ext
16768 LIBS="$ac_save_LIBS"
16770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16771 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16772 if test "$ac_cv_have_res_getservers" = "yes"
16773 then
16775 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16781 if test "x$with_freetype" != "xno"
16782 then
16783 rm -f conftest.err
16784 if ${FREETYPE_CFLAGS:+false} :
16785 then :
16786 if test ${PKG_CONFIG+y}
16787 then :
16788 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16791 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16792 if ${FREETYPE_LIBS:+false} :
16793 then :
16794 if test ${PKG_CONFIG+y}
16795 then :
16796 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16799 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16800 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16801 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16802 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16803 if test -s conftest.err; then
16804 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16805 cat conftest.err >&5
16807 rm -f conftest.err
16808 ac_save_CPPFLAGS=$CPPFLAGS
16809 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16810 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16811 if test "x$ac_cv_header_ft2build_h" = xyes
16812 then :
16813 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16817 if test "$ac_cv_header_ft2build_h" = "yes"
16818 then
16819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16820 printf %s "checking for -lfreetype... " >&6; }
16821 if test ${ac_cv_lib_soname_freetype+y}
16822 then :
16823 printf %s "(cached) " >&6
16824 else $as_nop
16825 ac_check_soname_save_LIBS=$LIBS
16826 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16828 /* end confdefs.h. */
16830 /* Override any GCC internal prototype to avoid an error.
16831 Use char because int might match the return type of a GCC
16832 builtin and then its argument prototype would still apply. */
16833 char FT_Init_FreeType ();
16835 main (void)
16837 return FT_Init_FreeType ();
16839 return 0;
16841 _ACEOF
16842 if ac_fn_c_try_link "$LINENO"
16843 then :
16844 case "$LIBEXT" in
16845 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16846 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'` ;;
16847 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16848 if ${ac_cv_lib_soname_freetype:+false} :
16849 then :
16850 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16851 fi ;;
16852 esac
16853 else $as_nop
16854 ac_cv_lib_soname_freetype=
16856 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16857 conftest$ac_exeext conftest.$ac_ext
16858 LIBS=$ac_check_soname_save_LIBS
16860 if ${ac_cv_lib_soname_freetype:+false} :
16861 then :
16862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16863 printf "%s\n" "not found" >&6; }
16864 FREETYPE_LIBS=""
16865 else $as_nop
16866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16867 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16869 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16872 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16874 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16875 #include FT_MODULE_H
16877 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16878 then :
16880 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16886 else
16887 FREETYPE_CFLAGS=""
16888 FREETYPE_LIBS=""
16890 CPPFLAGS=$ac_save_CPPFLAGS
16893 if test "x$ac_cv_lib_soname_freetype" = x
16894 then :
16895 case "x$with_freetype" in
16896 xno) ;;
16897 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16898 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16899 esac
16900 enable_fonts=${enable_fonts:-no}
16903 ac_wine_check_funcs_save_LIBS="$LIBS"
16904 LIBS="$LIBS $PTHREAD_LIBS"
16905 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16906 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16907 then :
16908 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16912 LIBS="$ac_wine_check_funcs_save_LIBS"
16914 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16915 then
16916 if test "$ac_cv_header_gettext_po_h" = "yes"
16917 then
16918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16919 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16920 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16921 then :
16922 printf %s "(cached) " >&6
16923 else $as_nop
16924 ac_check_lib_save_LIBS=$LIBS
16925 LIBS="-lgettextpo $LIBS"
16926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16927 /* end confdefs.h. */
16929 /* Override any GCC internal prototype to avoid an error.
16930 Use char because int might match the return type of a GCC
16931 builtin and then its argument prototype would still apply. */
16932 char po_message_msgctxt ();
16934 main (void)
16936 return po_message_msgctxt ();
16938 return 0;
16940 _ACEOF
16941 if ac_fn_c_try_link "$LINENO"
16942 then :
16943 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16944 else $as_nop
16945 ac_cv_lib_gettextpo_po_message_msgctxt=no
16947 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16948 conftest$ac_exeext conftest.$ac_ext
16949 LIBS=$ac_check_lib_save_LIBS
16951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16952 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16953 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16954 then :
16956 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16958 GETTEXTPO_LIBS="-lgettextpo"
16963 if test "x$GETTEXTPO_LIBS" = "x"
16964 then :
16965 case "x$with_gettextpo" in
16966 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16967 xno) ;;
16968 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16969 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16970 esac
16973 if test "$srcdir" != .
16974 then :
16975 case "x$with_gettextpo" in
16976 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16977 xno) ;;
16978 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16979 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16980 esac
16985 if test "x$with_pulse" != "xno";
16986 then
16987 rm -f conftest.err
16988 if ${PULSE_CFLAGS:+false} :
16989 then :
16990 if test ${PKG_CONFIG+y}
16991 then :
16992 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16996 if ${PULSE_LIBS:+false} :
16997 then :
16998 if test ${PKG_CONFIG+y}
16999 then :
17000 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17005 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17006 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17007 if test -s conftest.err; then
17008 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17009 cat conftest.err >&5
17011 rm -f conftest.err
17012 ac_save_CPPFLAGS=$CPPFLAGS
17013 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
17014 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17015 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17016 then :
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 CPPFLAGS=$ac_save_CPPFLAGS
17066 if test -z "$PULSE_LIBS"
17067 then :
17068 case "x$with_pulse" in
17069 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17070 xno) ;;
17071 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17072 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17073 esac
17074 enable_winepulse_drv=${enable_winepulse_drv:-no}
17077 if test "x$with_gstreamer" != "xno"
17078 then
17079 rm -f conftest.err
17080 if ${GSTREAMER_CFLAGS:+false} :
17081 then :
17082 if test ${PKG_CONFIG+y}
17083 then :
17084 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17088 if ${GSTREAMER_LIBS:+false} :
17089 then :
17090 if test ${PKG_CONFIG+y}
17091 then :
17092 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17097 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
17098 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
17099 if test -s conftest.err; then
17100 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17101 cat conftest.err >&5
17103 rm -f conftest.err
17104 ac_save_CPPFLAGS=$CPPFLAGS
17105 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17106 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17107 if test "x$ac_cv_header_gst_gst_h" = xyes
17108 then :
17109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17110 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17112 /* end confdefs.h. */
17113 #include <gst/gst.h>
17115 main (void)
17117 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17119 return 0;
17121 _ACEOF
17122 if ac_fn_c_try_compile "$LINENO"
17123 then :
17124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17125 printf "%s\n" "yes" >&6; }
17126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17127 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17128 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17129 then :
17130 printf %s "(cached) " >&6
17131 else $as_nop
17132 ac_check_lib_save_LIBS=$LIBS
17133 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17135 /* end confdefs.h. */
17137 /* Override any GCC internal prototype to avoid an error.
17138 Use char because int might match the return type of a GCC
17139 builtin and then its argument prototype would still apply. */
17140 char gst_pad_new ();
17142 main (void)
17144 return gst_pad_new ();
17146 return 0;
17148 _ACEOF
17149 if ac_fn_c_try_link "$LINENO"
17150 then :
17151 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17152 else $as_nop
17153 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17155 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17156 conftest$ac_exeext conftest.$ac_ext
17157 LIBS=$ac_check_lib_save_LIBS
17159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17160 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17161 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17162 then :
17166 else $as_nop
17167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17168 printf "%s\n" "no" >&6; }
17169 ac_glib2_broken=yes
17170 enable_winegstreamer=${enable_winegstreamer:-no}
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" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17905 printf %s "checking for -lfontconfig... " >&6; }
17906 if test ${ac_cv_lib_soname_fontconfig+y}
17907 then :
17908 printf %s "(cached) " >&6
17909 else $as_nop
17910 ac_check_soname_save_LIBS=$LIBS
17911 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17913 /* end confdefs.h. */
17915 /* Override any GCC internal prototype to avoid an error.
17916 Use char because int might match the return type of a GCC
17917 builtin and then its argument prototype would still apply. */
17918 char FcInit ();
17920 main (void)
17922 return FcInit ();
17924 return 0;
17926 _ACEOF
17927 if ac_fn_c_try_link "$LINENO"
17928 then :
17929 case "$LIBEXT" in
17930 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17931 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'` ;;
17932 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17933 if ${ac_cv_lib_soname_fontconfig:+false} :
17934 then :
17935 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17936 fi ;;
17937 esac
17938 else $as_nop
17939 ac_cv_lib_soname_fontconfig=
17941 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17942 conftest$ac_exeext conftest.$ac_ext
17943 LIBS=$ac_check_soname_save_LIBS
17945 if ${ac_cv_lib_soname_fontconfig:+false} :
17946 then :
17947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17948 printf "%s\n" "not found" >&6; }
17949 FONTCONFIG_CFLAGS=""
17950 else $as_nop
17951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17952 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17954 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17958 else $as_nop
17959 FONTCONFIG_CFLAGS=""
17962 CPPFLAGS=$ac_save_CPPFLAGS
17965 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17966 then :
17967 case "x$with_fontconfig" in
17968 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17969 xno) ;;
17970 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17971 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17972 esac
17976 if test "x$with_krb5" != "xno"
17977 then
17978 rm -f conftest.err
17979 if ${KRB5_CFLAGS:+false} :
17980 then :
17981 if test ${PKG_CONFIG+y}
17982 then :
17983 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17986 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17987 if ${KRB5_LIBS:+false} :
17988 then :
17989 if test ${PKG_CONFIG+y}
17990 then :
17991 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17994 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17996 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17997 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17998 if test -s conftest.err; then
17999 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18000 cat conftest.err >&5
18002 rm -f conftest.err
18003 ac_save_CPPFLAGS=$CPPFLAGS
18004 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
18005 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18006 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18007 then :
18008 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18012 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18013 then
18014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18015 printf %s "checking for -lkrb5... " >&6; }
18016 if test ${ac_cv_lib_soname_krb5+y}
18017 then :
18018 printf %s "(cached) " >&6
18019 else $as_nop
18020 ac_check_soname_save_LIBS=$LIBS
18021 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
18022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18023 /* end confdefs.h. */
18025 /* Override any GCC internal prototype to avoid an error.
18026 Use char because int might match the return type of a GCC
18027 builtin and then its argument prototype would still apply. */
18028 char krb5_is_config_principal ();
18030 main (void)
18032 return krb5_is_config_principal ();
18034 return 0;
18036 _ACEOF
18037 if ac_fn_c_try_link "$LINENO"
18038 then :
18039 case "$LIBEXT" in
18040 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18041 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'` ;;
18042 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18043 if ${ac_cv_lib_soname_krb5:+false} :
18044 then :
18045 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18046 fi ;;
18047 esac
18048 else $as_nop
18049 ac_cv_lib_soname_krb5=
18051 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18052 conftest$ac_exeext conftest.$ac_ext
18053 LIBS=$ac_check_soname_save_LIBS
18055 if ${ac_cv_lib_soname_krb5:+false} :
18056 then :
18057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18058 printf "%s\n" "not found" >&6; }
18059 KRB5_CFLAGS=""
18060 else $as_nop
18061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18062 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18064 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18068 else
18069 KRB5_CFLAGS=""
18071 CPPFLAGS=$ac_save_CPPFLAGS
18074 if test "x$ac_cv_lib_soname_krb5" = "x"
18075 then :
18076 case "x$with_krb5" in
18077 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18078 xno) ;;
18079 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18080 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18081 esac
18084 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18086 if test "x$with_gssapi" != "xno"
18087 then
18088 rm -f conftest.err
18089 if ${GSSAPI_CFLAGS:+false} :
18090 then :
18091 if test ${PKG_CONFIG+y}
18092 then :
18093 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18096 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18097 if ${GSSAPI_LIBS:+false} :
18098 then :
18099 if test ${PKG_CONFIG+y}
18100 then :
18101 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18104 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18106 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18107 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18108 if test -s conftest.err; then
18109 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18110 cat conftest.err >&5
18112 rm -f conftest.err
18113 ac_save_CPPFLAGS=$CPPFLAGS
18114 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18115 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18116 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18117 then :
18118 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18121 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18122 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18123 then :
18124 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18128 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18129 then
18130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18131 printf %s "checking for -lgssapi_krb5... " >&6; }
18132 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18133 then :
18134 printf %s "(cached) " >&6
18135 else $as_nop
18136 ac_check_soname_save_LIBS=$LIBS
18137 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18139 /* end confdefs.h. */
18141 /* Override any GCC internal prototype to avoid an error.
18142 Use char because int might match the return type of a GCC
18143 builtin and then its argument prototype would still apply. */
18144 char gss_init_sec_context ();
18146 main (void)
18148 return gss_init_sec_context ();
18150 return 0;
18152 _ACEOF
18153 if ac_fn_c_try_link "$LINENO"
18154 then :
18155 case "$LIBEXT" in
18156 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18157 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'` ;;
18158 *) 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'`
18159 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18160 then :
18161 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18162 fi ;;
18163 esac
18164 else $as_nop
18165 ac_cv_lib_soname_gssapi_krb5=
18167 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18168 conftest$ac_exeext conftest.$ac_ext
18169 LIBS=$ac_check_soname_save_LIBS
18171 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18172 then :
18173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18174 printf "%s\n" "not found" >&6; }
18175 GSSAPI_CFLAGS=""
18176 else $as_nop
18177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18178 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18180 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18184 else
18185 GSSAPI_CFLAGS=""
18187 CPPFLAGS=$ac_save_CPPFLAGS
18190 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18191 then :
18192 case "x$with_gssapi" in
18193 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18194 xno) ;;
18195 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18196 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18197 esac
18201 if test "$ac_cv_header_libprocstat_h" = "yes"
18202 then
18203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18204 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18205 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18206 then :
18207 printf %s "(cached) " >&6
18208 else $as_nop
18209 ac_check_lib_save_LIBS=$LIBS
18210 LIBS="-lprocstat $LIBS"
18211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18212 /* end confdefs.h. */
18214 /* Override any GCC internal prototype to avoid an error.
18215 Use char because int might match the return type of a GCC
18216 builtin and then its argument prototype would still apply. */
18217 char procstat_open_sysctl ();
18219 main (void)
18221 return procstat_open_sysctl ();
18223 return 0;
18225 _ACEOF
18226 if ac_fn_c_try_link "$LINENO"
18227 then :
18228 ac_cv_lib_procstat_procstat_open_sysctl=yes
18229 else $as_nop
18230 ac_cv_lib_procstat_procstat_open_sysctl=no
18232 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18233 conftest$ac_exeext conftest.$ac_ext
18234 LIBS=$ac_check_lib_save_LIBS
18236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18237 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18238 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18239 then :
18241 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18243 PROCSTAT_LIBS="-lprocstat"
18249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18250 printf %s "checking for -lodbc... " >&6; }
18251 if test ${ac_cv_lib_soname_odbc+y}
18252 then :
18253 printf %s "(cached) " >&6
18254 else $as_nop
18255 ac_check_soname_save_LIBS=$LIBS
18256 LIBS="-lodbc $LIBS"
18257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18258 /* end confdefs.h. */
18260 /* Override any GCC internal prototype to avoid an error.
18261 Use char because int might match the return type of a GCC
18262 builtin and then its argument prototype would still apply. */
18263 char SQLConnect ();
18265 main (void)
18267 return SQLConnect ();
18269 return 0;
18271 _ACEOF
18272 if ac_fn_c_try_link "$LINENO"
18273 then :
18274 case "$LIBEXT" in
18275 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18276 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'` ;;
18277 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18278 if ${ac_cv_lib_soname_odbc:+false} :
18279 then :
18280 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18281 fi ;;
18282 esac
18283 else $as_nop
18284 ac_cv_lib_soname_odbc=
18286 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18287 conftest$ac_exeext conftest.$ac_ext
18288 LIBS=$ac_check_soname_save_LIBS
18290 if ${ac_cv_lib_soname_odbc:+false} :
18291 then :
18292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18293 printf "%s\n" "not found" >&6; }
18294 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18296 else $as_nop
18297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18298 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18300 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18305 if test "x$with_netapi" != "xno"
18306 then
18307 rm -f conftest.err
18308 if ${NETAPI_CFLAGS:+false} :
18309 then :
18310 if test ${PKG_CONFIG+y}
18311 then :
18312 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18316 if ${NETAPI_LIBS:+false} :
18317 then :
18318 if test ${PKG_CONFIG+y}
18319 then :
18320 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18325 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18326 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18327 if test -s conftest.err; then
18328 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18329 cat conftest.err >&5
18331 rm -f conftest.err
18332 ac_save_CPPFLAGS=$CPPFLAGS
18333 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18335 printf %s "checking for -lnetapi... " >&6; }
18336 if test ${ac_cv_lib_soname_netapi+y}
18337 then :
18338 printf %s "(cached) " >&6
18339 else $as_nop
18340 ac_check_soname_save_LIBS=$LIBS
18341 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18343 /* end confdefs.h. */
18345 /* Override any GCC internal prototype to avoid an error.
18346 Use char because int might match the return type of a GCC
18347 builtin and then its argument prototype would still apply. */
18348 char libnetapi_init ();
18350 main (void)
18352 return libnetapi_init ();
18354 return 0;
18356 _ACEOF
18357 if ac_fn_c_try_link "$LINENO"
18358 then :
18359 case "$LIBEXT" in
18360 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18361 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'` ;;
18362 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18363 if ${ac_cv_lib_soname_netapi:+false} :
18364 then :
18365 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18366 fi ;;
18367 esac
18368 else $as_nop
18369 ac_cv_lib_soname_netapi=
18371 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18372 conftest$ac_exeext conftest.$ac_ext
18373 LIBS=$ac_check_soname_save_LIBS
18375 if ${ac_cv_lib_soname_netapi:+false} :
18376 then :
18377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18378 printf "%s\n" "not found" >&6; }
18379 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18381 else $as_nop
18382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18383 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18385 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18389 CPPFLAGS=$ac_save_CPPFLAGS
18392 if test "x$ac_cv_lib_soname_netapi" = "x"
18393 then :
18394 case "x$with_netapi" in
18395 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18396 xno) ;;
18397 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18398 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18399 esac
18400 enable_netapi=${enable_netapi:-no}
18404 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18405 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18406 then
18407 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18410 if test "x$with_vulkan" != "xno"
18411 then
18412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18413 printf %s "checking for -lvulkan... " >&6; }
18414 if test ${ac_cv_lib_soname_vulkan+y}
18415 then :
18416 printf %s "(cached) " >&6
18417 else $as_nop
18418 ac_check_soname_save_LIBS=$LIBS
18419 LIBS="-lvulkan $LIBS"
18420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18421 /* end confdefs.h. */
18423 /* Override any GCC internal prototype to avoid an error.
18424 Use char because int might match the return type of a GCC
18425 builtin and then its argument prototype would still apply. */
18426 char vkGetInstanceProcAddr ();
18428 main (void)
18430 return vkGetInstanceProcAddr ();
18432 return 0;
18434 _ACEOF
18435 if ac_fn_c_try_link "$LINENO"
18436 then :
18437 case "$LIBEXT" in
18438 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18439 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'` ;;
18440 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18441 if ${ac_cv_lib_soname_vulkan:+false} :
18442 then :
18443 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18444 fi ;;
18445 esac
18446 else $as_nop
18447 ac_cv_lib_soname_vulkan=
18449 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18450 conftest$ac_exeext conftest.$ac_ext
18451 LIBS=$ac_check_soname_save_LIBS
18453 if ${ac_cv_lib_soname_vulkan:+false} :
18454 then :
18455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18456 printf "%s\n" "not found" >&6; }
18458 else $as_nop
18459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18460 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18462 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18466 if test "x$ac_cv_lib_soname_vulkan" = "x"
18467 then
18468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18469 printf %s "checking for -lMoltenVK... " >&6; }
18470 if test ${ac_cv_lib_soname_MoltenVK+y}
18471 then :
18472 printf %s "(cached) " >&6
18473 else $as_nop
18474 ac_check_soname_save_LIBS=$LIBS
18475 LIBS="-lMoltenVK $LIBS"
18476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18477 /* end confdefs.h. */
18479 /* Override any GCC internal prototype to avoid an error.
18480 Use char because int might match the return type of a GCC
18481 builtin and then its argument prototype would still apply. */
18482 char vkGetInstanceProcAddr ();
18484 main (void)
18486 return vkGetInstanceProcAddr ();
18488 return 0;
18490 _ACEOF
18491 if ac_fn_c_try_link "$LINENO"
18492 then :
18493 case "$LIBEXT" in
18494 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18495 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'` ;;
18496 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18497 if ${ac_cv_lib_soname_MoltenVK:+false} :
18498 then :
18499 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18500 fi ;;
18501 esac
18502 else $as_nop
18503 ac_cv_lib_soname_MoltenVK=
18505 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18506 conftest$ac_exeext conftest.$ac_ext
18507 LIBS=$ac_check_soname_save_LIBS
18509 if ${ac_cv_lib_soname_MoltenVK:+false} :
18510 then :
18511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18512 printf "%s\n" "not found" >&6; }
18514 else $as_nop
18515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18516 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18518 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18524 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18525 then :
18526 case "x$with_vulkan" in
18527 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18528 xno) ;;
18529 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18530 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18531 esac
18536 if test "x${GCC}" = "xyes"
18537 then
18538 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18540 saved_CFLAGS=$CFLAGS
18541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18542 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18543 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18544 then :
18545 printf %s "(cached) " >&6
18546 else $as_nop
18547 ac_wine_try_cflags_saved=$CFLAGS
18548 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18550 /* end confdefs.h. */
18551 int main(int argc, char **argv) { return 0; }
18552 _ACEOF
18553 if ac_fn_c_try_link "$LINENO"
18554 then :
18555 ac_cv_cflags__Werror_unknown_warning_option=yes
18556 else $as_nop
18557 ac_cv_cflags__Werror_unknown_warning_option=no
18559 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18560 conftest$ac_exeext conftest.$ac_ext
18561 CFLAGS=$ac_wine_try_cflags_saved
18563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18564 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18565 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18566 then :
18567 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18570 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18571 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18572 then :
18573 printf %s "(cached) " >&6
18574 else $as_nop
18575 ac_wine_try_cflags_saved=$CFLAGS
18576 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18578 /* end confdefs.h. */
18579 int main(int argc, char **argv) { return 0; }
18580 _ACEOF
18581 if ac_fn_c_try_link "$LINENO"
18582 then :
18583 ac_cv_cflags__Werror_unused_command_line_argument=yes
18584 else $as_nop
18585 ac_cv_cflags__Werror_unused_command_line_argument=no
18587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18588 conftest$ac_exeext conftest.$ac_ext
18589 CFLAGS=$ac_wine_try_cflags_saved
18591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18592 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18593 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18594 then :
18595 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18598 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18599 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18600 then :
18601 printf %s "(cached) " >&6
18602 else $as_nop
18603 ac_wine_try_cflags_saved=$CFLAGS
18604 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18606 /* end confdefs.h. */
18607 int main(int argc, char **argv) { return 0; }
18608 _ACEOF
18609 if ac_fn_c_try_link "$LINENO"
18610 then :
18611 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18612 else $as_nop
18613 ac_cv_cflags__Werror_ignored_optimization_argument=no
18615 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18616 conftest$ac_exeext conftest.$ac_ext
18617 CFLAGS=$ac_wine_try_cflags_saved
18619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18620 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18621 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18622 then :
18623 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18626 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18627 if test ${ac_cv_cflags__fcf_protection_none+y}
18628 then :
18629 printf %s "(cached) " >&6
18630 else $as_nop
18631 ac_wine_try_cflags_saved=$CFLAGS
18632 CFLAGS="$CFLAGS -fcf-protection=none"
18633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18634 /* end confdefs.h. */
18635 int main(int argc, char **argv) { return 0; }
18636 _ACEOF
18637 if ac_fn_c_try_link "$LINENO"
18638 then :
18639 ac_cv_cflags__fcf_protection_none=yes
18640 else $as_nop
18641 ac_cv_cflags__fcf_protection_none=no
18643 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18644 conftest$ac_exeext conftest.$ac_ext
18645 CFLAGS=$ac_wine_try_cflags_saved
18647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18648 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18649 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18650 then :
18651 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
18654 printf %s "checking whether the compiler supports -fvisibility=hidden... " >&6; }
18655 if test ${ac_cv_cflags__fvisibility_hidden+y}
18656 then :
18657 printf %s "(cached) " >&6
18658 else $as_nop
18659 ac_wine_try_cflags_saved=$CFLAGS
18660 CFLAGS="$CFLAGS -fvisibility=hidden"
18661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18662 /* end confdefs.h. */
18663 int main(int argc, char **argv) { return 0; }
18664 _ACEOF
18665 if ac_fn_c_try_link "$LINENO"
18666 then :
18667 ac_cv_cflags__fvisibility_hidden=yes
18668 else $as_nop
18669 ac_cv_cflags__fvisibility_hidden=no
18671 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18672 conftest$ac_exeext conftest.$ac_ext
18673 CFLAGS=$ac_wine_try_cflags_saved
18675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
18676 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
18677 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
18678 then :
18679 EXTRACFLAGS="$EXTRACFLAGS -fvisibility=hidden"
18681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18682 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18683 if test ${ac_cv_cflags__fno_stack_protector+y}
18684 then :
18685 printf %s "(cached) " >&6
18686 else $as_nop
18687 ac_wine_try_cflags_saved=$CFLAGS
18688 CFLAGS="$CFLAGS -fno-stack-protector"
18689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18690 /* end confdefs.h. */
18691 int main(int argc, char **argv) { return 0; }
18692 _ACEOF
18693 if ac_fn_c_try_link "$LINENO"
18694 then :
18695 ac_cv_cflags__fno_stack_protector=yes
18696 else $as_nop
18697 ac_cv_cflags__fno_stack_protector=no
18699 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18700 conftest$ac_exeext conftest.$ac_ext
18701 CFLAGS=$ac_wine_try_cflags_saved
18703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18704 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18705 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18706 then :
18707 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18710 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18711 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18712 then :
18713 printf %s "(cached) " >&6
18714 else $as_nop
18715 ac_wine_try_cflags_saved=$CFLAGS
18716 CFLAGS="$CFLAGS -fno-strict-aliasing"
18717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18718 /* end confdefs.h. */
18719 int main(int argc, char **argv) { return 0; }
18720 _ACEOF
18721 if ac_fn_c_try_link "$LINENO"
18722 then :
18723 ac_cv_cflags__fno_strict_aliasing=yes
18724 else $as_nop
18725 ac_cv_cflags__fno_strict_aliasing=no
18727 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18728 conftest$ac_exeext conftest.$ac_ext
18729 CFLAGS=$ac_wine_try_cflags_saved
18731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18732 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18733 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18734 then :
18735 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18738 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18739 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18740 then :
18741 printf %s "(cached) " >&6
18742 else $as_nop
18743 ac_wine_try_cflags_saved=$CFLAGS
18744 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18746 /* end confdefs.h. */
18747 int main(int argc, char **argv) { return 0; }
18748 _ACEOF
18749 if ac_fn_c_try_link "$LINENO"
18750 then :
18751 ac_cv_cflags__Wdeclaration_after_statement=yes
18752 else $as_nop
18753 ac_cv_cflags__Wdeclaration_after_statement=no
18755 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18756 conftest$ac_exeext conftest.$ac_ext
18757 CFLAGS=$ac_wine_try_cflags_saved
18759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18760 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18761 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18762 then :
18763 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18766 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18767 if test ${ac_cv_cflags__Wempty_body+y}
18768 then :
18769 printf %s "(cached) " >&6
18770 else $as_nop
18771 ac_wine_try_cflags_saved=$CFLAGS
18772 CFLAGS="$CFLAGS -Wempty-body"
18773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18774 /* end confdefs.h. */
18775 int main(int argc, char **argv) { return 0; }
18776 _ACEOF
18777 if ac_fn_c_try_link "$LINENO"
18778 then :
18779 ac_cv_cflags__Wempty_body=yes
18780 else $as_nop
18781 ac_cv_cflags__Wempty_body=no
18783 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18784 conftest$ac_exeext conftest.$ac_ext
18785 CFLAGS=$ac_wine_try_cflags_saved
18787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18788 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18789 if test "x$ac_cv_cflags__Wempty_body" = xyes
18790 then :
18791 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18794 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18795 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18796 then :
18797 printf %s "(cached) " >&6
18798 else $as_nop
18799 ac_wine_try_cflags_saved=$CFLAGS
18800 CFLAGS="$CFLAGS -Wignored-qualifiers"
18801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18802 /* end confdefs.h. */
18803 int main(int argc, char **argv) { return 0; }
18804 _ACEOF
18805 if ac_fn_c_try_link "$LINENO"
18806 then :
18807 ac_cv_cflags__Wignored_qualifiers=yes
18808 else $as_nop
18809 ac_cv_cflags__Wignored_qualifiers=no
18811 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18812 conftest$ac_exeext conftest.$ac_ext
18813 CFLAGS=$ac_wine_try_cflags_saved
18815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18816 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18817 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18818 then :
18819 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18822 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18823 if test ${ac_cv_cflags__Winit_self+y}
18824 then :
18825 printf %s "(cached) " >&6
18826 else $as_nop
18827 ac_wine_try_cflags_saved=$CFLAGS
18828 CFLAGS="$CFLAGS -Winit-self"
18829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18830 /* end confdefs.h. */
18831 int main(int argc, char **argv) { return 0; }
18832 _ACEOF
18833 if ac_fn_c_try_link "$LINENO"
18834 then :
18835 ac_cv_cflags__Winit_self=yes
18836 else $as_nop
18837 ac_cv_cflags__Winit_self=no
18839 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18840 conftest$ac_exeext conftest.$ac_ext
18841 CFLAGS=$ac_wine_try_cflags_saved
18843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18844 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18845 if test "x$ac_cv_cflags__Winit_self" = xyes
18846 then :
18847 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18850 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18851 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18852 then :
18853 printf %s "(cached) " >&6
18854 else $as_nop
18855 ac_wine_try_cflags_saved=$CFLAGS
18856 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18858 /* end confdefs.h. */
18859 int main(int argc, char **argv) { return 0; }
18860 _ACEOF
18861 if ac_fn_c_try_link "$LINENO"
18862 then :
18863 ac_cv_cflags__Wpacked_not_aligned=yes
18864 else $as_nop
18865 ac_cv_cflags__Wpacked_not_aligned=no
18867 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18868 conftest$ac_exeext conftest.$ac_ext
18869 CFLAGS=$ac_wine_try_cflags_saved
18871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18872 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18873 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18874 then :
18875 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18878 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18879 if test ${ac_cv_cflags__Wpragma_pack+y}
18880 then :
18881 printf %s "(cached) " >&6
18882 else $as_nop
18883 ac_wine_try_cflags_saved=$CFLAGS
18884 CFLAGS="$CFLAGS -Wpragma-pack"
18885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18886 /* end confdefs.h. */
18887 int main(int argc, char **argv) { return 0; }
18888 _ACEOF
18889 if ac_fn_c_try_link "$LINENO"
18890 then :
18891 ac_cv_cflags__Wpragma_pack=yes
18892 else $as_nop
18893 ac_cv_cflags__Wpragma_pack=no
18895 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18896 conftest$ac_exeext conftest.$ac_ext
18897 CFLAGS=$ac_wine_try_cflags_saved
18899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18900 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18901 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18902 then :
18903 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18906 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18907 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18908 then :
18909 printf %s "(cached) " >&6
18910 else $as_nop
18911 ac_wine_try_cflags_saved=$CFLAGS
18912 CFLAGS="$CFLAGS -Wshift-overflow=2"
18913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18914 /* end confdefs.h. */
18915 int main(int argc, char **argv) { return 0; }
18916 _ACEOF
18917 if ac_fn_c_try_link "$LINENO"
18918 then :
18919 ac_cv_cflags__Wshift_overflow_2=yes
18920 else $as_nop
18921 ac_cv_cflags__Wshift_overflow_2=no
18923 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18924 conftest$ac_exeext conftest.$ac_ext
18925 CFLAGS=$ac_wine_try_cflags_saved
18927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18928 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18929 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18930 then :
18931 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18934 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18935 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18936 then :
18937 printf %s "(cached) " >&6
18938 else $as_nop
18939 ac_wine_try_cflags_saved=$CFLAGS
18940 CFLAGS="$CFLAGS -Wstrict-prototypes"
18941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18942 /* end confdefs.h. */
18943 int main(int argc, char **argv) { return 0; }
18944 _ACEOF
18945 if ac_fn_c_try_link "$LINENO"
18946 then :
18947 ac_cv_cflags__Wstrict_prototypes=yes
18948 else $as_nop
18949 ac_cv_cflags__Wstrict_prototypes=no
18951 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18952 conftest$ac_exeext conftest.$ac_ext
18953 CFLAGS=$ac_wine_try_cflags_saved
18955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18956 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18957 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18958 then :
18959 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18962 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18963 if test ${ac_cv_cflags__Wtype_limits+y}
18964 then :
18965 printf %s "(cached) " >&6
18966 else $as_nop
18967 ac_wine_try_cflags_saved=$CFLAGS
18968 CFLAGS="$CFLAGS -Wtype-limits"
18969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18970 /* end confdefs.h. */
18971 int main(int argc, char **argv) { return 0; }
18972 _ACEOF
18973 if ac_fn_c_try_link "$LINENO"
18974 then :
18975 ac_cv_cflags__Wtype_limits=yes
18976 else $as_nop
18977 ac_cv_cflags__Wtype_limits=no
18979 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18980 conftest$ac_exeext conftest.$ac_ext
18981 CFLAGS=$ac_wine_try_cflags_saved
18983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18984 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18985 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18986 then :
18987 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18990 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18991 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18992 then :
18993 printf %s "(cached) " >&6
18994 else $as_nop
18995 ac_wine_try_cflags_saved=$CFLAGS
18996 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18998 /* end confdefs.h. */
18999 int main(int argc, char **argv) { return 0; }
19000 _ACEOF
19001 if ac_fn_c_try_link "$LINENO"
19002 then :
19003 ac_cv_cflags__Wunused_but_set_parameter=yes
19004 else $as_nop
19005 ac_cv_cflags__Wunused_but_set_parameter=no
19007 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19008 conftest$ac_exeext conftest.$ac_ext
19009 CFLAGS=$ac_wine_try_cflags_saved
19011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19012 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19013 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19014 then :
19015 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
19017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19018 printf %s "checking whether the compiler supports -Wvla... " >&6; }
19019 if test ${ac_cv_cflags__Wvla+y}
19020 then :
19021 printf %s "(cached) " >&6
19022 else $as_nop
19023 ac_wine_try_cflags_saved=$CFLAGS
19024 CFLAGS="$CFLAGS -Wvla"
19025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19026 /* end confdefs.h. */
19027 int main(int argc, char **argv) { return 0; }
19028 _ACEOF
19029 if ac_fn_c_try_link "$LINENO"
19030 then :
19031 ac_cv_cflags__Wvla=yes
19032 else $as_nop
19033 ac_cv_cflags__Wvla=no
19035 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19036 conftest$ac_exeext conftest.$ac_ext
19037 CFLAGS=$ac_wine_try_cflags_saved
19039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19040 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19041 if test "x$ac_cv_cflags__Wvla" = xyes
19042 then :
19043 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
19045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19046 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
19047 if test ${ac_cv_cflags__Wwrite_strings+y}
19048 then :
19049 printf %s "(cached) " >&6
19050 else $as_nop
19051 ac_wine_try_cflags_saved=$CFLAGS
19052 CFLAGS="$CFLAGS -Wwrite-strings"
19053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19054 /* end confdefs.h. */
19055 int main(int argc, char **argv) { return 0; }
19056 _ACEOF
19057 if ac_fn_c_try_link "$LINENO"
19058 then :
19059 ac_cv_cflags__Wwrite_strings=yes
19060 else $as_nop
19061 ac_cv_cflags__Wwrite_strings=no
19063 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19064 conftest$ac_exeext conftest.$ac_ext
19065 CFLAGS=$ac_wine_try_cflags_saved
19067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19068 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19069 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19070 then :
19071 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19075 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19076 if test ${ac_cv_cflags__Wpointer_arith+y}
19077 then :
19078 printf %s "(cached) " >&6
19079 else $as_nop
19080 ac_wine_try_cflags_saved=$CFLAGS
19081 CFLAGS="$CFLAGS -Wpointer-arith"
19082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19083 /* end confdefs.h. */
19084 int main(int argc, char **argv) { return 0; }
19085 _ACEOF
19086 if ac_fn_c_try_link "$LINENO"
19087 then :
19088 ac_cv_cflags__Wpointer_arith=yes
19089 else $as_nop
19090 ac_cv_cflags__Wpointer_arith=no
19092 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19093 conftest$ac_exeext conftest.$ac_ext
19094 CFLAGS=$ac_wine_try_cflags_saved
19096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19097 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19098 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19099 then :
19100 saved_string_h_CFLAGS=$CFLAGS
19101 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19103 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19104 if test ${ac_cv_c_string_h_warnings+y}
19105 then :
19106 printf %s "(cached) " >&6
19107 else $as_nop
19108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19109 /* end confdefs.h. */
19110 #include <string.h>
19112 main (void)
19116 return 0;
19118 _ACEOF
19119 if ac_fn_c_try_compile "$LINENO"
19120 then :
19121 ac_cv_c_string_h_warnings=no
19122 else $as_nop
19123 ac_cv_c_string_h_warnings=yes
19125 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19128 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19129 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19130 CFLAGS=$saved_string_h_CFLAGS
19133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19134 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19135 if test ${ac_cv_cflags__Wlogical_op+y}
19136 then :
19137 printf %s "(cached) " >&6
19138 else $as_nop
19139 ac_wine_try_cflags_saved=$CFLAGS
19140 CFLAGS="$CFLAGS -Wlogical-op"
19141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19142 /* end confdefs.h. */
19143 int main(int argc, char **argv) { return 0; }
19144 _ACEOF
19145 if ac_fn_c_try_link "$LINENO"
19146 then :
19147 ac_cv_cflags__Wlogical_op=yes
19148 else $as_nop
19149 ac_cv_cflags__Wlogical_op=no
19151 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19152 conftest$ac_exeext conftest.$ac_ext
19153 CFLAGS=$ac_wine_try_cflags_saved
19155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19156 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19157 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19158 then :
19159 saved_string_h_CFLAGS=$CFLAGS
19160 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19162 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19163 if test ${ac_cv_c_logicalop_noisy+y}
19164 then :
19165 printf %s "(cached) " >&6
19166 else $as_nop
19167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19168 /* end confdefs.h. */
19169 #include <string.h>
19170 char*f(const char *h,char n) {return strchr(h,n);}
19172 main (void)
19176 return 0;
19178 _ACEOF
19179 if ac_fn_c_try_compile "$LINENO"
19180 then :
19181 ac_cv_c_logicalop_noisy=no
19182 else $as_nop
19183 ac_cv_c_logicalop_noisy=yes
19185 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19188 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19189 CFLAGS=$saved_string_h_CFLAGS
19190 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19194 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19195 if test ${wine_cv_64bit_compare_swap+y}
19196 then :
19197 printf %s "(cached) " >&6
19198 else $as_nop
19199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19200 /* end confdefs.h. */
19201 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19202 #error no
19203 #endif
19205 main (void)
19209 return 0;
19211 _ACEOF
19212 if ac_fn_c_try_compile "$LINENO"
19213 then :
19214 wine_cv_64bit_compare_swap="none needed"
19215 else $as_nop
19216 case $HOST_ARCH in
19217 i386) wine_cv_64bit_compare_swap="-march=i586" ;;
19218 arm) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19219 *) wine_cv_64bit_compare_swap="unknown" ;;
19220 esac
19221 if test "x$wine_cv_64bit_compare_swap" != xunknown
19222 then
19223 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19225 /* end confdefs.h. */
19226 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19227 #error no
19228 #endif
19230 main (void)
19234 return 0;
19236 _ACEOF
19237 if ac_fn_c_try_compile "$LINENO"
19238 then :
19240 else $as_nop
19241 wine_cv_64bit_compare_swap="unknown"
19243 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19244 CFLAGS=$saved_CFLAGS
19247 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19250 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19251 case "$wine_cv_64bit_compare_swap" in
19252 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19253 "none needed") ;;
19254 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19255 esac
19257 ac_debug_format_seen=""
19258 for ac_flag in $CFLAGS; do
19259 case $ac_flag in
19260 -gdwarf*) ac_debug_format_seen=yes ;;
19261 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19262 esac
19263 done
19264 if test "x$ac_debug_format_seen" = xdefault
19265 then
19266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19267 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19268 if test ${ac_cv_cflags__gdwarf_4+y}
19269 then :
19270 printf %s "(cached) " >&6
19271 else $as_nop
19272 ac_wine_try_cflags_saved=$CFLAGS
19273 CFLAGS="$CFLAGS -gdwarf-4"
19274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19275 /* end confdefs.h. */
19276 int main(int argc, char **argv) { return 0; }
19277 _ACEOF
19278 if ac_fn_c_try_link "$LINENO"
19279 then :
19280 ac_cv_cflags__gdwarf_4=yes
19281 else $as_nop
19282 ac_cv_cflags__gdwarf_4=no
19284 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19285 conftest$ac_exeext conftest.$ac_ext
19286 CFLAGS=$ac_wine_try_cflags_saved
19288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19289 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19290 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19291 then :
19292 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19296 MSVCRTFLAGS=""
19298 case $host_os in
19299 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19300 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19301 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19302 then :
19303 printf %s "(cached) " >&6
19304 else $as_nop
19305 ac_wine_try_cflags_saved=$CFLAGS
19306 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19308 /* end confdefs.h. */
19309 int main(int argc, char **argv) { return 0; }
19310 _ACEOF
19311 if ac_fn_c_try_link "$LINENO"
19312 then :
19313 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19314 else $as_nop
19315 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19317 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19318 conftest$ac_exeext conftest.$ac_ext
19319 CFLAGS=$ac_wine_try_cflags_saved
19321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19322 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19323 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19324 then :
19325 DELAYLOADFLAG="-Wl,-delayload,"
19327 fi ;;
19328 *) MSVCRTFLAGS="-D_WIN32"
19329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19330 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19331 if test ${ac_cv_cflags__fno_builtin+y}
19332 then :
19333 printf %s "(cached) " >&6
19334 else $as_nop
19335 ac_wine_try_cflags_saved=$CFLAGS
19336 CFLAGS="$CFLAGS -fno-builtin"
19337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19338 /* end confdefs.h. */
19339 int main(int argc, char **argv) { return 0; }
19340 _ACEOF
19341 if ac_fn_c_try_link "$LINENO"
19342 then :
19343 ac_cv_cflags__fno_builtin=yes
19344 else $as_nop
19345 ac_cv_cflags__fno_builtin=no
19347 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19348 conftest$ac_exeext conftest.$ac_ext
19349 CFLAGS=$ac_wine_try_cflags_saved
19351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19352 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19353 if test "x$ac_cv_cflags__fno_builtin" = xyes
19354 then :
19355 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19358 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19359 if test ${ac_cv_cflags__fshort_wchar+y}
19360 then :
19361 printf %s "(cached) " >&6
19362 else $as_nop
19363 ac_wine_try_cflags_saved=$CFLAGS
19364 CFLAGS="$CFLAGS -fshort-wchar"
19365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19366 /* end confdefs.h. */
19367 int main(int argc, char **argv) { return 0; }
19368 _ACEOF
19369 if ac_fn_c_try_link "$LINENO"
19370 then :
19371 ac_cv_cflags__fshort_wchar=yes
19372 else $as_nop
19373 ac_cv_cflags__fshort_wchar=no
19375 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19376 conftest$ac_exeext conftest.$ac_ext
19377 CFLAGS=$ac_wine_try_cflags_saved
19379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19380 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19381 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19382 then :
19383 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19386 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19387 if test ${ac_cv_cflags__Wno_format+y}
19388 then :
19389 printf %s "(cached) " >&6
19390 else $as_nop
19391 ac_wine_try_cflags_saved=$CFLAGS
19392 CFLAGS="$CFLAGS -Wno-format"
19393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19394 /* end confdefs.h. */
19395 int main(int argc, char **argv) { return 0; }
19396 _ACEOF
19397 if ac_fn_c_try_link "$LINENO"
19398 then :
19399 ac_cv_cflags__Wno_format=yes
19400 else $as_nop
19401 ac_cv_cflags__Wno_format=no
19403 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19404 conftest$ac_exeext conftest.$ac_ext
19405 CFLAGS=$ac_wine_try_cflags_saved
19407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19408 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19409 if test "x$ac_cv_cflags__Wno_format" = xyes
19410 then :
19411 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19412 fi ;;
19413 esac
19415 case $HOST_ARCH in
19416 i386) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19417 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19418 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19419 then :
19420 printf %s "(cached) " >&6
19421 else $as_nop
19422 ac_wine_try_cflags_saved=$CFLAGS
19423 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19425 /* end confdefs.h. */
19426 int main(int argc, char **argv) { return 0; }
19427 _ACEOF
19428 if ac_fn_c_try_link "$LINENO"
19429 then :
19430 ac_cv_cflags__fno_omit_frame_pointer=yes
19431 else $as_nop
19432 ac_cv_cflags__fno_omit_frame_pointer=no
19434 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19435 conftest$ac_exeext conftest.$ac_ext
19436 CFLAGS=$ac_wine_try_cflags_saved
19438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19439 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19440 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19441 then :
19442 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19443 fi ;;
19444 x86_64)
19445 case $host_os in
19446 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19447 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19448 if test ${ac_cv_cflags__Wno_format+y}
19449 then :
19450 printf %s "(cached) " >&6
19451 else $as_nop
19452 ac_wine_try_cflags_saved=$CFLAGS
19453 CFLAGS="$CFLAGS -Wno-format"
19454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19455 /* end confdefs.h. */
19456 int main(int argc, char **argv) { return 0; }
19457 _ACEOF
19458 if ac_fn_c_try_link "$LINENO"
19459 then :
19460 ac_cv_cflags__Wno_format=yes
19461 else $as_nop
19462 ac_cv_cflags__Wno_format=no
19464 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19465 conftest$ac_exeext conftest.$ac_ext
19466 CFLAGS=$ac_wine_try_cflags_saved
19468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19469 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19470 if test "x$ac_cv_cflags__Wno_format" = xyes
19471 then :
19472 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19473 fi ;;
19474 *) if test -z "$PE_ARCHS"
19475 then
19476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19477 printf %s "checking for working -mabi=ms... " >&6; }
19478 if test ${ac_cv_mabi_ms+y}
19479 then :
19480 printf %s "(cached) " >&6
19481 else $as_nop
19482 CFLAGS="$CFLAGS -mabi=ms"
19483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19484 /* end confdefs.h. */
19485 #include <stdarg.h>
19486 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19488 main (void)
19492 return 0;
19494 _ACEOF
19495 if ac_fn_c_try_compile "$LINENO"
19496 then :
19497 ac_cv_mabi_ms=yes
19498 else $as_nop
19499 ac_cv_mabi_ms=no
19501 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19502 CFLAGS=$saved_CFLAGS
19504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19505 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19506 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
19508 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19509 esac ;;
19510 arm)
19511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19512 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19513 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19514 then :
19515 printf %s "(cached) " >&6
19516 else $as_nop
19517 ac_wine_try_cflags_saved=$CFLAGS
19518 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19520 /* end confdefs.h. */
19521 int main(int argc, char **argv) { return 0; }
19522 _ACEOF
19523 if ac_fn_c_try_link "$LINENO"
19524 then :
19525 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19526 else $as_nop
19527 ac_cv_cflags__Wincompatible_function_pointer_types=no
19529 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19530 conftest$ac_exeext conftest.$ac_ext
19531 CFLAGS=$ac_wine_try_cflags_saved
19533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19534 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19535 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19536 then :
19537 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19538 fi ;;
19539 esac
19541 CFLAGS=$saved_CFLAGS
19543 if test "x$enable_werror" = "xyes"
19544 then
19545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19546 printf %s "checking whether the compiler supports -Werror... " >&6; }
19547 if test ${ac_cv_cflags__Werror+y}
19548 then :
19549 printf %s "(cached) " >&6
19550 else $as_nop
19551 ac_wine_try_cflags_saved=$CFLAGS
19552 CFLAGS="$CFLAGS -Werror"
19553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19554 /* end confdefs.h. */
19555 int main(int argc, char **argv) { return 0; }
19556 _ACEOF
19557 if ac_fn_c_try_link "$LINENO"
19558 then :
19559 ac_cv_cflags__Werror=yes
19560 else $as_nop
19561 ac_cv_cflags__Werror=no
19563 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19564 conftest$ac_exeext conftest.$ac_ext
19565 CFLAGS=$ac_wine_try_cflags_saved
19567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19568 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19569 if test "x$ac_cv_cflags__Werror" = xyes
19570 then :
19571 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19574 if test "x$enable_build_id" = "xyes"
19575 then
19576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19577 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19578 if test ${ac_cv_cflags__Wl___build_id+y}
19579 then :
19580 printf %s "(cached) " >&6
19581 else $as_nop
19582 ac_wine_try_cflags_saved=$CFLAGS
19583 CFLAGS="$CFLAGS -Wl,--build-id"
19584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19585 /* end confdefs.h. */
19586 int main(int argc, char **argv) { return 0; }
19587 _ACEOF
19588 if ac_fn_c_try_link "$LINENO"
19589 then :
19590 ac_cv_cflags__Wl___build_id=yes
19591 else $as_nop
19592 ac_cv_cflags__Wl___build_id=no
19594 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19595 conftest$ac_exeext conftest.$ac_ext
19596 CFLAGS=$ac_wine_try_cflags_saved
19598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19599 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19600 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19601 then :
19602 CFLAGS="$CFLAGS -Wl,--build-id"
19603 LDFLAGS="$LDFLAGS -Wl,--build-id"
19609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19610 printf %s "checking for the need to disable Fortify... " >&6; }
19611 if test ${ac_cv_c_fortify_enabled+y}
19612 then :
19613 printf %s "(cached) " >&6
19614 else $as_nop
19615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19616 /* end confdefs.h. */
19617 #include <string.h>
19619 main (void)
19621 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19622 #error Fortify enabled
19623 #endif
19625 return 0;
19627 _ACEOF
19628 if ac_fn_c_try_compile "$LINENO"
19629 then :
19630 ac_cv_c_fortify_enabled=no
19631 else $as_nop
19632 ac_cv_c_fortify_enabled=yes
19634 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19637 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19638 if test "$ac_cv_c_fortify_enabled" = yes
19639 then
19640 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19645 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19646 if test ${ac_cv_c_cfi_support+y}
19647 then :
19648 printf %s "(cached) " >&6
19649 else $as_nop
19650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19651 /* end confdefs.h. */
19652 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19654 main (void)
19658 return 0;
19660 _ACEOF
19661 if ac_fn_c_try_compile "$LINENO"
19662 then :
19663 ac_cv_c_cfi_support="yes"
19664 else $as_nop
19665 ac_cv_c_cfi_support="no"
19667 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19670 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19671 if test "$ac_cv_c_cfi_support" = "yes"
19672 then
19673 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19674 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19675 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19676 elif test $HOST_ARCH = x86_64
19677 then
19678 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19682 case "$HOST_ARCH,$PE_ARCHS" in
19683 x86_64,*i386*) wine_binary="wine" ;;
19684 x86_64,*) wine_binary="wine64" ;;
19685 *) wine_binary="wine" ;;
19686 esac
19687 WINELOADER_PROGRAMS="$wine_binary"
19690 case $host_os in
19691 linux*)
19692 if test $HOST_ARCH != unknown
19693 then
19694 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19695 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19698 darwin*|macosx*)
19699 if test "$wine_can_build_preloader" = "yes"
19700 then
19701 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19702 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19705 esac
19708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19709 printf %s "checking for library containing dlopen... " >&6; }
19710 if test ${ac_cv_search_dlopen+y}
19711 then :
19712 printf %s "(cached) " >&6
19713 else $as_nop
19714 ac_func_search_save_LIBS=$LIBS
19715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19716 /* end confdefs.h. */
19718 /* Override any GCC internal prototype to avoid an error.
19719 Use char because int might match the return type of a GCC
19720 builtin and then its argument prototype would still apply. */
19721 char dlopen ();
19723 main (void)
19725 return dlopen ();
19727 return 0;
19729 _ACEOF
19730 for ac_lib in '' dl
19732 if test -z "$ac_lib"; then
19733 ac_res="none required"
19734 else
19735 ac_res=-l$ac_lib
19736 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19738 if ac_fn_c_try_link "$LINENO"
19739 then :
19740 ac_cv_search_dlopen=$ac_res
19742 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19743 conftest$ac_exeext
19744 if test ${ac_cv_search_dlopen+y}
19745 then :
19746 break
19748 done
19749 if test ${ac_cv_search_dlopen+y}
19750 then :
19752 else $as_nop
19753 ac_cv_search_dlopen=no
19755 rm conftest.$ac_ext
19756 LIBS=$ac_func_search_save_LIBS
19758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19759 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19760 ac_res=$ac_cv_search_dlopen
19761 if test "$ac_res" != no
19762 then :
19763 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19769 printf %s "checking for library containing gethostbyname... " >&6; }
19770 if test ${ac_cv_search_gethostbyname+y}
19771 then :
19772 printf %s "(cached) " >&6
19773 else $as_nop
19774 ac_func_search_save_LIBS=$LIBS
19775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19776 /* end confdefs.h. */
19778 /* Override any GCC internal prototype to avoid an error.
19779 Use char because int might match the return type of a GCC
19780 builtin and then its argument prototype would still apply. */
19781 char gethostbyname ();
19783 main (void)
19785 return gethostbyname ();
19787 return 0;
19789 _ACEOF
19790 for ac_lib in '' nsl
19792 if test -z "$ac_lib"; then
19793 ac_res="none required"
19794 else
19795 ac_res=-l$ac_lib
19796 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19798 if ac_fn_c_try_link "$LINENO"
19799 then :
19800 ac_cv_search_gethostbyname=$ac_res
19802 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19803 conftest$ac_exeext
19804 if test ${ac_cv_search_gethostbyname+y}
19805 then :
19806 break
19808 done
19809 if test ${ac_cv_search_gethostbyname+y}
19810 then :
19812 else $as_nop
19813 ac_cv_search_gethostbyname=no
19815 rm conftest.$ac_ext
19816 LIBS=$ac_func_search_save_LIBS
19818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19819 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19820 ac_res=$ac_cv_search_gethostbyname
19821 if test "$ac_res" != no
19822 then :
19823 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19829 printf %s "checking for library containing connect... " >&6; }
19830 if test ${ac_cv_search_connect+y}
19831 then :
19832 printf %s "(cached) " >&6
19833 else $as_nop
19834 ac_func_search_save_LIBS=$LIBS
19835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19836 /* end confdefs.h. */
19838 /* Override any GCC internal prototype to avoid an error.
19839 Use char because int might match the return type of a GCC
19840 builtin and then its argument prototype would still apply. */
19841 char connect ();
19843 main (void)
19845 return connect ();
19847 return 0;
19849 _ACEOF
19850 for ac_lib in '' socket
19852 if test -z "$ac_lib"; then
19853 ac_res="none required"
19854 else
19855 ac_res=-l$ac_lib
19856 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19858 if ac_fn_c_try_link "$LINENO"
19859 then :
19860 ac_cv_search_connect=$ac_res
19862 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19863 conftest$ac_exeext
19864 if test ${ac_cv_search_connect+y}
19865 then :
19866 break
19868 done
19869 if test ${ac_cv_search_connect+y}
19870 then :
19872 else $as_nop
19873 ac_cv_search_connect=no
19875 rm conftest.$ac_ext
19876 LIBS=$ac_func_search_save_LIBS
19878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19879 printf "%s\n" "$ac_cv_search_connect" >&6; }
19880 ac_res=$ac_cv_search_connect
19881 if test "$ac_res" != no
19882 then :
19883 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19889 printf %s "checking for library containing inet_aton... " >&6; }
19890 if test ${ac_cv_search_inet_aton+y}
19891 then :
19892 printf %s "(cached) " >&6
19893 else $as_nop
19894 ac_func_search_save_LIBS=$LIBS
19895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19896 /* end confdefs.h. */
19898 /* Override any GCC internal prototype to avoid an error.
19899 Use char because int might match the return type of a GCC
19900 builtin and then its argument prototype would still apply. */
19901 char inet_aton ();
19903 main (void)
19905 return inet_aton ();
19907 return 0;
19909 _ACEOF
19910 for ac_lib in '' resolv
19912 if test -z "$ac_lib"; then
19913 ac_res="none required"
19914 else
19915 ac_res=-l$ac_lib
19916 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19918 if ac_fn_c_try_link "$LINENO"
19919 then :
19920 ac_cv_search_inet_aton=$ac_res
19922 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19923 conftest$ac_exeext
19924 if test ${ac_cv_search_inet_aton+y}
19925 then :
19926 break
19928 done
19929 if test ${ac_cv_search_inet_aton+y}
19930 then :
19932 else $as_nop
19933 ac_cv_search_inet_aton=no
19935 rm conftest.$ac_ext
19936 LIBS=$ac_func_search_save_LIBS
19938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19939 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19940 ac_res=$ac_cv_search_inet_aton
19941 if test "$ac_res" != no
19942 then :
19943 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19948 ac_save_CFLAGS="$CFLAGS"
19949 CFLAGS="$CFLAGS $BUILTINFLAG"
19950 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19951 if test "x$ac_cv_func_dladdr1" = xyes
19952 then :
19953 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19956 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19957 if test "x$ac_cv_func_dlinfo" = xyes
19958 then :
19959 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19962 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19963 if test "x$ac_cv_func_epoll_create" = xyes
19964 then :
19965 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19968 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19969 if test "x$ac_cv_func_fstatfs" = xyes
19970 then :
19971 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19974 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19975 if test "x$ac_cv_func_futimens" = xyes
19976 then :
19977 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19980 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19981 if test "x$ac_cv_func_futimes" = xyes
19982 then :
19983 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19986 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19987 if test "x$ac_cv_func_futimesat" = xyes
19988 then :
19989 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19992 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19993 if test "x$ac_cv_func_getaddrinfo" = xyes
19994 then :
19995 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19998 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19999 if test "x$ac_cv_func_getattrlist" = xyes
20000 then :
20001 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
20004 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
20005 if test "x$ac_cv_func_getauxval" = xyes
20006 then :
20007 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
20010 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
20011 if test "x$ac_cv_func_getifaddrs" = xyes
20012 then :
20013 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
20016 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
20017 if test "x$ac_cv_func_getrandom" = xyes
20018 then :
20019 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
20022 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
20023 if test "x$ac_cv_func_kqueue" = xyes
20024 then :
20025 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20028 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20029 if test "x$ac_cv_func_mach_continuous_time" = xyes
20030 then :
20031 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20034 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
20035 if test "x$ac_cv_func_pipe2" = xyes
20036 then :
20037 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20040 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
20041 if test "x$ac_cv_func_port_create" = xyes
20042 then :
20043 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20046 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20047 if test "x$ac_cv_func_posix_fadvise" = xyes
20048 then :
20049 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20052 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20053 if test "x$ac_cv_func_posix_fallocate" = xyes
20054 then :
20055 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20058 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
20059 if test "x$ac_cv_func_prctl" = xyes
20060 then :
20061 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20064 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20065 if test "x$ac_cv_func_proc_pidinfo" = xyes
20066 then :
20067 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20070 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20071 if test "x$ac_cv_func_sched_yield" = xyes
20072 then :
20073 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20076 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20077 if test "x$ac_cv_func_setproctitle" = xyes
20078 then :
20079 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20082 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
20083 if test "x$ac_cv_func_setprogname" = xyes
20084 then :
20085 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20088 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20089 if test "x$ac_cv_func_sigprocmask" = xyes
20090 then :
20091 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20094 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20095 if test "x$ac_cv_func_sysinfo" = xyes
20096 then :
20097 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20100 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20101 if test "x$ac_cv_func_tcdrain" = xyes
20102 then :
20103 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20106 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20107 if test "x$ac_cv_func_thr_kill2" = xyes
20108 then :
20109 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20113 CFLAGS="$ac_save_CFLAGS"
20115 case $host_os in
20116 darwin*|macosx*) ;;
20117 *) ac_save_LIBS=$LIBS
20118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20119 printf %s "checking for library containing clock_gettime... " >&6; }
20120 if test ${ac_cv_search_clock_gettime+y}
20121 then :
20122 printf %s "(cached) " >&6
20123 else $as_nop
20124 ac_func_search_save_LIBS=$LIBS
20125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20126 /* end confdefs.h. */
20128 /* Override any GCC internal prototype to avoid an error.
20129 Use char because int might match the return type of a GCC
20130 builtin and then its argument prototype would still apply. */
20131 char clock_gettime ();
20133 main (void)
20135 return clock_gettime ();
20137 return 0;
20139 _ACEOF
20140 for ac_lib in '' rt
20142 if test -z "$ac_lib"; then
20143 ac_res="none required"
20144 else
20145 ac_res=-l$ac_lib
20146 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20148 if ac_fn_c_try_link "$LINENO"
20149 then :
20150 ac_cv_search_clock_gettime=$ac_res
20152 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20153 conftest$ac_exeext
20154 if test ${ac_cv_search_clock_gettime+y}
20155 then :
20156 break
20158 done
20159 if test ${ac_cv_search_clock_gettime+y}
20160 then :
20162 else $as_nop
20163 ac_cv_search_clock_gettime=no
20165 rm conftest.$ac_ext
20166 LIBS=$ac_func_search_save_LIBS
20168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20169 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20170 ac_res=$ac_cv_search_clock_gettime
20171 if test "$ac_res" != no
20172 then :
20173 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20175 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20177 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20181 LIBS=$ac_save_LIBS
20183 esac
20185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20186 printf %s "checking for sched_setaffinity... " >&6; }
20187 if test ${wine_cv_have_sched_setaffinity+y}
20188 then :
20189 printf %s "(cached) " >&6
20190 else $as_nop
20191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20192 /* end confdefs.h. */
20193 #include <sched.h>
20195 main (void)
20197 sched_setaffinity(0, 0, 0);
20199 return 0;
20201 _ACEOF
20202 if ac_fn_c_try_link "$LINENO"
20203 then :
20204 wine_cv_have_sched_setaffinity=yes
20205 else $as_nop
20206 wine_cv_have_sched_setaffinity=no
20208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20209 conftest$ac_exeext conftest.$ac_ext
20211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20212 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20213 if test "$wine_cv_have_sched_setaffinity" = "yes"
20214 then
20216 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20222 printf %s "checking for inline... " >&6; }
20223 if test ${ac_cv_c_inline+y}
20224 then :
20225 printf %s "(cached) " >&6
20226 else $as_nop
20227 ac_cv_c_inline=no
20228 for ac_kw in inline __inline__ __inline; do
20229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20230 /* end confdefs.h. */
20231 #ifndef __cplusplus
20232 typedef int foo_t;
20233 static $ac_kw foo_t static_foo (void) {return 0; }
20234 $ac_kw foo_t foo (void) {return 0; }
20235 #endif
20237 _ACEOF
20238 if ac_fn_c_try_compile "$LINENO"
20239 then :
20240 ac_cv_c_inline=$ac_kw
20242 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20243 test "$ac_cv_c_inline" != no && break
20244 done
20247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20248 printf "%s\n" "$ac_cv_c_inline" >&6; }
20250 case $ac_cv_c_inline in
20251 inline | yes) ;;
20253 case $ac_cv_c_inline in
20254 no) ac_val=;;
20255 *) ac_val=$ac_cv_c_inline;;
20256 esac
20257 cat >>confdefs.h <<_ACEOF
20258 #ifndef __cplusplus
20259 #define inline $ac_val
20260 #endif
20261 _ACEOF
20263 esac
20265 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20267 if test "x$ac_cv_type_request_sense" = xyes
20268 then :
20270 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20276 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20277 #include <sys/socket.h>
20278 #ifdef HAVE_SYS_SOCKETVAR_H
20279 #include <sys/socketvar.h>
20280 #endif
20281 #ifdef HAVE_NET_ROUTE_H
20282 #include <net/route.h>
20283 #endif
20284 #ifdef HAVE_NETINET_IN_H
20285 #include <netinet/in.h>
20286 #endif
20287 #ifdef HAVE_NETINET_IN_SYSTM_H
20288 #include <netinet/in_systm.h>
20289 #endif
20290 #ifdef HAVE_NETINET_IP_H
20291 #include <netinet/ip.h>
20292 #endif
20293 #ifdef HAVE_NETINET_IN_PCB_H
20294 #include <netinet/in_pcb.h>
20295 #endif
20297 if test "x$ac_cv_type_struct_xinpgen" = xyes
20298 then :
20300 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20307 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20308 if test ${wine_cv_linux_gethostbyname_r_6+y}
20309 then :
20310 printf %s "(cached) " >&6
20311 else $as_nop
20312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20313 /* end confdefs.h. */
20314 #include <netdb.h>
20316 main (void)
20319 char *name=0;
20320 struct hostent he;
20321 struct hostent *result;
20322 char *buf=0;
20323 int bufsize=0;
20324 int errnr;
20325 char *addr=0;
20326 int addrlen=0;
20327 int addrtype=0;
20328 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20329 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20332 return 0;
20334 _ACEOF
20335 if ac_fn_c_try_link "$LINENO"
20336 then :
20337 wine_cv_linux_gethostbyname_r_6=yes
20338 else $as_nop
20339 wine_cv_linux_gethostbyname_r_6=no
20342 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20343 conftest$ac_exeext conftest.$ac_ext
20346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20347 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20348 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20349 then
20351 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20355 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20356 #include <sys/socket.h>
20357 #ifdef HAVE_SYS_UN_H
20358 # include <sys/un.h>
20359 #endif
20361 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20362 then :
20364 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20368 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20369 #include <sys/socket.h>
20370 #ifdef HAVE_SYS_UN_H
20371 # include <sys/un.h>
20372 #endif
20374 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20375 then :
20377 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20383 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20384 #ifdef HAVE_SCSI_SG_H
20385 #include <scsi/sg.h>
20386 #endif
20388 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20389 then :
20391 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20395 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>
20396 #ifdef HAVE_SCSI_SG_H
20397 #include <scsi/sg.h>
20398 #endif
20400 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20401 then :
20403 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20409 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20411 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20412 then :
20414 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20420 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20421 #ifdef HAVE_SYS_MTIO_H
20422 #include <sys/mtio.h>
20423 #endif
20425 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20426 then :
20428 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20432 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20433 #ifdef HAVE_SYS_MTIO_H
20434 #include <sys/mtio.h>
20435 #endif
20437 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20438 then :
20440 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20444 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20445 #ifdef HAVE_SYS_MTIO_H
20446 #include <sys/mtio.h>
20447 #endif
20449 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20450 then :
20452 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20458 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20459 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20460 then :
20462 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20466 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20467 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20468 then :
20470 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20474 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20475 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20476 then :
20478 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20482 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20483 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20484 then :
20486 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20490 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20491 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20492 then :
20494 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20498 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20499 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20500 then :
20502 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20506 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20507 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20508 then :
20510 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20514 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20515 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20516 then :
20518 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20522 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20523 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20524 then :
20526 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20530 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20531 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20532 then :
20534 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20538 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20539 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20540 then :
20542 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20548 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>
20549 #ifdef HAVE_NETINET_IN_H
20550 #include <netinet/in.h>
20551 #endif
20553 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20554 then :
20556 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20562 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
20563 #include <resolv.h>
20564 #endif
20566 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20567 then :
20569 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20575 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20576 #include <netinet/in.h>
20577 #endif
20579 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20580 then :
20582 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20588 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20589 #ifdef HAVE_SYS_SOCKETVAR_H
20590 #include <sys/socketvar.h>
20591 #endif
20592 #ifdef HAVE_NETINET_IN_H
20593 #include <netinet/in.h>
20594 #endif
20595 #ifdef HAVE_NETINET_IP_VAR_H
20596 #include <netinet/ip_var.h>
20597 #endif
20599 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20600 then :
20602 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20608 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
20609 #include <netinet/ip_var.h>
20610 #endif
20612 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20613 then :
20615 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20621 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20622 #ifdef HAVE_SYS_SOCKETVAR_H
20623 #include <sys/socketvar.h>
20624 #endif
20625 #ifdef HAVE_NETINET_IN_H
20626 #include <netinet/in.h>
20627 #endif
20628 #ifdef HAVE_NETINET6_IP6_VAR_H
20629 #include <netinet6/ip6_var.h>
20630 #endif
20632 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20633 then :
20635 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20641 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20642 #ifdef HAVE_SYS_SOCKETVAR_H
20643 #include <sys/socketvar.h>
20644 #endif
20645 #ifdef HAVE_NETINET_IN_H
20646 #include <netinet/in.h>
20647 #endif
20648 #ifdef HAVE_NETINET_IP_H
20649 #include <netinet/ip.h>
20650 #endif
20651 #ifdef HAVE_NETINET_IP_ICMP_H
20652 #include <netinet/ip_icmp.h>
20653 #endif
20654 #ifdef HAVE_NETINET_ICMP_VAR_H
20655 #include <netinet/icmp_var.h>
20656 #endif
20658 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20659 then :
20661 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20667 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20668 #ifdef HAVE_SYS_SOCKETVAR_H
20669 #include <sys/socketvar.h>
20670 #endif
20671 #ifdef HAVE_NETINET_IN_H
20672 #include <netinet/in.h>
20673 #endif
20674 #ifdef HAVE_NETINET_ICMP6_H
20675 #include <netinet/icmp6.h>
20676 #endif
20678 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20679 then :
20681 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20687 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20688 #ifdef HAVE_SYS_SOCKETVAR_H
20689 #include <sys/socketvar.h>
20690 #endif
20691 #ifdef HAVE_NETINET_IN_H
20692 #include <netinet/in.h>
20693 #endif
20694 #ifdef HAVE_NETINET_TCP_H
20695 #include <netinet/tcp.h>
20696 #endif
20697 #ifdef HAVE_NETINET_TCP_VAR_H
20698 #include <netinet/tcp_var.h>
20699 #endif
20701 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20702 then :
20704 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20710 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
20711 #include <netinet/tcp_var.h>
20712 #endif
20714 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20715 then :
20717 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20723 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20724 #ifdef HAVE_NETINET_IN_H
20725 #include <netinet/in.h>
20726 #endif
20727 #ifdef HAVE_NETINET_IP_VAR_H
20728 #include <netinet/ip_var.h>
20729 #endif
20730 #ifdef HAVE_NETINET_UDP_H
20731 #include <netinet/udp.h>
20732 #endif
20733 #ifdef HAVE_NETINET_UDP_VAR_H
20734 #include <netinet/udp_var.h>
20735 #endif
20737 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20738 then :
20740 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20746 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20747 #ifdef HAVE_NET_IF_H
20748 # include <net/if.h>
20749 #endif
20751 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20752 then :
20754 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20760 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20761 # include <sys/sysinfo.h>
20762 #endif
20764 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20765 then :
20767 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20771 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20772 # include <sys/sysinfo.h>
20773 #endif
20775 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20776 then :
20778 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20784 LIBS="$ac_save_LIBS"
20786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20787 printf %s "checking for __builtin_popcount... " >&6; }
20788 if test ${ac_cv_have___builtin_popcount+y}
20789 then :
20790 printf %s "(cached) " >&6
20791 else $as_nop
20792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20793 /* end confdefs.h. */
20796 main (void)
20798 return __builtin_popcount(1)
20800 return 0;
20802 _ACEOF
20803 if ac_fn_c_try_link "$LINENO"
20804 then :
20805 ac_cv_have___builtin_popcount="yes"
20806 else $as_nop
20807 ac_cv_have___builtin_popcount="no"
20809 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20810 conftest$ac_exeext conftest.$ac_ext
20812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20813 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20814 if test "$ac_cv_have___builtin_popcount" = "yes"
20815 then
20817 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20822 printf %s "checking for __clear_cache... " >&6; }
20823 if test ${ac_cv_have___clear_cache+y}
20824 then :
20825 printf %s "(cached) " >&6
20826 else $as_nop
20827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20828 /* end confdefs.h. */
20831 main (void)
20833 __clear_cache((void*)0, (void*)0); return 0;
20835 return 0;
20837 _ACEOF
20838 if ac_fn_c_try_link "$LINENO"
20839 then :
20840 ac_cv_have___clear_cache="yes"
20841 else $as_nop
20842 ac_cv_have___clear_cache="no"
20844 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20845 conftest$ac_exeext conftest.$ac_ext
20847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20848 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20849 if test "$ac_cv_have___clear_cache" = "yes"
20850 then
20852 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20857 case $host_cpu in
20858 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20859 printf %s "checking whether we need to define __i386__... " >&6; }
20860 if test ${ac_cv_cpp_def___i386__+y}
20861 then :
20862 printf %s "(cached) " >&6
20863 else $as_nop
20864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20865 /* end confdefs.h. */
20866 #ifndef __i386__
20868 #endif
20869 _ACEOF
20870 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20871 $EGREP "yes" >/dev/null 2>&1
20872 then :
20873 ac_cv_cpp_def___i386__=yes
20874 else $as_nop
20875 ac_cv_cpp_def___i386__=no
20877 rm -rf conftest*
20880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20881 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20882 if test "x$ac_cv_cpp_def___i386__" = xyes
20883 then :
20884 CFLAGS="$CFLAGS -D__i386__"
20885 LINTFLAGS="$LINTFLAGS -D__i386__"
20886 fi ;;
20887 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20888 printf %s "checking whether we need to define __x86_64__... " >&6; }
20889 if test ${ac_cv_cpp_def___x86_64__+y}
20890 then :
20891 printf %s "(cached) " >&6
20892 else $as_nop
20893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20894 /* end confdefs.h. */
20895 #ifndef __x86_64__
20897 #endif
20898 _ACEOF
20899 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20900 $EGREP "yes" >/dev/null 2>&1
20901 then :
20902 ac_cv_cpp_def___x86_64__=yes
20903 else $as_nop
20904 ac_cv_cpp_def___x86_64__=no
20906 rm -rf conftest*
20909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20910 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20911 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20912 then :
20913 CFLAGS="$CFLAGS -D__x86_64__"
20914 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20915 fi ;;
20916 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20917 printf %s "checking whether we need to define __sparc64__... " >&6; }
20918 if test ${ac_cv_cpp_def___sparc64__+y}
20919 then :
20920 printf %s "(cached) " >&6
20921 else $as_nop
20922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20923 /* end confdefs.h. */
20924 #ifndef __sparc64__
20926 #endif
20927 _ACEOF
20928 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20929 $EGREP "yes" >/dev/null 2>&1
20930 then :
20931 ac_cv_cpp_def___sparc64__=yes
20932 else $as_nop
20933 ac_cv_cpp_def___sparc64__=no
20935 rm -rf conftest*
20938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20939 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20940 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20941 then :
20942 CFLAGS="$CFLAGS -D__sparc64__"
20943 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20944 fi ;;
20945 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20946 printf %s "checking whether we need to define __sparc__... " >&6; }
20947 if test ${ac_cv_cpp_def___sparc__+y}
20948 then :
20949 printf %s "(cached) " >&6
20950 else $as_nop
20951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20952 /* end confdefs.h. */
20953 #ifndef __sparc__
20955 #endif
20956 _ACEOF
20957 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20958 $EGREP "yes" >/dev/null 2>&1
20959 then :
20960 ac_cv_cpp_def___sparc__=yes
20961 else $as_nop
20962 ac_cv_cpp_def___sparc__=no
20964 rm -rf conftest*
20967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20968 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20969 if test "x$ac_cv_cpp_def___sparc__" = xyes
20970 then :
20971 CFLAGS="$CFLAGS -D__sparc__"
20972 LINTFLAGS="$LINTFLAGS -D__sparc__"
20973 fi ;;
20974 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20975 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20976 if test ${ac_cv_cpp_def___powerpc64__+y}
20977 then :
20978 printf %s "(cached) " >&6
20979 else $as_nop
20980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20981 /* end confdefs.h. */
20982 #ifndef __powerpc64__
20984 #endif
20985 _ACEOF
20986 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20987 $EGREP "yes" >/dev/null 2>&1
20988 then :
20989 ac_cv_cpp_def___powerpc64__=yes
20990 else $as_nop
20991 ac_cv_cpp_def___powerpc64__=no
20993 rm -rf conftest*
20996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20997 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20998 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20999 then :
21000 CFLAGS="$CFLAGS -D__powerpc64__"
21001 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21002 fi ;;
21003 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21004 printf %s "checking whether we need to define __powerpc__... " >&6; }
21005 if test ${ac_cv_cpp_def___powerpc__+y}
21006 then :
21007 printf %s "(cached) " >&6
21008 else $as_nop
21009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21010 /* end confdefs.h. */
21011 #ifndef __powerpc__
21013 #endif
21014 _ACEOF
21015 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21016 $EGREP "yes" >/dev/null 2>&1
21017 then :
21018 ac_cv_cpp_def___powerpc__=yes
21019 else $as_nop
21020 ac_cv_cpp_def___powerpc__=no
21022 rm -rf conftest*
21025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21026 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21027 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21028 then :
21029 CFLAGS="$CFLAGS -D__powerpc__"
21030 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21031 fi ;;
21032 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21033 printf %s "checking whether we need to define __aarch64__... " >&6; }
21034 if test ${ac_cv_cpp_def___aarch64__+y}
21035 then :
21036 printf %s "(cached) " >&6
21037 else $as_nop
21038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21039 /* end confdefs.h. */
21040 #ifndef __aarch64__
21042 #endif
21043 _ACEOF
21044 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21045 $EGREP "yes" >/dev/null 2>&1
21046 then :
21047 ac_cv_cpp_def___aarch64__=yes
21048 else $as_nop
21049 ac_cv_cpp_def___aarch64__=no
21051 rm -rf conftest*
21054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21055 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21056 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21057 then :
21058 CFLAGS="$CFLAGS -D__aarch64__"
21059 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21060 fi ;;
21061 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21062 printf %s "checking whether we need to define __arm__... " >&6; }
21063 if test ${ac_cv_cpp_def___arm__+y}
21064 then :
21065 printf %s "(cached) " >&6
21066 else $as_nop
21067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21068 /* end confdefs.h. */
21069 #ifndef __arm__
21071 #endif
21072 _ACEOF
21073 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21074 $EGREP "yes" >/dev/null 2>&1
21075 then :
21076 ac_cv_cpp_def___arm__=yes
21077 else $as_nop
21078 ac_cv_cpp_def___arm__=no
21080 rm -rf conftest*
21083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21084 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21085 if test "x$ac_cv_cpp_def___arm__" = xyes
21086 then :
21087 CFLAGS="$CFLAGS -D__arm__"
21088 LINTFLAGS="$LINTFLAGS -D__arm__"
21089 fi ;;
21090 esac
21092 case $host_vendor in
21093 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21094 printf %s "checking whether we need to define __sun__... " >&6; }
21095 if test ${ac_cv_cpp_def___sun__+y}
21096 then :
21097 printf %s "(cached) " >&6
21098 else $as_nop
21099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21100 /* end confdefs.h. */
21101 #ifndef __sun__
21103 #endif
21104 _ACEOF
21105 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21106 $EGREP "yes" >/dev/null 2>&1
21107 then :
21108 ac_cv_cpp_def___sun__=yes
21109 else $as_nop
21110 ac_cv_cpp_def___sun__=no
21112 rm -rf conftest*
21115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21116 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21117 if test "x$ac_cv_cpp_def___sun__" = xyes
21118 then :
21119 CFLAGS="$CFLAGS -D__sun__"
21120 LINTFLAGS="$LINTFLAGS -D__sun__"
21121 fi ;;
21122 esac
21128 ac_config_commands="$ac_config_commands include/stamp-h"
21130 printf %s "creating Makefile rules..." >&6
21132 makedep_flags=""
21133 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21135 wine_srcdir=
21136 test "$srcdir" = . || wine_srcdir="$srcdir/"
21138 ac_config_links="$ac_config_links wine:tools/winewrapper"
21139 wine_fn_config_symlink wine
21140 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
21141 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21142 wine_fn_config_symlink wine64
21145 wine_fn_config_makefile dlls/acledit enable_acledit
21146 wine_fn_config_makefile dlls/aclui enable_aclui
21147 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21148 wine_fn_config_makefile dlls/activeds enable_activeds
21149 wine_fn_config_makefile dlls/activeds/tests enable_tests
21150 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21151 wine_fn_config_makefile dlls/adsldp enable_adsldp
21152 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21153 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21154 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21155 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21156 wine_fn_config_makefile dlls/advpack enable_advpack
21157 wine_fn_config_makefile dlls/advpack/tests enable_tests
21158 wine_fn_config_makefile dlls/amsi enable_amsi
21159 wine_fn_config_makefile dlls/amstream enable_amstream
21160 wine_fn_config_makefile dlls/amstream/tests enable_tests
21161 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21162 wine_fn_config_makefile dlls/apphelp enable_apphelp
21163 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21164 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21165 wine_fn_config_makefile dlls/appxdeploymentclient enable_appxdeploymentclient
21166 wine_fn_config_makefile dlls/atl enable_atl
21167 wine_fn_config_makefile dlls/atl/tests enable_tests
21168 wine_fn_config_makefile dlls/atl100 enable_atl100
21169 wine_fn_config_makefile dlls/atl100/tests enable_tests
21170 wine_fn_config_makefile dlls/atl110 enable_atl110
21171 wine_fn_config_makefile dlls/atl110/tests enable_tests
21172 wine_fn_config_makefile dlls/atl80 enable_atl80
21173 wine_fn_config_makefile dlls/atl80/tests enable_tests
21174 wine_fn_config_makefile dlls/atl90 enable_atl90
21175 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21176 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21177 wine_fn_config_makefile dlls/atmlib enable_atmlib
21178 wine_fn_config_makefile dlls/authz enable_authz
21179 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21180 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21181 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21182 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21183 wine_fn_config_makefile dlls/avrt enable_avrt
21184 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21185 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21186 wine_fn_config_makefile dlls/bcryptprimitives enable_bcryptprimitives
21187 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21188 wine_fn_config_makefile dlls/browseui enable_browseui
21189 wine_fn_config_makefile dlls/browseui/tests enable_tests
21190 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21191 wine_fn_config_makefile dlls/cabinet enable_cabinet
21192 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21193 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21194 wine_fn_config_makefile dlls/cards enable_cards
21195 wine_fn_config_makefile dlls/cdosys enable_cdosys
21196 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21197 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21198 wine_fn_config_makefile dlls/clusapi enable_clusapi
21199 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21200 wine_fn_config_makefile dlls/combase enable_combase
21201 wine_fn_config_makefile dlls/combase/tests enable_tests
21202 wine_fn_config_makefile dlls/comcat enable_comcat
21203 wine_fn_config_makefile dlls/comcat/tests enable_tests
21204 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21205 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21206 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21207 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21208 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21209 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21210 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21211 wine_fn_config_makefile dlls/compstui enable_compstui
21212 wine_fn_config_makefile dlls/compstui/tests enable_tests
21213 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21214 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21215 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21216 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21217 wine_fn_config_makefile dlls/connect enable_connect
21218 wine_fn_config_makefile dlls/credui enable_credui
21219 wine_fn_config_makefile dlls/credui/tests enable_tests
21220 wine_fn_config_makefile dlls/crtdll enable_crtdll
21221 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21222 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21223 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21224 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21225 wine_fn_config_makefile dlls/cryptext enable_cryptext
21226 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21227 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21228 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21229 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21230 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21231 wine_fn_config_makefile dlls/cryptui enable_cryptui
21232 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21233 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21234 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21235 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21236 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21237 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21238 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21239 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21240 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21241 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21242 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21243 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21244 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21245 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21246 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21247 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21248 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21249 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21250 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21251 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21252 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21253 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21254 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21255 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21256 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21257 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21258 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21259 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21260 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21261 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21262 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21263 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21264 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21265 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21266 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21267 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21268 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21269 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21270 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21271 wine_fn_config_makefile dlls/d3dim enable_d3dim
21272 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21273 wine_fn_config_makefile dlls/d3drm enable_d3drm
21274 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21275 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21276 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21277 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21278 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21279 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21280 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21281 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21282 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21283 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21284 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21285 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21286 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21287 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21288 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21289 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21290 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21291 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21292 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21293 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21294 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21295 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21296 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21297 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21298 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21299 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21300 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21301 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21302 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21303 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21304 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21305 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21306 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21307 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21308 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21309 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21310 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21311 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21312 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21313 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21314 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21315 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21316 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21317 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21318 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21319 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21320 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21321 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21322 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21323 wine_fn_config_makefile dlls/davclnt enable_davclnt
21324 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21325 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21326 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21327 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21328 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21329 wine_fn_config_makefile dlls/dcomp enable_dcomp
21330 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21331 wine_fn_config_makefile dlls/ddraw enable_ddraw
21332 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21333 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21334 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21335 wine_fn_config_makefile dlls/devenum enable_devenum
21336 wine_fn_config_makefile dlls/devenum/tests enable_tests
21337 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21338 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21339 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21340 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21341 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21342 wine_fn_config_makefile dlls/difxapi enable_difxapi
21343 wine_fn_config_makefile dlls/dinput enable_dinput
21344 wine_fn_config_makefile dlls/dinput/tests enable_tests
21345 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21346 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21347 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21348 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21349 wine_fn_config_makefile dlls/dispex enable_dispex
21350 wine_fn_config_makefile dlls/dispex/tests enable_tests
21351 wine_fn_config_makefile dlls/display.drv16 enable_win16
21352 wine_fn_config_makefile dlls/dmband enable_dmband
21353 wine_fn_config_makefile dlls/dmband/tests enable_tests
21354 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21355 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21356 wine_fn_config_makefile dlls/dmime enable_dmime
21357 wine_fn_config_makefile dlls/dmime/tests enable_tests
21358 wine_fn_config_makefile dlls/dmloader enable_dmloader
21359 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21360 wine_fn_config_makefile dlls/dmscript enable_dmscript
21361 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21362 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21363 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21364 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21365 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21366 wine_fn_config_makefile dlls/dmusic enable_dmusic
21367 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21368 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21369 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21370 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21371 wine_fn_config_makefile dlls/dplay enable_dplay
21372 wine_fn_config_makefile dlls/dplayx enable_dplayx
21373 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21374 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21375 wine_fn_config_makefile dlls/dpnet enable_dpnet
21376 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21377 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21378 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21379 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21380 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21381 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21382 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21383 wine_fn_config_makefile dlls/drmclien enable_drmclien
21384 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21385 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21386 wine_fn_config_makefile dlls/dsound enable_dsound
21387 wine_fn_config_makefile dlls/dsound/tests enable_tests
21388 wine_fn_config_makefile dlls/dsquery enable_dsquery
21389 wine_fn_config_makefile dlls/dssenh enable_dssenh
21390 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21391 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21392 wine_fn_config_makefile dlls/dswave enable_dswave
21393 wine_fn_config_makefile dlls/dswave/tests enable_tests
21394 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21395 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21396 wine_fn_config_makefile dlls/dwrite enable_dwrite
21397 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21398 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21399 wine_fn_config_makefile dlls/dxcore enable_dxcore
21400 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21401 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21402 wine_fn_config_makefile dlls/dxgi enable_dxgi
21403 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21404 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21405 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21406 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21407 wine_fn_config_makefile dlls/esent enable_esent
21408 wine_fn_config_makefile dlls/evr enable_evr
21409 wine_fn_config_makefile dlls/evr/tests enable_tests
21410 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21411 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21412 wine_fn_config_makefile dlls/faultrep enable_faultrep
21413 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21414 wine_fn_config_makefile dlls/feclient enable_feclient
21415 wine_fn_config_makefile dlls/fltlib enable_fltlib
21416 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21417 wine_fn_config_makefile dlls/fntcache enable_fntcache
21418 wine_fn_config_makefile dlls/fontsub enable_fontsub
21419 wine_fn_config_makefile dlls/fusion enable_fusion
21420 wine_fn_config_makefile dlls/fusion/tests enable_tests
21421 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21422 wine_fn_config_makefile dlls/gameux enable_gameux
21423 wine_fn_config_makefile dlls/gameux/tests enable_tests
21424 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21425 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21426 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21427 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21428 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21429 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21430 wine_fn_config_makefile dlls/geolocation enable_geolocation
21431 wine_fn_config_makefile dlls/geolocation/tests enable_tests
21432 wine_fn_config_makefile dlls/glu32 enable_glu32
21433 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21434 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21435 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
21436 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
21437 wine_fn_config_makefile dlls/hal enable_hal
21438 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21439 wine_fn_config_makefile dlls/hid enable_hid
21440 wine_fn_config_makefile dlls/hid/tests enable_tests
21441 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21442 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21443 wine_fn_config_makefile dlls/hlink enable_hlink
21444 wine_fn_config_makefile dlls/hlink/tests enable_tests
21445 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21446 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21447 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
21448 wine_fn_config_makefile dlls/http.sys enable_http_sys
21449 wine_fn_config_makefile dlls/httpapi enable_httpapi
21450 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21451 wine_fn_config_makefile dlls/hvsimanagementapi enable_hvsimanagementapi
21452 wine_fn_config_makefile dlls/hvsimanagementapi/tests enable_tests
21453 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21454 wine_fn_config_makefile dlls/iccvid enable_iccvid
21455 wine_fn_config_makefile dlls/icmp enable_icmp
21456 wine_fn_config_makefile dlls/ieframe enable_ieframe
21457 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21458 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21459 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21460 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21461 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21462 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21463 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21464 wine_fn_config_makefile dlls/imm32 enable_imm32
21465 wine_fn_config_makefile dlls/imm32/tests enable_tests
21466 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21467 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21468 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21469 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21470 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21471 wine_fn_config_makefile dlls/infosoft enable_infosoft
21472 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21473 wine_fn_config_makefile dlls/initpki enable_initpki
21474 wine_fn_config_makefile dlls/inkobj enable_inkobj
21475 wine_fn_config_makefile dlls/inseng enable_inseng
21476 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21477 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21478 wine_fn_config_makefile dlls/iprop enable_iprop
21479 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21480 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21481 wine_fn_config_makefile dlls/itircl enable_itircl
21482 wine_fn_config_makefile dlls/itss enable_itss
21483 wine_fn_config_makefile dlls/itss/tests enable_tests
21484 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21485 wine_fn_config_makefile dlls/jscript enable_jscript
21486 wine_fn_config_makefile dlls/jscript/tests enable_tests
21487 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21488 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21489 wine_fn_config_makefile dlls/kerberos enable_kerberos
21490 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21491 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21492 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21493 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21494 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21495 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21496 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21497 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21498 wine_fn_config_makefile dlls/ksuser enable_ksuser
21499 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21500 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21501 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21502 wine_fn_config_makefile dlls/loadperf enable_loadperf
21503 wine_fn_config_makefile dlls/localspl enable_localspl
21504 wine_fn_config_makefile dlls/localspl/tests enable_tests
21505 wine_fn_config_makefile dlls/localui enable_localui
21506 wine_fn_config_makefile dlls/localui/tests enable_tests
21507 wine_fn_config_makefile dlls/lz32 enable_lz32
21508 wine_fn_config_makefile dlls/lz32/tests enable_tests
21509 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21510 wine_fn_config_makefile dlls/magnification enable_magnification
21511 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21512 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21513 wine_fn_config_makefile dlls/mapistub enable_mapistub
21514 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21515 wine_fn_config_makefile dlls/mcicda enable_mcicda
21516 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21517 wine_fn_config_makefile dlls/mciseq enable_mciseq
21518 wine_fn_config_makefile dlls/mciwave enable_mciwave
21519 wine_fn_config_makefile dlls/mf enable_mf
21520 wine_fn_config_makefile dlls/mf/tests enable_tests
21521 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21522 wine_fn_config_makefile dlls/mferror enable_mferror
21523 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21524 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21525 wine_fn_config_makefile dlls/mfplat enable_mfplat
21526 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21527 wine_fn_config_makefile dlls/mfplay enable_mfplay
21528 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21529 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21530 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21531 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21532 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21533 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21534 wine_fn_config_makefile dlls/midimap enable_midimap
21535 wine_fn_config_makefile dlls/mlang enable_mlang
21536 wine_fn_config_makefile dlls/mlang/tests enable_tests
21537 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21538 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21539 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21540 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21541 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21542 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21543 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21544 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21545 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21546 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21547 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21548 wine_fn_config_makefile dlls/mpr enable_mpr
21549 wine_fn_config_makefile dlls/mpr/tests enable_tests
21550 wine_fn_config_makefile dlls/mprapi enable_mprapi
21551 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21552 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21553 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21554 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21555 wine_fn_config_makefile dlls/msado15 enable_msado15
21556 wine_fn_config_makefile dlls/msado15/tests enable_tests
21557 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21558 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21559 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21560 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21561 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21562 wine_fn_config_makefile dlls/mscms enable_mscms
21563 wine_fn_config_makefile dlls/mscms/tests enable_tests
21564 wine_fn_config_makefile dlls/mscoree enable_mscoree
21565 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21566 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21567 wine_fn_config_makefile dlls/msctf enable_msctf
21568 wine_fn_config_makefile dlls/msctf/tests enable_tests
21569 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21570 wine_fn_config_makefile dlls/msctfp enable_msctfp
21571 wine_fn_config_makefile dlls/msdaps enable_msdaps
21572 wine_fn_config_makefile dlls/msdasql enable_msdasql
21573 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21574 wine_fn_config_makefile dlls/msdelta enable_msdelta
21575 wine_fn_config_makefile dlls/msdmo enable_msdmo
21576 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21577 wine_fn_config_makefile dlls/msdrm enable_msdrm
21578 wine_fn_config_makefile dlls/msftedit enable_msftedit
21579 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21580 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21581 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21582 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21583 wine_fn_config_makefile dlls/mshtml enable_mshtml
21584 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21585 wine_fn_config_makefile dlls/msi enable_msi
21586 wine_fn_config_makefile dlls/msi/tests enable_tests
21587 wine_fn_config_makefile dlls/msident enable_msident
21588 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21589 wine_fn_config_makefile dlls/msimsg enable_msimsg
21590 wine_fn_config_makefile dlls/msimtf enable_msimtf
21591 wine_fn_config_makefile dlls/msisip enable_msisip
21592 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21593 wine_fn_config_makefile dlls/msls31 enable_msls31
21594 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21595 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21596 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21597 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21598 wine_fn_config_makefile dlls/msports enable_msports
21599 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21600 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21601 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21602 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21603 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21604 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21605 wine_fn_config_makefile dlls/mstask enable_mstask
21606 wine_fn_config_makefile dlls/mstask/tests enable_tests
21607 wine_fn_config_makefile dlls/msttsengine enable_msttsengine
21608 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21609 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21610 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21611 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21612 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21613 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21614 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21615 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21616 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21617 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21618 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21619 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21620 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21621 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21622 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21623 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21624 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21625 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21626 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21627 wine_fn_config_makefile dlls/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
21628 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21629 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21630 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21631 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21632 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21633 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21634 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21635 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21636 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21637 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21638 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21639 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21640 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21641 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21642 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21643 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21644 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21645 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21646 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21647 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21648 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21649 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21650 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21651 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21652 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21653 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21654 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21655 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21656 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21657 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21658 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21659 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21660 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21661 wine_fn_config_makefile dlls/mswsock enable_mswsock
21662 wine_fn_config_makefile dlls/msxml enable_msxml
21663 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21664 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21665 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21666 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21667 wine_fn_config_makefile dlls/msxml4/tests enable_tests
21668 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21669 wine_fn_config_makefile dlls/msxml6/tests enable_tests
21670 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21671 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21672 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21673 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21674 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21675 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21676 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21677 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21678 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21679 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21680 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21681 wine_fn_config_makefile dlls/netprofm enable_netprofm
21682 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21683 wine_fn_config_makefile dlls/netutils enable_netutils
21684 wine_fn_config_makefile dlls/newdev enable_newdev
21685 wine_fn_config_makefile dlls/ninput enable_ninput
21686 wine_fn_config_makefile dlls/ninput/tests enable_tests
21687 wine_fn_config_makefile dlls/normaliz enable_normaliz
21688 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21689 wine_fn_config_makefile dlls/npptools enable_npptools
21690 wine_fn_config_makefile dlls/nsi enable_nsi
21691 wine_fn_config_makefile dlls/nsi/tests enable_tests
21692 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21693 wine_fn_config_makefile dlls/ntdll enable_ntdll
21694 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21695 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21696 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21697 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21698 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21699 wine_fn_config_makefile dlls/ntprint enable_ntprint
21700 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21701 wine_fn_config_makefile dlls/objsel enable_objsel
21702 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21703 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21704 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21705 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21706 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21707 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21708 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21709 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21710 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21711 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21712 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21713 wine_fn_config_makefile dlls/ole32 enable_ole32
21714 wine_fn_config_makefile dlls/ole32/tests enable_tests
21715 wine_fn_config_makefile dlls/oleacc enable_oleacc
21716 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21717 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21718 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21719 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21720 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21721 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21722 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21723 wine_fn_config_makefile dlls/oledlg enable_oledlg
21724 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21725 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21726 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21727 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21728 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21729 wine_fn_config_makefile dlls/opcservices enable_opcservices
21730 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21731 wine_fn_config_makefile dlls/opencl enable_opencl
21732 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21733 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21734 wine_fn_config_makefile dlls/packager enable_packager
21735 wine_fn_config_makefile dlls/packager/tests enable_tests
21736 wine_fn_config_makefile dlls/pdh enable_pdh
21737 wine_fn_config_makefile dlls/pdh/tests enable_tests
21738 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21739 wine_fn_config_makefile dlls/pidgen enable_pidgen
21740 wine_fn_config_makefile dlls/powrprof enable_powrprof
21741 wine_fn_config_makefile dlls/printui enable_printui
21742 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21743 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21744 wine_fn_config_makefile dlls/propsys enable_propsys
21745 wine_fn_config_makefile dlls/propsys/tests enable_tests
21746 wine_fn_config_makefile dlls/psapi enable_psapi
21747 wine_fn_config_makefile dlls/psapi/tests enable_tests
21748 wine_fn_config_makefile dlls/pstorec enable_pstorec
21749 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21750 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21751 wine_fn_config_makefile dlls/qasf enable_qasf
21752 wine_fn_config_makefile dlls/qasf/tests enable_tests
21753 wine_fn_config_makefile dlls/qcap enable_qcap
21754 wine_fn_config_makefile dlls/qcap/tests enable_tests
21755 wine_fn_config_makefile dlls/qdvd enable_qdvd
21756 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21757 wine_fn_config_makefile dlls/qedit enable_qedit
21758 wine_fn_config_makefile dlls/qedit/tests enable_tests
21759 wine_fn_config_makefile dlls/qmgr enable_qmgr
21760 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21761 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21762 wine_fn_config_makefile dlls/quartz enable_quartz
21763 wine_fn_config_makefile dlls/quartz/tests enable_tests
21764 wine_fn_config_makefile dlls/query enable_query
21765 wine_fn_config_makefile dlls/qwave enable_qwave
21766 wine_fn_config_makefile dlls/qwave/tests enable_tests
21767 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21768 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21769 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21770 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21771 wine_fn_config_makefile dlls/regapi enable_regapi
21772 wine_fn_config_makefile dlls/resutils enable_resutils
21773 wine_fn_config_makefile dlls/riched20 enable_riched20
21774 wine_fn_config_makefile dlls/riched20/tests enable_tests
21775 wine_fn_config_makefile dlls/riched32 enable_riched32
21776 wine_fn_config_makefile dlls/riched32/tests enable_tests
21777 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21778 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21779 wine_fn_config_makefile dlls/rsabase enable_rsabase
21780 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21781 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21782 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21783 wine_fn_config_makefile dlls/rtutils enable_rtutils
21784 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21785 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21786 wine_fn_config_makefile dlls/samlib enable_samlib
21787 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21788 wine_fn_config_makefile dlls/sapi enable_sapi
21789 wine_fn_config_makefile dlls/sapi/tests enable_tests
21790 wine_fn_config_makefile dlls/sas enable_sas
21791 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21792 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21793 wine_fn_config_makefile dlls/sccbase enable_sccbase
21794 wine_fn_config_makefile dlls/schannel enable_schannel
21795 wine_fn_config_makefile dlls/schannel/tests enable_tests
21796 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21797 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21798 wine_fn_config_makefile dlls/scrobj enable_scrobj
21799 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21800 wine_fn_config_makefile dlls/scrrun enable_scrrun
21801 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21802 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21803 wine_fn_config_makefile dlls/sechost enable_sechost
21804 wine_fn_config_makefile dlls/secur32 enable_secur32
21805 wine_fn_config_makefile dlls/secur32/tests enable_tests
21806 wine_fn_config_makefile dlls/security enable_security
21807 wine_fn_config_makefile dlls/sensapi enable_sensapi
21808 wine_fn_config_makefile dlls/serialui enable_serialui
21809 wine_fn_config_makefile dlls/serialui/tests enable_tests
21810 wine_fn_config_makefile dlls/setupapi enable_setupapi
21811 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21812 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21813 wine_fn_config_makefile dlls/sfc enable_sfc
21814 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21815 wine_fn_config_makefile dlls/shcore enable_shcore
21816 wine_fn_config_makefile dlls/shcore/tests enable_tests
21817 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21818 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21819 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21820 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21821 wine_fn_config_makefile dlls/shell32 enable_shell32
21822 wine_fn_config_makefile dlls/shell32/tests enable_tests
21823 wine_fn_config_makefile dlls/shfolder enable_shfolder
21824 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21825 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21826 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21827 wine_fn_config_makefile dlls/slc enable_slc
21828 wine_fn_config_makefile dlls/slc/tests enable_tests
21829 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21830 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21831 wine_fn_config_makefile dlls/softpub enable_softpub
21832 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21833 wine_fn_config_makefile dlls/spoolss enable_spoolss
21834 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21835 wine_fn_config_makefile dlls/sppc enable_sppc
21836 wine_fn_config_makefile dlls/srclient enable_srclient
21837 wine_fn_config_makefile dlls/srvcli enable_srvcli
21838 wine_fn_config_makefile dlls/srvsvc enable_srvsvc
21839 wine_fn_config_makefile dlls/sspicli enable_sspicli
21840 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21841 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21842 wine_fn_config_makefile dlls/sti enable_sti
21843 wine_fn_config_makefile dlls/sti/tests enable_tests
21844 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21845 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21846 wine_fn_config_makefile dlls/strmdll enable_strmdll
21847 wine_fn_config_makefile dlls/svrapi enable_svrapi
21848 wine_fn_config_makefile dlls/sxs enable_sxs
21849 wine_fn_config_makefile dlls/sxs/tests enable_tests
21850 wine_fn_config_makefile dlls/system.drv16 enable_win16
21851 wine_fn_config_makefile dlls/t2embed enable_t2embed
21852 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21853 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21854 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21855 wine_fn_config_makefile dlls/taskschd enable_taskschd
21856 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21857 wine_fn_config_makefile dlls/tbs enable_tbs
21858 wine_fn_config_makefile dlls/tdh enable_tdh
21859 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21860 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21861 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21862 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21863 wine_fn_config_makefile dlls/traffic enable_traffic
21864 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21865 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21866 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21867 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
21868 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21869 wine_fn_config_makefile dlls/tzres enable_tzres
21870 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21871 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21872 wine_fn_config_makefile dlls/uianimation enable_uianimation
21873 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21874 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21875 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21876 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21877 wine_fn_config_makefile dlls/unicows enable_unicows
21878 wine_fn_config_makefile dlls/updspapi enable_updspapi
21879 wine_fn_config_makefile dlls/url enable_url
21880 wine_fn_config_makefile dlls/urlmon enable_urlmon
21881 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21882 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21883 wine_fn_config_makefile dlls/user.exe16 enable_win16
21884 wine_fn_config_makefile dlls/user32 enable_user32
21885 wine_fn_config_makefile dlls/user32/tests enable_tests
21886 wine_fn_config_makefile dlls/userenv enable_userenv
21887 wine_fn_config_makefile dlls/userenv/tests enable_tests
21888 wine_fn_config_makefile dlls/usp10 enable_usp10
21889 wine_fn_config_makefile dlls/usp10/tests enable_tests
21890 wine_fn_config_makefile dlls/utildll enable_utildll
21891 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21892 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21893 wine_fn_config_makefile dlls/vbscript enable_vbscript
21894 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21895 wine_fn_config_makefile dlls/vcomp enable_vcomp
21896 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21897 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21898 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21899 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21900 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21901 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21902 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21903 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21904 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21905 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21906 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21907 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21908 wine_fn_config_makefile dlls/version enable_version
21909 wine_fn_config_makefile dlls/version/tests enable_tests
21910 wine_fn_config_makefile dlls/vga enable_vga
21911 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21912 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21913 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21914 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21915 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21916 wine_fn_config_makefile dlls/vssapi enable_vssapi
21917 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21918 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21919 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21920 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21921 wine_fn_config_makefile dlls/w32skrnl enable_win16
21922 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21923 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21924 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21925 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21926 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21927 wine_fn_config_makefile dlls/wdscore enable_wdscore
21928 wine_fn_config_makefile dlls/webservices enable_webservices
21929 wine_fn_config_makefile dlls/webservices/tests enable_tests
21930 wine_fn_config_makefile dlls/websocket enable_websocket
21931 wine_fn_config_makefile dlls/wer enable_wer
21932 wine_fn_config_makefile dlls/wer/tests enable_tests
21933 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21934 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21935 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21936 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21937 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21938 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21939 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21940 wine_fn_config_makefile dlls/win32u enable_win32u
21941 wine_fn_config_makefile dlls/win32u/tests enable_tests
21942 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21943 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21944 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21945 wine_fn_config_makefile dlls/windows.applicationmodel enable_windows_applicationmodel
21946 wine_fn_config_makefile dlls/windows.applicationmodel/tests enable_tests
21947 wine_fn_config_makefile dlls/windows.devices.bluetooth enable_windows_devices_bluetooth
21948 wine_fn_config_makefile dlls/windows.devices.bluetooth/tests enable_tests
21949 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21950 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21951 wine_fn_config_makefile dlls/windows.devices.usb enable_windows_devices_usb
21952 wine_fn_config_makefile dlls/windows.devices.usb/tests enable_tests
21953 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21954 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21955 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21956 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21957 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21958 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21959 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21960 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21961 wine_fn_config_makefile dlls/windows.media.mediacontrol enable_windows_media_mediacontrol
21962 wine_fn_config_makefile dlls/windows.media.mediacontrol/tests enable_tests
21963 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21964 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21965 wine_fn_config_makefile dlls/windows.media enable_windows_media
21966 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21967 wine_fn_config_makefile dlls/windows.networking.hostname enable_windows_networking_hostname
21968 wine_fn_config_makefile dlls/windows.networking.hostname/tests enable_tests
21969 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21970 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
21971 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
21972 wine_fn_config_makefile dlls/windows.security.credentials.ui.userconsentverifier enable_windows_security_credentials_ui_userconsentverifier
21973 wine_fn_config_makefile dlls/windows.security.credentials.ui.userconsentverifier/tests enable_tests
21974 wine_fn_config_makefile dlls/windows.storage.applicationdata enable_windows_storage_applicationdata
21975 wine_fn_config_makefile dlls/windows.storage.applicationdata/tests enable_tests
21976 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21977 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21978 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
21979 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
21980 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21981 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21982 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21983 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21984 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21985 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21986 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21987 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21988 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21989 wine_fn_config_makefile dlls/wined3d enable_wined3d
21990 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21991 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21992 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21993 wine_fn_config_makefile dlls/winemapi enable_winemapi
21994 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21995 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21996 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21997 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21998 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21999 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22000 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
22001 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22002 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22003 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22004 wine_fn_config_makefile dlls/wing32 enable_wing32
22005 wine_fn_config_makefile dlls/winhttp enable_winhttp
22006 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22007 wine_fn_config_makefile dlls/wininet enable_wininet
22008 wine_fn_config_makefile dlls/wininet/tests enable_tests
22009 wine_fn_config_makefile dlls/winmm enable_winmm
22010 wine_fn_config_makefile dlls/winmm/tests enable_tests
22011 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22012 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22013 wine_fn_config_makefile dlls/winprint enable_winprint
22014 wine_fn_config_makefile dlls/winscard enable_winscard
22015 wine_fn_config_makefile dlls/winscard/tests enable_tests
22016 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22017 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22018 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22019 wine_fn_config_makefile dlls/winsta enable_winsta
22020 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22021 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22022 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22023 wine_fn_config_makefile dlls/wintrust enable_wintrust
22024 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22025 wine_fn_config_makefile dlls/wintypes enable_wintypes
22026 wine_fn_config_makefile dlls/wintypes/tests enable_tests
22027 wine_fn_config_makefile dlls/winusb enable_winusb
22028 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22029 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22030 wine_fn_config_makefile dlls/wlanui enable_wlanui
22031 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22032 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22033 wine_fn_config_makefile dlls/wldp enable_wldp
22034 wine_fn_config_makefile dlls/wmasf enable_wmasf
22035 wine_fn_config_makefile dlls/wmi enable_wmi
22036 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22037 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22038 wine_fn_config_makefile dlls/wmp enable_wmp
22039 wine_fn_config_makefile dlls/wmp/tests enable_tests
22040 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22041 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22042 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22043 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22044 wine_fn_config_makefile dlls/wofutil enable_wofutil
22045 wine_fn_config_makefile dlls/wow32 enable_win16
22046 wine_fn_config_makefile dlls/wow64 enable_wow64
22047 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22048 wine_fn_config_makefile dlls/wow64win enable_wow64win
22049 wine_fn_config_makefile dlls/wpc enable_wpc
22050 wine_fn_config_makefile dlls/wpc/tests enable_tests
22051 wine_fn_config_makefile dlls/wpcap enable_wpcap
22052 wine_fn_config_makefile dlls/wpcap/tests enable_tests
22053 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22054 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22055 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22056 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22057 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22058 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22059 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22060 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22061 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22062 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22063 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22064 wine_fn_config_makefile dlls/wuapi enable_wuapi
22065 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22066 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22067 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22068 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22069 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22070 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22071 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22072 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22073 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22074 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22075 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22076 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22077 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22078 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22079 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22080 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22081 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22082 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22083 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22084 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22085 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22086 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22087 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22088 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22089 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22090 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22091 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22092 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22093 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22094 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22095 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22096 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22097 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22098 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22099 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22100 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22101 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22102 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
22103 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22104 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22105 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22106 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22107 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22108 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22109 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22110 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
22111 wine_fn_config_makefile dlls/xmllite enable_xmllite
22112 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22113 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22114 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22115 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22116 wine_fn_config_makefile fonts enable_fonts
22117 wine_fn_config_makefile include enable_include
22118 wine_fn_config_makefile libs/adsiid enable_adsiid
22119 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22120 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22121 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22122 wine_fn_config_makefile libs/dxguid enable_dxguid
22123 wine_fn_config_makefile libs/faudio enable_faudio
22124 wine_fn_config_makefile libs/fluidsynth enable_fluidsynth
22125 wine_fn_config_makefile libs/gsm enable_gsm
22126 wine_fn_config_makefile libs/jpeg enable_jpeg
22127 wine_fn_config_makefile libs/jxr enable_jxr
22128 wine_fn_config_makefile libs/lcms2 enable_lcms2
22129 wine_fn_config_makefile libs/ldap enable_ldap
22130 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22131 wine_fn_config_makefile libs/mpg123 enable_mpg123
22132 wine_fn_config_makefile libs/musl enable_musl
22133 wine_fn_config_makefile libs/png enable_png
22134 wine_fn_config_makefile libs/strmbase enable_strmbase
22135 wine_fn_config_makefile libs/strmiids enable_strmiids
22136 wine_fn_config_makefile libs/tiff enable_tiff
22137 wine_fn_config_makefile libs/uuid enable_uuid
22138 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22139 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22140 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22141 wine_fn_config_makefile libs/xml2 enable_xml2
22142 wine_fn_config_makefile libs/xslt enable_xslt
22143 wine_fn_config_makefile libs/zlib enable_zlib
22144 wine_fn_config_makefile libs/zydis enable_zydis
22145 wine_fn_config_makefile loader enable_loader
22146 wine_fn_config_makefile nls enable_nls
22147 wine_fn_config_makefile po enable_po
22148 wine_fn_config_makefile programs/arp enable_arp
22149 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22150 wine_fn_config_makefile programs/attrib enable_attrib
22151 wine_fn_config_makefile programs/cabarc enable_cabarc
22152 wine_fn_config_makefile programs/cacls enable_cacls
22153 wine_fn_config_makefile programs/certutil enable_certutil
22154 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22155 wine_fn_config_makefile programs/clock enable_clock
22156 wine_fn_config_makefile programs/cmd enable_cmd
22157 wine_fn_config_makefile programs/cmd/tests enable_tests
22158 wine_fn_config_makefile programs/conhost enable_conhost
22159 wine_fn_config_makefile programs/conhost/tests enable_tests
22160 wine_fn_config_makefile programs/control enable_control
22161 wine_fn_config_makefile programs/cscript enable_cscript
22162 wine_fn_config_makefile programs/dism enable_dism
22163 wine_fn_config_makefile programs/dllhost enable_dllhost
22164 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22165 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22166 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22167 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22168 wine_fn_config_makefile programs/eject enable_eject
22169 wine_fn_config_makefile programs/expand enable_expand
22170 wine_fn_config_makefile programs/explorer enable_explorer
22171 wine_fn_config_makefile programs/explorer/tests enable_tests
22172 wine_fn_config_makefile programs/extrac32 enable_extrac32
22173 wine_fn_config_makefile programs/fc enable_fc
22174 wine_fn_config_makefile programs/find enable_find
22175 wine_fn_config_makefile programs/find/tests enable_tests
22176 wine_fn_config_makefile programs/findstr enable_findstr
22177 wine_fn_config_makefile programs/findstr/tests enable_tests
22178 wine_fn_config_makefile programs/fsutil enable_fsutil
22179 wine_fn_config_makefile programs/fsutil/tests enable_tests
22180 wine_fn_config_makefile programs/hh enable_hh
22181 wine_fn_config_makefile programs/hostname enable_hostname
22182 wine_fn_config_makefile programs/icacls enable_icacls
22183 wine_fn_config_makefile programs/icinfo enable_icinfo
22184 wine_fn_config_makefile programs/iexplore enable_iexplore
22185 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22186 wine_fn_config_makefile programs/klist enable_klist
22187 wine_fn_config_makefile programs/lodctr enable_lodctr
22188 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22189 wine_fn_config_makefile programs/mshta enable_mshta
22190 wine_fn_config_makefile programs/msidb enable_msidb
22191 wine_fn_config_makefile programs/msiexec enable_msiexec
22192 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22193 wine_fn_config_makefile programs/net enable_net
22194 wine_fn_config_makefile programs/netsh enable_netsh
22195 wine_fn_config_makefile programs/netstat enable_netstat
22196 wine_fn_config_makefile programs/ngen enable_ngen
22197 wine_fn_config_makefile programs/notepad enable_notepad
22198 wine_fn_config_makefile programs/oleview enable_oleview
22199 wine_fn_config_makefile programs/ping enable_ping
22200 wine_fn_config_makefile programs/plugplay enable_plugplay
22201 wine_fn_config_makefile programs/pnputil enable_pnputil
22202 wine_fn_config_makefile programs/powershell enable_powershell
22203 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22204 wine_fn_config_makefile programs/progman enable_progman
22205 wine_fn_config_makefile programs/reg enable_reg
22206 wine_fn_config_makefile programs/reg/tests enable_tests
22207 wine_fn_config_makefile programs/regasm enable_regasm
22208 wine_fn_config_makefile programs/regedit enable_regedit
22209 wine_fn_config_makefile programs/regedit/tests enable_tests
22210 wine_fn_config_makefile programs/regini enable_regini
22211 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22212 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22213 wine_fn_config_makefile programs/robocopy enable_robocopy
22214 wine_fn_config_makefile programs/rpcss enable_rpcss
22215 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22216 wine_fn_config_makefile programs/rundll32 enable_rundll32
22217 wine_fn_config_makefile programs/sc enable_sc
22218 wine_fn_config_makefile programs/sc/tests enable_tests
22219 wine_fn_config_makefile programs/schtasks enable_schtasks
22220 wine_fn_config_makefile programs/schtasks/tests enable_tests
22221 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22222 wine_fn_config_makefile programs/secedit enable_secedit
22223 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22224 wine_fn_config_makefile programs/services enable_services
22225 wine_fn_config_makefile programs/services/tests enable_tests
22226 wine_fn_config_makefile programs/setx enable_setx
22227 wine_fn_config_makefile programs/shutdown enable_shutdown
22228 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22229 wine_fn_config_makefile programs/start enable_start
22230 wine_fn_config_makefile programs/subst enable_subst
22231 wine_fn_config_makefile programs/svchost enable_svchost
22232 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22233 wine_fn_config_makefile programs/taskkill enable_taskkill
22234 wine_fn_config_makefile programs/tasklist enable_tasklist
22235 wine_fn_config_makefile programs/tasklist/tests enable_tests
22236 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22237 wine_fn_config_makefile programs/termsv enable_termsv
22238 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22239 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22240 wine_fn_config_makefile programs/view enable_view
22241 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22242 wine_fn_config_makefile programs/where enable_where
22243 wine_fn_config_makefile programs/whoami enable_whoami
22244 wine_fn_config_makefile programs/wineboot enable_wineboot
22245 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22246 wine_fn_config_makefile programs/winecfg enable_winecfg
22247 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22248 wine_fn_config_makefile programs/winedbg enable_winedbg
22249 wine_fn_config_makefile programs/winedevice enable_winedevice
22250 wine_fn_config_makefile programs/winefile enable_winefile
22251 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22252 wine_fn_config_makefile programs/winemine enable_winemine
22253 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22254 wine_fn_config_makefile programs/winepath enable_winepath
22255 wine_fn_config_makefile programs/winetest enable_winetest
22256 wine_fn_config_makefile programs/winevdm enable_win16
22257 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22258 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22259 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22260 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22261 wine_fn_config_makefile programs/winver enable_winver
22262 wine_fn_config_makefile programs/wmic enable_wmic
22263 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22264 wine_fn_config_makefile programs/wordpad enable_wordpad
22265 wine_fn_config_makefile programs/write enable_write
22266 wine_fn_config_makefile programs/wscript enable_wscript
22267 wine_fn_config_makefile programs/wscript/tests enable_tests
22268 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22269 wine_fn_config_makefile programs/wusa enable_wusa
22270 wine_fn_config_makefile programs/xcopy enable_xcopy
22271 wine_fn_config_makefile programs/xcopy/tests enable_tests
22272 wine_fn_config_makefile server enable_server
22273 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22274 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22275 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22276 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22277 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22278 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22279 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22280 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22281 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22284 as_fn_append CONFIGURE_TARGETS " TAGS"
22285 as_fn_append CONFIGURE_TARGETS " tags"
22286 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22287 as_fn_append CONFIGURE_TARGETS " config.log"
22288 as_fn_append CONFIGURE_TARGETS " config.status"
22289 as_fn_append CONFIGURE_TARGETS " include/config.h"
22290 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22291 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22293 if test "x$enable_tools" != xno
22294 then
22295 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22296 ac_config_commands="$ac_config_commands tools/makedep"
22300 ac_config_commands="$ac_config_commands Makefile"
22304 SHELL=/bin/sh
22307 as_fn_append wine_rules "
22308 all: wine
22309 @echo \"Wine build complete.\"
22310 .INIT: Makefile
22311 .MAKEFILEDEPS:
22312 all: Makefile
22313 Makefile: config.status \$(MAKEDEP)
22314 @./config.status Makefile
22315 depend: \$(MAKEDEP)
22316 \$(MAKEDEP)$makedep_flags"
22319 as_fn_append wine_rules "
22320 config.status: ${wine_srcdir}configure
22321 @./config.status --recheck
22322 include/config.h: include/stamp-h
22323 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22324 @./config.status include/config.h include/stamp-h"
22326 if test "x$enable_maintainer_mode" = xyes
22327 then
22328 as_fn_append wine_rules "
22329 configure: configure.ac aclocal.m4
22330 autoconf --warnings=all
22331 include/config.h.in: include/stamp-h.in
22332 include/stamp-h.in: configure.ac aclocal.m4
22333 autoheader --warnings=all
22334 @echo timestamp > \$@"
22337 if test "x$enable_tools" != xno
22338 then
22339 as_fn_append wine_rules "
22340 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22341 @./config.status tools/makedep
22342 Makefile: tools/makedep$ac_exeext"
22343 else
22344 as_fn_append wine_rules "
22345 \$(MAKEDEP):
22346 @echo \"You need to run make in $toolsdir first\" && false"
22350 if test -n "$with_wine64"
22351 then
22352 case "$with_wine64" in
22353 /*) reldir="" ;;
22354 *) reldir="../" ;;
22355 esac
22356 rm -f fonts server 2>/dev/null
22357 as_fn_append wine_rules "
22358 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22359 loader/wine64 loader/wine64-preloader:
22360 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22361 $with_wine64/loader/wine:
22362 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22363 $with_wine64/loader/wine-preloader:
22364 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22365 clean::
22366 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22367 else
22368 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22369 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22370 fonts \
22371 loader/wine.inf \
22372 nls \
22373 programs/msidb/msidb \
22374 programs/msiexec/msiexec \
22375 programs/notepad/notepad \
22376 programs/regedit/regedit \
22377 programs/regsvr32/regsvr32 \
22378 programs/wineboot/wineboot \
22379 programs/winecfg/winecfg \
22380 programs/wineconsole/wineconsole \
22381 programs/winedbg/winedbg \
22382 programs/winefile/winefile \
22383 programs/winemine/winemine \
22384 programs/winepath/winepath \
22385 server/wineserver"
22387 case $host_os in
22388 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22389 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22390 esac
22394 as_fn_append wine_rules "
22395 distclean:: clean
22396 rm -rf autom4te.cache
22397 maintainer-clean::
22398 rm -f configure include/config.h.in"
22401 as_fn_append wine_rules "
22402 dlls/ntdll/unix/version.c: dummy
22403 @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)
22404 programs/winetest/build.rc: dummy
22405 @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)
22406 programs/winetest/build.nfo:
22407 @-\$(CC) -v 2>\$@
22408 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
22409 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22410 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22413 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22415 as_fn_append wine_rules "
22416 TAGS etags:
22417 rm -f TAGS
22418 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22419 tags ctags:
22420 rm -f tags
22421 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22422 dummy:
22423 .PHONY: depend dummy install-manpages"
22425 printf "%s\n" " done" >&6
22426 cat >confcache <<\_ACEOF
22427 # This file is a shell script that caches the results of configure
22428 # tests run on this system so they can be shared between configure
22429 # scripts and configure runs, see configure's option --config-cache.
22430 # It is not useful on other systems. If it contains results you don't
22431 # want to keep, you may remove or edit it.
22433 # config.status only pays attention to the cache file if you give it
22434 # the --recheck option to rerun configure.
22436 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22437 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22438 # following values.
22440 _ACEOF
22442 # The following way of writing the cache mishandles newlines in values,
22443 # but we know of no workaround that is simple, portable, and efficient.
22444 # So, we kill variables containing newlines.
22445 # Ultrix sh set writes to stderr and can't be redirected directly,
22446 # and sets the high bit in the cache file unless we assign to the vars.
22448 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22449 eval ac_val=\$$ac_var
22450 case $ac_val in #(
22451 *${as_nl}*)
22452 case $ac_var in #(
22453 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22454 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22455 esac
22456 case $ac_var in #(
22457 _ | IFS | as_nl) ;; #(
22458 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22459 *) { eval $ac_var=; unset $ac_var;} ;;
22460 esac ;;
22461 esac
22462 done
22464 (set) 2>&1 |
22465 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22466 *${as_nl}ac_space=\ *)
22467 # `set' does not quote correctly, so add quotes: double-quote
22468 # substitution turns \\\\ into \\, and sed turns \\ into \.
22469 sed -n \
22470 "s/'/'\\\\''/g;
22471 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22472 ;; #(
22474 # `set' quotes correctly as required by POSIX, so do not add quotes.
22475 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22477 esac |
22478 sort
22480 sed '
22481 /^ac_cv_env_/b end
22482 t clear
22483 :clear
22484 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22485 t end
22486 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22487 :end' >>confcache
22488 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22489 if test -w "$cache_file"; then
22490 if test "x$cache_file" != "x/dev/null"; then
22491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22492 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22493 if test ! -f "$cache_file" || test -h "$cache_file"; then
22494 cat confcache >"$cache_file"
22495 else
22496 case $cache_file in #(
22497 */* | ?:*)
22498 mv -f confcache "$cache_file"$$ &&
22499 mv -f "$cache_file"$$ "$cache_file" ;; #(
22501 mv -f confcache "$cache_file" ;;
22502 esac
22505 else
22506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22507 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22510 rm -f confcache
22512 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22513 # Let make expand exec_prefix.
22514 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22516 DEFS=-DHAVE_CONFIG_H
22518 ac_libobjs=
22519 ac_ltlibobjs=
22521 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22522 # 1. Remove the extension, and $U if already installed.
22523 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22524 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22525 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22526 # will be set to the directory where LIBOBJS objects are built.
22527 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22528 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22529 done
22530 LIBOBJS=$ac_libobjs
22532 LTLIBOBJS=$ac_ltlibobjs
22536 : "${CONFIG_STATUS=./config.status}"
22537 ac_write_fail=0
22538 ac_clean_files_save=$ac_clean_files
22539 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22541 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22542 as_write_fail=0
22543 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22544 #! $SHELL
22545 # Generated by $as_me.
22546 # Run this file to recreate the current configuration.
22547 # Compiler output produced by configure, useful for debugging
22548 # configure, is in config.log if it exists.
22550 debug=false
22551 ac_cs_recheck=false
22552 ac_cs_silent=false
22554 SHELL=\${CONFIG_SHELL-$SHELL}
22555 export SHELL
22556 _ASEOF
22557 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22558 ## -------------------- ##
22559 ## M4sh Initialization. ##
22560 ## -------------------- ##
22562 # Be more Bourne compatible
22563 DUALCASE=1; export DUALCASE # for MKS sh
22564 as_nop=:
22565 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22566 then :
22567 emulate sh
22568 NULLCMD=:
22569 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22570 # is contrary to our usage. Disable this feature.
22571 alias -g '${1+"$@"}'='"$@"'
22572 setopt NO_GLOB_SUBST
22573 else $as_nop
22574 case `(set -o) 2>/dev/null` in #(
22575 *posix*) :
22576 set -o posix ;; #(
22577 *) :
22579 esac
22584 # Reset variables that may have inherited troublesome values from
22585 # the environment.
22587 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22588 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22589 # side effect of setting IFS to empty, thus disabling word splitting.)
22590 # Quoting is to prevent editors from complaining about space-tab.
22591 as_nl='
22593 export as_nl
22594 IFS=" "" $as_nl"
22596 PS1='$ '
22597 PS2='> '
22598 PS4='+ '
22600 # Ensure predictable behavior from utilities with locale-dependent output.
22601 LC_ALL=C
22602 export LC_ALL
22603 LANGUAGE=C
22604 export LANGUAGE
22606 # We cannot yet rely on "unset" to work, but we need these variables
22607 # to be unset--not just set to an empty or harmless value--now, to
22608 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22609 # also avoids known problems related to "unset" and subshell syntax
22610 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22611 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22612 do eval test \${$as_var+y} \
22613 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22614 done
22616 # Ensure that fds 0, 1, and 2 are open.
22617 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22618 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22619 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22621 # The user is always right.
22622 if ${PATH_SEPARATOR+false} :; then
22623 PATH_SEPARATOR=:
22624 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22625 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22626 PATH_SEPARATOR=';'
22631 # Find who we are. Look in the path if we contain no directory separator.
22632 as_myself=
22633 case $0 in #((
22634 *[\\/]* ) as_myself=$0 ;;
22635 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22636 for as_dir in $PATH
22638 IFS=$as_save_IFS
22639 case $as_dir in #(((
22640 '') as_dir=./ ;;
22641 */) ;;
22642 *) as_dir=$as_dir/ ;;
22643 esac
22644 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22645 done
22646 IFS=$as_save_IFS
22649 esac
22650 # We did not find ourselves, most probably we were run as `sh COMMAND'
22651 # in which case we are not to be found in the path.
22652 if test "x$as_myself" = x; then
22653 as_myself=$0
22655 if test ! -f "$as_myself"; then
22656 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22657 exit 1
22662 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22663 # ----------------------------------------
22664 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22665 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22666 # script with STATUS, using 1 if that was 0.
22667 as_fn_error ()
22669 as_status=$1; test $as_status -eq 0 && as_status=1
22670 if test "$4"; then
22671 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22672 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22674 printf "%s\n" "$as_me: error: $2" >&2
22675 as_fn_exit $as_status
22676 } # as_fn_error
22680 # as_fn_set_status STATUS
22681 # -----------------------
22682 # Set $? to STATUS, without forking.
22683 as_fn_set_status ()
22685 return $1
22686 } # as_fn_set_status
22688 # as_fn_exit STATUS
22689 # -----------------
22690 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22691 as_fn_exit ()
22693 set +e
22694 as_fn_set_status $1
22695 exit $1
22696 } # as_fn_exit
22698 # as_fn_unset VAR
22699 # ---------------
22700 # Portably unset VAR.
22701 as_fn_unset ()
22703 { eval $1=; unset $1;}
22705 as_unset=as_fn_unset
22707 # as_fn_append VAR VALUE
22708 # ----------------------
22709 # Append the text in VALUE to the end of the definition contained in VAR. Take
22710 # advantage of any shell optimizations that allow amortized linear growth over
22711 # repeated appends, instead of the typical quadratic growth present in naive
22712 # implementations.
22713 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22714 then :
22715 eval 'as_fn_append ()
22717 eval $1+=\$2
22719 else $as_nop
22720 as_fn_append ()
22722 eval $1=\$$1\$2
22724 fi # as_fn_append
22726 # as_fn_arith ARG...
22727 # ------------------
22728 # Perform arithmetic evaluation on the ARGs, and store the result in the
22729 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22730 # must be portable across $(()) and expr.
22731 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22732 then :
22733 eval 'as_fn_arith ()
22735 as_val=$(( $* ))
22737 else $as_nop
22738 as_fn_arith ()
22740 as_val=`expr "$@" || test $? -eq 1`
22742 fi # as_fn_arith
22745 if expr a : '\(a\)' >/dev/null 2>&1 &&
22746 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22747 as_expr=expr
22748 else
22749 as_expr=false
22752 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22753 as_basename=basename
22754 else
22755 as_basename=false
22758 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22759 as_dirname=dirname
22760 else
22761 as_dirname=false
22764 as_me=`$as_basename -- "$0" ||
22765 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22766 X"$0" : 'X\(//\)$' \| \
22767 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22768 printf "%s\n" X/"$0" |
22769 sed '/^.*\/\([^/][^/]*\)\/*$/{
22770 s//\1/
22773 /^X\/\(\/\/\)$/{
22774 s//\1/
22777 /^X\/\(\/\).*/{
22778 s//\1/
22781 s/.*/./; q'`
22783 # Avoid depending upon Character Ranges.
22784 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22785 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22786 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22787 as_cr_digits='0123456789'
22788 as_cr_alnum=$as_cr_Letters$as_cr_digits
22791 # Determine whether it's possible to make 'echo' print without a newline.
22792 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22793 # for compatibility with existing Makefiles.
22794 ECHO_C= ECHO_N= ECHO_T=
22795 case `echo -n x` in #(((((
22796 -n*)
22797 case `echo 'xy\c'` in
22798 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22799 xy) ECHO_C='\c';;
22800 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22801 ECHO_T=' ';;
22802 esac;;
22804 ECHO_N='-n';;
22805 esac
22807 # For backward compatibility with old third-party macros, we provide
22808 # the shell variables $as_echo and $as_echo_n. New code should use
22809 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22810 as_echo='printf %s\n'
22811 as_echo_n='printf %s'
22813 rm -f conf$$ conf$$.exe conf$$.file
22814 if test -d conf$$.dir; then
22815 rm -f conf$$.dir/conf$$.file
22816 else
22817 rm -f conf$$.dir
22818 mkdir conf$$.dir 2>/dev/null
22820 if (echo >conf$$.file) 2>/dev/null; then
22821 if ln -s conf$$.file conf$$ 2>/dev/null; then
22822 as_ln_s='ln -s'
22823 # ... but there are two gotchas:
22824 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22825 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22826 # In both cases, we have to default to `cp -pR'.
22827 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22828 as_ln_s='cp -pR'
22829 elif ln conf$$.file conf$$ 2>/dev/null; then
22830 as_ln_s=ln
22831 else
22832 as_ln_s='cp -pR'
22834 else
22835 as_ln_s='cp -pR'
22837 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22838 rmdir conf$$.dir 2>/dev/null
22841 # as_fn_mkdir_p
22842 # -------------
22843 # Create "$as_dir" as a directory, including parents if necessary.
22844 as_fn_mkdir_p ()
22847 case $as_dir in #(
22848 -*) as_dir=./$as_dir;;
22849 esac
22850 test -d "$as_dir" || eval $as_mkdir_p || {
22851 as_dirs=
22852 while :; do
22853 case $as_dir in #(
22854 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22855 *) as_qdir=$as_dir;;
22856 esac
22857 as_dirs="'$as_qdir' $as_dirs"
22858 as_dir=`$as_dirname -- "$as_dir" ||
22859 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22860 X"$as_dir" : 'X\(//\)[^/]' \| \
22861 X"$as_dir" : 'X\(//\)$' \| \
22862 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22863 printf "%s\n" X"$as_dir" |
22864 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22865 s//\1/
22868 /^X\(\/\/\)[^/].*/{
22869 s//\1/
22872 /^X\(\/\/\)$/{
22873 s//\1/
22876 /^X\(\/\).*/{
22877 s//\1/
22880 s/.*/./; q'`
22881 test -d "$as_dir" && break
22882 done
22883 test -z "$as_dirs" || eval "mkdir $as_dirs"
22884 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22887 } # as_fn_mkdir_p
22888 if mkdir -p . 2>/dev/null; then
22889 as_mkdir_p='mkdir -p "$as_dir"'
22890 else
22891 test -d ./-p && rmdir ./-p
22892 as_mkdir_p=false
22896 # as_fn_executable_p FILE
22897 # -----------------------
22898 # Test if FILE is an executable regular file.
22899 as_fn_executable_p ()
22901 test -f "$1" && test -x "$1"
22902 } # as_fn_executable_p
22903 as_test_x='test -x'
22904 as_executable_p=as_fn_executable_p
22906 # Sed expression to map a string onto a valid CPP name.
22907 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22909 # Sed expression to map a string onto a valid variable name.
22910 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22913 exec 6>&1
22914 ## ----------------------------------- ##
22915 ## Main body of $CONFIG_STATUS script. ##
22916 ## ----------------------------------- ##
22917 _ASEOF
22918 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22921 # Save the log message, to keep $0 and so on meaningful, and to
22922 # report actual input values of CONFIG_FILES etc. instead of their
22923 # values after options handling.
22924 ac_log="
22925 This file was extended by Wine $as_me 8.19, which was
22926 generated by GNU Autoconf 2.71. Invocation command line was
22928 CONFIG_FILES = $CONFIG_FILES
22929 CONFIG_HEADERS = $CONFIG_HEADERS
22930 CONFIG_LINKS = $CONFIG_LINKS
22931 CONFIG_COMMANDS = $CONFIG_COMMANDS
22932 $ $0 $@
22934 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22937 _ACEOF
22940 case $ac_config_headers in *"
22941 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22942 esac
22945 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22946 # Files that config.status was made for.
22947 config_headers="$ac_config_headers"
22948 config_links="$ac_config_links"
22949 config_commands="$ac_config_commands"
22951 _ACEOF
22953 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22954 ac_cs_usage="\
22955 \`$as_me' instantiates files and other configuration actions
22956 from templates according to the current configuration. Unless the files
22957 and actions are specified as TAGs, all are instantiated by default.
22959 Usage: $0 [OPTION]... [TAG]...
22961 -h, --help print this help, then exit
22962 -V, --version print version number and configuration settings, then exit
22963 --config print configuration, then exit
22964 -q, --quiet, --silent
22965 do not print progress messages
22966 -d, --debug don't remove temporary files
22967 --recheck update $as_me by reconfiguring in the same conditions
22968 --header=FILE[:TEMPLATE]
22969 instantiate the configuration header FILE
22971 Configuration headers:
22972 $config_headers
22974 Configuration links:
22975 $config_links
22977 Configuration commands:
22978 $config_commands
22980 Report bugs to <wine-devel@winehq.org>.
22981 Wine home page: <https://www.winehq.org>."
22983 _ACEOF
22984 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22985 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22987 ac_cs_config='$ac_cs_config_escaped'
22988 ac_cs_version="\\
22989 Wine config.status 8.19
22990 configured by $0, generated by GNU Autoconf 2.71,
22991 with options \\"\$ac_cs_config\\"
22993 Copyright (C) 2021 Free Software Foundation, Inc.
22994 This config.status script is free software; the Free Software Foundation
22995 gives unlimited permission to copy, distribute and modify it."
22997 ac_pwd='$ac_pwd'
22998 srcdir='$srcdir'
22999 test -n "\$AWK" || AWK=awk
23000 _ACEOF
23002 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23003 # The default lists apply if the user does not specify any file.
23004 ac_need_defaults=:
23005 while test $# != 0
23007 case $1 in
23008 --*=?*)
23009 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23010 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23011 ac_shift=:
23013 --*=)
23014 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23015 ac_optarg=
23016 ac_shift=:
23019 ac_option=$1
23020 ac_optarg=$2
23021 ac_shift=shift
23023 esac
23025 case $ac_option in
23026 # Handling of the options.
23027 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23028 ac_cs_recheck=: ;;
23029 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23030 printf "%s\n" "$ac_cs_version"; exit ;;
23031 --config | --confi | --conf | --con | --co | --c )
23032 printf "%s\n" "$ac_cs_config"; exit ;;
23033 --debug | --debu | --deb | --de | --d | -d )
23034 debug=: ;;
23035 --header | --heade | --head | --hea )
23036 $ac_shift
23037 case $ac_optarg in
23038 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23039 esac
23040 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23041 ac_need_defaults=false;;
23042 --he | --h)
23043 # Conflict between --help and --header
23044 as_fn_error $? "ambiguous option: \`$1'
23045 Try \`$0 --help' for more information.";;
23046 --help | --hel | -h )
23047 printf "%s\n" "$ac_cs_usage"; exit ;;
23048 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23049 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23050 ac_cs_silent=: ;;
23052 # This is an error.
23053 -*) as_fn_error $? "unrecognized option: \`$1'
23054 Try \`$0 --help' for more information." ;;
23056 *) as_fn_append ac_config_targets " $1"
23057 ac_need_defaults=false ;;
23059 esac
23060 shift
23061 done
23063 ac_configure_extra_args=
23065 if $ac_cs_silent; then
23066 exec 6>/dev/null
23067 ac_configure_extra_args="$ac_configure_extra_args --silent"
23070 _ACEOF
23071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23072 if \$ac_cs_recheck; then
23073 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23074 shift
23075 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23076 CONFIG_SHELL='$SHELL'
23077 export CONFIG_SHELL
23078 exec "\$@"
23081 _ACEOF
23082 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23083 exec 5>>config.log
23085 echo
23086 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23087 ## Running $as_me. ##
23088 _ASBOX
23089 printf "%s\n" "$ac_log"
23090 } >&5
23092 _ACEOF
23093 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23095 # INIT-COMMANDS
23097 wine_fn_output_makedep ()
23099 as_dir=tools; as_fn_mkdir_p
23100 $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
23102 wine_fn_output_makefile ()
23104 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23105 # This Makefile understands the following targets:
23107 # all (default): build wine
23108 # clean: remove all intermediate files
23109 # distclean: also remove all files created by configure
23110 # test: run tests
23111 # testclean: clean test results to force running all tests again
23112 # install-lib: install libraries needed to run applications
23113 # install-dev: install development environment
23114 # install: install everything
23115 # uninstall: uninstall everything
23116 # ctags: create a tags file for vim and others.
23117 # etags: create a TAGS file for Emacs.
23119 SHELL = $SHELL
23120 PATH_SEPARATOR = $PATH_SEPARATOR
23121 PACKAGE_NAME = $PACKAGE_NAME
23122 PACKAGE_TARNAME = $PACKAGE_TARNAME
23123 PACKAGE_VERSION = $PACKAGE_VERSION
23124 PACKAGE_STRING = $PACKAGE_STRING
23125 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23126 PACKAGE_URL = $PACKAGE_URL
23127 exec_prefix = $exec_prefix
23128 prefix = $prefix
23129 program_transform_name = $program_transform_name
23130 bindir = $bindir
23131 sbindir = $sbindir
23132 libexecdir = $libexecdir
23133 datarootdir = $datarootdir
23134 datadir = $datadir
23135 sysconfdir = $sysconfdir
23136 sharedstatedir = $sharedstatedir
23137 localstatedir = $localstatedir
23138 runstatedir = $runstatedir
23139 includedir = $includedir
23140 oldincludedir = $oldincludedir
23141 docdir = $docdir
23142 infodir = $infodir
23143 htmldir = $htmldir
23144 dvidir = $dvidir
23145 pdfdir = $pdfdir
23146 psdir = $psdir
23147 libdir = $libdir
23148 localedir = $localedir
23149 mandir = $mandir
23150 DEFS = $DEFS
23151 ECHO_C = $ECHO_C
23152 ECHO_N = $ECHO_N
23153 ECHO_T = $ECHO_T
23154 LIBS = $LIBS
23155 build_alias = $build_alias
23156 host_alias = $host_alias
23157 target_alias = $target_alias
23158 system_dllpath = $system_dllpath
23159 build = $build
23160 build_cpu = $build_cpu
23161 build_vendor = $build_vendor
23162 build_os = $build_os
23163 host = $host
23164 host_cpu = $host_cpu
23165 host_vendor = $host_vendor
23166 host_os = $host_os
23167 dlldir = $dlldir
23168 fontdir = $fontdir
23169 nlsdir = $nlsdir
23170 srcdir = $srcdir
23171 SET_MAKE = $SET_MAKE
23172 CC = $CC
23173 CFLAGS = $CFLAGS
23174 LDFLAGS = $LDFLAGS
23175 CPPFLAGS = $CPPFLAGS
23176 ac_ct_CC = $ac_ct_CC
23177 EXEEXT = $EXEEXT
23178 OBJEXT = $OBJEXT
23179 CXX = $CXX
23180 CXXFLAGS = $CXXFLAGS
23181 ac_ct_CXX = $ac_ct_CXX
23182 CPPBIN = $CPPBIN
23183 LD = $LD
23184 TARGETFLAGS = $TARGETFLAGS
23185 toolsext = $toolsext
23186 HOST_ARCH = $HOST_ARCH
23187 aarch64_CC = $aarch64_CC
23188 aarch64_CFLAGS = $aarch64_CFLAGS
23189 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23190 aarch64_LDFLAGS = $aarch64_LDFLAGS
23191 aarch64_DEBUG = $aarch64_DEBUG
23192 aarch64_TARGET = $aarch64_TARGET
23193 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23194 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23195 arm_CC = $arm_CC
23196 arm_CFLAGS = $arm_CFLAGS
23197 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23198 arm_LDFLAGS = $arm_LDFLAGS
23199 arm_DEBUG = $arm_DEBUG
23200 arm_TARGET = $arm_TARGET
23201 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23202 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23203 i386_CC = $i386_CC
23204 i386_CFLAGS = $i386_CFLAGS
23205 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23206 i386_LDFLAGS = $i386_LDFLAGS
23207 i386_DEBUG = $i386_DEBUG
23208 i386_TARGET = $i386_TARGET
23209 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23210 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23211 x86_64_CC = $x86_64_CC
23212 x86_64_CFLAGS = $x86_64_CFLAGS
23213 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23214 x86_64_LDFLAGS = $x86_64_LDFLAGS
23215 x86_64_DEBUG = $x86_64_DEBUG
23216 x86_64_TARGET = $x86_64_TARGET
23217 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23218 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23219 toolsdir = $toolsdir
23220 MAKEDEP = $MAKEDEP
23221 RUNTESTFLAGS = $RUNTESTFLAGS
23222 SED_CMD = $SED_CMD
23223 FLEX = $FLEX
23224 BISON = $BISON
23225 AR = $AR
23226 ac_ct_AR = $ac_ct_AR
23227 STRIP = $STRIP
23228 RANLIB = $RANLIB
23229 LN_S = $LN_S
23230 GREP = $GREP
23231 EGREP = $EGREP
23232 LDCONFIG = $LDCONFIG
23233 MSGFMT = $MSGFMT
23234 PKG_CONFIG = $PKG_CONFIG
23235 FONTFORGE = $FONTFORGE
23236 RSVG = $RSVG
23237 CONVERT = $CONVERT
23238 ICOTOOL = $ICOTOOL
23239 I386_LIBS = $I386_LIBS
23240 OPENGL_LIBS = $OPENGL_LIBS
23241 DLLFLAGS = $DLLFLAGS
23242 LDDLLFLAGS = $LDDLLFLAGS
23243 LDEXECFLAGS = $LDEXECFLAGS
23244 EXTRACFLAGS = $EXTRACFLAGS
23245 UNIXDLLFLAGS = $UNIXDLLFLAGS
23246 UNIXLDFLAGS = $UNIXLDFLAGS
23247 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23248 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23249 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23250 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23251 DLLEXT = $DLLEXT
23252 LDD = $LDD
23253 OTOOL = $OTOOL
23254 READELF = $READELF
23255 SUBDIRS = $SUBDIRS
23256 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23257 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23258 CARBON_LIBS = $CARBON_LIBS
23259 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23260 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23261 IOKIT_LIBS = $IOKIT_LIBS
23262 METAL_LIBS = $METAL_LIBS
23263 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23264 CORESERVICES_LIBS = $CORESERVICES_LIBS
23265 APPKIT_LIBS = $APPKIT_LIBS
23266 SECURITY_LIBS = $SECURITY_LIBS
23267 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23268 COREAUDIO_LIBS = $COREAUDIO_LIBS
23269 OPENCL_LIBS = $OPENCL_LIBS
23270 OBJC = $OBJC
23271 OBJCFLAGS = $OBJCFLAGS
23272 ac_ct_OBJC = $ac_ct_OBJC
23273 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23274 PE_ARCHS = $PE_ARCHS
23275 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23276 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23277 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23278 FLUIDSYNTH_PE_CFLAGS = $FLUIDSYNTH_PE_CFLAGS
23279 FLUIDSYNTH_PE_LIBS = $FLUIDSYNTH_PE_LIBS
23280 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23281 GSM_PE_LIBS = $GSM_PE_LIBS
23282 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23283 JPEG_PE_LIBS = $JPEG_PE_LIBS
23284 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23285 JXR_PE_LIBS = $JXR_PE_LIBS
23286 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23287 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23288 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23289 LDAP_PE_LIBS = $LDAP_PE_LIBS
23290 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23291 MPG123_PE_LIBS = $MPG123_PE_LIBS
23292 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23293 MUSL_PE_LIBS = $MUSL_PE_LIBS
23294 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23295 PNG_PE_LIBS = $PNG_PE_LIBS
23296 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23297 TIFF_PE_LIBS = $TIFF_PE_LIBS
23298 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23299 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23300 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23301 XML2_PE_LIBS = $XML2_PE_LIBS
23302 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23303 XSLT_PE_LIBS = $XSLT_PE_LIBS
23304 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23305 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23306 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23307 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23308 PTHREAD_LIBS = $PTHREAD_LIBS
23309 XMKMF = $XMKMF
23310 CPP = $CPP
23311 X_CFLAGS = $X_CFLAGS
23312 X_PRE_LIBS = $X_PRE_LIBS
23313 X_LIBS = $X_LIBS
23314 X_EXTRA_LIBS = $X_EXTRA_LIBS
23315 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23316 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23317 WAYLAND_SCANNER = $WAYLAND_SCANNER
23318 PCAP_LIBS = $PCAP_LIBS
23319 PCSCLITE_LIBS = $PCSCLITE_LIBS
23320 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23321 INOTIFY_LIBS = $INOTIFY_LIBS
23322 DBUS_CFLAGS = $DBUS_CFLAGS
23323 DBUS_LIBS = $DBUS_LIBS
23324 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23325 GNUTLS_LIBS = $GNUTLS_LIBS
23326 SANE_CFLAGS = $SANE_CFLAGS
23327 SANE_LIBS = $SANE_LIBS
23328 USB_CFLAGS = $USB_CFLAGS
23329 USB_LIBS = $USB_LIBS
23330 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23331 GPHOTO2_LIBS = $GPHOTO2_LIBS
23332 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23333 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23334 RESOLV_LIBS = $RESOLV_LIBS
23335 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23336 FREETYPE_LIBS = $FREETYPE_LIBS
23337 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23338 PULSE_CFLAGS = $PULSE_CFLAGS
23339 PULSE_LIBS = $PULSE_LIBS
23340 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23341 GSTREAMER_LIBS = $GSTREAMER_LIBS
23342 ALSA_LIBS = $ALSA_LIBS
23343 OSS4_CFLAGS = $OSS4_CFLAGS
23344 OSS4_LIBS = $OSS4_LIBS
23345 UDEV_CFLAGS = $UDEV_CFLAGS
23346 UDEV_LIBS = $UDEV_LIBS
23347 UNWIND_CFLAGS = $UNWIND_CFLAGS
23348 UNWIND_LIBS = $UNWIND_LIBS
23349 SDL2_CFLAGS = $SDL2_CFLAGS
23350 SDL2_LIBS = $SDL2_LIBS
23351 CAPI20_CFLAGS = $CAPI20_CFLAGS
23352 CAPI20_LIBS = $CAPI20_LIBS
23353 CUPS_CFLAGS = $CUPS_CFLAGS
23354 CUPS_LIBS = $CUPS_LIBS
23355 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23356 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23357 KRB5_CFLAGS = $KRB5_CFLAGS
23358 KRB5_LIBS = $KRB5_LIBS
23359 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23360 GSSAPI_LIBS = $GSSAPI_LIBS
23361 PROCSTAT_LIBS = $PROCSTAT_LIBS
23362 NETAPI_CFLAGS = $NETAPI_CFLAGS
23363 NETAPI_LIBS = $NETAPI_LIBS
23364 MSVCRTFLAGS = $MSVCRTFLAGS
23365 DELAYLOADFLAG = $DELAYLOADFLAG
23366 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23367 RT_LIBS = $RT_LIBS
23368 TAGSFLAGS = $TAGSFLAGS
23369 LIBOBJS = $LIBOBJS
23370 LTLIBOBJS = $LTLIBOBJS
23371 $SET_MAKE
23372 $wine_rules
23373 _WINE_EOF
23374 as_fn_error $? "could not create Makefile" "$LINENO" 5
23377 _ACEOF
23379 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23381 # Handling of arguments.
23382 for ac_config_target in $ac_config_targets
23384 case $ac_config_target in
23385 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23386 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23387 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23388 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23389 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23390 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23392 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23393 esac
23394 done
23397 # If the user did not use the arguments to specify the items to instantiate,
23398 # then the envvar interface is used. Set only those that are not.
23399 # We use the long form for the default assignment because of an extremely
23400 # bizarre bug on SunOS 4.1.3.
23401 if $ac_need_defaults; then
23402 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23403 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23404 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23407 # Have a temporary directory for convenience. Make it in the build tree
23408 # simply because there is no reason against having it here, and in addition,
23409 # creating and moving files from /tmp can sometimes cause problems.
23410 # Hook for its removal unless debugging.
23411 # Note that there is a small window in which the directory will not be cleaned:
23412 # after its creation but before its name has been assigned to `$tmp'.
23413 $debug ||
23415 tmp= ac_tmp=
23416 trap 'exit_status=$?
23417 : "${ac_tmp:=$tmp}"
23418 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23420 trap 'as_fn_exit 1' 1 2 13 15
23422 # Create a (secure) tmp directory for tmp files.
23425 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23426 test -d "$tmp"
23427 } ||
23429 tmp=./conf$$-$RANDOM
23430 (umask 077 && mkdir "$tmp")
23431 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23432 ac_tmp=$tmp
23434 # Set up the scripts for CONFIG_HEADERS section.
23435 # No need to generate them if there are no CONFIG_HEADERS.
23436 # This happens for instance with `./config.status Makefile'.
23437 if test -n "$CONFIG_HEADERS"; then
23438 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23439 BEGIN {
23440 _ACEOF
23442 # Transform confdefs.h into an awk script `defines.awk', embedded as
23443 # here-document in config.status, that substitutes the proper values into
23444 # config.h.in to produce config.h.
23446 # Create a delimiter string that does not exist in confdefs.h, to ease
23447 # handling of long lines.
23448 ac_delim='%!_!# '
23449 for ac_last_try in false false :; do
23450 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23451 if test -z "$ac_tt"; then
23452 break
23453 elif $ac_last_try; then
23454 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23455 else
23456 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23458 done
23460 # For the awk script, D is an array of macro values keyed by name,
23461 # likewise P contains macro parameters if any. Preserve backslash
23462 # newline sequences.
23464 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23465 sed -n '
23466 s/.\{148\}/&'"$ac_delim"'/g
23467 t rset
23468 :rset
23469 s/^[ ]*#[ ]*define[ ][ ]*/ /
23470 t def
23472 :def
23473 s/\\$//
23474 t bsnl
23475 s/["\\]/\\&/g
23476 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23477 D["\1"]=" \3"/p
23478 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23480 :bsnl
23481 s/["\\]/\\&/g
23482 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23483 D["\1"]=" \3\\\\\\n"\\/p
23484 t cont
23485 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23486 t cont
23488 :cont
23490 s/.\{148\}/&'"$ac_delim"'/g
23491 t clear
23492 :clear
23493 s/\\$//
23494 t bsnlc
23495 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23497 :bsnlc
23498 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23499 b cont
23500 ' <confdefs.h | sed '
23501 s/'"$ac_delim"'/"\\\
23502 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23504 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23505 for (key in D) D_is_set[key] = 1
23506 FS = "\a"
23508 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23509 line = \$ 0
23510 split(line, arg, " ")
23511 if (arg[1] == "#") {
23512 defundef = arg[2]
23513 mac1 = arg[3]
23514 } else {
23515 defundef = substr(arg[1], 2)
23516 mac1 = arg[2]
23518 split(mac1, mac2, "(") #)
23519 macro = mac2[1]
23520 prefix = substr(line, 1, index(line, defundef) - 1)
23521 if (D_is_set[macro]) {
23522 # Preserve the white space surrounding the "#".
23523 print prefix "define", macro P[macro] D[macro]
23524 next
23525 } else {
23526 # Replace #undef with comments. This is necessary, for example,
23527 # in the case of _POSIX_SOURCE, which is predefined and required
23528 # on some systems where configure will not decide to define it.
23529 if (defundef == "undef") {
23530 print "/*", prefix defundef, macro, "*/"
23531 next
23535 { print }
23536 _ACAWK
23537 _ACEOF
23538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23539 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23540 fi # test -n "$CONFIG_HEADERS"
23543 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23544 shift
23545 for ac_tag
23547 case $ac_tag in
23548 :[FHLC]) ac_mode=$ac_tag; continue;;
23549 esac
23550 case $ac_mode$ac_tag in
23551 :[FHL]*:*);;
23552 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23553 :[FH]-) ac_tag=-:-;;
23554 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23555 esac
23556 ac_save_IFS=$IFS
23557 IFS=:
23558 set x $ac_tag
23559 IFS=$ac_save_IFS
23560 shift
23561 ac_file=$1
23562 shift
23564 case $ac_mode in
23565 :L) ac_source=$1;;
23566 :[FH])
23567 ac_file_inputs=
23568 for ac_f
23570 case $ac_f in
23571 -) ac_f="$ac_tmp/stdin";;
23572 *) # Look for the file first in the build tree, then in the source tree
23573 # (if the path is not absolute). The absolute path cannot be DOS-style,
23574 # because $ac_f cannot contain `:'.
23575 test -f "$ac_f" ||
23576 case $ac_f in
23577 [\\/$]*) false;;
23578 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23579 esac ||
23580 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23581 esac
23582 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23583 as_fn_append ac_file_inputs " '$ac_f'"
23584 done
23586 # Let's still pretend it is `configure' which instantiates (i.e., don't
23587 # use $as_me), people would be surprised to read:
23588 # /* config.h. Generated by config.status. */
23589 configure_input='Generated from '`
23590 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23591 `' by configure.'
23592 if test x"$ac_file" != x-; then
23593 configure_input="$ac_file. $configure_input"
23594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23595 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23597 # Neutralize special characters interpreted by sed in replacement strings.
23598 case $configure_input in #(
23599 *\&* | *\|* | *\\* )
23600 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23601 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23602 *) ac_sed_conf_input=$configure_input;;
23603 esac
23605 case $ac_tag in
23606 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23607 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23608 esac
23610 esac
23612 ac_dir=`$as_dirname -- "$ac_file" ||
23613 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23614 X"$ac_file" : 'X\(//\)[^/]' \| \
23615 X"$ac_file" : 'X\(//\)$' \| \
23616 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23617 printf "%s\n" X"$ac_file" |
23618 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23619 s//\1/
23622 /^X\(\/\/\)[^/].*/{
23623 s//\1/
23626 /^X\(\/\/\)$/{
23627 s//\1/
23630 /^X\(\/\).*/{
23631 s//\1/
23634 s/.*/./; q'`
23635 as_dir="$ac_dir"; as_fn_mkdir_p
23636 ac_builddir=.
23638 case "$ac_dir" in
23639 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23641 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23642 # A ".." for each directory in $ac_dir_suffix.
23643 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23644 case $ac_top_builddir_sub in
23645 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23646 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23647 esac ;;
23648 esac
23649 ac_abs_top_builddir=$ac_pwd
23650 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23651 # for backward compatibility:
23652 ac_top_builddir=$ac_top_build_prefix
23654 case $srcdir in
23655 .) # We are building in place.
23656 ac_srcdir=.
23657 ac_top_srcdir=$ac_top_builddir_sub
23658 ac_abs_top_srcdir=$ac_pwd ;;
23659 [\\/]* | ?:[\\/]* ) # Absolute name.
23660 ac_srcdir=$srcdir$ac_dir_suffix;
23661 ac_top_srcdir=$srcdir
23662 ac_abs_top_srcdir=$srcdir ;;
23663 *) # Relative name.
23664 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23665 ac_top_srcdir=$ac_top_build_prefix$srcdir
23666 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23667 esac
23668 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23671 case $ac_mode in
23675 # CONFIG_HEADER
23677 if test x"$ac_file" != x-; then
23679 printf "%s\n" "/* $configure_input */" >&1 \
23680 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23681 } >"$ac_tmp/config.h" \
23682 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23683 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23685 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23686 else
23687 rm -f "$ac_file"
23688 mv "$ac_tmp/config.h" "$ac_file" \
23689 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23691 else
23692 printf "%s\n" "/* $configure_input */" >&1 \
23693 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23694 || as_fn_error $? "could not create -" "$LINENO" 5
23699 # CONFIG_LINK
23702 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23704 else
23705 # Prefer the file from the source tree if names are identical.
23706 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23707 ac_source=$srcdir/$ac_source
23710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23711 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23713 if test ! -r "$ac_source"; then
23714 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23716 rm -f "$ac_file"
23718 # Try a relative symlink, then a hard link, then a copy.
23719 case $ac_source in
23720 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23721 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23722 esac
23723 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23724 ln "$ac_source" "$ac_file" 2>/dev/null ||
23725 cp -p "$ac_source" "$ac_file" ||
23726 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23729 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23730 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23732 esac
23735 case $ac_file$ac_mode in
23736 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23737 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23738 "Makefile":C) wine_fn_output_makefile Makefile ;;
23740 esac
23741 done # for ac_tag
23744 as_fn_exit 0
23745 _ACEOF
23746 ac_clean_files=$ac_clean_files_save
23748 test $ac_write_fail = 0 ||
23749 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23752 # configure is writing to config.log, and then calls config.status.
23753 # config.status does its own redirection, appending to config.log.
23754 # Unfortunately, on DOS this fails, as config.log is still kept open
23755 # by configure, so config.status won't be able to write to it; its
23756 # output is simply discarded. So we exec the FD to /dev/null,
23757 # effectively closing config.log, so it can be properly (re)opened and
23758 # appended to by config.status. When coming back to configure, we
23759 # need to make the FD available again.
23760 if test "$no_create" != yes; then
23761 ac_cs_success=:
23762 ac_config_status_args=
23763 test "$silent" = yes &&
23764 ac_config_status_args="$ac_config_status_args --quiet"
23765 exec 5>/dev/null
23766 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23767 exec 5>>config.log
23768 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23769 # would make configure fail if this is the last instruction.
23770 $ac_cs_success || as_fn_exit 1
23772 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23774 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23778 if test "$no_create" = "yes"
23779 then
23780 exit 0
23783 ac_save_IFS="$IFS"
23784 if test "x$wine_notices" != x; then
23785 echo >&6
23786 IFS="|"
23787 for msg in $wine_notices; do
23788 IFS="$ac_save_IFS"
23789 if ${msg:+false} :
23790 then :
23792 else $as_nop
23793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23794 printf "%s\n" "$as_me: $msg" >&6;}
23796 done
23798 IFS="|"
23799 for msg in $wine_warnings; do
23800 IFS="$ac_save_IFS"
23801 if ${msg:+false} :
23802 then :
23804 else $as_nop
23805 echo >&2
23806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23807 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23809 done
23810 IFS="$ac_save_IFS"
23812 printf "%s\n" "
23813 $as_me: Finished. Do '${ac_make}' to compile Wine.
23814 " >&6