Release 8.12.
[wine.git] / configure
blobe4cdaacd5e27180c384a4abd83a49fa3b7e005a4
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.12.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22 then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else $as_nop
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
35 esac
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
49 export as_nl
50 IFS=" "" $as_nl"
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146 emulate sh
147 NULLCMD=:
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 setopt NO_GLOB_SUBST
152 else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
158 esac
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
175 else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev/null
188 then :
189 as_have_required=yes
190 else $as_nop
191 as_have_required=no
193 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
194 then :
196 else $as_nop
197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198 as_found=false
199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
201 IFS=$as_save_IFS
202 case $as_dir in #(((
203 '') as_dir=./ ;;
204 */) ;;
205 *) as_dir=$as_dir/ ;;
206 esac
207 as_found=:
208 case $as_dir in #(
210 for as_base in sh bash ksh sh5; do
211 # Try only shells that exist, to save several forks.
212 as_shell=$as_dir$as_base
213 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
214 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215 then :
216 CONFIG_SHELL=$as_shell as_have_required=yes
217 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
218 then :
219 break 2
222 done;;
223 esac
224 as_found=false
225 done
226 IFS=$as_save_IFS
227 if $as_found
228 then :
230 else $as_nop
231 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233 then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
239 if test "x$CONFIG_SHELL" != x
240 then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno
263 then :
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269 else
270 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271 $0: wine-devel@winehq.org about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
276 exit 1
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
294 { eval $1=; unset $1;}
296 as_unset=as_fn_unset
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
302 as_fn_set_status ()
304 return $1
305 } # as_fn_set_status
307 # as_fn_exit STATUS
308 # -----------------
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
310 as_fn_exit ()
312 set +e
313 as_fn_set_status $1
314 exit $1
315 } # as_fn_exit
316 # as_fn_nop
317 # ---------
318 # Do nothing but, unlike ":", preserve the value of $?.
319 as_fn_nop ()
321 return $?
323 as_nop=as_fn_nop
325 # as_fn_mkdir_p
326 # -------------
327 # Create "$as_dir" as a directory, including parents if necessary.
328 as_fn_mkdir_p ()
331 case $as_dir in #(
332 -*) as_dir=./$as_dir;;
333 esac
334 test -d "$as_dir" || eval $as_mkdir_p || {
335 as_dirs=
336 while :; do
337 case $as_dir in #(
338 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 *) as_qdir=$as_dir;;
340 esac
341 as_dirs="'$as_qdir' $as_dirs"
342 as_dir=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
349 s//\1/
352 /^X\(\/\/\)[^/].*/{
353 s//\1/
356 /^X\(\/\/\)$/{
357 s//\1/
360 /^X\(\/\).*/{
361 s//\1/
364 s/.*/./; q'`
365 test -d "$as_dir" && break
366 done
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 } # as_fn_mkdir_p
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p ()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
385 # implementations.
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
387 then :
388 eval 'as_fn_append ()
390 eval $1+=\$2
392 else $as_nop
393 as_fn_append ()
395 eval $1=\$$1\$2
397 fi # as_fn_append
399 # as_fn_arith ARG...
400 # ------------------
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
405 then :
406 eval 'as_fn_arith ()
408 as_val=$(( $* ))
410 else $as_nop
411 as_fn_arith ()
413 as_val=`expr "$@" || test $? -eq 1`
415 fi # as_fn_arith
417 # as_fn_nop
418 # ---------
419 # Do nothing but, unlike ":", preserve the value of $?.
420 as_fn_nop ()
422 return $?
424 as_nop=as_fn_nop
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
431 as_fn_error ()
433 as_status=$1; test $as_status -eq 0 && as_status=1
434 if test "$4"; then
435 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 printf "%s\n" "$as_me: error: $2" >&2
439 as_fn_exit $as_status
440 } # as_fn_error
442 if expr a : '\(a\)' >/dev/null 2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001; then
444 as_expr=expr
445 else
446 as_expr=false
449 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
450 as_basename=basename
451 else
452 as_basename=false
455 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
456 as_dirname=dirname
457 else
458 as_dirname=false
461 as_me=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466 sed '/^.*\/\([^/][^/]*\)\/*$/{
467 s//\1/
470 /^X\/\(\/\/\)$/{
471 s//\1/
474 /^X\/\(\/\).*/{
475 s//\1/
478 s/.*/./; q'`
480 # Avoid depending upon Character Ranges.
481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits='0123456789'
485 as_cr_alnum=$as_cr_Letters$as_cr_digits
488 as_lineno_1=$LINENO as_lineno_1a=$LINENO
489 as_lineno_2=$LINENO as_lineno_2a=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 sed -n '
495 /[$]LINENO/=
496 ' <$as_myself |
497 sed '
498 s/[$]LINENO.*/&-/
499 t lineno
501 :lineno
503 :loop
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
505 t loop
506 s/-\n.*//
507 ' >$as_me.lineno &&
508 chmod +x "$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec=no; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
518 . "./$as_me.lineno"
519 # Exit status is that of the last command.
520 exit
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C= ECHO_N= ECHO_T=
528 case `echo -n x` in #(((((
529 -n*)
530 case `echo 'xy\c'` in
531 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
532 xy) ECHO_C='\c';;
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
534 ECHO_T=' ';;
535 esac;;
537 ECHO_N='-n';;
538 esac
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo='printf %s\n'
544 as_echo_n='printf %s'
547 rm -f conf$$ conf$$.exe conf$$.file
548 if test -d conf$$.dir; then
549 rm -f conf$$.dir/conf$$.file
550 else
551 rm -f conf$$.dir
552 mkdir conf$$.dir 2>/dev/null
554 if (echo >conf$$.file) 2>/dev/null; then
555 if ln -s conf$$.file conf$$ 2>/dev/null; then
556 as_ln_s='ln -s'
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
562 as_ln_s='cp -pR'
563 elif ln conf$$.file conf$$ 2>/dev/null; then
564 as_ln_s=ln
565 else
566 as_ln_s='cp -pR'
568 else
569 as_ln_s='cp -pR'
571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
572 rmdir conf$$.dir 2>/dev/null
574 if mkdir -p . 2>/dev/null; then
575 as_mkdir_p='mkdir -p "$as_dir"'
576 else
577 test -d ./-p && rmdir ./-p
578 as_mkdir_p=false
581 as_test_x='test -x'
582 as_executable_p=as_fn_executable_p
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
591 test -n "$DJDIR" || exec 7<&0 </dev/null
592 exec 6>&1
594 # Name of the host.
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
600 # Initializations.
602 ac_default_prefix=/usr/local
603 ac_clean_files=
604 ac_config_libobj_dir=.
605 LIBOBJS=
606 cross_compiling=no
607 subdirs=
608 MFLAGS=
609 MAKEFLAGS=
611 # Identity of this package.
612 PACKAGE_NAME='Wine'
613 PACKAGE_TARNAME='wine'
614 PACKAGE_VERSION='8.12'
615 PACKAGE_STRING='Wine 8.12'
616 PACKAGE_BUGREPORT='wine-devel@winehq.org'
617 PACKAGE_URL='https://www.winehq.org'
619 ac_unique_file="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
651 ac_header_c_list=
652 ac_subst_vars='LTLIBOBJS
653 LIBOBJS
654 TAGSFLAGS
655 RT_LIBS
656 WINELOADER_PROGRAMS
657 DELAYLOADFLAG
658 MSVCRTFLAGS
659 NETAPI_LIBS
660 NETAPI_CFLAGS
661 PROCSTAT_LIBS
662 GSSAPI_LIBS
663 GSSAPI_CFLAGS
664 KRB5_LIBS
665 KRB5_CFLAGS
666 FONTCONFIG_LIBS
667 FONTCONFIG_CFLAGS
668 CUPS_LIBS
669 CUPS_CFLAGS
670 CAPI20_LIBS
671 CAPI20_CFLAGS
672 SDL2_LIBS
673 SDL2_CFLAGS
674 UNWIND_LIBS
675 UNWIND_CFLAGS
676 UDEV_LIBS
677 UDEV_CFLAGS
678 OSS4_LIBS
679 OSS4_CFLAGS
680 ALSA_LIBS
681 GSTREAMER_LIBS
682 GSTREAMER_CFLAGS
683 PULSE_LIBS
684 PULSE_CFLAGS
685 GETTEXTPO_LIBS
686 FREETYPE_LIBS
687 FREETYPE_CFLAGS
688 RESOLV_LIBS
689 GPHOTO2_PORT_LIBS
690 GPHOTO2_PORT_CFLAGS
691 GPHOTO2_LIBS
692 GPHOTO2_CFLAGS
693 USB_LIBS
694 USB_CFLAGS
695 SANE_LIBS
696 SANE_CFLAGS
697 GNUTLS_LIBS
698 GNUTLS_CFLAGS
699 DBUS_LIBS
700 DBUS_CFLAGS
701 INOTIFY_LIBS
702 INOTIFY_CFLAGS
703 PCSCLITE_LIBS
704 PCAP_LIBS
705 WAYLAND_SCANNER
706 WAYLAND_CLIENT_LIBS
707 WAYLAND_CLIENT_CFLAGS
708 X_EXTRA_LIBS
709 X_LIBS
710 X_PRE_LIBS
711 X_CFLAGS
713 XMKMF
714 PTHREAD_LIBS
715 ZYDIS_PE_LIBS
716 ZYDIS_PE_CFLAGS
717 ZLIB_PE_LIBS
718 ZLIB_PE_CFLAGS
719 XSLT_PE_LIBS
720 XSLT_PE_CFLAGS
721 XML2_PE_LIBS
722 XML2_PE_CFLAGS
723 VKD3D_PE_LIBS
724 VKD3D_PE_CFLAGS
725 TIFF_PE_LIBS
726 TIFF_PE_CFLAGS
727 PNG_PE_LIBS
728 PNG_PE_CFLAGS
729 MUSL_PE_LIBS
730 MUSL_PE_CFLAGS
731 MPG123_PE_LIBS
732 MPG123_PE_CFLAGS
733 LDAP_PE_LIBS
734 LDAP_PE_CFLAGS
735 LCMS2_PE_LIBS
736 LCMS2_PE_CFLAGS
737 JXR_PE_LIBS
738 JXR_PE_CFLAGS
739 JPEG_PE_LIBS
740 JPEG_PE_CFLAGS
741 GSM_PE_LIBS
742 GSM_PE_CFLAGS
743 FAUDIO_PE_LIBS
744 FAUDIO_PE_CFLAGS
745 MINGW_PKG_CONFIG
746 PE_ARCHS
747 WINELOADER_DEPENDS
748 ac_ct_OBJC
749 OBJCFLAGS
750 OBJC
751 OPENCL_LIBS
752 COREAUDIO_LIBS
753 SYSTEMCONFIGURATION_LIBS
754 SECURITY_LIBS
755 APPKIT_LIBS
756 CORESERVICES_LIBS
757 APPLICATIONSERVICES_LIBS
758 METAL_LIBS
759 IOKIT_LIBS
760 DISKARBITRATION_LIBS
761 COREFOUNDATION_LIBS
762 CARBON_LIBS
763 CONFIGURE_TARGETS
764 DISABLED_SUBDIRS
765 SUBDIRS
766 READELF
767 OTOOL
769 DLLEXT
770 WINEPRELOADER_LDFLAGS
771 WINELOADER_LDFLAGS
772 TOP_INSTALL_DEV
773 TOP_INSTALL_LIB
774 UNIXLDFLAGS
775 UNIXDLLFLAGS
776 EXTRACFLAGS
777 LDEXECFLAGS
778 LDDLLFLAGS
779 DLLFLAGS
780 OPENGL_LIBS
781 I386_LIBS
782 ICOTOOL
783 CONVERT
784 RSVG
785 FONTFORGE
786 PKG_CONFIG
787 MSGFMT
788 LDCONFIG
789 EGREP
790 GREP
791 LN_S
792 RANLIB
793 STRIP
794 ac_ct_AR
796 BISON
797 FLEX
798 SED_CMD
799 RUNTESTFLAGS
800 MAKEDEP
801 toolsdir
802 x86_64_DISABLED_SUBDIRS
803 x86_64_DELAYLOADFLAG
804 x86_64_TARGET
805 x86_64_DEBUG
806 x86_64_LDFLAGS
807 x86_64_EXTRACFLAGS
808 x86_64_CFLAGS
809 x86_64_CC
810 i386_DISABLED_SUBDIRS
811 i386_DELAYLOADFLAG
812 i386_TARGET
813 i386_DEBUG
814 i386_LDFLAGS
815 i386_EXTRACFLAGS
816 i386_CFLAGS
817 i386_CC
818 arm_DISABLED_SUBDIRS
819 arm_DELAYLOADFLAG
820 arm_TARGET
821 arm_DEBUG
822 arm_LDFLAGS
823 arm_EXTRACFLAGS
824 arm_CFLAGS
825 arm_CC
826 aarch64_DISABLED_SUBDIRS
827 aarch64_DELAYLOADFLAG
828 aarch64_TARGET
829 aarch64_DEBUG
830 aarch64_LDFLAGS
831 aarch64_EXTRACFLAGS
832 aarch64_CFLAGS
833 aarch64_CC
834 HOST_ARCH
835 toolsext
836 TARGETFLAGS
838 CPPBIN
839 ac_ct_CXX
840 CXXFLAGS
842 OBJEXT
843 EXEEXT
844 ac_ct_CC
845 CPPFLAGS
846 LDFLAGS
847 CFLAGS
849 SET_MAKE
850 srcdir
851 nlsdir
852 fontdir
853 dlldir
854 host_os
855 host_vendor
856 host_cpu
857 host
858 build_os
859 build_vendor
860 build_cpu
861 build
862 system_dllpath
863 target_alias
864 host_alias
865 build_alias
866 LIBS
867 ECHO_T
868 ECHO_N
869 ECHO_C
870 DEFS
871 mandir
872 localedir
873 libdir
874 psdir
875 pdfdir
876 dvidir
877 htmldir
878 infodir
879 docdir
880 oldincludedir
881 includedir
882 runstatedir
883 localstatedir
884 sharedstatedir
885 sysconfdir
886 datadir
887 datarootdir
888 libexecdir
889 sbindir
890 bindir
891 program_transform_name
892 prefix
893 exec_prefix
894 PACKAGE_URL
895 PACKAGE_BUGREPORT
896 PACKAGE_STRING
897 PACKAGE_VERSION
898 PACKAGE_TARNAME
899 PACKAGE_NAME
900 PATH_SEPARATOR
901 SHELL'
902 ac_subst_files=''
903 ac_user_opts='
904 enable_option_checking
905 enable_archs
906 enable_win16
907 enable_win64
908 enable_tests
909 enable_build_id
910 enable_maintainer_mode
911 enable_silent_rules
912 enable_werror
913 with_alsa
914 with_capi
915 with_coreaudio
916 with_cups
917 with_dbus
918 with_float_abi
919 with_fontconfig
920 with_freetype
921 with_gettext
922 with_gettextpo
923 with_gphoto
924 with_gnutls
925 with_gssapi
926 with_gstreamer
927 with_inotify
928 with_krb5
929 with_mingw
930 with_netapi
931 with_opencl
932 with_opengl
933 with_osmesa
934 with_oss
935 with_pcap
936 with_pcsclite
937 with_pthread
938 with_pulse
939 with_sane
940 with_sdl
941 with_udev
942 with_unwind
943 with_usb
944 with_v4l2
945 with_vulkan
946 with_wayland
947 with_xcomposite
948 with_xcursor
949 with_xfixes
950 with_xinerama
951 with_xinput
952 with_xinput2
953 with_xrandr
954 with_xrender
955 with_xshape
956 with_xshm
957 with_xxf86vm
958 with_system_dllpath
959 with_wine_tools
960 with_wine64
961 enable_largefile
962 with_x
963 enable_acledit
964 enable_aclui
965 enable_activeds_tlb
966 enable_activeds
967 enable_actxprxy
968 enable_adsldp
969 enable_adsldpc
970 enable_advapi32
971 enable_advpack
972 enable_amsi
973 enable_amstream
974 enable_apisetschema
975 enable_apphelp
976 enable_appwiz_cpl
977 enable_atl
978 enable_atl100
979 enable_atl110
980 enable_atl80
981 enable_atl90
982 enable_atlthunk
983 enable_atmlib
984 enable_authz
985 enable_avicap32
986 enable_avifil32
987 enable_avrt
988 enable_bcrypt
989 enable_bluetoothapis
990 enable_browseui
991 enable_bthprops_cpl
992 enable_cabinet
993 enable_capi2032
994 enable_cards
995 enable_cdosys
996 enable_cfgmgr32
997 enable_clusapi
998 enable_cng_sys
999 enable_combase
1000 enable_comcat
1001 enable_comctl32
1002 enable_comdlg32
1003 enable_compstui
1004 enable_comsvcs
1005 enable_concrt140
1006 enable_connect
1007 enable_credui
1008 enable_crtdll
1009 enable_crypt32
1010 enable_cryptdlg
1011 enable_cryptdll
1012 enable_cryptext
1013 enable_cryptnet
1014 enable_cryptowinrt
1015 enable_cryptsp
1016 enable_cryptui
1017 enable_ctapi32
1018 enable_ctl3d32
1019 enable_d2d1
1020 enable_d3d10
1021 enable_d3d10_1
1022 enable_d3d10core
1023 enable_d3d11
1024 enable_d3d12
1025 enable_d3d12core
1026 enable_d3d8
1027 enable_d3d8thk
1028 enable_d3d9
1029 enable_d3dcompiler_33
1030 enable_d3dcompiler_34
1031 enable_d3dcompiler_35
1032 enable_d3dcompiler_36
1033 enable_d3dcompiler_37
1034 enable_d3dcompiler_38
1035 enable_d3dcompiler_39
1036 enable_d3dcompiler_40
1037 enable_d3dcompiler_41
1038 enable_d3dcompiler_42
1039 enable_d3dcompiler_43
1040 enable_d3dcompiler_46
1041 enable_d3dcompiler_47
1042 enable_d3dim
1043 enable_d3dim700
1044 enable_d3drm
1045 enable_d3dx10_33
1046 enable_d3dx10_34
1047 enable_d3dx10_35
1048 enable_d3dx10_36
1049 enable_d3dx10_37
1050 enable_d3dx10_38
1051 enable_d3dx10_39
1052 enable_d3dx10_40
1053 enable_d3dx10_41
1054 enable_d3dx10_42
1055 enable_d3dx10_43
1056 enable_d3dx11_42
1057 enable_d3dx11_43
1058 enable_d3dx9_24
1059 enable_d3dx9_25
1060 enable_d3dx9_26
1061 enable_d3dx9_27
1062 enable_d3dx9_28
1063 enable_d3dx9_29
1064 enable_d3dx9_30
1065 enable_d3dx9_31
1066 enable_d3dx9_32
1067 enable_d3dx9_33
1068 enable_d3dx9_34
1069 enable_d3dx9_35
1070 enable_d3dx9_36
1071 enable_d3dx9_37
1072 enable_d3dx9_38
1073 enable_d3dx9_39
1074 enable_d3dx9_40
1075 enable_d3dx9_41
1076 enable_d3dx9_42
1077 enable_d3dx9_43
1078 enable_d3dxof
1079 enable_davclnt
1080 enable_dbgeng
1081 enable_dbghelp
1082 enable_dciman32
1083 enable_dcomp
1084 enable_ddraw
1085 enable_ddrawex
1086 enable_devenum
1087 enable_dhcpcsvc
1088 enable_dhcpcsvc6
1089 enable_dhtmled_ocx
1090 enable_diasymreader
1091 enable_difxapi
1092 enable_dinput
1093 enable_dinput8
1094 enable_directmanipulation
1095 enable_dispex
1096 enable_dmband
1097 enable_dmcompos
1098 enable_dmime
1099 enable_dmloader
1100 enable_dmscript
1101 enable_dmstyle
1102 enable_dmsynth
1103 enable_dmusic
1104 enable_dmusic32
1105 enable_dnsapi
1106 enable_dplay
1107 enable_dplayx
1108 enable_dpnaddr
1109 enable_dpnet
1110 enable_dpnhpast
1111 enable_dpnhupnp
1112 enable_dpnlobby
1113 enable_dpvoice
1114 enable_dpwsockx
1115 enable_drmclien
1116 enable_dsdmo
1117 enable_dsound
1118 enable_dsquery
1119 enable_dssenh
1120 enable_dsuiext
1121 enable_dswave
1122 enable_dwmapi
1123 enable_dwrite
1124 enable_dx8vb
1125 enable_dxdiagn
1126 enable_dxgi
1127 enable_dxtrans
1128 enable_dxva2
1129 enable_esent
1130 enable_evr
1131 enable_explorerframe
1132 enable_faultrep
1133 enable_feclient
1134 enable_fltlib
1135 enable_fltmgr_sys
1136 enable_fntcache
1137 enable_fontsub
1138 enable_fusion
1139 enable_fwpuclnt
1140 enable_gameux
1141 enable_gamingtcui
1142 enable_gdi32
1143 enable_gdiplus
1144 enable_glu32
1145 enable_gphoto2_ds
1146 enable_gpkcsp
1147 enable_graphicscapture
1148 enable_hal
1149 enable_hhctrl_ocx
1150 enable_hid
1151 enable_hidclass_sys
1152 enable_hidparse_sys
1153 enable_hlink
1154 enable_hnetcfg
1155 enable_hrtfapo
1156 enable_http_sys
1157 enable_httpapi
1158 enable_ia2comproxy
1159 enable_iccvid
1160 enable_icmp
1161 enable_ieframe
1162 enable_ieproxy
1163 enable_imaadp32_acm
1164 enable_imagehlp
1165 enable_imm32
1166 enable_inetcomm
1167 enable_inetcpl_cpl
1168 enable_inetmib1
1169 enable_infosoft
1170 enable_initpki
1171 enable_inkobj
1172 enable_inseng
1173 enable_iphlpapi
1174 enable_iprop
1175 enable_ir50_32
1176 enable_irprops_cpl
1177 enable_itircl
1178 enable_itss
1179 enable_joy_cpl
1180 enable_jscript
1181 enable_jsproxy
1182 enable_kerberos
1183 enable_kernel32
1184 enable_kernelbase
1185 enable_ksecdd_sys
1186 enable_ksproxy_ax
1187 enable_ksuser
1188 enable_ktmw32
1189 enable_l3codeca_acm
1190 enable_light_msstyles
1191 enable_loadperf
1192 enable_localspl
1193 enable_localui
1194 enable_lz32
1195 enable_mapi32
1196 enable_mapistub
1197 enable_mciavi32
1198 enable_mcicda
1199 enable_mciqtz32
1200 enable_mciseq
1201 enable_mciwave
1202 enable_mf
1203 enable_mf3216
1204 enable_mferror
1205 enable_mfmediaengine
1206 enable_mfplat
1207 enable_mfplay
1208 enable_mfreadwrite
1209 enable_mfsrcsnk
1210 enable_mgmtapi
1211 enable_midimap
1212 enable_mlang
1213 enable_mmcndmgr
1214 enable_mmdevapi
1215 enable_mountmgr_sys
1216 enable_mp3dmod
1217 enable_mpr
1218 enable_mprapi
1219 enable_msacm32_drv
1220 enable_msacm32
1221 enable_msado15
1222 enable_msadp32_acm
1223 enable_msasn1
1224 enable_msauddecmft
1225 enable_mscat32
1226 enable_mscms
1227 enable_mscoree
1228 enable_mscorwks
1229 enable_msctf
1230 enable_msctfmonitor
1231 enable_msctfp
1232 enable_msdaps
1233 enable_msdasql
1234 enable_msdelta
1235 enable_msdmo
1236 enable_msdrm
1237 enable_msftedit
1238 enable_msg711_acm
1239 enable_msgsm32_acm
1240 enable_mshtml_tlb
1241 enable_mshtml
1242 enable_msi
1243 enable_msident
1244 enable_msimg32
1245 enable_msimsg
1246 enable_msimtf
1247 enable_msisip
1248 enable_msisys_ocx
1249 enable_msls31
1250 enable_msmpeg2vdec
1251 enable_msnet32
1252 enable_mspatcha
1253 enable_msports
1254 enable_msrle32
1255 enable_msscript_ocx
1256 enable_mssign32
1257 enable_mssip32
1258 enable_mstask
1259 enable_msv1_0
1260 enable_msvcirt
1261 enable_msvcm80
1262 enable_msvcm90
1263 enable_msvcp100
1264 enable_msvcp110
1265 enable_msvcp120
1266 enable_msvcp120_app
1267 enable_msvcp140
1268 enable_msvcp140_1
1269 enable_msvcp140_2
1270 enable_msvcp140_atomic_wait
1271 enable_msvcp60
1272 enable_msvcp70
1273 enable_msvcp71
1274 enable_msvcp80
1275 enable_msvcp90
1276 enable_msvcp_win
1277 enable_msvcr100
1278 enable_msvcr110
1279 enable_msvcr120
1280 enable_msvcr120_app
1281 enable_msvcr70
1282 enable_msvcr71
1283 enable_msvcr80
1284 enable_msvcr90
1285 enable_msvcrt
1286 enable_msvcrt20
1287 enable_msvcrt40
1288 enable_msvcrtd
1289 enable_msvfw32
1290 enable_msvidc32
1291 enable_mswsock
1292 enable_msxml
1293 enable_msxml2
1294 enable_msxml3
1295 enable_msxml4
1296 enable_msxml6
1297 enable_mtxdm
1298 enable_ncrypt
1299 enable_nddeapi
1300 enable_ndis_sys
1301 enable_netapi32
1302 enable_netcfgx
1303 enable_netio_sys
1304 enable_netprofm
1305 enable_netutils
1306 enable_newdev
1307 enable_ninput
1308 enable_normaliz
1309 enable_npmshtml
1310 enable_npptools
1311 enable_nsi
1312 enable_nsiproxy_sys
1313 enable_ntdll
1314 enable_ntdsapi
1315 enable_ntoskrnl_exe
1316 enable_ntprint
1317 enable_objsel
1318 enable_odbc32
1319 enable_odbcbcp
1320 enable_odbccp32
1321 enable_odbccu32
1322 enable_ole32
1323 enable_oleacc
1324 enable_oleaut32
1325 enable_olecli32
1326 enable_oledb32
1327 enable_oledlg
1328 enable_olepro32
1329 enable_olesvr32
1330 enable_olethk32
1331 enable_opcservices
1332 enable_opencl
1333 enable_opengl32
1334 enable_packager
1335 enable_pdh
1336 enable_photometadatahandler
1337 enable_pidgen
1338 enable_powrprof
1339 enable_printui
1340 enable_prntvpt
1341 enable_propsys
1342 enable_psapi
1343 enable_pstorec
1344 enable_pwrshplugin
1345 enable_qasf
1346 enable_qcap
1347 enable_qdvd
1348 enable_qedit
1349 enable_qmgr
1350 enable_qmgrprxy
1351 enable_quartz
1352 enable_query
1353 enable_qwave
1354 enable_rasapi32
1355 enable_rasdlg
1356 enable_regapi
1357 enable_resutils
1358 enable_riched20
1359 enable_riched32
1360 enable_rpcrt4
1361 enable_rsabase
1362 enable_rsaenh
1363 enable_rstrtmgr
1364 enable_rtutils
1365 enable_rtworkq
1366 enable_samlib
1367 enable_sane_ds
1368 enable_sapi
1369 enable_sas
1370 enable_scarddlg
1371 enable_scardsvr
1372 enable_sccbase
1373 enable_schannel
1374 enable_schedsvc
1375 enable_scrobj
1376 enable_scrrun
1377 enable_scsiport_sys
1378 enable_sechost
1379 enable_secur32
1380 enable_security
1381 enable_sensapi
1382 enable_serialui
1383 enable_setupapi
1384 enable_sfc
1385 enable_sfc_os
1386 enable_shcore
1387 enable_shdoclc
1388 enable_shdocvw
1389 enable_shell32
1390 enable_shfolder
1391 enable_shlwapi
1392 enable_slbcsp
1393 enable_slc
1394 enable_snmpapi
1395 enable_softpub
1396 enable_spoolss
1397 enable_sppc
1398 enable_srclient
1399 enable_srvcli
1400 enable_sspicli
1401 enable_stdole2_tlb
1402 enable_stdole32_tlb
1403 enable_sti
1404 enable_strmdll
1405 enable_svrapi
1406 enable_sxs
1407 enable_t2embed
1408 enable_tapi32
1409 enable_taskschd
1410 enable_tbs
1411 enable_tdh
1412 enable_tdi_sys
1413 enable_threadpoolwinrt
1414 enable_traffic
1415 enable_twain_32
1416 enable_twinapi_appcore
1417 enable_tzres
1418 enable_ucrtbase
1419 enable_uianimation
1420 enable_uiautomationcore
1421 enable_uiribbon
1422 enable_unicows
1423 enable_updspapi
1424 enable_url
1425 enable_urlmon
1426 enable_usbd_sys
1427 enable_user32
1428 enable_userenv
1429 enable_usp10
1430 enable_utildll
1431 enable_uxtheme
1432 enable_vbscript
1433 enable_vcomp
1434 enable_vcomp100
1435 enable_vcomp110
1436 enable_vcomp120
1437 enable_vcomp140
1438 enable_vcomp90
1439 enable_vcruntime140
1440 enable_vcruntime140_1
1441 enable_vdmdbg
1442 enable_version
1443 enable_vga
1444 enable_virtdisk
1445 enable_vssapi
1446 enable_vulkan_1
1447 enable_wbemdisp
1448 enable_wbemprox
1449 enable_wdscore
1450 enable_webservices
1451 enable_websocket
1452 enable_wer
1453 enable_wevtapi
1454 enable_wevtsvc
1455 enable_wiaservc
1456 enable_wimgapi
1457 enable_win32u
1458 enable_windows_devices_bluetooth
1459 enable_windows_devices_enumeration
1460 enable_windows_devices_geolocation_geolocator
1461 enable_windows_gaming_input
1462 enable_windows_gaming_ui_gamebar
1463 enable_windows_globalization
1464 enable_windows_media_devices
1465 enable_windows_media_speech
1466 enable_windows_media
1467 enable_windows_networking_hostname
1468 enable_windows_networking
1469 enable_windows_perception_stub
1470 enable_windows_system_profile_systemmanufacturers
1471 enable_windows_ui
1472 enable_windowscodecs
1473 enable_windowscodecsext
1474 enable_winealsa_drv
1475 enable_wineandroid_drv
1476 enable_winebus_sys
1477 enable_winecoreaudio_drv
1478 enable_winecrt0
1479 enable_wined3d
1480 enable_winegstreamer
1481 enable_winehid_sys
1482 enable_winemac_drv
1483 enable_winemapi
1484 enable_wineoss_drv
1485 enable_wineps_drv
1486 enable_winepulse_drv
1487 enable_wineusb_sys
1488 enable_winevulkan
1489 enable_winewayland_drv
1490 enable_winex11_drv
1491 enable_winexinput_sys
1492 enable_wing32
1493 enable_winhttp
1494 enable_wininet
1495 enable_winmm
1496 enable_winnls32
1497 enable_winprint
1498 enable_winscard
1499 enable_winspool_drv
1500 enable_winsta
1501 enable_wintab32
1502 enable_wintrust
1503 enable_wintypes
1504 enable_winusb
1505 enable_wlanapi
1506 enable_wlanui
1507 enable_wldap32
1508 enable_wmasf
1509 enable_wmi
1510 enable_wmiutils
1511 enable_wmp
1512 enable_wmphoto
1513 enable_wmvcore
1514 enable_wnaspi32
1515 enable_wofutil
1516 enable_wow64
1517 enable_wow64cpu
1518 enable_wow64win
1519 enable_wpc
1520 enable_wpcap
1521 enable_ws2_32
1522 enable_wsdapi
1523 enable_wshom_ocx
1524 enable_wsnmp32
1525 enable_wsock32
1526 enable_wtsapi32
1527 enable_wuapi
1528 enable_wuaueng
1529 enable_x3daudio1_0
1530 enable_x3daudio1_1
1531 enable_x3daudio1_2
1532 enable_x3daudio1_3
1533 enable_x3daudio1_4
1534 enable_x3daudio1_5
1535 enable_x3daudio1_6
1536 enable_x3daudio1_7
1537 enable_xactengine2_0
1538 enable_xactengine2_4
1539 enable_xactengine2_7
1540 enable_xactengine2_9
1541 enable_xactengine3_0
1542 enable_xactengine3_1
1543 enable_xactengine3_2
1544 enable_xactengine3_3
1545 enable_xactengine3_4
1546 enable_xactengine3_5
1547 enable_xactengine3_6
1548 enable_xactengine3_7
1549 enable_xapofx1_1
1550 enable_xapofx1_2
1551 enable_xapofx1_3
1552 enable_xapofx1_4
1553 enable_xapofx1_5
1554 enable_xaudio2_0
1555 enable_xaudio2_1
1556 enable_xaudio2_2
1557 enable_xaudio2_3
1558 enable_xaudio2_4
1559 enable_xaudio2_5
1560 enable_xaudio2_6
1561 enable_xaudio2_7
1562 enable_xaudio2_8
1563 enable_xaudio2_9
1564 enable_xinput1_1
1565 enable_xinput1_2
1566 enable_xinput1_3
1567 enable_xinput1_4
1568 enable_xinput9_1_0
1569 enable_xinputuap
1570 enable_xmllite
1571 enable_xolehlp
1572 enable_xpsprint
1573 enable_xpssvcs
1574 enable_fonts
1575 enable_include
1576 enable_adsiid
1577 enable_dmoguids
1578 enable_dxerr8
1579 enable_dxerr9
1580 enable_dxguid
1581 enable_faudio
1582 enable_gsm
1583 enable_jpeg
1584 enable_jxr
1585 enable_lcms2
1586 enable_ldap
1587 enable_mfuuid
1588 enable_mpg123
1589 enable_musl
1590 enable_png
1591 enable_strmbase
1592 enable_strmiids
1593 enable_tiff
1594 enable_uuid
1595 enable_vkd3d
1596 enable_wbemuuid
1597 enable_wmcodecdspuuid
1598 enable_xml2
1599 enable_xslt
1600 enable_zlib
1601 enable_zydis
1602 enable_loader
1603 enable_nls
1604 enable_po
1605 enable_arp
1606 enable_aspnet_regiis
1607 enable_attrib
1608 enable_cabarc
1609 enable_cacls
1610 enable_certutil
1611 enable_chcp_com
1612 enable_clock
1613 enable_cmd
1614 enable_conhost
1615 enable_control
1616 enable_cscript
1617 enable_dism
1618 enable_dllhost
1619 enable_dplaysvr
1620 enable_dpnsvr
1621 enable_dpvsetup
1622 enable_dxdiag
1623 enable_eject
1624 enable_expand
1625 enable_explorer
1626 enable_extrac32
1627 enable_fc
1628 enable_find
1629 enable_findstr
1630 enable_fsutil
1631 enable_hh
1632 enable_hostname
1633 enable_icacls
1634 enable_icinfo
1635 enable_iexplore
1636 enable_ipconfig
1637 enable_lodctr
1638 enable_mofcomp
1639 enable_mshta
1640 enable_msidb
1641 enable_msiexec
1642 enable_msinfo32
1643 enable_net
1644 enable_netsh
1645 enable_netstat
1646 enable_ngen
1647 enable_notepad
1648 enable_oleview
1649 enable_ping
1650 enable_plugplay
1651 enable_pnputil
1652 enable_powershell
1653 enable_presentationfontcache
1654 enable_progman
1655 enable_reg
1656 enable_regasm
1657 enable_regedit
1658 enable_regini
1659 enable_regsvcs
1660 enable_regsvr32
1661 enable_robocopy
1662 enable_rpcss
1663 enable_rundll32
1664 enable_sc
1665 enable_schtasks
1666 enable_sdbinst
1667 enable_secedit
1668 enable_servicemodelreg
1669 enable_services
1670 enable_setx
1671 enable_shutdown
1672 enable_spoolsv
1673 enable_start
1674 enable_subst
1675 enable_svchost
1676 enable_systeminfo
1677 enable_taskkill
1678 enable_tasklist
1679 enable_taskmgr
1680 enable_termsv
1681 enable_uninstaller
1682 enable_unlodctr
1683 enable_view
1684 enable_wevtutil
1685 enable_where
1686 enable_whoami
1687 enable_wineboot
1688 enable_winebrowser
1689 enable_winecfg
1690 enable_wineconsole
1691 enable_winedbg
1692 enable_winedevice
1693 enable_winefile
1694 enable_winemenubuilder
1695 enable_winemine
1696 enable_winemsibuilder
1697 enable_winepath
1698 enable_winetest
1699 enable_winhlp32
1700 enable_winmgmt
1701 enable_winver
1702 enable_wmic
1703 enable_wmplayer
1704 enable_wordpad
1705 enable_write
1706 enable_wscript
1707 enable_wuauserv
1708 enable_wusa
1709 enable_xcopy
1710 enable_server
1711 enable_tools
1712 enable_sfnt2fon
1713 enable_widl
1714 enable_winebuild
1715 enable_winedump
1716 enable_winegcc
1717 enable_winemaker
1718 enable_wmc
1719 enable_wrc
1721 ac_precious_vars='build_alias
1722 host_alias
1723 target_alias
1725 CFLAGS
1726 LDFLAGS
1727 LIBS
1728 CPPFLAGS
1730 CXXFLAGS
1732 OBJC
1733 OBJCFLAGS
1734 FAUDIO_PE_CFLAGS
1735 FAUDIO_PE_LIBS
1736 GSM_PE_CFLAGS
1737 GSM_PE_LIBS
1738 JPEG_PE_CFLAGS
1739 JPEG_PE_LIBS
1740 JXR_PE_CFLAGS
1741 JXR_PE_LIBS
1742 LCMS2_PE_CFLAGS
1743 LCMS2_PE_LIBS
1744 LDAP_PE_CFLAGS
1745 LDAP_PE_LIBS
1746 MPG123_PE_CFLAGS
1747 MPG123_PE_LIBS
1748 MUSL_PE_CFLAGS
1749 MUSL_PE_LIBS
1750 PNG_PE_CFLAGS
1751 PNG_PE_LIBS
1752 TIFF_PE_CFLAGS
1753 TIFF_PE_LIBS
1754 VKD3D_PE_CFLAGS
1755 VKD3D_PE_LIBS
1756 XML2_PE_CFLAGS
1757 XML2_PE_LIBS
1758 XSLT_PE_CFLAGS
1759 XSLT_PE_LIBS
1760 ZLIB_PE_CFLAGS
1761 ZLIB_PE_LIBS
1762 ZYDIS_PE_CFLAGS
1763 ZYDIS_PE_LIBS
1764 XMKMF
1766 WAYLAND_CLIENT_CFLAGS
1767 WAYLAND_CLIENT_LIBS
1768 INOTIFY_CFLAGS
1769 INOTIFY_LIBS
1770 DBUS_CFLAGS
1771 DBUS_LIBS
1772 GNUTLS_CFLAGS
1773 GNUTLS_LIBS
1774 SANE_CFLAGS
1775 SANE_LIBS
1776 USB_CFLAGS
1777 USB_LIBS
1778 GPHOTO2_CFLAGS
1779 GPHOTO2_LIBS
1780 GPHOTO2_PORT_CFLAGS
1781 GPHOTO2_PORT_LIBS
1782 FREETYPE_CFLAGS
1783 FREETYPE_LIBS
1784 PULSE_CFLAGS
1785 PULSE_LIBS
1786 GSTREAMER_CFLAGS
1787 GSTREAMER_LIBS
1788 UDEV_CFLAGS
1789 UDEV_LIBS
1790 UNWIND_CFLAGS
1791 UNWIND_LIBS
1792 SDL2_CFLAGS
1793 SDL2_LIBS
1794 CAPI20_CFLAGS
1795 CAPI20_LIBS
1796 CUPS_CFLAGS
1797 CUPS_LIBS
1798 FONTCONFIG_CFLAGS
1799 FONTCONFIG_LIBS
1800 KRB5_CFLAGS
1801 KRB5_LIBS
1802 GSSAPI_CFLAGS
1803 GSSAPI_LIBS
1804 NETAPI_CFLAGS
1805 NETAPI_LIBS'
1808 # Initialize some variables set by options.
1809 ac_init_help=
1810 ac_init_version=false
1811 ac_unrecognized_opts=
1812 ac_unrecognized_sep=
1813 # The variables have the same names as the options, with
1814 # dashes changed to underlines.
1815 cache_file=/dev/null
1816 exec_prefix=NONE
1817 no_create=
1818 no_recursion=
1819 prefix=NONE
1820 program_prefix=NONE
1821 program_suffix=NONE
1822 program_transform_name=s,x,x,
1823 silent=
1824 site=
1825 srcdir=
1826 verbose=
1827 x_includes=NONE
1828 x_libraries=NONE
1830 # Installation directory options.
1831 # These are left unexpanded so users can "make install exec_prefix=/foo"
1832 # and all the variables that are supposed to be based on exec_prefix
1833 # by default will actually change.
1834 # Use braces instead of parens because sh, perl, etc. also accept them.
1835 # (The list follows the same order as the GNU Coding Standards.)
1836 bindir='${exec_prefix}/bin'
1837 sbindir='${exec_prefix}/sbin'
1838 libexecdir='${exec_prefix}/libexec'
1839 datarootdir='${prefix}/share'
1840 datadir='${datarootdir}'
1841 sysconfdir='${prefix}/etc'
1842 sharedstatedir='${prefix}/com'
1843 localstatedir='${prefix}/var'
1844 runstatedir='${localstatedir}/run'
1845 includedir='${prefix}/include'
1846 oldincludedir='/usr/include'
1847 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1848 infodir='${datarootdir}/info'
1849 htmldir='${docdir}'
1850 dvidir='${docdir}'
1851 pdfdir='${docdir}'
1852 psdir='${docdir}'
1853 libdir='${exec_prefix}/lib'
1854 localedir='${datarootdir}/locale'
1855 mandir='${datarootdir}/man'
1857 ac_prev=
1858 ac_dashdash=
1859 for ac_option
1861 # If the previous option needs an argument, assign it.
1862 if test -n "$ac_prev"; then
1863 eval $ac_prev=\$ac_option
1864 ac_prev=
1865 continue
1868 case $ac_option in
1869 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1870 *=) ac_optarg= ;;
1871 *) ac_optarg=yes ;;
1872 esac
1874 case $ac_dashdash$ac_option in
1876 ac_dashdash=yes ;;
1878 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1879 ac_prev=bindir ;;
1880 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1881 bindir=$ac_optarg ;;
1883 -build | --build | --buil | --bui | --bu)
1884 ac_prev=build_alias ;;
1885 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1886 build_alias=$ac_optarg ;;
1888 -cache-file | --cache-file | --cache-fil | --cache-fi \
1889 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1890 ac_prev=cache_file ;;
1891 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1892 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1893 cache_file=$ac_optarg ;;
1895 --config-cache | -C)
1896 cache_file=config.cache ;;
1898 -datadir | --datadir | --datadi | --datad)
1899 ac_prev=datadir ;;
1900 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1901 datadir=$ac_optarg ;;
1903 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1904 | --dataroo | --dataro | --datar)
1905 ac_prev=datarootdir ;;
1906 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1907 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1908 datarootdir=$ac_optarg ;;
1910 -disable-* | --disable-*)
1911 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1912 # Reject names that are not valid shell variable names.
1913 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1914 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1915 ac_useropt_orig=$ac_useropt
1916 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1917 case $ac_user_opts in
1919 "enable_$ac_useropt"
1920 "*) ;;
1921 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1922 ac_unrecognized_sep=', ';;
1923 esac
1924 eval enable_$ac_useropt=no ;;
1926 -docdir | --docdir | --docdi | --doc | --do)
1927 ac_prev=docdir ;;
1928 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1929 docdir=$ac_optarg ;;
1931 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1932 ac_prev=dvidir ;;
1933 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1934 dvidir=$ac_optarg ;;
1936 -enable-* | --enable-*)
1937 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1938 # Reject names that are not valid shell variable names.
1939 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1940 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1941 ac_useropt_orig=$ac_useropt
1942 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1943 case $ac_user_opts in
1945 "enable_$ac_useropt"
1946 "*) ;;
1947 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1948 ac_unrecognized_sep=', ';;
1949 esac
1950 eval enable_$ac_useropt=\$ac_optarg ;;
1952 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1953 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1954 | --exec | --exe | --ex)
1955 ac_prev=exec_prefix ;;
1956 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1957 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1958 | --exec=* | --exe=* | --ex=*)
1959 exec_prefix=$ac_optarg ;;
1961 -gas | --gas | --ga | --g)
1962 # Obsolete; use --with-gas.
1963 with_gas=yes ;;
1965 -help | --help | --hel | --he | -h)
1966 ac_init_help=long ;;
1967 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1968 ac_init_help=recursive ;;
1969 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1970 ac_init_help=short ;;
1972 -host | --host | --hos | --ho)
1973 ac_prev=host_alias ;;
1974 -host=* | --host=* | --hos=* | --ho=*)
1975 host_alias=$ac_optarg ;;
1977 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1978 ac_prev=htmldir ;;
1979 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1980 | --ht=*)
1981 htmldir=$ac_optarg ;;
1983 -includedir | --includedir | --includedi | --included | --include \
1984 | --includ | --inclu | --incl | --inc)
1985 ac_prev=includedir ;;
1986 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1987 | --includ=* | --inclu=* | --incl=* | --inc=*)
1988 includedir=$ac_optarg ;;
1990 -infodir | --infodir | --infodi | --infod | --info | --inf)
1991 ac_prev=infodir ;;
1992 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1993 infodir=$ac_optarg ;;
1995 -libdir | --libdir | --libdi | --libd)
1996 ac_prev=libdir ;;
1997 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1998 libdir=$ac_optarg ;;
2000 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2001 | --libexe | --libex | --libe)
2002 ac_prev=libexecdir ;;
2003 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2004 | --libexe=* | --libex=* | --libe=*)
2005 libexecdir=$ac_optarg ;;
2007 -localedir | --localedir | --localedi | --localed | --locale)
2008 ac_prev=localedir ;;
2009 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2010 localedir=$ac_optarg ;;
2012 -localstatedir | --localstatedir | --localstatedi | --localstated \
2013 | --localstate | --localstat | --localsta | --localst | --locals)
2014 ac_prev=localstatedir ;;
2015 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2016 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2017 localstatedir=$ac_optarg ;;
2019 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2020 ac_prev=mandir ;;
2021 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2022 mandir=$ac_optarg ;;
2024 -nfp | --nfp | --nf)
2025 # Obsolete; use --without-fp.
2026 with_fp=no ;;
2028 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2029 | --no-cr | --no-c | -n)
2030 no_create=yes ;;
2032 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2033 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2034 no_recursion=yes ;;
2036 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2037 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2038 | --oldin | --oldi | --old | --ol | --o)
2039 ac_prev=oldincludedir ;;
2040 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2041 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2042 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2043 oldincludedir=$ac_optarg ;;
2045 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2046 ac_prev=prefix ;;
2047 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2048 prefix=$ac_optarg ;;
2050 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2051 | --program-pre | --program-pr | --program-p)
2052 ac_prev=program_prefix ;;
2053 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2054 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2055 program_prefix=$ac_optarg ;;
2057 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2058 | --program-suf | --program-su | --program-s)
2059 ac_prev=program_suffix ;;
2060 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2061 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2062 program_suffix=$ac_optarg ;;
2064 -program-transform-name | --program-transform-name \
2065 | --program-transform-nam | --program-transform-na \
2066 | --program-transform-n | --program-transform- \
2067 | --program-transform | --program-transfor \
2068 | --program-transfo | --program-transf \
2069 | --program-trans | --program-tran \
2070 | --progr-tra | --program-tr | --program-t)
2071 ac_prev=program_transform_name ;;
2072 -program-transform-name=* | --program-transform-name=* \
2073 | --program-transform-nam=* | --program-transform-na=* \
2074 | --program-transform-n=* | --program-transform-=* \
2075 | --program-transform=* | --program-transfor=* \
2076 | --program-transfo=* | --program-transf=* \
2077 | --program-trans=* | --program-tran=* \
2078 | --progr-tra=* | --program-tr=* | --program-t=*)
2079 program_transform_name=$ac_optarg ;;
2081 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2082 ac_prev=pdfdir ;;
2083 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2084 pdfdir=$ac_optarg ;;
2086 -psdir | --psdir | --psdi | --psd | --ps)
2087 ac_prev=psdir ;;
2088 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2089 psdir=$ac_optarg ;;
2091 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2092 | -silent | --silent | --silen | --sile | --sil)
2093 silent=yes ;;
2095 -runstatedir | --runstatedir | --runstatedi | --runstated \
2096 | --runstate | --runstat | --runsta | --runst | --runs \
2097 | --run | --ru | --r)
2098 ac_prev=runstatedir ;;
2099 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2100 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2101 | --run=* | --ru=* | --r=*)
2102 runstatedir=$ac_optarg ;;
2104 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2105 ac_prev=sbindir ;;
2106 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2107 | --sbi=* | --sb=*)
2108 sbindir=$ac_optarg ;;
2110 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2111 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2112 | --sharedst | --shareds | --shared | --share | --shar \
2113 | --sha | --sh)
2114 ac_prev=sharedstatedir ;;
2115 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2116 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2117 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2118 | --sha=* | --sh=*)
2119 sharedstatedir=$ac_optarg ;;
2121 -site | --site | --sit)
2122 ac_prev=site ;;
2123 -site=* | --site=* | --sit=*)
2124 site=$ac_optarg ;;
2126 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2127 ac_prev=srcdir ;;
2128 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2129 srcdir=$ac_optarg ;;
2131 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2132 | --syscon | --sysco | --sysc | --sys | --sy)
2133 ac_prev=sysconfdir ;;
2134 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2135 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2136 sysconfdir=$ac_optarg ;;
2138 -target | --target | --targe | --targ | --tar | --ta | --t)
2139 ac_prev=target_alias ;;
2140 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2141 target_alias=$ac_optarg ;;
2143 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2144 verbose=yes ;;
2146 -version | --version | --versio | --versi | --vers | -V)
2147 ac_init_version=: ;;
2149 -with-* | --with-*)
2150 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2151 # Reject names that are not valid shell variable names.
2152 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2153 as_fn_error $? "invalid package name: \`$ac_useropt'"
2154 ac_useropt_orig=$ac_useropt
2155 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2156 case $ac_user_opts in
2158 "with_$ac_useropt"
2159 "*) ;;
2160 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2161 ac_unrecognized_sep=', ';;
2162 esac
2163 eval with_$ac_useropt=\$ac_optarg ;;
2165 -without-* | --without-*)
2166 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2167 # Reject names that are not valid shell variable names.
2168 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2169 as_fn_error $? "invalid package name: \`$ac_useropt'"
2170 ac_useropt_orig=$ac_useropt
2171 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2172 case $ac_user_opts in
2174 "with_$ac_useropt"
2175 "*) ;;
2176 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2177 ac_unrecognized_sep=', ';;
2178 esac
2179 eval with_$ac_useropt=no ;;
2181 --x)
2182 # Obsolete; use --with-x.
2183 with_x=yes ;;
2185 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2186 | --x-incl | --x-inc | --x-in | --x-i)
2187 ac_prev=x_includes ;;
2188 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2189 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2190 x_includes=$ac_optarg ;;
2192 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2193 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2194 ac_prev=x_libraries ;;
2195 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2196 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2197 x_libraries=$ac_optarg ;;
2199 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2200 Try \`$0 --help' for more information"
2203 *=*)
2204 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2205 # Reject names that are not valid shell variable names.
2206 case $ac_envvar in #(
2207 '' | [0-9]* | *[!_$as_cr_alnum]* )
2208 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2209 esac
2210 eval $ac_envvar=\$ac_optarg
2211 export $ac_envvar ;;
2214 # FIXME: should be removed in autoconf 3.0.
2215 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2216 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2217 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2218 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2221 esac
2222 done
2224 if test -n "$ac_prev"; then
2225 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2226 as_fn_error $? "missing argument to $ac_option"
2229 if test -n "$ac_unrecognized_opts"; then
2230 case $enable_option_checking in
2231 no) ;;
2232 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2233 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2234 esac
2237 # Check all directory arguments for consistency.
2238 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2239 datadir sysconfdir sharedstatedir localstatedir includedir \
2240 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2241 libdir localedir mandir runstatedir
2243 eval ac_val=\$$ac_var
2244 # Remove trailing slashes.
2245 case $ac_val in
2246 */ )
2247 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2248 eval $ac_var=\$ac_val;;
2249 esac
2250 # Be sure to have absolute directory names.
2251 case $ac_val in
2252 [\\/$]* | ?:[\\/]* ) continue;;
2253 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2254 esac
2255 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2256 done
2258 # There might be people who depend on the old broken behavior: `$host'
2259 # used to hold the argument of --host etc.
2260 # FIXME: To remove some day.
2261 build=$build_alias
2262 host=$host_alias
2263 target=$target_alias
2265 # FIXME: To remove some day.
2266 if test "x$host_alias" != x; then
2267 if test "x$build_alias" = x; then
2268 cross_compiling=maybe
2269 elif test "x$build_alias" != "x$host_alias"; then
2270 cross_compiling=yes
2274 ac_tool_prefix=
2275 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2277 test "$silent" = yes && exec 6>/dev/null
2280 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2281 ac_ls_di=`ls -di .` &&
2282 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2283 as_fn_error $? "working directory cannot be determined"
2284 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2285 as_fn_error $? "pwd does not report name of working directory"
2288 # Find the source files, if location was not specified.
2289 if test -z "$srcdir"; then
2290 ac_srcdir_defaulted=yes
2291 # Try the directory containing this script, then the parent directory.
2292 ac_confdir=`$as_dirname -- "$as_myself" ||
2293 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2294 X"$as_myself" : 'X\(//\)[^/]' \| \
2295 X"$as_myself" : 'X\(//\)$' \| \
2296 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2297 printf "%s\n" X"$as_myself" |
2298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2299 s//\1/
2302 /^X\(\/\/\)[^/].*/{
2303 s//\1/
2306 /^X\(\/\/\)$/{
2307 s//\1/
2310 /^X\(\/\).*/{
2311 s//\1/
2314 s/.*/./; q'`
2315 srcdir=$ac_confdir
2316 if test ! -r "$srcdir/$ac_unique_file"; then
2317 srcdir=..
2319 else
2320 ac_srcdir_defaulted=no
2322 if test ! -r "$srcdir/$ac_unique_file"; then
2323 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2324 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2326 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2327 ac_abs_confdir=`(
2328 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2329 pwd)`
2330 # When building in place, set srcdir=.
2331 if test "$ac_abs_confdir" = "$ac_pwd"; then
2332 srcdir=.
2334 # Remove unnecessary trailing slashes from srcdir.
2335 # Double slashes in file names in object file debugging info
2336 # mess up M-x gdb in Emacs.
2337 case $srcdir in
2338 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2339 esac
2340 for ac_var in $ac_precious_vars; do
2341 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2342 eval ac_env_${ac_var}_value=\$${ac_var}
2343 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2344 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2345 done
2348 # Report the --help message.
2350 if test "$ac_init_help" = "long"; then
2351 # Omit some internal or obsolete options to make the list less imposing.
2352 # This message is too long to be a string in the A/UX 3.1 sh.
2353 cat <<_ACEOF
2354 \`configure' configures Wine 8.12 to adapt to many kinds of systems.
2356 Usage: $0 [OPTION]... [VAR=VALUE]...
2358 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2359 VAR=VALUE. See below for descriptions of some of the useful variables.
2361 Defaults for the options are specified in brackets.
2363 Configuration:
2364 -h, --help display this help and exit
2365 --help=short display options specific to this package
2366 --help=recursive display the short help of all the included packages
2367 -V, --version display version information and exit
2368 -q, --quiet, --silent do not print \`checking ...' messages
2369 --cache-file=FILE cache test results in FILE [disabled]
2370 -C, --config-cache alias for \`--cache-file=config.cache'
2371 -n, --no-create do not create output files
2372 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2374 Installation directories:
2375 --prefix=PREFIX install architecture-independent files in PREFIX
2376 [$ac_default_prefix]
2377 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2378 [PREFIX]
2380 By default, \`make install' will install all the files in
2381 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2382 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2383 for instance \`--prefix=\$HOME'.
2385 For better control, use the options below.
2387 Fine tuning of the installation directories:
2388 --bindir=DIR user executables [EPREFIX/bin]
2389 --sbindir=DIR system admin executables [EPREFIX/sbin]
2390 --libexecdir=DIR program executables [EPREFIX/libexec]
2391 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2392 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2393 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2394 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2395 --libdir=DIR object code libraries [EPREFIX/lib]
2396 --includedir=DIR C header files [PREFIX/include]
2397 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2398 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2399 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2400 --infodir=DIR info documentation [DATAROOTDIR/info]
2401 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2402 --mandir=DIR man documentation [DATAROOTDIR/man]
2403 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2404 --htmldir=DIR html documentation [DOCDIR]
2405 --dvidir=DIR dvi documentation [DOCDIR]
2406 --pdfdir=DIR pdf documentation [DOCDIR]
2407 --psdir=DIR ps documentation [DOCDIR]
2408 _ACEOF
2410 cat <<\_ACEOF
2412 X features:
2413 --x-includes=DIR X include files are in DIR
2414 --x-libraries=DIR X library files are in DIR
2416 System types:
2417 --build=BUILD configure for building on BUILD [guessed]
2418 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2419 _ACEOF
2422 if test -n "$ac_init_help"; then
2423 case $ac_init_help in
2424 short | recursive ) echo "Configuration of Wine 8.12:";;
2425 esac
2426 cat <<\_ACEOF
2428 Optional Features:
2429 --disable-option-checking ignore unrecognized --enable/--with options
2430 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2431 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2432 --enable-archs={i386,x86_64,arm,aarch64}
2433 enable multiple architectures for PE compilation
2434 --disable-win16 do not include Win16 support
2435 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2436 binaries)
2437 --disable-tests do not build the regression tests
2438 --enable-build-id include .buildid section in output objects
2439 --enable-maintainer-mode
2440 enable maintainer-specific build rules
2441 --enable-silent-rules use silent build rules (override: "make V=1")
2442 --enable-werror treat compilation warnings as errors
2443 --disable-largefile omit support for large files
2445 Optional Packages:
2446 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2447 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2448 --without-alsa do not use the Alsa sound support
2449 --without-capi do not use CAPI (ISDN support)
2450 --without-coreaudio do not use the CoreAudio sound support
2451 --without-cups do not use CUPS
2452 --without-dbus do not use DBus (dynamic device support)
2453 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2454 --without-fontconfig do not use fontconfig
2455 --without-freetype do not use the FreeType library
2456 --without-gettext do not use gettext
2457 --with-gettextpo use the GetTextPO library to rebuild po files
2458 --without-gphoto do not use gphoto (Digital Camera support)
2459 --without-gnutls do not use GnuTLS (schannel support)
2460 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2461 --without-gstreamer do not use GStreamer (codecs support)
2462 --without-inotify do not use inotify (filesystem change notifications)
2463 --without-krb5 do not use krb5 (Kerberos)
2464 --without-mingw do not use the MinGW cross-compiler
2465 --without-netapi do not use the Samba NetAPI library
2466 --without-opencl do not use OpenCL
2467 --without-opengl do not use OpenGL
2468 --without-osmesa do not use the OSMesa library
2469 --without-oss do not use the OSS sound support
2470 --without-pcap do not use the Packet Capture library
2471 --without-pcsclite do not use PCSC lite
2472 --without-pthread do not use the pthread library
2473 --without-pulse do not use PulseAudio sound support
2474 --without-sane do not use SANE (scanner support)
2475 --without-sdl do not use SDL
2476 --without-udev do not use udev (plug and play support)
2477 --without-unwind do not use the libunwind library (exception
2478 handling)
2479 --without-usb do not use the libusb library
2480 --without-v4l2 do not use v4l2 (video capture)
2481 --without-vulkan do not use Vulkan
2482 --without-wayland do not build the Wayland driver
2483 --without-xcomposite do not use the Xcomposite extension
2484 --without-xcursor do not use the Xcursor extension
2485 --without-xfixes do not use Xfixes for clipboard change notifications
2486 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2487 --without-xinput do not use the Xinput extension
2488 --without-xinput2 do not use the Xinput 2 extension
2489 --without-xrandr do not use Xrandr (multi-monitor support)
2490 --without-xrender do not use the Xrender extension
2491 --without-xshape do not use the Xshape extension
2492 --without-xshm do not use XShm (shared memory extension)
2493 --without-xxf86vm do not use XFree video mode extension
2494 --with-system-dllpath=PATH
2495 load external PE dependencies from colon-separated
2496 path PATH
2497 --with-wine-tools=DIR use Wine tools from directory DIR
2498 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2499 --with-x use the X Window System
2501 Some influential environment variables:
2502 CC C compiler command
2503 CFLAGS C compiler flags
2504 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2505 nonstandard directory <lib dir>
2506 LIBS libraries to pass to the linker, e.g. -l<library>
2507 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2508 you have headers in a nonstandard directory <include dir>
2509 CXX C++ compiler command
2510 CXXFLAGS C++ compiler flags
2511 OBJC Objective C compiler command
2512 OBJCFLAGS Objective C compiler flags
2513 FAUDIO_PE_CFLAGS
2514 C compiler flags for the PE faudio, overriding the bundled
2515 version
2516 FAUDIO_PE_LIBS
2517 Linker flags for the PE faudio, overriding the bundled version
2518 GSM_PE_CFLAGS
2519 C compiler flags for the PE gsm, overriding the bundled version
2520 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2521 JPEG_PE_CFLAGS
2522 C compiler flags for the PE jpeg, overriding the bundled version
2523 JPEG_PE_LIBS
2524 Linker flags for the PE jpeg, overriding the bundled version
2525 JXR_PE_CFLAGS
2526 C compiler flags for the PE jxr, overriding the bundled version
2527 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2528 LCMS2_PE_CFLAGS
2529 C compiler flags for the PE lcms2, overriding the bundled
2530 version
2531 LCMS2_PE_LIBS
2532 Linker flags for the PE lcms2, overriding the bundled version
2533 LDAP_PE_CFLAGS
2534 C compiler flags for the PE ldap, overriding the bundled version
2535 LDAP_PE_LIBS
2536 Linker flags for the PE ldap, overriding the bundled version
2537 MPG123_PE_CFLAGS
2538 C compiler flags for the PE mpg123, overriding the bundled
2539 version
2540 MPG123_PE_LIBS
2541 Linker flags for the PE mpg123, overriding the bundled version
2542 MUSL_PE_CFLAGS
2543 C compiler flags for the PE musl, overriding the bundled version
2544 MUSL_PE_LIBS
2545 Linker flags for the PE musl, overriding the bundled version
2546 PNG_PE_CFLAGS
2547 C compiler flags for the PE png, overriding the bundled version
2548 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2549 TIFF_PE_CFLAGS
2550 C compiler flags for the PE tiff, overriding the bundled version
2551 TIFF_PE_LIBS
2552 Linker flags for the PE tiff, overriding the bundled version
2553 VKD3D_PE_CFLAGS
2554 C compiler flags for the PE vkd3d, overriding the bundled
2555 version
2556 VKD3D_PE_LIBS
2557 Linker flags for the PE vkd3d, overriding the bundled version
2558 XML2_PE_CFLAGS
2559 C compiler flags for the PE xml2, overriding the bundled version
2560 XML2_PE_LIBS
2561 Linker flags for the PE xml2, overriding the bundled version
2562 XSLT_PE_CFLAGS
2563 C compiler flags for the PE xslt, overriding the bundled version
2564 XSLT_PE_LIBS
2565 Linker flags for the PE xslt, overriding the bundled version
2566 ZLIB_PE_CFLAGS
2567 C compiler flags for the PE zlib, overriding the bundled version
2568 ZLIB_PE_LIBS
2569 Linker flags for the PE zlib, overriding the bundled version
2570 ZYDIS_PE_CFLAGS
2571 C compiler flags for the PE zydis, overriding the bundled
2572 version
2573 ZYDIS_PE_LIBS
2574 Linker flags for the PE zydis, overriding the bundled version
2575 XMKMF Path to xmkmf, Makefile generator for X Window System
2576 CPP C preprocessor
2577 WAYLAND_CLIENT_CFLAGS
2578 C compiler flags for wayland-client, overriding pkg-config
2579 WAYLAND_CLIENT_LIBS
2580 Linker flags for wayland-client, overriding pkg-config
2581 INOTIFY_CFLAGS
2582 C compiler flags for libinotify, overriding pkg-config
2583 INOTIFY_LIBS
2584 Linker flags for libinotify, overriding pkg-config
2585 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2586 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2587 GNUTLS_CFLAGS
2588 C compiler flags for gnutls, overriding pkg-config
2589 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2590 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2591 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2592 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2593 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2594 GPHOTO2_CFLAGS
2595 C compiler flags for libgphoto2, overriding pkg-config
2596 GPHOTO2_LIBS
2597 Linker flags for libgphoto2, overriding pkg-config
2598 GPHOTO2_PORT_CFLAGS
2599 C compiler flags for libgphoto2_port, overriding pkg-config
2600 GPHOTO2_PORT_LIBS
2601 Linker flags for libgphoto2_port, overriding pkg-config
2602 FREETYPE_CFLAGS
2603 C compiler flags for freetype2, overriding pkg-config
2604 FREETYPE_LIBS
2605 Linker flags for freetype2, overriding pkg-config
2606 PULSE_CFLAGS
2607 C compiler flags for libpulse, overriding pkg-config
2608 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2609 GSTREAMER_CFLAGS
2610 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2611 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2612 GSTREAMER_LIBS
2613 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2614 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2615 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2616 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2617 UNWIND_CFLAGS
2618 C compiler flags for libunwind, overriding pkg-config
2619 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2620 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2621 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2622 CAPI20_CFLAGS
2623 C compiler flags for capi20, overriding pkg-config
2624 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2625 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2626 CUPS_LIBS Linker flags for cups, overriding pkg-config
2627 FONTCONFIG_CFLAGS
2628 C compiler flags for fontconfig, overriding pkg-config
2629 FONTCONFIG_LIBS
2630 Linker flags for fontconfig, overriding pkg-config
2631 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2632 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2633 GSSAPI_CFLAGS
2634 C compiler flags for krb5-gssapi, overriding pkg-config
2635 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2636 NETAPI_CFLAGS
2637 C compiler flags for netapi, overriding pkg-config
2638 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2640 Use these variables to override the choices made by `configure' or to help
2641 it to find libraries and programs with nonstandard names/locations.
2643 Report bugs to <wine-devel@winehq.org>.
2644 Wine home page: <https://www.winehq.org>.
2645 _ACEOF
2646 ac_status=$?
2649 if test "$ac_init_help" = "recursive"; then
2650 # If there are subdirs, report their specific --help.
2651 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2652 test -d "$ac_dir" ||
2653 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2654 continue
2655 ac_builddir=.
2657 case "$ac_dir" in
2658 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2660 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2661 # A ".." for each directory in $ac_dir_suffix.
2662 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2663 case $ac_top_builddir_sub in
2664 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2665 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2666 esac ;;
2667 esac
2668 ac_abs_top_builddir=$ac_pwd
2669 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2670 # for backward compatibility:
2671 ac_top_builddir=$ac_top_build_prefix
2673 case $srcdir in
2674 .) # We are building in place.
2675 ac_srcdir=.
2676 ac_top_srcdir=$ac_top_builddir_sub
2677 ac_abs_top_srcdir=$ac_pwd ;;
2678 [\\/]* | ?:[\\/]* ) # Absolute name.
2679 ac_srcdir=$srcdir$ac_dir_suffix;
2680 ac_top_srcdir=$srcdir
2681 ac_abs_top_srcdir=$srcdir ;;
2682 *) # Relative name.
2683 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2684 ac_top_srcdir=$ac_top_build_prefix$srcdir
2685 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2686 esac
2687 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2689 cd "$ac_dir" || { ac_status=$?; continue; }
2690 # Check for configure.gnu first; this name is used for a wrapper for
2691 # Metaconfig's "Configure" on case-insensitive file systems.
2692 if test -f "$ac_srcdir/configure.gnu"; then
2693 echo &&
2694 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2695 elif test -f "$ac_srcdir/configure"; then
2696 echo &&
2697 $SHELL "$ac_srcdir/configure" --help=recursive
2698 else
2699 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2700 fi || ac_status=$?
2701 cd "$ac_pwd" || { ac_status=$?; break; }
2702 done
2705 test -n "$ac_init_help" && exit $ac_status
2706 if $ac_init_version; then
2707 cat <<\_ACEOF
2708 Wine configure 8.12
2709 generated by GNU Autoconf 2.71
2711 Copyright (C) 2021 Free Software Foundation, Inc.
2712 This configure script is free software; the Free Software Foundation
2713 gives unlimited permission to copy, distribute and modify it.
2714 _ACEOF
2715 exit
2718 ## ------------------------ ##
2719 ## Autoconf initialization. ##
2720 ## ------------------------ ##
2722 # ac_fn_c_try_compile LINENO
2723 # --------------------------
2724 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2725 ac_fn_c_try_compile ()
2727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2728 rm -f conftest.$ac_objext conftest.beam
2729 if { { ac_try="$ac_compile"
2730 case "(($ac_try" in
2731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2732 *) ac_try_echo=$ac_try;;
2733 esac
2734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2735 printf "%s\n" "$ac_try_echo"; } >&5
2736 (eval "$ac_compile") 2>conftest.err
2737 ac_status=$?
2738 if test -s conftest.err; then
2739 grep -v '^ *+' conftest.err >conftest.er1
2740 cat conftest.er1 >&5
2741 mv -f conftest.er1 conftest.err
2743 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2744 test $ac_status = 0; } && {
2745 test -z "$ac_c_werror_flag" ||
2746 test ! -s conftest.err
2747 } && test -s conftest.$ac_objext
2748 then :
2749 ac_retval=0
2750 else $as_nop
2751 printf "%s\n" "$as_me: failed program was:" >&5
2752 sed 's/^/| /' conftest.$ac_ext >&5
2754 ac_retval=1
2756 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2757 as_fn_set_status $ac_retval
2759 } # ac_fn_c_try_compile
2761 # ac_fn_cxx_try_compile LINENO
2762 # ----------------------------
2763 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2764 ac_fn_cxx_try_compile ()
2766 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2767 rm -f conftest.$ac_objext conftest.beam
2768 if { { ac_try="$ac_compile"
2769 case "(($ac_try" in
2770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2771 *) ac_try_echo=$ac_try;;
2772 esac
2773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2774 printf "%s\n" "$ac_try_echo"; } >&5
2775 (eval "$ac_compile") 2>conftest.err
2776 ac_status=$?
2777 if test -s conftest.err; then
2778 grep -v '^ *+' conftest.err >conftest.er1
2779 cat conftest.er1 >&5
2780 mv -f conftest.er1 conftest.err
2782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2783 test $ac_status = 0; } && {
2784 test -z "$ac_cxx_werror_flag" ||
2785 test ! -s conftest.err
2786 } && test -s conftest.$ac_objext
2787 then :
2788 ac_retval=0
2789 else $as_nop
2790 printf "%s\n" "$as_me: failed program was:" >&5
2791 sed 's/^/| /' conftest.$ac_ext >&5
2793 ac_retval=1
2795 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2796 as_fn_set_status $ac_retval
2798 } # ac_fn_cxx_try_compile
2800 # ac_fn_c_try_link LINENO
2801 # -----------------------
2802 # Try to link conftest.$ac_ext, and return whether this succeeded.
2803 ac_fn_c_try_link ()
2805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2806 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2807 if { { ac_try="$ac_link"
2808 case "(($ac_try" in
2809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2810 *) ac_try_echo=$ac_try;;
2811 esac
2812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2813 printf "%s\n" "$ac_try_echo"; } >&5
2814 (eval "$ac_link") 2>conftest.err
2815 ac_status=$?
2816 if test -s conftest.err; then
2817 grep -v '^ *+' conftest.err >conftest.er1
2818 cat conftest.er1 >&5
2819 mv -f conftest.er1 conftest.err
2821 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2822 test $ac_status = 0; } && {
2823 test -z "$ac_c_werror_flag" ||
2824 test ! -s conftest.err
2825 } && test -s conftest$ac_exeext && {
2826 test "$cross_compiling" = yes ||
2827 test -x conftest$ac_exeext
2829 then :
2830 ac_retval=0
2831 else $as_nop
2832 printf "%s\n" "$as_me: failed program was:" >&5
2833 sed 's/^/| /' conftest.$ac_ext >&5
2835 ac_retval=1
2837 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2838 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2839 # interfere with the next link command; also delete a directory that is
2840 # left behind by Apple's compiler. We do this before executing the actions.
2841 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2842 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2843 as_fn_set_status $ac_retval
2845 } # ac_fn_c_try_link
2847 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2848 # -------------------------------------------------------
2849 # Tests whether HEADER exists and can be compiled using the include files in
2850 # INCLUDES, setting the cache variable VAR accordingly.
2851 ac_fn_c_check_header_compile ()
2853 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2855 printf %s "checking for $2... " >&6; }
2856 if eval test \${$3+y}
2857 then :
2858 printf %s "(cached) " >&6
2859 else $as_nop
2860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2861 /* end confdefs.h. */
2863 #include <$2>
2864 _ACEOF
2865 if ac_fn_c_try_compile "$LINENO"
2866 then :
2867 eval "$3=yes"
2868 else $as_nop
2869 eval "$3=no"
2871 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2873 eval ac_res=\$$3
2874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2875 printf "%s\n" "$ac_res" >&6; }
2876 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2878 } # ac_fn_c_check_header_compile
2880 # ac_fn_objc_try_compile LINENO
2881 # -----------------------------
2882 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2883 ac_fn_objc_try_compile ()
2885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2886 rm -f conftest.$ac_objext conftest.beam
2887 if { { ac_try="$ac_compile"
2888 case "(($ac_try" in
2889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2890 *) ac_try_echo=$ac_try;;
2891 esac
2892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2893 printf "%s\n" "$ac_try_echo"; } >&5
2894 (eval "$ac_compile") 2>conftest.err
2895 ac_status=$?
2896 if test -s conftest.err; then
2897 grep -v '^ *+' conftest.err >conftest.er1
2898 cat conftest.er1 >&5
2899 mv -f conftest.er1 conftest.err
2901 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2902 test $ac_status = 0; } && {
2903 test -z "$ac_objc_werror_flag" ||
2904 test ! -s conftest.err
2905 } && test -s conftest.$ac_objext
2906 then :
2907 ac_retval=0
2908 else $as_nop
2909 printf "%s\n" "$as_me: failed program was:" >&5
2910 sed 's/^/| /' conftest.$ac_ext >&5
2912 ac_retval=1
2914 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2915 as_fn_set_status $ac_retval
2917 } # ac_fn_objc_try_compile
2919 # ac_fn_c_check_func LINENO FUNC VAR
2920 # ----------------------------------
2921 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2922 ac_fn_c_check_func ()
2924 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2926 printf %s "checking for $2... " >&6; }
2927 if eval test \${$3+y}
2928 then :
2929 printf %s "(cached) " >&6
2930 else $as_nop
2931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2932 /* end confdefs.h. */
2933 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2935 #define $2 innocuous_$2
2937 /* System header to define __stub macros and hopefully few prototypes,
2938 which can conflict with char $2 (); below. */
2940 #include <limits.h>
2941 #undef $2
2943 /* Override any GCC internal prototype to avoid an error.
2944 Use char because int might match the return type of a GCC
2945 builtin and then its argument prototype would still apply. */
2946 #ifdef __cplusplus
2947 extern "C"
2948 #endif
2949 char $2 ();
2950 /* The GNU C library defines this for functions which it implements
2951 to always fail with ENOSYS. Some functions are actually named
2952 something starting with __ and the normal name is an alias. */
2953 #if defined __stub_$2 || defined __stub___$2
2954 choke me
2955 #endif
2958 main (void)
2960 return $2 ();
2962 return 0;
2964 _ACEOF
2965 if ac_fn_c_try_link "$LINENO"
2966 then :
2967 eval "$3=yes"
2968 else $as_nop
2969 eval "$3=no"
2971 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2972 conftest$ac_exeext conftest.$ac_ext
2974 eval ac_res=\$$3
2975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2976 printf "%s\n" "$ac_res" >&6; }
2977 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2979 } # ac_fn_c_check_func
2981 # ac_fn_c_try_cpp LINENO
2982 # ----------------------
2983 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2984 ac_fn_c_try_cpp ()
2986 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2987 if { { ac_try="$ac_cpp conftest.$ac_ext"
2988 case "(($ac_try" in
2989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2990 *) ac_try_echo=$ac_try;;
2991 esac
2992 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2993 printf "%s\n" "$ac_try_echo"; } >&5
2994 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2995 ac_status=$?
2996 if test -s conftest.err; then
2997 grep -v '^ *+' conftest.err >conftest.er1
2998 cat conftest.er1 >&5
2999 mv -f conftest.er1 conftest.err
3001 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3002 test $ac_status = 0; } > conftest.i && {
3003 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3004 test ! -s conftest.err
3006 then :
3007 ac_retval=0
3008 else $as_nop
3009 printf "%s\n" "$as_me: failed program was:" >&5
3010 sed 's/^/| /' conftest.$ac_ext >&5
3012 ac_retval=1
3014 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3015 as_fn_set_status $ac_retval
3017 } # ac_fn_c_try_cpp
3019 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3020 # ----------------------------------------------------
3021 # Tries to find if the field MEMBER exists in type AGGR, after including
3022 # INCLUDES, setting cache variable VAR accordingly.
3023 ac_fn_c_check_member ()
3025 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3027 printf %s "checking for $2.$3... " >&6; }
3028 if eval test \${$4+y}
3029 then :
3030 printf %s "(cached) " >&6
3031 else $as_nop
3032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3033 /* end confdefs.h. */
3036 main (void)
3038 static $2 ac_aggr;
3039 if (ac_aggr.$3)
3040 return 0;
3042 return 0;
3044 _ACEOF
3045 if ac_fn_c_try_compile "$LINENO"
3046 then :
3047 eval "$4=yes"
3048 else $as_nop
3049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3050 /* end confdefs.h. */
3053 main (void)
3055 static $2 ac_aggr;
3056 if (sizeof ac_aggr.$3)
3057 return 0;
3059 return 0;
3061 _ACEOF
3062 if ac_fn_c_try_compile "$LINENO"
3063 then :
3064 eval "$4=yes"
3065 else $as_nop
3066 eval "$4=no"
3068 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3070 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3072 eval ac_res=\$$4
3073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3074 printf "%s\n" "$ac_res" >&6; }
3075 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3077 } # ac_fn_c_check_member
3079 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3080 # -------------------------------------------
3081 # Tests whether TYPE exists after having included INCLUDES, setting cache
3082 # variable VAR accordingly.
3083 ac_fn_c_check_type ()
3085 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3087 printf %s "checking for $2... " >&6; }
3088 if eval test \${$3+y}
3089 then :
3090 printf %s "(cached) " >&6
3091 else $as_nop
3092 eval "$3=no"
3093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3094 /* end confdefs.h. */
3097 main (void)
3099 if (sizeof ($2))
3100 return 0;
3102 return 0;
3104 _ACEOF
3105 if ac_fn_c_try_compile "$LINENO"
3106 then :
3107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3108 /* end confdefs.h. */
3111 main (void)
3113 if (sizeof (($2)))
3114 return 0;
3116 return 0;
3118 _ACEOF
3119 if ac_fn_c_try_compile "$LINENO"
3120 then :
3122 else $as_nop
3123 eval "$3=yes"
3125 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3127 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3129 eval ac_res=\$$3
3130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3131 printf "%s\n" "$ac_res" >&6; }
3132 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3134 } # ac_fn_c_check_type
3135 ac_configure_args_raw=
3136 for ac_arg
3138 case $ac_arg in
3139 *\'*)
3140 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3141 esac
3142 as_fn_append ac_configure_args_raw " '$ac_arg'"
3143 done
3145 case $ac_configure_args_raw in
3146 *$as_nl*)
3147 ac_safe_unquote= ;;
3149 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3150 ac_unsafe_a="$ac_unsafe_z#~"
3151 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3152 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3153 esac
3155 cat >config.log <<_ACEOF
3156 This file contains any messages produced by compilers while
3157 running configure, to aid debugging if configure makes a mistake.
3159 It was created by Wine $as_me 8.12, which was
3160 generated by GNU Autoconf 2.71. Invocation command line was
3162 $ $0$ac_configure_args_raw
3164 _ACEOF
3165 exec 5>>config.log
3167 cat <<_ASUNAME
3168 ## --------- ##
3169 ## Platform. ##
3170 ## --------- ##
3172 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3173 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3174 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3175 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3176 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3178 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3179 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3181 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3182 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3183 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3184 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3185 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3186 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3187 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3189 _ASUNAME
3191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3192 for as_dir in $PATH
3194 IFS=$as_save_IFS
3195 case $as_dir in #(((
3196 '') as_dir=./ ;;
3197 */) ;;
3198 *) as_dir=$as_dir/ ;;
3199 esac
3200 printf "%s\n" "PATH: $as_dir"
3201 done
3202 IFS=$as_save_IFS
3204 } >&5
3206 cat >&5 <<_ACEOF
3209 ## ----------- ##
3210 ## Core tests. ##
3211 ## ----------- ##
3213 _ACEOF
3216 # Keep a trace of the command line.
3217 # Strip out --no-create and --no-recursion so they do not pile up.
3218 # Strip out --silent because we don't want to record it for future runs.
3219 # Also quote any args containing shell meta-characters.
3220 # Make two passes to allow for proper duplicate-argument suppression.
3221 ac_configure_args=
3222 ac_configure_args0=
3223 ac_configure_args1=
3224 ac_must_keep_next=false
3225 for ac_pass in 1 2
3227 for ac_arg
3229 case $ac_arg in
3230 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3231 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3232 | -silent | --silent | --silen | --sile | --sil)
3233 continue ;;
3234 *\'*)
3235 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3236 esac
3237 case $ac_pass in
3238 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3240 as_fn_append ac_configure_args1 " '$ac_arg'"
3241 if test $ac_must_keep_next = true; then
3242 ac_must_keep_next=false # Got value, back to normal.
3243 else
3244 case $ac_arg in
3245 *=* | --config-cache | -C | -disable-* | --disable-* \
3246 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3247 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3248 | -with-* | --with-* | -without-* | --without-* | --x)
3249 case "$ac_configure_args0 " in
3250 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3251 esac
3253 -* ) ac_must_keep_next=true ;;
3254 esac
3256 as_fn_append ac_configure_args " '$ac_arg'"
3258 esac
3259 done
3260 done
3261 { ac_configure_args0=; unset ac_configure_args0;}
3262 { ac_configure_args1=; unset ac_configure_args1;}
3264 # When interrupted or exit'd, cleanup temporary files, and complete
3265 # config.log. We remove comments because anyway the quotes in there
3266 # would cause problems or look ugly.
3267 # WARNING: Use '\'' to represent an apostrophe within the trap.
3268 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3269 trap 'exit_status=$?
3270 # Sanitize IFS.
3271 IFS=" "" $as_nl"
3272 # Save into config.log some information that might help in debugging.
3274 echo
3276 printf "%s\n" "## ---------------- ##
3277 ## Cache variables. ##
3278 ## ---------------- ##"
3279 echo
3280 # The following way of writing the cache mishandles newlines in values,
3282 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3283 eval ac_val=\$$ac_var
3284 case $ac_val in #(
3285 *${as_nl}*)
3286 case $ac_var in #(
3287 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3288 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3289 esac
3290 case $ac_var in #(
3291 _ | IFS | as_nl) ;; #(
3292 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3293 *) { eval $ac_var=; unset $ac_var;} ;;
3294 esac ;;
3295 esac
3296 done
3297 (set) 2>&1 |
3298 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3299 *${as_nl}ac_space=\ *)
3300 sed -n \
3301 "s/'\''/'\''\\\\'\'''\''/g;
3302 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3303 ;; #(
3305 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3307 esac |
3308 sort
3310 echo
3312 printf "%s\n" "## ----------------- ##
3313 ## Output variables. ##
3314 ## ----------------- ##"
3315 echo
3316 for ac_var in $ac_subst_vars
3318 eval ac_val=\$$ac_var
3319 case $ac_val in
3320 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3321 esac
3322 printf "%s\n" "$ac_var='\''$ac_val'\''"
3323 done | sort
3324 echo
3326 if test -n "$ac_subst_files"; then
3327 printf "%s\n" "## ------------------- ##
3328 ## File substitutions. ##
3329 ## ------------------- ##"
3330 echo
3331 for ac_var in $ac_subst_files
3333 eval ac_val=\$$ac_var
3334 case $ac_val in
3335 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3336 esac
3337 printf "%s\n" "$ac_var='\''$ac_val'\''"
3338 done | sort
3339 echo
3342 if test -s confdefs.h; then
3343 printf "%s\n" "## ----------- ##
3344 ## confdefs.h. ##
3345 ## ----------- ##"
3346 echo
3347 cat confdefs.h
3348 echo
3350 test "$ac_signal" != 0 &&
3351 printf "%s\n" "$as_me: caught signal $ac_signal"
3352 printf "%s\n" "$as_me: exit $exit_status"
3353 } >&5
3354 rm -f core *.core core.conftest.* &&
3355 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3356 exit $exit_status
3358 for ac_signal in 1 2 13 15; do
3359 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3360 done
3361 ac_signal=0
3363 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3364 rm -f -r conftest* confdefs.h
3366 printf "%s\n" "/* confdefs.h */" > confdefs.h
3368 # Predefined preprocessor variables.
3370 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3372 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3374 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3376 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3378 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3380 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3383 # Let the site file select an alternate cache file if it wants to.
3384 # Prefer an explicitly selected file to automatically selected ones.
3385 if test -n "$CONFIG_SITE"; then
3386 ac_site_files="$CONFIG_SITE"
3387 elif test "x$prefix" != xNONE; then
3388 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3389 else
3390 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3393 for ac_site_file in $ac_site_files
3395 case $ac_site_file in #(
3396 */*) :
3397 ;; #(
3398 *) :
3399 ac_site_file=./$ac_site_file ;;
3400 esac
3401 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3403 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3404 sed 's/^/| /' "$ac_site_file" >&5
3405 . "$ac_site_file" \
3406 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3407 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3408 as_fn_error $? "failed to load site script $ac_site_file
3409 See \`config.log' for more details" "$LINENO" 5; }
3411 done
3413 if test -r "$cache_file"; then
3414 # Some versions of bash will fail to source /dev/null (special files
3415 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3416 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3418 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3419 case $cache_file in
3420 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3421 *) . "./$cache_file";;
3422 esac
3424 else
3425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3426 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3427 >$cache_file
3430 # Test code for whether the C compiler supports C89 (global declarations)
3431 ac_c_conftest_c89_globals='
3432 /* Does the compiler advertise C89 conformance?
3433 Do not test the value of __STDC__, because some compilers set it to 0
3434 while being otherwise adequately conformant. */
3435 #if !defined __STDC__
3436 # error "Compiler does not advertise C89 conformance"
3437 #endif
3439 #include <stddef.h>
3440 #include <stdarg.h>
3441 struct stat;
3442 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3443 struct buf { int x; };
3444 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3445 static char *e (p, i)
3446 char **p;
3447 int i;
3449 return p[i];
3451 static char *f (char * (*g) (char **, int), char **p, ...)
3453 char *s;
3454 va_list v;
3455 va_start (v,p);
3456 s = g (p, va_arg (v,int));
3457 va_end (v);
3458 return s;
3461 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3462 function prototypes and stuff, but not \xHH hex character constants.
3463 These do not provoke an error unfortunately, instead are silently treated
3464 as an "x". The following induces an error, until -std is added to get
3465 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3466 array size at least. It is necessary to write \x00 == 0 to get something
3467 that is true only with -std. */
3468 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3470 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3471 inside strings and character constants. */
3472 #define FOO(x) '\''x'\''
3473 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3475 int test (int i, double x);
3476 struct s1 {int (*f) (int a);};
3477 struct s2 {int (*f) (double a);};
3478 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3479 int, int);'
3481 # Test code for whether the C compiler supports C89 (body of main).
3482 ac_c_conftest_c89_main='
3483 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3486 # Test code for whether the C compiler supports C99 (global declarations)
3487 ac_c_conftest_c99_globals='
3488 // Does the compiler advertise C99 conformance?
3489 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3490 # error "Compiler does not advertise C99 conformance"
3491 #endif
3493 #include <stdbool.h>
3494 extern int puts (const char *);
3495 extern int printf (const char *, ...);
3496 extern int dprintf (int, const char *, ...);
3497 extern void *malloc (size_t);
3499 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3500 // dprintf is used instead of fprintf to avoid needing to declare
3501 // FILE and stderr.
3502 #define debug(...) dprintf (2, __VA_ARGS__)
3503 #define showlist(...) puts (#__VA_ARGS__)
3504 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3505 static void
3506 test_varargs_macros (void)
3508 int x = 1234;
3509 int y = 5678;
3510 debug ("Flag");
3511 debug ("X = %d\n", x);
3512 showlist (The first, second, and third items.);
3513 report (x>y, "x is %d but y is %d", x, y);
3516 // Check long long types.
3517 #define BIG64 18446744073709551615ull
3518 #define BIG32 4294967295ul
3519 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3520 #if !BIG_OK
3521 #error "your preprocessor is broken"
3522 #endif
3523 #if BIG_OK
3524 #else
3525 #error "your preprocessor is broken"
3526 #endif
3527 static long long int bignum = -9223372036854775807LL;
3528 static unsigned long long int ubignum = BIG64;
3530 struct incomplete_array
3532 int datasize;
3533 double data[];
3536 struct named_init {
3537 int number;
3538 const wchar_t *name;
3539 double average;
3542 typedef const char *ccp;
3544 static inline int
3545 test_restrict (ccp restrict text)
3547 // See if C++-style comments work.
3548 // Iterate through items via the restricted pointer.
3549 // Also check for declarations in for loops.
3550 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3551 continue;
3552 return 0;
3555 // Check varargs and va_copy.
3556 static bool
3557 test_varargs (const char *format, ...)
3559 va_list args;
3560 va_start (args, format);
3561 va_list args_copy;
3562 va_copy (args_copy, args);
3564 const char *str = "";
3565 int number = 0;
3566 float fnumber = 0;
3568 while (*format)
3570 switch (*format++)
3572 case '\''s'\'': // string
3573 str = va_arg (args_copy, const char *);
3574 break;
3575 case '\''d'\'': // int
3576 number = va_arg (args_copy, int);
3577 break;
3578 case '\''f'\'': // float
3579 fnumber = va_arg (args_copy, double);
3580 break;
3581 default:
3582 break;
3585 va_end (args_copy);
3586 va_end (args);
3588 return *str && number && fnumber;
3592 # Test code for whether the C compiler supports C99 (body of main).
3593 ac_c_conftest_c99_main='
3594 // Check bool.
3595 _Bool success = false;
3596 success |= (argc != 0);
3598 // Check restrict.
3599 if (test_restrict ("String literal") == 0)
3600 success = true;
3601 char *restrict newvar = "Another string";
3603 // Check varargs.
3604 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3605 test_varargs_macros ();
3607 // Check flexible array members.
3608 struct incomplete_array *ia =
3609 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3610 ia->datasize = 10;
3611 for (int i = 0; i < ia->datasize; ++i)
3612 ia->data[i] = i * 1.234;
3614 // Check named initializers.
3615 struct named_init ni = {
3616 .number = 34,
3617 .name = L"Test wide string",
3618 .average = 543.34343,
3621 ni.number = 58;
3623 int dynamic_array[ni.number];
3624 dynamic_array[0] = argv[0][0];
3625 dynamic_array[ni.number - 1] = 543;
3627 // work around unused variable warnings
3628 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3629 || dynamic_array[ni.number - 1] != 543);
3632 # Test code for whether the C compiler supports C11 (global declarations)
3633 ac_c_conftest_c11_globals='
3634 // Does the compiler advertise C11 conformance?
3635 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3636 # error "Compiler does not advertise C11 conformance"
3637 #endif
3639 // Check _Alignas.
3640 char _Alignas (double) aligned_as_double;
3641 char _Alignas (0) no_special_alignment;
3642 extern char aligned_as_int;
3643 char _Alignas (0) _Alignas (int) aligned_as_int;
3645 // Check _Alignof.
3646 enum
3648 int_alignment = _Alignof (int),
3649 int_array_alignment = _Alignof (int[100]),
3650 char_alignment = _Alignof (char)
3652 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3654 // Check _Noreturn.
3655 int _Noreturn does_not_return (void) { for (;;) continue; }
3657 // Check _Static_assert.
3658 struct test_static_assert
3660 int x;
3661 _Static_assert (sizeof (int) <= sizeof (long int),
3662 "_Static_assert does not work in struct");
3663 long int y;
3666 // Check UTF-8 literals.
3667 #define u8 syntax error!
3668 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3670 // Check duplicate typedefs.
3671 typedef long *long_ptr;
3672 typedef long int *long_ptr;
3673 typedef long_ptr long_ptr;
3675 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3676 struct anonymous
3678 union {
3679 struct { int i; int j; };
3680 struct { int k; long int l; } w;
3682 int m;
3683 } v1;
3686 # Test code for whether the C compiler supports C11 (body of main).
3687 ac_c_conftest_c11_main='
3688 _Static_assert ((offsetof (struct anonymous, i)
3689 == offsetof (struct anonymous, w.k)),
3690 "Anonymous union alignment botch");
3691 v1.i = 2;
3692 v1.w.k = 5;
3693 ok |= v1.i != 5;
3696 # Test code for whether the C compiler supports C11 (complete).
3697 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3698 ${ac_c_conftest_c99_globals}
3699 ${ac_c_conftest_c11_globals}
3702 main (int argc, char **argv)
3704 int ok = 0;
3705 ${ac_c_conftest_c89_main}
3706 ${ac_c_conftest_c99_main}
3707 ${ac_c_conftest_c11_main}
3708 return ok;
3712 # Test code for whether the C compiler supports C99 (complete).
3713 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3714 ${ac_c_conftest_c99_globals}
3717 main (int argc, char **argv)
3719 int ok = 0;
3720 ${ac_c_conftest_c89_main}
3721 ${ac_c_conftest_c99_main}
3722 return ok;
3726 # Test code for whether the C compiler supports C89 (complete).
3727 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3730 main (int argc, char **argv)
3732 int ok = 0;
3733 ${ac_c_conftest_c89_main}
3734 return ok;
3738 # Test code for whether the C++ compiler supports C++98 (global declarations)
3739 ac_cxx_conftest_cxx98_globals='
3740 // Does the compiler advertise C++98 conformance?
3741 #if !defined __cplusplus || __cplusplus < 199711L
3742 # error "Compiler does not advertise C++98 conformance"
3743 #endif
3745 // These inclusions are to reject old compilers that
3746 // lack the unsuffixed header files.
3747 #include <cstdlib>
3748 #include <exception>
3750 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3751 extern void assert (int);
3752 namespace std {
3753 extern int strcmp (const char *, const char *);
3756 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3757 using std::exception;
3758 using std::strcmp;
3760 namespace {
3762 void test_exception_syntax()
3764 try {
3765 throw "test";
3766 } catch (const char *s) {
3767 // Extra parentheses suppress a warning when building autoconf itself,
3768 // due to lint rules shared with more typical C programs.
3769 assert (!(strcmp) (s, "test"));
3773 template <typename T> struct test_template
3775 T const val;
3776 explicit test_template(T t) : val(t) {}
3777 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3780 } // anonymous namespace
3783 # Test code for whether the C++ compiler supports C++98 (body of main)
3784 ac_cxx_conftest_cxx98_main='
3785 assert (argc);
3786 assert (! argv[0]);
3788 test_exception_syntax ();
3789 test_template<double> tt (2.0);
3790 assert (tt.add (4) == 6.0);
3791 assert (true && !false);
3795 # Test code for whether the C++ compiler supports C++11 (global declarations)
3796 ac_cxx_conftest_cxx11_globals='
3797 // Does the compiler advertise C++ 2011 conformance?
3798 #if !defined __cplusplus || __cplusplus < 201103L
3799 # error "Compiler does not advertise C++11 conformance"
3800 #endif
3802 namespace cxx11test
3804 constexpr int get_val() { return 20; }
3806 struct testinit
3808 int i;
3809 double d;
3812 class delegate
3814 public:
3815 delegate(int n) : n(n) {}
3816 delegate(): delegate(2354) {}
3818 virtual int getval() { return this->n; };
3819 protected:
3820 int n;
3823 class overridden : public delegate
3825 public:
3826 overridden(int n): delegate(n) {}
3827 virtual int getval() override final { return this->n * 2; }
3830 class nocopy
3832 public:
3833 nocopy(int i): i(i) {}
3834 nocopy() = default;
3835 nocopy(const nocopy&) = delete;
3836 nocopy & operator=(const nocopy&) = delete;
3837 private:
3838 int i;
3841 // for testing lambda expressions
3842 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3844 return f(v);
3847 // for testing variadic templates and trailing return types
3848 template <typename V> auto sum(V first) -> V
3850 return first;
3852 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3854 return first + sum(rest...);
3859 # Test code for whether the C++ compiler supports C++11 (body of main)
3860 ac_cxx_conftest_cxx11_main='
3862 // Test auto and decltype
3863 auto a1 = 6538;
3864 auto a2 = 48573953.4;
3865 auto a3 = "String literal";
3867 int total = 0;
3868 for (auto i = a3; *i; ++i) { total += *i; }
3870 decltype(a2) a4 = 34895.034;
3873 // Test constexpr
3874 short sa[cxx11test::get_val()] = { 0 };
3877 // Test initializer lists
3878 cxx11test::testinit il = { 4323, 435234.23544 };
3881 // Test range-based for
3882 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3883 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3884 for (auto &x : array) { x += 23; }
3887 // Test lambda expressions
3888 using cxx11test::eval;
3889 assert (eval ([](int x) { return x*2; }, 21) == 42);
3890 double d = 2.0;
3891 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3892 assert (d == 5.0);
3893 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3894 assert (d == 5.0);
3897 // Test use of variadic templates
3898 using cxx11test::sum;
3899 auto a = sum(1);
3900 auto b = sum(1, 2);
3901 auto c = sum(1.0, 2.0, 3.0);
3904 // Test constructor delegation
3905 cxx11test::delegate d1;
3906 cxx11test::delegate d2();
3907 cxx11test::delegate d3(45);
3910 // Test override and final
3911 cxx11test::overridden o1(55464);
3914 // Test nullptr
3915 char *c = nullptr;
3918 // Test template brackets
3919 test_template<::test_template<int>> v(test_template<int>(12));
3922 // Unicode literals
3923 char const *utf8 = u8"UTF-8 string \u2500";
3924 char16_t const *utf16 = u"UTF-8 string \u2500";
3925 char32_t const *utf32 = U"UTF-32 string \u2500";
3929 # Test code for whether the C compiler supports C++11 (complete).
3930 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3931 ${ac_cxx_conftest_cxx11_globals}
3934 main (int argc, char **argv)
3936 int ok = 0;
3937 ${ac_cxx_conftest_cxx98_main}
3938 ${ac_cxx_conftest_cxx11_main}
3939 return ok;
3943 # Test code for whether the C compiler supports C++98 (complete).
3944 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3946 main (int argc, char **argv)
3948 int ok = 0;
3949 ${ac_cxx_conftest_cxx98_main}
3950 return ok;
3954 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3955 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3956 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3957 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3958 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3959 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3960 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3961 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3962 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3964 # Auxiliary files required by this configure script.
3965 ac_aux_files="config.guess config.sub"
3967 # Locations in which to look for auxiliary files.
3968 ac_aux_dir_candidates="${srcdir}/tools"
3970 # Search for a directory containing all of the required auxiliary files,
3971 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3972 # If we don't find one directory that contains all the files we need,
3973 # we report the set of missing files from the *first* directory in
3974 # $ac_aux_dir_candidates and give up.
3975 ac_missing_aux_files=""
3976 ac_first_candidate=:
3977 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3979 as_found=false
3980 for as_dir in $ac_aux_dir_candidates
3982 IFS=$as_save_IFS
3983 case $as_dir in #(((
3984 '') as_dir=./ ;;
3985 */) ;;
3986 *) as_dir=$as_dir/ ;;
3987 esac
3988 as_found=:
3990 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3991 ac_aux_dir_found=yes
3992 ac_install_sh=
3993 for ac_aux in $ac_aux_files
3995 # As a special case, if "install-sh" is required, that requirement
3996 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3997 # and $ac_install_sh is set appropriately for whichever one is found.
3998 if test x"$ac_aux" = x"install-sh"
3999 then
4000 if test -f "${as_dir}install-sh"; then
4001 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4002 ac_install_sh="${as_dir}install-sh -c"
4003 elif test -f "${as_dir}install.sh"; then
4004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4005 ac_install_sh="${as_dir}install.sh -c"
4006 elif test -f "${as_dir}shtool"; then
4007 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4008 ac_install_sh="${as_dir}shtool install -c"
4009 else
4010 ac_aux_dir_found=no
4011 if $ac_first_candidate; then
4012 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4013 else
4014 break
4017 else
4018 if test -f "${as_dir}${ac_aux}"; then
4019 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4020 else
4021 ac_aux_dir_found=no
4022 if $ac_first_candidate; then
4023 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4024 else
4025 break
4029 done
4030 if test "$ac_aux_dir_found" = yes; then
4031 ac_aux_dir="$as_dir"
4032 break
4034 ac_first_candidate=false
4036 as_found=false
4037 done
4038 IFS=$as_save_IFS
4039 if $as_found
4040 then :
4042 else $as_nop
4043 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4047 # These three variables are undocumented and unsupported,
4048 # and are intended to be withdrawn in a future Autoconf release.
4049 # They can cause serious problems if a builder's source tree is in a directory
4050 # whose full name contains unusual characters.
4051 if test -f "${ac_aux_dir}config.guess"; then
4052 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4054 if test -f "${ac_aux_dir}config.sub"; then
4055 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4057 if test -f "$ac_aux_dir/configure"; then
4058 ac_configure="$SHELL ${ac_aux_dir}configure"
4061 # Check that the precious variables saved in the cache have kept the same
4062 # value.
4063 ac_cache_corrupted=false
4064 for ac_var in $ac_precious_vars; do
4065 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4066 eval ac_new_set=\$ac_env_${ac_var}_set
4067 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4068 eval ac_new_val=\$ac_env_${ac_var}_value
4069 case $ac_old_set,$ac_new_set in
4070 set,)
4071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4072 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4073 ac_cache_corrupted=: ;;
4074 ,set)
4075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4076 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4077 ac_cache_corrupted=: ;;
4078 ,);;
4080 if test "x$ac_old_val" != "x$ac_new_val"; then
4081 # differences in whitespace do not lead to failure.
4082 ac_old_val_w=`echo x $ac_old_val`
4083 ac_new_val_w=`echo x $ac_new_val`
4084 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4086 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4087 ac_cache_corrupted=:
4088 else
4089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4090 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4091 eval $ac_var=\$ac_old_val
4093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4094 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4096 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4097 fi;;
4098 esac
4099 # Pass precious variables to config.status.
4100 if test "$ac_new_set" = set; then
4101 case $ac_new_val in
4102 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4103 *) ac_arg=$ac_var=$ac_new_val ;;
4104 esac
4105 case " $ac_configure_args " in
4106 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4107 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4108 esac
4110 done
4111 if $ac_cache_corrupted; then
4112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4113 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4115 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4116 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4117 and start over" "$LINENO" 5
4119 ## -------------------- ##
4120 ## Main body of script. ##
4121 ## -------------------- ##
4123 ac_ext=c
4124 ac_cpp='$CPP $CPPFLAGS'
4125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4131 ac_config_headers="$ac_config_headers include/config.h"
4135 libwine_version="1.0"
4138 # Check whether --enable-archs was given.
4139 if test ${enable_archs+y}
4140 then :
4141 enableval=$enable_archs;
4144 # Check whether --enable-win16 was given.
4145 if test ${enable_win16+y}
4146 then :
4147 enableval=$enable_win16;
4150 # Check whether --enable-win64 was given.
4151 if test ${enable_win64+y}
4152 then :
4153 enableval=$enable_win64;
4156 # Check whether --enable-tests was given.
4157 if test ${enable_tests+y}
4158 then :
4159 enableval=$enable_tests;
4162 # Check whether --enable-build-id was given.
4163 if test ${enable_build_id+y}
4164 then :
4165 enableval=$enable_build_id;
4168 # Check whether --enable-maintainer-mode was given.
4169 if test ${enable_maintainer_mode+y}
4170 then :
4171 enableval=$enable_maintainer_mode;
4174 # Check whether --enable-silent-rules was given.
4175 if test ${enable_silent_rules+y}
4176 then :
4177 enableval=$enable_silent_rules;
4180 # Check whether --enable-werror was given.
4181 if test ${enable_werror+y}
4182 then :
4183 enableval=$enable_werror;
4188 # Check whether --with-alsa was given.
4189 if test ${with_alsa+y}
4190 then :
4191 withval=$with_alsa;
4195 # Check whether --with-capi was given.
4196 if test ${with_capi+y}
4197 then :
4198 withval=$with_capi;
4202 # Check whether --with-coreaudio was given.
4203 if test ${with_coreaudio+y}
4204 then :
4205 withval=$with_coreaudio;
4209 # Check whether --with-cups was given.
4210 if test ${with_cups+y}
4211 then :
4212 withval=$with_cups;
4216 # Check whether --with-dbus was given.
4217 if test ${with_dbus+y}
4218 then :
4219 withval=$with_dbus;
4223 # Check whether --with-float-abi was given.
4224 if test ${with_float_abi+y}
4225 then :
4226 withval=$with_float_abi;
4230 # Check whether --with-fontconfig was given.
4231 if test ${with_fontconfig+y}
4232 then :
4233 withval=$with_fontconfig;
4237 # Check whether --with-freetype was given.
4238 if test ${with_freetype+y}
4239 then :
4240 withval=$with_freetype;
4244 # Check whether --with-gettext was given.
4245 if test ${with_gettext+y}
4246 then :
4247 withval=$with_gettext;
4251 # Check whether --with-gettextpo was given.
4252 if test ${with_gettextpo+y}
4253 then :
4254 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4258 # Check whether --with-gphoto was given.
4259 if test ${with_gphoto+y}
4260 then :
4261 withval=$with_gphoto;
4265 # Check whether --with-gnutls was given.
4266 if test ${with_gnutls+y}
4267 then :
4268 withval=$with_gnutls;
4272 # Check whether --with-gssapi was given.
4273 if test ${with_gssapi+y}
4274 then :
4275 withval=$with_gssapi;
4279 # Check whether --with-gstreamer was given.
4280 if test ${with_gstreamer+y}
4281 then :
4282 withval=$with_gstreamer;
4286 # Check whether --with-inotify was given.
4287 if test ${with_inotify+y}
4288 then :
4289 withval=$with_inotify;
4293 # Check whether --with-krb5 was given.
4294 if test ${with_krb5+y}
4295 then :
4296 withval=$with_krb5;
4300 # Check whether --with-mingw was given.
4301 if test ${with_mingw+y}
4302 then :
4303 withval=$with_mingw;
4307 # Check whether --with-netapi was given.
4308 if test ${with_netapi+y}
4309 then :
4310 withval=$with_netapi;
4314 # Check whether --with-opencl was given.
4315 if test ${with_opencl+y}
4316 then :
4317 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4321 # Check whether --with-opengl was given.
4322 if test ${with_opengl+y}
4323 then :
4324 withval=$with_opengl;
4328 # Check whether --with-osmesa was given.
4329 if test ${with_osmesa+y}
4330 then :
4331 withval=$with_osmesa;
4335 # Check whether --with-oss was given.
4336 if test ${with_oss+y}
4337 then :
4338 withval=$with_oss;
4342 # Check whether --with-pcap was given.
4343 if test ${with_pcap+y}
4344 then :
4345 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4349 # Check whether --with-pcsclite was given.
4350 if test ${with_pcsclite+y}
4351 then :
4352 withval=$with_pcsclite;
4356 # Check whether --with-pthread was given.
4357 if test ${with_pthread+y}
4358 then :
4359 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4363 # Check whether --with-pulse was given.
4364 if test ${with_pulse+y}
4365 then :
4366 withval=$with_pulse;
4370 # Check whether --with-sane was given.
4371 if test ${with_sane+y}
4372 then :
4373 withval=$with_sane;
4377 # Check whether --with-sdl was given.
4378 if test ${with_sdl+y}
4379 then :
4380 withval=$with_sdl;
4384 # Check whether --with-udev was given.
4385 if test ${with_udev+y}
4386 then :
4387 withval=$with_udev;
4391 # Check whether --with-unwind was given.
4392 if test ${with_unwind+y}
4393 then :
4394 withval=$with_unwind;
4398 # Check whether --with-usb was given.
4399 if test ${with_usb+y}
4400 then :
4401 withval=$with_usb;
4405 # Check whether --with-v4l2 was given.
4406 if test ${with_v4l2+y}
4407 then :
4408 withval=$with_v4l2;
4412 # Check whether --with-vulkan was given.
4413 if test ${with_vulkan+y}
4414 then :
4415 withval=$with_vulkan;
4419 # Check whether --with-wayland was given.
4420 if test ${with_wayland+y}
4421 then :
4422 withval=$with_wayland;
4426 # Check whether --with-xcomposite was given.
4427 if test ${with_xcomposite+y}
4428 then :
4429 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4433 # Check whether --with-xcursor was given.
4434 if test ${with_xcursor+y}
4435 then :
4436 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4440 # Check whether --with-xfixes was given.
4441 if test ${with_xfixes+y}
4442 then :
4443 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4447 # Check whether --with-xinerama was given.
4448 if test ${with_xinerama+y}
4449 then :
4450 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4454 # Check whether --with-xinput was given.
4455 if test ${with_xinput+y}
4456 then :
4457 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4461 # Check whether --with-xinput2 was given.
4462 if test ${with_xinput2+y}
4463 then :
4464 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4468 # Check whether --with-xrandr was given.
4469 if test ${with_xrandr+y}
4470 then :
4471 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4475 # Check whether --with-xrender was given.
4476 if test ${with_xrender+y}
4477 then :
4478 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4482 # Check whether --with-xshape was given.
4483 if test ${with_xshape+y}
4484 then :
4485 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4489 # Check whether --with-xshm was given.
4490 if test ${with_xshm+y}
4491 then :
4492 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4496 # Check whether --with-xxf86vm was given.
4497 if test ${with_xxf86vm+y}
4498 then :
4499 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
4504 # Check whether --with-system-dllpath was given.
4505 if test ${with_system_dllpath+y}
4506 then :
4507 withval=$with_system_dllpath; system_dllpath=$withval
4512 # Check whether --with-wine-tools was given.
4513 if test ${with_wine_tools+y}
4514 then :
4515 withval=$with_wine_tools;
4519 # Check whether --with-wine64 was given.
4520 if test ${with_wine64+y}
4521 then :
4522 withval=$with_wine64;
4529 # Make sure we can run config.sub.
4530 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4531 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4534 printf %s "checking build system type... " >&6; }
4535 if test ${ac_cv_build+y}
4536 then :
4537 printf %s "(cached) " >&6
4538 else $as_nop
4539 ac_build_alias=$build_alias
4540 test "x$ac_build_alias" = x &&
4541 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4542 test "x$ac_build_alias" = x &&
4543 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4544 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4545 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4549 printf "%s\n" "$ac_cv_build" >&6; }
4550 case $ac_cv_build in
4551 *-*-*) ;;
4552 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4553 esac
4554 build=$ac_cv_build
4555 ac_save_IFS=$IFS; IFS='-'
4556 set x $ac_cv_build
4557 shift
4558 build_cpu=$1
4559 build_vendor=$2
4560 shift; shift
4561 # Remember, the first character of IFS is used to create $*,
4562 # except with old shells:
4563 build_os=$*
4564 IFS=$ac_save_IFS
4565 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4569 printf %s "checking host system type... " >&6; }
4570 if test ${ac_cv_host+y}
4571 then :
4572 printf %s "(cached) " >&6
4573 else $as_nop
4574 if test "x$host_alias" = x; then
4575 ac_cv_host=$ac_cv_build
4576 else
4577 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4578 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4583 printf "%s\n" "$ac_cv_host" >&6; }
4584 case $ac_cv_host in
4585 *-*-*) ;;
4586 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4587 esac
4588 host=$ac_cv_host
4589 ac_save_IFS=$IFS; IFS='-'
4590 set x $ac_cv_host
4591 shift
4592 host_cpu=$1
4593 host_vendor=$2
4594 shift; shift
4595 # Remember, the first character of IFS is used to create $*,
4596 # except with old shells:
4597 host_os=$*
4598 IFS=$ac_save_IFS
4599 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4603 dlldir=\${libdir}/wine
4605 fontdir=\${datadir}/wine/fonts
4607 nlsdir=\${datadir}/wine/nls
4612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4613 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4614 set x ${MAKE-make}
4615 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4616 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4617 then :
4618 printf %s "(cached) " >&6
4619 else $as_nop
4620 cat >conftest.make <<\_ACEOF
4621 SHELL = /bin/sh
4622 all:
4623 @echo '@@@%%%=$(MAKE)=@@@%%%'
4624 _ACEOF
4625 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4626 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4627 *@@@%%%=?*=@@@%%%*)
4628 eval ac_cv_prog_make_${ac_make}_set=yes;;
4630 eval ac_cv_prog_make_${ac_make}_set=no;;
4631 esac
4632 rm -f conftest.make
4634 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4636 printf "%s\n" "yes" >&6; }
4637 SET_MAKE=
4638 else
4639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4640 printf "%s\n" "no" >&6; }
4641 SET_MAKE="MAKE=${MAKE-make}"
4653 ac_ext=c
4654 ac_cpp='$CPP $CPPFLAGS'
4655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4658 if test -n "$ac_tool_prefix"; then
4659 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4660 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4662 printf %s "checking for $ac_word... " >&6; }
4663 if test ${ac_cv_prog_CC+y}
4664 then :
4665 printf %s "(cached) " >&6
4666 else $as_nop
4667 if test -n "$CC"; then
4668 ac_cv_prog_CC="$CC" # Let the user override the test.
4669 else
4670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4671 for as_dir in $PATH
4673 IFS=$as_save_IFS
4674 case $as_dir in #(((
4675 '') as_dir=./ ;;
4676 */) ;;
4677 *) as_dir=$as_dir/ ;;
4678 esac
4679 for ac_exec_ext in '' $ac_executable_extensions; do
4680 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4681 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4682 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4683 break 2
4685 done
4686 done
4687 IFS=$as_save_IFS
4691 CC=$ac_cv_prog_CC
4692 if test -n "$CC"; then
4693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4694 printf "%s\n" "$CC" >&6; }
4695 else
4696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4697 printf "%s\n" "no" >&6; }
4702 if test -z "$ac_cv_prog_CC"; then
4703 ac_ct_CC=$CC
4704 # Extract the first word of "gcc", so it can be a program name with args.
4705 set dummy gcc; ac_word=$2
4706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4707 printf %s "checking for $ac_word... " >&6; }
4708 if test ${ac_cv_prog_ac_ct_CC+y}
4709 then :
4710 printf %s "(cached) " >&6
4711 else $as_nop
4712 if test -n "$ac_ct_CC"; then
4713 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4714 else
4715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4716 for as_dir in $PATH
4718 IFS=$as_save_IFS
4719 case $as_dir in #(((
4720 '') as_dir=./ ;;
4721 */) ;;
4722 *) as_dir=$as_dir/ ;;
4723 esac
4724 for ac_exec_ext in '' $ac_executable_extensions; do
4725 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4726 ac_cv_prog_ac_ct_CC="gcc"
4727 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4728 break 2
4730 done
4731 done
4732 IFS=$as_save_IFS
4736 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4737 if test -n "$ac_ct_CC"; then
4738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4739 printf "%s\n" "$ac_ct_CC" >&6; }
4740 else
4741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4742 printf "%s\n" "no" >&6; }
4745 if test "x$ac_ct_CC" = x; then
4746 CC=""
4747 else
4748 case $cross_compiling:$ac_tool_warned in
4749 yes:)
4750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4751 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4752 ac_tool_warned=yes ;;
4753 esac
4754 CC=$ac_ct_CC
4756 else
4757 CC="$ac_cv_prog_CC"
4760 if test -z "$CC"; then
4761 if test -n "$ac_tool_prefix"; then
4762 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4763 set dummy ${ac_tool_prefix}cc; ac_word=$2
4764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4765 printf %s "checking for $ac_word... " >&6; }
4766 if test ${ac_cv_prog_CC+y}
4767 then :
4768 printf %s "(cached) " >&6
4769 else $as_nop
4770 if test -n "$CC"; then
4771 ac_cv_prog_CC="$CC" # Let the user override the test.
4772 else
4773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4774 for as_dir in $PATH
4776 IFS=$as_save_IFS
4777 case $as_dir in #(((
4778 '') as_dir=./ ;;
4779 */) ;;
4780 *) as_dir=$as_dir/ ;;
4781 esac
4782 for ac_exec_ext in '' $ac_executable_extensions; do
4783 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4784 ac_cv_prog_CC="${ac_tool_prefix}cc"
4785 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4786 break 2
4788 done
4789 done
4790 IFS=$as_save_IFS
4794 CC=$ac_cv_prog_CC
4795 if test -n "$CC"; then
4796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4797 printf "%s\n" "$CC" >&6; }
4798 else
4799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4800 printf "%s\n" "no" >&6; }
4806 if test -z "$CC"; then
4807 # Extract the first word of "cc", so it can be a program name with args.
4808 set dummy cc; ac_word=$2
4809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4810 printf %s "checking for $ac_word... " >&6; }
4811 if test ${ac_cv_prog_CC+y}
4812 then :
4813 printf %s "(cached) " >&6
4814 else $as_nop
4815 if test -n "$CC"; then
4816 ac_cv_prog_CC="$CC" # Let the user override the test.
4817 else
4818 ac_prog_rejected=no
4819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4820 for as_dir in $PATH
4822 IFS=$as_save_IFS
4823 case $as_dir in #(((
4824 '') as_dir=./ ;;
4825 */) ;;
4826 *) as_dir=$as_dir/ ;;
4827 esac
4828 for ac_exec_ext in '' $ac_executable_extensions; do
4829 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4830 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4831 ac_prog_rejected=yes
4832 continue
4834 ac_cv_prog_CC="cc"
4835 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4836 break 2
4838 done
4839 done
4840 IFS=$as_save_IFS
4842 if test $ac_prog_rejected = yes; then
4843 # We found a bogon in the path, so make sure we never use it.
4844 set dummy $ac_cv_prog_CC
4845 shift
4846 if test $# != 0; then
4847 # We chose a different compiler from the bogus one.
4848 # However, it has the same basename, so the bogon will be chosen
4849 # first if we set CC to just the basename; use the full file name.
4850 shift
4851 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4856 CC=$ac_cv_prog_CC
4857 if test -n "$CC"; then
4858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4859 printf "%s\n" "$CC" >&6; }
4860 else
4861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4862 printf "%s\n" "no" >&6; }
4867 if test -z "$CC"; then
4868 if test -n "$ac_tool_prefix"; then
4869 for ac_prog in cl.exe
4871 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4872 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4874 printf %s "checking for $ac_word... " >&6; }
4875 if test ${ac_cv_prog_CC+y}
4876 then :
4877 printf %s "(cached) " >&6
4878 else $as_nop
4879 if test -n "$CC"; then
4880 ac_cv_prog_CC="$CC" # Let the user override the test.
4881 else
4882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4883 for as_dir in $PATH
4885 IFS=$as_save_IFS
4886 case $as_dir in #(((
4887 '') as_dir=./ ;;
4888 */) ;;
4889 *) as_dir=$as_dir/ ;;
4890 esac
4891 for ac_exec_ext in '' $ac_executable_extensions; do
4892 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4893 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4894 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4895 break 2
4897 done
4898 done
4899 IFS=$as_save_IFS
4903 CC=$ac_cv_prog_CC
4904 if test -n "$CC"; then
4905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4906 printf "%s\n" "$CC" >&6; }
4907 else
4908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4909 printf "%s\n" "no" >&6; }
4913 test -n "$CC" && break
4914 done
4916 if test -z "$CC"; then
4917 ac_ct_CC=$CC
4918 for ac_prog in cl.exe
4920 # Extract the first word of "$ac_prog", so it can be a program name with args.
4921 set dummy $ac_prog; ac_word=$2
4922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4923 printf %s "checking for $ac_word... " >&6; }
4924 if test ${ac_cv_prog_ac_ct_CC+y}
4925 then :
4926 printf %s "(cached) " >&6
4927 else $as_nop
4928 if test -n "$ac_ct_CC"; then
4929 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4930 else
4931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4932 for as_dir in $PATH
4934 IFS=$as_save_IFS
4935 case $as_dir in #(((
4936 '') as_dir=./ ;;
4937 */) ;;
4938 *) as_dir=$as_dir/ ;;
4939 esac
4940 for ac_exec_ext in '' $ac_executable_extensions; do
4941 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4942 ac_cv_prog_ac_ct_CC="$ac_prog"
4943 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4944 break 2
4946 done
4947 done
4948 IFS=$as_save_IFS
4952 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4953 if test -n "$ac_ct_CC"; then
4954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4955 printf "%s\n" "$ac_ct_CC" >&6; }
4956 else
4957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4958 printf "%s\n" "no" >&6; }
4962 test -n "$ac_ct_CC" && break
4963 done
4965 if test "x$ac_ct_CC" = x; then
4966 CC=""
4967 else
4968 case $cross_compiling:$ac_tool_warned in
4969 yes:)
4970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4971 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4972 ac_tool_warned=yes ;;
4973 esac
4974 CC=$ac_ct_CC
4979 if test -z "$CC"; then
4980 if test -n "$ac_tool_prefix"; then
4981 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4982 set dummy ${ac_tool_prefix}clang; ac_word=$2
4983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4984 printf %s "checking for $ac_word... " >&6; }
4985 if test ${ac_cv_prog_CC+y}
4986 then :
4987 printf %s "(cached) " >&6
4988 else $as_nop
4989 if test -n "$CC"; then
4990 ac_cv_prog_CC="$CC" # Let the user override the test.
4991 else
4992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4993 for as_dir in $PATH
4995 IFS=$as_save_IFS
4996 case $as_dir in #(((
4997 '') as_dir=./ ;;
4998 */) ;;
4999 *) as_dir=$as_dir/ ;;
5000 esac
5001 for ac_exec_ext in '' $ac_executable_extensions; do
5002 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5003 ac_cv_prog_CC="${ac_tool_prefix}clang"
5004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5005 break 2
5007 done
5008 done
5009 IFS=$as_save_IFS
5013 CC=$ac_cv_prog_CC
5014 if test -n "$CC"; then
5015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5016 printf "%s\n" "$CC" >&6; }
5017 else
5018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5019 printf "%s\n" "no" >&6; }
5024 if test -z "$ac_cv_prog_CC"; then
5025 ac_ct_CC=$CC
5026 # Extract the first word of "clang", so it can be a program name with args.
5027 set dummy clang; ac_word=$2
5028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5029 printf %s "checking for $ac_word... " >&6; }
5030 if test ${ac_cv_prog_ac_ct_CC+y}
5031 then :
5032 printf %s "(cached) " >&6
5033 else $as_nop
5034 if test -n "$ac_ct_CC"; then
5035 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5036 else
5037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5038 for as_dir in $PATH
5040 IFS=$as_save_IFS
5041 case $as_dir in #(((
5042 '') as_dir=./ ;;
5043 */) ;;
5044 *) as_dir=$as_dir/ ;;
5045 esac
5046 for ac_exec_ext in '' $ac_executable_extensions; do
5047 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5048 ac_cv_prog_ac_ct_CC="clang"
5049 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5050 break 2
5052 done
5053 done
5054 IFS=$as_save_IFS
5058 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5059 if test -n "$ac_ct_CC"; then
5060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5061 printf "%s\n" "$ac_ct_CC" >&6; }
5062 else
5063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5064 printf "%s\n" "no" >&6; }
5067 if test "x$ac_ct_CC" = x; then
5068 CC=""
5069 else
5070 case $cross_compiling:$ac_tool_warned in
5071 yes:)
5072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5073 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5074 ac_tool_warned=yes ;;
5075 esac
5076 CC=$ac_ct_CC
5078 else
5079 CC="$ac_cv_prog_CC"
5085 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5086 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5087 as_fn_error $? "no acceptable C compiler found in \$PATH
5088 See \`config.log' for more details" "$LINENO" 5; }
5090 # Provide some information about the compiler.
5091 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5092 set X $ac_compile
5093 ac_compiler=$2
5094 for ac_option in --version -v -V -qversion -version; do
5095 { { ac_try="$ac_compiler $ac_option >&5"
5096 case "(($ac_try" in
5097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5098 *) ac_try_echo=$ac_try;;
5099 esac
5100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5101 printf "%s\n" "$ac_try_echo"; } >&5
5102 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5103 ac_status=$?
5104 if test -s conftest.err; then
5105 sed '10a\
5106 ... rest of stderr output deleted ...
5107 10q' conftest.err >conftest.er1
5108 cat conftest.er1 >&5
5110 rm -f conftest.er1 conftest.err
5111 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5112 test $ac_status = 0; }
5113 done
5115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5116 /* end confdefs.h. */
5119 main (void)
5123 return 0;
5125 _ACEOF
5126 ac_clean_files_save=$ac_clean_files
5127 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5128 # Try to create an executable without -o first, disregard a.out.
5129 # It will help us diagnose broken compilers, and finding out an intuition
5130 # of exeext.
5131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5132 printf %s "checking whether the C compiler works... " >&6; }
5133 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5135 # The possible output files:
5136 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5138 ac_rmfiles=
5139 for ac_file in $ac_files
5141 case $ac_file in
5142 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5143 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5144 esac
5145 done
5146 rm -f $ac_rmfiles
5148 if { { ac_try="$ac_link_default"
5149 case "(($ac_try" in
5150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5151 *) ac_try_echo=$ac_try;;
5152 esac
5153 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5154 printf "%s\n" "$ac_try_echo"; } >&5
5155 (eval "$ac_link_default") 2>&5
5156 ac_status=$?
5157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5158 test $ac_status = 0; }
5159 then :
5160 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5161 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5162 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5163 # so that the user can short-circuit this test for compilers unknown to
5164 # Autoconf.
5165 for ac_file in $ac_files ''
5167 test -f "$ac_file" || continue
5168 case $ac_file in
5169 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5171 [ab].out )
5172 # We found the default executable, but exeext='' is most
5173 # certainly right.
5174 break;;
5175 *.* )
5176 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5177 then :; else
5178 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5180 # We set ac_cv_exeext here because the later test for it is not
5181 # safe: cross compilers may not add the suffix if given an `-o'
5182 # argument, so we may need to know it at that point already.
5183 # Even if this section looks crufty: it has the advantage of
5184 # actually working.
5185 break;;
5187 break;;
5188 esac
5189 done
5190 test "$ac_cv_exeext" = no && ac_cv_exeext=
5192 else $as_nop
5193 ac_file=''
5195 if test -z "$ac_file"
5196 then :
5197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5198 printf "%s\n" "no" >&6; }
5199 printf "%s\n" "$as_me: failed program was:" >&5
5200 sed 's/^/| /' conftest.$ac_ext >&5
5202 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5203 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5204 as_fn_error 77 "C compiler cannot create executables
5205 See \`config.log' for more details" "$LINENO" 5; }
5206 else $as_nop
5207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5208 printf "%s\n" "yes" >&6; }
5210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5211 printf %s "checking for C compiler default output file name... " >&6; }
5212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5213 printf "%s\n" "$ac_file" >&6; }
5214 ac_exeext=$ac_cv_exeext
5216 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5217 ac_clean_files=$ac_clean_files_save
5218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5219 printf %s "checking for suffix of executables... " >&6; }
5220 if { { ac_try="$ac_link"
5221 case "(($ac_try" in
5222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5223 *) ac_try_echo=$ac_try;;
5224 esac
5225 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5226 printf "%s\n" "$ac_try_echo"; } >&5
5227 (eval "$ac_link") 2>&5
5228 ac_status=$?
5229 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5230 test $ac_status = 0; }
5231 then :
5232 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5233 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5234 # work properly (i.e., refer to `conftest.exe'), while it won't with
5235 # `rm'.
5236 for ac_file in conftest.exe conftest conftest.*; do
5237 test -f "$ac_file" || continue
5238 case $ac_file in
5239 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5240 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5241 break;;
5242 * ) break;;
5243 esac
5244 done
5245 else $as_nop
5246 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5247 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5248 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5249 See \`config.log' for more details" "$LINENO" 5; }
5251 rm -f conftest conftest$ac_cv_exeext
5252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5253 printf "%s\n" "$ac_cv_exeext" >&6; }
5255 rm -f conftest.$ac_ext
5256 EXEEXT=$ac_cv_exeext
5257 ac_exeext=$EXEEXT
5258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5259 /* end confdefs.h. */
5260 #include <stdio.h>
5262 main (void)
5264 FILE *f = fopen ("conftest.out", "w");
5265 return ferror (f) || fclose (f) != 0;
5268 return 0;
5270 _ACEOF
5271 ac_clean_files="$ac_clean_files conftest.out"
5272 # Check that the compiler produces executables we can run. If not, either
5273 # the compiler is broken, or we cross compile.
5274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5275 printf %s "checking whether we are cross compiling... " >&6; }
5276 if test "$cross_compiling" != yes; then
5277 { { ac_try="$ac_link"
5278 case "(($ac_try" in
5279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5280 *) ac_try_echo=$ac_try;;
5281 esac
5282 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5283 printf "%s\n" "$ac_try_echo"; } >&5
5284 (eval "$ac_link") 2>&5
5285 ac_status=$?
5286 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5287 test $ac_status = 0; }
5288 if { ac_try='./conftest$ac_cv_exeext'
5289 { { case "(($ac_try" in
5290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5291 *) ac_try_echo=$ac_try;;
5292 esac
5293 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5294 printf "%s\n" "$ac_try_echo"; } >&5
5295 (eval "$ac_try") 2>&5
5296 ac_status=$?
5297 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5298 test $ac_status = 0; }; }; then
5299 cross_compiling=no
5300 else
5301 if test "$cross_compiling" = maybe; then
5302 cross_compiling=yes
5303 else
5304 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5305 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5306 as_fn_error 77 "cannot run C compiled programs.
5307 If you meant to cross compile, use \`--host'.
5308 See \`config.log' for more details" "$LINENO" 5; }
5312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5313 printf "%s\n" "$cross_compiling" >&6; }
5315 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5316 ac_clean_files=$ac_clean_files_save
5317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5318 printf %s "checking for suffix of object files... " >&6; }
5319 if test ${ac_cv_objext+y}
5320 then :
5321 printf %s "(cached) " >&6
5322 else $as_nop
5323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5324 /* end confdefs.h. */
5327 main (void)
5331 return 0;
5333 _ACEOF
5334 rm -f conftest.o conftest.obj
5335 if { { ac_try="$ac_compile"
5336 case "(($ac_try" in
5337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5338 *) ac_try_echo=$ac_try;;
5339 esac
5340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5341 printf "%s\n" "$ac_try_echo"; } >&5
5342 (eval "$ac_compile") 2>&5
5343 ac_status=$?
5344 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5345 test $ac_status = 0; }
5346 then :
5347 for ac_file in conftest.o conftest.obj conftest.*; do
5348 test -f "$ac_file" || continue;
5349 case $ac_file in
5350 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5351 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5352 break;;
5353 esac
5354 done
5355 else $as_nop
5356 printf "%s\n" "$as_me: failed program was:" >&5
5357 sed 's/^/| /' conftest.$ac_ext >&5
5359 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5360 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5361 as_fn_error $? "cannot compute suffix of object files: cannot compile
5362 See \`config.log' for more details" "$LINENO" 5; }
5364 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5367 printf "%s\n" "$ac_cv_objext" >&6; }
5368 OBJEXT=$ac_cv_objext
5369 ac_objext=$OBJEXT
5370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5371 printf %s "checking whether the compiler supports GNU C... " >&6; }
5372 if test ${ac_cv_c_compiler_gnu+y}
5373 then :
5374 printf %s "(cached) " >&6
5375 else $as_nop
5376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5377 /* end confdefs.h. */
5380 main (void)
5382 #ifndef __GNUC__
5383 choke me
5384 #endif
5387 return 0;
5389 _ACEOF
5390 if ac_fn_c_try_compile "$LINENO"
5391 then :
5392 ac_compiler_gnu=yes
5393 else $as_nop
5394 ac_compiler_gnu=no
5396 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5397 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5401 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5404 if test $ac_compiler_gnu = yes; then
5405 GCC=yes
5406 else
5407 GCC=
5409 ac_test_CFLAGS=${CFLAGS+y}
5410 ac_save_CFLAGS=$CFLAGS
5411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5412 printf %s "checking whether $CC accepts -g... " >&6; }
5413 if test ${ac_cv_prog_cc_g+y}
5414 then :
5415 printf %s "(cached) " >&6
5416 else $as_nop
5417 ac_save_c_werror_flag=$ac_c_werror_flag
5418 ac_c_werror_flag=yes
5419 ac_cv_prog_cc_g=no
5420 CFLAGS="-g"
5421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5422 /* end confdefs.h. */
5425 main (void)
5429 return 0;
5431 _ACEOF
5432 if ac_fn_c_try_compile "$LINENO"
5433 then :
5434 ac_cv_prog_cc_g=yes
5435 else $as_nop
5436 CFLAGS=""
5437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5438 /* end confdefs.h. */
5441 main (void)
5445 return 0;
5447 _ACEOF
5448 if ac_fn_c_try_compile "$LINENO"
5449 then :
5451 else $as_nop
5452 ac_c_werror_flag=$ac_save_c_werror_flag
5453 CFLAGS="-g"
5454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5455 /* end confdefs.h. */
5458 main (void)
5462 return 0;
5464 _ACEOF
5465 if ac_fn_c_try_compile "$LINENO"
5466 then :
5467 ac_cv_prog_cc_g=yes
5469 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5471 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5473 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5474 ac_c_werror_flag=$ac_save_c_werror_flag
5476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5477 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5478 if test $ac_test_CFLAGS; then
5479 CFLAGS=$ac_save_CFLAGS
5480 elif test $ac_cv_prog_cc_g = yes; then
5481 if test "$GCC" = yes; then
5482 CFLAGS="-g -O2"
5483 else
5484 CFLAGS="-g"
5486 else
5487 if test "$GCC" = yes; then
5488 CFLAGS="-O2"
5489 else
5490 CFLAGS=
5493 ac_prog_cc_stdc=no
5494 if test x$ac_prog_cc_stdc = xno
5495 then :
5496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5497 printf %s "checking for $CC option to enable C11 features... " >&6; }
5498 if test ${ac_cv_prog_cc_c11+y}
5499 then :
5500 printf %s "(cached) " >&6
5501 else $as_nop
5502 ac_cv_prog_cc_c11=no
5503 ac_save_CC=$CC
5504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5505 /* end confdefs.h. */
5506 $ac_c_conftest_c11_program
5507 _ACEOF
5508 for ac_arg in '' -std=gnu11
5510 CC="$ac_save_CC $ac_arg"
5511 if ac_fn_c_try_compile "$LINENO"
5512 then :
5513 ac_cv_prog_cc_c11=$ac_arg
5515 rm -f core conftest.err conftest.$ac_objext conftest.beam
5516 test "x$ac_cv_prog_cc_c11" != "xno" && break
5517 done
5518 rm -f conftest.$ac_ext
5519 CC=$ac_save_CC
5522 if test "x$ac_cv_prog_cc_c11" = xno
5523 then :
5524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5525 printf "%s\n" "unsupported" >&6; }
5526 else $as_nop
5527 if test "x$ac_cv_prog_cc_c11" = x
5528 then :
5529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5530 printf "%s\n" "none needed" >&6; }
5531 else $as_nop
5532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5533 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5534 CC="$CC $ac_cv_prog_cc_c11"
5536 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5537 ac_prog_cc_stdc=c11
5540 if test x$ac_prog_cc_stdc = xno
5541 then :
5542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5543 printf %s "checking for $CC option to enable C99 features... " >&6; }
5544 if test ${ac_cv_prog_cc_c99+y}
5545 then :
5546 printf %s "(cached) " >&6
5547 else $as_nop
5548 ac_cv_prog_cc_c99=no
5549 ac_save_CC=$CC
5550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5551 /* end confdefs.h. */
5552 $ac_c_conftest_c99_program
5553 _ACEOF
5554 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5556 CC="$ac_save_CC $ac_arg"
5557 if ac_fn_c_try_compile "$LINENO"
5558 then :
5559 ac_cv_prog_cc_c99=$ac_arg
5561 rm -f core conftest.err conftest.$ac_objext conftest.beam
5562 test "x$ac_cv_prog_cc_c99" != "xno" && break
5563 done
5564 rm -f conftest.$ac_ext
5565 CC=$ac_save_CC
5568 if test "x$ac_cv_prog_cc_c99" = xno
5569 then :
5570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5571 printf "%s\n" "unsupported" >&6; }
5572 else $as_nop
5573 if test "x$ac_cv_prog_cc_c99" = x
5574 then :
5575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5576 printf "%s\n" "none needed" >&6; }
5577 else $as_nop
5578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5579 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5580 CC="$CC $ac_cv_prog_cc_c99"
5582 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5583 ac_prog_cc_stdc=c99
5586 if test x$ac_prog_cc_stdc = xno
5587 then :
5588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5589 printf %s "checking for $CC option to enable C89 features... " >&6; }
5590 if test ${ac_cv_prog_cc_c89+y}
5591 then :
5592 printf %s "(cached) " >&6
5593 else $as_nop
5594 ac_cv_prog_cc_c89=no
5595 ac_save_CC=$CC
5596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5597 /* end confdefs.h. */
5598 $ac_c_conftest_c89_program
5599 _ACEOF
5600 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5602 CC="$ac_save_CC $ac_arg"
5603 if ac_fn_c_try_compile "$LINENO"
5604 then :
5605 ac_cv_prog_cc_c89=$ac_arg
5607 rm -f core conftest.err conftest.$ac_objext conftest.beam
5608 test "x$ac_cv_prog_cc_c89" != "xno" && break
5609 done
5610 rm -f conftest.$ac_ext
5611 CC=$ac_save_CC
5614 if test "x$ac_cv_prog_cc_c89" = xno
5615 then :
5616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5617 printf "%s\n" "unsupported" >&6; }
5618 else $as_nop
5619 if test "x$ac_cv_prog_cc_c89" = x
5620 then :
5621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5622 printf "%s\n" "none needed" >&6; }
5623 else $as_nop
5624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5625 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5626 CC="$CC $ac_cv_prog_cc_c89"
5628 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5629 ac_prog_cc_stdc=c89
5633 ac_ext=c
5634 ac_cpp='$CPP $CPPFLAGS'
5635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5645 ac_ext=cpp
5646 ac_cpp='$CXXCPP $CPPFLAGS'
5647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5650 if test -z "$CXX"; then
5651 if test -n "$CCC"; then
5652 CXX=$CCC
5653 else
5654 if test -n "$ac_tool_prefix"; then
5655 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5657 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5658 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5660 printf %s "checking for $ac_word... " >&6; }
5661 if test ${ac_cv_prog_CXX+y}
5662 then :
5663 printf %s "(cached) " >&6
5664 else $as_nop
5665 if test -n "$CXX"; then
5666 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5667 else
5668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5669 for as_dir in $PATH
5671 IFS=$as_save_IFS
5672 case $as_dir in #(((
5673 '') as_dir=./ ;;
5674 */) ;;
5675 *) as_dir=$as_dir/ ;;
5676 esac
5677 for ac_exec_ext in '' $ac_executable_extensions; do
5678 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5679 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5680 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5681 break 2
5683 done
5684 done
5685 IFS=$as_save_IFS
5689 CXX=$ac_cv_prog_CXX
5690 if test -n "$CXX"; then
5691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5692 printf "%s\n" "$CXX" >&6; }
5693 else
5694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5695 printf "%s\n" "no" >&6; }
5699 test -n "$CXX" && break
5700 done
5702 if test -z "$CXX"; then
5703 ac_ct_CXX=$CXX
5704 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5706 # Extract the first word of "$ac_prog", so it can be a program name with args.
5707 set dummy $ac_prog; ac_word=$2
5708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5709 printf %s "checking for $ac_word... " >&6; }
5710 if test ${ac_cv_prog_ac_ct_CXX+y}
5711 then :
5712 printf %s "(cached) " >&6
5713 else $as_nop
5714 if test -n "$ac_ct_CXX"; then
5715 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5716 else
5717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5718 for as_dir in $PATH
5720 IFS=$as_save_IFS
5721 case $as_dir in #(((
5722 '') as_dir=./ ;;
5723 */) ;;
5724 *) as_dir=$as_dir/ ;;
5725 esac
5726 for ac_exec_ext in '' $ac_executable_extensions; do
5727 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5728 ac_cv_prog_ac_ct_CXX="$ac_prog"
5729 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5730 break 2
5732 done
5733 done
5734 IFS=$as_save_IFS
5738 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5739 if test -n "$ac_ct_CXX"; then
5740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5741 printf "%s\n" "$ac_ct_CXX" >&6; }
5742 else
5743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5744 printf "%s\n" "no" >&6; }
5748 test -n "$ac_ct_CXX" && break
5749 done
5751 if test "x$ac_ct_CXX" = x; then
5752 CXX="g++"
5753 else
5754 case $cross_compiling:$ac_tool_warned in
5755 yes:)
5756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5757 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5758 ac_tool_warned=yes ;;
5759 esac
5760 CXX=$ac_ct_CXX
5766 # Provide some information about the compiler.
5767 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5768 set X $ac_compile
5769 ac_compiler=$2
5770 for ac_option in --version -v -V -qversion; do
5771 { { ac_try="$ac_compiler $ac_option >&5"
5772 case "(($ac_try" in
5773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5774 *) ac_try_echo=$ac_try;;
5775 esac
5776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5777 printf "%s\n" "$ac_try_echo"; } >&5
5778 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5779 ac_status=$?
5780 if test -s conftest.err; then
5781 sed '10a\
5782 ... rest of stderr output deleted ...
5783 10q' conftest.err >conftest.er1
5784 cat conftest.er1 >&5
5786 rm -f conftest.er1 conftest.err
5787 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5788 test $ac_status = 0; }
5789 done
5791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5792 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5793 if test ${ac_cv_cxx_compiler_gnu+y}
5794 then :
5795 printf %s "(cached) " >&6
5796 else $as_nop
5797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5798 /* end confdefs.h. */
5801 main (void)
5803 #ifndef __GNUC__
5804 choke me
5805 #endif
5808 return 0;
5810 _ACEOF
5811 if ac_fn_cxx_try_compile "$LINENO"
5812 then :
5813 ac_compiler_gnu=yes
5814 else $as_nop
5815 ac_compiler_gnu=no
5817 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5818 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5822 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5825 if test $ac_compiler_gnu = yes; then
5826 GXX=yes
5827 else
5828 GXX=
5830 ac_test_CXXFLAGS=${CXXFLAGS+y}
5831 ac_save_CXXFLAGS=$CXXFLAGS
5832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5833 printf %s "checking whether $CXX accepts -g... " >&6; }
5834 if test ${ac_cv_prog_cxx_g+y}
5835 then :
5836 printf %s "(cached) " >&6
5837 else $as_nop
5838 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5839 ac_cxx_werror_flag=yes
5840 ac_cv_prog_cxx_g=no
5841 CXXFLAGS="-g"
5842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5843 /* end confdefs.h. */
5846 main (void)
5850 return 0;
5852 _ACEOF
5853 if ac_fn_cxx_try_compile "$LINENO"
5854 then :
5855 ac_cv_prog_cxx_g=yes
5856 else $as_nop
5857 CXXFLAGS=""
5858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5859 /* end confdefs.h. */
5862 main (void)
5866 return 0;
5868 _ACEOF
5869 if ac_fn_cxx_try_compile "$LINENO"
5870 then :
5872 else $as_nop
5873 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5874 CXXFLAGS="-g"
5875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5876 /* end confdefs.h. */
5879 main (void)
5883 return 0;
5885 _ACEOF
5886 if ac_fn_cxx_try_compile "$LINENO"
5887 then :
5888 ac_cv_prog_cxx_g=yes
5890 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5892 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5894 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5895 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5898 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5899 if test $ac_test_CXXFLAGS; then
5900 CXXFLAGS=$ac_save_CXXFLAGS
5901 elif test $ac_cv_prog_cxx_g = yes; then
5902 if test "$GXX" = yes; then
5903 CXXFLAGS="-g -O2"
5904 else
5905 CXXFLAGS="-g"
5907 else
5908 if test "$GXX" = yes; then
5909 CXXFLAGS="-O2"
5910 else
5911 CXXFLAGS=
5914 ac_prog_cxx_stdcxx=no
5915 if test x$ac_prog_cxx_stdcxx = xno
5916 then :
5917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5918 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5919 if test ${ac_cv_prog_cxx_cxx11+y}
5920 then :
5921 printf %s "(cached) " >&6
5922 else $as_nop
5923 ac_cv_prog_cxx_cxx11=no
5924 ac_save_CXX=$CXX
5925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5926 /* end confdefs.h. */
5927 $ac_cxx_conftest_cxx11_program
5928 _ACEOF
5929 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5931 CXX="$ac_save_CXX $ac_arg"
5932 if ac_fn_cxx_try_compile "$LINENO"
5933 then :
5934 ac_cv_prog_cxx_cxx11=$ac_arg
5936 rm -f core conftest.err conftest.$ac_objext conftest.beam
5937 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5938 done
5939 rm -f conftest.$ac_ext
5940 CXX=$ac_save_CXX
5943 if test "x$ac_cv_prog_cxx_cxx11" = xno
5944 then :
5945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5946 printf "%s\n" "unsupported" >&6; }
5947 else $as_nop
5948 if test "x$ac_cv_prog_cxx_cxx11" = x
5949 then :
5950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5951 printf "%s\n" "none needed" >&6; }
5952 else $as_nop
5953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5954 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5955 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5957 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5958 ac_prog_cxx_stdcxx=cxx11
5961 if test x$ac_prog_cxx_stdcxx = xno
5962 then :
5963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5964 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5965 if test ${ac_cv_prog_cxx_cxx98+y}
5966 then :
5967 printf %s "(cached) " >&6
5968 else $as_nop
5969 ac_cv_prog_cxx_cxx98=no
5970 ac_save_CXX=$CXX
5971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5972 /* end confdefs.h. */
5973 $ac_cxx_conftest_cxx98_program
5974 _ACEOF
5975 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5977 CXX="$ac_save_CXX $ac_arg"
5978 if ac_fn_cxx_try_compile "$LINENO"
5979 then :
5980 ac_cv_prog_cxx_cxx98=$ac_arg
5982 rm -f core conftest.err conftest.$ac_objext conftest.beam
5983 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5984 done
5985 rm -f conftest.$ac_ext
5986 CXX=$ac_save_CXX
5989 if test "x$ac_cv_prog_cxx_cxx98" = xno
5990 then :
5991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5992 printf "%s\n" "unsupported" >&6; }
5993 else $as_nop
5994 if test "x$ac_cv_prog_cxx_cxx98" = x
5995 then :
5996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5997 printf "%s\n" "none needed" >&6; }
5998 else $as_nop
5999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6000 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6001 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6003 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6004 ac_prog_cxx_stdcxx=cxx98
6008 ac_ext=c
6009 ac_cpp='$CPP $CPPFLAGS'
6010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6014 if test -n "$ac_tool_prefix"; then
6015 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6016 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6018 printf %s "checking for $ac_word... " >&6; }
6019 if test ${ac_cv_prog_CPPBIN+y}
6020 then :
6021 printf %s "(cached) " >&6
6022 else $as_nop
6023 if test -n "$CPPBIN"; then
6024 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6025 else
6026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6027 for as_dir in $PATH
6029 IFS=$as_save_IFS
6030 case $as_dir in #(((
6031 '') as_dir=./ ;;
6032 */) ;;
6033 *) as_dir=$as_dir/ ;;
6034 esac
6035 for ac_exec_ext in '' $ac_executable_extensions; do
6036 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6037 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6038 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6039 break 2
6041 done
6042 done
6043 IFS=$as_save_IFS
6047 CPPBIN=$ac_cv_prog_CPPBIN
6048 if test -n "$CPPBIN"; then
6049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6050 printf "%s\n" "$CPPBIN" >&6; }
6051 else
6052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6053 printf "%s\n" "no" >&6; }
6058 if test -z "$ac_cv_prog_CPPBIN"; then
6059 ac_ct_CPPBIN=$CPPBIN
6060 # Extract the first word of "cpp", so it can be a program name with args.
6061 set dummy cpp; ac_word=$2
6062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6063 printf %s "checking for $ac_word... " >&6; }
6064 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6065 then :
6066 printf %s "(cached) " >&6
6067 else $as_nop
6068 if test -n "$ac_ct_CPPBIN"; then
6069 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6070 else
6071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6072 for as_dir in $PATH
6074 IFS=$as_save_IFS
6075 case $as_dir in #(((
6076 '') as_dir=./ ;;
6077 */) ;;
6078 *) as_dir=$as_dir/ ;;
6079 esac
6080 for ac_exec_ext in '' $ac_executable_extensions; do
6081 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6082 ac_cv_prog_ac_ct_CPPBIN="cpp"
6083 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6084 break 2
6086 done
6087 done
6088 IFS=$as_save_IFS
6092 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6093 if test -n "$ac_ct_CPPBIN"; then
6094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6095 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6096 else
6097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6098 printf "%s\n" "no" >&6; }
6101 if test "x$ac_ct_CPPBIN" = x; then
6102 CPPBIN="cpp"
6103 else
6104 case $cross_compiling:$ac_tool_warned in
6105 yes:)
6106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6107 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6108 ac_tool_warned=yes ;;
6109 esac
6110 CPPBIN=$ac_ct_CPPBIN
6112 else
6113 CPPBIN="$ac_cv_prog_CPPBIN"
6117 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6119 if test -n "$ac_tool_prefix"; then
6120 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6121 set dummy ${ac_tool_prefix}ld; ac_word=$2
6122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6123 printf %s "checking for $ac_word... " >&6; }
6124 if test ${ac_cv_prog_LD+y}
6125 then :
6126 printf %s "(cached) " >&6
6127 else $as_nop
6128 if test -n "$LD"; then
6129 ac_cv_prog_LD="$LD" # Let the user override the test.
6130 else
6131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6132 for as_dir in $PATH
6134 IFS=$as_save_IFS
6135 case $as_dir in #(((
6136 '') as_dir=./ ;;
6137 */) ;;
6138 *) as_dir=$as_dir/ ;;
6139 esac
6140 for ac_exec_ext in '' $ac_executable_extensions; do
6141 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6142 ac_cv_prog_LD="${ac_tool_prefix}ld"
6143 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6144 break 2
6146 done
6147 done
6148 IFS=$as_save_IFS
6152 LD=$ac_cv_prog_LD
6153 if test -n "$LD"; then
6154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6155 printf "%s\n" "$LD" >&6; }
6156 else
6157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6158 printf "%s\n" "no" >&6; }
6163 if test -z "$ac_cv_prog_LD"; then
6164 ac_ct_LD=$LD
6165 # Extract the first word of "ld", so it can be a program name with args.
6166 set dummy ld; ac_word=$2
6167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6168 printf %s "checking for $ac_word... " >&6; }
6169 if test ${ac_cv_prog_ac_ct_LD+y}
6170 then :
6171 printf %s "(cached) " >&6
6172 else $as_nop
6173 if test -n "$ac_ct_LD"; then
6174 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6175 else
6176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6177 for as_dir in $PATH
6179 IFS=$as_save_IFS
6180 case $as_dir in #(((
6181 '') as_dir=./ ;;
6182 */) ;;
6183 *) as_dir=$as_dir/ ;;
6184 esac
6185 for ac_exec_ext in '' $ac_executable_extensions; do
6186 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6187 ac_cv_prog_ac_ct_LD="ld"
6188 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6189 break 2
6191 done
6192 done
6193 IFS=$as_save_IFS
6197 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6198 if test -n "$ac_ct_LD"; then
6199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6200 printf "%s\n" "$ac_ct_LD" >&6; }
6201 else
6202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6203 printf "%s\n" "no" >&6; }
6206 if test "x$ac_ct_LD" = x; then
6207 LD=""
6208 else
6209 case $cross_compiling:$ac_tool_warned in
6210 yes:)
6211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6212 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6213 ac_tool_warned=yes ;;
6214 esac
6215 LD=$ac_ct_LD
6217 else
6218 LD="$ac_cv_prog_LD"
6222 case $host in
6223 *-darwin*)
6224 with_fontconfig=${with_fontconfig:-no}
6226 *-mingw32*|*-cygwin*)
6227 enable_win16=${enable_win16:-no}
6228 with_mingw=${with_mingw:-no}
6230 esac
6233 case $host in
6234 x86_64*|amd64*)
6235 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6236 then
6237 CC="$CC -m32"
6238 CXX="$CXX -m32"
6240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6241 printf %s "checking whether $CC works... " >&6; }
6242 if test ${wine_cv_cc_m32+y}
6243 then :
6244 printf %s "(cached) " >&6
6245 else $as_nop
6246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6247 /* end confdefs.h. */
6250 main (void)
6254 return 0;
6256 _ACEOF
6257 if ac_fn_c_try_link "$LINENO"
6258 then :
6259 wine_cv_cc_m32=yes
6260 else $as_nop
6261 wine_cv_cc_m32=no
6263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6264 conftest$ac_exeext conftest.$ac_ext
6266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6267 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6268 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
6269 host_cpu="i386"
6270 notice_platform="32-bit "
6271 TARGETFLAGS="$TARGETFLAGS -m32"
6272 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6273 export PKG_CONFIG_LIBDIR
6274 with_unwind=${with_unwind:-no}
6275 else
6276 CC="$CC -m64"
6277 CXX="$CXX -m64"
6278 host_cpu="x86_64"
6279 notice_platform="64-bit "
6280 TARGETFLAGS="$TARGETFLAGS -m64"
6283 arm*)
6284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6285 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6286 if test ${wine_cv_thumb2+y}
6287 then :
6288 printf %s "(cached) " >&6
6289 else $as_nop
6290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6291 /* end confdefs.h. */
6294 main (void)
6296 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6298 return 0;
6300 _ACEOF
6301 if ac_fn_c_try_link "$LINENO"
6302 then :
6303 wine_cv_thumb2=yes
6304 else $as_nop
6305 wine_cv_thumb2=no
6307 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6308 conftest$ac_exeext conftest.$ac_ext
6310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6311 printf "%s\n" "$wine_cv_thumb2" >&6; }
6312 if test x"$wine_cv_thumb2" = xyes
6313 then
6314 CFLAGS="$CFLAGS -mthumb"
6315 TARGETFLAGS="$TARGETFLAGS -mthumb"
6316 else
6317 CFLAGS="$CFLAGS -marm"
6318 TARGETFLAGS="$TARGETFLAGS -marm"
6320 case $with_float_abi in
6321 soft|softfp|hard)
6322 float_abi=$with_float_abi ;;
6324 case $host_os in
6325 *eabihf)
6326 float_abi=hard ;;
6328 float_abi=softfp
6329 saved_CFLAGS=$CFLAGS
6330 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6332 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6333 if test ${wine_cv_float_abi+y}
6334 then :
6335 printf %s "(cached) " >&6
6336 else $as_nop
6337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6338 /* end confdefs.h. */
6341 main (void)
6343 asm("vmrs r2,fpscr");
6345 return 0;
6347 _ACEOF
6348 if ac_fn_c_try_link "$LINENO"
6349 then :
6350 wine_cv_float_abi=yes
6351 else $as_nop
6352 wine_cv_float_abi=no
6354 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6355 conftest$ac_exeext conftest.$ac_ext
6357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6358 printf "%s\n" "$wine_cv_float_abi" >&6; }
6359 if test $wine_cv_float_abi = no
6360 then
6361 float_abi=soft
6362 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6364 CFLAGS=$saved_CFLAGS
6365 esac
6367 esac
6368 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6369 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6371 i[3456789]86*)
6372 with_unwind=${with_unwind:-no}
6374 esac
6376 enable_win16=${enable_win16:-i386}
6377 enable_win64=${enable_win64:-no}
6378 enable_wow64=${enable_wow64:-aarch64,x86_64}
6379 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6380 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6382 enable_winetest=${enable_winetest:-$enable_tests}
6384 if test "x$enable_win64" = "xyes"
6385 then
6386 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6387 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6390 case $build_os in
6391 cygwin*|mingw32*) toolsext=".exe"
6393 *) toolsext=""
6395 esac
6397 HOST_ARCH=unknown
6398 case "$host_cpu" in
6399 aarch64*) HOST_ARCH=aarch64 ;;
6400 arm*) HOST_ARCH=arm ;;
6401 i[3456789]86*) HOST_ARCH=i386 ;;
6402 x86_64) HOST_ARCH=x86_64 ;;
6403 esac
6406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6407 printf %s "checking for the directory containing the Wine tools... " >&6; }
6408 if test ${wine_cv_toolsdir+y}
6409 then :
6410 printf %s "(cached) " >&6
6411 else $as_nop
6412 wine_cv_toolsdir="$with_wine_tools"
6413 if test -z "$with_wine_tools"; then
6414 if test "$cross_compiling" = "yes"; then
6415 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6416 elif test -n "$with_wine64"; then
6417 wine_cv_toolsdir="$with_wine64"
6421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6422 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6423 if test -z "$wine_cv_toolsdir"; then
6424 wine_makedep=tools/makedep$toolsext
6425 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6426 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6427 enable_tools=${enable_tools:-no}
6428 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6429 else
6430 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6432 toolsdir=$wine_cv_toolsdir
6434 MAKEDEP=$wine_makedep
6436 RUNTESTFLAGS="-q -P wine"
6438 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'"
6441 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6442 then
6443 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6446 for ac_prog in flex
6448 # Extract the first word of "$ac_prog", so it can be a program name with args.
6449 set dummy $ac_prog; ac_word=$2
6450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6451 printf %s "checking for $ac_word... " >&6; }
6452 if test ${ac_cv_prog_FLEX+y}
6453 then :
6454 printf %s "(cached) " >&6
6455 else $as_nop
6456 if test -n "$FLEX"; then
6457 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6458 else
6459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6460 for as_dir in $PATH
6462 IFS=$as_save_IFS
6463 case $as_dir in #(((
6464 '') as_dir=./ ;;
6465 */) ;;
6466 *) as_dir=$as_dir/ ;;
6467 esac
6468 for ac_exec_ext in '' $ac_executable_extensions; do
6469 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6470 ac_cv_prog_FLEX="$ac_prog"
6471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6472 break 2
6474 done
6475 done
6476 IFS=$as_save_IFS
6480 FLEX=$ac_cv_prog_FLEX
6481 if test -n "$FLEX"; then
6482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6483 printf "%s\n" "$FLEX" >&6; }
6484 else
6485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6486 printf "%s\n" "no" >&6; }
6490 test -n "$FLEX" && break
6491 done
6492 test -n "$FLEX" || FLEX="none"
6494 if test "$FLEX" = "none"
6495 then
6496 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6499 printf %s "checking whether flex is recent enough... " >&6; }
6500 if test ${wine_cv_recent_flex+y}
6501 then :
6502 printf %s "(cached) " >&6
6503 else $as_nop
6504 cat >conftest.l <<EOF
6505 %top{
6506 #include "prediluvian.h"
6510 if $FLEX -t conftest.l >/dev/null 2>&5
6511 then
6512 wine_cv_recent_flex=yes
6513 else
6514 wine_cv_recent_flex=no
6517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6518 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6519 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
6521 for ac_prog in bison
6523 # Extract the first word of "$ac_prog", so it can be a program name with args.
6524 set dummy $ac_prog; ac_word=$2
6525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6526 printf %s "checking for $ac_word... " >&6; }
6527 if test ${ac_cv_prog_BISON+y}
6528 then :
6529 printf %s "(cached) " >&6
6530 else $as_nop
6531 if test -n "$BISON"; then
6532 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6533 else
6534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6535 for as_dir in $PATH
6537 IFS=$as_save_IFS
6538 case $as_dir in #(((
6539 '') as_dir=./ ;;
6540 */) ;;
6541 *) as_dir=$as_dir/ ;;
6542 esac
6543 for ac_exec_ext in '' $ac_executable_extensions; do
6544 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6545 ac_cv_prog_BISON="$ac_prog"
6546 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6547 break 2
6549 done
6550 done
6551 IFS=$as_save_IFS
6555 BISON=$ac_cv_prog_BISON
6556 if test -n "$BISON"; then
6557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6558 printf "%s\n" "$BISON" >&6; }
6559 else
6560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6561 printf "%s\n" "no" >&6; }
6565 test -n "$BISON" && break
6566 done
6567 test -n "$BISON" || BISON="none"
6569 if test "$BISON" = "none"
6570 then
6571 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6574 printf %s "checking whether bison is recent enough... " >&6; }
6575 if test ${wine_cv_recent_bison+y}
6576 then :
6577 printf %s "(cached) " >&6
6578 else $as_nop
6579 cat >conftest.y <<EOF
6580 %define parse.error verbose
6582 empty: ;
6584 if $BISON conftest.y >/dev/null 2>&5
6585 then
6586 wine_cv_recent_bison=yes
6587 else
6588 wine_cv_recent_bison=no
6591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6592 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6593 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
6595 if test -n "$ac_tool_prefix"; then
6596 for ac_prog in ar gar
6598 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6599 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6601 printf %s "checking for $ac_word... " >&6; }
6602 if test ${ac_cv_prog_AR+y}
6603 then :
6604 printf %s "(cached) " >&6
6605 else $as_nop
6606 if test -n "$AR"; then
6607 ac_cv_prog_AR="$AR" # Let the user override the test.
6608 else
6609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6610 for as_dir in $PATH
6612 IFS=$as_save_IFS
6613 case $as_dir in #(((
6614 '') as_dir=./ ;;
6615 */) ;;
6616 *) as_dir=$as_dir/ ;;
6617 esac
6618 for ac_exec_ext in '' $ac_executable_extensions; do
6619 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6620 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6621 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6622 break 2
6624 done
6625 done
6626 IFS=$as_save_IFS
6630 AR=$ac_cv_prog_AR
6631 if test -n "$AR"; then
6632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6633 printf "%s\n" "$AR" >&6; }
6634 else
6635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6636 printf "%s\n" "no" >&6; }
6640 test -n "$AR" && break
6641 done
6643 if test -z "$AR"; then
6644 ac_ct_AR=$AR
6645 for ac_prog in ar gar
6647 # Extract the first word of "$ac_prog", so it can be a program name with args.
6648 set dummy $ac_prog; ac_word=$2
6649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6650 printf %s "checking for $ac_word... " >&6; }
6651 if test ${ac_cv_prog_ac_ct_AR+y}
6652 then :
6653 printf %s "(cached) " >&6
6654 else $as_nop
6655 if test -n "$ac_ct_AR"; then
6656 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6657 else
6658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6659 for as_dir in $PATH
6661 IFS=$as_save_IFS
6662 case $as_dir in #(((
6663 '') as_dir=./ ;;
6664 */) ;;
6665 *) as_dir=$as_dir/ ;;
6666 esac
6667 for ac_exec_ext in '' $ac_executable_extensions; do
6668 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6669 ac_cv_prog_ac_ct_AR="$ac_prog"
6670 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6671 break 2
6673 done
6674 done
6675 IFS=$as_save_IFS
6679 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6680 if test -n "$ac_ct_AR"; then
6681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6682 printf "%s\n" "$ac_ct_AR" >&6; }
6683 else
6684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6685 printf "%s\n" "no" >&6; }
6689 test -n "$ac_ct_AR" && break
6690 done
6692 if test "x$ac_ct_AR" = x; then
6693 AR="ar"
6694 else
6695 case $cross_compiling:$ac_tool_warned in
6696 yes:)
6697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6698 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6699 ac_tool_warned=yes ;;
6700 esac
6701 AR=$ac_ct_AR
6705 if test -n "$ac_tool_prefix"; then
6706 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6707 set dummy ${ac_tool_prefix}strip; ac_word=$2
6708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6709 printf %s "checking for $ac_word... " >&6; }
6710 if test ${ac_cv_prog_STRIP+y}
6711 then :
6712 printf %s "(cached) " >&6
6713 else $as_nop
6714 if test -n "$STRIP"; then
6715 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6716 else
6717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6718 for as_dir in $PATH
6720 IFS=$as_save_IFS
6721 case $as_dir in #(((
6722 '') as_dir=./ ;;
6723 */) ;;
6724 *) as_dir=$as_dir/ ;;
6725 esac
6726 for ac_exec_ext in '' $ac_executable_extensions; do
6727 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6728 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6729 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6730 break 2
6732 done
6733 done
6734 IFS=$as_save_IFS
6738 STRIP=$ac_cv_prog_STRIP
6739 if test -n "$STRIP"; then
6740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6741 printf "%s\n" "$STRIP" >&6; }
6742 else
6743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6744 printf "%s\n" "no" >&6; }
6749 if test -z "$ac_cv_prog_STRIP"; then
6750 ac_ct_STRIP=$STRIP
6751 # Extract the first word of "strip", so it can be a program name with args.
6752 set dummy strip; ac_word=$2
6753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6754 printf %s "checking for $ac_word... " >&6; }
6755 if test ${ac_cv_prog_ac_ct_STRIP+y}
6756 then :
6757 printf %s "(cached) " >&6
6758 else $as_nop
6759 if test -n "$ac_ct_STRIP"; then
6760 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6761 else
6762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6763 for as_dir in $PATH
6765 IFS=$as_save_IFS
6766 case $as_dir in #(((
6767 '') as_dir=./ ;;
6768 */) ;;
6769 *) as_dir=$as_dir/ ;;
6770 esac
6771 for ac_exec_ext in '' $ac_executable_extensions; do
6772 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6773 ac_cv_prog_ac_ct_STRIP="strip"
6774 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6775 break 2
6777 done
6778 done
6779 IFS=$as_save_IFS
6783 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6784 if test -n "$ac_ct_STRIP"; then
6785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6786 printf "%s\n" "$ac_ct_STRIP" >&6; }
6787 else
6788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6789 printf "%s\n" "no" >&6; }
6792 if test "x$ac_ct_STRIP" = x; then
6793 STRIP="strip"
6794 else
6795 case $cross_compiling:$ac_tool_warned in
6796 yes:)
6797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6798 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6799 ac_tool_warned=yes ;;
6800 esac
6801 STRIP=$ac_ct_STRIP
6803 else
6804 STRIP="$ac_cv_prog_STRIP"
6807 if test -n "$ac_tool_prefix"; then
6808 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6809 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6811 printf %s "checking for $ac_word... " >&6; }
6812 if test ${ac_cv_prog_RANLIB+y}
6813 then :
6814 printf %s "(cached) " >&6
6815 else $as_nop
6816 if test -n "$RANLIB"; then
6817 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6818 else
6819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6820 for as_dir in $PATH
6822 IFS=$as_save_IFS
6823 case $as_dir in #(((
6824 '') as_dir=./ ;;
6825 */) ;;
6826 *) as_dir=$as_dir/ ;;
6827 esac
6828 for ac_exec_ext in '' $ac_executable_extensions; do
6829 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6830 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6831 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6832 break 2
6834 done
6835 done
6836 IFS=$as_save_IFS
6840 RANLIB=$ac_cv_prog_RANLIB
6841 if test -n "$RANLIB"; then
6842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6843 printf "%s\n" "$RANLIB" >&6; }
6844 else
6845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6846 printf "%s\n" "no" >&6; }
6851 if test -z "$ac_cv_prog_RANLIB"; then
6852 ac_ct_RANLIB=$RANLIB
6853 # Extract the first word of "ranlib", so it can be a program name with args.
6854 set dummy ranlib; ac_word=$2
6855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6856 printf %s "checking for $ac_word... " >&6; }
6857 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6858 then :
6859 printf %s "(cached) " >&6
6860 else $as_nop
6861 if test -n "$ac_ct_RANLIB"; then
6862 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6863 else
6864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6865 for as_dir in $PATH
6867 IFS=$as_save_IFS
6868 case $as_dir in #(((
6869 '') as_dir=./ ;;
6870 */) ;;
6871 *) as_dir=$as_dir/ ;;
6872 esac
6873 for ac_exec_ext in '' $ac_executable_extensions; do
6874 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6875 ac_cv_prog_ac_ct_RANLIB="ranlib"
6876 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6877 break 2
6879 done
6880 done
6881 IFS=$as_save_IFS
6885 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6886 if test -n "$ac_ct_RANLIB"; then
6887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6888 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6889 else
6890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6891 printf "%s\n" "no" >&6; }
6894 if test "x$ac_ct_RANLIB" = x; then
6895 RANLIB=":"
6896 else
6897 case $cross_compiling:$ac_tool_warned in
6898 yes:)
6899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6900 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6901 ac_tool_warned=yes ;;
6902 esac
6903 RANLIB=$ac_ct_RANLIB
6905 else
6906 RANLIB="$ac_cv_prog_RANLIB"
6909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6910 printf %s "checking whether ln -s works... " >&6; }
6911 LN_S=$as_ln_s
6912 if test "$LN_S" = "ln -s"; then
6913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6914 printf "%s\n" "yes" >&6; }
6915 else
6916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6917 printf "%s\n" "no, using $LN_S" >&6; }
6920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6921 printf %s "checking for grep that handles long lines and -e... " >&6; }
6922 if test ${ac_cv_path_GREP+y}
6923 then :
6924 printf %s "(cached) " >&6
6925 else $as_nop
6926 if test -z "$GREP"; then
6927 ac_path_GREP_found=false
6928 # Loop through the user's path and test for each of PROGNAME-LIST
6929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6930 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6932 IFS=$as_save_IFS
6933 case $as_dir in #(((
6934 '') as_dir=./ ;;
6935 */) ;;
6936 *) as_dir=$as_dir/ ;;
6937 esac
6938 for ac_prog in grep ggrep
6940 for ac_exec_ext in '' $ac_executable_extensions; do
6941 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6942 as_fn_executable_p "$ac_path_GREP" || continue
6943 # Check for GNU ac_path_GREP and select it if it is found.
6944 # Check for GNU $ac_path_GREP
6945 case `"$ac_path_GREP" --version 2>&1` in
6946 *GNU*)
6947 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6949 ac_count=0
6950 printf %s 0123456789 >"conftest.in"
6951 while :
6953 cat "conftest.in" "conftest.in" >"conftest.tmp"
6954 mv "conftest.tmp" "conftest.in"
6955 cp "conftest.in" "conftest.nl"
6956 printf "%s\n" 'GREP' >> "conftest.nl"
6957 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6958 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6959 as_fn_arith $ac_count + 1 && ac_count=$as_val
6960 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6961 # Best one so far, save it but keep looking for a better one
6962 ac_cv_path_GREP="$ac_path_GREP"
6963 ac_path_GREP_max=$ac_count
6965 # 10*(2^10) chars as input seems more than enough
6966 test $ac_count -gt 10 && break
6967 done
6968 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6969 esac
6971 $ac_path_GREP_found && break 3
6972 done
6973 done
6974 done
6975 IFS=$as_save_IFS
6976 if test -z "$ac_cv_path_GREP"; then
6977 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6979 else
6980 ac_cv_path_GREP=$GREP
6984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6985 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6986 GREP="$ac_cv_path_GREP"
6989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6990 printf %s "checking for egrep... " >&6; }
6991 if test ${ac_cv_path_EGREP+y}
6992 then :
6993 printf %s "(cached) " >&6
6994 else $as_nop
6995 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6996 then ac_cv_path_EGREP="$GREP -E"
6997 else
6998 if test -z "$EGREP"; then
6999 ac_path_EGREP_found=false
7000 # Loop through the user's path and test for each of PROGNAME-LIST
7001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7002 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7004 IFS=$as_save_IFS
7005 case $as_dir in #(((
7006 '') as_dir=./ ;;
7007 */) ;;
7008 *) as_dir=$as_dir/ ;;
7009 esac
7010 for ac_prog in egrep
7012 for ac_exec_ext in '' $ac_executable_extensions; do
7013 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7014 as_fn_executable_p "$ac_path_EGREP" || continue
7015 # Check for GNU ac_path_EGREP and select it if it is found.
7016 # Check for GNU $ac_path_EGREP
7017 case `"$ac_path_EGREP" --version 2>&1` in
7018 *GNU*)
7019 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7021 ac_count=0
7022 printf %s 0123456789 >"conftest.in"
7023 while :
7025 cat "conftest.in" "conftest.in" >"conftest.tmp"
7026 mv "conftest.tmp" "conftest.in"
7027 cp "conftest.in" "conftest.nl"
7028 printf "%s\n" 'EGREP' >> "conftest.nl"
7029 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7030 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7031 as_fn_arith $ac_count + 1 && ac_count=$as_val
7032 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7033 # Best one so far, save it but keep looking for a better one
7034 ac_cv_path_EGREP="$ac_path_EGREP"
7035 ac_path_EGREP_max=$ac_count
7037 # 10*(2^10) chars as input seems more than enough
7038 test $ac_count -gt 10 && break
7039 done
7040 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7041 esac
7043 $ac_path_EGREP_found && break 3
7044 done
7045 done
7046 done
7047 IFS=$as_save_IFS
7048 if test -z "$ac_cv_path_EGREP"; then
7049 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7051 else
7052 ac_cv_path_EGREP=$EGREP
7057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7058 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7059 EGREP="$ac_cv_path_EGREP"
7062 # Extract the first word of "ldconfig", so it can be a program name with args.
7063 set dummy ldconfig; ac_word=$2
7064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7065 printf %s "checking for $ac_word... " >&6; }
7066 if test ${ac_cv_path_LDCONFIG+y}
7067 then :
7068 printf %s "(cached) " >&6
7069 else $as_nop
7070 case $LDCONFIG in
7071 [\\/]* | ?:[\\/]*)
7072 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7076 for as_dir in /sbin /usr/sbin $PATH
7078 IFS=$as_save_IFS
7079 case $as_dir in #(((
7080 '') as_dir=./ ;;
7081 */) ;;
7082 *) as_dir=$as_dir/ ;;
7083 esac
7084 for ac_exec_ext in '' $ac_executable_extensions; do
7085 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7086 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7087 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7088 break 2
7090 done
7091 done
7092 IFS=$as_save_IFS
7094 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7096 esac
7098 LDCONFIG=$ac_cv_path_LDCONFIG
7099 if test -n "$LDCONFIG"; then
7100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7101 printf "%s\n" "$LDCONFIG" >&6; }
7102 else
7103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7104 printf "%s\n" "no" >&6; }
7108 for ac_prog in msgfmt
7110 # Extract the first word of "$ac_prog", so it can be a program name with args.
7111 set dummy $ac_prog; ac_word=$2
7112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7113 printf %s "checking for $ac_word... " >&6; }
7114 if test ${ac_cv_prog_MSGFMT+y}
7115 then :
7116 printf %s "(cached) " >&6
7117 else $as_nop
7118 if test -n "$MSGFMT"; then
7119 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7120 else
7121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7122 for as_dir in $PATH
7124 IFS=$as_save_IFS
7125 case $as_dir in #(((
7126 '') as_dir=./ ;;
7127 */) ;;
7128 *) as_dir=$as_dir/ ;;
7129 esac
7130 for ac_exec_ext in '' $ac_executable_extensions; do
7131 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7132 ac_cv_prog_MSGFMT="$ac_prog"
7133 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7134 break 2
7136 done
7137 done
7138 IFS=$as_save_IFS
7142 MSGFMT=$ac_cv_prog_MSGFMT
7143 if test -n "$MSGFMT"; then
7144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7145 printf "%s\n" "$MSGFMT" >&6; }
7146 else
7147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7148 printf "%s\n" "no" >&6; }
7152 test -n "$MSGFMT" && break
7153 done
7154 test -n "$MSGFMT" || MSGFMT="false"
7156 if test ${ac_tool_prefix+y}
7157 then :
7158 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7159 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7161 printf %s "checking for $ac_word... " >&6; }
7162 if test ${ac_cv_prog_PKG_CONFIG+y}
7163 then :
7164 printf %s "(cached) " >&6
7165 else $as_nop
7166 if test -n "$PKG_CONFIG"; then
7167 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7168 else
7169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7170 for as_dir in $PATH
7172 IFS=$as_save_IFS
7173 case $as_dir in #(((
7174 '') as_dir=./ ;;
7175 */) ;;
7176 *) as_dir=$as_dir/ ;;
7177 esac
7178 for ac_exec_ext in '' $ac_executable_extensions; do
7179 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7180 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7181 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7182 break 2
7184 done
7185 done
7186 IFS=$as_save_IFS
7190 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7191 if test -n "$PKG_CONFIG"; then
7192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7193 printf "%s\n" "$PKG_CONFIG" >&6; }
7194 else
7195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7196 printf "%s\n" "no" >&6; }
7201 if ${ac_cv_prog_PKG_CONFIG:+false} :
7202 then :
7203 if test "x$cross_compiling" = xyes
7204 then :
7206 else $as_nop
7207 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7208 # Extract the first word of "pkg-config", so it can be a program name with args.
7209 set dummy pkg-config; ac_word=$2
7210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7211 printf %s "checking for $ac_word... " >&6; }
7212 if test ${ac_cv_prog_PKG_CONFIG+y}
7213 then :
7214 printf %s "(cached) " >&6
7215 else $as_nop
7216 if test -n "$PKG_CONFIG"; then
7217 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7218 else
7219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7220 for as_dir in $PATH
7222 IFS=$as_save_IFS
7223 case $as_dir in #(((
7224 '') as_dir=./ ;;
7225 */) ;;
7226 *) as_dir=$as_dir/ ;;
7227 esac
7228 for ac_exec_ext in '' $ac_executable_extensions; do
7229 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7230 ac_cv_prog_PKG_CONFIG="pkg-config"
7231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7232 break 2
7234 done
7235 done
7236 IFS=$as_save_IFS
7240 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7241 if test -n "$PKG_CONFIG"; then
7242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7243 printf "%s\n" "$PKG_CONFIG" >&6; }
7244 else
7245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7246 printf "%s\n" "no" >&6; }
7251 else $as_nop
7252 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7255 if test "x$enable_maintainer_mode" != "xyes"
7256 then
7257 FONTFORGE=""
7258 RSVG=""
7259 CONVERT=""
7260 ICOTOOL=""
7261 else
7262 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7263 for ac_prog in fontforge
7265 # Extract the first word of "$ac_prog", so it can be a program name with args.
7266 set dummy $ac_prog; ac_word=$2
7267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7268 printf %s "checking for $ac_word... " >&6; }
7269 if test ${ac_cv_prog_FONTFORGE+y}
7270 then :
7271 printf %s "(cached) " >&6
7272 else $as_nop
7273 if test -n "$FONTFORGE"; then
7274 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7275 else
7276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7277 for as_dir in $PATH
7279 IFS=$as_save_IFS
7280 case $as_dir in #(((
7281 '') as_dir=./ ;;
7282 */) ;;
7283 *) as_dir=$as_dir/ ;;
7284 esac
7285 for ac_exec_ext in '' $ac_executable_extensions; do
7286 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7287 ac_cv_prog_FONTFORGE="$ac_prog"
7288 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7289 break 2
7291 done
7292 done
7293 IFS=$as_save_IFS
7297 FONTFORGE=$ac_cv_prog_FONTFORGE
7298 if test -n "$FONTFORGE"; then
7299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7300 printf "%s\n" "$FONTFORGE" >&6; }
7301 else
7302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7303 printf "%s\n" "no" >&6; }
7307 test -n "$FONTFORGE" && break
7308 done
7309 test -n "$FONTFORGE" || FONTFORGE="false"
7311 for ac_prog in rsvg-convert rsvg
7313 # Extract the first word of "$ac_prog", so it can be a program name with args.
7314 set dummy $ac_prog; ac_word=$2
7315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7316 printf %s "checking for $ac_word... " >&6; }
7317 if test ${ac_cv_prog_RSVG+y}
7318 then :
7319 printf %s "(cached) " >&6
7320 else $as_nop
7321 if test -n "$RSVG"; then
7322 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7323 else
7324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7325 for as_dir in $PATH
7327 IFS=$as_save_IFS
7328 case $as_dir in #(((
7329 '') as_dir=./ ;;
7330 */) ;;
7331 *) as_dir=$as_dir/ ;;
7332 esac
7333 for ac_exec_ext in '' $ac_executable_extensions; do
7334 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7335 ac_cv_prog_RSVG="$ac_prog"
7336 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7337 break 2
7339 done
7340 done
7341 IFS=$as_save_IFS
7345 RSVG=$ac_cv_prog_RSVG
7346 if test -n "$RSVG"; then
7347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7348 printf "%s\n" "$RSVG" >&6; }
7349 else
7350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7351 printf "%s\n" "no" >&6; }
7355 test -n "$RSVG" && break
7356 done
7357 test -n "$RSVG" || RSVG="false"
7359 for ac_prog in convert
7361 # Extract the first word of "$ac_prog", so it can be a program name with args.
7362 set dummy $ac_prog; ac_word=$2
7363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7364 printf %s "checking for $ac_word... " >&6; }
7365 if test ${ac_cv_prog_CONVERT+y}
7366 then :
7367 printf %s "(cached) " >&6
7368 else $as_nop
7369 if test -n "$CONVERT"; then
7370 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7371 else
7372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7373 for as_dir in $PATH
7375 IFS=$as_save_IFS
7376 case $as_dir in #(((
7377 '') as_dir=./ ;;
7378 */) ;;
7379 *) as_dir=$as_dir/ ;;
7380 esac
7381 for ac_exec_ext in '' $ac_executable_extensions; do
7382 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7383 ac_cv_prog_CONVERT="$ac_prog"
7384 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7385 break 2
7387 done
7388 done
7389 IFS=$as_save_IFS
7393 CONVERT=$ac_cv_prog_CONVERT
7394 if test -n "$CONVERT"; then
7395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7396 printf "%s\n" "$CONVERT" >&6; }
7397 else
7398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7399 printf "%s\n" "no" >&6; }
7403 test -n "$CONVERT" && break
7404 done
7405 test -n "$CONVERT" || CONVERT="false"
7407 for ac_prog in icotool
7409 # Extract the first word of "$ac_prog", so it can be a program name with args.
7410 set dummy $ac_prog; ac_word=$2
7411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7412 printf %s "checking for $ac_word... " >&6; }
7413 if test ${ac_cv_prog_ICOTOOL+y}
7414 then :
7415 printf %s "(cached) " >&6
7416 else $as_nop
7417 if test -n "$ICOTOOL"; then
7418 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7419 else
7420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7421 for as_dir in $PATH
7423 IFS=$as_save_IFS
7424 case $as_dir in #(((
7425 '') as_dir=./ ;;
7426 */) ;;
7427 *) as_dir=$as_dir/ ;;
7428 esac
7429 for ac_exec_ext in '' $ac_executable_extensions; do
7430 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7431 ac_cv_prog_ICOTOOL="$ac_prog"
7432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7433 break 2
7435 done
7436 done
7437 IFS=$as_save_IFS
7441 ICOTOOL=$ac_cv_prog_ICOTOOL
7442 if test -n "$ICOTOOL"; then
7443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7444 printf "%s\n" "$ICOTOOL" >&6; }
7445 else
7446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7447 printf "%s\n" "no" >&6; }
7451 test -n "$ICOTOOL" && break
7452 done
7453 test -n "$ICOTOOL" || ICOTOOL="false"
7455 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7456 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7458 if test "$CONVERT" = false
7459 then
7460 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7461 else
7462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7463 printf %s "checking for recent enough imagemagick... " >&6; }
7464 convert_version=`convert --version | head -n1`
7465 if test "x$convert_version" != "x"
7466 then
7467 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7468 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7469 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7470 then
7471 CONVERT=false
7474 if test "$CONVERT" = false
7475 then
7476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7477 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7478 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7479 else
7480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7481 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7485 if test "$ICOTOOL" = false
7486 then
7487 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7488 else
7489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7490 printf %s "checking for recent enough icotool... " >&6; }
7491 icotool_version=`icotool --version | head -n1`
7492 if test "x$icotool_version" != "x"
7493 then
7494 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7495 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7496 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7497 then
7498 ICOTOOL=false
7499 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7502 if test "$ICOTOOL" = false
7503 then
7504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7505 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7506 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7507 else
7508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7509 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7513 with_gettext=yes
7514 with_gettextpo=yes
7516 enable_werror=yes
7519 test "x$with_gettext" != xno || MSGFMT=false
7520 if test "$MSGFMT" != "false"
7521 then
7522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7523 printf %s "checking whether msgfmt supports contexts... " >&6; }
7524 if test ${wine_cv_msgfmt_contexts+y}
7525 then :
7526 printf %s "(cached) " >&6
7527 else $as_nop
7528 cat >conftest.po <<EOF
7529 # comment
7530 msgctxt "ctxt"
7531 msgid "id"
7532 msgstr "str"
7534 if $MSGFMT -o /dev/null conftest.po 2>&5
7535 then
7536 wine_cv_msgfmt_contexts=yes
7537 else
7538 wine_cv_msgfmt_contexts=no
7541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7542 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7543 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7545 if test "$MSGFMT" = false
7546 then :
7547 case "x$with_gettext" in
7548 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7549 xno) ;;
7550 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7551 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7552 esac
7553 enable_po=${enable_po:-no}
7557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7558 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7559 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7560 then :
7561 printf %s "(cached) " >&6
7562 else $as_nop
7563 ac_check_lib_save_LIBS=$LIBS
7564 LIBS="-li386 $LIBS"
7565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7566 /* end confdefs.h. */
7568 /* Override any GCC internal prototype to avoid an error.
7569 Use char because int might match the return type of a GCC
7570 builtin and then its argument prototype would still apply. */
7571 char i386_set_ldt ();
7573 main (void)
7575 return i386_set_ldt ();
7577 return 0;
7579 _ACEOF
7580 if ac_fn_c_try_link "$LINENO"
7581 then :
7582 ac_cv_lib_i386_i386_set_ldt=yes
7583 else $as_nop
7584 ac_cv_lib_i386_i386_set_ldt=no
7586 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7587 conftest$ac_exeext conftest.$ac_ext
7588 LIBS=$ac_check_lib_save_LIBS
7590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7591 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7592 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7593 then :
7594 I386_LIBS="-li386"
7599 OPENGL_LIBS=""
7603 # Check whether --enable-largefile was given.
7604 if test ${enable_largefile+y}
7605 then :
7606 enableval=$enable_largefile;
7609 if test "$enable_largefile" != no; then
7611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7612 printf %s "checking for special C compiler options needed for large files... " >&6; }
7613 if test ${ac_cv_sys_largefile_CC+y}
7614 then :
7615 printf %s "(cached) " >&6
7616 else $as_nop
7617 ac_cv_sys_largefile_CC=no
7618 if test "$GCC" != yes; then
7619 ac_save_CC=$CC
7620 while :; do
7621 # IRIX 6.2 and later do not support large files by default,
7622 # so use the C compiler's -n32 option if that helps.
7623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7624 /* end confdefs.h. */
7625 #include <sys/types.h>
7626 /* Check that off_t can represent 2**63 - 1 correctly.
7627 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7628 since some C++ compilers masquerading as C compilers
7629 incorrectly reject 9223372036854775807. */
7630 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7631 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7632 && LARGE_OFF_T % 2147483647 == 1)
7633 ? 1 : -1];
7635 main (void)
7639 return 0;
7641 _ACEOF
7642 if ac_fn_c_try_compile "$LINENO"
7643 then :
7644 break
7646 rm -f core conftest.err conftest.$ac_objext conftest.beam
7647 CC="$CC -n32"
7648 if ac_fn_c_try_compile "$LINENO"
7649 then :
7650 ac_cv_sys_largefile_CC=' -n32'; break
7652 rm -f core conftest.err conftest.$ac_objext conftest.beam
7653 break
7654 done
7655 CC=$ac_save_CC
7656 rm -f conftest.$ac_ext
7659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7660 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7661 if test "$ac_cv_sys_largefile_CC" != no; then
7662 CC=$CC$ac_cv_sys_largefile_CC
7665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7666 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7667 if test ${ac_cv_sys_file_offset_bits+y}
7668 then :
7669 printf %s "(cached) " >&6
7670 else $as_nop
7671 while :; do
7672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7673 /* end confdefs.h. */
7674 #include <sys/types.h>
7675 /* Check that off_t can represent 2**63 - 1 correctly.
7676 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7677 since some C++ compilers masquerading as C compilers
7678 incorrectly reject 9223372036854775807. */
7679 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7680 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7681 && LARGE_OFF_T % 2147483647 == 1)
7682 ? 1 : -1];
7684 main (void)
7688 return 0;
7690 _ACEOF
7691 if ac_fn_c_try_compile "$LINENO"
7692 then :
7693 ac_cv_sys_file_offset_bits=no; break
7695 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7697 /* end confdefs.h. */
7698 #define _FILE_OFFSET_BITS 64
7699 #include <sys/types.h>
7700 /* Check that off_t can represent 2**63 - 1 correctly.
7701 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7702 since some C++ compilers masquerading as C compilers
7703 incorrectly reject 9223372036854775807. */
7704 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7705 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7706 && LARGE_OFF_T % 2147483647 == 1)
7707 ? 1 : -1];
7709 main (void)
7713 return 0;
7715 _ACEOF
7716 if ac_fn_c_try_compile "$LINENO"
7717 then :
7718 ac_cv_sys_file_offset_bits=64; break
7720 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7721 ac_cv_sys_file_offset_bits=unknown
7722 break
7723 done
7725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7726 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7727 case $ac_cv_sys_file_offset_bits in #(
7728 no | unknown) ;;
7730 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7732 esac
7733 rm -rf conftest*
7734 if test $ac_cv_sys_file_offset_bits = unknown; then
7735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7736 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7737 if test ${ac_cv_sys_large_files+y}
7738 then :
7739 printf %s "(cached) " >&6
7740 else $as_nop
7741 while :; do
7742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7743 /* end confdefs.h. */
7744 #include <sys/types.h>
7745 /* Check that off_t can represent 2**63 - 1 correctly.
7746 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7747 since some C++ compilers masquerading as C compilers
7748 incorrectly reject 9223372036854775807. */
7749 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7750 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7751 && LARGE_OFF_T % 2147483647 == 1)
7752 ? 1 : -1];
7754 main (void)
7758 return 0;
7760 _ACEOF
7761 if ac_fn_c_try_compile "$LINENO"
7762 then :
7763 ac_cv_sys_large_files=no; break
7765 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7767 /* end confdefs.h. */
7768 #define _LARGE_FILES 1
7769 #include <sys/types.h>
7770 /* Check that off_t can represent 2**63 - 1 correctly.
7771 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7772 since some C++ compilers masquerading as C compilers
7773 incorrectly reject 9223372036854775807. */
7774 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7775 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7776 && LARGE_OFF_T % 2147483647 == 1)
7777 ? 1 : -1];
7779 main (void)
7783 return 0;
7785 _ACEOF
7786 if ac_fn_c_try_compile "$LINENO"
7787 then :
7788 ac_cv_sys_large_files=1; break
7790 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7791 ac_cv_sys_large_files=unknown
7792 break
7793 done
7795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7796 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7797 case $ac_cv_sys_large_files in #(
7798 no | unknown) ;;
7800 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7802 esac
7803 rm -rf conftest*
7808 ac_header= ac_cache=
7809 for ac_item in $ac_header_c_list
7811 if test $ac_cache; then
7812 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7813 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7814 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7816 ac_header= ac_cache=
7817 elif test $ac_header; then
7818 ac_cache=$ac_item
7819 else
7820 ac_header=$ac_item
7822 done
7831 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7832 then :
7834 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7837 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7838 if test "x$ac_cv_header_CL_cl_h" = xyes
7839 then :
7840 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7843 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7844 if test "x$ac_cv_header_EGL_egl_h" = xyes
7845 then :
7846 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7849 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7850 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7851 then :
7852 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7855 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7856 if test "x$ac_cv_header_arpa_inet_h" = xyes
7857 then :
7858 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7861 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7862 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7863 then :
7864 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7867 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7868 if test "x$ac_cv_header_asm_types_h" = xyes
7869 then :
7870 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7873 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7874 if test "x$ac_cv_header_asm_user_h" = xyes
7875 then :
7876 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7879 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7880 if test "x$ac_cv_header_elf_h" = xyes
7881 then :
7882 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7885 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7886 if test "x$ac_cv_header_float_h" = xyes
7887 then :
7888 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7891 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7892 if test "x$ac_cv_header_gettext_po_h" = xyes
7893 then :
7894 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7897 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7898 if test "x$ac_cv_header_libproc_h" = xyes
7899 then :
7900 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7903 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7904 if test "x$ac_cv_header_link_h" = xyes
7905 then :
7906 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7909 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7910 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7911 then :
7912 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7915 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7916 if test "x$ac_cv_header_linux_filter_h" = xyes
7917 then :
7918 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7921 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7922 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7923 then :
7924 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7927 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7928 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7929 then :
7930 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7933 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7934 if test "x$ac_cv_header_linux_input_h" = xyes
7935 then :
7936 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7939 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7940 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7941 then :
7942 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7945 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7946 if test "x$ac_cv_header_linux_major_h" = xyes
7947 then :
7948 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7951 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7952 if test "x$ac_cv_header_linux_param_h" = xyes
7953 then :
7954 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7957 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7958 if test "x$ac_cv_header_linux_serial_h" = xyes
7959 then :
7960 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7963 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7964 if test "x$ac_cv_header_linux_types_h" = xyes
7965 then :
7966 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7969 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7970 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7971 then :
7972 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7975 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7976 if test "x$ac_cv_header_lwp_h" = xyes
7977 then :
7978 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7981 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7982 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7983 then :
7984 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
7987 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
7988 if test "x$ac_cv_header_mach_mach_h" = xyes
7989 then :
7990 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
7993 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
7994 if test "x$ac_cv_header_machine_cpu_h" = xyes
7995 then :
7996 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
7999 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8000 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8001 then :
8002 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8005 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8006 if test "x$ac_cv_header_mntent_h" = xyes
8007 then :
8008 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8011 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8012 if test "x$ac_cv_header_netdb_h" = xyes
8013 then :
8014 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8017 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8018 if test "x$ac_cv_header_netinet_in_h" = xyes
8019 then :
8020 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8023 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8024 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8025 then :
8026 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8029 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8030 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8031 then :
8032 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8035 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8036 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8037 then :
8038 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8041 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8042 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8043 then :
8044 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8047 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8048 if test "x$ac_cv_header_port_h" = xyes
8049 then :
8050 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8053 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8054 if test "x$ac_cv_header_pthread_h" = xyes
8055 then :
8056 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8059 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8060 if test "x$ac_cv_header_pwd_h" = xyes
8061 then :
8062 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8065 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8066 if test "x$ac_cv_header_sched_h" = xyes
8067 then :
8068 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8071 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8072 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8073 then :
8074 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8077 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8078 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8079 then :
8080 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8083 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8084 if test "x$ac_cv_header_scsi_sg_h" = xyes
8085 then :
8086 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8089 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8090 if test "x$ac_cv_header_stdint_h" = xyes
8091 then :
8092 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8095 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8096 if test "x$ac_cv_header_sys_attr_h" = xyes
8097 then :
8098 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8101 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8102 if test "x$ac_cv_header_sys_auxv_h" = xyes
8103 then :
8104 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8107 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8108 if test "x$ac_cv_header_sys_cdio_h" = xyes
8109 then :
8110 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8113 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8114 if test "x$ac_cv_header_sys_epoll_h" = xyes
8115 then :
8116 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8119 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8120 if test "x$ac_cv_header_sys_event_h" = xyes
8121 then :
8122 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8125 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8126 if test "x$ac_cv_header_sys_extattr_h" = xyes
8127 then :
8128 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8131 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8132 if test "x$ac_cv_header_sys_filio_h" = xyes
8133 then :
8134 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8137 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8138 if test "x$ac_cv_header_sys_ipc_h" = xyes
8139 then :
8140 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8143 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8144 if test "x$ac_cv_header_sys_link_h" = xyes
8145 then :
8146 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8149 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8150 if test "x$ac_cv_header_sys_modem_h" = xyes
8151 then :
8152 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8155 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8156 if test "x$ac_cv_header_sys_mtio_h" = xyes
8157 then :
8158 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8161 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8162 if test "x$ac_cv_header_sys_param_h" = xyes
8163 then :
8164 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8167 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8168 if test "x$ac_cv_header_sys_prctl_h" = xyes
8169 then :
8170 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8173 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8174 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8175 then :
8176 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8179 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8180 if test "x$ac_cv_header_sys_queue_h" = xyes
8181 then :
8182 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8185 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8186 if test "x$ac_cv_header_sys_random_h" = xyes
8187 then :
8188 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8191 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8192 if test "x$ac_cv_header_sys_resource_h" = xyes
8193 then :
8194 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8197 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8198 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8199 then :
8200 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8203 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8204 if test "x$ac_cv_header_sys_shm_h" = xyes
8205 then :
8206 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8209 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8210 if test "x$ac_cv_header_sys_signal_h" = xyes
8211 then :
8212 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8215 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8216 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8217 then :
8218 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8221 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8222 if test "x$ac_cv_header_sys_sockio_h" = xyes
8223 then :
8224 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8227 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8228 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8229 then :
8230 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8233 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8234 if test "x$ac_cv_header_sys_strtio_h" = xyes
8235 then :
8236 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8239 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8240 if test "x$ac_cv_header_sys_syscall_h" = xyes
8241 then :
8242 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8245 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8246 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8247 then :
8248 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8251 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8252 if test "x$ac_cv_header_sys_times_h" = xyes
8253 then :
8254 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8257 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8258 if test "x$ac_cv_header_sys_uio_h" = xyes
8259 then :
8260 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8263 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8264 if test "x$ac_cv_header_sys_user_h" = xyes
8265 then :
8266 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8269 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8270 if test "x$ac_cv_header_sys_utsname_h" = xyes
8271 then :
8272 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8275 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8276 if test "x$ac_cv_header_sys_vnode_h" = xyes
8277 then :
8278 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8281 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8282 if test "x$ac_cv_header_sys_xattr_h" = xyes
8283 then :
8284 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8287 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8288 if test "x$ac_cv_header_syscall_h" = xyes
8289 then :
8290 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8293 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8294 if test "x$ac_cv_header_utime_h" = xyes
8295 then :
8296 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8299 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8300 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8301 then :
8302 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8305 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8306 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8307 then :
8308 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8312 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8313 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8314 then :
8316 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8320 if test $ac_cv_header_sys_mkdev_h = no; then
8321 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8322 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8323 then :
8325 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8331 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8332 if test ${ac_cv_header_stat_broken+y}
8333 then :
8334 printf %s "(cached) " >&6
8335 else $as_nop
8336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8337 /* end confdefs.h. */
8338 #include <sys/types.h>
8339 #include <sys/stat.h>
8341 #if defined S_ISBLK && defined S_IFDIR
8342 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8343 #endif
8345 #if defined S_ISBLK && defined S_IFCHR
8346 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8347 #endif
8349 #if defined S_ISLNK && defined S_IFREG
8350 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8351 #endif
8353 #if defined S_ISSOCK && defined S_IFREG
8354 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8355 #endif
8357 _ACEOF
8358 if ac_fn_c_try_compile "$LINENO"
8359 then :
8360 ac_cv_header_stat_broken=no
8361 else $as_nop
8362 ac_cv_header_stat_broken=yes
8364 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8367 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8368 if test $ac_cv_header_stat_broken = yes; then
8370 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8376 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8377 #ifdef HAVE_SYS_PARAM_H
8378 # include <sys/param.h>
8379 #endif
8381 if test "x$ac_cv_header_sys_conf_h" = xyes
8382 then :
8383 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8386 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8387 #ifdef HAVE_SYS_PARAM_H
8388 # include <sys/param.h>
8389 #endif
8391 if test "x$ac_cv_header_sys_mount_h" = xyes
8392 then :
8393 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8396 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8397 #ifdef HAVE_SYS_PARAM_H
8398 # include <sys/param.h>
8399 #endif
8401 if test "x$ac_cv_header_sys_statfs_h" = xyes
8402 then :
8403 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8406 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8407 #ifdef HAVE_SYS_PARAM_H
8408 # include <sys/param.h>
8409 #endif
8411 if test "x$ac_cv_header_sys_user_h" = xyes
8412 then :
8413 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8416 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8417 #ifdef HAVE_SYS_PARAM_H
8418 # include <sys/param.h>
8419 #endif
8421 if test "x$ac_cv_header_sys_vfs_h" = xyes
8422 then :
8423 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8428 saved_sysctl_h_CFLAGS=$CFLAGS
8429 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8430 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8431 #ifdef HAVE_SYS_PARAM_H
8432 # include <sys/param.h>
8433 #endif
8435 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8436 then :
8437 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8441 CFLAGS=$saved_sysctl_h_CFLAGS
8443 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8444 #include <sys/socket.h>
8445 #ifdef HAVE_SYS_SOCKETVAR_H
8446 # include <sys/socketvar.h>
8447 #endif
8448 #ifdef HAVE_NET_ROUTE_H
8449 # include <net/route.h>
8450 #endif
8451 #ifdef HAVE_NETINET_IN_H
8452 # include <netinet/in.h>
8453 #endif
8454 #ifdef HAVE_NETINET_IN_SYSTM_H
8455 # include <netinet/in_systm.h>
8456 #endif
8457 #ifdef HAVE_NET_IF_H
8458 # include <net/if.h>
8459 #endif
8460 #ifdef HAVE_NETINET_IP_H
8461 # include <netinet/ip.h>
8462 #endif
8464 if test "x$ac_cv_header_netinet_ip_h" = xyes
8465 then :
8466 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8469 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8470 #include <sys/socket.h>
8471 #ifdef HAVE_SYS_SOCKETVAR_H
8472 # include <sys/socketvar.h>
8473 #endif
8474 #ifdef HAVE_NET_ROUTE_H
8475 # include <net/route.h>
8476 #endif
8477 #ifdef HAVE_NETINET_IN_H
8478 # include <netinet/in.h>
8479 #endif
8480 #ifdef HAVE_NETINET_IN_SYSTM_H
8481 # include <netinet/in_systm.h>
8482 #endif
8483 #ifdef HAVE_NET_IF_H
8484 # include <net/if.h>
8485 #endif
8486 #ifdef HAVE_NETINET_IP_H
8487 # include <netinet/ip.h>
8488 #endif
8490 if test "x$ac_cv_header_net_if_h" = xyes
8491 then :
8492 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8495 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8496 #include <sys/socket.h>
8497 #ifdef HAVE_SYS_SOCKETVAR_H
8498 # include <sys/socketvar.h>
8499 #endif
8500 #ifdef HAVE_NET_ROUTE_H
8501 # include <net/route.h>
8502 #endif
8503 #ifdef HAVE_NETINET_IN_H
8504 # include <netinet/in.h>
8505 #endif
8506 #ifdef HAVE_NETINET_IN_SYSTM_H
8507 # include <netinet/in_systm.h>
8508 #endif
8509 #ifdef HAVE_NET_IF_H
8510 # include <net/if.h>
8511 #endif
8512 #ifdef HAVE_NETINET_IP_H
8513 # include <netinet/ip.h>
8514 #endif
8516 if test "x$ac_cv_header_net_if_arp_h" = xyes
8517 then :
8518 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8521 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8522 #include <sys/socket.h>
8523 #ifdef HAVE_SYS_SOCKETVAR_H
8524 # include <sys/socketvar.h>
8525 #endif
8526 #ifdef HAVE_NET_ROUTE_H
8527 # include <net/route.h>
8528 #endif
8529 #ifdef HAVE_NETINET_IN_H
8530 # include <netinet/in.h>
8531 #endif
8532 #ifdef HAVE_NETINET_IN_SYSTM_H
8533 # include <netinet/in_systm.h>
8534 #endif
8535 #ifdef HAVE_NET_IF_H
8536 # include <net/if.h>
8537 #endif
8538 #ifdef HAVE_NETINET_IP_H
8539 # include <netinet/ip.h>
8540 #endif
8542 if test "x$ac_cv_header_net_if_dl_h" = xyes
8543 then :
8544 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8547 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8548 #include <sys/socket.h>
8549 #ifdef HAVE_SYS_SOCKETVAR_H
8550 # include <sys/socketvar.h>
8551 #endif
8552 #ifdef HAVE_NET_ROUTE_H
8553 # include <net/route.h>
8554 #endif
8555 #ifdef HAVE_NETINET_IN_H
8556 # include <netinet/in.h>
8557 #endif
8558 #ifdef HAVE_NETINET_IN_SYSTM_H
8559 # include <netinet/in_systm.h>
8560 #endif
8561 #ifdef HAVE_NET_IF_H
8562 # include <net/if.h>
8563 #endif
8564 #ifdef HAVE_NETINET_IP_H
8565 # include <netinet/ip.h>
8566 #endif
8568 if test "x$ac_cv_header_net_if_types_h" = xyes
8569 then :
8570 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8573 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8574 #include <sys/socket.h>
8575 #ifdef HAVE_SYS_SOCKETVAR_H
8576 # include <sys/socketvar.h>
8577 #endif
8578 #ifdef HAVE_NET_ROUTE_H
8579 # include <net/route.h>
8580 #endif
8581 #ifdef HAVE_NETINET_IN_H
8582 # include <netinet/in.h>
8583 #endif
8584 #ifdef HAVE_NETINET_IN_SYSTM_H
8585 # include <netinet/in_systm.h>
8586 #endif
8587 #ifdef HAVE_NET_IF_H
8588 # include <net/if.h>
8589 #endif
8590 #ifdef HAVE_NETINET_IP_H
8591 # include <netinet/ip.h>
8592 #endif
8594 if test "x$ac_cv_header_net_route_h" = xyes
8595 then :
8596 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8599 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8600 #include <sys/socket.h>
8601 #ifdef HAVE_SYS_SOCKETVAR_H
8602 # include <sys/socketvar.h>
8603 #endif
8604 #ifdef HAVE_NET_ROUTE_H
8605 # include <net/route.h>
8606 #endif
8607 #ifdef HAVE_NETINET_IN_H
8608 # include <netinet/in.h>
8609 #endif
8610 #ifdef HAVE_NETINET_IN_SYSTM_H
8611 # include <netinet/in_systm.h>
8612 #endif
8613 #ifdef HAVE_NET_IF_H
8614 # include <net/if.h>
8615 #endif
8616 #ifdef HAVE_NETINET_IP_H
8617 # include <netinet/ip.h>
8618 #endif
8620 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8621 then :
8622 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8625 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8626 #include <sys/socket.h>
8627 #ifdef HAVE_SYS_SOCKETVAR_H
8628 # include <sys/socketvar.h>
8629 #endif
8630 #ifdef HAVE_NET_ROUTE_H
8631 # include <net/route.h>
8632 #endif
8633 #ifdef HAVE_NETINET_IN_H
8634 # include <netinet/in.h>
8635 #endif
8636 #ifdef HAVE_NETINET_IN_SYSTM_H
8637 # include <netinet/in_systm.h>
8638 #endif
8639 #ifdef HAVE_NET_IF_H
8640 # include <net/if.h>
8641 #endif
8642 #ifdef HAVE_NETINET_IP_H
8643 # include <netinet/ip.h>
8644 #endif
8646 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8647 then :
8648 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8651 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8652 #include <sys/socket.h>
8653 #ifdef HAVE_SYS_SOCKETVAR_H
8654 # include <sys/socketvar.h>
8655 #endif
8656 #ifdef HAVE_NET_ROUTE_H
8657 # include <net/route.h>
8658 #endif
8659 #ifdef HAVE_NETINET_IN_H
8660 # include <netinet/in.h>
8661 #endif
8662 #ifdef HAVE_NETINET_IN_SYSTM_H
8663 # include <netinet/in_systm.h>
8664 #endif
8665 #ifdef HAVE_NET_IF_H
8666 # include <net/if.h>
8667 #endif
8668 #ifdef HAVE_NETINET_IP_H
8669 # include <netinet/ip.h>
8670 #endif
8672 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8673 then :
8674 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8677 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8678 #include <sys/socket.h>
8679 #ifdef HAVE_SYS_SOCKETVAR_H
8680 # include <sys/socketvar.h>
8681 #endif
8682 #ifdef HAVE_NET_ROUTE_H
8683 # include <net/route.h>
8684 #endif
8685 #ifdef HAVE_NETINET_IN_H
8686 # include <netinet/in.h>
8687 #endif
8688 #ifdef HAVE_NETINET_IN_SYSTM_H
8689 # include <netinet/in_systm.h>
8690 #endif
8691 #ifdef HAVE_NET_IF_H
8692 # include <net/if.h>
8693 #endif
8694 #ifdef HAVE_NETINET_IP_H
8695 # include <netinet/ip.h>
8696 #endif
8698 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8699 then :
8700 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8703 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8704 #include <sys/socket.h>
8705 #ifdef HAVE_SYS_SOCKETVAR_H
8706 # include <sys/socketvar.h>
8707 #endif
8708 #ifdef HAVE_NET_ROUTE_H
8709 # include <net/route.h>
8710 #endif
8711 #ifdef HAVE_NETINET_IN_H
8712 # include <netinet/in.h>
8713 #endif
8714 #ifdef HAVE_NETINET_IN_SYSTM_H
8715 # include <netinet/in_systm.h>
8716 #endif
8717 #ifdef HAVE_NET_IF_H
8718 # include <net/if.h>
8719 #endif
8720 #ifdef HAVE_NETINET_IP_H
8721 # include <netinet/ip.h>
8722 #endif
8724 if test "x$ac_cv_header_netinet_udp_h" = xyes
8725 then :
8726 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8729 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8730 #include <sys/socket.h>
8731 #ifdef HAVE_SYS_SOCKETVAR_H
8732 # include <sys/socketvar.h>
8733 #endif
8734 #ifdef HAVE_NET_ROUTE_H
8735 # include <net/route.h>
8736 #endif
8737 #ifdef HAVE_NETINET_IN_H
8738 # include <netinet/in.h>
8739 #endif
8740 #ifdef HAVE_NETINET_IN_SYSTM_H
8741 # include <netinet/in_systm.h>
8742 #endif
8743 #ifdef HAVE_NET_IF_H
8744 # include <net/if.h>
8745 #endif
8746 #ifdef HAVE_NETINET_IP_H
8747 # include <netinet/ip.h>
8748 #endif
8750 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8751 then :
8752 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8755 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8756 #include <sys/socket.h>
8757 #ifdef HAVE_SYS_SOCKETVAR_H
8758 # include <sys/socketvar.h>
8759 #endif
8760 #ifdef HAVE_NET_ROUTE_H
8761 # include <net/route.h>
8762 #endif
8763 #ifdef HAVE_NETINET_IN_H
8764 # include <netinet/in.h>
8765 #endif
8766 #ifdef HAVE_NETINET_IN_SYSTM_H
8767 # include <netinet/in_systm.h>
8768 #endif
8769 #ifdef HAVE_NET_IF_H
8770 # include <net/if.h>
8771 #endif
8772 #ifdef HAVE_NETINET_IP_H
8773 # include <netinet/ip.h>
8774 #endif
8776 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8777 then :
8778 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8781 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8782 #include <sys/socket.h>
8783 #ifdef HAVE_SYS_SOCKETVAR_H
8784 # include <sys/socketvar.h>
8785 #endif
8786 #ifdef HAVE_NET_ROUTE_H
8787 # include <net/route.h>
8788 #endif
8789 #ifdef HAVE_NETINET_IN_H
8790 # include <netinet/in.h>
8791 #endif
8792 #ifdef HAVE_NETINET_IN_SYSTM_H
8793 # include <netinet/in_systm.h>
8794 #endif
8795 #ifdef HAVE_NET_IF_H
8796 # include <net/if.h>
8797 #endif
8798 #ifdef HAVE_NETINET_IP_H
8799 # include <netinet/ip.h>
8800 #endif
8802 if test "x$ac_cv_header_sys_un_h" = xyes
8803 then :
8804 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8809 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8810 #include <sys/socket.h>
8811 #ifdef HAVE_SYS_SOCKETVAR_H
8812 # include <sys/socketvar.h>
8813 #endif
8814 #ifdef HAVE_NETINET_IN_H
8815 # include <netinet/in.h>
8816 #endif
8817 #ifdef HAVE_NETINET_IN_SYSTM_H
8818 # include <netinet/in_systm.h>
8819 #endif
8820 #ifdef HAVE_NETINET_IP_H
8821 # include <netinet/ip.h>
8822 #endif
8823 #ifdef HAVE_NETINET_IP_VAR_H
8824 # include <netinet/ip_var.h>
8825 #endif
8826 #ifdef HAVE_NETINET_IP_ICMP_H
8827 # include <netinet/ip_icmp.h>
8828 #endif
8829 #ifdef HAVE_NETINET_UDP_H
8830 # include <netinet/udp.h>
8831 #endif
8832 #ifdef HAVE_NETINET_TCP_H
8833 # include <netinet/tcp.h>
8834 #endif
8836 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8837 then :
8838 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8841 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8842 #include <sys/socket.h>
8843 #ifdef HAVE_SYS_SOCKETVAR_H
8844 # include <sys/socketvar.h>
8845 #endif
8846 #ifdef HAVE_NETINET_IN_H
8847 # include <netinet/in.h>
8848 #endif
8849 #ifdef HAVE_NETINET_IN_SYSTM_H
8850 # include <netinet/in_systm.h>
8851 #endif
8852 #ifdef HAVE_NETINET_IP_H
8853 # include <netinet/ip.h>
8854 #endif
8855 #ifdef HAVE_NETINET_IP_VAR_H
8856 # include <netinet/ip_var.h>
8857 #endif
8858 #ifdef HAVE_NETINET_IP_ICMP_H
8859 # include <netinet/ip_icmp.h>
8860 #endif
8861 #ifdef HAVE_NETINET_UDP_H
8862 # include <netinet/udp.h>
8863 #endif
8864 #ifdef HAVE_NETINET_TCP_H
8865 # include <netinet/tcp.h>
8866 #endif
8868 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8869 then :
8870 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8873 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8874 #include <sys/socket.h>
8875 #ifdef HAVE_SYS_SOCKETVAR_H
8876 # include <sys/socketvar.h>
8877 #endif
8878 #ifdef HAVE_NETINET_IN_H
8879 # include <netinet/in.h>
8880 #endif
8881 #ifdef HAVE_NETINET_IN_SYSTM_H
8882 # include <netinet/in_systm.h>
8883 #endif
8884 #ifdef HAVE_NETINET_IP_H
8885 # include <netinet/ip.h>
8886 #endif
8887 #ifdef HAVE_NETINET_IP_VAR_H
8888 # include <netinet/ip_var.h>
8889 #endif
8890 #ifdef HAVE_NETINET_IP_ICMP_H
8891 # include <netinet/ip_icmp.h>
8892 #endif
8893 #ifdef HAVE_NETINET_UDP_H
8894 # include <netinet/udp.h>
8895 #endif
8896 #ifdef HAVE_NETINET_TCP_H
8897 # include <netinet/tcp.h>
8898 #endif
8900 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8901 then :
8902 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8905 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8906 #include <sys/socket.h>
8907 #ifdef HAVE_SYS_SOCKETVAR_H
8908 # include <sys/socketvar.h>
8909 #endif
8910 #ifdef HAVE_NETINET_IN_H
8911 # include <netinet/in.h>
8912 #endif
8913 #ifdef HAVE_NETINET_IN_SYSTM_H
8914 # include <netinet/in_systm.h>
8915 #endif
8916 #ifdef HAVE_NETINET_IP_H
8917 # include <netinet/ip.h>
8918 #endif
8919 #ifdef HAVE_NETINET_IP_VAR_H
8920 # include <netinet/ip_var.h>
8921 #endif
8922 #ifdef HAVE_NETINET_IP_ICMP_H
8923 # include <netinet/ip_icmp.h>
8924 #endif
8925 #ifdef HAVE_NETINET_UDP_H
8926 # include <netinet/udp.h>
8927 #endif
8928 #ifdef HAVE_NETINET_TCP_H
8929 # include <netinet/tcp.h>
8930 #endif
8932 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8933 then :
8934 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8939 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8940 #include <sys/socket.h>
8941 #ifdef HAVE_ASM_TYPES_H
8942 # include <asm/types.h>
8943 #endif
8944 #ifdef HAVE_LINUX_TYPES_H
8945 # include <linux/types.h>
8946 #endif
8948 if test "x$ac_cv_header_linux_ipx_h" = xyes
8949 then :
8950 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8953 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8954 #include <sys/socket.h>
8955 #ifdef HAVE_ASM_TYPES_H
8956 # include <asm/types.h>
8957 #endif
8958 #ifdef HAVE_LINUX_TYPES_H
8959 # include <linux/types.h>
8960 #endif
8962 if test "x$ac_cv_header_linux_irda_h" = xyes
8963 then :
8964 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8967 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8968 #include <sys/socket.h>
8969 #ifdef HAVE_ASM_TYPES_H
8970 # include <asm/types.h>
8971 #endif
8972 #ifdef HAVE_LINUX_TYPES_H
8973 # include <linux/types.h>
8974 #endif
8976 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8977 then :
8978 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8983 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8984 #include <sys/socket.h>
8985 #ifdef HAVE_NETINET_IN_H
8986 # include <netinet/in.h>
8987 #endif
8988 #ifdef HAVE_ARPA_NAMESER_H
8989 # include <arpa/nameser.h>
8990 #endif
8992 if test "x$ac_cv_header_resolv_h" = xyes
8993 then :
8994 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
8999 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9001 if test "x$ac_cv_header_ifaddrs_h" = xyes
9002 then :
9003 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9008 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9010 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9011 then :
9012 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9017 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9018 #ifdef HAVE_SYS_UCONTEXT_H
9019 #include <sys/ucontext.h>
9020 #endif
9022 if test "x$ac_cv_header_sys_thr_h" = xyes
9023 then :
9024 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9029 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9030 #include <pthread.h>
9031 #endif
9033 if test "x$ac_cv_header_pthread_np_h" = xyes
9034 then :
9035 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9040 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9041 #include <sys/types.h>
9042 #ifdef HAVE_ASM_TYPES_H
9043 #include <asm/types.h>
9044 #endif
9046 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9047 then :
9048 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9053 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9054 #include <sys/param.h>
9055 #endif
9056 #include <sys/socket.h>
9057 #ifdef HAVE_SYS_QUEUE_H
9058 #include <sys/queue.h>
9059 #endif
9061 if test "x$ac_cv_header_libprocstat_h" = xyes
9062 then :
9063 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9068 if test "x$ac_cv_header_sys_xattr_h" = xyes
9069 then
9070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9071 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9072 if test ${wine_cv_xattr_extra_args+y}
9073 then :
9074 printf %s "(cached) " >&6
9075 else $as_nop
9076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9077 /* end confdefs.h. */
9078 #include <sys/xattr.h>
9080 main (void)
9082 getxattr("", "", "", 0, 0, 0);
9084 return 0;
9086 _ACEOF
9087 if ac_fn_c_try_compile "$LINENO"
9088 then :
9089 wine_cv_xattr_extra_args=yes
9090 else $as_nop
9091 wine_cv_xattr_extra_args=no
9093 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9096 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9097 test $wine_cv_xattr_extra_args != yes ||
9098 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9103 DLLFLAGS=""
9105 LDDLLFLAGS=""
9107 LDEXECFLAGS=""
9109 EXTRACFLAGS=""
9111 UNIXDLLFLAGS="-fPIC"
9113 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9115 TOP_INSTALL_LIB=""
9117 TOP_INSTALL_DEV=""
9119 WINELOADER_LDFLAGS=""
9121 WINEPRELOADER_LDFLAGS=""
9123 DLLEXT=".so"
9125 LIBEXT="so"
9126 # Extract the first word of "ldd", so it can be a program name with args.
9127 set dummy ldd; ac_word=$2
9128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9129 printf %s "checking for $ac_word... " >&6; }
9130 if test ${ac_cv_path_LDD+y}
9131 then :
9132 printf %s "(cached) " >&6
9133 else $as_nop
9134 case $LDD in
9135 [\\/]* | ?:[\\/]*)
9136 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9140 as_dummy="/sbin:/usr/sbin:$PATH"
9141 for as_dir in $as_dummy
9143 IFS=$as_save_IFS
9144 case $as_dir in #(((
9145 '') as_dir=./ ;;
9146 */) ;;
9147 *) as_dir=$as_dir/ ;;
9148 esac
9149 for ac_exec_ext in '' $ac_executable_extensions; do
9150 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9151 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9152 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9153 break 2
9155 done
9156 done
9157 IFS=$as_save_IFS
9159 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9161 esac
9163 LDD=$ac_cv_path_LDD
9164 if test -n "$LDD"; then
9165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9166 printf "%s\n" "$LDD" >&6; }
9167 else
9168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9169 printf "%s\n" "no" >&6; }
9173 if test -n "$ac_tool_prefix"; then
9174 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9175 set dummy ${ac_tool_prefix}otool; ac_word=$2
9176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9177 printf %s "checking for $ac_word... " >&6; }
9178 if test ${ac_cv_prog_OTOOL+y}
9179 then :
9180 printf %s "(cached) " >&6
9181 else $as_nop
9182 if test -n "$OTOOL"; then
9183 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9184 else
9185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9186 for as_dir in $PATH
9188 IFS=$as_save_IFS
9189 case $as_dir in #(((
9190 '') as_dir=./ ;;
9191 */) ;;
9192 *) as_dir=$as_dir/ ;;
9193 esac
9194 for ac_exec_ext in '' $ac_executable_extensions; do
9195 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9196 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9197 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9198 break 2
9200 done
9201 done
9202 IFS=$as_save_IFS
9206 OTOOL=$ac_cv_prog_OTOOL
9207 if test -n "$OTOOL"; then
9208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9209 printf "%s\n" "$OTOOL" >&6; }
9210 else
9211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9212 printf "%s\n" "no" >&6; }
9217 if test -z "$ac_cv_prog_OTOOL"; then
9218 ac_ct_OTOOL=$OTOOL
9219 # Extract the first word of "otool", so it can be a program name with args.
9220 set dummy otool; ac_word=$2
9221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9222 printf %s "checking for $ac_word... " >&6; }
9223 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9224 then :
9225 printf %s "(cached) " >&6
9226 else $as_nop
9227 if test -n "$ac_ct_OTOOL"; then
9228 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9229 else
9230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9231 for as_dir in $PATH
9233 IFS=$as_save_IFS
9234 case $as_dir in #(((
9235 '') as_dir=./ ;;
9236 */) ;;
9237 *) as_dir=$as_dir/ ;;
9238 esac
9239 for ac_exec_ext in '' $ac_executable_extensions; do
9240 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9241 ac_cv_prog_ac_ct_OTOOL="otool"
9242 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9243 break 2
9245 done
9246 done
9247 IFS=$as_save_IFS
9251 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9252 if test -n "$ac_ct_OTOOL"; then
9253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9254 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9255 else
9256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9257 printf "%s\n" "no" >&6; }
9260 if test "x$ac_ct_OTOOL" = x; then
9261 OTOOL="otool"
9262 else
9263 case $cross_compiling:$ac_tool_warned in
9264 yes:)
9265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9266 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9267 ac_tool_warned=yes ;;
9268 esac
9269 OTOOL=$ac_ct_OTOOL
9271 else
9272 OTOOL="$ac_cv_prog_OTOOL"
9275 if test -n "$ac_tool_prefix"; then
9276 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9277 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9279 printf %s "checking for $ac_word... " >&6; }
9280 if test ${ac_cv_prog_READELF+y}
9281 then :
9282 printf %s "(cached) " >&6
9283 else $as_nop
9284 if test -n "$READELF"; then
9285 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9286 else
9287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9288 for as_dir in $PATH
9290 IFS=$as_save_IFS
9291 case $as_dir in #(((
9292 '') as_dir=./ ;;
9293 */) ;;
9294 *) as_dir=$as_dir/ ;;
9295 esac
9296 for ac_exec_ext in '' $ac_executable_extensions; do
9297 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9298 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9299 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9300 break 2
9302 done
9303 done
9304 IFS=$as_save_IFS
9308 READELF=$ac_cv_prog_READELF
9309 if test -n "$READELF"; then
9310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9311 printf "%s\n" "$READELF" >&6; }
9312 else
9313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9314 printf "%s\n" "no" >&6; }
9319 if test -z "$ac_cv_prog_READELF"; then
9320 ac_ct_READELF=$READELF
9321 # Extract the first word of "readelf", so it can be a program name with args.
9322 set dummy readelf; ac_word=$2
9323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9324 printf %s "checking for $ac_word... " >&6; }
9325 if test ${ac_cv_prog_ac_ct_READELF+y}
9326 then :
9327 printf %s "(cached) " >&6
9328 else $as_nop
9329 if test -n "$ac_ct_READELF"; then
9330 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9331 else
9332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9333 for as_dir in $PATH
9335 IFS=$as_save_IFS
9336 case $as_dir in #(((
9337 '') as_dir=./ ;;
9338 */) ;;
9339 *) as_dir=$as_dir/ ;;
9340 esac
9341 for ac_exec_ext in '' $ac_executable_extensions; do
9342 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9343 ac_cv_prog_ac_ct_READELF="readelf"
9344 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9345 break 2
9347 done
9348 done
9349 IFS=$as_save_IFS
9353 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9354 if test -n "$ac_ct_READELF"; then
9355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9356 printf "%s\n" "$ac_ct_READELF" >&6; }
9357 else
9358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9359 printf "%s\n" "no" >&6; }
9362 if test "x$ac_ct_READELF" = x; then
9363 READELF="true"
9364 else
9365 case $cross_compiling:$ac_tool_warned in
9366 yes:)
9367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9368 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9369 ac_tool_warned=yes ;;
9370 esac
9371 READELF=$ac_ct_READELF
9373 else
9374 READELF="$ac_cv_prog_READELF"
9377 wine_rules="all:"
9378 SUBDIRS=""
9380 DISABLED_SUBDIRS=""
9382 CONFIGURE_TARGETS=""
9385 wine_fn_config_makefile ()
9387 as_fn_append SUBDIRS " \\$as_nl $1"
9388 eval enable=\$$2
9389 case "$enable" in
9390 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9391 *aarch64*|*arm*|*i386*|*x86_64*)
9392 if test -n "$PE_ARCHS"
9393 then
9394 for i in $PE_ARCHS
9396 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9397 done
9398 else
9399 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9400 fi;;
9401 esac
9404 wine_fn_config_symlink ()
9406 ac_links=$@
9407 as_fn_append wine_rules "
9408 $ac_links:
9409 @./config.status \$@"
9410 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9413 case $host_os in
9414 cygwin*|mingw32*)
9415 LIBEXT="dll"
9416 DLLEXT=""
9417 EXTRACFLAGS="-D__WINE_PE_BUILD"
9418 case $host_cpu in
9419 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9420 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9421 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9422 then :
9423 printf %s "(cached) " >&6
9424 else $as_nop
9425 ac_wine_try_cflags_saved=$CFLAGS
9426 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9428 /* end confdefs.h. */
9429 int main(int argc, char **argv) { return 0; }
9430 _ACEOF
9431 if ac_fn_c_try_link "$LINENO"
9432 then :
9433 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9434 else $as_nop
9435 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9437 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9438 conftest$ac_exeext conftest.$ac_ext
9439 CFLAGS=$ac_wine_try_cflags_saved
9441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9442 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9443 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9444 then :
9445 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9446 fi ;;
9447 esac
9448 enable_loader=${enable_loader:-no}
9449 enable_server=${enable_server:-no}
9450 with_x=${with_x:-no}
9451 with_pthread=${with_pthread:-no}
9454 darwin*|macosx*)
9455 LIBEXT="dylib"
9456 DLLFLAGS="$DLLFLAGS -fPIC"
9457 LDDLLFLAGS="-fPIC"
9458 enable_winemac_drv=${enable_winemac_drv:-yes}
9459 CARBON_LIBS="-framework Carbon"
9461 COREFOUNDATION_LIBS="-framework CoreFoundation"
9463 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9465 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9467 METAL_LIBS="-framework Metal"
9469 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9471 CORESERVICES_LIBS="-framework CoreServices"
9473 APPKIT_LIBS="-framework AppKit"
9475 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9477 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9480 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9482 wine_can_build_preloader=yes
9483 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
9484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9485 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9486 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9487 then :
9488 printf %s "(cached) " >&6
9489 else $as_nop
9490 ac_wine_try_cflags_saved=$CFLAGS
9491 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9493 /* end confdefs.h. */
9494 int main(int argc, char **argv) { return 0; }
9495 _ACEOF
9496 if ac_fn_c_try_link "$LINENO"
9497 then :
9498 ac_cv_cflags__Wl__no_new_main__e__main=yes
9499 else $as_nop
9500 ac_cv_cflags__Wl__no_new_main__e__main=no
9502 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9503 conftest$ac_exeext conftest.$ac_ext
9504 CFLAGS=$ac_wine_try_cflags_saved
9506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9507 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9508 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9509 then :
9510 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9512 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9513 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9514 then :
9515 printf %s "(cached) " >&6
9516 else $as_nop
9517 ac_wine_try_cflags_saved=$CFLAGS
9518 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9520 /* end confdefs.h. */
9521 int main(int argc, char **argv) { return 0; }
9522 _ACEOF
9523 if ac_fn_c_try_link "$LINENO"
9524 then :
9525 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9526 else $as_nop
9527 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9529 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9530 conftest$ac_exeext conftest.$ac_ext
9531 CFLAGS=$ac_wine_try_cflags_saved
9533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9534 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9535 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9536 then :
9537 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9538 else $as_nop
9539 wine_can_build_preloader=no
9541 else $as_nop
9542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9543 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9544 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9545 then :
9546 printf %s "(cached) " >&6
9547 else $as_nop
9548 ac_wine_try_cflags_saved=$CFLAGS
9549 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9551 /* end confdefs.h. */
9552 int main(int argc, char **argv) { return 0; }
9553 _ACEOF
9554 if ac_fn_c_try_link "$LINENO"
9555 then :
9556 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9557 else $as_nop
9558 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9560 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9561 conftest$ac_exeext conftest.$ac_ext
9562 CFLAGS=$ac_wine_try_cflags_saved
9564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9565 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9566 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9567 then :
9568 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9569 else $as_nop
9570 wine_can_build_preloader=no
9573 if test "$wine_can_build_preloader" = "yes"
9574 then
9575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9576 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9577 if test ${ac_cv_cflags__Wl__no_pie+y}
9578 then :
9579 printf %s "(cached) " >&6
9580 else $as_nop
9581 ac_wine_try_cflags_saved=$CFLAGS
9582 CFLAGS="$CFLAGS -Wl,-no_pie"
9583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9584 /* end confdefs.h. */
9585 int main(int argc, char **argv) { return 0; }
9586 _ACEOF
9587 if ac_fn_c_try_link "$LINENO"
9588 then :
9589 ac_cv_cflags__Wl__no_pie=yes
9590 else $as_nop
9591 ac_cv_cflags__Wl__no_pie=no
9593 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9594 conftest$ac_exeext conftest.$ac_ext
9595 CFLAGS=$ac_wine_try_cflags_saved
9597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9598 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9599 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9600 then :
9601 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9603 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9604 else
9605 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9608 if test "x$with_coreaudio" != "xno";
9609 then
9610 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9612 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9614 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9615 then
9616 OPENCL_LIBS="-framework OpenCL"
9618 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9622 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9623 ac_ext=m
9624 ac_cpp='$OBJCPP $CPPFLAGS'
9625 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9626 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9627 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9629 ac_ext=m
9630 ac_cpp='$OBJCPP $CPPFLAGS'
9631 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9632 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9633 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9634 if test -n "$ac_tool_prefix"; then
9635 for ac_prog in gcc objcc objc cc CC clang
9637 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9638 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9640 printf %s "checking for $ac_word... " >&6; }
9641 if test ${ac_cv_prog_OBJC+y}
9642 then :
9643 printf %s "(cached) " >&6
9644 else $as_nop
9645 if test -n "$OBJC"; then
9646 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9647 else
9648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9649 for as_dir in $PATH
9651 IFS=$as_save_IFS
9652 case $as_dir in #(((
9653 '') as_dir=./ ;;
9654 */) ;;
9655 *) as_dir=$as_dir/ ;;
9656 esac
9657 for ac_exec_ext in '' $ac_executable_extensions; do
9658 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9659 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9660 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9661 break 2
9663 done
9664 done
9665 IFS=$as_save_IFS
9669 OBJC=$ac_cv_prog_OBJC
9670 if test -n "$OBJC"; then
9671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9672 printf "%s\n" "$OBJC" >&6; }
9673 else
9674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9675 printf "%s\n" "no" >&6; }
9679 test -n "$OBJC" && break
9680 done
9682 if test -z "$OBJC"; then
9683 ac_ct_OBJC=$OBJC
9684 for ac_prog in gcc objcc objc cc CC clang
9686 # Extract the first word of "$ac_prog", so it can be a program name with args.
9687 set dummy $ac_prog; ac_word=$2
9688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9689 printf %s "checking for $ac_word... " >&6; }
9690 if test ${ac_cv_prog_ac_ct_OBJC+y}
9691 then :
9692 printf %s "(cached) " >&6
9693 else $as_nop
9694 if test -n "$ac_ct_OBJC"; then
9695 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9696 else
9697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9698 for as_dir in $PATH
9700 IFS=$as_save_IFS
9701 case $as_dir in #(((
9702 '') as_dir=./ ;;
9703 */) ;;
9704 *) as_dir=$as_dir/ ;;
9705 esac
9706 for ac_exec_ext in '' $ac_executable_extensions; do
9707 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9708 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9709 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9710 break 2
9712 done
9713 done
9714 IFS=$as_save_IFS
9718 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9719 if test -n "$ac_ct_OBJC"; then
9720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9721 printf "%s\n" "$ac_ct_OBJC" >&6; }
9722 else
9723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9724 printf "%s\n" "no" >&6; }
9728 test -n "$ac_ct_OBJC" && break
9729 done
9731 if test "x$ac_ct_OBJC" = x; then
9732 OBJC="gcc"
9733 else
9734 case $cross_compiling:$ac_tool_warned in
9735 yes:)
9736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9737 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9738 ac_tool_warned=yes ;;
9739 esac
9740 OBJC=$ac_ct_OBJC
9744 # Provide some information about the compiler.
9745 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9746 set X $ac_compile
9747 ac_compiler=$2
9748 for ac_option in --version -v -V -qversion; do
9749 { { ac_try="$ac_compiler $ac_option >&5"
9750 case "(($ac_try" in
9751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9752 *) ac_try_echo=$ac_try;;
9753 esac
9754 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9755 printf "%s\n" "$ac_try_echo"; } >&5
9756 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9757 ac_status=$?
9758 if test -s conftest.err; then
9759 sed '10a\
9760 ... rest of stderr output deleted ...
9761 10q' conftest.err >conftest.er1
9762 cat conftest.er1 >&5
9764 rm -f conftest.er1 conftest.err
9765 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9766 test $ac_status = 0; }
9767 done
9769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9770 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9771 if test ${ac_cv_objc_compiler_gnu+y}
9772 then :
9773 printf %s "(cached) " >&6
9774 else $as_nop
9775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9776 /* end confdefs.h. */
9779 main (void)
9781 #ifndef __GNUC__
9782 choke me
9783 #endif
9786 return 0;
9788 _ACEOF
9789 if ac_fn_objc_try_compile "$LINENO"
9790 then :
9791 ac_compiler_gnu=yes
9792 else $as_nop
9793 ac_compiler_gnu=no
9795 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9796 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9800 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9801 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9803 if test $ac_compiler_gnu = yes; then
9804 GOBJC=yes
9805 else
9806 GOBJC=
9808 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9809 ac_save_OBJCFLAGS=$OBJCFLAGS
9810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9811 printf %s "checking whether $OBJC accepts -g... " >&6; }
9812 if test ${ac_cv_prog_objc_g+y}
9813 then :
9814 printf %s "(cached) " >&6
9815 else $as_nop
9816 ac_save_objc_werror_flag=$ac_objc_werror_flag
9817 ac_objc_werror_flag=yes
9818 ac_cv_prog_objc_g=no
9819 OBJCFLAGS="-g"
9820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9821 /* end confdefs.h. */
9824 main (void)
9828 return 0;
9830 _ACEOF
9831 if ac_fn_objc_try_compile "$LINENO"
9832 then :
9833 ac_cv_prog_objc_g=yes
9834 else $as_nop
9835 OBJCFLAGS=""
9836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9837 /* end confdefs.h. */
9840 main (void)
9844 return 0;
9846 _ACEOF
9847 if ac_fn_objc_try_compile "$LINENO"
9848 then :
9850 else $as_nop
9851 ac_objc_werror_flag=$ac_save_objc_werror_flag
9852 OBJCFLAGS="-g"
9853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9854 /* end confdefs.h. */
9857 main (void)
9861 return 0;
9863 _ACEOF
9864 if ac_fn_objc_try_compile "$LINENO"
9865 then :
9866 ac_cv_prog_objc_g=yes
9868 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9870 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9872 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9873 ac_objc_werror_flag=$ac_save_objc_werror_flag
9875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9876 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9877 if test $ac_test_OBJCFLAGS; then
9878 OBJCFLAGS=$ac_save_OBJCFLAGS
9879 elif test $ac_cv_prog_objc_g = yes; then
9880 if test "$GOBJC" = yes; then
9881 OBJCFLAGS="-g -O2"
9882 else
9883 OBJCFLAGS="-g"
9885 else
9886 if test "$GOBJC" = yes; then
9887 OBJCFLAGS="-O2"
9888 else
9889 OBJCFLAGS=
9892 ac_ext=m
9893 ac_cpp='$OBJCPP $CPPFLAGS'
9894 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9895 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9896 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9900 /* end confdefs.h. */
9901 #include <Metal/Metal.h>
9903 main (void)
9905 id<MTLDevice> device; device.registryID;
9907 return 0;
9909 _ACEOF
9910 if ac_fn_objc_try_compile "$LINENO"
9911 then :
9912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9913 printf "%s\n" "yes" >&6; }
9915 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9917 else $as_nop
9918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9919 printf "%s\n" "no" >&6; }
9921 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9922 ac_ext=c
9923 ac_cpp='$CPP $CPPFLAGS'
9924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9929 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9930 WINELOADER_DEPENDS="wine_info.plist"
9934 linux-android*)
9936 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9938 DLLFLAGS="$DLLFLAGS -fPIC"
9939 LDDLLFLAGS="-fPIC"
9940 LDEXECFLAGS="-Wl,-pie"
9941 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9943 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9944 if test ${ac_cv_cflags__Wl__z_defs+y}
9945 then :
9946 printf %s "(cached) " >&6
9947 else $as_nop
9948 ac_wine_try_cflags_saved=$CFLAGS
9949 CFLAGS="$CFLAGS -Wl,-z,defs"
9950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9951 /* end confdefs.h. */
9952 int main(int argc, char **argv) { return 0; }
9953 _ACEOF
9954 if ac_fn_c_try_link "$LINENO"
9955 then :
9956 ac_cv_cflags__Wl__z_defs=yes
9957 else $as_nop
9958 ac_cv_cflags__Wl__z_defs=no
9960 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9961 conftest$ac_exeext conftest.$ac_ext
9962 CFLAGS=$ac_wine_try_cflags_saved
9964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9965 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9966 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9967 then :
9968 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9971 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9972 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9973 then :
9974 printf %s "(cached) " >&6
9975 else $as_nop
9976 ac_wine_try_cflags_saved=$CFLAGS
9977 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9979 /* end confdefs.h. */
9980 int main(int argc, char **argv) { return 0; }
9981 _ACEOF
9982 if ac_fn_c_try_link "$LINENO"
9983 then :
9984 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9985 else $as_nop
9986 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9988 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9989 conftest$ac_exeext conftest.$ac_ext
9990 CFLAGS=$ac_wine_try_cflags_saved
9992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9993 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9994 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9995 then :
9996 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9998 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10001 printf %s "checking for -lEGL... " >&6; }
10002 if test ${ac_cv_lib_soname_EGL+y}
10003 then :
10004 printf %s "(cached) " >&6
10005 else $as_nop
10006 ac_check_soname_save_LIBS=$LIBS
10007 LIBS="-lEGL $LIBS"
10008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10009 /* end confdefs.h. */
10011 /* Override any GCC internal prototype to avoid an error.
10012 Use char because int might match the return type of a GCC
10013 builtin and then its argument prototype would still apply. */
10014 char eglGetProcAddress ();
10016 main (void)
10018 return eglGetProcAddress ();
10020 return 0;
10022 _ACEOF
10023 if ac_fn_c_try_link "$LINENO"
10024 then :
10025 case "$LIBEXT" in
10026 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10027 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'` ;;
10028 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10029 if ${ac_cv_lib_soname_EGL:+false} :
10030 then :
10031 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10032 fi ;;
10033 esac
10034 else $as_nop
10035 ac_cv_lib_soname_EGL=
10037 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10038 conftest$ac_exeext conftest.$ac_ext
10039 LIBS=$ac_check_soname_save_LIBS
10041 if ${ac_cv_lib_soname_EGL:+false} :
10042 then :
10043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10044 printf "%s\n" "not found" >&6; }
10046 else $as_nop
10047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10048 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10050 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10055 printf %s "checking for -lGLESv2... " >&6; }
10056 if test ${ac_cv_lib_soname_GLESv2+y}
10057 then :
10058 printf %s "(cached) " >&6
10059 else $as_nop
10060 ac_check_soname_save_LIBS=$LIBS
10061 LIBS="-lGLESv2 $LIBS"
10062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10063 /* end confdefs.h. */
10065 /* Override any GCC internal prototype to avoid an error.
10066 Use char because int might match the return type of a GCC
10067 builtin and then its argument prototype would still apply. */
10068 char glFlush ();
10070 main (void)
10072 return glFlush ();
10074 return 0;
10076 _ACEOF
10077 if ac_fn_c_try_link "$LINENO"
10078 then :
10079 case "$LIBEXT" in
10080 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10081 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'` ;;
10082 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10083 if ${ac_cv_lib_soname_GLESv2:+false} :
10084 then :
10085 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10086 fi ;;
10087 esac
10088 else $as_nop
10089 ac_cv_lib_soname_GLESv2=
10091 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10092 conftest$ac_exeext conftest.$ac_ext
10093 LIBS=$ac_check_soname_save_LIBS
10095 if ${ac_cv_lib_soname_GLESv2:+false} :
10096 then :
10097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10098 printf "%s\n" "not found" >&6; }
10100 else $as_nop
10101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10102 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10104 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10109 if test "x$exec_prefix" = xNONE
10110 then
10111 case $host_cpu in
10112 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10113 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10114 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10115 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10116 esac
10122 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10124 test "$ac_cv_sys_file_offset_bits" = 64 &&
10125 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10127 case $host_cpu in
10128 *i[3456789]86*)
10129 DLLFLAGS="$DLLFLAGS -fno-PIC"
10130 LDDLLFLAGS="-fno-PIC"
10131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10132 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10133 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10134 then :
10135 printf %s "(cached) " >&6
10136 else $as_nop
10137 ac_wine_try_cflags_saved=$CFLAGS
10138 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10140 /* end confdefs.h. */
10141 int main(int argc, char **argv) { return 0; }
10142 _ACEOF
10143 if ac_fn_c_try_link "$LINENO"
10144 then :
10145 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10146 else $as_nop
10147 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10149 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10150 conftest$ac_exeext conftest.$ac_ext
10151 CFLAGS=$ac_wine_try_cflags_saved
10153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10154 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10155 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10156 then :
10157 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10161 DLLFLAGS="$DLLFLAGS -fPIC"
10162 LDDLLFLAGS="-fPIC" ;;
10163 esac
10165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10166 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10167 if test ${ac_cv_cflags__Wl__z_defs+y}
10168 then :
10169 printf %s "(cached) " >&6
10170 else $as_nop
10171 ac_wine_try_cflags_saved=$CFLAGS
10172 CFLAGS="$CFLAGS -Wl,-z,defs"
10173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10174 /* end confdefs.h. */
10175 int main(int argc, char **argv) { return 0; }
10176 _ACEOF
10177 if ac_fn_c_try_link "$LINENO"
10178 then :
10179 ac_cv_cflags__Wl__z_defs=yes
10180 else $as_nop
10181 ac_cv_cflags__Wl__z_defs=no
10183 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10184 conftest$ac_exeext conftest.$ac_ext
10185 CFLAGS=$ac_wine_try_cflags_saved
10187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10188 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10189 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10190 then :
10191 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10194 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10195 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10196 then :
10197 printf %s "(cached) " >&6
10198 else $as_nop
10199 ac_wine_try_cflags_saved=$CFLAGS
10200 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10202 /* end confdefs.h. */
10203 int main(int argc, char **argv) { return 0; }
10204 _ACEOF
10205 if ac_fn_c_try_link "$LINENO"
10206 then :
10207 ac_cv_cflags__Wl___export_dynamic=yes
10208 else $as_nop
10209 ac_cv_cflags__Wl___export_dynamic=no
10211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10212 conftest$ac_exeext conftest.$ac_ext
10213 CFLAGS=$ac_wine_try_cflags_saved
10215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10216 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10217 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10218 then :
10219 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10221 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10223 case $host_os in
10224 linux*)
10225 as_fn_append WINELOADER_LDFLAGS " -pie"
10226 case $HOST_ARCH in
10227 i386|arm)
10228 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10231 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10232 if test ${ac_cv_cflags__static_pie+y}
10233 then :
10234 printf %s "(cached) " >&6
10235 else $as_nop
10236 ac_wine_try_cflags_saved=$CFLAGS
10237 CFLAGS="$CFLAGS -static-pie"
10238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10239 /* end confdefs.h. */
10240 int main(int argc, char **argv) { return 0; }
10241 _ACEOF
10242 if ac_fn_c_try_link "$LINENO"
10243 then :
10244 ac_cv_cflags__static_pie=yes
10245 else $as_nop
10246 ac_cv_cflags__static_pie=no
10248 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10249 conftest$ac_exeext conftest.$ac_ext
10250 CFLAGS=$ac_wine_try_cflags_saved
10252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10253 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10254 if test "x$ac_cv_cflags__static_pie" = xyes
10255 then :
10256 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10257 else $as_nop
10258 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10261 esac
10264 case $HOST_ARCH in
10265 i386|arm)
10266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10267 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10268 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10269 then :
10270 printf %s "(cached) " >&6
10271 else $as_nop
10272 ac_wine_try_cflags_saved=$CFLAGS
10273 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10275 /* end confdefs.h. */
10276 int main(int argc, char **argv) { return 0; }
10277 _ACEOF
10278 if ac_fn_c_try_link "$LINENO"
10279 then :
10280 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10281 else $as_nop
10282 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10284 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10285 conftest$ac_exeext conftest.$ac_ext
10286 CFLAGS=$ac_wine_try_cflags_saved
10288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10289 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10290 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10291 then :
10292 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10293 else $as_nop
10294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10295 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10296 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10297 then :
10298 printf %s "(cached) " >&6
10299 else $as_nop
10300 ac_wine_try_cflags_saved=$CFLAGS
10301 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10303 /* end confdefs.h. */
10304 int main(int argc, char **argv) { return 0; }
10305 _ACEOF
10306 if ac_fn_c_try_link "$LINENO"
10307 then :
10308 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10309 else $as_nop
10310 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10312 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10313 conftest$ac_exeext conftest.$ac_ext
10314 CFLAGS=$ac_wine_try_cflags_saved
10316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10317 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10318 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10319 then :
10320 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10325 as_fn_append WINELOADER_LDFLAGS " -pie"
10327 esac
10329 esac
10331 esac
10333 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10334 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10335 enable_winemac_drv=${enable_winemac_drv:-no}
10337 PE_ARCHS=""
10339 cross_archs=
10340 if test ${enable_archs+y}
10341 then :
10342 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10343 ac_save_IFS=$IFS
10344 IFS=' ,'
10345 set x $enable_archs
10346 IFS=$ac_save_IFS
10347 shift
10348 for arch
10350 case $arch in
10351 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10352 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10353 esac
10354 done
10355 else $as_nop
10356 if test "x$with_mingw" != xno
10357 then
10358 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10362 for wine_arch in $cross_archs
10364 case "x$with_mingw" in
10365 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10366 esac
10367 if eval \${${wine_arch}_CC:+false} :
10368 then :
10369 case $wine_arch in
10370 aarch64)
10371 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10373 # Extract the first word of "$ac_prog", so it can be a program name with args.
10374 set dummy $ac_prog; ac_word=$2
10375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10376 printf %s "checking for $ac_word... " >&6; }
10377 if test ${ac_cv_prog_aarch64_CC+y}
10378 then :
10379 printf %s "(cached) " >&6
10380 else $as_nop
10381 if test -n "$aarch64_CC"; then
10382 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10383 else
10384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10385 for as_dir in $PATH
10387 IFS=$as_save_IFS
10388 case $as_dir in #(((
10389 '') as_dir=./ ;;
10390 */) ;;
10391 *) as_dir=$as_dir/ ;;
10392 esac
10393 for ac_exec_ext in '' $ac_executable_extensions; do
10394 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10395 ac_cv_prog_aarch64_CC="$ac_prog"
10396 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10397 break 2
10399 done
10400 done
10401 IFS=$as_save_IFS
10405 aarch64_CC=$ac_cv_prog_aarch64_CC
10406 if test -n "$aarch64_CC"; then
10407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10408 printf "%s\n" "$aarch64_CC" >&6; }
10409 else
10410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10411 printf "%s\n" "no" >&6; }
10415 test -n "$aarch64_CC" && break
10416 done
10417 test -n "$aarch64_CC" || aarch64_CC="false"
10420 arm)
10421 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10423 # Extract the first word of "$ac_prog", so it can be a program name with args.
10424 set dummy $ac_prog; ac_word=$2
10425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10426 printf %s "checking for $ac_word... " >&6; }
10427 if test ${ac_cv_prog_arm_CC+y}
10428 then :
10429 printf %s "(cached) " >&6
10430 else $as_nop
10431 if test -n "$arm_CC"; then
10432 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10433 else
10434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10435 for as_dir in $PATH
10437 IFS=$as_save_IFS
10438 case $as_dir in #(((
10439 '') as_dir=./ ;;
10440 */) ;;
10441 *) as_dir=$as_dir/ ;;
10442 esac
10443 for ac_exec_ext in '' $ac_executable_extensions; do
10444 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10445 ac_cv_prog_arm_CC="$ac_prog"
10446 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10447 break 2
10449 done
10450 done
10451 IFS=$as_save_IFS
10455 arm_CC=$ac_cv_prog_arm_CC
10456 if test -n "$arm_CC"; then
10457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10458 printf "%s\n" "$arm_CC" >&6; }
10459 else
10460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10461 printf "%s\n" "no" >&6; }
10465 test -n "$arm_CC" && break
10466 done
10467 test -n "$arm_CC" || arm_CC="false"
10470 i386)
10471 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 "
10472 for ac_prog in $ac_prefix_list clang
10474 # Extract the first word of "$ac_prog", so it can be a program name with args.
10475 set dummy $ac_prog; ac_word=$2
10476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10477 printf %s "checking for $ac_word... " >&6; }
10478 if test ${ac_cv_prog_i386_CC+y}
10479 then :
10480 printf %s "(cached) " >&6
10481 else $as_nop
10482 if test -n "$i386_CC"; then
10483 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10484 else
10485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10486 for as_dir in $PATH
10488 IFS=$as_save_IFS
10489 case $as_dir in #(((
10490 '') as_dir=./ ;;
10491 */) ;;
10492 *) as_dir=$as_dir/ ;;
10493 esac
10494 for ac_exec_ext in '' $ac_executable_extensions; do
10495 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10496 ac_cv_prog_i386_CC="$ac_prog"
10497 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10498 break 2
10500 done
10501 done
10502 IFS=$as_save_IFS
10506 i386_CC=$ac_cv_prog_i386_CC
10507 if test -n "$i386_CC"; then
10508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10509 printf "%s\n" "$i386_CC" >&6; }
10510 else
10511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10512 printf "%s\n" "no" >&6; }
10516 test -n "$i386_CC" && break
10517 done
10518 test -n "$i386_CC" || i386_CC="false"
10521 x86_64)
10522 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10523 for ac_prog in $ac_prefix_list clang
10525 # Extract the first word of "$ac_prog", so it can be a program name with args.
10526 set dummy $ac_prog; ac_word=$2
10527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10528 printf %s "checking for $ac_word... " >&6; }
10529 if test ${ac_cv_prog_x86_64_CC+y}
10530 then :
10531 printf %s "(cached) " >&6
10532 else $as_nop
10533 if test -n "$x86_64_CC"; then
10534 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10535 else
10536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10537 for as_dir in $PATH
10539 IFS=$as_save_IFS
10540 case $as_dir in #(((
10541 '') as_dir=./ ;;
10542 */) ;;
10543 *) as_dir=$as_dir/ ;;
10544 esac
10545 for ac_exec_ext in '' $ac_executable_extensions; do
10546 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10547 ac_cv_prog_x86_64_CC="$ac_prog"
10548 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10549 break 2
10551 done
10552 done
10553 IFS=$as_save_IFS
10557 x86_64_CC=$ac_cv_prog_x86_64_CC
10558 if test -n "$x86_64_CC"; then
10559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10560 printf "%s\n" "$x86_64_CC" >&6; }
10561 else
10562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10563 printf "%s\n" "no" >&6; }
10567 test -n "$x86_64_CC" && break
10568 done
10569 test -n "$x86_64_CC" || x86_64_CC="false"
10572 esac
10575 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10576 then :
10577 continue
10580 saved_CC=$CC
10581 saved_CFLAGS=$CFLAGS
10582 saved_LDFLAGS=$LDFLAGS
10584 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10585 LDFLAGS=$CROSSLDFLAGS
10586 eval CC=\$${wine_arch}_CC
10587 eval ${wine_arch}_CFLAGS=\$CFLAGS
10588 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10589 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10591 target=""
10592 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10595 printf %s "checking whether $CC works... " >&6; }
10596 if eval test \${$as_wine_cv_crosscc+y}
10597 then :
10598 printf %s "(cached) " >&6
10599 else $as_nop
10600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10601 /* end confdefs.h. */
10604 main (void)
10608 return 0;
10610 _ACEOF
10611 if ac_fn_c_try_compile "$LINENO"
10612 then :
10613 eval "$as_wine_cv_crosscc=yes"
10614 else $as_nop
10615 eval "$as_wine_cv_crosscc=no"
10617 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10619 eval ac_res=\$$as_wine_cv_crosscc
10620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10621 printf "%s\n" "$ac_res" >&6; }
10622 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10623 then :
10624 set x $CC
10625 shift
10626 while test $# -ge 1
10628 case "$1" in
10629 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10630 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10631 esac
10632 shift
10633 done
10635 llvm_target=$target
10636 if test -z "$llvm_target"
10637 then
10638 case $wine_arch in
10639 i386) llvm_target=i686-windows ;;
10640 arm) llvm_target=armv7-windows ;;
10641 *) llvm_target=$wine_arch-windows ;;
10642 esac
10644 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10645 case $llvm_target in
10646 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10647 esac
10648 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10650 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10651 if eval test \${$as_ac_var+y}
10652 then :
10653 printf %s "(cached) " >&6
10654 else $as_nop
10655 ac_wine_try_cflags_saved=$CFLAGS
10656 ac_wine_try_cflags_saved_exeext=$ac_exeext
10657 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10658 ac_exeext=".exe"
10659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10660 /* end confdefs.h. */
10661 int __cdecl mainCRTStartup(void) { return 0; }
10662 _ACEOF
10663 if ac_fn_c_try_link "$LINENO"
10664 then :
10665 eval "$as_ac_var=yes"
10666 else $as_nop
10667 eval "$as_ac_var=no"
10669 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10670 conftest$ac_exeext conftest.$ac_ext
10671 CFLAGS=$ac_wine_try_cflags_saved
10672 ac_exeext=$ac_wine_try_cflags_saved_exeext
10674 eval ac_res=\$$as_ac_var
10675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10676 printf "%s\n" "$ac_res" >&6; }
10677 if eval test \"x\$"$as_ac_var"\" = x"yes"
10678 then :
10679 target=$llvm_target
10680 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10681 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10682 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10683 fi }
10684 eval "${wine_arch}_TARGET=\$target"
10688 if test -z "$target"
10689 then
10690 CC=$saved_CC
10691 CFLAGS=$saved_CFLAGS
10692 LDFLAGS=$saved_LDFLAGS
10693 continue
10696 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10699 printf %s "checking for $CC option to enable C99 features... " >&6; }
10700 if eval test \${$as_wine_cv_crosscc_c99+y}
10701 then :
10702 printf %s "(cached) " >&6
10703 else $as_nop
10704 eval "$as_wine_cv_crosscc_c99=no"
10705 for arg in '' '-std=gnu99' '-D__STDC__'
10707 test -z "$arg" || CC="$CC $arg"
10708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10709 /* end confdefs.h. */
10710 $ac_c_conftest_c99_program
10711 _ACEOF
10712 if ac_fn_c_try_compile "$LINENO"
10713 then :
10714 eval "$as_wine_cv_crosscc_c99=\$arg"
10715 else $as_nop
10716 eval "$as_wine_cv_crosscc_c99=no"
10718 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10719 eval CC=\$${wine_arch}_CC
10720 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10721 then :
10723 else $as_nop
10724 break
10726 done
10729 eval res=\$$as_wine_cv_crosscc_c99
10731 case "x$res" in
10732 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10733 printf "%s\n" "none needed" >&6; } ;;
10734 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10735 printf "%s\n" "unsupported" >&6; }
10736 CC=$saved_CC
10737 CFLAGS=$saved_CFLAGS
10738 LDFLAGS=$saved_LDFLAGS
10739 continue
10741 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10742 printf "%s\n" "$res" >&6; }
10743 as_fn_append ${wine_arch}_CC " $res" ;;
10744 esac
10746 as_fn_append PE_ARCHS " $wine_arch"
10747 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10749 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10750 if eval test \${$as_ac_var+y}
10751 then :
10752 printf %s "(cached) " >&6
10753 else $as_nop
10754 ac_wine_try_cflags_saved=$CFLAGS
10755 ac_wine_try_cflags_saved_exeext=$ac_exeext
10756 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10757 ac_exeext=".exe"
10758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10759 /* end confdefs.h. */
10760 int __cdecl mainCRTStartup(void) { return 0; }
10761 _ACEOF
10762 if ac_fn_c_try_link "$LINENO"
10763 then :
10764 eval "$as_ac_var=yes"
10765 else $as_nop
10766 eval "$as_ac_var=no"
10768 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10769 conftest$ac_exeext conftest.$ac_ext
10770 CFLAGS=$ac_wine_try_cflags_saved
10771 ac_exeext=$ac_wine_try_cflags_saved_exeext
10773 eval ac_res=\$$as_ac_var
10774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10775 printf "%s\n" "$ac_res" >&6; }
10776 if eval test \"x\$"$as_ac_var"\" = x"yes"
10777 then :
10778 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10779 fi }
10780 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10782 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10783 if eval test \${$as_ac_var+y}
10784 then :
10785 printf %s "(cached) " >&6
10786 else $as_nop
10787 ac_wine_try_cflags_saved=$CFLAGS
10788 ac_wine_try_cflags_saved_exeext=$ac_exeext
10789 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10790 ac_exeext=".exe"
10791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10792 /* end confdefs.h. */
10793 int __cdecl mainCRTStartup(void) { return 0; }
10794 _ACEOF
10795 if ac_fn_c_try_link "$LINENO"
10796 then :
10797 eval "$as_ac_var=yes"
10798 else $as_nop
10799 eval "$as_ac_var=no"
10801 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10802 conftest$ac_exeext conftest.$ac_ext
10803 CFLAGS=$ac_wine_try_cflags_saved
10804 ac_exeext=$ac_wine_try_cflags_saved_exeext
10806 eval ac_res=\$$as_ac_var
10807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10808 printf "%s\n" "$ac_res" >&6; }
10809 if eval test \"x\$"$as_ac_var"\" = x"yes"
10810 then :
10811 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10812 fi }
10813 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10815 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10816 if eval test \${$as_ac_var+y}
10817 then :
10818 printf %s "(cached) " >&6
10819 else $as_nop
10820 ac_wine_try_cflags_saved=$CFLAGS
10821 ac_wine_try_cflags_saved_exeext=$ac_exeext
10822 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10823 ac_exeext=".exe"
10824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10825 /* end confdefs.h. */
10826 int __cdecl mainCRTStartup(void) { return 0; }
10827 _ACEOF
10828 if ac_fn_c_try_link "$LINENO"
10829 then :
10830 eval "$as_ac_var=yes"
10831 else $as_nop
10832 eval "$as_ac_var=no"
10834 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10835 conftest$ac_exeext conftest.$ac_ext
10836 CFLAGS=$ac_wine_try_cflags_saved
10837 ac_exeext=$ac_wine_try_cflags_saved_exeext
10839 eval ac_res=\$$as_ac_var
10840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10841 printf "%s\n" "$ac_res" >&6; }
10842 if eval test \"x\$"$as_ac_var"\" = x"yes"
10843 then :
10844 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10845 fi }
10846 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10848 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10849 if eval test \${$as_ac_var+y}
10850 then :
10851 printf %s "(cached) " >&6
10852 else $as_nop
10853 ac_wine_try_cflags_saved=$CFLAGS
10854 ac_wine_try_cflags_saved_exeext=$ac_exeext
10855 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10856 ac_exeext=".exe"
10857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10858 /* end confdefs.h. */
10859 int __cdecl mainCRTStartup(void) { return 0; }
10860 _ACEOF
10861 if ac_fn_c_try_link "$LINENO"
10862 then :
10863 eval "$as_ac_var=yes"
10864 else $as_nop
10865 eval "$as_ac_var=no"
10867 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10868 conftest$ac_exeext conftest.$ac_ext
10869 CFLAGS=$ac_wine_try_cflags_saved
10870 ac_exeext=$ac_wine_try_cflags_saved_exeext
10872 eval ac_res=\$$as_ac_var
10873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10874 printf "%s\n" "$ac_res" >&6; }
10875 if eval test \"x\$"$as_ac_var"\" = x"yes"
10876 then :
10877 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10878 fi }
10879 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10881 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10882 if eval test \${$as_ac_var+y}
10883 then :
10884 printf %s "(cached) " >&6
10885 else $as_nop
10886 ac_wine_try_cflags_saved=$CFLAGS
10887 ac_wine_try_cflags_saved_exeext=$ac_exeext
10888 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10889 ac_exeext=".exe"
10890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10891 /* end confdefs.h. */
10892 int __cdecl mainCRTStartup(void) { return 0; }
10893 _ACEOF
10894 if ac_fn_c_try_link "$LINENO"
10895 then :
10896 eval "$as_ac_var=yes"
10897 else $as_nop
10898 eval "$as_ac_var=no"
10900 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10901 conftest$ac_exeext conftest.$ac_ext
10902 CFLAGS=$ac_wine_try_cflags_saved
10903 ac_exeext=$ac_wine_try_cflags_saved_exeext
10905 eval ac_res=\$$as_ac_var
10906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10907 printf "%s\n" "$ac_res" >&6; }
10908 if eval test \"x\$"$as_ac_var"\" = x"yes"
10909 then :
10910 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10911 fi }
10912 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10914 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10915 if eval test \${$as_ac_var+y}
10916 then :
10917 printf %s "(cached) " >&6
10918 else $as_nop
10919 ac_wine_try_cflags_saved=$CFLAGS
10920 ac_wine_try_cflags_saved_exeext=$ac_exeext
10921 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10922 ac_exeext=".exe"
10923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10924 /* end confdefs.h. */
10925 int __cdecl mainCRTStartup(void) { return 0; }
10926 _ACEOF
10927 if ac_fn_c_try_link "$LINENO"
10928 then :
10929 eval "$as_ac_var=yes"
10930 else $as_nop
10931 eval "$as_ac_var=no"
10933 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10934 conftest$ac_exeext conftest.$ac_ext
10935 CFLAGS=$ac_wine_try_cflags_saved
10936 ac_exeext=$ac_wine_try_cflags_saved_exeext
10938 eval ac_res=\$$as_ac_var
10939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10940 printf "%s\n" "$ac_res" >&6; }
10941 if eval test \"x\$"$as_ac_var"\" = x"yes"
10942 then :
10943 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10944 fi }
10945 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10947 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10948 if eval test \${$as_ac_var+y}
10949 then :
10950 printf %s "(cached) " >&6
10951 else $as_nop
10952 ac_wine_try_cflags_saved=$CFLAGS
10953 ac_wine_try_cflags_saved_exeext=$ac_exeext
10954 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10955 ac_exeext=".exe"
10956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10957 /* end confdefs.h. */
10958 int __cdecl mainCRTStartup(void) { return 0; }
10959 _ACEOF
10960 if ac_fn_c_try_link "$LINENO"
10961 then :
10962 eval "$as_ac_var=yes"
10963 else $as_nop
10964 eval "$as_ac_var=no"
10966 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10967 conftest$ac_exeext conftest.$ac_ext
10968 CFLAGS=$ac_wine_try_cflags_saved
10969 ac_exeext=$ac_wine_try_cflags_saved_exeext
10971 eval ac_res=\$$as_ac_var
10972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10973 printf "%s\n" "$ac_res" >&6; }
10974 if eval test \"x\$"$as_ac_var"\" = x"yes"
10975 then :
10976 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10977 fi }
10978 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
10979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10980 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10981 if eval test \${$as_ac_var+y}
10982 then :
10983 printf %s "(cached) " >&6
10984 else $as_nop
10985 ac_wine_try_cflags_saved=$CFLAGS
10986 ac_wine_try_cflags_saved_exeext=$ac_exeext
10987 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10988 ac_exeext=".exe"
10989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10990 /* end confdefs.h. */
10991 int __cdecl mainCRTStartup(void) { return 0; }
10992 _ACEOF
10993 if ac_fn_c_try_link "$LINENO"
10994 then :
10995 eval "$as_ac_var=yes"
10996 else $as_nop
10997 eval "$as_ac_var=no"
10999 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11000 conftest$ac_exeext conftest.$ac_ext
11001 CFLAGS=$ac_wine_try_cflags_saved
11002 ac_exeext=$ac_wine_try_cflags_saved_exeext
11004 eval ac_res=\$$as_ac_var
11005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11006 printf "%s\n" "$ac_res" >&6; }
11007 if eval test \"x\$"$as_ac_var"\" = x"yes"
11008 then :
11009 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11010 fi }
11011 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11013 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11014 if eval test \${$as_ac_var+y}
11015 then :
11016 printf %s "(cached) " >&6
11017 else $as_nop
11018 ac_wine_try_cflags_saved=$CFLAGS
11019 ac_wine_try_cflags_saved_exeext=$ac_exeext
11020 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11021 ac_exeext=".exe"
11022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11023 /* end confdefs.h. */
11024 int __cdecl mainCRTStartup(void) { return 0; }
11025 _ACEOF
11026 if ac_fn_c_try_link "$LINENO"
11027 then :
11028 eval "$as_ac_var=yes"
11029 else $as_nop
11030 eval "$as_ac_var=no"
11032 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11033 conftest$ac_exeext conftest.$ac_ext
11034 CFLAGS=$ac_wine_try_cflags_saved
11035 ac_exeext=$ac_wine_try_cflags_saved_exeext
11037 eval ac_res=\$$as_ac_var
11038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11039 printf "%s\n" "$ac_res" >&6; }
11040 if eval test \"x\$"$as_ac_var"\" = x"yes"
11041 then :
11042 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11043 fi }
11044 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11046 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11047 if eval test \${$as_ac_var+y}
11048 then :
11049 printf %s "(cached) " >&6
11050 else $as_nop
11051 ac_wine_try_cflags_saved=$CFLAGS
11052 ac_wine_try_cflags_saved_exeext=$ac_exeext
11053 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11054 ac_exeext=".exe"
11055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11056 /* end confdefs.h. */
11057 int __cdecl mainCRTStartup(void) { return 0; }
11058 _ACEOF
11059 if ac_fn_c_try_link "$LINENO"
11060 then :
11061 eval "$as_ac_var=yes"
11062 else $as_nop
11063 eval "$as_ac_var=no"
11065 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11066 conftest$ac_exeext conftest.$ac_ext
11067 CFLAGS=$ac_wine_try_cflags_saved
11068 ac_exeext=$ac_wine_try_cflags_saved_exeext
11070 eval ac_res=\$$as_ac_var
11071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11072 printf "%s\n" "$ac_res" >&6; }
11073 if eval test \"x\$"$as_ac_var"\" = x"yes"
11074 then :
11075 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11076 fi }
11077 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11079 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11080 if eval test \${$as_ac_var+y}
11081 then :
11082 printf %s "(cached) " >&6
11083 else $as_nop
11084 ac_wine_try_cflags_saved=$CFLAGS
11085 ac_wine_try_cflags_saved_exeext=$ac_exeext
11086 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11087 ac_exeext=".exe"
11088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11089 /* end confdefs.h. */
11090 int __cdecl mainCRTStartup(void) { return 0; }
11091 _ACEOF
11092 if ac_fn_c_try_link "$LINENO"
11093 then :
11094 eval "$as_ac_var=yes"
11095 else $as_nop
11096 eval "$as_ac_var=no"
11098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11099 conftest$ac_exeext conftest.$ac_ext
11100 CFLAGS=$ac_wine_try_cflags_saved
11101 ac_exeext=$ac_wine_try_cflags_saved_exeext
11103 eval ac_res=\$$as_ac_var
11104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11105 printf "%s\n" "$ac_res" >&6; }
11106 if eval test \"x\$"$as_ac_var"\" = x"yes"
11107 then :
11108 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11109 fi }
11110 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11112 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11113 if eval test \${$as_ac_var+y}
11114 then :
11115 printf %s "(cached) " >&6
11116 else $as_nop
11117 ac_wine_try_cflags_saved=$CFLAGS
11118 ac_wine_try_cflags_saved_exeext=$ac_exeext
11119 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11120 ac_exeext=".exe"
11121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11122 /* end confdefs.h. */
11123 int __cdecl mainCRTStartup(void) { return 0; }
11124 _ACEOF
11125 if ac_fn_c_try_link "$LINENO"
11126 then :
11127 eval "$as_ac_var=yes"
11128 else $as_nop
11129 eval "$as_ac_var=no"
11131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11132 conftest$ac_exeext conftest.$ac_ext
11133 CFLAGS=$ac_wine_try_cflags_saved
11134 ac_exeext=$ac_wine_try_cflags_saved_exeext
11136 eval ac_res=\$$as_ac_var
11137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11138 printf "%s\n" "$ac_res" >&6; }
11139 if eval test \"x\$"$as_ac_var"\" = x"yes"
11140 then :
11141 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11142 fi }
11143 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11145 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11146 if eval test \${$as_ac_var+y}
11147 then :
11148 printf %s "(cached) " >&6
11149 else $as_nop
11150 ac_wine_try_cflags_saved=$CFLAGS
11151 ac_wine_try_cflags_saved_exeext=$ac_exeext
11152 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11153 ac_exeext=".exe"
11154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11155 /* end confdefs.h. */
11156 int __cdecl mainCRTStartup(void) { return 0; }
11157 _ACEOF
11158 if ac_fn_c_try_link "$LINENO"
11159 then :
11160 eval "$as_ac_var=yes"
11161 else $as_nop
11162 eval "$as_ac_var=no"
11164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11165 conftest$ac_exeext conftest.$ac_ext
11166 CFLAGS=$ac_wine_try_cflags_saved
11167 ac_exeext=$ac_wine_try_cflags_saved_exeext
11169 eval ac_res=\$$as_ac_var
11170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11171 printf "%s\n" "$ac_res" >&6; }
11172 if eval test \"x\$"$as_ac_var"\" = x"yes"
11173 then :
11174 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11175 fi }
11176 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11178 printf %s "checking whether $CC supports -Wvla... " >&6; }
11179 if eval test \${$as_ac_var+y}
11180 then :
11181 printf %s "(cached) " >&6
11182 else $as_nop
11183 ac_wine_try_cflags_saved=$CFLAGS
11184 ac_wine_try_cflags_saved_exeext=$ac_exeext
11185 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11186 ac_exeext=".exe"
11187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11188 /* end confdefs.h. */
11189 int __cdecl mainCRTStartup(void) { return 0; }
11190 _ACEOF
11191 if ac_fn_c_try_link "$LINENO"
11192 then :
11193 eval "$as_ac_var=yes"
11194 else $as_nop
11195 eval "$as_ac_var=no"
11197 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11198 conftest$ac_exeext conftest.$ac_ext
11199 CFLAGS=$ac_wine_try_cflags_saved
11200 ac_exeext=$ac_wine_try_cflags_saved_exeext
11202 eval ac_res=\$$as_ac_var
11203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11204 printf "%s\n" "$ac_res" >&6; }
11205 if eval test \"x\$"$as_ac_var"\" = x"yes"
11206 then :
11207 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11208 fi }
11209 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11211 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11212 if eval test \${$as_ac_var+y}
11213 then :
11214 printf %s "(cached) " >&6
11215 else $as_nop
11216 ac_wine_try_cflags_saved=$CFLAGS
11217 ac_wine_try_cflags_saved_exeext=$ac_exeext
11218 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11219 ac_exeext=".exe"
11220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11221 /* end confdefs.h. */
11222 int __cdecl mainCRTStartup(void) { return 0; }
11223 _ACEOF
11224 if ac_fn_c_try_link "$LINENO"
11225 then :
11226 eval "$as_ac_var=yes"
11227 else $as_nop
11228 eval "$as_ac_var=no"
11230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11231 conftest$ac_exeext conftest.$ac_ext
11232 CFLAGS=$ac_wine_try_cflags_saved
11233 ac_exeext=$ac_wine_try_cflags_saved_exeext
11235 eval ac_res=\$$as_ac_var
11236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11237 printf "%s\n" "$ac_res" >&6; }
11238 if eval test \"x\$"$as_ac_var"\" = x"yes"
11239 then :
11240 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11241 fi }
11242 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11244 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11245 if eval test \${$as_ac_var+y}
11246 then :
11247 printf %s "(cached) " >&6
11248 else $as_nop
11249 ac_wine_try_cflags_saved=$CFLAGS
11250 ac_wine_try_cflags_saved_exeext=$ac_exeext
11251 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11252 ac_exeext=".exe"
11253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11254 /* end confdefs.h. */
11255 int __cdecl mainCRTStartup(void) { return 0; }
11256 _ACEOF
11257 if ac_fn_c_try_link "$LINENO"
11258 then :
11259 eval "$as_ac_var=yes"
11260 else $as_nop
11261 eval "$as_ac_var=no"
11263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11264 conftest$ac_exeext conftest.$ac_ext
11265 CFLAGS=$ac_wine_try_cflags_saved
11266 ac_exeext=$ac_wine_try_cflags_saved_exeext
11268 eval ac_res=\$$as_ac_var
11269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11270 printf "%s\n" "$ac_res" >&6; }
11271 if eval test \"x\$"$as_ac_var"\" = x"yes"
11272 then :
11273 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11274 fi }
11275 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11277 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11278 if eval test \${$as_ac_var+y}
11279 then :
11280 printf %s "(cached) " >&6
11281 else $as_nop
11282 ac_wine_try_cflags_saved=$CFLAGS
11283 ac_wine_try_cflags_saved_exeext=$ac_exeext
11284 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11285 ac_exeext=".exe"
11286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11287 /* end confdefs.h. */
11288 int __cdecl mainCRTStartup(void) { return 0; }
11289 _ACEOF
11290 if ac_fn_c_try_link "$LINENO"
11291 then :
11292 eval "$as_ac_var=yes"
11293 else $as_nop
11294 eval "$as_ac_var=no"
11296 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11297 conftest$ac_exeext conftest.$ac_ext
11298 CFLAGS=$ac_wine_try_cflags_saved
11299 ac_exeext=$ac_wine_try_cflags_saved_exeext
11301 eval ac_res=\$$as_ac_var
11302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11303 printf "%s\n" "$ac_res" >&6; }
11304 if eval test \"x\$"$as_ac_var"\" = x"yes"
11305 then :
11306 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11307 fi }
11308 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11310 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11311 if eval test \${$as_ac_var+y}
11312 then :
11313 printf %s "(cached) " >&6
11314 else $as_nop
11315 ac_wine_try_cflags_saved=$CFLAGS
11316 ac_wine_try_cflags_saved_exeext=$ac_exeext
11317 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11318 ac_exeext=".exe"
11319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11320 /* end confdefs.h. */
11321 int __cdecl mainCRTStartup(void) { return 0; }
11322 _ACEOF
11323 if ac_fn_c_try_link "$LINENO"
11324 then :
11325 eval "$as_ac_var=yes"
11326 else $as_nop
11327 eval "$as_ac_var=no"
11329 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11330 conftest$ac_exeext conftest.$ac_ext
11331 CFLAGS=$ac_wine_try_cflags_saved
11332 ac_exeext=$ac_wine_try_cflags_saved_exeext
11334 eval ac_res=\$$as_ac_var
11335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11336 printf "%s\n" "$ac_res" >&6; }
11337 if eval test \"x\$"$as_ac_var"\" = x"yes"
11338 then :
11339 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11340 fi }
11342 case $wine_arch in
11343 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11345 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11346 if eval test \${$as_ac_var+y}
11347 then :
11348 printf %s "(cached) " >&6
11349 else $as_nop
11350 ac_wine_try_cflags_saved=$CFLAGS
11351 ac_wine_try_cflags_saved_exeext=$ac_exeext
11352 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11353 ac_exeext=".exe"
11354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11355 /* end confdefs.h. */
11356 int __cdecl mainCRTStartup(void) { return 0; }
11357 _ACEOF
11358 if ac_fn_c_try_link "$LINENO"
11359 then :
11360 eval "$as_ac_var=yes"
11361 else $as_nop
11362 eval "$as_ac_var=no"
11364 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11365 conftest$ac_exeext conftest.$ac_ext
11366 CFLAGS=$ac_wine_try_cflags_saved
11367 ac_exeext=$ac_wine_try_cflags_saved_exeext
11369 eval ac_res=\$$as_ac_var
11370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11371 printf "%s\n" "$ac_res" >&6; }
11372 if eval test \"x\$"$as_ac_var"\" = x"yes"
11373 then :
11374 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11375 fi }
11376 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11378 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11379 if eval test \${$as_ac_var+y}
11380 then :
11381 printf %s "(cached) " >&6
11382 else $as_nop
11383 ac_wine_try_cflags_saved=$CFLAGS
11384 ac_wine_try_cflags_saved_exeext=$ac_exeext
11385 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11386 ac_exeext=".exe"
11387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11388 /* end confdefs.h. */
11389 int __cdecl mainCRTStartup(void) { return 0; }
11390 _ACEOF
11391 if ac_fn_c_try_link "$LINENO"
11392 then :
11393 eval "$as_ac_var=yes"
11394 else $as_nop
11395 eval "$as_ac_var=no"
11397 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11398 conftest$ac_exeext conftest.$ac_ext
11399 CFLAGS=$ac_wine_try_cflags_saved
11400 ac_exeext=$ac_wine_try_cflags_saved_exeext
11402 eval ac_res=\$$as_ac_var
11403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11404 printf "%s\n" "$ac_res" >&6; }
11405 if eval test \"x\$"$as_ac_var"\" = x"yes"
11406 then :
11407 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11408 fi } ;;
11409 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11411 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11412 if eval test \${$as_ac_var+y}
11413 then :
11414 printf %s "(cached) " >&6
11415 else $as_nop
11416 ac_wine_try_cflags_saved=$CFLAGS
11417 ac_wine_try_cflags_saved_exeext=$ac_exeext
11418 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11419 ac_exeext=".exe"
11420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11421 /* end confdefs.h. */
11422 int __cdecl mainCRTStartup(void) { return 0; }
11423 _ACEOF
11424 if ac_fn_c_try_link "$LINENO"
11425 then :
11426 eval "$as_ac_var=yes"
11427 else $as_nop
11428 eval "$as_ac_var=no"
11430 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11431 conftest$ac_exeext conftest.$ac_ext
11432 CFLAGS=$ac_wine_try_cflags_saved
11433 ac_exeext=$ac_wine_try_cflags_saved_exeext
11435 eval ac_res=\$$as_ac_var
11436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11437 printf "%s\n" "$ac_res" >&6; }
11438 if eval test \"x\$"$as_ac_var"\" = x"yes"
11439 then :
11440 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11441 fi }
11442 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11444 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11445 if eval test \${$as_ac_var+y}
11446 then :
11447 printf %s "(cached) " >&6
11448 else $as_nop
11449 ac_wine_try_cflags_saved=$CFLAGS
11450 ac_wine_try_cflags_saved_exeext=$ac_exeext
11451 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11452 ac_exeext=".exe"
11453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11454 /* end confdefs.h. */
11455 int __cdecl mainCRTStartup(void) { return 0; }
11456 _ACEOF
11457 if ac_fn_c_try_link "$LINENO"
11458 then :
11459 eval "$as_ac_var=yes"
11460 else $as_nop
11461 eval "$as_ac_var=no"
11463 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11464 conftest$ac_exeext conftest.$ac_ext
11465 CFLAGS=$ac_wine_try_cflags_saved
11466 ac_exeext=$ac_wine_try_cflags_saved_exeext
11468 eval ac_res=\$$as_ac_var
11469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11470 printf "%s\n" "$ac_res" >&6; }
11471 if eval test \"x\$"$as_ac_var"\" = x"yes"
11472 then :
11473 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11474 fi }
11475 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11477 printf %s "checking whether $CC supports -mcx16... " >&6; }
11478 if eval test \${$as_ac_var+y}
11479 then :
11480 printf %s "(cached) " >&6
11481 else $as_nop
11482 ac_wine_try_cflags_saved=$CFLAGS
11483 ac_wine_try_cflags_saved_exeext=$ac_exeext
11484 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11485 ac_exeext=".exe"
11486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11487 /* end confdefs.h. */
11488 int __cdecl mainCRTStartup(void) { return 0; }
11489 _ACEOF
11490 if ac_fn_c_try_link "$LINENO"
11491 then :
11492 eval "$as_ac_var=yes"
11493 else $as_nop
11494 eval "$as_ac_var=no"
11496 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11497 conftest$ac_exeext conftest.$ac_ext
11498 CFLAGS=$ac_wine_try_cflags_saved
11499 ac_exeext=$ac_wine_try_cflags_saved_exeext
11501 eval ac_res=\$$as_ac_var
11502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11503 printf "%s\n" "$ac_res" >&6; }
11504 if eval test \"x\$"$as_ac_var"\" = x"yes"
11505 then :
11506 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11507 fi }
11508 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" | $as_tr_sh`
11509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11510 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11511 if eval test \${$as_ac_var+y}
11512 then :
11513 printf %s "(cached) " >&6
11514 else $as_nop
11515 ac_wine_try_cflags_saved=$CFLAGS
11516 ac_wine_try_cflags_saved_exeext=$ac_exeext
11517 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11518 ac_exeext=".exe"
11519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11520 /* end confdefs.h. */
11521 int __cdecl mainCRTStartup(void) { return 0; }
11522 _ACEOF
11523 if ac_fn_c_try_link "$LINENO"
11524 then :
11525 eval "$as_ac_var=yes"
11526 else $as_nop
11527 eval "$as_ac_var=no"
11529 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11530 conftest$ac_exeext conftest.$ac_ext
11531 CFLAGS=$ac_wine_try_cflags_saved
11532 ac_exeext=$ac_wine_try_cflags_saved_exeext
11534 eval ac_res=\$$as_ac_var
11535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11536 printf "%s\n" "$ac_res" >&6; }
11537 if eval test \"x\$"$as_ac_var"\" = x"yes"
11538 then :
11539 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11540 fi } ;;
11541 esac
11543 wine_crossdebug=$CROSSDEBUG
11544 if test -z "$wine_crossdebug"
11545 then
11546 for ac_flag in $CFLAGS; do
11547 case $ac_flag in
11548 -gdwarf*) wine_crossdebug=dwarf ;;
11549 -gcodeview) wine_crossdebug=pdb ;;
11550 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11551 esac
11552 done
11555 ac_debug_format_seen=""
11556 for ac_flag in $CFLAGS; do
11557 case $ac_flag in
11558 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11559 esac
11560 done
11561 if test "x$ac_debug_format_seen" = x
11562 then
11563 case $wine_crossdebug in
11564 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11566 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11567 if eval test \${$as_ac_var+y}
11568 then :
11569 printf %s "(cached) " >&6
11570 else $as_nop
11571 ac_wine_try_cflags_saved=$CFLAGS
11572 ac_wine_try_cflags_saved_exeext=$ac_exeext
11573 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11574 ac_exeext=".exe"
11575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11576 /* end confdefs.h. */
11577 int __cdecl mainCRTStartup(void) { return 0; }
11578 _ACEOF
11579 if ac_fn_c_try_link "$LINENO"
11580 then :
11581 eval "$as_ac_var=yes"
11582 else $as_nop
11583 eval "$as_ac_var=no"
11585 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11586 conftest$ac_exeext conftest.$ac_ext
11587 CFLAGS=$ac_wine_try_cflags_saved
11588 ac_exeext=$ac_wine_try_cflags_saved_exeext
11590 eval ac_res=\$$as_ac_var
11591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11592 printf "%s\n" "$ac_res" >&6; }
11593 if eval test \"x\$"$as_ac_var"\" = x"yes"
11594 then :
11595 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11596 fi } ;;
11597 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11599 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11600 if eval test \${$as_ac_var+y}
11601 then :
11602 printf %s "(cached) " >&6
11603 else $as_nop
11604 ac_wine_try_cflags_saved=$CFLAGS
11605 ac_wine_try_cflags_saved_exeext=$ac_exeext
11606 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11607 ac_exeext=".exe"
11608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11609 /* end confdefs.h. */
11610 int __cdecl mainCRTStartup(void) { return 0; }
11611 _ACEOF
11612 if ac_fn_c_try_link "$LINENO"
11613 then :
11614 eval "$as_ac_var=yes"
11615 else $as_nop
11616 eval "$as_ac_var=no"
11618 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11619 conftest$ac_exeext conftest.$ac_ext
11620 CFLAGS=$ac_wine_try_cflags_saved
11621 ac_exeext=$ac_wine_try_cflags_saved_exeext
11623 eval ac_res=\$$as_ac_var
11624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11625 printf "%s\n" "$ac_res" >&6; }
11626 if eval test \"x\$"$as_ac_var"\" = x"yes"
11627 then :
11628 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11629 fi } ;;
11630 esac
11632 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11634 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11636 printf %s "checking whether $CC supports -Werror... " >&6; }
11637 if eval test \${$as_ac_var+y}
11638 then :
11639 printf %s "(cached) " >&6
11640 else $as_nop
11641 ac_wine_try_cflags_saved=$CFLAGS
11642 ac_wine_try_cflags_saved_exeext=$ac_exeext
11643 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11644 ac_exeext=".exe"
11645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11646 /* end confdefs.h. */
11647 int __cdecl mainCRTStartup(void) { return 0; }
11648 _ACEOF
11649 if ac_fn_c_try_link "$LINENO"
11650 then :
11651 eval "$as_ac_var=yes"
11652 else $as_nop
11653 eval "$as_ac_var=no"
11655 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11656 conftest$ac_exeext conftest.$ac_ext
11657 CFLAGS=$ac_wine_try_cflags_saved
11658 ac_exeext=$ac_wine_try_cflags_saved_exeext
11660 eval ac_res=\$$as_ac_var
11661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11662 printf "%s\n" "$ac_res" >&6; }
11663 if eval test \"x\$"$as_ac_var"\" = x"yes"
11664 then :
11665 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11666 fi }
11667 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11669 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11670 if eval test \${$as_ac_var+y}
11671 then :
11672 printf %s "(cached) " >&6
11673 else $as_nop
11674 ac_wine_try_cflags_saved=$CFLAGS
11675 ac_wine_try_cflags_saved_exeext=$ac_exeext
11676 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11677 ac_exeext=".exe"
11678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11679 /* end confdefs.h. */
11680 int __cdecl mainCRTStartup(void) { return 0; }
11681 _ACEOF
11682 if ac_fn_c_try_link "$LINENO"
11683 then :
11684 eval "$as_ac_var=yes"
11685 else $as_nop
11686 eval "$as_ac_var=no"
11688 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11689 conftest$ac_exeext conftest.$ac_ext
11690 CFLAGS=$ac_wine_try_cflags_saved
11691 ac_exeext=$ac_wine_try_cflags_saved_exeext
11693 eval ac_res=\$$as_ac_var
11694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11695 printf "%s\n" "$ac_res" >&6; }
11696 if eval test \"x\$"$as_ac_var"\" = x"yes"
11697 then :
11698 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11699 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11700 fi }
11702 CC=$saved_CC
11703 CFLAGS=$saved_CFLAGS
11704 LDFLAGS=$saved_LDFLAGS
11705 done
11707 if test $HOST_ARCH = aarch64
11708 then
11709 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
11710 DLLEXT=""
11711 else
11712 if test "x$PE_ARCHS" = "x"
11713 then :
11714 case "x$with_mingw" in
11715 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11716 xno) ;;
11717 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11718 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11719 esac
11725 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11726 then
11727 case "$host_cpu" in
11728 i[3456789]86*)
11729 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11731 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11732 esac
11733 for ac_prog in $ac_prefix_list
11735 # Extract the first word of "$ac_prog", so it can be a program name with args.
11736 set dummy $ac_prog; ac_word=$2
11737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11738 printf %s "checking for $ac_word... " >&6; }
11739 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11740 then :
11741 printf %s "(cached) " >&6
11742 else $as_nop
11743 if test -n "$MINGW_PKG_CONFIG"; then
11744 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11745 else
11746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11747 for as_dir in $PATH
11749 IFS=$as_save_IFS
11750 case $as_dir in #(((
11751 '') as_dir=./ ;;
11752 */) ;;
11753 *) as_dir=$as_dir/ ;;
11754 esac
11755 for ac_exec_ext in '' $ac_executable_extensions; do
11756 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11757 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11758 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11759 break 2
11761 done
11762 done
11763 IFS=$as_save_IFS
11767 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11768 if test -n "$MINGW_PKG_CONFIG"; then
11769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11770 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11771 else
11772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11773 printf "%s\n" "no" >&6; }
11777 test -n "$MINGW_PKG_CONFIG" && break
11778 done
11779 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11781 if ${FAUDIO_PE_CFLAGS:+false} :
11782 then :
11783 if test ${MINGW_PKG_CONFIG+y}
11784 then :
11785 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11788 if ${FAUDIO_PE_LIBS:+false} :
11789 then :
11790 if test ${MINGW_PKG_CONFIG+y}
11791 then :
11792 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11795 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11796 ac_save_CPPFLAGS=$CPPFLAGS
11797 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11799 printf %s "checking for MinGW FAudio.h... " >&6; }
11800 if test ${ac_cv_mingw_header_FAudio_h+y}
11801 then :
11802 printf %s "(cached) " >&6
11803 else $as_nop
11804 ac_wine_check_headers_saved_cc=$CC
11805 ac_wine_check_headers_saved_exeext=$ac_exeext
11806 eval CC=\$${wine_arch}_CC
11807 ac_exeext=".exe"
11808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11809 /* end confdefs.h. */
11811 #include <FAudio.h>
11813 main (void)
11817 return 0;
11819 _ACEOF
11820 if ac_fn_c_try_compile "$LINENO"
11821 then :
11822 ac_cv_mingw_header_FAudio_h=yes
11823 else $as_nop
11824 ac_cv_mingw_header_FAudio_h=no
11826 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11827 CC=$ac_wine_check_headers_saved_cc
11828 ac_exeext=$ac_wine_check_headers_saved_exeext
11830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11831 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11832 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11833 then :
11834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11835 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11836 if test ${ac_cv_mingw_lib_FAudio+y}
11837 then :
11838 printf %s "(cached) " >&6
11839 else $as_nop
11840 ac_wine_check_headers_saved_cc=$CC
11841 ac_wine_check_headers_saved_exeext=$ac_exeext
11842 ac_wine_check_headers_saved_libs=$LIBS
11843 eval CC=\$${wine_arch}_CC
11844 ac_exeext=".exe"
11845 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11847 /* end confdefs.h. */
11849 /* Override any GCC internal prototype to avoid an error.
11850 Use char because int might match the return type of a GCC
11851 builtin and then its argument prototype would still apply. */
11852 char FAudio_CommitOperationSet ();
11854 main (void)
11856 return FAudio_CommitOperationSet ();
11858 return 0;
11860 _ACEOF
11861 if ac_fn_c_try_link "$LINENO"
11862 then :
11863 ac_cv_mingw_lib_FAudio=yes
11864 else $as_nop
11865 ac_cv_mingw_lib_FAudio=no
11867 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11868 conftest$ac_exeext conftest.$ac_ext
11869 CC=$ac_wine_check_headers_saved_cc
11870 ac_exeext=$ac_wine_check_headers_saved_exeext
11871 LIBS=$ac_wine_check_headers_saved_libs
11873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11874 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11875 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11876 then :
11878 else $as_nop
11879 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11881 else $as_nop
11882 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11884 CPPFLAGS=$ac_save_CPPFLAGS
11886 if test "x$FAUDIO_PE_LIBS" = "x"
11887 then
11888 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11891 if ${JPEG_PE_CFLAGS:+false} :
11892 then :
11893 if test ${MINGW_PKG_CONFIG+y}
11894 then :
11895 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11898 if ${JPEG_PE_LIBS:+false} :
11899 then :
11900 if test ${MINGW_PKG_CONFIG+y}
11901 then :
11902 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11906 ac_save_CPPFLAGS=$CPPFLAGS
11907 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11909 printf %s "checking for MinGW jpeglib.h... " >&6; }
11910 if test ${ac_cv_mingw_header_jpeglib_h+y}
11911 then :
11912 printf %s "(cached) " >&6
11913 else $as_nop
11914 ac_wine_check_headers_saved_cc=$CC
11915 ac_wine_check_headers_saved_exeext=$ac_exeext
11916 eval CC=\$${wine_arch}_CC
11917 ac_exeext=".exe"
11918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11919 /* end confdefs.h. */
11920 #include <stddef.h>
11921 #include <stdio.h>
11922 #include <jpeglib.h>
11924 main (void)
11928 return 0;
11930 _ACEOF
11931 if ac_fn_c_try_compile "$LINENO"
11932 then :
11933 ac_cv_mingw_header_jpeglib_h=yes
11934 else $as_nop
11935 ac_cv_mingw_header_jpeglib_h=no
11937 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11938 CC=$ac_wine_check_headers_saved_cc
11939 ac_exeext=$ac_wine_check_headers_saved_exeext
11941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11942 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11943 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11944 then :
11945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11946 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11947 if test ${ac_cv_mingw_lib_jpeg+y}
11948 then :
11949 printf %s "(cached) " >&6
11950 else $as_nop
11951 ac_wine_check_headers_saved_cc=$CC
11952 ac_wine_check_headers_saved_exeext=$ac_exeext
11953 ac_wine_check_headers_saved_libs=$LIBS
11954 eval CC=\$${wine_arch}_CC
11955 ac_exeext=".exe"
11956 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11958 /* end confdefs.h. */
11960 /* Override any GCC internal prototype to avoid an error.
11961 Use char because int might match the return type of a GCC
11962 builtin and then its argument prototype would still apply. */
11963 char jpeg_start_decompress ();
11965 main (void)
11967 return jpeg_start_decompress ();
11969 return 0;
11971 _ACEOF
11972 if ac_fn_c_try_link "$LINENO"
11973 then :
11974 ac_cv_mingw_lib_jpeg=yes
11975 else $as_nop
11976 ac_cv_mingw_lib_jpeg=no
11978 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11979 conftest$ac_exeext conftest.$ac_ext
11980 CC=$ac_wine_check_headers_saved_cc
11981 ac_exeext=$ac_wine_check_headers_saved_exeext
11982 LIBS=$ac_wine_check_headers_saved_libs
11984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11985 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11986 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11987 then :
11989 else $as_nop
11990 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11992 else $as_nop
11993 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11995 CPPFLAGS=$ac_save_CPPFLAGS
11997 if test "x$JPEG_PE_LIBS" = "x"
11998 then
11999 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12002 if ${LCMS2_PE_CFLAGS:+false} :
12003 then :
12004 if test ${MINGW_PKG_CONFIG+y}
12005 then :
12006 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12009 if ${LCMS2_PE_LIBS:+false} :
12010 then :
12011 if test ${MINGW_PKG_CONFIG+y}
12012 then :
12013 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12016 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12017 ac_save_CPPFLAGS=$CPPFLAGS
12018 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12020 printf %s "checking for MinGW lcms2.h... " >&6; }
12021 if test ${ac_cv_mingw_header_lcms2_h+y}
12022 then :
12023 printf %s "(cached) " >&6
12024 else $as_nop
12025 ac_wine_check_headers_saved_cc=$CC
12026 ac_wine_check_headers_saved_exeext=$ac_exeext
12027 eval CC=\$${wine_arch}_CC
12028 ac_exeext=".exe"
12029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12030 /* end confdefs.h. */
12032 #include <lcms2.h>
12034 main (void)
12038 return 0;
12040 _ACEOF
12041 if ac_fn_c_try_compile "$LINENO"
12042 then :
12043 ac_cv_mingw_header_lcms2_h=yes
12044 else $as_nop
12045 ac_cv_mingw_header_lcms2_h=no
12047 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12048 CC=$ac_wine_check_headers_saved_cc
12049 ac_exeext=$ac_wine_check_headers_saved_exeext
12051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12052 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12053 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12054 then :
12055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12056 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12057 if test ${ac_cv_mingw_lib_lcms2+y}
12058 then :
12059 printf %s "(cached) " >&6
12060 else $as_nop
12061 ac_wine_check_headers_saved_cc=$CC
12062 ac_wine_check_headers_saved_exeext=$ac_exeext
12063 ac_wine_check_headers_saved_libs=$LIBS
12064 eval CC=\$${wine_arch}_CC
12065 ac_exeext=".exe"
12066 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12068 /* end confdefs.h. */
12070 /* Override any GCC internal prototype to avoid an error.
12071 Use char because int might match the return type of a GCC
12072 builtin and then its argument prototype would still apply. */
12073 char cmsOpenProfileFromFile ();
12075 main (void)
12077 return cmsOpenProfileFromFile ();
12079 return 0;
12081 _ACEOF
12082 if ac_fn_c_try_link "$LINENO"
12083 then :
12084 ac_cv_mingw_lib_lcms2=yes
12085 else $as_nop
12086 ac_cv_mingw_lib_lcms2=no
12088 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12089 conftest$ac_exeext conftest.$ac_ext
12090 CC=$ac_wine_check_headers_saved_cc
12091 ac_exeext=$ac_wine_check_headers_saved_exeext
12092 LIBS=$ac_wine_check_headers_saved_libs
12094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12095 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12096 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12097 then :
12099 else $as_nop
12100 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12102 else $as_nop
12103 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12105 CPPFLAGS=$ac_save_CPPFLAGS
12107 if test "x$LCMS2_PE_LIBS" = "x"
12108 then
12109 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12112 if ${MPG123_PE_CFLAGS:+false} :
12113 then :
12114 if test ${MINGW_PKG_CONFIG+y}
12115 then :
12116 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12119 if ${MPG123_PE_LIBS:+false} :
12120 then :
12121 if test ${MINGW_PKG_CONFIG+y}
12122 then :
12123 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12126 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12127 ac_save_CPPFLAGS=$CPPFLAGS
12128 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12130 printf %s "checking for MinGW mpg123.h... " >&6; }
12131 if test ${ac_cv_mingw_header_mpg123_h+y}
12132 then :
12133 printf %s "(cached) " >&6
12134 else $as_nop
12135 ac_wine_check_headers_saved_cc=$CC
12136 ac_wine_check_headers_saved_exeext=$ac_exeext
12137 eval CC=\$${wine_arch}_CC
12138 ac_exeext=".exe"
12139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12140 /* end confdefs.h. */
12142 #include <mpg123.h>
12144 main (void)
12148 return 0;
12150 _ACEOF
12151 if ac_fn_c_try_compile "$LINENO"
12152 then :
12153 ac_cv_mingw_header_mpg123_h=yes
12154 else $as_nop
12155 ac_cv_mingw_header_mpg123_h=no
12157 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12158 CC=$ac_wine_check_headers_saved_cc
12159 ac_exeext=$ac_wine_check_headers_saved_exeext
12161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12162 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12163 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12164 then :
12165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12166 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12167 if test ${ac_cv_mingw_lib_mpg123+y}
12168 then :
12169 printf %s "(cached) " >&6
12170 else $as_nop
12171 ac_wine_check_headers_saved_cc=$CC
12172 ac_wine_check_headers_saved_exeext=$ac_exeext
12173 ac_wine_check_headers_saved_libs=$LIBS
12174 eval CC=\$${wine_arch}_CC
12175 ac_exeext=".exe"
12176 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12178 /* end confdefs.h. */
12180 /* Override any GCC internal prototype to avoid an error.
12181 Use char because int might match the return type of a GCC
12182 builtin and then its argument prototype would still apply. */
12183 char mpg123_feed ();
12185 main (void)
12187 return mpg123_feed ();
12189 return 0;
12191 _ACEOF
12192 if ac_fn_c_try_link "$LINENO"
12193 then :
12194 ac_cv_mingw_lib_mpg123=yes
12195 else $as_nop
12196 ac_cv_mingw_lib_mpg123=no
12198 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12199 conftest$ac_exeext conftest.$ac_ext
12200 CC=$ac_wine_check_headers_saved_cc
12201 ac_exeext=$ac_wine_check_headers_saved_exeext
12202 LIBS=$ac_wine_check_headers_saved_libs
12204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12205 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12206 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12207 then :
12209 else $as_nop
12210 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12212 else $as_nop
12213 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12215 CPPFLAGS=$ac_save_CPPFLAGS
12217 if test "x$MPG123_PE_LIBS" = "x"
12218 then
12219 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12222 if ${PNG_PE_CFLAGS:+false} :
12223 then :
12224 if test ${MINGW_PKG_CONFIG+y}
12225 then :
12226 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12229 if ${PNG_PE_LIBS:+false} :
12230 then :
12231 if test ${MINGW_PKG_CONFIG+y}
12232 then :
12233 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12237 ac_save_CPPFLAGS=$CPPFLAGS
12238 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12240 printf %s "checking for MinGW png.h... " >&6; }
12241 if test ${ac_cv_mingw_header_png_h+y}
12242 then :
12243 printf %s "(cached) " >&6
12244 else $as_nop
12245 ac_wine_check_headers_saved_cc=$CC
12246 ac_wine_check_headers_saved_exeext=$ac_exeext
12247 eval CC=\$${wine_arch}_CC
12248 ac_exeext=".exe"
12249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12250 /* end confdefs.h. */
12252 #include <png.h>
12254 main (void)
12258 return 0;
12260 _ACEOF
12261 if ac_fn_c_try_compile "$LINENO"
12262 then :
12263 ac_cv_mingw_header_png_h=yes
12264 else $as_nop
12265 ac_cv_mingw_header_png_h=no
12267 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12268 CC=$ac_wine_check_headers_saved_cc
12269 ac_exeext=$ac_wine_check_headers_saved_exeext
12271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12272 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12273 if test "x$ac_cv_mingw_header_png_h" = xyes
12274 then :
12275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12276 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12277 if test ${ac_cv_mingw_lib_png+y}
12278 then :
12279 printf %s "(cached) " >&6
12280 else $as_nop
12281 ac_wine_check_headers_saved_cc=$CC
12282 ac_wine_check_headers_saved_exeext=$ac_exeext
12283 ac_wine_check_headers_saved_libs=$LIBS
12284 eval CC=\$${wine_arch}_CC
12285 ac_exeext=".exe"
12286 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12288 /* end confdefs.h. */
12290 /* Override any GCC internal prototype to avoid an error.
12291 Use char because int might match the return type of a GCC
12292 builtin and then its argument prototype would still apply. */
12293 char png_create_read_struct ();
12295 main (void)
12297 return png_create_read_struct ();
12299 return 0;
12301 _ACEOF
12302 if ac_fn_c_try_link "$LINENO"
12303 then :
12304 ac_cv_mingw_lib_png=yes
12305 else $as_nop
12306 ac_cv_mingw_lib_png=no
12308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12309 conftest$ac_exeext conftest.$ac_ext
12310 CC=$ac_wine_check_headers_saved_cc
12311 ac_exeext=$ac_wine_check_headers_saved_exeext
12312 LIBS=$ac_wine_check_headers_saved_libs
12314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12315 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12316 if test "x$ac_cv_mingw_lib_png" = xyes
12317 then :
12319 else $as_nop
12320 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12322 else $as_nop
12323 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12325 CPPFLAGS=$ac_save_CPPFLAGS
12327 if test "x$PNG_PE_LIBS" = "x"
12328 then
12329 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12332 if ${TIFF_PE_CFLAGS:+false} :
12333 then :
12334 if test ${MINGW_PKG_CONFIG+y}
12335 then :
12336 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12339 if ${TIFF_PE_LIBS:+false} :
12340 then :
12341 if test ${MINGW_PKG_CONFIG+y}
12342 then :
12343 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12347 ac_save_CPPFLAGS=$CPPFLAGS
12348 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12350 printf %s "checking for MinGW tiffio.h... " >&6; }
12351 if test ${ac_cv_mingw_header_tiffio_h+y}
12352 then :
12353 printf %s "(cached) " >&6
12354 else $as_nop
12355 ac_wine_check_headers_saved_cc=$CC
12356 ac_wine_check_headers_saved_exeext=$ac_exeext
12357 eval CC=\$${wine_arch}_CC
12358 ac_exeext=".exe"
12359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12360 /* end confdefs.h. */
12362 #include <tiffio.h>
12364 main (void)
12368 return 0;
12370 _ACEOF
12371 if ac_fn_c_try_compile "$LINENO"
12372 then :
12373 ac_cv_mingw_header_tiffio_h=yes
12374 else $as_nop
12375 ac_cv_mingw_header_tiffio_h=no
12377 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12378 CC=$ac_wine_check_headers_saved_cc
12379 ac_exeext=$ac_wine_check_headers_saved_exeext
12381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12382 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12383 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12384 then :
12385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12386 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12387 if test ${ac_cv_mingw_lib_tiff+y}
12388 then :
12389 printf %s "(cached) " >&6
12390 else $as_nop
12391 ac_wine_check_headers_saved_cc=$CC
12392 ac_wine_check_headers_saved_exeext=$ac_exeext
12393 ac_wine_check_headers_saved_libs=$LIBS
12394 eval CC=\$${wine_arch}_CC
12395 ac_exeext=".exe"
12396 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12398 /* end confdefs.h. */
12400 /* Override any GCC internal prototype to avoid an error.
12401 Use char because int might match the return type of a GCC
12402 builtin and then its argument prototype would still apply. */
12403 char TIFFClientOpen ();
12405 main (void)
12407 return TIFFClientOpen ();
12409 return 0;
12411 _ACEOF
12412 if ac_fn_c_try_link "$LINENO"
12413 then :
12414 ac_cv_mingw_lib_tiff=yes
12415 else $as_nop
12416 ac_cv_mingw_lib_tiff=no
12418 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12419 conftest$ac_exeext conftest.$ac_ext
12420 CC=$ac_wine_check_headers_saved_cc
12421 ac_exeext=$ac_wine_check_headers_saved_exeext
12422 LIBS=$ac_wine_check_headers_saved_libs
12424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12425 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12426 if test "x$ac_cv_mingw_lib_tiff" = xyes
12427 then :
12429 else $as_nop
12430 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12432 else $as_nop
12433 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12435 CPPFLAGS=$ac_save_CPPFLAGS
12437 if test "x$TIFF_PE_LIBS" = "x"
12438 then
12439 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12442 if ${XML2_PE_CFLAGS:+false} :
12443 then :
12444 if test ${MINGW_PKG_CONFIG+y}
12445 then :
12446 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12449 if ${XML2_PE_LIBS:+false} :
12450 then :
12451 if test ${MINGW_PKG_CONFIG+y}
12452 then :
12453 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12456 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12457 ac_save_CPPFLAGS=$CPPFLAGS
12458 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12460 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12461 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12462 then :
12463 printf %s "(cached) " >&6
12464 else $as_nop
12465 ac_wine_check_headers_saved_cc=$CC
12466 ac_wine_check_headers_saved_exeext=$ac_exeext
12467 eval CC=\$${wine_arch}_CC
12468 ac_exeext=".exe"
12469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12470 /* end confdefs.h. */
12472 #include <libxml/parser.h>
12474 main (void)
12478 return 0;
12480 _ACEOF
12481 if ac_fn_c_try_compile "$LINENO"
12482 then :
12483 ac_cv_mingw_header_libxml_parser_h=yes
12484 else $as_nop
12485 ac_cv_mingw_header_libxml_parser_h=no
12487 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12488 CC=$ac_wine_check_headers_saved_cc
12489 ac_exeext=$ac_wine_check_headers_saved_exeext
12491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12492 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12493 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12494 then :
12497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12498 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12499 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12500 then :
12501 printf %s "(cached) " >&6
12502 else $as_nop
12503 ac_wine_check_headers_saved_cc=$CC
12504 ac_wine_check_headers_saved_exeext=$ac_exeext
12505 eval CC=\$${wine_arch}_CC
12506 ac_exeext=".exe"
12507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12508 /* end confdefs.h. */
12510 #include <libxml/xmlsave.h>
12512 main (void)
12516 return 0;
12518 _ACEOF
12519 if ac_fn_c_try_compile "$LINENO"
12520 then :
12521 ac_cv_mingw_header_libxml_xmlsave_h=yes
12522 else $as_nop
12523 ac_cv_mingw_header_libxml_xmlsave_h=no
12525 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12526 CC=$ac_wine_check_headers_saved_cc
12527 ac_exeext=$ac_wine_check_headers_saved_exeext
12529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12530 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12531 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12532 then :
12535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12536 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12537 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12538 then :
12539 printf %s "(cached) " >&6
12540 else $as_nop
12541 ac_wine_check_headers_saved_cc=$CC
12542 ac_wine_check_headers_saved_exeext=$ac_exeext
12543 eval CC=\$${wine_arch}_CC
12544 ac_exeext=".exe"
12545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12546 /* end confdefs.h. */
12548 #include <libxml/SAX2.h>
12550 main (void)
12554 return 0;
12556 _ACEOF
12557 if ac_fn_c_try_compile "$LINENO"
12558 then :
12559 ac_cv_mingw_header_libxml_SAX2_h=yes
12560 else $as_nop
12561 ac_cv_mingw_header_libxml_SAX2_h=no
12563 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12564 CC=$ac_wine_check_headers_saved_cc
12565 ac_exeext=$ac_wine_check_headers_saved_exeext
12567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12568 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12569 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12570 then :
12573 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"
12574 then
12575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12576 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12577 if test ${ac_cv_mingw_lib_xml2+y}
12578 then :
12579 printf %s "(cached) " >&6
12580 else $as_nop
12581 ac_wine_check_headers_saved_cc=$CC
12582 ac_wine_check_headers_saved_exeext=$ac_exeext
12583 ac_wine_check_headers_saved_libs=$LIBS
12584 eval CC=\$${wine_arch}_CC
12585 ac_exeext=".exe"
12586 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12588 /* end confdefs.h. */
12590 /* Override any GCC internal prototype to avoid an error.
12591 Use char because int might match the return type of a GCC
12592 builtin and then its argument prototype would still apply. */
12593 char xmlFirstElementChild ();
12595 main (void)
12597 return xmlFirstElementChild ();
12599 return 0;
12601 _ACEOF
12602 if ac_fn_c_try_link "$LINENO"
12603 then :
12604 ac_cv_mingw_lib_xml2=yes
12605 else $as_nop
12606 ac_cv_mingw_lib_xml2=no
12608 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12609 conftest$ac_exeext conftest.$ac_ext
12610 CC=$ac_wine_check_headers_saved_cc
12611 ac_exeext=$ac_wine_check_headers_saved_exeext
12612 LIBS=$ac_wine_check_headers_saved_libs
12614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12615 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12616 if test "x$ac_cv_mingw_lib_xml2" = xyes
12617 then :
12619 else $as_nop
12620 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12622 else
12623 XML2_PE_CFLAGS=""
12624 XML2_PE_LIBS=""
12626 CPPFLAGS=$ac_save_CPPFLAGS
12628 if test "x$XML2_PE_LIBS" = "x"
12629 then
12630 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12633 if ${XSLT_PE_CFLAGS:+false} :
12634 then :
12635 if test ${MINGW_PKG_CONFIG+y}
12636 then :
12637 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12640 if ${XSLT_PE_LIBS:+false} :
12641 then :
12642 if test ${MINGW_PKG_CONFIG+y}
12643 then :
12644 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12647 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12648 ac_save_CPPFLAGS=$CPPFLAGS
12649 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12651 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12652 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12653 then :
12654 printf %s "(cached) " >&6
12655 else $as_nop
12656 ac_wine_check_headers_saved_cc=$CC
12657 ac_wine_check_headers_saved_exeext=$ac_exeext
12658 eval CC=\$${wine_arch}_CC
12659 ac_exeext=".exe"
12660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12661 /* end confdefs.h. */
12663 #include <libxslt/pattern.h>
12665 main (void)
12669 return 0;
12671 _ACEOF
12672 if ac_fn_c_try_compile "$LINENO"
12673 then :
12674 ac_cv_mingw_header_libxslt_pattern_h=yes
12675 else $as_nop
12676 ac_cv_mingw_header_libxslt_pattern_h=no
12678 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12679 CC=$ac_wine_check_headers_saved_cc
12680 ac_exeext=$ac_wine_check_headers_saved_exeext
12682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12683 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12684 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12685 then :
12688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12689 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12690 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12691 then :
12692 printf %s "(cached) " >&6
12693 else $as_nop
12694 ac_wine_check_headers_saved_cc=$CC
12695 ac_wine_check_headers_saved_exeext=$ac_exeext
12696 eval CC=\$${wine_arch}_CC
12697 ac_exeext=".exe"
12698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12699 /* end confdefs.h. */
12701 #include <libxslt/transform.h>
12703 main (void)
12707 return 0;
12709 _ACEOF
12710 if ac_fn_c_try_compile "$LINENO"
12711 then :
12712 ac_cv_mingw_header_libxslt_transform_h=yes
12713 else $as_nop
12714 ac_cv_mingw_header_libxslt_transform_h=no
12716 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12717 CC=$ac_wine_check_headers_saved_cc
12718 ac_exeext=$ac_wine_check_headers_saved_exeext
12720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12721 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12722 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12723 then :
12726 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12727 then
12728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12729 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12730 if test ${ac_cv_mingw_lib_xslt+y}
12731 then :
12732 printf %s "(cached) " >&6
12733 else $as_nop
12734 ac_wine_check_headers_saved_cc=$CC
12735 ac_wine_check_headers_saved_exeext=$ac_exeext
12736 ac_wine_check_headers_saved_libs=$LIBS
12737 eval CC=\$${wine_arch}_CC
12738 ac_exeext=".exe"
12739 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12741 /* end confdefs.h. */
12743 /* Override any GCC internal prototype to avoid an error.
12744 Use char because int might match the return type of a GCC
12745 builtin and then its argument prototype would still apply. */
12746 char xsltCompilePattern ();
12748 main (void)
12750 return xsltCompilePattern ();
12752 return 0;
12754 _ACEOF
12755 if ac_fn_c_try_link "$LINENO"
12756 then :
12757 ac_cv_mingw_lib_xslt=yes
12758 else $as_nop
12759 ac_cv_mingw_lib_xslt=no
12761 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12762 conftest$ac_exeext conftest.$ac_ext
12763 CC=$ac_wine_check_headers_saved_cc
12764 ac_exeext=$ac_wine_check_headers_saved_exeext
12765 LIBS=$ac_wine_check_headers_saved_libs
12767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12768 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12769 if test "x$ac_cv_mingw_lib_xslt" = xyes
12770 then :
12772 else $as_nop
12773 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12775 else
12776 XSLT_PE_CFLAGS=""
12777 XSLT_PE_LIBS=""
12779 CPPFLAGS=$ac_save_CPPFLAGS
12781 if test "x$XSLT_PE_LIBS" = "x"
12782 then
12783 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12786 if ${VKD3D_PE_CFLAGS:+false} :
12787 then :
12788 if test ${MINGW_PKG_CONFIG+y}
12789 then :
12790 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12793 if ${VKD3D_PE_LIBS:+false} :
12794 then :
12795 if test ${MINGW_PKG_CONFIG+y}
12796 then :
12797 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12800 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12801 ac_save_CPPFLAGS=$CPPFLAGS
12802 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12804 printf %s "checking for MinGW vkd3d.h... " >&6; }
12805 if test ${ac_cv_mingw_header_vkd3d_h+y}
12806 then :
12807 printf %s "(cached) " >&6
12808 else $as_nop
12809 ac_wine_check_headers_saved_cc=$CC
12810 ac_wine_check_headers_saved_exeext=$ac_exeext
12811 eval CC=\$${wine_arch}_CC
12812 ac_exeext=".exe"
12813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12814 /* end confdefs.h. */
12816 #include <vkd3d.h>
12818 main (void)
12822 return 0;
12824 _ACEOF
12825 if ac_fn_c_try_compile "$LINENO"
12826 then :
12827 ac_cv_mingw_header_vkd3d_h=yes
12828 else $as_nop
12829 ac_cv_mingw_header_vkd3d_h=no
12831 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12832 CC=$ac_wine_check_headers_saved_cc
12833 ac_exeext=$ac_wine_check_headers_saved_exeext
12835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12836 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12837 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12838 then :
12841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12842 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12843 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12844 then :
12845 printf %s "(cached) " >&6
12846 else $as_nop
12847 ac_wine_check_headers_saved_cc=$CC
12848 ac_wine_check_headers_saved_exeext=$ac_exeext
12849 eval CC=\$${wine_arch}_CC
12850 ac_exeext=".exe"
12851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12852 /* end confdefs.h. */
12854 #include <vkd3d_shader.h>
12856 main (void)
12860 return 0;
12862 _ACEOF
12863 if ac_fn_c_try_compile "$LINENO"
12864 then :
12865 ac_cv_mingw_header_vkd3d_shader_h=yes
12866 else $as_nop
12867 ac_cv_mingw_header_vkd3d_shader_h=no
12869 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12870 CC=$ac_wine_check_headers_saved_cc
12871 ac_exeext=$ac_wine_check_headers_saved_exeext
12873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12874 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12875 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12876 then :
12879 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12880 then
12881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12882 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12883 if test ${ac_cv_mingw_lib_vkd3d+y}
12884 then :
12885 printf %s "(cached) " >&6
12886 else $as_nop
12887 ac_wine_check_headers_saved_cc=$CC
12888 ac_wine_check_headers_saved_exeext=$ac_exeext
12889 ac_wine_check_headers_saved_libs=$LIBS
12890 eval CC=\$${wine_arch}_CC
12891 ac_exeext=".exe"
12892 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12894 /* end confdefs.h. */
12896 /* Override any GCC internal prototype to avoid an error.
12897 Use char because int might match the return type of a GCC
12898 builtin and then its argument prototype would still apply. */
12899 char vkd3d_set_log_callback ();
12901 main (void)
12903 return vkd3d_set_log_callback ();
12905 return 0;
12907 _ACEOF
12908 if ac_fn_c_try_link "$LINENO"
12909 then :
12910 ac_cv_mingw_lib_vkd3d=yes
12911 else $as_nop
12912 ac_cv_mingw_lib_vkd3d=no
12914 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12915 conftest$ac_exeext conftest.$ac_ext
12916 CC=$ac_wine_check_headers_saved_cc
12917 ac_exeext=$ac_wine_check_headers_saved_exeext
12918 LIBS=$ac_wine_check_headers_saved_libs
12920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12921 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12922 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12923 then :
12925 else $as_nop
12928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
12929 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
12930 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12931 then :
12932 printf %s "(cached) " >&6
12933 else $as_nop
12934 ac_wine_check_headers_saved_cc=$CC
12935 ac_wine_check_headers_saved_exeext=$ac_exeext
12936 ac_wine_check_headers_saved_libs=$LIBS
12937 eval CC=\$${wine_arch}_CC
12938 ac_exeext=".exe"
12939 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12941 /* end confdefs.h. */
12943 /* Override any GCC internal prototype to avoid an error.
12944 Use char because int might match the return type of a GCC
12945 builtin and then its argument prototype would still apply. */
12946 char vkd3d_shader_serialize_dxbc ();
12948 main (void)
12950 return vkd3d_shader_serialize_dxbc ();
12952 return 0;
12954 _ACEOF
12955 if ac_fn_c_try_link "$LINENO"
12956 then :
12957 ac_cv_mingw_lib_vkd3d_shader=yes
12958 else $as_nop
12959 ac_cv_mingw_lib_vkd3d_shader=no
12961 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12962 conftest$ac_exeext conftest.$ac_ext
12963 CC=$ac_wine_check_headers_saved_cc
12964 ac_exeext=$ac_wine_check_headers_saved_exeext
12965 LIBS=$ac_wine_check_headers_saved_libs
12967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12968 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12969 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12970 then :
12972 else $as_nop
12975 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12976 then
12977 VKD3D_PE_CFLAGS=""
12978 VKD3D_PE_LIBS=""
12980 else
12981 VKD3D_PE_CFLAGS=""
12982 VKD3D_PE_LIBS=""
12984 CPPFLAGS=$ac_save_CPPFLAGS
12986 if test "x$VKD3D_PE_LIBS" = "x"
12987 then
12988 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12991 if ${ZLIB_PE_CFLAGS:+false} :
12992 then :
12993 if test ${MINGW_PKG_CONFIG+y}
12994 then :
12995 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
12998 if ${ZLIB_PE_LIBS:+false} :
12999 then :
13000 if test ${MINGW_PKG_CONFIG+y}
13001 then :
13002 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13005 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13006 ac_save_CPPFLAGS=$CPPFLAGS
13007 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13009 printf %s "checking for MinGW zlib.h... " >&6; }
13010 if test ${ac_cv_mingw_header_zlib_h+y}
13011 then :
13012 printf %s "(cached) " >&6
13013 else $as_nop
13014 ac_wine_check_headers_saved_cc=$CC
13015 ac_wine_check_headers_saved_exeext=$ac_exeext
13016 eval CC=\$${wine_arch}_CC
13017 ac_exeext=".exe"
13018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13019 /* end confdefs.h. */
13021 #include <zlib.h>
13023 main (void)
13027 return 0;
13029 _ACEOF
13030 if ac_fn_c_try_compile "$LINENO"
13031 then :
13032 ac_cv_mingw_header_zlib_h=yes
13033 else $as_nop
13034 ac_cv_mingw_header_zlib_h=no
13036 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13037 CC=$ac_wine_check_headers_saved_cc
13038 ac_exeext=$ac_wine_check_headers_saved_exeext
13040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13041 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13042 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13043 then :
13044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13045 printf %s "checking for inflate in MinGW -lz... " >&6; }
13046 if test ${ac_cv_mingw_lib_z+y}
13047 then :
13048 printf %s "(cached) " >&6
13049 else $as_nop
13050 ac_wine_check_headers_saved_cc=$CC
13051 ac_wine_check_headers_saved_exeext=$ac_exeext
13052 ac_wine_check_headers_saved_libs=$LIBS
13053 eval CC=\$${wine_arch}_CC
13054 ac_exeext=".exe"
13055 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13057 /* end confdefs.h. */
13059 /* Override any GCC internal prototype to avoid an error.
13060 Use char because int might match the return type of a GCC
13061 builtin and then its argument prototype would still apply. */
13062 char inflate ();
13064 main (void)
13066 return inflate ();
13068 return 0;
13070 _ACEOF
13071 if ac_fn_c_try_link "$LINENO"
13072 then :
13073 ac_cv_mingw_lib_z=yes
13074 else $as_nop
13075 ac_cv_mingw_lib_z=no
13077 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13078 conftest$ac_exeext conftest.$ac_ext
13079 CC=$ac_wine_check_headers_saved_cc
13080 ac_exeext=$ac_wine_check_headers_saved_exeext
13081 LIBS=$ac_wine_check_headers_saved_libs
13083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13084 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13085 if test "x$ac_cv_mingw_lib_z" = xyes
13086 then :
13088 else $as_nop
13089 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13091 else $as_nop
13092 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13094 CPPFLAGS=$ac_save_CPPFLAGS
13096 if test "x$ZLIB_PE_LIBS" = "x"
13097 then
13098 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13102 if ${FAUDIO_PE_LIBS:+false} :
13103 then :
13104 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13105 if ${FAUDIO_PE_CFLAGS:+false} :
13106 then :
13107 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13108 else $as_nop
13109 enable_faudio=no
13111 else $as_nop
13112 enable_faudio=no
13114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13115 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13117 if ${GSM_PE_LIBS:+false} :
13118 then :
13119 GSM_PE_LIBS=gsm
13120 if ${GSM_PE_CFLAGS:+false} :
13121 then :
13122 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13123 else $as_nop
13124 enable_gsm=no
13126 else $as_nop
13127 enable_gsm=no
13129 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13130 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13132 if ${JPEG_PE_LIBS:+false} :
13133 then :
13134 JPEG_PE_LIBS=jpeg
13135 if ${JPEG_PE_CFLAGS:+false} :
13136 then :
13137 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13138 else $as_nop
13139 enable_jpeg=no
13141 else $as_nop
13142 enable_jpeg=no
13144 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13145 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13147 if ${JXR_PE_LIBS:+false} :
13148 then :
13149 JXR_PE_LIBS=jxr
13150 if ${JXR_PE_CFLAGS:+false} :
13151 then :
13152 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13153 else $as_nop
13154 enable_jxr=no
13156 else $as_nop
13157 enable_jxr=no
13159 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13160 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13162 if ${LCMS2_PE_LIBS:+false} :
13163 then :
13164 LCMS2_PE_LIBS=lcms2
13165 if ${LCMS2_PE_CFLAGS:+false} :
13166 then :
13167 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13168 else $as_nop
13169 enable_lcms2=no
13171 else $as_nop
13172 enable_lcms2=no
13174 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13175 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13177 if ${LDAP_PE_LIBS:+false} :
13178 then :
13179 LDAP_PE_LIBS=ldap
13180 if ${LDAP_PE_CFLAGS:+false} :
13181 then :
13182 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13183 else $as_nop
13184 enable_ldap=no
13186 else $as_nop
13187 enable_ldap=no
13189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13190 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13192 if ${MPG123_PE_LIBS:+false} :
13193 then :
13194 MPG123_PE_LIBS=mpg123
13195 if ${MPG123_PE_CFLAGS:+false} :
13196 then :
13197 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13198 else $as_nop
13199 enable_mpg123=no
13201 else $as_nop
13202 enable_mpg123=no
13204 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13205 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13207 if ${MUSL_PE_LIBS:+false} :
13208 then :
13209 MUSL_PE_LIBS=musl
13210 if ${MUSL_PE_CFLAGS:+false} :
13211 then :
13212 MUSL_PE_CFLAGS=
13213 else $as_nop
13214 enable_musl=no
13216 else $as_nop
13217 enable_musl=no
13219 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13220 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13222 if ${PNG_PE_LIBS:+false} :
13223 then :
13224 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13225 if ${PNG_PE_CFLAGS:+false} :
13226 then :
13227 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13228 else $as_nop
13229 enable_png=no
13231 else $as_nop
13232 enable_png=no
13234 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13235 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13237 if ${TIFF_PE_LIBS:+false} :
13238 then :
13239 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13240 if ${TIFF_PE_CFLAGS:+false} :
13241 then :
13242 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13243 else $as_nop
13244 enable_tiff=no
13246 else $as_nop
13247 enable_tiff=no
13249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13250 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13252 if ${VKD3D_PE_LIBS:+false} :
13253 then :
13254 VKD3D_PE_LIBS=vkd3d
13255 if ${VKD3D_PE_CFLAGS:+false} :
13256 then :
13257 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13258 else $as_nop
13259 enable_vkd3d=no
13261 else $as_nop
13262 enable_vkd3d=no
13264 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13267 if ${XML2_PE_LIBS:+false} :
13268 then :
13269 XML2_PE_LIBS=xml2
13270 if ${XML2_PE_CFLAGS:+false} :
13271 then :
13272 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13273 else $as_nop
13274 enable_xml2=no
13276 else $as_nop
13277 enable_xml2=no
13279 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13280 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13282 if ${XSLT_PE_LIBS:+false} :
13283 then :
13284 XSLT_PE_LIBS=xslt
13285 if ${XSLT_PE_CFLAGS:+false} :
13286 then :
13287 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13288 else $as_nop
13289 enable_xslt=no
13291 else $as_nop
13292 enable_xslt=no
13294 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13295 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13297 if ${ZLIB_PE_LIBS:+false} :
13298 then :
13299 ZLIB_PE_LIBS=z
13300 if ${ZLIB_PE_CFLAGS:+false} :
13301 then :
13302 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13303 else $as_nop
13304 enable_zlib=no
13306 else $as_nop
13307 enable_zlib=no
13309 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13310 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13312 if ${ZYDIS_PE_LIBS:+false} :
13313 then :
13314 ZYDIS_PE_LIBS=zydis
13315 if ${ZYDIS_PE_CFLAGS:+false} :
13316 then :
13317 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13318 else $as_nop
13319 enable_zydis=no
13321 else $as_nop
13322 enable_zydis=no
13324 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13325 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13329 if test "$ac_cv_header_pthread_h" = "yes"
13330 then
13331 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13332 if test "x$ac_cv_func_pthread_create" = xyes
13333 then :
13335 else $as_nop
13336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13337 printf %s "checking for pthread_create in -lpthread... " >&6; }
13338 if test ${ac_cv_lib_pthread_pthread_create+y}
13339 then :
13340 printf %s "(cached) " >&6
13341 else $as_nop
13342 ac_check_lib_save_LIBS=$LIBS
13343 LIBS="-lpthread $LIBS"
13344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13345 /* end confdefs.h. */
13347 /* Override any GCC internal prototype to avoid an error.
13348 Use char because int might match the return type of a GCC
13349 builtin and then its argument prototype would still apply. */
13350 char pthread_create ();
13352 main (void)
13354 return pthread_create ();
13356 return 0;
13358 _ACEOF
13359 if ac_fn_c_try_link "$LINENO"
13360 then :
13361 ac_cv_lib_pthread_pthread_create=yes
13362 else $as_nop
13363 ac_cv_lib_pthread_pthread_create=no
13365 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13366 conftest$ac_exeext conftest.$ac_ext
13367 LIBS=$ac_check_lib_save_LIBS
13369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13370 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13371 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13372 then :
13373 PTHREAD_LIBS="-lpthread"
13380 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13381 then :
13382 case "x$with_pthread" in
13383 xno) ;;
13384 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13385 Wine cannot support threads without libpthread.
13386 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13387 esac
13392 ac_ext=c
13393 ac_cpp='$CPP $CPPFLAGS'
13394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13398 printf %s "checking how to run the C preprocessor... " >&6; }
13399 # On Suns, sometimes $CPP names a directory.
13400 if test -n "$CPP" && test -d "$CPP"; then
13401 CPP=
13403 if test -z "$CPP"; then
13404 if test ${ac_cv_prog_CPP+y}
13405 then :
13406 printf %s "(cached) " >&6
13407 else $as_nop
13408 # Double quotes because $CC needs to be expanded
13409 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13411 ac_preproc_ok=false
13412 for ac_c_preproc_warn_flag in '' yes
13414 # Use a header file that comes with gcc, so configuring glibc
13415 # with a fresh cross-compiler works.
13416 # On the NeXT, cc -E runs the code through the compiler's parser,
13417 # not just through cpp. "Syntax error" is here to catch this case.
13418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13419 /* end confdefs.h. */
13420 #include <limits.h>
13421 Syntax error
13422 _ACEOF
13423 if ac_fn_c_try_cpp "$LINENO"
13424 then :
13426 else $as_nop
13427 # Broken: fails on valid input.
13428 continue
13430 rm -f conftest.err conftest.i conftest.$ac_ext
13432 # OK, works on sane cases. Now check whether nonexistent headers
13433 # can be detected and how.
13434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13435 /* end confdefs.h. */
13436 #include <ac_nonexistent.h>
13437 _ACEOF
13438 if ac_fn_c_try_cpp "$LINENO"
13439 then :
13440 # Broken: success on invalid input.
13441 continue
13442 else $as_nop
13443 # Passes both tests.
13444 ac_preproc_ok=:
13445 break
13447 rm -f conftest.err conftest.i conftest.$ac_ext
13449 done
13450 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13451 rm -f conftest.i conftest.err conftest.$ac_ext
13452 if $ac_preproc_ok
13453 then :
13454 break
13457 done
13458 ac_cv_prog_CPP=$CPP
13461 CPP=$ac_cv_prog_CPP
13462 else
13463 ac_cv_prog_CPP=$CPP
13465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13466 printf "%s\n" "$CPP" >&6; }
13467 ac_preproc_ok=false
13468 for ac_c_preproc_warn_flag in '' yes
13470 # Use a header file that comes with gcc, so configuring glibc
13471 # with a fresh cross-compiler works.
13472 # On the NeXT, cc -E runs the code through the compiler's parser,
13473 # not just through cpp. "Syntax error" is here to catch this case.
13474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13475 /* end confdefs.h. */
13476 #include <limits.h>
13477 Syntax error
13478 _ACEOF
13479 if ac_fn_c_try_cpp "$LINENO"
13480 then :
13482 else $as_nop
13483 # Broken: fails on valid input.
13484 continue
13486 rm -f conftest.err conftest.i conftest.$ac_ext
13488 # OK, works on sane cases. Now check whether nonexistent headers
13489 # can be detected and how.
13490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13491 /* end confdefs.h. */
13492 #include <ac_nonexistent.h>
13493 _ACEOF
13494 if ac_fn_c_try_cpp "$LINENO"
13495 then :
13496 # Broken: success on invalid input.
13497 continue
13498 else $as_nop
13499 # Passes both tests.
13500 ac_preproc_ok=:
13501 break
13503 rm -f conftest.err conftest.i conftest.$ac_ext
13505 done
13506 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13507 rm -f conftest.i conftest.err conftest.$ac_ext
13508 if $ac_preproc_ok
13509 then :
13511 else $as_nop
13512 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13513 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13514 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13515 See \`config.log' for more details" "$LINENO" 5; }
13518 ac_ext=c
13519 ac_cpp='$CPP $CPPFLAGS'
13520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13526 printf %s "checking for X... " >&6; }
13529 # Check whether --with-x was given.
13530 if test ${with_x+y}
13531 then :
13532 withval=$with_x;
13535 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13536 if test "x$with_x" = xno; then
13537 # The user explicitly disabled X.
13538 have_x=disabled
13539 else
13540 case $x_includes,$x_libraries in #(
13541 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13542 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13543 then :
13544 printf %s "(cached) " >&6
13545 else $as_nop
13546 # One or both of the vars are not set, and there is no cached value.
13547 ac_x_includes=no
13548 ac_x_libraries=no
13549 # Do we need to do anything special at all?
13550 ac_save_LIBS=$LIBS
13551 LIBS="-lX11 $LIBS"
13552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13553 /* end confdefs.h. */
13554 #include <X11/Xlib.h>
13556 main (void)
13558 XrmInitialize ()
13560 return 0;
13562 _ACEOF
13563 if ac_fn_c_try_link "$LINENO"
13564 then :
13565 # We can compile and link X programs with no special options.
13566 ac_x_includes=
13567 ac_x_libraries=
13569 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13570 conftest$ac_exeext conftest.$ac_ext
13571 LIBS="$ac_save_LIBS"
13572 # If that didn't work, only try xmkmf and file system searches
13573 # for native compilation.
13574 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13575 then :
13576 rm -f -r conftest.dir
13577 if mkdir conftest.dir; then
13578 cd conftest.dir
13579 cat >Imakefile <<'_ACEOF'
13580 incroot:
13581 @echo incroot='${INCROOT}'
13582 usrlibdir:
13583 @echo usrlibdir='${USRLIBDIR}'
13584 libdir:
13585 @echo libdir='${LIBDIR}'
13586 _ACEOF
13587 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13588 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13589 for ac_var in incroot usrlibdir libdir; do
13590 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13591 done
13592 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13593 for ac_extension in a so sl dylib la dll; do
13594 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13595 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13596 ac_im_usrlibdir=$ac_im_libdir; break
13598 done
13599 # Screen out bogus values from the imake configuration. They are
13600 # bogus both because they are the default anyway, and because
13601 # using them would break gcc on systems where it needs fixed includes.
13602 case $ac_im_incroot in
13603 /usr/include) ac_x_includes= ;;
13604 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13605 esac
13606 case $ac_im_usrlibdir in
13607 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13608 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13609 esac
13611 cd ..
13612 rm -f -r conftest.dir
13615 # Standard set of common directories for X headers.
13616 # Check X11 before X11Rn because it is often a symlink to the current release.
13617 ac_x_header_dirs='
13618 /usr/X11/include
13619 /usr/X11R7/include
13620 /usr/X11R6/include
13621 /usr/X11R5/include
13622 /usr/X11R4/include
13624 /usr/include/X11
13625 /usr/include/X11R7
13626 /usr/include/X11R6
13627 /usr/include/X11R5
13628 /usr/include/X11R4
13630 /usr/local/X11/include
13631 /usr/local/X11R7/include
13632 /usr/local/X11R6/include
13633 /usr/local/X11R5/include
13634 /usr/local/X11R4/include
13636 /usr/local/include/X11
13637 /usr/local/include/X11R7
13638 /usr/local/include/X11R6
13639 /usr/local/include/X11R5
13640 /usr/local/include/X11R4
13642 /opt/X11/include
13644 /usr/X386/include
13645 /usr/x386/include
13646 /usr/XFree86/include/X11
13648 /usr/include
13649 /usr/local/include
13650 /usr/unsupported/include
13651 /usr/athena/include
13652 /usr/local/x11r5/include
13653 /usr/lpp/Xamples/include
13655 /usr/openwin/include
13656 /usr/openwin/share/include'
13658 if test "$ac_x_includes" = no; then
13659 # Guess where to find include files, by looking for Xlib.h.
13660 # First, try using that file with no special directory specified.
13661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13662 /* end confdefs.h. */
13663 #include <X11/Xlib.h>
13664 _ACEOF
13665 if ac_fn_c_try_cpp "$LINENO"
13666 then :
13667 # We can compile using X headers with no special include directory.
13668 ac_x_includes=
13669 else $as_nop
13670 for ac_dir in $ac_x_header_dirs; do
13671 if test -r "$ac_dir/X11/Xlib.h"; then
13672 ac_x_includes=$ac_dir
13673 break
13675 done
13677 rm -f conftest.err conftest.i conftest.$ac_ext
13678 fi # $ac_x_includes = no
13680 if test "$ac_x_libraries" = no; then
13681 # Check for the libraries.
13682 # See if we find them without any special options.
13683 # Don't add to $LIBS permanently.
13684 ac_save_LIBS=$LIBS
13685 LIBS="-lX11 $LIBS"
13686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13687 /* end confdefs.h. */
13688 #include <X11/Xlib.h>
13690 main (void)
13692 XrmInitialize ()
13694 return 0;
13696 _ACEOF
13697 if ac_fn_c_try_link "$LINENO"
13698 then :
13699 LIBS=$ac_save_LIBS
13700 # We can link X programs with no special library path.
13701 ac_x_libraries=
13702 else $as_nop
13703 LIBS=$ac_save_LIBS
13704 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13706 # Don't even attempt the hair of trying to link an X program!
13707 for ac_extension in a so sl dylib la dll; do
13708 if test -r "$ac_dir/libX11.$ac_extension"; then
13709 ac_x_libraries=$ac_dir
13710 break 2
13712 done
13713 done
13715 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13716 conftest$ac_exeext conftest.$ac_ext
13717 fi # $ac_x_libraries = no
13720 # Record the results.
13721 case $ac_x_includes,$ac_x_libraries in #(
13722 no,* | *,no | *\'*) :
13723 # Didn't find X, or a directory has "'" in its name.
13724 ac_cv_have_x="have_x=no" ;; #(
13725 *) :
13726 # Record where we found X for the cache.
13727 ac_cv_have_x="have_x=yes\
13728 ac_x_includes='$ac_x_includes'\
13729 ac_x_libraries='$ac_x_libraries'" ;;
13730 esac
13732 ;; #(
13733 *) have_x=yes;;
13734 esac
13735 eval "$ac_cv_have_x"
13736 fi # $with_x != no
13738 if test "$have_x" != yes; then
13739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13740 printf "%s\n" "$have_x" >&6; }
13741 no_x=yes
13742 else
13743 # If each of the values was on the command line, it overrides each guess.
13744 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13745 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13746 # Update the cache value to reflect the command line values.
13747 ac_cv_have_x="have_x=yes\
13748 ac_x_includes='$x_includes'\
13749 ac_x_libraries='$x_libraries'"
13750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13751 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13754 if test "$no_x" = yes; then
13755 # Not all programs may use this symbol, but it does not hurt to define it.
13757 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13759 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13760 else
13761 if test -n "$x_includes"; then
13762 X_CFLAGS="$X_CFLAGS -I$x_includes"
13765 # It would also be nice to do this for all -L options, not just this one.
13766 if test -n "$x_libraries"; then
13767 X_LIBS="$X_LIBS -L$x_libraries"
13768 # For Solaris; some versions of Sun CC require a space after -R and
13769 # others require no space. Words are not sufficient . . . .
13770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13771 printf %s "checking whether -R must be followed by a space... " >&6; }
13772 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13773 ac_xsave_c_werror_flag=$ac_c_werror_flag
13774 ac_c_werror_flag=yes
13775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13776 /* end confdefs.h. */
13779 main (void)
13783 return 0;
13785 _ACEOF
13786 if ac_fn_c_try_link "$LINENO"
13787 then :
13788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13789 printf "%s\n" "no" >&6; }
13790 X_LIBS="$X_LIBS -R$x_libraries"
13791 else $as_nop
13792 LIBS="$ac_xsave_LIBS -R $x_libraries"
13793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13794 /* end confdefs.h. */
13797 main (void)
13801 return 0;
13803 _ACEOF
13804 if ac_fn_c_try_link "$LINENO"
13805 then :
13806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13807 printf "%s\n" "yes" >&6; }
13808 X_LIBS="$X_LIBS -R $x_libraries"
13809 else $as_nop
13810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13811 printf "%s\n" "neither works" >&6; }
13813 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13814 conftest$ac_exeext conftest.$ac_ext
13816 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13817 conftest$ac_exeext conftest.$ac_ext
13818 ac_c_werror_flag=$ac_xsave_c_werror_flag
13819 LIBS=$ac_xsave_LIBS
13822 # Check for system-dependent libraries X programs must link with.
13823 # Do this before checking for the system-independent R6 libraries
13824 # (-lICE), since we may need -lsocket or whatever for X linking.
13826 if test "$ISC" = yes; then
13827 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13828 else
13829 # Martyn Johnson says this is needed for Ultrix, if the X
13830 # libraries were built with DECnet support. And Karl Berry says
13831 # the Alpha needs dnet_stub (dnet does not exist).
13832 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13834 /* end confdefs.h. */
13836 /* Override any GCC internal prototype to avoid an error.
13837 Use char because int might match the return type of a GCC
13838 builtin and then its argument prototype would still apply. */
13839 char XOpenDisplay ();
13841 main (void)
13843 return XOpenDisplay ();
13845 return 0;
13847 _ACEOF
13848 if ac_fn_c_try_link "$LINENO"
13849 then :
13851 else $as_nop
13852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13853 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13854 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13855 then :
13856 printf %s "(cached) " >&6
13857 else $as_nop
13858 ac_check_lib_save_LIBS=$LIBS
13859 LIBS="-ldnet $LIBS"
13860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13861 /* end confdefs.h. */
13863 /* Override any GCC internal prototype to avoid an error.
13864 Use char because int might match the return type of a GCC
13865 builtin and then its argument prototype would still apply. */
13866 char dnet_ntoa ();
13868 main (void)
13870 return dnet_ntoa ();
13872 return 0;
13874 _ACEOF
13875 if ac_fn_c_try_link "$LINENO"
13876 then :
13877 ac_cv_lib_dnet_dnet_ntoa=yes
13878 else $as_nop
13879 ac_cv_lib_dnet_dnet_ntoa=no
13881 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13882 conftest$ac_exeext conftest.$ac_ext
13883 LIBS=$ac_check_lib_save_LIBS
13885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13886 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13887 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13888 then :
13889 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13892 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13894 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13895 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13896 then :
13897 printf %s "(cached) " >&6
13898 else $as_nop
13899 ac_check_lib_save_LIBS=$LIBS
13900 LIBS="-ldnet_stub $LIBS"
13901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13902 /* end confdefs.h. */
13904 /* Override any GCC internal prototype to avoid an error.
13905 Use char because int might match the return type of a GCC
13906 builtin and then its argument prototype would still apply. */
13907 char dnet_ntoa ();
13909 main (void)
13911 return dnet_ntoa ();
13913 return 0;
13915 _ACEOF
13916 if ac_fn_c_try_link "$LINENO"
13917 then :
13918 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13919 else $as_nop
13920 ac_cv_lib_dnet_stub_dnet_ntoa=no
13922 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13923 conftest$ac_exeext conftest.$ac_ext
13924 LIBS=$ac_check_lib_save_LIBS
13926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13927 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13928 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13929 then :
13930 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13935 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13936 conftest$ac_exeext conftest.$ac_ext
13937 LIBS="$ac_xsave_LIBS"
13939 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13940 # to get the SysV transport functions.
13941 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13942 # needs -lnsl.
13943 # The nsl library prevents programs from opening the X display
13944 # on Irix 5.2, according to T.E. Dickey.
13945 # The functions gethostbyname, getservbyname, and inet_addr are
13946 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13947 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13948 if test "x$ac_cv_func_gethostbyname" = xyes
13949 then :
13953 if test $ac_cv_func_gethostbyname = no; then
13954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13955 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13956 if test ${ac_cv_lib_nsl_gethostbyname+y}
13957 then :
13958 printf %s "(cached) " >&6
13959 else $as_nop
13960 ac_check_lib_save_LIBS=$LIBS
13961 LIBS="-lnsl $LIBS"
13962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13963 /* end confdefs.h. */
13965 /* Override any GCC internal prototype to avoid an error.
13966 Use char because int might match the return type of a GCC
13967 builtin and then its argument prototype would still apply. */
13968 char gethostbyname ();
13970 main (void)
13972 return gethostbyname ();
13974 return 0;
13976 _ACEOF
13977 if ac_fn_c_try_link "$LINENO"
13978 then :
13979 ac_cv_lib_nsl_gethostbyname=yes
13980 else $as_nop
13981 ac_cv_lib_nsl_gethostbyname=no
13983 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13984 conftest$ac_exeext conftest.$ac_ext
13985 LIBS=$ac_check_lib_save_LIBS
13987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13988 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13989 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13990 then :
13991 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13994 if test $ac_cv_lib_nsl_gethostbyname = no; then
13995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13996 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13997 if test ${ac_cv_lib_bsd_gethostbyname+y}
13998 then :
13999 printf %s "(cached) " >&6
14000 else $as_nop
14001 ac_check_lib_save_LIBS=$LIBS
14002 LIBS="-lbsd $LIBS"
14003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14004 /* end confdefs.h. */
14006 /* Override any GCC internal prototype to avoid an error.
14007 Use char because int might match the return type of a GCC
14008 builtin and then its argument prototype would still apply. */
14009 char gethostbyname ();
14011 main (void)
14013 return gethostbyname ();
14015 return 0;
14017 _ACEOF
14018 if ac_fn_c_try_link "$LINENO"
14019 then :
14020 ac_cv_lib_bsd_gethostbyname=yes
14021 else $as_nop
14022 ac_cv_lib_bsd_gethostbyname=no
14024 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14025 conftest$ac_exeext conftest.$ac_ext
14026 LIBS=$ac_check_lib_save_LIBS
14028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14029 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14030 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14031 then :
14032 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14038 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14039 # socket/setsockopt and other routines are undefined under SCO ODT
14040 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14041 # on later versions), says Simon Leinen: it contains gethostby*
14042 # variants that don't use the name server (or something). -lsocket
14043 # must be given before -lnsl if both are needed. We assume that
14044 # if connect needs -lnsl, so does gethostbyname.
14045 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14046 if test "x$ac_cv_func_connect" = xyes
14047 then :
14051 if test $ac_cv_func_connect = no; then
14052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14053 printf %s "checking for connect in -lsocket... " >&6; }
14054 if test ${ac_cv_lib_socket_connect+y}
14055 then :
14056 printf %s "(cached) " >&6
14057 else $as_nop
14058 ac_check_lib_save_LIBS=$LIBS
14059 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14061 /* end confdefs.h. */
14063 /* Override any GCC internal prototype to avoid an error.
14064 Use char because int might match the return type of a GCC
14065 builtin and then its argument prototype would still apply. */
14066 char connect ();
14068 main (void)
14070 return connect ();
14072 return 0;
14074 _ACEOF
14075 if ac_fn_c_try_link "$LINENO"
14076 then :
14077 ac_cv_lib_socket_connect=yes
14078 else $as_nop
14079 ac_cv_lib_socket_connect=no
14081 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14082 conftest$ac_exeext conftest.$ac_ext
14083 LIBS=$ac_check_lib_save_LIBS
14085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14086 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14087 if test "x$ac_cv_lib_socket_connect" = xyes
14088 then :
14089 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14094 # Guillermo Gomez says -lposix is necessary on A/UX.
14095 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14096 if test "x$ac_cv_func_remove" = xyes
14097 then :
14101 if test $ac_cv_func_remove = no; then
14102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14103 printf %s "checking for remove in -lposix... " >&6; }
14104 if test ${ac_cv_lib_posix_remove+y}
14105 then :
14106 printf %s "(cached) " >&6
14107 else $as_nop
14108 ac_check_lib_save_LIBS=$LIBS
14109 LIBS="-lposix $LIBS"
14110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14111 /* end confdefs.h. */
14113 /* Override any GCC internal prototype to avoid an error.
14114 Use char because int might match the return type of a GCC
14115 builtin and then its argument prototype would still apply. */
14116 char remove ();
14118 main (void)
14120 return remove ();
14122 return 0;
14124 _ACEOF
14125 if ac_fn_c_try_link "$LINENO"
14126 then :
14127 ac_cv_lib_posix_remove=yes
14128 else $as_nop
14129 ac_cv_lib_posix_remove=no
14131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14132 conftest$ac_exeext conftest.$ac_ext
14133 LIBS=$ac_check_lib_save_LIBS
14135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14136 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14137 if test "x$ac_cv_lib_posix_remove" = xyes
14138 then :
14139 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14144 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14145 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14146 if test "x$ac_cv_func_shmat" = xyes
14147 then :
14151 if test $ac_cv_func_shmat = no; then
14152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14153 printf %s "checking for shmat in -lipc... " >&6; }
14154 if test ${ac_cv_lib_ipc_shmat+y}
14155 then :
14156 printf %s "(cached) " >&6
14157 else $as_nop
14158 ac_check_lib_save_LIBS=$LIBS
14159 LIBS="-lipc $LIBS"
14160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14161 /* end confdefs.h. */
14163 /* Override any GCC internal prototype to avoid an error.
14164 Use char because int might match the return type of a GCC
14165 builtin and then its argument prototype would still apply. */
14166 char shmat ();
14168 main (void)
14170 return shmat ();
14172 return 0;
14174 _ACEOF
14175 if ac_fn_c_try_link "$LINENO"
14176 then :
14177 ac_cv_lib_ipc_shmat=yes
14178 else $as_nop
14179 ac_cv_lib_ipc_shmat=no
14181 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14182 conftest$ac_exeext conftest.$ac_ext
14183 LIBS=$ac_check_lib_save_LIBS
14185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14186 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14187 if test "x$ac_cv_lib_ipc_shmat" = xyes
14188 then :
14189 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14195 # Check for libraries that X11R6 Xt/Xaw programs need.
14196 ac_save_LDFLAGS=$LDFLAGS
14197 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14198 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14199 # check for ICE first), but we must link in the order -lSM -lICE or
14200 # we get undefined symbols. So assume we have SM if we have ICE.
14201 # These have to be linked with before -lX11, unlike the other
14202 # libraries we check for below, so use a different variable.
14203 # John Interrante, Karl Berry
14204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14205 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14206 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14207 then :
14208 printf %s "(cached) " >&6
14209 else $as_nop
14210 ac_check_lib_save_LIBS=$LIBS
14211 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14213 /* end confdefs.h. */
14215 /* Override any GCC internal prototype to avoid an error.
14216 Use char because int might match the return type of a GCC
14217 builtin and then its argument prototype would still apply. */
14218 char IceConnectionNumber ();
14220 main (void)
14222 return IceConnectionNumber ();
14224 return 0;
14226 _ACEOF
14227 if ac_fn_c_try_link "$LINENO"
14228 then :
14229 ac_cv_lib_ICE_IceConnectionNumber=yes
14230 else $as_nop
14231 ac_cv_lib_ICE_IceConnectionNumber=no
14233 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14234 conftest$ac_exeext conftest.$ac_ext
14235 LIBS=$ac_check_lib_save_LIBS
14237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14238 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14239 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14240 then :
14241 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14244 LDFLAGS=$ac_save_LDFLAGS
14249 if test "$have_x" = "yes"
14250 then
14251 ac_save_CPPFLAGS="$CPPFLAGS"
14252 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14255 printf %s "checking for -lX11... " >&6; }
14256 if test ${ac_cv_lib_soname_X11+y}
14257 then :
14258 printf %s "(cached) " >&6
14259 else $as_nop
14260 ac_check_soname_save_LIBS=$LIBS
14261 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14263 /* end confdefs.h. */
14265 /* Override any GCC internal prototype to avoid an error.
14266 Use char because int might match the return type of a GCC
14267 builtin and then its argument prototype would still apply. */
14268 char XCreateWindow ();
14270 main (void)
14272 return XCreateWindow ();
14274 return 0;
14276 _ACEOF
14277 if ac_fn_c_try_link "$LINENO"
14278 then :
14279 case "$LIBEXT" in
14280 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14281 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'` ;;
14282 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14283 if ${ac_cv_lib_soname_X11:+false} :
14284 then :
14285 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14286 fi ;;
14287 esac
14288 else $as_nop
14289 ac_cv_lib_soname_X11=
14291 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14292 conftest$ac_exeext conftest.$ac_ext
14293 LIBS=$ac_check_soname_save_LIBS
14295 if ${ac_cv_lib_soname_X11:+false} :
14296 then :
14297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14298 printf "%s\n" "not found" >&6; }
14300 else $as_nop
14301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14302 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14304 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14309 printf %s "checking for -lXext... " >&6; }
14310 if test ${ac_cv_lib_soname_Xext+y}
14311 then :
14312 printf %s "(cached) " >&6
14313 else $as_nop
14314 ac_check_soname_save_LIBS=$LIBS
14315 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14317 /* end confdefs.h. */
14319 /* Override any GCC internal prototype to avoid an error.
14320 Use char because int might match the return type of a GCC
14321 builtin and then its argument prototype would still apply. */
14322 char XextCreateExtension ();
14324 main (void)
14326 return XextCreateExtension ();
14328 return 0;
14330 _ACEOF
14331 if ac_fn_c_try_link "$LINENO"
14332 then :
14333 case "$LIBEXT" in
14334 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14335 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'` ;;
14336 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14337 if ${ac_cv_lib_soname_Xext:+false} :
14338 then :
14339 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14340 fi ;;
14341 esac
14342 else $as_nop
14343 ac_cv_lib_soname_Xext=
14345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14346 conftest$ac_exeext conftest.$ac_ext
14347 LIBS=$ac_check_soname_save_LIBS
14349 if ${ac_cv_lib_soname_Xext:+false} :
14350 then :
14351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14352 printf "%s\n" "not found" >&6; }
14354 else $as_nop
14355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14356 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14358 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14360 X_LIBS="$X_LIBS -lXext"
14362 X_LIBS="$X_LIBS -lX11"
14364 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14365 # include <X11/Xlib.h>
14366 #endif
14367 #ifdef HAVE_X11_XUTIL_H
14368 # include <X11/Xutil.h>
14369 #endif
14371 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14372 then :
14373 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14376 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14377 # include <X11/Xlib.h>
14378 #endif
14379 #ifdef HAVE_X11_XUTIL_H
14380 # include <X11/Xutil.h>
14381 #endif
14383 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14384 then :
14385 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14388 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14389 # include <X11/Xlib.h>
14390 #endif
14391 #ifdef HAVE_X11_XUTIL_H
14392 # include <X11/Xutil.h>
14393 #endif
14395 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14396 then :
14397 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14400 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14401 # include <X11/Xlib.h>
14402 #endif
14403 #ifdef HAVE_X11_XUTIL_H
14404 # include <X11/Xutil.h>
14405 #endif
14407 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14408 then :
14409 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14412 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14413 # include <X11/Xlib.h>
14414 #endif
14415 #ifdef HAVE_X11_XUTIL_H
14416 # include <X11/Xutil.h>
14417 #endif
14419 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14420 then :
14421 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14424 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14425 # include <X11/Xlib.h>
14426 #endif
14427 #ifdef HAVE_X11_XUTIL_H
14428 # include <X11/Xutil.h>
14429 #endif
14431 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14432 then :
14433 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14436 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14437 # include <X11/Xlib.h>
14438 #endif
14439 #ifdef HAVE_X11_XUTIL_H
14440 # include <X11/Xutil.h>
14441 #endif
14443 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14444 then :
14445 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14448 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14449 # include <X11/Xlib.h>
14450 #endif
14451 #ifdef HAVE_X11_XUTIL_H
14452 # include <X11/Xutil.h>
14453 #endif
14455 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14456 then :
14457 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14460 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14461 # include <X11/Xlib.h>
14462 #endif
14463 #ifdef HAVE_X11_XUTIL_H
14464 # include <X11/Xutil.h>
14465 #endif
14467 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14468 then :
14469 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14472 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14473 # include <X11/Xlib.h>
14474 #endif
14475 #ifdef HAVE_X11_XUTIL_H
14476 # include <X11/Xutil.h>
14477 #endif
14479 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14480 then :
14481 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14484 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14485 # include <X11/Xlib.h>
14486 #endif
14487 #ifdef HAVE_X11_XUTIL_H
14488 # include <X11/Xutil.h>
14489 #endif
14491 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14492 then :
14493 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14496 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14497 # include <X11/Xlib.h>
14498 #endif
14499 #ifdef HAVE_X11_XUTIL_H
14500 # include <X11/Xutil.h>
14501 #endif
14503 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14504 then :
14505 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14508 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14509 # include <X11/Xlib.h>
14510 #endif
14511 #ifdef HAVE_X11_XUTIL_H
14512 # include <X11/Xutil.h>
14513 #endif
14515 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14516 then :
14517 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14520 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14521 # include <X11/Xlib.h>
14522 #endif
14523 #ifdef HAVE_X11_XUTIL_H
14524 # include <X11/Xutil.h>
14525 #endif
14527 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14528 then :
14529 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14532 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14533 # include <X11/Xlib.h>
14534 #endif
14535 #ifdef HAVE_X11_XUTIL_H
14536 # include <X11/Xutil.h>
14537 #endif
14539 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14540 then :
14541 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14546 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14547 then
14548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14549 printf %s "checking for -lXcursor... " >&6; }
14550 if test ${ac_cv_lib_soname_Xcursor+y}
14551 then :
14552 printf %s "(cached) " >&6
14553 else $as_nop
14554 ac_check_soname_save_LIBS=$LIBS
14555 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14557 /* end confdefs.h. */
14559 /* Override any GCC internal prototype to avoid an error.
14560 Use char because int might match the return type of a GCC
14561 builtin and then its argument prototype would still apply. */
14562 char XcursorImageLoadCursor ();
14564 main (void)
14566 return XcursorImageLoadCursor ();
14568 return 0;
14570 _ACEOF
14571 if ac_fn_c_try_link "$LINENO"
14572 then :
14573 case "$LIBEXT" in
14574 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14575 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'` ;;
14576 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14577 if ${ac_cv_lib_soname_Xcursor:+false} :
14578 then :
14579 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14580 fi ;;
14581 esac
14582 else $as_nop
14583 ac_cv_lib_soname_Xcursor=
14585 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14586 conftest$ac_exeext conftest.$ac_ext
14587 LIBS=$ac_check_soname_save_LIBS
14589 if ${ac_cv_lib_soname_Xcursor:+false} :
14590 then :
14591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14592 printf "%s\n" "not found" >&6; }
14594 else $as_nop
14595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14596 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14598 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14603 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14604 then :
14605 case "x$with_xcursor" in
14606 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14607 xno) ;;
14608 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14609 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14610 esac
14614 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14615 then
14616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14617 printf %s "checking for -lXi... " >&6; }
14618 if test ${ac_cv_lib_soname_Xi+y}
14619 then :
14620 printf %s "(cached) " >&6
14621 else $as_nop
14622 ac_check_soname_save_LIBS=$LIBS
14623 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14625 /* end confdefs.h. */
14627 /* Override any GCC internal prototype to avoid an error.
14628 Use char because int might match the return type of a GCC
14629 builtin and then its argument prototype would still apply. */
14630 char XOpenDevice ();
14632 main (void)
14634 return XOpenDevice ();
14636 return 0;
14638 _ACEOF
14639 if ac_fn_c_try_link "$LINENO"
14640 then :
14641 case "$LIBEXT" in
14642 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14643 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'` ;;
14644 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14645 if ${ac_cv_lib_soname_Xi:+false} :
14646 then :
14647 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14648 fi ;;
14649 esac
14650 else $as_nop
14651 ac_cv_lib_soname_Xi=
14653 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14654 conftest$ac_exeext conftest.$ac_ext
14655 LIBS=$ac_check_soname_save_LIBS
14657 if ${ac_cv_lib_soname_Xi:+false} :
14658 then :
14659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14660 printf "%s\n" "not found" >&6; }
14662 else $as_nop
14663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14664 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14666 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14671 if test "x$ac_cv_lib_soname_Xi" = "x"
14672 then :
14673 case "x$with_xinput" in
14674 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14675 xno) ;;
14676 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14677 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14678 esac
14682 if test "x$ac_cv_lib_soname_Xi" != x
14683 then
14684 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14685 then :
14686 case "x$with_xinput2" in
14687 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14688 xno) ;;
14689 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14690 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14691 esac
14696 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14697 then
14698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14699 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14700 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14701 then :
14702 printf %s "(cached) " >&6
14703 else $as_nop
14704 ac_check_lib_save_LIBS=$LIBS
14705 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14707 /* end confdefs.h. */
14709 /* Override any GCC internal prototype to avoid an error.
14710 Use char because int might match the return type of a GCC
14711 builtin and then its argument prototype would still apply. */
14712 char XShmQueryExtension ();
14714 main (void)
14716 return XShmQueryExtension ();
14718 return 0;
14720 _ACEOF
14721 if ac_fn_c_try_link "$LINENO"
14722 then :
14723 ac_cv_lib_Xext_XShmQueryExtension=yes
14724 else $as_nop
14725 ac_cv_lib_Xext_XShmQueryExtension=no
14727 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14728 conftest$ac_exeext conftest.$ac_ext
14729 LIBS=$ac_check_lib_save_LIBS
14731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14732 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14733 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14734 then :
14736 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14741 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14742 then :
14743 case "x$with_xshm" in
14744 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14745 xno) ;;
14746 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14747 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14748 esac
14752 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14753 then
14754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14755 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14756 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14757 then :
14758 printf %s "(cached) " >&6
14759 else $as_nop
14760 ac_check_lib_save_LIBS=$LIBS
14761 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14763 /* end confdefs.h. */
14765 /* Override any GCC internal prototype to avoid an error.
14766 Use char because int might match the return type of a GCC
14767 builtin and then its argument prototype would still apply. */
14768 char XShapeQueryExtension ();
14770 main (void)
14772 return XShapeQueryExtension ();
14774 return 0;
14776 _ACEOF
14777 if ac_fn_c_try_link "$LINENO"
14778 then :
14779 ac_cv_lib_Xext_XShapeQueryExtension=yes
14780 else $as_nop
14781 ac_cv_lib_Xext_XShapeQueryExtension=no
14783 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14784 conftest$ac_exeext conftest.$ac_ext
14785 LIBS=$ac_check_lib_save_LIBS
14787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14788 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14789 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14790 then :
14792 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14797 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14798 then :
14799 case "x$with_xshape" in
14800 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14801 xno) ;;
14802 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14803 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14804 esac
14808 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14809 then
14810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14811 printf %s "checking for -lXxf86vm... " >&6; }
14812 if test ${ac_cv_lib_soname_Xxf86vm+y}
14813 then :
14814 printf %s "(cached) " >&6
14815 else $as_nop
14816 ac_check_soname_save_LIBS=$LIBS
14817 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14819 /* end confdefs.h. */
14821 /* Override any GCC internal prototype to avoid an error.
14822 Use char because int might match the return type of a GCC
14823 builtin and then its argument prototype would still apply. */
14824 char XF86VidModeQueryExtension ();
14826 main (void)
14828 return XF86VidModeQueryExtension ();
14830 return 0;
14832 _ACEOF
14833 if ac_fn_c_try_link "$LINENO"
14834 then :
14835 case "$LIBEXT" in
14836 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14837 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'` ;;
14838 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14839 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14840 then :
14841 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14842 fi ;;
14843 esac
14844 else $as_nop
14845 ac_cv_lib_soname_Xxf86vm=
14847 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14848 conftest$ac_exeext conftest.$ac_ext
14849 LIBS=$ac_check_soname_save_LIBS
14851 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14852 then :
14853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14854 printf "%s\n" "not found" >&6; }
14856 else $as_nop
14857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14858 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14860 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14865 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14866 then :
14867 case "x$with_xxf86vm" in
14868 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14869 xno) ;;
14870 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14871 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14872 esac
14876 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14877 then
14878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14879 printf %s "checking for -lXrender... " >&6; }
14880 if test ${ac_cv_lib_soname_Xrender+y}
14881 then :
14882 printf %s "(cached) " >&6
14883 else $as_nop
14884 ac_check_soname_save_LIBS=$LIBS
14885 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14887 /* end confdefs.h. */
14889 /* Override any GCC internal prototype to avoid an error.
14890 Use char because int might match the return type of a GCC
14891 builtin and then its argument prototype would still apply. */
14892 char XRenderQueryExtension ();
14894 main (void)
14896 return XRenderQueryExtension ();
14898 return 0;
14900 _ACEOF
14901 if ac_fn_c_try_link "$LINENO"
14902 then :
14903 case "$LIBEXT" in
14904 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14905 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'` ;;
14906 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14907 if ${ac_cv_lib_soname_Xrender:+false} :
14908 then :
14909 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14910 fi ;;
14911 esac
14912 else $as_nop
14913 ac_cv_lib_soname_Xrender=
14915 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14916 conftest$ac_exeext conftest.$ac_ext
14917 LIBS=$ac_check_soname_save_LIBS
14919 if ${ac_cv_lib_soname_Xrender:+false} :
14920 then :
14921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14922 printf "%s\n" "not found" >&6; }
14924 else $as_nop
14925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14926 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14928 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14931 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14932 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14933 then :
14934 printf %s "(cached) " >&6
14935 else $as_nop
14936 ac_check_lib_save_LIBS=$LIBS
14937 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14939 /* end confdefs.h. */
14941 /* Override any GCC internal prototype to avoid an error.
14942 Use char because int might match the return type of a GCC
14943 builtin and then its argument prototype would still apply. */
14944 char XRenderSetPictureTransform ();
14946 main (void)
14948 return XRenderSetPictureTransform ();
14950 return 0;
14952 _ACEOF
14953 if ac_fn_c_try_link "$LINENO"
14954 then :
14955 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14956 else $as_nop
14957 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14959 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14960 conftest$ac_exeext conftest.$ac_ext
14961 LIBS=$ac_check_lib_save_LIBS
14963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14964 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14965 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14966 then :
14968 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14973 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14974 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14975 then :
14976 printf %s "(cached) " >&6
14977 else $as_nop
14978 ac_check_lib_save_LIBS=$LIBS
14979 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14981 /* end confdefs.h. */
14983 /* Override any GCC internal prototype to avoid an error.
14984 Use char because int might match the return type of a GCC
14985 builtin and then its argument prototype would still apply. */
14986 char XRenderCreateLinearGradient ();
14988 main (void)
14990 return XRenderCreateLinearGradient ();
14992 return 0;
14994 _ACEOF
14995 if ac_fn_c_try_link "$LINENO"
14996 then :
14997 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
14998 else $as_nop
14999 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15001 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15002 conftest$ac_exeext conftest.$ac_ext
15003 LIBS=$ac_check_lib_save_LIBS
15005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15006 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15007 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15008 then :
15010 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15017 if test "x$ac_cv_lib_soname_Xrender" = "x"
15018 then :
15019 case "x$with_xrender" in
15020 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15021 xno) ;;
15022 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15023 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15024 esac
15028 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15029 then
15030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15031 /* end confdefs.h. */
15032 #include <X11/Xlib.h>
15033 #include <X11/extensions/Xrandr.h>
15035 main (void)
15037 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15039 return 0;
15041 _ACEOF
15042 if ac_fn_c_try_compile "$LINENO"
15043 then :
15044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15045 printf %s "checking for -lXrandr... " >&6; }
15046 if test ${ac_cv_lib_soname_Xrandr+y}
15047 then :
15048 printf %s "(cached) " >&6
15049 else $as_nop
15050 ac_check_soname_save_LIBS=$LIBS
15051 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15053 /* end confdefs.h. */
15055 /* Override any GCC internal prototype to avoid an error.
15056 Use char because int might match the return type of a GCC
15057 builtin and then its argument prototype would still apply. */
15058 char XRRQueryExtension ();
15060 main (void)
15062 return XRRQueryExtension ();
15064 return 0;
15066 _ACEOF
15067 if ac_fn_c_try_link "$LINENO"
15068 then :
15069 case "$LIBEXT" in
15070 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15071 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'` ;;
15072 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15073 if ${ac_cv_lib_soname_Xrandr:+false} :
15074 then :
15075 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15076 fi ;;
15077 esac
15078 else $as_nop
15079 ac_cv_lib_soname_Xrandr=
15081 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15082 conftest$ac_exeext conftest.$ac_ext
15083 LIBS=$ac_check_soname_save_LIBS
15085 if ${ac_cv_lib_soname_Xrandr:+false} :
15086 then :
15087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15088 printf "%s\n" "not found" >&6; }
15090 else $as_nop
15091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15092 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15094 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15097 /* end confdefs.h. */
15098 #include <X11/Xlib.h>
15099 #include <X11/extensions/Xrandr.h>
15101 main (void)
15103 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15105 return 0;
15107 _ACEOF
15108 if ac_fn_c_try_compile "$LINENO"
15109 then :
15111 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15113 else $as_nop
15114 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15116 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15119 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15121 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15122 then :
15123 case "x$with_xrandr" in
15124 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15125 xno) ;;
15126 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15127 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15128 esac
15132 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15133 then
15134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15135 /* end confdefs.h. */
15136 #include <X11/Xlib.h>
15137 #include <X11/extensions/Xfixes.h>
15139 main (void)
15141 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15143 return 0;
15145 _ACEOF
15146 if ac_fn_c_try_compile "$LINENO"
15147 then :
15148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15149 printf %s "checking for -lXfixes... " >&6; }
15150 if test ${ac_cv_lib_soname_Xfixes+y}
15151 then :
15152 printf %s "(cached) " >&6
15153 else $as_nop
15154 ac_check_soname_save_LIBS=$LIBS
15155 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15157 /* end confdefs.h. */
15159 /* Override any GCC internal prototype to avoid an error.
15160 Use char because int might match the return type of a GCC
15161 builtin and then its argument prototype would still apply. */
15162 char XFixesQueryVersion ();
15164 main (void)
15166 return XFixesQueryVersion ();
15168 return 0;
15170 _ACEOF
15171 if ac_fn_c_try_link "$LINENO"
15172 then :
15173 case "$LIBEXT" in
15174 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15175 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'` ;;
15176 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15177 if ${ac_cv_lib_soname_Xfixes:+false} :
15178 then :
15179 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15180 fi ;;
15181 esac
15182 else $as_nop
15183 ac_cv_lib_soname_Xfixes=
15185 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15186 conftest$ac_exeext conftest.$ac_ext
15187 LIBS=$ac_check_soname_save_LIBS
15189 if ${ac_cv_lib_soname_Xfixes:+false} :
15190 then :
15191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15192 printf "%s\n" "not found" >&6; }
15194 else $as_nop
15195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15196 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15198 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15203 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15205 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15206 then :
15207 case "x$with_xfixes" in
15208 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15209 xno) ;;
15210 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15211 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15212 esac
15216 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15217 then
15218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15219 /* end confdefs.h. */
15220 #include <X11/Xlib.h>
15221 #include <X11/extensions/Xinerama.h>
15223 main (void)
15225 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15227 return 0;
15229 _ACEOF
15230 if ac_fn_c_try_compile "$LINENO"
15231 then :
15232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15233 printf %s "checking for -lXinerama... " >&6; }
15234 if test ${ac_cv_lib_soname_Xinerama+y}
15235 then :
15236 printf %s "(cached) " >&6
15237 else $as_nop
15238 ac_check_soname_save_LIBS=$LIBS
15239 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15241 /* end confdefs.h. */
15243 /* Override any GCC internal prototype to avoid an error.
15244 Use char because int might match the return type of a GCC
15245 builtin and then its argument prototype would still apply. */
15246 char XineramaQueryScreens ();
15248 main (void)
15250 return XineramaQueryScreens ();
15252 return 0;
15254 _ACEOF
15255 if ac_fn_c_try_link "$LINENO"
15256 then :
15257 case "$LIBEXT" in
15258 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15259 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'` ;;
15260 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15261 if ${ac_cv_lib_soname_Xinerama:+false} :
15262 then :
15263 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15264 fi ;;
15265 esac
15266 else $as_nop
15267 ac_cv_lib_soname_Xinerama=
15269 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15270 conftest$ac_exeext conftest.$ac_ext
15271 LIBS=$ac_check_soname_save_LIBS
15273 if ${ac_cv_lib_soname_Xinerama:+false} :
15274 then :
15275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15276 printf "%s\n" "not found" >&6; }
15278 else $as_nop
15279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15280 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15282 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15287 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15289 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15290 then :
15291 case "x$with_xinerama" in
15292 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15293 xno) ;;
15294 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15295 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15296 esac
15300 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15301 then
15302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15303 printf %s "checking for -lXcomposite... " >&6; }
15304 if test ${ac_cv_lib_soname_Xcomposite+y}
15305 then :
15306 printf %s "(cached) " >&6
15307 else $as_nop
15308 ac_check_soname_save_LIBS=$LIBS
15309 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15311 /* end confdefs.h. */
15313 /* Override any GCC internal prototype to avoid an error.
15314 Use char because int might match the return type of a GCC
15315 builtin and then its argument prototype would still apply. */
15316 char XCompositeRedirectWindow ();
15318 main (void)
15320 return XCompositeRedirectWindow ();
15322 return 0;
15324 _ACEOF
15325 if ac_fn_c_try_link "$LINENO"
15326 then :
15327 case "$LIBEXT" in
15328 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15329 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'` ;;
15330 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15331 if ${ac_cv_lib_soname_Xcomposite:+false} :
15332 then :
15333 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15334 fi ;;
15335 esac
15336 else $as_nop
15337 ac_cv_lib_soname_Xcomposite=
15339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15340 conftest$ac_exeext conftest.$ac_ext
15341 LIBS=$ac_check_soname_save_LIBS
15343 if ${ac_cv_lib_soname_Xcomposite:+false} :
15344 then :
15345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15346 printf "%s\n" "not found" >&6; }
15348 else $as_nop
15349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15350 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15352 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" "#ifdef HAVE_X11_XLIB_H
15369 #include <X11/Xlib.h>
15370 #endif
15372 if test "x$ac_cv_member_XICCallback_callback" = xyes
15373 then :
15375 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15379 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15380 #include <X11/Xlib.h>
15381 #endif
15383 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15384 then :
15386 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15393 opengl_msg=""
15394 if test "x$with_opengl" != "xno"
15395 then
15396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15397 printf %s "checking for -lGL... " >&6; }
15398 if test ${ac_cv_lib_soname_GL+y}
15399 then :
15400 printf %s "(cached) " >&6
15401 else $as_nop
15402 ac_check_soname_save_LIBS=$LIBS
15403 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15405 /* end confdefs.h. */
15407 /* Override any GCC internal prototype to avoid an error.
15408 Use char because int might match the return type of a GCC
15409 builtin and then its argument prototype would still apply. */
15410 char glXCreateContext ();
15412 main (void)
15414 return glXCreateContext ();
15416 return 0;
15418 _ACEOF
15419 if ac_fn_c_try_link "$LINENO"
15420 then :
15421 case "$LIBEXT" in
15422 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15423 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'` ;;
15424 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15425 if ${ac_cv_lib_soname_GL:+false} :
15426 then :
15427 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15428 fi ;;
15429 esac
15430 else $as_nop
15431 ac_cv_lib_soname_GL=
15433 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15434 conftest$ac_exeext conftest.$ac_ext
15435 LIBS=$ac_check_soname_save_LIBS
15437 if ${ac_cv_lib_soname_GL:+false} :
15438 then :
15439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15440 printf "%s\n" "not found" >&6; }
15441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15442 printf %s "checking for -lGL... " >&6; }
15443 if test ${ac_cv_lib_soname_GL+y}
15444 then :
15445 printf %s "(cached) " >&6
15446 else $as_nop
15447 ac_check_soname_save_LIBS=$LIBS
15448 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"
15449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15450 /* end confdefs.h. */
15452 /* Override any GCC internal prototype to avoid an error.
15453 Use char because int might match the return type of a GCC
15454 builtin and then its argument prototype would still apply. */
15455 char glXCreateContext ();
15457 main (void)
15459 return glXCreateContext ();
15461 return 0;
15463 _ACEOF
15464 if ac_fn_c_try_link "$LINENO"
15465 then :
15466 case "$LIBEXT" in
15467 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15468 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'` ;;
15469 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15470 if ${ac_cv_lib_soname_GL:+false} :
15471 then :
15472 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15473 fi ;;
15474 esac
15475 else $as_nop
15476 ac_cv_lib_soname_GL=
15478 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15479 conftest$ac_exeext conftest.$ac_ext
15480 LIBS=$ac_check_soname_save_LIBS
15482 if ${ac_cv_lib_soname_GL:+false} :
15483 then :
15484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15485 printf "%s\n" "not found" >&6; }
15486 if test -f /usr/X11R6/lib/libGL.a
15487 then
15488 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15489 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15490 else
15491 opengl_msg="No OpenGL library found on this system."
15493 else $as_nop
15494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15495 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15497 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15499 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"
15501 else $as_nop
15502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15503 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15505 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15507 OPENGL_LIBS="-lGL"
15509 if test "x$with_osmesa" != "xno"
15510 then
15511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15512 printf %s "checking for -lOSMesa... " >&6; }
15513 if test ${ac_cv_lib_soname_OSMesa+y}
15514 then :
15515 printf %s "(cached) " >&6
15516 else $as_nop
15517 ac_check_soname_save_LIBS=$LIBS
15518 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15520 /* end confdefs.h. */
15522 /* Override any GCC internal prototype to avoid an error.
15523 Use char because int might match the return type of a GCC
15524 builtin and then its argument prototype would still apply. */
15525 char OSMesaGetProcAddress ();
15527 main (void)
15529 return OSMesaGetProcAddress ();
15531 return 0;
15533 _ACEOF
15534 if ac_fn_c_try_link "$LINENO"
15535 then :
15536 case "$LIBEXT" in
15537 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15538 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'` ;;
15539 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15540 if ${ac_cv_lib_soname_OSMesa:+false} :
15541 then :
15542 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15543 fi ;;
15544 esac
15545 else $as_nop
15546 ac_cv_lib_soname_OSMesa=
15548 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15549 conftest$ac_exeext conftest.$ac_ext
15550 LIBS=$ac_check_soname_save_LIBS
15552 if ${ac_cv_lib_soname_OSMesa:+false} :
15553 then :
15554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15555 printf "%s\n" "not found" >&6; }
15557 else $as_nop
15558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15559 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15561 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15565 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15566 then :
15567 case "x$with_osmesa" in
15568 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15569 xno) ;;
15570 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15571 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15572 esac
15577 if test -n "$opengl_msg"
15578 then :
15579 case "x$with_opengl" in
15580 x) as_fn_append wine_warnings "|$opengl_msg
15581 OpenGL and Direct3D won't be supported." ;;
15582 xno) ;;
15583 *) as_fn_error $? "$opengl_msg
15584 OpenGL and Direct3D won't be supported.
15585 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15586 esac
15590 CPPFLAGS="$ac_save_CPPFLAGS"
15591 else
15592 X_CFLAGS=""
15593 X_LIBS=""
15596 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15597 then
15598 if test "x$X_LIBS" = "x"
15599 then :
15600 case "x$with_x" in
15601 xno) ;;
15602 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15603 without X support, which probably isn't what you want. You will need
15604 to install ${notice_platform}development packages of Xlib at the very least.
15605 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15606 esac
15607 enable_winex11_drv=${enable_winex11_drv:-no}
15609 else
15610 if test "x$X_LIBS" = "x"
15611 then :
15612 case "x$with_x" in
15613 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15614 xno) ;;
15615 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15616 This is an error since --with-x was requested." "$LINENO" 5 ;;
15617 esac
15618 enable_winex11_drv=${enable_winex11_drv:-no}
15622 if test "x$with_wayland" != "xno"
15623 then
15624 rm -f conftest.err
15625 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15626 then :
15627 if test ${PKG_CONFIG+y}
15628 then :
15629 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15633 if ${WAYLAND_CLIENT_LIBS:+false} :
15634 then :
15635 if test ${PKG_CONFIG+y}
15636 then :
15637 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15642 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15643 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15644 if test -s conftest.err; then
15645 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15646 cat conftest.err >&5
15648 rm -f conftest.err
15649 ac_save_CPPFLAGS=$CPPFLAGS
15650 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15651 for ac_header in wayland-client.h
15652 do :
15653 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15654 if test "x$ac_cv_header_wayland_client_h" = xyes
15655 then :
15656 printf "%s\n" "#define HAVE_WAYLAND_CLIENT_H 1" >>confdefs.h
15657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15658 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
15659 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15660 then :
15661 printf %s "(cached) " >&6
15662 else $as_nop
15663 ac_check_lib_save_LIBS=$LIBS
15664 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15666 /* end confdefs.h. */
15668 /* Override any GCC internal prototype to avoid an error.
15669 Use char because int might match the return type of a GCC
15670 builtin and then its argument prototype would still apply. */
15671 char wl_display_connect ();
15673 main (void)
15675 return wl_display_connect ();
15677 return 0;
15679 _ACEOF
15680 if ac_fn_c_try_link "$LINENO"
15681 then :
15682 ac_cv_lib_wayland_client_wl_display_connect=yes
15683 else $as_nop
15684 ac_cv_lib_wayland_client_wl_display_connect=no
15686 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15687 conftest$ac_exeext conftest.$ac_ext
15688 LIBS=$ac_check_lib_save_LIBS
15690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15691 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15692 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15693 then :
15694 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15695 set dummy wayland-scanner; ac_word=$2
15696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15697 printf %s "checking for $ac_word... " >&6; }
15698 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15699 then :
15700 printf %s "(cached) " >&6
15701 else $as_nop
15702 case $WAYLAND_SCANNER in
15703 [\\/]* | ?:[\\/]*)
15704 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
15707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15708 for as_dir in $PATH
15710 IFS=$as_save_IFS
15711 case $as_dir in #(((
15712 '') as_dir=./ ;;
15713 */) ;;
15714 *) as_dir=$as_dir/ ;;
15715 esac
15716 for ac_exec_ext in '' $ac_executable_extensions; do
15717 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15718 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
15719 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15720 break 2
15722 done
15723 done
15724 IFS=$as_save_IFS
15726 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`"
15728 esac
15730 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
15731 if test -n "$WAYLAND_SCANNER"; then
15732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15733 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15734 else
15735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15736 printf "%s\n" "no" >&6; }
15740 else $as_nop
15741 WAYLAND_CLIENT_LIBS=""
15746 done
15747 CPPFLAGS=$ac_save_CPPFLAGS
15750 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
15751 then :
15752 case "x$with_wayland" in
15753 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15754 xno) ;;
15755 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15756 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15757 esac
15758 enable_winewayland_drv=${enable_winewayland_drv:-no}
15761 if test "$ac_cv_header_CL_cl_h" = "yes"
15762 then
15763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15764 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15765 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15766 then :
15767 printf %s "(cached) " >&6
15768 else $as_nop
15769 ac_check_lib_save_LIBS=$LIBS
15770 LIBS="-lOpenCL $LIBS"
15771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15772 /* end confdefs.h. */
15774 /* Override any GCC internal prototype to avoid an error.
15775 Use char because int might match the return type of a GCC
15776 builtin and then its argument prototype would still apply. */
15777 char clGetPlatformInfo ();
15779 main (void)
15781 return clGetPlatformInfo ();
15783 return 0;
15785 _ACEOF
15786 if ac_fn_c_try_link "$LINENO"
15787 then :
15788 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15789 else $as_nop
15790 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15792 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15793 conftest$ac_exeext conftest.$ac_ext
15794 LIBS=$ac_check_lib_save_LIBS
15796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15797 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15798 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15799 then :
15800 OPENCL_LIBS="-lOpenCL"
15805 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15806 then :
15807 case "x$with_opencl" in
15808 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15809 xno) ;;
15810 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15811 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15812 esac
15813 enable_opencl=${enable_opencl:-no}
15816 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15817 then
15818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15819 printf %s "checking for pcap_init in -lpcap... " >&6; }
15820 if test ${ac_cv_lib_pcap_pcap_init+y}
15821 then :
15822 printf %s "(cached) " >&6
15823 else $as_nop
15824 ac_check_lib_save_LIBS=$LIBS
15825 LIBS="-lpcap $LIBS"
15826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15827 /* end confdefs.h. */
15829 /* Override any GCC internal prototype to avoid an error.
15830 Use char because int might match the return type of a GCC
15831 builtin and then its argument prototype would still apply. */
15832 char pcap_init ();
15834 main (void)
15836 return pcap_init ();
15838 return 0;
15840 _ACEOF
15841 if ac_fn_c_try_link "$LINENO"
15842 then :
15843 ac_cv_lib_pcap_pcap_init=yes
15844 else $as_nop
15845 ac_cv_lib_pcap_pcap_init=no
15847 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15848 conftest$ac_exeext conftest.$ac_ext
15849 LIBS=$ac_check_lib_save_LIBS
15851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15852 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15853 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15854 then :
15855 PCAP_LIBS="-lpcap"
15860 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15861 then :
15862 case "x$with_pcap" in
15863 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15864 xno) ;;
15865 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15866 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15867 esac
15868 enable_wpcap=${enable_wpcap:-no}
15871 if test "x$with_pcsclite" != "xno"
15872 then
15873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15874 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
15875 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15876 then :
15877 printf %s "(cached) " >&6
15878 else $as_nop
15879 ac_check_lib_save_LIBS=$LIBS
15880 LIBS="-lpcsclite $LIBS"
15881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15882 /* end confdefs.h. */
15884 /* Override any GCC internal prototype to avoid an error.
15885 Use char because int might match the return type of a GCC
15886 builtin and then its argument prototype would still apply. */
15887 char SCardEstablishContext ();
15889 main (void)
15891 return SCardEstablishContext ();
15893 return 0;
15895 _ACEOF
15896 if ac_fn_c_try_link "$LINENO"
15897 then :
15898 ac_cv_lib_pcsclite_SCardEstablishContext=yes
15899 else $as_nop
15900 ac_cv_lib_pcsclite_SCardEstablishContext=no
15902 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15903 conftest$ac_exeext conftest.$ac_ext
15904 LIBS=$ac_check_lib_save_LIBS
15906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15907 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15908 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15909 then :
15910 PCSCLITE_LIBS="-lpcsclite"
15915 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15916 then :
15917 case "x$with_pcsclite" in
15918 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
15919 xno) ;;
15920 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
15921 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15922 esac
15923 enable_winscard=${enable_winscard:-no}
15926 if test "x$with_inotify" != "xno"
15927 then
15928 rm -f conftest.err
15929 if ${INOTIFY_CFLAGS:+false} :
15930 then :
15931 if test ${PKG_CONFIG+y}
15932 then :
15933 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15937 if ${INOTIFY_LIBS:+false} :
15938 then :
15939 if test ${PKG_CONFIG+y}
15940 then :
15941 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15946 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15947 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15948 if test -s conftest.err; then
15949 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15950 cat conftest.err >&5
15952 rm -f conftest.err
15953 ac_save_CPPFLAGS=$CPPFLAGS
15954 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15955 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15956 if test "x$ac_cv_header_sys_inotify_h" = xyes
15957 then :
15958 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15963 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15964 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15965 then :
15966 printf %s "(cached) " >&6
15967 else $as_nop
15968 ac_check_lib_save_LIBS=$LIBS
15969 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15971 /* end confdefs.h. */
15973 /* Override any GCC internal prototype to avoid an error.
15974 Use char because int might match the return type of a GCC
15975 builtin and then its argument prototype would still apply. */
15976 char inotify_add_watch ();
15978 main (void)
15980 return inotify_add_watch ();
15982 return 0;
15984 _ACEOF
15985 if ac_fn_c_try_link "$LINENO"
15986 then :
15987 ac_cv_lib_inotify_inotify_add_watch=yes
15988 else $as_nop
15989 ac_cv_lib_inotify_inotify_add_watch=no
15991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15992 conftest$ac_exeext conftest.$ac_ext
15993 LIBS=$ac_check_lib_save_LIBS
15995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15996 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15997 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15998 then :
16000 else $as_nop
16001 INOTIFY_LIBS=""
16004 CPPFLAGS=$ac_save_CPPFLAGS
16007 if test "$ac_cv_header_sys_inotify_h" != "yes"
16008 then :
16009 case "x$with_inotify" in
16010 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16011 xno) ;;
16012 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16013 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16014 esac
16018 if test "x$with_dbus" != "xno"
16019 then
16020 rm -f conftest.err
16021 if ${DBUS_CFLAGS:+false} :
16022 then :
16023 if test ${PKG_CONFIG+y}
16024 then :
16025 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16029 if ${DBUS_LIBS:+false} :
16030 then :
16031 if test ${PKG_CONFIG+y}
16032 then :
16033 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16038 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16039 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16040 if test -s conftest.err; then
16041 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16042 cat conftest.err >&5
16044 rm -f conftest.err
16045 ac_save_CPPFLAGS=$CPPFLAGS
16046 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16047 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16048 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16049 then :
16050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16051 printf %s "checking for -ldbus-1... " >&6; }
16052 if test ${ac_cv_lib_soname_dbus_1+y}
16053 then :
16054 printf %s "(cached) " >&6
16055 else $as_nop
16056 ac_check_soname_save_LIBS=$LIBS
16057 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16059 /* end confdefs.h. */
16061 /* Override any GCC internal prototype to avoid an error.
16062 Use char because int might match the return type of a GCC
16063 builtin and then its argument prototype would still apply. */
16064 char dbus_connection_close ();
16066 main (void)
16068 return dbus_connection_close ();
16070 return 0;
16072 _ACEOF
16073 if ac_fn_c_try_link "$LINENO"
16074 then :
16075 case "$LIBEXT" in
16076 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16077 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'` ;;
16078 *) 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'`
16079 if ${ac_cv_lib_soname_dbus_1:+false} :
16080 then :
16081 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16082 fi ;;
16083 esac
16084 else $as_nop
16085 ac_cv_lib_soname_dbus_1=
16087 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16088 conftest$ac_exeext conftest.$ac_ext
16089 LIBS=$ac_check_soname_save_LIBS
16091 if ${ac_cv_lib_soname_dbus_1:+false} :
16092 then :
16093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16094 printf "%s\n" "not found" >&6; }
16095 DBUS_CFLAGS=""
16096 else $as_nop
16097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16098 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16100 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16104 else $as_nop
16105 DBUS_CFLAGS=""
16108 CPPFLAGS=$ac_save_CPPFLAGS
16111 case $host_os in
16112 darwin*|macosx*) ;;
16113 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16114 then :
16115 case "x$with_dbus" in
16116 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16117 xno) ;;
16118 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16119 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16120 esac
16122 fi ;;
16123 esac
16125 if test "x$with_gnutls" != "xno"
16126 then
16127 rm -f conftest.err
16128 if ${GNUTLS_CFLAGS:+false} :
16129 then :
16130 if test ${PKG_CONFIG+y}
16131 then :
16132 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16136 if ${GNUTLS_LIBS:+false} :
16137 then :
16138 if test ${PKG_CONFIG+y}
16139 then :
16140 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16144 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16145 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16146 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16147 if test -s conftest.err; then
16148 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16149 cat conftest.err >&5
16151 rm -f conftest.err
16152 ac_save_CPPFLAGS=$CPPFLAGS
16153 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16154 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16155 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16156 then :
16157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16158 /* end confdefs.h. */
16159 #include <gnutls/gnutls.h>
16160 #include <gnutls/crypto.h>
16162 main (void)
16164 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16166 return 0;
16168 _ACEOF
16169 if ac_fn_c_try_compile "$LINENO"
16170 then :
16171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16172 printf %s "checking for -lgnutls... " >&6; }
16173 if test ${ac_cv_lib_soname_gnutls+y}
16174 then :
16175 printf %s "(cached) " >&6
16176 else $as_nop
16177 ac_check_soname_save_LIBS=$LIBS
16178 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16180 /* end confdefs.h. */
16182 /* Override any GCC internal prototype to avoid an error.
16183 Use char because int might match the return type of a GCC
16184 builtin and then its argument prototype would still apply. */
16185 char gnutls_global_init ();
16187 main (void)
16189 return gnutls_global_init ();
16191 return 0;
16193 _ACEOF
16194 if ac_fn_c_try_link "$LINENO"
16195 then :
16196 case "$LIBEXT" in
16197 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16198 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'` ;;
16199 *) 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'`
16200 if ${ac_cv_lib_soname_gnutls:+false} :
16201 then :
16202 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'`
16203 fi ;;
16204 esac
16205 else $as_nop
16206 ac_cv_lib_soname_gnutls=
16208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16209 conftest$ac_exeext conftest.$ac_ext
16210 LIBS=$ac_check_soname_save_LIBS
16212 if ${ac_cv_lib_soname_gnutls:+false} :
16213 then :
16214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16215 printf "%s\n" "not found" >&6; }
16216 GNUTLS_CFLAGS=""
16217 else $as_nop
16218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16219 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16221 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16225 ac_wine_check_funcs_save_LIBS="$LIBS"
16226 LIBS="$LIBS $GNUTLS_LIBS"
16228 for ac_func in gnutls_cipher_init
16229 do :
16230 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16231 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16232 then :
16233 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16235 else $as_nop
16236 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16239 done
16240 LIBS="$ac_wine_check_funcs_save_LIBS"
16242 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16243 else $as_nop
16244 GNUTLS_CFLAGS=""
16247 CPPFLAGS=$ac_save_CPPFLAGS
16250 if test "x$ac_cv_lib_soname_gnutls" = "x"
16251 then :
16252 case "x$with_gnutls" in
16253 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16254 xno) ;;
16255 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16256 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16257 esac
16261 if test "x$with_sane" != "xno"
16262 then
16263 rm -f conftest.err
16264 if ${SANE_CFLAGS:+false} :
16265 then :
16266 if test ${PKG_CONFIG+y}
16267 then :
16268 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16271 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16272 if ${SANE_LIBS:+false} :
16273 then :
16274 if test ${PKG_CONFIG+y}
16275 then :
16276 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16279 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16281 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16282 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16283 if test -s conftest.err; then
16284 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16285 cat conftest.err >&5
16287 rm -f conftest.err
16288 ac_save_CPPFLAGS=$CPPFLAGS
16289 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16290 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16291 if test "x$ac_cv_header_sane_sane_h" = xyes
16292 then :
16293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16294 printf %s "checking for sane_init in -lsane... " >&6; }
16295 if test ${ac_cv_lib_sane_sane_init+y}
16296 then :
16297 printf %s "(cached) " >&6
16298 else $as_nop
16299 ac_check_lib_save_LIBS=$LIBS
16300 LIBS="-lsane $SANE_LIBS $LIBS"
16301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16302 /* end confdefs.h. */
16304 /* Override any GCC internal prototype to avoid an error.
16305 Use char because int might match the return type of a GCC
16306 builtin and then its argument prototype would still apply. */
16307 char sane_init ();
16309 main (void)
16311 return sane_init ();
16313 return 0;
16315 _ACEOF
16316 if ac_fn_c_try_link "$LINENO"
16317 then :
16318 ac_cv_lib_sane_sane_init=yes
16319 else $as_nop
16320 ac_cv_lib_sane_sane_init=no
16322 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16323 conftest$ac_exeext conftest.$ac_ext
16324 LIBS=$ac_check_lib_save_LIBS
16326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16327 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16328 if test "x$ac_cv_lib_sane_sane_init" = xyes
16329 then :
16335 CPPFLAGS=$ac_save_CPPFLAGS
16338 if test "$ac_cv_lib_sane_sane_init" != "yes"
16339 then :
16340 case "x$with_sane" in
16341 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16342 xno) ;;
16343 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16344 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16345 esac
16346 enable_sane_ds=${enable_sane_ds:-no}
16349 if test "x$with_usb" != "xno"
16350 then
16351 rm -f conftest.err
16352 if ${USB_CFLAGS:+false} :
16353 then :
16354 if test ${PKG_CONFIG+y}
16355 then :
16356 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16360 if ${USB_LIBS:+false} :
16361 then :
16362 if test ${PKG_CONFIG+y}
16363 then :
16364 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16368 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16369 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16370 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16371 if test -s conftest.err; then
16372 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16373 cat conftest.err >&5
16375 rm -f conftest.err
16376 ac_save_CPPFLAGS=$CPPFLAGS
16377 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16378 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16379 if test "x$ac_cv_header_libusb_h" = xyes
16380 then :
16381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16382 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16383 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16384 then :
16385 printf %s "(cached) " >&6
16386 else $as_nop
16387 ac_check_lib_save_LIBS=$LIBS
16388 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16390 /* end confdefs.h. */
16392 /* Override any GCC internal prototype to avoid an error.
16393 Use char because int might match the return type of a GCC
16394 builtin and then its argument prototype would still apply. */
16395 char libusb_interrupt_event_handler ();
16397 main (void)
16399 return libusb_interrupt_event_handler ();
16401 return 0;
16403 _ACEOF
16404 if ac_fn_c_try_link "$LINENO"
16405 then :
16406 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16407 else $as_nop
16408 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16410 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16411 conftest$ac_exeext conftest.$ac_ext
16412 LIBS=$ac_check_lib_save_LIBS
16414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16415 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16416 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16417 then :
16419 else $as_nop
16420 USB_LIBS=""
16423 else $as_nop
16424 USB_LIBS=""
16427 CPPFLAGS=$ac_save_CPPFLAGS
16430 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16431 then :
16432 case "x$with_usb" in
16433 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16434 xno) ;;
16435 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16436 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16437 esac
16438 enable_wineusb_sys=${enable_wineusb_sys:-no}
16441 if test "x$with_v4l2" != "xno"
16442 then
16443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16444 printf %s "checking for -lv4l2... " >&6; }
16445 if test ${ac_cv_lib_soname_v4l2+y}
16446 then :
16447 printf %s "(cached) " >&6
16448 else $as_nop
16449 ac_check_soname_save_LIBS=$LIBS
16450 LIBS="-lv4l2 $LIBS"
16451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16452 /* end confdefs.h. */
16454 /* Override any GCC internal prototype to avoid an error.
16455 Use char because int might match the return type of a GCC
16456 builtin and then its argument prototype would still apply. */
16457 char v4l2_open ();
16459 main (void)
16461 return v4l2_open ();
16463 return 0;
16465 _ACEOF
16466 if ac_fn_c_try_link "$LINENO"
16467 then :
16468 case "$LIBEXT" in
16469 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16470 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'` ;;
16471 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16472 if ${ac_cv_lib_soname_v4l2:+false} :
16473 then :
16474 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16475 fi ;;
16476 esac
16477 else $as_nop
16478 ac_cv_lib_soname_v4l2=
16480 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16481 conftest$ac_exeext conftest.$ac_ext
16482 LIBS=$ac_check_soname_save_LIBS
16484 if ${ac_cv_lib_soname_v4l2:+false} :
16485 then :
16486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16487 printf "%s\n" "not found" >&6; }
16489 else $as_nop
16490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16491 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16493 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16498 if test "x$ac_cv_lib_soname_v4l2" = "x"
16499 then :
16500 case "x$with_v4l2" in
16501 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16502 xno) ;;
16503 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16504 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16505 esac
16509 if test "x$with_gphoto" != "xno"
16510 then
16511 rm -f conftest.err
16512 if ${GPHOTO2_CFLAGS:+false} :
16513 then :
16514 if test ${PKG_CONFIG+y}
16515 then :
16516 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16519 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16520 if ${GPHOTO2_LIBS:+false} :
16521 then :
16522 if test ${PKG_CONFIG+y}
16523 then :
16524 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16527 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16528 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16529 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16530 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16531 if test -s conftest.err; then
16532 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16533 cat conftest.err >&5
16535 rm -f conftest.err
16536 ac_save_CPPFLAGS=$CPPFLAGS
16537 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16538 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16539 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16540 then :
16541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16542 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16543 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16544 then :
16545 printf %s "(cached) " >&6
16546 else $as_nop
16547 ac_check_lib_save_LIBS=$LIBS
16548 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16550 /* end confdefs.h. */
16552 /* Override any GCC internal prototype to avoid an error.
16553 Use char because int might match the return type of a GCC
16554 builtin and then its argument prototype would still apply. */
16555 char gp_camera_new ();
16557 main (void)
16559 return gp_camera_new ();
16561 return 0;
16563 _ACEOF
16564 if ac_fn_c_try_link "$LINENO"
16565 then :
16566 ac_cv_lib_gphoto2_gp_camera_new=yes
16567 else $as_nop
16568 ac_cv_lib_gphoto2_gp_camera_new=no
16570 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16571 conftest$ac_exeext conftest.$ac_ext
16572 LIBS=$ac_check_lib_save_LIBS
16574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16575 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16576 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16577 then :
16583 CPPFLAGS=$ac_save_CPPFLAGS
16585 rm -f conftest.err
16586 if ${GPHOTO2_PORT_CFLAGS:+false} :
16587 then :
16588 if test ${PKG_CONFIG+y}
16589 then :
16590 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16593 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16594 if ${GPHOTO2_PORT_LIBS:+false} :
16595 then :
16596 if test ${PKG_CONFIG+y}
16597 then :
16598 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16601 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16602 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16603 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16604 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16605 if test -s conftest.err; then
16606 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16607 cat conftest.err >&5
16609 rm -f conftest.err
16610 ac_save_CPPFLAGS=$CPPFLAGS
16611 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16612 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16613 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16614 then :
16615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16616 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16617 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16618 then :
16619 printf %s "(cached) " >&6
16620 else $as_nop
16621 ac_check_lib_save_LIBS=$LIBS
16622 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16624 /* end confdefs.h. */
16626 /* Override any GCC internal prototype to avoid an error.
16627 Use char because int might match the return type of a GCC
16628 builtin and then its argument prototype would still apply. */
16629 char gp_port_info_list_new ();
16631 main (void)
16633 return gp_port_info_list_new ();
16635 return 0;
16637 _ACEOF
16638 if ac_fn_c_try_link "$LINENO"
16639 then :
16640 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16641 else $as_nop
16642 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16644 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16645 conftest$ac_exeext conftest.$ac_ext
16646 LIBS=$ac_check_lib_save_LIBS
16648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16649 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16650 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16651 then :
16653 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16655 else $as_nop
16656 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16659 else $as_nop
16660 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16663 CPPFLAGS=$ac_save_CPPFLAGS
16666 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16667 then :
16668 case "x$with_gphoto" in
16669 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16670 xno) ;;
16671 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16672 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16673 esac
16674 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16676 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16677 then :
16678 case "x$with_gphoto" in
16679 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16680 xno) ;;
16681 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16682 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16683 esac
16688 if test "$ac_cv_header_resolv_h" = "yes"
16689 then
16690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16691 printf %s "checking for resolver library... " >&6; }
16692 if test ${ac_cv_have_resolv+y}
16693 then :
16694 printf %s "(cached) " >&6
16695 else $as_nop
16696 ac_save_LIBS="$LIBS"
16697 for lib in '' -lresolv
16699 LIBS="$lib $ac_save_LIBS"
16700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16701 /* end confdefs.h. */
16702 #ifdef HAVE_NETINET_IN_H
16703 #include <netinet/in.h>
16704 #endif
16705 #include <resolv.h>
16707 main (void)
16709 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16711 return 0;
16713 _ACEOF
16714 if ac_fn_c_try_link "$LINENO"
16715 then :
16716 ac_cv_have_resolv=${lib:-"none required"}
16717 else $as_nop
16718 ac_cv_have_resolv="not found"
16720 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16721 conftest$ac_exeext conftest.$ac_ext
16722 test "x$ac_cv_have_resolv" = "xnot found" || break
16723 done
16724 LIBS="$ac_save_LIBS"
16726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16727 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16729 case "$ac_cv_have_resolv" in
16730 "not found") ;;
16731 "none required")
16733 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16736 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16738 RESOLV_LIBS=$ac_cv_have_resolv
16740 esac
16742 if test "x$ac_cv_have_resolv" != "xnot found"
16743 then
16744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16745 printf %s "checking for res_getservers... " >&6; }
16746 if test ${ac_cv_have_res_getservers+y}
16747 then :
16748 printf %s "(cached) " >&6
16749 else $as_nop
16750 ac_save_LIBS="$LIBS"
16751 LIBS="$RESOLV_LIBS $LIBS"
16752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16753 /* end confdefs.h. */
16754 #include <resolv.h>
16756 main (void)
16758 res_getservers(NULL, NULL, 0);
16760 return 0;
16762 _ACEOF
16763 if ac_fn_c_try_link "$LINENO"
16764 then :
16765 ac_cv_have_res_getservers=yes
16766 else $as_nop
16767 ac_cv_have_res_getservers=no
16769 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16770 conftest$ac_exeext conftest.$ac_ext
16771 LIBS="$ac_save_LIBS"
16773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16774 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16775 if test "$ac_cv_have_res_getservers" = "yes"
16776 then
16778 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16784 if test "x$with_freetype" != "xno"
16785 then
16786 rm -f conftest.err
16787 if ${FREETYPE_CFLAGS:+false} :
16788 then :
16789 if test ${PKG_CONFIG+y}
16790 then :
16791 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16794 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16795 if ${FREETYPE_LIBS:+false} :
16796 then :
16797 if test ${PKG_CONFIG+y}
16798 then :
16799 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16802 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16803 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16804 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16805 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16806 if test -s conftest.err; then
16807 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16808 cat conftest.err >&5
16810 rm -f conftest.err
16811 ac_save_CPPFLAGS=$CPPFLAGS
16812 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16813 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16814 if test "x$ac_cv_header_ft2build_h" = xyes
16815 then :
16816 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16820 if test "$ac_cv_header_ft2build_h" = "yes"
16821 then
16822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16823 printf %s "checking for -lfreetype... " >&6; }
16824 if test ${ac_cv_lib_soname_freetype+y}
16825 then :
16826 printf %s "(cached) " >&6
16827 else $as_nop
16828 ac_check_soname_save_LIBS=$LIBS
16829 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16831 /* end confdefs.h. */
16833 /* Override any GCC internal prototype to avoid an error.
16834 Use char because int might match the return type of a GCC
16835 builtin and then its argument prototype would still apply. */
16836 char FT_Init_FreeType ();
16838 main (void)
16840 return FT_Init_FreeType ();
16842 return 0;
16844 _ACEOF
16845 if ac_fn_c_try_link "$LINENO"
16846 then :
16847 case "$LIBEXT" in
16848 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16849 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'` ;;
16850 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16851 if ${ac_cv_lib_soname_freetype:+false} :
16852 then :
16853 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16854 fi ;;
16855 esac
16856 else $as_nop
16857 ac_cv_lib_soname_freetype=
16859 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16860 conftest$ac_exeext conftest.$ac_ext
16861 LIBS=$ac_check_soname_save_LIBS
16863 if ${ac_cv_lib_soname_freetype:+false} :
16864 then :
16865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16866 printf "%s\n" "not found" >&6; }
16867 FREETYPE_LIBS=""
16868 else $as_nop
16869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16870 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16872 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16875 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16877 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16878 #include FT_MODULE_H
16880 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16881 then :
16883 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16889 else
16890 FREETYPE_CFLAGS=""
16891 FREETYPE_LIBS=""
16893 CPPFLAGS=$ac_save_CPPFLAGS
16896 if test "x$ac_cv_lib_soname_freetype" = x
16897 then :
16898 case "x$with_freetype" in
16899 xno) ;;
16900 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16901 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16902 esac
16903 enable_fonts=${enable_fonts:-no}
16906 ac_wine_check_funcs_save_LIBS="$LIBS"
16907 LIBS="$LIBS $PTHREAD_LIBS"
16908 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16909 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16910 then :
16911 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16915 LIBS="$ac_wine_check_funcs_save_LIBS"
16917 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16918 then
16919 if test "$ac_cv_header_gettext_po_h" = "yes"
16920 then
16921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16922 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16923 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16924 then :
16925 printf %s "(cached) " >&6
16926 else $as_nop
16927 ac_check_lib_save_LIBS=$LIBS
16928 LIBS="-lgettextpo $LIBS"
16929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16930 /* end confdefs.h. */
16932 /* Override any GCC internal prototype to avoid an error.
16933 Use char because int might match the return type of a GCC
16934 builtin and then its argument prototype would still apply. */
16935 char po_message_msgctxt ();
16937 main (void)
16939 return po_message_msgctxt ();
16941 return 0;
16943 _ACEOF
16944 if ac_fn_c_try_link "$LINENO"
16945 then :
16946 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16947 else $as_nop
16948 ac_cv_lib_gettextpo_po_message_msgctxt=no
16950 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16951 conftest$ac_exeext conftest.$ac_ext
16952 LIBS=$ac_check_lib_save_LIBS
16954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16955 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16956 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16957 then :
16959 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16961 GETTEXTPO_LIBS="-lgettextpo"
16966 if test "x$GETTEXTPO_LIBS" = "x"
16967 then :
16968 case "x$with_gettextpo" in
16969 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16970 xno) ;;
16971 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16972 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16973 esac
16976 if test "$srcdir" != .
16977 then :
16978 case "x$with_gettextpo" in
16979 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16980 xno) ;;
16981 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16982 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16983 esac
16988 if test "x$with_pulse" != "xno";
16989 then
16990 rm -f conftest.err
16991 if ${PULSE_CFLAGS:+false} :
16992 then :
16993 if test ${PKG_CONFIG+y}
16994 then :
16995 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16999 if ${PULSE_LIBS:+false} :
17000 then :
17001 if test ${PKG_CONFIG+y}
17002 then :
17003 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17008 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17009 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17010 if test -s conftest.err; then
17011 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17012 cat conftest.err >&5
17014 rm -f conftest.err
17015 ac_save_CPPFLAGS=$CPPFLAGS
17016 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
17017 for ac_header in pulse/pulseaudio.h
17018 do :
17019 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17020 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17021 then :
17022 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
17023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17024 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
17025 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17026 then :
17027 printf %s "(cached) " >&6
17028 else $as_nop
17029 ac_check_lib_save_LIBS=$LIBS
17030 LIBS="-lpulse $PULSE_LIBS $LIBS"
17031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17032 /* end confdefs.h. */
17034 /* Override any GCC internal prototype to avoid an error.
17035 Use char because int might match the return type of a GCC
17036 builtin and then its argument prototype would still apply. */
17037 char pa_stream_is_corked ();
17039 main (void)
17041 return pa_stream_is_corked ();
17043 return 0;
17045 _ACEOF
17046 if ac_fn_c_try_link "$LINENO"
17047 then :
17048 ac_cv_lib_pulse_pa_stream_is_corked=yes
17049 else $as_nop
17050 ac_cv_lib_pulse_pa_stream_is_corked=no
17052 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17053 conftest$ac_exeext conftest.$ac_ext
17054 LIBS=$ac_check_lib_save_LIBS
17056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17057 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17058 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17059 then :
17061 else $as_nop
17062 PULSE_LIBS=""
17065 else $as_nop
17066 PULSE_LIBS=""
17069 done
17070 CPPFLAGS=$ac_save_CPPFLAGS
17073 if test -z "$PULSE_LIBS"
17074 then :
17075 case "x$with_pulse" in
17076 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17077 xno) ;;
17078 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17079 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17080 esac
17081 enable_winepulse_drv=${enable_winepulse_drv:-no}
17084 if test "x$with_gstreamer" != "xno"
17085 then
17086 rm -f conftest.err
17087 if ${GSTREAMER_CFLAGS:+false} :
17088 then :
17089 if test ${PKG_CONFIG+y}
17090 then :
17091 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17095 if ${GSTREAMER_LIBS:+false} :
17096 then :
17097 if test ${PKG_CONFIG+y}
17098 then :
17099 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17104 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
17105 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
17106 if test -s conftest.err; then
17107 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17108 cat conftest.err >&5
17110 rm -f conftest.err
17111 ac_save_CPPFLAGS=$CPPFLAGS
17112 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17113 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17114 if test "x$ac_cv_header_gst_gst_h" = xyes
17115 then :
17116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17117 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17119 /* end confdefs.h. */
17120 #include <gst/gst.h>
17122 main (void)
17124 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17126 return 0;
17128 _ACEOF
17129 if ac_fn_c_try_compile "$LINENO"
17130 then :
17131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17132 printf "%s\n" "yes" >&6; }
17133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17134 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17135 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17136 then :
17137 printf %s "(cached) " >&6
17138 else $as_nop
17139 ac_check_lib_save_LIBS=$LIBS
17140 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17142 /* end confdefs.h. */
17144 /* Override any GCC internal prototype to avoid an error.
17145 Use char because int might match the return type of a GCC
17146 builtin and then its argument prototype would still apply. */
17147 char gst_pad_new ();
17149 main (void)
17151 return gst_pad_new ();
17153 return 0;
17155 _ACEOF
17156 if ac_fn_c_try_link "$LINENO"
17157 then :
17158 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17159 else $as_nop
17160 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17162 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17163 conftest$ac_exeext conftest.$ac_ext
17164 LIBS=$ac_check_lib_save_LIBS
17166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17167 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17168 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17169 then :
17173 else $as_nop
17174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17175 printf "%s\n" "no" >&6; }
17176 ac_glib2_broken=yes
17177 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17179 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17182 CPPFLAGS=$ac_save_CPPFLAGS
17185 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17186 then :
17187 case "x$with_gstreamer" in
17188 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17189 xno) ;;
17190 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17191 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17192 esac
17193 enable_winegstreamer=${enable_winegstreamer:-no}
17196 ALSA_LIBS=""
17198 if test "x$with_alsa" != "xno"
17199 then
17200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17201 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17202 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17203 then :
17204 printf %s "(cached) " >&6
17205 else $as_nop
17206 ac_check_lib_save_LIBS=$LIBS
17207 LIBS="-lasound $LIBS"
17208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17209 /* end confdefs.h. */
17211 /* Override any GCC internal prototype to avoid an error.
17212 Use char because int might match the return type of a GCC
17213 builtin and then its argument prototype would still apply. */
17214 char snd_pcm_hw_params_get_access_mask ();
17216 main (void)
17218 return snd_pcm_hw_params_get_access_mask ();
17220 return 0;
17222 _ACEOF
17223 if ac_fn_c_try_link "$LINENO"
17224 then :
17225 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17226 else $as_nop
17227 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17229 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17230 conftest$ac_exeext conftest.$ac_ext
17231 LIBS=$ac_check_lib_save_LIBS
17233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17234 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17235 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17236 then :
17237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17238 /* end confdefs.h. */
17239 #include <alsa/asoundlib.h>
17241 main (void)
17243 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17245 return 0;
17247 _ACEOF
17248 if ac_fn_c_try_compile "$LINENO"
17249 then :
17250 ALSA_LIBS="-lasound"
17252 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17256 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17258 if test "x$with_oss" != xno
17259 then
17260 ac_save_CPPFLAGS="$CPPFLAGS"
17261 if test -f /etc/oss.conf
17262 then
17263 . /etc/oss.conf
17265 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17266 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17267 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17268 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17269 then :
17270 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17272 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17273 then :
17275 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17277 OSS4_CFLAGS="$ac_oss_incl"
17279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17280 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17281 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17282 then :
17283 printf %s "(cached) " >&6
17284 else $as_nop
17285 ac_check_lib_save_LIBS=$LIBS
17286 LIBS="-lossaudio $LIBS"
17287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17288 /* end confdefs.h. */
17290 /* Override any GCC internal prototype to avoid an error.
17291 Use char because int might match the return type of a GCC
17292 builtin and then its argument prototype would still apply. */
17293 char _oss_ioctl ();
17295 main (void)
17297 return _oss_ioctl ();
17299 return 0;
17301 _ACEOF
17302 if ac_fn_c_try_link "$LINENO"
17303 then :
17304 ac_cv_lib_ossaudio__oss_ioctl=yes
17305 else $as_nop
17306 ac_cv_lib_ossaudio__oss_ioctl=no
17308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17309 conftest$ac_exeext conftest.$ac_ext
17310 LIBS=$ac_check_lib_save_LIBS
17312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17313 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17314 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17315 then :
17316 OSS4_LIBS="-lossaudio"
17324 CPPFLAGS="$ac_save_CPPFLAGS"
17326 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17327 then :
17328 case "x$with_oss" in
17329 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17330 xno) ;;
17331 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17332 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17333 esac
17334 enable_wineoss_drv=${enable_wineoss_drv:-no}
17337 if test "x$with_udev" != "xno"
17338 then
17339 rm -f conftest.err
17340 if ${UDEV_CFLAGS:+false} :
17341 then :
17342 if test ${PKG_CONFIG+y}
17343 then :
17344 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17348 if ${UDEV_LIBS:+false} :
17349 then :
17350 if test ${PKG_CONFIG+y}
17351 then :
17352 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17356 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17359 if test -s conftest.err; then
17360 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17361 cat conftest.err >&5
17363 rm -f conftest.err
17364 ac_save_CPPFLAGS=$CPPFLAGS
17365 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17366 for ac_header in libudev.h
17367 do :
17368 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17369 if test "x$ac_cv_header_libudev_h" = xyes
17370 then :
17371 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17373 printf %s "checking for udev_new in -ludev... " >&6; }
17374 if test ${ac_cv_lib_udev_udev_new+y}
17375 then :
17376 printf %s "(cached) " >&6
17377 else $as_nop
17378 ac_check_lib_save_LIBS=$LIBS
17379 LIBS="-ludev $UDEV_LIBS $LIBS"
17380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17381 /* end confdefs.h. */
17383 /* Override any GCC internal prototype to avoid an error.
17384 Use char because int might match the return type of a GCC
17385 builtin and then its argument prototype would still apply. */
17386 char udev_new ();
17388 main (void)
17390 return udev_new ();
17392 return 0;
17394 _ACEOF
17395 if ac_fn_c_try_link "$LINENO"
17396 then :
17397 ac_cv_lib_udev_udev_new=yes
17398 else $as_nop
17399 ac_cv_lib_udev_udev_new=no
17401 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17402 conftest$ac_exeext conftest.$ac_ext
17403 LIBS=$ac_check_lib_save_LIBS
17405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17406 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17407 if test "x$ac_cv_lib_udev_udev_new" = xyes
17408 then :
17410 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17412 else $as_nop
17413 UDEV_LIBS=""
17416 else $as_nop
17417 UDEV_LIBS=""
17420 done
17421 CPPFLAGS=$ac_save_CPPFLAGS
17424 if test "x$UDEV_LIBS" = "x"
17425 then :
17426 case "x$with_udev" in
17427 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17428 xno) ;;
17429 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17430 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17431 esac
17435 if test "x$with_unwind" != xno
17436 then
17437 rm -f conftest.err
17438 if ${UNWIND_CFLAGS:+false} :
17439 then :
17440 if test ${PKG_CONFIG+y}
17441 then :
17442 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17446 if ${UNWIND_LIBS:+false} :
17447 then :
17448 if test ${PKG_CONFIG+y}
17449 then :
17450 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17454 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17455 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17456 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17457 if test -s conftest.err; then
17458 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17459 cat conftest.err >&5
17461 rm -f conftest.err
17462 ac_save_CPPFLAGS=$CPPFLAGS
17463 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17465 printf %s "checking for unw_step... " >&6; }
17466 if test ${wine_cv_have_unw_step+y}
17467 then :
17468 printf %s "(cached) " >&6
17469 else $as_nop
17470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17471 /* end confdefs.h. */
17472 #define UNW_LOCAL_ONLY
17473 #include <libunwind.h>
17475 main (void)
17477 unw_cursor_t cursor; unw_step( &cursor );
17479 return 0;
17481 _ACEOF
17482 if ac_fn_c_try_link "$LINENO"
17483 then :
17484 wine_cv_have_unw_step="yes"
17485 else $as_nop
17486 wine_cv_have_unw_step="no"
17488 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17489 conftest$ac_exeext conftest.$ac_ext
17491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17492 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17493 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17494 then
17495 save_libs=$LIBS
17496 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17497 LIBS="$UNWIND_LIBS $LIBS"
17498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17499 printf %s "checking for unw_step in libunwind... " >&6; }
17500 if test ${wine_cv_have_libunwind_unw_step+y}
17501 then :
17502 printf %s "(cached) " >&6
17503 else $as_nop
17504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17505 /* end confdefs.h. */
17506 #define UNW_LOCAL_ONLY
17507 #include <libunwind.h>
17509 main (void)
17511 unw_cursor_t cursor; unw_step( &cursor );
17513 return 0;
17515 _ACEOF
17516 if ac_fn_c_try_link "$LINENO"
17517 then :
17518 wine_cv_have_libunwind_unw_step="yes"
17519 else $as_nop
17520 wine_cv_have_libunwind_unw_step="no"
17522 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17523 conftest$ac_exeext conftest.$ac_ext
17525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17526 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17527 LIBS=$save_libs
17529 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17530 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17531 then
17533 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17536 CPPFLAGS=$ac_save_CPPFLAGS
17539 case $host in
17540 aarch64*|*-darwin*)
17541 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17542 then :
17543 case "x$with_unwind" in
17544 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17545 xno) ;;
17546 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17547 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17548 esac
17550 fi ;;
17551 esac
17553 if test "x$with_sdl" != "xno"
17554 then
17555 rm -f conftest.err
17556 if ${SDL2_CFLAGS:+false} :
17557 then :
17558 if test ${PKG_CONFIG+y}
17559 then :
17560 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17564 if ${SDL2_LIBS:+false} :
17565 then :
17566 if test ${PKG_CONFIG+y}
17567 then :
17568 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17572 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17573 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17574 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17575 if test -s conftest.err; then
17576 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17577 cat conftest.err >&5
17579 rm -f conftest.err
17580 ac_save_CPPFLAGS=$CPPFLAGS
17581 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17582 for ac_header in SDL.h
17583 do :
17584 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17585 if test "x$ac_cv_header_SDL_h" = xyes
17586 then :
17587 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17589 printf %s "checking for -lSDL2... " >&6; }
17590 if test ${ac_cv_lib_soname_SDL2+y}
17591 then :
17592 printf %s "(cached) " >&6
17593 else $as_nop
17594 ac_check_soname_save_LIBS=$LIBS
17595 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17597 /* end confdefs.h. */
17599 /* Override any GCC internal prototype to avoid an error.
17600 Use char because int might match the return type of a GCC
17601 builtin and then its argument prototype would still apply. */
17602 char SDL_Init ();
17604 main (void)
17606 return SDL_Init ();
17608 return 0;
17610 _ACEOF
17611 if ac_fn_c_try_link "$LINENO"
17612 then :
17613 case "$LIBEXT" in
17614 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17615 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'` ;;
17616 *) 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'`
17617 if ${ac_cv_lib_soname_SDL2:+false} :
17618 then :
17619 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17620 fi ;;
17621 esac
17622 else $as_nop
17623 ac_cv_lib_soname_SDL2=
17625 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17626 conftest$ac_exeext conftest.$ac_ext
17627 LIBS=$ac_check_soname_save_LIBS
17629 if ${ac_cv_lib_soname_SDL2:+false} :
17630 then :
17631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17632 printf "%s\n" "not found" >&6; }
17634 else $as_nop
17635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17636 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17638 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17644 done
17645 CPPFLAGS=$ac_save_CPPFLAGS
17648 if test "x$ac_cv_lib_soname_SDL2" = "x"
17649 then :
17650 case "x$with_sdl" in
17651 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17652 xno) ;;
17653 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17654 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17655 esac
17659 if test "x$with_capi" != "xno"
17660 then
17661 rm -f conftest.err
17662 if ${CAPI20_CFLAGS:+false} :
17663 then :
17664 if test ${PKG_CONFIG+y}
17665 then :
17666 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17670 if ${CAPI20_LIBS:+false} :
17671 then :
17672 if test ${PKG_CONFIG+y}
17673 then :
17674 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17679 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17680 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17681 if test -s conftest.err; then
17682 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17683 cat conftest.err >&5
17685 rm -f conftest.err
17686 ac_save_CPPFLAGS=$CPPFLAGS
17687 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17688 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17690 if test "x$ac_cv_header_capi20_h" = xyes
17691 then :
17692 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17695 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17697 if test "x$ac_cv_header_linux_capi_h" = xyes
17698 then :
17699 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17703 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17704 then
17705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17706 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17707 if test ${ac_cv_lib_capi20_capi20_register+y}
17708 then :
17709 printf %s "(cached) " >&6
17710 else $as_nop
17711 ac_check_lib_save_LIBS=$LIBS
17712 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17714 /* end confdefs.h. */
17716 /* Override any GCC internal prototype to avoid an error.
17717 Use char because int might match the return type of a GCC
17718 builtin and then its argument prototype would still apply. */
17719 char capi20_register ();
17721 main (void)
17723 return capi20_register ();
17725 return 0;
17727 _ACEOF
17728 if ac_fn_c_try_link "$LINENO"
17729 then :
17730 ac_cv_lib_capi20_capi20_register=yes
17731 else $as_nop
17732 ac_cv_lib_capi20_capi20_register=no
17734 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17735 conftest$ac_exeext conftest.$ac_ext
17736 LIBS=$ac_check_lib_save_LIBS
17738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17739 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17740 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17741 then :
17743 else $as_nop
17744 CAPI20_LIBS=""
17748 CPPFLAGS=$ac_save_CPPFLAGS
17751 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17752 then :
17753 case "x$with_capi" in
17754 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17755 xno) ;;
17756 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17757 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17758 esac
17759 enable_capi2032=${enable_capi2032:-no}
17762 if test "x$with_cups" != "xno"
17763 then
17764 rm -f conftest.err
17765 if ${CUPS_CFLAGS:+false} :
17766 then :
17767 if test ${PKG_CONFIG+y}
17768 then :
17769 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17772 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17773 if ${CUPS_LIBS:+false} :
17774 then :
17775 if test ${PKG_CONFIG+y}
17776 then :
17777 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17780 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17781 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17783 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17784 if test -s conftest.err; then
17785 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17786 cat conftest.err >&5
17788 rm -f conftest.err
17789 ac_save_CPPFLAGS=$CPPFLAGS
17790 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17791 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17792 if test "x$ac_cv_header_cups_cups_h" = xyes
17793 then :
17794 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17797 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17798 if test "x$ac_cv_header_cups_ppd_h" = xyes
17799 then :
17800 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17804 if test "$ac_cv_header_cups_cups_h" = "yes"
17805 then
17806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17807 printf %s "checking for -lcups... " >&6; }
17808 if test ${ac_cv_lib_soname_cups+y}
17809 then :
17810 printf %s "(cached) " >&6
17811 else $as_nop
17812 ac_check_soname_save_LIBS=$LIBS
17813 LIBS="-lcups $CUPS_LIBS $LIBS"
17814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17815 /* end confdefs.h. */
17817 /* Override any GCC internal prototype to avoid an error.
17818 Use char because int might match the return type of a GCC
17819 builtin and then its argument prototype would still apply. */
17820 char cupsGetDefault ();
17822 main (void)
17824 return cupsGetDefault ();
17826 return 0;
17828 _ACEOF
17829 if ac_fn_c_try_link "$LINENO"
17830 then :
17831 case "$LIBEXT" in
17832 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17833 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'` ;;
17834 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17835 if ${ac_cv_lib_soname_cups:+false} :
17836 then :
17837 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17838 fi ;;
17839 esac
17840 else $as_nop
17841 ac_cv_lib_soname_cups=
17843 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17844 conftest$ac_exeext conftest.$ac_ext
17845 LIBS=$ac_check_soname_save_LIBS
17847 if ${ac_cv_lib_soname_cups:+false} :
17848 then :
17849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17850 printf "%s\n" "not found" >&6; }
17851 CUPS_LIBS=""
17852 else $as_nop
17853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17854 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17856 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17860 else
17861 CUPS_CFLAGS=""
17862 CUPS_LIBS=""
17864 CPPFLAGS=$ac_save_CPPFLAGS
17867 if test "x$ac_cv_lib_soname_cups" = "x"
17868 then :
17869 case "x$with_cups" in
17870 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17871 xno) ;;
17872 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17873 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17874 esac
17878 if test "x$with_fontconfig" != "xno"
17879 then
17880 rm -f conftest.err
17881 if ${FONTCONFIG_CFLAGS:+false} :
17882 then :
17883 if test ${PKG_CONFIG+y}
17884 then :
17885 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17888 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17889 if ${FONTCONFIG_LIBS:+false} :
17890 then :
17891 if test ${PKG_CONFIG+y}
17892 then :
17893 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17896 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17898 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17899 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17900 if test -s conftest.err; then
17901 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17902 cat conftest.err >&5
17904 rm -f conftest.err
17905 ac_save_CPPFLAGS=$CPPFLAGS
17906 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17907 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17908 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17909 then :
17910 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17914 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17915 then
17916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17917 printf %s "checking for -lfontconfig... " >&6; }
17918 if test ${ac_cv_lib_soname_fontconfig+y}
17919 then :
17920 printf %s "(cached) " >&6
17921 else $as_nop
17922 ac_check_soname_save_LIBS=$LIBS
17923 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17925 /* end confdefs.h. */
17927 /* Override any GCC internal prototype to avoid an error.
17928 Use char because int might match the return type of a GCC
17929 builtin and then its argument prototype would still apply. */
17930 char FcInit ();
17932 main (void)
17934 return FcInit ();
17936 return 0;
17938 _ACEOF
17939 if ac_fn_c_try_link "$LINENO"
17940 then :
17941 case "$LIBEXT" in
17942 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17943 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'` ;;
17944 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17945 if ${ac_cv_lib_soname_fontconfig:+false} :
17946 then :
17947 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17948 fi ;;
17949 esac
17950 else $as_nop
17951 ac_cv_lib_soname_fontconfig=
17953 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17954 conftest$ac_exeext conftest.$ac_ext
17955 LIBS=$ac_check_soname_save_LIBS
17957 if ${ac_cv_lib_soname_fontconfig:+false} :
17958 then :
17959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17960 printf "%s\n" "not found" >&6; }
17961 FONTCONFIG_CFLAGS=""
17962 else $as_nop
17963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17964 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17966 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17970 else
17971 FONTCONFIG_CFLAGS=""
17973 CPPFLAGS=$ac_save_CPPFLAGS
17976 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17977 then :
17978 case "x$with_fontconfig" in
17979 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17980 xno) ;;
17981 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17982 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17983 esac
17987 if test "x$with_krb5" != "xno"
17988 then
17989 rm -f conftest.err
17990 if ${KRB5_CFLAGS:+false} :
17991 then :
17992 if test ${PKG_CONFIG+y}
17993 then :
17994 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17997 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17998 if ${KRB5_LIBS:+false} :
17999 then :
18000 if test ${PKG_CONFIG+y}
18001 then :
18002 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
18005 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
18007 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
18008 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
18009 if test -s conftest.err; then
18010 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18011 cat conftest.err >&5
18013 rm -f conftest.err
18014 ac_save_CPPFLAGS=$CPPFLAGS
18015 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
18016 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18017 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18018 then :
18019 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18023 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18024 then
18025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18026 printf %s "checking for -lkrb5... " >&6; }
18027 if test ${ac_cv_lib_soname_krb5+y}
18028 then :
18029 printf %s "(cached) " >&6
18030 else $as_nop
18031 ac_check_soname_save_LIBS=$LIBS
18032 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
18033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18034 /* end confdefs.h. */
18036 /* Override any GCC internal prototype to avoid an error.
18037 Use char because int might match the return type of a GCC
18038 builtin and then its argument prototype would still apply. */
18039 char krb5_is_config_principal ();
18041 main (void)
18043 return krb5_is_config_principal ();
18045 return 0;
18047 _ACEOF
18048 if ac_fn_c_try_link "$LINENO"
18049 then :
18050 case "$LIBEXT" in
18051 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18052 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'` ;;
18053 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18054 if ${ac_cv_lib_soname_krb5:+false} :
18055 then :
18056 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18057 fi ;;
18058 esac
18059 else $as_nop
18060 ac_cv_lib_soname_krb5=
18062 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18063 conftest$ac_exeext conftest.$ac_ext
18064 LIBS=$ac_check_soname_save_LIBS
18066 if ${ac_cv_lib_soname_krb5:+false} :
18067 then :
18068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18069 printf "%s\n" "not found" >&6; }
18070 KRB5_CFLAGS=""
18071 else $as_nop
18072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18073 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18075 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18079 else
18080 KRB5_CFLAGS=""
18082 CPPFLAGS=$ac_save_CPPFLAGS
18085 if test "x$ac_cv_lib_soname_krb5" = "x"
18086 then :
18087 case "x$with_krb5" in
18088 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18089 xno) ;;
18090 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18091 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18092 esac
18095 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18097 if test "x$with_gssapi" != "xno"
18098 then
18099 rm -f conftest.err
18100 if ${GSSAPI_CFLAGS:+false} :
18101 then :
18102 if test ${PKG_CONFIG+y}
18103 then :
18104 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18107 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18108 if ${GSSAPI_LIBS:+false} :
18109 then :
18110 if test ${PKG_CONFIG+y}
18111 then :
18112 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18115 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18117 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18118 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18119 if test -s conftest.err; then
18120 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18121 cat conftest.err >&5
18123 rm -f conftest.err
18124 ac_save_CPPFLAGS=$CPPFLAGS
18125 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18126 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18127 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18128 then :
18129 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18132 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18133 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18134 then :
18135 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18139 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18140 then
18141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18142 printf %s "checking for -lgssapi_krb5... " >&6; }
18143 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18144 then :
18145 printf %s "(cached) " >&6
18146 else $as_nop
18147 ac_check_soname_save_LIBS=$LIBS
18148 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18150 /* end confdefs.h. */
18152 /* Override any GCC internal prototype to avoid an error.
18153 Use char because int might match the return type of a GCC
18154 builtin and then its argument prototype would still apply. */
18155 char gss_init_sec_context ();
18157 main (void)
18159 return gss_init_sec_context ();
18161 return 0;
18163 _ACEOF
18164 if ac_fn_c_try_link "$LINENO"
18165 then :
18166 case "$LIBEXT" in
18167 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18168 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'` ;;
18169 *) 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'`
18170 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18171 then :
18172 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18173 fi ;;
18174 esac
18175 else $as_nop
18176 ac_cv_lib_soname_gssapi_krb5=
18178 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18179 conftest$ac_exeext conftest.$ac_ext
18180 LIBS=$ac_check_soname_save_LIBS
18182 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18183 then :
18184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18185 printf "%s\n" "not found" >&6; }
18186 GSSAPI_CFLAGS=""
18187 else $as_nop
18188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18189 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18191 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18195 else
18196 GSSAPI_CFLAGS=""
18198 CPPFLAGS=$ac_save_CPPFLAGS
18201 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18202 then :
18203 case "x$with_gssapi" in
18204 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18205 xno) ;;
18206 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18207 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18208 esac
18212 if test "$ac_cv_header_libprocstat_h" = "yes"
18213 then
18214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18215 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18216 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18217 then :
18218 printf %s "(cached) " >&6
18219 else $as_nop
18220 ac_check_lib_save_LIBS=$LIBS
18221 LIBS="-lprocstat $LIBS"
18222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18223 /* end confdefs.h. */
18225 /* Override any GCC internal prototype to avoid an error.
18226 Use char because int might match the return type of a GCC
18227 builtin and then its argument prototype would still apply. */
18228 char procstat_open_sysctl ();
18230 main (void)
18232 return procstat_open_sysctl ();
18234 return 0;
18236 _ACEOF
18237 if ac_fn_c_try_link "$LINENO"
18238 then :
18239 ac_cv_lib_procstat_procstat_open_sysctl=yes
18240 else $as_nop
18241 ac_cv_lib_procstat_procstat_open_sysctl=no
18243 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18244 conftest$ac_exeext conftest.$ac_ext
18245 LIBS=$ac_check_lib_save_LIBS
18247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18248 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18249 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18250 then :
18252 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18254 PROCSTAT_LIBS="-lprocstat"
18260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18261 printf %s "checking for -lodbc... " >&6; }
18262 if test ${ac_cv_lib_soname_odbc+y}
18263 then :
18264 printf %s "(cached) " >&6
18265 else $as_nop
18266 ac_check_soname_save_LIBS=$LIBS
18267 LIBS="-lodbc $LIBS"
18268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18269 /* end confdefs.h. */
18271 /* Override any GCC internal prototype to avoid an error.
18272 Use char because int might match the return type of a GCC
18273 builtin and then its argument prototype would still apply. */
18274 char SQLConnect ();
18276 main (void)
18278 return SQLConnect ();
18280 return 0;
18282 _ACEOF
18283 if ac_fn_c_try_link "$LINENO"
18284 then :
18285 case "$LIBEXT" in
18286 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18287 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'` ;;
18288 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18289 if ${ac_cv_lib_soname_odbc:+false} :
18290 then :
18291 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18292 fi ;;
18293 esac
18294 else $as_nop
18295 ac_cv_lib_soname_odbc=
18297 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18298 conftest$ac_exeext conftest.$ac_ext
18299 LIBS=$ac_check_soname_save_LIBS
18301 if ${ac_cv_lib_soname_odbc:+false} :
18302 then :
18303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18304 printf "%s\n" "not found" >&6; }
18305 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18307 else $as_nop
18308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18309 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18311 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18316 if test "x$with_netapi" != "xno"
18317 then
18318 rm -f conftest.err
18319 if ${NETAPI_CFLAGS:+false} :
18320 then :
18321 if test ${PKG_CONFIG+y}
18322 then :
18323 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18327 if ${NETAPI_LIBS:+false} :
18328 then :
18329 if test ${PKG_CONFIG+y}
18330 then :
18331 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18336 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18337 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18338 if test -s conftest.err; then
18339 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18340 cat conftest.err >&5
18342 rm -f conftest.err
18343 ac_save_CPPFLAGS=$CPPFLAGS
18344 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18346 printf %s "checking for -lnetapi... " >&6; }
18347 if test ${ac_cv_lib_soname_netapi+y}
18348 then :
18349 printf %s "(cached) " >&6
18350 else $as_nop
18351 ac_check_soname_save_LIBS=$LIBS
18352 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18354 /* end confdefs.h. */
18356 /* Override any GCC internal prototype to avoid an error.
18357 Use char because int might match the return type of a GCC
18358 builtin and then its argument prototype would still apply. */
18359 char libnetapi_init ();
18361 main (void)
18363 return libnetapi_init ();
18365 return 0;
18367 _ACEOF
18368 if ac_fn_c_try_link "$LINENO"
18369 then :
18370 case "$LIBEXT" in
18371 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18372 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'` ;;
18373 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18374 if ${ac_cv_lib_soname_netapi:+false} :
18375 then :
18376 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18377 fi ;;
18378 esac
18379 else $as_nop
18380 ac_cv_lib_soname_netapi=
18382 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18383 conftest$ac_exeext conftest.$ac_ext
18384 LIBS=$ac_check_soname_save_LIBS
18386 if ${ac_cv_lib_soname_netapi:+false} :
18387 then :
18388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18389 printf "%s\n" "not found" >&6; }
18390 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18392 else $as_nop
18393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18394 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18396 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18400 CPPFLAGS=$ac_save_CPPFLAGS
18403 if test "x$ac_cv_lib_soname_netapi" = "x"
18404 then :
18405 case "x$with_netapi" in
18406 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18407 xno) ;;
18408 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18409 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18410 esac
18411 enable_netapi=${enable_netapi:-no}
18415 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18416 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18417 then
18418 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18421 if test "x$with_vulkan" != "xno"
18422 then
18423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18424 printf %s "checking for -lvulkan... " >&6; }
18425 if test ${ac_cv_lib_soname_vulkan+y}
18426 then :
18427 printf %s "(cached) " >&6
18428 else $as_nop
18429 ac_check_soname_save_LIBS=$LIBS
18430 LIBS="-lvulkan $LIBS"
18431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18432 /* end confdefs.h. */
18434 /* Override any GCC internal prototype to avoid an error.
18435 Use char because int might match the return type of a GCC
18436 builtin and then its argument prototype would still apply. */
18437 char vkGetInstanceProcAddr ();
18439 main (void)
18441 return vkGetInstanceProcAddr ();
18443 return 0;
18445 _ACEOF
18446 if ac_fn_c_try_link "$LINENO"
18447 then :
18448 case "$LIBEXT" in
18449 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18450 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'` ;;
18451 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18452 if ${ac_cv_lib_soname_vulkan:+false} :
18453 then :
18454 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18455 fi ;;
18456 esac
18457 else $as_nop
18458 ac_cv_lib_soname_vulkan=
18460 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18461 conftest$ac_exeext conftest.$ac_ext
18462 LIBS=$ac_check_soname_save_LIBS
18464 if ${ac_cv_lib_soname_vulkan:+false} :
18465 then :
18466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18467 printf "%s\n" "not found" >&6; }
18469 else $as_nop
18470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18471 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18473 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18477 if test "x$ac_cv_lib_soname_vulkan" = "x"
18478 then
18479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18480 printf %s "checking for -lMoltenVK... " >&6; }
18481 if test ${ac_cv_lib_soname_MoltenVK+y}
18482 then :
18483 printf %s "(cached) " >&6
18484 else $as_nop
18485 ac_check_soname_save_LIBS=$LIBS
18486 LIBS="-lMoltenVK $LIBS"
18487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18488 /* end confdefs.h. */
18490 /* Override any GCC internal prototype to avoid an error.
18491 Use char because int might match the return type of a GCC
18492 builtin and then its argument prototype would still apply. */
18493 char vkGetInstanceProcAddr ();
18495 main (void)
18497 return vkGetInstanceProcAddr ();
18499 return 0;
18501 _ACEOF
18502 if ac_fn_c_try_link "$LINENO"
18503 then :
18504 case "$LIBEXT" in
18505 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18506 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'` ;;
18507 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18508 if ${ac_cv_lib_soname_MoltenVK:+false} :
18509 then :
18510 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18511 fi ;;
18512 esac
18513 else $as_nop
18514 ac_cv_lib_soname_MoltenVK=
18516 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18517 conftest$ac_exeext conftest.$ac_ext
18518 LIBS=$ac_check_soname_save_LIBS
18520 if ${ac_cv_lib_soname_MoltenVK:+false} :
18521 then :
18522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18523 printf "%s\n" "not found" >&6; }
18525 else $as_nop
18526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18527 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18529 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18535 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18536 then :
18537 case "x$with_vulkan" in
18538 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18539 xno) ;;
18540 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18541 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18542 esac
18547 if test "x${GCC}" = "xyes"
18548 then
18549 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18551 saved_CFLAGS=$CFLAGS
18552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18553 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18554 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18555 then :
18556 printf %s "(cached) " >&6
18557 else $as_nop
18558 ac_wine_try_cflags_saved=$CFLAGS
18559 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18561 /* end confdefs.h. */
18562 int main(int argc, char **argv) { return 0; }
18563 _ACEOF
18564 if ac_fn_c_try_link "$LINENO"
18565 then :
18566 ac_cv_cflags__Werror_unknown_warning_option=yes
18567 else $as_nop
18568 ac_cv_cflags__Werror_unknown_warning_option=no
18570 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18571 conftest$ac_exeext conftest.$ac_ext
18572 CFLAGS=$ac_wine_try_cflags_saved
18574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18575 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18576 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18577 then :
18578 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18581 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18582 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18583 then :
18584 printf %s "(cached) " >&6
18585 else $as_nop
18586 ac_wine_try_cflags_saved=$CFLAGS
18587 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18589 /* end confdefs.h. */
18590 int main(int argc, char **argv) { return 0; }
18591 _ACEOF
18592 if ac_fn_c_try_link "$LINENO"
18593 then :
18594 ac_cv_cflags__Werror_unused_command_line_argument=yes
18595 else $as_nop
18596 ac_cv_cflags__Werror_unused_command_line_argument=no
18598 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18599 conftest$ac_exeext conftest.$ac_ext
18600 CFLAGS=$ac_wine_try_cflags_saved
18602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18603 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18604 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18605 then :
18606 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18609 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18610 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18611 then :
18612 printf %s "(cached) " >&6
18613 else $as_nop
18614 ac_wine_try_cflags_saved=$CFLAGS
18615 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18617 /* end confdefs.h. */
18618 int main(int argc, char **argv) { return 0; }
18619 _ACEOF
18620 if ac_fn_c_try_link "$LINENO"
18621 then :
18622 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18623 else $as_nop
18624 ac_cv_cflags__Werror_ignored_optimization_argument=no
18626 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18627 conftest$ac_exeext conftest.$ac_ext
18628 CFLAGS=$ac_wine_try_cflags_saved
18630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18631 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18632 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18633 then :
18634 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18637 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18638 if test ${ac_cv_cflags__fcf_protection_none+y}
18639 then :
18640 printf %s "(cached) " >&6
18641 else $as_nop
18642 ac_wine_try_cflags_saved=$CFLAGS
18643 CFLAGS="$CFLAGS -fcf-protection=none"
18644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18645 /* end confdefs.h. */
18646 int main(int argc, char **argv) { return 0; }
18647 _ACEOF
18648 if ac_fn_c_try_link "$LINENO"
18649 then :
18650 ac_cv_cflags__fcf_protection_none=yes
18651 else $as_nop
18652 ac_cv_cflags__fcf_protection_none=no
18654 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18655 conftest$ac_exeext conftest.$ac_ext
18656 CFLAGS=$ac_wine_try_cflags_saved
18658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18659 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18660 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18661 then :
18662 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18665 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18666 if test ${ac_cv_cflags__fno_stack_protector+y}
18667 then :
18668 printf %s "(cached) " >&6
18669 else $as_nop
18670 ac_wine_try_cflags_saved=$CFLAGS
18671 CFLAGS="$CFLAGS -fno-stack-protector"
18672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18673 /* end confdefs.h. */
18674 int main(int argc, char **argv) { return 0; }
18675 _ACEOF
18676 if ac_fn_c_try_link "$LINENO"
18677 then :
18678 ac_cv_cflags__fno_stack_protector=yes
18679 else $as_nop
18680 ac_cv_cflags__fno_stack_protector=no
18682 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18683 conftest$ac_exeext conftest.$ac_ext
18684 CFLAGS=$ac_wine_try_cflags_saved
18686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18687 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18688 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18689 then :
18690 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18693 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18694 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18695 then :
18696 printf %s "(cached) " >&6
18697 else $as_nop
18698 ac_wine_try_cflags_saved=$CFLAGS
18699 CFLAGS="$CFLAGS -fno-strict-aliasing"
18700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18701 /* end confdefs.h. */
18702 int main(int argc, char **argv) { return 0; }
18703 _ACEOF
18704 if ac_fn_c_try_link "$LINENO"
18705 then :
18706 ac_cv_cflags__fno_strict_aliasing=yes
18707 else $as_nop
18708 ac_cv_cflags__fno_strict_aliasing=no
18710 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18711 conftest$ac_exeext conftest.$ac_ext
18712 CFLAGS=$ac_wine_try_cflags_saved
18714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18715 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18716 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18717 then :
18718 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18721 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18722 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18723 then :
18724 printf %s "(cached) " >&6
18725 else $as_nop
18726 ac_wine_try_cflags_saved=$CFLAGS
18727 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18729 /* end confdefs.h. */
18730 int main(int argc, char **argv) { return 0; }
18731 _ACEOF
18732 if ac_fn_c_try_link "$LINENO"
18733 then :
18734 ac_cv_cflags__Wdeclaration_after_statement=yes
18735 else $as_nop
18736 ac_cv_cflags__Wdeclaration_after_statement=no
18738 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18739 conftest$ac_exeext conftest.$ac_ext
18740 CFLAGS=$ac_wine_try_cflags_saved
18742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18743 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18744 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18745 then :
18746 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18749 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18750 if test ${ac_cv_cflags__Wempty_body+y}
18751 then :
18752 printf %s "(cached) " >&6
18753 else $as_nop
18754 ac_wine_try_cflags_saved=$CFLAGS
18755 CFLAGS="$CFLAGS -Wempty-body"
18756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18757 /* end confdefs.h. */
18758 int main(int argc, char **argv) { return 0; }
18759 _ACEOF
18760 if ac_fn_c_try_link "$LINENO"
18761 then :
18762 ac_cv_cflags__Wempty_body=yes
18763 else $as_nop
18764 ac_cv_cflags__Wempty_body=no
18766 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18767 conftest$ac_exeext conftest.$ac_ext
18768 CFLAGS=$ac_wine_try_cflags_saved
18770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18771 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18772 if test "x$ac_cv_cflags__Wempty_body" = xyes
18773 then :
18774 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18777 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18778 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18779 then :
18780 printf %s "(cached) " >&6
18781 else $as_nop
18782 ac_wine_try_cflags_saved=$CFLAGS
18783 CFLAGS="$CFLAGS -Wignored-qualifiers"
18784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18785 /* end confdefs.h. */
18786 int main(int argc, char **argv) { return 0; }
18787 _ACEOF
18788 if ac_fn_c_try_link "$LINENO"
18789 then :
18790 ac_cv_cflags__Wignored_qualifiers=yes
18791 else $as_nop
18792 ac_cv_cflags__Wignored_qualifiers=no
18794 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18795 conftest$ac_exeext conftest.$ac_ext
18796 CFLAGS=$ac_wine_try_cflags_saved
18798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18799 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18800 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18801 then :
18802 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18805 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18806 if test ${ac_cv_cflags__Winit_self+y}
18807 then :
18808 printf %s "(cached) " >&6
18809 else $as_nop
18810 ac_wine_try_cflags_saved=$CFLAGS
18811 CFLAGS="$CFLAGS -Winit-self"
18812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18813 /* end confdefs.h. */
18814 int main(int argc, char **argv) { return 0; }
18815 _ACEOF
18816 if ac_fn_c_try_link "$LINENO"
18817 then :
18818 ac_cv_cflags__Winit_self=yes
18819 else $as_nop
18820 ac_cv_cflags__Winit_self=no
18822 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18823 conftest$ac_exeext conftest.$ac_ext
18824 CFLAGS=$ac_wine_try_cflags_saved
18826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18827 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18828 if test "x$ac_cv_cflags__Winit_self" = xyes
18829 then :
18830 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18833 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18834 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18835 then :
18836 printf %s "(cached) " >&6
18837 else $as_nop
18838 ac_wine_try_cflags_saved=$CFLAGS
18839 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18841 /* end confdefs.h. */
18842 int main(int argc, char **argv) { return 0; }
18843 _ACEOF
18844 if ac_fn_c_try_link "$LINENO"
18845 then :
18846 ac_cv_cflags__Wpacked_not_aligned=yes
18847 else $as_nop
18848 ac_cv_cflags__Wpacked_not_aligned=no
18850 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18851 conftest$ac_exeext conftest.$ac_ext
18852 CFLAGS=$ac_wine_try_cflags_saved
18854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18855 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18856 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18857 then :
18858 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18861 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18862 if test ${ac_cv_cflags__Wpragma_pack+y}
18863 then :
18864 printf %s "(cached) " >&6
18865 else $as_nop
18866 ac_wine_try_cflags_saved=$CFLAGS
18867 CFLAGS="$CFLAGS -Wpragma-pack"
18868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18869 /* end confdefs.h. */
18870 int main(int argc, char **argv) { return 0; }
18871 _ACEOF
18872 if ac_fn_c_try_link "$LINENO"
18873 then :
18874 ac_cv_cflags__Wpragma_pack=yes
18875 else $as_nop
18876 ac_cv_cflags__Wpragma_pack=no
18878 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18879 conftest$ac_exeext conftest.$ac_ext
18880 CFLAGS=$ac_wine_try_cflags_saved
18882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18883 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18884 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18885 then :
18886 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18889 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18890 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18891 then :
18892 printf %s "(cached) " >&6
18893 else $as_nop
18894 ac_wine_try_cflags_saved=$CFLAGS
18895 CFLAGS="$CFLAGS -Wshift-overflow=2"
18896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18897 /* end confdefs.h. */
18898 int main(int argc, char **argv) { return 0; }
18899 _ACEOF
18900 if ac_fn_c_try_link "$LINENO"
18901 then :
18902 ac_cv_cflags__Wshift_overflow_2=yes
18903 else $as_nop
18904 ac_cv_cflags__Wshift_overflow_2=no
18906 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18907 conftest$ac_exeext conftest.$ac_ext
18908 CFLAGS=$ac_wine_try_cflags_saved
18910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18911 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18912 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18913 then :
18914 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18917 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18918 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18919 then :
18920 printf %s "(cached) " >&6
18921 else $as_nop
18922 ac_wine_try_cflags_saved=$CFLAGS
18923 CFLAGS="$CFLAGS -Wstrict-prototypes"
18924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18925 /* end confdefs.h. */
18926 int main(int argc, char **argv) { return 0; }
18927 _ACEOF
18928 if ac_fn_c_try_link "$LINENO"
18929 then :
18930 ac_cv_cflags__Wstrict_prototypes=yes
18931 else $as_nop
18932 ac_cv_cflags__Wstrict_prototypes=no
18934 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18935 conftest$ac_exeext conftest.$ac_ext
18936 CFLAGS=$ac_wine_try_cflags_saved
18938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18939 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18940 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18941 then :
18942 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18945 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18946 if test ${ac_cv_cflags__Wtype_limits+y}
18947 then :
18948 printf %s "(cached) " >&6
18949 else $as_nop
18950 ac_wine_try_cflags_saved=$CFLAGS
18951 CFLAGS="$CFLAGS -Wtype-limits"
18952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18953 /* end confdefs.h. */
18954 int main(int argc, char **argv) { return 0; }
18955 _ACEOF
18956 if ac_fn_c_try_link "$LINENO"
18957 then :
18958 ac_cv_cflags__Wtype_limits=yes
18959 else $as_nop
18960 ac_cv_cflags__Wtype_limits=no
18962 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18963 conftest$ac_exeext conftest.$ac_ext
18964 CFLAGS=$ac_wine_try_cflags_saved
18966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18967 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18968 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18969 then :
18970 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18973 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18974 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18975 then :
18976 printf %s "(cached) " >&6
18977 else $as_nop
18978 ac_wine_try_cflags_saved=$CFLAGS
18979 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18981 /* end confdefs.h. */
18982 int main(int argc, char **argv) { return 0; }
18983 _ACEOF
18984 if ac_fn_c_try_link "$LINENO"
18985 then :
18986 ac_cv_cflags__Wunused_but_set_parameter=yes
18987 else $as_nop
18988 ac_cv_cflags__Wunused_but_set_parameter=no
18990 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18991 conftest$ac_exeext conftest.$ac_ext
18992 CFLAGS=$ac_wine_try_cflags_saved
18994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18995 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18996 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18997 then :
18998 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
19000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19001 printf %s "checking whether the compiler supports -Wvla... " >&6; }
19002 if test ${ac_cv_cflags__Wvla+y}
19003 then :
19004 printf %s "(cached) " >&6
19005 else $as_nop
19006 ac_wine_try_cflags_saved=$CFLAGS
19007 CFLAGS="$CFLAGS -Wvla"
19008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19009 /* end confdefs.h. */
19010 int main(int argc, char **argv) { return 0; }
19011 _ACEOF
19012 if ac_fn_c_try_link "$LINENO"
19013 then :
19014 ac_cv_cflags__Wvla=yes
19015 else $as_nop
19016 ac_cv_cflags__Wvla=no
19018 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19019 conftest$ac_exeext conftest.$ac_ext
19020 CFLAGS=$ac_wine_try_cflags_saved
19022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19023 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19024 if test "x$ac_cv_cflags__Wvla" = xyes
19025 then :
19026 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
19028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19029 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
19030 if test ${ac_cv_cflags__Wwrite_strings+y}
19031 then :
19032 printf %s "(cached) " >&6
19033 else $as_nop
19034 ac_wine_try_cflags_saved=$CFLAGS
19035 CFLAGS="$CFLAGS -Wwrite-strings"
19036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19037 /* end confdefs.h. */
19038 int main(int argc, char **argv) { return 0; }
19039 _ACEOF
19040 if ac_fn_c_try_link "$LINENO"
19041 then :
19042 ac_cv_cflags__Wwrite_strings=yes
19043 else $as_nop
19044 ac_cv_cflags__Wwrite_strings=no
19046 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19047 conftest$ac_exeext conftest.$ac_ext
19048 CFLAGS=$ac_wine_try_cflags_saved
19050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19051 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19052 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19053 then :
19054 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19058 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19059 if test ${ac_cv_cflags__Wpointer_arith+y}
19060 then :
19061 printf %s "(cached) " >&6
19062 else $as_nop
19063 ac_wine_try_cflags_saved=$CFLAGS
19064 CFLAGS="$CFLAGS -Wpointer-arith"
19065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19066 /* end confdefs.h. */
19067 int main(int argc, char **argv) { return 0; }
19068 _ACEOF
19069 if ac_fn_c_try_link "$LINENO"
19070 then :
19071 ac_cv_cflags__Wpointer_arith=yes
19072 else $as_nop
19073 ac_cv_cflags__Wpointer_arith=no
19075 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19076 conftest$ac_exeext conftest.$ac_ext
19077 CFLAGS=$ac_wine_try_cflags_saved
19079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19080 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19081 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19082 then :
19083 saved_string_h_CFLAGS=$CFLAGS
19084 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19086 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19087 if test ${ac_cv_c_string_h_warnings+y}
19088 then :
19089 printf %s "(cached) " >&6
19090 else $as_nop
19091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19092 /* end confdefs.h. */
19093 #include <string.h>
19095 main (void)
19099 return 0;
19101 _ACEOF
19102 if ac_fn_c_try_compile "$LINENO"
19103 then :
19104 ac_cv_c_string_h_warnings=no
19105 else $as_nop
19106 ac_cv_c_string_h_warnings=yes
19108 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19111 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19112 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19113 CFLAGS=$saved_string_h_CFLAGS
19116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19117 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19118 if test ${ac_cv_cflags__Wlogical_op+y}
19119 then :
19120 printf %s "(cached) " >&6
19121 else $as_nop
19122 ac_wine_try_cflags_saved=$CFLAGS
19123 CFLAGS="$CFLAGS -Wlogical-op"
19124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19125 /* end confdefs.h. */
19126 int main(int argc, char **argv) { return 0; }
19127 _ACEOF
19128 if ac_fn_c_try_link "$LINENO"
19129 then :
19130 ac_cv_cflags__Wlogical_op=yes
19131 else $as_nop
19132 ac_cv_cflags__Wlogical_op=no
19134 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19135 conftest$ac_exeext conftest.$ac_ext
19136 CFLAGS=$ac_wine_try_cflags_saved
19138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19139 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19140 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19141 then :
19142 saved_string_h_CFLAGS=$CFLAGS
19143 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19145 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19146 if test ${ac_cv_c_logicalop_noisy+y}
19147 then :
19148 printf %s "(cached) " >&6
19149 else $as_nop
19150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19151 /* end confdefs.h. */
19152 #include <string.h>
19153 char*f(const char *h,char n) {return strchr(h,n);}
19155 main (void)
19159 return 0;
19161 _ACEOF
19162 if ac_fn_c_try_compile "$LINENO"
19163 then :
19164 ac_cv_c_logicalop_noisy=no
19165 else $as_nop
19166 ac_cv_c_logicalop_noisy=yes
19168 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19171 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19172 CFLAGS=$saved_string_h_CFLAGS
19173 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19177 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19178 if test ${wine_cv_64bit_compare_swap+y}
19179 then :
19180 printf %s "(cached) " >&6
19181 else $as_nop
19182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19183 /* end confdefs.h. */
19184 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19185 #error no
19186 #endif
19188 main (void)
19192 return 0;
19194 _ACEOF
19195 if ac_fn_c_try_compile "$LINENO"
19196 then :
19197 wine_cv_64bit_compare_swap="none needed"
19198 else $as_nop
19199 case $host_cpu in
19200 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19201 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19202 *) wine_cv_64bit_compare_swap="unknown" ;;
19203 esac
19204 if test "x$wine_cv_64bit_compare_swap" != xunknown
19205 then
19206 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19208 /* end confdefs.h. */
19209 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19210 #error no
19211 #endif
19213 main (void)
19217 return 0;
19219 _ACEOF
19220 if ac_fn_c_try_compile "$LINENO"
19221 then :
19223 else $as_nop
19224 wine_cv_64bit_compare_swap="unknown"
19226 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19227 CFLAGS=$saved_CFLAGS
19230 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19233 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19234 case "$wine_cv_64bit_compare_swap" in
19235 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19236 "none needed") ;;
19237 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19238 esac
19240 ac_debug_format_seen=""
19241 for ac_flag in $CFLAGS; do
19242 case $ac_flag in
19243 -gdwarf*) ac_debug_format_seen=yes ;;
19244 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19245 esac
19246 done
19247 if test "x$ac_debug_format_seen" = xdefault
19248 then
19249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19250 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19251 if test ${ac_cv_cflags__gdwarf_4+y}
19252 then :
19253 printf %s "(cached) " >&6
19254 else $as_nop
19255 ac_wine_try_cflags_saved=$CFLAGS
19256 CFLAGS="$CFLAGS -gdwarf-4"
19257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19258 /* end confdefs.h. */
19259 int main(int argc, char **argv) { return 0; }
19260 _ACEOF
19261 if ac_fn_c_try_link "$LINENO"
19262 then :
19263 ac_cv_cflags__gdwarf_4=yes
19264 else $as_nop
19265 ac_cv_cflags__gdwarf_4=no
19267 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19268 conftest$ac_exeext conftest.$ac_ext
19269 CFLAGS=$ac_wine_try_cflags_saved
19271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19272 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19273 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19274 then :
19275 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19279 MSVCRTFLAGS=""
19281 case $host_os in
19282 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19283 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19284 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19285 then :
19286 printf %s "(cached) " >&6
19287 else $as_nop
19288 ac_wine_try_cflags_saved=$CFLAGS
19289 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19291 /* end confdefs.h. */
19292 int main(int argc, char **argv) { return 0; }
19293 _ACEOF
19294 if ac_fn_c_try_link "$LINENO"
19295 then :
19296 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19297 else $as_nop
19298 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19300 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19301 conftest$ac_exeext conftest.$ac_ext
19302 CFLAGS=$ac_wine_try_cflags_saved
19304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19305 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19306 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19307 then :
19308 DELAYLOADFLAG="-Wl,-delayload,"
19310 fi ;;
19311 *) MSVCRTFLAGS="-D_WIN32"
19312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19313 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19314 if test ${ac_cv_cflags__fno_builtin+y}
19315 then :
19316 printf %s "(cached) " >&6
19317 else $as_nop
19318 ac_wine_try_cflags_saved=$CFLAGS
19319 CFLAGS="$CFLAGS -fno-builtin"
19320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19321 /* end confdefs.h. */
19322 int main(int argc, char **argv) { return 0; }
19323 _ACEOF
19324 if ac_fn_c_try_link "$LINENO"
19325 then :
19326 ac_cv_cflags__fno_builtin=yes
19327 else $as_nop
19328 ac_cv_cflags__fno_builtin=no
19330 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19331 conftest$ac_exeext conftest.$ac_ext
19332 CFLAGS=$ac_wine_try_cflags_saved
19334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19335 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19336 if test "x$ac_cv_cflags__fno_builtin" = xyes
19337 then :
19338 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19341 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19342 if test ${ac_cv_cflags__fshort_wchar+y}
19343 then :
19344 printf %s "(cached) " >&6
19345 else $as_nop
19346 ac_wine_try_cflags_saved=$CFLAGS
19347 CFLAGS="$CFLAGS -fshort-wchar"
19348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19349 /* end confdefs.h. */
19350 int main(int argc, char **argv) { return 0; }
19351 _ACEOF
19352 if ac_fn_c_try_link "$LINENO"
19353 then :
19354 ac_cv_cflags__fshort_wchar=yes
19355 else $as_nop
19356 ac_cv_cflags__fshort_wchar=no
19358 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19359 conftest$ac_exeext conftest.$ac_ext
19360 CFLAGS=$ac_wine_try_cflags_saved
19362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19363 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19364 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19365 then :
19366 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19369 printf %s "checking whether the compiler supports -fvisibility=hidden... " >&6; }
19370 if test ${ac_cv_cflags__fvisibility_hidden+y}
19371 then :
19372 printf %s "(cached) " >&6
19373 else $as_nop
19374 ac_wine_try_cflags_saved=$CFLAGS
19375 CFLAGS="$CFLAGS -fvisibility=hidden"
19376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19377 /* end confdefs.h. */
19378 int main(int argc, char **argv) { return 0; }
19379 _ACEOF
19380 if ac_fn_c_try_link "$LINENO"
19381 then :
19382 ac_cv_cflags__fvisibility_hidden=yes
19383 else $as_nop
19384 ac_cv_cflags__fvisibility_hidden=no
19386 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19387 conftest$ac_exeext conftest.$ac_ext
19388 CFLAGS=$ac_wine_try_cflags_saved
19390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19391 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19392 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19393 then :
19394 MSVCRTFLAGS="$MSVCRTFLAGS -fvisibility=hidden"
19396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19397 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19398 if test ${ac_cv_cflags__Wno_format+y}
19399 then :
19400 printf %s "(cached) " >&6
19401 else $as_nop
19402 ac_wine_try_cflags_saved=$CFLAGS
19403 CFLAGS="$CFLAGS -Wno-format"
19404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19405 /* end confdefs.h. */
19406 int main(int argc, char **argv) { return 0; }
19407 _ACEOF
19408 if ac_fn_c_try_link "$LINENO"
19409 then :
19410 ac_cv_cflags__Wno_format=yes
19411 else $as_nop
19412 ac_cv_cflags__Wno_format=no
19414 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19415 conftest$ac_exeext conftest.$ac_ext
19416 CFLAGS=$ac_wine_try_cflags_saved
19418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19419 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19420 if test "x$ac_cv_cflags__Wno_format" = xyes
19421 then :
19422 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19423 fi ;;
19424 esac
19426 case $host_cpu in
19427 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19428 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19429 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19430 then :
19431 printf %s "(cached) " >&6
19432 else $as_nop
19433 ac_wine_try_cflags_saved=$CFLAGS
19434 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19436 /* end confdefs.h. */
19437 int main(int argc, char **argv) { return 0; }
19438 _ACEOF
19439 if ac_fn_c_try_link "$LINENO"
19440 then :
19441 ac_cv_cflags__fno_omit_frame_pointer=yes
19442 else $as_nop
19443 ac_cv_cflags__fno_omit_frame_pointer=no
19445 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19446 conftest$ac_exeext conftest.$ac_ext
19447 CFLAGS=$ac_wine_try_cflags_saved
19449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19450 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19451 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19452 then :
19453 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19454 fi ;;
19455 *x86_64*)
19456 case $host_os in
19457 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19458 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19459 if test ${ac_cv_cflags__Wno_format+y}
19460 then :
19461 printf %s "(cached) " >&6
19462 else $as_nop
19463 ac_wine_try_cflags_saved=$CFLAGS
19464 CFLAGS="$CFLAGS -Wno-format"
19465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19466 /* end confdefs.h. */
19467 int main(int argc, char **argv) { return 0; }
19468 _ACEOF
19469 if ac_fn_c_try_link "$LINENO"
19470 then :
19471 ac_cv_cflags__Wno_format=yes
19472 else $as_nop
19473 ac_cv_cflags__Wno_format=no
19475 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19476 conftest$ac_exeext conftest.$ac_ext
19477 CFLAGS=$ac_wine_try_cflags_saved
19479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19480 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19481 if test "x$ac_cv_cflags__Wno_format" = xyes
19482 then :
19483 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19484 fi ;;
19485 *) if test -z "$PE_ARCHS"
19486 then
19487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19488 printf %s "checking for working -mabi=ms... " >&6; }
19489 if test ${ac_cv_mabi_ms+y}
19490 then :
19491 printf %s "(cached) " >&6
19492 else $as_nop
19493 CFLAGS="$CFLAGS -mabi=ms"
19494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19495 /* end confdefs.h. */
19496 #include <stdarg.h>
19497 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19499 main (void)
19503 return 0;
19505 _ACEOF
19506 if ac_fn_c_try_compile "$LINENO"
19507 then :
19508 ac_cv_mabi_ms=yes
19509 else $as_nop
19510 ac_cv_mabi_ms=no
19512 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19513 CFLAGS=$saved_CFLAGS
19515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19516 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19517 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
19519 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19520 esac ;;
19521 arm*)
19522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19523 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19524 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19525 then :
19526 printf %s "(cached) " >&6
19527 else $as_nop
19528 ac_wine_try_cflags_saved=$CFLAGS
19529 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19531 /* end confdefs.h. */
19532 int main(int argc, char **argv) { return 0; }
19533 _ACEOF
19534 if ac_fn_c_try_link "$LINENO"
19535 then :
19536 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19537 else $as_nop
19538 ac_cv_cflags__Wincompatible_function_pointer_types=no
19540 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19541 conftest$ac_exeext conftest.$ac_ext
19542 CFLAGS=$ac_wine_try_cflags_saved
19544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19545 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19546 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19547 then :
19548 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19549 fi ;;
19550 esac
19552 CFLAGS=$saved_CFLAGS
19554 if test "x$enable_werror" = "xyes"
19555 then
19556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19557 printf %s "checking whether the compiler supports -Werror... " >&6; }
19558 if test ${ac_cv_cflags__Werror+y}
19559 then :
19560 printf %s "(cached) " >&6
19561 else $as_nop
19562 ac_wine_try_cflags_saved=$CFLAGS
19563 CFLAGS="$CFLAGS -Werror"
19564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19565 /* end confdefs.h. */
19566 int main(int argc, char **argv) { return 0; }
19567 _ACEOF
19568 if ac_fn_c_try_link "$LINENO"
19569 then :
19570 ac_cv_cflags__Werror=yes
19571 else $as_nop
19572 ac_cv_cflags__Werror=no
19574 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19575 conftest$ac_exeext conftest.$ac_ext
19576 CFLAGS=$ac_wine_try_cflags_saved
19578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19579 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19580 if test "x$ac_cv_cflags__Werror" = xyes
19581 then :
19582 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19585 if test "x$enable_build_id" = "xyes"
19586 then
19587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19588 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19589 if test ${ac_cv_cflags__Wl___build_id+y}
19590 then :
19591 printf %s "(cached) " >&6
19592 else $as_nop
19593 ac_wine_try_cflags_saved=$CFLAGS
19594 CFLAGS="$CFLAGS -Wl,--build-id"
19595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19596 /* end confdefs.h. */
19597 int main(int argc, char **argv) { return 0; }
19598 _ACEOF
19599 if ac_fn_c_try_link "$LINENO"
19600 then :
19601 ac_cv_cflags__Wl___build_id=yes
19602 else $as_nop
19603 ac_cv_cflags__Wl___build_id=no
19605 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19606 conftest$ac_exeext conftest.$ac_ext
19607 CFLAGS=$ac_wine_try_cflags_saved
19609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19610 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19611 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19612 then :
19613 CFLAGS="$CFLAGS -Wl,--build-id"
19614 LDFLAGS="$LDFLAGS -Wl,--build-id"
19620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19621 printf %s "checking for the need to disable Fortify... " >&6; }
19622 if test ${ac_cv_c_fortify_enabled+y}
19623 then :
19624 printf %s "(cached) " >&6
19625 else $as_nop
19626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19627 /* end confdefs.h. */
19628 #include <string.h>
19630 main (void)
19632 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19633 #error Fortify enabled
19634 #endif
19636 return 0;
19638 _ACEOF
19639 if ac_fn_c_try_compile "$LINENO"
19640 then :
19641 ac_cv_c_fortify_enabled=no
19642 else $as_nop
19643 ac_cv_c_fortify_enabled=yes
19645 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19648 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19649 if test "$ac_cv_c_fortify_enabled" = yes
19650 then
19651 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19656 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19657 if test ${ac_cv_c_cfi_support+y}
19658 then :
19659 printf %s "(cached) " >&6
19660 else $as_nop
19661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19662 /* end confdefs.h. */
19663 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19665 main (void)
19669 return 0;
19671 _ACEOF
19672 if ac_fn_c_try_compile "$LINENO"
19673 then :
19674 ac_cv_c_cfi_support="yes"
19675 else $as_nop
19676 ac_cv_c_cfi_support="no"
19678 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19681 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19682 if test "$ac_cv_c_cfi_support" = "yes"
19683 then
19684 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19685 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19686 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19687 elif test $HOST_ARCH = x86_64
19688 then
19689 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19693 case "$HOST_ARCH,$PE_ARCHS" in
19694 x86_64,*i386*) wine_binary="wine" ;;
19695 x86_64,*) wine_binary="wine64" ;;
19696 *) wine_binary="wine" ;;
19697 esac
19698 WINELOADER_PROGRAMS="$wine_binary"
19701 case $host_os in
19702 linux*)
19703 case $host_cpu in
19704 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19705 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19706 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19708 esac
19710 darwin*|macosx*)
19711 if test "$wine_can_build_preloader" = "yes"
19712 then
19713 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19714 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19717 esac
19720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19721 printf %s "checking for library containing dlopen... " >&6; }
19722 if test ${ac_cv_search_dlopen+y}
19723 then :
19724 printf %s "(cached) " >&6
19725 else $as_nop
19726 ac_func_search_save_LIBS=$LIBS
19727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19728 /* end confdefs.h. */
19730 /* Override any GCC internal prototype to avoid an error.
19731 Use char because int might match the return type of a GCC
19732 builtin and then its argument prototype would still apply. */
19733 char dlopen ();
19735 main (void)
19737 return dlopen ();
19739 return 0;
19741 _ACEOF
19742 for ac_lib in '' dl
19744 if test -z "$ac_lib"; then
19745 ac_res="none required"
19746 else
19747 ac_res=-l$ac_lib
19748 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19750 if ac_fn_c_try_link "$LINENO"
19751 then :
19752 ac_cv_search_dlopen=$ac_res
19754 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19755 conftest$ac_exeext
19756 if test ${ac_cv_search_dlopen+y}
19757 then :
19758 break
19760 done
19761 if test ${ac_cv_search_dlopen+y}
19762 then :
19764 else $as_nop
19765 ac_cv_search_dlopen=no
19767 rm conftest.$ac_ext
19768 LIBS=$ac_func_search_save_LIBS
19770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19771 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19772 ac_res=$ac_cv_search_dlopen
19773 if test "$ac_res" != no
19774 then :
19775 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19781 printf %s "checking for library containing gethostbyname... " >&6; }
19782 if test ${ac_cv_search_gethostbyname+y}
19783 then :
19784 printf %s "(cached) " >&6
19785 else $as_nop
19786 ac_func_search_save_LIBS=$LIBS
19787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19788 /* end confdefs.h. */
19790 /* Override any GCC internal prototype to avoid an error.
19791 Use char because int might match the return type of a GCC
19792 builtin and then its argument prototype would still apply. */
19793 char gethostbyname ();
19795 main (void)
19797 return gethostbyname ();
19799 return 0;
19801 _ACEOF
19802 for ac_lib in '' nsl
19804 if test -z "$ac_lib"; then
19805 ac_res="none required"
19806 else
19807 ac_res=-l$ac_lib
19808 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19810 if ac_fn_c_try_link "$LINENO"
19811 then :
19812 ac_cv_search_gethostbyname=$ac_res
19814 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19815 conftest$ac_exeext
19816 if test ${ac_cv_search_gethostbyname+y}
19817 then :
19818 break
19820 done
19821 if test ${ac_cv_search_gethostbyname+y}
19822 then :
19824 else $as_nop
19825 ac_cv_search_gethostbyname=no
19827 rm conftest.$ac_ext
19828 LIBS=$ac_func_search_save_LIBS
19830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19831 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19832 ac_res=$ac_cv_search_gethostbyname
19833 if test "$ac_res" != no
19834 then :
19835 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19841 printf %s "checking for library containing connect... " >&6; }
19842 if test ${ac_cv_search_connect+y}
19843 then :
19844 printf %s "(cached) " >&6
19845 else $as_nop
19846 ac_func_search_save_LIBS=$LIBS
19847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19848 /* end confdefs.h. */
19850 /* Override any GCC internal prototype to avoid an error.
19851 Use char because int might match the return type of a GCC
19852 builtin and then its argument prototype would still apply. */
19853 char connect ();
19855 main (void)
19857 return connect ();
19859 return 0;
19861 _ACEOF
19862 for ac_lib in '' socket
19864 if test -z "$ac_lib"; then
19865 ac_res="none required"
19866 else
19867 ac_res=-l$ac_lib
19868 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19870 if ac_fn_c_try_link "$LINENO"
19871 then :
19872 ac_cv_search_connect=$ac_res
19874 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19875 conftest$ac_exeext
19876 if test ${ac_cv_search_connect+y}
19877 then :
19878 break
19880 done
19881 if test ${ac_cv_search_connect+y}
19882 then :
19884 else $as_nop
19885 ac_cv_search_connect=no
19887 rm conftest.$ac_ext
19888 LIBS=$ac_func_search_save_LIBS
19890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19891 printf "%s\n" "$ac_cv_search_connect" >&6; }
19892 ac_res=$ac_cv_search_connect
19893 if test "$ac_res" != no
19894 then :
19895 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19901 printf %s "checking for library containing inet_aton... " >&6; }
19902 if test ${ac_cv_search_inet_aton+y}
19903 then :
19904 printf %s "(cached) " >&6
19905 else $as_nop
19906 ac_func_search_save_LIBS=$LIBS
19907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19908 /* end confdefs.h. */
19910 /* Override any GCC internal prototype to avoid an error.
19911 Use char because int might match the return type of a GCC
19912 builtin and then its argument prototype would still apply. */
19913 char inet_aton ();
19915 main (void)
19917 return inet_aton ();
19919 return 0;
19921 _ACEOF
19922 for ac_lib in '' resolv
19924 if test -z "$ac_lib"; then
19925 ac_res="none required"
19926 else
19927 ac_res=-l$ac_lib
19928 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19930 if ac_fn_c_try_link "$LINENO"
19931 then :
19932 ac_cv_search_inet_aton=$ac_res
19934 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19935 conftest$ac_exeext
19936 if test ${ac_cv_search_inet_aton+y}
19937 then :
19938 break
19940 done
19941 if test ${ac_cv_search_inet_aton+y}
19942 then :
19944 else $as_nop
19945 ac_cv_search_inet_aton=no
19947 rm conftest.$ac_ext
19948 LIBS=$ac_func_search_save_LIBS
19950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19951 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19952 ac_res=$ac_cv_search_inet_aton
19953 if test "$ac_res" != no
19954 then :
19955 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19960 ac_save_CFLAGS="$CFLAGS"
19961 CFLAGS="$CFLAGS $BUILTINFLAG"
19962 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19963 if test "x$ac_cv_func_dladdr1" = xyes
19964 then :
19965 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19968 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19969 if test "x$ac_cv_func_dlinfo" = xyes
19970 then :
19971 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19974 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19975 if test "x$ac_cv_func_epoll_create" = xyes
19976 then :
19977 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19980 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19981 if test "x$ac_cv_func_fstatfs" = xyes
19982 then :
19983 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19986 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19987 if test "x$ac_cv_func_futimens" = xyes
19988 then :
19989 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19992 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19993 if test "x$ac_cv_func_futimes" = xyes
19994 then :
19995 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19998 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19999 if test "x$ac_cv_func_futimesat" = xyes
20000 then :
20001 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
20004 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20005 if test "x$ac_cv_func_getaddrinfo" = xyes
20006 then :
20007 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20010 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
20011 if test "x$ac_cv_func_getattrlist" = xyes
20012 then :
20013 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
20016 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
20017 if test "x$ac_cv_func_getauxval" = xyes
20018 then :
20019 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
20022 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
20023 if test "x$ac_cv_func_getifaddrs" = xyes
20024 then :
20025 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
20028 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
20029 if test "x$ac_cv_func_getrandom" = xyes
20030 then :
20031 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
20034 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
20035 if test "x$ac_cv_func_kqueue" = xyes
20036 then :
20037 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20040 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20041 if test "x$ac_cv_func_mach_continuous_time" = xyes
20042 then :
20043 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20046 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
20047 if test "x$ac_cv_func_pipe2" = xyes
20048 then :
20049 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20052 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
20053 if test "x$ac_cv_func_port_create" = xyes
20054 then :
20055 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20058 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20059 if test "x$ac_cv_func_posix_fadvise" = xyes
20060 then :
20061 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20064 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20065 if test "x$ac_cv_func_posix_fallocate" = xyes
20066 then :
20067 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20070 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
20071 if test "x$ac_cv_func_prctl" = xyes
20072 then :
20073 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20076 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20077 if test "x$ac_cv_func_proc_pidinfo" = xyes
20078 then :
20079 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20082 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20083 if test "x$ac_cv_func_sched_yield" = xyes
20084 then :
20085 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20088 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20089 if test "x$ac_cv_func_setproctitle" = xyes
20090 then :
20091 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20094 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
20095 if test "x$ac_cv_func_setprogname" = xyes
20096 then :
20097 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20100 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20101 if test "x$ac_cv_func_sigprocmask" = xyes
20102 then :
20103 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20106 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20107 if test "x$ac_cv_func_sysinfo" = xyes
20108 then :
20109 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20112 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20113 if test "x$ac_cv_func_tcdrain" = xyes
20114 then :
20115 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20118 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20119 if test "x$ac_cv_func_thr_kill2" = xyes
20120 then :
20121 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20125 CFLAGS="$ac_save_CFLAGS"
20127 case $host_os in
20128 darwin*|macosx*) ;;
20129 *) ac_save_LIBS=$LIBS
20130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20131 printf %s "checking for library containing clock_gettime... " >&6; }
20132 if test ${ac_cv_search_clock_gettime+y}
20133 then :
20134 printf %s "(cached) " >&6
20135 else $as_nop
20136 ac_func_search_save_LIBS=$LIBS
20137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20138 /* end confdefs.h. */
20140 /* Override any GCC internal prototype to avoid an error.
20141 Use char because int might match the return type of a GCC
20142 builtin and then its argument prototype would still apply. */
20143 char clock_gettime ();
20145 main (void)
20147 return clock_gettime ();
20149 return 0;
20151 _ACEOF
20152 for ac_lib in '' rt
20154 if test -z "$ac_lib"; then
20155 ac_res="none required"
20156 else
20157 ac_res=-l$ac_lib
20158 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20160 if ac_fn_c_try_link "$LINENO"
20161 then :
20162 ac_cv_search_clock_gettime=$ac_res
20164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20165 conftest$ac_exeext
20166 if test ${ac_cv_search_clock_gettime+y}
20167 then :
20168 break
20170 done
20171 if test ${ac_cv_search_clock_gettime+y}
20172 then :
20174 else $as_nop
20175 ac_cv_search_clock_gettime=no
20177 rm conftest.$ac_ext
20178 LIBS=$ac_func_search_save_LIBS
20180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20181 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20182 ac_res=$ac_cv_search_clock_gettime
20183 if test "$ac_res" != no
20184 then :
20185 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20187 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20189 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20193 LIBS=$ac_save_LIBS
20195 esac
20197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20198 printf %s "checking for sched_setaffinity... " >&6; }
20199 if test ${wine_cv_have_sched_setaffinity+y}
20200 then :
20201 printf %s "(cached) " >&6
20202 else $as_nop
20203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20204 /* end confdefs.h. */
20205 #include <sched.h>
20207 main (void)
20209 sched_setaffinity(0, 0, 0);
20211 return 0;
20213 _ACEOF
20214 if ac_fn_c_try_link "$LINENO"
20215 then :
20216 wine_cv_have_sched_setaffinity=yes
20217 else $as_nop
20218 wine_cv_have_sched_setaffinity=no
20220 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20221 conftest$ac_exeext conftest.$ac_ext
20223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20224 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20225 if test "$wine_cv_have_sched_setaffinity" = "yes"
20226 then
20228 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20234 printf %s "checking for inline... " >&6; }
20235 if test ${ac_cv_c_inline+y}
20236 then :
20237 printf %s "(cached) " >&6
20238 else $as_nop
20239 ac_cv_c_inline=no
20240 for ac_kw in inline __inline__ __inline; do
20241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20242 /* end confdefs.h. */
20243 #ifndef __cplusplus
20244 typedef int foo_t;
20245 static $ac_kw foo_t static_foo (void) {return 0; }
20246 $ac_kw foo_t foo (void) {return 0; }
20247 #endif
20249 _ACEOF
20250 if ac_fn_c_try_compile "$LINENO"
20251 then :
20252 ac_cv_c_inline=$ac_kw
20254 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20255 test "$ac_cv_c_inline" != no && break
20256 done
20259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20260 printf "%s\n" "$ac_cv_c_inline" >&6; }
20262 case $ac_cv_c_inline in
20263 inline | yes) ;;
20265 case $ac_cv_c_inline in
20266 no) ac_val=;;
20267 *) ac_val=$ac_cv_c_inline;;
20268 esac
20269 cat >>confdefs.h <<_ACEOF
20270 #ifndef __cplusplus
20271 #define inline $ac_val
20272 #endif
20273 _ACEOF
20275 esac
20277 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20279 if test "x$ac_cv_type_request_sense" = xyes
20280 then :
20282 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20288 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20289 #include <sys/socket.h>
20290 #ifdef HAVE_SYS_SOCKETVAR_H
20291 #include <sys/socketvar.h>
20292 #endif
20293 #ifdef HAVE_NET_ROUTE_H
20294 #include <net/route.h>
20295 #endif
20296 #ifdef HAVE_NETINET_IN_H
20297 #include <netinet/in.h>
20298 #endif
20299 #ifdef HAVE_NETINET_IN_SYSTM_H
20300 #include <netinet/in_systm.h>
20301 #endif
20302 #ifdef HAVE_NETINET_IP_H
20303 #include <netinet/ip.h>
20304 #endif
20305 #ifdef HAVE_NETINET_IN_PCB_H
20306 #include <netinet/in_pcb.h>
20307 #endif
20309 if test "x$ac_cv_type_struct_xinpgen" = xyes
20310 then :
20312 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20319 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20320 if test ${wine_cv_linux_gethostbyname_r_6+y}
20321 then :
20322 printf %s "(cached) " >&6
20323 else $as_nop
20324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20325 /* end confdefs.h. */
20326 #include <netdb.h>
20328 main (void)
20331 char *name=0;
20332 struct hostent he;
20333 struct hostent *result;
20334 char *buf=0;
20335 int bufsize=0;
20336 int errnr;
20337 char *addr=0;
20338 int addrlen=0;
20339 int addrtype=0;
20340 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20341 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20344 return 0;
20346 _ACEOF
20347 if ac_fn_c_try_link "$LINENO"
20348 then :
20349 wine_cv_linux_gethostbyname_r_6=yes
20350 else $as_nop
20351 wine_cv_linux_gethostbyname_r_6=no
20354 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20355 conftest$ac_exeext conftest.$ac_ext
20358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20359 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20360 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20361 then
20363 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20367 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20368 #include <sys/socket.h>
20369 #ifdef HAVE_SYS_UN_H
20370 # include <sys/un.h>
20371 #endif
20373 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20374 then :
20376 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20380 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20381 #include <sys/socket.h>
20382 #ifdef HAVE_SYS_UN_H
20383 # include <sys/un.h>
20384 #endif
20386 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20387 then :
20389 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20395 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20396 #ifdef HAVE_SCSI_SG_H
20397 #include <scsi/sg.h>
20398 #endif
20400 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20401 then :
20403 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20407 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>
20408 #ifdef HAVE_SCSI_SG_H
20409 #include <scsi/sg.h>
20410 #endif
20412 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20413 then :
20415 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20421 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20423 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20424 then :
20426 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20432 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#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_blksiz" = xyes
20438 then :
20440 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20444 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#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_gstat" = xyes
20450 then :
20452 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20456 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20457 #ifdef HAVE_SYS_MTIO_H
20458 #include <sys/mtio.h>
20459 #endif
20461 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20462 then :
20464 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20470 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20471 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20472 then :
20474 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20478 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20479 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20480 then :
20482 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20486 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20487 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20488 then :
20490 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20494 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20495 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20496 then :
20498 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20502 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20503 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20504 then :
20506 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20510 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20511 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20512 then :
20514 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20518 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20519 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20520 then :
20522 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20526 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20527 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20528 then :
20530 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20534 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20535 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20536 then :
20538 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20542 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20543 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20544 then :
20546 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20550 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20551 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20552 then :
20554 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20560 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>
20561 #ifdef HAVE_NETINET_IN_H
20562 #include <netinet/in.h>
20563 #endif
20565 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20566 then :
20568 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20574 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
20575 #include <resolv.h>
20576 #endif
20578 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20579 then :
20581 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20587 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20588 #include <netinet/in.h>
20589 #endif
20591 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20592 then :
20594 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20600 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20601 #ifdef HAVE_SYS_SOCKETVAR_H
20602 #include <sys/socketvar.h>
20603 #endif
20604 #ifdef HAVE_NETINET_IN_H
20605 #include <netinet/in.h>
20606 #endif
20607 #ifdef HAVE_NETINET_IP_VAR_H
20608 #include <netinet/ip_var.h>
20609 #endif
20611 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20612 then :
20614 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20620 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
20621 #include <netinet/ip_var.h>
20622 #endif
20624 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20625 then :
20627 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20633 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20634 #ifdef HAVE_SYS_SOCKETVAR_H
20635 #include <sys/socketvar.h>
20636 #endif
20637 #ifdef HAVE_NETINET_IN_H
20638 #include <netinet/in.h>
20639 #endif
20640 #ifdef HAVE_NETINET6_IP6_VAR_H
20641 #include <netinet6/ip6_var.h>
20642 #endif
20644 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20645 then :
20647 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20653 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20654 #ifdef HAVE_SYS_SOCKETVAR_H
20655 #include <sys/socketvar.h>
20656 #endif
20657 #ifdef HAVE_NETINET_IN_H
20658 #include <netinet/in.h>
20659 #endif
20660 #ifdef HAVE_NETINET_IP_H
20661 #include <netinet/ip.h>
20662 #endif
20663 #ifdef HAVE_NETINET_IP_ICMP_H
20664 #include <netinet/ip_icmp.h>
20665 #endif
20666 #ifdef HAVE_NETINET_ICMP_VAR_H
20667 #include <netinet/icmp_var.h>
20668 #endif
20670 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20671 then :
20673 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20679 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20680 #ifdef HAVE_SYS_SOCKETVAR_H
20681 #include <sys/socketvar.h>
20682 #endif
20683 #ifdef HAVE_NETINET_IN_H
20684 #include <netinet/in.h>
20685 #endif
20686 #ifdef HAVE_NETINET_ICMP6_H
20687 #include <netinet/icmp6.h>
20688 #endif
20690 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20691 then :
20693 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20699 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20700 #ifdef HAVE_SYS_SOCKETVAR_H
20701 #include <sys/socketvar.h>
20702 #endif
20703 #ifdef HAVE_NETINET_IN_H
20704 #include <netinet/in.h>
20705 #endif
20706 #ifdef HAVE_NETINET_TCP_H
20707 #include <netinet/tcp.h>
20708 #endif
20709 #ifdef HAVE_NETINET_TCP_VAR_H
20710 #include <netinet/tcp_var.h>
20711 #endif
20713 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20714 then :
20716 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20722 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
20723 #include <netinet/tcp_var.h>
20724 #endif
20726 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20727 then :
20729 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20735 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20736 #ifdef HAVE_NETINET_IN_H
20737 #include <netinet/in.h>
20738 #endif
20739 #ifdef HAVE_NETINET_IP_VAR_H
20740 #include <netinet/ip_var.h>
20741 #endif
20742 #ifdef HAVE_NETINET_UDP_H
20743 #include <netinet/udp.h>
20744 #endif
20745 #ifdef HAVE_NETINET_UDP_VAR_H
20746 #include <netinet/udp_var.h>
20747 #endif
20749 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20750 then :
20752 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20758 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20759 #ifdef HAVE_NET_IF_H
20760 # include <net/if.h>
20761 #endif
20763 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20764 then :
20766 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20772 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20773 # include <sys/sysinfo.h>
20774 #endif
20776 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20777 then :
20779 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20783 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20784 # include <sys/sysinfo.h>
20785 #endif
20787 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20788 then :
20790 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20796 LIBS="$ac_save_LIBS"
20798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20799 printf %s "checking for __builtin_popcount... " >&6; }
20800 if test ${ac_cv_have___builtin_popcount+y}
20801 then :
20802 printf %s "(cached) " >&6
20803 else $as_nop
20804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20805 /* end confdefs.h. */
20808 main (void)
20810 return __builtin_popcount(1)
20812 return 0;
20814 _ACEOF
20815 if ac_fn_c_try_link "$LINENO"
20816 then :
20817 ac_cv_have___builtin_popcount="yes"
20818 else $as_nop
20819 ac_cv_have___builtin_popcount="no"
20821 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20822 conftest$ac_exeext conftest.$ac_ext
20824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20825 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20826 if test "$ac_cv_have___builtin_popcount" = "yes"
20827 then
20829 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20834 printf %s "checking for __clear_cache... " >&6; }
20835 if test ${ac_cv_have___clear_cache+y}
20836 then :
20837 printf %s "(cached) " >&6
20838 else $as_nop
20839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20840 /* end confdefs.h. */
20843 main (void)
20845 __clear_cache((void*)0, (void*)0); return 0;
20847 return 0;
20849 _ACEOF
20850 if ac_fn_c_try_link "$LINENO"
20851 then :
20852 ac_cv_have___clear_cache="yes"
20853 else $as_nop
20854 ac_cv_have___clear_cache="no"
20856 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20857 conftest$ac_exeext conftest.$ac_ext
20859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20860 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20861 if test "$ac_cv_have___clear_cache" = "yes"
20862 then
20864 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20869 case $host_cpu in
20870 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20871 printf %s "checking whether we need to define __i386__... " >&6; }
20872 if test ${ac_cv_cpp_def___i386__+y}
20873 then :
20874 printf %s "(cached) " >&6
20875 else $as_nop
20876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20877 /* end confdefs.h. */
20878 #ifndef __i386__
20880 #endif
20881 _ACEOF
20882 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20883 $EGREP "yes" >/dev/null 2>&1
20884 then :
20885 ac_cv_cpp_def___i386__=yes
20886 else $as_nop
20887 ac_cv_cpp_def___i386__=no
20889 rm -rf conftest*
20892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20893 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20894 if test "x$ac_cv_cpp_def___i386__" = xyes
20895 then :
20896 CFLAGS="$CFLAGS -D__i386__"
20897 LINTFLAGS="$LINTFLAGS -D__i386__"
20898 fi ;;
20899 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20900 printf %s "checking whether we need to define __x86_64__... " >&6; }
20901 if test ${ac_cv_cpp_def___x86_64__+y}
20902 then :
20903 printf %s "(cached) " >&6
20904 else $as_nop
20905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20906 /* end confdefs.h. */
20907 #ifndef __x86_64__
20909 #endif
20910 _ACEOF
20911 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20912 $EGREP "yes" >/dev/null 2>&1
20913 then :
20914 ac_cv_cpp_def___x86_64__=yes
20915 else $as_nop
20916 ac_cv_cpp_def___x86_64__=no
20918 rm -rf conftest*
20921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20922 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20923 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20924 then :
20925 CFLAGS="$CFLAGS -D__x86_64__"
20926 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20927 fi ;;
20928 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20929 printf %s "checking whether we need to define __sparc64__... " >&6; }
20930 if test ${ac_cv_cpp_def___sparc64__+y}
20931 then :
20932 printf %s "(cached) " >&6
20933 else $as_nop
20934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20935 /* end confdefs.h. */
20936 #ifndef __sparc64__
20938 #endif
20939 _ACEOF
20940 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20941 $EGREP "yes" >/dev/null 2>&1
20942 then :
20943 ac_cv_cpp_def___sparc64__=yes
20944 else $as_nop
20945 ac_cv_cpp_def___sparc64__=no
20947 rm -rf conftest*
20950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20951 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20952 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20953 then :
20954 CFLAGS="$CFLAGS -D__sparc64__"
20955 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20956 fi ;;
20957 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20958 printf %s "checking whether we need to define __sparc__... " >&6; }
20959 if test ${ac_cv_cpp_def___sparc__+y}
20960 then :
20961 printf %s "(cached) " >&6
20962 else $as_nop
20963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20964 /* end confdefs.h. */
20965 #ifndef __sparc__
20967 #endif
20968 _ACEOF
20969 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20970 $EGREP "yes" >/dev/null 2>&1
20971 then :
20972 ac_cv_cpp_def___sparc__=yes
20973 else $as_nop
20974 ac_cv_cpp_def___sparc__=no
20976 rm -rf conftest*
20979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20980 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20981 if test "x$ac_cv_cpp_def___sparc__" = xyes
20982 then :
20983 CFLAGS="$CFLAGS -D__sparc__"
20984 LINTFLAGS="$LINTFLAGS -D__sparc__"
20985 fi ;;
20986 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20987 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20988 if test ${ac_cv_cpp_def___powerpc64__+y}
20989 then :
20990 printf %s "(cached) " >&6
20991 else $as_nop
20992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20993 /* end confdefs.h. */
20994 #ifndef __powerpc64__
20996 #endif
20997 _ACEOF
20998 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20999 $EGREP "yes" >/dev/null 2>&1
21000 then :
21001 ac_cv_cpp_def___powerpc64__=yes
21002 else $as_nop
21003 ac_cv_cpp_def___powerpc64__=no
21005 rm -rf conftest*
21008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21009 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21010 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21011 then :
21012 CFLAGS="$CFLAGS -D__powerpc64__"
21013 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21014 fi ;;
21015 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21016 printf %s "checking whether we need to define __powerpc__... " >&6; }
21017 if test ${ac_cv_cpp_def___powerpc__+y}
21018 then :
21019 printf %s "(cached) " >&6
21020 else $as_nop
21021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21022 /* end confdefs.h. */
21023 #ifndef __powerpc__
21025 #endif
21026 _ACEOF
21027 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21028 $EGREP "yes" >/dev/null 2>&1
21029 then :
21030 ac_cv_cpp_def___powerpc__=yes
21031 else $as_nop
21032 ac_cv_cpp_def___powerpc__=no
21034 rm -rf conftest*
21037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21038 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21039 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21040 then :
21041 CFLAGS="$CFLAGS -D__powerpc__"
21042 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21043 fi ;;
21044 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21045 printf %s "checking whether we need to define __aarch64__... " >&6; }
21046 if test ${ac_cv_cpp_def___aarch64__+y}
21047 then :
21048 printf %s "(cached) " >&6
21049 else $as_nop
21050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21051 /* end confdefs.h. */
21052 #ifndef __aarch64__
21054 #endif
21055 _ACEOF
21056 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21057 $EGREP "yes" >/dev/null 2>&1
21058 then :
21059 ac_cv_cpp_def___aarch64__=yes
21060 else $as_nop
21061 ac_cv_cpp_def___aarch64__=no
21063 rm -rf conftest*
21066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21067 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21068 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21069 then :
21070 CFLAGS="$CFLAGS -D__aarch64__"
21071 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21072 fi ;;
21073 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21074 printf %s "checking whether we need to define __arm__... " >&6; }
21075 if test ${ac_cv_cpp_def___arm__+y}
21076 then :
21077 printf %s "(cached) " >&6
21078 else $as_nop
21079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21080 /* end confdefs.h. */
21081 #ifndef __arm__
21083 #endif
21084 _ACEOF
21085 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21086 $EGREP "yes" >/dev/null 2>&1
21087 then :
21088 ac_cv_cpp_def___arm__=yes
21089 else $as_nop
21090 ac_cv_cpp_def___arm__=no
21092 rm -rf conftest*
21095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21096 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21097 if test "x$ac_cv_cpp_def___arm__" = xyes
21098 then :
21099 CFLAGS="$CFLAGS -D__arm__"
21100 LINTFLAGS="$LINTFLAGS -D__arm__"
21101 fi ;;
21102 esac
21104 case $host_vendor in
21105 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21106 printf %s "checking whether we need to define __sun__... " >&6; }
21107 if test ${ac_cv_cpp_def___sun__+y}
21108 then :
21109 printf %s "(cached) " >&6
21110 else $as_nop
21111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21112 /* end confdefs.h. */
21113 #ifndef __sun__
21115 #endif
21116 _ACEOF
21117 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21118 $EGREP "yes" >/dev/null 2>&1
21119 then :
21120 ac_cv_cpp_def___sun__=yes
21121 else $as_nop
21122 ac_cv_cpp_def___sun__=no
21124 rm -rf conftest*
21127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21128 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21129 if test "x$ac_cv_cpp_def___sun__" = xyes
21130 then :
21131 CFLAGS="$CFLAGS -D__sun__"
21132 LINTFLAGS="$LINTFLAGS -D__sun__"
21133 fi ;;
21134 esac
21140 ac_config_commands="$ac_config_commands include/stamp-h"
21142 printf %s "creating Makefile rules..." >&6
21144 makedep_flags=""
21145 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21147 wine_srcdir=
21148 test "$srcdir" = . || wine_srcdir="$srcdir/"
21150 ac_config_links="$ac_config_links wine:tools/winewrapper"
21151 wine_fn_config_symlink wine
21152 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
21153 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21154 wine_fn_config_symlink wine64
21157 wine_fn_config_makefile dlls/acledit enable_acledit
21158 wine_fn_config_makefile dlls/aclui enable_aclui
21159 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21160 wine_fn_config_makefile dlls/activeds enable_activeds
21161 wine_fn_config_makefile dlls/activeds/tests enable_tests
21162 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21163 wine_fn_config_makefile dlls/adsldp enable_adsldp
21164 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21165 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21166 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21167 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21168 wine_fn_config_makefile dlls/advpack enable_advpack
21169 wine_fn_config_makefile dlls/advpack/tests enable_tests
21170 wine_fn_config_makefile dlls/amsi enable_amsi
21171 wine_fn_config_makefile dlls/amstream enable_amstream
21172 wine_fn_config_makefile dlls/amstream/tests enable_tests
21173 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21174 wine_fn_config_makefile dlls/apphelp enable_apphelp
21175 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21176 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21177 wine_fn_config_makefile dlls/atl enable_atl
21178 wine_fn_config_makefile dlls/atl/tests enable_tests
21179 wine_fn_config_makefile dlls/atl100 enable_atl100
21180 wine_fn_config_makefile dlls/atl100/tests enable_tests
21181 wine_fn_config_makefile dlls/atl110 enable_atl110
21182 wine_fn_config_makefile dlls/atl110/tests enable_tests
21183 wine_fn_config_makefile dlls/atl80 enable_atl80
21184 wine_fn_config_makefile dlls/atl80/tests enable_tests
21185 wine_fn_config_makefile dlls/atl90 enable_atl90
21186 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21187 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21188 wine_fn_config_makefile dlls/atmlib enable_atmlib
21189 wine_fn_config_makefile dlls/authz enable_authz
21190 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21191 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21192 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21193 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21194 wine_fn_config_makefile dlls/avrt enable_avrt
21195 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21196 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21197 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21198 wine_fn_config_makefile dlls/browseui enable_browseui
21199 wine_fn_config_makefile dlls/browseui/tests enable_tests
21200 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21201 wine_fn_config_makefile dlls/cabinet enable_cabinet
21202 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21203 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21204 wine_fn_config_makefile dlls/cards enable_cards
21205 wine_fn_config_makefile dlls/cdosys enable_cdosys
21206 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21207 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21208 wine_fn_config_makefile dlls/clusapi enable_clusapi
21209 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21210 wine_fn_config_makefile dlls/combase enable_combase
21211 wine_fn_config_makefile dlls/combase/tests enable_tests
21212 wine_fn_config_makefile dlls/comcat enable_comcat
21213 wine_fn_config_makefile dlls/comcat/tests enable_tests
21214 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21215 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21216 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21217 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21218 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21219 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21220 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21221 wine_fn_config_makefile dlls/compstui enable_compstui
21222 wine_fn_config_makefile dlls/compstui/tests enable_tests
21223 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21224 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21225 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21226 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21227 wine_fn_config_makefile dlls/connect enable_connect
21228 wine_fn_config_makefile dlls/credui enable_credui
21229 wine_fn_config_makefile dlls/credui/tests enable_tests
21230 wine_fn_config_makefile dlls/crtdll enable_crtdll
21231 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21232 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21233 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21234 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21235 wine_fn_config_makefile dlls/cryptext enable_cryptext
21236 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21237 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21238 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21239 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21240 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21241 wine_fn_config_makefile dlls/cryptui enable_cryptui
21242 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21243 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21244 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21245 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21246 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21247 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21248 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21249 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21250 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21251 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21252 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21253 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21254 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21255 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21256 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21257 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21258 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21259 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21260 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21261 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21262 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21263 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21264 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21265 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21266 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21267 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21268 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21269 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21270 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21271 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21272 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21273 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21274 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21275 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21276 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21277 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21278 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21279 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21280 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21281 wine_fn_config_makefile dlls/d3dim enable_d3dim
21282 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21283 wine_fn_config_makefile dlls/d3drm enable_d3drm
21284 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21285 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21286 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21287 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21288 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21289 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21290 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21291 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21292 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21293 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21294 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21295 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21296 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21297 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21298 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21299 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21300 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21301 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21302 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21303 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21304 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21305 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21306 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21307 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21308 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21309 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21310 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21311 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21312 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21313 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21314 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21315 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21316 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21317 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21318 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21319 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21320 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21321 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21322 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21323 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21324 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21325 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21326 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21327 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21328 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21329 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21330 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21331 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21332 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21333 wine_fn_config_makefile dlls/davclnt enable_davclnt
21334 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21335 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21336 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21337 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21338 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21339 wine_fn_config_makefile dlls/dcomp enable_dcomp
21340 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21341 wine_fn_config_makefile dlls/ddraw enable_ddraw
21342 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21343 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21344 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21345 wine_fn_config_makefile dlls/devenum enable_devenum
21346 wine_fn_config_makefile dlls/devenum/tests enable_tests
21347 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21348 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21349 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21350 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21351 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21352 wine_fn_config_makefile dlls/difxapi enable_difxapi
21353 wine_fn_config_makefile dlls/dinput enable_dinput
21354 wine_fn_config_makefile dlls/dinput/tests enable_tests
21355 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21356 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21357 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21358 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21359 wine_fn_config_makefile dlls/dispex enable_dispex
21360 wine_fn_config_makefile dlls/dispex/tests enable_tests
21361 wine_fn_config_makefile dlls/display.drv16 enable_win16
21362 wine_fn_config_makefile dlls/dmband enable_dmband
21363 wine_fn_config_makefile dlls/dmband/tests enable_tests
21364 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21365 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21366 wine_fn_config_makefile dlls/dmime enable_dmime
21367 wine_fn_config_makefile dlls/dmime/tests enable_tests
21368 wine_fn_config_makefile dlls/dmloader enable_dmloader
21369 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21370 wine_fn_config_makefile dlls/dmscript enable_dmscript
21371 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21372 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21373 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21374 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21375 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21376 wine_fn_config_makefile dlls/dmusic enable_dmusic
21377 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21378 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21379 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21380 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21381 wine_fn_config_makefile dlls/dplay enable_dplay
21382 wine_fn_config_makefile dlls/dplayx enable_dplayx
21383 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21384 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21385 wine_fn_config_makefile dlls/dpnet enable_dpnet
21386 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21387 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21388 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21389 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21390 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21391 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21392 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21393 wine_fn_config_makefile dlls/drmclien enable_drmclien
21394 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21395 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21396 wine_fn_config_makefile dlls/dsound enable_dsound
21397 wine_fn_config_makefile dlls/dsound/tests enable_tests
21398 wine_fn_config_makefile dlls/dsquery enable_dsquery
21399 wine_fn_config_makefile dlls/dssenh enable_dssenh
21400 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21401 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21402 wine_fn_config_makefile dlls/dswave enable_dswave
21403 wine_fn_config_makefile dlls/dswave/tests enable_tests
21404 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21405 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21406 wine_fn_config_makefile dlls/dwrite enable_dwrite
21407 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21408 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21409 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21410 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21411 wine_fn_config_makefile dlls/dxgi enable_dxgi
21412 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21413 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21414 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21415 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21416 wine_fn_config_makefile dlls/esent enable_esent
21417 wine_fn_config_makefile dlls/evr enable_evr
21418 wine_fn_config_makefile dlls/evr/tests enable_tests
21419 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21420 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21421 wine_fn_config_makefile dlls/faultrep enable_faultrep
21422 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21423 wine_fn_config_makefile dlls/feclient enable_feclient
21424 wine_fn_config_makefile dlls/fltlib enable_fltlib
21425 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21426 wine_fn_config_makefile dlls/fntcache enable_fntcache
21427 wine_fn_config_makefile dlls/fontsub enable_fontsub
21428 wine_fn_config_makefile dlls/fusion enable_fusion
21429 wine_fn_config_makefile dlls/fusion/tests enable_tests
21430 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21431 wine_fn_config_makefile dlls/gameux enable_gameux
21432 wine_fn_config_makefile dlls/gameux/tests enable_tests
21433 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21434 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21435 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21436 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21437 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21438 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21439 wine_fn_config_makefile dlls/glu32 enable_glu32
21440 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21441 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21442 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
21443 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
21444 wine_fn_config_makefile dlls/hal enable_hal
21445 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21446 wine_fn_config_makefile dlls/hid enable_hid
21447 wine_fn_config_makefile dlls/hid/tests enable_tests
21448 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21449 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21450 wine_fn_config_makefile dlls/hlink enable_hlink
21451 wine_fn_config_makefile dlls/hlink/tests enable_tests
21452 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21453 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21454 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
21455 wine_fn_config_makefile dlls/http.sys enable_http_sys
21456 wine_fn_config_makefile dlls/httpapi enable_httpapi
21457 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21458 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21459 wine_fn_config_makefile dlls/iccvid enable_iccvid
21460 wine_fn_config_makefile dlls/icmp enable_icmp
21461 wine_fn_config_makefile dlls/ieframe enable_ieframe
21462 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21463 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21464 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21465 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21466 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21467 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21468 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21469 wine_fn_config_makefile dlls/imm32 enable_imm32
21470 wine_fn_config_makefile dlls/imm32/tests enable_tests
21471 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21472 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21473 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21474 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21475 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21476 wine_fn_config_makefile dlls/infosoft enable_infosoft
21477 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21478 wine_fn_config_makefile dlls/initpki enable_initpki
21479 wine_fn_config_makefile dlls/inkobj enable_inkobj
21480 wine_fn_config_makefile dlls/inseng enable_inseng
21481 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21482 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21483 wine_fn_config_makefile dlls/iprop enable_iprop
21484 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21485 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21486 wine_fn_config_makefile dlls/itircl enable_itircl
21487 wine_fn_config_makefile dlls/itss enable_itss
21488 wine_fn_config_makefile dlls/itss/tests enable_tests
21489 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21490 wine_fn_config_makefile dlls/jscript enable_jscript
21491 wine_fn_config_makefile dlls/jscript/tests enable_tests
21492 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21493 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21494 wine_fn_config_makefile dlls/kerberos enable_kerberos
21495 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21496 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21497 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21498 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21499 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21500 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21501 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21502 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21503 wine_fn_config_makefile dlls/ksuser enable_ksuser
21504 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21505 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21506 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21507 wine_fn_config_makefile dlls/loadperf enable_loadperf
21508 wine_fn_config_makefile dlls/localspl enable_localspl
21509 wine_fn_config_makefile dlls/localspl/tests enable_tests
21510 wine_fn_config_makefile dlls/localui enable_localui
21511 wine_fn_config_makefile dlls/localui/tests enable_tests
21512 wine_fn_config_makefile dlls/lz32 enable_lz32
21513 wine_fn_config_makefile dlls/lz32/tests enable_tests
21514 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21515 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21516 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21517 wine_fn_config_makefile dlls/mapistub enable_mapistub
21518 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21519 wine_fn_config_makefile dlls/mcicda enable_mcicda
21520 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21521 wine_fn_config_makefile dlls/mciseq enable_mciseq
21522 wine_fn_config_makefile dlls/mciwave enable_mciwave
21523 wine_fn_config_makefile dlls/mf enable_mf
21524 wine_fn_config_makefile dlls/mf/tests enable_tests
21525 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21526 wine_fn_config_makefile dlls/mferror enable_mferror
21527 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21528 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21529 wine_fn_config_makefile dlls/mfplat enable_mfplat
21530 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21531 wine_fn_config_makefile dlls/mfplay enable_mfplay
21532 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21533 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21534 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21535 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21536 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21537 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21538 wine_fn_config_makefile dlls/midimap enable_midimap
21539 wine_fn_config_makefile dlls/mlang enable_mlang
21540 wine_fn_config_makefile dlls/mlang/tests enable_tests
21541 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21542 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21543 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21544 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21545 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21546 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21547 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21548 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21549 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21550 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21551 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21552 wine_fn_config_makefile dlls/mpr enable_mpr
21553 wine_fn_config_makefile dlls/mpr/tests enable_tests
21554 wine_fn_config_makefile dlls/mprapi enable_mprapi
21555 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21556 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21557 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21558 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21559 wine_fn_config_makefile dlls/msado15 enable_msado15
21560 wine_fn_config_makefile dlls/msado15/tests enable_tests
21561 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21562 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21563 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21564 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21565 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21566 wine_fn_config_makefile dlls/mscms enable_mscms
21567 wine_fn_config_makefile dlls/mscms/tests enable_tests
21568 wine_fn_config_makefile dlls/mscoree enable_mscoree
21569 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21570 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21571 wine_fn_config_makefile dlls/msctf enable_msctf
21572 wine_fn_config_makefile dlls/msctf/tests enable_tests
21573 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21574 wine_fn_config_makefile dlls/msctfp enable_msctfp
21575 wine_fn_config_makefile dlls/msdaps enable_msdaps
21576 wine_fn_config_makefile dlls/msdasql enable_msdasql
21577 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21578 wine_fn_config_makefile dlls/msdelta enable_msdelta
21579 wine_fn_config_makefile dlls/msdmo enable_msdmo
21580 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21581 wine_fn_config_makefile dlls/msdrm enable_msdrm
21582 wine_fn_config_makefile dlls/msftedit enable_msftedit
21583 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21584 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21585 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21586 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21587 wine_fn_config_makefile dlls/mshtml enable_mshtml
21588 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21589 wine_fn_config_makefile dlls/msi enable_msi
21590 wine_fn_config_makefile dlls/msi/tests enable_tests
21591 wine_fn_config_makefile dlls/msident enable_msident
21592 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21593 wine_fn_config_makefile dlls/msimsg enable_msimsg
21594 wine_fn_config_makefile dlls/msimtf enable_msimtf
21595 wine_fn_config_makefile dlls/msisip enable_msisip
21596 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21597 wine_fn_config_makefile dlls/msls31 enable_msls31
21598 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21599 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21600 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21601 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21602 wine_fn_config_makefile dlls/msports enable_msports
21603 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21604 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21605 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21606 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21607 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21608 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21609 wine_fn_config_makefile dlls/mstask enable_mstask
21610 wine_fn_config_makefile dlls/mstask/tests enable_tests
21611 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21612 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21613 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21614 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21615 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21616 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21617 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21618 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21619 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21620 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21621 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21622 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21623 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21624 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21625 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21626 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21627 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21628 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21629 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21630 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21631 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21632 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21633 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21634 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21635 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21636 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21637 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21638 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21639 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21640 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21641 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21642 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21643 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21644 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21645 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21646 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21647 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21648 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21649 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21650 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21651 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21652 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21653 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21654 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21655 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21656 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21657 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21658 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21659 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21660 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21661 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21662 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21663 wine_fn_config_makefile dlls/mswsock enable_mswsock
21664 wine_fn_config_makefile dlls/msxml enable_msxml
21665 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21666 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21667 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21668 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21669 wine_fn_config_makefile dlls/msxml6 enable_msxml6
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/sspicli enable_sspicli
21839 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21840 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21841 wine_fn_config_makefile dlls/sti enable_sti
21842 wine_fn_config_makefile dlls/sti/tests enable_tests
21843 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21844 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21845 wine_fn_config_makefile dlls/strmdll enable_strmdll
21846 wine_fn_config_makefile dlls/svrapi enable_svrapi
21847 wine_fn_config_makefile dlls/sxs enable_sxs
21848 wine_fn_config_makefile dlls/sxs/tests enable_tests
21849 wine_fn_config_makefile dlls/system.drv16 enable_win16
21850 wine_fn_config_makefile dlls/t2embed enable_t2embed
21851 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21852 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21853 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21854 wine_fn_config_makefile dlls/taskschd enable_taskschd
21855 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21856 wine_fn_config_makefile dlls/tbs enable_tbs
21857 wine_fn_config_makefile dlls/tdh enable_tdh
21858 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21859 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21860 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21861 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21862 wine_fn_config_makefile dlls/traffic enable_traffic
21863 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21864 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21865 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21866 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
21867 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21868 wine_fn_config_makefile dlls/tzres enable_tzres
21869 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21870 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21871 wine_fn_config_makefile dlls/uianimation enable_uianimation
21872 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21873 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21874 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21875 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21876 wine_fn_config_makefile dlls/unicows enable_unicows
21877 wine_fn_config_makefile dlls/updspapi enable_updspapi
21878 wine_fn_config_makefile dlls/url enable_url
21879 wine_fn_config_makefile dlls/urlmon enable_urlmon
21880 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21881 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21882 wine_fn_config_makefile dlls/user.exe16 enable_win16
21883 wine_fn_config_makefile dlls/user32 enable_user32
21884 wine_fn_config_makefile dlls/user32/tests enable_tests
21885 wine_fn_config_makefile dlls/userenv enable_userenv
21886 wine_fn_config_makefile dlls/userenv/tests enable_tests
21887 wine_fn_config_makefile dlls/usp10 enable_usp10
21888 wine_fn_config_makefile dlls/usp10/tests enable_tests
21889 wine_fn_config_makefile dlls/utildll enable_utildll
21890 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21891 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21892 wine_fn_config_makefile dlls/vbscript enable_vbscript
21893 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21894 wine_fn_config_makefile dlls/vcomp enable_vcomp
21895 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21896 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21897 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21898 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21899 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21900 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21901 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21902 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21903 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21904 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21905 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21906 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21907 wine_fn_config_makefile dlls/version enable_version
21908 wine_fn_config_makefile dlls/version/tests enable_tests
21909 wine_fn_config_makefile dlls/vga enable_vga
21910 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21911 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21912 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21913 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21914 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21915 wine_fn_config_makefile dlls/vssapi enable_vssapi
21916 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21917 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21918 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21919 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21920 wine_fn_config_makefile dlls/w32skrnl enable_win16
21921 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21922 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21923 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21924 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21925 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21926 wine_fn_config_makefile dlls/wdscore enable_wdscore
21927 wine_fn_config_makefile dlls/webservices enable_webservices
21928 wine_fn_config_makefile dlls/webservices/tests enable_tests
21929 wine_fn_config_makefile dlls/websocket enable_websocket
21930 wine_fn_config_makefile dlls/wer enable_wer
21931 wine_fn_config_makefile dlls/wer/tests enable_tests
21932 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21933 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21934 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21935 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21936 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21937 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21938 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21939 wine_fn_config_makefile dlls/win32u enable_win32u
21940 wine_fn_config_makefile dlls/win32u/tests enable_tests
21941 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21942 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21943 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21944 wine_fn_config_makefile dlls/windows.devices.bluetooth enable_windows_devices_bluetooth
21945 wine_fn_config_makefile dlls/windows.devices.bluetooth/tests enable_tests
21946 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21947 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21948 wine_fn_config_makefile dlls/windows.devices.geolocation.geolocator enable_windows_devices_geolocation_geolocator
21949 wine_fn_config_makefile dlls/windows.devices.geolocation.geolocator/tests enable_tests
21950 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21951 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21952 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21953 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21954 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21955 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21956 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21957 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21958 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21959 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21960 wine_fn_config_makefile dlls/windows.media enable_windows_media
21961 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21962 wine_fn_config_makefile dlls/windows.networking.hostname enable_windows_networking_hostname
21963 wine_fn_config_makefile dlls/windows.networking.hostname/tests enable_tests
21964 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21965 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
21966 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
21967 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21968 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21969 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
21970 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
21971 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21972 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21973 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21974 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21975 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21976 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21977 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21978 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21979 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21980 wine_fn_config_makefile dlls/wined3d enable_wined3d
21981 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21982 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21983 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21984 wine_fn_config_makefile dlls/winemapi enable_winemapi
21985 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21986 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21987 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21988 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21989 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21990 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21991 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
21992 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21993 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21994 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21995 wine_fn_config_makefile dlls/wing32 enable_wing32
21996 wine_fn_config_makefile dlls/winhttp enable_winhttp
21997 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21998 wine_fn_config_makefile dlls/wininet enable_wininet
21999 wine_fn_config_makefile dlls/wininet/tests enable_tests
22000 wine_fn_config_makefile dlls/winmm enable_winmm
22001 wine_fn_config_makefile dlls/winmm/tests enable_tests
22002 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22003 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22004 wine_fn_config_makefile dlls/winprint enable_winprint
22005 wine_fn_config_makefile dlls/winscard enable_winscard
22006 wine_fn_config_makefile dlls/winscard/tests enable_tests
22007 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22008 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22009 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22010 wine_fn_config_makefile dlls/winsta enable_winsta
22011 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22012 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22013 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22014 wine_fn_config_makefile dlls/wintrust enable_wintrust
22015 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22016 wine_fn_config_makefile dlls/wintypes enable_wintypes
22017 wine_fn_config_makefile dlls/wintypes/tests enable_tests
22018 wine_fn_config_makefile dlls/winusb enable_winusb
22019 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22020 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22021 wine_fn_config_makefile dlls/wlanui enable_wlanui
22022 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22023 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22024 wine_fn_config_makefile dlls/wmasf enable_wmasf
22025 wine_fn_config_makefile dlls/wmi enable_wmi
22026 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22027 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22028 wine_fn_config_makefile dlls/wmp enable_wmp
22029 wine_fn_config_makefile dlls/wmp/tests enable_tests
22030 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22031 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22032 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22033 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22034 wine_fn_config_makefile dlls/wofutil enable_wofutil
22035 wine_fn_config_makefile dlls/wow32 enable_win16
22036 wine_fn_config_makefile dlls/wow64 enable_wow64
22037 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22038 wine_fn_config_makefile dlls/wow64win enable_wow64win
22039 wine_fn_config_makefile dlls/wpc enable_wpc
22040 wine_fn_config_makefile dlls/wpc/tests enable_tests
22041 wine_fn_config_makefile dlls/wpcap enable_wpcap
22042 wine_fn_config_makefile dlls/wpcap/tests enable_tests
22043 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22044 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22045 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22046 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22047 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22048 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22049 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22050 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22051 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22052 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22053 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22054 wine_fn_config_makefile dlls/wuapi enable_wuapi
22055 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22056 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22057 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22058 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22059 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22060 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22061 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22062 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22063 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22064 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22065 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22066 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22067 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22068 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22069 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22070 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22071 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22072 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22073 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22074 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22075 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22076 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22077 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22078 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22079 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22080 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22081 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22082 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22083 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22084 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22085 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22086 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22087 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22088 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22089 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22090 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22091 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22092 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
22093 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22094 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22095 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22096 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22097 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22098 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22099 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22100 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
22101 wine_fn_config_makefile dlls/xmllite enable_xmllite
22102 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22103 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22104 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22105 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22106 wine_fn_config_makefile fonts enable_fonts
22107 wine_fn_config_makefile include enable_include
22108 wine_fn_config_makefile libs/adsiid enable_adsiid
22109 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22110 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22111 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22112 wine_fn_config_makefile libs/dxguid enable_dxguid
22113 wine_fn_config_makefile libs/faudio enable_faudio
22114 wine_fn_config_makefile libs/gsm enable_gsm
22115 wine_fn_config_makefile libs/jpeg enable_jpeg
22116 wine_fn_config_makefile libs/jxr enable_jxr
22117 wine_fn_config_makefile libs/lcms2 enable_lcms2
22118 wine_fn_config_makefile libs/ldap enable_ldap
22119 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22120 wine_fn_config_makefile libs/mpg123 enable_mpg123
22121 wine_fn_config_makefile libs/musl enable_musl
22122 wine_fn_config_makefile libs/png enable_png
22123 wine_fn_config_makefile libs/strmbase enable_strmbase
22124 wine_fn_config_makefile libs/strmiids enable_strmiids
22125 wine_fn_config_makefile libs/tiff enable_tiff
22126 wine_fn_config_makefile libs/uuid enable_uuid
22127 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22128 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22129 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22130 wine_fn_config_makefile libs/xml2 enable_xml2
22131 wine_fn_config_makefile libs/xslt enable_xslt
22132 wine_fn_config_makefile libs/zlib enable_zlib
22133 wine_fn_config_makefile libs/zydis enable_zydis
22134 wine_fn_config_makefile loader enable_loader
22135 wine_fn_config_makefile nls enable_nls
22136 wine_fn_config_makefile po enable_po
22137 wine_fn_config_makefile programs/arp enable_arp
22138 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22139 wine_fn_config_makefile programs/attrib enable_attrib
22140 wine_fn_config_makefile programs/cabarc enable_cabarc
22141 wine_fn_config_makefile programs/cacls enable_cacls
22142 wine_fn_config_makefile programs/certutil enable_certutil
22143 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22144 wine_fn_config_makefile programs/clock enable_clock
22145 wine_fn_config_makefile programs/cmd enable_cmd
22146 wine_fn_config_makefile programs/cmd/tests enable_tests
22147 wine_fn_config_makefile programs/conhost enable_conhost
22148 wine_fn_config_makefile programs/conhost/tests enable_tests
22149 wine_fn_config_makefile programs/control enable_control
22150 wine_fn_config_makefile programs/cscript enable_cscript
22151 wine_fn_config_makefile programs/dism enable_dism
22152 wine_fn_config_makefile programs/dllhost enable_dllhost
22153 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22154 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22155 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22156 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22157 wine_fn_config_makefile programs/eject enable_eject
22158 wine_fn_config_makefile programs/expand enable_expand
22159 wine_fn_config_makefile programs/explorer enable_explorer
22160 wine_fn_config_makefile programs/explorer/tests enable_tests
22161 wine_fn_config_makefile programs/extrac32 enable_extrac32
22162 wine_fn_config_makefile programs/fc enable_fc
22163 wine_fn_config_makefile programs/find enable_find
22164 wine_fn_config_makefile programs/find/tests enable_tests
22165 wine_fn_config_makefile programs/findstr enable_findstr
22166 wine_fn_config_makefile programs/findstr/tests enable_tests
22167 wine_fn_config_makefile programs/fsutil enable_fsutil
22168 wine_fn_config_makefile programs/fsutil/tests enable_tests
22169 wine_fn_config_makefile programs/hh enable_hh
22170 wine_fn_config_makefile programs/hostname enable_hostname
22171 wine_fn_config_makefile programs/icacls enable_icacls
22172 wine_fn_config_makefile programs/icinfo enable_icinfo
22173 wine_fn_config_makefile programs/iexplore enable_iexplore
22174 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22175 wine_fn_config_makefile programs/lodctr enable_lodctr
22176 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22177 wine_fn_config_makefile programs/mshta enable_mshta
22178 wine_fn_config_makefile programs/msidb enable_msidb
22179 wine_fn_config_makefile programs/msiexec enable_msiexec
22180 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22181 wine_fn_config_makefile programs/net enable_net
22182 wine_fn_config_makefile programs/netsh enable_netsh
22183 wine_fn_config_makefile programs/netstat enable_netstat
22184 wine_fn_config_makefile programs/ngen enable_ngen
22185 wine_fn_config_makefile programs/notepad enable_notepad
22186 wine_fn_config_makefile programs/oleview enable_oleview
22187 wine_fn_config_makefile programs/ping enable_ping
22188 wine_fn_config_makefile programs/plugplay enable_plugplay
22189 wine_fn_config_makefile programs/pnputil enable_pnputil
22190 wine_fn_config_makefile programs/powershell enable_powershell
22191 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22192 wine_fn_config_makefile programs/progman enable_progman
22193 wine_fn_config_makefile programs/reg enable_reg
22194 wine_fn_config_makefile programs/reg/tests enable_tests
22195 wine_fn_config_makefile programs/regasm enable_regasm
22196 wine_fn_config_makefile programs/regedit enable_regedit
22197 wine_fn_config_makefile programs/regedit/tests enable_tests
22198 wine_fn_config_makefile programs/regini enable_regini
22199 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22200 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22201 wine_fn_config_makefile programs/robocopy enable_robocopy
22202 wine_fn_config_makefile programs/rpcss enable_rpcss
22203 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22204 wine_fn_config_makefile programs/rundll32 enable_rundll32
22205 wine_fn_config_makefile programs/sc enable_sc
22206 wine_fn_config_makefile programs/sc/tests enable_tests
22207 wine_fn_config_makefile programs/schtasks enable_schtasks
22208 wine_fn_config_makefile programs/schtasks/tests enable_tests
22209 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22210 wine_fn_config_makefile programs/secedit enable_secedit
22211 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22212 wine_fn_config_makefile programs/services enable_services
22213 wine_fn_config_makefile programs/services/tests enable_tests
22214 wine_fn_config_makefile programs/setx enable_setx
22215 wine_fn_config_makefile programs/shutdown enable_shutdown
22216 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22217 wine_fn_config_makefile programs/start enable_start
22218 wine_fn_config_makefile programs/subst enable_subst
22219 wine_fn_config_makefile programs/svchost enable_svchost
22220 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22221 wine_fn_config_makefile programs/taskkill enable_taskkill
22222 wine_fn_config_makefile programs/tasklist enable_tasklist
22223 wine_fn_config_makefile programs/tasklist/tests enable_tests
22224 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22225 wine_fn_config_makefile programs/termsv enable_termsv
22226 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22227 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22228 wine_fn_config_makefile programs/view enable_view
22229 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22230 wine_fn_config_makefile programs/where enable_where
22231 wine_fn_config_makefile programs/whoami enable_whoami
22232 wine_fn_config_makefile programs/wineboot enable_wineboot
22233 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22234 wine_fn_config_makefile programs/winecfg enable_winecfg
22235 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22236 wine_fn_config_makefile programs/winedbg enable_winedbg
22237 wine_fn_config_makefile programs/winedevice enable_winedevice
22238 wine_fn_config_makefile programs/winefile enable_winefile
22239 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22240 wine_fn_config_makefile programs/winemine enable_winemine
22241 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22242 wine_fn_config_makefile programs/winepath enable_winepath
22243 wine_fn_config_makefile programs/winetest enable_winetest
22244 wine_fn_config_makefile programs/winevdm enable_win16
22245 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22246 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22247 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22248 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22249 wine_fn_config_makefile programs/winver enable_winver
22250 wine_fn_config_makefile programs/wmic enable_wmic
22251 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22252 wine_fn_config_makefile programs/wordpad enable_wordpad
22253 wine_fn_config_makefile programs/write enable_write
22254 wine_fn_config_makefile programs/wscript enable_wscript
22255 wine_fn_config_makefile programs/wscript/tests enable_tests
22256 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22257 wine_fn_config_makefile programs/wusa enable_wusa
22258 wine_fn_config_makefile programs/xcopy enable_xcopy
22259 wine_fn_config_makefile programs/xcopy/tests enable_tests
22260 wine_fn_config_makefile server enable_server
22261 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22262 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22263 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22264 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22265 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22266 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22267 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22268 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22269 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22272 as_fn_append CONFIGURE_TARGETS " TAGS"
22273 as_fn_append CONFIGURE_TARGETS " tags"
22274 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22275 as_fn_append CONFIGURE_TARGETS " config.log"
22276 as_fn_append CONFIGURE_TARGETS " config.status"
22277 as_fn_append CONFIGURE_TARGETS " include/config.h"
22278 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22279 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22281 if test "x$enable_tools" != xno
22282 then
22283 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22284 ac_config_commands="$ac_config_commands tools/makedep"
22288 ac_config_commands="$ac_config_commands Makefile"
22292 SHELL=/bin/sh
22295 as_fn_append wine_rules "
22296 all: wine
22297 @echo \"Wine build complete.\"
22298 .INIT: Makefile
22299 .MAKEFILEDEPS:
22300 all: Makefile
22301 Makefile: config.status \$(MAKEDEP)
22302 @./config.status Makefile
22303 depend: \$(MAKEDEP)
22304 \$(MAKEDEP)$makedep_flags"
22307 as_fn_append wine_rules "
22308 config.status: ${wine_srcdir}configure
22309 @./config.status --recheck
22310 include/config.h: include/stamp-h
22311 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22312 @./config.status include/config.h include/stamp-h"
22314 if test "x$enable_maintainer_mode" = xyes
22315 then
22316 as_fn_append wine_rules "
22317 configure: configure.ac aclocal.m4
22318 autoconf --warnings=all
22319 include/config.h.in: include/stamp-h.in
22320 include/stamp-h.in: configure.ac aclocal.m4
22321 autoheader --warnings=all
22322 @echo timestamp > \$@"
22325 if test "x$enable_tools" != xno
22326 then
22327 as_fn_append wine_rules "
22328 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22329 @./config.status tools/makedep
22330 Makefile: tools/makedep$ac_exeext"
22331 else
22332 as_fn_append wine_rules "
22333 \$(MAKEDEP):
22334 @echo \"You need to run make in $toolsdir first\" && false"
22338 if test -n "$with_wine64"
22339 then
22340 case "$with_wine64" in
22341 /*) reldir="" ;;
22342 *) reldir="../" ;;
22343 esac
22344 rm -f fonts server 2>/dev/null
22345 as_fn_append wine_rules "
22346 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22347 loader/wine64 loader/wine64-preloader:
22348 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22349 $with_wine64/loader/wine:
22350 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22351 $with_wine64/loader/wine-preloader:
22352 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22353 clean::
22354 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22355 else
22356 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22357 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22358 fonts \
22359 loader/wine.inf \
22360 nls \
22361 programs/msidb/msidb \
22362 programs/msiexec/msiexec \
22363 programs/notepad/notepad \
22364 programs/regedit/regedit \
22365 programs/regsvr32/regsvr32 \
22366 programs/wineboot/wineboot \
22367 programs/winecfg/winecfg \
22368 programs/wineconsole/wineconsole \
22369 programs/winedbg/winedbg \
22370 programs/winefile/winefile \
22371 programs/winemine/winemine \
22372 programs/winepath/winepath \
22373 server/wineserver"
22375 case $host_os in
22376 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22377 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22378 esac
22382 as_fn_append wine_rules "
22383 distclean:: clean
22384 rm -rf autom4te.cache
22385 maintainer-clean::
22386 rm -f configure include/config.h.in"
22389 as_fn_append wine_rules "
22390 dlls/ntdll/unix/version.c: dummy
22391 @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)
22392 programs/winetest/build.rc: dummy
22393 @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)
22394 programs/winetest/build.nfo:
22395 @-\$(CC) -v 2>\$@
22396 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
22397 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22398 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22401 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22403 as_fn_append wine_rules "
22404 TAGS etags:
22405 rm -f TAGS
22406 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22407 tags ctags:
22408 rm -f tags
22409 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22410 dummy:
22411 .PHONY: depend dummy install-manpages"
22413 printf "%s\n" " done" >&6
22414 cat >confcache <<\_ACEOF
22415 # This file is a shell script that caches the results of configure
22416 # tests run on this system so they can be shared between configure
22417 # scripts and configure runs, see configure's option --config-cache.
22418 # It is not useful on other systems. If it contains results you don't
22419 # want to keep, you may remove or edit it.
22421 # config.status only pays attention to the cache file if you give it
22422 # the --recheck option to rerun configure.
22424 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22425 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22426 # following values.
22428 _ACEOF
22430 # The following way of writing the cache mishandles newlines in values,
22431 # but we know of no workaround that is simple, portable, and efficient.
22432 # So, we kill variables containing newlines.
22433 # Ultrix sh set writes to stderr and can't be redirected directly,
22434 # and sets the high bit in the cache file unless we assign to the vars.
22436 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22437 eval ac_val=\$$ac_var
22438 case $ac_val in #(
22439 *${as_nl}*)
22440 case $ac_var in #(
22441 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22442 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22443 esac
22444 case $ac_var in #(
22445 _ | IFS | as_nl) ;; #(
22446 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22447 *) { eval $ac_var=; unset $ac_var;} ;;
22448 esac ;;
22449 esac
22450 done
22452 (set) 2>&1 |
22453 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22454 *${as_nl}ac_space=\ *)
22455 # `set' does not quote correctly, so add quotes: double-quote
22456 # substitution turns \\\\ into \\, and sed turns \\ into \.
22457 sed -n \
22458 "s/'/'\\\\''/g;
22459 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22460 ;; #(
22462 # `set' quotes correctly as required by POSIX, so do not add quotes.
22463 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22465 esac |
22466 sort
22468 sed '
22469 /^ac_cv_env_/b end
22470 t clear
22471 :clear
22472 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22473 t end
22474 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22475 :end' >>confcache
22476 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22477 if test -w "$cache_file"; then
22478 if test "x$cache_file" != "x/dev/null"; then
22479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22480 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22481 if test ! -f "$cache_file" || test -h "$cache_file"; then
22482 cat confcache >"$cache_file"
22483 else
22484 case $cache_file in #(
22485 */* | ?:*)
22486 mv -f confcache "$cache_file"$$ &&
22487 mv -f "$cache_file"$$ "$cache_file" ;; #(
22489 mv -f confcache "$cache_file" ;;
22490 esac
22493 else
22494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22495 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22498 rm -f confcache
22500 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22501 # Let make expand exec_prefix.
22502 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22504 DEFS=-DHAVE_CONFIG_H
22506 ac_libobjs=
22507 ac_ltlibobjs=
22509 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22510 # 1. Remove the extension, and $U if already installed.
22511 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22512 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22513 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22514 # will be set to the directory where LIBOBJS objects are built.
22515 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22516 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22517 done
22518 LIBOBJS=$ac_libobjs
22520 LTLIBOBJS=$ac_ltlibobjs
22524 : "${CONFIG_STATUS=./config.status}"
22525 ac_write_fail=0
22526 ac_clean_files_save=$ac_clean_files
22527 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22529 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22530 as_write_fail=0
22531 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22532 #! $SHELL
22533 # Generated by $as_me.
22534 # Run this file to recreate the current configuration.
22535 # Compiler output produced by configure, useful for debugging
22536 # configure, is in config.log if it exists.
22538 debug=false
22539 ac_cs_recheck=false
22540 ac_cs_silent=false
22542 SHELL=\${CONFIG_SHELL-$SHELL}
22543 export SHELL
22544 _ASEOF
22545 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22546 ## -------------------- ##
22547 ## M4sh Initialization. ##
22548 ## -------------------- ##
22550 # Be more Bourne compatible
22551 DUALCASE=1; export DUALCASE # for MKS sh
22552 as_nop=:
22553 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22554 then :
22555 emulate sh
22556 NULLCMD=:
22557 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22558 # is contrary to our usage. Disable this feature.
22559 alias -g '${1+"$@"}'='"$@"'
22560 setopt NO_GLOB_SUBST
22561 else $as_nop
22562 case `(set -o) 2>/dev/null` in #(
22563 *posix*) :
22564 set -o posix ;; #(
22565 *) :
22567 esac
22572 # Reset variables that may have inherited troublesome values from
22573 # the environment.
22575 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22576 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22577 # side effect of setting IFS to empty, thus disabling word splitting.)
22578 # Quoting is to prevent editors from complaining about space-tab.
22579 as_nl='
22581 export as_nl
22582 IFS=" "" $as_nl"
22584 PS1='$ '
22585 PS2='> '
22586 PS4='+ '
22588 # Ensure predictable behavior from utilities with locale-dependent output.
22589 LC_ALL=C
22590 export LC_ALL
22591 LANGUAGE=C
22592 export LANGUAGE
22594 # We cannot yet rely on "unset" to work, but we need these variables
22595 # to be unset--not just set to an empty or harmless value--now, to
22596 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22597 # also avoids known problems related to "unset" and subshell syntax
22598 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22599 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22600 do eval test \${$as_var+y} \
22601 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22602 done
22604 # Ensure that fds 0, 1, and 2 are open.
22605 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22606 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22607 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22609 # The user is always right.
22610 if ${PATH_SEPARATOR+false} :; then
22611 PATH_SEPARATOR=:
22612 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22613 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22614 PATH_SEPARATOR=';'
22619 # Find who we are. Look in the path if we contain no directory separator.
22620 as_myself=
22621 case $0 in #((
22622 *[\\/]* ) as_myself=$0 ;;
22623 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22624 for as_dir in $PATH
22626 IFS=$as_save_IFS
22627 case $as_dir in #(((
22628 '') as_dir=./ ;;
22629 */) ;;
22630 *) as_dir=$as_dir/ ;;
22631 esac
22632 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22633 done
22634 IFS=$as_save_IFS
22637 esac
22638 # We did not find ourselves, most probably we were run as `sh COMMAND'
22639 # in which case we are not to be found in the path.
22640 if test "x$as_myself" = x; then
22641 as_myself=$0
22643 if test ! -f "$as_myself"; then
22644 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22645 exit 1
22650 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22651 # ----------------------------------------
22652 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22653 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22654 # script with STATUS, using 1 if that was 0.
22655 as_fn_error ()
22657 as_status=$1; test $as_status -eq 0 && as_status=1
22658 if test "$4"; then
22659 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22660 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22662 printf "%s\n" "$as_me: error: $2" >&2
22663 as_fn_exit $as_status
22664 } # as_fn_error
22668 # as_fn_set_status STATUS
22669 # -----------------------
22670 # Set $? to STATUS, without forking.
22671 as_fn_set_status ()
22673 return $1
22674 } # as_fn_set_status
22676 # as_fn_exit STATUS
22677 # -----------------
22678 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22679 as_fn_exit ()
22681 set +e
22682 as_fn_set_status $1
22683 exit $1
22684 } # as_fn_exit
22686 # as_fn_unset VAR
22687 # ---------------
22688 # Portably unset VAR.
22689 as_fn_unset ()
22691 { eval $1=; unset $1;}
22693 as_unset=as_fn_unset
22695 # as_fn_append VAR VALUE
22696 # ----------------------
22697 # Append the text in VALUE to the end of the definition contained in VAR. Take
22698 # advantage of any shell optimizations that allow amortized linear growth over
22699 # repeated appends, instead of the typical quadratic growth present in naive
22700 # implementations.
22701 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22702 then :
22703 eval 'as_fn_append ()
22705 eval $1+=\$2
22707 else $as_nop
22708 as_fn_append ()
22710 eval $1=\$$1\$2
22712 fi # as_fn_append
22714 # as_fn_arith ARG...
22715 # ------------------
22716 # Perform arithmetic evaluation on the ARGs, and store the result in the
22717 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22718 # must be portable across $(()) and expr.
22719 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22720 then :
22721 eval 'as_fn_arith ()
22723 as_val=$(( $* ))
22725 else $as_nop
22726 as_fn_arith ()
22728 as_val=`expr "$@" || test $? -eq 1`
22730 fi # as_fn_arith
22733 if expr a : '\(a\)' >/dev/null 2>&1 &&
22734 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22735 as_expr=expr
22736 else
22737 as_expr=false
22740 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22741 as_basename=basename
22742 else
22743 as_basename=false
22746 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22747 as_dirname=dirname
22748 else
22749 as_dirname=false
22752 as_me=`$as_basename -- "$0" ||
22753 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22754 X"$0" : 'X\(//\)$' \| \
22755 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22756 printf "%s\n" X/"$0" |
22757 sed '/^.*\/\([^/][^/]*\)\/*$/{
22758 s//\1/
22761 /^X\/\(\/\/\)$/{
22762 s//\1/
22765 /^X\/\(\/\).*/{
22766 s//\1/
22769 s/.*/./; q'`
22771 # Avoid depending upon Character Ranges.
22772 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22773 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22774 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22775 as_cr_digits='0123456789'
22776 as_cr_alnum=$as_cr_Letters$as_cr_digits
22779 # Determine whether it's possible to make 'echo' print without a newline.
22780 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22781 # for compatibility with existing Makefiles.
22782 ECHO_C= ECHO_N= ECHO_T=
22783 case `echo -n x` in #(((((
22784 -n*)
22785 case `echo 'xy\c'` in
22786 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22787 xy) ECHO_C='\c';;
22788 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22789 ECHO_T=' ';;
22790 esac;;
22792 ECHO_N='-n';;
22793 esac
22795 # For backward compatibility with old third-party macros, we provide
22796 # the shell variables $as_echo and $as_echo_n. New code should use
22797 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22798 as_echo='printf %s\n'
22799 as_echo_n='printf %s'
22801 rm -f conf$$ conf$$.exe conf$$.file
22802 if test -d conf$$.dir; then
22803 rm -f conf$$.dir/conf$$.file
22804 else
22805 rm -f conf$$.dir
22806 mkdir conf$$.dir 2>/dev/null
22808 if (echo >conf$$.file) 2>/dev/null; then
22809 if ln -s conf$$.file conf$$ 2>/dev/null; then
22810 as_ln_s='ln -s'
22811 # ... but there are two gotchas:
22812 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22813 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22814 # In both cases, we have to default to `cp -pR'.
22815 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22816 as_ln_s='cp -pR'
22817 elif ln conf$$.file conf$$ 2>/dev/null; then
22818 as_ln_s=ln
22819 else
22820 as_ln_s='cp -pR'
22822 else
22823 as_ln_s='cp -pR'
22825 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22826 rmdir conf$$.dir 2>/dev/null
22829 # as_fn_mkdir_p
22830 # -------------
22831 # Create "$as_dir" as a directory, including parents if necessary.
22832 as_fn_mkdir_p ()
22835 case $as_dir in #(
22836 -*) as_dir=./$as_dir;;
22837 esac
22838 test -d "$as_dir" || eval $as_mkdir_p || {
22839 as_dirs=
22840 while :; do
22841 case $as_dir in #(
22842 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22843 *) as_qdir=$as_dir;;
22844 esac
22845 as_dirs="'$as_qdir' $as_dirs"
22846 as_dir=`$as_dirname -- "$as_dir" ||
22847 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22848 X"$as_dir" : 'X\(//\)[^/]' \| \
22849 X"$as_dir" : 'X\(//\)$' \| \
22850 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22851 printf "%s\n" X"$as_dir" |
22852 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22853 s//\1/
22856 /^X\(\/\/\)[^/].*/{
22857 s//\1/
22860 /^X\(\/\/\)$/{
22861 s//\1/
22864 /^X\(\/\).*/{
22865 s//\1/
22868 s/.*/./; q'`
22869 test -d "$as_dir" && break
22870 done
22871 test -z "$as_dirs" || eval "mkdir $as_dirs"
22872 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22875 } # as_fn_mkdir_p
22876 if mkdir -p . 2>/dev/null; then
22877 as_mkdir_p='mkdir -p "$as_dir"'
22878 else
22879 test -d ./-p && rmdir ./-p
22880 as_mkdir_p=false
22884 # as_fn_executable_p FILE
22885 # -----------------------
22886 # Test if FILE is an executable regular file.
22887 as_fn_executable_p ()
22889 test -f "$1" && test -x "$1"
22890 } # as_fn_executable_p
22891 as_test_x='test -x'
22892 as_executable_p=as_fn_executable_p
22894 # Sed expression to map a string onto a valid CPP name.
22895 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22897 # Sed expression to map a string onto a valid variable name.
22898 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22901 exec 6>&1
22902 ## ----------------------------------- ##
22903 ## Main body of $CONFIG_STATUS script. ##
22904 ## ----------------------------------- ##
22905 _ASEOF
22906 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22908 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22909 # Save the log message, to keep $0 and so on meaningful, and to
22910 # report actual input values of CONFIG_FILES etc. instead of their
22911 # values after options handling.
22912 ac_log="
22913 This file was extended by Wine $as_me 8.12, which was
22914 generated by GNU Autoconf 2.71. Invocation command line was
22916 CONFIG_FILES = $CONFIG_FILES
22917 CONFIG_HEADERS = $CONFIG_HEADERS
22918 CONFIG_LINKS = $CONFIG_LINKS
22919 CONFIG_COMMANDS = $CONFIG_COMMANDS
22920 $ $0 $@
22922 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22925 _ACEOF
22928 case $ac_config_headers in *"
22929 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22930 esac
22933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22934 # Files that config.status was made for.
22935 config_headers="$ac_config_headers"
22936 config_links="$ac_config_links"
22937 config_commands="$ac_config_commands"
22939 _ACEOF
22941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22942 ac_cs_usage="\
22943 \`$as_me' instantiates files and other configuration actions
22944 from templates according to the current configuration. Unless the files
22945 and actions are specified as TAGs, all are instantiated by default.
22947 Usage: $0 [OPTION]... [TAG]...
22949 -h, --help print this help, then exit
22950 -V, --version print version number and configuration settings, then exit
22951 --config print configuration, then exit
22952 -q, --quiet, --silent
22953 do not print progress messages
22954 -d, --debug don't remove temporary files
22955 --recheck update $as_me by reconfiguring in the same conditions
22956 --header=FILE[:TEMPLATE]
22957 instantiate the configuration header FILE
22959 Configuration headers:
22960 $config_headers
22962 Configuration links:
22963 $config_links
22965 Configuration commands:
22966 $config_commands
22968 Report bugs to <wine-devel@winehq.org>.
22969 Wine home page: <https://www.winehq.org>."
22971 _ACEOF
22972 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22973 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22974 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22975 ac_cs_config='$ac_cs_config_escaped'
22976 ac_cs_version="\\
22977 Wine config.status 8.12
22978 configured by $0, generated by GNU Autoconf 2.71,
22979 with options \\"\$ac_cs_config\\"
22981 Copyright (C) 2021 Free Software Foundation, Inc.
22982 This config.status script is free software; the Free Software Foundation
22983 gives unlimited permission to copy, distribute and modify it."
22985 ac_pwd='$ac_pwd'
22986 srcdir='$srcdir'
22987 test -n "\$AWK" || AWK=awk
22988 _ACEOF
22990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22991 # The default lists apply if the user does not specify any file.
22992 ac_need_defaults=:
22993 while test $# != 0
22995 case $1 in
22996 --*=?*)
22997 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22998 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22999 ac_shift=:
23001 --*=)
23002 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23003 ac_optarg=
23004 ac_shift=:
23007 ac_option=$1
23008 ac_optarg=$2
23009 ac_shift=shift
23011 esac
23013 case $ac_option in
23014 # Handling of the options.
23015 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23016 ac_cs_recheck=: ;;
23017 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23018 printf "%s\n" "$ac_cs_version"; exit ;;
23019 --config | --confi | --conf | --con | --co | --c )
23020 printf "%s\n" "$ac_cs_config"; exit ;;
23021 --debug | --debu | --deb | --de | --d | -d )
23022 debug=: ;;
23023 --header | --heade | --head | --hea )
23024 $ac_shift
23025 case $ac_optarg in
23026 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23027 esac
23028 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23029 ac_need_defaults=false;;
23030 --he | --h)
23031 # Conflict between --help and --header
23032 as_fn_error $? "ambiguous option: \`$1'
23033 Try \`$0 --help' for more information.";;
23034 --help | --hel | -h )
23035 printf "%s\n" "$ac_cs_usage"; exit ;;
23036 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23037 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23038 ac_cs_silent=: ;;
23040 # This is an error.
23041 -*) as_fn_error $? "unrecognized option: \`$1'
23042 Try \`$0 --help' for more information." ;;
23044 *) as_fn_append ac_config_targets " $1"
23045 ac_need_defaults=false ;;
23047 esac
23048 shift
23049 done
23051 ac_configure_extra_args=
23053 if $ac_cs_silent; then
23054 exec 6>/dev/null
23055 ac_configure_extra_args="$ac_configure_extra_args --silent"
23058 _ACEOF
23059 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23060 if \$ac_cs_recheck; then
23061 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23062 shift
23063 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23064 CONFIG_SHELL='$SHELL'
23065 export CONFIG_SHELL
23066 exec "\$@"
23069 _ACEOF
23070 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23071 exec 5>>config.log
23073 echo
23074 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23075 ## Running $as_me. ##
23076 _ASBOX
23077 printf "%s\n" "$ac_log"
23078 } >&5
23080 _ACEOF
23081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23083 # INIT-COMMANDS
23085 wine_fn_output_makedep ()
23087 as_dir=tools; as_fn_mkdir_p
23088 $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
23090 wine_fn_output_makefile ()
23092 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23093 # This Makefile understands the following targets:
23095 # all (default): build wine
23096 # clean: remove all intermediate files
23097 # distclean: also remove all files created by configure
23098 # test: run tests
23099 # testclean: clean test results to force running all tests again
23100 # install-lib: install libraries needed to run applications
23101 # install-dev: install development environment
23102 # install: install everything
23103 # uninstall: uninstall everything
23104 # ctags: create a tags file for vim and others.
23105 # etags: create a TAGS file for Emacs.
23107 SHELL = $SHELL
23108 PATH_SEPARATOR = $PATH_SEPARATOR
23109 PACKAGE_NAME = $PACKAGE_NAME
23110 PACKAGE_TARNAME = $PACKAGE_TARNAME
23111 PACKAGE_VERSION = $PACKAGE_VERSION
23112 PACKAGE_STRING = $PACKAGE_STRING
23113 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23114 PACKAGE_URL = $PACKAGE_URL
23115 exec_prefix = $exec_prefix
23116 prefix = $prefix
23117 program_transform_name = $program_transform_name
23118 bindir = $bindir
23119 sbindir = $sbindir
23120 libexecdir = $libexecdir
23121 datarootdir = $datarootdir
23122 datadir = $datadir
23123 sysconfdir = $sysconfdir
23124 sharedstatedir = $sharedstatedir
23125 localstatedir = $localstatedir
23126 runstatedir = $runstatedir
23127 includedir = $includedir
23128 oldincludedir = $oldincludedir
23129 docdir = $docdir
23130 infodir = $infodir
23131 htmldir = $htmldir
23132 dvidir = $dvidir
23133 pdfdir = $pdfdir
23134 psdir = $psdir
23135 libdir = $libdir
23136 localedir = $localedir
23137 mandir = $mandir
23138 DEFS = $DEFS
23139 ECHO_C = $ECHO_C
23140 ECHO_N = $ECHO_N
23141 ECHO_T = $ECHO_T
23142 LIBS = $LIBS
23143 build_alias = $build_alias
23144 host_alias = $host_alias
23145 target_alias = $target_alias
23146 system_dllpath = $system_dllpath
23147 build = $build
23148 build_cpu = $build_cpu
23149 build_vendor = $build_vendor
23150 build_os = $build_os
23151 host = $host
23152 host_cpu = $host_cpu
23153 host_vendor = $host_vendor
23154 host_os = $host_os
23155 dlldir = $dlldir
23156 fontdir = $fontdir
23157 nlsdir = $nlsdir
23158 srcdir = $srcdir
23159 SET_MAKE = $SET_MAKE
23160 CC = $CC
23161 CFLAGS = $CFLAGS
23162 LDFLAGS = $LDFLAGS
23163 CPPFLAGS = $CPPFLAGS
23164 ac_ct_CC = $ac_ct_CC
23165 EXEEXT = $EXEEXT
23166 OBJEXT = $OBJEXT
23167 CXX = $CXX
23168 CXXFLAGS = $CXXFLAGS
23169 ac_ct_CXX = $ac_ct_CXX
23170 CPPBIN = $CPPBIN
23171 LD = $LD
23172 TARGETFLAGS = $TARGETFLAGS
23173 toolsext = $toolsext
23174 HOST_ARCH = $HOST_ARCH
23175 aarch64_CC = $aarch64_CC
23176 aarch64_CFLAGS = $aarch64_CFLAGS
23177 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23178 aarch64_LDFLAGS = $aarch64_LDFLAGS
23179 aarch64_DEBUG = $aarch64_DEBUG
23180 aarch64_TARGET = $aarch64_TARGET
23181 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23182 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23183 arm_CC = $arm_CC
23184 arm_CFLAGS = $arm_CFLAGS
23185 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23186 arm_LDFLAGS = $arm_LDFLAGS
23187 arm_DEBUG = $arm_DEBUG
23188 arm_TARGET = $arm_TARGET
23189 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23190 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23191 i386_CC = $i386_CC
23192 i386_CFLAGS = $i386_CFLAGS
23193 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23194 i386_LDFLAGS = $i386_LDFLAGS
23195 i386_DEBUG = $i386_DEBUG
23196 i386_TARGET = $i386_TARGET
23197 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23198 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23199 x86_64_CC = $x86_64_CC
23200 x86_64_CFLAGS = $x86_64_CFLAGS
23201 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23202 x86_64_LDFLAGS = $x86_64_LDFLAGS
23203 x86_64_DEBUG = $x86_64_DEBUG
23204 x86_64_TARGET = $x86_64_TARGET
23205 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23206 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23207 toolsdir = $toolsdir
23208 MAKEDEP = $MAKEDEP
23209 RUNTESTFLAGS = $RUNTESTFLAGS
23210 SED_CMD = $SED_CMD
23211 FLEX = $FLEX
23212 BISON = $BISON
23213 AR = $AR
23214 ac_ct_AR = $ac_ct_AR
23215 STRIP = $STRIP
23216 RANLIB = $RANLIB
23217 LN_S = $LN_S
23218 GREP = $GREP
23219 EGREP = $EGREP
23220 LDCONFIG = $LDCONFIG
23221 MSGFMT = $MSGFMT
23222 PKG_CONFIG = $PKG_CONFIG
23223 FONTFORGE = $FONTFORGE
23224 RSVG = $RSVG
23225 CONVERT = $CONVERT
23226 ICOTOOL = $ICOTOOL
23227 I386_LIBS = $I386_LIBS
23228 OPENGL_LIBS = $OPENGL_LIBS
23229 DLLFLAGS = $DLLFLAGS
23230 LDDLLFLAGS = $LDDLLFLAGS
23231 LDEXECFLAGS = $LDEXECFLAGS
23232 EXTRACFLAGS = $EXTRACFLAGS
23233 UNIXDLLFLAGS = $UNIXDLLFLAGS
23234 UNIXLDFLAGS = $UNIXLDFLAGS
23235 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23236 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23237 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23238 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23239 DLLEXT = $DLLEXT
23240 LDD = $LDD
23241 OTOOL = $OTOOL
23242 READELF = $READELF
23243 SUBDIRS = $SUBDIRS
23244 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23245 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23246 CARBON_LIBS = $CARBON_LIBS
23247 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23248 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23249 IOKIT_LIBS = $IOKIT_LIBS
23250 METAL_LIBS = $METAL_LIBS
23251 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23252 CORESERVICES_LIBS = $CORESERVICES_LIBS
23253 APPKIT_LIBS = $APPKIT_LIBS
23254 SECURITY_LIBS = $SECURITY_LIBS
23255 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23256 COREAUDIO_LIBS = $COREAUDIO_LIBS
23257 OPENCL_LIBS = $OPENCL_LIBS
23258 OBJC = $OBJC
23259 OBJCFLAGS = $OBJCFLAGS
23260 ac_ct_OBJC = $ac_ct_OBJC
23261 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23262 PE_ARCHS = $PE_ARCHS
23263 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23264 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23265 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23266 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23267 GSM_PE_LIBS = $GSM_PE_LIBS
23268 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23269 JPEG_PE_LIBS = $JPEG_PE_LIBS
23270 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23271 JXR_PE_LIBS = $JXR_PE_LIBS
23272 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23273 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23274 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23275 LDAP_PE_LIBS = $LDAP_PE_LIBS
23276 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23277 MPG123_PE_LIBS = $MPG123_PE_LIBS
23278 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23279 MUSL_PE_LIBS = $MUSL_PE_LIBS
23280 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23281 PNG_PE_LIBS = $PNG_PE_LIBS
23282 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23283 TIFF_PE_LIBS = $TIFF_PE_LIBS
23284 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23285 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23286 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23287 XML2_PE_LIBS = $XML2_PE_LIBS
23288 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23289 XSLT_PE_LIBS = $XSLT_PE_LIBS
23290 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23291 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23292 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23293 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23294 PTHREAD_LIBS = $PTHREAD_LIBS
23295 XMKMF = $XMKMF
23296 CPP = $CPP
23297 X_CFLAGS = $X_CFLAGS
23298 X_PRE_LIBS = $X_PRE_LIBS
23299 X_LIBS = $X_LIBS
23300 X_EXTRA_LIBS = $X_EXTRA_LIBS
23301 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23302 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23303 WAYLAND_SCANNER = $WAYLAND_SCANNER
23304 PCAP_LIBS = $PCAP_LIBS
23305 PCSCLITE_LIBS = $PCSCLITE_LIBS
23306 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23307 INOTIFY_LIBS = $INOTIFY_LIBS
23308 DBUS_CFLAGS = $DBUS_CFLAGS
23309 DBUS_LIBS = $DBUS_LIBS
23310 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23311 GNUTLS_LIBS = $GNUTLS_LIBS
23312 SANE_CFLAGS = $SANE_CFLAGS
23313 SANE_LIBS = $SANE_LIBS
23314 USB_CFLAGS = $USB_CFLAGS
23315 USB_LIBS = $USB_LIBS
23316 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23317 GPHOTO2_LIBS = $GPHOTO2_LIBS
23318 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23319 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23320 RESOLV_LIBS = $RESOLV_LIBS
23321 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23322 FREETYPE_LIBS = $FREETYPE_LIBS
23323 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23324 PULSE_CFLAGS = $PULSE_CFLAGS
23325 PULSE_LIBS = $PULSE_LIBS
23326 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23327 GSTREAMER_LIBS = $GSTREAMER_LIBS
23328 ALSA_LIBS = $ALSA_LIBS
23329 OSS4_CFLAGS = $OSS4_CFLAGS
23330 OSS4_LIBS = $OSS4_LIBS
23331 UDEV_CFLAGS = $UDEV_CFLAGS
23332 UDEV_LIBS = $UDEV_LIBS
23333 UNWIND_CFLAGS = $UNWIND_CFLAGS
23334 UNWIND_LIBS = $UNWIND_LIBS
23335 SDL2_CFLAGS = $SDL2_CFLAGS
23336 SDL2_LIBS = $SDL2_LIBS
23337 CAPI20_CFLAGS = $CAPI20_CFLAGS
23338 CAPI20_LIBS = $CAPI20_LIBS
23339 CUPS_CFLAGS = $CUPS_CFLAGS
23340 CUPS_LIBS = $CUPS_LIBS
23341 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23342 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23343 KRB5_CFLAGS = $KRB5_CFLAGS
23344 KRB5_LIBS = $KRB5_LIBS
23345 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23346 GSSAPI_LIBS = $GSSAPI_LIBS
23347 PROCSTAT_LIBS = $PROCSTAT_LIBS
23348 NETAPI_CFLAGS = $NETAPI_CFLAGS
23349 NETAPI_LIBS = $NETAPI_LIBS
23350 MSVCRTFLAGS = $MSVCRTFLAGS
23351 DELAYLOADFLAG = $DELAYLOADFLAG
23352 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23353 RT_LIBS = $RT_LIBS
23354 TAGSFLAGS = $TAGSFLAGS
23355 LIBOBJS = $LIBOBJS
23356 LTLIBOBJS = $LTLIBOBJS
23357 $SET_MAKE
23358 $wine_rules
23359 _WINE_EOF
23360 as_fn_error $? "could not create Makefile" "$LINENO" 5
23363 _ACEOF
23365 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23367 # Handling of arguments.
23368 for ac_config_target in $ac_config_targets
23370 case $ac_config_target in
23371 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23372 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23373 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23374 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23375 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23376 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23378 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23379 esac
23380 done
23383 # If the user did not use the arguments to specify the items to instantiate,
23384 # then the envvar interface is used. Set only those that are not.
23385 # We use the long form for the default assignment because of an extremely
23386 # bizarre bug on SunOS 4.1.3.
23387 if $ac_need_defaults; then
23388 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23389 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23390 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23393 # Have a temporary directory for convenience. Make it in the build tree
23394 # simply because there is no reason against having it here, and in addition,
23395 # creating and moving files from /tmp can sometimes cause problems.
23396 # Hook for its removal unless debugging.
23397 # Note that there is a small window in which the directory will not be cleaned:
23398 # after its creation but before its name has been assigned to `$tmp'.
23399 $debug ||
23401 tmp= ac_tmp=
23402 trap 'exit_status=$?
23403 : "${ac_tmp:=$tmp}"
23404 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23406 trap 'as_fn_exit 1' 1 2 13 15
23408 # Create a (secure) tmp directory for tmp files.
23411 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23412 test -d "$tmp"
23413 } ||
23415 tmp=./conf$$-$RANDOM
23416 (umask 077 && mkdir "$tmp")
23417 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23418 ac_tmp=$tmp
23420 # Set up the scripts for CONFIG_HEADERS section.
23421 # No need to generate them if there are no CONFIG_HEADERS.
23422 # This happens for instance with `./config.status Makefile'.
23423 if test -n "$CONFIG_HEADERS"; then
23424 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23425 BEGIN {
23426 _ACEOF
23428 # Transform confdefs.h into an awk script `defines.awk', embedded as
23429 # here-document in config.status, that substitutes the proper values into
23430 # config.h.in to produce config.h.
23432 # Create a delimiter string that does not exist in confdefs.h, to ease
23433 # handling of long lines.
23434 ac_delim='%!_!# '
23435 for ac_last_try in false false :; do
23436 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23437 if test -z "$ac_tt"; then
23438 break
23439 elif $ac_last_try; then
23440 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23441 else
23442 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23444 done
23446 # For the awk script, D is an array of macro values keyed by name,
23447 # likewise P contains macro parameters if any. Preserve backslash
23448 # newline sequences.
23450 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23451 sed -n '
23452 s/.\{148\}/&'"$ac_delim"'/g
23453 t rset
23454 :rset
23455 s/^[ ]*#[ ]*define[ ][ ]*/ /
23456 t def
23458 :def
23459 s/\\$//
23460 t bsnl
23461 s/["\\]/\\&/g
23462 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23463 D["\1"]=" \3"/p
23464 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23466 :bsnl
23467 s/["\\]/\\&/g
23468 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23469 D["\1"]=" \3\\\\\\n"\\/p
23470 t cont
23471 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23472 t cont
23474 :cont
23476 s/.\{148\}/&'"$ac_delim"'/g
23477 t clear
23478 :clear
23479 s/\\$//
23480 t bsnlc
23481 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23483 :bsnlc
23484 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23485 b cont
23486 ' <confdefs.h | sed '
23487 s/'"$ac_delim"'/"\\\
23488 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23491 for (key in D) D_is_set[key] = 1
23492 FS = "\a"
23494 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23495 line = \$ 0
23496 split(line, arg, " ")
23497 if (arg[1] == "#") {
23498 defundef = arg[2]
23499 mac1 = arg[3]
23500 } else {
23501 defundef = substr(arg[1], 2)
23502 mac1 = arg[2]
23504 split(mac1, mac2, "(") #)
23505 macro = mac2[1]
23506 prefix = substr(line, 1, index(line, defundef) - 1)
23507 if (D_is_set[macro]) {
23508 # Preserve the white space surrounding the "#".
23509 print prefix "define", macro P[macro] D[macro]
23510 next
23511 } else {
23512 # Replace #undef with comments. This is necessary, for example,
23513 # in the case of _POSIX_SOURCE, which is predefined and required
23514 # on some systems where configure will not decide to define it.
23515 if (defundef == "undef") {
23516 print "/*", prefix defundef, macro, "*/"
23517 next
23521 { print }
23522 _ACAWK
23523 _ACEOF
23524 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23525 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23526 fi # test -n "$CONFIG_HEADERS"
23529 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23530 shift
23531 for ac_tag
23533 case $ac_tag in
23534 :[FHLC]) ac_mode=$ac_tag; continue;;
23535 esac
23536 case $ac_mode$ac_tag in
23537 :[FHL]*:*);;
23538 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23539 :[FH]-) ac_tag=-:-;;
23540 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23541 esac
23542 ac_save_IFS=$IFS
23543 IFS=:
23544 set x $ac_tag
23545 IFS=$ac_save_IFS
23546 shift
23547 ac_file=$1
23548 shift
23550 case $ac_mode in
23551 :L) ac_source=$1;;
23552 :[FH])
23553 ac_file_inputs=
23554 for ac_f
23556 case $ac_f in
23557 -) ac_f="$ac_tmp/stdin";;
23558 *) # Look for the file first in the build tree, then in the source tree
23559 # (if the path is not absolute). The absolute path cannot be DOS-style,
23560 # because $ac_f cannot contain `:'.
23561 test -f "$ac_f" ||
23562 case $ac_f in
23563 [\\/$]*) false;;
23564 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23565 esac ||
23566 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23567 esac
23568 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23569 as_fn_append ac_file_inputs " '$ac_f'"
23570 done
23572 # Let's still pretend it is `configure' which instantiates (i.e., don't
23573 # use $as_me), people would be surprised to read:
23574 # /* config.h. Generated by config.status. */
23575 configure_input='Generated from '`
23576 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23577 `' by configure.'
23578 if test x"$ac_file" != x-; then
23579 configure_input="$ac_file. $configure_input"
23580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23581 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23583 # Neutralize special characters interpreted by sed in replacement strings.
23584 case $configure_input in #(
23585 *\&* | *\|* | *\\* )
23586 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23587 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23588 *) ac_sed_conf_input=$configure_input;;
23589 esac
23591 case $ac_tag in
23592 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23593 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23594 esac
23596 esac
23598 ac_dir=`$as_dirname -- "$ac_file" ||
23599 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23600 X"$ac_file" : 'X\(//\)[^/]' \| \
23601 X"$ac_file" : 'X\(//\)$' \| \
23602 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23603 printf "%s\n" X"$ac_file" |
23604 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23605 s//\1/
23608 /^X\(\/\/\)[^/].*/{
23609 s//\1/
23612 /^X\(\/\/\)$/{
23613 s//\1/
23616 /^X\(\/\).*/{
23617 s//\1/
23620 s/.*/./; q'`
23621 as_dir="$ac_dir"; as_fn_mkdir_p
23622 ac_builddir=.
23624 case "$ac_dir" in
23625 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23627 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23628 # A ".." for each directory in $ac_dir_suffix.
23629 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23630 case $ac_top_builddir_sub in
23631 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23632 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23633 esac ;;
23634 esac
23635 ac_abs_top_builddir=$ac_pwd
23636 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23637 # for backward compatibility:
23638 ac_top_builddir=$ac_top_build_prefix
23640 case $srcdir in
23641 .) # We are building in place.
23642 ac_srcdir=.
23643 ac_top_srcdir=$ac_top_builddir_sub
23644 ac_abs_top_srcdir=$ac_pwd ;;
23645 [\\/]* | ?:[\\/]* ) # Absolute name.
23646 ac_srcdir=$srcdir$ac_dir_suffix;
23647 ac_top_srcdir=$srcdir
23648 ac_abs_top_srcdir=$srcdir ;;
23649 *) # Relative name.
23650 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23651 ac_top_srcdir=$ac_top_build_prefix$srcdir
23652 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23653 esac
23654 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23657 case $ac_mode in
23661 # CONFIG_HEADER
23663 if test x"$ac_file" != x-; then
23665 printf "%s\n" "/* $configure_input */" >&1 \
23666 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23667 } >"$ac_tmp/config.h" \
23668 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23669 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23671 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23672 else
23673 rm -f "$ac_file"
23674 mv "$ac_tmp/config.h" "$ac_file" \
23675 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23677 else
23678 printf "%s\n" "/* $configure_input */" >&1 \
23679 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23680 || as_fn_error $? "could not create -" "$LINENO" 5
23685 # CONFIG_LINK
23688 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23690 else
23691 # Prefer the file from the source tree if names are identical.
23692 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23693 ac_source=$srcdir/$ac_source
23696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23697 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23699 if test ! -r "$ac_source"; then
23700 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23702 rm -f "$ac_file"
23704 # Try a relative symlink, then a hard link, then a copy.
23705 case $ac_source in
23706 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23707 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23708 esac
23709 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23710 ln "$ac_source" "$ac_file" 2>/dev/null ||
23711 cp -p "$ac_source" "$ac_file" ||
23712 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23715 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23716 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23718 esac
23721 case $ac_file$ac_mode in
23722 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23723 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23724 "Makefile":C) wine_fn_output_makefile Makefile ;;
23726 esac
23727 done # for ac_tag
23730 as_fn_exit 0
23731 _ACEOF
23732 ac_clean_files=$ac_clean_files_save
23734 test $ac_write_fail = 0 ||
23735 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23738 # configure is writing to config.log, and then calls config.status.
23739 # config.status does its own redirection, appending to config.log.
23740 # Unfortunately, on DOS this fails, as config.log is still kept open
23741 # by configure, so config.status won't be able to write to it; its
23742 # output is simply discarded. So we exec the FD to /dev/null,
23743 # effectively closing config.log, so it can be properly (re)opened and
23744 # appended to by config.status. When coming back to configure, we
23745 # need to make the FD available again.
23746 if test "$no_create" != yes; then
23747 ac_cs_success=:
23748 ac_config_status_args=
23749 test "$silent" = yes &&
23750 ac_config_status_args="$ac_config_status_args --quiet"
23751 exec 5>/dev/null
23752 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23753 exec 5>>config.log
23754 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23755 # would make configure fail if this is the last instruction.
23756 $ac_cs_success || as_fn_exit 1
23758 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23760 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23764 if test "$no_create" = "yes"
23765 then
23766 exit 0
23769 ac_save_IFS="$IFS"
23770 if test "x$wine_notices" != x; then
23771 echo >&6
23772 IFS="|"
23773 for msg in $wine_notices; do
23774 IFS="$ac_save_IFS"
23775 if ${msg:+false} :
23776 then :
23778 else $as_nop
23779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23780 printf "%s\n" "$as_me: $msg" >&6;}
23782 done
23784 IFS="|"
23785 for msg in $wine_warnings; do
23786 IFS="$ac_save_IFS"
23787 if ${msg:+false} :
23788 then :
23790 else $as_nop
23791 echo >&2
23792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23793 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23795 done
23796 IFS="$ac_save_IFS"
23798 printf "%s\n" "
23799 $as_me: Finished. Do '${ac_make}' to compile Wine.
23800 " >&6