wined3d: Add helpers to retrieve shader constants from a wined3d_stateblock.
[wine.git] / configure
blob36ae965fe34154eed259b8abf899ffc5efa72a9f
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.13.
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.13'
615 PACKAGE_STRING='Wine 8.13'
616 PACKAGE_BUGREPORT='wine-devel@winehq.org'
617 PACKAGE_URL='https://www.winehq.org'
619 ac_unique_file="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
651 ac_header_c_list=
652 ac_subst_vars='LTLIBOBJS
653 LIBOBJS
654 TAGSFLAGS
655 RT_LIBS
656 WINELOADER_PROGRAMS
657 DELAYLOADFLAG
658 MSVCRTFLAGS
659 NETAPI_LIBS
660 NETAPI_CFLAGS
661 PROCSTAT_LIBS
662 GSSAPI_LIBS
663 GSSAPI_CFLAGS
664 KRB5_LIBS
665 KRB5_CFLAGS
666 FONTCONFIG_LIBS
667 FONTCONFIG_CFLAGS
668 CUPS_LIBS
669 CUPS_CFLAGS
670 CAPI20_LIBS
671 CAPI20_CFLAGS
672 SDL2_LIBS
673 SDL2_CFLAGS
674 UNWIND_LIBS
675 UNWIND_CFLAGS
676 UDEV_LIBS
677 UDEV_CFLAGS
678 OSS4_LIBS
679 OSS4_CFLAGS
680 ALSA_LIBS
681 GSTREAMER_LIBS
682 GSTREAMER_CFLAGS
683 PULSE_LIBS
684 PULSE_CFLAGS
685 GETTEXTPO_LIBS
686 FREETYPE_LIBS
687 FREETYPE_CFLAGS
688 RESOLV_LIBS
689 GPHOTO2_PORT_LIBS
690 GPHOTO2_PORT_CFLAGS
691 GPHOTO2_LIBS
692 GPHOTO2_CFLAGS
693 USB_LIBS
694 USB_CFLAGS
695 SANE_LIBS
696 SANE_CFLAGS
697 GNUTLS_LIBS
698 GNUTLS_CFLAGS
699 DBUS_LIBS
700 DBUS_CFLAGS
701 INOTIFY_LIBS
702 INOTIFY_CFLAGS
703 PCSCLITE_LIBS
704 PCAP_LIBS
705 WAYLAND_SCANNER
706 WAYLAND_CLIENT_LIBS
707 WAYLAND_CLIENT_CFLAGS
708 X_EXTRA_LIBS
709 X_LIBS
710 X_PRE_LIBS
711 X_CFLAGS
713 XMKMF
714 PTHREAD_LIBS
715 ZYDIS_PE_LIBS
716 ZYDIS_PE_CFLAGS
717 ZLIB_PE_LIBS
718 ZLIB_PE_CFLAGS
719 XSLT_PE_LIBS
720 XSLT_PE_CFLAGS
721 XML2_PE_LIBS
722 XML2_PE_CFLAGS
723 VKD3D_PE_LIBS
724 VKD3D_PE_CFLAGS
725 TIFF_PE_LIBS
726 TIFF_PE_CFLAGS
727 PNG_PE_LIBS
728 PNG_PE_CFLAGS
729 MUSL_PE_LIBS
730 MUSL_PE_CFLAGS
731 MPG123_PE_LIBS
732 MPG123_PE_CFLAGS
733 LDAP_PE_LIBS
734 LDAP_PE_CFLAGS
735 LCMS2_PE_LIBS
736 LCMS2_PE_CFLAGS
737 JXR_PE_LIBS
738 JXR_PE_CFLAGS
739 JPEG_PE_LIBS
740 JPEG_PE_CFLAGS
741 GSM_PE_LIBS
742 GSM_PE_CFLAGS
743 FAUDIO_PE_LIBS
744 FAUDIO_PE_CFLAGS
745 MINGW_PKG_CONFIG
746 PE_ARCHS
747 WINELOADER_DEPENDS
748 ac_ct_OBJC
749 OBJCFLAGS
750 OBJC
751 OPENCL_LIBS
752 COREAUDIO_LIBS
753 SYSTEMCONFIGURATION_LIBS
754 SECURITY_LIBS
755 APPKIT_LIBS
756 CORESERVICES_LIBS
757 APPLICATIONSERVICES_LIBS
758 METAL_LIBS
759 IOKIT_LIBS
760 DISKARBITRATION_LIBS
761 COREFOUNDATION_LIBS
762 CARBON_LIBS
763 CONFIGURE_TARGETS
764 DISABLED_SUBDIRS
765 SUBDIRS
766 READELF
767 OTOOL
769 DLLEXT
770 WINEPRELOADER_LDFLAGS
771 WINELOADER_LDFLAGS
772 TOP_INSTALL_DEV
773 TOP_INSTALL_LIB
774 UNIXLDFLAGS
775 UNIXDLLFLAGS
776 EXTRACFLAGS
777 LDEXECFLAGS
778 LDDLLFLAGS
779 DLLFLAGS
780 OPENGL_LIBS
781 I386_LIBS
782 ICOTOOL
783 CONVERT
784 RSVG
785 FONTFORGE
786 PKG_CONFIG
787 MSGFMT
788 LDCONFIG
789 EGREP
790 GREP
791 LN_S
792 RANLIB
793 STRIP
794 ac_ct_AR
796 BISON
797 FLEX
798 SED_CMD
799 RUNTESTFLAGS
800 MAKEDEP
801 toolsdir
802 x86_64_DISABLED_SUBDIRS
803 x86_64_DELAYLOADFLAG
804 x86_64_TARGET
805 x86_64_DEBUG
806 x86_64_LDFLAGS
807 x86_64_EXTRACFLAGS
808 x86_64_CFLAGS
809 x86_64_CC
810 i386_DISABLED_SUBDIRS
811 i386_DELAYLOADFLAG
812 i386_TARGET
813 i386_DEBUG
814 i386_LDFLAGS
815 i386_EXTRACFLAGS
816 i386_CFLAGS
817 i386_CC
818 arm_DISABLED_SUBDIRS
819 arm_DELAYLOADFLAG
820 arm_TARGET
821 arm_DEBUG
822 arm_LDFLAGS
823 arm_EXTRACFLAGS
824 arm_CFLAGS
825 arm_CC
826 aarch64_DISABLED_SUBDIRS
827 aarch64_DELAYLOADFLAG
828 aarch64_TARGET
829 aarch64_DEBUG
830 aarch64_LDFLAGS
831 aarch64_EXTRACFLAGS
832 aarch64_CFLAGS
833 aarch64_CC
834 HOST_ARCH
835 toolsext
836 TARGETFLAGS
838 CPPBIN
839 ac_ct_CXX
840 CXXFLAGS
842 OBJEXT
843 EXEEXT
844 ac_ct_CC
845 CPPFLAGS
846 LDFLAGS
847 CFLAGS
849 SET_MAKE
850 srcdir
851 nlsdir
852 fontdir
853 dlldir
854 host_os
855 host_vendor
856 host_cpu
857 host
858 build_os
859 build_vendor
860 build_cpu
861 build
862 system_dllpath
863 target_alias
864 host_alias
865 build_alias
866 LIBS
867 ECHO_T
868 ECHO_N
869 ECHO_C
870 DEFS
871 mandir
872 localedir
873 libdir
874 psdir
875 pdfdir
876 dvidir
877 htmldir
878 infodir
879 docdir
880 oldincludedir
881 includedir
882 runstatedir
883 localstatedir
884 sharedstatedir
885 sysconfdir
886 datadir
887 datarootdir
888 libexecdir
889 sbindir
890 bindir
891 program_transform_name
892 prefix
893 exec_prefix
894 PACKAGE_URL
895 PACKAGE_BUGREPORT
896 PACKAGE_STRING
897 PACKAGE_VERSION
898 PACKAGE_TARNAME
899 PACKAGE_NAME
900 PATH_SEPARATOR
901 SHELL'
902 ac_subst_files=''
903 ac_user_opts='
904 enable_option_checking
905 enable_archs
906 enable_win16
907 enable_win64
908 enable_tests
909 enable_build_id
910 enable_maintainer_mode
911 enable_silent_rules
912 enable_werror
913 with_alsa
914 with_capi
915 with_coreaudio
916 with_cups
917 with_dbus
918 with_float_abi
919 with_fontconfig
920 with_freetype
921 with_gettext
922 with_gettextpo
923 with_gphoto
924 with_gnutls
925 with_gssapi
926 with_gstreamer
927 with_inotify
928 with_krb5
929 with_mingw
930 with_netapi
931 with_opencl
932 with_opengl
933 with_osmesa
934 with_oss
935 with_pcap
936 with_pcsclite
937 with_pthread
938 with_pulse
939 with_sane
940 with_sdl
941 with_udev
942 with_unwind
943 with_usb
944 with_v4l2
945 with_vulkan
946 with_wayland
947 with_xcomposite
948 with_xcursor
949 with_xfixes
950 with_xinerama
951 with_xinput
952 with_xinput2
953 with_xrandr
954 with_xrender
955 with_xshape
956 with_xshm
957 with_xxf86vm
958 with_system_dllpath
959 with_wine_tools
960 with_wine64
961 enable_largefile
962 with_x
963 enable_acledit
964 enable_aclui
965 enable_activeds_tlb
966 enable_activeds
967 enable_actxprxy
968 enable_adsldp
969 enable_adsldpc
970 enable_advapi32
971 enable_advpack
972 enable_amsi
973 enable_amstream
974 enable_apisetschema
975 enable_apphelp
976 enable_appwiz_cpl
977 enable_atl
978 enable_atl100
979 enable_atl110
980 enable_atl80
981 enable_atl90
982 enable_atlthunk
983 enable_atmlib
984 enable_authz
985 enable_avicap32
986 enable_avifil32
987 enable_avrt
988 enable_bcrypt
989 enable_bcryptprimitives
990 enable_bluetoothapis
991 enable_browseui
992 enable_bthprops_cpl
993 enable_cabinet
994 enable_capi2032
995 enable_cards
996 enable_cdosys
997 enable_cfgmgr32
998 enable_clusapi
999 enable_cng_sys
1000 enable_combase
1001 enable_comcat
1002 enable_comctl32
1003 enable_comdlg32
1004 enable_compstui
1005 enable_comsvcs
1006 enable_concrt140
1007 enable_connect
1008 enable_credui
1009 enable_crtdll
1010 enable_crypt32
1011 enable_cryptdlg
1012 enable_cryptdll
1013 enable_cryptext
1014 enable_cryptnet
1015 enable_cryptowinrt
1016 enable_cryptsp
1017 enable_cryptui
1018 enable_ctapi32
1019 enable_ctl3d32
1020 enable_d2d1
1021 enable_d3d10
1022 enable_d3d10_1
1023 enable_d3d10core
1024 enable_d3d11
1025 enable_d3d12
1026 enable_d3d12core
1027 enable_d3d8
1028 enable_d3d8thk
1029 enable_d3d9
1030 enable_d3dcompiler_33
1031 enable_d3dcompiler_34
1032 enable_d3dcompiler_35
1033 enable_d3dcompiler_36
1034 enable_d3dcompiler_37
1035 enable_d3dcompiler_38
1036 enable_d3dcompiler_39
1037 enable_d3dcompiler_40
1038 enable_d3dcompiler_41
1039 enable_d3dcompiler_42
1040 enable_d3dcompiler_43
1041 enable_d3dcompiler_46
1042 enable_d3dcompiler_47
1043 enable_d3dim
1044 enable_d3dim700
1045 enable_d3drm
1046 enable_d3dx10_33
1047 enable_d3dx10_34
1048 enable_d3dx10_35
1049 enable_d3dx10_36
1050 enable_d3dx10_37
1051 enable_d3dx10_38
1052 enable_d3dx10_39
1053 enable_d3dx10_40
1054 enable_d3dx10_41
1055 enable_d3dx10_42
1056 enable_d3dx10_43
1057 enable_d3dx11_42
1058 enable_d3dx11_43
1059 enable_d3dx9_24
1060 enable_d3dx9_25
1061 enable_d3dx9_26
1062 enable_d3dx9_27
1063 enable_d3dx9_28
1064 enable_d3dx9_29
1065 enable_d3dx9_30
1066 enable_d3dx9_31
1067 enable_d3dx9_32
1068 enable_d3dx9_33
1069 enable_d3dx9_34
1070 enable_d3dx9_35
1071 enable_d3dx9_36
1072 enable_d3dx9_37
1073 enable_d3dx9_38
1074 enable_d3dx9_39
1075 enable_d3dx9_40
1076 enable_d3dx9_41
1077 enable_d3dx9_42
1078 enable_d3dx9_43
1079 enable_d3dxof
1080 enable_davclnt
1081 enable_dbgeng
1082 enable_dbghelp
1083 enable_dciman32
1084 enable_dcomp
1085 enable_ddraw
1086 enable_ddrawex
1087 enable_devenum
1088 enable_dhcpcsvc
1089 enable_dhcpcsvc6
1090 enable_dhtmled_ocx
1091 enable_diasymreader
1092 enable_difxapi
1093 enable_dinput
1094 enable_dinput8
1095 enable_directmanipulation
1096 enable_dispex
1097 enable_dmband
1098 enable_dmcompos
1099 enable_dmime
1100 enable_dmloader
1101 enable_dmscript
1102 enable_dmstyle
1103 enable_dmsynth
1104 enable_dmusic
1105 enable_dmusic32
1106 enable_dnsapi
1107 enable_dplay
1108 enable_dplayx
1109 enable_dpnaddr
1110 enable_dpnet
1111 enable_dpnhpast
1112 enable_dpnhupnp
1113 enable_dpnlobby
1114 enable_dpvoice
1115 enable_dpwsockx
1116 enable_drmclien
1117 enable_dsdmo
1118 enable_dsound
1119 enable_dsquery
1120 enable_dssenh
1121 enable_dsuiext
1122 enable_dswave
1123 enable_dwmapi
1124 enable_dwrite
1125 enable_dx8vb
1126 enable_dxdiagn
1127 enable_dxgi
1128 enable_dxtrans
1129 enable_dxva2
1130 enable_esent
1131 enable_evr
1132 enable_explorerframe
1133 enable_faultrep
1134 enable_feclient
1135 enable_fltlib
1136 enable_fltmgr_sys
1137 enable_fntcache
1138 enable_fontsub
1139 enable_fusion
1140 enable_fwpuclnt
1141 enable_gameux
1142 enable_gamingtcui
1143 enable_gdi32
1144 enable_gdiplus
1145 enable_geolocation
1146 enable_glu32
1147 enable_gphoto2_ds
1148 enable_gpkcsp
1149 enable_graphicscapture
1150 enable_hal
1151 enable_hhctrl_ocx
1152 enable_hid
1153 enable_hidclass_sys
1154 enable_hidparse_sys
1155 enable_hlink
1156 enable_hnetcfg
1157 enable_hrtfapo
1158 enable_http_sys
1159 enable_httpapi
1160 enable_ia2comproxy
1161 enable_iccvid
1162 enable_icmp
1163 enable_ieframe
1164 enable_ieproxy
1165 enable_imaadp32_acm
1166 enable_imagehlp
1167 enable_imm32
1168 enable_inetcomm
1169 enable_inetcpl_cpl
1170 enable_inetmib1
1171 enable_infosoft
1172 enable_initpki
1173 enable_inkobj
1174 enable_inseng
1175 enable_iphlpapi
1176 enable_iprop
1177 enable_ir50_32
1178 enable_irprops_cpl
1179 enable_itircl
1180 enable_itss
1181 enable_joy_cpl
1182 enable_jscript
1183 enable_jsproxy
1184 enable_kerberos
1185 enable_kernel32
1186 enable_kernelbase
1187 enable_ksecdd_sys
1188 enable_ksproxy_ax
1189 enable_ksuser
1190 enable_ktmw32
1191 enable_l3codeca_acm
1192 enable_light_msstyles
1193 enable_loadperf
1194 enable_localspl
1195 enable_localui
1196 enable_lz32
1197 enable_mapi32
1198 enable_mapistub
1199 enable_mciavi32
1200 enable_mcicda
1201 enable_mciqtz32
1202 enable_mciseq
1203 enable_mciwave
1204 enable_mf
1205 enable_mf3216
1206 enable_mferror
1207 enable_mfmediaengine
1208 enable_mfplat
1209 enable_mfplay
1210 enable_mfreadwrite
1211 enable_mfsrcsnk
1212 enable_mgmtapi
1213 enable_midimap
1214 enable_mlang
1215 enable_mmcndmgr
1216 enable_mmdevapi
1217 enable_mountmgr_sys
1218 enable_mp3dmod
1219 enable_mpr
1220 enable_mprapi
1221 enable_msacm32_drv
1222 enable_msacm32
1223 enable_msado15
1224 enable_msadp32_acm
1225 enable_msasn1
1226 enable_msauddecmft
1227 enable_mscat32
1228 enable_mscms
1229 enable_mscoree
1230 enable_mscorwks
1231 enable_msctf
1232 enable_msctfmonitor
1233 enable_msctfp
1234 enable_msdaps
1235 enable_msdasql
1236 enable_msdelta
1237 enable_msdmo
1238 enable_msdrm
1239 enable_msftedit
1240 enable_msg711_acm
1241 enable_msgsm32_acm
1242 enable_mshtml_tlb
1243 enable_mshtml
1244 enable_msi
1245 enable_msident
1246 enable_msimg32
1247 enable_msimsg
1248 enable_msimtf
1249 enable_msisip
1250 enable_msisys_ocx
1251 enable_msls31
1252 enable_msmpeg2vdec
1253 enable_msnet32
1254 enable_mspatcha
1255 enable_msports
1256 enable_msrle32
1257 enable_msscript_ocx
1258 enable_mssign32
1259 enable_mssip32
1260 enable_mstask
1261 enable_msv1_0
1262 enable_msvcirt
1263 enable_msvcm80
1264 enable_msvcm90
1265 enable_msvcp100
1266 enable_msvcp110
1267 enable_msvcp120
1268 enable_msvcp120_app
1269 enable_msvcp140
1270 enable_msvcp140_1
1271 enable_msvcp140_2
1272 enable_msvcp140_atomic_wait
1273 enable_msvcp60
1274 enable_msvcp70
1275 enable_msvcp71
1276 enable_msvcp80
1277 enable_msvcp90
1278 enable_msvcp_win
1279 enable_msvcr100
1280 enable_msvcr110
1281 enable_msvcr120
1282 enable_msvcr120_app
1283 enable_msvcr70
1284 enable_msvcr71
1285 enable_msvcr80
1286 enable_msvcr90
1287 enable_msvcrt
1288 enable_msvcrt20
1289 enable_msvcrt40
1290 enable_msvcrtd
1291 enable_msvfw32
1292 enable_msvidc32
1293 enable_mswsock
1294 enable_msxml
1295 enable_msxml2
1296 enable_msxml3
1297 enable_msxml4
1298 enable_msxml6
1299 enable_mtxdm
1300 enable_ncrypt
1301 enable_nddeapi
1302 enable_ndis_sys
1303 enable_netapi32
1304 enable_netcfgx
1305 enable_netio_sys
1306 enable_netprofm
1307 enable_netutils
1308 enable_newdev
1309 enable_ninput
1310 enable_normaliz
1311 enable_npmshtml
1312 enable_npptools
1313 enable_nsi
1314 enable_nsiproxy_sys
1315 enable_ntdll
1316 enable_ntdsapi
1317 enable_ntoskrnl_exe
1318 enable_ntprint
1319 enable_objsel
1320 enable_odbc32
1321 enable_odbcbcp
1322 enable_odbccp32
1323 enable_odbccu32
1324 enable_ole32
1325 enable_oleacc
1326 enable_oleaut32
1327 enable_olecli32
1328 enable_oledb32
1329 enable_oledlg
1330 enable_olepro32
1331 enable_olesvr32
1332 enable_olethk32
1333 enable_opcservices
1334 enable_opencl
1335 enable_opengl32
1336 enable_packager
1337 enable_pdh
1338 enable_photometadatahandler
1339 enable_pidgen
1340 enable_powrprof
1341 enable_printui
1342 enable_prntvpt
1343 enable_propsys
1344 enable_psapi
1345 enable_pstorec
1346 enable_pwrshplugin
1347 enable_qasf
1348 enable_qcap
1349 enable_qdvd
1350 enable_qedit
1351 enable_qmgr
1352 enable_qmgrprxy
1353 enable_quartz
1354 enable_query
1355 enable_qwave
1356 enable_rasapi32
1357 enable_rasdlg
1358 enable_regapi
1359 enable_resutils
1360 enable_riched20
1361 enable_riched32
1362 enable_rpcrt4
1363 enable_rsabase
1364 enable_rsaenh
1365 enable_rstrtmgr
1366 enable_rtutils
1367 enable_rtworkq
1368 enable_samlib
1369 enable_sane_ds
1370 enable_sapi
1371 enable_sas
1372 enable_scarddlg
1373 enable_scardsvr
1374 enable_sccbase
1375 enable_schannel
1376 enable_schedsvc
1377 enable_scrobj
1378 enable_scrrun
1379 enable_scsiport_sys
1380 enable_sechost
1381 enable_secur32
1382 enable_security
1383 enable_sensapi
1384 enable_serialui
1385 enable_setupapi
1386 enable_sfc
1387 enable_sfc_os
1388 enable_shcore
1389 enable_shdoclc
1390 enable_shdocvw
1391 enable_shell32
1392 enable_shfolder
1393 enable_shlwapi
1394 enable_slbcsp
1395 enable_slc
1396 enable_snmpapi
1397 enable_softpub
1398 enable_spoolss
1399 enable_sppc
1400 enable_srclient
1401 enable_srvcli
1402 enable_sspicli
1403 enable_stdole2_tlb
1404 enable_stdole32_tlb
1405 enable_sti
1406 enable_strmdll
1407 enable_svrapi
1408 enable_sxs
1409 enable_t2embed
1410 enable_tapi32
1411 enable_taskschd
1412 enable_tbs
1413 enable_tdh
1414 enable_tdi_sys
1415 enable_threadpoolwinrt
1416 enable_traffic
1417 enable_twain_32
1418 enable_twinapi_appcore
1419 enable_tzres
1420 enable_ucrtbase
1421 enable_uianimation
1422 enable_uiautomationcore
1423 enable_uiribbon
1424 enable_unicows
1425 enable_updspapi
1426 enable_url
1427 enable_urlmon
1428 enable_usbd_sys
1429 enable_user32
1430 enable_userenv
1431 enable_usp10
1432 enable_utildll
1433 enable_uxtheme
1434 enable_vbscript
1435 enable_vcomp
1436 enable_vcomp100
1437 enable_vcomp110
1438 enable_vcomp120
1439 enable_vcomp140
1440 enable_vcomp90
1441 enable_vcruntime140
1442 enable_vcruntime140_1
1443 enable_vdmdbg
1444 enable_version
1445 enable_vga
1446 enable_virtdisk
1447 enable_vssapi
1448 enable_vulkan_1
1449 enable_wbemdisp
1450 enable_wbemprox
1451 enable_wdscore
1452 enable_webservices
1453 enable_websocket
1454 enable_wer
1455 enable_wevtapi
1456 enable_wevtsvc
1457 enable_wiaservc
1458 enable_wimgapi
1459 enable_win32u
1460 enable_windows_devices_bluetooth
1461 enable_windows_devices_enumeration
1462 enable_windows_devices_usb
1463 enable_windows_gaming_input
1464 enable_windows_gaming_ui_gamebar
1465 enable_windows_globalization
1466 enable_windows_media_devices
1467 enable_windows_media_speech
1468 enable_windows_media
1469 enable_windows_networking_hostname
1470 enable_windows_networking
1471 enable_windows_perception_stub
1472 enable_windows_system_profile_systemmanufacturers
1473 enable_windows_ui
1474 enable_windowscodecs
1475 enable_windowscodecsext
1476 enable_winealsa_drv
1477 enable_wineandroid_drv
1478 enable_winebus_sys
1479 enable_winecoreaudio_drv
1480 enable_winecrt0
1481 enable_wined3d
1482 enable_winegstreamer
1483 enable_winehid_sys
1484 enable_winemac_drv
1485 enable_winemapi
1486 enable_wineoss_drv
1487 enable_wineps_drv
1488 enable_winepulse_drv
1489 enable_wineusb_sys
1490 enable_winevulkan
1491 enable_winewayland_drv
1492 enable_winex11_drv
1493 enable_winexinput_sys
1494 enable_wing32
1495 enable_winhttp
1496 enable_wininet
1497 enable_winmm
1498 enable_winnls32
1499 enable_winprint
1500 enable_winscard
1501 enable_winspool_drv
1502 enable_winsta
1503 enable_wintab32
1504 enable_wintrust
1505 enable_wintypes
1506 enable_winusb
1507 enable_wlanapi
1508 enable_wlanui
1509 enable_wldap32
1510 enable_wmasf
1511 enable_wmi
1512 enable_wmiutils
1513 enable_wmp
1514 enable_wmphoto
1515 enable_wmvcore
1516 enable_wnaspi32
1517 enable_wofutil
1518 enable_wow64
1519 enable_wow64cpu
1520 enable_wow64win
1521 enable_wpc
1522 enable_wpcap
1523 enable_ws2_32
1524 enable_wsdapi
1525 enable_wshom_ocx
1526 enable_wsnmp32
1527 enable_wsock32
1528 enable_wtsapi32
1529 enable_wuapi
1530 enable_wuaueng
1531 enable_x3daudio1_0
1532 enable_x3daudio1_1
1533 enable_x3daudio1_2
1534 enable_x3daudio1_3
1535 enable_x3daudio1_4
1536 enable_x3daudio1_5
1537 enable_x3daudio1_6
1538 enable_x3daudio1_7
1539 enable_xactengine2_0
1540 enable_xactengine2_4
1541 enable_xactengine2_7
1542 enable_xactengine2_9
1543 enable_xactengine3_0
1544 enable_xactengine3_1
1545 enable_xactengine3_2
1546 enable_xactengine3_3
1547 enable_xactengine3_4
1548 enable_xactengine3_5
1549 enable_xactengine3_6
1550 enable_xactengine3_7
1551 enable_xapofx1_1
1552 enable_xapofx1_2
1553 enable_xapofx1_3
1554 enable_xapofx1_4
1555 enable_xapofx1_5
1556 enable_xaudio2_0
1557 enable_xaudio2_1
1558 enable_xaudio2_2
1559 enable_xaudio2_3
1560 enable_xaudio2_4
1561 enable_xaudio2_5
1562 enable_xaudio2_6
1563 enable_xaudio2_7
1564 enable_xaudio2_8
1565 enable_xaudio2_9
1566 enable_xinput1_1
1567 enable_xinput1_2
1568 enable_xinput1_3
1569 enable_xinput1_4
1570 enable_xinput9_1_0
1571 enable_xinputuap
1572 enable_xmllite
1573 enable_xolehlp
1574 enable_xpsprint
1575 enable_xpssvcs
1576 enable_fonts
1577 enable_include
1578 enable_adsiid
1579 enable_dmoguids
1580 enable_dxerr8
1581 enable_dxerr9
1582 enable_dxguid
1583 enable_faudio
1584 enable_gsm
1585 enable_jpeg
1586 enable_jxr
1587 enable_lcms2
1588 enable_ldap
1589 enable_mfuuid
1590 enable_mpg123
1591 enable_musl
1592 enable_png
1593 enable_strmbase
1594 enable_strmiids
1595 enable_tiff
1596 enable_uuid
1597 enable_vkd3d
1598 enable_wbemuuid
1599 enable_wmcodecdspuuid
1600 enable_xml2
1601 enable_xslt
1602 enable_zlib
1603 enable_zydis
1604 enable_loader
1605 enable_nls
1606 enable_po
1607 enable_arp
1608 enable_aspnet_regiis
1609 enable_attrib
1610 enable_cabarc
1611 enable_cacls
1612 enable_certutil
1613 enable_chcp_com
1614 enable_clock
1615 enable_cmd
1616 enable_conhost
1617 enable_control
1618 enable_cscript
1619 enable_dism
1620 enable_dllhost
1621 enable_dplaysvr
1622 enable_dpnsvr
1623 enable_dpvsetup
1624 enable_dxdiag
1625 enable_eject
1626 enable_expand
1627 enable_explorer
1628 enable_extrac32
1629 enable_fc
1630 enable_find
1631 enable_findstr
1632 enable_fsutil
1633 enable_hh
1634 enable_hostname
1635 enable_icacls
1636 enable_icinfo
1637 enable_iexplore
1638 enable_ipconfig
1639 enable_klist
1640 enable_lodctr
1641 enable_mofcomp
1642 enable_mshta
1643 enable_msidb
1644 enable_msiexec
1645 enable_msinfo32
1646 enable_net
1647 enable_netsh
1648 enable_netstat
1649 enable_ngen
1650 enable_notepad
1651 enable_oleview
1652 enable_ping
1653 enable_plugplay
1654 enable_pnputil
1655 enable_powershell
1656 enable_presentationfontcache
1657 enable_progman
1658 enable_reg
1659 enable_regasm
1660 enable_regedit
1661 enable_regini
1662 enable_regsvcs
1663 enable_regsvr32
1664 enable_robocopy
1665 enable_rpcss
1666 enable_rundll32
1667 enable_sc
1668 enable_schtasks
1669 enable_sdbinst
1670 enable_secedit
1671 enable_servicemodelreg
1672 enable_services
1673 enable_setx
1674 enable_shutdown
1675 enable_spoolsv
1676 enable_start
1677 enable_subst
1678 enable_svchost
1679 enable_systeminfo
1680 enable_taskkill
1681 enable_tasklist
1682 enable_taskmgr
1683 enable_termsv
1684 enable_uninstaller
1685 enable_unlodctr
1686 enable_view
1687 enable_wevtutil
1688 enable_where
1689 enable_whoami
1690 enable_wineboot
1691 enable_winebrowser
1692 enable_winecfg
1693 enable_wineconsole
1694 enable_winedbg
1695 enable_winedevice
1696 enable_winefile
1697 enable_winemenubuilder
1698 enable_winemine
1699 enable_winemsibuilder
1700 enable_winepath
1701 enable_winetest
1702 enable_winhlp32
1703 enable_winmgmt
1704 enable_winver
1705 enable_wmic
1706 enable_wmplayer
1707 enable_wordpad
1708 enable_write
1709 enable_wscript
1710 enable_wuauserv
1711 enable_wusa
1712 enable_xcopy
1713 enable_server
1714 enable_tools
1715 enable_sfnt2fon
1716 enable_widl
1717 enable_winebuild
1718 enable_winedump
1719 enable_winegcc
1720 enable_winemaker
1721 enable_wmc
1722 enable_wrc
1724 ac_precious_vars='build_alias
1725 host_alias
1726 target_alias
1728 CFLAGS
1729 LDFLAGS
1730 LIBS
1731 CPPFLAGS
1733 CXXFLAGS
1735 OBJC
1736 OBJCFLAGS
1737 FAUDIO_PE_CFLAGS
1738 FAUDIO_PE_LIBS
1739 GSM_PE_CFLAGS
1740 GSM_PE_LIBS
1741 JPEG_PE_CFLAGS
1742 JPEG_PE_LIBS
1743 JXR_PE_CFLAGS
1744 JXR_PE_LIBS
1745 LCMS2_PE_CFLAGS
1746 LCMS2_PE_LIBS
1747 LDAP_PE_CFLAGS
1748 LDAP_PE_LIBS
1749 MPG123_PE_CFLAGS
1750 MPG123_PE_LIBS
1751 MUSL_PE_CFLAGS
1752 MUSL_PE_LIBS
1753 PNG_PE_CFLAGS
1754 PNG_PE_LIBS
1755 TIFF_PE_CFLAGS
1756 TIFF_PE_LIBS
1757 VKD3D_PE_CFLAGS
1758 VKD3D_PE_LIBS
1759 XML2_PE_CFLAGS
1760 XML2_PE_LIBS
1761 XSLT_PE_CFLAGS
1762 XSLT_PE_LIBS
1763 ZLIB_PE_CFLAGS
1764 ZLIB_PE_LIBS
1765 ZYDIS_PE_CFLAGS
1766 ZYDIS_PE_LIBS
1767 XMKMF
1769 WAYLAND_CLIENT_CFLAGS
1770 WAYLAND_CLIENT_LIBS
1771 INOTIFY_CFLAGS
1772 INOTIFY_LIBS
1773 DBUS_CFLAGS
1774 DBUS_LIBS
1775 GNUTLS_CFLAGS
1776 GNUTLS_LIBS
1777 SANE_CFLAGS
1778 SANE_LIBS
1779 USB_CFLAGS
1780 USB_LIBS
1781 GPHOTO2_CFLAGS
1782 GPHOTO2_LIBS
1783 GPHOTO2_PORT_CFLAGS
1784 GPHOTO2_PORT_LIBS
1785 FREETYPE_CFLAGS
1786 FREETYPE_LIBS
1787 PULSE_CFLAGS
1788 PULSE_LIBS
1789 GSTREAMER_CFLAGS
1790 GSTREAMER_LIBS
1791 UDEV_CFLAGS
1792 UDEV_LIBS
1793 UNWIND_CFLAGS
1794 UNWIND_LIBS
1795 SDL2_CFLAGS
1796 SDL2_LIBS
1797 CAPI20_CFLAGS
1798 CAPI20_LIBS
1799 CUPS_CFLAGS
1800 CUPS_LIBS
1801 FONTCONFIG_CFLAGS
1802 FONTCONFIG_LIBS
1803 KRB5_CFLAGS
1804 KRB5_LIBS
1805 GSSAPI_CFLAGS
1806 GSSAPI_LIBS
1807 NETAPI_CFLAGS
1808 NETAPI_LIBS'
1811 # Initialize some variables set by options.
1812 ac_init_help=
1813 ac_init_version=false
1814 ac_unrecognized_opts=
1815 ac_unrecognized_sep=
1816 # The variables have the same names as the options, with
1817 # dashes changed to underlines.
1818 cache_file=/dev/null
1819 exec_prefix=NONE
1820 no_create=
1821 no_recursion=
1822 prefix=NONE
1823 program_prefix=NONE
1824 program_suffix=NONE
1825 program_transform_name=s,x,x,
1826 silent=
1827 site=
1828 srcdir=
1829 verbose=
1830 x_includes=NONE
1831 x_libraries=NONE
1833 # Installation directory options.
1834 # These are left unexpanded so users can "make install exec_prefix=/foo"
1835 # and all the variables that are supposed to be based on exec_prefix
1836 # by default will actually change.
1837 # Use braces instead of parens because sh, perl, etc. also accept them.
1838 # (The list follows the same order as the GNU Coding Standards.)
1839 bindir='${exec_prefix}/bin'
1840 sbindir='${exec_prefix}/sbin'
1841 libexecdir='${exec_prefix}/libexec'
1842 datarootdir='${prefix}/share'
1843 datadir='${datarootdir}'
1844 sysconfdir='${prefix}/etc'
1845 sharedstatedir='${prefix}/com'
1846 localstatedir='${prefix}/var'
1847 runstatedir='${localstatedir}/run'
1848 includedir='${prefix}/include'
1849 oldincludedir='/usr/include'
1850 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1851 infodir='${datarootdir}/info'
1852 htmldir='${docdir}'
1853 dvidir='${docdir}'
1854 pdfdir='${docdir}'
1855 psdir='${docdir}'
1856 libdir='${exec_prefix}/lib'
1857 localedir='${datarootdir}/locale'
1858 mandir='${datarootdir}/man'
1860 ac_prev=
1861 ac_dashdash=
1862 for ac_option
1864 # If the previous option needs an argument, assign it.
1865 if test -n "$ac_prev"; then
1866 eval $ac_prev=\$ac_option
1867 ac_prev=
1868 continue
1871 case $ac_option in
1872 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1873 *=) ac_optarg= ;;
1874 *) ac_optarg=yes ;;
1875 esac
1877 case $ac_dashdash$ac_option in
1879 ac_dashdash=yes ;;
1881 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1882 ac_prev=bindir ;;
1883 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1884 bindir=$ac_optarg ;;
1886 -build | --build | --buil | --bui | --bu)
1887 ac_prev=build_alias ;;
1888 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1889 build_alias=$ac_optarg ;;
1891 -cache-file | --cache-file | --cache-fil | --cache-fi \
1892 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1893 ac_prev=cache_file ;;
1894 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1895 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1896 cache_file=$ac_optarg ;;
1898 --config-cache | -C)
1899 cache_file=config.cache ;;
1901 -datadir | --datadir | --datadi | --datad)
1902 ac_prev=datadir ;;
1903 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1904 datadir=$ac_optarg ;;
1906 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1907 | --dataroo | --dataro | --datar)
1908 ac_prev=datarootdir ;;
1909 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1910 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1911 datarootdir=$ac_optarg ;;
1913 -disable-* | --disable-*)
1914 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1915 # Reject names that are not valid shell variable names.
1916 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1917 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1918 ac_useropt_orig=$ac_useropt
1919 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1920 case $ac_user_opts in
1922 "enable_$ac_useropt"
1923 "*) ;;
1924 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1925 ac_unrecognized_sep=', ';;
1926 esac
1927 eval enable_$ac_useropt=no ;;
1929 -docdir | --docdir | --docdi | --doc | --do)
1930 ac_prev=docdir ;;
1931 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1932 docdir=$ac_optarg ;;
1934 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1935 ac_prev=dvidir ;;
1936 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1937 dvidir=$ac_optarg ;;
1939 -enable-* | --enable-*)
1940 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1941 # Reject names that are not valid shell variable names.
1942 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1943 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1944 ac_useropt_orig=$ac_useropt
1945 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1946 case $ac_user_opts in
1948 "enable_$ac_useropt"
1949 "*) ;;
1950 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1951 ac_unrecognized_sep=', ';;
1952 esac
1953 eval enable_$ac_useropt=\$ac_optarg ;;
1955 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1956 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1957 | --exec | --exe | --ex)
1958 ac_prev=exec_prefix ;;
1959 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1960 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1961 | --exec=* | --exe=* | --ex=*)
1962 exec_prefix=$ac_optarg ;;
1964 -gas | --gas | --ga | --g)
1965 # Obsolete; use --with-gas.
1966 with_gas=yes ;;
1968 -help | --help | --hel | --he | -h)
1969 ac_init_help=long ;;
1970 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1971 ac_init_help=recursive ;;
1972 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1973 ac_init_help=short ;;
1975 -host | --host | --hos | --ho)
1976 ac_prev=host_alias ;;
1977 -host=* | --host=* | --hos=* | --ho=*)
1978 host_alias=$ac_optarg ;;
1980 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1981 ac_prev=htmldir ;;
1982 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1983 | --ht=*)
1984 htmldir=$ac_optarg ;;
1986 -includedir | --includedir | --includedi | --included | --include \
1987 | --includ | --inclu | --incl | --inc)
1988 ac_prev=includedir ;;
1989 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1990 | --includ=* | --inclu=* | --incl=* | --inc=*)
1991 includedir=$ac_optarg ;;
1993 -infodir | --infodir | --infodi | --infod | --info | --inf)
1994 ac_prev=infodir ;;
1995 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1996 infodir=$ac_optarg ;;
1998 -libdir | --libdir | --libdi | --libd)
1999 ac_prev=libdir ;;
2000 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2001 libdir=$ac_optarg ;;
2003 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2004 | --libexe | --libex | --libe)
2005 ac_prev=libexecdir ;;
2006 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2007 | --libexe=* | --libex=* | --libe=*)
2008 libexecdir=$ac_optarg ;;
2010 -localedir | --localedir | --localedi | --localed | --locale)
2011 ac_prev=localedir ;;
2012 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2013 localedir=$ac_optarg ;;
2015 -localstatedir | --localstatedir | --localstatedi | --localstated \
2016 | --localstate | --localstat | --localsta | --localst | --locals)
2017 ac_prev=localstatedir ;;
2018 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2019 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2020 localstatedir=$ac_optarg ;;
2022 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2023 ac_prev=mandir ;;
2024 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2025 mandir=$ac_optarg ;;
2027 -nfp | --nfp | --nf)
2028 # Obsolete; use --without-fp.
2029 with_fp=no ;;
2031 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2032 | --no-cr | --no-c | -n)
2033 no_create=yes ;;
2035 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2036 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2037 no_recursion=yes ;;
2039 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2040 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2041 | --oldin | --oldi | --old | --ol | --o)
2042 ac_prev=oldincludedir ;;
2043 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2044 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2045 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2046 oldincludedir=$ac_optarg ;;
2048 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2049 ac_prev=prefix ;;
2050 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2051 prefix=$ac_optarg ;;
2053 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2054 | --program-pre | --program-pr | --program-p)
2055 ac_prev=program_prefix ;;
2056 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2057 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2058 program_prefix=$ac_optarg ;;
2060 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2061 | --program-suf | --program-su | --program-s)
2062 ac_prev=program_suffix ;;
2063 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2064 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2065 program_suffix=$ac_optarg ;;
2067 -program-transform-name | --program-transform-name \
2068 | --program-transform-nam | --program-transform-na \
2069 | --program-transform-n | --program-transform- \
2070 | --program-transform | --program-transfor \
2071 | --program-transfo | --program-transf \
2072 | --program-trans | --program-tran \
2073 | --progr-tra | --program-tr | --program-t)
2074 ac_prev=program_transform_name ;;
2075 -program-transform-name=* | --program-transform-name=* \
2076 | --program-transform-nam=* | --program-transform-na=* \
2077 | --program-transform-n=* | --program-transform-=* \
2078 | --program-transform=* | --program-transfor=* \
2079 | --program-transfo=* | --program-transf=* \
2080 | --program-trans=* | --program-tran=* \
2081 | --progr-tra=* | --program-tr=* | --program-t=*)
2082 program_transform_name=$ac_optarg ;;
2084 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2085 ac_prev=pdfdir ;;
2086 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2087 pdfdir=$ac_optarg ;;
2089 -psdir | --psdir | --psdi | --psd | --ps)
2090 ac_prev=psdir ;;
2091 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2092 psdir=$ac_optarg ;;
2094 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2095 | -silent | --silent | --silen | --sile | --sil)
2096 silent=yes ;;
2098 -runstatedir | --runstatedir | --runstatedi | --runstated \
2099 | --runstate | --runstat | --runsta | --runst | --runs \
2100 | --run | --ru | --r)
2101 ac_prev=runstatedir ;;
2102 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2103 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2104 | --run=* | --ru=* | --r=*)
2105 runstatedir=$ac_optarg ;;
2107 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2108 ac_prev=sbindir ;;
2109 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2110 | --sbi=* | --sb=*)
2111 sbindir=$ac_optarg ;;
2113 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2114 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2115 | --sharedst | --shareds | --shared | --share | --shar \
2116 | --sha | --sh)
2117 ac_prev=sharedstatedir ;;
2118 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2119 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2120 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2121 | --sha=* | --sh=*)
2122 sharedstatedir=$ac_optarg ;;
2124 -site | --site | --sit)
2125 ac_prev=site ;;
2126 -site=* | --site=* | --sit=*)
2127 site=$ac_optarg ;;
2129 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2130 ac_prev=srcdir ;;
2131 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2132 srcdir=$ac_optarg ;;
2134 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2135 | --syscon | --sysco | --sysc | --sys | --sy)
2136 ac_prev=sysconfdir ;;
2137 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2138 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2139 sysconfdir=$ac_optarg ;;
2141 -target | --target | --targe | --targ | --tar | --ta | --t)
2142 ac_prev=target_alias ;;
2143 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2144 target_alias=$ac_optarg ;;
2146 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2147 verbose=yes ;;
2149 -version | --version | --versio | --versi | --vers | -V)
2150 ac_init_version=: ;;
2152 -with-* | --with-*)
2153 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2154 # Reject names that are not valid shell variable names.
2155 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2156 as_fn_error $? "invalid package name: \`$ac_useropt'"
2157 ac_useropt_orig=$ac_useropt
2158 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2159 case $ac_user_opts in
2161 "with_$ac_useropt"
2162 "*) ;;
2163 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2164 ac_unrecognized_sep=', ';;
2165 esac
2166 eval with_$ac_useropt=\$ac_optarg ;;
2168 -without-* | --without-*)
2169 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2170 # Reject names that are not valid shell variable names.
2171 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2172 as_fn_error $? "invalid package name: \`$ac_useropt'"
2173 ac_useropt_orig=$ac_useropt
2174 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2175 case $ac_user_opts in
2177 "with_$ac_useropt"
2178 "*) ;;
2179 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2180 ac_unrecognized_sep=', ';;
2181 esac
2182 eval with_$ac_useropt=no ;;
2184 --x)
2185 # Obsolete; use --with-x.
2186 with_x=yes ;;
2188 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2189 | --x-incl | --x-inc | --x-in | --x-i)
2190 ac_prev=x_includes ;;
2191 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2192 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2193 x_includes=$ac_optarg ;;
2195 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2196 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2197 ac_prev=x_libraries ;;
2198 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2199 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2200 x_libraries=$ac_optarg ;;
2202 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2203 Try \`$0 --help' for more information"
2206 *=*)
2207 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2208 # Reject names that are not valid shell variable names.
2209 case $ac_envvar in #(
2210 '' | [0-9]* | *[!_$as_cr_alnum]* )
2211 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2212 esac
2213 eval $ac_envvar=\$ac_optarg
2214 export $ac_envvar ;;
2217 # FIXME: should be removed in autoconf 3.0.
2218 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2219 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2220 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2221 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2224 esac
2225 done
2227 if test -n "$ac_prev"; then
2228 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2229 as_fn_error $? "missing argument to $ac_option"
2232 if test -n "$ac_unrecognized_opts"; then
2233 case $enable_option_checking in
2234 no) ;;
2235 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2236 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2237 esac
2240 # Check all directory arguments for consistency.
2241 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2242 datadir sysconfdir sharedstatedir localstatedir includedir \
2243 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2244 libdir localedir mandir runstatedir
2246 eval ac_val=\$$ac_var
2247 # Remove trailing slashes.
2248 case $ac_val in
2249 */ )
2250 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2251 eval $ac_var=\$ac_val;;
2252 esac
2253 # Be sure to have absolute directory names.
2254 case $ac_val in
2255 [\\/$]* | ?:[\\/]* ) continue;;
2256 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2257 esac
2258 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2259 done
2261 # There might be people who depend on the old broken behavior: `$host'
2262 # used to hold the argument of --host etc.
2263 # FIXME: To remove some day.
2264 build=$build_alias
2265 host=$host_alias
2266 target=$target_alias
2268 # FIXME: To remove some day.
2269 if test "x$host_alias" != x; then
2270 if test "x$build_alias" = x; then
2271 cross_compiling=maybe
2272 elif test "x$build_alias" != "x$host_alias"; then
2273 cross_compiling=yes
2277 ac_tool_prefix=
2278 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2280 test "$silent" = yes && exec 6>/dev/null
2283 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2284 ac_ls_di=`ls -di .` &&
2285 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2286 as_fn_error $? "working directory cannot be determined"
2287 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2288 as_fn_error $? "pwd does not report name of working directory"
2291 # Find the source files, if location was not specified.
2292 if test -z "$srcdir"; then
2293 ac_srcdir_defaulted=yes
2294 # Try the directory containing this script, then the parent directory.
2295 ac_confdir=`$as_dirname -- "$as_myself" ||
2296 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2297 X"$as_myself" : 'X\(//\)[^/]' \| \
2298 X"$as_myself" : 'X\(//\)$' \| \
2299 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2300 printf "%s\n" X"$as_myself" |
2301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2302 s//\1/
2305 /^X\(\/\/\)[^/].*/{
2306 s//\1/
2309 /^X\(\/\/\)$/{
2310 s//\1/
2313 /^X\(\/\).*/{
2314 s//\1/
2317 s/.*/./; q'`
2318 srcdir=$ac_confdir
2319 if test ! -r "$srcdir/$ac_unique_file"; then
2320 srcdir=..
2322 else
2323 ac_srcdir_defaulted=no
2325 if test ! -r "$srcdir/$ac_unique_file"; then
2326 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2327 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2329 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2330 ac_abs_confdir=`(
2331 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2332 pwd)`
2333 # When building in place, set srcdir=.
2334 if test "$ac_abs_confdir" = "$ac_pwd"; then
2335 srcdir=.
2337 # Remove unnecessary trailing slashes from srcdir.
2338 # Double slashes in file names in object file debugging info
2339 # mess up M-x gdb in Emacs.
2340 case $srcdir in
2341 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2342 esac
2343 for ac_var in $ac_precious_vars; do
2344 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2345 eval ac_env_${ac_var}_value=\$${ac_var}
2346 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2347 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2348 done
2351 # Report the --help message.
2353 if test "$ac_init_help" = "long"; then
2354 # Omit some internal or obsolete options to make the list less imposing.
2355 # This message is too long to be a string in the A/UX 3.1 sh.
2356 cat <<_ACEOF
2357 \`configure' configures Wine 8.13 to adapt to many kinds of systems.
2359 Usage: $0 [OPTION]... [VAR=VALUE]...
2361 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2362 VAR=VALUE. See below for descriptions of some of the useful variables.
2364 Defaults for the options are specified in brackets.
2366 Configuration:
2367 -h, --help display this help and exit
2368 --help=short display options specific to this package
2369 --help=recursive display the short help of all the included packages
2370 -V, --version display version information and exit
2371 -q, --quiet, --silent do not print \`checking ...' messages
2372 --cache-file=FILE cache test results in FILE [disabled]
2373 -C, --config-cache alias for \`--cache-file=config.cache'
2374 -n, --no-create do not create output files
2375 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2377 Installation directories:
2378 --prefix=PREFIX install architecture-independent files in PREFIX
2379 [$ac_default_prefix]
2380 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2381 [PREFIX]
2383 By default, \`make install' will install all the files in
2384 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2385 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2386 for instance \`--prefix=\$HOME'.
2388 For better control, use the options below.
2390 Fine tuning of the installation directories:
2391 --bindir=DIR user executables [EPREFIX/bin]
2392 --sbindir=DIR system admin executables [EPREFIX/sbin]
2393 --libexecdir=DIR program executables [EPREFIX/libexec]
2394 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2395 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2396 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2397 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2398 --libdir=DIR object code libraries [EPREFIX/lib]
2399 --includedir=DIR C header files [PREFIX/include]
2400 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2401 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2402 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2403 --infodir=DIR info documentation [DATAROOTDIR/info]
2404 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2405 --mandir=DIR man documentation [DATAROOTDIR/man]
2406 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2407 --htmldir=DIR html documentation [DOCDIR]
2408 --dvidir=DIR dvi documentation [DOCDIR]
2409 --pdfdir=DIR pdf documentation [DOCDIR]
2410 --psdir=DIR ps documentation [DOCDIR]
2411 _ACEOF
2413 cat <<\_ACEOF
2415 X features:
2416 --x-includes=DIR X include files are in DIR
2417 --x-libraries=DIR X library files are in DIR
2419 System types:
2420 --build=BUILD configure for building on BUILD [guessed]
2421 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2422 _ACEOF
2425 if test -n "$ac_init_help"; then
2426 case $ac_init_help in
2427 short | recursive ) echo "Configuration of Wine 8.13:";;
2428 esac
2429 cat <<\_ACEOF
2431 Optional Features:
2432 --disable-option-checking ignore unrecognized --enable/--with options
2433 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2434 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2435 --enable-archs={i386,x86_64,arm,aarch64}
2436 enable multiple architectures for PE compilation
2437 --disable-win16 do not include Win16 support
2438 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2439 binaries)
2440 --disable-tests do not build the regression tests
2441 --enable-build-id include .buildid section in output objects
2442 --enable-maintainer-mode
2443 enable maintainer-specific build rules
2444 --enable-silent-rules use silent build rules (override: "make V=1")
2445 --enable-werror treat compilation warnings as errors
2446 --disable-largefile omit support for large files
2448 Optional Packages:
2449 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2450 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2451 --without-alsa do not use the Alsa sound support
2452 --without-capi do not use CAPI (ISDN support)
2453 --without-coreaudio do not use the CoreAudio sound support
2454 --without-cups do not use CUPS
2455 --without-dbus do not use DBus (dynamic device support)
2456 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2457 --without-fontconfig do not use fontconfig
2458 --without-freetype do not use the FreeType library
2459 --without-gettext do not use gettext
2460 --with-gettextpo use the GetTextPO library to rebuild po files
2461 --without-gphoto do not use gphoto (Digital Camera support)
2462 --without-gnutls do not use GnuTLS (schannel support)
2463 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2464 --without-gstreamer do not use GStreamer (codecs support)
2465 --without-inotify do not use inotify (filesystem change notifications)
2466 --without-krb5 do not use krb5 (Kerberos)
2467 --without-mingw do not use the MinGW cross-compiler
2468 --without-netapi do not use the Samba NetAPI library
2469 --without-opencl do not use OpenCL
2470 --without-opengl do not use OpenGL
2471 --without-osmesa do not use the OSMesa library
2472 --without-oss do not use the OSS sound support
2473 --without-pcap do not use the Packet Capture library
2474 --without-pcsclite do not use PCSC lite
2475 --without-pthread do not use the pthread library
2476 --without-pulse do not use PulseAudio sound support
2477 --without-sane do not use SANE (scanner support)
2478 --without-sdl do not use SDL
2479 --without-udev do not use udev (plug and play support)
2480 --without-unwind do not use the libunwind library (exception
2481 handling)
2482 --without-usb do not use the libusb library
2483 --without-v4l2 do not use v4l2 (video capture)
2484 --without-vulkan do not use Vulkan
2485 --without-wayland do not build the Wayland driver
2486 --without-xcomposite do not use the Xcomposite extension
2487 --without-xcursor do not use the Xcursor extension
2488 --without-xfixes do not use Xfixes for clipboard change notifications
2489 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2490 --without-xinput do not use the Xinput extension
2491 --without-xinput2 do not use the Xinput 2 extension
2492 --without-xrandr do not use Xrandr (multi-monitor support)
2493 --without-xrender do not use the Xrender extension
2494 --without-xshape do not use the Xshape extension
2495 --without-xshm do not use XShm (shared memory extension)
2496 --without-xxf86vm do not use XFree video mode extension
2497 --with-system-dllpath=PATH
2498 load external PE dependencies from colon-separated
2499 path PATH
2500 --with-wine-tools=DIR use Wine tools from directory DIR
2501 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2502 --with-x use the X Window System
2504 Some influential environment variables:
2505 CC C compiler command
2506 CFLAGS C compiler flags
2507 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2508 nonstandard directory <lib dir>
2509 LIBS libraries to pass to the linker, e.g. -l<library>
2510 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2511 you have headers in a nonstandard directory <include dir>
2512 CXX C++ compiler command
2513 CXXFLAGS C++ compiler flags
2514 OBJC Objective C compiler command
2515 OBJCFLAGS Objective C compiler flags
2516 FAUDIO_PE_CFLAGS
2517 C compiler flags for the PE faudio, overriding the bundled
2518 version
2519 FAUDIO_PE_LIBS
2520 Linker flags for the PE faudio, overriding the bundled version
2521 GSM_PE_CFLAGS
2522 C compiler flags for the PE gsm, overriding the bundled version
2523 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2524 JPEG_PE_CFLAGS
2525 C compiler flags for the PE jpeg, overriding the bundled version
2526 JPEG_PE_LIBS
2527 Linker flags for the PE jpeg, overriding the bundled version
2528 JXR_PE_CFLAGS
2529 C compiler flags for the PE jxr, overriding the bundled version
2530 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2531 LCMS2_PE_CFLAGS
2532 C compiler flags for the PE lcms2, overriding the bundled
2533 version
2534 LCMS2_PE_LIBS
2535 Linker flags for the PE lcms2, overriding the bundled version
2536 LDAP_PE_CFLAGS
2537 C compiler flags for the PE ldap, overriding the bundled version
2538 LDAP_PE_LIBS
2539 Linker flags for the PE ldap, overriding the bundled version
2540 MPG123_PE_CFLAGS
2541 C compiler flags for the PE mpg123, overriding the bundled
2542 version
2543 MPG123_PE_LIBS
2544 Linker flags for the PE mpg123, overriding the bundled version
2545 MUSL_PE_CFLAGS
2546 C compiler flags for the PE musl, overriding the bundled version
2547 MUSL_PE_LIBS
2548 Linker flags for the PE musl, overriding the bundled version
2549 PNG_PE_CFLAGS
2550 C compiler flags for the PE png, overriding the bundled version
2551 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2552 TIFF_PE_CFLAGS
2553 C compiler flags for the PE tiff, overriding the bundled version
2554 TIFF_PE_LIBS
2555 Linker flags for the PE tiff, overriding the bundled version
2556 VKD3D_PE_CFLAGS
2557 C compiler flags for the PE vkd3d, overriding the bundled
2558 version
2559 VKD3D_PE_LIBS
2560 Linker flags for the PE vkd3d, overriding the bundled version
2561 XML2_PE_CFLAGS
2562 C compiler flags for the PE xml2, overriding the bundled version
2563 XML2_PE_LIBS
2564 Linker flags for the PE xml2, overriding the bundled version
2565 XSLT_PE_CFLAGS
2566 C compiler flags for the PE xslt, overriding the bundled version
2567 XSLT_PE_LIBS
2568 Linker flags for the PE xslt, overriding the bundled version
2569 ZLIB_PE_CFLAGS
2570 C compiler flags for the PE zlib, overriding the bundled version
2571 ZLIB_PE_LIBS
2572 Linker flags for the PE zlib, overriding the bundled version
2573 ZYDIS_PE_CFLAGS
2574 C compiler flags for the PE zydis, overriding the bundled
2575 version
2576 ZYDIS_PE_LIBS
2577 Linker flags for the PE zydis, overriding the bundled version
2578 XMKMF Path to xmkmf, Makefile generator for X Window System
2579 CPP C preprocessor
2580 WAYLAND_CLIENT_CFLAGS
2581 C compiler flags for wayland-client, overriding pkg-config
2582 WAYLAND_CLIENT_LIBS
2583 Linker flags for wayland-client, overriding pkg-config
2584 INOTIFY_CFLAGS
2585 C compiler flags for libinotify, overriding pkg-config
2586 INOTIFY_LIBS
2587 Linker flags for libinotify, overriding pkg-config
2588 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2589 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2590 GNUTLS_CFLAGS
2591 C compiler flags for gnutls, overriding pkg-config
2592 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2593 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2594 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2595 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2596 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2597 GPHOTO2_CFLAGS
2598 C compiler flags for libgphoto2, overriding pkg-config
2599 GPHOTO2_LIBS
2600 Linker flags for libgphoto2, overriding pkg-config
2601 GPHOTO2_PORT_CFLAGS
2602 C compiler flags for libgphoto2_port, overriding pkg-config
2603 GPHOTO2_PORT_LIBS
2604 Linker flags for libgphoto2_port, overriding pkg-config
2605 FREETYPE_CFLAGS
2606 C compiler flags for freetype2, overriding pkg-config
2607 FREETYPE_LIBS
2608 Linker flags for freetype2, overriding pkg-config
2609 PULSE_CFLAGS
2610 C compiler flags for libpulse, overriding pkg-config
2611 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2612 GSTREAMER_CFLAGS
2613 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2614 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2615 GSTREAMER_LIBS
2616 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2617 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2618 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2619 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2620 UNWIND_CFLAGS
2621 C compiler flags for libunwind, overriding pkg-config
2622 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2623 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2624 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2625 CAPI20_CFLAGS
2626 C compiler flags for capi20, overriding pkg-config
2627 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2628 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2629 CUPS_LIBS Linker flags for cups, overriding pkg-config
2630 FONTCONFIG_CFLAGS
2631 C compiler flags for fontconfig, overriding pkg-config
2632 FONTCONFIG_LIBS
2633 Linker flags for fontconfig, overriding pkg-config
2634 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2635 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2636 GSSAPI_CFLAGS
2637 C compiler flags for krb5-gssapi, overriding pkg-config
2638 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2639 NETAPI_CFLAGS
2640 C compiler flags for netapi, overriding pkg-config
2641 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2643 Use these variables to override the choices made by `configure' or to help
2644 it to find libraries and programs with nonstandard names/locations.
2646 Report bugs to <wine-devel@winehq.org>.
2647 Wine home page: <https://www.winehq.org>.
2648 _ACEOF
2649 ac_status=$?
2652 if test "$ac_init_help" = "recursive"; then
2653 # If there are subdirs, report their specific --help.
2654 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2655 test -d "$ac_dir" ||
2656 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2657 continue
2658 ac_builddir=.
2660 case "$ac_dir" in
2661 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2663 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2664 # A ".." for each directory in $ac_dir_suffix.
2665 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2666 case $ac_top_builddir_sub in
2667 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2668 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2669 esac ;;
2670 esac
2671 ac_abs_top_builddir=$ac_pwd
2672 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2673 # for backward compatibility:
2674 ac_top_builddir=$ac_top_build_prefix
2676 case $srcdir in
2677 .) # We are building in place.
2678 ac_srcdir=.
2679 ac_top_srcdir=$ac_top_builddir_sub
2680 ac_abs_top_srcdir=$ac_pwd ;;
2681 [\\/]* | ?:[\\/]* ) # Absolute name.
2682 ac_srcdir=$srcdir$ac_dir_suffix;
2683 ac_top_srcdir=$srcdir
2684 ac_abs_top_srcdir=$srcdir ;;
2685 *) # Relative name.
2686 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2687 ac_top_srcdir=$ac_top_build_prefix$srcdir
2688 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2689 esac
2690 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2692 cd "$ac_dir" || { ac_status=$?; continue; }
2693 # Check for configure.gnu first; this name is used for a wrapper for
2694 # Metaconfig's "Configure" on case-insensitive file systems.
2695 if test -f "$ac_srcdir/configure.gnu"; then
2696 echo &&
2697 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2698 elif test -f "$ac_srcdir/configure"; then
2699 echo &&
2700 $SHELL "$ac_srcdir/configure" --help=recursive
2701 else
2702 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2703 fi || ac_status=$?
2704 cd "$ac_pwd" || { ac_status=$?; break; }
2705 done
2708 test -n "$ac_init_help" && exit $ac_status
2709 if $ac_init_version; then
2710 cat <<\_ACEOF
2711 Wine configure 8.13
2712 generated by GNU Autoconf 2.71
2714 Copyright (C) 2021 Free Software Foundation, Inc.
2715 This configure script is free software; the Free Software Foundation
2716 gives unlimited permission to copy, distribute and modify it.
2717 _ACEOF
2718 exit
2721 ## ------------------------ ##
2722 ## Autoconf initialization. ##
2723 ## ------------------------ ##
2725 # ac_fn_c_try_compile LINENO
2726 # --------------------------
2727 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2728 ac_fn_c_try_compile ()
2730 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2731 rm -f conftest.$ac_objext conftest.beam
2732 if { { ac_try="$ac_compile"
2733 case "(($ac_try" in
2734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2735 *) ac_try_echo=$ac_try;;
2736 esac
2737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2738 printf "%s\n" "$ac_try_echo"; } >&5
2739 (eval "$ac_compile") 2>conftest.err
2740 ac_status=$?
2741 if test -s conftest.err; then
2742 grep -v '^ *+' conftest.err >conftest.er1
2743 cat conftest.er1 >&5
2744 mv -f conftest.er1 conftest.err
2746 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2747 test $ac_status = 0; } && {
2748 test -z "$ac_c_werror_flag" ||
2749 test ! -s conftest.err
2750 } && test -s conftest.$ac_objext
2751 then :
2752 ac_retval=0
2753 else $as_nop
2754 printf "%s\n" "$as_me: failed program was:" >&5
2755 sed 's/^/| /' conftest.$ac_ext >&5
2757 ac_retval=1
2759 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2760 as_fn_set_status $ac_retval
2762 } # ac_fn_c_try_compile
2764 # ac_fn_cxx_try_compile LINENO
2765 # ----------------------------
2766 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2767 ac_fn_cxx_try_compile ()
2769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2770 rm -f conftest.$ac_objext conftest.beam
2771 if { { ac_try="$ac_compile"
2772 case "(($ac_try" in
2773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2774 *) ac_try_echo=$ac_try;;
2775 esac
2776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2777 printf "%s\n" "$ac_try_echo"; } >&5
2778 (eval "$ac_compile") 2>conftest.err
2779 ac_status=$?
2780 if test -s conftest.err; then
2781 grep -v '^ *+' conftest.err >conftest.er1
2782 cat conftest.er1 >&5
2783 mv -f conftest.er1 conftest.err
2785 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2786 test $ac_status = 0; } && {
2787 test -z "$ac_cxx_werror_flag" ||
2788 test ! -s conftest.err
2789 } && test -s conftest.$ac_objext
2790 then :
2791 ac_retval=0
2792 else $as_nop
2793 printf "%s\n" "$as_me: failed program was:" >&5
2794 sed 's/^/| /' conftest.$ac_ext >&5
2796 ac_retval=1
2798 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2799 as_fn_set_status $ac_retval
2801 } # ac_fn_cxx_try_compile
2803 # ac_fn_c_try_link LINENO
2804 # -----------------------
2805 # Try to link conftest.$ac_ext, and return whether this succeeded.
2806 ac_fn_c_try_link ()
2808 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2809 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2810 if { { ac_try="$ac_link"
2811 case "(($ac_try" in
2812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2813 *) ac_try_echo=$ac_try;;
2814 esac
2815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2816 printf "%s\n" "$ac_try_echo"; } >&5
2817 (eval "$ac_link") 2>conftest.err
2818 ac_status=$?
2819 if test -s conftest.err; then
2820 grep -v '^ *+' conftest.err >conftest.er1
2821 cat conftest.er1 >&5
2822 mv -f conftest.er1 conftest.err
2824 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2825 test $ac_status = 0; } && {
2826 test -z "$ac_c_werror_flag" ||
2827 test ! -s conftest.err
2828 } && test -s conftest$ac_exeext && {
2829 test "$cross_compiling" = yes ||
2830 test -x conftest$ac_exeext
2832 then :
2833 ac_retval=0
2834 else $as_nop
2835 printf "%s\n" "$as_me: failed program was:" >&5
2836 sed 's/^/| /' conftest.$ac_ext >&5
2838 ac_retval=1
2840 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2841 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2842 # interfere with the next link command; also delete a directory that is
2843 # left behind by Apple's compiler. We do this before executing the actions.
2844 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2845 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2846 as_fn_set_status $ac_retval
2848 } # ac_fn_c_try_link
2850 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2851 # -------------------------------------------------------
2852 # Tests whether HEADER exists and can be compiled using the include files in
2853 # INCLUDES, setting the cache variable VAR accordingly.
2854 ac_fn_c_check_header_compile ()
2856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2858 printf %s "checking for $2... " >&6; }
2859 if eval test \${$3+y}
2860 then :
2861 printf %s "(cached) " >&6
2862 else $as_nop
2863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2864 /* end confdefs.h. */
2866 #include <$2>
2867 _ACEOF
2868 if ac_fn_c_try_compile "$LINENO"
2869 then :
2870 eval "$3=yes"
2871 else $as_nop
2872 eval "$3=no"
2874 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2876 eval ac_res=\$$3
2877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2878 printf "%s\n" "$ac_res" >&6; }
2879 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2881 } # ac_fn_c_check_header_compile
2883 # ac_fn_objc_try_compile LINENO
2884 # -----------------------------
2885 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2886 ac_fn_objc_try_compile ()
2888 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2889 rm -f conftest.$ac_objext conftest.beam
2890 if { { ac_try="$ac_compile"
2891 case "(($ac_try" in
2892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2893 *) ac_try_echo=$ac_try;;
2894 esac
2895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2896 printf "%s\n" "$ac_try_echo"; } >&5
2897 (eval "$ac_compile") 2>conftest.err
2898 ac_status=$?
2899 if test -s conftest.err; then
2900 grep -v '^ *+' conftest.err >conftest.er1
2901 cat conftest.er1 >&5
2902 mv -f conftest.er1 conftest.err
2904 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2905 test $ac_status = 0; } && {
2906 test -z "$ac_objc_werror_flag" ||
2907 test ! -s conftest.err
2908 } && test -s conftest.$ac_objext
2909 then :
2910 ac_retval=0
2911 else $as_nop
2912 printf "%s\n" "$as_me: failed program was:" >&5
2913 sed 's/^/| /' conftest.$ac_ext >&5
2915 ac_retval=1
2917 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2918 as_fn_set_status $ac_retval
2920 } # ac_fn_objc_try_compile
2922 # ac_fn_c_check_func LINENO FUNC VAR
2923 # ----------------------------------
2924 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2925 ac_fn_c_check_func ()
2927 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2929 printf %s "checking for $2... " >&6; }
2930 if eval test \${$3+y}
2931 then :
2932 printf %s "(cached) " >&6
2933 else $as_nop
2934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2935 /* end confdefs.h. */
2936 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2938 #define $2 innocuous_$2
2940 /* System header to define __stub macros and hopefully few prototypes,
2941 which can conflict with char $2 (); below. */
2943 #include <limits.h>
2944 #undef $2
2946 /* Override any GCC internal prototype to avoid an error.
2947 Use char because int might match the return type of a GCC
2948 builtin and then its argument prototype would still apply. */
2949 #ifdef __cplusplus
2950 extern "C"
2951 #endif
2952 char $2 ();
2953 /* The GNU C library defines this for functions which it implements
2954 to always fail with ENOSYS. Some functions are actually named
2955 something starting with __ and the normal name is an alias. */
2956 #if defined __stub_$2 || defined __stub___$2
2957 choke me
2958 #endif
2961 main (void)
2963 return $2 ();
2965 return 0;
2967 _ACEOF
2968 if ac_fn_c_try_link "$LINENO"
2969 then :
2970 eval "$3=yes"
2971 else $as_nop
2972 eval "$3=no"
2974 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2975 conftest$ac_exeext conftest.$ac_ext
2977 eval ac_res=\$$3
2978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2979 printf "%s\n" "$ac_res" >&6; }
2980 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2982 } # ac_fn_c_check_func
2984 # ac_fn_c_try_cpp LINENO
2985 # ----------------------
2986 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2987 ac_fn_c_try_cpp ()
2989 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2990 if { { ac_try="$ac_cpp conftest.$ac_ext"
2991 case "(($ac_try" in
2992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2993 *) ac_try_echo=$ac_try;;
2994 esac
2995 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2996 printf "%s\n" "$ac_try_echo"; } >&5
2997 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2998 ac_status=$?
2999 if test -s conftest.err; then
3000 grep -v '^ *+' conftest.err >conftest.er1
3001 cat conftest.er1 >&5
3002 mv -f conftest.er1 conftest.err
3004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3005 test $ac_status = 0; } > conftest.i && {
3006 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3007 test ! -s conftest.err
3009 then :
3010 ac_retval=0
3011 else $as_nop
3012 printf "%s\n" "$as_me: failed program was:" >&5
3013 sed 's/^/| /' conftest.$ac_ext >&5
3015 ac_retval=1
3017 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3018 as_fn_set_status $ac_retval
3020 } # ac_fn_c_try_cpp
3022 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3023 # ----------------------------------------------------
3024 # Tries to find if the field MEMBER exists in type AGGR, after including
3025 # INCLUDES, setting cache variable VAR accordingly.
3026 ac_fn_c_check_member ()
3028 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3030 printf %s "checking for $2.$3... " >&6; }
3031 if eval test \${$4+y}
3032 then :
3033 printf %s "(cached) " >&6
3034 else $as_nop
3035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3036 /* end confdefs.h. */
3039 main (void)
3041 static $2 ac_aggr;
3042 if (ac_aggr.$3)
3043 return 0;
3045 return 0;
3047 _ACEOF
3048 if ac_fn_c_try_compile "$LINENO"
3049 then :
3050 eval "$4=yes"
3051 else $as_nop
3052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3053 /* end confdefs.h. */
3056 main (void)
3058 static $2 ac_aggr;
3059 if (sizeof ac_aggr.$3)
3060 return 0;
3062 return 0;
3064 _ACEOF
3065 if ac_fn_c_try_compile "$LINENO"
3066 then :
3067 eval "$4=yes"
3068 else $as_nop
3069 eval "$4=no"
3071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3073 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3075 eval ac_res=\$$4
3076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3077 printf "%s\n" "$ac_res" >&6; }
3078 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3080 } # ac_fn_c_check_member
3082 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3083 # -------------------------------------------
3084 # Tests whether TYPE exists after having included INCLUDES, setting cache
3085 # variable VAR accordingly.
3086 ac_fn_c_check_type ()
3088 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3090 printf %s "checking for $2... " >&6; }
3091 if eval test \${$3+y}
3092 then :
3093 printf %s "(cached) " >&6
3094 else $as_nop
3095 eval "$3=no"
3096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3097 /* end confdefs.h. */
3100 main (void)
3102 if (sizeof ($2))
3103 return 0;
3105 return 0;
3107 _ACEOF
3108 if ac_fn_c_try_compile "$LINENO"
3109 then :
3110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3111 /* end confdefs.h. */
3114 main (void)
3116 if (sizeof (($2)))
3117 return 0;
3119 return 0;
3121 _ACEOF
3122 if ac_fn_c_try_compile "$LINENO"
3123 then :
3125 else $as_nop
3126 eval "$3=yes"
3128 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3130 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3132 eval ac_res=\$$3
3133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3134 printf "%s\n" "$ac_res" >&6; }
3135 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3137 } # ac_fn_c_check_type
3138 ac_configure_args_raw=
3139 for ac_arg
3141 case $ac_arg in
3142 *\'*)
3143 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3144 esac
3145 as_fn_append ac_configure_args_raw " '$ac_arg'"
3146 done
3148 case $ac_configure_args_raw in
3149 *$as_nl*)
3150 ac_safe_unquote= ;;
3152 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3153 ac_unsafe_a="$ac_unsafe_z#~"
3154 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3155 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3156 esac
3158 cat >config.log <<_ACEOF
3159 This file contains any messages produced by compilers while
3160 running configure, to aid debugging if configure makes a mistake.
3162 It was created by Wine $as_me 8.13, which was
3163 generated by GNU Autoconf 2.71. Invocation command line was
3165 $ $0$ac_configure_args_raw
3167 _ACEOF
3168 exec 5>>config.log
3170 cat <<_ASUNAME
3171 ## --------- ##
3172 ## Platform. ##
3173 ## --------- ##
3175 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3176 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3177 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3178 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3179 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3181 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3182 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3184 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3185 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3186 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3187 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3188 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3189 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3190 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3192 _ASUNAME
3194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3195 for as_dir in $PATH
3197 IFS=$as_save_IFS
3198 case $as_dir in #(((
3199 '') as_dir=./ ;;
3200 */) ;;
3201 *) as_dir=$as_dir/ ;;
3202 esac
3203 printf "%s\n" "PATH: $as_dir"
3204 done
3205 IFS=$as_save_IFS
3207 } >&5
3209 cat >&5 <<_ACEOF
3212 ## ----------- ##
3213 ## Core tests. ##
3214 ## ----------- ##
3216 _ACEOF
3219 # Keep a trace of the command line.
3220 # Strip out --no-create and --no-recursion so they do not pile up.
3221 # Strip out --silent because we don't want to record it for future runs.
3222 # Also quote any args containing shell meta-characters.
3223 # Make two passes to allow for proper duplicate-argument suppression.
3224 ac_configure_args=
3225 ac_configure_args0=
3226 ac_configure_args1=
3227 ac_must_keep_next=false
3228 for ac_pass in 1 2
3230 for ac_arg
3232 case $ac_arg in
3233 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3234 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3235 | -silent | --silent | --silen | --sile | --sil)
3236 continue ;;
3237 *\'*)
3238 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3239 esac
3240 case $ac_pass in
3241 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3243 as_fn_append ac_configure_args1 " '$ac_arg'"
3244 if test $ac_must_keep_next = true; then
3245 ac_must_keep_next=false # Got value, back to normal.
3246 else
3247 case $ac_arg in
3248 *=* | --config-cache | -C | -disable-* | --disable-* \
3249 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3250 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3251 | -with-* | --with-* | -without-* | --without-* | --x)
3252 case "$ac_configure_args0 " in
3253 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3254 esac
3256 -* ) ac_must_keep_next=true ;;
3257 esac
3259 as_fn_append ac_configure_args " '$ac_arg'"
3261 esac
3262 done
3263 done
3264 { ac_configure_args0=; unset ac_configure_args0;}
3265 { ac_configure_args1=; unset ac_configure_args1;}
3267 # When interrupted or exit'd, cleanup temporary files, and complete
3268 # config.log. We remove comments because anyway the quotes in there
3269 # would cause problems or look ugly.
3270 # WARNING: Use '\'' to represent an apostrophe within the trap.
3271 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3272 trap 'exit_status=$?
3273 # Sanitize IFS.
3274 IFS=" "" $as_nl"
3275 # Save into config.log some information that might help in debugging.
3277 echo
3279 printf "%s\n" "## ---------------- ##
3280 ## Cache variables. ##
3281 ## ---------------- ##"
3282 echo
3283 # The following way of writing the cache mishandles newlines in values,
3285 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3286 eval ac_val=\$$ac_var
3287 case $ac_val in #(
3288 *${as_nl}*)
3289 case $ac_var in #(
3290 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3291 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3292 esac
3293 case $ac_var in #(
3294 _ | IFS | as_nl) ;; #(
3295 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3296 *) { eval $ac_var=; unset $ac_var;} ;;
3297 esac ;;
3298 esac
3299 done
3300 (set) 2>&1 |
3301 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3302 *${as_nl}ac_space=\ *)
3303 sed -n \
3304 "s/'\''/'\''\\\\'\'''\''/g;
3305 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3306 ;; #(
3308 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3310 esac |
3311 sort
3313 echo
3315 printf "%s\n" "## ----------------- ##
3316 ## Output variables. ##
3317 ## ----------------- ##"
3318 echo
3319 for ac_var in $ac_subst_vars
3321 eval ac_val=\$$ac_var
3322 case $ac_val in
3323 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3324 esac
3325 printf "%s\n" "$ac_var='\''$ac_val'\''"
3326 done | sort
3327 echo
3329 if test -n "$ac_subst_files"; then
3330 printf "%s\n" "## ------------------- ##
3331 ## File substitutions. ##
3332 ## ------------------- ##"
3333 echo
3334 for ac_var in $ac_subst_files
3336 eval ac_val=\$$ac_var
3337 case $ac_val in
3338 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3339 esac
3340 printf "%s\n" "$ac_var='\''$ac_val'\''"
3341 done | sort
3342 echo
3345 if test -s confdefs.h; then
3346 printf "%s\n" "## ----------- ##
3347 ## confdefs.h. ##
3348 ## ----------- ##"
3349 echo
3350 cat confdefs.h
3351 echo
3353 test "$ac_signal" != 0 &&
3354 printf "%s\n" "$as_me: caught signal $ac_signal"
3355 printf "%s\n" "$as_me: exit $exit_status"
3356 } >&5
3357 rm -f core *.core core.conftest.* &&
3358 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3359 exit $exit_status
3361 for ac_signal in 1 2 13 15; do
3362 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3363 done
3364 ac_signal=0
3366 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3367 rm -f -r conftest* confdefs.h
3369 printf "%s\n" "/* confdefs.h */" > confdefs.h
3371 # Predefined preprocessor variables.
3373 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3375 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3377 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3379 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3381 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3383 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3386 # Let the site file select an alternate cache file if it wants to.
3387 # Prefer an explicitly selected file to automatically selected ones.
3388 if test -n "$CONFIG_SITE"; then
3389 ac_site_files="$CONFIG_SITE"
3390 elif test "x$prefix" != xNONE; then
3391 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3392 else
3393 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3396 for ac_site_file in $ac_site_files
3398 case $ac_site_file in #(
3399 */*) :
3400 ;; #(
3401 *) :
3402 ac_site_file=./$ac_site_file ;;
3403 esac
3404 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3406 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3407 sed 's/^/| /' "$ac_site_file" >&5
3408 . "$ac_site_file" \
3409 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3410 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3411 as_fn_error $? "failed to load site script $ac_site_file
3412 See \`config.log' for more details" "$LINENO" 5; }
3414 done
3416 if test -r "$cache_file"; then
3417 # Some versions of bash will fail to source /dev/null (special files
3418 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3419 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3421 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3422 case $cache_file in
3423 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3424 *) . "./$cache_file";;
3425 esac
3427 else
3428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3429 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3430 >$cache_file
3433 # Test code for whether the C compiler supports C89 (global declarations)
3434 ac_c_conftest_c89_globals='
3435 /* Does the compiler advertise C89 conformance?
3436 Do not test the value of __STDC__, because some compilers set it to 0
3437 while being otherwise adequately conformant. */
3438 #if !defined __STDC__
3439 # error "Compiler does not advertise C89 conformance"
3440 #endif
3442 #include <stddef.h>
3443 #include <stdarg.h>
3444 struct stat;
3445 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3446 struct buf { int x; };
3447 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3448 static char *e (p, i)
3449 char **p;
3450 int i;
3452 return p[i];
3454 static char *f (char * (*g) (char **, int), char **p, ...)
3456 char *s;
3457 va_list v;
3458 va_start (v,p);
3459 s = g (p, va_arg (v,int));
3460 va_end (v);
3461 return s;
3464 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3465 function prototypes and stuff, but not \xHH hex character constants.
3466 These do not provoke an error unfortunately, instead are silently treated
3467 as an "x". The following induces an error, until -std is added to get
3468 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3469 array size at least. It is necessary to write \x00 == 0 to get something
3470 that is true only with -std. */
3471 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3473 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3474 inside strings and character constants. */
3475 #define FOO(x) '\''x'\''
3476 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3478 int test (int i, double x);
3479 struct s1 {int (*f) (int a);};
3480 struct s2 {int (*f) (double a);};
3481 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3482 int, int);'
3484 # Test code for whether the C compiler supports C89 (body of main).
3485 ac_c_conftest_c89_main='
3486 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3489 # Test code for whether the C compiler supports C99 (global declarations)
3490 ac_c_conftest_c99_globals='
3491 // Does the compiler advertise C99 conformance?
3492 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3493 # error "Compiler does not advertise C99 conformance"
3494 #endif
3496 #include <stdbool.h>
3497 extern int puts (const char *);
3498 extern int printf (const char *, ...);
3499 extern int dprintf (int, const char *, ...);
3500 extern void *malloc (size_t);
3502 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3503 // dprintf is used instead of fprintf to avoid needing to declare
3504 // FILE and stderr.
3505 #define debug(...) dprintf (2, __VA_ARGS__)
3506 #define showlist(...) puts (#__VA_ARGS__)
3507 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3508 static void
3509 test_varargs_macros (void)
3511 int x = 1234;
3512 int y = 5678;
3513 debug ("Flag");
3514 debug ("X = %d\n", x);
3515 showlist (The first, second, and third items.);
3516 report (x>y, "x is %d but y is %d", x, y);
3519 // Check long long types.
3520 #define BIG64 18446744073709551615ull
3521 #define BIG32 4294967295ul
3522 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3523 #if !BIG_OK
3524 #error "your preprocessor is broken"
3525 #endif
3526 #if BIG_OK
3527 #else
3528 #error "your preprocessor is broken"
3529 #endif
3530 static long long int bignum = -9223372036854775807LL;
3531 static unsigned long long int ubignum = BIG64;
3533 struct incomplete_array
3535 int datasize;
3536 double data[];
3539 struct named_init {
3540 int number;
3541 const wchar_t *name;
3542 double average;
3545 typedef const char *ccp;
3547 static inline int
3548 test_restrict (ccp restrict text)
3550 // See if C++-style comments work.
3551 // Iterate through items via the restricted pointer.
3552 // Also check for declarations in for loops.
3553 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3554 continue;
3555 return 0;
3558 // Check varargs and va_copy.
3559 static bool
3560 test_varargs (const char *format, ...)
3562 va_list args;
3563 va_start (args, format);
3564 va_list args_copy;
3565 va_copy (args_copy, args);
3567 const char *str = "";
3568 int number = 0;
3569 float fnumber = 0;
3571 while (*format)
3573 switch (*format++)
3575 case '\''s'\'': // string
3576 str = va_arg (args_copy, const char *);
3577 break;
3578 case '\''d'\'': // int
3579 number = va_arg (args_copy, int);
3580 break;
3581 case '\''f'\'': // float
3582 fnumber = va_arg (args_copy, double);
3583 break;
3584 default:
3585 break;
3588 va_end (args_copy);
3589 va_end (args);
3591 return *str && number && fnumber;
3595 # Test code for whether the C compiler supports C99 (body of main).
3596 ac_c_conftest_c99_main='
3597 // Check bool.
3598 _Bool success = false;
3599 success |= (argc != 0);
3601 // Check restrict.
3602 if (test_restrict ("String literal") == 0)
3603 success = true;
3604 char *restrict newvar = "Another string";
3606 // Check varargs.
3607 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3608 test_varargs_macros ();
3610 // Check flexible array members.
3611 struct incomplete_array *ia =
3612 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3613 ia->datasize = 10;
3614 for (int i = 0; i < ia->datasize; ++i)
3615 ia->data[i] = i * 1.234;
3617 // Check named initializers.
3618 struct named_init ni = {
3619 .number = 34,
3620 .name = L"Test wide string",
3621 .average = 543.34343,
3624 ni.number = 58;
3626 int dynamic_array[ni.number];
3627 dynamic_array[0] = argv[0][0];
3628 dynamic_array[ni.number - 1] = 543;
3630 // work around unused variable warnings
3631 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3632 || dynamic_array[ni.number - 1] != 543);
3635 # Test code for whether the C compiler supports C11 (global declarations)
3636 ac_c_conftest_c11_globals='
3637 // Does the compiler advertise C11 conformance?
3638 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3639 # error "Compiler does not advertise C11 conformance"
3640 #endif
3642 // Check _Alignas.
3643 char _Alignas (double) aligned_as_double;
3644 char _Alignas (0) no_special_alignment;
3645 extern char aligned_as_int;
3646 char _Alignas (0) _Alignas (int) aligned_as_int;
3648 // Check _Alignof.
3649 enum
3651 int_alignment = _Alignof (int),
3652 int_array_alignment = _Alignof (int[100]),
3653 char_alignment = _Alignof (char)
3655 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3657 // Check _Noreturn.
3658 int _Noreturn does_not_return (void) { for (;;) continue; }
3660 // Check _Static_assert.
3661 struct test_static_assert
3663 int x;
3664 _Static_assert (sizeof (int) <= sizeof (long int),
3665 "_Static_assert does not work in struct");
3666 long int y;
3669 // Check UTF-8 literals.
3670 #define u8 syntax error!
3671 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3673 // Check duplicate typedefs.
3674 typedef long *long_ptr;
3675 typedef long int *long_ptr;
3676 typedef long_ptr long_ptr;
3678 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3679 struct anonymous
3681 union {
3682 struct { int i; int j; };
3683 struct { int k; long int l; } w;
3685 int m;
3686 } v1;
3689 # Test code for whether the C compiler supports C11 (body of main).
3690 ac_c_conftest_c11_main='
3691 _Static_assert ((offsetof (struct anonymous, i)
3692 == offsetof (struct anonymous, w.k)),
3693 "Anonymous union alignment botch");
3694 v1.i = 2;
3695 v1.w.k = 5;
3696 ok |= v1.i != 5;
3699 # Test code for whether the C compiler supports C11 (complete).
3700 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3701 ${ac_c_conftest_c99_globals}
3702 ${ac_c_conftest_c11_globals}
3705 main (int argc, char **argv)
3707 int ok = 0;
3708 ${ac_c_conftest_c89_main}
3709 ${ac_c_conftest_c99_main}
3710 ${ac_c_conftest_c11_main}
3711 return ok;
3715 # Test code for whether the C compiler supports C99 (complete).
3716 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3717 ${ac_c_conftest_c99_globals}
3720 main (int argc, char **argv)
3722 int ok = 0;
3723 ${ac_c_conftest_c89_main}
3724 ${ac_c_conftest_c99_main}
3725 return ok;
3729 # Test code for whether the C compiler supports C89 (complete).
3730 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3733 main (int argc, char **argv)
3735 int ok = 0;
3736 ${ac_c_conftest_c89_main}
3737 return ok;
3741 # Test code for whether the C++ compiler supports C++98 (global declarations)
3742 ac_cxx_conftest_cxx98_globals='
3743 // Does the compiler advertise C++98 conformance?
3744 #if !defined __cplusplus || __cplusplus < 199711L
3745 # error "Compiler does not advertise C++98 conformance"
3746 #endif
3748 // These inclusions are to reject old compilers that
3749 // lack the unsuffixed header files.
3750 #include <cstdlib>
3751 #include <exception>
3753 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3754 extern void assert (int);
3755 namespace std {
3756 extern int strcmp (const char *, const char *);
3759 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3760 using std::exception;
3761 using std::strcmp;
3763 namespace {
3765 void test_exception_syntax()
3767 try {
3768 throw "test";
3769 } catch (const char *s) {
3770 // Extra parentheses suppress a warning when building autoconf itself,
3771 // due to lint rules shared with more typical C programs.
3772 assert (!(strcmp) (s, "test"));
3776 template <typename T> struct test_template
3778 T const val;
3779 explicit test_template(T t) : val(t) {}
3780 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3783 } // anonymous namespace
3786 # Test code for whether the C++ compiler supports C++98 (body of main)
3787 ac_cxx_conftest_cxx98_main='
3788 assert (argc);
3789 assert (! argv[0]);
3791 test_exception_syntax ();
3792 test_template<double> tt (2.0);
3793 assert (tt.add (4) == 6.0);
3794 assert (true && !false);
3798 # Test code for whether the C++ compiler supports C++11 (global declarations)
3799 ac_cxx_conftest_cxx11_globals='
3800 // Does the compiler advertise C++ 2011 conformance?
3801 #if !defined __cplusplus || __cplusplus < 201103L
3802 # error "Compiler does not advertise C++11 conformance"
3803 #endif
3805 namespace cxx11test
3807 constexpr int get_val() { return 20; }
3809 struct testinit
3811 int i;
3812 double d;
3815 class delegate
3817 public:
3818 delegate(int n) : n(n) {}
3819 delegate(): delegate(2354) {}
3821 virtual int getval() { return this->n; };
3822 protected:
3823 int n;
3826 class overridden : public delegate
3828 public:
3829 overridden(int n): delegate(n) {}
3830 virtual int getval() override final { return this->n * 2; }
3833 class nocopy
3835 public:
3836 nocopy(int i): i(i) {}
3837 nocopy() = default;
3838 nocopy(const nocopy&) = delete;
3839 nocopy & operator=(const nocopy&) = delete;
3840 private:
3841 int i;
3844 // for testing lambda expressions
3845 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3847 return f(v);
3850 // for testing variadic templates and trailing return types
3851 template <typename V> auto sum(V first) -> V
3853 return first;
3855 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3857 return first + sum(rest...);
3862 # Test code for whether the C++ compiler supports C++11 (body of main)
3863 ac_cxx_conftest_cxx11_main='
3865 // Test auto and decltype
3866 auto a1 = 6538;
3867 auto a2 = 48573953.4;
3868 auto a3 = "String literal";
3870 int total = 0;
3871 for (auto i = a3; *i; ++i) { total += *i; }
3873 decltype(a2) a4 = 34895.034;
3876 // Test constexpr
3877 short sa[cxx11test::get_val()] = { 0 };
3880 // Test initializer lists
3881 cxx11test::testinit il = { 4323, 435234.23544 };
3884 // Test range-based for
3885 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3886 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3887 for (auto &x : array) { x += 23; }
3890 // Test lambda expressions
3891 using cxx11test::eval;
3892 assert (eval ([](int x) { return x*2; }, 21) == 42);
3893 double d = 2.0;
3894 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3895 assert (d == 5.0);
3896 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3897 assert (d == 5.0);
3900 // Test use of variadic templates
3901 using cxx11test::sum;
3902 auto a = sum(1);
3903 auto b = sum(1, 2);
3904 auto c = sum(1.0, 2.0, 3.0);
3907 // Test constructor delegation
3908 cxx11test::delegate d1;
3909 cxx11test::delegate d2();
3910 cxx11test::delegate d3(45);
3913 // Test override and final
3914 cxx11test::overridden o1(55464);
3917 // Test nullptr
3918 char *c = nullptr;
3921 // Test template brackets
3922 test_template<::test_template<int>> v(test_template<int>(12));
3925 // Unicode literals
3926 char const *utf8 = u8"UTF-8 string \u2500";
3927 char16_t const *utf16 = u"UTF-8 string \u2500";
3928 char32_t const *utf32 = U"UTF-32 string \u2500";
3932 # Test code for whether the C compiler supports C++11 (complete).
3933 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3934 ${ac_cxx_conftest_cxx11_globals}
3937 main (int argc, char **argv)
3939 int ok = 0;
3940 ${ac_cxx_conftest_cxx98_main}
3941 ${ac_cxx_conftest_cxx11_main}
3942 return ok;
3946 # Test code for whether the C compiler supports C++98 (complete).
3947 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3949 main (int argc, char **argv)
3951 int ok = 0;
3952 ${ac_cxx_conftest_cxx98_main}
3953 return ok;
3957 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3958 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3959 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3960 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3961 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3962 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3963 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3964 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3965 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3967 # Auxiliary files required by this configure script.
3968 ac_aux_files="config.guess config.sub"
3970 # Locations in which to look for auxiliary files.
3971 ac_aux_dir_candidates="${srcdir}/tools"
3973 # Search for a directory containing all of the required auxiliary files,
3974 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3975 # If we don't find one directory that contains all the files we need,
3976 # we report the set of missing files from the *first* directory in
3977 # $ac_aux_dir_candidates and give up.
3978 ac_missing_aux_files=""
3979 ac_first_candidate=:
3980 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3982 as_found=false
3983 for as_dir in $ac_aux_dir_candidates
3985 IFS=$as_save_IFS
3986 case $as_dir in #(((
3987 '') as_dir=./ ;;
3988 */) ;;
3989 *) as_dir=$as_dir/ ;;
3990 esac
3991 as_found=:
3993 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3994 ac_aux_dir_found=yes
3995 ac_install_sh=
3996 for ac_aux in $ac_aux_files
3998 # As a special case, if "install-sh" is required, that requirement
3999 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4000 # and $ac_install_sh is set appropriately for whichever one is found.
4001 if test x"$ac_aux" = x"install-sh"
4002 then
4003 if 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}install.sh"; then
4007 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4008 ac_install_sh="${as_dir}install.sh -c"
4009 elif test -f "${as_dir}shtool"; then
4010 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4011 ac_install_sh="${as_dir}shtool install -c"
4012 else
4013 ac_aux_dir_found=no
4014 if $ac_first_candidate; then
4015 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4016 else
4017 break
4020 else
4021 if test -f "${as_dir}${ac_aux}"; then
4022 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4023 else
4024 ac_aux_dir_found=no
4025 if $ac_first_candidate; then
4026 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4027 else
4028 break
4032 done
4033 if test "$ac_aux_dir_found" = yes; then
4034 ac_aux_dir="$as_dir"
4035 break
4037 ac_first_candidate=false
4039 as_found=false
4040 done
4041 IFS=$as_save_IFS
4042 if $as_found
4043 then :
4045 else $as_nop
4046 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4050 # These three variables are undocumented and unsupported,
4051 # and are intended to be withdrawn in a future Autoconf release.
4052 # They can cause serious problems if a builder's source tree is in a directory
4053 # whose full name contains unusual characters.
4054 if test -f "${ac_aux_dir}config.guess"; then
4055 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4057 if test -f "${ac_aux_dir}config.sub"; then
4058 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4060 if test -f "$ac_aux_dir/configure"; then
4061 ac_configure="$SHELL ${ac_aux_dir}configure"
4064 # Check that the precious variables saved in the cache have kept the same
4065 # value.
4066 ac_cache_corrupted=false
4067 for ac_var in $ac_precious_vars; do
4068 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4069 eval ac_new_set=\$ac_env_${ac_var}_set
4070 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4071 eval ac_new_val=\$ac_env_${ac_var}_value
4072 case $ac_old_set,$ac_new_set in
4073 set,)
4074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4075 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4076 ac_cache_corrupted=: ;;
4077 ,set)
4078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4079 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4080 ac_cache_corrupted=: ;;
4081 ,);;
4083 if test "x$ac_old_val" != "x$ac_new_val"; then
4084 # differences in whitespace do not lead to failure.
4085 ac_old_val_w=`echo x $ac_old_val`
4086 ac_new_val_w=`echo x $ac_new_val`
4087 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4089 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4090 ac_cache_corrupted=:
4091 else
4092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4093 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4094 eval $ac_var=\$ac_old_val
4096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4097 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4099 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4100 fi;;
4101 esac
4102 # Pass precious variables to config.status.
4103 if test "$ac_new_set" = set; then
4104 case $ac_new_val in
4105 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4106 *) ac_arg=$ac_var=$ac_new_val ;;
4107 esac
4108 case " $ac_configure_args " in
4109 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4110 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4111 esac
4113 done
4114 if $ac_cache_corrupted; then
4115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4116 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4118 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4119 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4120 and start over" "$LINENO" 5
4122 ## -------------------- ##
4123 ## Main body of script. ##
4124 ## -------------------- ##
4126 ac_ext=c
4127 ac_cpp='$CPP $CPPFLAGS'
4128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4134 ac_config_headers="$ac_config_headers include/config.h"
4138 libwine_version="1.0"
4141 # Check whether --enable-archs was given.
4142 if test ${enable_archs+y}
4143 then :
4144 enableval=$enable_archs;
4147 # Check whether --enable-win16 was given.
4148 if test ${enable_win16+y}
4149 then :
4150 enableval=$enable_win16;
4153 # Check whether --enable-win64 was given.
4154 if test ${enable_win64+y}
4155 then :
4156 enableval=$enable_win64;
4159 # Check whether --enable-tests was given.
4160 if test ${enable_tests+y}
4161 then :
4162 enableval=$enable_tests;
4165 # Check whether --enable-build-id was given.
4166 if test ${enable_build_id+y}
4167 then :
4168 enableval=$enable_build_id;
4171 # Check whether --enable-maintainer-mode was given.
4172 if test ${enable_maintainer_mode+y}
4173 then :
4174 enableval=$enable_maintainer_mode;
4177 # Check whether --enable-silent-rules was given.
4178 if test ${enable_silent_rules+y}
4179 then :
4180 enableval=$enable_silent_rules;
4183 # Check whether --enable-werror was given.
4184 if test ${enable_werror+y}
4185 then :
4186 enableval=$enable_werror;
4191 # Check whether --with-alsa was given.
4192 if test ${with_alsa+y}
4193 then :
4194 withval=$with_alsa;
4198 # Check whether --with-capi was given.
4199 if test ${with_capi+y}
4200 then :
4201 withval=$with_capi;
4205 # Check whether --with-coreaudio was given.
4206 if test ${with_coreaudio+y}
4207 then :
4208 withval=$with_coreaudio;
4212 # Check whether --with-cups was given.
4213 if test ${with_cups+y}
4214 then :
4215 withval=$with_cups;
4219 # Check whether --with-dbus was given.
4220 if test ${with_dbus+y}
4221 then :
4222 withval=$with_dbus;
4226 # Check whether --with-float-abi was given.
4227 if test ${with_float_abi+y}
4228 then :
4229 withval=$with_float_abi;
4233 # Check whether --with-fontconfig was given.
4234 if test ${with_fontconfig+y}
4235 then :
4236 withval=$with_fontconfig;
4240 # Check whether --with-freetype was given.
4241 if test ${with_freetype+y}
4242 then :
4243 withval=$with_freetype;
4247 # Check whether --with-gettext was given.
4248 if test ${with_gettext+y}
4249 then :
4250 withval=$with_gettext;
4254 # Check whether --with-gettextpo was given.
4255 if test ${with_gettextpo+y}
4256 then :
4257 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4261 # Check whether --with-gphoto was given.
4262 if test ${with_gphoto+y}
4263 then :
4264 withval=$with_gphoto;
4268 # Check whether --with-gnutls was given.
4269 if test ${with_gnutls+y}
4270 then :
4271 withval=$with_gnutls;
4275 # Check whether --with-gssapi was given.
4276 if test ${with_gssapi+y}
4277 then :
4278 withval=$with_gssapi;
4282 # Check whether --with-gstreamer was given.
4283 if test ${with_gstreamer+y}
4284 then :
4285 withval=$with_gstreamer;
4289 # Check whether --with-inotify was given.
4290 if test ${with_inotify+y}
4291 then :
4292 withval=$with_inotify;
4296 # Check whether --with-krb5 was given.
4297 if test ${with_krb5+y}
4298 then :
4299 withval=$with_krb5;
4303 # Check whether --with-mingw was given.
4304 if test ${with_mingw+y}
4305 then :
4306 withval=$with_mingw;
4310 # Check whether --with-netapi was given.
4311 if test ${with_netapi+y}
4312 then :
4313 withval=$with_netapi;
4317 # Check whether --with-opencl was given.
4318 if test ${with_opencl+y}
4319 then :
4320 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4324 # Check whether --with-opengl was given.
4325 if test ${with_opengl+y}
4326 then :
4327 withval=$with_opengl;
4331 # Check whether --with-osmesa was given.
4332 if test ${with_osmesa+y}
4333 then :
4334 withval=$with_osmesa;
4338 # Check whether --with-oss was given.
4339 if test ${with_oss+y}
4340 then :
4341 withval=$with_oss;
4345 # Check whether --with-pcap was given.
4346 if test ${with_pcap+y}
4347 then :
4348 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4352 # Check whether --with-pcsclite was given.
4353 if test ${with_pcsclite+y}
4354 then :
4355 withval=$with_pcsclite;
4359 # Check whether --with-pthread was given.
4360 if test ${with_pthread+y}
4361 then :
4362 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4366 # Check whether --with-pulse was given.
4367 if test ${with_pulse+y}
4368 then :
4369 withval=$with_pulse;
4373 # Check whether --with-sane was given.
4374 if test ${with_sane+y}
4375 then :
4376 withval=$with_sane;
4380 # Check whether --with-sdl was given.
4381 if test ${with_sdl+y}
4382 then :
4383 withval=$with_sdl;
4387 # Check whether --with-udev was given.
4388 if test ${with_udev+y}
4389 then :
4390 withval=$with_udev;
4394 # Check whether --with-unwind was given.
4395 if test ${with_unwind+y}
4396 then :
4397 withval=$with_unwind;
4401 # Check whether --with-usb was given.
4402 if test ${with_usb+y}
4403 then :
4404 withval=$with_usb;
4408 # Check whether --with-v4l2 was given.
4409 if test ${with_v4l2+y}
4410 then :
4411 withval=$with_v4l2;
4415 # Check whether --with-vulkan was given.
4416 if test ${with_vulkan+y}
4417 then :
4418 withval=$with_vulkan;
4422 # Check whether --with-wayland was given.
4423 if test ${with_wayland+y}
4424 then :
4425 withval=$with_wayland;
4429 # Check whether --with-xcomposite was given.
4430 if test ${with_xcomposite+y}
4431 then :
4432 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4436 # Check whether --with-xcursor was given.
4437 if test ${with_xcursor+y}
4438 then :
4439 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4443 # Check whether --with-xfixes was given.
4444 if test ${with_xfixes+y}
4445 then :
4446 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4450 # Check whether --with-xinerama was given.
4451 if test ${with_xinerama+y}
4452 then :
4453 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4457 # Check whether --with-xinput was given.
4458 if test ${with_xinput+y}
4459 then :
4460 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4464 # Check whether --with-xinput2 was given.
4465 if test ${with_xinput2+y}
4466 then :
4467 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4471 # Check whether --with-xrandr was given.
4472 if test ${with_xrandr+y}
4473 then :
4474 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4478 # Check whether --with-xrender was given.
4479 if test ${with_xrender+y}
4480 then :
4481 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4485 # Check whether --with-xshape was given.
4486 if test ${with_xshape+y}
4487 then :
4488 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4492 # Check whether --with-xshm was given.
4493 if test ${with_xshm+y}
4494 then :
4495 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4499 # Check whether --with-xxf86vm was given.
4500 if test ${with_xxf86vm+y}
4501 then :
4502 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
4507 # Check whether --with-system-dllpath was given.
4508 if test ${with_system_dllpath+y}
4509 then :
4510 withval=$with_system_dllpath; system_dllpath=$withval
4515 # Check whether --with-wine-tools was given.
4516 if test ${with_wine_tools+y}
4517 then :
4518 withval=$with_wine_tools;
4522 # Check whether --with-wine64 was given.
4523 if test ${with_wine64+y}
4524 then :
4525 withval=$with_wine64;
4532 # Make sure we can run config.sub.
4533 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4534 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4537 printf %s "checking build system type... " >&6; }
4538 if test ${ac_cv_build+y}
4539 then :
4540 printf %s "(cached) " >&6
4541 else $as_nop
4542 ac_build_alias=$build_alias
4543 test "x$ac_build_alias" = x &&
4544 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4545 test "x$ac_build_alias" = x &&
4546 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4547 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4548 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4552 printf "%s\n" "$ac_cv_build" >&6; }
4553 case $ac_cv_build in
4554 *-*-*) ;;
4555 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4556 esac
4557 build=$ac_cv_build
4558 ac_save_IFS=$IFS; IFS='-'
4559 set x $ac_cv_build
4560 shift
4561 build_cpu=$1
4562 build_vendor=$2
4563 shift; shift
4564 # Remember, the first character of IFS is used to create $*,
4565 # except with old shells:
4566 build_os=$*
4567 IFS=$ac_save_IFS
4568 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4572 printf %s "checking host system type... " >&6; }
4573 if test ${ac_cv_host+y}
4574 then :
4575 printf %s "(cached) " >&6
4576 else $as_nop
4577 if test "x$host_alias" = x; then
4578 ac_cv_host=$ac_cv_build
4579 else
4580 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4581 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4586 printf "%s\n" "$ac_cv_host" >&6; }
4587 case $ac_cv_host in
4588 *-*-*) ;;
4589 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4590 esac
4591 host=$ac_cv_host
4592 ac_save_IFS=$IFS; IFS='-'
4593 set x $ac_cv_host
4594 shift
4595 host_cpu=$1
4596 host_vendor=$2
4597 shift; shift
4598 # Remember, the first character of IFS is used to create $*,
4599 # except with old shells:
4600 host_os=$*
4601 IFS=$ac_save_IFS
4602 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4606 dlldir=\${libdir}/wine
4608 fontdir=\${datadir}/wine/fonts
4610 nlsdir=\${datadir}/wine/nls
4615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4616 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4617 set x ${MAKE-make}
4618 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4619 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4620 then :
4621 printf %s "(cached) " >&6
4622 else $as_nop
4623 cat >conftest.make <<\_ACEOF
4624 SHELL = /bin/sh
4625 all:
4626 @echo '@@@%%%=$(MAKE)=@@@%%%'
4627 _ACEOF
4628 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4629 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4630 *@@@%%%=?*=@@@%%%*)
4631 eval ac_cv_prog_make_${ac_make}_set=yes;;
4633 eval ac_cv_prog_make_${ac_make}_set=no;;
4634 esac
4635 rm -f conftest.make
4637 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4639 printf "%s\n" "yes" >&6; }
4640 SET_MAKE=
4641 else
4642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4643 printf "%s\n" "no" >&6; }
4644 SET_MAKE="MAKE=${MAKE-make}"
4656 ac_ext=c
4657 ac_cpp='$CPP $CPPFLAGS'
4658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4661 if test -n "$ac_tool_prefix"; then
4662 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4663 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4665 printf %s "checking for $ac_word... " >&6; }
4666 if test ${ac_cv_prog_CC+y}
4667 then :
4668 printf %s "(cached) " >&6
4669 else $as_nop
4670 if test -n "$CC"; then
4671 ac_cv_prog_CC="$CC" # Let the user override the test.
4672 else
4673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4674 for as_dir in $PATH
4676 IFS=$as_save_IFS
4677 case $as_dir in #(((
4678 '') as_dir=./ ;;
4679 */) ;;
4680 *) as_dir=$as_dir/ ;;
4681 esac
4682 for ac_exec_ext in '' $ac_executable_extensions; do
4683 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4684 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4685 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4686 break 2
4688 done
4689 done
4690 IFS=$as_save_IFS
4694 CC=$ac_cv_prog_CC
4695 if test -n "$CC"; then
4696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4697 printf "%s\n" "$CC" >&6; }
4698 else
4699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4700 printf "%s\n" "no" >&6; }
4705 if test -z "$ac_cv_prog_CC"; then
4706 ac_ct_CC=$CC
4707 # Extract the first word of "gcc", so it can be a program name with args.
4708 set dummy gcc; ac_word=$2
4709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4710 printf %s "checking for $ac_word... " >&6; }
4711 if test ${ac_cv_prog_ac_ct_CC+y}
4712 then :
4713 printf %s "(cached) " >&6
4714 else $as_nop
4715 if test -n "$ac_ct_CC"; then
4716 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4717 else
4718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4719 for as_dir in $PATH
4721 IFS=$as_save_IFS
4722 case $as_dir in #(((
4723 '') as_dir=./ ;;
4724 */) ;;
4725 *) as_dir=$as_dir/ ;;
4726 esac
4727 for ac_exec_ext in '' $ac_executable_extensions; do
4728 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4729 ac_cv_prog_ac_ct_CC="gcc"
4730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4731 break 2
4733 done
4734 done
4735 IFS=$as_save_IFS
4739 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4740 if test -n "$ac_ct_CC"; then
4741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4742 printf "%s\n" "$ac_ct_CC" >&6; }
4743 else
4744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4745 printf "%s\n" "no" >&6; }
4748 if test "x$ac_ct_CC" = x; then
4749 CC=""
4750 else
4751 case $cross_compiling:$ac_tool_warned in
4752 yes:)
4753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4754 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4755 ac_tool_warned=yes ;;
4756 esac
4757 CC=$ac_ct_CC
4759 else
4760 CC="$ac_cv_prog_CC"
4763 if test -z "$CC"; then
4764 if test -n "$ac_tool_prefix"; then
4765 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4766 set dummy ${ac_tool_prefix}cc; ac_word=$2
4767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4768 printf %s "checking for $ac_word... " >&6; }
4769 if test ${ac_cv_prog_CC+y}
4770 then :
4771 printf %s "(cached) " >&6
4772 else $as_nop
4773 if test -n "$CC"; then
4774 ac_cv_prog_CC="$CC" # Let the user override the test.
4775 else
4776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4777 for as_dir in $PATH
4779 IFS=$as_save_IFS
4780 case $as_dir in #(((
4781 '') as_dir=./ ;;
4782 */) ;;
4783 *) as_dir=$as_dir/ ;;
4784 esac
4785 for ac_exec_ext in '' $ac_executable_extensions; do
4786 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4787 ac_cv_prog_CC="${ac_tool_prefix}cc"
4788 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4789 break 2
4791 done
4792 done
4793 IFS=$as_save_IFS
4797 CC=$ac_cv_prog_CC
4798 if test -n "$CC"; then
4799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4800 printf "%s\n" "$CC" >&6; }
4801 else
4802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4803 printf "%s\n" "no" >&6; }
4809 if test -z "$CC"; then
4810 # Extract the first word of "cc", so it can be a program name with args.
4811 set dummy cc; ac_word=$2
4812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4813 printf %s "checking for $ac_word... " >&6; }
4814 if test ${ac_cv_prog_CC+y}
4815 then :
4816 printf %s "(cached) " >&6
4817 else $as_nop
4818 if test -n "$CC"; then
4819 ac_cv_prog_CC="$CC" # Let the user override the test.
4820 else
4821 ac_prog_rejected=no
4822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4823 for as_dir in $PATH
4825 IFS=$as_save_IFS
4826 case $as_dir in #(((
4827 '') as_dir=./ ;;
4828 */) ;;
4829 *) as_dir=$as_dir/ ;;
4830 esac
4831 for ac_exec_ext in '' $ac_executable_extensions; do
4832 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4833 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4834 ac_prog_rejected=yes
4835 continue
4837 ac_cv_prog_CC="cc"
4838 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4839 break 2
4841 done
4842 done
4843 IFS=$as_save_IFS
4845 if test $ac_prog_rejected = yes; then
4846 # We found a bogon in the path, so make sure we never use it.
4847 set dummy $ac_cv_prog_CC
4848 shift
4849 if test $# != 0; then
4850 # We chose a different compiler from the bogus one.
4851 # However, it has the same basename, so the bogon will be chosen
4852 # first if we set CC to just the basename; use the full file name.
4853 shift
4854 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4859 CC=$ac_cv_prog_CC
4860 if test -n "$CC"; then
4861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4862 printf "%s\n" "$CC" >&6; }
4863 else
4864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4865 printf "%s\n" "no" >&6; }
4870 if test -z "$CC"; then
4871 if test -n "$ac_tool_prefix"; then
4872 for ac_prog in cl.exe
4874 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4875 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4877 printf %s "checking for $ac_word... " >&6; }
4878 if test ${ac_cv_prog_CC+y}
4879 then :
4880 printf %s "(cached) " >&6
4881 else $as_nop
4882 if test -n "$CC"; then
4883 ac_cv_prog_CC="$CC" # Let the user override the test.
4884 else
4885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4886 for as_dir in $PATH
4888 IFS=$as_save_IFS
4889 case $as_dir in #(((
4890 '') as_dir=./ ;;
4891 */) ;;
4892 *) as_dir=$as_dir/ ;;
4893 esac
4894 for ac_exec_ext in '' $ac_executable_extensions; do
4895 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4896 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4897 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4898 break 2
4900 done
4901 done
4902 IFS=$as_save_IFS
4906 CC=$ac_cv_prog_CC
4907 if test -n "$CC"; then
4908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4909 printf "%s\n" "$CC" >&6; }
4910 else
4911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4912 printf "%s\n" "no" >&6; }
4916 test -n "$CC" && break
4917 done
4919 if test -z "$CC"; then
4920 ac_ct_CC=$CC
4921 for ac_prog in cl.exe
4923 # Extract the first word of "$ac_prog", so it can be a program name with args.
4924 set dummy $ac_prog; ac_word=$2
4925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4926 printf %s "checking for $ac_word... " >&6; }
4927 if test ${ac_cv_prog_ac_ct_CC+y}
4928 then :
4929 printf %s "(cached) " >&6
4930 else $as_nop
4931 if test -n "$ac_ct_CC"; then
4932 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4933 else
4934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4935 for as_dir in $PATH
4937 IFS=$as_save_IFS
4938 case $as_dir in #(((
4939 '') as_dir=./ ;;
4940 */) ;;
4941 *) as_dir=$as_dir/ ;;
4942 esac
4943 for ac_exec_ext in '' $ac_executable_extensions; do
4944 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4945 ac_cv_prog_ac_ct_CC="$ac_prog"
4946 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4947 break 2
4949 done
4950 done
4951 IFS=$as_save_IFS
4955 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4956 if test -n "$ac_ct_CC"; then
4957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4958 printf "%s\n" "$ac_ct_CC" >&6; }
4959 else
4960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4961 printf "%s\n" "no" >&6; }
4965 test -n "$ac_ct_CC" && break
4966 done
4968 if test "x$ac_ct_CC" = x; then
4969 CC=""
4970 else
4971 case $cross_compiling:$ac_tool_warned in
4972 yes:)
4973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4974 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4975 ac_tool_warned=yes ;;
4976 esac
4977 CC=$ac_ct_CC
4982 if test -z "$CC"; then
4983 if test -n "$ac_tool_prefix"; then
4984 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4985 set dummy ${ac_tool_prefix}clang; ac_word=$2
4986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4987 printf %s "checking for $ac_word... " >&6; }
4988 if test ${ac_cv_prog_CC+y}
4989 then :
4990 printf %s "(cached) " >&6
4991 else $as_nop
4992 if test -n "$CC"; then
4993 ac_cv_prog_CC="$CC" # Let the user override the test.
4994 else
4995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4996 for as_dir in $PATH
4998 IFS=$as_save_IFS
4999 case $as_dir in #(((
5000 '') as_dir=./ ;;
5001 */) ;;
5002 *) as_dir=$as_dir/ ;;
5003 esac
5004 for ac_exec_ext in '' $ac_executable_extensions; do
5005 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5006 ac_cv_prog_CC="${ac_tool_prefix}clang"
5007 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5008 break 2
5010 done
5011 done
5012 IFS=$as_save_IFS
5016 CC=$ac_cv_prog_CC
5017 if test -n "$CC"; then
5018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5019 printf "%s\n" "$CC" >&6; }
5020 else
5021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5022 printf "%s\n" "no" >&6; }
5027 if test -z "$ac_cv_prog_CC"; then
5028 ac_ct_CC=$CC
5029 # Extract the first word of "clang", so it can be a program name with args.
5030 set dummy clang; ac_word=$2
5031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5032 printf %s "checking for $ac_word... " >&6; }
5033 if test ${ac_cv_prog_ac_ct_CC+y}
5034 then :
5035 printf %s "(cached) " >&6
5036 else $as_nop
5037 if test -n "$ac_ct_CC"; then
5038 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5039 else
5040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5041 for as_dir in $PATH
5043 IFS=$as_save_IFS
5044 case $as_dir in #(((
5045 '') as_dir=./ ;;
5046 */) ;;
5047 *) as_dir=$as_dir/ ;;
5048 esac
5049 for ac_exec_ext in '' $ac_executable_extensions; do
5050 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5051 ac_cv_prog_ac_ct_CC="clang"
5052 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5053 break 2
5055 done
5056 done
5057 IFS=$as_save_IFS
5061 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5062 if test -n "$ac_ct_CC"; then
5063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5064 printf "%s\n" "$ac_ct_CC" >&6; }
5065 else
5066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5067 printf "%s\n" "no" >&6; }
5070 if test "x$ac_ct_CC" = x; then
5071 CC=""
5072 else
5073 case $cross_compiling:$ac_tool_warned in
5074 yes:)
5075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5076 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5077 ac_tool_warned=yes ;;
5078 esac
5079 CC=$ac_ct_CC
5081 else
5082 CC="$ac_cv_prog_CC"
5088 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5089 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5090 as_fn_error $? "no acceptable C compiler found in \$PATH
5091 See \`config.log' for more details" "$LINENO" 5; }
5093 # Provide some information about the compiler.
5094 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5095 set X $ac_compile
5096 ac_compiler=$2
5097 for ac_option in --version -v -V -qversion -version; do
5098 { { ac_try="$ac_compiler $ac_option >&5"
5099 case "(($ac_try" in
5100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5101 *) ac_try_echo=$ac_try;;
5102 esac
5103 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5104 printf "%s\n" "$ac_try_echo"; } >&5
5105 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5106 ac_status=$?
5107 if test -s conftest.err; then
5108 sed '10a\
5109 ... rest of stderr output deleted ...
5110 10q' conftest.err >conftest.er1
5111 cat conftest.er1 >&5
5113 rm -f conftest.er1 conftest.err
5114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5115 test $ac_status = 0; }
5116 done
5118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5119 /* end confdefs.h. */
5122 main (void)
5126 return 0;
5128 _ACEOF
5129 ac_clean_files_save=$ac_clean_files
5130 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5131 # Try to create an executable without -o first, disregard a.out.
5132 # It will help us diagnose broken compilers, and finding out an intuition
5133 # of exeext.
5134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5135 printf %s "checking whether the C compiler works... " >&6; }
5136 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5138 # The possible output files:
5139 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5141 ac_rmfiles=
5142 for ac_file in $ac_files
5144 case $ac_file in
5145 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5146 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5147 esac
5148 done
5149 rm -f $ac_rmfiles
5151 if { { ac_try="$ac_link_default"
5152 case "(($ac_try" in
5153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5154 *) ac_try_echo=$ac_try;;
5155 esac
5156 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5157 printf "%s\n" "$ac_try_echo"; } >&5
5158 (eval "$ac_link_default") 2>&5
5159 ac_status=$?
5160 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5161 test $ac_status = 0; }
5162 then :
5163 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5164 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5165 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5166 # so that the user can short-circuit this test for compilers unknown to
5167 # Autoconf.
5168 for ac_file in $ac_files ''
5170 test -f "$ac_file" || continue
5171 case $ac_file in
5172 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5174 [ab].out )
5175 # We found the default executable, but exeext='' is most
5176 # certainly right.
5177 break;;
5178 *.* )
5179 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5180 then :; else
5181 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5183 # We set ac_cv_exeext here because the later test for it is not
5184 # safe: cross compilers may not add the suffix if given an `-o'
5185 # argument, so we may need to know it at that point already.
5186 # Even if this section looks crufty: it has the advantage of
5187 # actually working.
5188 break;;
5190 break;;
5191 esac
5192 done
5193 test "$ac_cv_exeext" = no && ac_cv_exeext=
5195 else $as_nop
5196 ac_file=''
5198 if test -z "$ac_file"
5199 then :
5200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5201 printf "%s\n" "no" >&6; }
5202 printf "%s\n" "$as_me: failed program was:" >&5
5203 sed 's/^/| /' conftest.$ac_ext >&5
5205 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5206 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5207 as_fn_error 77 "C compiler cannot create executables
5208 See \`config.log' for more details" "$LINENO" 5; }
5209 else $as_nop
5210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5211 printf "%s\n" "yes" >&6; }
5213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5214 printf %s "checking for C compiler default output file name... " >&6; }
5215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5216 printf "%s\n" "$ac_file" >&6; }
5217 ac_exeext=$ac_cv_exeext
5219 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5220 ac_clean_files=$ac_clean_files_save
5221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5222 printf %s "checking for suffix of executables... " >&6; }
5223 if { { ac_try="$ac_link"
5224 case "(($ac_try" in
5225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5226 *) ac_try_echo=$ac_try;;
5227 esac
5228 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5229 printf "%s\n" "$ac_try_echo"; } >&5
5230 (eval "$ac_link") 2>&5
5231 ac_status=$?
5232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5233 test $ac_status = 0; }
5234 then :
5235 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5236 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5237 # work properly (i.e., refer to `conftest.exe'), while it won't with
5238 # `rm'.
5239 for ac_file in conftest.exe conftest conftest.*; do
5240 test -f "$ac_file" || continue
5241 case $ac_file in
5242 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5243 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5244 break;;
5245 * ) break;;
5246 esac
5247 done
5248 else $as_nop
5249 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5250 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5251 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5252 See \`config.log' for more details" "$LINENO" 5; }
5254 rm -f conftest conftest$ac_cv_exeext
5255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5256 printf "%s\n" "$ac_cv_exeext" >&6; }
5258 rm -f conftest.$ac_ext
5259 EXEEXT=$ac_cv_exeext
5260 ac_exeext=$EXEEXT
5261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5262 /* end confdefs.h. */
5263 #include <stdio.h>
5265 main (void)
5267 FILE *f = fopen ("conftest.out", "w");
5268 return ferror (f) || fclose (f) != 0;
5271 return 0;
5273 _ACEOF
5274 ac_clean_files="$ac_clean_files conftest.out"
5275 # Check that the compiler produces executables we can run. If not, either
5276 # the compiler is broken, or we cross compile.
5277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5278 printf %s "checking whether we are cross compiling... " >&6; }
5279 if test "$cross_compiling" != yes; then
5280 { { ac_try="$ac_link"
5281 case "(($ac_try" in
5282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5283 *) ac_try_echo=$ac_try;;
5284 esac
5285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5286 printf "%s\n" "$ac_try_echo"; } >&5
5287 (eval "$ac_link") 2>&5
5288 ac_status=$?
5289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5290 test $ac_status = 0; }
5291 if { ac_try='./conftest$ac_cv_exeext'
5292 { { case "(($ac_try" in
5293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5294 *) ac_try_echo=$ac_try;;
5295 esac
5296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5297 printf "%s\n" "$ac_try_echo"; } >&5
5298 (eval "$ac_try") 2>&5
5299 ac_status=$?
5300 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5301 test $ac_status = 0; }; }; then
5302 cross_compiling=no
5303 else
5304 if test "$cross_compiling" = maybe; then
5305 cross_compiling=yes
5306 else
5307 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5308 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5309 as_fn_error 77 "cannot run C compiled programs.
5310 If you meant to cross compile, use \`--host'.
5311 See \`config.log' for more details" "$LINENO" 5; }
5315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5316 printf "%s\n" "$cross_compiling" >&6; }
5318 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5319 ac_clean_files=$ac_clean_files_save
5320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5321 printf %s "checking for suffix of object files... " >&6; }
5322 if test ${ac_cv_objext+y}
5323 then :
5324 printf %s "(cached) " >&6
5325 else $as_nop
5326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5327 /* end confdefs.h. */
5330 main (void)
5334 return 0;
5336 _ACEOF
5337 rm -f conftest.o conftest.obj
5338 if { { ac_try="$ac_compile"
5339 case "(($ac_try" in
5340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5341 *) ac_try_echo=$ac_try;;
5342 esac
5343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5344 printf "%s\n" "$ac_try_echo"; } >&5
5345 (eval "$ac_compile") 2>&5
5346 ac_status=$?
5347 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5348 test $ac_status = 0; }
5349 then :
5350 for ac_file in conftest.o conftest.obj conftest.*; do
5351 test -f "$ac_file" || continue;
5352 case $ac_file in
5353 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5354 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5355 break;;
5356 esac
5357 done
5358 else $as_nop
5359 printf "%s\n" "$as_me: failed program was:" >&5
5360 sed 's/^/| /' conftest.$ac_ext >&5
5362 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5363 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5364 as_fn_error $? "cannot compute suffix of object files: cannot compile
5365 See \`config.log' for more details" "$LINENO" 5; }
5367 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5370 printf "%s\n" "$ac_cv_objext" >&6; }
5371 OBJEXT=$ac_cv_objext
5372 ac_objext=$OBJEXT
5373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5374 printf %s "checking whether the compiler supports GNU C... " >&6; }
5375 if test ${ac_cv_c_compiler_gnu+y}
5376 then :
5377 printf %s "(cached) " >&6
5378 else $as_nop
5379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5380 /* end confdefs.h. */
5383 main (void)
5385 #ifndef __GNUC__
5386 choke me
5387 #endif
5390 return 0;
5392 _ACEOF
5393 if ac_fn_c_try_compile "$LINENO"
5394 then :
5395 ac_compiler_gnu=yes
5396 else $as_nop
5397 ac_compiler_gnu=no
5399 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5400 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5404 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5407 if test $ac_compiler_gnu = yes; then
5408 GCC=yes
5409 else
5410 GCC=
5412 ac_test_CFLAGS=${CFLAGS+y}
5413 ac_save_CFLAGS=$CFLAGS
5414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5415 printf %s "checking whether $CC accepts -g... " >&6; }
5416 if test ${ac_cv_prog_cc_g+y}
5417 then :
5418 printf %s "(cached) " >&6
5419 else $as_nop
5420 ac_save_c_werror_flag=$ac_c_werror_flag
5421 ac_c_werror_flag=yes
5422 ac_cv_prog_cc_g=no
5423 CFLAGS="-g"
5424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5425 /* end confdefs.h. */
5428 main (void)
5432 return 0;
5434 _ACEOF
5435 if ac_fn_c_try_compile "$LINENO"
5436 then :
5437 ac_cv_prog_cc_g=yes
5438 else $as_nop
5439 CFLAGS=""
5440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5441 /* end confdefs.h. */
5444 main (void)
5448 return 0;
5450 _ACEOF
5451 if ac_fn_c_try_compile "$LINENO"
5452 then :
5454 else $as_nop
5455 ac_c_werror_flag=$ac_save_c_werror_flag
5456 CFLAGS="-g"
5457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5458 /* end confdefs.h. */
5461 main (void)
5465 return 0;
5467 _ACEOF
5468 if ac_fn_c_try_compile "$LINENO"
5469 then :
5470 ac_cv_prog_cc_g=yes
5472 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5474 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5476 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5477 ac_c_werror_flag=$ac_save_c_werror_flag
5479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5480 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5481 if test $ac_test_CFLAGS; then
5482 CFLAGS=$ac_save_CFLAGS
5483 elif test $ac_cv_prog_cc_g = yes; then
5484 if test "$GCC" = yes; then
5485 CFLAGS="-g -O2"
5486 else
5487 CFLAGS="-g"
5489 else
5490 if test "$GCC" = yes; then
5491 CFLAGS="-O2"
5492 else
5493 CFLAGS=
5496 ac_prog_cc_stdc=no
5497 if test x$ac_prog_cc_stdc = xno
5498 then :
5499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5500 printf %s "checking for $CC option to enable C11 features... " >&6; }
5501 if test ${ac_cv_prog_cc_c11+y}
5502 then :
5503 printf %s "(cached) " >&6
5504 else $as_nop
5505 ac_cv_prog_cc_c11=no
5506 ac_save_CC=$CC
5507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5508 /* end confdefs.h. */
5509 $ac_c_conftest_c11_program
5510 _ACEOF
5511 for ac_arg in '' -std=gnu11
5513 CC="$ac_save_CC $ac_arg"
5514 if ac_fn_c_try_compile "$LINENO"
5515 then :
5516 ac_cv_prog_cc_c11=$ac_arg
5518 rm -f core conftest.err conftest.$ac_objext conftest.beam
5519 test "x$ac_cv_prog_cc_c11" != "xno" && break
5520 done
5521 rm -f conftest.$ac_ext
5522 CC=$ac_save_CC
5525 if test "x$ac_cv_prog_cc_c11" = xno
5526 then :
5527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5528 printf "%s\n" "unsupported" >&6; }
5529 else $as_nop
5530 if test "x$ac_cv_prog_cc_c11" = x
5531 then :
5532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5533 printf "%s\n" "none needed" >&6; }
5534 else $as_nop
5535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5536 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5537 CC="$CC $ac_cv_prog_cc_c11"
5539 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5540 ac_prog_cc_stdc=c11
5543 if test x$ac_prog_cc_stdc = xno
5544 then :
5545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5546 printf %s "checking for $CC option to enable C99 features... " >&6; }
5547 if test ${ac_cv_prog_cc_c99+y}
5548 then :
5549 printf %s "(cached) " >&6
5550 else $as_nop
5551 ac_cv_prog_cc_c99=no
5552 ac_save_CC=$CC
5553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5554 /* end confdefs.h. */
5555 $ac_c_conftest_c99_program
5556 _ACEOF
5557 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5559 CC="$ac_save_CC $ac_arg"
5560 if ac_fn_c_try_compile "$LINENO"
5561 then :
5562 ac_cv_prog_cc_c99=$ac_arg
5564 rm -f core conftest.err conftest.$ac_objext conftest.beam
5565 test "x$ac_cv_prog_cc_c99" != "xno" && break
5566 done
5567 rm -f conftest.$ac_ext
5568 CC=$ac_save_CC
5571 if test "x$ac_cv_prog_cc_c99" = xno
5572 then :
5573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5574 printf "%s\n" "unsupported" >&6; }
5575 else $as_nop
5576 if test "x$ac_cv_prog_cc_c99" = x
5577 then :
5578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5579 printf "%s\n" "none needed" >&6; }
5580 else $as_nop
5581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5582 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5583 CC="$CC $ac_cv_prog_cc_c99"
5585 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5586 ac_prog_cc_stdc=c99
5589 if test x$ac_prog_cc_stdc = xno
5590 then :
5591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5592 printf %s "checking for $CC option to enable C89 features... " >&6; }
5593 if test ${ac_cv_prog_cc_c89+y}
5594 then :
5595 printf %s "(cached) " >&6
5596 else $as_nop
5597 ac_cv_prog_cc_c89=no
5598 ac_save_CC=$CC
5599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5600 /* end confdefs.h. */
5601 $ac_c_conftest_c89_program
5602 _ACEOF
5603 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5605 CC="$ac_save_CC $ac_arg"
5606 if ac_fn_c_try_compile "$LINENO"
5607 then :
5608 ac_cv_prog_cc_c89=$ac_arg
5610 rm -f core conftest.err conftest.$ac_objext conftest.beam
5611 test "x$ac_cv_prog_cc_c89" != "xno" && break
5612 done
5613 rm -f conftest.$ac_ext
5614 CC=$ac_save_CC
5617 if test "x$ac_cv_prog_cc_c89" = xno
5618 then :
5619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5620 printf "%s\n" "unsupported" >&6; }
5621 else $as_nop
5622 if test "x$ac_cv_prog_cc_c89" = x
5623 then :
5624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5625 printf "%s\n" "none needed" >&6; }
5626 else $as_nop
5627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5628 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5629 CC="$CC $ac_cv_prog_cc_c89"
5631 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5632 ac_prog_cc_stdc=c89
5636 ac_ext=c
5637 ac_cpp='$CPP $CPPFLAGS'
5638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5648 ac_ext=cpp
5649 ac_cpp='$CXXCPP $CPPFLAGS'
5650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5653 if test -z "$CXX"; then
5654 if test -n "$CCC"; then
5655 CXX=$CCC
5656 else
5657 if test -n "$ac_tool_prefix"; then
5658 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5660 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5661 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5663 printf %s "checking for $ac_word... " >&6; }
5664 if test ${ac_cv_prog_CXX+y}
5665 then :
5666 printf %s "(cached) " >&6
5667 else $as_nop
5668 if test -n "$CXX"; then
5669 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5670 else
5671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5672 for as_dir in $PATH
5674 IFS=$as_save_IFS
5675 case $as_dir in #(((
5676 '') as_dir=./ ;;
5677 */) ;;
5678 *) as_dir=$as_dir/ ;;
5679 esac
5680 for ac_exec_ext in '' $ac_executable_extensions; do
5681 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5682 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5684 break 2
5686 done
5687 done
5688 IFS=$as_save_IFS
5692 CXX=$ac_cv_prog_CXX
5693 if test -n "$CXX"; then
5694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5695 printf "%s\n" "$CXX" >&6; }
5696 else
5697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5698 printf "%s\n" "no" >&6; }
5702 test -n "$CXX" && break
5703 done
5705 if test -z "$CXX"; then
5706 ac_ct_CXX=$CXX
5707 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5709 # Extract the first word of "$ac_prog", so it can be a program name with args.
5710 set dummy $ac_prog; ac_word=$2
5711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5712 printf %s "checking for $ac_word... " >&6; }
5713 if test ${ac_cv_prog_ac_ct_CXX+y}
5714 then :
5715 printf %s "(cached) " >&6
5716 else $as_nop
5717 if test -n "$ac_ct_CXX"; then
5718 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5719 else
5720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5721 for as_dir in $PATH
5723 IFS=$as_save_IFS
5724 case $as_dir in #(((
5725 '') as_dir=./ ;;
5726 */) ;;
5727 *) as_dir=$as_dir/ ;;
5728 esac
5729 for ac_exec_ext in '' $ac_executable_extensions; do
5730 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5731 ac_cv_prog_ac_ct_CXX="$ac_prog"
5732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5733 break 2
5735 done
5736 done
5737 IFS=$as_save_IFS
5741 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5742 if test -n "$ac_ct_CXX"; then
5743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5744 printf "%s\n" "$ac_ct_CXX" >&6; }
5745 else
5746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 printf "%s\n" "no" >&6; }
5751 test -n "$ac_ct_CXX" && break
5752 done
5754 if test "x$ac_ct_CXX" = x; then
5755 CXX="g++"
5756 else
5757 case $cross_compiling:$ac_tool_warned in
5758 yes:)
5759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5760 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5761 ac_tool_warned=yes ;;
5762 esac
5763 CXX=$ac_ct_CXX
5769 # Provide some information about the compiler.
5770 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5771 set X $ac_compile
5772 ac_compiler=$2
5773 for ac_option in --version -v -V -qversion; do
5774 { { ac_try="$ac_compiler $ac_option >&5"
5775 case "(($ac_try" in
5776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5777 *) ac_try_echo=$ac_try;;
5778 esac
5779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5780 printf "%s\n" "$ac_try_echo"; } >&5
5781 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5782 ac_status=$?
5783 if test -s conftest.err; then
5784 sed '10a\
5785 ... rest of stderr output deleted ...
5786 10q' conftest.err >conftest.er1
5787 cat conftest.er1 >&5
5789 rm -f conftest.er1 conftest.err
5790 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5791 test $ac_status = 0; }
5792 done
5794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5795 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5796 if test ${ac_cv_cxx_compiler_gnu+y}
5797 then :
5798 printf %s "(cached) " >&6
5799 else $as_nop
5800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5801 /* end confdefs.h. */
5804 main (void)
5806 #ifndef __GNUC__
5807 choke me
5808 #endif
5811 return 0;
5813 _ACEOF
5814 if ac_fn_cxx_try_compile "$LINENO"
5815 then :
5816 ac_compiler_gnu=yes
5817 else $as_nop
5818 ac_compiler_gnu=no
5820 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5821 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5825 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5828 if test $ac_compiler_gnu = yes; then
5829 GXX=yes
5830 else
5831 GXX=
5833 ac_test_CXXFLAGS=${CXXFLAGS+y}
5834 ac_save_CXXFLAGS=$CXXFLAGS
5835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5836 printf %s "checking whether $CXX accepts -g... " >&6; }
5837 if test ${ac_cv_prog_cxx_g+y}
5838 then :
5839 printf %s "(cached) " >&6
5840 else $as_nop
5841 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5842 ac_cxx_werror_flag=yes
5843 ac_cv_prog_cxx_g=no
5844 CXXFLAGS="-g"
5845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5846 /* end confdefs.h. */
5849 main (void)
5853 return 0;
5855 _ACEOF
5856 if ac_fn_cxx_try_compile "$LINENO"
5857 then :
5858 ac_cv_prog_cxx_g=yes
5859 else $as_nop
5860 CXXFLAGS=""
5861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5862 /* end confdefs.h. */
5865 main (void)
5869 return 0;
5871 _ACEOF
5872 if ac_fn_cxx_try_compile "$LINENO"
5873 then :
5875 else $as_nop
5876 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5877 CXXFLAGS="-g"
5878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5879 /* end confdefs.h. */
5882 main (void)
5886 return 0;
5888 _ACEOF
5889 if ac_fn_cxx_try_compile "$LINENO"
5890 then :
5891 ac_cv_prog_cxx_g=yes
5893 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5895 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5897 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5898 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5901 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5902 if test $ac_test_CXXFLAGS; then
5903 CXXFLAGS=$ac_save_CXXFLAGS
5904 elif test $ac_cv_prog_cxx_g = yes; then
5905 if test "$GXX" = yes; then
5906 CXXFLAGS="-g -O2"
5907 else
5908 CXXFLAGS="-g"
5910 else
5911 if test "$GXX" = yes; then
5912 CXXFLAGS="-O2"
5913 else
5914 CXXFLAGS=
5917 ac_prog_cxx_stdcxx=no
5918 if test x$ac_prog_cxx_stdcxx = xno
5919 then :
5920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5921 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5922 if test ${ac_cv_prog_cxx_cxx11+y}
5923 then :
5924 printf %s "(cached) " >&6
5925 else $as_nop
5926 ac_cv_prog_cxx_cxx11=no
5927 ac_save_CXX=$CXX
5928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5929 /* end confdefs.h. */
5930 $ac_cxx_conftest_cxx11_program
5931 _ACEOF
5932 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5934 CXX="$ac_save_CXX $ac_arg"
5935 if ac_fn_cxx_try_compile "$LINENO"
5936 then :
5937 ac_cv_prog_cxx_cxx11=$ac_arg
5939 rm -f core conftest.err conftest.$ac_objext conftest.beam
5940 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5941 done
5942 rm -f conftest.$ac_ext
5943 CXX=$ac_save_CXX
5946 if test "x$ac_cv_prog_cxx_cxx11" = xno
5947 then :
5948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5949 printf "%s\n" "unsupported" >&6; }
5950 else $as_nop
5951 if test "x$ac_cv_prog_cxx_cxx11" = x
5952 then :
5953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5954 printf "%s\n" "none needed" >&6; }
5955 else $as_nop
5956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5957 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5958 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5960 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5961 ac_prog_cxx_stdcxx=cxx11
5964 if test x$ac_prog_cxx_stdcxx = xno
5965 then :
5966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5967 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5968 if test ${ac_cv_prog_cxx_cxx98+y}
5969 then :
5970 printf %s "(cached) " >&6
5971 else $as_nop
5972 ac_cv_prog_cxx_cxx98=no
5973 ac_save_CXX=$CXX
5974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5975 /* end confdefs.h. */
5976 $ac_cxx_conftest_cxx98_program
5977 _ACEOF
5978 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5980 CXX="$ac_save_CXX $ac_arg"
5981 if ac_fn_cxx_try_compile "$LINENO"
5982 then :
5983 ac_cv_prog_cxx_cxx98=$ac_arg
5985 rm -f core conftest.err conftest.$ac_objext conftest.beam
5986 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5987 done
5988 rm -f conftest.$ac_ext
5989 CXX=$ac_save_CXX
5992 if test "x$ac_cv_prog_cxx_cxx98" = xno
5993 then :
5994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5995 printf "%s\n" "unsupported" >&6; }
5996 else $as_nop
5997 if test "x$ac_cv_prog_cxx_cxx98" = x
5998 then :
5999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6000 printf "%s\n" "none needed" >&6; }
6001 else $as_nop
6002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6003 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6004 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6006 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6007 ac_prog_cxx_stdcxx=cxx98
6011 ac_ext=c
6012 ac_cpp='$CPP $CPPFLAGS'
6013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6017 if test -n "$ac_tool_prefix"; then
6018 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6019 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6021 printf %s "checking for $ac_word... " >&6; }
6022 if test ${ac_cv_prog_CPPBIN+y}
6023 then :
6024 printf %s "(cached) " >&6
6025 else $as_nop
6026 if test -n "$CPPBIN"; then
6027 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6028 else
6029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6030 for as_dir in $PATH
6032 IFS=$as_save_IFS
6033 case $as_dir in #(((
6034 '') as_dir=./ ;;
6035 */) ;;
6036 *) as_dir=$as_dir/ ;;
6037 esac
6038 for ac_exec_ext in '' $ac_executable_extensions; do
6039 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6040 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6041 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6042 break 2
6044 done
6045 done
6046 IFS=$as_save_IFS
6050 CPPBIN=$ac_cv_prog_CPPBIN
6051 if test -n "$CPPBIN"; then
6052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6053 printf "%s\n" "$CPPBIN" >&6; }
6054 else
6055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6056 printf "%s\n" "no" >&6; }
6061 if test -z "$ac_cv_prog_CPPBIN"; then
6062 ac_ct_CPPBIN=$CPPBIN
6063 # Extract the first word of "cpp", so it can be a program name with args.
6064 set dummy cpp; ac_word=$2
6065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6066 printf %s "checking for $ac_word... " >&6; }
6067 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6068 then :
6069 printf %s "(cached) " >&6
6070 else $as_nop
6071 if test -n "$ac_ct_CPPBIN"; then
6072 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6073 else
6074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6075 for as_dir in $PATH
6077 IFS=$as_save_IFS
6078 case $as_dir in #(((
6079 '') as_dir=./ ;;
6080 */) ;;
6081 *) as_dir=$as_dir/ ;;
6082 esac
6083 for ac_exec_ext in '' $ac_executable_extensions; do
6084 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6085 ac_cv_prog_ac_ct_CPPBIN="cpp"
6086 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6087 break 2
6089 done
6090 done
6091 IFS=$as_save_IFS
6095 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6096 if test -n "$ac_ct_CPPBIN"; then
6097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6098 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6099 else
6100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6101 printf "%s\n" "no" >&6; }
6104 if test "x$ac_ct_CPPBIN" = x; then
6105 CPPBIN="cpp"
6106 else
6107 case $cross_compiling:$ac_tool_warned in
6108 yes:)
6109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6110 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6111 ac_tool_warned=yes ;;
6112 esac
6113 CPPBIN=$ac_ct_CPPBIN
6115 else
6116 CPPBIN="$ac_cv_prog_CPPBIN"
6120 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6122 if test -n "$ac_tool_prefix"; then
6123 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6124 set dummy ${ac_tool_prefix}ld; ac_word=$2
6125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6126 printf %s "checking for $ac_word... " >&6; }
6127 if test ${ac_cv_prog_LD+y}
6128 then :
6129 printf %s "(cached) " >&6
6130 else $as_nop
6131 if test -n "$LD"; then
6132 ac_cv_prog_LD="$LD" # Let the user override the test.
6133 else
6134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6135 for as_dir in $PATH
6137 IFS=$as_save_IFS
6138 case $as_dir in #(((
6139 '') as_dir=./ ;;
6140 */) ;;
6141 *) as_dir=$as_dir/ ;;
6142 esac
6143 for ac_exec_ext in '' $ac_executable_extensions; do
6144 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6145 ac_cv_prog_LD="${ac_tool_prefix}ld"
6146 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6147 break 2
6149 done
6150 done
6151 IFS=$as_save_IFS
6155 LD=$ac_cv_prog_LD
6156 if test -n "$LD"; then
6157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6158 printf "%s\n" "$LD" >&6; }
6159 else
6160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6161 printf "%s\n" "no" >&6; }
6166 if test -z "$ac_cv_prog_LD"; then
6167 ac_ct_LD=$LD
6168 # Extract the first word of "ld", so it can be a program name with args.
6169 set dummy ld; ac_word=$2
6170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6171 printf %s "checking for $ac_word... " >&6; }
6172 if test ${ac_cv_prog_ac_ct_LD+y}
6173 then :
6174 printf %s "(cached) " >&6
6175 else $as_nop
6176 if test -n "$ac_ct_LD"; then
6177 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6178 else
6179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6180 for as_dir in $PATH
6182 IFS=$as_save_IFS
6183 case $as_dir in #(((
6184 '') as_dir=./ ;;
6185 */) ;;
6186 *) as_dir=$as_dir/ ;;
6187 esac
6188 for ac_exec_ext in '' $ac_executable_extensions; do
6189 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6190 ac_cv_prog_ac_ct_LD="ld"
6191 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6192 break 2
6194 done
6195 done
6196 IFS=$as_save_IFS
6200 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6201 if test -n "$ac_ct_LD"; then
6202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6203 printf "%s\n" "$ac_ct_LD" >&6; }
6204 else
6205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6206 printf "%s\n" "no" >&6; }
6209 if test "x$ac_ct_LD" = x; then
6210 LD=""
6211 else
6212 case $cross_compiling:$ac_tool_warned in
6213 yes:)
6214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6215 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6216 ac_tool_warned=yes ;;
6217 esac
6218 LD=$ac_ct_LD
6220 else
6221 LD="$ac_cv_prog_LD"
6225 case $host in
6226 *-darwin*)
6227 with_fontconfig=${with_fontconfig:-no}
6229 *-mingw32*|*-cygwin*)
6230 enable_win16=${enable_win16:-no}
6231 with_mingw=${with_mingw:-no}
6233 esac
6236 case $host in
6237 x86_64*|amd64*)
6238 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6239 then
6240 CC="$CC -m32"
6241 CXX="$CXX -m32"
6243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6244 printf %s "checking whether $CC works... " >&6; }
6245 if test ${wine_cv_cc_m32+y}
6246 then :
6247 printf %s "(cached) " >&6
6248 else $as_nop
6249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6250 /* end confdefs.h. */
6253 main (void)
6257 return 0;
6259 _ACEOF
6260 if ac_fn_c_try_link "$LINENO"
6261 then :
6262 wine_cv_cc_m32=yes
6263 else $as_nop
6264 wine_cv_cc_m32=no
6266 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6267 conftest$ac_exeext conftest.$ac_ext
6269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6270 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6271 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
6272 host_cpu="i386"
6273 notice_platform="32-bit "
6274 TARGETFLAGS="$TARGETFLAGS -m32"
6275 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6276 export PKG_CONFIG_LIBDIR
6277 with_unwind=${with_unwind:-no}
6278 else
6279 CC="$CC -m64"
6280 CXX="$CXX -m64"
6281 host_cpu="x86_64"
6282 notice_platform="64-bit "
6283 TARGETFLAGS="$TARGETFLAGS -m64"
6286 arm*)
6287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6288 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6289 if test ${wine_cv_thumb2+y}
6290 then :
6291 printf %s "(cached) " >&6
6292 else $as_nop
6293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6294 /* end confdefs.h. */
6297 main (void)
6299 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6301 return 0;
6303 _ACEOF
6304 if ac_fn_c_try_link "$LINENO"
6305 then :
6306 wine_cv_thumb2=yes
6307 else $as_nop
6308 wine_cv_thumb2=no
6310 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6311 conftest$ac_exeext conftest.$ac_ext
6313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6314 printf "%s\n" "$wine_cv_thumb2" >&6; }
6315 if test x"$wine_cv_thumb2" = xyes
6316 then
6317 CFLAGS="$CFLAGS -mthumb"
6318 TARGETFLAGS="$TARGETFLAGS -mthumb"
6319 else
6320 CFLAGS="$CFLAGS -marm"
6321 TARGETFLAGS="$TARGETFLAGS -marm"
6323 case $with_float_abi in
6324 soft|softfp|hard)
6325 float_abi=$with_float_abi ;;
6327 case $host_os in
6328 *eabihf)
6329 float_abi=hard ;;
6331 float_abi=softfp
6332 saved_CFLAGS=$CFLAGS
6333 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6335 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6336 if test ${wine_cv_float_abi+y}
6337 then :
6338 printf %s "(cached) " >&6
6339 else $as_nop
6340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6341 /* end confdefs.h. */
6344 main (void)
6346 asm("vmrs r2,fpscr");
6348 return 0;
6350 _ACEOF
6351 if ac_fn_c_try_link "$LINENO"
6352 then :
6353 wine_cv_float_abi=yes
6354 else $as_nop
6355 wine_cv_float_abi=no
6357 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6358 conftest$ac_exeext conftest.$ac_ext
6360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6361 printf "%s\n" "$wine_cv_float_abi" >&6; }
6362 if test $wine_cv_float_abi = no
6363 then
6364 float_abi=soft
6365 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6367 CFLAGS=$saved_CFLAGS
6368 esac
6370 esac
6371 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6372 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6374 i[3456789]86*)
6375 with_unwind=${with_unwind:-no}
6377 esac
6379 enable_win16=${enable_win16:-i386}
6380 enable_win64=${enable_win64:-no}
6381 enable_wow64=${enable_wow64:-aarch64,x86_64}
6382 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6383 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6385 enable_winetest=${enable_winetest:-$enable_tests}
6387 if test "x$enable_win64" = "xyes"
6388 then
6389 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6390 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6393 case $build_os in
6394 cygwin*|mingw32*) toolsext=".exe"
6396 *) toolsext=""
6398 esac
6400 HOST_ARCH=unknown
6401 case "$host_cpu" in
6402 aarch64*) HOST_ARCH=aarch64 ;;
6403 arm*) HOST_ARCH=arm ;;
6404 i[3456789]86*) HOST_ARCH=i386 ;;
6405 x86_64) HOST_ARCH=x86_64 ;;
6406 esac
6409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6410 printf %s "checking for the directory containing the Wine tools... " >&6; }
6411 if test ${wine_cv_toolsdir+y}
6412 then :
6413 printf %s "(cached) " >&6
6414 else $as_nop
6415 wine_cv_toolsdir="$with_wine_tools"
6416 if test -z "$with_wine_tools"; then
6417 if test "$cross_compiling" = "yes"; then
6418 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6419 elif test -n "$with_wine64"; then
6420 wine_cv_toolsdir="$with_wine64"
6424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6425 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6426 if test -z "$wine_cv_toolsdir"; then
6427 wine_makedep=tools/makedep$toolsext
6428 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6429 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6430 enable_tools=${enable_tools:-no}
6431 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6432 else
6433 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6435 toolsdir=$wine_cv_toolsdir
6437 MAKEDEP=$wine_makedep
6439 RUNTESTFLAGS="-q -P wine"
6441 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'"
6444 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6445 then
6446 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6449 for ac_prog in flex
6451 # Extract the first word of "$ac_prog", so it can be a program name with args.
6452 set dummy $ac_prog; ac_word=$2
6453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6454 printf %s "checking for $ac_word... " >&6; }
6455 if test ${ac_cv_prog_FLEX+y}
6456 then :
6457 printf %s "(cached) " >&6
6458 else $as_nop
6459 if test -n "$FLEX"; then
6460 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6461 else
6462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6463 for as_dir in $PATH
6465 IFS=$as_save_IFS
6466 case $as_dir in #(((
6467 '') as_dir=./ ;;
6468 */) ;;
6469 *) as_dir=$as_dir/ ;;
6470 esac
6471 for ac_exec_ext in '' $ac_executable_extensions; do
6472 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6473 ac_cv_prog_FLEX="$ac_prog"
6474 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6475 break 2
6477 done
6478 done
6479 IFS=$as_save_IFS
6483 FLEX=$ac_cv_prog_FLEX
6484 if test -n "$FLEX"; then
6485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6486 printf "%s\n" "$FLEX" >&6; }
6487 else
6488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6489 printf "%s\n" "no" >&6; }
6493 test -n "$FLEX" && break
6494 done
6495 test -n "$FLEX" || FLEX="none"
6497 if test "$FLEX" = "none"
6498 then
6499 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6502 printf %s "checking whether flex is recent enough... " >&6; }
6503 if test ${wine_cv_recent_flex+y}
6504 then :
6505 printf %s "(cached) " >&6
6506 else $as_nop
6507 cat >conftest.l <<EOF
6508 %top{
6509 #include "prediluvian.h"
6513 if $FLEX -t conftest.l >/dev/null 2>&5
6514 then
6515 wine_cv_recent_flex=yes
6516 else
6517 wine_cv_recent_flex=no
6520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6521 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6522 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
6524 for ac_prog in bison
6526 # Extract the first word of "$ac_prog", so it can be a program name with args.
6527 set dummy $ac_prog; ac_word=$2
6528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6529 printf %s "checking for $ac_word... " >&6; }
6530 if test ${ac_cv_prog_BISON+y}
6531 then :
6532 printf %s "(cached) " >&6
6533 else $as_nop
6534 if test -n "$BISON"; then
6535 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6536 else
6537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6538 for as_dir in $PATH
6540 IFS=$as_save_IFS
6541 case $as_dir in #(((
6542 '') as_dir=./ ;;
6543 */) ;;
6544 *) as_dir=$as_dir/ ;;
6545 esac
6546 for ac_exec_ext in '' $ac_executable_extensions; do
6547 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6548 ac_cv_prog_BISON="$ac_prog"
6549 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6550 break 2
6552 done
6553 done
6554 IFS=$as_save_IFS
6558 BISON=$ac_cv_prog_BISON
6559 if test -n "$BISON"; then
6560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6561 printf "%s\n" "$BISON" >&6; }
6562 else
6563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6564 printf "%s\n" "no" >&6; }
6568 test -n "$BISON" && break
6569 done
6570 test -n "$BISON" || BISON="none"
6572 if test "$BISON" = "none"
6573 then
6574 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6577 printf %s "checking whether bison is recent enough... " >&6; }
6578 if test ${wine_cv_recent_bison+y}
6579 then :
6580 printf %s "(cached) " >&6
6581 else $as_nop
6582 cat >conftest.y <<EOF
6583 %define parse.error verbose
6585 empty: ;
6587 if $BISON conftest.y >/dev/null 2>&5
6588 then
6589 wine_cv_recent_bison=yes
6590 else
6591 wine_cv_recent_bison=no
6594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6595 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6596 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
6598 if test -n "$ac_tool_prefix"; then
6599 for ac_prog in ar gar
6601 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6602 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6604 printf %s "checking for $ac_word... " >&6; }
6605 if test ${ac_cv_prog_AR+y}
6606 then :
6607 printf %s "(cached) " >&6
6608 else $as_nop
6609 if test -n "$AR"; then
6610 ac_cv_prog_AR="$AR" # Let the user override the test.
6611 else
6612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6613 for as_dir in $PATH
6615 IFS=$as_save_IFS
6616 case $as_dir in #(((
6617 '') as_dir=./ ;;
6618 */) ;;
6619 *) as_dir=$as_dir/ ;;
6620 esac
6621 for ac_exec_ext in '' $ac_executable_extensions; do
6622 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6623 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6624 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6625 break 2
6627 done
6628 done
6629 IFS=$as_save_IFS
6633 AR=$ac_cv_prog_AR
6634 if test -n "$AR"; then
6635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6636 printf "%s\n" "$AR" >&6; }
6637 else
6638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6639 printf "%s\n" "no" >&6; }
6643 test -n "$AR" && break
6644 done
6646 if test -z "$AR"; then
6647 ac_ct_AR=$AR
6648 for ac_prog in ar gar
6650 # Extract the first word of "$ac_prog", so it can be a program name with args.
6651 set dummy $ac_prog; ac_word=$2
6652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6653 printf %s "checking for $ac_word... " >&6; }
6654 if test ${ac_cv_prog_ac_ct_AR+y}
6655 then :
6656 printf %s "(cached) " >&6
6657 else $as_nop
6658 if test -n "$ac_ct_AR"; then
6659 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6660 else
6661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6662 for as_dir in $PATH
6664 IFS=$as_save_IFS
6665 case $as_dir in #(((
6666 '') as_dir=./ ;;
6667 */) ;;
6668 *) as_dir=$as_dir/ ;;
6669 esac
6670 for ac_exec_ext in '' $ac_executable_extensions; do
6671 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6672 ac_cv_prog_ac_ct_AR="$ac_prog"
6673 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6674 break 2
6676 done
6677 done
6678 IFS=$as_save_IFS
6682 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6683 if test -n "$ac_ct_AR"; then
6684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6685 printf "%s\n" "$ac_ct_AR" >&6; }
6686 else
6687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6688 printf "%s\n" "no" >&6; }
6692 test -n "$ac_ct_AR" && break
6693 done
6695 if test "x$ac_ct_AR" = x; then
6696 AR="ar"
6697 else
6698 case $cross_compiling:$ac_tool_warned in
6699 yes:)
6700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6701 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6702 ac_tool_warned=yes ;;
6703 esac
6704 AR=$ac_ct_AR
6708 if test -n "$ac_tool_prefix"; then
6709 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6710 set dummy ${ac_tool_prefix}strip; ac_word=$2
6711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6712 printf %s "checking for $ac_word... " >&6; }
6713 if test ${ac_cv_prog_STRIP+y}
6714 then :
6715 printf %s "(cached) " >&6
6716 else $as_nop
6717 if test -n "$STRIP"; then
6718 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6719 else
6720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6721 for as_dir in $PATH
6723 IFS=$as_save_IFS
6724 case $as_dir in #(((
6725 '') as_dir=./ ;;
6726 */) ;;
6727 *) as_dir=$as_dir/ ;;
6728 esac
6729 for ac_exec_ext in '' $ac_executable_extensions; do
6730 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6731 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6733 break 2
6735 done
6736 done
6737 IFS=$as_save_IFS
6741 STRIP=$ac_cv_prog_STRIP
6742 if test -n "$STRIP"; then
6743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6744 printf "%s\n" "$STRIP" >&6; }
6745 else
6746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6747 printf "%s\n" "no" >&6; }
6752 if test -z "$ac_cv_prog_STRIP"; then
6753 ac_ct_STRIP=$STRIP
6754 # Extract the first word of "strip", so it can be a program name with args.
6755 set dummy strip; ac_word=$2
6756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6757 printf %s "checking for $ac_word... " >&6; }
6758 if test ${ac_cv_prog_ac_ct_STRIP+y}
6759 then :
6760 printf %s "(cached) " >&6
6761 else $as_nop
6762 if test -n "$ac_ct_STRIP"; then
6763 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6764 else
6765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6766 for as_dir in $PATH
6768 IFS=$as_save_IFS
6769 case $as_dir in #(((
6770 '') as_dir=./ ;;
6771 */) ;;
6772 *) as_dir=$as_dir/ ;;
6773 esac
6774 for ac_exec_ext in '' $ac_executable_extensions; do
6775 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6776 ac_cv_prog_ac_ct_STRIP="strip"
6777 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6778 break 2
6780 done
6781 done
6782 IFS=$as_save_IFS
6786 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6787 if test -n "$ac_ct_STRIP"; then
6788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6789 printf "%s\n" "$ac_ct_STRIP" >&6; }
6790 else
6791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6792 printf "%s\n" "no" >&6; }
6795 if test "x$ac_ct_STRIP" = x; then
6796 STRIP="strip"
6797 else
6798 case $cross_compiling:$ac_tool_warned in
6799 yes:)
6800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6801 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6802 ac_tool_warned=yes ;;
6803 esac
6804 STRIP=$ac_ct_STRIP
6806 else
6807 STRIP="$ac_cv_prog_STRIP"
6810 if test -n "$ac_tool_prefix"; then
6811 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6812 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6814 printf %s "checking for $ac_word... " >&6; }
6815 if test ${ac_cv_prog_RANLIB+y}
6816 then :
6817 printf %s "(cached) " >&6
6818 else $as_nop
6819 if test -n "$RANLIB"; then
6820 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6821 else
6822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6823 for as_dir in $PATH
6825 IFS=$as_save_IFS
6826 case $as_dir in #(((
6827 '') as_dir=./ ;;
6828 */) ;;
6829 *) as_dir=$as_dir/ ;;
6830 esac
6831 for ac_exec_ext in '' $ac_executable_extensions; do
6832 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6833 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6834 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6835 break 2
6837 done
6838 done
6839 IFS=$as_save_IFS
6843 RANLIB=$ac_cv_prog_RANLIB
6844 if test -n "$RANLIB"; then
6845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6846 printf "%s\n" "$RANLIB" >&6; }
6847 else
6848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6849 printf "%s\n" "no" >&6; }
6854 if test -z "$ac_cv_prog_RANLIB"; then
6855 ac_ct_RANLIB=$RANLIB
6856 # Extract the first word of "ranlib", so it can be a program name with args.
6857 set dummy ranlib; ac_word=$2
6858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6859 printf %s "checking for $ac_word... " >&6; }
6860 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6861 then :
6862 printf %s "(cached) " >&6
6863 else $as_nop
6864 if test -n "$ac_ct_RANLIB"; then
6865 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6866 else
6867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6868 for as_dir in $PATH
6870 IFS=$as_save_IFS
6871 case $as_dir in #(((
6872 '') as_dir=./ ;;
6873 */) ;;
6874 *) as_dir=$as_dir/ ;;
6875 esac
6876 for ac_exec_ext in '' $ac_executable_extensions; do
6877 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6878 ac_cv_prog_ac_ct_RANLIB="ranlib"
6879 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6880 break 2
6882 done
6883 done
6884 IFS=$as_save_IFS
6888 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6889 if test -n "$ac_ct_RANLIB"; then
6890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6891 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6892 else
6893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6894 printf "%s\n" "no" >&6; }
6897 if test "x$ac_ct_RANLIB" = x; then
6898 RANLIB=":"
6899 else
6900 case $cross_compiling:$ac_tool_warned in
6901 yes:)
6902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6903 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6904 ac_tool_warned=yes ;;
6905 esac
6906 RANLIB=$ac_ct_RANLIB
6908 else
6909 RANLIB="$ac_cv_prog_RANLIB"
6912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6913 printf %s "checking whether ln -s works... " >&6; }
6914 LN_S=$as_ln_s
6915 if test "$LN_S" = "ln -s"; then
6916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6917 printf "%s\n" "yes" >&6; }
6918 else
6919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6920 printf "%s\n" "no, using $LN_S" >&6; }
6923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6924 printf %s "checking for grep that handles long lines and -e... " >&6; }
6925 if test ${ac_cv_path_GREP+y}
6926 then :
6927 printf %s "(cached) " >&6
6928 else $as_nop
6929 if test -z "$GREP"; then
6930 ac_path_GREP_found=false
6931 # Loop through the user's path and test for each of PROGNAME-LIST
6932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6933 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6935 IFS=$as_save_IFS
6936 case $as_dir in #(((
6937 '') as_dir=./ ;;
6938 */) ;;
6939 *) as_dir=$as_dir/ ;;
6940 esac
6941 for ac_prog in grep ggrep
6943 for ac_exec_ext in '' $ac_executable_extensions; do
6944 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6945 as_fn_executable_p "$ac_path_GREP" || continue
6946 # Check for GNU ac_path_GREP and select it if it is found.
6947 # Check for GNU $ac_path_GREP
6948 case `"$ac_path_GREP" --version 2>&1` in
6949 *GNU*)
6950 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6952 ac_count=0
6953 printf %s 0123456789 >"conftest.in"
6954 while :
6956 cat "conftest.in" "conftest.in" >"conftest.tmp"
6957 mv "conftest.tmp" "conftest.in"
6958 cp "conftest.in" "conftest.nl"
6959 printf "%s\n" 'GREP' >> "conftest.nl"
6960 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6961 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6962 as_fn_arith $ac_count + 1 && ac_count=$as_val
6963 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6964 # Best one so far, save it but keep looking for a better one
6965 ac_cv_path_GREP="$ac_path_GREP"
6966 ac_path_GREP_max=$ac_count
6968 # 10*(2^10) chars as input seems more than enough
6969 test $ac_count -gt 10 && break
6970 done
6971 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6972 esac
6974 $ac_path_GREP_found && break 3
6975 done
6976 done
6977 done
6978 IFS=$as_save_IFS
6979 if test -z "$ac_cv_path_GREP"; then
6980 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6982 else
6983 ac_cv_path_GREP=$GREP
6987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6988 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6989 GREP="$ac_cv_path_GREP"
6992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6993 printf %s "checking for egrep... " >&6; }
6994 if test ${ac_cv_path_EGREP+y}
6995 then :
6996 printf %s "(cached) " >&6
6997 else $as_nop
6998 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6999 then ac_cv_path_EGREP="$GREP -E"
7000 else
7001 if test -z "$EGREP"; then
7002 ac_path_EGREP_found=false
7003 # Loop through the user's path and test for each of PROGNAME-LIST
7004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7005 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7007 IFS=$as_save_IFS
7008 case $as_dir in #(((
7009 '') as_dir=./ ;;
7010 */) ;;
7011 *) as_dir=$as_dir/ ;;
7012 esac
7013 for ac_prog in egrep
7015 for ac_exec_ext in '' $ac_executable_extensions; do
7016 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7017 as_fn_executable_p "$ac_path_EGREP" || continue
7018 # Check for GNU ac_path_EGREP and select it if it is found.
7019 # Check for GNU $ac_path_EGREP
7020 case `"$ac_path_EGREP" --version 2>&1` in
7021 *GNU*)
7022 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7024 ac_count=0
7025 printf %s 0123456789 >"conftest.in"
7026 while :
7028 cat "conftest.in" "conftest.in" >"conftest.tmp"
7029 mv "conftest.tmp" "conftest.in"
7030 cp "conftest.in" "conftest.nl"
7031 printf "%s\n" 'EGREP' >> "conftest.nl"
7032 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7033 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7034 as_fn_arith $ac_count + 1 && ac_count=$as_val
7035 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7036 # Best one so far, save it but keep looking for a better one
7037 ac_cv_path_EGREP="$ac_path_EGREP"
7038 ac_path_EGREP_max=$ac_count
7040 # 10*(2^10) chars as input seems more than enough
7041 test $ac_count -gt 10 && break
7042 done
7043 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7044 esac
7046 $ac_path_EGREP_found && break 3
7047 done
7048 done
7049 done
7050 IFS=$as_save_IFS
7051 if test -z "$ac_cv_path_EGREP"; then
7052 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7054 else
7055 ac_cv_path_EGREP=$EGREP
7060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7061 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7062 EGREP="$ac_cv_path_EGREP"
7065 # Extract the first word of "ldconfig", so it can be a program name with args.
7066 set dummy ldconfig; ac_word=$2
7067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7068 printf %s "checking for $ac_word... " >&6; }
7069 if test ${ac_cv_path_LDCONFIG+y}
7070 then :
7071 printf %s "(cached) " >&6
7072 else $as_nop
7073 case $LDCONFIG in
7074 [\\/]* | ?:[\\/]*)
7075 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7079 for as_dir in /sbin /usr/sbin $PATH
7081 IFS=$as_save_IFS
7082 case $as_dir in #(((
7083 '') as_dir=./ ;;
7084 */) ;;
7085 *) as_dir=$as_dir/ ;;
7086 esac
7087 for ac_exec_ext in '' $ac_executable_extensions; do
7088 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7089 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7090 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7091 break 2
7093 done
7094 done
7095 IFS=$as_save_IFS
7097 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7099 esac
7101 LDCONFIG=$ac_cv_path_LDCONFIG
7102 if test -n "$LDCONFIG"; then
7103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7104 printf "%s\n" "$LDCONFIG" >&6; }
7105 else
7106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7107 printf "%s\n" "no" >&6; }
7111 for ac_prog in msgfmt
7113 # Extract the first word of "$ac_prog", so it can be a program name with args.
7114 set dummy $ac_prog; ac_word=$2
7115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7116 printf %s "checking for $ac_word... " >&6; }
7117 if test ${ac_cv_prog_MSGFMT+y}
7118 then :
7119 printf %s "(cached) " >&6
7120 else $as_nop
7121 if test -n "$MSGFMT"; then
7122 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7123 else
7124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7125 for as_dir in $PATH
7127 IFS=$as_save_IFS
7128 case $as_dir in #(((
7129 '') as_dir=./ ;;
7130 */) ;;
7131 *) as_dir=$as_dir/ ;;
7132 esac
7133 for ac_exec_ext in '' $ac_executable_extensions; do
7134 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7135 ac_cv_prog_MSGFMT="$ac_prog"
7136 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7137 break 2
7139 done
7140 done
7141 IFS=$as_save_IFS
7145 MSGFMT=$ac_cv_prog_MSGFMT
7146 if test -n "$MSGFMT"; then
7147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7148 printf "%s\n" "$MSGFMT" >&6; }
7149 else
7150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7151 printf "%s\n" "no" >&6; }
7155 test -n "$MSGFMT" && break
7156 done
7157 test -n "$MSGFMT" || MSGFMT="false"
7159 if test ${ac_tool_prefix+y}
7160 then :
7161 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7162 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7164 printf %s "checking for $ac_word... " >&6; }
7165 if test ${ac_cv_prog_PKG_CONFIG+y}
7166 then :
7167 printf %s "(cached) " >&6
7168 else $as_nop
7169 if test -n "$PKG_CONFIG"; then
7170 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7171 else
7172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7173 for as_dir in $PATH
7175 IFS=$as_save_IFS
7176 case $as_dir in #(((
7177 '') as_dir=./ ;;
7178 */) ;;
7179 *) as_dir=$as_dir/ ;;
7180 esac
7181 for ac_exec_ext in '' $ac_executable_extensions; do
7182 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7183 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7184 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7185 break 2
7187 done
7188 done
7189 IFS=$as_save_IFS
7193 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7194 if test -n "$PKG_CONFIG"; then
7195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7196 printf "%s\n" "$PKG_CONFIG" >&6; }
7197 else
7198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7199 printf "%s\n" "no" >&6; }
7204 if ${ac_cv_prog_PKG_CONFIG:+false} :
7205 then :
7206 if test "x$cross_compiling" = xyes
7207 then :
7209 else $as_nop
7210 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7211 # Extract the first word of "pkg-config", so it can be a program name with args.
7212 set dummy pkg-config; ac_word=$2
7213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7214 printf %s "checking for $ac_word... " >&6; }
7215 if test ${ac_cv_prog_PKG_CONFIG+y}
7216 then :
7217 printf %s "(cached) " >&6
7218 else $as_nop
7219 if test -n "$PKG_CONFIG"; then
7220 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7221 else
7222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7223 for as_dir in $PATH
7225 IFS=$as_save_IFS
7226 case $as_dir in #(((
7227 '') as_dir=./ ;;
7228 */) ;;
7229 *) as_dir=$as_dir/ ;;
7230 esac
7231 for ac_exec_ext in '' $ac_executable_extensions; do
7232 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7233 ac_cv_prog_PKG_CONFIG="pkg-config"
7234 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7235 break 2
7237 done
7238 done
7239 IFS=$as_save_IFS
7243 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7244 if test -n "$PKG_CONFIG"; then
7245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7246 printf "%s\n" "$PKG_CONFIG" >&6; }
7247 else
7248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7249 printf "%s\n" "no" >&6; }
7254 else $as_nop
7255 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7258 if test "x$enable_maintainer_mode" != "xyes"
7259 then
7260 FONTFORGE=""
7261 RSVG=""
7262 CONVERT=""
7263 ICOTOOL=""
7264 else
7265 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7266 for ac_prog in fontforge
7268 # Extract the first word of "$ac_prog", so it can be a program name with args.
7269 set dummy $ac_prog; ac_word=$2
7270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271 printf %s "checking for $ac_word... " >&6; }
7272 if test ${ac_cv_prog_FONTFORGE+y}
7273 then :
7274 printf %s "(cached) " >&6
7275 else $as_nop
7276 if test -n "$FONTFORGE"; then
7277 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7278 else
7279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7280 for as_dir in $PATH
7282 IFS=$as_save_IFS
7283 case $as_dir in #(((
7284 '') as_dir=./ ;;
7285 */) ;;
7286 *) as_dir=$as_dir/ ;;
7287 esac
7288 for ac_exec_ext in '' $ac_executable_extensions; do
7289 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7290 ac_cv_prog_FONTFORGE="$ac_prog"
7291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7292 break 2
7294 done
7295 done
7296 IFS=$as_save_IFS
7300 FONTFORGE=$ac_cv_prog_FONTFORGE
7301 if test -n "$FONTFORGE"; then
7302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7303 printf "%s\n" "$FONTFORGE" >&6; }
7304 else
7305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7306 printf "%s\n" "no" >&6; }
7310 test -n "$FONTFORGE" && break
7311 done
7312 test -n "$FONTFORGE" || FONTFORGE="false"
7314 for ac_prog in rsvg-convert rsvg
7316 # Extract the first word of "$ac_prog", so it can be a program name with args.
7317 set dummy $ac_prog; ac_word=$2
7318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7319 printf %s "checking for $ac_word... " >&6; }
7320 if test ${ac_cv_prog_RSVG+y}
7321 then :
7322 printf %s "(cached) " >&6
7323 else $as_nop
7324 if test -n "$RSVG"; then
7325 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7326 else
7327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7328 for as_dir in $PATH
7330 IFS=$as_save_IFS
7331 case $as_dir in #(((
7332 '') as_dir=./ ;;
7333 */) ;;
7334 *) as_dir=$as_dir/ ;;
7335 esac
7336 for ac_exec_ext in '' $ac_executable_extensions; do
7337 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7338 ac_cv_prog_RSVG="$ac_prog"
7339 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7340 break 2
7342 done
7343 done
7344 IFS=$as_save_IFS
7348 RSVG=$ac_cv_prog_RSVG
7349 if test -n "$RSVG"; then
7350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7351 printf "%s\n" "$RSVG" >&6; }
7352 else
7353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7354 printf "%s\n" "no" >&6; }
7358 test -n "$RSVG" && break
7359 done
7360 test -n "$RSVG" || RSVG="false"
7362 for ac_prog in convert
7364 # Extract the first word of "$ac_prog", so it can be a program name with args.
7365 set dummy $ac_prog; ac_word=$2
7366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7367 printf %s "checking for $ac_word... " >&6; }
7368 if test ${ac_cv_prog_CONVERT+y}
7369 then :
7370 printf %s "(cached) " >&6
7371 else $as_nop
7372 if test -n "$CONVERT"; then
7373 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7374 else
7375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7376 for as_dir in $PATH
7378 IFS=$as_save_IFS
7379 case $as_dir in #(((
7380 '') as_dir=./ ;;
7381 */) ;;
7382 *) as_dir=$as_dir/ ;;
7383 esac
7384 for ac_exec_ext in '' $ac_executable_extensions; do
7385 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7386 ac_cv_prog_CONVERT="$ac_prog"
7387 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7388 break 2
7390 done
7391 done
7392 IFS=$as_save_IFS
7396 CONVERT=$ac_cv_prog_CONVERT
7397 if test -n "$CONVERT"; then
7398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7399 printf "%s\n" "$CONVERT" >&6; }
7400 else
7401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7402 printf "%s\n" "no" >&6; }
7406 test -n "$CONVERT" && break
7407 done
7408 test -n "$CONVERT" || CONVERT="false"
7410 for ac_prog in icotool
7412 # Extract the first word of "$ac_prog", so it can be a program name with args.
7413 set dummy $ac_prog; ac_word=$2
7414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7415 printf %s "checking for $ac_word... " >&6; }
7416 if test ${ac_cv_prog_ICOTOOL+y}
7417 then :
7418 printf %s "(cached) " >&6
7419 else $as_nop
7420 if test -n "$ICOTOOL"; then
7421 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7422 else
7423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7424 for as_dir in $PATH
7426 IFS=$as_save_IFS
7427 case $as_dir in #(((
7428 '') as_dir=./ ;;
7429 */) ;;
7430 *) as_dir=$as_dir/ ;;
7431 esac
7432 for ac_exec_ext in '' $ac_executable_extensions; do
7433 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7434 ac_cv_prog_ICOTOOL="$ac_prog"
7435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7436 break 2
7438 done
7439 done
7440 IFS=$as_save_IFS
7444 ICOTOOL=$ac_cv_prog_ICOTOOL
7445 if test -n "$ICOTOOL"; then
7446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7447 printf "%s\n" "$ICOTOOL" >&6; }
7448 else
7449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7450 printf "%s\n" "no" >&6; }
7454 test -n "$ICOTOOL" && break
7455 done
7456 test -n "$ICOTOOL" || ICOTOOL="false"
7458 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7459 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7461 if test "$CONVERT" = false
7462 then
7463 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7464 else
7465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7466 printf %s "checking for recent enough imagemagick... " >&6; }
7467 convert_version=`convert --version | head -n1`
7468 if test "x$convert_version" != "x"
7469 then
7470 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7471 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7472 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7473 then
7474 CONVERT=false
7477 if test "$CONVERT" = false
7478 then
7479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7480 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7481 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7482 else
7483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7484 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7488 if test "$ICOTOOL" = false
7489 then
7490 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7491 else
7492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7493 printf %s "checking for recent enough icotool... " >&6; }
7494 icotool_version=`icotool --version | head -n1`
7495 if test "x$icotool_version" != "x"
7496 then
7497 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7498 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7499 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7500 then
7501 ICOTOOL=false
7502 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7505 if test "$ICOTOOL" = false
7506 then
7507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7508 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7509 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7510 else
7511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7512 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7516 with_gettext=yes
7517 with_gettextpo=yes
7519 enable_werror=yes
7522 test "x$with_gettext" != xno || MSGFMT=false
7523 if test "$MSGFMT" != "false"
7524 then
7525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7526 printf %s "checking whether msgfmt supports contexts... " >&6; }
7527 if test ${wine_cv_msgfmt_contexts+y}
7528 then :
7529 printf %s "(cached) " >&6
7530 else $as_nop
7531 cat >conftest.po <<EOF
7532 # comment
7533 msgctxt "ctxt"
7534 msgid "id"
7535 msgstr "str"
7537 if $MSGFMT -o /dev/null conftest.po 2>&5
7538 then
7539 wine_cv_msgfmt_contexts=yes
7540 else
7541 wine_cv_msgfmt_contexts=no
7544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7545 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7546 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7548 if test "$MSGFMT" = false
7549 then :
7550 case "x$with_gettext" in
7551 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7552 xno) ;;
7553 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7554 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7555 esac
7556 enable_po=${enable_po:-no}
7560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7561 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7562 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7563 then :
7564 printf %s "(cached) " >&6
7565 else $as_nop
7566 ac_check_lib_save_LIBS=$LIBS
7567 LIBS="-li386 $LIBS"
7568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7569 /* end confdefs.h. */
7571 /* Override any GCC internal prototype to avoid an error.
7572 Use char because int might match the return type of a GCC
7573 builtin and then its argument prototype would still apply. */
7574 char i386_set_ldt ();
7576 main (void)
7578 return i386_set_ldt ();
7580 return 0;
7582 _ACEOF
7583 if ac_fn_c_try_link "$LINENO"
7584 then :
7585 ac_cv_lib_i386_i386_set_ldt=yes
7586 else $as_nop
7587 ac_cv_lib_i386_i386_set_ldt=no
7589 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7590 conftest$ac_exeext conftest.$ac_ext
7591 LIBS=$ac_check_lib_save_LIBS
7593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7594 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7595 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7596 then :
7597 I386_LIBS="-li386"
7602 OPENGL_LIBS=""
7606 # Check whether --enable-largefile was given.
7607 if test ${enable_largefile+y}
7608 then :
7609 enableval=$enable_largefile;
7612 if test "$enable_largefile" != no; then
7614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7615 printf %s "checking for special C compiler options needed for large files... " >&6; }
7616 if test ${ac_cv_sys_largefile_CC+y}
7617 then :
7618 printf %s "(cached) " >&6
7619 else $as_nop
7620 ac_cv_sys_largefile_CC=no
7621 if test "$GCC" != yes; then
7622 ac_save_CC=$CC
7623 while :; do
7624 # IRIX 6.2 and later do not support large files by default,
7625 # so use the C compiler's -n32 option if that helps.
7626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7627 /* end confdefs.h. */
7628 #include <sys/types.h>
7629 /* Check that off_t can represent 2**63 - 1 correctly.
7630 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7631 since some C++ compilers masquerading as C compilers
7632 incorrectly reject 9223372036854775807. */
7633 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7634 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7635 && LARGE_OFF_T % 2147483647 == 1)
7636 ? 1 : -1];
7638 main (void)
7642 return 0;
7644 _ACEOF
7645 if ac_fn_c_try_compile "$LINENO"
7646 then :
7647 break
7649 rm -f core conftest.err conftest.$ac_objext conftest.beam
7650 CC="$CC -n32"
7651 if ac_fn_c_try_compile "$LINENO"
7652 then :
7653 ac_cv_sys_largefile_CC=' -n32'; break
7655 rm -f core conftest.err conftest.$ac_objext conftest.beam
7656 break
7657 done
7658 CC=$ac_save_CC
7659 rm -f conftest.$ac_ext
7662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7663 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7664 if test "$ac_cv_sys_largefile_CC" != no; then
7665 CC=$CC$ac_cv_sys_largefile_CC
7668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7669 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7670 if test ${ac_cv_sys_file_offset_bits+y}
7671 then :
7672 printf %s "(cached) " >&6
7673 else $as_nop
7674 while :; do
7675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7676 /* end confdefs.h. */
7677 #include <sys/types.h>
7678 /* Check that off_t can represent 2**63 - 1 correctly.
7679 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7680 since some C++ compilers masquerading as C compilers
7681 incorrectly reject 9223372036854775807. */
7682 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7683 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7684 && LARGE_OFF_T % 2147483647 == 1)
7685 ? 1 : -1];
7687 main (void)
7691 return 0;
7693 _ACEOF
7694 if ac_fn_c_try_compile "$LINENO"
7695 then :
7696 ac_cv_sys_file_offset_bits=no; break
7698 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7700 /* end confdefs.h. */
7701 #define _FILE_OFFSET_BITS 64
7702 #include <sys/types.h>
7703 /* Check that off_t can represent 2**63 - 1 correctly.
7704 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7705 since some C++ compilers masquerading as C compilers
7706 incorrectly reject 9223372036854775807. */
7707 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7708 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7709 && LARGE_OFF_T % 2147483647 == 1)
7710 ? 1 : -1];
7712 main (void)
7716 return 0;
7718 _ACEOF
7719 if ac_fn_c_try_compile "$LINENO"
7720 then :
7721 ac_cv_sys_file_offset_bits=64; break
7723 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7724 ac_cv_sys_file_offset_bits=unknown
7725 break
7726 done
7728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7729 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7730 case $ac_cv_sys_file_offset_bits in #(
7731 no | unknown) ;;
7733 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7735 esac
7736 rm -rf conftest*
7737 if test $ac_cv_sys_file_offset_bits = unknown; then
7738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7739 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7740 if test ${ac_cv_sys_large_files+y}
7741 then :
7742 printf %s "(cached) " >&6
7743 else $as_nop
7744 while :; do
7745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7746 /* end confdefs.h. */
7747 #include <sys/types.h>
7748 /* Check that off_t can represent 2**63 - 1 correctly.
7749 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7750 since some C++ compilers masquerading as C compilers
7751 incorrectly reject 9223372036854775807. */
7752 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7753 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7754 && LARGE_OFF_T % 2147483647 == 1)
7755 ? 1 : -1];
7757 main (void)
7761 return 0;
7763 _ACEOF
7764 if ac_fn_c_try_compile "$LINENO"
7765 then :
7766 ac_cv_sys_large_files=no; break
7768 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7770 /* end confdefs.h. */
7771 #define _LARGE_FILES 1
7772 #include <sys/types.h>
7773 /* Check that off_t can represent 2**63 - 1 correctly.
7774 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7775 since some C++ compilers masquerading as C compilers
7776 incorrectly reject 9223372036854775807. */
7777 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7778 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7779 && LARGE_OFF_T % 2147483647 == 1)
7780 ? 1 : -1];
7782 main (void)
7786 return 0;
7788 _ACEOF
7789 if ac_fn_c_try_compile "$LINENO"
7790 then :
7791 ac_cv_sys_large_files=1; break
7793 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7794 ac_cv_sys_large_files=unknown
7795 break
7796 done
7798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7799 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7800 case $ac_cv_sys_large_files in #(
7801 no | unknown) ;;
7803 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7805 esac
7806 rm -rf conftest*
7811 ac_header= ac_cache=
7812 for ac_item in $ac_header_c_list
7814 if test $ac_cache; then
7815 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7816 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7817 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7819 ac_header= ac_cache=
7820 elif test $ac_header; then
7821 ac_cache=$ac_item
7822 else
7823 ac_header=$ac_item
7825 done
7834 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7835 then :
7837 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7840 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7841 if test "x$ac_cv_header_CL_cl_h" = xyes
7842 then :
7843 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7846 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7847 if test "x$ac_cv_header_EGL_egl_h" = xyes
7848 then :
7849 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7852 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7853 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7854 then :
7855 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7858 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7859 if test "x$ac_cv_header_arpa_inet_h" = xyes
7860 then :
7861 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7864 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7865 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7866 then :
7867 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7870 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7871 if test "x$ac_cv_header_asm_types_h" = xyes
7872 then :
7873 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7876 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7877 if test "x$ac_cv_header_asm_user_h" = xyes
7878 then :
7879 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7882 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7883 if test "x$ac_cv_header_elf_h" = xyes
7884 then :
7885 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7888 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7889 if test "x$ac_cv_header_float_h" = xyes
7890 then :
7891 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7894 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7895 if test "x$ac_cv_header_gettext_po_h" = xyes
7896 then :
7897 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7900 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7901 if test "x$ac_cv_header_libproc_h" = xyes
7902 then :
7903 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7906 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7907 if test "x$ac_cv_header_link_h" = xyes
7908 then :
7909 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7912 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7913 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7914 then :
7915 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7918 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7919 if test "x$ac_cv_header_linux_filter_h" = xyes
7920 then :
7921 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7924 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7925 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7926 then :
7927 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7930 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7931 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7932 then :
7933 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7936 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7937 if test "x$ac_cv_header_linux_input_h" = xyes
7938 then :
7939 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7942 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7943 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7944 then :
7945 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7948 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7949 if test "x$ac_cv_header_linux_major_h" = xyes
7950 then :
7951 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7954 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7955 if test "x$ac_cv_header_linux_param_h" = xyes
7956 then :
7957 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7960 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7961 if test "x$ac_cv_header_linux_serial_h" = xyes
7962 then :
7963 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7966 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7967 if test "x$ac_cv_header_linux_types_h" = xyes
7968 then :
7969 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7972 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7973 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7974 then :
7975 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7978 ac_fn_c_check_header_compile "$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
7979 if test "x$ac_cv_header_linux_wireless_h" = xyes
7980 then :
7981 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
7984 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7985 if test "x$ac_cv_header_lwp_h" = xyes
7986 then :
7987 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7990 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7991 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7992 then :
7993 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
7996 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
7997 if test "x$ac_cv_header_mach_mach_h" = xyes
7998 then :
7999 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8002 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8003 if test "x$ac_cv_header_machine_cpu_h" = xyes
8004 then :
8005 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8008 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8009 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8010 then :
8011 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8014 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8015 if test "x$ac_cv_header_mntent_h" = xyes
8016 then :
8017 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8020 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8021 if test "x$ac_cv_header_netdb_h" = xyes
8022 then :
8023 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8026 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8027 if test "x$ac_cv_header_netinet_in_h" = xyes
8028 then :
8029 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8032 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8033 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8034 then :
8035 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8038 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8039 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8040 then :
8041 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8044 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8045 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8046 then :
8047 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8050 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8051 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8052 then :
8053 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8056 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8057 if test "x$ac_cv_header_port_h" = xyes
8058 then :
8059 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8062 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8063 if test "x$ac_cv_header_pthread_h" = xyes
8064 then :
8065 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8068 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8069 if test "x$ac_cv_header_pwd_h" = xyes
8070 then :
8071 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8074 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8075 if test "x$ac_cv_header_sched_h" = xyes
8076 then :
8077 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8080 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8081 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8082 then :
8083 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8086 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8087 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8088 then :
8089 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8092 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8093 if test "x$ac_cv_header_scsi_sg_h" = xyes
8094 then :
8095 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8098 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8099 if test "x$ac_cv_header_stdint_h" = xyes
8100 then :
8101 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8104 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8105 if test "x$ac_cv_header_sys_attr_h" = xyes
8106 then :
8107 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8110 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8111 if test "x$ac_cv_header_sys_auxv_h" = xyes
8112 then :
8113 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8116 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8117 if test "x$ac_cv_header_sys_cdio_h" = xyes
8118 then :
8119 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8122 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8123 if test "x$ac_cv_header_sys_epoll_h" = xyes
8124 then :
8125 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8128 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8129 if test "x$ac_cv_header_sys_event_h" = xyes
8130 then :
8131 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8134 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8135 if test "x$ac_cv_header_sys_extattr_h" = xyes
8136 then :
8137 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8140 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8141 if test "x$ac_cv_header_sys_filio_h" = xyes
8142 then :
8143 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8146 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8147 if test "x$ac_cv_header_sys_ipc_h" = xyes
8148 then :
8149 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8152 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8153 if test "x$ac_cv_header_sys_link_h" = xyes
8154 then :
8155 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8158 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8159 if test "x$ac_cv_header_sys_modem_h" = xyes
8160 then :
8161 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8164 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8165 if test "x$ac_cv_header_sys_mtio_h" = xyes
8166 then :
8167 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8170 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8171 if test "x$ac_cv_header_sys_param_h" = xyes
8172 then :
8173 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8176 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8177 if test "x$ac_cv_header_sys_prctl_h" = xyes
8178 then :
8179 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8182 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8183 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8184 then :
8185 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8188 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8189 if test "x$ac_cv_header_sys_queue_h" = xyes
8190 then :
8191 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8194 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8195 if test "x$ac_cv_header_sys_random_h" = xyes
8196 then :
8197 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8200 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8201 if test "x$ac_cv_header_sys_resource_h" = xyes
8202 then :
8203 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8206 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8207 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8208 then :
8209 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8212 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8213 if test "x$ac_cv_header_sys_shm_h" = xyes
8214 then :
8215 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8218 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8219 if test "x$ac_cv_header_sys_signal_h" = xyes
8220 then :
8221 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8224 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8225 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8226 then :
8227 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8230 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8231 if test "x$ac_cv_header_sys_sockio_h" = xyes
8232 then :
8233 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8236 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8237 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8238 then :
8239 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8242 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8243 if test "x$ac_cv_header_sys_strtio_h" = xyes
8244 then :
8245 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8248 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8249 if test "x$ac_cv_header_sys_syscall_h" = xyes
8250 then :
8251 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8254 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8255 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8256 then :
8257 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8260 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8261 if test "x$ac_cv_header_sys_times_h" = xyes
8262 then :
8263 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8266 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8267 if test "x$ac_cv_header_sys_uio_h" = xyes
8268 then :
8269 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8272 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8273 if test "x$ac_cv_header_sys_user_h" = xyes
8274 then :
8275 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8278 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8279 if test "x$ac_cv_header_sys_utsname_h" = xyes
8280 then :
8281 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8284 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8285 if test "x$ac_cv_header_sys_vnode_h" = xyes
8286 then :
8287 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8290 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8291 if test "x$ac_cv_header_sys_xattr_h" = xyes
8292 then :
8293 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8296 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8297 if test "x$ac_cv_header_syscall_h" = xyes
8298 then :
8299 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8302 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8303 if test "x$ac_cv_header_utime_h" = xyes
8304 then :
8305 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8308 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8309 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8310 then :
8311 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8314 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8315 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8316 then :
8317 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8321 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8322 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8323 then :
8325 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8329 if test $ac_cv_header_sys_mkdev_h = no; then
8330 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8331 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8332 then :
8334 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8340 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8341 if test ${ac_cv_header_stat_broken+y}
8342 then :
8343 printf %s "(cached) " >&6
8344 else $as_nop
8345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8346 /* end confdefs.h. */
8347 #include <sys/types.h>
8348 #include <sys/stat.h>
8350 #if defined S_ISBLK && defined S_IFDIR
8351 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8352 #endif
8354 #if defined S_ISBLK && defined S_IFCHR
8355 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8356 #endif
8358 #if defined S_ISLNK && defined S_IFREG
8359 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8360 #endif
8362 #if defined S_ISSOCK && defined S_IFREG
8363 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8364 #endif
8366 _ACEOF
8367 if ac_fn_c_try_compile "$LINENO"
8368 then :
8369 ac_cv_header_stat_broken=no
8370 else $as_nop
8371 ac_cv_header_stat_broken=yes
8373 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8376 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8377 if test $ac_cv_header_stat_broken = yes; then
8379 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8385 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8386 #ifdef HAVE_SYS_PARAM_H
8387 # include <sys/param.h>
8388 #endif
8390 if test "x$ac_cv_header_sys_conf_h" = xyes
8391 then :
8392 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8395 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8396 #ifdef HAVE_SYS_PARAM_H
8397 # include <sys/param.h>
8398 #endif
8400 if test "x$ac_cv_header_sys_mount_h" = xyes
8401 then :
8402 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8405 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8406 #ifdef HAVE_SYS_PARAM_H
8407 # include <sys/param.h>
8408 #endif
8410 if test "x$ac_cv_header_sys_statfs_h" = xyes
8411 then :
8412 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8415 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8416 #ifdef HAVE_SYS_PARAM_H
8417 # include <sys/param.h>
8418 #endif
8420 if test "x$ac_cv_header_sys_user_h" = xyes
8421 then :
8422 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8425 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8426 #ifdef HAVE_SYS_PARAM_H
8427 # include <sys/param.h>
8428 #endif
8430 if test "x$ac_cv_header_sys_vfs_h" = xyes
8431 then :
8432 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8437 saved_sysctl_h_CFLAGS=$CFLAGS
8438 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8439 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8440 #ifdef HAVE_SYS_PARAM_H
8441 # include <sys/param.h>
8442 #endif
8444 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8445 then :
8446 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8450 CFLAGS=$saved_sysctl_h_CFLAGS
8452 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8453 #include <sys/socket.h>
8454 #ifdef HAVE_SYS_SOCKETVAR_H
8455 # include <sys/socketvar.h>
8456 #endif
8457 #ifdef HAVE_NET_ROUTE_H
8458 # include <net/route.h>
8459 #endif
8460 #ifdef HAVE_NETINET_IN_H
8461 # include <netinet/in.h>
8462 #endif
8463 #ifdef HAVE_NETINET_IN_SYSTM_H
8464 # include <netinet/in_systm.h>
8465 #endif
8466 #ifdef HAVE_NET_IF_H
8467 # include <net/if.h>
8468 #endif
8469 #ifdef HAVE_NETINET_IP_H
8470 # include <netinet/ip.h>
8471 #endif
8473 if test "x$ac_cv_header_netinet_ip_h" = xyes
8474 then :
8475 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8478 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8479 #include <sys/socket.h>
8480 #ifdef HAVE_SYS_SOCKETVAR_H
8481 # include <sys/socketvar.h>
8482 #endif
8483 #ifdef HAVE_NET_ROUTE_H
8484 # include <net/route.h>
8485 #endif
8486 #ifdef HAVE_NETINET_IN_H
8487 # include <netinet/in.h>
8488 #endif
8489 #ifdef HAVE_NETINET_IN_SYSTM_H
8490 # include <netinet/in_systm.h>
8491 #endif
8492 #ifdef HAVE_NET_IF_H
8493 # include <net/if.h>
8494 #endif
8495 #ifdef HAVE_NETINET_IP_H
8496 # include <netinet/ip.h>
8497 #endif
8499 if test "x$ac_cv_header_net_if_h" = xyes
8500 then :
8501 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8504 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8505 #include <sys/socket.h>
8506 #ifdef HAVE_SYS_SOCKETVAR_H
8507 # include <sys/socketvar.h>
8508 #endif
8509 #ifdef HAVE_NET_ROUTE_H
8510 # include <net/route.h>
8511 #endif
8512 #ifdef HAVE_NETINET_IN_H
8513 # include <netinet/in.h>
8514 #endif
8515 #ifdef HAVE_NETINET_IN_SYSTM_H
8516 # include <netinet/in_systm.h>
8517 #endif
8518 #ifdef HAVE_NET_IF_H
8519 # include <net/if.h>
8520 #endif
8521 #ifdef HAVE_NETINET_IP_H
8522 # include <netinet/ip.h>
8523 #endif
8525 if test "x$ac_cv_header_net_if_arp_h" = xyes
8526 then :
8527 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8530 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8531 #include <sys/socket.h>
8532 #ifdef HAVE_SYS_SOCKETVAR_H
8533 # include <sys/socketvar.h>
8534 #endif
8535 #ifdef HAVE_NET_ROUTE_H
8536 # include <net/route.h>
8537 #endif
8538 #ifdef HAVE_NETINET_IN_H
8539 # include <netinet/in.h>
8540 #endif
8541 #ifdef HAVE_NETINET_IN_SYSTM_H
8542 # include <netinet/in_systm.h>
8543 #endif
8544 #ifdef HAVE_NET_IF_H
8545 # include <net/if.h>
8546 #endif
8547 #ifdef HAVE_NETINET_IP_H
8548 # include <netinet/ip.h>
8549 #endif
8551 if test "x$ac_cv_header_net_if_dl_h" = xyes
8552 then :
8553 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8556 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8557 #include <sys/socket.h>
8558 #ifdef HAVE_SYS_SOCKETVAR_H
8559 # include <sys/socketvar.h>
8560 #endif
8561 #ifdef HAVE_NET_ROUTE_H
8562 # include <net/route.h>
8563 #endif
8564 #ifdef HAVE_NETINET_IN_H
8565 # include <netinet/in.h>
8566 #endif
8567 #ifdef HAVE_NETINET_IN_SYSTM_H
8568 # include <netinet/in_systm.h>
8569 #endif
8570 #ifdef HAVE_NET_IF_H
8571 # include <net/if.h>
8572 #endif
8573 #ifdef HAVE_NETINET_IP_H
8574 # include <netinet/ip.h>
8575 #endif
8577 if test "x$ac_cv_header_net_if_types_h" = xyes
8578 then :
8579 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8582 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8583 #include <sys/socket.h>
8584 #ifdef HAVE_SYS_SOCKETVAR_H
8585 # include <sys/socketvar.h>
8586 #endif
8587 #ifdef HAVE_NET_ROUTE_H
8588 # include <net/route.h>
8589 #endif
8590 #ifdef HAVE_NETINET_IN_H
8591 # include <netinet/in.h>
8592 #endif
8593 #ifdef HAVE_NETINET_IN_SYSTM_H
8594 # include <netinet/in_systm.h>
8595 #endif
8596 #ifdef HAVE_NET_IF_H
8597 # include <net/if.h>
8598 #endif
8599 #ifdef HAVE_NETINET_IP_H
8600 # include <netinet/ip.h>
8601 #endif
8603 if test "x$ac_cv_header_net_route_h" = xyes
8604 then :
8605 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8608 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8609 #include <sys/socket.h>
8610 #ifdef HAVE_SYS_SOCKETVAR_H
8611 # include <sys/socketvar.h>
8612 #endif
8613 #ifdef HAVE_NET_ROUTE_H
8614 # include <net/route.h>
8615 #endif
8616 #ifdef HAVE_NETINET_IN_H
8617 # include <netinet/in.h>
8618 #endif
8619 #ifdef HAVE_NETINET_IN_SYSTM_H
8620 # include <netinet/in_systm.h>
8621 #endif
8622 #ifdef HAVE_NET_IF_H
8623 # include <net/if.h>
8624 #endif
8625 #ifdef HAVE_NETINET_IP_H
8626 # include <netinet/ip.h>
8627 #endif
8629 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8630 then :
8631 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8634 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8635 #include <sys/socket.h>
8636 #ifdef HAVE_SYS_SOCKETVAR_H
8637 # include <sys/socketvar.h>
8638 #endif
8639 #ifdef HAVE_NET_ROUTE_H
8640 # include <net/route.h>
8641 #endif
8642 #ifdef HAVE_NETINET_IN_H
8643 # include <netinet/in.h>
8644 #endif
8645 #ifdef HAVE_NETINET_IN_SYSTM_H
8646 # include <netinet/in_systm.h>
8647 #endif
8648 #ifdef HAVE_NET_IF_H
8649 # include <net/if.h>
8650 #endif
8651 #ifdef HAVE_NETINET_IP_H
8652 # include <netinet/ip.h>
8653 #endif
8655 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8656 then :
8657 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8660 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8661 #include <sys/socket.h>
8662 #ifdef HAVE_SYS_SOCKETVAR_H
8663 # include <sys/socketvar.h>
8664 #endif
8665 #ifdef HAVE_NET_ROUTE_H
8666 # include <net/route.h>
8667 #endif
8668 #ifdef HAVE_NETINET_IN_H
8669 # include <netinet/in.h>
8670 #endif
8671 #ifdef HAVE_NETINET_IN_SYSTM_H
8672 # include <netinet/in_systm.h>
8673 #endif
8674 #ifdef HAVE_NET_IF_H
8675 # include <net/if.h>
8676 #endif
8677 #ifdef HAVE_NETINET_IP_H
8678 # include <netinet/ip.h>
8679 #endif
8681 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8682 then :
8683 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8686 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8687 #include <sys/socket.h>
8688 #ifdef HAVE_SYS_SOCKETVAR_H
8689 # include <sys/socketvar.h>
8690 #endif
8691 #ifdef HAVE_NET_ROUTE_H
8692 # include <net/route.h>
8693 #endif
8694 #ifdef HAVE_NETINET_IN_H
8695 # include <netinet/in.h>
8696 #endif
8697 #ifdef HAVE_NETINET_IN_SYSTM_H
8698 # include <netinet/in_systm.h>
8699 #endif
8700 #ifdef HAVE_NET_IF_H
8701 # include <net/if.h>
8702 #endif
8703 #ifdef HAVE_NETINET_IP_H
8704 # include <netinet/ip.h>
8705 #endif
8707 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8708 then :
8709 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8712 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8713 #include <sys/socket.h>
8714 #ifdef HAVE_SYS_SOCKETVAR_H
8715 # include <sys/socketvar.h>
8716 #endif
8717 #ifdef HAVE_NET_ROUTE_H
8718 # include <net/route.h>
8719 #endif
8720 #ifdef HAVE_NETINET_IN_H
8721 # include <netinet/in.h>
8722 #endif
8723 #ifdef HAVE_NETINET_IN_SYSTM_H
8724 # include <netinet/in_systm.h>
8725 #endif
8726 #ifdef HAVE_NET_IF_H
8727 # include <net/if.h>
8728 #endif
8729 #ifdef HAVE_NETINET_IP_H
8730 # include <netinet/ip.h>
8731 #endif
8733 if test "x$ac_cv_header_netinet_udp_h" = xyes
8734 then :
8735 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8738 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8739 #include <sys/socket.h>
8740 #ifdef HAVE_SYS_SOCKETVAR_H
8741 # include <sys/socketvar.h>
8742 #endif
8743 #ifdef HAVE_NET_ROUTE_H
8744 # include <net/route.h>
8745 #endif
8746 #ifdef HAVE_NETINET_IN_H
8747 # include <netinet/in.h>
8748 #endif
8749 #ifdef HAVE_NETINET_IN_SYSTM_H
8750 # include <netinet/in_systm.h>
8751 #endif
8752 #ifdef HAVE_NET_IF_H
8753 # include <net/if.h>
8754 #endif
8755 #ifdef HAVE_NETINET_IP_H
8756 # include <netinet/ip.h>
8757 #endif
8759 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8760 then :
8761 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8764 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8765 #include <sys/socket.h>
8766 #ifdef HAVE_SYS_SOCKETVAR_H
8767 # include <sys/socketvar.h>
8768 #endif
8769 #ifdef HAVE_NET_ROUTE_H
8770 # include <net/route.h>
8771 #endif
8772 #ifdef HAVE_NETINET_IN_H
8773 # include <netinet/in.h>
8774 #endif
8775 #ifdef HAVE_NETINET_IN_SYSTM_H
8776 # include <netinet/in_systm.h>
8777 #endif
8778 #ifdef HAVE_NET_IF_H
8779 # include <net/if.h>
8780 #endif
8781 #ifdef HAVE_NETINET_IP_H
8782 # include <netinet/ip.h>
8783 #endif
8785 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8786 then :
8787 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8790 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8791 #include <sys/socket.h>
8792 #ifdef HAVE_SYS_SOCKETVAR_H
8793 # include <sys/socketvar.h>
8794 #endif
8795 #ifdef HAVE_NET_ROUTE_H
8796 # include <net/route.h>
8797 #endif
8798 #ifdef HAVE_NETINET_IN_H
8799 # include <netinet/in.h>
8800 #endif
8801 #ifdef HAVE_NETINET_IN_SYSTM_H
8802 # include <netinet/in_systm.h>
8803 #endif
8804 #ifdef HAVE_NET_IF_H
8805 # include <net/if.h>
8806 #endif
8807 #ifdef HAVE_NETINET_IP_H
8808 # include <netinet/ip.h>
8809 #endif
8811 if test "x$ac_cv_header_sys_un_h" = xyes
8812 then :
8813 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8818 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8819 #include <sys/socket.h>
8820 #ifdef HAVE_SYS_SOCKETVAR_H
8821 # include <sys/socketvar.h>
8822 #endif
8823 #ifdef HAVE_NETINET_IN_H
8824 # include <netinet/in.h>
8825 #endif
8826 #ifdef HAVE_NETINET_IN_SYSTM_H
8827 # include <netinet/in_systm.h>
8828 #endif
8829 #ifdef HAVE_NETINET_IP_H
8830 # include <netinet/ip.h>
8831 #endif
8832 #ifdef HAVE_NETINET_IP_VAR_H
8833 # include <netinet/ip_var.h>
8834 #endif
8835 #ifdef HAVE_NETINET_IP_ICMP_H
8836 # include <netinet/ip_icmp.h>
8837 #endif
8838 #ifdef HAVE_NETINET_UDP_H
8839 # include <netinet/udp.h>
8840 #endif
8841 #ifdef HAVE_NETINET_TCP_H
8842 # include <netinet/tcp.h>
8843 #endif
8845 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8846 then :
8847 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8850 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8851 #include <sys/socket.h>
8852 #ifdef HAVE_SYS_SOCKETVAR_H
8853 # include <sys/socketvar.h>
8854 #endif
8855 #ifdef HAVE_NETINET_IN_H
8856 # include <netinet/in.h>
8857 #endif
8858 #ifdef HAVE_NETINET_IN_SYSTM_H
8859 # include <netinet/in_systm.h>
8860 #endif
8861 #ifdef HAVE_NETINET_IP_H
8862 # include <netinet/ip.h>
8863 #endif
8864 #ifdef HAVE_NETINET_IP_VAR_H
8865 # include <netinet/ip_var.h>
8866 #endif
8867 #ifdef HAVE_NETINET_IP_ICMP_H
8868 # include <netinet/ip_icmp.h>
8869 #endif
8870 #ifdef HAVE_NETINET_UDP_H
8871 # include <netinet/udp.h>
8872 #endif
8873 #ifdef HAVE_NETINET_TCP_H
8874 # include <netinet/tcp.h>
8875 #endif
8877 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8878 then :
8879 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8882 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8883 #include <sys/socket.h>
8884 #ifdef HAVE_SYS_SOCKETVAR_H
8885 # include <sys/socketvar.h>
8886 #endif
8887 #ifdef HAVE_NETINET_IN_H
8888 # include <netinet/in.h>
8889 #endif
8890 #ifdef HAVE_NETINET_IN_SYSTM_H
8891 # include <netinet/in_systm.h>
8892 #endif
8893 #ifdef HAVE_NETINET_IP_H
8894 # include <netinet/ip.h>
8895 #endif
8896 #ifdef HAVE_NETINET_IP_VAR_H
8897 # include <netinet/ip_var.h>
8898 #endif
8899 #ifdef HAVE_NETINET_IP_ICMP_H
8900 # include <netinet/ip_icmp.h>
8901 #endif
8902 #ifdef HAVE_NETINET_UDP_H
8903 # include <netinet/udp.h>
8904 #endif
8905 #ifdef HAVE_NETINET_TCP_H
8906 # include <netinet/tcp.h>
8907 #endif
8909 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8910 then :
8911 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8914 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8915 #include <sys/socket.h>
8916 #ifdef HAVE_SYS_SOCKETVAR_H
8917 # include <sys/socketvar.h>
8918 #endif
8919 #ifdef HAVE_NETINET_IN_H
8920 # include <netinet/in.h>
8921 #endif
8922 #ifdef HAVE_NETINET_IN_SYSTM_H
8923 # include <netinet/in_systm.h>
8924 #endif
8925 #ifdef HAVE_NETINET_IP_H
8926 # include <netinet/ip.h>
8927 #endif
8928 #ifdef HAVE_NETINET_IP_VAR_H
8929 # include <netinet/ip_var.h>
8930 #endif
8931 #ifdef HAVE_NETINET_IP_ICMP_H
8932 # include <netinet/ip_icmp.h>
8933 #endif
8934 #ifdef HAVE_NETINET_UDP_H
8935 # include <netinet/udp.h>
8936 #endif
8937 #ifdef HAVE_NETINET_TCP_H
8938 # include <netinet/tcp.h>
8939 #endif
8941 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8942 then :
8943 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8948 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8949 #include <sys/socket.h>
8950 #ifdef HAVE_ASM_TYPES_H
8951 # include <asm/types.h>
8952 #endif
8953 #ifdef HAVE_LINUX_TYPES_H
8954 # include <linux/types.h>
8955 #endif
8957 if test "x$ac_cv_header_linux_ipx_h" = xyes
8958 then :
8959 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8962 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8963 #include <sys/socket.h>
8964 #ifdef HAVE_ASM_TYPES_H
8965 # include <asm/types.h>
8966 #endif
8967 #ifdef HAVE_LINUX_TYPES_H
8968 # include <linux/types.h>
8969 #endif
8971 if test "x$ac_cv_header_linux_irda_h" = xyes
8972 then :
8973 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8976 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8977 #include <sys/socket.h>
8978 #ifdef HAVE_ASM_TYPES_H
8979 # include <asm/types.h>
8980 #endif
8981 #ifdef HAVE_LINUX_TYPES_H
8982 # include <linux/types.h>
8983 #endif
8985 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8986 then :
8987 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8992 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8993 #include <sys/socket.h>
8994 #ifdef HAVE_NETINET_IN_H
8995 # include <netinet/in.h>
8996 #endif
8997 #ifdef HAVE_ARPA_NAMESER_H
8998 # include <arpa/nameser.h>
8999 #endif
9001 if test "x$ac_cv_header_resolv_h" = xyes
9002 then :
9003 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9008 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9010 if test "x$ac_cv_header_ifaddrs_h" = xyes
9011 then :
9012 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9017 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9019 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9020 then :
9021 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9026 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9027 #ifdef HAVE_SYS_UCONTEXT_H
9028 #include <sys/ucontext.h>
9029 #endif
9031 if test "x$ac_cv_header_sys_thr_h" = xyes
9032 then :
9033 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9038 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9039 #include <pthread.h>
9040 #endif
9042 if test "x$ac_cv_header_pthread_np_h" = xyes
9043 then :
9044 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9049 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9050 #include <sys/types.h>
9051 #ifdef HAVE_ASM_TYPES_H
9052 #include <asm/types.h>
9053 #endif
9055 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9056 then :
9057 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9062 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9063 #include <sys/param.h>
9064 #endif
9065 #include <sys/socket.h>
9066 #ifdef HAVE_SYS_QUEUE_H
9067 #include <sys/queue.h>
9068 #endif
9070 if test "x$ac_cv_header_libprocstat_h" = xyes
9071 then :
9072 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9077 if test "x$ac_cv_header_sys_xattr_h" = xyes
9078 then
9079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9080 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9081 if test ${wine_cv_xattr_extra_args+y}
9082 then :
9083 printf %s "(cached) " >&6
9084 else $as_nop
9085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9086 /* end confdefs.h. */
9087 #include <sys/xattr.h>
9089 main (void)
9091 getxattr("", "", "", 0, 0, 0);
9093 return 0;
9095 _ACEOF
9096 if ac_fn_c_try_compile "$LINENO"
9097 then :
9098 wine_cv_xattr_extra_args=yes
9099 else $as_nop
9100 wine_cv_xattr_extra_args=no
9102 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9105 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9106 test $wine_cv_xattr_extra_args != yes ||
9107 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9112 DLLFLAGS=""
9114 LDDLLFLAGS=""
9116 LDEXECFLAGS=""
9118 EXTRACFLAGS=""
9120 UNIXDLLFLAGS="-fPIC"
9122 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9124 TOP_INSTALL_LIB=""
9126 TOP_INSTALL_DEV=""
9128 WINELOADER_LDFLAGS=""
9130 WINEPRELOADER_LDFLAGS=""
9132 DLLEXT=".so"
9134 LIBEXT="so"
9135 # Extract the first word of "ldd", so it can be a program name with args.
9136 set dummy ldd; ac_word=$2
9137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9138 printf %s "checking for $ac_word... " >&6; }
9139 if test ${ac_cv_path_LDD+y}
9140 then :
9141 printf %s "(cached) " >&6
9142 else $as_nop
9143 case $LDD in
9144 [\\/]* | ?:[\\/]*)
9145 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9149 as_dummy="/sbin:/usr/sbin:$PATH"
9150 for as_dir in $as_dummy
9152 IFS=$as_save_IFS
9153 case $as_dir in #(((
9154 '') as_dir=./ ;;
9155 */) ;;
9156 *) as_dir=$as_dir/ ;;
9157 esac
9158 for ac_exec_ext in '' $ac_executable_extensions; do
9159 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9160 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9161 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9162 break 2
9164 done
9165 done
9166 IFS=$as_save_IFS
9168 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9170 esac
9172 LDD=$ac_cv_path_LDD
9173 if test -n "$LDD"; then
9174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9175 printf "%s\n" "$LDD" >&6; }
9176 else
9177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9178 printf "%s\n" "no" >&6; }
9182 if test -n "$ac_tool_prefix"; then
9183 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9184 set dummy ${ac_tool_prefix}otool; ac_word=$2
9185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9186 printf %s "checking for $ac_word... " >&6; }
9187 if test ${ac_cv_prog_OTOOL+y}
9188 then :
9189 printf %s "(cached) " >&6
9190 else $as_nop
9191 if test -n "$OTOOL"; then
9192 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9193 else
9194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9195 for as_dir in $PATH
9197 IFS=$as_save_IFS
9198 case $as_dir in #(((
9199 '') as_dir=./ ;;
9200 */) ;;
9201 *) as_dir=$as_dir/ ;;
9202 esac
9203 for ac_exec_ext in '' $ac_executable_extensions; do
9204 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9205 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9206 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9207 break 2
9209 done
9210 done
9211 IFS=$as_save_IFS
9215 OTOOL=$ac_cv_prog_OTOOL
9216 if test -n "$OTOOL"; then
9217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9218 printf "%s\n" "$OTOOL" >&6; }
9219 else
9220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9221 printf "%s\n" "no" >&6; }
9226 if test -z "$ac_cv_prog_OTOOL"; then
9227 ac_ct_OTOOL=$OTOOL
9228 # Extract the first word of "otool", so it can be a program name with args.
9229 set dummy otool; ac_word=$2
9230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9231 printf %s "checking for $ac_word... " >&6; }
9232 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9233 then :
9234 printf %s "(cached) " >&6
9235 else $as_nop
9236 if test -n "$ac_ct_OTOOL"; then
9237 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9238 else
9239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9240 for as_dir in $PATH
9242 IFS=$as_save_IFS
9243 case $as_dir in #(((
9244 '') as_dir=./ ;;
9245 */) ;;
9246 *) as_dir=$as_dir/ ;;
9247 esac
9248 for ac_exec_ext in '' $ac_executable_extensions; do
9249 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9250 ac_cv_prog_ac_ct_OTOOL="otool"
9251 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9252 break 2
9254 done
9255 done
9256 IFS=$as_save_IFS
9260 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9261 if test -n "$ac_ct_OTOOL"; then
9262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9263 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9264 else
9265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9266 printf "%s\n" "no" >&6; }
9269 if test "x$ac_ct_OTOOL" = x; then
9270 OTOOL="otool"
9271 else
9272 case $cross_compiling:$ac_tool_warned in
9273 yes:)
9274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9275 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9276 ac_tool_warned=yes ;;
9277 esac
9278 OTOOL=$ac_ct_OTOOL
9280 else
9281 OTOOL="$ac_cv_prog_OTOOL"
9284 if test -n "$ac_tool_prefix"; then
9285 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9286 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9288 printf %s "checking for $ac_word... " >&6; }
9289 if test ${ac_cv_prog_READELF+y}
9290 then :
9291 printf %s "(cached) " >&6
9292 else $as_nop
9293 if test -n "$READELF"; then
9294 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9295 else
9296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9297 for as_dir in $PATH
9299 IFS=$as_save_IFS
9300 case $as_dir in #(((
9301 '') as_dir=./ ;;
9302 */) ;;
9303 *) as_dir=$as_dir/ ;;
9304 esac
9305 for ac_exec_ext in '' $ac_executable_extensions; do
9306 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9307 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9308 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9309 break 2
9311 done
9312 done
9313 IFS=$as_save_IFS
9317 READELF=$ac_cv_prog_READELF
9318 if test -n "$READELF"; then
9319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9320 printf "%s\n" "$READELF" >&6; }
9321 else
9322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9323 printf "%s\n" "no" >&6; }
9328 if test -z "$ac_cv_prog_READELF"; then
9329 ac_ct_READELF=$READELF
9330 # Extract the first word of "readelf", so it can be a program name with args.
9331 set dummy readelf; ac_word=$2
9332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9333 printf %s "checking for $ac_word... " >&6; }
9334 if test ${ac_cv_prog_ac_ct_READELF+y}
9335 then :
9336 printf %s "(cached) " >&6
9337 else $as_nop
9338 if test -n "$ac_ct_READELF"; then
9339 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9340 else
9341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9342 for as_dir in $PATH
9344 IFS=$as_save_IFS
9345 case $as_dir in #(((
9346 '') as_dir=./ ;;
9347 */) ;;
9348 *) as_dir=$as_dir/ ;;
9349 esac
9350 for ac_exec_ext in '' $ac_executable_extensions; do
9351 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9352 ac_cv_prog_ac_ct_READELF="readelf"
9353 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9354 break 2
9356 done
9357 done
9358 IFS=$as_save_IFS
9362 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9363 if test -n "$ac_ct_READELF"; then
9364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9365 printf "%s\n" "$ac_ct_READELF" >&6; }
9366 else
9367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9368 printf "%s\n" "no" >&6; }
9371 if test "x$ac_ct_READELF" = x; then
9372 READELF="true"
9373 else
9374 case $cross_compiling:$ac_tool_warned in
9375 yes:)
9376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9377 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9378 ac_tool_warned=yes ;;
9379 esac
9380 READELF=$ac_ct_READELF
9382 else
9383 READELF="$ac_cv_prog_READELF"
9386 wine_rules="all:"
9387 SUBDIRS=""
9389 DISABLED_SUBDIRS=""
9391 CONFIGURE_TARGETS=""
9394 wine_fn_config_makefile ()
9396 as_fn_append SUBDIRS " \\$as_nl $1"
9397 eval enable=\$$2
9398 case "$enable" in
9399 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9400 *aarch64*|*arm*|*i386*|*x86_64*)
9401 if test -n "$PE_ARCHS"
9402 then
9403 for i in $PE_ARCHS
9405 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9406 done
9407 else
9408 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9409 fi;;
9410 esac
9413 wine_fn_config_symlink ()
9415 ac_links=$@
9416 as_fn_append wine_rules "
9417 $ac_links:
9418 @./config.status \$@"
9419 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9422 case $host_os in
9423 cygwin*|mingw32*)
9424 LIBEXT="dll"
9425 DLLEXT=""
9426 EXTRACFLAGS="-D__WINE_PE_BUILD"
9427 case $host_cpu in
9428 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9429 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9430 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9431 then :
9432 printf %s "(cached) " >&6
9433 else $as_nop
9434 ac_wine_try_cflags_saved=$CFLAGS
9435 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9437 /* end confdefs.h. */
9438 int main(int argc, char **argv) { return 0; }
9439 _ACEOF
9440 if ac_fn_c_try_link "$LINENO"
9441 then :
9442 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9443 else $as_nop
9444 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9446 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9447 conftest$ac_exeext conftest.$ac_ext
9448 CFLAGS=$ac_wine_try_cflags_saved
9450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9451 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9452 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9453 then :
9454 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9455 fi ;;
9456 esac
9457 enable_loader=${enable_loader:-no}
9458 enable_server=${enable_server:-no}
9459 with_x=${with_x:-no}
9460 with_pthread=${with_pthread:-no}
9463 darwin*|macosx*)
9464 LIBEXT="dylib"
9465 DLLFLAGS="$DLLFLAGS -fPIC"
9466 LDDLLFLAGS="-fPIC"
9467 enable_winemac_drv=${enable_winemac_drv:-yes}
9468 CARBON_LIBS="-framework Carbon"
9470 COREFOUNDATION_LIBS="-framework CoreFoundation"
9472 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9474 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9476 METAL_LIBS="-framework Metal"
9478 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9480 CORESERVICES_LIBS="-framework CoreServices"
9482 APPKIT_LIBS="-framework AppKit"
9484 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9486 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9489 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9491 case $host_cpu in
9492 *i[3456]86*|*x86_64*) wine_can_build_preloader=yes ;;
9493 *) wine_can_build_preloader=no ;;
9494 esac
9496 if test "$wine_can_build_preloader" = "yes"
9497 then
9498 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -mmacosx-version-min=10.7 -Wl,-no_new_main,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9500 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9501 if test ${ac_cv_cflags__Wl__no_pie+y}
9502 then :
9503 printf %s "(cached) " >&6
9504 else $as_nop
9505 ac_wine_try_cflags_saved=$CFLAGS
9506 CFLAGS="$CFLAGS -Wl,-no_pie"
9507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9508 /* end confdefs.h. */
9509 int main(int argc, char **argv) { return 0; }
9510 _ACEOF
9511 if ac_fn_c_try_link "$LINENO"
9512 then :
9513 ac_cv_cflags__Wl__no_pie=yes
9514 else $as_nop
9515 ac_cv_cflags__Wl__no_pie=no
9517 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9518 conftest$ac_exeext conftest.$ac_ext
9519 CFLAGS=$ac_wine_try_cflags_saved
9521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9522 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9523 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9524 then :
9525 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9527 case $host_cpu in
9528 *i[3456]86*)
9529 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9531 *x86_64*)
9532 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9534 esac
9535 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9536 else
9537 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9540 if test "x$with_coreaudio" != "xno";
9541 then
9542 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9544 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9546 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9547 then
9548 OPENCL_LIBS="-framework OpenCL"
9550 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9554 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9555 ac_ext=m
9556 ac_cpp='$OBJCPP $CPPFLAGS'
9557 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9558 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9559 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9561 ac_ext=m
9562 ac_cpp='$OBJCPP $CPPFLAGS'
9563 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9564 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9565 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9566 if test -n "$ac_tool_prefix"; then
9567 for ac_prog in gcc objcc objc cc CC clang
9569 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9570 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9572 printf %s "checking for $ac_word... " >&6; }
9573 if test ${ac_cv_prog_OBJC+y}
9574 then :
9575 printf %s "(cached) " >&6
9576 else $as_nop
9577 if test -n "$OBJC"; then
9578 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9579 else
9580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9581 for as_dir in $PATH
9583 IFS=$as_save_IFS
9584 case $as_dir in #(((
9585 '') as_dir=./ ;;
9586 */) ;;
9587 *) as_dir=$as_dir/ ;;
9588 esac
9589 for ac_exec_ext in '' $ac_executable_extensions; do
9590 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9591 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9592 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9593 break 2
9595 done
9596 done
9597 IFS=$as_save_IFS
9601 OBJC=$ac_cv_prog_OBJC
9602 if test -n "$OBJC"; then
9603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9604 printf "%s\n" "$OBJC" >&6; }
9605 else
9606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9607 printf "%s\n" "no" >&6; }
9611 test -n "$OBJC" && break
9612 done
9614 if test -z "$OBJC"; then
9615 ac_ct_OBJC=$OBJC
9616 for ac_prog in gcc objcc objc cc CC clang
9618 # Extract the first word of "$ac_prog", so it can be a program name with args.
9619 set dummy $ac_prog; ac_word=$2
9620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9621 printf %s "checking for $ac_word... " >&6; }
9622 if test ${ac_cv_prog_ac_ct_OBJC+y}
9623 then :
9624 printf %s "(cached) " >&6
9625 else $as_nop
9626 if test -n "$ac_ct_OBJC"; then
9627 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9628 else
9629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9630 for as_dir in $PATH
9632 IFS=$as_save_IFS
9633 case $as_dir in #(((
9634 '') as_dir=./ ;;
9635 */) ;;
9636 *) as_dir=$as_dir/ ;;
9637 esac
9638 for ac_exec_ext in '' $ac_executable_extensions; do
9639 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9640 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9641 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9642 break 2
9644 done
9645 done
9646 IFS=$as_save_IFS
9650 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9651 if test -n "$ac_ct_OBJC"; then
9652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9653 printf "%s\n" "$ac_ct_OBJC" >&6; }
9654 else
9655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9656 printf "%s\n" "no" >&6; }
9660 test -n "$ac_ct_OBJC" && break
9661 done
9663 if test "x$ac_ct_OBJC" = x; then
9664 OBJC="gcc"
9665 else
9666 case $cross_compiling:$ac_tool_warned in
9667 yes:)
9668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9669 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9670 ac_tool_warned=yes ;;
9671 esac
9672 OBJC=$ac_ct_OBJC
9676 # Provide some information about the compiler.
9677 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9678 set X $ac_compile
9679 ac_compiler=$2
9680 for ac_option in --version -v -V -qversion; do
9681 { { ac_try="$ac_compiler $ac_option >&5"
9682 case "(($ac_try" in
9683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9684 *) ac_try_echo=$ac_try;;
9685 esac
9686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9687 printf "%s\n" "$ac_try_echo"; } >&5
9688 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9689 ac_status=$?
9690 if test -s conftest.err; then
9691 sed '10a\
9692 ... rest of stderr output deleted ...
9693 10q' conftest.err >conftest.er1
9694 cat conftest.er1 >&5
9696 rm -f conftest.er1 conftest.err
9697 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9698 test $ac_status = 0; }
9699 done
9701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9702 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9703 if test ${ac_cv_objc_compiler_gnu+y}
9704 then :
9705 printf %s "(cached) " >&6
9706 else $as_nop
9707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9708 /* end confdefs.h. */
9711 main (void)
9713 #ifndef __GNUC__
9714 choke me
9715 #endif
9718 return 0;
9720 _ACEOF
9721 if ac_fn_objc_try_compile "$LINENO"
9722 then :
9723 ac_compiler_gnu=yes
9724 else $as_nop
9725 ac_compiler_gnu=no
9727 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9728 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9732 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9733 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9735 if test $ac_compiler_gnu = yes; then
9736 GOBJC=yes
9737 else
9738 GOBJC=
9740 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9741 ac_save_OBJCFLAGS=$OBJCFLAGS
9742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9743 printf %s "checking whether $OBJC accepts -g... " >&6; }
9744 if test ${ac_cv_prog_objc_g+y}
9745 then :
9746 printf %s "(cached) " >&6
9747 else $as_nop
9748 ac_save_objc_werror_flag=$ac_objc_werror_flag
9749 ac_objc_werror_flag=yes
9750 ac_cv_prog_objc_g=no
9751 OBJCFLAGS="-g"
9752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9753 /* end confdefs.h. */
9756 main (void)
9760 return 0;
9762 _ACEOF
9763 if ac_fn_objc_try_compile "$LINENO"
9764 then :
9765 ac_cv_prog_objc_g=yes
9766 else $as_nop
9767 OBJCFLAGS=""
9768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9769 /* end confdefs.h. */
9772 main (void)
9776 return 0;
9778 _ACEOF
9779 if ac_fn_objc_try_compile "$LINENO"
9780 then :
9782 else $as_nop
9783 ac_objc_werror_flag=$ac_save_objc_werror_flag
9784 OBJCFLAGS="-g"
9785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9786 /* end confdefs.h. */
9789 main (void)
9793 return 0;
9795 _ACEOF
9796 if ac_fn_objc_try_compile "$LINENO"
9797 then :
9798 ac_cv_prog_objc_g=yes
9800 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9802 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9804 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9805 ac_objc_werror_flag=$ac_save_objc_werror_flag
9807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9808 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9809 if test $ac_test_OBJCFLAGS; then
9810 OBJCFLAGS=$ac_save_OBJCFLAGS
9811 elif test $ac_cv_prog_objc_g = yes; then
9812 if test "$GOBJC" = yes; then
9813 OBJCFLAGS="-g -O2"
9814 else
9815 OBJCFLAGS="-g"
9817 else
9818 if test "$GOBJC" = yes; then
9819 OBJCFLAGS="-O2"
9820 else
9821 OBJCFLAGS=
9824 ac_ext=m
9825 ac_cpp='$OBJCPP $CPPFLAGS'
9826 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9827 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9828 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9832 /* end confdefs.h. */
9833 #include <Metal/Metal.h>
9835 main (void)
9837 id<MTLDevice> device; device.registryID;
9839 return 0;
9841 _ACEOF
9842 if ac_fn_objc_try_compile "$LINENO"
9843 then :
9844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9845 printf "%s\n" "yes" >&6; }
9847 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9849 else $as_nop
9850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9851 printf "%s\n" "no" >&6; }
9853 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9854 ac_ext=c
9855 ac_cpp='$CPP $CPPFLAGS'
9856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9861 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9862 WINELOADER_DEPENDS="wine_info.plist"
9866 linux-android*)
9868 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9870 DLLFLAGS="$DLLFLAGS -fPIC"
9871 LDDLLFLAGS="-fPIC"
9872 LDEXECFLAGS="-Wl,-pie"
9873 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9875 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9876 if test ${ac_cv_cflags__Wl__z_defs+y}
9877 then :
9878 printf %s "(cached) " >&6
9879 else $as_nop
9880 ac_wine_try_cflags_saved=$CFLAGS
9881 CFLAGS="$CFLAGS -Wl,-z,defs"
9882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9883 /* end confdefs.h. */
9884 int main(int argc, char **argv) { return 0; }
9885 _ACEOF
9886 if ac_fn_c_try_link "$LINENO"
9887 then :
9888 ac_cv_cflags__Wl__z_defs=yes
9889 else $as_nop
9890 ac_cv_cflags__Wl__z_defs=no
9892 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9893 conftest$ac_exeext conftest.$ac_ext
9894 CFLAGS=$ac_wine_try_cflags_saved
9896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9897 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9898 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9899 then :
9900 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9903 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9904 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9905 then :
9906 printf %s "(cached) " >&6
9907 else $as_nop
9908 ac_wine_try_cflags_saved=$CFLAGS
9909 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9911 /* end confdefs.h. */
9912 int main(int argc, char **argv) { return 0; }
9913 _ACEOF
9914 if ac_fn_c_try_link "$LINENO"
9915 then :
9916 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9917 else $as_nop
9918 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9920 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9921 conftest$ac_exeext conftest.$ac_ext
9922 CFLAGS=$ac_wine_try_cflags_saved
9924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9925 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9926 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9927 then :
9928 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9930 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9933 printf %s "checking for -lEGL... " >&6; }
9934 if test ${ac_cv_lib_soname_EGL+y}
9935 then :
9936 printf %s "(cached) " >&6
9937 else $as_nop
9938 ac_check_soname_save_LIBS=$LIBS
9939 LIBS="-lEGL $LIBS"
9940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9941 /* end confdefs.h. */
9943 /* Override any GCC internal prototype to avoid an error.
9944 Use char because int might match the return type of a GCC
9945 builtin and then its argument prototype would still apply. */
9946 char eglGetProcAddress ();
9948 main (void)
9950 return eglGetProcAddress ();
9952 return 0;
9954 _ACEOF
9955 if ac_fn_c_try_link "$LINENO"
9956 then :
9957 case "$LIBEXT" in
9958 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9959 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'` ;;
9960 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9961 if ${ac_cv_lib_soname_EGL:+false} :
9962 then :
9963 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9964 fi ;;
9965 esac
9966 else $as_nop
9967 ac_cv_lib_soname_EGL=
9969 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9970 conftest$ac_exeext conftest.$ac_ext
9971 LIBS=$ac_check_soname_save_LIBS
9973 if ${ac_cv_lib_soname_EGL:+false} :
9974 then :
9975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9976 printf "%s\n" "not found" >&6; }
9978 else $as_nop
9979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9980 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
9982 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
9986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9987 printf %s "checking for -lGLESv2... " >&6; }
9988 if test ${ac_cv_lib_soname_GLESv2+y}
9989 then :
9990 printf %s "(cached) " >&6
9991 else $as_nop
9992 ac_check_soname_save_LIBS=$LIBS
9993 LIBS="-lGLESv2 $LIBS"
9994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9995 /* end confdefs.h. */
9997 /* Override any GCC internal prototype to avoid an error.
9998 Use char because int might match the return type of a GCC
9999 builtin and then its argument prototype would still apply. */
10000 char glFlush ();
10002 main (void)
10004 return glFlush ();
10006 return 0;
10008 _ACEOF
10009 if ac_fn_c_try_link "$LINENO"
10010 then :
10011 case "$LIBEXT" in
10012 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10013 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'` ;;
10014 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10015 if ${ac_cv_lib_soname_GLESv2:+false} :
10016 then :
10017 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10018 fi ;;
10019 esac
10020 else $as_nop
10021 ac_cv_lib_soname_GLESv2=
10023 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10024 conftest$ac_exeext conftest.$ac_ext
10025 LIBS=$ac_check_soname_save_LIBS
10027 if ${ac_cv_lib_soname_GLESv2:+false} :
10028 then :
10029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10030 printf "%s\n" "not found" >&6; }
10032 else $as_nop
10033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10034 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10036 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10041 if test "x$exec_prefix" = xNONE
10042 then
10043 case $host_cpu in
10044 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10045 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10046 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10047 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10048 esac
10054 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10056 test "$ac_cv_sys_file_offset_bits" = 64 &&
10057 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10059 case $host_cpu in
10060 *i[3456789]86*)
10061 DLLFLAGS="$DLLFLAGS -fno-PIC"
10062 LDDLLFLAGS="-fno-PIC"
10063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10064 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10065 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10066 then :
10067 printf %s "(cached) " >&6
10068 else $as_nop
10069 ac_wine_try_cflags_saved=$CFLAGS
10070 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10072 /* end confdefs.h. */
10073 int main(int argc, char **argv) { return 0; }
10074 _ACEOF
10075 if ac_fn_c_try_link "$LINENO"
10076 then :
10077 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10078 else $as_nop
10079 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10081 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10082 conftest$ac_exeext conftest.$ac_ext
10083 CFLAGS=$ac_wine_try_cflags_saved
10085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10086 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10087 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10088 then :
10089 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10093 DLLFLAGS="$DLLFLAGS -fPIC"
10094 LDDLLFLAGS="-fPIC" ;;
10095 esac
10097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10098 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10099 if test ${ac_cv_cflags__Wl__z_defs+y}
10100 then :
10101 printf %s "(cached) " >&6
10102 else $as_nop
10103 ac_wine_try_cflags_saved=$CFLAGS
10104 CFLAGS="$CFLAGS -Wl,-z,defs"
10105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10106 /* end confdefs.h. */
10107 int main(int argc, char **argv) { return 0; }
10108 _ACEOF
10109 if ac_fn_c_try_link "$LINENO"
10110 then :
10111 ac_cv_cflags__Wl__z_defs=yes
10112 else $as_nop
10113 ac_cv_cflags__Wl__z_defs=no
10115 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10116 conftest$ac_exeext conftest.$ac_ext
10117 CFLAGS=$ac_wine_try_cflags_saved
10119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10120 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10121 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10122 then :
10123 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10126 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10127 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10128 then :
10129 printf %s "(cached) " >&6
10130 else $as_nop
10131 ac_wine_try_cflags_saved=$CFLAGS
10132 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10134 /* end confdefs.h. */
10135 int main(int argc, char **argv) { return 0; }
10136 _ACEOF
10137 if ac_fn_c_try_link "$LINENO"
10138 then :
10139 ac_cv_cflags__Wl___export_dynamic=yes
10140 else $as_nop
10141 ac_cv_cflags__Wl___export_dynamic=no
10143 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10144 conftest$ac_exeext conftest.$ac_ext
10145 CFLAGS=$ac_wine_try_cflags_saved
10147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10148 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10149 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10150 then :
10151 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10153 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10155 case $host_os in
10156 linux*)
10157 as_fn_append WINELOADER_LDFLAGS " -pie"
10158 case $HOST_ARCH in
10159 i386|arm)
10160 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10163 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10164 if test ${ac_cv_cflags__static_pie+y}
10165 then :
10166 printf %s "(cached) " >&6
10167 else $as_nop
10168 ac_wine_try_cflags_saved=$CFLAGS
10169 CFLAGS="$CFLAGS -static-pie"
10170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10171 /* end confdefs.h. */
10172 int main(int argc, char **argv) { return 0; }
10173 _ACEOF
10174 if ac_fn_c_try_link "$LINENO"
10175 then :
10176 ac_cv_cflags__static_pie=yes
10177 else $as_nop
10178 ac_cv_cflags__static_pie=no
10180 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10181 conftest$ac_exeext conftest.$ac_ext
10182 CFLAGS=$ac_wine_try_cflags_saved
10184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10185 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10186 if test "x$ac_cv_cflags__static_pie" = xyes
10187 then :
10188 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10189 else $as_nop
10190 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10193 esac
10196 case $HOST_ARCH in
10197 i386|arm)
10198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10199 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10200 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10201 then :
10202 printf %s "(cached) " >&6
10203 else $as_nop
10204 ac_wine_try_cflags_saved=$CFLAGS
10205 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10207 /* end confdefs.h. */
10208 int main(int argc, char **argv) { return 0; }
10209 _ACEOF
10210 if ac_fn_c_try_link "$LINENO"
10211 then :
10212 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10213 else $as_nop
10214 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10216 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10217 conftest$ac_exeext conftest.$ac_ext
10218 CFLAGS=$ac_wine_try_cflags_saved
10220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10221 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10222 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10223 then :
10224 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10225 else $as_nop
10226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10227 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10228 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10229 then :
10230 printf %s "(cached) " >&6
10231 else $as_nop
10232 ac_wine_try_cflags_saved=$CFLAGS
10233 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10235 /* end confdefs.h. */
10236 int main(int argc, char **argv) { return 0; }
10237 _ACEOF
10238 if ac_fn_c_try_link "$LINENO"
10239 then :
10240 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10241 else $as_nop
10242 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10245 conftest$ac_exeext conftest.$ac_ext
10246 CFLAGS=$ac_wine_try_cflags_saved
10248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10249 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10250 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10251 then :
10252 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10257 as_fn_append WINELOADER_LDFLAGS " -pie"
10259 esac
10261 esac
10263 esac
10265 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10266 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10267 enable_winemac_drv=${enable_winemac_drv:-no}
10269 PE_ARCHS=""
10271 cross_archs=
10272 if test ${enable_archs+y}
10273 then :
10274 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10275 ac_save_IFS=$IFS
10276 IFS=' ,'
10277 set x $enable_archs
10278 IFS=$ac_save_IFS
10279 shift
10280 for arch
10282 case $arch in
10283 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10284 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10285 esac
10286 done
10287 else $as_nop
10288 if test "x$with_mingw" != xno
10289 then
10290 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10294 for wine_arch in $cross_archs
10296 case "x$with_mingw" in
10297 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10298 esac
10299 if eval \${${wine_arch}_CC:+false} :
10300 then :
10301 case $wine_arch in
10302 aarch64)
10303 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10305 # Extract the first word of "$ac_prog", so it can be a program name with args.
10306 set dummy $ac_prog; ac_word=$2
10307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10308 printf %s "checking for $ac_word... " >&6; }
10309 if test ${ac_cv_prog_aarch64_CC+y}
10310 then :
10311 printf %s "(cached) " >&6
10312 else $as_nop
10313 if test -n "$aarch64_CC"; then
10314 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10315 else
10316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10317 for as_dir in $PATH
10319 IFS=$as_save_IFS
10320 case $as_dir in #(((
10321 '') as_dir=./ ;;
10322 */) ;;
10323 *) as_dir=$as_dir/ ;;
10324 esac
10325 for ac_exec_ext in '' $ac_executable_extensions; do
10326 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10327 ac_cv_prog_aarch64_CC="$ac_prog"
10328 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10329 break 2
10331 done
10332 done
10333 IFS=$as_save_IFS
10337 aarch64_CC=$ac_cv_prog_aarch64_CC
10338 if test -n "$aarch64_CC"; then
10339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10340 printf "%s\n" "$aarch64_CC" >&6; }
10341 else
10342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10343 printf "%s\n" "no" >&6; }
10347 test -n "$aarch64_CC" && break
10348 done
10349 test -n "$aarch64_CC" || aarch64_CC="false"
10352 arm)
10353 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10355 # Extract the first word of "$ac_prog", so it can be a program name with args.
10356 set dummy $ac_prog; ac_word=$2
10357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10358 printf %s "checking for $ac_word... " >&6; }
10359 if test ${ac_cv_prog_arm_CC+y}
10360 then :
10361 printf %s "(cached) " >&6
10362 else $as_nop
10363 if test -n "$arm_CC"; then
10364 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10365 else
10366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10367 for as_dir in $PATH
10369 IFS=$as_save_IFS
10370 case $as_dir in #(((
10371 '') as_dir=./ ;;
10372 */) ;;
10373 *) as_dir=$as_dir/ ;;
10374 esac
10375 for ac_exec_ext in '' $ac_executable_extensions; do
10376 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10377 ac_cv_prog_arm_CC="$ac_prog"
10378 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10379 break 2
10381 done
10382 done
10383 IFS=$as_save_IFS
10387 arm_CC=$ac_cv_prog_arm_CC
10388 if test -n "$arm_CC"; then
10389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10390 printf "%s\n" "$arm_CC" >&6; }
10391 else
10392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10393 printf "%s\n" "no" >&6; }
10397 test -n "$arm_CC" && break
10398 done
10399 test -n "$arm_CC" || arm_CC="false"
10402 i386)
10403 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 "
10404 for ac_prog in $ac_prefix_list clang
10406 # Extract the first word of "$ac_prog", so it can be a program name with args.
10407 set dummy $ac_prog; ac_word=$2
10408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10409 printf %s "checking for $ac_word... " >&6; }
10410 if test ${ac_cv_prog_i386_CC+y}
10411 then :
10412 printf %s "(cached) " >&6
10413 else $as_nop
10414 if test -n "$i386_CC"; then
10415 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10416 else
10417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10418 for as_dir in $PATH
10420 IFS=$as_save_IFS
10421 case $as_dir in #(((
10422 '') as_dir=./ ;;
10423 */) ;;
10424 *) as_dir=$as_dir/ ;;
10425 esac
10426 for ac_exec_ext in '' $ac_executable_extensions; do
10427 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10428 ac_cv_prog_i386_CC="$ac_prog"
10429 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10430 break 2
10432 done
10433 done
10434 IFS=$as_save_IFS
10438 i386_CC=$ac_cv_prog_i386_CC
10439 if test -n "$i386_CC"; then
10440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10441 printf "%s\n" "$i386_CC" >&6; }
10442 else
10443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10444 printf "%s\n" "no" >&6; }
10448 test -n "$i386_CC" && break
10449 done
10450 test -n "$i386_CC" || i386_CC="false"
10453 x86_64)
10454 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10455 for ac_prog in $ac_prefix_list clang
10457 # Extract the first word of "$ac_prog", so it can be a program name with args.
10458 set dummy $ac_prog; ac_word=$2
10459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10460 printf %s "checking for $ac_word... " >&6; }
10461 if test ${ac_cv_prog_x86_64_CC+y}
10462 then :
10463 printf %s "(cached) " >&6
10464 else $as_nop
10465 if test -n "$x86_64_CC"; then
10466 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10467 else
10468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10469 for as_dir in $PATH
10471 IFS=$as_save_IFS
10472 case $as_dir in #(((
10473 '') as_dir=./ ;;
10474 */) ;;
10475 *) as_dir=$as_dir/ ;;
10476 esac
10477 for ac_exec_ext in '' $ac_executable_extensions; do
10478 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10479 ac_cv_prog_x86_64_CC="$ac_prog"
10480 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10481 break 2
10483 done
10484 done
10485 IFS=$as_save_IFS
10489 x86_64_CC=$ac_cv_prog_x86_64_CC
10490 if test -n "$x86_64_CC"; then
10491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10492 printf "%s\n" "$x86_64_CC" >&6; }
10493 else
10494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10495 printf "%s\n" "no" >&6; }
10499 test -n "$x86_64_CC" && break
10500 done
10501 test -n "$x86_64_CC" || x86_64_CC="false"
10504 esac
10507 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10508 then :
10509 continue
10512 saved_CC=$CC
10513 saved_CFLAGS=$CFLAGS
10514 saved_LDFLAGS=$LDFLAGS
10516 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10517 LDFLAGS=$CROSSLDFLAGS
10518 eval CC=\$${wine_arch}_CC
10519 eval ${wine_arch}_CFLAGS=\$CFLAGS
10520 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10521 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10523 target=""
10524 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10527 printf %s "checking whether $CC works... " >&6; }
10528 if eval test \${$as_wine_cv_crosscc+y}
10529 then :
10530 printf %s "(cached) " >&6
10531 else $as_nop
10532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10533 /* end confdefs.h. */
10536 main (void)
10540 return 0;
10542 _ACEOF
10543 if ac_fn_c_try_compile "$LINENO"
10544 then :
10545 eval "$as_wine_cv_crosscc=yes"
10546 else $as_nop
10547 eval "$as_wine_cv_crosscc=no"
10549 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10551 eval ac_res=\$$as_wine_cv_crosscc
10552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10553 printf "%s\n" "$ac_res" >&6; }
10554 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10555 then :
10556 set x $CC
10557 shift
10558 while test $# -ge 1
10560 case "$1" in
10561 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10562 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10563 esac
10564 shift
10565 done
10567 llvm_target=$target
10568 if test -z "$llvm_target"
10569 then
10570 case $wine_arch in
10571 i386) llvm_target=i686-windows ;;
10572 arm) llvm_target=armv7-windows ;;
10573 *) llvm_target=$wine_arch-windows ;;
10574 esac
10576 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10577 case $llvm_target in
10578 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10579 esac
10580 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10582 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10583 if eval test \${$as_ac_var+y}
10584 then :
10585 printf %s "(cached) " >&6
10586 else $as_nop
10587 ac_wine_try_cflags_saved=$CFLAGS
10588 ac_wine_try_cflags_saved_exeext=$ac_exeext
10589 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10590 ac_exeext=".exe"
10591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10592 /* end confdefs.h. */
10593 int __cdecl mainCRTStartup(void) { return 0; }
10594 _ACEOF
10595 if ac_fn_c_try_link "$LINENO"
10596 then :
10597 eval "$as_ac_var=yes"
10598 else $as_nop
10599 eval "$as_ac_var=no"
10601 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10602 conftest$ac_exeext conftest.$ac_ext
10603 CFLAGS=$ac_wine_try_cflags_saved
10604 ac_exeext=$ac_wine_try_cflags_saved_exeext
10606 eval ac_res=\$$as_ac_var
10607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10608 printf "%s\n" "$ac_res" >&6; }
10609 if eval test \"x\$"$as_ac_var"\" = x"yes"
10610 then :
10611 target=$llvm_target
10612 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10613 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10614 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10615 fi }
10616 eval "${wine_arch}_TARGET=\$target"
10620 if test -z "$target"
10621 then
10622 CC=$saved_CC
10623 CFLAGS=$saved_CFLAGS
10624 LDFLAGS=$saved_LDFLAGS
10625 continue
10628 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10631 printf %s "checking for $CC option to enable C99 features... " >&6; }
10632 if eval test \${$as_wine_cv_crosscc_c99+y}
10633 then :
10634 printf %s "(cached) " >&6
10635 else $as_nop
10636 eval "$as_wine_cv_crosscc_c99=no"
10637 for arg in '' '-std=gnu99' '-D__STDC__'
10639 test -z "$arg" || CC="$CC $arg"
10640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10641 /* end confdefs.h. */
10642 $ac_c_conftest_c99_program
10643 _ACEOF
10644 if ac_fn_c_try_compile "$LINENO"
10645 then :
10646 eval "$as_wine_cv_crosscc_c99=\$arg"
10647 else $as_nop
10648 eval "$as_wine_cv_crosscc_c99=no"
10650 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10651 eval CC=\$${wine_arch}_CC
10652 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10653 then :
10655 else $as_nop
10656 break
10658 done
10661 eval res=\$$as_wine_cv_crosscc_c99
10663 case "x$res" in
10664 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10665 printf "%s\n" "none needed" >&6; } ;;
10666 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10667 printf "%s\n" "unsupported" >&6; }
10668 CC=$saved_CC
10669 CFLAGS=$saved_CFLAGS
10670 LDFLAGS=$saved_LDFLAGS
10671 continue
10673 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10674 printf "%s\n" "$res" >&6; }
10675 as_fn_append ${wine_arch}_CC " $res" ;;
10676 esac
10678 as_fn_append PE_ARCHS " $wine_arch"
10679 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10681 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10682 if eval test \${$as_ac_var+y}
10683 then :
10684 printf %s "(cached) " >&6
10685 else $as_nop
10686 ac_wine_try_cflags_saved=$CFLAGS
10687 ac_wine_try_cflags_saved_exeext=$ac_exeext
10688 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10689 ac_exeext=".exe"
10690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10691 /* end confdefs.h. */
10692 int __cdecl mainCRTStartup(void) { return 0; }
10693 _ACEOF
10694 if ac_fn_c_try_link "$LINENO"
10695 then :
10696 eval "$as_ac_var=yes"
10697 else $as_nop
10698 eval "$as_ac_var=no"
10700 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10701 conftest$ac_exeext conftest.$ac_ext
10702 CFLAGS=$ac_wine_try_cflags_saved
10703 ac_exeext=$ac_wine_try_cflags_saved_exeext
10705 eval ac_res=\$$as_ac_var
10706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10707 printf "%s\n" "$ac_res" >&6; }
10708 if eval test \"x\$"$as_ac_var"\" = x"yes"
10709 then :
10710 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10711 fi }
10712 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10714 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10715 if eval test \${$as_ac_var+y}
10716 then :
10717 printf %s "(cached) " >&6
10718 else $as_nop
10719 ac_wine_try_cflags_saved=$CFLAGS
10720 ac_wine_try_cflags_saved_exeext=$ac_exeext
10721 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10722 ac_exeext=".exe"
10723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10724 /* end confdefs.h. */
10725 int __cdecl mainCRTStartup(void) { return 0; }
10726 _ACEOF
10727 if ac_fn_c_try_link "$LINENO"
10728 then :
10729 eval "$as_ac_var=yes"
10730 else $as_nop
10731 eval "$as_ac_var=no"
10733 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10734 conftest$ac_exeext conftest.$ac_ext
10735 CFLAGS=$ac_wine_try_cflags_saved
10736 ac_exeext=$ac_wine_try_cflags_saved_exeext
10738 eval ac_res=\$$as_ac_var
10739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10740 printf "%s\n" "$ac_res" >&6; }
10741 if eval test \"x\$"$as_ac_var"\" = x"yes"
10742 then :
10743 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10744 fi }
10745 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10747 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10748 if eval test \${$as_ac_var+y}
10749 then :
10750 printf %s "(cached) " >&6
10751 else $as_nop
10752 ac_wine_try_cflags_saved=$CFLAGS
10753 ac_wine_try_cflags_saved_exeext=$ac_exeext
10754 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10755 ac_exeext=".exe"
10756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10757 /* end confdefs.h. */
10758 int __cdecl mainCRTStartup(void) { return 0; }
10759 _ACEOF
10760 if ac_fn_c_try_link "$LINENO"
10761 then :
10762 eval "$as_ac_var=yes"
10763 else $as_nop
10764 eval "$as_ac_var=no"
10766 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10767 conftest$ac_exeext conftest.$ac_ext
10768 CFLAGS=$ac_wine_try_cflags_saved
10769 ac_exeext=$ac_wine_try_cflags_saved_exeext
10771 eval ac_res=\$$as_ac_var
10772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10773 printf "%s\n" "$ac_res" >&6; }
10774 if eval test \"x\$"$as_ac_var"\" = x"yes"
10775 then :
10776 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10777 fi }
10778 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10780 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10781 if eval test \${$as_ac_var+y}
10782 then :
10783 printf %s "(cached) " >&6
10784 else $as_nop
10785 ac_wine_try_cflags_saved=$CFLAGS
10786 ac_wine_try_cflags_saved_exeext=$ac_exeext
10787 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10788 ac_exeext=".exe"
10789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10790 /* end confdefs.h. */
10791 int __cdecl mainCRTStartup(void) { return 0; }
10792 _ACEOF
10793 if ac_fn_c_try_link "$LINENO"
10794 then :
10795 eval "$as_ac_var=yes"
10796 else $as_nop
10797 eval "$as_ac_var=no"
10799 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10800 conftest$ac_exeext conftest.$ac_ext
10801 CFLAGS=$ac_wine_try_cflags_saved
10802 ac_exeext=$ac_wine_try_cflags_saved_exeext
10804 eval ac_res=\$$as_ac_var
10805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10806 printf "%s\n" "$ac_res" >&6; }
10807 if eval test \"x\$"$as_ac_var"\" = x"yes"
10808 then :
10809 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10810 fi }
10811 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10813 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10814 if eval test \${$as_ac_var+y}
10815 then :
10816 printf %s "(cached) " >&6
10817 else $as_nop
10818 ac_wine_try_cflags_saved=$CFLAGS
10819 ac_wine_try_cflags_saved_exeext=$ac_exeext
10820 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10821 ac_exeext=".exe"
10822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10823 /* end confdefs.h. */
10824 int __cdecl mainCRTStartup(void) { return 0; }
10825 _ACEOF
10826 if ac_fn_c_try_link "$LINENO"
10827 then :
10828 eval "$as_ac_var=yes"
10829 else $as_nop
10830 eval "$as_ac_var=no"
10832 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10833 conftest$ac_exeext conftest.$ac_ext
10834 CFLAGS=$ac_wine_try_cflags_saved
10835 ac_exeext=$ac_wine_try_cflags_saved_exeext
10837 eval ac_res=\$$as_ac_var
10838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10839 printf "%s\n" "$ac_res" >&6; }
10840 if eval test \"x\$"$as_ac_var"\" = x"yes"
10841 then :
10842 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10843 fi }
10844 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10846 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10847 if eval test \${$as_ac_var+y}
10848 then :
10849 printf %s "(cached) " >&6
10850 else $as_nop
10851 ac_wine_try_cflags_saved=$CFLAGS
10852 ac_wine_try_cflags_saved_exeext=$ac_exeext
10853 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10854 ac_exeext=".exe"
10855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10856 /* end confdefs.h. */
10857 int __cdecl mainCRTStartup(void) { return 0; }
10858 _ACEOF
10859 if ac_fn_c_try_link "$LINENO"
10860 then :
10861 eval "$as_ac_var=yes"
10862 else $as_nop
10863 eval "$as_ac_var=no"
10865 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10866 conftest$ac_exeext conftest.$ac_ext
10867 CFLAGS=$ac_wine_try_cflags_saved
10868 ac_exeext=$ac_wine_try_cflags_saved_exeext
10870 eval ac_res=\$$as_ac_var
10871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10872 printf "%s\n" "$ac_res" >&6; }
10873 if eval test \"x\$"$as_ac_var"\" = x"yes"
10874 then :
10875 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10876 fi }
10877 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10879 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10880 if eval test \${$as_ac_var+y}
10881 then :
10882 printf %s "(cached) " >&6
10883 else $as_nop
10884 ac_wine_try_cflags_saved=$CFLAGS
10885 ac_wine_try_cflags_saved_exeext=$ac_exeext
10886 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10887 ac_exeext=".exe"
10888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10889 /* end confdefs.h. */
10890 int __cdecl mainCRTStartup(void) { return 0; }
10891 _ACEOF
10892 if ac_fn_c_try_link "$LINENO"
10893 then :
10894 eval "$as_ac_var=yes"
10895 else $as_nop
10896 eval "$as_ac_var=no"
10898 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10899 conftest$ac_exeext conftest.$ac_ext
10900 CFLAGS=$ac_wine_try_cflags_saved
10901 ac_exeext=$ac_wine_try_cflags_saved_exeext
10903 eval ac_res=\$$as_ac_var
10904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10905 printf "%s\n" "$ac_res" >&6; }
10906 if eval test \"x\$"$as_ac_var"\" = x"yes"
10907 then :
10908 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10909 fi }
10910 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
10911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10912 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10913 if eval test \${$as_ac_var+y}
10914 then :
10915 printf %s "(cached) " >&6
10916 else $as_nop
10917 ac_wine_try_cflags_saved=$CFLAGS
10918 ac_wine_try_cflags_saved_exeext=$ac_exeext
10919 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10920 ac_exeext=".exe"
10921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10922 /* end confdefs.h. */
10923 int __cdecl mainCRTStartup(void) { return 0; }
10924 _ACEOF
10925 if ac_fn_c_try_link "$LINENO"
10926 then :
10927 eval "$as_ac_var=yes"
10928 else $as_nop
10929 eval "$as_ac_var=no"
10931 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10932 conftest$ac_exeext conftest.$ac_ext
10933 CFLAGS=$ac_wine_try_cflags_saved
10934 ac_exeext=$ac_wine_try_cflags_saved_exeext
10936 eval ac_res=\$$as_ac_var
10937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10938 printf "%s\n" "$ac_res" >&6; }
10939 if eval test \"x\$"$as_ac_var"\" = x"yes"
10940 then :
10941 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
10942 fi }
10943 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
10944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
10945 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
10946 if eval test \${$as_ac_var+y}
10947 then :
10948 printf %s "(cached) " >&6
10949 else $as_nop
10950 ac_wine_try_cflags_saved=$CFLAGS
10951 ac_wine_try_cflags_saved_exeext=$ac_exeext
10952 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
10953 ac_exeext=".exe"
10954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10955 /* end confdefs.h. */
10956 int __cdecl mainCRTStartup(void) { return 0; }
10957 _ACEOF
10958 if ac_fn_c_try_link "$LINENO"
10959 then :
10960 eval "$as_ac_var=yes"
10961 else $as_nop
10962 eval "$as_ac_var=no"
10964 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10965 conftest$ac_exeext conftest.$ac_ext
10966 CFLAGS=$ac_wine_try_cflags_saved
10967 ac_exeext=$ac_wine_try_cflags_saved_exeext
10969 eval ac_res=\$$as_ac_var
10970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10971 printf "%s\n" "$ac_res" >&6; }
10972 if eval test \"x\$"$as_ac_var"\" = x"yes"
10973 then :
10974 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
10975 fi }
10976 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
10977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
10978 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
10979 if eval test \${$as_ac_var+y}
10980 then :
10981 printf %s "(cached) " >&6
10982 else $as_nop
10983 ac_wine_try_cflags_saved=$CFLAGS
10984 ac_wine_try_cflags_saved_exeext=$ac_exeext
10985 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
10986 ac_exeext=".exe"
10987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10988 /* end confdefs.h. */
10989 int __cdecl mainCRTStartup(void) { return 0; }
10990 _ACEOF
10991 if ac_fn_c_try_link "$LINENO"
10992 then :
10993 eval "$as_ac_var=yes"
10994 else $as_nop
10995 eval "$as_ac_var=no"
10997 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10998 conftest$ac_exeext conftest.$ac_ext
10999 CFLAGS=$ac_wine_try_cflags_saved
11000 ac_exeext=$ac_wine_try_cflags_saved_exeext
11002 eval ac_res=\$$as_ac_var
11003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11004 printf "%s\n" "$ac_res" >&6; }
11005 if eval test \"x\$"$as_ac_var"\" = x"yes"
11006 then :
11007 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11008 fi }
11009 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11011 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11012 if eval test \${$as_ac_var+y}
11013 then :
11014 printf %s "(cached) " >&6
11015 else $as_nop
11016 ac_wine_try_cflags_saved=$CFLAGS
11017 ac_wine_try_cflags_saved_exeext=$ac_exeext
11018 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11019 ac_exeext=".exe"
11020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11021 /* end confdefs.h. */
11022 int __cdecl mainCRTStartup(void) { return 0; }
11023 _ACEOF
11024 if ac_fn_c_try_link "$LINENO"
11025 then :
11026 eval "$as_ac_var=yes"
11027 else $as_nop
11028 eval "$as_ac_var=no"
11030 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11031 conftest$ac_exeext conftest.$ac_ext
11032 CFLAGS=$ac_wine_try_cflags_saved
11033 ac_exeext=$ac_wine_try_cflags_saved_exeext
11035 eval ac_res=\$$as_ac_var
11036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11037 printf "%s\n" "$ac_res" >&6; }
11038 if eval test \"x\$"$as_ac_var"\" = x"yes"
11039 then :
11040 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11041 fi }
11042 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11044 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11045 if eval test \${$as_ac_var+y}
11046 then :
11047 printf %s "(cached) " >&6
11048 else $as_nop
11049 ac_wine_try_cflags_saved=$CFLAGS
11050 ac_wine_try_cflags_saved_exeext=$ac_exeext
11051 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11052 ac_exeext=".exe"
11053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11054 /* end confdefs.h. */
11055 int __cdecl mainCRTStartup(void) { return 0; }
11056 _ACEOF
11057 if ac_fn_c_try_link "$LINENO"
11058 then :
11059 eval "$as_ac_var=yes"
11060 else $as_nop
11061 eval "$as_ac_var=no"
11063 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11064 conftest$ac_exeext conftest.$ac_ext
11065 CFLAGS=$ac_wine_try_cflags_saved
11066 ac_exeext=$ac_wine_try_cflags_saved_exeext
11068 eval ac_res=\$$as_ac_var
11069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11070 printf "%s\n" "$ac_res" >&6; }
11071 if eval test \"x\$"$as_ac_var"\" = x"yes"
11072 then :
11073 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11074 fi }
11075 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11077 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11078 if eval test \${$as_ac_var+y}
11079 then :
11080 printf %s "(cached) " >&6
11081 else $as_nop
11082 ac_wine_try_cflags_saved=$CFLAGS
11083 ac_wine_try_cflags_saved_exeext=$ac_exeext
11084 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11085 ac_exeext=".exe"
11086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11087 /* end confdefs.h. */
11088 int __cdecl mainCRTStartup(void) { return 0; }
11089 _ACEOF
11090 if ac_fn_c_try_link "$LINENO"
11091 then :
11092 eval "$as_ac_var=yes"
11093 else $as_nop
11094 eval "$as_ac_var=no"
11096 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11097 conftest$ac_exeext conftest.$ac_ext
11098 CFLAGS=$ac_wine_try_cflags_saved
11099 ac_exeext=$ac_wine_try_cflags_saved_exeext
11101 eval ac_res=\$$as_ac_var
11102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11103 printf "%s\n" "$ac_res" >&6; }
11104 if eval test \"x\$"$as_ac_var"\" = x"yes"
11105 then :
11106 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11107 fi }
11108 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11110 printf %s "checking whether $CC supports -Wvla... " >&6; }
11111 if eval test \${$as_ac_var+y}
11112 then :
11113 printf %s "(cached) " >&6
11114 else $as_nop
11115 ac_wine_try_cflags_saved=$CFLAGS
11116 ac_wine_try_cflags_saved_exeext=$ac_exeext
11117 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11118 ac_exeext=".exe"
11119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11120 /* end confdefs.h. */
11121 int __cdecl mainCRTStartup(void) { return 0; }
11122 _ACEOF
11123 if ac_fn_c_try_link "$LINENO"
11124 then :
11125 eval "$as_ac_var=yes"
11126 else $as_nop
11127 eval "$as_ac_var=no"
11129 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11130 conftest$ac_exeext conftest.$ac_ext
11131 CFLAGS=$ac_wine_try_cflags_saved
11132 ac_exeext=$ac_wine_try_cflags_saved_exeext
11134 eval ac_res=\$$as_ac_var
11135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11136 printf "%s\n" "$ac_res" >&6; }
11137 if eval test \"x\$"$as_ac_var"\" = x"yes"
11138 then :
11139 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11140 fi }
11141 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11143 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11144 if eval test \${$as_ac_var+y}
11145 then :
11146 printf %s "(cached) " >&6
11147 else $as_nop
11148 ac_wine_try_cflags_saved=$CFLAGS
11149 ac_wine_try_cflags_saved_exeext=$ac_exeext
11150 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11151 ac_exeext=".exe"
11152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11153 /* end confdefs.h. */
11154 int __cdecl mainCRTStartup(void) { return 0; }
11155 _ACEOF
11156 if ac_fn_c_try_link "$LINENO"
11157 then :
11158 eval "$as_ac_var=yes"
11159 else $as_nop
11160 eval "$as_ac_var=no"
11162 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11163 conftest$ac_exeext conftest.$ac_ext
11164 CFLAGS=$ac_wine_try_cflags_saved
11165 ac_exeext=$ac_wine_try_cflags_saved_exeext
11167 eval ac_res=\$$as_ac_var
11168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11169 printf "%s\n" "$ac_res" >&6; }
11170 if eval test \"x\$"$as_ac_var"\" = x"yes"
11171 then :
11172 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11173 fi }
11174 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11176 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11177 if eval test \${$as_ac_var+y}
11178 then :
11179 printf %s "(cached) " >&6
11180 else $as_nop
11181 ac_wine_try_cflags_saved=$CFLAGS
11182 ac_wine_try_cflags_saved_exeext=$ac_exeext
11183 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11184 ac_exeext=".exe"
11185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11186 /* end confdefs.h. */
11187 int __cdecl mainCRTStartup(void) { return 0; }
11188 _ACEOF
11189 if ac_fn_c_try_link "$LINENO"
11190 then :
11191 eval "$as_ac_var=yes"
11192 else $as_nop
11193 eval "$as_ac_var=no"
11195 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11196 conftest$ac_exeext conftest.$ac_ext
11197 CFLAGS=$ac_wine_try_cflags_saved
11198 ac_exeext=$ac_wine_try_cflags_saved_exeext
11200 eval ac_res=\$$as_ac_var
11201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11202 printf "%s\n" "$ac_res" >&6; }
11203 if eval test \"x\$"$as_ac_var"\" = x"yes"
11204 then :
11205 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11206 fi }
11207 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11209 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11210 if eval test \${$as_ac_var+y}
11211 then :
11212 printf %s "(cached) " >&6
11213 else $as_nop
11214 ac_wine_try_cflags_saved=$CFLAGS
11215 ac_wine_try_cflags_saved_exeext=$ac_exeext
11216 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11217 ac_exeext=".exe"
11218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11219 /* end confdefs.h. */
11220 int __cdecl mainCRTStartup(void) { return 0; }
11221 _ACEOF
11222 if ac_fn_c_try_link "$LINENO"
11223 then :
11224 eval "$as_ac_var=yes"
11225 else $as_nop
11226 eval "$as_ac_var=no"
11228 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11229 conftest$ac_exeext conftest.$ac_ext
11230 CFLAGS=$ac_wine_try_cflags_saved
11231 ac_exeext=$ac_wine_try_cflags_saved_exeext
11233 eval ac_res=\$$as_ac_var
11234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11235 printf "%s\n" "$ac_res" >&6; }
11236 if eval test \"x\$"$as_ac_var"\" = x"yes"
11237 then :
11238 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11239 fi }
11240 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11242 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11243 if eval test \${$as_ac_var+y}
11244 then :
11245 printf %s "(cached) " >&6
11246 else $as_nop
11247 ac_wine_try_cflags_saved=$CFLAGS
11248 ac_wine_try_cflags_saved_exeext=$ac_exeext
11249 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11250 ac_exeext=".exe"
11251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11252 /* end confdefs.h. */
11253 int __cdecl mainCRTStartup(void) { return 0; }
11254 _ACEOF
11255 if ac_fn_c_try_link "$LINENO"
11256 then :
11257 eval "$as_ac_var=yes"
11258 else $as_nop
11259 eval "$as_ac_var=no"
11261 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11262 conftest$ac_exeext conftest.$ac_ext
11263 CFLAGS=$ac_wine_try_cflags_saved
11264 ac_exeext=$ac_wine_try_cflags_saved_exeext
11266 eval ac_res=\$$as_ac_var
11267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11268 printf "%s\n" "$ac_res" >&6; }
11269 if eval test \"x\$"$as_ac_var"\" = x"yes"
11270 then :
11271 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11272 fi }
11274 case $wine_arch in
11275 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11277 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&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 -fno-omit-frame-pointer"
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 " -fno-omit-frame-pointer"
11307 fi }
11308 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11310 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&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 -Wl,--disable-stdcall-fixup"
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}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11340 fi } ;;
11341 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11343 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11344 if eval test \${$as_ac_var+y}
11345 then :
11346 printf %s "(cached) " >&6
11347 else $as_nop
11348 ac_wine_try_cflags_saved=$CFLAGS
11349 ac_wine_try_cflags_saved_exeext=$ac_exeext
11350 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11351 ac_exeext=".exe"
11352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11353 /* end confdefs.h. */
11354 int __cdecl mainCRTStartup(void) { return 0; }
11355 _ACEOF
11356 if ac_fn_c_try_link "$LINENO"
11357 then :
11358 eval "$as_ac_var=yes"
11359 else $as_nop
11360 eval "$as_ac_var=no"
11362 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11363 conftest$ac_exeext conftest.$ac_ext
11364 CFLAGS=$ac_wine_try_cflags_saved
11365 ac_exeext=$ac_wine_try_cflags_saved_exeext
11367 eval ac_res=\$$as_ac_var
11368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11369 printf "%s\n" "$ac_res" >&6; }
11370 if eval test \"x\$"$as_ac_var"\" = x"yes"
11371 then :
11372 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11373 fi }
11374 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11376 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11377 if eval test \${$as_ac_var+y}
11378 then :
11379 printf %s "(cached) " >&6
11380 else $as_nop
11381 ac_wine_try_cflags_saved=$CFLAGS
11382 ac_wine_try_cflags_saved_exeext=$ac_exeext
11383 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11384 ac_exeext=".exe"
11385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11386 /* end confdefs.h. */
11387 int __cdecl mainCRTStartup(void) { return 0; }
11388 _ACEOF
11389 if ac_fn_c_try_link "$LINENO"
11390 then :
11391 eval "$as_ac_var=yes"
11392 else $as_nop
11393 eval "$as_ac_var=no"
11395 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11396 conftest$ac_exeext conftest.$ac_ext
11397 CFLAGS=$ac_wine_try_cflags_saved
11398 ac_exeext=$ac_wine_try_cflags_saved_exeext
11400 eval ac_res=\$$as_ac_var
11401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11402 printf "%s\n" "$ac_res" >&6; }
11403 if eval test \"x\$"$as_ac_var"\" = x"yes"
11404 then :
11405 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11406 fi }
11407 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11409 printf %s "checking whether $CC supports -mcx16... " >&6; }
11410 if eval test \${$as_ac_var+y}
11411 then :
11412 printf %s "(cached) " >&6
11413 else $as_nop
11414 ac_wine_try_cflags_saved=$CFLAGS
11415 ac_wine_try_cflags_saved_exeext=$ac_exeext
11416 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11417 ac_exeext=".exe"
11418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11419 /* end confdefs.h. */
11420 int __cdecl mainCRTStartup(void) { return 0; }
11421 _ACEOF
11422 if ac_fn_c_try_link "$LINENO"
11423 then :
11424 eval "$as_ac_var=yes"
11425 else $as_nop
11426 eval "$as_ac_var=no"
11428 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11429 conftest$ac_exeext conftest.$ac_ext
11430 CFLAGS=$ac_wine_try_cflags_saved
11431 ac_exeext=$ac_wine_try_cflags_saved_exeext
11433 eval ac_res=\$$as_ac_var
11434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11435 printf "%s\n" "$ac_res" >&6; }
11436 if eval test \"x\$"$as_ac_var"\" = x"yes"
11437 then :
11438 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11439 fi }
11440 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" | $as_tr_sh`
11441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11442 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11443 if eval test \${$as_ac_var+y}
11444 then :
11445 printf %s "(cached) " >&6
11446 else $as_nop
11447 ac_wine_try_cflags_saved=$CFLAGS
11448 ac_wine_try_cflags_saved_exeext=$ac_exeext
11449 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11450 ac_exeext=".exe"
11451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11452 /* end confdefs.h. */
11453 int __cdecl mainCRTStartup(void) { return 0; }
11454 _ACEOF
11455 if ac_fn_c_try_link "$LINENO"
11456 then :
11457 eval "$as_ac_var=yes"
11458 else $as_nop
11459 eval "$as_ac_var=no"
11461 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11462 conftest$ac_exeext conftest.$ac_ext
11463 CFLAGS=$ac_wine_try_cflags_saved
11464 ac_exeext=$ac_wine_try_cflags_saved_exeext
11466 eval ac_res=\$$as_ac_var
11467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11468 printf "%s\n" "$ac_res" >&6; }
11469 if eval test \"x\$"$as_ac_var"\" = x"yes"
11470 then :
11471 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11472 fi } ;;
11473 esac
11475 wine_crossdebug=$CROSSDEBUG
11476 if test -z "$wine_crossdebug"
11477 then
11478 for ac_flag in $CFLAGS; do
11479 case $ac_flag in
11480 -gdwarf*) wine_crossdebug=dwarf ;;
11481 -gcodeview) wine_crossdebug=pdb ;;
11482 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11483 esac
11484 done
11487 ac_debug_format_seen=""
11488 for ac_flag in $CFLAGS; do
11489 case $ac_flag in
11490 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11491 esac
11492 done
11493 if test "x$ac_debug_format_seen" = x
11494 then
11495 case $wine_crossdebug in
11496 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11498 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11499 if eval test \${$as_ac_var+y}
11500 then :
11501 printf %s "(cached) " >&6
11502 else $as_nop
11503 ac_wine_try_cflags_saved=$CFLAGS
11504 ac_wine_try_cflags_saved_exeext=$ac_exeext
11505 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11506 ac_exeext=".exe"
11507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11508 /* end confdefs.h. */
11509 int __cdecl mainCRTStartup(void) { return 0; }
11510 _ACEOF
11511 if ac_fn_c_try_link "$LINENO"
11512 then :
11513 eval "$as_ac_var=yes"
11514 else $as_nop
11515 eval "$as_ac_var=no"
11517 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11518 conftest$ac_exeext conftest.$ac_ext
11519 CFLAGS=$ac_wine_try_cflags_saved
11520 ac_exeext=$ac_wine_try_cflags_saved_exeext
11522 eval ac_res=\$$as_ac_var
11523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11524 printf "%s\n" "$ac_res" >&6; }
11525 if eval test \"x\$"$as_ac_var"\" = x"yes"
11526 then :
11527 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11528 fi } ;;
11529 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11531 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11532 if eval test \${$as_ac_var+y}
11533 then :
11534 printf %s "(cached) " >&6
11535 else $as_nop
11536 ac_wine_try_cflags_saved=$CFLAGS
11537 ac_wine_try_cflags_saved_exeext=$ac_exeext
11538 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11539 ac_exeext=".exe"
11540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11541 /* end confdefs.h. */
11542 int __cdecl mainCRTStartup(void) { return 0; }
11543 _ACEOF
11544 if ac_fn_c_try_link "$LINENO"
11545 then :
11546 eval "$as_ac_var=yes"
11547 else $as_nop
11548 eval "$as_ac_var=no"
11550 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11551 conftest$ac_exeext conftest.$ac_ext
11552 CFLAGS=$ac_wine_try_cflags_saved
11553 ac_exeext=$ac_wine_try_cflags_saved_exeext
11555 eval ac_res=\$$as_ac_var
11556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11557 printf "%s\n" "$ac_res" >&6; }
11558 if eval test \"x\$"$as_ac_var"\" = x"yes"
11559 then :
11560 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11561 fi } ;;
11562 esac
11564 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11566 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11568 printf %s "checking whether $CC supports -Werror... " >&6; }
11569 if eval test \${$as_ac_var+y}
11570 then :
11571 printf %s "(cached) " >&6
11572 else $as_nop
11573 ac_wine_try_cflags_saved=$CFLAGS
11574 ac_wine_try_cflags_saved_exeext=$ac_exeext
11575 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11576 ac_exeext=".exe"
11577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11578 /* end confdefs.h. */
11579 int __cdecl mainCRTStartup(void) { return 0; }
11580 _ACEOF
11581 if ac_fn_c_try_link "$LINENO"
11582 then :
11583 eval "$as_ac_var=yes"
11584 else $as_nop
11585 eval "$as_ac_var=no"
11587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11588 conftest$ac_exeext conftest.$ac_ext
11589 CFLAGS=$ac_wine_try_cflags_saved
11590 ac_exeext=$ac_wine_try_cflags_saved_exeext
11592 eval ac_res=\$$as_ac_var
11593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11594 printf "%s\n" "$ac_res" >&6; }
11595 if eval test \"x\$"$as_ac_var"\" = x"yes"
11596 then :
11597 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11598 fi }
11599 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11601 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11602 if eval test \${$as_ac_var+y}
11603 then :
11604 printf %s "(cached) " >&6
11605 else $as_nop
11606 ac_wine_try_cflags_saved=$CFLAGS
11607 ac_wine_try_cflags_saved_exeext=$ac_exeext
11608 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11609 ac_exeext=".exe"
11610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11611 /* end confdefs.h. */
11612 int __cdecl mainCRTStartup(void) { return 0; }
11613 _ACEOF
11614 if ac_fn_c_try_link "$LINENO"
11615 then :
11616 eval "$as_ac_var=yes"
11617 else $as_nop
11618 eval "$as_ac_var=no"
11620 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11621 conftest$ac_exeext conftest.$ac_ext
11622 CFLAGS=$ac_wine_try_cflags_saved
11623 ac_exeext=$ac_wine_try_cflags_saved_exeext
11625 eval ac_res=\$$as_ac_var
11626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11627 printf "%s\n" "$ac_res" >&6; }
11628 if eval test \"x\$"$as_ac_var"\" = x"yes"
11629 then :
11630 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11631 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11632 fi }
11634 CC=$saved_CC
11635 CFLAGS=$saved_CFLAGS
11636 LDFLAGS=$saved_LDFLAGS
11637 done
11639 if test $HOST_ARCH = aarch64
11640 then
11641 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
11642 DLLEXT=""
11643 else
11644 if test "x$PE_ARCHS" = "x"
11645 then :
11646 case "x$with_mingw" in
11647 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11648 xno) ;;
11649 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11650 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11651 esac
11657 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11658 then
11659 case "$host_cpu" in
11660 i[3456789]86*)
11661 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11663 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11664 esac
11665 for ac_prog in $ac_prefix_list
11667 # Extract the first word of "$ac_prog", so it can be a program name with args.
11668 set dummy $ac_prog; ac_word=$2
11669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11670 printf %s "checking for $ac_word... " >&6; }
11671 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11672 then :
11673 printf %s "(cached) " >&6
11674 else $as_nop
11675 if test -n "$MINGW_PKG_CONFIG"; then
11676 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11677 else
11678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11679 for as_dir in $PATH
11681 IFS=$as_save_IFS
11682 case $as_dir in #(((
11683 '') as_dir=./ ;;
11684 */) ;;
11685 *) as_dir=$as_dir/ ;;
11686 esac
11687 for ac_exec_ext in '' $ac_executable_extensions; do
11688 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11689 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11690 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11691 break 2
11693 done
11694 done
11695 IFS=$as_save_IFS
11699 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11700 if test -n "$MINGW_PKG_CONFIG"; then
11701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11702 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11703 else
11704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11705 printf "%s\n" "no" >&6; }
11709 test -n "$MINGW_PKG_CONFIG" && break
11710 done
11711 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11713 if ${FAUDIO_PE_CFLAGS:+false} :
11714 then :
11715 if test ${MINGW_PKG_CONFIG+y}
11716 then :
11717 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11720 if ${FAUDIO_PE_LIBS:+false} :
11721 then :
11722 if test ${MINGW_PKG_CONFIG+y}
11723 then :
11724 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11727 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11728 ac_save_CPPFLAGS=$CPPFLAGS
11729 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11731 printf %s "checking for MinGW FAudio.h... " >&6; }
11732 if test ${ac_cv_mingw_header_FAudio_h+y}
11733 then :
11734 printf %s "(cached) " >&6
11735 else $as_nop
11736 ac_wine_check_headers_saved_cc=$CC
11737 ac_wine_check_headers_saved_exeext=$ac_exeext
11738 eval CC=\$${wine_arch}_CC
11739 ac_exeext=".exe"
11740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11741 /* end confdefs.h. */
11743 #include <FAudio.h>
11745 main (void)
11749 return 0;
11751 _ACEOF
11752 if ac_fn_c_try_compile "$LINENO"
11753 then :
11754 ac_cv_mingw_header_FAudio_h=yes
11755 else $as_nop
11756 ac_cv_mingw_header_FAudio_h=no
11758 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11759 CC=$ac_wine_check_headers_saved_cc
11760 ac_exeext=$ac_wine_check_headers_saved_exeext
11762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11763 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11764 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11765 then :
11766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11767 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11768 if test ${ac_cv_mingw_lib_FAudio+y}
11769 then :
11770 printf %s "(cached) " >&6
11771 else $as_nop
11772 ac_wine_check_headers_saved_cc=$CC
11773 ac_wine_check_headers_saved_exeext=$ac_exeext
11774 ac_wine_check_headers_saved_libs=$LIBS
11775 eval CC=\$${wine_arch}_CC
11776 ac_exeext=".exe"
11777 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11779 /* end confdefs.h. */
11781 /* Override any GCC internal prototype to avoid an error.
11782 Use char because int might match the return type of a GCC
11783 builtin and then its argument prototype would still apply. */
11784 char FAudio_CommitOperationSet ();
11786 main (void)
11788 return FAudio_CommitOperationSet ();
11790 return 0;
11792 _ACEOF
11793 if ac_fn_c_try_link "$LINENO"
11794 then :
11795 ac_cv_mingw_lib_FAudio=yes
11796 else $as_nop
11797 ac_cv_mingw_lib_FAudio=no
11799 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11800 conftest$ac_exeext conftest.$ac_ext
11801 CC=$ac_wine_check_headers_saved_cc
11802 ac_exeext=$ac_wine_check_headers_saved_exeext
11803 LIBS=$ac_wine_check_headers_saved_libs
11805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11806 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11807 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11808 then :
11810 else $as_nop
11811 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11813 else $as_nop
11814 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11816 CPPFLAGS=$ac_save_CPPFLAGS
11818 if test "x$FAUDIO_PE_LIBS" = "x"
11819 then
11820 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11823 if ${JPEG_PE_CFLAGS:+false} :
11824 then :
11825 if test ${MINGW_PKG_CONFIG+y}
11826 then :
11827 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11830 if ${JPEG_PE_LIBS:+false} :
11831 then :
11832 if test ${MINGW_PKG_CONFIG+y}
11833 then :
11834 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11838 ac_save_CPPFLAGS=$CPPFLAGS
11839 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11841 printf %s "checking for MinGW jpeglib.h... " >&6; }
11842 if test ${ac_cv_mingw_header_jpeglib_h+y}
11843 then :
11844 printf %s "(cached) " >&6
11845 else $as_nop
11846 ac_wine_check_headers_saved_cc=$CC
11847 ac_wine_check_headers_saved_exeext=$ac_exeext
11848 eval CC=\$${wine_arch}_CC
11849 ac_exeext=".exe"
11850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11851 /* end confdefs.h. */
11852 #include <stddef.h>
11853 #include <stdio.h>
11854 #include <jpeglib.h>
11856 main (void)
11860 return 0;
11862 _ACEOF
11863 if ac_fn_c_try_compile "$LINENO"
11864 then :
11865 ac_cv_mingw_header_jpeglib_h=yes
11866 else $as_nop
11867 ac_cv_mingw_header_jpeglib_h=no
11869 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11870 CC=$ac_wine_check_headers_saved_cc
11871 ac_exeext=$ac_wine_check_headers_saved_exeext
11873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11874 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11875 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11876 then :
11877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11878 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11879 if test ${ac_cv_mingw_lib_jpeg+y}
11880 then :
11881 printf %s "(cached) " >&6
11882 else $as_nop
11883 ac_wine_check_headers_saved_cc=$CC
11884 ac_wine_check_headers_saved_exeext=$ac_exeext
11885 ac_wine_check_headers_saved_libs=$LIBS
11886 eval CC=\$${wine_arch}_CC
11887 ac_exeext=".exe"
11888 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11890 /* end confdefs.h. */
11892 /* Override any GCC internal prototype to avoid an error.
11893 Use char because int might match the return type of a GCC
11894 builtin and then its argument prototype would still apply. */
11895 char jpeg_start_decompress ();
11897 main (void)
11899 return jpeg_start_decompress ();
11901 return 0;
11903 _ACEOF
11904 if ac_fn_c_try_link "$LINENO"
11905 then :
11906 ac_cv_mingw_lib_jpeg=yes
11907 else $as_nop
11908 ac_cv_mingw_lib_jpeg=no
11910 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11911 conftest$ac_exeext conftest.$ac_ext
11912 CC=$ac_wine_check_headers_saved_cc
11913 ac_exeext=$ac_wine_check_headers_saved_exeext
11914 LIBS=$ac_wine_check_headers_saved_libs
11916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11917 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11918 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11919 then :
11921 else $as_nop
11922 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11924 else $as_nop
11925 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11927 CPPFLAGS=$ac_save_CPPFLAGS
11929 if test "x$JPEG_PE_LIBS" = "x"
11930 then
11931 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
11934 if ${LCMS2_PE_CFLAGS:+false} :
11935 then :
11936 if test ${MINGW_PKG_CONFIG+y}
11937 then :
11938 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
11941 if ${LCMS2_PE_LIBS:+false} :
11942 then :
11943 if test ${MINGW_PKG_CONFIG+y}
11944 then :
11945 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
11948 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
11949 ac_save_CPPFLAGS=$CPPFLAGS
11950 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
11951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
11952 printf %s "checking for MinGW lcms2.h... " >&6; }
11953 if test ${ac_cv_mingw_header_lcms2_h+y}
11954 then :
11955 printf %s "(cached) " >&6
11956 else $as_nop
11957 ac_wine_check_headers_saved_cc=$CC
11958 ac_wine_check_headers_saved_exeext=$ac_exeext
11959 eval CC=\$${wine_arch}_CC
11960 ac_exeext=".exe"
11961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11962 /* end confdefs.h. */
11964 #include <lcms2.h>
11966 main (void)
11970 return 0;
11972 _ACEOF
11973 if ac_fn_c_try_compile "$LINENO"
11974 then :
11975 ac_cv_mingw_header_lcms2_h=yes
11976 else $as_nop
11977 ac_cv_mingw_header_lcms2_h=no
11979 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11980 CC=$ac_wine_check_headers_saved_cc
11981 ac_exeext=$ac_wine_check_headers_saved_exeext
11983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
11984 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
11985 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
11986 then :
11987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
11988 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
11989 if test ${ac_cv_mingw_lib_lcms2+y}
11990 then :
11991 printf %s "(cached) " >&6
11992 else $as_nop
11993 ac_wine_check_headers_saved_cc=$CC
11994 ac_wine_check_headers_saved_exeext=$ac_exeext
11995 ac_wine_check_headers_saved_libs=$LIBS
11996 eval CC=\$${wine_arch}_CC
11997 ac_exeext=".exe"
11998 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
11999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12000 /* end confdefs.h. */
12002 /* Override any GCC internal prototype to avoid an error.
12003 Use char because int might match the return type of a GCC
12004 builtin and then its argument prototype would still apply. */
12005 char cmsOpenProfileFromFile ();
12007 main (void)
12009 return cmsOpenProfileFromFile ();
12011 return 0;
12013 _ACEOF
12014 if ac_fn_c_try_link "$LINENO"
12015 then :
12016 ac_cv_mingw_lib_lcms2=yes
12017 else $as_nop
12018 ac_cv_mingw_lib_lcms2=no
12020 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12021 conftest$ac_exeext conftest.$ac_ext
12022 CC=$ac_wine_check_headers_saved_cc
12023 ac_exeext=$ac_wine_check_headers_saved_exeext
12024 LIBS=$ac_wine_check_headers_saved_libs
12026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12027 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12028 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12029 then :
12031 else $as_nop
12032 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12034 else $as_nop
12035 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12037 CPPFLAGS=$ac_save_CPPFLAGS
12039 if test "x$LCMS2_PE_LIBS" = "x"
12040 then
12041 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12044 if ${MPG123_PE_CFLAGS:+false} :
12045 then :
12046 if test ${MINGW_PKG_CONFIG+y}
12047 then :
12048 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12051 if ${MPG123_PE_LIBS:+false} :
12052 then :
12053 if test ${MINGW_PKG_CONFIG+y}
12054 then :
12055 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12058 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12059 ac_save_CPPFLAGS=$CPPFLAGS
12060 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12062 printf %s "checking for MinGW mpg123.h... " >&6; }
12063 if test ${ac_cv_mingw_header_mpg123_h+y}
12064 then :
12065 printf %s "(cached) " >&6
12066 else $as_nop
12067 ac_wine_check_headers_saved_cc=$CC
12068 ac_wine_check_headers_saved_exeext=$ac_exeext
12069 eval CC=\$${wine_arch}_CC
12070 ac_exeext=".exe"
12071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12072 /* end confdefs.h. */
12074 #include <mpg123.h>
12076 main (void)
12080 return 0;
12082 _ACEOF
12083 if ac_fn_c_try_compile "$LINENO"
12084 then :
12085 ac_cv_mingw_header_mpg123_h=yes
12086 else $as_nop
12087 ac_cv_mingw_header_mpg123_h=no
12089 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12090 CC=$ac_wine_check_headers_saved_cc
12091 ac_exeext=$ac_wine_check_headers_saved_exeext
12093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12094 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12095 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12096 then :
12097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12098 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12099 if test ${ac_cv_mingw_lib_mpg123+y}
12100 then :
12101 printf %s "(cached) " >&6
12102 else $as_nop
12103 ac_wine_check_headers_saved_cc=$CC
12104 ac_wine_check_headers_saved_exeext=$ac_exeext
12105 ac_wine_check_headers_saved_libs=$LIBS
12106 eval CC=\$${wine_arch}_CC
12107 ac_exeext=".exe"
12108 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12110 /* end confdefs.h. */
12112 /* Override any GCC internal prototype to avoid an error.
12113 Use char because int might match the return type of a GCC
12114 builtin and then its argument prototype would still apply. */
12115 char mpg123_feed ();
12117 main (void)
12119 return mpg123_feed ();
12121 return 0;
12123 _ACEOF
12124 if ac_fn_c_try_link "$LINENO"
12125 then :
12126 ac_cv_mingw_lib_mpg123=yes
12127 else $as_nop
12128 ac_cv_mingw_lib_mpg123=no
12130 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12131 conftest$ac_exeext conftest.$ac_ext
12132 CC=$ac_wine_check_headers_saved_cc
12133 ac_exeext=$ac_wine_check_headers_saved_exeext
12134 LIBS=$ac_wine_check_headers_saved_libs
12136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12137 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12138 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12139 then :
12141 else $as_nop
12142 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12144 else $as_nop
12145 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12147 CPPFLAGS=$ac_save_CPPFLAGS
12149 if test "x$MPG123_PE_LIBS" = "x"
12150 then
12151 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12154 if ${PNG_PE_CFLAGS:+false} :
12155 then :
12156 if test ${MINGW_PKG_CONFIG+y}
12157 then :
12158 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12161 if ${PNG_PE_LIBS:+false} :
12162 then :
12163 if test ${MINGW_PKG_CONFIG+y}
12164 then :
12165 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12169 ac_save_CPPFLAGS=$CPPFLAGS
12170 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12172 printf %s "checking for MinGW png.h... " >&6; }
12173 if test ${ac_cv_mingw_header_png_h+y}
12174 then :
12175 printf %s "(cached) " >&6
12176 else $as_nop
12177 ac_wine_check_headers_saved_cc=$CC
12178 ac_wine_check_headers_saved_exeext=$ac_exeext
12179 eval CC=\$${wine_arch}_CC
12180 ac_exeext=".exe"
12181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12182 /* end confdefs.h. */
12184 #include <png.h>
12186 main (void)
12190 return 0;
12192 _ACEOF
12193 if ac_fn_c_try_compile "$LINENO"
12194 then :
12195 ac_cv_mingw_header_png_h=yes
12196 else $as_nop
12197 ac_cv_mingw_header_png_h=no
12199 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12200 CC=$ac_wine_check_headers_saved_cc
12201 ac_exeext=$ac_wine_check_headers_saved_exeext
12203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12204 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12205 if test "x$ac_cv_mingw_header_png_h" = xyes
12206 then :
12207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12208 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12209 if test ${ac_cv_mingw_lib_png+y}
12210 then :
12211 printf %s "(cached) " >&6
12212 else $as_nop
12213 ac_wine_check_headers_saved_cc=$CC
12214 ac_wine_check_headers_saved_exeext=$ac_exeext
12215 ac_wine_check_headers_saved_libs=$LIBS
12216 eval CC=\$${wine_arch}_CC
12217 ac_exeext=".exe"
12218 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12220 /* end confdefs.h. */
12222 /* Override any GCC internal prototype to avoid an error.
12223 Use char because int might match the return type of a GCC
12224 builtin and then its argument prototype would still apply. */
12225 char png_create_read_struct ();
12227 main (void)
12229 return png_create_read_struct ();
12231 return 0;
12233 _ACEOF
12234 if ac_fn_c_try_link "$LINENO"
12235 then :
12236 ac_cv_mingw_lib_png=yes
12237 else $as_nop
12238 ac_cv_mingw_lib_png=no
12240 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12241 conftest$ac_exeext conftest.$ac_ext
12242 CC=$ac_wine_check_headers_saved_cc
12243 ac_exeext=$ac_wine_check_headers_saved_exeext
12244 LIBS=$ac_wine_check_headers_saved_libs
12246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12247 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12248 if test "x$ac_cv_mingw_lib_png" = xyes
12249 then :
12251 else $as_nop
12252 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12254 else $as_nop
12255 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12257 CPPFLAGS=$ac_save_CPPFLAGS
12259 if test "x$PNG_PE_LIBS" = "x"
12260 then
12261 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12264 if ${TIFF_PE_CFLAGS:+false} :
12265 then :
12266 if test ${MINGW_PKG_CONFIG+y}
12267 then :
12268 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12271 if ${TIFF_PE_LIBS:+false} :
12272 then :
12273 if test ${MINGW_PKG_CONFIG+y}
12274 then :
12275 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12279 ac_save_CPPFLAGS=$CPPFLAGS
12280 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12282 printf %s "checking for MinGW tiffio.h... " >&6; }
12283 if test ${ac_cv_mingw_header_tiffio_h+y}
12284 then :
12285 printf %s "(cached) " >&6
12286 else $as_nop
12287 ac_wine_check_headers_saved_cc=$CC
12288 ac_wine_check_headers_saved_exeext=$ac_exeext
12289 eval CC=\$${wine_arch}_CC
12290 ac_exeext=".exe"
12291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12292 /* end confdefs.h. */
12294 #include <tiffio.h>
12296 main (void)
12300 return 0;
12302 _ACEOF
12303 if ac_fn_c_try_compile "$LINENO"
12304 then :
12305 ac_cv_mingw_header_tiffio_h=yes
12306 else $as_nop
12307 ac_cv_mingw_header_tiffio_h=no
12309 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12310 CC=$ac_wine_check_headers_saved_cc
12311 ac_exeext=$ac_wine_check_headers_saved_exeext
12313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12314 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12315 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12316 then :
12317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12318 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12319 if test ${ac_cv_mingw_lib_tiff+y}
12320 then :
12321 printf %s "(cached) " >&6
12322 else $as_nop
12323 ac_wine_check_headers_saved_cc=$CC
12324 ac_wine_check_headers_saved_exeext=$ac_exeext
12325 ac_wine_check_headers_saved_libs=$LIBS
12326 eval CC=\$${wine_arch}_CC
12327 ac_exeext=".exe"
12328 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12330 /* end confdefs.h. */
12332 /* Override any GCC internal prototype to avoid an error.
12333 Use char because int might match the return type of a GCC
12334 builtin and then its argument prototype would still apply. */
12335 char TIFFClientOpen ();
12337 main (void)
12339 return TIFFClientOpen ();
12341 return 0;
12343 _ACEOF
12344 if ac_fn_c_try_link "$LINENO"
12345 then :
12346 ac_cv_mingw_lib_tiff=yes
12347 else $as_nop
12348 ac_cv_mingw_lib_tiff=no
12350 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12351 conftest$ac_exeext conftest.$ac_ext
12352 CC=$ac_wine_check_headers_saved_cc
12353 ac_exeext=$ac_wine_check_headers_saved_exeext
12354 LIBS=$ac_wine_check_headers_saved_libs
12356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12357 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12358 if test "x$ac_cv_mingw_lib_tiff" = xyes
12359 then :
12361 else $as_nop
12362 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12364 else $as_nop
12365 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12367 CPPFLAGS=$ac_save_CPPFLAGS
12369 if test "x$TIFF_PE_LIBS" = "x"
12370 then
12371 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12374 if ${XML2_PE_CFLAGS:+false} :
12375 then :
12376 if test ${MINGW_PKG_CONFIG+y}
12377 then :
12378 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12381 if ${XML2_PE_LIBS:+false} :
12382 then :
12383 if test ${MINGW_PKG_CONFIG+y}
12384 then :
12385 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12388 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12389 ac_save_CPPFLAGS=$CPPFLAGS
12390 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12392 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12393 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12394 then :
12395 printf %s "(cached) " >&6
12396 else $as_nop
12397 ac_wine_check_headers_saved_cc=$CC
12398 ac_wine_check_headers_saved_exeext=$ac_exeext
12399 eval CC=\$${wine_arch}_CC
12400 ac_exeext=".exe"
12401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12402 /* end confdefs.h. */
12404 #include <libxml/parser.h>
12406 main (void)
12410 return 0;
12412 _ACEOF
12413 if ac_fn_c_try_compile "$LINENO"
12414 then :
12415 ac_cv_mingw_header_libxml_parser_h=yes
12416 else $as_nop
12417 ac_cv_mingw_header_libxml_parser_h=no
12419 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12420 CC=$ac_wine_check_headers_saved_cc
12421 ac_exeext=$ac_wine_check_headers_saved_exeext
12423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12424 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12425 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12426 then :
12429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12430 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12431 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12432 then :
12433 printf %s "(cached) " >&6
12434 else $as_nop
12435 ac_wine_check_headers_saved_cc=$CC
12436 ac_wine_check_headers_saved_exeext=$ac_exeext
12437 eval CC=\$${wine_arch}_CC
12438 ac_exeext=".exe"
12439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12440 /* end confdefs.h. */
12442 #include <libxml/xmlsave.h>
12444 main (void)
12448 return 0;
12450 _ACEOF
12451 if ac_fn_c_try_compile "$LINENO"
12452 then :
12453 ac_cv_mingw_header_libxml_xmlsave_h=yes
12454 else $as_nop
12455 ac_cv_mingw_header_libxml_xmlsave_h=no
12457 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12458 CC=$ac_wine_check_headers_saved_cc
12459 ac_exeext=$ac_wine_check_headers_saved_exeext
12461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12462 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12463 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12464 then :
12467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12468 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12469 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12470 then :
12471 printf %s "(cached) " >&6
12472 else $as_nop
12473 ac_wine_check_headers_saved_cc=$CC
12474 ac_wine_check_headers_saved_exeext=$ac_exeext
12475 eval CC=\$${wine_arch}_CC
12476 ac_exeext=".exe"
12477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12478 /* end confdefs.h. */
12480 #include <libxml/SAX2.h>
12482 main (void)
12486 return 0;
12488 _ACEOF
12489 if ac_fn_c_try_compile "$LINENO"
12490 then :
12491 ac_cv_mingw_header_libxml_SAX2_h=yes
12492 else $as_nop
12493 ac_cv_mingw_header_libxml_SAX2_h=no
12495 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12496 CC=$ac_wine_check_headers_saved_cc
12497 ac_exeext=$ac_wine_check_headers_saved_exeext
12499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12500 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12501 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12502 then :
12505 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"
12506 then
12507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12508 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12509 if test ${ac_cv_mingw_lib_xml2+y}
12510 then :
12511 printf %s "(cached) " >&6
12512 else $as_nop
12513 ac_wine_check_headers_saved_cc=$CC
12514 ac_wine_check_headers_saved_exeext=$ac_exeext
12515 ac_wine_check_headers_saved_libs=$LIBS
12516 eval CC=\$${wine_arch}_CC
12517 ac_exeext=".exe"
12518 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12520 /* end confdefs.h. */
12522 /* Override any GCC internal prototype to avoid an error.
12523 Use char because int might match the return type of a GCC
12524 builtin and then its argument prototype would still apply. */
12525 char xmlFirstElementChild ();
12527 main (void)
12529 return xmlFirstElementChild ();
12531 return 0;
12533 _ACEOF
12534 if ac_fn_c_try_link "$LINENO"
12535 then :
12536 ac_cv_mingw_lib_xml2=yes
12537 else $as_nop
12538 ac_cv_mingw_lib_xml2=no
12540 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12541 conftest$ac_exeext conftest.$ac_ext
12542 CC=$ac_wine_check_headers_saved_cc
12543 ac_exeext=$ac_wine_check_headers_saved_exeext
12544 LIBS=$ac_wine_check_headers_saved_libs
12546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12547 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12548 if test "x$ac_cv_mingw_lib_xml2" = xyes
12549 then :
12551 else $as_nop
12552 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12554 else
12555 XML2_PE_CFLAGS=""
12556 XML2_PE_LIBS=""
12558 CPPFLAGS=$ac_save_CPPFLAGS
12560 if test "x$XML2_PE_LIBS" = "x"
12561 then
12562 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12565 if ${XSLT_PE_CFLAGS:+false} :
12566 then :
12567 if test ${MINGW_PKG_CONFIG+y}
12568 then :
12569 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12572 if ${XSLT_PE_LIBS:+false} :
12573 then :
12574 if test ${MINGW_PKG_CONFIG+y}
12575 then :
12576 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12579 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12580 ac_save_CPPFLAGS=$CPPFLAGS
12581 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12583 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12584 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12585 then :
12586 printf %s "(cached) " >&6
12587 else $as_nop
12588 ac_wine_check_headers_saved_cc=$CC
12589 ac_wine_check_headers_saved_exeext=$ac_exeext
12590 eval CC=\$${wine_arch}_CC
12591 ac_exeext=".exe"
12592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12593 /* end confdefs.h. */
12595 #include <libxslt/pattern.h>
12597 main (void)
12601 return 0;
12603 _ACEOF
12604 if ac_fn_c_try_compile "$LINENO"
12605 then :
12606 ac_cv_mingw_header_libxslt_pattern_h=yes
12607 else $as_nop
12608 ac_cv_mingw_header_libxslt_pattern_h=no
12610 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12611 CC=$ac_wine_check_headers_saved_cc
12612 ac_exeext=$ac_wine_check_headers_saved_exeext
12614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12615 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12616 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12617 then :
12620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12621 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12622 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12623 then :
12624 printf %s "(cached) " >&6
12625 else $as_nop
12626 ac_wine_check_headers_saved_cc=$CC
12627 ac_wine_check_headers_saved_exeext=$ac_exeext
12628 eval CC=\$${wine_arch}_CC
12629 ac_exeext=".exe"
12630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12631 /* end confdefs.h. */
12633 #include <libxslt/transform.h>
12635 main (void)
12639 return 0;
12641 _ACEOF
12642 if ac_fn_c_try_compile "$LINENO"
12643 then :
12644 ac_cv_mingw_header_libxslt_transform_h=yes
12645 else $as_nop
12646 ac_cv_mingw_header_libxslt_transform_h=no
12648 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12649 CC=$ac_wine_check_headers_saved_cc
12650 ac_exeext=$ac_wine_check_headers_saved_exeext
12652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12653 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12654 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12655 then :
12658 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12659 then
12660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12661 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12662 if test ${ac_cv_mingw_lib_xslt+y}
12663 then :
12664 printf %s "(cached) " >&6
12665 else $as_nop
12666 ac_wine_check_headers_saved_cc=$CC
12667 ac_wine_check_headers_saved_exeext=$ac_exeext
12668 ac_wine_check_headers_saved_libs=$LIBS
12669 eval CC=\$${wine_arch}_CC
12670 ac_exeext=".exe"
12671 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12673 /* end confdefs.h. */
12675 /* Override any GCC internal prototype to avoid an error.
12676 Use char because int might match the return type of a GCC
12677 builtin and then its argument prototype would still apply. */
12678 char xsltCompilePattern ();
12680 main (void)
12682 return xsltCompilePattern ();
12684 return 0;
12686 _ACEOF
12687 if ac_fn_c_try_link "$LINENO"
12688 then :
12689 ac_cv_mingw_lib_xslt=yes
12690 else $as_nop
12691 ac_cv_mingw_lib_xslt=no
12693 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12694 conftest$ac_exeext conftest.$ac_ext
12695 CC=$ac_wine_check_headers_saved_cc
12696 ac_exeext=$ac_wine_check_headers_saved_exeext
12697 LIBS=$ac_wine_check_headers_saved_libs
12699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12700 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12701 if test "x$ac_cv_mingw_lib_xslt" = xyes
12702 then :
12704 else $as_nop
12705 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12707 else
12708 XSLT_PE_CFLAGS=""
12709 XSLT_PE_LIBS=""
12711 CPPFLAGS=$ac_save_CPPFLAGS
12713 if test "x$XSLT_PE_LIBS" = "x"
12714 then
12715 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12718 if ${VKD3D_PE_CFLAGS:+false} :
12719 then :
12720 if test ${MINGW_PKG_CONFIG+y}
12721 then :
12722 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12725 if ${VKD3D_PE_LIBS:+false} :
12726 then :
12727 if test ${MINGW_PKG_CONFIG+y}
12728 then :
12729 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12732 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12733 ac_save_CPPFLAGS=$CPPFLAGS
12734 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12736 printf %s "checking for MinGW vkd3d.h... " >&6; }
12737 if test ${ac_cv_mingw_header_vkd3d_h+y}
12738 then :
12739 printf %s "(cached) " >&6
12740 else $as_nop
12741 ac_wine_check_headers_saved_cc=$CC
12742 ac_wine_check_headers_saved_exeext=$ac_exeext
12743 eval CC=\$${wine_arch}_CC
12744 ac_exeext=".exe"
12745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12746 /* end confdefs.h. */
12748 #include <vkd3d.h>
12750 main (void)
12754 return 0;
12756 _ACEOF
12757 if ac_fn_c_try_compile "$LINENO"
12758 then :
12759 ac_cv_mingw_header_vkd3d_h=yes
12760 else $as_nop
12761 ac_cv_mingw_header_vkd3d_h=no
12763 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12764 CC=$ac_wine_check_headers_saved_cc
12765 ac_exeext=$ac_wine_check_headers_saved_exeext
12767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12768 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12769 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12770 then :
12773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12774 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12775 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12776 then :
12777 printf %s "(cached) " >&6
12778 else $as_nop
12779 ac_wine_check_headers_saved_cc=$CC
12780 ac_wine_check_headers_saved_exeext=$ac_exeext
12781 eval CC=\$${wine_arch}_CC
12782 ac_exeext=".exe"
12783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12784 /* end confdefs.h. */
12786 #include <vkd3d_shader.h>
12788 main (void)
12792 return 0;
12794 _ACEOF
12795 if ac_fn_c_try_compile "$LINENO"
12796 then :
12797 ac_cv_mingw_header_vkd3d_shader_h=yes
12798 else $as_nop
12799 ac_cv_mingw_header_vkd3d_shader_h=no
12801 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12802 CC=$ac_wine_check_headers_saved_cc
12803 ac_exeext=$ac_wine_check_headers_saved_exeext
12805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12806 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12807 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12808 then :
12811 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12812 then
12813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12814 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12815 if test ${ac_cv_mingw_lib_vkd3d+y}
12816 then :
12817 printf %s "(cached) " >&6
12818 else $as_nop
12819 ac_wine_check_headers_saved_cc=$CC
12820 ac_wine_check_headers_saved_exeext=$ac_exeext
12821 ac_wine_check_headers_saved_libs=$LIBS
12822 eval CC=\$${wine_arch}_CC
12823 ac_exeext=".exe"
12824 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12826 /* end confdefs.h. */
12828 /* Override any GCC internal prototype to avoid an error.
12829 Use char because int might match the return type of a GCC
12830 builtin and then its argument prototype would still apply. */
12831 char vkd3d_set_log_callback ();
12833 main (void)
12835 return vkd3d_set_log_callback ();
12837 return 0;
12839 _ACEOF
12840 if ac_fn_c_try_link "$LINENO"
12841 then :
12842 ac_cv_mingw_lib_vkd3d=yes
12843 else $as_nop
12844 ac_cv_mingw_lib_vkd3d=no
12846 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12847 conftest$ac_exeext conftest.$ac_ext
12848 CC=$ac_wine_check_headers_saved_cc
12849 ac_exeext=$ac_wine_check_headers_saved_exeext
12850 LIBS=$ac_wine_check_headers_saved_libs
12852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12853 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12854 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12855 then :
12857 else $as_nop
12860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
12861 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
12862 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12863 then :
12864 printf %s "(cached) " >&6
12865 else $as_nop
12866 ac_wine_check_headers_saved_cc=$CC
12867 ac_wine_check_headers_saved_exeext=$ac_exeext
12868 ac_wine_check_headers_saved_libs=$LIBS
12869 eval CC=\$${wine_arch}_CC
12870 ac_exeext=".exe"
12871 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12873 /* end confdefs.h. */
12875 /* Override any GCC internal prototype to avoid an error.
12876 Use char because int might match the return type of a GCC
12877 builtin and then its argument prototype would still apply. */
12878 char vkd3d_shader_serialize_dxbc ();
12880 main (void)
12882 return vkd3d_shader_serialize_dxbc ();
12884 return 0;
12886 _ACEOF
12887 if ac_fn_c_try_link "$LINENO"
12888 then :
12889 ac_cv_mingw_lib_vkd3d_shader=yes
12890 else $as_nop
12891 ac_cv_mingw_lib_vkd3d_shader=no
12893 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12894 conftest$ac_exeext conftest.$ac_ext
12895 CC=$ac_wine_check_headers_saved_cc
12896 ac_exeext=$ac_wine_check_headers_saved_exeext
12897 LIBS=$ac_wine_check_headers_saved_libs
12899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12900 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12901 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12902 then :
12904 else $as_nop
12907 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12908 then
12909 VKD3D_PE_CFLAGS=""
12910 VKD3D_PE_LIBS=""
12912 else
12913 VKD3D_PE_CFLAGS=""
12914 VKD3D_PE_LIBS=""
12916 CPPFLAGS=$ac_save_CPPFLAGS
12918 if test "x$VKD3D_PE_LIBS" = "x"
12919 then
12920 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12923 if ${ZLIB_PE_CFLAGS:+false} :
12924 then :
12925 if test ${MINGW_PKG_CONFIG+y}
12926 then :
12927 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
12930 if ${ZLIB_PE_LIBS:+false} :
12931 then :
12932 if test ${MINGW_PKG_CONFIG+y}
12933 then :
12934 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
12937 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
12938 ac_save_CPPFLAGS=$CPPFLAGS
12939 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
12940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
12941 printf %s "checking for MinGW zlib.h... " >&6; }
12942 if test ${ac_cv_mingw_header_zlib_h+y}
12943 then :
12944 printf %s "(cached) " >&6
12945 else $as_nop
12946 ac_wine_check_headers_saved_cc=$CC
12947 ac_wine_check_headers_saved_exeext=$ac_exeext
12948 eval CC=\$${wine_arch}_CC
12949 ac_exeext=".exe"
12950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12951 /* end confdefs.h. */
12953 #include <zlib.h>
12955 main (void)
12959 return 0;
12961 _ACEOF
12962 if ac_fn_c_try_compile "$LINENO"
12963 then :
12964 ac_cv_mingw_header_zlib_h=yes
12965 else $as_nop
12966 ac_cv_mingw_header_zlib_h=no
12968 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12969 CC=$ac_wine_check_headers_saved_cc
12970 ac_exeext=$ac_wine_check_headers_saved_exeext
12972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
12973 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
12974 if test "x$ac_cv_mingw_header_zlib_h" = xyes
12975 then :
12976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
12977 printf %s "checking for inflate in MinGW -lz... " >&6; }
12978 if test ${ac_cv_mingw_lib_z+y}
12979 then :
12980 printf %s "(cached) " >&6
12981 else $as_nop
12982 ac_wine_check_headers_saved_cc=$CC
12983 ac_wine_check_headers_saved_exeext=$ac_exeext
12984 ac_wine_check_headers_saved_libs=$LIBS
12985 eval CC=\$${wine_arch}_CC
12986 ac_exeext=".exe"
12987 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
12988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12989 /* end confdefs.h. */
12991 /* Override any GCC internal prototype to avoid an error.
12992 Use char because int might match the return type of a GCC
12993 builtin and then its argument prototype would still apply. */
12994 char inflate ();
12996 main (void)
12998 return inflate ();
13000 return 0;
13002 _ACEOF
13003 if ac_fn_c_try_link "$LINENO"
13004 then :
13005 ac_cv_mingw_lib_z=yes
13006 else $as_nop
13007 ac_cv_mingw_lib_z=no
13009 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13010 conftest$ac_exeext conftest.$ac_ext
13011 CC=$ac_wine_check_headers_saved_cc
13012 ac_exeext=$ac_wine_check_headers_saved_exeext
13013 LIBS=$ac_wine_check_headers_saved_libs
13015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13016 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13017 if test "x$ac_cv_mingw_lib_z" = xyes
13018 then :
13020 else $as_nop
13021 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13023 else $as_nop
13024 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13026 CPPFLAGS=$ac_save_CPPFLAGS
13028 if test "x$ZLIB_PE_LIBS" = "x"
13029 then
13030 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13034 if ${FAUDIO_PE_LIBS:+false} :
13035 then :
13036 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13037 if ${FAUDIO_PE_CFLAGS:+false} :
13038 then :
13039 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13040 else $as_nop
13041 enable_faudio=no
13043 else $as_nop
13044 enable_faudio=no
13046 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13047 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13049 if ${GSM_PE_LIBS:+false} :
13050 then :
13051 GSM_PE_LIBS=gsm
13052 if ${GSM_PE_CFLAGS:+false} :
13053 then :
13054 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13055 else $as_nop
13056 enable_gsm=no
13058 else $as_nop
13059 enable_gsm=no
13061 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13062 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13064 if ${JPEG_PE_LIBS:+false} :
13065 then :
13066 JPEG_PE_LIBS=jpeg
13067 if ${JPEG_PE_CFLAGS:+false} :
13068 then :
13069 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13070 else $as_nop
13071 enable_jpeg=no
13073 else $as_nop
13074 enable_jpeg=no
13076 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13077 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13079 if ${JXR_PE_LIBS:+false} :
13080 then :
13081 JXR_PE_LIBS=jxr
13082 if ${JXR_PE_CFLAGS:+false} :
13083 then :
13084 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13085 else $as_nop
13086 enable_jxr=no
13088 else $as_nop
13089 enable_jxr=no
13091 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13092 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13094 if ${LCMS2_PE_LIBS:+false} :
13095 then :
13096 LCMS2_PE_LIBS=lcms2
13097 if ${LCMS2_PE_CFLAGS:+false} :
13098 then :
13099 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13100 else $as_nop
13101 enable_lcms2=no
13103 else $as_nop
13104 enable_lcms2=no
13106 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13107 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13109 if ${LDAP_PE_LIBS:+false} :
13110 then :
13111 LDAP_PE_LIBS=ldap
13112 if ${LDAP_PE_CFLAGS:+false} :
13113 then :
13114 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13115 else $as_nop
13116 enable_ldap=no
13118 else $as_nop
13119 enable_ldap=no
13121 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13122 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13124 if ${MPG123_PE_LIBS:+false} :
13125 then :
13126 MPG123_PE_LIBS=mpg123
13127 if ${MPG123_PE_CFLAGS:+false} :
13128 then :
13129 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13130 else $as_nop
13131 enable_mpg123=no
13133 else $as_nop
13134 enable_mpg123=no
13136 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13137 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13139 if ${MUSL_PE_LIBS:+false} :
13140 then :
13141 MUSL_PE_LIBS=musl
13142 if ${MUSL_PE_CFLAGS:+false} :
13143 then :
13144 MUSL_PE_CFLAGS=
13145 else $as_nop
13146 enable_musl=no
13148 else $as_nop
13149 enable_musl=no
13151 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13152 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13154 if ${PNG_PE_LIBS:+false} :
13155 then :
13156 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13157 if ${PNG_PE_CFLAGS:+false} :
13158 then :
13159 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13160 else $as_nop
13161 enable_png=no
13163 else $as_nop
13164 enable_png=no
13166 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13167 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13169 if ${TIFF_PE_LIBS:+false} :
13170 then :
13171 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13172 if ${TIFF_PE_CFLAGS:+false} :
13173 then :
13174 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13175 else $as_nop
13176 enable_tiff=no
13178 else $as_nop
13179 enable_tiff=no
13181 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13182 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13184 if ${VKD3D_PE_LIBS:+false} :
13185 then :
13186 VKD3D_PE_LIBS=vkd3d
13187 if ${VKD3D_PE_CFLAGS:+false} :
13188 then :
13189 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13190 else $as_nop
13191 enable_vkd3d=no
13193 else $as_nop
13194 enable_vkd3d=no
13196 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13197 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13199 if ${XML2_PE_LIBS:+false} :
13200 then :
13201 XML2_PE_LIBS=xml2
13202 if ${XML2_PE_CFLAGS:+false} :
13203 then :
13204 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13205 else $as_nop
13206 enable_xml2=no
13208 else $as_nop
13209 enable_xml2=no
13211 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13212 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13214 if ${XSLT_PE_LIBS:+false} :
13215 then :
13216 XSLT_PE_LIBS=xslt
13217 if ${XSLT_PE_CFLAGS:+false} :
13218 then :
13219 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13220 else $as_nop
13221 enable_xslt=no
13223 else $as_nop
13224 enable_xslt=no
13226 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13227 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13229 if ${ZLIB_PE_LIBS:+false} :
13230 then :
13231 ZLIB_PE_LIBS=z
13232 if ${ZLIB_PE_CFLAGS:+false} :
13233 then :
13234 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13235 else $as_nop
13236 enable_zlib=no
13238 else $as_nop
13239 enable_zlib=no
13241 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13242 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13244 if ${ZYDIS_PE_LIBS:+false} :
13245 then :
13246 ZYDIS_PE_LIBS=zydis
13247 if ${ZYDIS_PE_CFLAGS:+false} :
13248 then :
13249 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13250 else $as_nop
13251 enable_zydis=no
13253 else $as_nop
13254 enable_zydis=no
13256 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13257 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13261 if test "$ac_cv_header_pthread_h" = "yes"
13262 then
13263 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13264 if test "x$ac_cv_func_pthread_create" = xyes
13265 then :
13267 else $as_nop
13268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13269 printf %s "checking for pthread_create in -lpthread... " >&6; }
13270 if test ${ac_cv_lib_pthread_pthread_create+y}
13271 then :
13272 printf %s "(cached) " >&6
13273 else $as_nop
13274 ac_check_lib_save_LIBS=$LIBS
13275 LIBS="-lpthread $LIBS"
13276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13277 /* end confdefs.h. */
13279 /* Override any GCC internal prototype to avoid an error.
13280 Use char because int might match the return type of a GCC
13281 builtin and then its argument prototype would still apply. */
13282 char pthread_create ();
13284 main (void)
13286 return pthread_create ();
13288 return 0;
13290 _ACEOF
13291 if ac_fn_c_try_link "$LINENO"
13292 then :
13293 ac_cv_lib_pthread_pthread_create=yes
13294 else $as_nop
13295 ac_cv_lib_pthread_pthread_create=no
13297 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13298 conftest$ac_exeext conftest.$ac_ext
13299 LIBS=$ac_check_lib_save_LIBS
13301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13302 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13303 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13304 then :
13305 PTHREAD_LIBS="-lpthread"
13312 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13313 then :
13314 case "x$with_pthread" in
13315 xno) ;;
13316 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13317 Wine cannot support threads without libpthread.
13318 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13319 esac
13324 ac_ext=c
13325 ac_cpp='$CPP $CPPFLAGS'
13326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13330 printf %s "checking how to run the C preprocessor... " >&6; }
13331 # On Suns, sometimes $CPP names a directory.
13332 if test -n "$CPP" && test -d "$CPP"; then
13333 CPP=
13335 if test -z "$CPP"; then
13336 if test ${ac_cv_prog_CPP+y}
13337 then :
13338 printf %s "(cached) " >&6
13339 else $as_nop
13340 # Double quotes because $CC needs to be expanded
13341 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13343 ac_preproc_ok=false
13344 for ac_c_preproc_warn_flag in '' yes
13346 # Use a header file that comes with gcc, so configuring glibc
13347 # with a fresh cross-compiler works.
13348 # On the NeXT, cc -E runs the code through the compiler's parser,
13349 # not just through cpp. "Syntax error" is here to catch this case.
13350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13351 /* end confdefs.h. */
13352 #include <limits.h>
13353 Syntax error
13354 _ACEOF
13355 if ac_fn_c_try_cpp "$LINENO"
13356 then :
13358 else $as_nop
13359 # Broken: fails on valid input.
13360 continue
13362 rm -f conftest.err conftest.i conftest.$ac_ext
13364 # OK, works on sane cases. Now check whether nonexistent headers
13365 # can be detected and how.
13366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13367 /* end confdefs.h. */
13368 #include <ac_nonexistent.h>
13369 _ACEOF
13370 if ac_fn_c_try_cpp "$LINENO"
13371 then :
13372 # Broken: success on invalid input.
13373 continue
13374 else $as_nop
13375 # Passes both tests.
13376 ac_preproc_ok=:
13377 break
13379 rm -f conftest.err conftest.i conftest.$ac_ext
13381 done
13382 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13383 rm -f conftest.i conftest.err conftest.$ac_ext
13384 if $ac_preproc_ok
13385 then :
13386 break
13389 done
13390 ac_cv_prog_CPP=$CPP
13393 CPP=$ac_cv_prog_CPP
13394 else
13395 ac_cv_prog_CPP=$CPP
13397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13398 printf "%s\n" "$CPP" >&6; }
13399 ac_preproc_ok=false
13400 for ac_c_preproc_warn_flag in '' yes
13402 # Use a header file that comes with gcc, so configuring glibc
13403 # with a fresh cross-compiler works.
13404 # On the NeXT, cc -E runs the code through the compiler's parser,
13405 # not just through cpp. "Syntax error" is here to catch this case.
13406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13407 /* end confdefs.h. */
13408 #include <limits.h>
13409 Syntax error
13410 _ACEOF
13411 if ac_fn_c_try_cpp "$LINENO"
13412 then :
13414 else $as_nop
13415 # Broken: fails on valid input.
13416 continue
13418 rm -f conftest.err conftest.i conftest.$ac_ext
13420 # OK, works on sane cases. Now check whether nonexistent headers
13421 # can be detected and how.
13422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13423 /* end confdefs.h. */
13424 #include <ac_nonexistent.h>
13425 _ACEOF
13426 if ac_fn_c_try_cpp "$LINENO"
13427 then :
13428 # Broken: success on invalid input.
13429 continue
13430 else $as_nop
13431 # Passes both tests.
13432 ac_preproc_ok=:
13433 break
13435 rm -f conftest.err conftest.i conftest.$ac_ext
13437 done
13438 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13439 rm -f conftest.i conftest.err conftest.$ac_ext
13440 if $ac_preproc_ok
13441 then :
13443 else $as_nop
13444 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13445 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13446 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13447 See \`config.log' for more details" "$LINENO" 5; }
13450 ac_ext=c
13451 ac_cpp='$CPP $CPPFLAGS'
13452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13458 printf %s "checking for X... " >&6; }
13461 # Check whether --with-x was given.
13462 if test ${with_x+y}
13463 then :
13464 withval=$with_x;
13467 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13468 if test "x$with_x" = xno; then
13469 # The user explicitly disabled X.
13470 have_x=disabled
13471 else
13472 case $x_includes,$x_libraries in #(
13473 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13474 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13475 then :
13476 printf %s "(cached) " >&6
13477 else $as_nop
13478 # One or both of the vars are not set, and there is no cached value.
13479 ac_x_includes=no
13480 ac_x_libraries=no
13481 # Do we need to do anything special at all?
13482 ac_save_LIBS=$LIBS
13483 LIBS="-lX11 $LIBS"
13484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13485 /* end confdefs.h. */
13486 #include <X11/Xlib.h>
13488 main (void)
13490 XrmInitialize ()
13492 return 0;
13494 _ACEOF
13495 if ac_fn_c_try_link "$LINENO"
13496 then :
13497 # We can compile and link X programs with no special options.
13498 ac_x_includes=
13499 ac_x_libraries=
13501 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13502 conftest$ac_exeext conftest.$ac_ext
13503 LIBS="$ac_save_LIBS"
13504 # If that didn't work, only try xmkmf and file system searches
13505 # for native compilation.
13506 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13507 then :
13508 rm -f -r conftest.dir
13509 if mkdir conftest.dir; then
13510 cd conftest.dir
13511 cat >Imakefile <<'_ACEOF'
13512 incroot:
13513 @echo incroot='${INCROOT}'
13514 usrlibdir:
13515 @echo usrlibdir='${USRLIBDIR}'
13516 libdir:
13517 @echo libdir='${LIBDIR}'
13518 _ACEOF
13519 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13520 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13521 for ac_var in incroot usrlibdir libdir; do
13522 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13523 done
13524 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13525 for ac_extension in a so sl dylib la dll; do
13526 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13527 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13528 ac_im_usrlibdir=$ac_im_libdir; break
13530 done
13531 # Screen out bogus values from the imake configuration. They are
13532 # bogus both because they are the default anyway, and because
13533 # using them would break gcc on systems where it needs fixed includes.
13534 case $ac_im_incroot in
13535 /usr/include) ac_x_includes= ;;
13536 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13537 esac
13538 case $ac_im_usrlibdir in
13539 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13540 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13541 esac
13543 cd ..
13544 rm -f -r conftest.dir
13547 # Standard set of common directories for X headers.
13548 # Check X11 before X11Rn because it is often a symlink to the current release.
13549 ac_x_header_dirs='
13550 /usr/X11/include
13551 /usr/X11R7/include
13552 /usr/X11R6/include
13553 /usr/X11R5/include
13554 /usr/X11R4/include
13556 /usr/include/X11
13557 /usr/include/X11R7
13558 /usr/include/X11R6
13559 /usr/include/X11R5
13560 /usr/include/X11R4
13562 /usr/local/X11/include
13563 /usr/local/X11R7/include
13564 /usr/local/X11R6/include
13565 /usr/local/X11R5/include
13566 /usr/local/X11R4/include
13568 /usr/local/include/X11
13569 /usr/local/include/X11R7
13570 /usr/local/include/X11R6
13571 /usr/local/include/X11R5
13572 /usr/local/include/X11R4
13574 /opt/X11/include
13576 /usr/X386/include
13577 /usr/x386/include
13578 /usr/XFree86/include/X11
13580 /usr/include
13581 /usr/local/include
13582 /usr/unsupported/include
13583 /usr/athena/include
13584 /usr/local/x11r5/include
13585 /usr/lpp/Xamples/include
13587 /usr/openwin/include
13588 /usr/openwin/share/include'
13590 if test "$ac_x_includes" = no; then
13591 # Guess where to find include files, by looking for Xlib.h.
13592 # First, try using that file with no special directory specified.
13593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13594 /* end confdefs.h. */
13595 #include <X11/Xlib.h>
13596 _ACEOF
13597 if ac_fn_c_try_cpp "$LINENO"
13598 then :
13599 # We can compile using X headers with no special include directory.
13600 ac_x_includes=
13601 else $as_nop
13602 for ac_dir in $ac_x_header_dirs; do
13603 if test -r "$ac_dir/X11/Xlib.h"; then
13604 ac_x_includes=$ac_dir
13605 break
13607 done
13609 rm -f conftest.err conftest.i conftest.$ac_ext
13610 fi # $ac_x_includes = no
13612 if test "$ac_x_libraries" = no; then
13613 # Check for the libraries.
13614 # See if we find them without any special options.
13615 # Don't add to $LIBS permanently.
13616 ac_save_LIBS=$LIBS
13617 LIBS="-lX11 $LIBS"
13618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13619 /* end confdefs.h. */
13620 #include <X11/Xlib.h>
13622 main (void)
13624 XrmInitialize ()
13626 return 0;
13628 _ACEOF
13629 if ac_fn_c_try_link "$LINENO"
13630 then :
13631 LIBS=$ac_save_LIBS
13632 # We can link X programs with no special library path.
13633 ac_x_libraries=
13634 else $as_nop
13635 LIBS=$ac_save_LIBS
13636 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13638 # Don't even attempt the hair of trying to link an X program!
13639 for ac_extension in a so sl dylib la dll; do
13640 if test -r "$ac_dir/libX11.$ac_extension"; then
13641 ac_x_libraries=$ac_dir
13642 break 2
13644 done
13645 done
13647 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13648 conftest$ac_exeext conftest.$ac_ext
13649 fi # $ac_x_libraries = no
13652 # Record the results.
13653 case $ac_x_includes,$ac_x_libraries in #(
13654 no,* | *,no | *\'*) :
13655 # Didn't find X, or a directory has "'" in its name.
13656 ac_cv_have_x="have_x=no" ;; #(
13657 *) :
13658 # Record where we found X for the cache.
13659 ac_cv_have_x="have_x=yes\
13660 ac_x_includes='$ac_x_includes'\
13661 ac_x_libraries='$ac_x_libraries'" ;;
13662 esac
13664 ;; #(
13665 *) have_x=yes;;
13666 esac
13667 eval "$ac_cv_have_x"
13668 fi # $with_x != no
13670 if test "$have_x" != yes; then
13671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13672 printf "%s\n" "$have_x" >&6; }
13673 no_x=yes
13674 else
13675 # If each of the values was on the command line, it overrides each guess.
13676 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13677 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13678 # Update the cache value to reflect the command line values.
13679 ac_cv_have_x="have_x=yes\
13680 ac_x_includes='$x_includes'\
13681 ac_x_libraries='$x_libraries'"
13682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13683 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13686 if test "$no_x" = yes; then
13687 # Not all programs may use this symbol, but it does not hurt to define it.
13689 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13691 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13692 else
13693 if test -n "$x_includes"; then
13694 X_CFLAGS="$X_CFLAGS -I$x_includes"
13697 # It would also be nice to do this for all -L options, not just this one.
13698 if test -n "$x_libraries"; then
13699 X_LIBS="$X_LIBS -L$x_libraries"
13700 # For Solaris; some versions of Sun CC require a space after -R and
13701 # others require no space. Words are not sufficient . . . .
13702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13703 printf %s "checking whether -R must be followed by a space... " >&6; }
13704 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13705 ac_xsave_c_werror_flag=$ac_c_werror_flag
13706 ac_c_werror_flag=yes
13707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13708 /* end confdefs.h. */
13711 main (void)
13715 return 0;
13717 _ACEOF
13718 if ac_fn_c_try_link "$LINENO"
13719 then :
13720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13721 printf "%s\n" "no" >&6; }
13722 X_LIBS="$X_LIBS -R$x_libraries"
13723 else $as_nop
13724 LIBS="$ac_xsave_LIBS -R $x_libraries"
13725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13726 /* end confdefs.h. */
13729 main (void)
13733 return 0;
13735 _ACEOF
13736 if ac_fn_c_try_link "$LINENO"
13737 then :
13738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13739 printf "%s\n" "yes" >&6; }
13740 X_LIBS="$X_LIBS -R $x_libraries"
13741 else $as_nop
13742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13743 printf "%s\n" "neither works" >&6; }
13745 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13746 conftest$ac_exeext conftest.$ac_ext
13748 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13749 conftest$ac_exeext conftest.$ac_ext
13750 ac_c_werror_flag=$ac_xsave_c_werror_flag
13751 LIBS=$ac_xsave_LIBS
13754 # Check for system-dependent libraries X programs must link with.
13755 # Do this before checking for the system-independent R6 libraries
13756 # (-lICE), since we may need -lsocket or whatever for X linking.
13758 if test "$ISC" = yes; then
13759 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13760 else
13761 # Martyn Johnson says this is needed for Ultrix, if the X
13762 # libraries were built with DECnet support. And Karl Berry says
13763 # the Alpha needs dnet_stub (dnet does not exist).
13764 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13766 /* end confdefs.h. */
13768 /* Override any GCC internal prototype to avoid an error.
13769 Use char because int might match the return type of a GCC
13770 builtin and then its argument prototype would still apply. */
13771 char XOpenDisplay ();
13773 main (void)
13775 return XOpenDisplay ();
13777 return 0;
13779 _ACEOF
13780 if ac_fn_c_try_link "$LINENO"
13781 then :
13783 else $as_nop
13784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13785 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13786 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13787 then :
13788 printf %s "(cached) " >&6
13789 else $as_nop
13790 ac_check_lib_save_LIBS=$LIBS
13791 LIBS="-ldnet $LIBS"
13792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13793 /* end confdefs.h. */
13795 /* Override any GCC internal prototype to avoid an error.
13796 Use char because int might match the return type of a GCC
13797 builtin and then its argument prototype would still apply. */
13798 char dnet_ntoa ();
13800 main (void)
13802 return dnet_ntoa ();
13804 return 0;
13806 _ACEOF
13807 if ac_fn_c_try_link "$LINENO"
13808 then :
13809 ac_cv_lib_dnet_dnet_ntoa=yes
13810 else $as_nop
13811 ac_cv_lib_dnet_dnet_ntoa=no
13813 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13814 conftest$ac_exeext conftest.$ac_ext
13815 LIBS=$ac_check_lib_save_LIBS
13817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13818 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13819 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13820 then :
13821 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13824 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13826 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13827 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13828 then :
13829 printf %s "(cached) " >&6
13830 else $as_nop
13831 ac_check_lib_save_LIBS=$LIBS
13832 LIBS="-ldnet_stub $LIBS"
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 dnet_ntoa ();
13841 main (void)
13843 return dnet_ntoa ();
13845 return 0;
13847 _ACEOF
13848 if ac_fn_c_try_link "$LINENO"
13849 then :
13850 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13851 else $as_nop
13852 ac_cv_lib_dnet_stub_dnet_ntoa=no
13854 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13855 conftest$ac_exeext conftest.$ac_ext
13856 LIBS=$ac_check_lib_save_LIBS
13858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13859 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13860 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13861 then :
13862 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13867 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13868 conftest$ac_exeext conftest.$ac_ext
13869 LIBS="$ac_xsave_LIBS"
13871 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13872 # to get the SysV transport functions.
13873 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13874 # needs -lnsl.
13875 # The nsl library prevents programs from opening the X display
13876 # on Irix 5.2, according to T.E. Dickey.
13877 # The functions gethostbyname, getservbyname, and inet_addr are
13878 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13879 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13880 if test "x$ac_cv_func_gethostbyname" = xyes
13881 then :
13885 if test $ac_cv_func_gethostbyname = no; then
13886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13887 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13888 if test ${ac_cv_lib_nsl_gethostbyname+y}
13889 then :
13890 printf %s "(cached) " >&6
13891 else $as_nop
13892 ac_check_lib_save_LIBS=$LIBS
13893 LIBS="-lnsl $LIBS"
13894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13895 /* end confdefs.h. */
13897 /* Override any GCC internal prototype to avoid an error.
13898 Use char because int might match the return type of a GCC
13899 builtin and then its argument prototype would still apply. */
13900 char gethostbyname ();
13902 main (void)
13904 return gethostbyname ();
13906 return 0;
13908 _ACEOF
13909 if ac_fn_c_try_link "$LINENO"
13910 then :
13911 ac_cv_lib_nsl_gethostbyname=yes
13912 else $as_nop
13913 ac_cv_lib_nsl_gethostbyname=no
13915 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13916 conftest$ac_exeext conftest.$ac_ext
13917 LIBS=$ac_check_lib_save_LIBS
13919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13920 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13921 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13922 then :
13923 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13926 if test $ac_cv_lib_nsl_gethostbyname = no; then
13927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13928 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13929 if test ${ac_cv_lib_bsd_gethostbyname+y}
13930 then :
13931 printf %s "(cached) " >&6
13932 else $as_nop
13933 ac_check_lib_save_LIBS=$LIBS
13934 LIBS="-lbsd $LIBS"
13935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13936 /* end confdefs.h. */
13938 /* Override any GCC internal prototype to avoid an error.
13939 Use char because int might match the return type of a GCC
13940 builtin and then its argument prototype would still apply. */
13941 char gethostbyname ();
13943 main (void)
13945 return gethostbyname ();
13947 return 0;
13949 _ACEOF
13950 if ac_fn_c_try_link "$LINENO"
13951 then :
13952 ac_cv_lib_bsd_gethostbyname=yes
13953 else $as_nop
13954 ac_cv_lib_bsd_gethostbyname=no
13956 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13957 conftest$ac_exeext conftest.$ac_ext
13958 LIBS=$ac_check_lib_save_LIBS
13960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13961 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13962 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
13963 then :
13964 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
13970 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13971 # socket/setsockopt and other routines are undefined under SCO ODT
13972 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13973 # on later versions), says Simon Leinen: it contains gethostby*
13974 # variants that don't use the name server (or something). -lsocket
13975 # must be given before -lnsl if both are needed. We assume that
13976 # if connect needs -lnsl, so does gethostbyname.
13977 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
13978 if test "x$ac_cv_func_connect" = xyes
13979 then :
13983 if test $ac_cv_func_connect = no; then
13984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13985 printf %s "checking for connect in -lsocket... " >&6; }
13986 if test ${ac_cv_lib_socket_connect+y}
13987 then :
13988 printf %s "(cached) " >&6
13989 else $as_nop
13990 ac_check_lib_save_LIBS=$LIBS
13991 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
13992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13993 /* end confdefs.h. */
13995 /* Override any GCC internal prototype to avoid an error.
13996 Use char because int might match the return type of a GCC
13997 builtin and then its argument prototype would still apply. */
13998 char connect ();
14000 main (void)
14002 return connect ();
14004 return 0;
14006 _ACEOF
14007 if ac_fn_c_try_link "$LINENO"
14008 then :
14009 ac_cv_lib_socket_connect=yes
14010 else $as_nop
14011 ac_cv_lib_socket_connect=no
14013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14014 conftest$ac_exeext conftest.$ac_ext
14015 LIBS=$ac_check_lib_save_LIBS
14017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14018 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14019 if test "x$ac_cv_lib_socket_connect" = xyes
14020 then :
14021 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14026 # Guillermo Gomez says -lposix is necessary on A/UX.
14027 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14028 if test "x$ac_cv_func_remove" = xyes
14029 then :
14033 if test $ac_cv_func_remove = no; then
14034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14035 printf %s "checking for remove in -lposix... " >&6; }
14036 if test ${ac_cv_lib_posix_remove+y}
14037 then :
14038 printf %s "(cached) " >&6
14039 else $as_nop
14040 ac_check_lib_save_LIBS=$LIBS
14041 LIBS="-lposix $LIBS"
14042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14043 /* end confdefs.h. */
14045 /* Override any GCC internal prototype to avoid an error.
14046 Use char because int might match the return type of a GCC
14047 builtin and then its argument prototype would still apply. */
14048 char remove ();
14050 main (void)
14052 return remove ();
14054 return 0;
14056 _ACEOF
14057 if ac_fn_c_try_link "$LINENO"
14058 then :
14059 ac_cv_lib_posix_remove=yes
14060 else $as_nop
14061 ac_cv_lib_posix_remove=no
14063 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14064 conftest$ac_exeext conftest.$ac_ext
14065 LIBS=$ac_check_lib_save_LIBS
14067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14068 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14069 if test "x$ac_cv_lib_posix_remove" = xyes
14070 then :
14071 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14076 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14077 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14078 if test "x$ac_cv_func_shmat" = xyes
14079 then :
14083 if test $ac_cv_func_shmat = no; then
14084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14085 printf %s "checking for shmat in -lipc... " >&6; }
14086 if test ${ac_cv_lib_ipc_shmat+y}
14087 then :
14088 printf %s "(cached) " >&6
14089 else $as_nop
14090 ac_check_lib_save_LIBS=$LIBS
14091 LIBS="-lipc $LIBS"
14092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14093 /* end confdefs.h. */
14095 /* Override any GCC internal prototype to avoid an error.
14096 Use char because int might match the return type of a GCC
14097 builtin and then its argument prototype would still apply. */
14098 char shmat ();
14100 main (void)
14102 return shmat ();
14104 return 0;
14106 _ACEOF
14107 if ac_fn_c_try_link "$LINENO"
14108 then :
14109 ac_cv_lib_ipc_shmat=yes
14110 else $as_nop
14111 ac_cv_lib_ipc_shmat=no
14113 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14114 conftest$ac_exeext conftest.$ac_ext
14115 LIBS=$ac_check_lib_save_LIBS
14117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14118 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14119 if test "x$ac_cv_lib_ipc_shmat" = xyes
14120 then :
14121 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14127 # Check for libraries that X11R6 Xt/Xaw programs need.
14128 ac_save_LDFLAGS=$LDFLAGS
14129 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14130 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14131 # check for ICE first), but we must link in the order -lSM -lICE or
14132 # we get undefined symbols. So assume we have SM if we have ICE.
14133 # These have to be linked with before -lX11, unlike the other
14134 # libraries we check for below, so use a different variable.
14135 # John Interrante, Karl Berry
14136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14137 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14138 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14139 then :
14140 printf %s "(cached) " >&6
14141 else $as_nop
14142 ac_check_lib_save_LIBS=$LIBS
14143 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14145 /* end confdefs.h. */
14147 /* Override any GCC internal prototype to avoid an error.
14148 Use char because int might match the return type of a GCC
14149 builtin and then its argument prototype would still apply. */
14150 char IceConnectionNumber ();
14152 main (void)
14154 return IceConnectionNumber ();
14156 return 0;
14158 _ACEOF
14159 if ac_fn_c_try_link "$LINENO"
14160 then :
14161 ac_cv_lib_ICE_IceConnectionNumber=yes
14162 else $as_nop
14163 ac_cv_lib_ICE_IceConnectionNumber=no
14165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14166 conftest$ac_exeext conftest.$ac_ext
14167 LIBS=$ac_check_lib_save_LIBS
14169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14170 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14171 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14172 then :
14173 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14176 LDFLAGS=$ac_save_LDFLAGS
14181 if test "$have_x" = "yes"
14182 then
14183 ac_save_CPPFLAGS="$CPPFLAGS"
14184 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14187 printf %s "checking for -lX11... " >&6; }
14188 if test ${ac_cv_lib_soname_X11+y}
14189 then :
14190 printf %s "(cached) " >&6
14191 else $as_nop
14192 ac_check_soname_save_LIBS=$LIBS
14193 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14195 /* end confdefs.h. */
14197 /* Override any GCC internal prototype to avoid an error.
14198 Use char because int might match the return type of a GCC
14199 builtin and then its argument prototype would still apply. */
14200 char XCreateWindow ();
14202 main (void)
14204 return XCreateWindow ();
14206 return 0;
14208 _ACEOF
14209 if ac_fn_c_try_link "$LINENO"
14210 then :
14211 case "$LIBEXT" in
14212 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14213 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'` ;;
14214 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14215 if ${ac_cv_lib_soname_X11:+false} :
14216 then :
14217 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14218 fi ;;
14219 esac
14220 else $as_nop
14221 ac_cv_lib_soname_X11=
14223 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14224 conftest$ac_exeext conftest.$ac_ext
14225 LIBS=$ac_check_soname_save_LIBS
14227 if ${ac_cv_lib_soname_X11:+false} :
14228 then :
14229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14230 printf "%s\n" "not found" >&6; }
14232 else $as_nop
14233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14234 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14236 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14241 printf %s "checking for -lXext... " >&6; }
14242 if test ${ac_cv_lib_soname_Xext+y}
14243 then :
14244 printf %s "(cached) " >&6
14245 else $as_nop
14246 ac_check_soname_save_LIBS=$LIBS
14247 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14249 /* end confdefs.h. */
14251 /* Override any GCC internal prototype to avoid an error.
14252 Use char because int might match the return type of a GCC
14253 builtin and then its argument prototype would still apply. */
14254 char XextCreateExtension ();
14256 main (void)
14258 return XextCreateExtension ();
14260 return 0;
14262 _ACEOF
14263 if ac_fn_c_try_link "$LINENO"
14264 then :
14265 case "$LIBEXT" in
14266 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14267 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'` ;;
14268 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14269 if ${ac_cv_lib_soname_Xext:+false} :
14270 then :
14271 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14272 fi ;;
14273 esac
14274 else $as_nop
14275 ac_cv_lib_soname_Xext=
14277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14278 conftest$ac_exeext conftest.$ac_ext
14279 LIBS=$ac_check_soname_save_LIBS
14281 if ${ac_cv_lib_soname_Xext:+false} :
14282 then :
14283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14284 printf "%s\n" "not found" >&6; }
14286 else $as_nop
14287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14288 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14290 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14292 X_LIBS="$X_LIBS -lXext"
14294 X_LIBS="$X_LIBS -lX11"
14296 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14297 # include <X11/Xlib.h>
14298 #endif
14299 #ifdef HAVE_X11_XUTIL_H
14300 # include <X11/Xutil.h>
14301 #endif
14303 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14304 then :
14305 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14308 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14309 # include <X11/Xlib.h>
14310 #endif
14311 #ifdef HAVE_X11_XUTIL_H
14312 # include <X11/Xutil.h>
14313 #endif
14315 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14316 then :
14317 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14320 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14321 # include <X11/Xlib.h>
14322 #endif
14323 #ifdef HAVE_X11_XUTIL_H
14324 # include <X11/Xutil.h>
14325 #endif
14327 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14328 then :
14329 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14332 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14333 # include <X11/Xlib.h>
14334 #endif
14335 #ifdef HAVE_X11_XUTIL_H
14336 # include <X11/Xutil.h>
14337 #endif
14339 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14340 then :
14341 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14344 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14345 # include <X11/Xlib.h>
14346 #endif
14347 #ifdef HAVE_X11_XUTIL_H
14348 # include <X11/Xutil.h>
14349 #endif
14351 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14352 then :
14353 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14356 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14357 # include <X11/Xlib.h>
14358 #endif
14359 #ifdef HAVE_X11_XUTIL_H
14360 # include <X11/Xutil.h>
14361 #endif
14363 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14364 then :
14365 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14368 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14369 # include <X11/Xlib.h>
14370 #endif
14371 #ifdef HAVE_X11_XUTIL_H
14372 # include <X11/Xutil.h>
14373 #endif
14375 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14376 then :
14377 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14380 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14381 # include <X11/Xlib.h>
14382 #endif
14383 #ifdef HAVE_X11_XUTIL_H
14384 # include <X11/Xutil.h>
14385 #endif
14387 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14388 then :
14389 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14392 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14393 # include <X11/Xlib.h>
14394 #endif
14395 #ifdef HAVE_X11_XUTIL_H
14396 # include <X11/Xutil.h>
14397 #endif
14399 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14400 then :
14401 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14404 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14405 # include <X11/Xlib.h>
14406 #endif
14407 #ifdef HAVE_X11_XUTIL_H
14408 # include <X11/Xutil.h>
14409 #endif
14411 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14412 then :
14413 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14416 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14417 # include <X11/Xlib.h>
14418 #endif
14419 #ifdef HAVE_X11_XUTIL_H
14420 # include <X11/Xutil.h>
14421 #endif
14423 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14424 then :
14425 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14428 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14429 # include <X11/Xlib.h>
14430 #endif
14431 #ifdef HAVE_X11_XUTIL_H
14432 # include <X11/Xutil.h>
14433 #endif
14435 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14436 then :
14437 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14440 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14441 # include <X11/Xlib.h>
14442 #endif
14443 #ifdef HAVE_X11_XUTIL_H
14444 # include <X11/Xutil.h>
14445 #endif
14447 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14448 then :
14449 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14452 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14453 # include <X11/Xlib.h>
14454 #endif
14455 #ifdef HAVE_X11_XUTIL_H
14456 # include <X11/Xutil.h>
14457 #endif
14459 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14460 then :
14461 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14464 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14465 # include <X11/Xlib.h>
14466 #endif
14467 #ifdef HAVE_X11_XUTIL_H
14468 # include <X11/Xutil.h>
14469 #endif
14471 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14472 then :
14473 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14478 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14479 then
14480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14481 printf %s "checking for -lXcursor... " >&6; }
14482 if test ${ac_cv_lib_soname_Xcursor+y}
14483 then :
14484 printf %s "(cached) " >&6
14485 else $as_nop
14486 ac_check_soname_save_LIBS=$LIBS
14487 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14489 /* end confdefs.h. */
14491 /* Override any GCC internal prototype to avoid an error.
14492 Use char because int might match the return type of a GCC
14493 builtin and then its argument prototype would still apply. */
14494 char XcursorImageLoadCursor ();
14496 main (void)
14498 return XcursorImageLoadCursor ();
14500 return 0;
14502 _ACEOF
14503 if ac_fn_c_try_link "$LINENO"
14504 then :
14505 case "$LIBEXT" in
14506 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14507 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'` ;;
14508 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14509 if ${ac_cv_lib_soname_Xcursor:+false} :
14510 then :
14511 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14512 fi ;;
14513 esac
14514 else $as_nop
14515 ac_cv_lib_soname_Xcursor=
14517 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14518 conftest$ac_exeext conftest.$ac_ext
14519 LIBS=$ac_check_soname_save_LIBS
14521 if ${ac_cv_lib_soname_Xcursor:+false} :
14522 then :
14523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14524 printf "%s\n" "not found" >&6; }
14526 else $as_nop
14527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14528 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14530 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14535 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14536 then :
14537 case "x$with_xcursor" in
14538 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14539 xno) ;;
14540 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14541 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14542 esac
14546 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14547 then
14548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14549 printf %s "checking for -lXi... " >&6; }
14550 if test ${ac_cv_lib_soname_Xi+y}
14551 then :
14552 printf %s "(cached) " >&6
14553 else $as_nop
14554 ac_check_soname_save_LIBS=$LIBS
14555 LIBS="-lXi $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 XOpenDevice ();
14564 main (void)
14566 return XOpenDevice ();
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_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14575 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'` ;;
14576 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14577 if ${ac_cv_lib_soname_Xi:+false} :
14578 then :
14579 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14580 fi ;;
14581 esac
14582 else $as_nop
14583 ac_cv_lib_soname_Xi=
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_Xi:+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_Xi" >&5
14596 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14598 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14603 if test "x$ac_cv_lib_soname_Xi" = "x"
14604 then :
14605 case "x$with_xinput" in
14606 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14607 xno) ;;
14608 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14609 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14610 esac
14614 if test "x$ac_cv_lib_soname_Xi" != x
14615 then
14616 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14617 then :
14618 case "x$with_xinput2" in
14619 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14620 xno) ;;
14621 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14622 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14623 esac
14628 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14629 then
14630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14631 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14632 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14633 then :
14634 printf %s "(cached) " >&6
14635 else $as_nop
14636 ac_check_lib_save_LIBS=$LIBS
14637 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14639 /* end confdefs.h. */
14641 /* Override any GCC internal prototype to avoid an error.
14642 Use char because int might match the return type of a GCC
14643 builtin and then its argument prototype would still apply. */
14644 char XShmQueryExtension ();
14646 main (void)
14648 return XShmQueryExtension ();
14650 return 0;
14652 _ACEOF
14653 if ac_fn_c_try_link "$LINENO"
14654 then :
14655 ac_cv_lib_Xext_XShmQueryExtension=yes
14656 else $as_nop
14657 ac_cv_lib_Xext_XShmQueryExtension=no
14659 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14660 conftest$ac_exeext conftest.$ac_ext
14661 LIBS=$ac_check_lib_save_LIBS
14663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14664 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14665 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14666 then :
14668 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14673 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14674 then :
14675 case "x$with_xshm" in
14676 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14677 xno) ;;
14678 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14679 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14680 esac
14684 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14685 then
14686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14687 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14688 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14689 then :
14690 printf %s "(cached) " >&6
14691 else $as_nop
14692 ac_check_lib_save_LIBS=$LIBS
14693 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14695 /* end confdefs.h. */
14697 /* Override any GCC internal prototype to avoid an error.
14698 Use char because int might match the return type of a GCC
14699 builtin and then its argument prototype would still apply. */
14700 char XShapeQueryExtension ();
14702 main (void)
14704 return XShapeQueryExtension ();
14706 return 0;
14708 _ACEOF
14709 if ac_fn_c_try_link "$LINENO"
14710 then :
14711 ac_cv_lib_Xext_XShapeQueryExtension=yes
14712 else $as_nop
14713 ac_cv_lib_Xext_XShapeQueryExtension=no
14715 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14716 conftest$ac_exeext conftest.$ac_ext
14717 LIBS=$ac_check_lib_save_LIBS
14719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14720 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14721 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14722 then :
14724 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14729 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14730 then :
14731 case "x$with_xshape" in
14732 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14733 xno) ;;
14734 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14735 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14736 esac
14740 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14741 then
14742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14743 printf %s "checking for -lXxf86vm... " >&6; }
14744 if test ${ac_cv_lib_soname_Xxf86vm+y}
14745 then :
14746 printf %s "(cached) " >&6
14747 else $as_nop
14748 ac_check_soname_save_LIBS=$LIBS
14749 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14751 /* end confdefs.h. */
14753 /* Override any GCC internal prototype to avoid an error.
14754 Use char because int might match the return type of a GCC
14755 builtin and then its argument prototype would still apply. */
14756 char XF86VidModeQueryExtension ();
14758 main (void)
14760 return XF86VidModeQueryExtension ();
14762 return 0;
14764 _ACEOF
14765 if ac_fn_c_try_link "$LINENO"
14766 then :
14767 case "$LIBEXT" in
14768 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14769 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'` ;;
14770 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14771 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14772 then :
14773 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14774 fi ;;
14775 esac
14776 else $as_nop
14777 ac_cv_lib_soname_Xxf86vm=
14779 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14780 conftest$ac_exeext conftest.$ac_ext
14781 LIBS=$ac_check_soname_save_LIBS
14783 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14784 then :
14785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14786 printf "%s\n" "not found" >&6; }
14788 else $as_nop
14789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14790 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14792 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14797 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14798 then :
14799 case "x$with_xxf86vm" in
14800 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14801 xno) ;;
14802 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14803 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14804 esac
14808 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14809 then
14810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14811 printf %s "checking for -lXrender... " >&6; }
14812 if test ${ac_cv_lib_soname_Xrender+y}
14813 then :
14814 printf %s "(cached) " >&6
14815 else $as_nop
14816 ac_check_soname_save_LIBS=$LIBS
14817 LIBS="-lXrender $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 XRenderQueryExtension ();
14826 main (void)
14828 return XRenderQueryExtension ();
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_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14837 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'` ;;
14838 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14839 if ${ac_cv_lib_soname_Xrender:+false} :
14840 then :
14841 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14842 fi ;;
14843 esac
14844 else $as_nop
14845 ac_cv_lib_soname_Xrender=
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_Xrender:+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_Xrender" >&5
14858 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14860 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14863 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14864 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14865 then :
14866 printf %s "(cached) " >&6
14867 else $as_nop
14868 ac_check_lib_save_LIBS=$LIBS
14869 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14871 /* end confdefs.h. */
14873 /* Override any GCC internal prototype to avoid an error.
14874 Use char because int might match the return type of a GCC
14875 builtin and then its argument prototype would still apply. */
14876 char XRenderSetPictureTransform ();
14878 main (void)
14880 return XRenderSetPictureTransform ();
14882 return 0;
14884 _ACEOF
14885 if ac_fn_c_try_link "$LINENO"
14886 then :
14887 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14888 else $as_nop
14889 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14891 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14892 conftest$ac_exeext conftest.$ac_ext
14893 LIBS=$ac_check_lib_save_LIBS
14895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14896 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14897 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14898 then :
14900 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14905 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14906 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14907 then :
14908 printf %s "(cached) " >&6
14909 else $as_nop
14910 ac_check_lib_save_LIBS=$LIBS
14911 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14913 /* end confdefs.h. */
14915 /* Override any GCC internal prototype to avoid an error.
14916 Use char because int might match the return type of a GCC
14917 builtin and then its argument prototype would still apply. */
14918 char XRenderCreateLinearGradient ();
14920 main (void)
14922 return XRenderCreateLinearGradient ();
14924 return 0;
14926 _ACEOF
14927 if ac_fn_c_try_link "$LINENO"
14928 then :
14929 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
14930 else $as_nop
14931 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
14933 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14934 conftest$ac_exeext conftest.$ac_ext
14935 LIBS=$ac_check_lib_save_LIBS
14937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14938 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14939 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14940 then :
14942 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14949 if test "x$ac_cv_lib_soname_Xrender" = "x"
14950 then :
14951 case "x$with_xrender" in
14952 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14953 xno) ;;
14954 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
14955 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14956 esac
14960 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14961 then
14962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14963 /* end confdefs.h. */
14964 #include <X11/Xlib.h>
14965 #include <X11/extensions/Xrandr.h>
14967 main (void)
14969 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
14971 return 0;
14973 _ACEOF
14974 if ac_fn_c_try_compile "$LINENO"
14975 then :
14976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
14977 printf %s "checking for -lXrandr... " >&6; }
14978 if test ${ac_cv_lib_soname_Xrandr+y}
14979 then :
14980 printf %s "(cached) " >&6
14981 else $as_nop
14982 ac_check_soname_save_LIBS=$LIBS
14983 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
14984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14985 /* end confdefs.h. */
14987 /* Override any GCC internal prototype to avoid an error.
14988 Use char because int might match the return type of a GCC
14989 builtin and then its argument prototype would still apply. */
14990 char XRRQueryExtension ();
14992 main (void)
14994 return XRRQueryExtension ();
14996 return 0;
14998 _ACEOF
14999 if ac_fn_c_try_link "$LINENO"
15000 then :
15001 case "$LIBEXT" in
15002 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15003 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'` ;;
15004 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15005 if ${ac_cv_lib_soname_Xrandr:+false} :
15006 then :
15007 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15008 fi ;;
15009 esac
15010 else $as_nop
15011 ac_cv_lib_soname_Xrandr=
15013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15014 conftest$ac_exeext conftest.$ac_ext
15015 LIBS=$ac_check_soname_save_LIBS
15017 if ${ac_cv_lib_soname_Xrandr:+false} :
15018 then :
15019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15020 printf "%s\n" "not found" >&6; }
15022 else $as_nop
15023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15024 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15026 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15029 /* end confdefs.h. */
15030 #include <X11/Xlib.h>
15031 #include <X11/extensions/Xrandr.h>
15033 main (void)
15035 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15037 return 0;
15039 _ACEOF
15040 if ac_fn_c_try_compile "$LINENO"
15041 then :
15043 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15045 else $as_nop
15046 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15048 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15051 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15053 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15054 then :
15055 case "x$with_xrandr" in
15056 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15057 xno) ;;
15058 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15059 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15060 esac
15064 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15065 then
15066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15067 /* end confdefs.h. */
15068 #include <X11/Xlib.h>
15069 #include <X11/extensions/Xfixes.h>
15071 main (void)
15073 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15075 return 0;
15077 _ACEOF
15078 if ac_fn_c_try_compile "$LINENO"
15079 then :
15080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15081 printf %s "checking for -lXfixes... " >&6; }
15082 if test ${ac_cv_lib_soname_Xfixes+y}
15083 then :
15084 printf %s "(cached) " >&6
15085 else $as_nop
15086 ac_check_soname_save_LIBS=$LIBS
15087 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15089 /* end confdefs.h. */
15091 /* Override any GCC internal prototype to avoid an error.
15092 Use char because int might match the return type of a GCC
15093 builtin and then its argument prototype would still apply. */
15094 char XFixesQueryVersion ();
15096 main (void)
15098 return XFixesQueryVersion ();
15100 return 0;
15102 _ACEOF
15103 if ac_fn_c_try_link "$LINENO"
15104 then :
15105 case "$LIBEXT" in
15106 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15107 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'` ;;
15108 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15109 if ${ac_cv_lib_soname_Xfixes:+false} :
15110 then :
15111 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15112 fi ;;
15113 esac
15114 else $as_nop
15115 ac_cv_lib_soname_Xfixes=
15117 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15118 conftest$ac_exeext conftest.$ac_ext
15119 LIBS=$ac_check_soname_save_LIBS
15121 if ${ac_cv_lib_soname_Xfixes:+false} :
15122 then :
15123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15124 printf "%s\n" "not found" >&6; }
15126 else $as_nop
15127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15128 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15130 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15135 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15137 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15138 then :
15139 case "x$with_xfixes" in
15140 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15141 xno) ;;
15142 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15143 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15144 esac
15148 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15149 then
15150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15151 /* end confdefs.h. */
15152 #include <X11/Xlib.h>
15153 #include <X11/extensions/Xinerama.h>
15155 main (void)
15157 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15159 return 0;
15161 _ACEOF
15162 if ac_fn_c_try_compile "$LINENO"
15163 then :
15164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15165 printf %s "checking for -lXinerama... " >&6; }
15166 if test ${ac_cv_lib_soname_Xinerama+y}
15167 then :
15168 printf %s "(cached) " >&6
15169 else $as_nop
15170 ac_check_soname_save_LIBS=$LIBS
15171 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15173 /* end confdefs.h. */
15175 /* Override any GCC internal prototype to avoid an error.
15176 Use char because int might match the return type of a GCC
15177 builtin and then its argument prototype would still apply. */
15178 char XineramaQueryScreens ();
15180 main (void)
15182 return XineramaQueryScreens ();
15184 return 0;
15186 _ACEOF
15187 if ac_fn_c_try_link "$LINENO"
15188 then :
15189 case "$LIBEXT" in
15190 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15191 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'` ;;
15192 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15193 if ${ac_cv_lib_soname_Xinerama:+false} :
15194 then :
15195 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15196 fi ;;
15197 esac
15198 else $as_nop
15199 ac_cv_lib_soname_Xinerama=
15201 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15202 conftest$ac_exeext conftest.$ac_ext
15203 LIBS=$ac_check_soname_save_LIBS
15205 if ${ac_cv_lib_soname_Xinerama:+false} :
15206 then :
15207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15208 printf "%s\n" "not found" >&6; }
15210 else $as_nop
15211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15212 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15214 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15219 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15221 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15222 then :
15223 case "x$with_xinerama" in
15224 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15225 xno) ;;
15226 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15227 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15228 esac
15232 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15233 then
15234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15235 printf %s "checking for -lXcomposite... " >&6; }
15236 if test ${ac_cv_lib_soname_Xcomposite+y}
15237 then :
15238 printf %s "(cached) " >&6
15239 else $as_nop
15240 ac_check_soname_save_LIBS=$LIBS
15241 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15243 /* end confdefs.h. */
15245 /* Override any GCC internal prototype to avoid an error.
15246 Use char because int might match the return type of a GCC
15247 builtin and then its argument prototype would still apply. */
15248 char XCompositeRedirectWindow ();
15250 main (void)
15252 return XCompositeRedirectWindow ();
15254 return 0;
15256 _ACEOF
15257 if ac_fn_c_try_link "$LINENO"
15258 then :
15259 case "$LIBEXT" in
15260 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15261 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'` ;;
15262 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15263 if ${ac_cv_lib_soname_Xcomposite:+false} :
15264 then :
15265 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15266 fi ;;
15267 esac
15268 else $as_nop
15269 ac_cv_lib_soname_Xcomposite=
15271 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15272 conftest$ac_exeext conftest.$ac_ext
15273 LIBS=$ac_check_soname_save_LIBS
15275 if ${ac_cv_lib_soname_Xcomposite:+false} :
15276 then :
15277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15278 printf "%s\n" "not found" >&6; }
15280 else $as_nop
15281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15282 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15284 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15289 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15290 then :
15291 case "x$with_xcomposite" in
15292 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15293 xno) ;;
15294 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15295 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15296 esac
15300 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15301 #include <X11/Xlib.h>
15302 #endif
15304 if test "x$ac_cv_member_XICCallback_callback" = xyes
15305 then :
15307 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15311 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15312 #include <X11/Xlib.h>
15313 #endif
15315 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15316 then :
15318 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15325 opengl_msg=""
15326 if test "x$with_opengl" != "xno"
15327 then
15328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15329 printf %s "checking for -lGL... " >&6; }
15330 if test ${ac_cv_lib_soname_GL+y}
15331 then :
15332 printf %s "(cached) " >&6
15333 else $as_nop
15334 ac_check_soname_save_LIBS=$LIBS
15335 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15337 /* end confdefs.h. */
15339 /* Override any GCC internal prototype to avoid an error.
15340 Use char because int might match the return type of a GCC
15341 builtin and then its argument prototype would still apply. */
15342 char glXCreateContext ();
15344 main (void)
15346 return glXCreateContext ();
15348 return 0;
15350 _ACEOF
15351 if ac_fn_c_try_link "$LINENO"
15352 then :
15353 case "$LIBEXT" in
15354 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15355 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'` ;;
15356 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15357 if ${ac_cv_lib_soname_GL:+false} :
15358 then :
15359 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15360 fi ;;
15361 esac
15362 else $as_nop
15363 ac_cv_lib_soname_GL=
15365 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15366 conftest$ac_exeext conftest.$ac_ext
15367 LIBS=$ac_check_soname_save_LIBS
15369 if ${ac_cv_lib_soname_GL:+false} :
15370 then :
15371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15372 printf "%s\n" "not found" >&6; }
15373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15374 printf %s "checking for -lGL... " >&6; }
15375 if test ${ac_cv_lib_soname_GL+y}
15376 then :
15377 printf %s "(cached) " >&6
15378 else $as_nop
15379 ac_check_soname_save_LIBS=$LIBS
15380 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"
15381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15382 /* end confdefs.h. */
15384 /* Override any GCC internal prototype to avoid an error.
15385 Use char because int might match the return type of a GCC
15386 builtin and then its argument prototype would still apply. */
15387 char glXCreateContext ();
15389 main (void)
15391 return glXCreateContext ();
15393 return 0;
15395 _ACEOF
15396 if ac_fn_c_try_link "$LINENO"
15397 then :
15398 case "$LIBEXT" in
15399 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15400 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'` ;;
15401 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15402 if ${ac_cv_lib_soname_GL:+false} :
15403 then :
15404 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15405 fi ;;
15406 esac
15407 else $as_nop
15408 ac_cv_lib_soname_GL=
15410 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15411 conftest$ac_exeext conftest.$ac_ext
15412 LIBS=$ac_check_soname_save_LIBS
15414 if ${ac_cv_lib_soname_GL:+false} :
15415 then :
15416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15417 printf "%s\n" "not found" >&6; }
15418 if test -f /usr/X11R6/lib/libGL.a
15419 then
15420 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15421 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15422 else
15423 opengl_msg="No OpenGL library found on this system."
15425 else $as_nop
15426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15427 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15429 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15431 OPENGL_LIBS="-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"
15433 else $as_nop
15434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15435 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15437 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15439 OPENGL_LIBS="-lGL"
15441 if test "x$with_osmesa" != "xno"
15442 then
15443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15444 printf %s "checking for -lOSMesa... " >&6; }
15445 if test ${ac_cv_lib_soname_OSMesa+y}
15446 then :
15447 printf %s "(cached) " >&6
15448 else $as_nop
15449 ac_check_soname_save_LIBS=$LIBS
15450 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15452 /* end confdefs.h. */
15454 /* Override any GCC internal prototype to avoid an error.
15455 Use char because int might match the return type of a GCC
15456 builtin and then its argument prototype would still apply. */
15457 char OSMesaGetProcAddress ();
15459 main (void)
15461 return OSMesaGetProcAddress ();
15463 return 0;
15465 _ACEOF
15466 if ac_fn_c_try_link "$LINENO"
15467 then :
15468 case "$LIBEXT" in
15469 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15470 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'` ;;
15471 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15472 if ${ac_cv_lib_soname_OSMesa:+false} :
15473 then :
15474 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15475 fi ;;
15476 esac
15477 else $as_nop
15478 ac_cv_lib_soname_OSMesa=
15480 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15481 conftest$ac_exeext conftest.$ac_ext
15482 LIBS=$ac_check_soname_save_LIBS
15484 if ${ac_cv_lib_soname_OSMesa:+false} :
15485 then :
15486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15487 printf "%s\n" "not found" >&6; }
15489 else $as_nop
15490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15491 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15493 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15497 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15498 then :
15499 case "x$with_osmesa" in
15500 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15501 xno) ;;
15502 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15503 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15504 esac
15509 if test -n "$opengl_msg"
15510 then :
15511 case "x$with_opengl" in
15512 x) as_fn_append wine_warnings "|$opengl_msg
15513 OpenGL and Direct3D won't be supported." ;;
15514 xno) ;;
15515 *) as_fn_error $? "$opengl_msg
15516 OpenGL and Direct3D won't be supported.
15517 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15518 esac
15522 CPPFLAGS="$ac_save_CPPFLAGS"
15523 else
15524 X_CFLAGS=""
15525 X_LIBS=""
15528 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15529 then
15530 if test "x$X_LIBS" = "x"
15531 then :
15532 case "x$with_x" in
15533 xno) ;;
15534 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15535 without X support, which probably isn't what you want. You will need
15536 to install ${notice_platform}development packages of Xlib at the very least.
15537 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15538 esac
15539 enable_winex11_drv=${enable_winex11_drv:-no}
15541 else
15542 if test "x$X_LIBS" = "x"
15543 then :
15544 case "x$with_x" in
15545 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15546 xno) ;;
15547 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15548 This is an error since --with-x was requested." "$LINENO" 5 ;;
15549 esac
15550 enable_winex11_drv=${enable_winex11_drv:-no}
15554 if test "x$with_wayland" != "xno"
15555 then
15556 rm -f conftest.err
15557 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15558 then :
15559 if test ${PKG_CONFIG+y}
15560 then :
15561 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15565 if ${WAYLAND_CLIENT_LIBS:+false} :
15566 then :
15567 if test ${PKG_CONFIG+y}
15568 then :
15569 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15574 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15575 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15576 if test -s conftest.err; then
15577 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15578 cat conftest.err >&5
15580 rm -f conftest.err
15581 ac_save_CPPFLAGS=$CPPFLAGS
15582 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15583 for ac_header in wayland-client.h
15584 do :
15585 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15586 if test "x$ac_cv_header_wayland_client_h" = xyes
15587 then :
15588 printf "%s\n" "#define HAVE_WAYLAND_CLIENT_H 1" >>confdefs.h
15589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15590 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
15591 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15592 then :
15593 printf %s "(cached) " >&6
15594 else $as_nop
15595 ac_check_lib_save_LIBS=$LIBS
15596 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15598 /* end confdefs.h. */
15600 /* Override any GCC internal prototype to avoid an error.
15601 Use char because int might match the return type of a GCC
15602 builtin and then its argument prototype would still apply. */
15603 char wl_display_connect ();
15605 main (void)
15607 return wl_display_connect ();
15609 return 0;
15611 _ACEOF
15612 if ac_fn_c_try_link "$LINENO"
15613 then :
15614 ac_cv_lib_wayland_client_wl_display_connect=yes
15615 else $as_nop
15616 ac_cv_lib_wayland_client_wl_display_connect=no
15618 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15619 conftest$ac_exeext conftest.$ac_ext
15620 LIBS=$ac_check_lib_save_LIBS
15622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15623 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15624 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15625 then :
15626 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15627 set dummy wayland-scanner; ac_word=$2
15628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15629 printf %s "checking for $ac_word... " >&6; }
15630 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15631 then :
15632 printf %s "(cached) " >&6
15633 else $as_nop
15634 case $WAYLAND_SCANNER in
15635 [\\/]* | ?:[\\/]*)
15636 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
15639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15640 for as_dir in $PATH
15642 IFS=$as_save_IFS
15643 case $as_dir in #(((
15644 '') as_dir=./ ;;
15645 */) ;;
15646 *) as_dir=$as_dir/ ;;
15647 esac
15648 for ac_exec_ext in '' $ac_executable_extensions; do
15649 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15650 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
15651 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15652 break 2
15654 done
15655 done
15656 IFS=$as_save_IFS
15658 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`"
15660 esac
15662 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
15663 if test -n "$WAYLAND_SCANNER"; then
15664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15665 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15666 else
15667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15668 printf "%s\n" "no" >&6; }
15672 else $as_nop
15673 WAYLAND_CLIENT_LIBS=""
15678 done
15679 CPPFLAGS=$ac_save_CPPFLAGS
15682 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
15683 then :
15684 case "x$with_wayland" in
15685 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15686 xno) ;;
15687 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15688 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15689 esac
15690 enable_winewayland_drv=${enable_winewayland_drv:-no}
15693 if test "$ac_cv_header_CL_cl_h" = "yes"
15694 then
15695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15696 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15697 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15698 then :
15699 printf %s "(cached) " >&6
15700 else $as_nop
15701 ac_check_lib_save_LIBS=$LIBS
15702 LIBS="-lOpenCL $LIBS"
15703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15704 /* end confdefs.h. */
15706 /* Override any GCC internal prototype to avoid an error.
15707 Use char because int might match the return type of a GCC
15708 builtin and then its argument prototype would still apply. */
15709 char clGetPlatformInfo ();
15711 main (void)
15713 return clGetPlatformInfo ();
15715 return 0;
15717 _ACEOF
15718 if ac_fn_c_try_link "$LINENO"
15719 then :
15720 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15721 else $as_nop
15722 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15724 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15725 conftest$ac_exeext conftest.$ac_ext
15726 LIBS=$ac_check_lib_save_LIBS
15728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15729 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15730 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15731 then :
15732 OPENCL_LIBS="-lOpenCL"
15737 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15738 then :
15739 case "x$with_opencl" in
15740 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15741 xno) ;;
15742 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15743 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15744 esac
15745 enable_opencl=${enable_opencl:-no}
15748 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15749 then
15750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15751 printf %s "checking for pcap_init in -lpcap... " >&6; }
15752 if test ${ac_cv_lib_pcap_pcap_init+y}
15753 then :
15754 printf %s "(cached) " >&6
15755 else $as_nop
15756 ac_check_lib_save_LIBS=$LIBS
15757 LIBS="-lpcap $LIBS"
15758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15759 /* end confdefs.h. */
15761 /* Override any GCC internal prototype to avoid an error.
15762 Use char because int might match the return type of a GCC
15763 builtin and then its argument prototype would still apply. */
15764 char pcap_init ();
15766 main (void)
15768 return pcap_init ();
15770 return 0;
15772 _ACEOF
15773 if ac_fn_c_try_link "$LINENO"
15774 then :
15775 ac_cv_lib_pcap_pcap_init=yes
15776 else $as_nop
15777 ac_cv_lib_pcap_pcap_init=no
15779 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15780 conftest$ac_exeext conftest.$ac_ext
15781 LIBS=$ac_check_lib_save_LIBS
15783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15784 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15785 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15786 then :
15787 PCAP_LIBS="-lpcap"
15792 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15793 then :
15794 case "x$with_pcap" in
15795 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15796 xno) ;;
15797 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15798 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15799 esac
15800 enable_wpcap=${enable_wpcap:-no}
15803 if test "x$with_pcsclite" != "xno"
15804 then
15805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15806 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
15807 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15808 then :
15809 printf %s "(cached) " >&6
15810 else $as_nop
15811 ac_check_lib_save_LIBS=$LIBS
15812 LIBS="-lpcsclite $LIBS"
15813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15814 /* end confdefs.h. */
15816 /* Override any GCC internal prototype to avoid an error.
15817 Use char because int might match the return type of a GCC
15818 builtin and then its argument prototype would still apply. */
15819 char SCardEstablishContext ();
15821 main (void)
15823 return SCardEstablishContext ();
15825 return 0;
15827 _ACEOF
15828 if ac_fn_c_try_link "$LINENO"
15829 then :
15830 ac_cv_lib_pcsclite_SCardEstablishContext=yes
15831 else $as_nop
15832 ac_cv_lib_pcsclite_SCardEstablishContext=no
15834 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15835 conftest$ac_exeext conftest.$ac_ext
15836 LIBS=$ac_check_lib_save_LIBS
15838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15839 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15840 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15841 then :
15842 PCSCLITE_LIBS="-lpcsclite"
15847 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15848 then :
15849 case "x$with_pcsclite" in
15850 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
15851 xno) ;;
15852 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
15853 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15854 esac
15855 enable_winscard=${enable_winscard:-no}
15858 if test "x$with_inotify" != "xno"
15859 then
15860 rm -f conftest.err
15861 if ${INOTIFY_CFLAGS:+false} :
15862 then :
15863 if test ${PKG_CONFIG+y}
15864 then :
15865 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15869 if ${INOTIFY_LIBS:+false} :
15870 then :
15871 if test ${PKG_CONFIG+y}
15872 then :
15873 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15878 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15879 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15880 if test -s conftest.err; then
15881 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15882 cat conftest.err >&5
15884 rm -f conftest.err
15885 ac_save_CPPFLAGS=$CPPFLAGS
15886 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15887 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15888 if test "x$ac_cv_header_sys_inotify_h" = xyes
15889 then :
15890 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15895 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15896 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15897 then :
15898 printf %s "(cached) " >&6
15899 else $as_nop
15900 ac_check_lib_save_LIBS=$LIBS
15901 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15903 /* end confdefs.h. */
15905 /* Override any GCC internal prototype to avoid an error.
15906 Use char because int might match the return type of a GCC
15907 builtin and then its argument prototype would still apply. */
15908 char inotify_add_watch ();
15910 main (void)
15912 return inotify_add_watch ();
15914 return 0;
15916 _ACEOF
15917 if ac_fn_c_try_link "$LINENO"
15918 then :
15919 ac_cv_lib_inotify_inotify_add_watch=yes
15920 else $as_nop
15921 ac_cv_lib_inotify_inotify_add_watch=no
15923 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15924 conftest$ac_exeext conftest.$ac_ext
15925 LIBS=$ac_check_lib_save_LIBS
15927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15928 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15929 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15930 then :
15932 else $as_nop
15933 INOTIFY_LIBS=""
15936 CPPFLAGS=$ac_save_CPPFLAGS
15939 if test "$ac_cv_header_sys_inotify_h" != "yes"
15940 then :
15941 case "x$with_inotify" in
15942 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15943 xno) ;;
15944 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15945 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15946 esac
15950 if test "x$with_dbus" != "xno"
15951 then
15952 rm -f conftest.err
15953 if ${DBUS_CFLAGS:+false} :
15954 then :
15955 if test ${PKG_CONFIG+y}
15956 then :
15957 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15961 if ${DBUS_LIBS:+false} :
15962 then :
15963 if test ${PKG_CONFIG+y}
15964 then :
15965 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15970 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15971 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15972 if test -s conftest.err; then
15973 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15974 cat conftest.err >&5
15976 rm -f conftest.err
15977 ac_save_CPPFLAGS=$CPPFLAGS
15978 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15979 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15980 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15981 then :
15982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15983 printf %s "checking for -ldbus-1... " >&6; }
15984 if test ${ac_cv_lib_soname_dbus_1+y}
15985 then :
15986 printf %s "(cached) " >&6
15987 else $as_nop
15988 ac_check_soname_save_LIBS=$LIBS
15989 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15991 /* end confdefs.h. */
15993 /* Override any GCC internal prototype to avoid an error.
15994 Use char because int might match the return type of a GCC
15995 builtin and then its argument prototype would still apply. */
15996 char dbus_connection_close ();
15998 main (void)
16000 return dbus_connection_close ();
16002 return 0;
16004 _ACEOF
16005 if ac_fn_c_try_link "$LINENO"
16006 then :
16007 case "$LIBEXT" in
16008 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16009 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'` ;;
16010 *) 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'`
16011 if ${ac_cv_lib_soname_dbus_1:+false} :
16012 then :
16013 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16014 fi ;;
16015 esac
16016 else $as_nop
16017 ac_cv_lib_soname_dbus_1=
16019 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16020 conftest$ac_exeext conftest.$ac_ext
16021 LIBS=$ac_check_soname_save_LIBS
16023 if ${ac_cv_lib_soname_dbus_1:+false} :
16024 then :
16025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16026 printf "%s\n" "not found" >&6; }
16027 DBUS_CFLAGS=""
16028 else $as_nop
16029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16030 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16032 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16036 else $as_nop
16037 DBUS_CFLAGS=""
16040 CPPFLAGS=$ac_save_CPPFLAGS
16043 case $host_os in
16044 darwin*|macosx*) ;;
16045 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16046 then :
16047 case "x$with_dbus" in
16048 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16049 xno) ;;
16050 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16051 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16052 esac
16054 fi ;;
16055 esac
16057 if test "x$with_gnutls" != "xno"
16058 then
16059 rm -f conftest.err
16060 if ${GNUTLS_CFLAGS:+false} :
16061 then :
16062 if test ${PKG_CONFIG+y}
16063 then :
16064 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16068 if ${GNUTLS_LIBS:+false} :
16069 then :
16070 if test ${PKG_CONFIG+y}
16071 then :
16072 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16076 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16077 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16078 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16079 if test -s conftest.err; then
16080 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16081 cat conftest.err >&5
16083 rm -f conftest.err
16084 ac_save_CPPFLAGS=$CPPFLAGS
16085 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16086 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16087 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16088 then :
16089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16090 /* end confdefs.h. */
16091 #include <gnutls/gnutls.h>
16092 #include <gnutls/crypto.h>
16094 main (void)
16096 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16098 return 0;
16100 _ACEOF
16101 if ac_fn_c_try_compile "$LINENO"
16102 then :
16103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16104 printf %s "checking for -lgnutls... " >&6; }
16105 if test ${ac_cv_lib_soname_gnutls+y}
16106 then :
16107 printf %s "(cached) " >&6
16108 else $as_nop
16109 ac_check_soname_save_LIBS=$LIBS
16110 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16112 /* end confdefs.h. */
16114 /* Override any GCC internal prototype to avoid an error.
16115 Use char because int might match the return type of a GCC
16116 builtin and then its argument prototype would still apply. */
16117 char gnutls_global_init ();
16119 main (void)
16121 return gnutls_global_init ();
16123 return 0;
16125 _ACEOF
16126 if ac_fn_c_try_link "$LINENO"
16127 then :
16128 case "$LIBEXT" in
16129 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16130 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'` ;;
16131 *) 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'`
16132 if ${ac_cv_lib_soname_gnutls:+false} :
16133 then :
16134 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'`
16135 fi ;;
16136 esac
16137 else $as_nop
16138 ac_cv_lib_soname_gnutls=
16140 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16141 conftest$ac_exeext conftest.$ac_ext
16142 LIBS=$ac_check_soname_save_LIBS
16144 if ${ac_cv_lib_soname_gnutls:+false} :
16145 then :
16146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16147 printf "%s\n" "not found" >&6; }
16148 GNUTLS_CFLAGS=""
16149 else $as_nop
16150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16151 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16153 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16157 ac_wine_check_funcs_save_LIBS="$LIBS"
16158 LIBS="$LIBS $GNUTLS_LIBS"
16160 for ac_func in gnutls_cipher_init
16161 do :
16162 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16163 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16164 then :
16165 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16167 else $as_nop
16168 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16171 done
16172 LIBS="$ac_wine_check_funcs_save_LIBS"
16174 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16175 else $as_nop
16176 GNUTLS_CFLAGS=""
16179 CPPFLAGS=$ac_save_CPPFLAGS
16182 if test "x$ac_cv_lib_soname_gnutls" = "x"
16183 then :
16184 case "x$with_gnutls" in
16185 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16186 xno) ;;
16187 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16188 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16189 esac
16193 if test "x$with_sane" != "xno"
16194 then
16195 rm -f conftest.err
16196 if ${SANE_CFLAGS:+false} :
16197 then :
16198 if test ${PKG_CONFIG+y}
16199 then :
16200 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16203 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16204 if ${SANE_LIBS:+false} :
16205 then :
16206 if test ${PKG_CONFIG+y}
16207 then :
16208 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16211 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16213 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16214 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16215 if test -s conftest.err; then
16216 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16217 cat conftest.err >&5
16219 rm -f conftest.err
16220 ac_save_CPPFLAGS=$CPPFLAGS
16221 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16222 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16223 if test "x$ac_cv_header_sane_sane_h" = xyes
16224 then :
16225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16226 printf %s "checking for sane_init in -lsane... " >&6; }
16227 if test ${ac_cv_lib_sane_sane_init+y}
16228 then :
16229 printf %s "(cached) " >&6
16230 else $as_nop
16231 ac_check_lib_save_LIBS=$LIBS
16232 LIBS="-lsane $SANE_LIBS $LIBS"
16233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16234 /* end confdefs.h. */
16236 /* Override any GCC internal prototype to avoid an error.
16237 Use char because int might match the return type of a GCC
16238 builtin and then its argument prototype would still apply. */
16239 char sane_init ();
16241 main (void)
16243 return sane_init ();
16245 return 0;
16247 _ACEOF
16248 if ac_fn_c_try_link "$LINENO"
16249 then :
16250 ac_cv_lib_sane_sane_init=yes
16251 else $as_nop
16252 ac_cv_lib_sane_sane_init=no
16254 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16255 conftest$ac_exeext conftest.$ac_ext
16256 LIBS=$ac_check_lib_save_LIBS
16258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16259 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16260 if test "x$ac_cv_lib_sane_sane_init" = xyes
16261 then :
16267 CPPFLAGS=$ac_save_CPPFLAGS
16270 if test "$ac_cv_lib_sane_sane_init" != "yes"
16271 then :
16272 case "x$with_sane" in
16273 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16274 xno) ;;
16275 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16276 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16277 esac
16278 enable_sane_ds=${enable_sane_ds:-no}
16281 if test "x$with_usb" != "xno"
16282 then
16283 rm -f conftest.err
16284 if ${USB_CFLAGS:+false} :
16285 then :
16286 if test ${PKG_CONFIG+y}
16287 then :
16288 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16292 if ${USB_LIBS:+false} :
16293 then :
16294 if test ${PKG_CONFIG+y}
16295 then :
16296 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16300 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16301 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16302 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16303 if test -s conftest.err; then
16304 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16305 cat conftest.err >&5
16307 rm -f conftest.err
16308 ac_save_CPPFLAGS=$CPPFLAGS
16309 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16310 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16311 if test "x$ac_cv_header_libusb_h" = xyes
16312 then :
16313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16314 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16315 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16316 then :
16317 printf %s "(cached) " >&6
16318 else $as_nop
16319 ac_check_lib_save_LIBS=$LIBS
16320 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16322 /* end confdefs.h. */
16324 /* Override any GCC internal prototype to avoid an error.
16325 Use char because int might match the return type of a GCC
16326 builtin and then its argument prototype would still apply. */
16327 char libusb_interrupt_event_handler ();
16329 main (void)
16331 return libusb_interrupt_event_handler ();
16333 return 0;
16335 _ACEOF
16336 if ac_fn_c_try_link "$LINENO"
16337 then :
16338 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16339 else $as_nop
16340 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16342 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16343 conftest$ac_exeext conftest.$ac_ext
16344 LIBS=$ac_check_lib_save_LIBS
16346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16347 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16348 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16349 then :
16351 else $as_nop
16352 USB_LIBS=""
16355 else $as_nop
16356 USB_LIBS=""
16359 CPPFLAGS=$ac_save_CPPFLAGS
16362 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16363 then :
16364 case "x$with_usb" in
16365 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16366 xno) ;;
16367 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16368 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16369 esac
16370 enable_wineusb_sys=${enable_wineusb_sys:-no}
16373 if test "x$with_v4l2" != "xno"
16374 then
16375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16376 printf %s "checking for -lv4l2... " >&6; }
16377 if test ${ac_cv_lib_soname_v4l2+y}
16378 then :
16379 printf %s "(cached) " >&6
16380 else $as_nop
16381 ac_check_soname_save_LIBS=$LIBS
16382 LIBS="-lv4l2 $LIBS"
16383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16384 /* end confdefs.h. */
16386 /* Override any GCC internal prototype to avoid an error.
16387 Use char because int might match the return type of a GCC
16388 builtin and then its argument prototype would still apply. */
16389 char v4l2_open ();
16391 main (void)
16393 return v4l2_open ();
16395 return 0;
16397 _ACEOF
16398 if ac_fn_c_try_link "$LINENO"
16399 then :
16400 case "$LIBEXT" in
16401 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16402 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'` ;;
16403 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16404 if ${ac_cv_lib_soname_v4l2:+false} :
16405 then :
16406 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16407 fi ;;
16408 esac
16409 else $as_nop
16410 ac_cv_lib_soname_v4l2=
16412 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16413 conftest$ac_exeext conftest.$ac_ext
16414 LIBS=$ac_check_soname_save_LIBS
16416 if ${ac_cv_lib_soname_v4l2:+false} :
16417 then :
16418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16419 printf "%s\n" "not found" >&6; }
16421 else $as_nop
16422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16423 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16425 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16430 if test "x$ac_cv_lib_soname_v4l2" = "x"
16431 then :
16432 case "x$with_v4l2" in
16433 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16434 xno) ;;
16435 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16436 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16437 esac
16441 if test "x$with_gphoto" != "xno"
16442 then
16443 rm -f conftest.err
16444 if ${GPHOTO2_CFLAGS:+false} :
16445 then :
16446 if test ${PKG_CONFIG+y}
16447 then :
16448 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16451 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16452 if ${GPHOTO2_LIBS:+false} :
16453 then :
16454 if test ${PKG_CONFIG+y}
16455 then :
16456 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16459 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16460 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16461 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16462 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16463 if test -s conftest.err; then
16464 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16465 cat conftest.err >&5
16467 rm -f conftest.err
16468 ac_save_CPPFLAGS=$CPPFLAGS
16469 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16470 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16471 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16472 then :
16473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16474 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16475 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16476 then :
16477 printf %s "(cached) " >&6
16478 else $as_nop
16479 ac_check_lib_save_LIBS=$LIBS
16480 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16482 /* end confdefs.h. */
16484 /* Override any GCC internal prototype to avoid an error.
16485 Use char because int might match the return type of a GCC
16486 builtin and then its argument prototype would still apply. */
16487 char gp_camera_new ();
16489 main (void)
16491 return gp_camera_new ();
16493 return 0;
16495 _ACEOF
16496 if ac_fn_c_try_link "$LINENO"
16497 then :
16498 ac_cv_lib_gphoto2_gp_camera_new=yes
16499 else $as_nop
16500 ac_cv_lib_gphoto2_gp_camera_new=no
16502 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16503 conftest$ac_exeext conftest.$ac_ext
16504 LIBS=$ac_check_lib_save_LIBS
16506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16507 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16508 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16509 then :
16515 CPPFLAGS=$ac_save_CPPFLAGS
16517 rm -f conftest.err
16518 if ${GPHOTO2_PORT_CFLAGS:+false} :
16519 then :
16520 if test ${PKG_CONFIG+y}
16521 then :
16522 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16525 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16526 if ${GPHOTO2_PORT_LIBS:+false} :
16527 then :
16528 if test ${PKG_CONFIG+y}
16529 then :
16530 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16533 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16534 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16535 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16536 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16537 if test -s conftest.err; then
16538 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16539 cat conftest.err >&5
16541 rm -f conftest.err
16542 ac_save_CPPFLAGS=$CPPFLAGS
16543 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16544 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16545 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16546 then :
16547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16548 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16549 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16550 then :
16551 printf %s "(cached) " >&6
16552 else $as_nop
16553 ac_check_lib_save_LIBS=$LIBS
16554 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16556 /* end confdefs.h. */
16558 /* Override any GCC internal prototype to avoid an error.
16559 Use char because int might match the return type of a GCC
16560 builtin and then its argument prototype would still apply. */
16561 char gp_port_info_list_new ();
16563 main (void)
16565 return gp_port_info_list_new ();
16567 return 0;
16569 _ACEOF
16570 if ac_fn_c_try_link "$LINENO"
16571 then :
16572 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16573 else $as_nop
16574 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16576 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16577 conftest$ac_exeext conftest.$ac_ext
16578 LIBS=$ac_check_lib_save_LIBS
16580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16581 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16582 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16583 then :
16585 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16587 else $as_nop
16588 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16591 else $as_nop
16592 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16595 CPPFLAGS=$ac_save_CPPFLAGS
16598 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16599 then :
16600 case "x$with_gphoto" in
16601 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16602 xno) ;;
16603 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16604 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16605 esac
16606 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16608 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16609 then :
16610 case "x$with_gphoto" in
16611 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16612 xno) ;;
16613 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16614 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16615 esac
16620 if test "$ac_cv_header_resolv_h" = "yes"
16621 then
16622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16623 printf %s "checking for resolver library... " >&6; }
16624 if test ${ac_cv_have_resolv+y}
16625 then :
16626 printf %s "(cached) " >&6
16627 else $as_nop
16628 ac_save_LIBS="$LIBS"
16629 for lib in '' -lresolv
16631 LIBS="$lib $ac_save_LIBS"
16632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16633 /* end confdefs.h. */
16634 #ifdef HAVE_NETINET_IN_H
16635 #include <netinet/in.h>
16636 #endif
16637 #include <resolv.h>
16639 main (void)
16641 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16643 return 0;
16645 _ACEOF
16646 if ac_fn_c_try_link "$LINENO"
16647 then :
16648 ac_cv_have_resolv=${lib:-"none required"}
16649 else $as_nop
16650 ac_cv_have_resolv="not found"
16652 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16653 conftest$ac_exeext conftest.$ac_ext
16654 test "x$ac_cv_have_resolv" = "xnot found" || break
16655 done
16656 LIBS="$ac_save_LIBS"
16658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16659 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16661 case "$ac_cv_have_resolv" in
16662 "not found") ;;
16663 "none required")
16665 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16668 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16670 RESOLV_LIBS=$ac_cv_have_resolv
16672 esac
16674 if test "x$ac_cv_have_resolv" != "xnot found"
16675 then
16676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16677 printf %s "checking for res_getservers... " >&6; }
16678 if test ${ac_cv_have_res_getservers+y}
16679 then :
16680 printf %s "(cached) " >&6
16681 else $as_nop
16682 ac_save_LIBS="$LIBS"
16683 LIBS="$RESOLV_LIBS $LIBS"
16684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16685 /* end confdefs.h. */
16686 #include <resolv.h>
16688 main (void)
16690 res_getservers(NULL, NULL, 0);
16692 return 0;
16694 _ACEOF
16695 if ac_fn_c_try_link "$LINENO"
16696 then :
16697 ac_cv_have_res_getservers=yes
16698 else $as_nop
16699 ac_cv_have_res_getservers=no
16701 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16702 conftest$ac_exeext conftest.$ac_ext
16703 LIBS="$ac_save_LIBS"
16705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16706 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16707 if test "$ac_cv_have_res_getservers" = "yes"
16708 then
16710 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16716 if test "x$with_freetype" != "xno"
16717 then
16718 rm -f conftest.err
16719 if ${FREETYPE_CFLAGS:+false} :
16720 then :
16721 if test ${PKG_CONFIG+y}
16722 then :
16723 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16726 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16727 if ${FREETYPE_LIBS:+false} :
16728 then :
16729 if test ${PKG_CONFIG+y}
16730 then :
16731 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16734 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16735 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16737 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16738 if test -s conftest.err; then
16739 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16740 cat conftest.err >&5
16742 rm -f conftest.err
16743 ac_save_CPPFLAGS=$CPPFLAGS
16744 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16745 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16746 if test "x$ac_cv_header_ft2build_h" = xyes
16747 then :
16748 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16752 if test "$ac_cv_header_ft2build_h" = "yes"
16753 then
16754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16755 printf %s "checking for -lfreetype... " >&6; }
16756 if test ${ac_cv_lib_soname_freetype+y}
16757 then :
16758 printf %s "(cached) " >&6
16759 else $as_nop
16760 ac_check_soname_save_LIBS=$LIBS
16761 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16763 /* end confdefs.h. */
16765 /* Override any GCC internal prototype to avoid an error.
16766 Use char because int might match the return type of a GCC
16767 builtin and then its argument prototype would still apply. */
16768 char FT_Init_FreeType ();
16770 main (void)
16772 return FT_Init_FreeType ();
16774 return 0;
16776 _ACEOF
16777 if ac_fn_c_try_link "$LINENO"
16778 then :
16779 case "$LIBEXT" in
16780 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16781 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'` ;;
16782 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16783 if ${ac_cv_lib_soname_freetype:+false} :
16784 then :
16785 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16786 fi ;;
16787 esac
16788 else $as_nop
16789 ac_cv_lib_soname_freetype=
16791 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16792 conftest$ac_exeext conftest.$ac_ext
16793 LIBS=$ac_check_soname_save_LIBS
16795 if ${ac_cv_lib_soname_freetype:+false} :
16796 then :
16797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16798 printf "%s\n" "not found" >&6; }
16799 FREETYPE_LIBS=""
16800 else $as_nop
16801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16802 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16804 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16807 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16809 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16810 #include FT_MODULE_H
16812 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16813 then :
16815 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16821 else
16822 FREETYPE_CFLAGS=""
16823 FREETYPE_LIBS=""
16825 CPPFLAGS=$ac_save_CPPFLAGS
16828 if test "x$ac_cv_lib_soname_freetype" = x
16829 then :
16830 case "x$with_freetype" in
16831 xno) ;;
16832 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16833 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16834 esac
16835 enable_fonts=${enable_fonts:-no}
16838 ac_wine_check_funcs_save_LIBS="$LIBS"
16839 LIBS="$LIBS $PTHREAD_LIBS"
16840 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16841 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16842 then :
16843 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16847 LIBS="$ac_wine_check_funcs_save_LIBS"
16849 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16850 then
16851 if test "$ac_cv_header_gettext_po_h" = "yes"
16852 then
16853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16854 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16855 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16856 then :
16857 printf %s "(cached) " >&6
16858 else $as_nop
16859 ac_check_lib_save_LIBS=$LIBS
16860 LIBS="-lgettextpo $LIBS"
16861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16862 /* end confdefs.h. */
16864 /* Override any GCC internal prototype to avoid an error.
16865 Use char because int might match the return type of a GCC
16866 builtin and then its argument prototype would still apply. */
16867 char po_message_msgctxt ();
16869 main (void)
16871 return po_message_msgctxt ();
16873 return 0;
16875 _ACEOF
16876 if ac_fn_c_try_link "$LINENO"
16877 then :
16878 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16879 else $as_nop
16880 ac_cv_lib_gettextpo_po_message_msgctxt=no
16882 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16883 conftest$ac_exeext conftest.$ac_ext
16884 LIBS=$ac_check_lib_save_LIBS
16886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16887 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16888 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16889 then :
16891 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16893 GETTEXTPO_LIBS="-lgettextpo"
16898 if test "x$GETTEXTPO_LIBS" = "x"
16899 then :
16900 case "x$with_gettextpo" in
16901 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16902 xno) ;;
16903 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16904 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16905 esac
16908 if test "$srcdir" != .
16909 then :
16910 case "x$with_gettextpo" in
16911 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16912 xno) ;;
16913 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16914 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16915 esac
16920 if test "x$with_pulse" != "xno";
16921 then
16922 rm -f conftest.err
16923 if ${PULSE_CFLAGS:+false} :
16924 then :
16925 if test ${PKG_CONFIG+y}
16926 then :
16927 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16931 if ${PULSE_LIBS:+false} :
16932 then :
16933 if test ${PKG_CONFIG+y}
16934 then :
16935 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16940 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16941 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16942 if test -s conftest.err; then
16943 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16944 cat conftest.err >&5
16946 rm -f conftest.err
16947 ac_save_CPPFLAGS=$CPPFLAGS
16948 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16949 for ac_header in pulse/pulseaudio.h
16950 do :
16951 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16952 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16953 then :
16954 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16956 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16957 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16958 then :
16959 printf %s "(cached) " >&6
16960 else $as_nop
16961 ac_check_lib_save_LIBS=$LIBS
16962 LIBS="-lpulse $PULSE_LIBS $LIBS"
16963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16964 /* end confdefs.h. */
16966 /* Override any GCC internal prototype to avoid an error.
16967 Use char because int might match the return type of a GCC
16968 builtin and then its argument prototype would still apply. */
16969 char pa_stream_is_corked ();
16971 main (void)
16973 return pa_stream_is_corked ();
16975 return 0;
16977 _ACEOF
16978 if ac_fn_c_try_link "$LINENO"
16979 then :
16980 ac_cv_lib_pulse_pa_stream_is_corked=yes
16981 else $as_nop
16982 ac_cv_lib_pulse_pa_stream_is_corked=no
16984 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16985 conftest$ac_exeext conftest.$ac_ext
16986 LIBS=$ac_check_lib_save_LIBS
16988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16989 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16990 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16991 then :
16993 else $as_nop
16994 PULSE_LIBS=""
16997 else $as_nop
16998 PULSE_LIBS=""
17001 done
17002 CPPFLAGS=$ac_save_CPPFLAGS
17005 if test -z "$PULSE_LIBS"
17006 then :
17007 case "x$with_pulse" in
17008 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17009 xno) ;;
17010 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17011 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17012 esac
17013 enable_winepulse_drv=${enable_winepulse_drv:-no}
17016 if test "x$with_gstreamer" != "xno"
17017 then
17018 rm -f conftest.err
17019 if ${GSTREAMER_CFLAGS:+false} :
17020 then :
17021 if test ${PKG_CONFIG+y}
17022 then :
17023 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17027 if ${GSTREAMER_LIBS:+false} :
17028 then :
17029 if test ${PKG_CONFIG+y}
17030 then :
17031 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17036 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
17037 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
17038 if test -s conftest.err; then
17039 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17040 cat conftest.err >&5
17042 rm -f conftest.err
17043 ac_save_CPPFLAGS=$CPPFLAGS
17044 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17045 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17046 if test "x$ac_cv_header_gst_gst_h" = xyes
17047 then :
17048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17049 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17051 /* end confdefs.h. */
17052 #include <gst/gst.h>
17054 main (void)
17056 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17058 return 0;
17060 _ACEOF
17061 if ac_fn_c_try_compile "$LINENO"
17062 then :
17063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17064 printf "%s\n" "yes" >&6; }
17065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17066 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17067 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17068 then :
17069 printf %s "(cached) " >&6
17070 else $as_nop
17071 ac_check_lib_save_LIBS=$LIBS
17072 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17074 /* end confdefs.h. */
17076 /* Override any GCC internal prototype to avoid an error.
17077 Use char because int might match the return type of a GCC
17078 builtin and then its argument prototype would still apply. */
17079 char gst_pad_new ();
17081 main (void)
17083 return gst_pad_new ();
17085 return 0;
17087 _ACEOF
17088 if ac_fn_c_try_link "$LINENO"
17089 then :
17090 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17091 else $as_nop
17092 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17094 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17095 conftest$ac_exeext conftest.$ac_ext
17096 LIBS=$ac_check_lib_save_LIBS
17098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17099 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17100 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17101 then :
17105 else $as_nop
17106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17107 printf "%s\n" "no" >&6; }
17108 ac_glib2_broken=yes
17109 enable_winegstreamer=${enable_winegstreamer:-no}
17110 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17112 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17115 CPPFLAGS=$ac_save_CPPFLAGS
17118 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17119 then :
17120 case "x$with_gstreamer" in
17121 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17122 xno) ;;
17123 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17124 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17125 esac
17126 enable_winegstreamer=${enable_winegstreamer:-no}
17129 ALSA_LIBS=""
17131 if test "x$with_alsa" != "xno"
17132 then
17133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17134 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17135 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17136 then :
17137 printf %s "(cached) " >&6
17138 else $as_nop
17139 ac_check_lib_save_LIBS=$LIBS
17140 LIBS="-lasound $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 snd_pcm_hw_params_get_access_mask ();
17149 main (void)
17151 return snd_pcm_hw_params_get_access_mask ();
17153 return 0;
17155 _ACEOF
17156 if ac_fn_c_try_link "$LINENO"
17157 then :
17158 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17159 else $as_nop
17160 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=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_asound_snd_pcm_hw_params_get_access_mask" >&5
17167 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17168 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17169 then :
17170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17171 /* end confdefs.h. */
17172 #include <alsa/asoundlib.h>
17174 main (void)
17176 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17178 return 0;
17180 _ACEOF
17181 if ac_fn_c_try_compile "$LINENO"
17182 then :
17183 ALSA_LIBS="-lasound"
17185 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17189 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17191 if test "x$with_oss" != xno
17192 then
17193 ac_save_CPPFLAGS="$CPPFLAGS"
17194 if test -f /etc/oss.conf
17195 then
17196 . /etc/oss.conf
17198 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17199 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17200 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17201 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17202 then :
17203 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17205 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17206 then :
17208 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17210 OSS4_CFLAGS="$ac_oss_incl"
17212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17213 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17214 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17215 then :
17216 printf %s "(cached) " >&6
17217 else $as_nop
17218 ac_check_lib_save_LIBS=$LIBS
17219 LIBS="-lossaudio $LIBS"
17220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17221 /* end confdefs.h. */
17223 /* Override any GCC internal prototype to avoid an error.
17224 Use char because int might match the return type of a GCC
17225 builtin and then its argument prototype would still apply. */
17226 char _oss_ioctl ();
17228 main (void)
17230 return _oss_ioctl ();
17232 return 0;
17234 _ACEOF
17235 if ac_fn_c_try_link "$LINENO"
17236 then :
17237 ac_cv_lib_ossaudio__oss_ioctl=yes
17238 else $as_nop
17239 ac_cv_lib_ossaudio__oss_ioctl=no
17241 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17242 conftest$ac_exeext conftest.$ac_ext
17243 LIBS=$ac_check_lib_save_LIBS
17245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17246 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17247 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17248 then :
17249 OSS4_LIBS="-lossaudio"
17257 CPPFLAGS="$ac_save_CPPFLAGS"
17259 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17260 then :
17261 case "x$with_oss" in
17262 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17263 xno) ;;
17264 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17265 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17266 esac
17267 enable_wineoss_drv=${enable_wineoss_drv:-no}
17270 if test "x$with_udev" != "xno"
17271 then
17272 rm -f conftest.err
17273 if ${UDEV_CFLAGS:+false} :
17274 then :
17275 if test ${PKG_CONFIG+y}
17276 then :
17277 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17281 if ${UDEV_LIBS:+false} :
17282 then :
17283 if test ${PKG_CONFIG+y}
17284 then :
17285 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17289 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17290 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17292 if test -s conftest.err; then
17293 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17294 cat conftest.err >&5
17296 rm -f conftest.err
17297 ac_save_CPPFLAGS=$CPPFLAGS
17298 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17299 for ac_header in libudev.h
17300 do :
17301 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17302 if test "x$ac_cv_header_libudev_h" = xyes
17303 then :
17304 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17306 printf %s "checking for udev_new in -ludev... " >&6; }
17307 if test ${ac_cv_lib_udev_udev_new+y}
17308 then :
17309 printf %s "(cached) " >&6
17310 else $as_nop
17311 ac_check_lib_save_LIBS=$LIBS
17312 LIBS="-ludev $UDEV_LIBS $LIBS"
17313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17314 /* end confdefs.h. */
17316 /* Override any GCC internal prototype to avoid an error.
17317 Use char because int might match the return type of a GCC
17318 builtin and then its argument prototype would still apply. */
17319 char udev_new ();
17321 main (void)
17323 return udev_new ();
17325 return 0;
17327 _ACEOF
17328 if ac_fn_c_try_link "$LINENO"
17329 then :
17330 ac_cv_lib_udev_udev_new=yes
17331 else $as_nop
17332 ac_cv_lib_udev_udev_new=no
17334 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17335 conftest$ac_exeext conftest.$ac_ext
17336 LIBS=$ac_check_lib_save_LIBS
17338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17339 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17340 if test "x$ac_cv_lib_udev_udev_new" = xyes
17341 then :
17343 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17345 else $as_nop
17346 UDEV_LIBS=""
17349 else $as_nop
17350 UDEV_LIBS=""
17353 done
17354 CPPFLAGS=$ac_save_CPPFLAGS
17357 if test "x$UDEV_LIBS" = "x"
17358 then :
17359 case "x$with_udev" in
17360 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17361 xno) ;;
17362 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17363 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17364 esac
17368 if test "x$with_unwind" != xno
17369 then
17370 rm -f conftest.err
17371 if ${UNWIND_CFLAGS:+false} :
17372 then :
17373 if test ${PKG_CONFIG+y}
17374 then :
17375 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17379 if ${UNWIND_LIBS:+false} :
17380 then :
17381 if test ${PKG_CONFIG+y}
17382 then :
17383 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17387 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17388 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17389 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17390 if test -s conftest.err; then
17391 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17392 cat conftest.err >&5
17394 rm -f conftest.err
17395 ac_save_CPPFLAGS=$CPPFLAGS
17396 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17398 printf %s "checking for unw_step... " >&6; }
17399 if test ${wine_cv_have_unw_step+y}
17400 then :
17401 printf %s "(cached) " >&6
17402 else $as_nop
17403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17404 /* end confdefs.h. */
17405 #define UNW_LOCAL_ONLY
17406 #include <libunwind.h>
17408 main (void)
17410 unw_cursor_t cursor; unw_step( &cursor );
17412 return 0;
17414 _ACEOF
17415 if ac_fn_c_try_link "$LINENO"
17416 then :
17417 wine_cv_have_unw_step="yes"
17418 else $as_nop
17419 wine_cv_have_unw_step="no"
17421 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17422 conftest$ac_exeext conftest.$ac_ext
17424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17425 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17426 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17427 then
17428 save_libs=$LIBS
17429 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17430 LIBS="$UNWIND_LIBS $LIBS"
17431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17432 printf %s "checking for unw_step in libunwind... " >&6; }
17433 if test ${wine_cv_have_libunwind_unw_step+y}
17434 then :
17435 printf %s "(cached) " >&6
17436 else $as_nop
17437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17438 /* end confdefs.h. */
17439 #define UNW_LOCAL_ONLY
17440 #include <libunwind.h>
17442 main (void)
17444 unw_cursor_t cursor; unw_step( &cursor );
17446 return 0;
17448 _ACEOF
17449 if ac_fn_c_try_link "$LINENO"
17450 then :
17451 wine_cv_have_libunwind_unw_step="yes"
17452 else $as_nop
17453 wine_cv_have_libunwind_unw_step="no"
17455 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17456 conftest$ac_exeext conftest.$ac_ext
17458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17459 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17460 LIBS=$save_libs
17462 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17463 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17464 then
17466 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17469 CPPFLAGS=$ac_save_CPPFLAGS
17472 case $host in
17473 aarch64*|*-darwin*)
17474 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17475 then :
17476 case "x$with_unwind" in
17477 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17478 xno) ;;
17479 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17480 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17481 esac
17483 fi ;;
17484 esac
17486 if test "x$with_sdl" != "xno"
17487 then
17488 rm -f conftest.err
17489 if ${SDL2_CFLAGS:+false} :
17490 then :
17491 if test ${PKG_CONFIG+y}
17492 then :
17493 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17497 if ${SDL2_LIBS:+false} :
17498 then :
17499 if test ${PKG_CONFIG+y}
17500 then :
17501 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17505 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17506 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17507 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17508 if test -s conftest.err; then
17509 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17510 cat conftest.err >&5
17512 rm -f conftest.err
17513 ac_save_CPPFLAGS=$CPPFLAGS
17514 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17515 for ac_header in SDL.h
17516 do :
17517 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17518 if test "x$ac_cv_header_SDL_h" = xyes
17519 then :
17520 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17522 printf %s "checking for -lSDL2... " >&6; }
17523 if test ${ac_cv_lib_soname_SDL2+y}
17524 then :
17525 printf %s "(cached) " >&6
17526 else $as_nop
17527 ac_check_soname_save_LIBS=$LIBS
17528 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17530 /* end confdefs.h. */
17532 /* Override any GCC internal prototype to avoid an error.
17533 Use char because int might match the return type of a GCC
17534 builtin and then its argument prototype would still apply. */
17535 char SDL_Init ();
17537 main (void)
17539 return SDL_Init ();
17541 return 0;
17543 _ACEOF
17544 if ac_fn_c_try_link "$LINENO"
17545 then :
17546 case "$LIBEXT" in
17547 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17548 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'` ;;
17549 *) 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'`
17550 if ${ac_cv_lib_soname_SDL2:+false} :
17551 then :
17552 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17553 fi ;;
17554 esac
17555 else $as_nop
17556 ac_cv_lib_soname_SDL2=
17558 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17559 conftest$ac_exeext conftest.$ac_ext
17560 LIBS=$ac_check_soname_save_LIBS
17562 if ${ac_cv_lib_soname_SDL2:+false} :
17563 then :
17564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17565 printf "%s\n" "not found" >&6; }
17567 else $as_nop
17568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17569 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17571 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17577 done
17578 CPPFLAGS=$ac_save_CPPFLAGS
17581 if test "x$ac_cv_lib_soname_SDL2" = "x"
17582 then :
17583 case "x$with_sdl" in
17584 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17585 xno) ;;
17586 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17587 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17588 esac
17592 if test "x$with_capi" != "xno"
17593 then
17594 rm -f conftest.err
17595 if ${CAPI20_CFLAGS:+false} :
17596 then :
17597 if test ${PKG_CONFIG+y}
17598 then :
17599 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17603 if ${CAPI20_LIBS:+false} :
17604 then :
17605 if test ${PKG_CONFIG+y}
17606 then :
17607 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17612 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17613 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17614 if test -s conftest.err; then
17615 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17616 cat conftest.err >&5
17618 rm -f conftest.err
17619 ac_save_CPPFLAGS=$CPPFLAGS
17620 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17621 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17623 if test "x$ac_cv_header_capi20_h" = xyes
17624 then :
17625 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17628 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17630 if test "x$ac_cv_header_linux_capi_h" = xyes
17631 then :
17632 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17636 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17637 then
17638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17639 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17640 if test ${ac_cv_lib_capi20_capi20_register+y}
17641 then :
17642 printf %s "(cached) " >&6
17643 else $as_nop
17644 ac_check_lib_save_LIBS=$LIBS
17645 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17647 /* end confdefs.h. */
17649 /* Override any GCC internal prototype to avoid an error.
17650 Use char because int might match the return type of a GCC
17651 builtin and then its argument prototype would still apply. */
17652 char capi20_register ();
17654 main (void)
17656 return capi20_register ();
17658 return 0;
17660 _ACEOF
17661 if ac_fn_c_try_link "$LINENO"
17662 then :
17663 ac_cv_lib_capi20_capi20_register=yes
17664 else $as_nop
17665 ac_cv_lib_capi20_capi20_register=no
17667 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17668 conftest$ac_exeext conftest.$ac_ext
17669 LIBS=$ac_check_lib_save_LIBS
17671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17672 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17673 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17674 then :
17676 else $as_nop
17677 CAPI20_LIBS=""
17681 CPPFLAGS=$ac_save_CPPFLAGS
17684 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17685 then :
17686 case "x$with_capi" in
17687 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17688 xno) ;;
17689 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17690 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17691 esac
17692 enable_capi2032=${enable_capi2032:-no}
17695 if test "x$with_cups" != "xno"
17696 then
17697 rm -f conftest.err
17698 if ${CUPS_CFLAGS:+false} :
17699 then :
17700 if test ${PKG_CONFIG+y}
17701 then :
17702 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17705 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17706 if ${CUPS_LIBS:+false} :
17707 then :
17708 if test ${PKG_CONFIG+y}
17709 then :
17710 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17713 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17714 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17715 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17716 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17717 if test -s conftest.err; then
17718 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17719 cat conftest.err >&5
17721 rm -f conftest.err
17722 ac_save_CPPFLAGS=$CPPFLAGS
17723 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17724 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17725 if test "x$ac_cv_header_cups_cups_h" = xyes
17726 then :
17727 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17730 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17731 if test "x$ac_cv_header_cups_ppd_h" = xyes
17732 then :
17733 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17737 if test "$ac_cv_header_cups_cups_h" = "yes"
17738 then
17739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17740 printf %s "checking for -lcups... " >&6; }
17741 if test ${ac_cv_lib_soname_cups+y}
17742 then :
17743 printf %s "(cached) " >&6
17744 else $as_nop
17745 ac_check_soname_save_LIBS=$LIBS
17746 LIBS="-lcups $CUPS_LIBS $LIBS"
17747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17748 /* end confdefs.h. */
17750 /* Override any GCC internal prototype to avoid an error.
17751 Use char because int might match the return type of a GCC
17752 builtin and then its argument prototype would still apply. */
17753 char cupsGetDefault ();
17755 main (void)
17757 return cupsGetDefault ();
17759 return 0;
17761 _ACEOF
17762 if ac_fn_c_try_link "$LINENO"
17763 then :
17764 case "$LIBEXT" in
17765 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17766 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'` ;;
17767 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17768 if ${ac_cv_lib_soname_cups:+false} :
17769 then :
17770 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17771 fi ;;
17772 esac
17773 else $as_nop
17774 ac_cv_lib_soname_cups=
17776 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17777 conftest$ac_exeext conftest.$ac_ext
17778 LIBS=$ac_check_soname_save_LIBS
17780 if ${ac_cv_lib_soname_cups:+false} :
17781 then :
17782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17783 printf "%s\n" "not found" >&6; }
17784 CUPS_LIBS=""
17785 else $as_nop
17786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17787 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17789 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17793 else
17794 CUPS_CFLAGS=""
17795 CUPS_LIBS=""
17797 CPPFLAGS=$ac_save_CPPFLAGS
17800 if test "x$ac_cv_lib_soname_cups" = "x"
17801 then :
17802 case "x$with_cups" in
17803 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17804 xno) ;;
17805 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17806 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17807 esac
17811 if test "x$with_fontconfig" != "xno"
17812 then
17813 rm -f conftest.err
17814 if ${FONTCONFIG_CFLAGS:+false} :
17815 then :
17816 if test ${PKG_CONFIG+y}
17817 then :
17818 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17821 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17822 if ${FONTCONFIG_LIBS:+false} :
17823 then :
17824 if test ${PKG_CONFIG+y}
17825 then :
17826 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17829 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17831 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17832 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17833 if test -s conftest.err; then
17834 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17835 cat conftest.err >&5
17837 rm -f conftest.err
17838 ac_save_CPPFLAGS=$CPPFLAGS
17839 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17840 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17841 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17842 then :
17843 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17847 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17848 then
17849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17850 printf %s "checking for -lfontconfig... " >&6; }
17851 if test ${ac_cv_lib_soname_fontconfig+y}
17852 then :
17853 printf %s "(cached) " >&6
17854 else $as_nop
17855 ac_check_soname_save_LIBS=$LIBS
17856 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17858 /* end confdefs.h. */
17860 /* Override any GCC internal prototype to avoid an error.
17861 Use char because int might match the return type of a GCC
17862 builtin and then its argument prototype would still apply. */
17863 char FcInit ();
17865 main (void)
17867 return FcInit ();
17869 return 0;
17871 _ACEOF
17872 if ac_fn_c_try_link "$LINENO"
17873 then :
17874 case "$LIBEXT" in
17875 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17876 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'` ;;
17877 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17878 if ${ac_cv_lib_soname_fontconfig:+false} :
17879 then :
17880 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17881 fi ;;
17882 esac
17883 else $as_nop
17884 ac_cv_lib_soname_fontconfig=
17886 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17887 conftest$ac_exeext conftest.$ac_ext
17888 LIBS=$ac_check_soname_save_LIBS
17890 if ${ac_cv_lib_soname_fontconfig:+false} :
17891 then :
17892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17893 printf "%s\n" "not found" >&6; }
17894 FONTCONFIG_CFLAGS=""
17895 else $as_nop
17896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17897 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17899 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17903 else
17904 FONTCONFIG_CFLAGS=""
17906 CPPFLAGS=$ac_save_CPPFLAGS
17909 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17910 then :
17911 case "x$with_fontconfig" in
17912 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17913 xno) ;;
17914 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17915 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17916 esac
17920 if test "x$with_krb5" != "xno"
17921 then
17922 rm -f conftest.err
17923 if ${KRB5_CFLAGS:+false} :
17924 then :
17925 if test ${PKG_CONFIG+y}
17926 then :
17927 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17930 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17931 if ${KRB5_LIBS:+false} :
17932 then :
17933 if test ${PKG_CONFIG+y}
17934 then :
17935 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17938 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17940 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17941 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17942 if test -s conftest.err; then
17943 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17944 cat conftest.err >&5
17946 rm -f conftest.err
17947 ac_save_CPPFLAGS=$CPPFLAGS
17948 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17949 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17950 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17951 then :
17952 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17956 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17957 then
17958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17959 printf %s "checking for -lkrb5... " >&6; }
17960 if test ${ac_cv_lib_soname_krb5+y}
17961 then :
17962 printf %s "(cached) " >&6
17963 else $as_nop
17964 ac_check_soname_save_LIBS=$LIBS
17965 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17967 /* end confdefs.h. */
17969 /* Override any GCC internal prototype to avoid an error.
17970 Use char because int might match the return type of a GCC
17971 builtin and then its argument prototype would still apply. */
17972 char krb5_is_config_principal ();
17974 main (void)
17976 return krb5_is_config_principal ();
17978 return 0;
17980 _ACEOF
17981 if ac_fn_c_try_link "$LINENO"
17982 then :
17983 case "$LIBEXT" in
17984 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17985 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'` ;;
17986 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17987 if ${ac_cv_lib_soname_krb5:+false} :
17988 then :
17989 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17990 fi ;;
17991 esac
17992 else $as_nop
17993 ac_cv_lib_soname_krb5=
17995 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17996 conftest$ac_exeext conftest.$ac_ext
17997 LIBS=$ac_check_soname_save_LIBS
17999 if ${ac_cv_lib_soname_krb5:+false} :
18000 then :
18001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18002 printf "%s\n" "not found" >&6; }
18003 KRB5_CFLAGS=""
18004 else $as_nop
18005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18006 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18008 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18012 else
18013 KRB5_CFLAGS=""
18015 CPPFLAGS=$ac_save_CPPFLAGS
18018 if test "x$ac_cv_lib_soname_krb5" = "x"
18019 then :
18020 case "x$with_krb5" in
18021 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18022 xno) ;;
18023 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18024 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18025 esac
18028 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18030 if test "x$with_gssapi" != "xno"
18031 then
18032 rm -f conftest.err
18033 if ${GSSAPI_CFLAGS:+false} :
18034 then :
18035 if test ${PKG_CONFIG+y}
18036 then :
18037 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18040 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18041 if ${GSSAPI_LIBS:+false} :
18042 then :
18043 if test ${PKG_CONFIG+y}
18044 then :
18045 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18048 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18050 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18051 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18052 if test -s conftest.err; then
18053 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18054 cat conftest.err >&5
18056 rm -f conftest.err
18057 ac_save_CPPFLAGS=$CPPFLAGS
18058 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18059 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18060 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18061 then :
18062 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18065 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18066 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18067 then :
18068 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18072 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18073 then
18074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18075 printf %s "checking for -lgssapi_krb5... " >&6; }
18076 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18077 then :
18078 printf %s "(cached) " >&6
18079 else $as_nop
18080 ac_check_soname_save_LIBS=$LIBS
18081 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18083 /* end confdefs.h. */
18085 /* Override any GCC internal prototype to avoid an error.
18086 Use char because int might match the return type of a GCC
18087 builtin and then its argument prototype would still apply. */
18088 char gss_init_sec_context ();
18090 main (void)
18092 return gss_init_sec_context ();
18094 return 0;
18096 _ACEOF
18097 if ac_fn_c_try_link "$LINENO"
18098 then :
18099 case "$LIBEXT" in
18100 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18101 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'` ;;
18102 *) 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'`
18103 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18104 then :
18105 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18106 fi ;;
18107 esac
18108 else $as_nop
18109 ac_cv_lib_soname_gssapi_krb5=
18111 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18112 conftest$ac_exeext conftest.$ac_ext
18113 LIBS=$ac_check_soname_save_LIBS
18115 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18116 then :
18117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18118 printf "%s\n" "not found" >&6; }
18119 GSSAPI_CFLAGS=""
18120 else $as_nop
18121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18122 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18124 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18128 else
18129 GSSAPI_CFLAGS=""
18131 CPPFLAGS=$ac_save_CPPFLAGS
18134 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18135 then :
18136 case "x$with_gssapi" in
18137 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18138 xno) ;;
18139 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18140 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18141 esac
18145 if test "$ac_cv_header_libprocstat_h" = "yes"
18146 then
18147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18148 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18149 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18150 then :
18151 printf %s "(cached) " >&6
18152 else $as_nop
18153 ac_check_lib_save_LIBS=$LIBS
18154 LIBS="-lprocstat $LIBS"
18155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18156 /* end confdefs.h. */
18158 /* Override any GCC internal prototype to avoid an error.
18159 Use char because int might match the return type of a GCC
18160 builtin and then its argument prototype would still apply. */
18161 char procstat_open_sysctl ();
18163 main (void)
18165 return procstat_open_sysctl ();
18167 return 0;
18169 _ACEOF
18170 if ac_fn_c_try_link "$LINENO"
18171 then :
18172 ac_cv_lib_procstat_procstat_open_sysctl=yes
18173 else $as_nop
18174 ac_cv_lib_procstat_procstat_open_sysctl=no
18176 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18177 conftest$ac_exeext conftest.$ac_ext
18178 LIBS=$ac_check_lib_save_LIBS
18180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18181 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18182 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18183 then :
18185 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18187 PROCSTAT_LIBS="-lprocstat"
18193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18194 printf %s "checking for -lodbc... " >&6; }
18195 if test ${ac_cv_lib_soname_odbc+y}
18196 then :
18197 printf %s "(cached) " >&6
18198 else $as_nop
18199 ac_check_soname_save_LIBS=$LIBS
18200 LIBS="-lodbc $LIBS"
18201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18202 /* end confdefs.h. */
18204 /* Override any GCC internal prototype to avoid an error.
18205 Use char because int might match the return type of a GCC
18206 builtin and then its argument prototype would still apply. */
18207 char SQLConnect ();
18209 main (void)
18211 return SQLConnect ();
18213 return 0;
18215 _ACEOF
18216 if ac_fn_c_try_link "$LINENO"
18217 then :
18218 case "$LIBEXT" in
18219 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18220 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'` ;;
18221 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18222 if ${ac_cv_lib_soname_odbc:+false} :
18223 then :
18224 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18225 fi ;;
18226 esac
18227 else $as_nop
18228 ac_cv_lib_soname_odbc=
18230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18231 conftest$ac_exeext conftest.$ac_ext
18232 LIBS=$ac_check_soname_save_LIBS
18234 if ${ac_cv_lib_soname_odbc:+false} :
18235 then :
18236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18237 printf "%s\n" "not found" >&6; }
18238 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18240 else $as_nop
18241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18242 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18244 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18249 if test "x$with_netapi" != "xno"
18250 then
18251 rm -f conftest.err
18252 if ${NETAPI_CFLAGS:+false} :
18253 then :
18254 if test ${PKG_CONFIG+y}
18255 then :
18256 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18260 if ${NETAPI_LIBS:+false} :
18261 then :
18262 if test ${PKG_CONFIG+y}
18263 then :
18264 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18269 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18270 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18271 if test -s conftest.err; then
18272 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18273 cat conftest.err >&5
18275 rm -f conftest.err
18276 ac_save_CPPFLAGS=$CPPFLAGS
18277 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18279 printf %s "checking for -lnetapi... " >&6; }
18280 if test ${ac_cv_lib_soname_netapi+y}
18281 then :
18282 printf %s "(cached) " >&6
18283 else $as_nop
18284 ac_check_soname_save_LIBS=$LIBS
18285 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18287 /* end confdefs.h. */
18289 /* Override any GCC internal prototype to avoid an error.
18290 Use char because int might match the return type of a GCC
18291 builtin and then its argument prototype would still apply. */
18292 char libnetapi_init ();
18294 main (void)
18296 return libnetapi_init ();
18298 return 0;
18300 _ACEOF
18301 if ac_fn_c_try_link "$LINENO"
18302 then :
18303 case "$LIBEXT" in
18304 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18305 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'` ;;
18306 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18307 if ${ac_cv_lib_soname_netapi:+false} :
18308 then :
18309 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18310 fi ;;
18311 esac
18312 else $as_nop
18313 ac_cv_lib_soname_netapi=
18315 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18316 conftest$ac_exeext conftest.$ac_ext
18317 LIBS=$ac_check_soname_save_LIBS
18319 if ${ac_cv_lib_soname_netapi:+false} :
18320 then :
18321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18322 printf "%s\n" "not found" >&6; }
18323 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18325 else $as_nop
18326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18327 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18329 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18333 CPPFLAGS=$ac_save_CPPFLAGS
18336 if test "x$ac_cv_lib_soname_netapi" = "x"
18337 then :
18338 case "x$with_netapi" in
18339 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18340 xno) ;;
18341 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18342 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18343 esac
18344 enable_netapi=${enable_netapi:-no}
18348 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18349 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18350 then
18351 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18354 if test "x$with_vulkan" != "xno"
18355 then
18356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18357 printf %s "checking for -lvulkan... " >&6; }
18358 if test ${ac_cv_lib_soname_vulkan+y}
18359 then :
18360 printf %s "(cached) " >&6
18361 else $as_nop
18362 ac_check_soname_save_LIBS=$LIBS
18363 LIBS="-lvulkan $LIBS"
18364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18365 /* end confdefs.h. */
18367 /* Override any GCC internal prototype to avoid an error.
18368 Use char because int might match the return type of a GCC
18369 builtin and then its argument prototype would still apply. */
18370 char vkGetInstanceProcAddr ();
18372 main (void)
18374 return vkGetInstanceProcAddr ();
18376 return 0;
18378 _ACEOF
18379 if ac_fn_c_try_link "$LINENO"
18380 then :
18381 case "$LIBEXT" in
18382 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18383 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'` ;;
18384 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18385 if ${ac_cv_lib_soname_vulkan:+false} :
18386 then :
18387 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18388 fi ;;
18389 esac
18390 else $as_nop
18391 ac_cv_lib_soname_vulkan=
18393 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18394 conftest$ac_exeext conftest.$ac_ext
18395 LIBS=$ac_check_soname_save_LIBS
18397 if ${ac_cv_lib_soname_vulkan:+false} :
18398 then :
18399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18400 printf "%s\n" "not found" >&6; }
18402 else $as_nop
18403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18404 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18406 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18410 if test "x$ac_cv_lib_soname_vulkan" = "x"
18411 then
18412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18413 printf %s "checking for -lMoltenVK... " >&6; }
18414 if test ${ac_cv_lib_soname_MoltenVK+y}
18415 then :
18416 printf %s "(cached) " >&6
18417 else $as_nop
18418 ac_check_soname_save_LIBS=$LIBS
18419 LIBS="-lMoltenVK $LIBS"
18420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18421 /* end confdefs.h. */
18423 /* Override any GCC internal prototype to avoid an error.
18424 Use char because int might match the return type of a GCC
18425 builtin and then its argument prototype would still apply. */
18426 char vkGetInstanceProcAddr ();
18428 main (void)
18430 return vkGetInstanceProcAddr ();
18432 return 0;
18434 _ACEOF
18435 if ac_fn_c_try_link "$LINENO"
18436 then :
18437 case "$LIBEXT" in
18438 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18439 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'` ;;
18440 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18441 if ${ac_cv_lib_soname_MoltenVK:+false} :
18442 then :
18443 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18444 fi ;;
18445 esac
18446 else $as_nop
18447 ac_cv_lib_soname_MoltenVK=
18449 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18450 conftest$ac_exeext conftest.$ac_ext
18451 LIBS=$ac_check_soname_save_LIBS
18453 if ${ac_cv_lib_soname_MoltenVK:+false} :
18454 then :
18455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18456 printf "%s\n" "not found" >&6; }
18458 else $as_nop
18459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18460 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18462 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18468 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18469 then :
18470 case "x$with_vulkan" in
18471 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18472 xno) ;;
18473 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18474 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18475 esac
18480 if test "x${GCC}" = "xyes"
18481 then
18482 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18484 saved_CFLAGS=$CFLAGS
18485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18486 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18487 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18488 then :
18489 printf %s "(cached) " >&6
18490 else $as_nop
18491 ac_wine_try_cflags_saved=$CFLAGS
18492 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18494 /* end confdefs.h. */
18495 int main(int argc, char **argv) { return 0; }
18496 _ACEOF
18497 if ac_fn_c_try_link "$LINENO"
18498 then :
18499 ac_cv_cflags__Werror_unknown_warning_option=yes
18500 else $as_nop
18501 ac_cv_cflags__Werror_unknown_warning_option=no
18503 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18504 conftest$ac_exeext conftest.$ac_ext
18505 CFLAGS=$ac_wine_try_cflags_saved
18507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18508 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18509 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18510 then :
18511 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18514 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18515 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18516 then :
18517 printf %s "(cached) " >&6
18518 else $as_nop
18519 ac_wine_try_cflags_saved=$CFLAGS
18520 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18522 /* end confdefs.h. */
18523 int main(int argc, char **argv) { return 0; }
18524 _ACEOF
18525 if ac_fn_c_try_link "$LINENO"
18526 then :
18527 ac_cv_cflags__Werror_unused_command_line_argument=yes
18528 else $as_nop
18529 ac_cv_cflags__Werror_unused_command_line_argument=no
18531 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18532 conftest$ac_exeext conftest.$ac_ext
18533 CFLAGS=$ac_wine_try_cflags_saved
18535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18536 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18537 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18538 then :
18539 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18542 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18543 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18544 then :
18545 printf %s "(cached) " >&6
18546 else $as_nop
18547 ac_wine_try_cflags_saved=$CFLAGS
18548 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18550 /* end confdefs.h. */
18551 int main(int argc, char **argv) { return 0; }
18552 _ACEOF
18553 if ac_fn_c_try_link "$LINENO"
18554 then :
18555 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18556 else $as_nop
18557 ac_cv_cflags__Werror_ignored_optimization_argument=no
18559 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18560 conftest$ac_exeext conftest.$ac_ext
18561 CFLAGS=$ac_wine_try_cflags_saved
18563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18564 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18565 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18566 then :
18567 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18570 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18571 if test ${ac_cv_cflags__fcf_protection_none+y}
18572 then :
18573 printf %s "(cached) " >&6
18574 else $as_nop
18575 ac_wine_try_cflags_saved=$CFLAGS
18576 CFLAGS="$CFLAGS -fcf-protection=none"
18577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18578 /* end confdefs.h. */
18579 int main(int argc, char **argv) { return 0; }
18580 _ACEOF
18581 if ac_fn_c_try_link "$LINENO"
18582 then :
18583 ac_cv_cflags__fcf_protection_none=yes
18584 else $as_nop
18585 ac_cv_cflags__fcf_protection_none=no
18587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18588 conftest$ac_exeext conftest.$ac_ext
18589 CFLAGS=$ac_wine_try_cflags_saved
18591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18592 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18593 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18594 then :
18595 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18598 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18599 if test ${ac_cv_cflags__fno_stack_protector+y}
18600 then :
18601 printf %s "(cached) " >&6
18602 else $as_nop
18603 ac_wine_try_cflags_saved=$CFLAGS
18604 CFLAGS="$CFLAGS -fno-stack-protector"
18605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18606 /* end confdefs.h. */
18607 int main(int argc, char **argv) { return 0; }
18608 _ACEOF
18609 if ac_fn_c_try_link "$LINENO"
18610 then :
18611 ac_cv_cflags__fno_stack_protector=yes
18612 else $as_nop
18613 ac_cv_cflags__fno_stack_protector=no
18615 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18616 conftest$ac_exeext conftest.$ac_ext
18617 CFLAGS=$ac_wine_try_cflags_saved
18619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18620 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18621 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18622 then :
18623 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18626 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18627 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18628 then :
18629 printf %s "(cached) " >&6
18630 else $as_nop
18631 ac_wine_try_cflags_saved=$CFLAGS
18632 CFLAGS="$CFLAGS -fno-strict-aliasing"
18633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18634 /* end confdefs.h. */
18635 int main(int argc, char **argv) { return 0; }
18636 _ACEOF
18637 if ac_fn_c_try_link "$LINENO"
18638 then :
18639 ac_cv_cflags__fno_strict_aliasing=yes
18640 else $as_nop
18641 ac_cv_cflags__fno_strict_aliasing=no
18643 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18644 conftest$ac_exeext conftest.$ac_ext
18645 CFLAGS=$ac_wine_try_cflags_saved
18647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18648 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18649 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18650 then :
18651 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18654 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18655 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18656 then :
18657 printf %s "(cached) " >&6
18658 else $as_nop
18659 ac_wine_try_cflags_saved=$CFLAGS
18660 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18662 /* end confdefs.h. */
18663 int main(int argc, char **argv) { return 0; }
18664 _ACEOF
18665 if ac_fn_c_try_link "$LINENO"
18666 then :
18667 ac_cv_cflags__Wdeclaration_after_statement=yes
18668 else $as_nop
18669 ac_cv_cflags__Wdeclaration_after_statement=no
18671 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18672 conftest$ac_exeext conftest.$ac_ext
18673 CFLAGS=$ac_wine_try_cflags_saved
18675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18676 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18677 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18678 then :
18679 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18682 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18683 if test ${ac_cv_cflags__Wempty_body+y}
18684 then :
18685 printf %s "(cached) " >&6
18686 else $as_nop
18687 ac_wine_try_cflags_saved=$CFLAGS
18688 CFLAGS="$CFLAGS -Wempty-body"
18689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18690 /* end confdefs.h. */
18691 int main(int argc, char **argv) { return 0; }
18692 _ACEOF
18693 if ac_fn_c_try_link "$LINENO"
18694 then :
18695 ac_cv_cflags__Wempty_body=yes
18696 else $as_nop
18697 ac_cv_cflags__Wempty_body=no
18699 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18700 conftest$ac_exeext conftest.$ac_ext
18701 CFLAGS=$ac_wine_try_cflags_saved
18703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18704 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18705 if test "x$ac_cv_cflags__Wempty_body" = xyes
18706 then :
18707 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18710 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18711 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18712 then :
18713 printf %s "(cached) " >&6
18714 else $as_nop
18715 ac_wine_try_cflags_saved=$CFLAGS
18716 CFLAGS="$CFLAGS -Wignored-qualifiers"
18717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18718 /* end confdefs.h. */
18719 int main(int argc, char **argv) { return 0; }
18720 _ACEOF
18721 if ac_fn_c_try_link "$LINENO"
18722 then :
18723 ac_cv_cflags__Wignored_qualifiers=yes
18724 else $as_nop
18725 ac_cv_cflags__Wignored_qualifiers=no
18727 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18728 conftest$ac_exeext conftest.$ac_ext
18729 CFLAGS=$ac_wine_try_cflags_saved
18731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18732 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18733 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18734 then :
18735 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18738 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18739 if test ${ac_cv_cflags__Winit_self+y}
18740 then :
18741 printf %s "(cached) " >&6
18742 else $as_nop
18743 ac_wine_try_cflags_saved=$CFLAGS
18744 CFLAGS="$CFLAGS -Winit-self"
18745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18746 /* end confdefs.h. */
18747 int main(int argc, char **argv) { return 0; }
18748 _ACEOF
18749 if ac_fn_c_try_link "$LINENO"
18750 then :
18751 ac_cv_cflags__Winit_self=yes
18752 else $as_nop
18753 ac_cv_cflags__Winit_self=no
18755 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18756 conftest$ac_exeext conftest.$ac_ext
18757 CFLAGS=$ac_wine_try_cflags_saved
18759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18760 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18761 if test "x$ac_cv_cflags__Winit_self" = xyes
18762 then :
18763 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18766 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18767 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18768 then :
18769 printf %s "(cached) " >&6
18770 else $as_nop
18771 ac_wine_try_cflags_saved=$CFLAGS
18772 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18774 /* end confdefs.h. */
18775 int main(int argc, char **argv) { return 0; }
18776 _ACEOF
18777 if ac_fn_c_try_link "$LINENO"
18778 then :
18779 ac_cv_cflags__Wpacked_not_aligned=yes
18780 else $as_nop
18781 ac_cv_cflags__Wpacked_not_aligned=no
18783 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18784 conftest$ac_exeext conftest.$ac_ext
18785 CFLAGS=$ac_wine_try_cflags_saved
18787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18788 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18789 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18790 then :
18791 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18794 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18795 if test ${ac_cv_cflags__Wpragma_pack+y}
18796 then :
18797 printf %s "(cached) " >&6
18798 else $as_nop
18799 ac_wine_try_cflags_saved=$CFLAGS
18800 CFLAGS="$CFLAGS -Wpragma-pack"
18801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18802 /* end confdefs.h. */
18803 int main(int argc, char **argv) { return 0; }
18804 _ACEOF
18805 if ac_fn_c_try_link "$LINENO"
18806 then :
18807 ac_cv_cflags__Wpragma_pack=yes
18808 else $as_nop
18809 ac_cv_cflags__Wpragma_pack=no
18811 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18812 conftest$ac_exeext conftest.$ac_ext
18813 CFLAGS=$ac_wine_try_cflags_saved
18815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18816 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18817 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18818 then :
18819 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18822 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18823 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18824 then :
18825 printf %s "(cached) " >&6
18826 else $as_nop
18827 ac_wine_try_cflags_saved=$CFLAGS
18828 CFLAGS="$CFLAGS -Wshift-overflow=2"
18829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18830 /* end confdefs.h. */
18831 int main(int argc, char **argv) { return 0; }
18832 _ACEOF
18833 if ac_fn_c_try_link "$LINENO"
18834 then :
18835 ac_cv_cflags__Wshift_overflow_2=yes
18836 else $as_nop
18837 ac_cv_cflags__Wshift_overflow_2=no
18839 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18840 conftest$ac_exeext conftest.$ac_ext
18841 CFLAGS=$ac_wine_try_cflags_saved
18843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18844 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18845 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18846 then :
18847 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18850 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18851 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18852 then :
18853 printf %s "(cached) " >&6
18854 else $as_nop
18855 ac_wine_try_cflags_saved=$CFLAGS
18856 CFLAGS="$CFLAGS -Wstrict-prototypes"
18857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18858 /* end confdefs.h. */
18859 int main(int argc, char **argv) { return 0; }
18860 _ACEOF
18861 if ac_fn_c_try_link "$LINENO"
18862 then :
18863 ac_cv_cflags__Wstrict_prototypes=yes
18864 else $as_nop
18865 ac_cv_cflags__Wstrict_prototypes=no
18867 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18868 conftest$ac_exeext conftest.$ac_ext
18869 CFLAGS=$ac_wine_try_cflags_saved
18871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18872 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18873 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18874 then :
18875 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18878 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18879 if test ${ac_cv_cflags__Wtype_limits+y}
18880 then :
18881 printf %s "(cached) " >&6
18882 else $as_nop
18883 ac_wine_try_cflags_saved=$CFLAGS
18884 CFLAGS="$CFLAGS -Wtype-limits"
18885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18886 /* end confdefs.h. */
18887 int main(int argc, char **argv) { return 0; }
18888 _ACEOF
18889 if ac_fn_c_try_link "$LINENO"
18890 then :
18891 ac_cv_cflags__Wtype_limits=yes
18892 else $as_nop
18893 ac_cv_cflags__Wtype_limits=no
18895 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18896 conftest$ac_exeext conftest.$ac_ext
18897 CFLAGS=$ac_wine_try_cflags_saved
18899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18900 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18901 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18902 then :
18903 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18906 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18907 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18908 then :
18909 printf %s "(cached) " >&6
18910 else $as_nop
18911 ac_wine_try_cflags_saved=$CFLAGS
18912 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18914 /* end confdefs.h. */
18915 int main(int argc, char **argv) { return 0; }
18916 _ACEOF
18917 if ac_fn_c_try_link "$LINENO"
18918 then :
18919 ac_cv_cflags__Wunused_but_set_parameter=yes
18920 else $as_nop
18921 ac_cv_cflags__Wunused_but_set_parameter=no
18923 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18924 conftest$ac_exeext conftest.$ac_ext
18925 CFLAGS=$ac_wine_try_cflags_saved
18927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18928 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18929 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18930 then :
18931 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18934 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18935 if test ${ac_cv_cflags__Wvla+y}
18936 then :
18937 printf %s "(cached) " >&6
18938 else $as_nop
18939 ac_wine_try_cflags_saved=$CFLAGS
18940 CFLAGS="$CFLAGS -Wvla"
18941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18942 /* end confdefs.h. */
18943 int main(int argc, char **argv) { return 0; }
18944 _ACEOF
18945 if ac_fn_c_try_link "$LINENO"
18946 then :
18947 ac_cv_cflags__Wvla=yes
18948 else $as_nop
18949 ac_cv_cflags__Wvla=no
18951 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18952 conftest$ac_exeext conftest.$ac_ext
18953 CFLAGS=$ac_wine_try_cflags_saved
18955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18956 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18957 if test "x$ac_cv_cflags__Wvla" = xyes
18958 then :
18959 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18962 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18963 if test ${ac_cv_cflags__Wwrite_strings+y}
18964 then :
18965 printf %s "(cached) " >&6
18966 else $as_nop
18967 ac_wine_try_cflags_saved=$CFLAGS
18968 CFLAGS="$CFLAGS -Wwrite-strings"
18969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18970 /* end confdefs.h. */
18971 int main(int argc, char **argv) { return 0; }
18972 _ACEOF
18973 if ac_fn_c_try_link "$LINENO"
18974 then :
18975 ac_cv_cflags__Wwrite_strings=yes
18976 else $as_nop
18977 ac_cv_cflags__Wwrite_strings=no
18979 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18980 conftest$ac_exeext conftest.$ac_ext
18981 CFLAGS=$ac_wine_try_cflags_saved
18983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18984 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18985 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18986 then :
18987 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18991 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18992 if test ${ac_cv_cflags__Wpointer_arith+y}
18993 then :
18994 printf %s "(cached) " >&6
18995 else $as_nop
18996 ac_wine_try_cflags_saved=$CFLAGS
18997 CFLAGS="$CFLAGS -Wpointer-arith"
18998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18999 /* end confdefs.h. */
19000 int main(int argc, char **argv) { return 0; }
19001 _ACEOF
19002 if ac_fn_c_try_link "$LINENO"
19003 then :
19004 ac_cv_cflags__Wpointer_arith=yes
19005 else $as_nop
19006 ac_cv_cflags__Wpointer_arith=no
19008 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19009 conftest$ac_exeext conftest.$ac_ext
19010 CFLAGS=$ac_wine_try_cflags_saved
19012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19013 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19014 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19015 then :
19016 saved_string_h_CFLAGS=$CFLAGS
19017 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19019 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19020 if test ${ac_cv_c_string_h_warnings+y}
19021 then :
19022 printf %s "(cached) " >&6
19023 else $as_nop
19024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19025 /* end confdefs.h. */
19026 #include <string.h>
19028 main (void)
19032 return 0;
19034 _ACEOF
19035 if ac_fn_c_try_compile "$LINENO"
19036 then :
19037 ac_cv_c_string_h_warnings=no
19038 else $as_nop
19039 ac_cv_c_string_h_warnings=yes
19041 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19044 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19045 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19046 CFLAGS=$saved_string_h_CFLAGS
19049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19050 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19051 if test ${ac_cv_cflags__Wlogical_op+y}
19052 then :
19053 printf %s "(cached) " >&6
19054 else $as_nop
19055 ac_wine_try_cflags_saved=$CFLAGS
19056 CFLAGS="$CFLAGS -Wlogical-op"
19057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19058 /* end confdefs.h. */
19059 int main(int argc, char **argv) { return 0; }
19060 _ACEOF
19061 if ac_fn_c_try_link "$LINENO"
19062 then :
19063 ac_cv_cflags__Wlogical_op=yes
19064 else $as_nop
19065 ac_cv_cflags__Wlogical_op=no
19067 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19068 conftest$ac_exeext conftest.$ac_ext
19069 CFLAGS=$ac_wine_try_cflags_saved
19071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19072 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19073 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19074 then :
19075 saved_string_h_CFLAGS=$CFLAGS
19076 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19078 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19079 if test ${ac_cv_c_logicalop_noisy+y}
19080 then :
19081 printf %s "(cached) " >&6
19082 else $as_nop
19083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19084 /* end confdefs.h. */
19085 #include <string.h>
19086 char*f(const char *h,char n) {return strchr(h,n);}
19088 main (void)
19092 return 0;
19094 _ACEOF
19095 if ac_fn_c_try_compile "$LINENO"
19096 then :
19097 ac_cv_c_logicalop_noisy=no
19098 else $as_nop
19099 ac_cv_c_logicalop_noisy=yes
19101 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19104 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19105 CFLAGS=$saved_string_h_CFLAGS
19106 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19110 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19111 if test ${wine_cv_64bit_compare_swap+y}
19112 then :
19113 printf %s "(cached) " >&6
19114 else $as_nop
19115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19116 /* end confdefs.h. */
19117 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19118 #error no
19119 #endif
19121 main (void)
19125 return 0;
19127 _ACEOF
19128 if ac_fn_c_try_compile "$LINENO"
19129 then :
19130 wine_cv_64bit_compare_swap="none needed"
19131 else $as_nop
19132 case $host_cpu in
19133 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19134 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19135 *) wine_cv_64bit_compare_swap="unknown" ;;
19136 esac
19137 if test "x$wine_cv_64bit_compare_swap" != xunknown
19138 then
19139 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19141 /* end confdefs.h. */
19142 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19143 #error no
19144 #endif
19146 main (void)
19150 return 0;
19152 _ACEOF
19153 if ac_fn_c_try_compile "$LINENO"
19154 then :
19156 else $as_nop
19157 wine_cv_64bit_compare_swap="unknown"
19159 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19160 CFLAGS=$saved_CFLAGS
19163 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19166 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19167 case "$wine_cv_64bit_compare_swap" in
19168 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19169 "none needed") ;;
19170 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19171 esac
19173 ac_debug_format_seen=""
19174 for ac_flag in $CFLAGS; do
19175 case $ac_flag in
19176 -gdwarf*) ac_debug_format_seen=yes ;;
19177 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19178 esac
19179 done
19180 if test "x$ac_debug_format_seen" = xdefault
19181 then
19182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19183 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19184 if test ${ac_cv_cflags__gdwarf_4+y}
19185 then :
19186 printf %s "(cached) " >&6
19187 else $as_nop
19188 ac_wine_try_cflags_saved=$CFLAGS
19189 CFLAGS="$CFLAGS -gdwarf-4"
19190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19191 /* end confdefs.h. */
19192 int main(int argc, char **argv) { return 0; }
19193 _ACEOF
19194 if ac_fn_c_try_link "$LINENO"
19195 then :
19196 ac_cv_cflags__gdwarf_4=yes
19197 else $as_nop
19198 ac_cv_cflags__gdwarf_4=no
19200 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19201 conftest$ac_exeext conftest.$ac_ext
19202 CFLAGS=$ac_wine_try_cflags_saved
19204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19205 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19206 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19207 then :
19208 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19212 MSVCRTFLAGS=""
19214 case $host_os in
19215 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19216 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19217 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19218 then :
19219 printf %s "(cached) " >&6
19220 else $as_nop
19221 ac_wine_try_cflags_saved=$CFLAGS
19222 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19224 /* end confdefs.h. */
19225 int main(int argc, char **argv) { return 0; }
19226 _ACEOF
19227 if ac_fn_c_try_link "$LINENO"
19228 then :
19229 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19230 else $as_nop
19231 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19233 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19234 conftest$ac_exeext conftest.$ac_ext
19235 CFLAGS=$ac_wine_try_cflags_saved
19237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19238 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19239 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19240 then :
19241 DELAYLOADFLAG="-Wl,-delayload,"
19243 fi ;;
19244 *) MSVCRTFLAGS="-D_WIN32"
19245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19246 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19247 if test ${ac_cv_cflags__fno_builtin+y}
19248 then :
19249 printf %s "(cached) " >&6
19250 else $as_nop
19251 ac_wine_try_cflags_saved=$CFLAGS
19252 CFLAGS="$CFLAGS -fno-builtin"
19253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19254 /* end confdefs.h. */
19255 int main(int argc, char **argv) { return 0; }
19256 _ACEOF
19257 if ac_fn_c_try_link "$LINENO"
19258 then :
19259 ac_cv_cflags__fno_builtin=yes
19260 else $as_nop
19261 ac_cv_cflags__fno_builtin=no
19263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19264 conftest$ac_exeext conftest.$ac_ext
19265 CFLAGS=$ac_wine_try_cflags_saved
19267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19268 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19269 if test "x$ac_cv_cflags__fno_builtin" = xyes
19270 then :
19271 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19274 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19275 if test ${ac_cv_cflags__fshort_wchar+y}
19276 then :
19277 printf %s "(cached) " >&6
19278 else $as_nop
19279 ac_wine_try_cflags_saved=$CFLAGS
19280 CFLAGS="$CFLAGS -fshort-wchar"
19281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19282 /* end confdefs.h. */
19283 int main(int argc, char **argv) { return 0; }
19284 _ACEOF
19285 if ac_fn_c_try_link "$LINENO"
19286 then :
19287 ac_cv_cflags__fshort_wchar=yes
19288 else $as_nop
19289 ac_cv_cflags__fshort_wchar=no
19291 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19292 conftest$ac_exeext conftest.$ac_ext
19293 CFLAGS=$ac_wine_try_cflags_saved
19295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19296 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19297 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19298 then :
19299 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19302 printf %s "checking whether the compiler supports -fvisibility=hidden... " >&6; }
19303 if test ${ac_cv_cflags__fvisibility_hidden+y}
19304 then :
19305 printf %s "(cached) " >&6
19306 else $as_nop
19307 ac_wine_try_cflags_saved=$CFLAGS
19308 CFLAGS="$CFLAGS -fvisibility=hidden"
19309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19310 /* end confdefs.h. */
19311 int main(int argc, char **argv) { return 0; }
19312 _ACEOF
19313 if ac_fn_c_try_link "$LINENO"
19314 then :
19315 ac_cv_cflags__fvisibility_hidden=yes
19316 else $as_nop
19317 ac_cv_cflags__fvisibility_hidden=no
19319 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19320 conftest$ac_exeext conftest.$ac_ext
19321 CFLAGS=$ac_wine_try_cflags_saved
19323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19324 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19325 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19326 then :
19327 MSVCRTFLAGS="$MSVCRTFLAGS -fvisibility=hidden"
19329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19330 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19331 if test ${ac_cv_cflags__Wno_format+y}
19332 then :
19333 printf %s "(cached) " >&6
19334 else $as_nop
19335 ac_wine_try_cflags_saved=$CFLAGS
19336 CFLAGS="$CFLAGS -Wno-format"
19337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19338 /* end confdefs.h. */
19339 int main(int argc, char **argv) { return 0; }
19340 _ACEOF
19341 if ac_fn_c_try_link "$LINENO"
19342 then :
19343 ac_cv_cflags__Wno_format=yes
19344 else $as_nop
19345 ac_cv_cflags__Wno_format=no
19347 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19348 conftest$ac_exeext conftest.$ac_ext
19349 CFLAGS=$ac_wine_try_cflags_saved
19351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19352 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19353 if test "x$ac_cv_cflags__Wno_format" = xyes
19354 then :
19355 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19356 fi ;;
19357 esac
19359 case $host_cpu in
19360 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19361 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19362 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19363 then :
19364 printf %s "(cached) " >&6
19365 else $as_nop
19366 ac_wine_try_cflags_saved=$CFLAGS
19367 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19369 /* end confdefs.h. */
19370 int main(int argc, char **argv) { return 0; }
19371 _ACEOF
19372 if ac_fn_c_try_link "$LINENO"
19373 then :
19374 ac_cv_cflags__fno_omit_frame_pointer=yes
19375 else $as_nop
19376 ac_cv_cflags__fno_omit_frame_pointer=no
19378 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19379 conftest$ac_exeext conftest.$ac_ext
19380 CFLAGS=$ac_wine_try_cflags_saved
19382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19383 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19384 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19385 then :
19386 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19387 fi ;;
19388 *x86_64*)
19389 case $host_os in
19390 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19391 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19392 if test ${ac_cv_cflags__Wno_format+y}
19393 then :
19394 printf %s "(cached) " >&6
19395 else $as_nop
19396 ac_wine_try_cflags_saved=$CFLAGS
19397 CFLAGS="$CFLAGS -Wno-format"
19398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19399 /* end confdefs.h. */
19400 int main(int argc, char **argv) { return 0; }
19401 _ACEOF
19402 if ac_fn_c_try_link "$LINENO"
19403 then :
19404 ac_cv_cflags__Wno_format=yes
19405 else $as_nop
19406 ac_cv_cflags__Wno_format=no
19408 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19409 conftest$ac_exeext conftest.$ac_ext
19410 CFLAGS=$ac_wine_try_cflags_saved
19412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19413 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19414 if test "x$ac_cv_cflags__Wno_format" = xyes
19415 then :
19416 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19417 fi ;;
19418 *) if test -z "$PE_ARCHS"
19419 then
19420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19421 printf %s "checking for working -mabi=ms... " >&6; }
19422 if test ${ac_cv_mabi_ms+y}
19423 then :
19424 printf %s "(cached) " >&6
19425 else $as_nop
19426 CFLAGS="$CFLAGS -mabi=ms"
19427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19428 /* end confdefs.h. */
19429 #include <stdarg.h>
19430 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19432 main (void)
19436 return 0;
19438 _ACEOF
19439 if ac_fn_c_try_compile "$LINENO"
19440 then :
19441 ac_cv_mabi_ms=yes
19442 else $as_nop
19443 ac_cv_mabi_ms=no
19445 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19446 CFLAGS=$saved_CFLAGS
19448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19449 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19450 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
19452 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19453 esac ;;
19454 arm*)
19455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19456 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19457 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19458 then :
19459 printf %s "(cached) " >&6
19460 else $as_nop
19461 ac_wine_try_cflags_saved=$CFLAGS
19462 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19464 /* end confdefs.h. */
19465 int main(int argc, char **argv) { return 0; }
19466 _ACEOF
19467 if ac_fn_c_try_link "$LINENO"
19468 then :
19469 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19470 else $as_nop
19471 ac_cv_cflags__Wincompatible_function_pointer_types=no
19473 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19474 conftest$ac_exeext conftest.$ac_ext
19475 CFLAGS=$ac_wine_try_cflags_saved
19477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19478 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19479 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19480 then :
19481 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19482 fi ;;
19483 esac
19485 CFLAGS=$saved_CFLAGS
19487 if test "x$enable_werror" = "xyes"
19488 then
19489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19490 printf %s "checking whether the compiler supports -Werror... " >&6; }
19491 if test ${ac_cv_cflags__Werror+y}
19492 then :
19493 printf %s "(cached) " >&6
19494 else $as_nop
19495 ac_wine_try_cflags_saved=$CFLAGS
19496 CFLAGS="$CFLAGS -Werror"
19497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19498 /* end confdefs.h. */
19499 int main(int argc, char **argv) { return 0; }
19500 _ACEOF
19501 if ac_fn_c_try_link "$LINENO"
19502 then :
19503 ac_cv_cflags__Werror=yes
19504 else $as_nop
19505 ac_cv_cflags__Werror=no
19507 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19508 conftest$ac_exeext conftest.$ac_ext
19509 CFLAGS=$ac_wine_try_cflags_saved
19511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19512 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19513 if test "x$ac_cv_cflags__Werror" = xyes
19514 then :
19515 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19518 if test "x$enable_build_id" = "xyes"
19519 then
19520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19521 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19522 if test ${ac_cv_cflags__Wl___build_id+y}
19523 then :
19524 printf %s "(cached) " >&6
19525 else $as_nop
19526 ac_wine_try_cflags_saved=$CFLAGS
19527 CFLAGS="$CFLAGS -Wl,--build-id"
19528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19529 /* end confdefs.h. */
19530 int main(int argc, char **argv) { return 0; }
19531 _ACEOF
19532 if ac_fn_c_try_link "$LINENO"
19533 then :
19534 ac_cv_cflags__Wl___build_id=yes
19535 else $as_nop
19536 ac_cv_cflags__Wl___build_id=no
19538 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19539 conftest$ac_exeext conftest.$ac_ext
19540 CFLAGS=$ac_wine_try_cflags_saved
19542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19543 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19544 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19545 then :
19546 CFLAGS="$CFLAGS -Wl,--build-id"
19547 LDFLAGS="$LDFLAGS -Wl,--build-id"
19553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19554 printf %s "checking for the need to disable Fortify... " >&6; }
19555 if test ${ac_cv_c_fortify_enabled+y}
19556 then :
19557 printf %s "(cached) " >&6
19558 else $as_nop
19559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19560 /* end confdefs.h. */
19561 #include <string.h>
19563 main (void)
19565 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19566 #error Fortify enabled
19567 #endif
19569 return 0;
19571 _ACEOF
19572 if ac_fn_c_try_compile "$LINENO"
19573 then :
19574 ac_cv_c_fortify_enabled=no
19575 else $as_nop
19576 ac_cv_c_fortify_enabled=yes
19578 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19581 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19582 if test "$ac_cv_c_fortify_enabled" = yes
19583 then
19584 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19589 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19590 if test ${ac_cv_c_cfi_support+y}
19591 then :
19592 printf %s "(cached) " >&6
19593 else $as_nop
19594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19595 /* end confdefs.h. */
19596 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19598 main (void)
19602 return 0;
19604 _ACEOF
19605 if ac_fn_c_try_compile "$LINENO"
19606 then :
19607 ac_cv_c_cfi_support="yes"
19608 else $as_nop
19609 ac_cv_c_cfi_support="no"
19611 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19614 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19615 if test "$ac_cv_c_cfi_support" = "yes"
19616 then
19617 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19618 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19619 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19620 elif test $HOST_ARCH = x86_64
19621 then
19622 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19626 case "$HOST_ARCH,$PE_ARCHS" in
19627 x86_64,*i386*) wine_binary="wine" ;;
19628 x86_64,*) wine_binary="wine64" ;;
19629 *) wine_binary="wine" ;;
19630 esac
19631 WINELOADER_PROGRAMS="$wine_binary"
19634 case $host_os in
19635 linux*)
19636 case $host_cpu in
19637 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19638 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19639 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19641 esac
19643 darwin*|macosx*)
19644 if test "$wine_can_build_preloader" = "yes"
19645 then
19646 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19647 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19650 esac
19653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19654 printf %s "checking for library containing dlopen... " >&6; }
19655 if test ${ac_cv_search_dlopen+y}
19656 then :
19657 printf %s "(cached) " >&6
19658 else $as_nop
19659 ac_func_search_save_LIBS=$LIBS
19660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19661 /* end confdefs.h. */
19663 /* Override any GCC internal prototype to avoid an error.
19664 Use char because int might match the return type of a GCC
19665 builtin and then its argument prototype would still apply. */
19666 char dlopen ();
19668 main (void)
19670 return dlopen ();
19672 return 0;
19674 _ACEOF
19675 for ac_lib in '' dl
19677 if test -z "$ac_lib"; then
19678 ac_res="none required"
19679 else
19680 ac_res=-l$ac_lib
19681 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19683 if ac_fn_c_try_link "$LINENO"
19684 then :
19685 ac_cv_search_dlopen=$ac_res
19687 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19688 conftest$ac_exeext
19689 if test ${ac_cv_search_dlopen+y}
19690 then :
19691 break
19693 done
19694 if test ${ac_cv_search_dlopen+y}
19695 then :
19697 else $as_nop
19698 ac_cv_search_dlopen=no
19700 rm conftest.$ac_ext
19701 LIBS=$ac_func_search_save_LIBS
19703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19704 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19705 ac_res=$ac_cv_search_dlopen
19706 if test "$ac_res" != no
19707 then :
19708 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19714 printf %s "checking for library containing gethostbyname... " >&6; }
19715 if test ${ac_cv_search_gethostbyname+y}
19716 then :
19717 printf %s "(cached) " >&6
19718 else $as_nop
19719 ac_func_search_save_LIBS=$LIBS
19720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19721 /* end confdefs.h. */
19723 /* Override any GCC internal prototype to avoid an error.
19724 Use char because int might match the return type of a GCC
19725 builtin and then its argument prototype would still apply. */
19726 char gethostbyname ();
19728 main (void)
19730 return gethostbyname ();
19732 return 0;
19734 _ACEOF
19735 for ac_lib in '' nsl
19737 if test -z "$ac_lib"; then
19738 ac_res="none required"
19739 else
19740 ac_res=-l$ac_lib
19741 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19743 if ac_fn_c_try_link "$LINENO"
19744 then :
19745 ac_cv_search_gethostbyname=$ac_res
19747 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19748 conftest$ac_exeext
19749 if test ${ac_cv_search_gethostbyname+y}
19750 then :
19751 break
19753 done
19754 if test ${ac_cv_search_gethostbyname+y}
19755 then :
19757 else $as_nop
19758 ac_cv_search_gethostbyname=no
19760 rm conftest.$ac_ext
19761 LIBS=$ac_func_search_save_LIBS
19763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19764 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19765 ac_res=$ac_cv_search_gethostbyname
19766 if test "$ac_res" != no
19767 then :
19768 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19774 printf %s "checking for library containing connect... " >&6; }
19775 if test ${ac_cv_search_connect+y}
19776 then :
19777 printf %s "(cached) " >&6
19778 else $as_nop
19779 ac_func_search_save_LIBS=$LIBS
19780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19781 /* end confdefs.h. */
19783 /* Override any GCC internal prototype to avoid an error.
19784 Use char because int might match the return type of a GCC
19785 builtin and then its argument prototype would still apply. */
19786 char connect ();
19788 main (void)
19790 return connect ();
19792 return 0;
19794 _ACEOF
19795 for ac_lib in '' socket
19797 if test -z "$ac_lib"; then
19798 ac_res="none required"
19799 else
19800 ac_res=-l$ac_lib
19801 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19803 if ac_fn_c_try_link "$LINENO"
19804 then :
19805 ac_cv_search_connect=$ac_res
19807 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19808 conftest$ac_exeext
19809 if test ${ac_cv_search_connect+y}
19810 then :
19811 break
19813 done
19814 if test ${ac_cv_search_connect+y}
19815 then :
19817 else $as_nop
19818 ac_cv_search_connect=no
19820 rm conftest.$ac_ext
19821 LIBS=$ac_func_search_save_LIBS
19823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19824 printf "%s\n" "$ac_cv_search_connect" >&6; }
19825 ac_res=$ac_cv_search_connect
19826 if test "$ac_res" != no
19827 then :
19828 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19834 printf %s "checking for library containing inet_aton... " >&6; }
19835 if test ${ac_cv_search_inet_aton+y}
19836 then :
19837 printf %s "(cached) " >&6
19838 else $as_nop
19839 ac_func_search_save_LIBS=$LIBS
19840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19841 /* end confdefs.h. */
19843 /* Override any GCC internal prototype to avoid an error.
19844 Use char because int might match the return type of a GCC
19845 builtin and then its argument prototype would still apply. */
19846 char inet_aton ();
19848 main (void)
19850 return inet_aton ();
19852 return 0;
19854 _ACEOF
19855 for ac_lib in '' resolv
19857 if test -z "$ac_lib"; then
19858 ac_res="none required"
19859 else
19860 ac_res=-l$ac_lib
19861 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19863 if ac_fn_c_try_link "$LINENO"
19864 then :
19865 ac_cv_search_inet_aton=$ac_res
19867 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19868 conftest$ac_exeext
19869 if test ${ac_cv_search_inet_aton+y}
19870 then :
19871 break
19873 done
19874 if test ${ac_cv_search_inet_aton+y}
19875 then :
19877 else $as_nop
19878 ac_cv_search_inet_aton=no
19880 rm conftest.$ac_ext
19881 LIBS=$ac_func_search_save_LIBS
19883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19884 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19885 ac_res=$ac_cv_search_inet_aton
19886 if test "$ac_res" != no
19887 then :
19888 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19893 ac_save_CFLAGS="$CFLAGS"
19894 CFLAGS="$CFLAGS $BUILTINFLAG"
19895 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19896 if test "x$ac_cv_func_dladdr1" = xyes
19897 then :
19898 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19901 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19902 if test "x$ac_cv_func_dlinfo" = xyes
19903 then :
19904 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19907 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19908 if test "x$ac_cv_func_epoll_create" = xyes
19909 then :
19910 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19913 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19914 if test "x$ac_cv_func_fstatfs" = xyes
19915 then :
19916 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19919 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19920 if test "x$ac_cv_func_futimens" = xyes
19921 then :
19922 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19925 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19926 if test "x$ac_cv_func_futimes" = xyes
19927 then :
19928 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19931 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19932 if test "x$ac_cv_func_futimesat" = xyes
19933 then :
19934 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19937 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19938 if test "x$ac_cv_func_getaddrinfo" = xyes
19939 then :
19940 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19943 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19944 if test "x$ac_cv_func_getattrlist" = xyes
19945 then :
19946 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19949 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19950 if test "x$ac_cv_func_getauxval" = xyes
19951 then :
19952 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19955 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19956 if test "x$ac_cv_func_getifaddrs" = xyes
19957 then :
19958 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19961 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19962 if test "x$ac_cv_func_getrandom" = xyes
19963 then :
19964 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19967 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19968 if test "x$ac_cv_func_kqueue" = xyes
19969 then :
19970 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19973 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19974 if test "x$ac_cv_func_mach_continuous_time" = xyes
19975 then :
19976 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19979 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19980 if test "x$ac_cv_func_pipe2" = xyes
19981 then :
19982 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19985 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19986 if test "x$ac_cv_func_port_create" = xyes
19987 then :
19988 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19991 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19992 if test "x$ac_cv_func_posix_fadvise" = xyes
19993 then :
19994 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19997 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19998 if test "x$ac_cv_func_posix_fallocate" = xyes
19999 then :
20000 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20003 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
20004 if test "x$ac_cv_func_prctl" = xyes
20005 then :
20006 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20009 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20010 if test "x$ac_cv_func_proc_pidinfo" = xyes
20011 then :
20012 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20015 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20016 if test "x$ac_cv_func_sched_yield" = xyes
20017 then :
20018 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20021 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20022 if test "x$ac_cv_func_setproctitle" = xyes
20023 then :
20024 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20027 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
20028 if test "x$ac_cv_func_setprogname" = xyes
20029 then :
20030 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20033 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20034 if test "x$ac_cv_func_sigprocmask" = xyes
20035 then :
20036 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20039 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20040 if test "x$ac_cv_func_sysinfo" = xyes
20041 then :
20042 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20045 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20046 if test "x$ac_cv_func_tcdrain" = xyes
20047 then :
20048 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20051 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20052 if test "x$ac_cv_func_thr_kill2" = xyes
20053 then :
20054 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20058 CFLAGS="$ac_save_CFLAGS"
20060 case $host_os in
20061 darwin*|macosx*) ;;
20062 *) ac_save_LIBS=$LIBS
20063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20064 printf %s "checking for library containing clock_gettime... " >&6; }
20065 if test ${ac_cv_search_clock_gettime+y}
20066 then :
20067 printf %s "(cached) " >&6
20068 else $as_nop
20069 ac_func_search_save_LIBS=$LIBS
20070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20071 /* end confdefs.h. */
20073 /* Override any GCC internal prototype to avoid an error.
20074 Use char because int might match the return type of a GCC
20075 builtin and then its argument prototype would still apply. */
20076 char clock_gettime ();
20078 main (void)
20080 return clock_gettime ();
20082 return 0;
20084 _ACEOF
20085 for ac_lib in '' rt
20087 if test -z "$ac_lib"; then
20088 ac_res="none required"
20089 else
20090 ac_res=-l$ac_lib
20091 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20093 if ac_fn_c_try_link "$LINENO"
20094 then :
20095 ac_cv_search_clock_gettime=$ac_res
20097 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20098 conftest$ac_exeext
20099 if test ${ac_cv_search_clock_gettime+y}
20100 then :
20101 break
20103 done
20104 if test ${ac_cv_search_clock_gettime+y}
20105 then :
20107 else $as_nop
20108 ac_cv_search_clock_gettime=no
20110 rm conftest.$ac_ext
20111 LIBS=$ac_func_search_save_LIBS
20113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20114 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20115 ac_res=$ac_cv_search_clock_gettime
20116 if test "$ac_res" != no
20117 then :
20118 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20120 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20122 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20126 LIBS=$ac_save_LIBS
20128 esac
20130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20131 printf %s "checking for sched_setaffinity... " >&6; }
20132 if test ${wine_cv_have_sched_setaffinity+y}
20133 then :
20134 printf %s "(cached) " >&6
20135 else $as_nop
20136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20137 /* end confdefs.h. */
20138 #include <sched.h>
20140 main (void)
20142 sched_setaffinity(0, 0, 0);
20144 return 0;
20146 _ACEOF
20147 if ac_fn_c_try_link "$LINENO"
20148 then :
20149 wine_cv_have_sched_setaffinity=yes
20150 else $as_nop
20151 wine_cv_have_sched_setaffinity=no
20153 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20154 conftest$ac_exeext conftest.$ac_ext
20156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20157 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20158 if test "$wine_cv_have_sched_setaffinity" = "yes"
20159 then
20161 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20167 printf %s "checking for inline... " >&6; }
20168 if test ${ac_cv_c_inline+y}
20169 then :
20170 printf %s "(cached) " >&6
20171 else $as_nop
20172 ac_cv_c_inline=no
20173 for ac_kw in inline __inline__ __inline; do
20174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20175 /* end confdefs.h. */
20176 #ifndef __cplusplus
20177 typedef int foo_t;
20178 static $ac_kw foo_t static_foo (void) {return 0; }
20179 $ac_kw foo_t foo (void) {return 0; }
20180 #endif
20182 _ACEOF
20183 if ac_fn_c_try_compile "$LINENO"
20184 then :
20185 ac_cv_c_inline=$ac_kw
20187 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20188 test "$ac_cv_c_inline" != no && break
20189 done
20192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20193 printf "%s\n" "$ac_cv_c_inline" >&6; }
20195 case $ac_cv_c_inline in
20196 inline | yes) ;;
20198 case $ac_cv_c_inline in
20199 no) ac_val=;;
20200 *) ac_val=$ac_cv_c_inline;;
20201 esac
20202 cat >>confdefs.h <<_ACEOF
20203 #ifndef __cplusplus
20204 #define inline $ac_val
20205 #endif
20206 _ACEOF
20208 esac
20210 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20212 if test "x$ac_cv_type_request_sense" = xyes
20213 then :
20215 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20221 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20222 #include <sys/socket.h>
20223 #ifdef HAVE_SYS_SOCKETVAR_H
20224 #include <sys/socketvar.h>
20225 #endif
20226 #ifdef HAVE_NET_ROUTE_H
20227 #include <net/route.h>
20228 #endif
20229 #ifdef HAVE_NETINET_IN_H
20230 #include <netinet/in.h>
20231 #endif
20232 #ifdef HAVE_NETINET_IN_SYSTM_H
20233 #include <netinet/in_systm.h>
20234 #endif
20235 #ifdef HAVE_NETINET_IP_H
20236 #include <netinet/ip.h>
20237 #endif
20238 #ifdef HAVE_NETINET_IN_PCB_H
20239 #include <netinet/in_pcb.h>
20240 #endif
20242 if test "x$ac_cv_type_struct_xinpgen" = xyes
20243 then :
20245 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20252 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20253 if test ${wine_cv_linux_gethostbyname_r_6+y}
20254 then :
20255 printf %s "(cached) " >&6
20256 else $as_nop
20257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20258 /* end confdefs.h. */
20259 #include <netdb.h>
20261 main (void)
20264 char *name=0;
20265 struct hostent he;
20266 struct hostent *result;
20267 char *buf=0;
20268 int bufsize=0;
20269 int errnr;
20270 char *addr=0;
20271 int addrlen=0;
20272 int addrtype=0;
20273 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20274 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20277 return 0;
20279 _ACEOF
20280 if ac_fn_c_try_link "$LINENO"
20281 then :
20282 wine_cv_linux_gethostbyname_r_6=yes
20283 else $as_nop
20284 wine_cv_linux_gethostbyname_r_6=no
20287 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20288 conftest$ac_exeext conftest.$ac_ext
20291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20292 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20293 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20294 then
20296 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20300 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20301 #include <sys/socket.h>
20302 #ifdef HAVE_SYS_UN_H
20303 # include <sys/un.h>
20304 #endif
20306 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20307 then :
20309 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20313 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20314 #include <sys/socket.h>
20315 #ifdef HAVE_SYS_UN_H
20316 # include <sys/un.h>
20317 #endif
20319 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20320 then :
20322 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20328 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20329 #ifdef HAVE_SCSI_SG_H
20330 #include <scsi/sg.h>
20331 #endif
20333 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20334 then :
20336 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20340 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>
20341 #ifdef HAVE_SCSI_SG_H
20342 #include <scsi/sg.h>
20343 #endif
20345 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20346 then :
20348 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20354 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20356 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20357 then :
20359 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20365 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20366 #ifdef HAVE_SYS_MTIO_H
20367 #include <sys/mtio.h>
20368 #endif
20370 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20371 then :
20373 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20377 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20378 #ifdef HAVE_SYS_MTIO_H
20379 #include <sys/mtio.h>
20380 #endif
20382 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20383 then :
20385 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20389 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20390 #ifdef HAVE_SYS_MTIO_H
20391 #include <sys/mtio.h>
20392 #endif
20394 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20395 then :
20397 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20403 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20404 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20405 then :
20407 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20411 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20412 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20413 then :
20415 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20419 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20420 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20421 then :
20423 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20427 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20428 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20429 then :
20431 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20435 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20436 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20437 then :
20439 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20443 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20444 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20445 then :
20447 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20451 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20452 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20453 then :
20455 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20459 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20460 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20461 then :
20463 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20467 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20468 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20469 then :
20471 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20475 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20476 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20477 then :
20479 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20483 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20484 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20485 then :
20487 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20493 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>
20494 #ifdef HAVE_NETINET_IN_H
20495 #include <netinet/in.h>
20496 #endif
20498 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20499 then :
20501 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20507 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
20508 #include <resolv.h>
20509 #endif
20511 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20512 then :
20514 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20520 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20521 #include <netinet/in.h>
20522 #endif
20524 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20525 then :
20527 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20533 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20534 #ifdef HAVE_SYS_SOCKETVAR_H
20535 #include <sys/socketvar.h>
20536 #endif
20537 #ifdef HAVE_NETINET_IN_H
20538 #include <netinet/in.h>
20539 #endif
20540 #ifdef HAVE_NETINET_IP_VAR_H
20541 #include <netinet/ip_var.h>
20542 #endif
20544 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20545 then :
20547 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20553 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
20554 #include <netinet/ip_var.h>
20555 #endif
20557 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20558 then :
20560 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20566 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20567 #ifdef HAVE_SYS_SOCKETVAR_H
20568 #include <sys/socketvar.h>
20569 #endif
20570 #ifdef HAVE_NETINET_IN_H
20571 #include <netinet/in.h>
20572 #endif
20573 #ifdef HAVE_NETINET6_IP6_VAR_H
20574 #include <netinet6/ip6_var.h>
20575 #endif
20577 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20578 then :
20580 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20586 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20587 #ifdef HAVE_SYS_SOCKETVAR_H
20588 #include <sys/socketvar.h>
20589 #endif
20590 #ifdef HAVE_NETINET_IN_H
20591 #include <netinet/in.h>
20592 #endif
20593 #ifdef HAVE_NETINET_IP_H
20594 #include <netinet/ip.h>
20595 #endif
20596 #ifdef HAVE_NETINET_IP_ICMP_H
20597 #include <netinet/ip_icmp.h>
20598 #endif
20599 #ifdef HAVE_NETINET_ICMP_VAR_H
20600 #include <netinet/icmp_var.h>
20601 #endif
20603 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20604 then :
20606 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20612 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20613 #ifdef HAVE_SYS_SOCKETVAR_H
20614 #include <sys/socketvar.h>
20615 #endif
20616 #ifdef HAVE_NETINET_IN_H
20617 #include <netinet/in.h>
20618 #endif
20619 #ifdef HAVE_NETINET_ICMP6_H
20620 #include <netinet/icmp6.h>
20621 #endif
20623 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20624 then :
20626 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20632 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20633 #ifdef HAVE_SYS_SOCKETVAR_H
20634 #include <sys/socketvar.h>
20635 #endif
20636 #ifdef HAVE_NETINET_IN_H
20637 #include <netinet/in.h>
20638 #endif
20639 #ifdef HAVE_NETINET_TCP_H
20640 #include <netinet/tcp.h>
20641 #endif
20642 #ifdef HAVE_NETINET_TCP_VAR_H
20643 #include <netinet/tcp_var.h>
20644 #endif
20646 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20647 then :
20649 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20655 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
20656 #include <netinet/tcp_var.h>
20657 #endif
20659 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20660 then :
20662 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20668 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20669 #ifdef HAVE_NETINET_IN_H
20670 #include <netinet/in.h>
20671 #endif
20672 #ifdef HAVE_NETINET_IP_VAR_H
20673 #include <netinet/ip_var.h>
20674 #endif
20675 #ifdef HAVE_NETINET_UDP_H
20676 #include <netinet/udp.h>
20677 #endif
20678 #ifdef HAVE_NETINET_UDP_VAR_H
20679 #include <netinet/udp_var.h>
20680 #endif
20682 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20683 then :
20685 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20691 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20692 #ifdef HAVE_NET_IF_H
20693 # include <net/if.h>
20694 #endif
20696 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20697 then :
20699 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20705 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20706 # include <sys/sysinfo.h>
20707 #endif
20709 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20710 then :
20712 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20716 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20717 # include <sys/sysinfo.h>
20718 #endif
20720 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20721 then :
20723 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20729 LIBS="$ac_save_LIBS"
20731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20732 printf %s "checking for __builtin_popcount... " >&6; }
20733 if test ${ac_cv_have___builtin_popcount+y}
20734 then :
20735 printf %s "(cached) " >&6
20736 else $as_nop
20737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20738 /* end confdefs.h. */
20741 main (void)
20743 return __builtin_popcount(1)
20745 return 0;
20747 _ACEOF
20748 if ac_fn_c_try_link "$LINENO"
20749 then :
20750 ac_cv_have___builtin_popcount="yes"
20751 else $as_nop
20752 ac_cv_have___builtin_popcount="no"
20754 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20755 conftest$ac_exeext conftest.$ac_ext
20757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20758 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20759 if test "$ac_cv_have___builtin_popcount" = "yes"
20760 then
20762 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20767 printf %s "checking for __clear_cache... " >&6; }
20768 if test ${ac_cv_have___clear_cache+y}
20769 then :
20770 printf %s "(cached) " >&6
20771 else $as_nop
20772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20773 /* end confdefs.h. */
20776 main (void)
20778 __clear_cache((void*)0, (void*)0); return 0;
20780 return 0;
20782 _ACEOF
20783 if ac_fn_c_try_link "$LINENO"
20784 then :
20785 ac_cv_have___clear_cache="yes"
20786 else $as_nop
20787 ac_cv_have___clear_cache="no"
20789 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20790 conftest$ac_exeext conftest.$ac_ext
20792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20793 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20794 if test "$ac_cv_have___clear_cache" = "yes"
20795 then
20797 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20802 case $host_cpu in
20803 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20804 printf %s "checking whether we need to define __i386__... " >&6; }
20805 if test ${ac_cv_cpp_def___i386__+y}
20806 then :
20807 printf %s "(cached) " >&6
20808 else $as_nop
20809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20810 /* end confdefs.h. */
20811 #ifndef __i386__
20813 #endif
20814 _ACEOF
20815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20816 $EGREP "yes" >/dev/null 2>&1
20817 then :
20818 ac_cv_cpp_def___i386__=yes
20819 else $as_nop
20820 ac_cv_cpp_def___i386__=no
20822 rm -rf conftest*
20825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20826 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20827 if test "x$ac_cv_cpp_def___i386__" = xyes
20828 then :
20829 CFLAGS="$CFLAGS -D__i386__"
20830 LINTFLAGS="$LINTFLAGS -D__i386__"
20831 fi ;;
20832 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20833 printf %s "checking whether we need to define __x86_64__... " >&6; }
20834 if test ${ac_cv_cpp_def___x86_64__+y}
20835 then :
20836 printf %s "(cached) " >&6
20837 else $as_nop
20838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20839 /* end confdefs.h. */
20840 #ifndef __x86_64__
20842 #endif
20843 _ACEOF
20844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20845 $EGREP "yes" >/dev/null 2>&1
20846 then :
20847 ac_cv_cpp_def___x86_64__=yes
20848 else $as_nop
20849 ac_cv_cpp_def___x86_64__=no
20851 rm -rf conftest*
20854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20855 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20856 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20857 then :
20858 CFLAGS="$CFLAGS -D__x86_64__"
20859 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20860 fi ;;
20861 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20862 printf %s "checking whether we need to define __sparc64__... " >&6; }
20863 if test ${ac_cv_cpp_def___sparc64__+y}
20864 then :
20865 printf %s "(cached) " >&6
20866 else $as_nop
20867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20868 /* end confdefs.h. */
20869 #ifndef __sparc64__
20871 #endif
20872 _ACEOF
20873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20874 $EGREP "yes" >/dev/null 2>&1
20875 then :
20876 ac_cv_cpp_def___sparc64__=yes
20877 else $as_nop
20878 ac_cv_cpp_def___sparc64__=no
20880 rm -rf conftest*
20883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20884 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20885 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20886 then :
20887 CFLAGS="$CFLAGS -D__sparc64__"
20888 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20889 fi ;;
20890 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20891 printf %s "checking whether we need to define __sparc__... " >&6; }
20892 if test ${ac_cv_cpp_def___sparc__+y}
20893 then :
20894 printf %s "(cached) " >&6
20895 else $as_nop
20896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20897 /* end confdefs.h. */
20898 #ifndef __sparc__
20900 #endif
20901 _ACEOF
20902 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20903 $EGREP "yes" >/dev/null 2>&1
20904 then :
20905 ac_cv_cpp_def___sparc__=yes
20906 else $as_nop
20907 ac_cv_cpp_def___sparc__=no
20909 rm -rf conftest*
20912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20913 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20914 if test "x$ac_cv_cpp_def___sparc__" = xyes
20915 then :
20916 CFLAGS="$CFLAGS -D__sparc__"
20917 LINTFLAGS="$LINTFLAGS -D__sparc__"
20918 fi ;;
20919 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20920 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20921 if test ${ac_cv_cpp_def___powerpc64__+y}
20922 then :
20923 printf %s "(cached) " >&6
20924 else $as_nop
20925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20926 /* end confdefs.h. */
20927 #ifndef __powerpc64__
20929 #endif
20930 _ACEOF
20931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20932 $EGREP "yes" >/dev/null 2>&1
20933 then :
20934 ac_cv_cpp_def___powerpc64__=yes
20935 else $as_nop
20936 ac_cv_cpp_def___powerpc64__=no
20938 rm -rf conftest*
20941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20942 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20943 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20944 then :
20945 CFLAGS="$CFLAGS -D__powerpc64__"
20946 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20947 fi ;;
20948 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20949 printf %s "checking whether we need to define __powerpc__... " >&6; }
20950 if test ${ac_cv_cpp_def___powerpc__+y}
20951 then :
20952 printf %s "(cached) " >&6
20953 else $as_nop
20954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20955 /* end confdefs.h. */
20956 #ifndef __powerpc__
20958 #endif
20959 _ACEOF
20960 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20961 $EGREP "yes" >/dev/null 2>&1
20962 then :
20963 ac_cv_cpp_def___powerpc__=yes
20964 else $as_nop
20965 ac_cv_cpp_def___powerpc__=no
20967 rm -rf conftest*
20970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20971 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20972 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20973 then :
20974 CFLAGS="$CFLAGS -D__powerpc__"
20975 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20976 fi ;;
20977 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20978 printf %s "checking whether we need to define __aarch64__... " >&6; }
20979 if test ${ac_cv_cpp_def___aarch64__+y}
20980 then :
20981 printf %s "(cached) " >&6
20982 else $as_nop
20983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20984 /* end confdefs.h. */
20985 #ifndef __aarch64__
20987 #endif
20988 _ACEOF
20989 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20990 $EGREP "yes" >/dev/null 2>&1
20991 then :
20992 ac_cv_cpp_def___aarch64__=yes
20993 else $as_nop
20994 ac_cv_cpp_def___aarch64__=no
20996 rm -rf conftest*
20999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21000 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21001 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21002 then :
21003 CFLAGS="$CFLAGS -D__aarch64__"
21004 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21005 fi ;;
21006 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21007 printf %s "checking whether we need to define __arm__... " >&6; }
21008 if test ${ac_cv_cpp_def___arm__+y}
21009 then :
21010 printf %s "(cached) " >&6
21011 else $as_nop
21012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21013 /* end confdefs.h. */
21014 #ifndef __arm__
21016 #endif
21017 _ACEOF
21018 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21019 $EGREP "yes" >/dev/null 2>&1
21020 then :
21021 ac_cv_cpp_def___arm__=yes
21022 else $as_nop
21023 ac_cv_cpp_def___arm__=no
21025 rm -rf conftest*
21028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21029 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21030 if test "x$ac_cv_cpp_def___arm__" = xyes
21031 then :
21032 CFLAGS="$CFLAGS -D__arm__"
21033 LINTFLAGS="$LINTFLAGS -D__arm__"
21034 fi ;;
21035 esac
21037 case $host_vendor in
21038 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21039 printf %s "checking whether we need to define __sun__... " >&6; }
21040 if test ${ac_cv_cpp_def___sun__+y}
21041 then :
21042 printf %s "(cached) " >&6
21043 else $as_nop
21044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21045 /* end confdefs.h. */
21046 #ifndef __sun__
21048 #endif
21049 _ACEOF
21050 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21051 $EGREP "yes" >/dev/null 2>&1
21052 then :
21053 ac_cv_cpp_def___sun__=yes
21054 else $as_nop
21055 ac_cv_cpp_def___sun__=no
21057 rm -rf conftest*
21060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21061 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21062 if test "x$ac_cv_cpp_def___sun__" = xyes
21063 then :
21064 CFLAGS="$CFLAGS -D__sun__"
21065 LINTFLAGS="$LINTFLAGS -D__sun__"
21066 fi ;;
21067 esac
21073 ac_config_commands="$ac_config_commands include/stamp-h"
21075 printf %s "creating Makefile rules..." >&6
21077 makedep_flags=""
21078 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21080 wine_srcdir=
21081 test "$srcdir" = . || wine_srcdir="$srcdir/"
21083 ac_config_links="$ac_config_links wine:tools/winewrapper"
21084 wine_fn_config_symlink wine
21085 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
21086 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21087 wine_fn_config_symlink wine64
21090 wine_fn_config_makefile dlls/acledit enable_acledit
21091 wine_fn_config_makefile dlls/aclui enable_aclui
21092 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21093 wine_fn_config_makefile dlls/activeds enable_activeds
21094 wine_fn_config_makefile dlls/activeds/tests enable_tests
21095 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21096 wine_fn_config_makefile dlls/adsldp enable_adsldp
21097 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21098 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21099 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21100 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21101 wine_fn_config_makefile dlls/advpack enable_advpack
21102 wine_fn_config_makefile dlls/advpack/tests enable_tests
21103 wine_fn_config_makefile dlls/amsi enable_amsi
21104 wine_fn_config_makefile dlls/amstream enable_amstream
21105 wine_fn_config_makefile dlls/amstream/tests enable_tests
21106 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21107 wine_fn_config_makefile dlls/apphelp enable_apphelp
21108 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21109 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21110 wine_fn_config_makefile dlls/atl enable_atl
21111 wine_fn_config_makefile dlls/atl/tests enable_tests
21112 wine_fn_config_makefile dlls/atl100 enable_atl100
21113 wine_fn_config_makefile dlls/atl100/tests enable_tests
21114 wine_fn_config_makefile dlls/atl110 enable_atl110
21115 wine_fn_config_makefile dlls/atl110/tests enable_tests
21116 wine_fn_config_makefile dlls/atl80 enable_atl80
21117 wine_fn_config_makefile dlls/atl80/tests enable_tests
21118 wine_fn_config_makefile dlls/atl90 enable_atl90
21119 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21120 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21121 wine_fn_config_makefile dlls/atmlib enable_atmlib
21122 wine_fn_config_makefile dlls/authz enable_authz
21123 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21124 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21125 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21126 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21127 wine_fn_config_makefile dlls/avrt enable_avrt
21128 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21129 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21130 wine_fn_config_makefile dlls/bcryptprimitives enable_bcryptprimitives
21131 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21132 wine_fn_config_makefile dlls/browseui enable_browseui
21133 wine_fn_config_makefile dlls/browseui/tests enable_tests
21134 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21135 wine_fn_config_makefile dlls/cabinet enable_cabinet
21136 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21137 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21138 wine_fn_config_makefile dlls/cards enable_cards
21139 wine_fn_config_makefile dlls/cdosys enable_cdosys
21140 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21141 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21142 wine_fn_config_makefile dlls/clusapi enable_clusapi
21143 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21144 wine_fn_config_makefile dlls/combase enable_combase
21145 wine_fn_config_makefile dlls/combase/tests enable_tests
21146 wine_fn_config_makefile dlls/comcat enable_comcat
21147 wine_fn_config_makefile dlls/comcat/tests enable_tests
21148 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21149 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21150 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21151 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21152 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21153 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21154 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21155 wine_fn_config_makefile dlls/compstui enable_compstui
21156 wine_fn_config_makefile dlls/compstui/tests enable_tests
21157 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21158 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21159 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21160 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21161 wine_fn_config_makefile dlls/connect enable_connect
21162 wine_fn_config_makefile dlls/credui enable_credui
21163 wine_fn_config_makefile dlls/credui/tests enable_tests
21164 wine_fn_config_makefile dlls/crtdll enable_crtdll
21165 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21166 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21167 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21168 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21169 wine_fn_config_makefile dlls/cryptext enable_cryptext
21170 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21171 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21172 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21173 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21174 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21175 wine_fn_config_makefile dlls/cryptui enable_cryptui
21176 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21177 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21178 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21179 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21180 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21181 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21182 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21183 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21184 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21185 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21186 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21187 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21188 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21189 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21190 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21191 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21192 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21193 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21194 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21195 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21196 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21197 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21198 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21199 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21200 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21201 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21202 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21203 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21204 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21205 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21206 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21207 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21208 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21209 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21210 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21211 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21212 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21213 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21214 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21215 wine_fn_config_makefile dlls/d3dim enable_d3dim
21216 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21217 wine_fn_config_makefile dlls/d3drm enable_d3drm
21218 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21219 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21220 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21221 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21222 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21223 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21224 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21225 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21226 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21227 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21228 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21229 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21230 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21231 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21232 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21233 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21234 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21235 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21236 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21237 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21238 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21239 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21240 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21241 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21242 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21243 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21244 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21245 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21246 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21247 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21248 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21249 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21250 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21251 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21252 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21253 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21254 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21255 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21256 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21257 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21258 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21259 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21260 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21261 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21262 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21263 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21264 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21265 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21266 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21267 wine_fn_config_makefile dlls/davclnt enable_davclnt
21268 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21269 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21270 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21271 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21272 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21273 wine_fn_config_makefile dlls/dcomp enable_dcomp
21274 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21275 wine_fn_config_makefile dlls/ddraw enable_ddraw
21276 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21277 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21278 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21279 wine_fn_config_makefile dlls/devenum enable_devenum
21280 wine_fn_config_makefile dlls/devenum/tests enable_tests
21281 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21282 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21283 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21284 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21285 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21286 wine_fn_config_makefile dlls/difxapi enable_difxapi
21287 wine_fn_config_makefile dlls/dinput enable_dinput
21288 wine_fn_config_makefile dlls/dinput/tests enable_tests
21289 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21290 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21291 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21292 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21293 wine_fn_config_makefile dlls/dispex enable_dispex
21294 wine_fn_config_makefile dlls/dispex/tests enable_tests
21295 wine_fn_config_makefile dlls/display.drv16 enable_win16
21296 wine_fn_config_makefile dlls/dmband enable_dmband
21297 wine_fn_config_makefile dlls/dmband/tests enable_tests
21298 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21299 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21300 wine_fn_config_makefile dlls/dmime enable_dmime
21301 wine_fn_config_makefile dlls/dmime/tests enable_tests
21302 wine_fn_config_makefile dlls/dmloader enable_dmloader
21303 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21304 wine_fn_config_makefile dlls/dmscript enable_dmscript
21305 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21306 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21307 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21308 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21309 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21310 wine_fn_config_makefile dlls/dmusic enable_dmusic
21311 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21312 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21313 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21314 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21315 wine_fn_config_makefile dlls/dplay enable_dplay
21316 wine_fn_config_makefile dlls/dplayx enable_dplayx
21317 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21318 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21319 wine_fn_config_makefile dlls/dpnet enable_dpnet
21320 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21321 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21322 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21323 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21324 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21325 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21326 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21327 wine_fn_config_makefile dlls/drmclien enable_drmclien
21328 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21329 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21330 wine_fn_config_makefile dlls/dsound enable_dsound
21331 wine_fn_config_makefile dlls/dsound/tests enable_tests
21332 wine_fn_config_makefile dlls/dsquery enable_dsquery
21333 wine_fn_config_makefile dlls/dssenh enable_dssenh
21334 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21335 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21336 wine_fn_config_makefile dlls/dswave enable_dswave
21337 wine_fn_config_makefile dlls/dswave/tests enable_tests
21338 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21339 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21340 wine_fn_config_makefile dlls/dwrite enable_dwrite
21341 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21342 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21343 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21344 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21345 wine_fn_config_makefile dlls/dxgi enable_dxgi
21346 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21347 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21348 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21349 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21350 wine_fn_config_makefile dlls/esent enable_esent
21351 wine_fn_config_makefile dlls/evr enable_evr
21352 wine_fn_config_makefile dlls/evr/tests enable_tests
21353 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21354 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21355 wine_fn_config_makefile dlls/faultrep enable_faultrep
21356 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21357 wine_fn_config_makefile dlls/feclient enable_feclient
21358 wine_fn_config_makefile dlls/fltlib enable_fltlib
21359 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21360 wine_fn_config_makefile dlls/fntcache enable_fntcache
21361 wine_fn_config_makefile dlls/fontsub enable_fontsub
21362 wine_fn_config_makefile dlls/fusion enable_fusion
21363 wine_fn_config_makefile dlls/fusion/tests enable_tests
21364 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21365 wine_fn_config_makefile dlls/gameux enable_gameux
21366 wine_fn_config_makefile dlls/gameux/tests enable_tests
21367 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21368 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21369 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21370 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21371 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21372 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21373 wine_fn_config_makefile dlls/geolocation enable_geolocation
21374 wine_fn_config_makefile dlls/geolocation/tests enable_tests
21375 wine_fn_config_makefile dlls/glu32 enable_glu32
21376 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21377 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21378 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
21379 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
21380 wine_fn_config_makefile dlls/hal enable_hal
21381 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21382 wine_fn_config_makefile dlls/hid enable_hid
21383 wine_fn_config_makefile dlls/hid/tests enable_tests
21384 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21385 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21386 wine_fn_config_makefile dlls/hlink enable_hlink
21387 wine_fn_config_makefile dlls/hlink/tests enable_tests
21388 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21389 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21390 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
21391 wine_fn_config_makefile dlls/http.sys enable_http_sys
21392 wine_fn_config_makefile dlls/httpapi enable_httpapi
21393 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21394 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21395 wine_fn_config_makefile dlls/iccvid enable_iccvid
21396 wine_fn_config_makefile dlls/icmp enable_icmp
21397 wine_fn_config_makefile dlls/ieframe enable_ieframe
21398 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21399 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21400 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21401 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21402 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21403 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21404 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21405 wine_fn_config_makefile dlls/imm32 enable_imm32
21406 wine_fn_config_makefile dlls/imm32/tests enable_tests
21407 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21408 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21409 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21410 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21411 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21412 wine_fn_config_makefile dlls/infosoft enable_infosoft
21413 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21414 wine_fn_config_makefile dlls/initpki enable_initpki
21415 wine_fn_config_makefile dlls/inkobj enable_inkobj
21416 wine_fn_config_makefile dlls/inseng enable_inseng
21417 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21418 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21419 wine_fn_config_makefile dlls/iprop enable_iprop
21420 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21421 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21422 wine_fn_config_makefile dlls/itircl enable_itircl
21423 wine_fn_config_makefile dlls/itss enable_itss
21424 wine_fn_config_makefile dlls/itss/tests enable_tests
21425 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21426 wine_fn_config_makefile dlls/jscript enable_jscript
21427 wine_fn_config_makefile dlls/jscript/tests enable_tests
21428 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21429 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21430 wine_fn_config_makefile dlls/kerberos enable_kerberos
21431 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21432 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21433 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21434 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21435 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21436 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21437 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21438 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21439 wine_fn_config_makefile dlls/ksuser enable_ksuser
21440 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21441 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21442 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21443 wine_fn_config_makefile dlls/loadperf enable_loadperf
21444 wine_fn_config_makefile dlls/localspl enable_localspl
21445 wine_fn_config_makefile dlls/localspl/tests enable_tests
21446 wine_fn_config_makefile dlls/localui enable_localui
21447 wine_fn_config_makefile dlls/localui/tests enable_tests
21448 wine_fn_config_makefile dlls/lz32 enable_lz32
21449 wine_fn_config_makefile dlls/lz32/tests enable_tests
21450 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21451 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21452 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21453 wine_fn_config_makefile dlls/mapistub enable_mapistub
21454 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21455 wine_fn_config_makefile dlls/mcicda enable_mcicda
21456 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21457 wine_fn_config_makefile dlls/mciseq enable_mciseq
21458 wine_fn_config_makefile dlls/mciwave enable_mciwave
21459 wine_fn_config_makefile dlls/mf enable_mf
21460 wine_fn_config_makefile dlls/mf/tests enable_tests
21461 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21462 wine_fn_config_makefile dlls/mferror enable_mferror
21463 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21464 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21465 wine_fn_config_makefile dlls/mfplat enable_mfplat
21466 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21467 wine_fn_config_makefile dlls/mfplay enable_mfplay
21468 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21469 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21470 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21471 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21472 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21473 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21474 wine_fn_config_makefile dlls/midimap enable_midimap
21475 wine_fn_config_makefile dlls/mlang enable_mlang
21476 wine_fn_config_makefile dlls/mlang/tests enable_tests
21477 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21478 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21479 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21480 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21481 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21482 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21483 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21484 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21485 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21486 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21487 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21488 wine_fn_config_makefile dlls/mpr enable_mpr
21489 wine_fn_config_makefile dlls/mpr/tests enable_tests
21490 wine_fn_config_makefile dlls/mprapi enable_mprapi
21491 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21492 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21493 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21494 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21495 wine_fn_config_makefile dlls/msado15 enable_msado15
21496 wine_fn_config_makefile dlls/msado15/tests enable_tests
21497 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21498 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21499 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21500 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21501 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21502 wine_fn_config_makefile dlls/mscms enable_mscms
21503 wine_fn_config_makefile dlls/mscms/tests enable_tests
21504 wine_fn_config_makefile dlls/mscoree enable_mscoree
21505 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21506 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21507 wine_fn_config_makefile dlls/msctf enable_msctf
21508 wine_fn_config_makefile dlls/msctf/tests enable_tests
21509 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21510 wine_fn_config_makefile dlls/msctfp enable_msctfp
21511 wine_fn_config_makefile dlls/msdaps enable_msdaps
21512 wine_fn_config_makefile dlls/msdasql enable_msdasql
21513 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21514 wine_fn_config_makefile dlls/msdelta enable_msdelta
21515 wine_fn_config_makefile dlls/msdmo enable_msdmo
21516 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21517 wine_fn_config_makefile dlls/msdrm enable_msdrm
21518 wine_fn_config_makefile dlls/msftedit enable_msftedit
21519 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21520 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21521 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21522 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21523 wine_fn_config_makefile dlls/mshtml enable_mshtml
21524 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21525 wine_fn_config_makefile dlls/msi enable_msi
21526 wine_fn_config_makefile dlls/msi/tests enable_tests
21527 wine_fn_config_makefile dlls/msident enable_msident
21528 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21529 wine_fn_config_makefile dlls/msimsg enable_msimsg
21530 wine_fn_config_makefile dlls/msimtf enable_msimtf
21531 wine_fn_config_makefile dlls/msisip enable_msisip
21532 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21533 wine_fn_config_makefile dlls/msls31 enable_msls31
21534 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21535 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21536 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21537 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21538 wine_fn_config_makefile dlls/msports enable_msports
21539 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21540 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21541 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21542 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21543 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21544 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21545 wine_fn_config_makefile dlls/mstask enable_mstask
21546 wine_fn_config_makefile dlls/mstask/tests enable_tests
21547 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21548 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21549 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21550 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21551 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21552 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21553 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21554 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21555 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21556 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21557 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21558 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21559 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21560 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21561 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21562 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21563 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21564 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21565 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21566 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21567 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21568 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21569 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21570 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21571 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21572 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21573 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21574 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21575 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21576 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21577 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21578 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21579 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21580 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21581 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21582 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21583 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21584 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21585 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21586 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21587 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21588 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21589 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21590 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21591 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21592 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21593 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21594 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21595 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21596 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21597 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21598 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21599 wine_fn_config_makefile dlls/mswsock enable_mswsock
21600 wine_fn_config_makefile dlls/msxml enable_msxml
21601 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21602 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21603 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21604 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21605 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21606 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21607 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21608 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21609 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21610 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21611 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21612 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21613 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21614 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21615 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21616 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21617 wine_fn_config_makefile dlls/netprofm enable_netprofm
21618 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21619 wine_fn_config_makefile dlls/netutils enable_netutils
21620 wine_fn_config_makefile dlls/newdev enable_newdev
21621 wine_fn_config_makefile dlls/ninput enable_ninput
21622 wine_fn_config_makefile dlls/ninput/tests enable_tests
21623 wine_fn_config_makefile dlls/normaliz enable_normaliz
21624 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21625 wine_fn_config_makefile dlls/npptools enable_npptools
21626 wine_fn_config_makefile dlls/nsi enable_nsi
21627 wine_fn_config_makefile dlls/nsi/tests enable_tests
21628 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21629 wine_fn_config_makefile dlls/ntdll enable_ntdll
21630 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21631 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21632 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21633 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21634 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21635 wine_fn_config_makefile dlls/ntprint enable_ntprint
21636 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21637 wine_fn_config_makefile dlls/objsel enable_objsel
21638 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21639 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21640 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21641 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21642 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21643 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21644 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21645 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21646 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21647 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21648 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21649 wine_fn_config_makefile dlls/ole32 enable_ole32
21650 wine_fn_config_makefile dlls/ole32/tests enable_tests
21651 wine_fn_config_makefile dlls/oleacc enable_oleacc
21652 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21653 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21654 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21655 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21656 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21657 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21658 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21659 wine_fn_config_makefile dlls/oledlg enable_oledlg
21660 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21661 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21662 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21663 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21664 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21665 wine_fn_config_makefile dlls/opcservices enable_opcservices
21666 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21667 wine_fn_config_makefile dlls/opencl enable_opencl
21668 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21669 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21670 wine_fn_config_makefile dlls/packager enable_packager
21671 wine_fn_config_makefile dlls/packager/tests enable_tests
21672 wine_fn_config_makefile dlls/pdh enable_pdh
21673 wine_fn_config_makefile dlls/pdh/tests enable_tests
21674 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21675 wine_fn_config_makefile dlls/pidgen enable_pidgen
21676 wine_fn_config_makefile dlls/powrprof enable_powrprof
21677 wine_fn_config_makefile dlls/printui enable_printui
21678 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21679 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21680 wine_fn_config_makefile dlls/propsys enable_propsys
21681 wine_fn_config_makefile dlls/propsys/tests enable_tests
21682 wine_fn_config_makefile dlls/psapi enable_psapi
21683 wine_fn_config_makefile dlls/psapi/tests enable_tests
21684 wine_fn_config_makefile dlls/pstorec enable_pstorec
21685 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21686 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21687 wine_fn_config_makefile dlls/qasf enable_qasf
21688 wine_fn_config_makefile dlls/qasf/tests enable_tests
21689 wine_fn_config_makefile dlls/qcap enable_qcap
21690 wine_fn_config_makefile dlls/qcap/tests enable_tests
21691 wine_fn_config_makefile dlls/qdvd enable_qdvd
21692 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21693 wine_fn_config_makefile dlls/qedit enable_qedit
21694 wine_fn_config_makefile dlls/qedit/tests enable_tests
21695 wine_fn_config_makefile dlls/qmgr enable_qmgr
21696 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21697 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21698 wine_fn_config_makefile dlls/quartz enable_quartz
21699 wine_fn_config_makefile dlls/quartz/tests enable_tests
21700 wine_fn_config_makefile dlls/query enable_query
21701 wine_fn_config_makefile dlls/qwave enable_qwave
21702 wine_fn_config_makefile dlls/qwave/tests enable_tests
21703 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21704 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21705 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21706 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21707 wine_fn_config_makefile dlls/regapi enable_regapi
21708 wine_fn_config_makefile dlls/resutils enable_resutils
21709 wine_fn_config_makefile dlls/riched20 enable_riched20
21710 wine_fn_config_makefile dlls/riched20/tests enable_tests
21711 wine_fn_config_makefile dlls/riched32 enable_riched32
21712 wine_fn_config_makefile dlls/riched32/tests enable_tests
21713 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21714 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21715 wine_fn_config_makefile dlls/rsabase enable_rsabase
21716 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21717 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21718 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21719 wine_fn_config_makefile dlls/rtutils enable_rtutils
21720 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21721 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21722 wine_fn_config_makefile dlls/samlib enable_samlib
21723 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21724 wine_fn_config_makefile dlls/sapi enable_sapi
21725 wine_fn_config_makefile dlls/sapi/tests enable_tests
21726 wine_fn_config_makefile dlls/sas enable_sas
21727 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21728 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21729 wine_fn_config_makefile dlls/sccbase enable_sccbase
21730 wine_fn_config_makefile dlls/schannel enable_schannel
21731 wine_fn_config_makefile dlls/schannel/tests enable_tests
21732 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21733 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21734 wine_fn_config_makefile dlls/scrobj enable_scrobj
21735 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21736 wine_fn_config_makefile dlls/scrrun enable_scrrun
21737 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21738 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21739 wine_fn_config_makefile dlls/sechost enable_sechost
21740 wine_fn_config_makefile dlls/secur32 enable_secur32
21741 wine_fn_config_makefile dlls/secur32/tests enable_tests
21742 wine_fn_config_makefile dlls/security enable_security
21743 wine_fn_config_makefile dlls/sensapi enable_sensapi
21744 wine_fn_config_makefile dlls/serialui enable_serialui
21745 wine_fn_config_makefile dlls/serialui/tests enable_tests
21746 wine_fn_config_makefile dlls/setupapi enable_setupapi
21747 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21748 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21749 wine_fn_config_makefile dlls/sfc enable_sfc
21750 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21751 wine_fn_config_makefile dlls/shcore enable_shcore
21752 wine_fn_config_makefile dlls/shcore/tests enable_tests
21753 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21754 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21755 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21756 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21757 wine_fn_config_makefile dlls/shell32 enable_shell32
21758 wine_fn_config_makefile dlls/shell32/tests enable_tests
21759 wine_fn_config_makefile dlls/shfolder enable_shfolder
21760 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21761 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21762 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21763 wine_fn_config_makefile dlls/slc enable_slc
21764 wine_fn_config_makefile dlls/slc/tests enable_tests
21765 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21766 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21767 wine_fn_config_makefile dlls/softpub enable_softpub
21768 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21769 wine_fn_config_makefile dlls/spoolss enable_spoolss
21770 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21771 wine_fn_config_makefile dlls/sppc enable_sppc
21772 wine_fn_config_makefile dlls/srclient enable_srclient
21773 wine_fn_config_makefile dlls/srvcli enable_srvcli
21774 wine_fn_config_makefile dlls/sspicli enable_sspicli
21775 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21776 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21777 wine_fn_config_makefile dlls/sti enable_sti
21778 wine_fn_config_makefile dlls/sti/tests enable_tests
21779 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21780 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21781 wine_fn_config_makefile dlls/strmdll enable_strmdll
21782 wine_fn_config_makefile dlls/svrapi enable_svrapi
21783 wine_fn_config_makefile dlls/sxs enable_sxs
21784 wine_fn_config_makefile dlls/sxs/tests enable_tests
21785 wine_fn_config_makefile dlls/system.drv16 enable_win16
21786 wine_fn_config_makefile dlls/t2embed enable_t2embed
21787 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21788 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21789 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21790 wine_fn_config_makefile dlls/taskschd enable_taskschd
21791 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21792 wine_fn_config_makefile dlls/tbs enable_tbs
21793 wine_fn_config_makefile dlls/tdh enable_tdh
21794 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21795 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21796 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21797 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21798 wine_fn_config_makefile dlls/traffic enable_traffic
21799 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21800 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21801 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21802 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
21803 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21804 wine_fn_config_makefile dlls/tzres enable_tzres
21805 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21806 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21807 wine_fn_config_makefile dlls/uianimation enable_uianimation
21808 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21809 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21810 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21811 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21812 wine_fn_config_makefile dlls/unicows enable_unicows
21813 wine_fn_config_makefile dlls/updspapi enable_updspapi
21814 wine_fn_config_makefile dlls/url enable_url
21815 wine_fn_config_makefile dlls/urlmon enable_urlmon
21816 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21817 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21818 wine_fn_config_makefile dlls/user.exe16 enable_win16
21819 wine_fn_config_makefile dlls/user32 enable_user32
21820 wine_fn_config_makefile dlls/user32/tests enable_tests
21821 wine_fn_config_makefile dlls/userenv enable_userenv
21822 wine_fn_config_makefile dlls/userenv/tests enable_tests
21823 wine_fn_config_makefile dlls/usp10 enable_usp10
21824 wine_fn_config_makefile dlls/usp10/tests enable_tests
21825 wine_fn_config_makefile dlls/utildll enable_utildll
21826 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21827 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21828 wine_fn_config_makefile dlls/vbscript enable_vbscript
21829 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21830 wine_fn_config_makefile dlls/vcomp enable_vcomp
21831 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21832 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21833 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21834 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21835 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21836 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21837 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21838 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21839 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21840 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21841 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21842 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21843 wine_fn_config_makefile dlls/version enable_version
21844 wine_fn_config_makefile dlls/version/tests enable_tests
21845 wine_fn_config_makefile dlls/vga enable_vga
21846 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21847 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21848 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21849 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21850 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21851 wine_fn_config_makefile dlls/vssapi enable_vssapi
21852 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21853 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21854 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21855 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21856 wine_fn_config_makefile dlls/w32skrnl enable_win16
21857 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21858 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21859 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21860 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21861 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21862 wine_fn_config_makefile dlls/wdscore enable_wdscore
21863 wine_fn_config_makefile dlls/webservices enable_webservices
21864 wine_fn_config_makefile dlls/webservices/tests enable_tests
21865 wine_fn_config_makefile dlls/websocket enable_websocket
21866 wine_fn_config_makefile dlls/wer enable_wer
21867 wine_fn_config_makefile dlls/wer/tests enable_tests
21868 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21869 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21870 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21871 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21872 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21873 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21874 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21875 wine_fn_config_makefile dlls/win32u enable_win32u
21876 wine_fn_config_makefile dlls/win32u/tests enable_tests
21877 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21878 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21879 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21880 wine_fn_config_makefile dlls/windows.devices.bluetooth enable_windows_devices_bluetooth
21881 wine_fn_config_makefile dlls/windows.devices.bluetooth/tests enable_tests
21882 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21883 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21884 wine_fn_config_makefile dlls/windows.devices.usb enable_windows_devices_usb
21885 wine_fn_config_makefile dlls/windows.devices.usb/tests enable_tests
21886 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21887 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21888 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21889 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21890 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21891 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21892 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21893 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21894 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21895 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21896 wine_fn_config_makefile dlls/windows.media enable_windows_media
21897 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21898 wine_fn_config_makefile dlls/windows.networking.hostname enable_windows_networking_hostname
21899 wine_fn_config_makefile dlls/windows.networking.hostname/tests enable_tests
21900 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21901 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
21902 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
21903 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21904 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21905 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
21906 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
21907 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21908 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21909 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21910 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21911 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21912 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21913 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21914 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21915 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21916 wine_fn_config_makefile dlls/wined3d enable_wined3d
21917 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21918 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21919 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21920 wine_fn_config_makefile dlls/winemapi enable_winemapi
21921 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21922 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21923 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21924 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21925 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21926 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21927 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
21928 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21929 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21930 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21931 wine_fn_config_makefile dlls/wing32 enable_wing32
21932 wine_fn_config_makefile dlls/winhttp enable_winhttp
21933 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21934 wine_fn_config_makefile dlls/wininet enable_wininet
21935 wine_fn_config_makefile dlls/wininet/tests enable_tests
21936 wine_fn_config_makefile dlls/winmm enable_winmm
21937 wine_fn_config_makefile dlls/winmm/tests enable_tests
21938 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21939 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21940 wine_fn_config_makefile dlls/winprint enable_winprint
21941 wine_fn_config_makefile dlls/winscard enable_winscard
21942 wine_fn_config_makefile dlls/winscard/tests enable_tests
21943 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21944 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21945 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21946 wine_fn_config_makefile dlls/winsta enable_winsta
21947 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21948 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21949 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21950 wine_fn_config_makefile dlls/wintrust enable_wintrust
21951 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21952 wine_fn_config_makefile dlls/wintypes enable_wintypes
21953 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21954 wine_fn_config_makefile dlls/winusb enable_winusb
21955 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21956 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21957 wine_fn_config_makefile dlls/wlanui enable_wlanui
21958 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21959 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21960 wine_fn_config_makefile dlls/wmasf enable_wmasf
21961 wine_fn_config_makefile dlls/wmi enable_wmi
21962 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21963 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21964 wine_fn_config_makefile dlls/wmp enable_wmp
21965 wine_fn_config_makefile dlls/wmp/tests enable_tests
21966 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21967 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21968 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21969 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21970 wine_fn_config_makefile dlls/wofutil enable_wofutil
21971 wine_fn_config_makefile dlls/wow32 enable_win16
21972 wine_fn_config_makefile dlls/wow64 enable_wow64
21973 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21974 wine_fn_config_makefile dlls/wow64win enable_wow64win
21975 wine_fn_config_makefile dlls/wpc enable_wpc
21976 wine_fn_config_makefile dlls/wpc/tests enable_tests
21977 wine_fn_config_makefile dlls/wpcap enable_wpcap
21978 wine_fn_config_makefile dlls/wpcap/tests enable_tests
21979 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21980 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21981 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21982 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21983 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21984 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21985 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21986 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21987 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21988 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21989 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21990 wine_fn_config_makefile dlls/wuapi enable_wuapi
21991 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21992 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21993 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21994 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21995 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21996 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21997 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21998 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21999 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22000 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22001 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22002 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22003 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22004 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22005 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22006 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22007 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22008 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22009 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22010 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22011 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22012 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22013 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22014 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22015 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22016 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22017 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22018 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22019 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22020 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22021 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22022 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22023 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22024 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22025 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22026 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22027 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22028 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
22029 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22030 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22031 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22032 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22033 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22034 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22035 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22036 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
22037 wine_fn_config_makefile dlls/xmllite enable_xmllite
22038 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22039 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22040 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22041 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22042 wine_fn_config_makefile fonts enable_fonts
22043 wine_fn_config_makefile include enable_include
22044 wine_fn_config_makefile libs/adsiid enable_adsiid
22045 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22046 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22047 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22048 wine_fn_config_makefile libs/dxguid enable_dxguid
22049 wine_fn_config_makefile libs/faudio enable_faudio
22050 wine_fn_config_makefile libs/gsm enable_gsm
22051 wine_fn_config_makefile libs/jpeg enable_jpeg
22052 wine_fn_config_makefile libs/jxr enable_jxr
22053 wine_fn_config_makefile libs/lcms2 enable_lcms2
22054 wine_fn_config_makefile libs/ldap enable_ldap
22055 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22056 wine_fn_config_makefile libs/mpg123 enable_mpg123
22057 wine_fn_config_makefile libs/musl enable_musl
22058 wine_fn_config_makefile libs/png enable_png
22059 wine_fn_config_makefile libs/strmbase enable_strmbase
22060 wine_fn_config_makefile libs/strmiids enable_strmiids
22061 wine_fn_config_makefile libs/tiff enable_tiff
22062 wine_fn_config_makefile libs/uuid enable_uuid
22063 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22064 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22065 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22066 wine_fn_config_makefile libs/xml2 enable_xml2
22067 wine_fn_config_makefile libs/xslt enable_xslt
22068 wine_fn_config_makefile libs/zlib enable_zlib
22069 wine_fn_config_makefile libs/zydis enable_zydis
22070 wine_fn_config_makefile loader enable_loader
22071 wine_fn_config_makefile nls enable_nls
22072 wine_fn_config_makefile po enable_po
22073 wine_fn_config_makefile programs/arp enable_arp
22074 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22075 wine_fn_config_makefile programs/attrib enable_attrib
22076 wine_fn_config_makefile programs/cabarc enable_cabarc
22077 wine_fn_config_makefile programs/cacls enable_cacls
22078 wine_fn_config_makefile programs/certutil enable_certutil
22079 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22080 wine_fn_config_makefile programs/clock enable_clock
22081 wine_fn_config_makefile programs/cmd enable_cmd
22082 wine_fn_config_makefile programs/cmd/tests enable_tests
22083 wine_fn_config_makefile programs/conhost enable_conhost
22084 wine_fn_config_makefile programs/conhost/tests enable_tests
22085 wine_fn_config_makefile programs/control enable_control
22086 wine_fn_config_makefile programs/cscript enable_cscript
22087 wine_fn_config_makefile programs/dism enable_dism
22088 wine_fn_config_makefile programs/dllhost enable_dllhost
22089 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22090 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22091 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22092 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22093 wine_fn_config_makefile programs/eject enable_eject
22094 wine_fn_config_makefile programs/expand enable_expand
22095 wine_fn_config_makefile programs/explorer enable_explorer
22096 wine_fn_config_makefile programs/explorer/tests enable_tests
22097 wine_fn_config_makefile programs/extrac32 enable_extrac32
22098 wine_fn_config_makefile programs/fc enable_fc
22099 wine_fn_config_makefile programs/find enable_find
22100 wine_fn_config_makefile programs/find/tests enable_tests
22101 wine_fn_config_makefile programs/findstr enable_findstr
22102 wine_fn_config_makefile programs/findstr/tests enable_tests
22103 wine_fn_config_makefile programs/fsutil enable_fsutil
22104 wine_fn_config_makefile programs/fsutil/tests enable_tests
22105 wine_fn_config_makefile programs/hh enable_hh
22106 wine_fn_config_makefile programs/hostname enable_hostname
22107 wine_fn_config_makefile programs/icacls enable_icacls
22108 wine_fn_config_makefile programs/icinfo enable_icinfo
22109 wine_fn_config_makefile programs/iexplore enable_iexplore
22110 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22111 wine_fn_config_makefile programs/klist enable_klist
22112 wine_fn_config_makefile programs/lodctr enable_lodctr
22113 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22114 wine_fn_config_makefile programs/mshta enable_mshta
22115 wine_fn_config_makefile programs/msidb enable_msidb
22116 wine_fn_config_makefile programs/msiexec enable_msiexec
22117 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22118 wine_fn_config_makefile programs/net enable_net
22119 wine_fn_config_makefile programs/netsh enable_netsh
22120 wine_fn_config_makefile programs/netstat enable_netstat
22121 wine_fn_config_makefile programs/ngen enable_ngen
22122 wine_fn_config_makefile programs/notepad enable_notepad
22123 wine_fn_config_makefile programs/oleview enable_oleview
22124 wine_fn_config_makefile programs/ping enable_ping
22125 wine_fn_config_makefile programs/plugplay enable_plugplay
22126 wine_fn_config_makefile programs/pnputil enable_pnputil
22127 wine_fn_config_makefile programs/powershell enable_powershell
22128 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22129 wine_fn_config_makefile programs/progman enable_progman
22130 wine_fn_config_makefile programs/reg enable_reg
22131 wine_fn_config_makefile programs/reg/tests enable_tests
22132 wine_fn_config_makefile programs/regasm enable_regasm
22133 wine_fn_config_makefile programs/regedit enable_regedit
22134 wine_fn_config_makefile programs/regedit/tests enable_tests
22135 wine_fn_config_makefile programs/regini enable_regini
22136 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22137 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22138 wine_fn_config_makefile programs/robocopy enable_robocopy
22139 wine_fn_config_makefile programs/rpcss enable_rpcss
22140 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22141 wine_fn_config_makefile programs/rundll32 enable_rundll32
22142 wine_fn_config_makefile programs/sc enable_sc
22143 wine_fn_config_makefile programs/sc/tests enable_tests
22144 wine_fn_config_makefile programs/schtasks enable_schtasks
22145 wine_fn_config_makefile programs/schtasks/tests enable_tests
22146 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22147 wine_fn_config_makefile programs/secedit enable_secedit
22148 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22149 wine_fn_config_makefile programs/services enable_services
22150 wine_fn_config_makefile programs/services/tests enable_tests
22151 wine_fn_config_makefile programs/setx enable_setx
22152 wine_fn_config_makefile programs/shutdown enable_shutdown
22153 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22154 wine_fn_config_makefile programs/start enable_start
22155 wine_fn_config_makefile programs/subst enable_subst
22156 wine_fn_config_makefile programs/svchost enable_svchost
22157 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22158 wine_fn_config_makefile programs/taskkill enable_taskkill
22159 wine_fn_config_makefile programs/tasklist enable_tasklist
22160 wine_fn_config_makefile programs/tasklist/tests enable_tests
22161 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22162 wine_fn_config_makefile programs/termsv enable_termsv
22163 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22164 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22165 wine_fn_config_makefile programs/view enable_view
22166 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22167 wine_fn_config_makefile programs/where enable_where
22168 wine_fn_config_makefile programs/whoami enable_whoami
22169 wine_fn_config_makefile programs/wineboot enable_wineboot
22170 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22171 wine_fn_config_makefile programs/winecfg enable_winecfg
22172 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22173 wine_fn_config_makefile programs/winedbg enable_winedbg
22174 wine_fn_config_makefile programs/winedevice enable_winedevice
22175 wine_fn_config_makefile programs/winefile enable_winefile
22176 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22177 wine_fn_config_makefile programs/winemine enable_winemine
22178 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22179 wine_fn_config_makefile programs/winepath enable_winepath
22180 wine_fn_config_makefile programs/winetest enable_winetest
22181 wine_fn_config_makefile programs/winevdm enable_win16
22182 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22183 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22184 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22185 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22186 wine_fn_config_makefile programs/winver enable_winver
22187 wine_fn_config_makefile programs/wmic enable_wmic
22188 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22189 wine_fn_config_makefile programs/wordpad enable_wordpad
22190 wine_fn_config_makefile programs/write enable_write
22191 wine_fn_config_makefile programs/wscript enable_wscript
22192 wine_fn_config_makefile programs/wscript/tests enable_tests
22193 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22194 wine_fn_config_makefile programs/wusa enable_wusa
22195 wine_fn_config_makefile programs/xcopy enable_xcopy
22196 wine_fn_config_makefile programs/xcopy/tests enable_tests
22197 wine_fn_config_makefile server enable_server
22198 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22199 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22200 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22201 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22202 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22203 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22204 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22205 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22206 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22209 as_fn_append CONFIGURE_TARGETS " TAGS"
22210 as_fn_append CONFIGURE_TARGETS " tags"
22211 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22212 as_fn_append CONFIGURE_TARGETS " config.log"
22213 as_fn_append CONFIGURE_TARGETS " config.status"
22214 as_fn_append CONFIGURE_TARGETS " include/config.h"
22215 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22216 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22218 if test "x$enable_tools" != xno
22219 then
22220 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22221 ac_config_commands="$ac_config_commands tools/makedep"
22225 ac_config_commands="$ac_config_commands Makefile"
22229 SHELL=/bin/sh
22232 as_fn_append wine_rules "
22233 all: wine
22234 @echo \"Wine build complete.\"
22235 .INIT: Makefile
22236 .MAKEFILEDEPS:
22237 all: Makefile
22238 Makefile: config.status \$(MAKEDEP)
22239 @./config.status Makefile
22240 depend: \$(MAKEDEP)
22241 \$(MAKEDEP)$makedep_flags"
22244 as_fn_append wine_rules "
22245 config.status: ${wine_srcdir}configure
22246 @./config.status --recheck
22247 include/config.h: include/stamp-h
22248 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22249 @./config.status include/config.h include/stamp-h"
22251 if test "x$enable_maintainer_mode" = xyes
22252 then
22253 as_fn_append wine_rules "
22254 configure: configure.ac aclocal.m4
22255 autoconf --warnings=all
22256 include/config.h.in: include/stamp-h.in
22257 include/stamp-h.in: configure.ac aclocal.m4
22258 autoheader --warnings=all
22259 @echo timestamp > \$@"
22262 if test "x$enable_tools" != xno
22263 then
22264 as_fn_append wine_rules "
22265 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22266 @./config.status tools/makedep
22267 Makefile: tools/makedep$ac_exeext"
22268 else
22269 as_fn_append wine_rules "
22270 \$(MAKEDEP):
22271 @echo \"You need to run make in $toolsdir first\" && false"
22275 if test -n "$with_wine64"
22276 then
22277 case "$with_wine64" in
22278 /*) reldir="" ;;
22279 *) reldir="../" ;;
22280 esac
22281 rm -f fonts server 2>/dev/null
22282 as_fn_append wine_rules "
22283 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22284 loader/wine64 loader/wine64-preloader:
22285 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22286 $with_wine64/loader/wine:
22287 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22288 $with_wine64/loader/wine-preloader:
22289 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22290 clean::
22291 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22292 else
22293 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22294 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22295 fonts \
22296 loader/wine.inf \
22297 nls \
22298 programs/msidb/msidb \
22299 programs/msiexec/msiexec \
22300 programs/notepad/notepad \
22301 programs/regedit/regedit \
22302 programs/regsvr32/regsvr32 \
22303 programs/wineboot/wineboot \
22304 programs/winecfg/winecfg \
22305 programs/wineconsole/wineconsole \
22306 programs/winedbg/winedbg \
22307 programs/winefile/winefile \
22308 programs/winemine/winemine \
22309 programs/winepath/winepath \
22310 server/wineserver"
22312 case $host_os in
22313 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22314 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22315 esac
22319 as_fn_append wine_rules "
22320 distclean:: clean
22321 rm -rf autom4te.cache
22322 maintainer-clean::
22323 rm -f configure include/config.h.in"
22326 as_fn_append wine_rules "
22327 dlls/ntdll/unix/version.c: dummy
22328 @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)
22329 programs/winetest/build.rc: dummy
22330 @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)
22331 programs/winetest/build.nfo:
22332 @-\$(CC) -v 2>\$@
22333 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
22334 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22335 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22338 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22340 as_fn_append wine_rules "
22341 TAGS etags:
22342 rm -f TAGS
22343 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22344 tags ctags:
22345 rm -f tags
22346 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22347 dummy:
22348 .PHONY: depend dummy install-manpages"
22350 printf "%s\n" " done" >&6
22351 cat >confcache <<\_ACEOF
22352 # This file is a shell script that caches the results of configure
22353 # tests run on this system so they can be shared between configure
22354 # scripts and configure runs, see configure's option --config-cache.
22355 # It is not useful on other systems. If it contains results you don't
22356 # want to keep, you may remove or edit it.
22358 # config.status only pays attention to the cache file if you give it
22359 # the --recheck option to rerun configure.
22361 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22362 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22363 # following values.
22365 _ACEOF
22367 # The following way of writing the cache mishandles newlines in values,
22368 # but we know of no workaround that is simple, portable, and efficient.
22369 # So, we kill variables containing newlines.
22370 # Ultrix sh set writes to stderr and can't be redirected directly,
22371 # and sets the high bit in the cache file unless we assign to the vars.
22373 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22374 eval ac_val=\$$ac_var
22375 case $ac_val in #(
22376 *${as_nl}*)
22377 case $ac_var in #(
22378 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22379 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22380 esac
22381 case $ac_var in #(
22382 _ | IFS | as_nl) ;; #(
22383 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22384 *) { eval $ac_var=; unset $ac_var;} ;;
22385 esac ;;
22386 esac
22387 done
22389 (set) 2>&1 |
22390 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22391 *${as_nl}ac_space=\ *)
22392 # `set' does not quote correctly, so add quotes: double-quote
22393 # substitution turns \\\\ into \\, and sed turns \\ into \.
22394 sed -n \
22395 "s/'/'\\\\''/g;
22396 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22397 ;; #(
22399 # `set' quotes correctly as required by POSIX, so do not add quotes.
22400 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22402 esac |
22403 sort
22405 sed '
22406 /^ac_cv_env_/b end
22407 t clear
22408 :clear
22409 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22410 t end
22411 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22412 :end' >>confcache
22413 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22414 if test -w "$cache_file"; then
22415 if test "x$cache_file" != "x/dev/null"; then
22416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22417 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22418 if test ! -f "$cache_file" || test -h "$cache_file"; then
22419 cat confcache >"$cache_file"
22420 else
22421 case $cache_file in #(
22422 */* | ?:*)
22423 mv -f confcache "$cache_file"$$ &&
22424 mv -f "$cache_file"$$ "$cache_file" ;; #(
22426 mv -f confcache "$cache_file" ;;
22427 esac
22430 else
22431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22432 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22435 rm -f confcache
22437 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22438 # Let make expand exec_prefix.
22439 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22441 DEFS=-DHAVE_CONFIG_H
22443 ac_libobjs=
22444 ac_ltlibobjs=
22446 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22447 # 1. Remove the extension, and $U if already installed.
22448 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22449 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22450 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22451 # will be set to the directory where LIBOBJS objects are built.
22452 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22453 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22454 done
22455 LIBOBJS=$ac_libobjs
22457 LTLIBOBJS=$ac_ltlibobjs
22461 : "${CONFIG_STATUS=./config.status}"
22462 ac_write_fail=0
22463 ac_clean_files_save=$ac_clean_files
22464 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22466 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22467 as_write_fail=0
22468 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22469 #! $SHELL
22470 # Generated by $as_me.
22471 # Run this file to recreate the current configuration.
22472 # Compiler output produced by configure, useful for debugging
22473 # configure, is in config.log if it exists.
22475 debug=false
22476 ac_cs_recheck=false
22477 ac_cs_silent=false
22479 SHELL=\${CONFIG_SHELL-$SHELL}
22480 export SHELL
22481 _ASEOF
22482 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22483 ## -------------------- ##
22484 ## M4sh Initialization. ##
22485 ## -------------------- ##
22487 # Be more Bourne compatible
22488 DUALCASE=1; export DUALCASE # for MKS sh
22489 as_nop=:
22490 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22491 then :
22492 emulate sh
22493 NULLCMD=:
22494 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22495 # is contrary to our usage. Disable this feature.
22496 alias -g '${1+"$@"}'='"$@"'
22497 setopt NO_GLOB_SUBST
22498 else $as_nop
22499 case `(set -o) 2>/dev/null` in #(
22500 *posix*) :
22501 set -o posix ;; #(
22502 *) :
22504 esac
22509 # Reset variables that may have inherited troublesome values from
22510 # the environment.
22512 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22513 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22514 # side effect of setting IFS to empty, thus disabling word splitting.)
22515 # Quoting is to prevent editors from complaining about space-tab.
22516 as_nl='
22518 export as_nl
22519 IFS=" "" $as_nl"
22521 PS1='$ '
22522 PS2='> '
22523 PS4='+ '
22525 # Ensure predictable behavior from utilities with locale-dependent output.
22526 LC_ALL=C
22527 export LC_ALL
22528 LANGUAGE=C
22529 export LANGUAGE
22531 # We cannot yet rely on "unset" to work, but we need these variables
22532 # to be unset--not just set to an empty or harmless value--now, to
22533 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22534 # also avoids known problems related to "unset" and subshell syntax
22535 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22536 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22537 do eval test \${$as_var+y} \
22538 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22539 done
22541 # Ensure that fds 0, 1, and 2 are open.
22542 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22543 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22544 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22546 # The user is always right.
22547 if ${PATH_SEPARATOR+false} :; then
22548 PATH_SEPARATOR=:
22549 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22550 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22551 PATH_SEPARATOR=';'
22556 # Find who we are. Look in the path if we contain no directory separator.
22557 as_myself=
22558 case $0 in #((
22559 *[\\/]* ) as_myself=$0 ;;
22560 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22561 for as_dir in $PATH
22563 IFS=$as_save_IFS
22564 case $as_dir in #(((
22565 '') as_dir=./ ;;
22566 */) ;;
22567 *) as_dir=$as_dir/ ;;
22568 esac
22569 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22570 done
22571 IFS=$as_save_IFS
22574 esac
22575 # We did not find ourselves, most probably we were run as `sh COMMAND'
22576 # in which case we are not to be found in the path.
22577 if test "x$as_myself" = x; then
22578 as_myself=$0
22580 if test ! -f "$as_myself"; then
22581 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22582 exit 1
22587 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22588 # ----------------------------------------
22589 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22590 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22591 # script with STATUS, using 1 if that was 0.
22592 as_fn_error ()
22594 as_status=$1; test $as_status -eq 0 && as_status=1
22595 if test "$4"; then
22596 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22597 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22599 printf "%s\n" "$as_me: error: $2" >&2
22600 as_fn_exit $as_status
22601 } # as_fn_error
22605 # as_fn_set_status STATUS
22606 # -----------------------
22607 # Set $? to STATUS, without forking.
22608 as_fn_set_status ()
22610 return $1
22611 } # as_fn_set_status
22613 # as_fn_exit STATUS
22614 # -----------------
22615 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22616 as_fn_exit ()
22618 set +e
22619 as_fn_set_status $1
22620 exit $1
22621 } # as_fn_exit
22623 # as_fn_unset VAR
22624 # ---------------
22625 # Portably unset VAR.
22626 as_fn_unset ()
22628 { eval $1=; unset $1;}
22630 as_unset=as_fn_unset
22632 # as_fn_append VAR VALUE
22633 # ----------------------
22634 # Append the text in VALUE to the end of the definition contained in VAR. Take
22635 # advantage of any shell optimizations that allow amortized linear growth over
22636 # repeated appends, instead of the typical quadratic growth present in naive
22637 # implementations.
22638 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22639 then :
22640 eval 'as_fn_append ()
22642 eval $1+=\$2
22644 else $as_nop
22645 as_fn_append ()
22647 eval $1=\$$1\$2
22649 fi # as_fn_append
22651 # as_fn_arith ARG...
22652 # ------------------
22653 # Perform arithmetic evaluation on the ARGs, and store the result in the
22654 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22655 # must be portable across $(()) and expr.
22656 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22657 then :
22658 eval 'as_fn_arith ()
22660 as_val=$(( $* ))
22662 else $as_nop
22663 as_fn_arith ()
22665 as_val=`expr "$@" || test $? -eq 1`
22667 fi # as_fn_arith
22670 if expr a : '\(a\)' >/dev/null 2>&1 &&
22671 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22672 as_expr=expr
22673 else
22674 as_expr=false
22677 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22678 as_basename=basename
22679 else
22680 as_basename=false
22683 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22684 as_dirname=dirname
22685 else
22686 as_dirname=false
22689 as_me=`$as_basename -- "$0" ||
22690 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22691 X"$0" : 'X\(//\)$' \| \
22692 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22693 printf "%s\n" X/"$0" |
22694 sed '/^.*\/\([^/][^/]*\)\/*$/{
22695 s//\1/
22698 /^X\/\(\/\/\)$/{
22699 s//\1/
22702 /^X\/\(\/\).*/{
22703 s//\1/
22706 s/.*/./; q'`
22708 # Avoid depending upon Character Ranges.
22709 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22710 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22711 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22712 as_cr_digits='0123456789'
22713 as_cr_alnum=$as_cr_Letters$as_cr_digits
22716 # Determine whether it's possible to make 'echo' print without a newline.
22717 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22718 # for compatibility with existing Makefiles.
22719 ECHO_C= ECHO_N= ECHO_T=
22720 case `echo -n x` in #(((((
22721 -n*)
22722 case `echo 'xy\c'` in
22723 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22724 xy) ECHO_C='\c';;
22725 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22726 ECHO_T=' ';;
22727 esac;;
22729 ECHO_N='-n';;
22730 esac
22732 # For backward compatibility with old third-party macros, we provide
22733 # the shell variables $as_echo and $as_echo_n. New code should use
22734 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22735 as_echo='printf %s\n'
22736 as_echo_n='printf %s'
22738 rm -f conf$$ conf$$.exe conf$$.file
22739 if test -d conf$$.dir; then
22740 rm -f conf$$.dir/conf$$.file
22741 else
22742 rm -f conf$$.dir
22743 mkdir conf$$.dir 2>/dev/null
22745 if (echo >conf$$.file) 2>/dev/null; then
22746 if ln -s conf$$.file conf$$ 2>/dev/null; then
22747 as_ln_s='ln -s'
22748 # ... but there are two gotchas:
22749 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22750 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22751 # In both cases, we have to default to `cp -pR'.
22752 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22753 as_ln_s='cp -pR'
22754 elif ln conf$$.file conf$$ 2>/dev/null; then
22755 as_ln_s=ln
22756 else
22757 as_ln_s='cp -pR'
22759 else
22760 as_ln_s='cp -pR'
22762 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22763 rmdir conf$$.dir 2>/dev/null
22766 # as_fn_mkdir_p
22767 # -------------
22768 # Create "$as_dir" as a directory, including parents if necessary.
22769 as_fn_mkdir_p ()
22772 case $as_dir in #(
22773 -*) as_dir=./$as_dir;;
22774 esac
22775 test -d "$as_dir" || eval $as_mkdir_p || {
22776 as_dirs=
22777 while :; do
22778 case $as_dir in #(
22779 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22780 *) as_qdir=$as_dir;;
22781 esac
22782 as_dirs="'$as_qdir' $as_dirs"
22783 as_dir=`$as_dirname -- "$as_dir" ||
22784 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22785 X"$as_dir" : 'X\(//\)[^/]' \| \
22786 X"$as_dir" : 'X\(//\)$' \| \
22787 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22788 printf "%s\n" X"$as_dir" |
22789 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22790 s//\1/
22793 /^X\(\/\/\)[^/].*/{
22794 s//\1/
22797 /^X\(\/\/\)$/{
22798 s//\1/
22801 /^X\(\/\).*/{
22802 s//\1/
22805 s/.*/./; q'`
22806 test -d "$as_dir" && break
22807 done
22808 test -z "$as_dirs" || eval "mkdir $as_dirs"
22809 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22812 } # as_fn_mkdir_p
22813 if mkdir -p . 2>/dev/null; then
22814 as_mkdir_p='mkdir -p "$as_dir"'
22815 else
22816 test -d ./-p && rmdir ./-p
22817 as_mkdir_p=false
22821 # as_fn_executable_p FILE
22822 # -----------------------
22823 # Test if FILE is an executable regular file.
22824 as_fn_executable_p ()
22826 test -f "$1" && test -x "$1"
22827 } # as_fn_executable_p
22828 as_test_x='test -x'
22829 as_executable_p=as_fn_executable_p
22831 # Sed expression to map a string onto a valid CPP name.
22832 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22834 # Sed expression to map a string onto a valid variable name.
22835 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22838 exec 6>&1
22839 ## ----------------------------------- ##
22840 ## Main body of $CONFIG_STATUS script. ##
22841 ## ----------------------------------- ##
22842 _ASEOF
22843 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22846 # Save the log message, to keep $0 and so on meaningful, and to
22847 # report actual input values of CONFIG_FILES etc. instead of their
22848 # values after options handling.
22849 ac_log="
22850 This file was extended by Wine $as_me 8.13, which was
22851 generated by GNU Autoconf 2.71. Invocation command line was
22853 CONFIG_FILES = $CONFIG_FILES
22854 CONFIG_HEADERS = $CONFIG_HEADERS
22855 CONFIG_LINKS = $CONFIG_LINKS
22856 CONFIG_COMMANDS = $CONFIG_COMMANDS
22857 $ $0 $@
22859 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22862 _ACEOF
22865 case $ac_config_headers in *"
22866 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22867 esac
22870 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22871 # Files that config.status was made for.
22872 config_headers="$ac_config_headers"
22873 config_links="$ac_config_links"
22874 config_commands="$ac_config_commands"
22876 _ACEOF
22878 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22879 ac_cs_usage="\
22880 \`$as_me' instantiates files and other configuration actions
22881 from templates according to the current configuration. Unless the files
22882 and actions are specified as TAGs, all are instantiated by default.
22884 Usage: $0 [OPTION]... [TAG]...
22886 -h, --help print this help, then exit
22887 -V, --version print version number and configuration settings, then exit
22888 --config print configuration, then exit
22889 -q, --quiet, --silent
22890 do not print progress messages
22891 -d, --debug don't remove temporary files
22892 --recheck update $as_me by reconfiguring in the same conditions
22893 --header=FILE[:TEMPLATE]
22894 instantiate the configuration header FILE
22896 Configuration headers:
22897 $config_headers
22899 Configuration links:
22900 $config_links
22902 Configuration commands:
22903 $config_commands
22905 Report bugs to <wine-devel@winehq.org>.
22906 Wine home page: <https://www.winehq.org>."
22908 _ACEOF
22909 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22910 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22912 ac_cs_config='$ac_cs_config_escaped'
22913 ac_cs_version="\\
22914 Wine config.status 8.13
22915 configured by $0, generated by GNU Autoconf 2.71,
22916 with options \\"\$ac_cs_config\\"
22918 Copyright (C) 2021 Free Software Foundation, Inc.
22919 This config.status script is free software; the Free Software Foundation
22920 gives unlimited permission to copy, distribute and modify it."
22922 ac_pwd='$ac_pwd'
22923 srcdir='$srcdir'
22924 test -n "\$AWK" || AWK=awk
22925 _ACEOF
22927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22928 # The default lists apply if the user does not specify any file.
22929 ac_need_defaults=:
22930 while test $# != 0
22932 case $1 in
22933 --*=?*)
22934 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22935 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22936 ac_shift=:
22938 --*=)
22939 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22940 ac_optarg=
22941 ac_shift=:
22944 ac_option=$1
22945 ac_optarg=$2
22946 ac_shift=shift
22948 esac
22950 case $ac_option in
22951 # Handling of the options.
22952 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22953 ac_cs_recheck=: ;;
22954 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22955 printf "%s\n" "$ac_cs_version"; exit ;;
22956 --config | --confi | --conf | --con | --co | --c )
22957 printf "%s\n" "$ac_cs_config"; exit ;;
22958 --debug | --debu | --deb | --de | --d | -d )
22959 debug=: ;;
22960 --header | --heade | --head | --hea )
22961 $ac_shift
22962 case $ac_optarg in
22963 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22964 esac
22965 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22966 ac_need_defaults=false;;
22967 --he | --h)
22968 # Conflict between --help and --header
22969 as_fn_error $? "ambiguous option: \`$1'
22970 Try \`$0 --help' for more information.";;
22971 --help | --hel | -h )
22972 printf "%s\n" "$ac_cs_usage"; exit ;;
22973 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22974 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22975 ac_cs_silent=: ;;
22977 # This is an error.
22978 -*) as_fn_error $? "unrecognized option: \`$1'
22979 Try \`$0 --help' for more information." ;;
22981 *) as_fn_append ac_config_targets " $1"
22982 ac_need_defaults=false ;;
22984 esac
22985 shift
22986 done
22988 ac_configure_extra_args=
22990 if $ac_cs_silent; then
22991 exec 6>/dev/null
22992 ac_configure_extra_args="$ac_configure_extra_args --silent"
22995 _ACEOF
22996 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22997 if \$ac_cs_recheck; then
22998 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22999 shift
23000 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23001 CONFIG_SHELL='$SHELL'
23002 export CONFIG_SHELL
23003 exec "\$@"
23006 _ACEOF
23007 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23008 exec 5>>config.log
23010 echo
23011 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23012 ## Running $as_me. ##
23013 _ASBOX
23014 printf "%s\n" "$ac_log"
23015 } >&5
23017 _ACEOF
23018 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23020 # INIT-COMMANDS
23022 wine_fn_output_makedep ()
23024 as_dir=tools; as_fn_mkdir_p
23025 $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
23027 wine_fn_output_makefile ()
23029 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23030 # This Makefile understands the following targets:
23032 # all (default): build wine
23033 # clean: remove all intermediate files
23034 # distclean: also remove all files created by configure
23035 # test: run tests
23036 # testclean: clean test results to force running all tests again
23037 # install-lib: install libraries needed to run applications
23038 # install-dev: install development environment
23039 # install: install everything
23040 # uninstall: uninstall everything
23041 # ctags: create a tags file for vim and others.
23042 # etags: create a TAGS file for Emacs.
23044 SHELL = $SHELL
23045 PATH_SEPARATOR = $PATH_SEPARATOR
23046 PACKAGE_NAME = $PACKAGE_NAME
23047 PACKAGE_TARNAME = $PACKAGE_TARNAME
23048 PACKAGE_VERSION = $PACKAGE_VERSION
23049 PACKAGE_STRING = $PACKAGE_STRING
23050 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23051 PACKAGE_URL = $PACKAGE_URL
23052 exec_prefix = $exec_prefix
23053 prefix = $prefix
23054 program_transform_name = $program_transform_name
23055 bindir = $bindir
23056 sbindir = $sbindir
23057 libexecdir = $libexecdir
23058 datarootdir = $datarootdir
23059 datadir = $datadir
23060 sysconfdir = $sysconfdir
23061 sharedstatedir = $sharedstatedir
23062 localstatedir = $localstatedir
23063 runstatedir = $runstatedir
23064 includedir = $includedir
23065 oldincludedir = $oldincludedir
23066 docdir = $docdir
23067 infodir = $infodir
23068 htmldir = $htmldir
23069 dvidir = $dvidir
23070 pdfdir = $pdfdir
23071 psdir = $psdir
23072 libdir = $libdir
23073 localedir = $localedir
23074 mandir = $mandir
23075 DEFS = $DEFS
23076 ECHO_C = $ECHO_C
23077 ECHO_N = $ECHO_N
23078 ECHO_T = $ECHO_T
23079 LIBS = $LIBS
23080 build_alias = $build_alias
23081 host_alias = $host_alias
23082 target_alias = $target_alias
23083 system_dllpath = $system_dllpath
23084 build = $build
23085 build_cpu = $build_cpu
23086 build_vendor = $build_vendor
23087 build_os = $build_os
23088 host = $host
23089 host_cpu = $host_cpu
23090 host_vendor = $host_vendor
23091 host_os = $host_os
23092 dlldir = $dlldir
23093 fontdir = $fontdir
23094 nlsdir = $nlsdir
23095 srcdir = $srcdir
23096 SET_MAKE = $SET_MAKE
23097 CC = $CC
23098 CFLAGS = $CFLAGS
23099 LDFLAGS = $LDFLAGS
23100 CPPFLAGS = $CPPFLAGS
23101 ac_ct_CC = $ac_ct_CC
23102 EXEEXT = $EXEEXT
23103 OBJEXT = $OBJEXT
23104 CXX = $CXX
23105 CXXFLAGS = $CXXFLAGS
23106 ac_ct_CXX = $ac_ct_CXX
23107 CPPBIN = $CPPBIN
23108 LD = $LD
23109 TARGETFLAGS = $TARGETFLAGS
23110 toolsext = $toolsext
23111 HOST_ARCH = $HOST_ARCH
23112 aarch64_CC = $aarch64_CC
23113 aarch64_CFLAGS = $aarch64_CFLAGS
23114 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23115 aarch64_LDFLAGS = $aarch64_LDFLAGS
23116 aarch64_DEBUG = $aarch64_DEBUG
23117 aarch64_TARGET = $aarch64_TARGET
23118 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23119 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23120 arm_CC = $arm_CC
23121 arm_CFLAGS = $arm_CFLAGS
23122 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23123 arm_LDFLAGS = $arm_LDFLAGS
23124 arm_DEBUG = $arm_DEBUG
23125 arm_TARGET = $arm_TARGET
23126 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23127 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23128 i386_CC = $i386_CC
23129 i386_CFLAGS = $i386_CFLAGS
23130 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23131 i386_LDFLAGS = $i386_LDFLAGS
23132 i386_DEBUG = $i386_DEBUG
23133 i386_TARGET = $i386_TARGET
23134 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23135 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23136 x86_64_CC = $x86_64_CC
23137 x86_64_CFLAGS = $x86_64_CFLAGS
23138 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23139 x86_64_LDFLAGS = $x86_64_LDFLAGS
23140 x86_64_DEBUG = $x86_64_DEBUG
23141 x86_64_TARGET = $x86_64_TARGET
23142 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23143 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23144 toolsdir = $toolsdir
23145 MAKEDEP = $MAKEDEP
23146 RUNTESTFLAGS = $RUNTESTFLAGS
23147 SED_CMD = $SED_CMD
23148 FLEX = $FLEX
23149 BISON = $BISON
23150 AR = $AR
23151 ac_ct_AR = $ac_ct_AR
23152 STRIP = $STRIP
23153 RANLIB = $RANLIB
23154 LN_S = $LN_S
23155 GREP = $GREP
23156 EGREP = $EGREP
23157 LDCONFIG = $LDCONFIG
23158 MSGFMT = $MSGFMT
23159 PKG_CONFIG = $PKG_CONFIG
23160 FONTFORGE = $FONTFORGE
23161 RSVG = $RSVG
23162 CONVERT = $CONVERT
23163 ICOTOOL = $ICOTOOL
23164 I386_LIBS = $I386_LIBS
23165 OPENGL_LIBS = $OPENGL_LIBS
23166 DLLFLAGS = $DLLFLAGS
23167 LDDLLFLAGS = $LDDLLFLAGS
23168 LDEXECFLAGS = $LDEXECFLAGS
23169 EXTRACFLAGS = $EXTRACFLAGS
23170 UNIXDLLFLAGS = $UNIXDLLFLAGS
23171 UNIXLDFLAGS = $UNIXLDFLAGS
23172 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23173 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23174 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23175 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23176 DLLEXT = $DLLEXT
23177 LDD = $LDD
23178 OTOOL = $OTOOL
23179 READELF = $READELF
23180 SUBDIRS = $SUBDIRS
23181 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23182 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23183 CARBON_LIBS = $CARBON_LIBS
23184 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23185 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23186 IOKIT_LIBS = $IOKIT_LIBS
23187 METAL_LIBS = $METAL_LIBS
23188 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23189 CORESERVICES_LIBS = $CORESERVICES_LIBS
23190 APPKIT_LIBS = $APPKIT_LIBS
23191 SECURITY_LIBS = $SECURITY_LIBS
23192 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23193 COREAUDIO_LIBS = $COREAUDIO_LIBS
23194 OPENCL_LIBS = $OPENCL_LIBS
23195 OBJC = $OBJC
23196 OBJCFLAGS = $OBJCFLAGS
23197 ac_ct_OBJC = $ac_ct_OBJC
23198 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23199 PE_ARCHS = $PE_ARCHS
23200 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23201 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23202 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23203 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23204 GSM_PE_LIBS = $GSM_PE_LIBS
23205 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23206 JPEG_PE_LIBS = $JPEG_PE_LIBS
23207 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23208 JXR_PE_LIBS = $JXR_PE_LIBS
23209 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23210 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23211 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23212 LDAP_PE_LIBS = $LDAP_PE_LIBS
23213 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23214 MPG123_PE_LIBS = $MPG123_PE_LIBS
23215 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23216 MUSL_PE_LIBS = $MUSL_PE_LIBS
23217 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23218 PNG_PE_LIBS = $PNG_PE_LIBS
23219 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23220 TIFF_PE_LIBS = $TIFF_PE_LIBS
23221 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23222 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23223 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23224 XML2_PE_LIBS = $XML2_PE_LIBS
23225 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23226 XSLT_PE_LIBS = $XSLT_PE_LIBS
23227 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23228 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23229 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23230 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23231 PTHREAD_LIBS = $PTHREAD_LIBS
23232 XMKMF = $XMKMF
23233 CPP = $CPP
23234 X_CFLAGS = $X_CFLAGS
23235 X_PRE_LIBS = $X_PRE_LIBS
23236 X_LIBS = $X_LIBS
23237 X_EXTRA_LIBS = $X_EXTRA_LIBS
23238 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23239 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23240 WAYLAND_SCANNER = $WAYLAND_SCANNER
23241 PCAP_LIBS = $PCAP_LIBS
23242 PCSCLITE_LIBS = $PCSCLITE_LIBS
23243 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23244 INOTIFY_LIBS = $INOTIFY_LIBS
23245 DBUS_CFLAGS = $DBUS_CFLAGS
23246 DBUS_LIBS = $DBUS_LIBS
23247 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23248 GNUTLS_LIBS = $GNUTLS_LIBS
23249 SANE_CFLAGS = $SANE_CFLAGS
23250 SANE_LIBS = $SANE_LIBS
23251 USB_CFLAGS = $USB_CFLAGS
23252 USB_LIBS = $USB_LIBS
23253 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23254 GPHOTO2_LIBS = $GPHOTO2_LIBS
23255 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23256 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23257 RESOLV_LIBS = $RESOLV_LIBS
23258 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23259 FREETYPE_LIBS = $FREETYPE_LIBS
23260 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23261 PULSE_CFLAGS = $PULSE_CFLAGS
23262 PULSE_LIBS = $PULSE_LIBS
23263 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23264 GSTREAMER_LIBS = $GSTREAMER_LIBS
23265 ALSA_LIBS = $ALSA_LIBS
23266 OSS4_CFLAGS = $OSS4_CFLAGS
23267 OSS4_LIBS = $OSS4_LIBS
23268 UDEV_CFLAGS = $UDEV_CFLAGS
23269 UDEV_LIBS = $UDEV_LIBS
23270 UNWIND_CFLAGS = $UNWIND_CFLAGS
23271 UNWIND_LIBS = $UNWIND_LIBS
23272 SDL2_CFLAGS = $SDL2_CFLAGS
23273 SDL2_LIBS = $SDL2_LIBS
23274 CAPI20_CFLAGS = $CAPI20_CFLAGS
23275 CAPI20_LIBS = $CAPI20_LIBS
23276 CUPS_CFLAGS = $CUPS_CFLAGS
23277 CUPS_LIBS = $CUPS_LIBS
23278 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23279 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23280 KRB5_CFLAGS = $KRB5_CFLAGS
23281 KRB5_LIBS = $KRB5_LIBS
23282 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23283 GSSAPI_LIBS = $GSSAPI_LIBS
23284 PROCSTAT_LIBS = $PROCSTAT_LIBS
23285 NETAPI_CFLAGS = $NETAPI_CFLAGS
23286 NETAPI_LIBS = $NETAPI_LIBS
23287 MSVCRTFLAGS = $MSVCRTFLAGS
23288 DELAYLOADFLAG = $DELAYLOADFLAG
23289 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23290 RT_LIBS = $RT_LIBS
23291 TAGSFLAGS = $TAGSFLAGS
23292 LIBOBJS = $LIBOBJS
23293 LTLIBOBJS = $LTLIBOBJS
23294 $SET_MAKE
23295 $wine_rules
23296 _WINE_EOF
23297 as_fn_error $? "could not create Makefile" "$LINENO" 5
23300 _ACEOF
23302 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23304 # Handling of arguments.
23305 for ac_config_target in $ac_config_targets
23307 case $ac_config_target in
23308 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23309 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23310 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23311 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23312 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23313 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23315 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23316 esac
23317 done
23320 # If the user did not use the arguments to specify the items to instantiate,
23321 # then the envvar interface is used. Set only those that are not.
23322 # We use the long form for the default assignment because of an extremely
23323 # bizarre bug on SunOS 4.1.3.
23324 if $ac_need_defaults; then
23325 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23326 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23327 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23330 # Have a temporary directory for convenience. Make it in the build tree
23331 # simply because there is no reason against having it here, and in addition,
23332 # creating and moving files from /tmp can sometimes cause problems.
23333 # Hook for its removal unless debugging.
23334 # Note that there is a small window in which the directory will not be cleaned:
23335 # after its creation but before its name has been assigned to `$tmp'.
23336 $debug ||
23338 tmp= ac_tmp=
23339 trap 'exit_status=$?
23340 : "${ac_tmp:=$tmp}"
23341 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23343 trap 'as_fn_exit 1' 1 2 13 15
23345 # Create a (secure) tmp directory for tmp files.
23348 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23349 test -d "$tmp"
23350 } ||
23352 tmp=./conf$$-$RANDOM
23353 (umask 077 && mkdir "$tmp")
23354 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23355 ac_tmp=$tmp
23357 # Set up the scripts for CONFIG_HEADERS section.
23358 # No need to generate them if there are no CONFIG_HEADERS.
23359 # This happens for instance with `./config.status Makefile'.
23360 if test -n "$CONFIG_HEADERS"; then
23361 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23362 BEGIN {
23363 _ACEOF
23365 # Transform confdefs.h into an awk script `defines.awk', embedded as
23366 # here-document in config.status, that substitutes the proper values into
23367 # config.h.in to produce config.h.
23369 # Create a delimiter string that does not exist in confdefs.h, to ease
23370 # handling of long lines.
23371 ac_delim='%!_!# '
23372 for ac_last_try in false false :; do
23373 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23374 if test -z "$ac_tt"; then
23375 break
23376 elif $ac_last_try; then
23377 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23378 else
23379 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23381 done
23383 # For the awk script, D is an array of macro values keyed by name,
23384 # likewise P contains macro parameters if any. Preserve backslash
23385 # newline sequences.
23387 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23388 sed -n '
23389 s/.\{148\}/&'"$ac_delim"'/g
23390 t rset
23391 :rset
23392 s/^[ ]*#[ ]*define[ ][ ]*/ /
23393 t def
23395 :def
23396 s/\\$//
23397 t bsnl
23398 s/["\\]/\\&/g
23399 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23400 D["\1"]=" \3"/p
23401 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23403 :bsnl
23404 s/["\\]/\\&/g
23405 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23406 D["\1"]=" \3\\\\\\n"\\/p
23407 t cont
23408 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23409 t cont
23411 :cont
23413 s/.\{148\}/&'"$ac_delim"'/g
23414 t clear
23415 :clear
23416 s/\\$//
23417 t bsnlc
23418 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23420 :bsnlc
23421 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23422 b cont
23423 ' <confdefs.h | sed '
23424 s/'"$ac_delim"'/"\\\
23425 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23427 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23428 for (key in D) D_is_set[key] = 1
23429 FS = "\a"
23431 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23432 line = \$ 0
23433 split(line, arg, " ")
23434 if (arg[1] == "#") {
23435 defundef = arg[2]
23436 mac1 = arg[3]
23437 } else {
23438 defundef = substr(arg[1], 2)
23439 mac1 = arg[2]
23441 split(mac1, mac2, "(") #)
23442 macro = mac2[1]
23443 prefix = substr(line, 1, index(line, defundef) - 1)
23444 if (D_is_set[macro]) {
23445 # Preserve the white space surrounding the "#".
23446 print prefix "define", macro P[macro] D[macro]
23447 next
23448 } else {
23449 # Replace #undef with comments. This is necessary, for example,
23450 # in the case of _POSIX_SOURCE, which is predefined and required
23451 # on some systems where configure will not decide to define it.
23452 if (defundef == "undef") {
23453 print "/*", prefix defundef, macro, "*/"
23454 next
23458 { print }
23459 _ACAWK
23460 _ACEOF
23461 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23462 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23463 fi # test -n "$CONFIG_HEADERS"
23466 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23467 shift
23468 for ac_tag
23470 case $ac_tag in
23471 :[FHLC]) ac_mode=$ac_tag; continue;;
23472 esac
23473 case $ac_mode$ac_tag in
23474 :[FHL]*:*);;
23475 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23476 :[FH]-) ac_tag=-:-;;
23477 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23478 esac
23479 ac_save_IFS=$IFS
23480 IFS=:
23481 set x $ac_tag
23482 IFS=$ac_save_IFS
23483 shift
23484 ac_file=$1
23485 shift
23487 case $ac_mode in
23488 :L) ac_source=$1;;
23489 :[FH])
23490 ac_file_inputs=
23491 for ac_f
23493 case $ac_f in
23494 -) ac_f="$ac_tmp/stdin";;
23495 *) # Look for the file first in the build tree, then in the source tree
23496 # (if the path is not absolute). The absolute path cannot be DOS-style,
23497 # because $ac_f cannot contain `:'.
23498 test -f "$ac_f" ||
23499 case $ac_f in
23500 [\\/$]*) false;;
23501 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23502 esac ||
23503 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23504 esac
23505 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23506 as_fn_append ac_file_inputs " '$ac_f'"
23507 done
23509 # Let's still pretend it is `configure' which instantiates (i.e., don't
23510 # use $as_me), people would be surprised to read:
23511 # /* config.h. Generated by config.status. */
23512 configure_input='Generated from '`
23513 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23514 `' by configure.'
23515 if test x"$ac_file" != x-; then
23516 configure_input="$ac_file. $configure_input"
23517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23518 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23520 # Neutralize special characters interpreted by sed in replacement strings.
23521 case $configure_input in #(
23522 *\&* | *\|* | *\\* )
23523 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23524 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23525 *) ac_sed_conf_input=$configure_input;;
23526 esac
23528 case $ac_tag in
23529 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23530 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23531 esac
23533 esac
23535 ac_dir=`$as_dirname -- "$ac_file" ||
23536 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23537 X"$ac_file" : 'X\(//\)[^/]' \| \
23538 X"$ac_file" : 'X\(//\)$' \| \
23539 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23540 printf "%s\n" X"$ac_file" |
23541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23542 s//\1/
23545 /^X\(\/\/\)[^/].*/{
23546 s//\1/
23549 /^X\(\/\/\)$/{
23550 s//\1/
23553 /^X\(\/\).*/{
23554 s//\1/
23557 s/.*/./; q'`
23558 as_dir="$ac_dir"; as_fn_mkdir_p
23559 ac_builddir=.
23561 case "$ac_dir" in
23562 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23564 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23565 # A ".." for each directory in $ac_dir_suffix.
23566 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23567 case $ac_top_builddir_sub in
23568 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23569 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23570 esac ;;
23571 esac
23572 ac_abs_top_builddir=$ac_pwd
23573 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23574 # for backward compatibility:
23575 ac_top_builddir=$ac_top_build_prefix
23577 case $srcdir in
23578 .) # We are building in place.
23579 ac_srcdir=.
23580 ac_top_srcdir=$ac_top_builddir_sub
23581 ac_abs_top_srcdir=$ac_pwd ;;
23582 [\\/]* | ?:[\\/]* ) # Absolute name.
23583 ac_srcdir=$srcdir$ac_dir_suffix;
23584 ac_top_srcdir=$srcdir
23585 ac_abs_top_srcdir=$srcdir ;;
23586 *) # Relative name.
23587 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23588 ac_top_srcdir=$ac_top_build_prefix$srcdir
23589 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23590 esac
23591 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23594 case $ac_mode in
23598 # CONFIG_HEADER
23600 if test x"$ac_file" != x-; then
23602 printf "%s\n" "/* $configure_input */" >&1 \
23603 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23604 } >"$ac_tmp/config.h" \
23605 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23606 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23608 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23609 else
23610 rm -f "$ac_file"
23611 mv "$ac_tmp/config.h" "$ac_file" \
23612 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23614 else
23615 printf "%s\n" "/* $configure_input */" >&1 \
23616 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23617 || as_fn_error $? "could not create -" "$LINENO" 5
23622 # CONFIG_LINK
23625 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23627 else
23628 # Prefer the file from the source tree if names are identical.
23629 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23630 ac_source=$srcdir/$ac_source
23633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23634 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23636 if test ! -r "$ac_source"; then
23637 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23639 rm -f "$ac_file"
23641 # Try a relative symlink, then a hard link, then a copy.
23642 case $ac_source in
23643 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23644 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23645 esac
23646 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23647 ln "$ac_source" "$ac_file" 2>/dev/null ||
23648 cp -p "$ac_source" "$ac_file" ||
23649 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23652 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23653 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23655 esac
23658 case $ac_file$ac_mode in
23659 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23660 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23661 "Makefile":C) wine_fn_output_makefile Makefile ;;
23663 esac
23664 done # for ac_tag
23667 as_fn_exit 0
23668 _ACEOF
23669 ac_clean_files=$ac_clean_files_save
23671 test $ac_write_fail = 0 ||
23672 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23675 # configure is writing to config.log, and then calls config.status.
23676 # config.status does its own redirection, appending to config.log.
23677 # Unfortunately, on DOS this fails, as config.log is still kept open
23678 # by configure, so config.status won't be able to write to it; its
23679 # output is simply discarded. So we exec the FD to /dev/null,
23680 # effectively closing config.log, so it can be properly (re)opened and
23681 # appended to by config.status. When coming back to configure, we
23682 # need to make the FD available again.
23683 if test "$no_create" != yes; then
23684 ac_cs_success=:
23685 ac_config_status_args=
23686 test "$silent" = yes &&
23687 ac_config_status_args="$ac_config_status_args --quiet"
23688 exec 5>/dev/null
23689 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23690 exec 5>>config.log
23691 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23692 # would make configure fail if this is the last instruction.
23693 $ac_cs_success || as_fn_exit 1
23695 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23697 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23701 if test "$no_create" = "yes"
23702 then
23703 exit 0
23706 ac_save_IFS="$IFS"
23707 if test "x$wine_notices" != x; then
23708 echo >&6
23709 IFS="|"
23710 for msg in $wine_notices; do
23711 IFS="$ac_save_IFS"
23712 if ${msg:+false} :
23713 then :
23715 else $as_nop
23716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23717 printf "%s\n" "$as_me: $msg" >&6;}
23719 done
23721 IFS="|"
23722 for msg in $wine_warnings; do
23723 IFS="$ac_save_IFS"
23724 if ${msg:+false} :
23725 then :
23727 else $as_nop
23728 echo >&2
23729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23730 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23732 done
23733 IFS="$ac_save_IFS"
23735 printf "%s\n" "
23736 $as_me: Finished. Do '${ac_make}' to compile Wine.
23737 " >&6