winepulse: Move AudioClient's GetDevicePeriod, GetMixFormat, IsFormatSupported into...
[wine.git] / configure
blob22df38f1e945eb1087062baf948a82b52feafc4f
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.9.
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.9'
615 PACKAGE_STRING='Wine 8.9'
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 WINEPRELOADER_LDFLAGS
770 WINELOADER_LDFLAGS
771 TOP_INSTALL_DEV
772 TOP_INSTALL_LIB
773 UNIXLDFLAGS
774 UNIXDLLFLAGS
775 EXTRACFLAGS
776 LDEXECFLAGS
777 LDDLLFLAGS
778 DLLFLAGS
779 OPENGL_LIBS
780 I386_LIBS
781 ICOTOOL
782 CONVERT
783 RSVG
784 FONTFORGE
785 PKG_CONFIG
786 MSGFMT
787 LDCONFIG
788 EGREP
789 GREP
790 LN_S
791 RANLIB
792 STRIP
793 ac_ct_AR
795 BISON
796 FLEX
797 SED_CMD
798 RUNTESTFLAGS
799 MAKEDEP
800 toolsdir
801 x86_64_DISABLED_SUBDIRS
802 x86_64_DELAYLOADFLAG
803 x86_64_TARGET
804 x86_64_DEBUG
805 x86_64_LDFLAGS
806 x86_64_EXTRACFLAGS
807 x86_64_CFLAGS
808 x86_64_CC
809 i386_DISABLED_SUBDIRS
810 i386_DELAYLOADFLAG
811 i386_TARGET
812 i386_DEBUG
813 i386_LDFLAGS
814 i386_EXTRACFLAGS
815 i386_CFLAGS
816 i386_CC
817 arm_DISABLED_SUBDIRS
818 arm_DELAYLOADFLAG
819 arm_TARGET
820 arm_DEBUG
821 arm_LDFLAGS
822 arm_EXTRACFLAGS
823 arm_CFLAGS
824 arm_CC
825 aarch64_DISABLED_SUBDIRS
826 aarch64_DELAYLOADFLAG
827 aarch64_TARGET
828 aarch64_DEBUG
829 aarch64_LDFLAGS
830 aarch64_EXTRACFLAGS
831 aarch64_CFLAGS
832 aarch64_CC
833 HOST_ARCH
834 toolsext
835 TARGETFLAGS
837 CPPBIN
838 ac_ct_CXX
839 CXXFLAGS
841 OBJEXT
842 EXEEXT
843 ac_ct_CC
844 CPPFLAGS
845 LDFLAGS
846 CFLAGS
848 SET_MAKE
849 srcdir
850 nlsdir
851 fontdir
852 dlldir
853 host_os
854 host_vendor
855 host_cpu
856 host
857 build_os
858 build_vendor
859 build_cpu
860 build
861 system_dllpath
862 target_alias
863 host_alias
864 build_alias
865 LIBS
866 ECHO_T
867 ECHO_N
868 ECHO_C
869 DEFS
870 mandir
871 localedir
872 libdir
873 psdir
874 pdfdir
875 dvidir
876 htmldir
877 infodir
878 docdir
879 oldincludedir
880 includedir
881 runstatedir
882 localstatedir
883 sharedstatedir
884 sysconfdir
885 datadir
886 datarootdir
887 libexecdir
888 sbindir
889 bindir
890 program_transform_name
891 prefix
892 exec_prefix
893 PACKAGE_URL
894 PACKAGE_BUGREPORT
895 PACKAGE_STRING
896 PACKAGE_VERSION
897 PACKAGE_TARNAME
898 PACKAGE_NAME
899 PATH_SEPARATOR
900 SHELL'
901 ac_subst_files=''
902 ac_user_opts='
903 enable_option_checking
904 enable_archs
905 enable_win16
906 enable_win64
907 enable_tests
908 enable_build_id
909 enable_maintainer_mode
910 enable_silent_rules
911 enable_werror
912 with_alsa
913 with_capi
914 with_coreaudio
915 with_cups
916 with_dbus
917 with_float_abi
918 with_fontconfig
919 with_freetype
920 with_gettext
921 with_gettextpo
922 with_gphoto
923 with_gnutls
924 with_gssapi
925 with_gstreamer
926 with_inotify
927 with_krb5
928 with_mingw
929 with_netapi
930 with_opencl
931 with_opengl
932 with_osmesa
933 with_oss
934 with_pcap
935 with_pcsclite
936 with_pthread
937 with_pulse
938 with_sane
939 with_sdl
940 with_udev
941 with_unwind
942 with_usb
943 with_v4l2
944 with_vulkan
945 with_wayland
946 with_xcomposite
947 with_xcursor
948 with_xfixes
949 with_xinerama
950 with_xinput
951 with_xinput2
952 with_xrandr
953 with_xrender
954 with_xshape
955 with_xshm
956 with_xxf86vm
957 with_system_dllpath
958 with_wine_tools
959 with_wine64
960 enable_largefile
961 with_x
962 enable_acledit
963 enable_aclui
964 enable_activeds_tlb
965 enable_activeds
966 enable_actxprxy
967 enable_adsldp
968 enable_adsldpc
969 enable_advapi32
970 enable_advpack
971 enable_amsi
972 enable_amstream
973 enable_apisetschema
974 enable_apphelp
975 enable_appwiz_cpl
976 enable_atl
977 enable_atl100
978 enable_atl110
979 enable_atl80
980 enable_atl90
981 enable_atlthunk
982 enable_atmlib
983 enable_authz
984 enable_avicap32
985 enable_avifil32
986 enable_avrt
987 enable_bcrypt
988 enable_bluetoothapis
989 enable_browseui
990 enable_bthprops_cpl
991 enable_cabinet
992 enable_capi2032
993 enable_cards
994 enable_cdosys
995 enable_cfgmgr32
996 enable_clusapi
997 enable_cng_sys
998 enable_combase
999 enable_comcat
1000 enable_comctl32
1001 enable_comdlg32
1002 enable_compstui
1003 enable_comsvcs
1004 enable_concrt140
1005 enable_connect
1006 enable_credui
1007 enable_crtdll
1008 enable_crypt32
1009 enable_cryptdlg
1010 enable_cryptdll
1011 enable_cryptext
1012 enable_cryptnet
1013 enable_cryptowinrt
1014 enable_cryptsp
1015 enable_cryptui
1016 enable_ctapi32
1017 enable_ctl3d32
1018 enable_d2d1
1019 enable_d3d10
1020 enable_d3d10_1
1021 enable_d3d10core
1022 enable_d3d11
1023 enable_d3d12
1024 enable_d3d12core
1025 enable_d3d8
1026 enable_d3d8thk
1027 enable_d3d9
1028 enable_d3dcompiler_33
1029 enable_d3dcompiler_34
1030 enable_d3dcompiler_35
1031 enable_d3dcompiler_36
1032 enable_d3dcompiler_37
1033 enable_d3dcompiler_38
1034 enable_d3dcompiler_39
1035 enable_d3dcompiler_40
1036 enable_d3dcompiler_41
1037 enable_d3dcompiler_42
1038 enable_d3dcompiler_43
1039 enable_d3dcompiler_46
1040 enable_d3dcompiler_47
1041 enable_d3dim
1042 enable_d3dim700
1043 enable_d3drm
1044 enable_d3dx10_33
1045 enable_d3dx10_34
1046 enable_d3dx10_35
1047 enable_d3dx10_36
1048 enable_d3dx10_37
1049 enable_d3dx10_38
1050 enable_d3dx10_39
1051 enable_d3dx10_40
1052 enable_d3dx10_41
1053 enable_d3dx10_42
1054 enable_d3dx10_43
1055 enable_d3dx11_42
1056 enable_d3dx11_43
1057 enable_d3dx9_24
1058 enable_d3dx9_25
1059 enable_d3dx9_26
1060 enable_d3dx9_27
1061 enable_d3dx9_28
1062 enable_d3dx9_29
1063 enable_d3dx9_30
1064 enable_d3dx9_31
1065 enable_d3dx9_32
1066 enable_d3dx9_33
1067 enable_d3dx9_34
1068 enable_d3dx9_35
1069 enable_d3dx9_36
1070 enable_d3dx9_37
1071 enable_d3dx9_38
1072 enable_d3dx9_39
1073 enable_d3dx9_40
1074 enable_d3dx9_41
1075 enable_d3dx9_42
1076 enable_d3dx9_43
1077 enable_d3dxof
1078 enable_davclnt
1079 enable_dbgeng
1080 enable_dbghelp
1081 enable_dciman32
1082 enable_dcomp
1083 enable_ddraw
1084 enable_ddrawex
1085 enable_devenum
1086 enable_dhcpcsvc
1087 enable_dhcpcsvc6
1088 enable_dhtmled_ocx
1089 enable_diasymreader
1090 enable_difxapi
1091 enable_dinput
1092 enable_dinput8
1093 enable_directmanipulation
1094 enable_dispex
1095 enable_dmband
1096 enable_dmcompos
1097 enable_dmime
1098 enable_dmloader
1099 enable_dmscript
1100 enable_dmstyle
1101 enable_dmsynth
1102 enable_dmusic
1103 enable_dmusic32
1104 enable_dnsapi
1105 enable_dplay
1106 enable_dplayx
1107 enable_dpnaddr
1108 enable_dpnet
1109 enable_dpnhpast
1110 enable_dpnhupnp
1111 enable_dpnlobby
1112 enable_dpvoice
1113 enable_dpwsockx
1114 enable_drmclien
1115 enable_dsdmo
1116 enable_dsound
1117 enable_dsquery
1118 enable_dssenh
1119 enable_dsuiext
1120 enable_dswave
1121 enable_dwmapi
1122 enable_dwrite
1123 enable_dx8vb
1124 enable_dxdiagn
1125 enable_dxgi
1126 enable_dxtrans
1127 enable_dxva2
1128 enable_esent
1129 enable_evr
1130 enable_explorerframe
1131 enable_faultrep
1132 enable_feclient
1133 enable_fltlib
1134 enable_fltmgr_sys
1135 enable_fntcache
1136 enable_fontsub
1137 enable_fusion
1138 enable_fwpuclnt
1139 enable_gameux
1140 enable_gamingtcui
1141 enable_gdi32
1142 enable_gdiplus
1143 enable_glu32
1144 enable_gphoto2_ds
1145 enable_gpkcsp
1146 enable_graphicscapture
1147 enable_hal
1148 enable_hhctrl_ocx
1149 enable_hid
1150 enable_hidclass_sys
1151 enable_hidparse_sys
1152 enable_hlink
1153 enable_hnetcfg
1154 enable_hrtfapo
1155 enable_http_sys
1156 enable_httpapi
1157 enable_ia2comproxy
1158 enable_iccvid
1159 enable_icmp
1160 enable_ieframe
1161 enable_ieproxy
1162 enable_imaadp32_acm
1163 enable_imagehlp
1164 enable_imm32
1165 enable_inetcomm
1166 enable_inetcpl_cpl
1167 enable_inetmib1
1168 enable_infosoft
1169 enable_initpki
1170 enable_inkobj
1171 enable_inseng
1172 enable_iphlpapi
1173 enable_iprop
1174 enable_ir50_32
1175 enable_irprops_cpl
1176 enable_itircl
1177 enable_itss
1178 enable_joy_cpl
1179 enable_jscript
1180 enable_jsproxy
1181 enable_kerberos
1182 enable_kernel32
1183 enable_kernelbase
1184 enable_ksecdd_sys
1185 enable_ksproxy_ax
1186 enable_ksuser
1187 enable_ktmw32
1188 enable_l3codeca_acm
1189 enable_light_msstyles
1190 enable_loadperf
1191 enable_localspl
1192 enable_localui
1193 enable_lz32
1194 enable_mapi32
1195 enable_mapistub
1196 enable_mciavi32
1197 enable_mcicda
1198 enable_mciqtz32
1199 enable_mciseq
1200 enable_mciwave
1201 enable_mf
1202 enable_mf3216
1203 enable_mferror
1204 enable_mfmediaengine
1205 enable_mfplat
1206 enable_mfplay
1207 enable_mfreadwrite
1208 enable_mfsrcsnk
1209 enable_mgmtapi
1210 enable_midimap
1211 enable_mlang
1212 enable_mmcndmgr
1213 enable_mmdevapi
1214 enable_mountmgr_sys
1215 enable_mp3dmod
1216 enable_mpr
1217 enable_mprapi
1218 enable_msacm32_drv
1219 enable_msacm32
1220 enable_msado15
1221 enable_msadp32_acm
1222 enable_msasn1
1223 enable_msauddecmft
1224 enable_mscat32
1225 enable_mscms
1226 enable_mscoree
1227 enable_mscorwks
1228 enable_msctf
1229 enable_msctfmonitor
1230 enable_msctfp
1231 enable_msdaps
1232 enable_msdasql
1233 enable_msdelta
1234 enable_msdmo
1235 enable_msdrm
1236 enable_msftedit
1237 enable_msg711_acm
1238 enable_msgsm32_acm
1239 enable_mshtml_tlb
1240 enable_mshtml
1241 enable_msi
1242 enable_msident
1243 enable_msimg32
1244 enable_msimsg
1245 enable_msimtf
1246 enable_msisip
1247 enable_msisys_ocx
1248 enable_msls31
1249 enable_msmpeg2vdec
1250 enable_msnet32
1251 enable_mspatcha
1252 enable_msports
1253 enable_msrle32
1254 enable_msscript_ocx
1255 enable_mssign32
1256 enable_mssip32
1257 enable_mstask
1258 enable_msv1_0
1259 enable_msvcirt
1260 enable_msvcm80
1261 enable_msvcm90
1262 enable_msvcp100
1263 enable_msvcp110
1264 enable_msvcp120
1265 enable_msvcp120_app
1266 enable_msvcp140
1267 enable_msvcp140_1
1268 enable_msvcp140_2
1269 enable_msvcp140_atomic_wait
1270 enable_msvcp60
1271 enable_msvcp70
1272 enable_msvcp71
1273 enable_msvcp80
1274 enable_msvcp90
1275 enable_msvcp_win
1276 enable_msvcr100
1277 enable_msvcr110
1278 enable_msvcr120
1279 enable_msvcr120_app
1280 enable_msvcr70
1281 enable_msvcr71
1282 enable_msvcr80
1283 enable_msvcr90
1284 enable_msvcrt
1285 enable_msvcrt20
1286 enable_msvcrt40
1287 enable_msvcrtd
1288 enable_msvfw32
1289 enable_msvidc32
1290 enable_mswsock
1291 enable_msxml
1292 enable_msxml2
1293 enable_msxml3
1294 enable_msxml4
1295 enable_msxml6
1296 enable_mtxdm
1297 enable_ncrypt
1298 enable_nddeapi
1299 enable_ndis_sys
1300 enable_netapi32
1301 enable_netcfgx
1302 enable_netio_sys
1303 enable_netprofm
1304 enable_netutils
1305 enable_newdev
1306 enable_ninput
1307 enable_normaliz
1308 enable_npmshtml
1309 enable_npptools
1310 enable_nsi
1311 enable_nsiproxy_sys
1312 enable_ntdll
1313 enable_ntdsapi
1314 enable_ntoskrnl_exe
1315 enable_ntprint
1316 enable_objsel
1317 enable_odbc32
1318 enable_odbcbcp
1319 enable_odbccp32
1320 enable_odbccu32
1321 enable_ole32
1322 enable_oleacc
1323 enable_oleaut32
1324 enable_olecli32
1325 enable_oledb32
1326 enable_oledlg
1327 enable_olepro32
1328 enable_olesvr32
1329 enable_olethk32
1330 enable_opcservices
1331 enable_opencl
1332 enable_opengl32
1333 enable_packager
1334 enable_pdh
1335 enable_photometadatahandler
1336 enable_pidgen
1337 enable_powrprof
1338 enable_printui
1339 enable_prntvpt
1340 enable_propsys
1341 enable_psapi
1342 enable_pstorec
1343 enable_pwrshplugin
1344 enable_qasf
1345 enable_qcap
1346 enable_qdvd
1347 enable_qedit
1348 enable_qmgr
1349 enable_qmgrprxy
1350 enable_quartz
1351 enable_query
1352 enable_qwave
1353 enable_rasapi32
1354 enable_rasdlg
1355 enable_regapi
1356 enable_resutils
1357 enable_riched20
1358 enable_riched32
1359 enable_rpcrt4
1360 enable_rsabase
1361 enable_rsaenh
1362 enable_rstrtmgr
1363 enable_rtutils
1364 enable_rtworkq
1365 enable_samlib
1366 enable_sane_ds
1367 enable_sapi
1368 enable_sas
1369 enable_scarddlg
1370 enable_scardsvr
1371 enable_sccbase
1372 enable_schannel
1373 enable_schedsvc
1374 enable_scrobj
1375 enable_scrrun
1376 enable_scsiport_sys
1377 enable_sechost
1378 enable_secur32
1379 enable_security
1380 enable_sensapi
1381 enable_serialui
1382 enable_setupapi
1383 enable_sfc
1384 enable_sfc_os
1385 enable_shcore
1386 enable_shdoclc
1387 enable_shdocvw
1388 enable_shell32
1389 enable_shfolder
1390 enable_shlwapi
1391 enable_slbcsp
1392 enable_slc
1393 enable_snmpapi
1394 enable_softpub
1395 enable_spoolss
1396 enable_sppc
1397 enable_srclient
1398 enable_srvcli
1399 enable_sspicli
1400 enable_stdole2_tlb
1401 enable_stdole32_tlb
1402 enable_sti
1403 enable_strmdll
1404 enable_svrapi
1405 enable_sxs
1406 enable_t2embed
1407 enable_tapi32
1408 enable_taskschd
1409 enable_tbs
1410 enable_tdh
1411 enable_tdi_sys
1412 enable_threadpoolwinrt
1413 enable_traffic
1414 enable_twain_32
1415 enable_twinapi_appcore
1416 enable_tzres
1417 enable_ucrtbase
1418 enable_uianimation
1419 enable_uiautomationcore
1420 enable_uiribbon
1421 enable_unicows
1422 enable_updspapi
1423 enable_url
1424 enable_urlmon
1425 enable_usbd_sys
1426 enable_user32
1427 enable_userenv
1428 enable_usp10
1429 enable_utildll
1430 enable_uxtheme
1431 enable_vbscript
1432 enable_vcomp
1433 enable_vcomp100
1434 enable_vcomp110
1435 enable_vcomp120
1436 enable_vcomp140
1437 enable_vcomp90
1438 enable_vcruntime140
1439 enable_vcruntime140_1
1440 enable_vdmdbg
1441 enable_version
1442 enable_vga
1443 enable_virtdisk
1444 enable_vssapi
1445 enable_vulkan_1
1446 enable_wbemdisp
1447 enable_wbemprox
1448 enable_wdscore
1449 enable_webservices
1450 enable_websocket
1451 enable_wer
1452 enable_wevtapi
1453 enable_wevtsvc
1454 enable_wiaservc
1455 enable_wimgapi
1456 enable_win32u
1457 enable_windows_devices_enumeration
1458 enable_windows_gaming_input
1459 enable_windows_gaming_ui_gamebar
1460 enable_windows_globalization
1461 enable_windows_media_devices
1462 enable_windows_media_speech
1463 enable_windows_media
1464 enable_windows_networking
1465 enable_windows_perception_stub
1466 enable_windows_system_profile_systemmanufacturers
1467 enable_windows_ui
1468 enable_windowscodecs
1469 enable_windowscodecsext
1470 enable_winealsa_drv
1471 enable_wineandroid_drv
1472 enable_winebus_sys
1473 enable_winecoreaudio_drv
1474 enable_winecrt0
1475 enable_wined3d
1476 enable_winegstreamer
1477 enable_winehid_sys
1478 enable_winemac_drv
1479 enable_winemapi
1480 enable_wineoss_drv
1481 enable_wineps_drv
1482 enable_winepulse_drv
1483 enable_wineusb_sys
1484 enable_winevulkan
1485 enable_winewayland_drv
1486 enable_winex11_drv
1487 enable_winexinput_sys
1488 enable_wing32
1489 enable_winhttp
1490 enable_wininet
1491 enable_winmm
1492 enable_winnls32
1493 enable_winprint
1494 enable_winscard
1495 enable_winspool_drv
1496 enable_winsta
1497 enable_wintab32
1498 enable_wintrust
1499 enable_wintypes
1500 enable_winusb
1501 enable_wlanapi
1502 enable_wlanui
1503 enable_wldap32
1504 enable_wmasf
1505 enable_wmi
1506 enable_wmiutils
1507 enable_wmp
1508 enable_wmphoto
1509 enable_wmvcore
1510 enable_wnaspi32
1511 enable_wofutil
1512 enable_wow64
1513 enable_wow64cpu
1514 enable_wow64win
1515 enable_wpc
1516 enable_wpcap
1517 enable_ws2_32
1518 enable_wsdapi
1519 enable_wshom_ocx
1520 enable_wsnmp32
1521 enable_wsock32
1522 enable_wtsapi32
1523 enable_wuapi
1524 enable_wuaueng
1525 enable_x3daudio1_0
1526 enable_x3daudio1_1
1527 enable_x3daudio1_2
1528 enable_x3daudio1_3
1529 enable_x3daudio1_4
1530 enable_x3daudio1_5
1531 enable_x3daudio1_6
1532 enable_x3daudio1_7
1533 enable_xactengine2_0
1534 enable_xactengine2_4
1535 enable_xactengine2_7
1536 enable_xactengine2_9
1537 enable_xactengine3_0
1538 enable_xactengine3_1
1539 enable_xactengine3_2
1540 enable_xactengine3_3
1541 enable_xactengine3_4
1542 enable_xactengine3_5
1543 enable_xactengine3_6
1544 enable_xactengine3_7
1545 enable_xapofx1_1
1546 enable_xapofx1_2
1547 enable_xapofx1_3
1548 enable_xapofx1_4
1549 enable_xapofx1_5
1550 enable_xaudio2_0
1551 enable_xaudio2_1
1552 enable_xaudio2_2
1553 enable_xaudio2_3
1554 enable_xaudio2_4
1555 enable_xaudio2_5
1556 enable_xaudio2_6
1557 enable_xaudio2_7
1558 enable_xaudio2_8
1559 enable_xaudio2_9
1560 enable_xinput1_1
1561 enable_xinput1_2
1562 enable_xinput1_3
1563 enable_xinput1_4
1564 enable_xinput9_1_0
1565 enable_xinputuap
1566 enable_xmllite
1567 enable_xolehlp
1568 enable_xpsprint
1569 enable_xpssvcs
1570 enable_fonts
1571 enable_include
1572 enable_adsiid
1573 enable_dmoguids
1574 enable_dxerr8
1575 enable_dxerr9
1576 enable_dxguid
1577 enable_faudio
1578 enable_gsm
1579 enable_jpeg
1580 enable_jxr
1581 enable_lcms2
1582 enable_ldap
1583 enable_mfuuid
1584 enable_mpg123
1585 enable_musl
1586 enable_png
1587 enable_strmbase
1588 enable_strmiids
1589 enable_tiff
1590 enable_uuid
1591 enable_vkd3d
1592 enable_wbemuuid
1593 enable_wmcodecdspuuid
1594 enable_xml2
1595 enable_xslt
1596 enable_zlib
1597 enable_zydis
1598 enable_loader
1599 enable_nls
1600 enable_po
1601 enable_arp
1602 enable_aspnet_regiis
1603 enable_attrib
1604 enable_cabarc
1605 enable_cacls
1606 enable_certutil
1607 enable_chcp_com
1608 enable_clock
1609 enable_cmd
1610 enable_conhost
1611 enable_control
1612 enable_cscript
1613 enable_dism
1614 enable_dllhost
1615 enable_dplaysvr
1616 enable_dpnsvr
1617 enable_dpvsetup
1618 enable_dxdiag
1619 enable_eject
1620 enable_expand
1621 enable_explorer
1622 enable_extrac32
1623 enable_fc
1624 enable_find
1625 enable_findstr
1626 enable_fsutil
1627 enable_hh
1628 enable_hostname
1629 enable_icacls
1630 enable_icinfo
1631 enable_iexplore
1632 enable_ipconfig
1633 enable_lodctr
1634 enable_mofcomp
1635 enable_mshta
1636 enable_msidb
1637 enable_msiexec
1638 enable_msinfo32
1639 enable_net
1640 enable_netsh
1641 enable_netstat
1642 enable_ngen
1643 enable_notepad
1644 enable_oleview
1645 enable_ping
1646 enable_plugplay
1647 enable_powershell
1648 enable_presentationfontcache
1649 enable_progman
1650 enable_reg
1651 enable_regasm
1652 enable_regedit
1653 enable_regini
1654 enable_regsvcs
1655 enable_regsvr32
1656 enable_robocopy
1657 enable_rpcss
1658 enable_rundll32
1659 enable_sc
1660 enable_schtasks
1661 enable_sdbinst
1662 enable_secedit
1663 enable_servicemodelreg
1664 enable_services
1665 enable_setx
1666 enable_shutdown
1667 enable_spoolsv
1668 enable_start
1669 enable_subst
1670 enable_svchost
1671 enable_systeminfo
1672 enable_taskkill
1673 enable_tasklist
1674 enable_taskmgr
1675 enable_termsv
1676 enable_uninstaller
1677 enable_unlodctr
1678 enable_view
1679 enable_wevtutil
1680 enable_where
1681 enable_whoami
1682 enable_wineboot
1683 enable_winebrowser
1684 enable_winecfg
1685 enable_wineconsole
1686 enable_winedbg
1687 enable_winedevice
1688 enable_winefile
1689 enable_winemenubuilder
1690 enable_winemine
1691 enable_winemsibuilder
1692 enable_winepath
1693 enable_winetest
1694 enable_winhlp32
1695 enable_winmgmt
1696 enable_winver
1697 enable_wmic
1698 enable_wmplayer
1699 enable_wordpad
1700 enable_write
1701 enable_wscript
1702 enable_wuauserv
1703 enable_wusa
1704 enable_xcopy
1705 enable_server
1706 enable_tools
1707 enable_sfnt2fon
1708 enable_widl
1709 enable_winebuild
1710 enable_winedump
1711 enable_winegcc
1712 enable_winemaker
1713 enable_wmc
1714 enable_wrc
1716 ac_precious_vars='build_alias
1717 host_alias
1718 target_alias
1720 CFLAGS
1721 LDFLAGS
1722 LIBS
1723 CPPFLAGS
1725 CXXFLAGS
1727 OBJC
1728 OBJCFLAGS
1729 FAUDIO_PE_CFLAGS
1730 FAUDIO_PE_LIBS
1731 GSM_PE_CFLAGS
1732 GSM_PE_LIBS
1733 JPEG_PE_CFLAGS
1734 JPEG_PE_LIBS
1735 JXR_PE_CFLAGS
1736 JXR_PE_LIBS
1737 LCMS2_PE_CFLAGS
1738 LCMS2_PE_LIBS
1739 LDAP_PE_CFLAGS
1740 LDAP_PE_LIBS
1741 MPG123_PE_CFLAGS
1742 MPG123_PE_LIBS
1743 MUSL_PE_CFLAGS
1744 MUSL_PE_LIBS
1745 PNG_PE_CFLAGS
1746 PNG_PE_LIBS
1747 TIFF_PE_CFLAGS
1748 TIFF_PE_LIBS
1749 VKD3D_PE_CFLAGS
1750 VKD3D_PE_LIBS
1751 XML2_PE_CFLAGS
1752 XML2_PE_LIBS
1753 XSLT_PE_CFLAGS
1754 XSLT_PE_LIBS
1755 ZLIB_PE_CFLAGS
1756 ZLIB_PE_LIBS
1757 ZYDIS_PE_CFLAGS
1758 ZYDIS_PE_LIBS
1759 XMKMF
1761 WAYLAND_CLIENT_CFLAGS
1762 WAYLAND_CLIENT_LIBS
1763 INOTIFY_CFLAGS
1764 INOTIFY_LIBS
1765 DBUS_CFLAGS
1766 DBUS_LIBS
1767 GNUTLS_CFLAGS
1768 GNUTLS_LIBS
1769 SANE_CFLAGS
1770 SANE_LIBS
1771 USB_CFLAGS
1772 USB_LIBS
1773 GPHOTO2_CFLAGS
1774 GPHOTO2_LIBS
1775 GPHOTO2_PORT_CFLAGS
1776 GPHOTO2_PORT_LIBS
1777 FREETYPE_CFLAGS
1778 FREETYPE_LIBS
1779 PULSE_CFLAGS
1780 PULSE_LIBS
1781 GSTREAMER_CFLAGS
1782 GSTREAMER_LIBS
1783 UDEV_CFLAGS
1784 UDEV_LIBS
1785 UNWIND_CFLAGS
1786 UNWIND_LIBS
1787 SDL2_CFLAGS
1788 SDL2_LIBS
1789 CAPI20_CFLAGS
1790 CAPI20_LIBS
1791 CUPS_CFLAGS
1792 CUPS_LIBS
1793 FONTCONFIG_CFLAGS
1794 FONTCONFIG_LIBS
1795 KRB5_CFLAGS
1796 KRB5_LIBS
1797 GSSAPI_CFLAGS
1798 GSSAPI_LIBS
1799 NETAPI_CFLAGS
1800 NETAPI_LIBS'
1803 # Initialize some variables set by options.
1804 ac_init_help=
1805 ac_init_version=false
1806 ac_unrecognized_opts=
1807 ac_unrecognized_sep=
1808 # The variables have the same names as the options, with
1809 # dashes changed to underlines.
1810 cache_file=/dev/null
1811 exec_prefix=NONE
1812 no_create=
1813 no_recursion=
1814 prefix=NONE
1815 program_prefix=NONE
1816 program_suffix=NONE
1817 program_transform_name=s,x,x,
1818 silent=
1819 site=
1820 srcdir=
1821 verbose=
1822 x_includes=NONE
1823 x_libraries=NONE
1825 # Installation directory options.
1826 # These are left unexpanded so users can "make install exec_prefix=/foo"
1827 # and all the variables that are supposed to be based on exec_prefix
1828 # by default will actually change.
1829 # Use braces instead of parens because sh, perl, etc. also accept them.
1830 # (The list follows the same order as the GNU Coding Standards.)
1831 bindir='${exec_prefix}/bin'
1832 sbindir='${exec_prefix}/sbin'
1833 libexecdir='${exec_prefix}/libexec'
1834 datarootdir='${prefix}/share'
1835 datadir='${datarootdir}'
1836 sysconfdir='${prefix}/etc'
1837 sharedstatedir='${prefix}/com'
1838 localstatedir='${prefix}/var'
1839 runstatedir='${localstatedir}/run'
1840 includedir='${prefix}/include'
1841 oldincludedir='/usr/include'
1842 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1843 infodir='${datarootdir}/info'
1844 htmldir='${docdir}'
1845 dvidir='${docdir}'
1846 pdfdir='${docdir}'
1847 psdir='${docdir}'
1848 libdir='${exec_prefix}/lib'
1849 localedir='${datarootdir}/locale'
1850 mandir='${datarootdir}/man'
1852 ac_prev=
1853 ac_dashdash=
1854 for ac_option
1856 # If the previous option needs an argument, assign it.
1857 if test -n "$ac_prev"; then
1858 eval $ac_prev=\$ac_option
1859 ac_prev=
1860 continue
1863 case $ac_option in
1864 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1865 *=) ac_optarg= ;;
1866 *) ac_optarg=yes ;;
1867 esac
1869 case $ac_dashdash$ac_option in
1871 ac_dashdash=yes ;;
1873 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1874 ac_prev=bindir ;;
1875 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1876 bindir=$ac_optarg ;;
1878 -build | --build | --buil | --bui | --bu)
1879 ac_prev=build_alias ;;
1880 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1881 build_alias=$ac_optarg ;;
1883 -cache-file | --cache-file | --cache-fil | --cache-fi \
1884 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1885 ac_prev=cache_file ;;
1886 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1887 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1888 cache_file=$ac_optarg ;;
1890 --config-cache | -C)
1891 cache_file=config.cache ;;
1893 -datadir | --datadir | --datadi | --datad)
1894 ac_prev=datadir ;;
1895 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1896 datadir=$ac_optarg ;;
1898 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1899 | --dataroo | --dataro | --datar)
1900 ac_prev=datarootdir ;;
1901 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1902 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1903 datarootdir=$ac_optarg ;;
1905 -disable-* | --disable-*)
1906 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1907 # Reject names that are not valid shell variable names.
1908 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1909 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1910 ac_useropt_orig=$ac_useropt
1911 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1912 case $ac_user_opts in
1914 "enable_$ac_useropt"
1915 "*) ;;
1916 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1917 ac_unrecognized_sep=', ';;
1918 esac
1919 eval enable_$ac_useropt=no ;;
1921 -docdir | --docdir | --docdi | --doc | --do)
1922 ac_prev=docdir ;;
1923 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1924 docdir=$ac_optarg ;;
1926 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1927 ac_prev=dvidir ;;
1928 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1929 dvidir=$ac_optarg ;;
1931 -enable-* | --enable-*)
1932 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1933 # Reject names that are not valid shell variable names.
1934 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1935 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1936 ac_useropt_orig=$ac_useropt
1937 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1938 case $ac_user_opts in
1940 "enable_$ac_useropt"
1941 "*) ;;
1942 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1943 ac_unrecognized_sep=', ';;
1944 esac
1945 eval enable_$ac_useropt=\$ac_optarg ;;
1947 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1948 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1949 | --exec | --exe | --ex)
1950 ac_prev=exec_prefix ;;
1951 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1952 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1953 | --exec=* | --exe=* | --ex=*)
1954 exec_prefix=$ac_optarg ;;
1956 -gas | --gas | --ga | --g)
1957 # Obsolete; use --with-gas.
1958 with_gas=yes ;;
1960 -help | --help | --hel | --he | -h)
1961 ac_init_help=long ;;
1962 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1963 ac_init_help=recursive ;;
1964 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1965 ac_init_help=short ;;
1967 -host | --host | --hos | --ho)
1968 ac_prev=host_alias ;;
1969 -host=* | --host=* | --hos=* | --ho=*)
1970 host_alias=$ac_optarg ;;
1972 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1973 ac_prev=htmldir ;;
1974 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1975 | --ht=*)
1976 htmldir=$ac_optarg ;;
1978 -includedir | --includedir | --includedi | --included | --include \
1979 | --includ | --inclu | --incl | --inc)
1980 ac_prev=includedir ;;
1981 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1982 | --includ=* | --inclu=* | --incl=* | --inc=*)
1983 includedir=$ac_optarg ;;
1985 -infodir | --infodir | --infodi | --infod | --info | --inf)
1986 ac_prev=infodir ;;
1987 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1988 infodir=$ac_optarg ;;
1990 -libdir | --libdir | --libdi | --libd)
1991 ac_prev=libdir ;;
1992 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1993 libdir=$ac_optarg ;;
1995 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1996 | --libexe | --libex | --libe)
1997 ac_prev=libexecdir ;;
1998 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1999 | --libexe=* | --libex=* | --libe=*)
2000 libexecdir=$ac_optarg ;;
2002 -localedir | --localedir | --localedi | --localed | --locale)
2003 ac_prev=localedir ;;
2004 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2005 localedir=$ac_optarg ;;
2007 -localstatedir | --localstatedir | --localstatedi | --localstated \
2008 | --localstate | --localstat | --localsta | --localst | --locals)
2009 ac_prev=localstatedir ;;
2010 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2011 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2012 localstatedir=$ac_optarg ;;
2014 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2015 ac_prev=mandir ;;
2016 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2017 mandir=$ac_optarg ;;
2019 -nfp | --nfp | --nf)
2020 # Obsolete; use --without-fp.
2021 with_fp=no ;;
2023 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2024 | --no-cr | --no-c | -n)
2025 no_create=yes ;;
2027 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2028 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2029 no_recursion=yes ;;
2031 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2032 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2033 | --oldin | --oldi | --old | --ol | --o)
2034 ac_prev=oldincludedir ;;
2035 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2036 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2037 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2038 oldincludedir=$ac_optarg ;;
2040 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2041 ac_prev=prefix ;;
2042 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2043 prefix=$ac_optarg ;;
2045 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2046 | --program-pre | --program-pr | --program-p)
2047 ac_prev=program_prefix ;;
2048 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2049 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2050 program_prefix=$ac_optarg ;;
2052 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2053 | --program-suf | --program-su | --program-s)
2054 ac_prev=program_suffix ;;
2055 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2056 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2057 program_suffix=$ac_optarg ;;
2059 -program-transform-name | --program-transform-name \
2060 | --program-transform-nam | --program-transform-na \
2061 | --program-transform-n | --program-transform- \
2062 | --program-transform | --program-transfor \
2063 | --program-transfo | --program-transf \
2064 | --program-trans | --program-tran \
2065 | --progr-tra | --program-tr | --program-t)
2066 ac_prev=program_transform_name ;;
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 program_transform_name=$ac_optarg ;;
2076 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2077 ac_prev=pdfdir ;;
2078 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2079 pdfdir=$ac_optarg ;;
2081 -psdir | --psdir | --psdi | --psd | --ps)
2082 ac_prev=psdir ;;
2083 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2084 psdir=$ac_optarg ;;
2086 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2087 | -silent | --silent | --silen | --sile | --sil)
2088 silent=yes ;;
2090 -runstatedir | --runstatedir | --runstatedi | --runstated \
2091 | --runstate | --runstat | --runsta | --runst | --runs \
2092 | --run | --ru | --r)
2093 ac_prev=runstatedir ;;
2094 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2095 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2096 | --run=* | --ru=* | --r=*)
2097 runstatedir=$ac_optarg ;;
2099 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2100 ac_prev=sbindir ;;
2101 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2102 | --sbi=* | --sb=*)
2103 sbindir=$ac_optarg ;;
2105 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2106 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2107 | --sharedst | --shareds | --shared | --share | --shar \
2108 | --sha | --sh)
2109 ac_prev=sharedstatedir ;;
2110 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2111 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2112 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2113 | --sha=* | --sh=*)
2114 sharedstatedir=$ac_optarg ;;
2116 -site | --site | --sit)
2117 ac_prev=site ;;
2118 -site=* | --site=* | --sit=*)
2119 site=$ac_optarg ;;
2121 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2122 ac_prev=srcdir ;;
2123 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2124 srcdir=$ac_optarg ;;
2126 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2127 | --syscon | --sysco | --sysc | --sys | --sy)
2128 ac_prev=sysconfdir ;;
2129 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2130 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2131 sysconfdir=$ac_optarg ;;
2133 -target | --target | --targe | --targ | --tar | --ta | --t)
2134 ac_prev=target_alias ;;
2135 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2136 target_alias=$ac_optarg ;;
2138 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2139 verbose=yes ;;
2141 -version | --version | --versio | --versi | --vers | -V)
2142 ac_init_version=: ;;
2144 -with-* | --with-*)
2145 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2146 # Reject names that are not valid shell variable names.
2147 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2148 as_fn_error $? "invalid package name: \`$ac_useropt'"
2149 ac_useropt_orig=$ac_useropt
2150 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2151 case $ac_user_opts in
2153 "with_$ac_useropt"
2154 "*) ;;
2155 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2156 ac_unrecognized_sep=', ';;
2157 esac
2158 eval with_$ac_useropt=\$ac_optarg ;;
2160 -without-* | --without-*)
2161 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2162 # Reject names that are not valid shell variable names.
2163 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2164 as_fn_error $? "invalid package name: \`$ac_useropt'"
2165 ac_useropt_orig=$ac_useropt
2166 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2167 case $ac_user_opts in
2169 "with_$ac_useropt"
2170 "*) ;;
2171 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2172 ac_unrecognized_sep=', ';;
2173 esac
2174 eval with_$ac_useropt=no ;;
2176 --x)
2177 # Obsolete; use --with-x.
2178 with_x=yes ;;
2180 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2181 | --x-incl | --x-inc | --x-in | --x-i)
2182 ac_prev=x_includes ;;
2183 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2184 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2185 x_includes=$ac_optarg ;;
2187 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2188 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2189 ac_prev=x_libraries ;;
2190 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2191 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2192 x_libraries=$ac_optarg ;;
2194 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2195 Try \`$0 --help' for more information"
2198 *=*)
2199 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2200 # Reject names that are not valid shell variable names.
2201 case $ac_envvar in #(
2202 '' | [0-9]* | *[!_$as_cr_alnum]* )
2203 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2204 esac
2205 eval $ac_envvar=\$ac_optarg
2206 export $ac_envvar ;;
2209 # FIXME: should be removed in autoconf 3.0.
2210 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2211 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2212 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2213 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2216 esac
2217 done
2219 if test -n "$ac_prev"; then
2220 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2221 as_fn_error $? "missing argument to $ac_option"
2224 if test -n "$ac_unrecognized_opts"; then
2225 case $enable_option_checking in
2226 no) ;;
2227 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2228 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2229 esac
2232 # Check all directory arguments for consistency.
2233 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2234 datadir sysconfdir sharedstatedir localstatedir includedir \
2235 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2236 libdir localedir mandir runstatedir
2238 eval ac_val=\$$ac_var
2239 # Remove trailing slashes.
2240 case $ac_val in
2241 */ )
2242 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2243 eval $ac_var=\$ac_val;;
2244 esac
2245 # Be sure to have absolute directory names.
2246 case $ac_val in
2247 [\\/$]* | ?:[\\/]* ) continue;;
2248 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2249 esac
2250 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2251 done
2253 # There might be people who depend on the old broken behavior: `$host'
2254 # used to hold the argument of --host etc.
2255 # FIXME: To remove some day.
2256 build=$build_alias
2257 host=$host_alias
2258 target=$target_alias
2260 # FIXME: To remove some day.
2261 if test "x$host_alias" != x; then
2262 if test "x$build_alias" = x; then
2263 cross_compiling=maybe
2264 elif test "x$build_alias" != "x$host_alias"; then
2265 cross_compiling=yes
2269 ac_tool_prefix=
2270 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2272 test "$silent" = yes && exec 6>/dev/null
2275 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2276 ac_ls_di=`ls -di .` &&
2277 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2278 as_fn_error $? "working directory cannot be determined"
2279 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2280 as_fn_error $? "pwd does not report name of working directory"
2283 # Find the source files, if location was not specified.
2284 if test -z "$srcdir"; then
2285 ac_srcdir_defaulted=yes
2286 # Try the directory containing this script, then the parent directory.
2287 ac_confdir=`$as_dirname -- "$as_myself" ||
2288 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2289 X"$as_myself" : 'X\(//\)[^/]' \| \
2290 X"$as_myself" : 'X\(//\)$' \| \
2291 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2292 printf "%s\n" X"$as_myself" |
2293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2294 s//\1/
2297 /^X\(\/\/\)[^/].*/{
2298 s//\1/
2301 /^X\(\/\/\)$/{
2302 s//\1/
2305 /^X\(\/\).*/{
2306 s//\1/
2309 s/.*/./; q'`
2310 srcdir=$ac_confdir
2311 if test ! -r "$srcdir/$ac_unique_file"; then
2312 srcdir=..
2314 else
2315 ac_srcdir_defaulted=no
2317 if test ! -r "$srcdir/$ac_unique_file"; then
2318 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2319 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2321 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2322 ac_abs_confdir=`(
2323 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2324 pwd)`
2325 # When building in place, set srcdir=.
2326 if test "$ac_abs_confdir" = "$ac_pwd"; then
2327 srcdir=.
2329 # Remove unnecessary trailing slashes from srcdir.
2330 # Double slashes in file names in object file debugging info
2331 # mess up M-x gdb in Emacs.
2332 case $srcdir in
2333 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2334 esac
2335 for ac_var in $ac_precious_vars; do
2336 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2337 eval ac_env_${ac_var}_value=\$${ac_var}
2338 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2339 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2340 done
2343 # Report the --help message.
2345 if test "$ac_init_help" = "long"; then
2346 # Omit some internal or obsolete options to make the list less imposing.
2347 # This message is too long to be a string in the A/UX 3.1 sh.
2348 cat <<_ACEOF
2349 \`configure' configures Wine 8.9 to adapt to many kinds of systems.
2351 Usage: $0 [OPTION]... [VAR=VALUE]...
2353 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2354 VAR=VALUE. See below for descriptions of some of the useful variables.
2356 Defaults for the options are specified in brackets.
2358 Configuration:
2359 -h, --help display this help and exit
2360 --help=short display options specific to this package
2361 --help=recursive display the short help of all the included packages
2362 -V, --version display version information and exit
2363 -q, --quiet, --silent do not print \`checking ...' messages
2364 --cache-file=FILE cache test results in FILE [disabled]
2365 -C, --config-cache alias for \`--cache-file=config.cache'
2366 -n, --no-create do not create output files
2367 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2369 Installation directories:
2370 --prefix=PREFIX install architecture-independent files in PREFIX
2371 [$ac_default_prefix]
2372 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2373 [PREFIX]
2375 By default, \`make install' will install all the files in
2376 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2377 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2378 for instance \`--prefix=\$HOME'.
2380 For better control, use the options below.
2382 Fine tuning of the installation directories:
2383 --bindir=DIR user executables [EPREFIX/bin]
2384 --sbindir=DIR system admin executables [EPREFIX/sbin]
2385 --libexecdir=DIR program executables [EPREFIX/libexec]
2386 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2387 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2388 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2389 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2390 --libdir=DIR object code libraries [EPREFIX/lib]
2391 --includedir=DIR C header files [PREFIX/include]
2392 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2393 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2394 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2395 --infodir=DIR info documentation [DATAROOTDIR/info]
2396 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2397 --mandir=DIR man documentation [DATAROOTDIR/man]
2398 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2399 --htmldir=DIR html documentation [DOCDIR]
2400 --dvidir=DIR dvi documentation [DOCDIR]
2401 --pdfdir=DIR pdf documentation [DOCDIR]
2402 --psdir=DIR ps documentation [DOCDIR]
2403 _ACEOF
2405 cat <<\_ACEOF
2407 X features:
2408 --x-includes=DIR X include files are in DIR
2409 --x-libraries=DIR X library files are in DIR
2411 System types:
2412 --build=BUILD configure for building on BUILD [guessed]
2413 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2414 _ACEOF
2417 if test -n "$ac_init_help"; then
2418 case $ac_init_help in
2419 short | recursive ) echo "Configuration of Wine 8.9:";;
2420 esac
2421 cat <<\_ACEOF
2423 Optional Features:
2424 --disable-option-checking ignore unrecognized --enable/--with options
2425 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2426 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2427 --enable-archs={i386,x86_64,arm,aarch64}
2428 enable multiple architectures for PE compilation
2429 --disable-win16 do not include Win16 support
2430 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2431 binaries)
2432 --disable-tests do not build the regression tests
2433 --enable-build-id include .buildid section in output objects
2434 --enable-maintainer-mode
2435 enable maintainer-specific build rules
2436 --enable-silent-rules use silent build rules (override: "make V=1")
2437 --enable-werror treat compilation warnings as errors
2438 --disable-largefile omit support for large files
2440 Optional Packages:
2441 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2442 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2443 --without-alsa do not use the Alsa sound support
2444 --without-capi do not use CAPI (ISDN support)
2445 --without-coreaudio do not use the CoreAudio sound support
2446 --without-cups do not use CUPS
2447 --without-dbus do not use DBus (dynamic device support)
2448 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2449 --without-fontconfig do not use fontconfig
2450 --without-freetype do not use the FreeType library
2451 --without-gettext do not use gettext
2452 --with-gettextpo use the GetTextPO library to rebuild po files
2453 --without-gphoto do not use gphoto (Digital Camera support)
2454 --without-gnutls do not use GnuTLS (schannel support)
2455 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2456 --without-gstreamer do not use GStreamer (codecs support)
2457 --without-inotify do not use inotify (filesystem change notifications)
2458 --without-krb5 do not use krb5 (Kerberos)
2459 --without-mingw do not use the MinGW cross-compiler
2460 --without-netapi do not use the Samba NetAPI library
2461 --without-opencl do not use OpenCL
2462 --without-opengl do not use OpenGL
2463 --without-osmesa do not use the OSMesa library
2464 --without-oss do not use the OSS sound support
2465 --without-pcap do not use the Packet Capture library
2466 --without-pcsclite do not use PCSC lite
2467 --without-pthread do not use the pthread library
2468 --without-pulse do not use PulseAudio sound support
2469 --without-sane do not use SANE (scanner support)
2470 --without-sdl do not use SDL
2471 --without-udev do not use udev (plug and play support)
2472 --without-unwind do not use the libunwind library (exception
2473 handling)
2474 --without-usb do not use the libusb library
2475 --without-v4l2 do not use v4l2 (video capture)
2476 --without-vulkan do not use Vulkan
2477 --without-wayland do not build the Wayland driver
2478 --without-xcomposite do not use the Xcomposite extension
2479 --without-xcursor do not use the Xcursor extension
2480 --without-xfixes do not use Xfixes for clipboard change notifications
2481 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2482 --without-xinput do not use the Xinput extension
2483 --without-xinput2 do not use the Xinput 2 extension
2484 --without-xrandr do not use Xrandr (multi-monitor support)
2485 --without-xrender do not use the Xrender extension
2486 --without-xshape do not use the Xshape extension
2487 --without-xshm do not use XShm (shared memory extension)
2488 --without-xxf86vm do not use XFree video mode extension
2489 --with-system-dllpath=PATH
2490 load external PE dependencies from colon-separated
2491 path PATH
2492 --with-wine-tools=DIR use Wine tools from directory DIR
2493 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2494 --with-x use the X Window System
2496 Some influential environment variables:
2497 CC C compiler command
2498 CFLAGS C compiler flags
2499 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2500 nonstandard directory <lib dir>
2501 LIBS libraries to pass to the linker, e.g. -l<library>
2502 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2503 you have headers in a nonstandard directory <include dir>
2504 CXX C++ compiler command
2505 CXXFLAGS C++ compiler flags
2506 OBJC Objective C compiler command
2507 OBJCFLAGS Objective C compiler flags
2508 FAUDIO_PE_CFLAGS
2509 C compiler flags for the PE faudio, overriding the bundled
2510 version
2511 FAUDIO_PE_LIBS
2512 Linker flags for the PE faudio, overriding the bundled version
2513 GSM_PE_CFLAGS
2514 C compiler flags for the PE gsm, overriding the bundled version
2515 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2516 JPEG_PE_CFLAGS
2517 C compiler flags for the PE jpeg, overriding the bundled version
2518 JPEG_PE_LIBS
2519 Linker flags for the PE jpeg, overriding the bundled version
2520 JXR_PE_CFLAGS
2521 C compiler flags for the PE jxr, overriding the bundled version
2522 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2523 LCMS2_PE_CFLAGS
2524 C compiler flags for the PE lcms2, overriding the bundled
2525 version
2526 LCMS2_PE_LIBS
2527 Linker flags for the PE lcms2, overriding the bundled version
2528 LDAP_PE_CFLAGS
2529 C compiler flags for the PE ldap, overriding the bundled version
2530 LDAP_PE_LIBS
2531 Linker flags for the PE ldap, overriding the bundled version
2532 MPG123_PE_CFLAGS
2533 C compiler flags for the PE mpg123, overriding the bundled
2534 version
2535 MPG123_PE_LIBS
2536 Linker flags for the PE mpg123, overriding the bundled version
2537 MUSL_PE_CFLAGS
2538 C compiler flags for the PE musl, overriding the bundled version
2539 MUSL_PE_LIBS
2540 Linker flags for the PE musl, overriding the bundled version
2541 PNG_PE_CFLAGS
2542 C compiler flags for the PE png, overriding the bundled version
2543 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2544 TIFF_PE_CFLAGS
2545 C compiler flags for the PE tiff, overriding the bundled version
2546 TIFF_PE_LIBS
2547 Linker flags for the PE tiff, overriding the bundled version
2548 VKD3D_PE_CFLAGS
2549 C compiler flags for the PE vkd3d, overriding the bundled
2550 version
2551 VKD3D_PE_LIBS
2552 Linker flags for the PE vkd3d, overriding the bundled version
2553 XML2_PE_CFLAGS
2554 C compiler flags for the PE xml2, overriding the bundled version
2555 XML2_PE_LIBS
2556 Linker flags for the PE xml2, overriding the bundled version
2557 XSLT_PE_CFLAGS
2558 C compiler flags for the PE xslt, overriding the bundled version
2559 XSLT_PE_LIBS
2560 Linker flags for the PE xslt, overriding the bundled version
2561 ZLIB_PE_CFLAGS
2562 C compiler flags for the PE zlib, overriding the bundled version
2563 ZLIB_PE_LIBS
2564 Linker flags for the PE zlib, overriding the bundled version
2565 ZYDIS_PE_CFLAGS
2566 C compiler flags for the PE zydis, overriding the bundled
2567 version
2568 ZYDIS_PE_LIBS
2569 Linker flags for the PE zydis, overriding the bundled version
2570 XMKMF Path to xmkmf, Makefile generator for X Window System
2571 CPP C preprocessor
2572 WAYLAND_CLIENT_CFLAGS
2573 C compiler flags for wayland-client, overriding pkg-config
2574 WAYLAND_CLIENT_LIBS
2575 Linker flags for wayland-client, overriding pkg-config
2576 INOTIFY_CFLAGS
2577 C compiler flags for libinotify, overriding pkg-config
2578 INOTIFY_LIBS
2579 Linker flags for libinotify, overriding pkg-config
2580 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2581 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2582 GNUTLS_CFLAGS
2583 C compiler flags for gnutls, overriding pkg-config
2584 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2585 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2586 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2587 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2588 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2589 GPHOTO2_CFLAGS
2590 C compiler flags for libgphoto2, overriding pkg-config
2591 GPHOTO2_LIBS
2592 Linker flags for libgphoto2, overriding pkg-config
2593 GPHOTO2_PORT_CFLAGS
2594 C compiler flags for libgphoto2_port, overriding pkg-config
2595 GPHOTO2_PORT_LIBS
2596 Linker flags for libgphoto2_port, overriding pkg-config
2597 FREETYPE_CFLAGS
2598 C compiler flags for freetype2, overriding pkg-config
2599 FREETYPE_LIBS
2600 Linker flags for freetype2, overriding pkg-config
2601 PULSE_CFLAGS
2602 C compiler flags for libpulse, overriding pkg-config
2603 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2604 GSTREAMER_CFLAGS
2605 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2606 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2607 GSTREAMER_LIBS
2608 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2609 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2610 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2611 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2612 UNWIND_CFLAGS
2613 C compiler flags for libunwind, overriding pkg-config
2614 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2615 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2616 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2617 CAPI20_CFLAGS
2618 C compiler flags for capi20, overriding pkg-config
2619 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2620 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2621 CUPS_LIBS Linker flags for cups, overriding pkg-config
2622 FONTCONFIG_CFLAGS
2623 C compiler flags for fontconfig, overriding pkg-config
2624 FONTCONFIG_LIBS
2625 Linker flags for fontconfig, overriding pkg-config
2626 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2627 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2628 GSSAPI_CFLAGS
2629 C compiler flags for krb5-gssapi, overriding pkg-config
2630 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2631 NETAPI_CFLAGS
2632 C compiler flags for netapi, overriding pkg-config
2633 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2635 Use these variables to override the choices made by `configure' or to help
2636 it to find libraries and programs with nonstandard names/locations.
2638 Report bugs to <wine-devel@winehq.org>.
2639 Wine home page: <https://www.winehq.org>.
2640 _ACEOF
2641 ac_status=$?
2644 if test "$ac_init_help" = "recursive"; then
2645 # If there are subdirs, report their specific --help.
2646 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2647 test -d "$ac_dir" ||
2648 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2649 continue
2650 ac_builddir=.
2652 case "$ac_dir" in
2653 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2655 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2656 # A ".." for each directory in $ac_dir_suffix.
2657 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2658 case $ac_top_builddir_sub in
2659 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2660 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2661 esac ;;
2662 esac
2663 ac_abs_top_builddir=$ac_pwd
2664 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2665 # for backward compatibility:
2666 ac_top_builddir=$ac_top_build_prefix
2668 case $srcdir in
2669 .) # We are building in place.
2670 ac_srcdir=.
2671 ac_top_srcdir=$ac_top_builddir_sub
2672 ac_abs_top_srcdir=$ac_pwd ;;
2673 [\\/]* | ?:[\\/]* ) # Absolute name.
2674 ac_srcdir=$srcdir$ac_dir_suffix;
2675 ac_top_srcdir=$srcdir
2676 ac_abs_top_srcdir=$srcdir ;;
2677 *) # Relative name.
2678 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2679 ac_top_srcdir=$ac_top_build_prefix$srcdir
2680 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2681 esac
2682 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2684 cd "$ac_dir" || { ac_status=$?; continue; }
2685 # Check for configure.gnu first; this name is used for a wrapper for
2686 # Metaconfig's "Configure" on case-insensitive file systems.
2687 if test -f "$ac_srcdir/configure.gnu"; then
2688 echo &&
2689 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2690 elif test -f "$ac_srcdir/configure"; then
2691 echo &&
2692 $SHELL "$ac_srcdir/configure" --help=recursive
2693 else
2694 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2695 fi || ac_status=$?
2696 cd "$ac_pwd" || { ac_status=$?; break; }
2697 done
2700 test -n "$ac_init_help" && exit $ac_status
2701 if $ac_init_version; then
2702 cat <<\_ACEOF
2703 Wine configure 8.9
2704 generated by GNU Autoconf 2.71
2706 Copyright (C) 2021 Free Software Foundation, Inc.
2707 This configure script is free software; the Free Software Foundation
2708 gives unlimited permission to copy, distribute and modify it.
2709 _ACEOF
2710 exit
2713 ## ------------------------ ##
2714 ## Autoconf initialization. ##
2715 ## ------------------------ ##
2717 # ac_fn_c_try_compile LINENO
2718 # --------------------------
2719 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2720 ac_fn_c_try_compile ()
2722 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2723 rm -f conftest.$ac_objext conftest.beam
2724 if { { ac_try="$ac_compile"
2725 case "(($ac_try" in
2726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2727 *) ac_try_echo=$ac_try;;
2728 esac
2729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2730 printf "%s\n" "$ac_try_echo"; } >&5
2731 (eval "$ac_compile") 2>conftest.err
2732 ac_status=$?
2733 if test -s conftest.err; then
2734 grep -v '^ *+' conftest.err >conftest.er1
2735 cat conftest.er1 >&5
2736 mv -f conftest.er1 conftest.err
2738 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2739 test $ac_status = 0; } && {
2740 test -z "$ac_c_werror_flag" ||
2741 test ! -s conftest.err
2742 } && test -s conftest.$ac_objext
2743 then :
2744 ac_retval=0
2745 else $as_nop
2746 printf "%s\n" "$as_me: failed program was:" >&5
2747 sed 's/^/| /' conftest.$ac_ext >&5
2749 ac_retval=1
2751 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2752 as_fn_set_status $ac_retval
2754 } # ac_fn_c_try_compile
2756 # ac_fn_cxx_try_compile LINENO
2757 # ----------------------------
2758 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2759 ac_fn_cxx_try_compile ()
2761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2762 rm -f conftest.$ac_objext conftest.beam
2763 if { { ac_try="$ac_compile"
2764 case "(($ac_try" in
2765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2766 *) ac_try_echo=$ac_try;;
2767 esac
2768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2769 printf "%s\n" "$ac_try_echo"; } >&5
2770 (eval "$ac_compile") 2>conftest.err
2771 ac_status=$?
2772 if test -s conftest.err; then
2773 grep -v '^ *+' conftest.err >conftest.er1
2774 cat conftest.er1 >&5
2775 mv -f conftest.er1 conftest.err
2777 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2778 test $ac_status = 0; } && {
2779 test -z "$ac_cxx_werror_flag" ||
2780 test ! -s conftest.err
2781 } && test -s conftest.$ac_objext
2782 then :
2783 ac_retval=0
2784 else $as_nop
2785 printf "%s\n" "$as_me: failed program was:" >&5
2786 sed 's/^/| /' conftest.$ac_ext >&5
2788 ac_retval=1
2790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2791 as_fn_set_status $ac_retval
2793 } # ac_fn_cxx_try_compile
2795 # ac_fn_c_try_link LINENO
2796 # -----------------------
2797 # Try to link conftest.$ac_ext, and return whether this succeeded.
2798 ac_fn_c_try_link ()
2800 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2801 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2802 if { { ac_try="$ac_link"
2803 case "(($ac_try" in
2804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2805 *) ac_try_echo=$ac_try;;
2806 esac
2807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2808 printf "%s\n" "$ac_try_echo"; } >&5
2809 (eval "$ac_link") 2>conftest.err
2810 ac_status=$?
2811 if test -s conftest.err; then
2812 grep -v '^ *+' conftest.err >conftest.er1
2813 cat conftest.er1 >&5
2814 mv -f conftest.er1 conftest.err
2816 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2817 test $ac_status = 0; } && {
2818 test -z "$ac_c_werror_flag" ||
2819 test ! -s conftest.err
2820 } && test -s conftest$ac_exeext && {
2821 test "$cross_compiling" = yes ||
2822 test -x conftest$ac_exeext
2824 then :
2825 ac_retval=0
2826 else $as_nop
2827 printf "%s\n" "$as_me: failed program was:" >&5
2828 sed 's/^/| /' conftest.$ac_ext >&5
2830 ac_retval=1
2832 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2833 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2834 # interfere with the next link command; also delete a directory that is
2835 # left behind by Apple's compiler. We do this before executing the actions.
2836 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2837 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2838 as_fn_set_status $ac_retval
2840 } # ac_fn_c_try_link
2842 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2843 # -------------------------------------------------------
2844 # Tests whether HEADER exists and can be compiled using the include files in
2845 # INCLUDES, setting the cache variable VAR accordingly.
2846 ac_fn_c_check_header_compile ()
2848 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2850 printf %s "checking for $2... " >&6; }
2851 if eval test \${$3+y}
2852 then :
2853 printf %s "(cached) " >&6
2854 else $as_nop
2855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2856 /* end confdefs.h. */
2858 #include <$2>
2859 _ACEOF
2860 if ac_fn_c_try_compile "$LINENO"
2861 then :
2862 eval "$3=yes"
2863 else $as_nop
2864 eval "$3=no"
2866 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2868 eval ac_res=\$$3
2869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2870 printf "%s\n" "$ac_res" >&6; }
2871 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2873 } # ac_fn_c_check_header_compile
2875 # ac_fn_objc_try_compile LINENO
2876 # -----------------------------
2877 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2878 ac_fn_objc_try_compile ()
2880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2881 rm -f conftest.$ac_objext conftest.beam
2882 if { { ac_try="$ac_compile"
2883 case "(($ac_try" in
2884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2885 *) ac_try_echo=$ac_try;;
2886 esac
2887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2888 printf "%s\n" "$ac_try_echo"; } >&5
2889 (eval "$ac_compile") 2>conftest.err
2890 ac_status=$?
2891 if test -s conftest.err; then
2892 grep -v '^ *+' conftest.err >conftest.er1
2893 cat conftest.er1 >&5
2894 mv -f conftest.er1 conftest.err
2896 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2897 test $ac_status = 0; } && {
2898 test -z "$ac_objc_werror_flag" ||
2899 test ! -s conftest.err
2900 } && test -s conftest.$ac_objext
2901 then :
2902 ac_retval=0
2903 else $as_nop
2904 printf "%s\n" "$as_me: failed program was:" >&5
2905 sed 's/^/| /' conftest.$ac_ext >&5
2907 ac_retval=1
2909 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2910 as_fn_set_status $ac_retval
2912 } # ac_fn_objc_try_compile
2914 # ac_fn_c_check_func LINENO FUNC VAR
2915 # ----------------------------------
2916 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2917 ac_fn_c_check_func ()
2919 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2921 printf %s "checking for $2... " >&6; }
2922 if eval test \${$3+y}
2923 then :
2924 printf %s "(cached) " >&6
2925 else $as_nop
2926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2927 /* end confdefs.h. */
2928 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2930 #define $2 innocuous_$2
2932 /* System header to define __stub macros and hopefully few prototypes,
2933 which can conflict with char $2 (); below. */
2935 #include <limits.h>
2936 #undef $2
2938 /* Override any GCC internal prototype to avoid an error.
2939 Use char because int might match the return type of a GCC
2940 builtin and then its argument prototype would still apply. */
2941 #ifdef __cplusplus
2942 extern "C"
2943 #endif
2944 char $2 ();
2945 /* The GNU C library defines this for functions which it implements
2946 to always fail with ENOSYS. Some functions are actually named
2947 something starting with __ and the normal name is an alias. */
2948 #if defined __stub_$2 || defined __stub___$2
2949 choke me
2950 #endif
2953 main (void)
2955 return $2 ();
2957 return 0;
2959 _ACEOF
2960 if ac_fn_c_try_link "$LINENO"
2961 then :
2962 eval "$3=yes"
2963 else $as_nop
2964 eval "$3=no"
2966 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2967 conftest$ac_exeext conftest.$ac_ext
2969 eval ac_res=\$$3
2970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2971 printf "%s\n" "$ac_res" >&6; }
2972 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2974 } # ac_fn_c_check_func
2976 # ac_fn_c_try_cpp LINENO
2977 # ----------------------
2978 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2979 ac_fn_c_try_cpp ()
2981 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2982 if { { ac_try="$ac_cpp conftest.$ac_ext"
2983 case "(($ac_try" in
2984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2985 *) ac_try_echo=$ac_try;;
2986 esac
2987 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2988 printf "%s\n" "$ac_try_echo"; } >&5
2989 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2990 ac_status=$?
2991 if test -s conftest.err; then
2992 grep -v '^ *+' conftest.err >conftest.er1
2993 cat conftest.er1 >&5
2994 mv -f conftest.er1 conftest.err
2996 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2997 test $ac_status = 0; } > conftest.i && {
2998 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2999 test ! -s conftest.err
3001 then :
3002 ac_retval=0
3003 else $as_nop
3004 printf "%s\n" "$as_me: failed program was:" >&5
3005 sed 's/^/| /' conftest.$ac_ext >&5
3007 ac_retval=1
3009 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3010 as_fn_set_status $ac_retval
3012 } # ac_fn_c_try_cpp
3014 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3015 # ----------------------------------------------------
3016 # Tries to find if the field MEMBER exists in type AGGR, after including
3017 # INCLUDES, setting cache variable VAR accordingly.
3018 ac_fn_c_check_member ()
3020 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3022 printf %s "checking for $2.$3... " >&6; }
3023 if eval test \${$4+y}
3024 then :
3025 printf %s "(cached) " >&6
3026 else $as_nop
3027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3028 /* end confdefs.h. */
3031 main (void)
3033 static $2 ac_aggr;
3034 if (ac_aggr.$3)
3035 return 0;
3037 return 0;
3039 _ACEOF
3040 if ac_fn_c_try_compile "$LINENO"
3041 then :
3042 eval "$4=yes"
3043 else $as_nop
3044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3045 /* end confdefs.h. */
3048 main (void)
3050 static $2 ac_aggr;
3051 if (sizeof ac_aggr.$3)
3052 return 0;
3054 return 0;
3056 _ACEOF
3057 if ac_fn_c_try_compile "$LINENO"
3058 then :
3059 eval "$4=yes"
3060 else $as_nop
3061 eval "$4=no"
3063 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3065 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3067 eval ac_res=\$$4
3068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3069 printf "%s\n" "$ac_res" >&6; }
3070 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3072 } # ac_fn_c_check_member
3074 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3075 # -------------------------------------------
3076 # Tests whether TYPE exists after having included INCLUDES, setting cache
3077 # variable VAR accordingly.
3078 ac_fn_c_check_type ()
3080 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3082 printf %s "checking for $2... " >&6; }
3083 if eval test \${$3+y}
3084 then :
3085 printf %s "(cached) " >&6
3086 else $as_nop
3087 eval "$3=no"
3088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3089 /* end confdefs.h. */
3092 main (void)
3094 if (sizeof ($2))
3095 return 0;
3097 return 0;
3099 _ACEOF
3100 if ac_fn_c_try_compile "$LINENO"
3101 then :
3102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3103 /* end confdefs.h. */
3106 main (void)
3108 if (sizeof (($2)))
3109 return 0;
3111 return 0;
3113 _ACEOF
3114 if ac_fn_c_try_compile "$LINENO"
3115 then :
3117 else $as_nop
3118 eval "$3=yes"
3120 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3122 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3124 eval ac_res=\$$3
3125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3126 printf "%s\n" "$ac_res" >&6; }
3127 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3129 } # ac_fn_c_check_type
3130 ac_configure_args_raw=
3131 for ac_arg
3133 case $ac_arg in
3134 *\'*)
3135 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3136 esac
3137 as_fn_append ac_configure_args_raw " '$ac_arg'"
3138 done
3140 case $ac_configure_args_raw in
3141 *$as_nl*)
3142 ac_safe_unquote= ;;
3144 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3145 ac_unsafe_a="$ac_unsafe_z#~"
3146 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3147 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3148 esac
3150 cat >config.log <<_ACEOF
3151 This file contains any messages produced by compilers while
3152 running configure, to aid debugging if configure makes a mistake.
3154 It was created by Wine $as_me 8.9, which was
3155 generated by GNU Autoconf 2.71. Invocation command line was
3157 $ $0$ac_configure_args_raw
3159 _ACEOF
3160 exec 5>>config.log
3162 cat <<_ASUNAME
3163 ## --------- ##
3164 ## Platform. ##
3165 ## --------- ##
3167 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3168 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3169 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3170 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3171 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3173 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3174 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3176 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3177 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3178 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3179 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3180 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3181 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3182 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3184 _ASUNAME
3186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3187 for as_dir in $PATH
3189 IFS=$as_save_IFS
3190 case $as_dir in #(((
3191 '') as_dir=./ ;;
3192 */) ;;
3193 *) as_dir=$as_dir/ ;;
3194 esac
3195 printf "%s\n" "PATH: $as_dir"
3196 done
3197 IFS=$as_save_IFS
3199 } >&5
3201 cat >&5 <<_ACEOF
3204 ## ----------- ##
3205 ## Core tests. ##
3206 ## ----------- ##
3208 _ACEOF
3211 # Keep a trace of the command line.
3212 # Strip out --no-create and --no-recursion so they do not pile up.
3213 # Strip out --silent because we don't want to record it for future runs.
3214 # Also quote any args containing shell meta-characters.
3215 # Make two passes to allow for proper duplicate-argument suppression.
3216 ac_configure_args=
3217 ac_configure_args0=
3218 ac_configure_args1=
3219 ac_must_keep_next=false
3220 for ac_pass in 1 2
3222 for ac_arg
3224 case $ac_arg in
3225 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3226 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3227 | -silent | --silent | --silen | --sile | --sil)
3228 continue ;;
3229 *\'*)
3230 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3231 esac
3232 case $ac_pass in
3233 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3235 as_fn_append ac_configure_args1 " '$ac_arg'"
3236 if test $ac_must_keep_next = true; then
3237 ac_must_keep_next=false # Got value, back to normal.
3238 else
3239 case $ac_arg in
3240 *=* | --config-cache | -C | -disable-* | --disable-* \
3241 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3242 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3243 | -with-* | --with-* | -without-* | --without-* | --x)
3244 case "$ac_configure_args0 " in
3245 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3246 esac
3248 -* ) ac_must_keep_next=true ;;
3249 esac
3251 as_fn_append ac_configure_args " '$ac_arg'"
3253 esac
3254 done
3255 done
3256 { ac_configure_args0=; unset ac_configure_args0;}
3257 { ac_configure_args1=; unset ac_configure_args1;}
3259 # When interrupted or exit'd, cleanup temporary files, and complete
3260 # config.log. We remove comments because anyway the quotes in there
3261 # would cause problems or look ugly.
3262 # WARNING: Use '\'' to represent an apostrophe within the trap.
3263 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3264 trap 'exit_status=$?
3265 # Sanitize IFS.
3266 IFS=" "" $as_nl"
3267 # Save into config.log some information that might help in debugging.
3269 echo
3271 printf "%s\n" "## ---------------- ##
3272 ## Cache variables. ##
3273 ## ---------------- ##"
3274 echo
3275 # The following way of writing the cache mishandles newlines in values,
3277 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3278 eval ac_val=\$$ac_var
3279 case $ac_val in #(
3280 *${as_nl}*)
3281 case $ac_var in #(
3282 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3283 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3284 esac
3285 case $ac_var in #(
3286 _ | IFS | as_nl) ;; #(
3287 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3288 *) { eval $ac_var=; unset $ac_var;} ;;
3289 esac ;;
3290 esac
3291 done
3292 (set) 2>&1 |
3293 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3294 *${as_nl}ac_space=\ *)
3295 sed -n \
3296 "s/'\''/'\''\\\\'\'''\''/g;
3297 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3298 ;; #(
3300 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3302 esac |
3303 sort
3305 echo
3307 printf "%s\n" "## ----------------- ##
3308 ## Output variables. ##
3309 ## ----------------- ##"
3310 echo
3311 for ac_var in $ac_subst_vars
3313 eval ac_val=\$$ac_var
3314 case $ac_val in
3315 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3316 esac
3317 printf "%s\n" "$ac_var='\''$ac_val'\''"
3318 done | sort
3319 echo
3321 if test -n "$ac_subst_files"; then
3322 printf "%s\n" "## ------------------- ##
3323 ## File substitutions. ##
3324 ## ------------------- ##"
3325 echo
3326 for ac_var in $ac_subst_files
3328 eval ac_val=\$$ac_var
3329 case $ac_val in
3330 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3331 esac
3332 printf "%s\n" "$ac_var='\''$ac_val'\''"
3333 done | sort
3334 echo
3337 if test -s confdefs.h; then
3338 printf "%s\n" "## ----------- ##
3339 ## confdefs.h. ##
3340 ## ----------- ##"
3341 echo
3342 cat confdefs.h
3343 echo
3345 test "$ac_signal" != 0 &&
3346 printf "%s\n" "$as_me: caught signal $ac_signal"
3347 printf "%s\n" "$as_me: exit $exit_status"
3348 } >&5
3349 rm -f core *.core core.conftest.* &&
3350 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3351 exit $exit_status
3353 for ac_signal in 1 2 13 15; do
3354 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3355 done
3356 ac_signal=0
3358 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3359 rm -f -r conftest* confdefs.h
3361 printf "%s\n" "/* confdefs.h */" > confdefs.h
3363 # Predefined preprocessor variables.
3365 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3367 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3369 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3371 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3373 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3375 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3378 # Let the site file select an alternate cache file if it wants to.
3379 # Prefer an explicitly selected file to automatically selected ones.
3380 if test -n "$CONFIG_SITE"; then
3381 ac_site_files="$CONFIG_SITE"
3382 elif test "x$prefix" != xNONE; then
3383 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3384 else
3385 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3388 for ac_site_file in $ac_site_files
3390 case $ac_site_file in #(
3391 */*) :
3392 ;; #(
3393 *) :
3394 ac_site_file=./$ac_site_file ;;
3395 esac
3396 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3398 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3399 sed 's/^/| /' "$ac_site_file" >&5
3400 . "$ac_site_file" \
3401 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3402 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3403 as_fn_error $? "failed to load site script $ac_site_file
3404 See \`config.log' for more details" "$LINENO" 5; }
3406 done
3408 if test -r "$cache_file"; then
3409 # Some versions of bash will fail to source /dev/null (special files
3410 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3411 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3413 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3414 case $cache_file in
3415 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3416 *) . "./$cache_file";;
3417 esac
3419 else
3420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3421 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3422 >$cache_file
3425 # Test code for whether the C compiler supports C89 (global declarations)
3426 ac_c_conftest_c89_globals='
3427 /* Does the compiler advertise C89 conformance?
3428 Do not test the value of __STDC__, because some compilers set it to 0
3429 while being otherwise adequately conformant. */
3430 #if !defined __STDC__
3431 # error "Compiler does not advertise C89 conformance"
3432 #endif
3434 #include <stddef.h>
3435 #include <stdarg.h>
3436 struct stat;
3437 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3438 struct buf { int x; };
3439 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3440 static char *e (p, i)
3441 char **p;
3442 int i;
3444 return p[i];
3446 static char *f (char * (*g) (char **, int), char **p, ...)
3448 char *s;
3449 va_list v;
3450 va_start (v,p);
3451 s = g (p, va_arg (v,int));
3452 va_end (v);
3453 return s;
3456 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3457 function prototypes and stuff, but not \xHH hex character constants.
3458 These do not provoke an error unfortunately, instead are silently treated
3459 as an "x". The following induces an error, until -std is added to get
3460 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3461 array size at least. It is necessary to write \x00 == 0 to get something
3462 that is true only with -std. */
3463 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3465 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3466 inside strings and character constants. */
3467 #define FOO(x) '\''x'\''
3468 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3470 int test (int i, double x);
3471 struct s1 {int (*f) (int a);};
3472 struct s2 {int (*f) (double a);};
3473 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3474 int, int);'
3476 # Test code for whether the C compiler supports C89 (body of main).
3477 ac_c_conftest_c89_main='
3478 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3481 # Test code for whether the C compiler supports C99 (global declarations)
3482 ac_c_conftest_c99_globals='
3483 // Does the compiler advertise C99 conformance?
3484 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3485 # error "Compiler does not advertise C99 conformance"
3486 #endif
3488 #include <stdbool.h>
3489 extern int puts (const char *);
3490 extern int printf (const char *, ...);
3491 extern int dprintf (int, const char *, ...);
3492 extern void *malloc (size_t);
3494 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3495 // dprintf is used instead of fprintf to avoid needing to declare
3496 // FILE and stderr.
3497 #define debug(...) dprintf (2, __VA_ARGS__)
3498 #define showlist(...) puts (#__VA_ARGS__)
3499 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3500 static void
3501 test_varargs_macros (void)
3503 int x = 1234;
3504 int y = 5678;
3505 debug ("Flag");
3506 debug ("X = %d\n", x);
3507 showlist (The first, second, and third items.);
3508 report (x>y, "x is %d but y is %d", x, y);
3511 // Check long long types.
3512 #define BIG64 18446744073709551615ull
3513 #define BIG32 4294967295ul
3514 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3515 #if !BIG_OK
3516 #error "your preprocessor is broken"
3517 #endif
3518 #if BIG_OK
3519 #else
3520 #error "your preprocessor is broken"
3521 #endif
3522 static long long int bignum = -9223372036854775807LL;
3523 static unsigned long long int ubignum = BIG64;
3525 struct incomplete_array
3527 int datasize;
3528 double data[];
3531 struct named_init {
3532 int number;
3533 const wchar_t *name;
3534 double average;
3537 typedef const char *ccp;
3539 static inline int
3540 test_restrict (ccp restrict text)
3542 // See if C++-style comments work.
3543 // Iterate through items via the restricted pointer.
3544 // Also check for declarations in for loops.
3545 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3546 continue;
3547 return 0;
3550 // Check varargs and va_copy.
3551 static bool
3552 test_varargs (const char *format, ...)
3554 va_list args;
3555 va_start (args, format);
3556 va_list args_copy;
3557 va_copy (args_copy, args);
3559 const char *str = "";
3560 int number = 0;
3561 float fnumber = 0;
3563 while (*format)
3565 switch (*format++)
3567 case '\''s'\'': // string
3568 str = va_arg (args_copy, const char *);
3569 break;
3570 case '\''d'\'': // int
3571 number = va_arg (args_copy, int);
3572 break;
3573 case '\''f'\'': // float
3574 fnumber = va_arg (args_copy, double);
3575 break;
3576 default:
3577 break;
3580 va_end (args_copy);
3581 va_end (args);
3583 return *str && number && fnumber;
3587 # Test code for whether the C compiler supports C99 (body of main).
3588 ac_c_conftest_c99_main='
3589 // Check bool.
3590 _Bool success = false;
3591 success |= (argc != 0);
3593 // Check restrict.
3594 if (test_restrict ("String literal") == 0)
3595 success = true;
3596 char *restrict newvar = "Another string";
3598 // Check varargs.
3599 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3600 test_varargs_macros ();
3602 // Check flexible array members.
3603 struct incomplete_array *ia =
3604 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3605 ia->datasize = 10;
3606 for (int i = 0; i < ia->datasize; ++i)
3607 ia->data[i] = i * 1.234;
3609 // Check named initializers.
3610 struct named_init ni = {
3611 .number = 34,
3612 .name = L"Test wide string",
3613 .average = 543.34343,
3616 ni.number = 58;
3618 int dynamic_array[ni.number];
3619 dynamic_array[0] = argv[0][0];
3620 dynamic_array[ni.number - 1] = 543;
3622 // work around unused variable warnings
3623 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3624 || dynamic_array[ni.number - 1] != 543);
3627 # Test code for whether the C compiler supports C11 (global declarations)
3628 ac_c_conftest_c11_globals='
3629 // Does the compiler advertise C11 conformance?
3630 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3631 # error "Compiler does not advertise C11 conformance"
3632 #endif
3634 // Check _Alignas.
3635 char _Alignas (double) aligned_as_double;
3636 char _Alignas (0) no_special_alignment;
3637 extern char aligned_as_int;
3638 char _Alignas (0) _Alignas (int) aligned_as_int;
3640 // Check _Alignof.
3641 enum
3643 int_alignment = _Alignof (int),
3644 int_array_alignment = _Alignof (int[100]),
3645 char_alignment = _Alignof (char)
3647 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3649 // Check _Noreturn.
3650 int _Noreturn does_not_return (void) { for (;;) continue; }
3652 // Check _Static_assert.
3653 struct test_static_assert
3655 int x;
3656 _Static_assert (sizeof (int) <= sizeof (long int),
3657 "_Static_assert does not work in struct");
3658 long int y;
3661 // Check UTF-8 literals.
3662 #define u8 syntax error!
3663 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3665 // Check duplicate typedefs.
3666 typedef long *long_ptr;
3667 typedef long int *long_ptr;
3668 typedef long_ptr long_ptr;
3670 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3671 struct anonymous
3673 union {
3674 struct { int i; int j; };
3675 struct { int k; long int l; } w;
3677 int m;
3678 } v1;
3681 # Test code for whether the C compiler supports C11 (body of main).
3682 ac_c_conftest_c11_main='
3683 _Static_assert ((offsetof (struct anonymous, i)
3684 == offsetof (struct anonymous, w.k)),
3685 "Anonymous union alignment botch");
3686 v1.i = 2;
3687 v1.w.k = 5;
3688 ok |= v1.i != 5;
3691 # Test code for whether the C compiler supports C11 (complete).
3692 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3693 ${ac_c_conftest_c99_globals}
3694 ${ac_c_conftest_c11_globals}
3697 main (int argc, char **argv)
3699 int ok = 0;
3700 ${ac_c_conftest_c89_main}
3701 ${ac_c_conftest_c99_main}
3702 ${ac_c_conftest_c11_main}
3703 return ok;
3707 # Test code for whether the C compiler supports C99 (complete).
3708 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3709 ${ac_c_conftest_c99_globals}
3712 main (int argc, char **argv)
3714 int ok = 0;
3715 ${ac_c_conftest_c89_main}
3716 ${ac_c_conftest_c99_main}
3717 return ok;
3721 # Test code for whether the C compiler supports C89 (complete).
3722 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3725 main (int argc, char **argv)
3727 int ok = 0;
3728 ${ac_c_conftest_c89_main}
3729 return ok;
3733 # Test code for whether the C++ compiler supports C++98 (global declarations)
3734 ac_cxx_conftest_cxx98_globals='
3735 // Does the compiler advertise C++98 conformance?
3736 #if !defined __cplusplus || __cplusplus < 199711L
3737 # error "Compiler does not advertise C++98 conformance"
3738 #endif
3740 // These inclusions are to reject old compilers that
3741 // lack the unsuffixed header files.
3742 #include <cstdlib>
3743 #include <exception>
3745 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3746 extern void assert (int);
3747 namespace std {
3748 extern int strcmp (const char *, const char *);
3751 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3752 using std::exception;
3753 using std::strcmp;
3755 namespace {
3757 void test_exception_syntax()
3759 try {
3760 throw "test";
3761 } catch (const char *s) {
3762 // Extra parentheses suppress a warning when building autoconf itself,
3763 // due to lint rules shared with more typical C programs.
3764 assert (!(strcmp) (s, "test"));
3768 template <typename T> struct test_template
3770 T const val;
3771 explicit test_template(T t) : val(t) {}
3772 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3775 } // anonymous namespace
3778 # Test code for whether the C++ compiler supports C++98 (body of main)
3779 ac_cxx_conftest_cxx98_main='
3780 assert (argc);
3781 assert (! argv[0]);
3783 test_exception_syntax ();
3784 test_template<double> tt (2.0);
3785 assert (tt.add (4) == 6.0);
3786 assert (true && !false);
3790 # Test code for whether the C++ compiler supports C++11 (global declarations)
3791 ac_cxx_conftest_cxx11_globals='
3792 // Does the compiler advertise C++ 2011 conformance?
3793 #if !defined __cplusplus || __cplusplus < 201103L
3794 # error "Compiler does not advertise C++11 conformance"
3795 #endif
3797 namespace cxx11test
3799 constexpr int get_val() { return 20; }
3801 struct testinit
3803 int i;
3804 double d;
3807 class delegate
3809 public:
3810 delegate(int n) : n(n) {}
3811 delegate(): delegate(2354) {}
3813 virtual int getval() { return this->n; };
3814 protected:
3815 int n;
3818 class overridden : public delegate
3820 public:
3821 overridden(int n): delegate(n) {}
3822 virtual int getval() override final { return this->n * 2; }
3825 class nocopy
3827 public:
3828 nocopy(int i): i(i) {}
3829 nocopy() = default;
3830 nocopy(const nocopy&) = delete;
3831 nocopy & operator=(const nocopy&) = delete;
3832 private:
3833 int i;
3836 // for testing lambda expressions
3837 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3839 return f(v);
3842 // for testing variadic templates and trailing return types
3843 template <typename V> auto sum(V first) -> V
3845 return first;
3847 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3849 return first + sum(rest...);
3854 # Test code for whether the C++ compiler supports C++11 (body of main)
3855 ac_cxx_conftest_cxx11_main='
3857 // Test auto and decltype
3858 auto a1 = 6538;
3859 auto a2 = 48573953.4;
3860 auto a3 = "String literal";
3862 int total = 0;
3863 for (auto i = a3; *i; ++i) { total += *i; }
3865 decltype(a2) a4 = 34895.034;
3868 // Test constexpr
3869 short sa[cxx11test::get_val()] = { 0 };
3872 // Test initializer lists
3873 cxx11test::testinit il = { 4323, 435234.23544 };
3876 // Test range-based for
3877 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3878 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3879 for (auto &x : array) { x += 23; }
3882 // Test lambda expressions
3883 using cxx11test::eval;
3884 assert (eval ([](int x) { return x*2; }, 21) == 42);
3885 double d = 2.0;
3886 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3887 assert (d == 5.0);
3888 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3889 assert (d == 5.0);
3892 // Test use of variadic templates
3893 using cxx11test::sum;
3894 auto a = sum(1);
3895 auto b = sum(1, 2);
3896 auto c = sum(1.0, 2.0, 3.0);
3899 // Test constructor delegation
3900 cxx11test::delegate d1;
3901 cxx11test::delegate d2();
3902 cxx11test::delegate d3(45);
3905 // Test override and final
3906 cxx11test::overridden o1(55464);
3909 // Test nullptr
3910 char *c = nullptr;
3913 // Test template brackets
3914 test_template<::test_template<int>> v(test_template<int>(12));
3917 // Unicode literals
3918 char const *utf8 = u8"UTF-8 string \u2500";
3919 char16_t const *utf16 = u"UTF-8 string \u2500";
3920 char32_t const *utf32 = U"UTF-32 string \u2500";
3924 # Test code for whether the C compiler supports C++11 (complete).
3925 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3926 ${ac_cxx_conftest_cxx11_globals}
3929 main (int argc, char **argv)
3931 int ok = 0;
3932 ${ac_cxx_conftest_cxx98_main}
3933 ${ac_cxx_conftest_cxx11_main}
3934 return ok;
3938 # Test code for whether the C compiler supports C++98 (complete).
3939 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3941 main (int argc, char **argv)
3943 int ok = 0;
3944 ${ac_cxx_conftest_cxx98_main}
3945 return ok;
3949 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3950 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3951 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3952 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3953 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3954 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3955 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3956 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3957 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3959 # Auxiliary files required by this configure script.
3960 ac_aux_files="config.guess config.sub"
3962 # Locations in which to look for auxiliary files.
3963 ac_aux_dir_candidates="${srcdir}/tools"
3965 # Search for a directory containing all of the required auxiliary files,
3966 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3967 # If we don't find one directory that contains all the files we need,
3968 # we report the set of missing files from the *first* directory in
3969 # $ac_aux_dir_candidates and give up.
3970 ac_missing_aux_files=""
3971 ac_first_candidate=:
3972 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3974 as_found=false
3975 for as_dir in $ac_aux_dir_candidates
3977 IFS=$as_save_IFS
3978 case $as_dir in #(((
3979 '') as_dir=./ ;;
3980 */) ;;
3981 *) as_dir=$as_dir/ ;;
3982 esac
3983 as_found=:
3985 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3986 ac_aux_dir_found=yes
3987 ac_install_sh=
3988 for ac_aux in $ac_aux_files
3990 # As a special case, if "install-sh" is required, that requirement
3991 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3992 # and $ac_install_sh is set appropriately for whichever one is found.
3993 if test x"$ac_aux" = x"install-sh"
3994 then
3995 if test -f "${as_dir}install-sh"; then
3996 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3997 ac_install_sh="${as_dir}install-sh -c"
3998 elif test -f "${as_dir}install.sh"; then
3999 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4000 ac_install_sh="${as_dir}install.sh -c"
4001 elif test -f "${as_dir}shtool"; then
4002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4003 ac_install_sh="${as_dir}shtool install -c"
4004 else
4005 ac_aux_dir_found=no
4006 if $ac_first_candidate; then
4007 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4008 else
4009 break
4012 else
4013 if test -f "${as_dir}${ac_aux}"; then
4014 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4015 else
4016 ac_aux_dir_found=no
4017 if $ac_first_candidate; then
4018 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4019 else
4020 break
4024 done
4025 if test "$ac_aux_dir_found" = yes; then
4026 ac_aux_dir="$as_dir"
4027 break
4029 ac_first_candidate=false
4031 as_found=false
4032 done
4033 IFS=$as_save_IFS
4034 if $as_found
4035 then :
4037 else $as_nop
4038 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4042 # These three variables are undocumented and unsupported,
4043 # and are intended to be withdrawn in a future Autoconf release.
4044 # They can cause serious problems if a builder's source tree is in a directory
4045 # whose full name contains unusual characters.
4046 if test -f "${ac_aux_dir}config.guess"; then
4047 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4049 if test -f "${ac_aux_dir}config.sub"; then
4050 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4052 if test -f "$ac_aux_dir/configure"; then
4053 ac_configure="$SHELL ${ac_aux_dir}configure"
4056 # Check that the precious variables saved in the cache have kept the same
4057 # value.
4058 ac_cache_corrupted=false
4059 for ac_var in $ac_precious_vars; do
4060 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4061 eval ac_new_set=\$ac_env_${ac_var}_set
4062 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4063 eval ac_new_val=\$ac_env_${ac_var}_value
4064 case $ac_old_set,$ac_new_set in
4065 set,)
4066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4067 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4068 ac_cache_corrupted=: ;;
4069 ,set)
4070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4071 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4072 ac_cache_corrupted=: ;;
4073 ,);;
4075 if test "x$ac_old_val" != "x$ac_new_val"; then
4076 # differences in whitespace do not lead to failure.
4077 ac_old_val_w=`echo x $ac_old_val`
4078 ac_new_val_w=`echo x $ac_new_val`
4079 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4081 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4082 ac_cache_corrupted=:
4083 else
4084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4085 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4086 eval $ac_var=\$ac_old_val
4088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4089 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4091 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4092 fi;;
4093 esac
4094 # Pass precious variables to config.status.
4095 if test "$ac_new_set" = set; then
4096 case $ac_new_val in
4097 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4098 *) ac_arg=$ac_var=$ac_new_val ;;
4099 esac
4100 case " $ac_configure_args " in
4101 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4102 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4103 esac
4105 done
4106 if $ac_cache_corrupted; then
4107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4108 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4110 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4111 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4112 and start over" "$LINENO" 5
4114 ## -------------------- ##
4115 ## Main body of script. ##
4116 ## -------------------- ##
4118 ac_ext=c
4119 ac_cpp='$CPP $CPPFLAGS'
4120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4126 ac_config_headers="$ac_config_headers include/config.h"
4130 libwine_version="1.0"
4133 # Check whether --enable-archs was given.
4134 if test ${enable_archs+y}
4135 then :
4136 enableval=$enable_archs;
4139 # Check whether --enable-win16 was given.
4140 if test ${enable_win16+y}
4141 then :
4142 enableval=$enable_win16;
4145 # Check whether --enable-win64 was given.
4146 if test ${enable_win64+y}
4147 then :
4148 enableval=$enable_win64;
4151 # Check whether --enable-tests was given.
4152 if test ${enable_tests+y}
4153 then :
4154 enableval=$enable_tests;
4157 # Check whether --enable-build-id was given.
4158 if test ${enable_build_id+y}
4159 then :
4160 enableval=$enable_build_id;
4163 # Check whether --enable-maintainer-mode was given.
4164 if test ${enable_maintainer_mode+y}
4165 then :
4166 enableval=$enable_maintainer_mode;
4169 # Check whether --enable-silent-rules was given.
4170 if test ${enable_silent_rules+y}
4171 then :
4172 enableval=$enable_silent_rules;
4175 # Check whether --enable-werror was given.
4176 if test ${enable_werror+y}
4177 then :
4178 enableval=$enable_werror;
4183 # Check whether --with-alsa was given.
4184 if test ${with_alsa+y}
4185 then :
4186 withval=$with_alsa;
4190 # Check whether --with-capi was given.
4191 if test ${with_capi+y}
4192 then :
4193 withval=$with_capi;
4197 # Check whether --with-coreaudio was given.
4198 if test ${with_coreaudio+y}
4199 then :
4200 withval=$with_coreaudio;
4204 # Check whether --with-cups was given.
4205 if test ${with_cups+y}
4206 then :
4207 withval=$with_cups;
4211 # Check whether --with-dbus was given.
4212 if test ${with_dbus+y}
4213 then :
4214 withval=$with_dbus;
4218 # Check whether --with-float-abi was given.
4219 if test ${with_float_abi+y}
4220 then :
4221 withval=$with_float_abi;
4225 # Check whether --with-fontconfig was given.
4226 if test ${with_fontconfig+y}
4227 then :
4228 withval=$with_fontconfig;
4232 # Check whether --with-freetype was given.
4233 if test ${with_freetype+y}
4234 then :
4235 withval=$with_freetype;
4239 # Check whether --with-gettext was given.
4240 if test ${with_gettext+y}
4241 then :
4242 withval=$with_gettext;
4246 # Check whether --with-gettextpo was given.
4247 if test ${with_gettextpo+y}
4248 then :
4249 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4253 # Check whether --with-gphoto was given.
4254 if test ${with_gphoto+y}
4255 then :
4256 withval=$with_gphoto;
4260 # Check whether --with-gnutls was given.
4261 if test ${with_gnutls+y}
4262 then :
4263 withval=$with_gnutls;
4267 # Check whether --with-gssapi was given.
4268 if test ${with_gssapi+y}
4269 then :
4270 withval=$with_gssapi;
4274 # Check whether --with-gstreamer was given.
4275 if test ${with_gstreamer+y}
4276 then :
4277 withval=$with_gstreamer;
4281 # Check whether --with-inotify was given.
4282 if test ${with_inotify+y}
4283 then :
4284 withval=$with_inotify;
4288 # Check whether --with-krb5 was given.
4289 if test ${with_krb5+y}
4290 then :
4291 withval=$with_krb5;
4295 # Check whether --with-mingw was given.
4296 if test ${with_mingw+y}
4297 then :
4298 withval=$with_mingw;
4302 # Check whether --with-netapi was given.
4303 if test ${with_netapi+y}
4304 then :
4305 withval=$with_netapi;
4309 # Check whether --with-opencl was given.
4310 if test ${with_opencl+y}
4311 then :
4312 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4316 # Check whether --with-opengl was given.
4317 if test ${with_opengl+y}
4318 then :
4319 withval=$with_opengl;
4323 # Check whether --with-osmesa was given.
4324 if test ${with_osmesa+y}
4325 then :
4326 withval=$with_osmesa;
4330 # Check whether --with-oss was given.
4331 if test ${with_oss+y}
4332 then :
4333 withval=$with_oss;
4337 # Check whether --with-pcap was given.
4338 if test ${with_pcap+y}
4339 then :
4340 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4344 # Check whether --with-pcsclite was given.
4345 if test ${with_pcsclite+y}
4346 then :
4347 withval=$with_pcsclite;
4351 # Check whether --with-pthread was given.
4352 if test ${with_pthread+y}
4353 then :
4354 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4358 # Check whether --with-pulse was given.
4359 if test ${with_pulse+y}
4360 then :
4361 withval=$with_pulse;
4365 # Check whether --with-sane was given.
4366 if test ${with_sane+y}
4367 then :
4368 withval=$with_sane;
4372 # Check whether --with-sdl was given.
4373 if test ${with_sdl+y}
4374 then :
4375 withval=$with_sdl;
4379 # Check whether --with-udev was given.
4380 if test ${with_udev+y}
4381 then :
4382 withval=$with_udev;
4386 # Check whether --with-unwind was given.
4387 if test ${with_unwind+y}
4388 then :
4389 withval=$with_unwind;
4393 # Check whether --with-usb was given.
4394 if test ${with_usb+y}
4395 then :
4396 withval=$with_usb;
4400 # Check whether --with-v4l2 was given.
4401 if test ${with_v4l2+y}
4402 then :
4403 withval=$with_v4l2;
4407 # Check whether --with-vulkan was given.
4408 if test ${with_vulkan+y}
4409 then :
4410 withval=$with_vulkan;
4414 # Check whether --with-wayland was given.
4415 if test ${with_wayland+y}
4416 then :
4417 withval=$with_wayland;
4421 # Check whether --with-xcomposite was given.
4422 if test ${with_xcomposite+y}
4423 then :
4424 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4428 # Check whether --with-xcursor was given.
4429 if test ${with_xcursor+y}
4430 then :
4431 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4435 # Check whether --with-xfixes was given.
4436 if test ${with_xfixes+y}
4437 then :
4438 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4442 # Check whether --with-xinerama was given.
4443 if test ${with_xinerama+y}
4444 then :
4445 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4449 # Check whether --with-xinput was given.
4450 if test ${with_xinput+y}
4451 then :
4452 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4456 # Check whether --with-xinput2 was given.
4457 if test ${with_xinput2+y}
4458 then :
4459 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4463 # Check whether --with-xrandr was given.
4464 if test ${with_xrandr+y}
4465 then :
4466 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4470 # Check whether --with-xrender was given.
4471 if test ${with_xrender+y}
4472 then :
4473 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4477 # Check whether --with-xshape was given.
4478 if test ${with_xshape+y}
4479 then :
4480 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4484 # Check whether --with-xshm was given.
4485 if test ${with_xshm+y}
4486 then :
4487 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4491 # Check whether --with-xxf86vm was given.
4492 if test ${with_xxf86vm+y}
4493 then :
4494 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
4499 # Check whether --with-system-dllpath was given.
4500 if test ${with_system_dllpath+y}
4501 then :
4502 withval=$with_system_dllpath; system_dllpath=$withval
4507 # Check whether --with-wine-tools was given.
4508 if test ${with_wine_tools+y}
4509 then :
4510 withval=$with_wine_tools;
4514 # Check whether --with-wine64 was given.
4515 if test ${with_wine64+y}
4516 then :
4517 withval=$with_wine64;
4524 # Make sure we can run config.sub.
4525 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4526 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4529 printf %s "checking build system type... " >&6; }
4530 if test ${ac_cv_build+y}
4531 then :
4532 printf %s "(cached) " >&6
4533 else $as_nop
4534 ac_build_alias=$build_alias
4535 test "x$ac_build_alias" = x &&
4536 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4537 test "x$ac_build_alias" = x &&
4538 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4539 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4540 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4544 printf "%s\n" "$ac_cv_build" >&6; }
4545 case $ac_cv_build in
4546 *-*-*) ;;
4547 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4548 esac
4549 build=$ac_cv_build
4550 ac_save_IFS=$IFS; IFS='-'
4551 set x $ac_cv_build
4552 shift
4553 build_cpu=$1
4554 build_vendor=$2
4555 shift; shift
4556 # Remember, the first character of IFS is used to create $*,
4557 # except with old shells:
4558 build_os=$*
4559 IFS=$ac_save_IFS
4560 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4564 printf %s "checking host system type... " >&6; }
4565 if test ${ac_cv_host+y}
4566 then :
4567 printf %s "(cached) " >&6
4568 else $as_nop
4569 if test "x$host_alias" = x; then
4570 ac_cv_host=$ac_cv_build
4571 else
4572 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4573 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4578 printf "%s\n" "$ac_cv_host" >&6; }
4579 case $ac_cv_host in
4580 *-*-*) ;;
4581 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4582 esac
4583 host=$ac_cv_host
4584 ac_save_IFS=$IFS; IFS='-'
4585 set x $ac_cv_host
4586 shift
4587 host_cpu=$1
4588 host_vendor=$2
4589 shift; shift
4590 # Remember, the first character of IFS is used to create $*,
4591 # except with old shells:
4592 host_os=$*
4593 IFS=$ac_save_IFS
4594 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4598 dlldir=\${libdir}/wine
4600 fontdir=\${datadir}/wine/fonts
4602 nlsdir=\${datadir}/wine/nls
4607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4608 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4609 set x ${MAKE-make}
4610 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4611 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4612 then :
4613 printf %s "(cached) " >&6
4614 else $as_nop
4615 cat >conftest.make <<\_ACEOF
4616 SHELL = /bin/sh
4617 all:
4618 @echo '@@@%%%=$(MAKE)=@@@%%%'
4619 _ACEOF
4620 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4621 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4622 *@@@%%%=?*=@@@%%%*)
4623 eval ac_cv_prog_make_${ac_make}_set=yes;;
4625 eval ac_cv_prog_make_${ac_make}_set=no;;
4626 esac
4627 rm -f conftest.make
4629 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4631 printf "%s\n" "yes" >&6; }
4632 SET_MAKE=
4633 else
4634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4635 printf "%s\n" "no" >&6; }
4636 SET_MAKE="MAKE=${MAKE-make}"
4648 ac_ext=c
4649 ac_cpp='$CPP $CPPFLAGS'
4650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4653 if test -n "$ac_tool_prefix"; then
4654 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4655 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4657 printf %s "checking for $ac_word... " >&6; }
4658 if test ${ac_cv_prog_CC+y}
4659 then :
4660 printf %s "(cached) " >&6
4661 else $as_nop
4662 if test -n "$CC"; then
4663 ac_cv_prog_CC="$CC" # Let the user override the test.
4664 else
4665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4666 for as_dir in $PATH
4668 IFS=$as_save_IFS
4669 case $as_dir in #(((
4670 '') as_dir=./ ;;
4671 */) ;;
4672 *) as_dir=$as_dir/ ;;
4673 esac
4674 for ac_exec_ext in '' $ac_executable_extensions; do
4675 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4676 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4677 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4678 break 2
4680 done
4681 done
4682 IFS=$as_save_IFS
4686 CC=$ac_cv_prog_CC
4687 if test -n "$CC"; then
4688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4689 printf "%s\n" "$CC" >&6; }
4690 else
4691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4692 printf "%s\n" "no" >&6; }
4697 if test -z "$ac_cv_prog_CC"; then
4698 ac_ct_CC=$CC
4699 # Extract the first word of "gcc", so it can be a program name with args.
4700 set dummy gcc; ac_word=$2
4701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4702 printf %s "checking for $ac_word... " >&6; }
4703 if test ${ac_cv_prog_ac_ct_CC+y}
4704 then :
4705 printf %s "(cached) " >&6
4706 else $as_nop
4707 if test -n "$ac_ct_CC"; then
4708 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4709 else
4710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4711 for as_dir in $PATH
4713 IFS=$as_save_IFS
4714 case $as_dir in #(((
4715 '') as_dir=./ ;;
4716 */) ;;
4717 *) as_dir=$as_dir/ ;;
4718 esac
4719 for ac_exec_ext in '' $ac_executable_extensions; do
4720 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4721 ac_cv_prog_ac_ct_CC="gcc"
4722 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4723 break 2
4725 done
4726 done
4727 IFS=$as_save_IFS
4731 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4732 if test -n "$ac_ct_CC"; then
4733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4734 printf "%s\n" "$ac_ct_CC" >&6; }
4735 else
4736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4737 printf "%s\n" "no" >&6; }
4740 if test "x$ac_ct_CC" = x; then
4741 CC=""
4742 else
4743 case $cross_compiling:$ac_tool_warned in
4744 yes:)
4745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4746 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4747 ac_tool_warned=yes ;;
4748 esac
4749 CC=$ac_ct_CC
4751 else
4752 CC="$ac_cv_prog_CC"
4755 if test -z "$CC"; then
4756 if test -n "$ac_tool_prefix"; then
4757 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4758 set dummy ${ac_tool_prefix}cc; ac_word=$2
4759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4760 printf %s "checking for $ac_word... " >&6; }
4761 if test ${ac_cv_prog_CC+y}
4762 then :
4763 printf %s "(cached) " >&6
4764 else $as_nop
4765 if test -n "$CC"; then
4766 ac_cv_prog_CC="$CC" # Let the user override the test.
4767 else
4768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4769 for as_dir in $PATH
4771 IFS=$as_save_IFS
4772 case $as_dir in #(((
4773 '') as_dir=./ ;;
4774 */) ;;
4775 *) as_dir=$as_dir/ ;;
4776 esac
4777 for ac_exec_ext in '' $ac_executable_extensions; do
4778 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4779 ac_cv_prog_CC="${ac_tool_prefix}cc"
4780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4781 break 2
4783 done
4784 done
4785 IFS=$as_save_IFS
4789 CC=$ac_cv_prog_CC
4790 if test -n "$CC"; then
4791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4792 printf "%s\n" "$CC" >&6; }
4793 else
4794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4795 printf "%s\n" "no" >&6; }
4801 if test -z "$CC"; then
4802 # Extract the first word of "cc", so it can be a program name with args.
4803 set dummy cc; ac_word=$2
4804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4805 printf %s "checking for $ac_word... " >&6; }
4806 if test ${ac_cv_prog_CC+y}
4807 then :
4808 printf %s "(cached) " >&6
4809 else $as_nop
4810 if test -n "$CC"; then
4811 ac_cv_prog_CC="$CC" # Let the user override the test.
4812 else
4813 ac_prog_rejected=no
4814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4815 for as_dir in $PATH
4817 IFS=$as_save_IFS
4818 case $as_dir in #(((
4819 '') as_dir=./ ;;
4820 */) ;;
4821 *) as_dir=$as_dir/ ;;
4822 esac
4823 for ac_exec_ext in '' $ac_executable_extensions; do
4824 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4825 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4826 ac_prog_rejected=yes
4827 continue
4829 ac_cv_prog_CC="cc"
4830 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4831 break 2
4833 done
4834 done
4835 IFS=$as_save_IFS
4837 if test $ac_prog_rejected = yes; then
4838 # We found a bogon in the path, so make sure we never use it.
4839 set dummy $ac_cv_prog_CC
4840 shift
4841 if test $# != 0; then
4842 # We chose a different compiler from the bogus one.
4843 # However, it has the same basename, so the bogon will be chosen
4844 # first if we set CC to just the basename; use the full file name.
4845 shift
4846 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4851 CC=$ac_cv_prog_CC
4852 if test -n "$CC"; then
4853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4854 printf "%s\n" "$CC" >&6; }
4855 else
4856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4857 printf "%s\n" "no" >&6; }
4862 if test -z "$CC"; then
4863 if test -n "$ac_tool_prefix"; then
4864 for ac_prog in cl.exe
4866 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4867 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4869 printf %s "checking for $ac_word... " >&6; }
4870 if test ${ac_cv_prog_CC+y}
4871 then :
4872 printf %s "(cached) " >&6
4873 else $as_nop
4874 if test -n "$CC"; then
4875 ac_cv_prog_CC="$CC" # Let the user override the test.
4876 else
4877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4878 for as_dir in $PATH
4880 IFS=$as_save_IFS
4881 case $as_dir in #(((
4882 '') as_dir=./ ;;
4883 */) ;;
4884 *) as_dir=$as_dir/ ;;
4885 esac
4886 for ac_exec_ext in '' $ac_executable_extensions; do
4887 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4888 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4889 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4890 break 2
4892 done
4893 done
4894 IFS=$as_save_IFS
4898 CC=$ac_cv_prog_CC
4899 if test -n "$CC"; then
4900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4901 printf "%s\n" "$CC" >&6; }
4902 else
4903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4904 printf "%s\n" "no" >&6; }
4908 test -n "$CC" && break
4909 done
4911 if test -z "$CC"; then
4912 ac_ct_CC=$CC
4913 for ac_prog in cl.exe
4915 # Extract the first word of "$ac_prog", so it can be a program name with args.
4916 set dummy $ac_prog; ac_word=$2
4917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4918 printf %s "checking for $ac_word... " >&6; }
4919 if test ${ac_cv_prog_ac_ct_CC+y}
4920 then :
4921 printf %s "(cached) " >&6
4922 else $as_nop
4923 if test -n "$ac_ct_CC"; then
4924 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4925 else
4926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4927 for as_dir in $PATH
4929 IFS=$as_save_IFS
4930 case $as_dir in #(((
4931 '') as_dir=./ ;;
4932 */) ;;
4933 *) as_dir=$as_dir/ ;;
4934 esac
4935 for ac_exec_ext in '' $ac_executable_extensions; do
4936 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4937 ac_cv_prog_ac_ct_CC="$ac_prog"
4938 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4939 break 2
4941 done
4942 done
4943 IFS=$as_save_IFS
4947 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4948 if test -n "$ac_ct_CC"; then
4949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4950 printf "%s\n" "$ac_ct_CC" >&6; }
4951 else
4952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4953 printf "%s\n" "no" >&6; }
4957 test -n "$ac_ct_CC" && break
4958 done
4960 if test "x$ac_ct_CC" = x; then
4961 CC=""
4962 else
4963 case $cross_compiling:$ac_tool_warned in
4964 yes:)
4965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4966 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4967 ac_tool_warned=yes ;;
4968 esac
4969 CC=$ac_ct_CC
4974 if test -z "$CC"; then
4975 if test -n "$ac_tool_prefix"; then
4976 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4977 set dummy ${ac_tool_prefix}clang; ac_word=$2
4978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4979 printf %s "checking for $ac_word... " >&6; }
4980 if test ${ac_cv_prog_CC+y}
4981 then :
4982 printf %s "(cached) " >&6
4983 else $as_nop
4984 if test -n "$CC"; then
4985 ac_cv_prog_CC="$CC" # Let the user override the test.
4986 else
4987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4988 for as_dir in $PATH
4990 IFS=$as_save_IFS
4991 case $as_dir in #(((
4992 '') as_dir=./ ;;
4993 */) ;;
4994 *) as_dir=$as_dir/ ;;
4995 esac
4996 for ac_exec_ext in '' $ac_executable_extensions; do
4997 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4998 ac_cv_prog_CC="${ac_tool_prefix}clang"
4999 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5000 break 2
5002 done
5003 done
5004 IFS=$as_save_IFS
5008 CC=$ac_cv_prog_CC
5009 if test -n "$CC"; then
5010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5011 printf "%s\n" "$CC" >&6; }
5012 else
5013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5014 printf "%s\n" "no" >&6; }
5019 if test -z "$ac_cv_prog_CC"; then
5020 ac_ct_CC=$CC
5021 # Extract the first word of "clang", so it can be a program name with args.
5022 set dummy clang; ac_word=$2
5023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5024 printf %s "checking for $ac_word... " >&6; }
5025 if test ${ac_cv_prog_ac_ct_CC+y}
5026 then :
5027 printf %s "(cached) " >&6
5028 else $as_nop
5029 if test -n "$ac_ct_CC"; then
5030 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5031 else
5032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5033 for as_dir in $PATH
5035 IFS=$as_save_IFS
5036 case $as_dir in #(((
5037 '') as_dir=./ ;;
5038 */) ;;
5039 *) as_dir=$as_dir/ ;;
5040 esac
5041 for ac_exec_ext in '' $ac_executable_extensions; do
5042 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5043 ac_cv_prog_ac_ct_CC="clang"
5044 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5045 break 2
5047 done
5048 done
5049 IFS=$as_save_IFS
5053 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5054 if test -n "$ac_ct_CC"; then
5055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5056 printf "%s\n" "$ac_ct_CC" >&6; }
5057 else
5058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5059 printf "%s\n" "no" >&6; }
5062 if test "x$ac_ct_CC" = x; then
5063 CC=""
5064 else
5065 case $cross_compiling:$ac_tool_warned in
5066 yes:)
5067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5068 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5069 ac_tool_warned=yes ;;
5070 esac
5071 CC=$ac_ct_CC
5073 else
5074 CC="$ac_cv_prog_CC"
5080 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5081 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5082 as_fn_error $? "no acceptable C compiler found in \$PATH
5083 See \`config.log' for more details" "$LINENO" 5; }
5085 # Provide some information about the compiler.
5086 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5087 set X $ac_compile
5088 ac_compiler=$2
5089 for ac_option in --version -v -V -qversion -version; do
5090 { { ac_try="$ac_compiler $ac_option >&5"
5091 case "(($ac_try" in
5092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5093 *) ac_try_echo=$ac_try;;
5094 esac
5095 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5096 printf "%s\n" "$ac_try_echo"; } >&5
5097 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5098 ac_status=$?
5099 if test -s conftest.err; then
5100 sed '10a\
5101 ... rest of stderr output deleted ...
5102 10q' conftest.err >conftest.er1
5103 cat conftest.er1 >&5
5105 rm -f conftest.er1 conftest.err
5106 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5107 test $ac_status = 0; }
5108 done
5110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5111 /* end confdefs.h. */
5114 main (void)
5118 return 0;
5120 _ACEOF
5121 ac_clean_files_save=$ac_clean_files
5122 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5123 # Try to create an executable without -o first, disregard a.out.
5124 # It will help us diagnose broken compilers, and finding out an intuition
5125 # of exeext.
5126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5127 printf %s "checking whether the C compiler works... " >&6; }
5128 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5130 # The possible output files:
5131 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5133 ac_rmfiles=
5134 for ac_file in $ac_files
5136 case $ac_file in
5137 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5138 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5139 esac
5140 done
5141 rm -f $ac_rmfiles
5143 if { { ac_try="$ac_link_default"
5144 case "(($ac_try" in
5145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5146 *) ac_try_echo=$ac_try;;
5147 esac
5148 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5149 printf "%s\n" "$ac_try_echo"; } >&5
5150 (eval "$ac_link_default") 2>&5
5151 ac_status=$?
5152 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5153 test $ac_status = 0; }
5154 then :
5155 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5156 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5157 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5158 # so that the user can short-circuit this test for compilers unknown to
5159 # Autoconf.
5160 for ac_file in $ac_files ''
5162 test -f "$ac_file" || continue
5163 case $ac_file in
5164 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5166 [ab].out )
5167 # We found the default executable, but exeext='' is most
5168 # certainly right.
5169 break;;
5170 *.* )
5171 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5172 then :; else
5173 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5175 # We set ac_cv_exeext here because the later test for it is not
5176 # safe: cross compilers may not add the suffix if given an `-o'
5177 # argument, so we may need to know it at that point already.
5178 # Even if this section looks crufty: it has the advantage of
5179 # actually working.
5180 break;;
5182 break;;
5183 esac
5184 done
5185 test "$ac_cv_exeext" = no && ac_cv_exeext=
5187 else $as_nop
5188 ac_file=''
5190 if test -z "$ac_file"
5191 then :
5192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5193 printf "%s\n" "no" >&6; }
5194 printf "%s\n" "$as_me: failed program was:" >&5
5195 sed 's/^/| /' conftest.$ac_ext >&5
5197 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5198 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5199 as_fn_error 77 "C compiler cannot create executables
5200 See \`config.log' for more details" "$LINENO" 5; }
5201 else $as_nop
5202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5203 printf "%s\n" "yes" >&6; }
5205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5206 printf %s "checking for C compiler default output file name... " >&6; }
5207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5208 printf "%s\n" "$ac_file" >&6; }
5209 ac_exeext=$ac_cv_exeext
5211 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5212 ac_clean_files=$ac_clean_files_save
5213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5214 printf %s "checking for suffix of executables... " >&6; }
5215 if { { ac_try="$ac_link"
5216 case "(($ac_try" in
5217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5218 *) ac_try_echo=$ac_try;;
5219 esac
5220 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5221 printf "%s\n" "$ac_try_echo"; } >&5
5222 (eval "$ac_link") 2>&5
5223 ac_status=$?
5224 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5225 test $ac_status = 0; }
5226 then :
5227 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5228 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5229 # work properly (i.e., refer to `conftest.exe'), while it won't with
5230 # `rm'.
5231 for ac_file in conftest.exe conftest conftest.*; do
5232 test -f "$ac_file" || continue
5233 case $ac_file in
5234 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5235 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5236 break;;
5237 * ) break;;
5238 esac
5239 done
5240 else $as_nop
5241 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5242 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5243 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5244 See \`config.log' for more details" "$LINENO" 5; }
5246 rm -f conftest conftest$ac_cv_exeext
5247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5248 printf "%s\n" "$ac_cv_exeext" >&6; }
5250 rm -f conftest.$ac_ext
5251 EXEEXT=$ac_cv_exeext
5252 ac_exeext=$EXEEXT
5253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5254 /* end confdefs.h. */
5255 #include <stdio.h>
5257 main (void)
5259 FILE *f = fopen ("conftest.out", "w");
5260 return ferror (f) || fclose (f) != 0;
5263 return 0;
5265 _ACEOF
5266 ac_clean_files="$ac_clean_files conftest.out"
5267 # Check that the compiler produces executables we can run. If not, either
5268 # the compiler is broken, or we cross compile.
5269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5270 printf %s "checking whether we are cross compiling... " >&6; }
5271 if test "$cross_compiling" != yes; then
5272 { { ac_try="$ac_link"
5273 case "(($ac_try" in
5274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5275 *) ac_try_echo=$ac_try;;
5276 esac
5277 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5278 printf "%s\n" "$ac_try_echo"; } >&5
5279 (eval "$ac_link") 2>&5
5280 ac_status=$?
5281 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5282 test $ac_status = 0; }
5283 if { ac_try='./conftest$ac_cv_exeext'
5284 { { case "(($ac_try" in
5285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5286 *) ac_try_echo=$ac_try;;
5287 esac
5288 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5289 printf "%s\n" "$ac_try_echo"; } >&5
5290 (eval "$ac_try") 2>&5
5291 ac_status=$?
5292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5293 test $ac_status = 0; }; }; then
5294 cross_compiling=no
5295 else
5296 if test "$cross_compiling" = maybe; then
5297 cross_compiling=yes
5298 else
5299 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5300 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5301 as_fn_error 77 "cannot run C compiled programs.
5302 If you meant to cross compile, use \`--host'.
5303 See \`config.log' for more details" "$LINENO" 5; }
5307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5308 printf "%s\n" "$cross_compiling" >&6; }
5310 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5311 ac_clean_files=$ac_clean_files_save
5312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5313 printf %s "checking for suffix of object files... " >&6; }
5314 if test ${ac_cv_objext+y}
5315 then :
5316 printf %s "(cached) " >&6
5317 else $as_nop
5318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5319 /* end confdefs.h. */
5322 main (void)
5326 return 0;
5328 _ACEOF
5329 rm -f conftest.o conftest.obj
5330 if { { ac_try="$ac_compile"
5331 case "(($ac_try" in
5332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5333 *) ac_try_echo=$ac_try;;
5334 esac
5335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5336 printf "%s\n" "$ac_try_echo"; } >&5
5337 (eval "$ac_compile") 2>&5
5338 ac_status=$?
5339 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5340 test $ac_status = 0; }
5341 then :
5342 for ac_file in conftest.o conftest.obj conftest.*; do
5343 test -f "$ac_file" || continue;
5344 case $ac_file in
5345 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5346 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5347 break;;
5348 esac
5349 done
5350 else $as_nop
5351 printf "%s\n" "$as_me: failed program was:" >&5
5352 sed 's/^/| /' conftest.$ac_ext >&5
5354 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5355 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5356 as_fn_error $? "cannot compute suffix of object files: cannot compile
5357 See \`config.log' for more details" "$LINENO" 5; }
5359 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5362 printf "%s\n" "$ac_cv_objext" >&6; }
5363 OBJEXT=$ac_cv_objext
5364 ac_objext=$OBJEXT
5365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5366 printf %s "checking whether the compiler supports GNU C... " >&6; }
5367 if test ${ac_cv_c_compiler_gnu+y}
5368 then :
5369 printf %s "(cached) " >&6
5370 else $as_nop
5371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5372 /* end confdefs.h. */
5375 main (void)
5377 #ifndef __GNUC__
5378 choke me
5379 #endif
5382 return 0;
5384 _ACEOF
5385 if ac_fn_c_try_compile "$LINENO"
5386 then :
5387 ac_compiler_gnu=yes
5388 else $as_nop
5389 ac_compiler_gnu=no
5391 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5392 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5396 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5399 if test $ac_compiler_gnu = yes; then
5400 GCC=yes
5401 else
5402 GCC=
5404 ac_test_CFLAGS=${CFLAGS+y}
5405 ac_save_CFLAGS=$CFLAGS
5406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5407 printf %s "checking whether $CC accepts -g... " >&6; }
5408 if test ${ac_cv_prog_cc_g+y}
5409 then :
5410 printf %s "(cached) " >&6
5411 else $as_nop
5412 ac_save_c_werror_flag=$ac_c_werror_flag
5413 ac_c_werror_flag=yes
5414 ac_cv_prog_cc_g=no
5415 CFLAGS="-g"
5416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5417 /* end confdefs.h. */
5420 main (void)
5424 return 0;
5426 _ACEOF
5427 if ac_fn_c_try_compile "$LINENO"
5428 then :
5429 ac_cv_prog_cc_g=yes
5430 else $as_nop
5431 CFLAGS=""
5432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5433 /* end confdefs.h. */
5436 main (void)
5440 return 0;
5442 _ACEOF
5443 if ac_fn_c_try_compile "$LINENO"
5444 then :
5446 else $as_nop
5447 ac_c_werror_flag=$ac_save_c_werror_flag
5448 CFLAGS="-g"
5449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5450 /* end confdefs.h. */
5453 main (void)
5457 return 0;
5459 _ACEOF
5460 if ac_fn_c_try_compile "$LINENO"
5461 then :
5462 ac_cv_prog_cc_g=yes
5464 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5466 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5468 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5469 ac_c_werror_flag=$ac_save_c_werror_flag
5471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5472 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5473 if test $ac_test_CFLAGS; then
5474 CFLAGS=$ac_save_CFLAGS
5475 elif test $ac_cv_prog_cc_g = yes; then
5476 if test "$GCC" = yes; then
5477 CFLAGS="-g -O2"
5478 else
5479 CFLAGS="-g"
5481 else
5482 if test "$GCC" = yes; then
5483 CFLAGS="-O2"
5484 else
5485 CFLAGS=
5488 ac_prog_cc_stdc=no
5489 if test x$ac_prog_cc_stdc = xno
5490 then :
5491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5492 printf %s "checking for $CC option to enable C11 features... " >&6; }
5493 if test ${ac_cv_prog_cc_c11+y}
5494 then :
5495 printf %s "(cached) " >&6
5496 else $as_nop
5497 ac_cv_prog_cc_c11=no
5498 ac_save_CC=$CC
5499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5500 /* end confdefs.h. */
5501 $ac_c_conftest_c11_program
5502 _ACEOF
5503 for ac_arg in '' -std=gnu11
5505 CC="$ac_save_CC $ac_arg"
5506 if ac_fn_c_try_compile "$LINENO"
5507 then :
5508 ac_cv_prog_cc_c11=$ac_arg
5510 rm -f core conftest.err conftest.$ac_objext conftest.beam
5511 test "x$ac_cv_prog_cc_c11" != "xno" && break
5512 done
5513 rm -f conftest.$ac_ext
5514 CC=$ac_save_CC
5517 if test "x$ac_cv_prog_cc_c11" = xno
5518 then :
5519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5520 printf "%s\n" "unsupported" >&6; }
5521 else $as_nop
5522 if test "x$ac_cv_prog_cc_c11" = x
5523 then :
5524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5525 printf "%s\n" "none needed" >&6; }
5526 else $as_nop
5527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5528 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5529 CC="$CC $ac_cv_prog_cc_c11"
5531 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5532 ac_prog_cc_stdc=c11
5535 if test x$ac_prog_cc_stdc = xno
5536 then :
5537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5538 printf %s "checking for $CC option to enable C99 features... " >&6; }
5539 if test ${ac_cv_prog_cc_c99+y}
5540 then :
5541 printf %s "(cached) " >&6
5542 else $as_nop
5543 ac_cv_prog_cc_c99=no
5544 ac_save_CC=$CC
5545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5546 /* end confdefs.h. */
5547 $ac_c_conftest_c99_program
5548 _ACEOF
5549 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5551 CC="$ac_save_CC $ac_arg"
5552 if ac_fn_c_try_compile "$LINENO"
5553 then :
5554 ac_cv_prog_cc_c99=$ac_arg
5556 rm -f core conftest.err conftest.$ac_objext conftest.beam
5557 test "x$ac_cv_prog_cc_c99" != "xno" && break
5558 done
5559 rm -f conftest.$ac_ext
5560 CC=$ac_save_CC
5563 if test "x$ac_cv_prog_cc_c99" = xno
5564 then :
5565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5566 printf "%s\n" "unsupported" >&6; }
5567 else $as_nop
5568 if test "x$ac_cv_prog_cc_c99" = x
5569 then :
5570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5571 printf "%s\n" "none needed" >&6; }
5572 else $as_nop
5573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5574 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5575 CC="$CC $ac_cv_prog_cc_c99"
5577 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5578 ac_prog_cc_stdc=c99
5581 if test x$ac_prog_cc_stdc = xno
5582 then :
5583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5584 printf %s "checking for $CC option to enable C89 features... " >&6; }
5585 if test ${ac_cv_prog_cc_c89+y}
5586 then :
5587 printf %s "(cached) " >&6
5588 else $as_nop
5589 ac_cv_prog_cc_c89=no
5590 ac_save_CC=$CC
5591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5592 /* end confdefs.h. */
5593 $ac_c_conftest_c89_program
5594 _ACEOF
5595 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5597 CC="$ac_save_CC $ac_arg"
5598 if ac_fn_c_try_compile "$LINENO"
5599 then :
5600 ac_cv_prog_cc_c89=$ac_arg
5602 rm -f core conftest.err conftest.$ac_objext conftest.beam
5603 test "x$ac_cv_prog_cc_c89" != "xno" && break
5604 done
5605 rm -f conftest.$ac_ext
5606 CC=$ac_save_CC
5609 if test "x$ac_cv_prog_cc_c89" = xno
5610 then :
5611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5612 printf "%s\n" "unsupported" >&6; }
5613 else $as_nop
5614 if test "x$ac_cv_prog_cc_c89" = x
5615 then :
5616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5617 printf "%s\n" "none needed" >&6; }
5618 else $as_nop
5619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5620 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5621 CC="$CC $ac_cv_prog_cc_c89"
5623 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5624 ac_prog_cc_stdc=c89
5628 ac_ext=c
5629 ac_cpp='$CPP $CPPFLAGS'
5630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5640 ac_ext=cpp
5641 ac_cpp='$CXXCPP $CPPFLAGS'
5642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5645 if test -z "$CXX"; then
5646 if test -n "$CCC"; then
5647 CXX=$CCC
5648 else
5649 if test -n "$ac_tool_prefix"; then
5650 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5652 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5653 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5655 printf %s "checking for $ac_word... " >&6; }
5656 if test ${ac_cv_prog_CXX+y}
5657 then :
5658 printf %s "(cached) " >&6
5659 else $as_nop
5660 if test -n "$CXX"; then
5661 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5662 else
5663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5664 for as_dir in $PATH
5666 IFS=$as_save_IFS
5667 case $as_dir in #(((
5668 '') as_dir=./ ;;
5669 */) ;;
5670 *) as_dir=$as_dir/ ;;
5671 esac
5672 for ac_exec_ext in '' $ac_executable_extensions; do
5673 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5674 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5675 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5676 break 2
5678 done
5679 done
5680 IFS=$as_save_IFS
5684 CXX=$ac_cv_prog_CXX
5685 if test -n "$CXX"; then
5686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5687 printf "%s\n" "$CXX" >&6; }
5688 else
5689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5690 printf "%s\n" "no" >&6; }
5694 test -n "$CXX" && break
5695 done
5697 if test -z "$CXX"; then
5698 ac_ct_CXX=$CXX
5699 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5701 # Extract the first word of "$ac_prog", so it can be a program name with args.
5702 set dummy $ac_prog; ac_word=$2
5703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5704 printf %s "checking for $ac_word... " >&6; }
5705 if test ${ac_cv_prog_ac_ct_CXX+y}
5706 then :
5707 printf %s "(cached) " >&6
5708 else $as_nop
5709 if test -n "$ac_ct_CXX"; then
5710 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5711 else
5712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5713 for as_dir in $PATH
5715 IFS=$as_save_IFS
5716 case $as_dir in #(((
5717 '') as_dir=./ ;;
5718 */) ;;
5719 *) as_dir=$as_dir/ ;;
5720 esac
5721 for ac_exec_ext in '' $ac_executable_extensions; do
5722 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5723 ac_cv_prog_ac_ct_CXX="$ac_prog"
5724 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5725 break 2
5727 done
5728 done
5729 IFS=$as_save_IFS
5733 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5734 if test -n "$ac_ct_CXX"; then
5735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5736 printf "%s\n" "$ac_ct_CXX" >&6; }
5737 else
5738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5739 printf "%s\n" "no" >&6; }
5743 test -n "$ac_ct_CXX" && break
5744 done
5746 if test "x$ac_ct_CXX" = x; then
5747 CXX="g++"
5748 else
5749 case $cross_compiling:$ac_tool_warned in
5750 yes:)
5751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5752 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5753 ac_tool_warned=yes ;;
5754 esac
5755 CXX=$ac_ct_CXX
5761 # Provide some information about the compiler.
5762 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5763 set X $ac_compile
5764 ac_compiler=$2
5765 for ac_option in --version -v -V -qversion; do
5766 { { ac_try="$ac_compiler $ac_option >&5"
5767 case "(($ac_try" in
5768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5769 *) ac_try_echo=$ac_try;;
5770 esac
5771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5772 printf "%s\n" "$ac_try_echo"; } >&5
5773 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5774 ac_status=$?
5775 if test -s conftest.err; then
5776 sed '10a\
5777 ... rest of stderr output deleted ...
5778 10q' conftest.err >conftest.er1
5779 cat conftest.er1 >&5
5781 rm -f conftest.er1 conftest.err
5782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5783 test $ac_status = 0; }
5784 done
5786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5787 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5788 if test ${ac_cv_cxx_compiler_gnu+y}
5789 then :
5790 printf %s "(cached) " >&6
5791 else $as_nop
5792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5793 /* end confdefs.h. */
5796 main (void)
5798 #ifndef __GNUC__
5799 choke me
5800 #endif
5803 return 0;
5805 _ACEOF
5806 if ac_fn_cxx_try_compile "$LINENO"
5807 then :
5808 ac_compiler_gnu=yes
5809 else $as_nop
5810 ac_compiler_gnu=no
5812 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5813 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5817 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5820 if test $ac_compiler_gnu = yes; then
5821 GXX=yes
5822 else
5823 GXX=
5825 ac_test_CXXFLAGS=${CXXFLAGS+y}
5826 ac_save_CXXFLAGS=$CXXFLAGS
5827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5828 printf %s "checking whether $CXX accepts -g... " >&6; }
5829 if test ${ac_cv_prog_cxx_g+y}
5830 then :
5831 printf %s "(cached) " >&6
5832 else $as_nop
5833 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5834 ac_cxx_werror_flag=yes
5835 ac_cv_prog_cxx_g=no
5836 CXXFLAGS="-g"
5837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5838 /* end confdefs.h. */
5841 main (void)
5845 return 0;
5847 _ACEOF
5848 if ac_fn_cxx_try_compile "$LINENO"
5849 then :
5850 ac_cv_prog_cxx_g=yes
5851 else $as_nop
5852 CXXFLAGS=""
5853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5854 /* end confdefs.h. */
5857 main (void)
5861 return 0;
5863 _ACEOF
5864 if ac_fn_cxx_try_compile "$LINENO"
5865 then :
5867 else $as_nop
5868 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5869 CXXFLAGS="-g"
5870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5871 /* end confdefs.h. */
5874 main (void)
5878 return 0;
5880 _ACEOF
5881 if ac_fn_cxx_try_compile "$LINENO"
5882 then :
5883 ac_cv_prog_cxx_g=yes
5885 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5887 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5889 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5890 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5893 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5894 if test $ac_test_CXXFLAGS; then
5895 CXXFLAGS=$ac_save_CXXFLAGS
5896 elif test $ac_cv_prog_cxx_g = yes; then
5897 if test "$GXX" = yes; then
5898 CXXFLAGS="-g -O2"
5899 else
5900 CXXFLAGS="-g"
5902 else
5903 if test "$GXX" = yes; then
5904 CXXFLAGS="-O2"
5905 else
5906 CXXFLAGS=
5909 ac_prog_cxx_stdcxx=no
5910 if test x$ac_prog_cxx_stdcxx = xno
5911 then :
5912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5913 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5914 if test ${ac_cv_prog_cxx_cxx11+y}
5915 then :
5916 printf %s "(cached) " >&6
5917 else $as_nop
5918 ac_cv_prog_cxx_cxx11=no
5919 ac_save_CXX=$CXX
5920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5921 /* end confdefs.h. */
5922 $ac_cxx_conftest_cxx11_program
5923 _ACEOF
5924 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5926 CXX="$ac_save_CXX $ac_arg"
5927 if ac_fn_cxx_try_compile "$LINENO"
5928 then :
5929 ac_cv_prog_cxx_cxx11=$ac_arg
5931 rm -f core conftest.err conftest.$ac_objext conftest.beam
5932 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5933 done
5934 rm -f conftest.$ac_ext
5935 CXX=$ac_save_CXX
5938 if test "x$ac_cv_prog_cxx_cxx11" = xno
5939 then :
5940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5941 printf "%s\n" "unsupported" >&6; }
5942 else $as_nop
5943 if test "x$ac_cv_prog_cxx_cxx11" = x
5944 then :
5945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5946 printf "%s\n" "none needed" >&6; }
5947 else $as_nop
5948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5949 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5950 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5952 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5953 ac_prog_cxx_stdcxx=cxx11
5956 if test x$ac_prog_cxx_stdcxx = xno
5957 then :
5958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5959 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5960 if test ${ac_cv_prog_cxx_cxx98+y}
5961 then :
5962 printf %s "(cached) " >&6
5963 else $as_nop
5964 ac_cv_prog_cxx_cxx98=no
5965 ac_save_CXX=$CXX
5966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5967 /* end confdefs.h. */
5968 $ac_cxx_conftest_cxx98_program
5969 _ACEOF
5970 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5972 CXX="$ac_save_CXX $ac_arg"
5973 if ac_fn_cxx_try_compile "$LINENO"
5974 then :
5975 ac_cv_prog_cxx_cxx98=$ac_arg
5977 rm -f core conftest.err conftest.$ac_objext conftest.beam
5978 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5979 done
5980 rm -f conftest.$ac_ext
5981 CXX=$ac_save_CXX
5984 if test "x$ac_cv_prog_cxx_cxx98" = xno
5985 then :
5986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5987 printf "%s\n" "unsupported" >&6; }
5988 else $as_nop
5989 if test "x$ac_cv_prog_cxx_cxx98" = x
5990 then :
5991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5992 printf "%s\n" "none needed" >&6; }
5993 else $as_nop
5994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5995 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5996 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5998 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5999 ac_prog_cxx_stdcxx=cxx98
6003 ac_ext=c
6004 ac_cpp='$CPP $CPPFLAGS'
6005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6009 if test -n "$ac_tool_prefix"; then
6010 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6011 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6013 printf %s "checking for $ac_word... " >&6; }
6014 if test ${ac_cv_prog_CPPBIN+y}
6015 then :
6016 printf %s "(cached) " >&6
6017 else $as_nop
6018 if test -n "$CPPBIN"; then
6019 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6020 else
6021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6022 for as_dir in $PATH
6024 IFS=$as_save_IFS
6025 case $as_dir in #(((
6026 '') as_dir=./ ;;
6027 */) ;;
6028 *) as_dir=$as_dir/ ;;
6029 esac
6030 for ac_exec_ext in '' $ac_executable_extensions; do
6031 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6032 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6033 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6034 break 2
6036 done
6037 done
6038 IFS=$as_save_IFS
6042 CPPBIN=$ac_cv_prog_CPPBIN
6043 if test -n "$CPPBIN"; then
6044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6045 printf "%s\n" "$CPPBIN" >&6; }
6046 else
6047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6048 printf "%s\n" "no" >&6; }
6053 if test -z "$ac_cv_prog_CPPBIN"; then
6054 ac_ct_CPPBIN=$CPPBIN
6055 # Extract the first word of "cpp", so it can be a program name with args.
6056 set dummy cpp; ac_word=$2
6057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6058 printf %s "checking for $ac_word... " >&6; }
6059 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6060 then :
6061 printf %s "(cached) " >&6
6062 else $as_nop
6063 if test -n "$ac_ct_CPPBIN"; then
6064 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6065 else
6066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6067 for as_dir in $PATH
6069 IFS=$as_save_IFS
6070 case $as_dir in #(((
6071 '') as_dir=./ ;;
6072 */) ;;
6073 *) as_dir=$as_dir/ ;;
6074 esac
6075 for ac_exec_ext in '' $ac_executable_extensions; do
6076 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6077 ac_cv_prog_ac_ct_CPPBIN="cpp"
6078 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6079 break 2
6081 done
6082 done
6083 IFS=$as_save_IFS
6087 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6088 if test -n "$ac_ct_CPPBIN"; then
6089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6090 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6091 else
6092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6093 printf "%s\n" "no" >&6; }
6096 if test "x$ac_ct_CPPBIN" = x; then
6097 CPPBIN="cpp"
6098 else
6099 case $cross_compiling:$ac_tool_warned in
6100 yes:)
6101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6102 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6103 ac_tool_warned=yes ;;
6104 esac
6105 CPPBIN=$ac_ct_CPPBIN
6107 else
6108 CPPBIN="$ac_cv_prog_CPPBIN"
6112 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6114 if test -n "$ac_tool_prefix"; then
6115 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6116 set dummy ${ac_tool_prefix}ld; ac_word=$2
6117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6118 printf %s "checking for $ac_word... " >&6; }
6119 if test ${ac_cv_prog_LD+y}
6120 then :
6121 printf %s "(cached) " >&6
6122 else $as_nop
6123 if test -n "$LD"; then
6124 ac_cv_prog_LD="$LD" # Let the user override the test.
6125 else
6126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6127 for as_dir in $PATH
6129 IFS=$as_save_IFS
6130 case $as_dir in #(((
6131 '') as_dir=./ ;;
6132 */) ;;
6133 *) as_dir=$as_dir/ ;;
6134 esac
6135 for ac_exec_ext in '' $ac_executable_extensions; do
6136 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6137 ac_cv_prog_LD="${ac_tool_prefix}ld"
6138 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6139 break 2
6141 done
6142 done
6143 IFS=$as_save_IFS
6147 LD=$ac_cv_prog_LD
6148 if test -n "$LD"; then
6149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6150 printf "%s\n" "$LD" >&6; }
6151 else
6152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6153 printf "%s\n" "no" >&6; }
6158 if test -z "$ac_cv_prog_LD"; then
6159 ac_ct_LD=$LD
6160 # Extract the first word of "ld", so it can be a program name with args.
6161 set dummy ld; ac_word=$2
6162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6163 printf %s "checking for $ac_word... " >&6; }
6164 if test ${ac_cv_prog_ac_ct_LD+y}
6165 then :
6166 printf %s "(cached) " >&6
6167 else $as_nop
6168 if test -n "$ac_ct_LD"; then
6169 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6170 else
6171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6172 for as_dir in $PATH
6174 IFS=$as_save_IFS
6175 case $as_dir in #(((
6176 '') as_dir=./ ;;
6177 */) ;;
6178 *) as_dir=$as_dir/ ;;
6179 esac
6180 for ac_exec_ext in '' $ac_executable_extensions; do
6181 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6182 ac_cv_prog_ac_ct_LD="ld"
6183 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6184 break 2
6186 done
6187 done
6188 IFS=$as_save_IFS
6192 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6193 if test -n "$ac_ct_LD"; then
6194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6195 printf "%s\n" "$ac_ct_LD" >&6; }
6196 else
6197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6198 printf "%s\n" "no" >&6; }
6201 if test "x$ac_ct_LD" = x; then
6202 LD=""
6203 else
6204 case $cross_compiling:$ac_tool_warned in
6205 yes:)
6206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6207 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6208 ac_tool_warned=yes ;;
6209 esac
6210 LD=$ac_ct_LD
6212 else
6213 LD="$ac_cv_prog_LD"
6217 case $host in
6218 *-darwin*)
6219 with_fontconfig=${with_fontconfig:-no}
6221 *-mingw32*|*-cygwin*)
6222 enable_win16=${enable_win16:-no}
6223 with_mingw=${with_mingw:-no}
6225 esac
6228 case $host in
6229 x86_64*|amd64*)
6230 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6231 then
6232 CC="$CC -m32"
6233 CXX="$CXX -m32"
6235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6236 printf %s "checking whether $CC works... " >&6; }
6237 if test ${wine_cv_cc_m32+y}
6238 then :
6239 printf %s "(cached) " >&6
6240 else $as_nop
6241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6242 /* end confdefs.h. */
6245 main (void)
6249 return 0;
6251 _ACEOF
6252 if ac_fn_c_try_link "$LINENO"
6253 then :
6254 wine_cv_cc_m32=yes
6255 else $as_nop
6256 wine_cv_cc_m32=no
6258 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6259 conftest$ac_exeext conftest.$ac_ext
6261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6262 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6263 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
6264 host_cpu="i386"
6265 notice_platform="32-bit "
6266 TARGETFLAGS="$TARGETFLAGS -m32"
6267 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6268 export PKG_CONFIG_LIBDIR
6269 with_unwind=${with_unwind:-no}
6270 else
6271 if test "x${GCC}" = "xyes"
6272 then
6273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6274 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6275 if test ${wine_cv_builtin_ms_va_list+y}
6276 then :
6277 printf %s "(cached) " >&6
6278 else $as_nop
6279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6280 /* end confdefs.h. */
6281 #include <stdarg.h>
6283 main (void)
6285 void func(__builtin_ms_va_list *args);
6287 return 0;
6289 _ACEOF
6290 if ac_fn_c_try_compile "$LINENO"
6291 then :
6292 wine_cv_builtin_ms_va_list=yes
6293 else $as_nop
6294 wine_cv_builtin_ms_va_list=no
6296 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6299 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6300 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
6302 CC="$CC -m64"
6303 CXX="$CXX -m64"
6304 host_cpu="x86_64"
6305 notice_platform="64-bit "
6306 TARGETFLAGS="$TARGETFLAGS -m64"
6309 arm*)
6310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6311 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6312 if test ${wine_cv_thumb2+y}
6313 then :
6314 printf %s "(cached) " >&6
6315 else $as_nop
6316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6317 /* end confdefs.h. */
6320 main (void)
6322 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6324 return 0;
6326 _ACEOF
6327 if ac_fn_c_try_link "$LINENO"
6328 then :
6329 wine_cv_thumb2=yes
6330 else $as_nop
6331 wine_cv_thumb2=no
6333 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6334 conftest$ac_exeext conftest.$ac_ext
6336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6337 printf "%s\n" "$wine_cv_thumb2" >&6; }
6338 if test x"$wine_cv_thumb2" = xyes
6339 then
6340 CFLAGS="$CFLAGS -mthumb"
6341 TARGETFLAGS="$TARGETFLAGS -mthumb"
6342 else
6343 CFLAGS="$CFLAGS -marm"
6344 TARGETFLAGS="$TARGETFLAGS -marm"
6346 case $with_float_abi in
6347 soft|softfp|hard)
6348 float_abi=$with_float_abi ;;
6350 case $host_os in
6351 *eabihf)
6352 float_abi=hard ;;
6354 float_abi=softfp
6355 saved_CFLAGS=$CFLAGS
6356 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6358 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6359 if test ${wine_cv_float_abi+y}
6360 then :
6361 printf %s "(cached) " >&6
6362 else $as_nop
6363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6364 /* end confdefs.h. */
6367 main (void)
6369 asm("vmrs r2,fpscr");
6371 return 0;
6373 _ACEOF
6374 if ac_fn_c_try_link "$LINENO"
6375 then :
6376 wine_cv_float_abi=yes
6377 else $as_nop
6378 wine_cv_float_abi=no
6380 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6381 conftest$ac_exeext conftest.$ac_ext
6383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6384 printf "%s\n" "$wine_cv_float_abi" >&6; }
6385 if test $wine_cv_float_abi = no
6386 then
6387 float_abi=soft
6388 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6390 CFLAGS=$saved_CFLAGS
6391 esac
6393 esac
6394 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6395 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6397 i[3456789]86*)
6398 with_unwind=${with_unwind:-no}
6400 esac
6402 enable_win16=${enable_win16:-i386}
6403 enable_win64=${enable_win64:-no}
6404 enable_wow64=${enable_wow64:-aarch64,x86_64}
6405 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6406 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6408 enable_winetest=${enable_winetest:-$enable_tests}
6410 if test "x$enable_win64" = "xyes"
6411 then
6412 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6413 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6416 case $build_os in
6417 cygwin*|mingw32*) toolsext=".exe"
6419 *) toolsext=""
6421 esac
6423 HOST_ARCH=unknown
6424 case "$host_cpu" in
6425 aarch64*) HOST_ARCH=aarch64 ;;
6426 arm*) HOST_ARCH=arm ;;
6427 i[3456789]86*) HOST_ARCH=i386 ;;
6428 x86_64) HOST_ARCH=x86_64 ;;
6429 esac
6432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6433 printf %s "checking for the directory containing the Wine tools... " >&6; }
6434 if test ${wine_cv_toolsdir+y}
6435 then :
6436 printf %s "(cached) " >&6
6437 else $as_nop
6438 wine_cv_toolsdir="$with_wine_tools"
6439 if test -z "$with_wine_tools"; then
6440 if test "$cross_compiling" = "yes"; then
6441 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6442 elif test -n "$with_wine64"; then
6443 wine_cv_toolsdir="$with_wine64"
6447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6448 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6449 if test -z "$wine_cv_toolsdir"; then
6450 wine_makedep=tools/makedep$toolsext
6451 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6452 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6453 enable_tools=${enable_tools:-no}
6454 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6455 else
6456 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6458 toolsdir=$wine_cv_toolsdir
6460 MAKEDEP=$wine_makedep
6462 RUNTESTFLAGS="-q -P wine"
6464 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'"
6467 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6468 then
6469 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6472 for ac_prog in flex
6474 # Extract the first word of "$ac_prog", so it can be a program name with args.
6475 set dummy $ac_prog; ac_word=$2
6476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6477 printf %s "checking for $ac_word... " >&6; }
6478 if test ${ac_cv_prog_FLEX+y}
6479 then :
6480 printf %s "(cached) " >&6
6481 else $as_nop
6482 if test -n "$FLEX"; then
6483 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6484 else
6485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6486 for as_dir in $PATH
6488 IFS=$as_save_IFS
6489 case $as_dir in #(((
6490 '') as_dir=./ ;;
6491 */) ;;
6492 *) as_dir=$as_dir/ ;;
6493 esac
6494 for ac_exec_ext in '' $ac_executable_extensions; do
6495 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6496 ac_cv_prog_FLEX="$ac_prog"
6497 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6498 break 2
6500 done
6501 done
6502 IFS=$as_save_IFS
6506 FLEX=$ac_cv_prog_FLEX
6507 if test -n "$FLEX"; then
6508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6509 printf "%s\n" "$FLEX" >&6; }
6510 else
6511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6512 printf "%s\n" "no" >&6; }
6516 test -n "$FLEX" && break
6517 done
6518 test -n "$FLEX" || FLEX="none"
6520 if test "$FLEX" = "none"
6521 then
6522 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6525 printf %s "checking whether flex is recent enough... " >&6; }
6526 if test ${wine_cv_recent_flex+y}
6527 then :
6528 printf %s "(cached) " >&6
6529 else $as_nop
6530 cat >conftest.l <<EOF
6531 %top{
6532 #include "prediluvian.h"
6536 if $FLEX -t conftest.l >/dev/null 2>&5
6537 then
6538 wine_cv_recent_flex=yes
6539 else
6540 wine_cv_recent_flex=no
6543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6544 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6545 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
6547 for ac_prog in bison
6549 # Extract the first word of "$ac_prog", so it can be a program name with args.
6550 set dummy $ac_prog; ac_word=$2
6551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6552 printf %s "checking for $ac_word... " >&6; }
6553 if test ${ac_cv_prog_BISON+y}
6554 then :
6555 printf %s "(cached) " >&6
6556 else $as_nop
6557 if test -n "$BISON"; then
6558 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6559 else
6560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6561 for as_dir in $PATH
6563 IFS=$as_save_IFS
6564 case $as_dir in #(((
6565 '') as_dir=./ ;;
6566 */) ;;
6567 *) as_dir=$as_dir/ ;;
6568 esac
6569 for ac_exec_ext in '' $ac_executable_extensions; do
6570 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6571 ac_cv_prog_BISON="$ac_prog"
6572 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6573 break 2
6575 done
6576 done
6577 IFS=$as_save_IFS
6581 BISON=$ac_cv_prog_BISON
6582 if test -n "$BISON"; then
6583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6584 printf "%s\n" "$BISON" >&6; }
6585 else
6586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6587 printf "%s\n" "no" >&6; }
6591 test -n "$BISON" && break
6592 done
6593 test -n "$BISON" || BISON="none"
6595 if test "$BISON" = "none"
6596 then
6597 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6600 printf %s "checking whether bison is recent enough... " >&6; }
6601 if test ${wine_cv_recent_bison+y}
6602 then :
6603 printf %s "(cached) " >&6
6604 else $as_nop
6605 cat >conftest.y <<EOF
6606 %define parse.error verbose
6608 empty: ;
6610 if $BISON conftest.y >/dev/null 2>&5
6611 then
6612 wine_cv_recent_bison=yes
6613 else
6614 wine_cv_recent_bison=no
6617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6618 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6619 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
6621 if test -n "$ac_tool_prefix"; then
6622 for ac_prog in ar gar
6624 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6625 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6627 printf %s "checking for $ac_word... " >&6; }
6628 if test ${ac_cv_prog_AR+y}
6629 then :
6630 printf %s "(cached) " >&6
6631 else $as_nop
6632 if test -n "$AR"; then
6633 ac_cv_prog_AR="$AR" # Let the user override the test.
6634 else
6635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6636 for as_dir in $PATH
6638 IFS=$as_save_IFS
6639 case $as_dir in #(((
6640 '') as_dir=./ ;;
6641 */) ;;
6642 *) as_dir=$as_dir/ ;;
6643 esac
6644 for ac_exec_ext in '' $ac_executable_extensions; do
6645 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6646 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6647 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6648 break 2
6650 done
6651 done
6652 IFS=$as_save_IFS
6656 AR=$ac_cv_prog_AR
6657 if test -n "$AR"; then
6658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6659 printf "%s\n" "$AR" >&6; }
6660 else
6661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6662 printf "%s\n" "no" >&6; }
6666 test -n "$AR" && break
6667 done
6669 if test -z "$AR"; then
6670 ac_ct_AR=$AR
6671 for ac_prog in ar gar
6673 # Extract the first word of "$ac_prog", so it can be a program name with args.
6674 set dummy $ac_prog; ac_word=$2
6675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6676 printf %s "checking for $ac_word... " >&6; }
6677 if test ${ac_cv_prog_ac_ct_AR+y}
6678 then :
6679 printf %s "(cached) " >&6
6680 else $as_nop
6681 if test -n "$ac_ct_AR"; then
6682 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6683 else
6684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6685 for as_dir in $PATH
6687 IFS=$as_save_IFS
6688 case $as_dir in #(((
6689 '') as_dir=./ ;;
6690 */) ;;
6691 *) as_dir=$as_dir/ ;;
6692 esac
6693 for ac_exec_ext in '' $ac_executable_extensions; do
6694 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6695 ac_cv_prog_ac_ct_AR="$ac_prog"
6696 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6697 break 2
6699 done
6700 done
6701 IFS=$as_save_IFS
6705 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6706 if test -n "$ac_ct_AR"; then
6707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6708 printf "%s\n" "$ac_ct_AR" >&6; }
6709 else
6710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6711 printf "%s\n" "no" >&6; }
6715 test -n "$ac_ct_AR" && break
6716 done
6718 if test "x$ac_ct_AR" = x; then
6719 AR="ar"
6720 else
6721 case $cross_compiling:$ac_tool_warned in
6722 yes:)
6723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6724 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6725 ac_tool_warned=yes ;;
6726 esac
6727 AR=$ac_ct_AR
6731 if test -n "$ac_tool_prefix"; then
6732 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6733 set dummy ${ac_tool_prefix}strip; ac_word=$2
6734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6735 printf %s "checking for $ac_word... " >&6; }
6736 if test ${ac_cv_prog_STRIP+y}
6737 then :
6738 printf %s "(cached) " >&6
6739 else $as_nop
6740 if test -n "$STRIP"; then
6741 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6742 else
6743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6744 for as_dir in $PATH
6746 IFS=$as_save_IFS
6747 case $as_dir in #(((
6748 '') as_dir=./ ;;
6749 */) ;;
6750 *) as_dir=$as_dir/ ;;
6751 esac
6752 for ac_exec_ext in '' $ac_executable_extensions; do
6753 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6754 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6756 break 2
6758 done
6759 done
6760 IFS=$as_save_IFS
6764 STRIP=$ac_cv_prog_STRIP
6765 if test -n "$STRIP"; then
6766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6767 printf "%s\n" "$STRIP" >&6; }
6768 else
6769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6770 printf "%s\n" "no" >&6; }
6775 if test -z "$ac_cv_prog_STRIP"; then
6776 ac_ct_STRIP=$STRIP
6777 # Extract the first word of "strip", so it can be a program name with args.
6778 set dummy strip; ac_word=$2
6779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6780 printf %s "checking for $ac_word... " >&6; }
6781 if test ${ac_cv_prog_ac_ct_STRIP+y}
6782 then :
6783 printf %s "(cached) " >&6
6784 else $as_nop
6785 if test -n "$ac_ct_STRIP"; then
6786 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6787 else
6788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6789 for as_dir in $PATH
6791 IFS=$as_save_IFS
6792 case $as_dir in #(((
6793 '') as_dir=./ ;;
6794 */) ;;
6795 *) as_dir=$as_dir/ ;;
6796 esac
6797 for ac_exec_ext in '' $ac_executable_extensions; do
6798 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6799 ac_cv_prog_ac_ct_STRIP="strip"
6800 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6801 break 2
6803 done
6804 done
6805 IFS=$as_save_IFS
6809 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6810 if test -n "$ac_ct_STRIP"; then
6811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6812 printf "%s\n" "$ac_ct_STRIP" >&6; }
6813 else
6814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6815 printf "%s\n" "no" >&6; }
6818 if test "x$ac_ct_STRIP" = x; then
6819 STRIP="strip"
6820 else
6821 case $cross_compiling:$ac_tool_warned in
6822 yes:)
6823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6824 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6825 ac_tool_warned=yes ;;
6826 esac
6827 STRIP=$ac_ct_STRIP
6829 else
6830 STRIP="$ac_cv_prog_STRIP"
6833 if test -n "$ac_tool_prefix"; then
6834 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6835 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6837 printf %s "checking for $ac_word... " >&6; }
6838 if test ${ac_cv_prog_RANLIB+y}
6839 then :
6840 printf %s "(cached) " >&6
6841 else $as_nop
6842 if test -n "$RANLIB"; then
6843 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6844 else
6845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6846 for as_dir in $PATH
6848 IFS=$as_save_IFS
6849 case $as_dir in #(((
6850 '') as_dir=./ ;;
6851 */) ;;
6852 *) as_dir=$as_dir/ ;;
6853 esac
6854 for ac_exec_ext in '' $ac_executable_extensions; do
6855 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6856 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6857 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6858 break 2
6860 done
6861 done
6862 IFS=$as_save_IFS
6866 RANLIB=$ac_cv_prog_RANLIB
6867 if test -n "$RANLIB"; then
6868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6869 printf "%s\n" "$RANLIB" >&6; }
6870 else
6871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6872 printf "%s\n" "no" >&6; }
6877 if test -z "$ac_cv_prog_RANLIB"; then
6878 ac_ct_RANLIB=$RANLIB
6879 # Extract the first word of "ranlib", so it can be a program name with args.
6880 set dummy ranlib; ac_word=$2
6881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6882 printf %s "checking for $ac_word... " >&6; }
6883 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6884 then :
6885 printf %s "(cached) " >&6
6886 else $as_nop
6887 if test -n "$ac_ct_RANLIB"; then
6888 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6889 else
6890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6891 for as_dir in $PATH
6893 IFS=$as_save_IFS
6894 case $as_dir in #(((
6895 '') as_dir=./ ;;
6896 */) ;;
6897 *) as_dir=$as_dir/ ;;
6898 esac
6899 for ac_exec_ext in '' $ac_executable_extensions; do
6900 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6901 ac_cv_prog_ac_ct_RANLIB="ranlib"
6902 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6903 break 2
6905 done
6906 done
6907 IFS=$as_save_IFS
6911 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6912 if test -n "$ac_ct_RANLIB"; then
6913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6914 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6915 else
6916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6917 printf "%s\n" "no" >&6; }
6920 if test "x$ac_ct_RANLIB" = x; then
6921 RANLIB=":"
6922 else
6923 case $cross_compiling:$ac_tool_warned in
6924 yes:)
6925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6926 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6927 ac_tool_warned=yes ;;
6928 esac
6929 RANLIB=$ac_ct_RANLIB
6931 else
6932 RANLIB="$ac_cv_prog_RANLIB"
6935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6936 printf %s "checking whether ln -s works... " >&6; }
6937 LN_S=$as_ln_s
6938 if test "$LN_S" = "ln -s"; then
6939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6940 printf "%s\n" "yes" >&6; }
6941 else
6942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6943 printf "%s\n" "no, using $LN_S" >&6; }
6946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6947 printf %s "checking for grep that handles long lines and -e... " >&6; }
6948 if test ${ac_cv_path_GREP+y}
6949 then :
6950 printf %s "(cached) " >&6
6951 else $as_nop
6952 if test -z "$GREP"; then
6953 ac_path_GREP_found=false
6954 # Loop through the user's path and test for each of PROGNAME-LIST
6955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6956 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6958 IFS=$as_save_IFS
6959 case $as_dir in #(((
6960 '') as_dir=./ ;;
6961 */) ;;
6962 *) as_dir=$as_dir/ ;;
6963 esac
6964 for ac_prog in grep ggrep
6966 for ac_exec_ext in '' $ac_executable_extensions; do
6967 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6968 as_fn_executable_p "$ac_path_GREP" || continue
6969 # Check for GNU ac_path_GREP and select it if it is found.
6970 # Check for GNU $ac_path_GREP
6971 case `"$ac_path_GREP" --version 2>&1` in
6972 *GNU*)
6973 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6975 ac_count=0
6976 printf %s 0123456789 >"conftest.in"
6977 while :
6979 cat "conftest.in" "conftest.in" >"conftest.tmp"
6980 mv "conftest.tmp" "conftest.in"
6981 cp "conftest.in" "conftest.nl"
6982 printf "%s\n" 'GREP' >> "conftest.nl"
6983 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6984 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6985 as_fn_arith $ac_count + 1 && ac_count=$as_val
6986 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6987 # Best one so far, save it but keep looking for a better one
6988 ac_cv_path_GREP="$ac_path_GREP"
6989 ac_path_GREP_max=$ac_count
6991 # 10*(2^10) chars as input seems more than enough
6992 test $ac_count -gt 10 && break
6993 done
6994 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6995 esac
6997 $ac_path_GREP_found && break 3
6998 done
6999 done
7000 done
7001 IFS=$as_save_IFS
7002 if test -z "$ac_cv_path_GREP"; then
7003 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7005 else
7006 ac_cv_path_GREP=$GREP
7010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7011 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7012 GREP="$ac_cv_path_GREP"
7015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7016 printf %s "checking for egrep... " >&6; }
7017 if test ${ac_cv_path_EGREP+y}
7018 then :
7019 printf %s "(cached) " >&6
7020 else $as_nop
7021 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7022 then ac_cv_path_EGREP="$GREP -E"
7023 else
7024 if test -z "$EGREP"; then
7025 ac_path_EGREP_found=false
7026 # Loop through the user's path and test for each of PROGNAME-LIST
7027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7028 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7030 IFS=$as_save_IFS
7031 case $as_dir in #(((
7032 '') as_dir=./ ;;
7033 */) ;;
7034 *) as_dir=$as_dir/ ;;
7035 esac
7036 for ac_prog in egrep
7038 for ac_exec_ext in '' $ac_executable_extensions; do
7039 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7040 as_fn_executable_p "$ac_path_EGREP" || continue
7041 # Check for GNU ac_path_EGREP and select it if it is found.
7042 # Check for GNU $ac_path_EGREP
7043 case `"$ac_path_EGREP" --version 2>&1` in
7044 *GNU*)
7045 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7047 ac_count=0
7048 printf %s 0123456789 >"conftest.in"
7049 while :
7051 cat "conftest.in" "conftest.in" >"conftest.tmp"
7052 mv "conftest.tmp" "conftest.in"
7053 cp "conftest.in" "conftest.nl"
7054 printf "%s\n" 'EGREP' >> "conftest.nl"
7055 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7056 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7057 as_fn_arith $ac_count + 1 && ac_count=$as_val
7058 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7059 # Best one so far, save it but keep looking for a better one
7060 ac_cv_path_EGREP="$ac_path_EGREP"
7061 ac_path_EGREP_max=$ac_count
7063 # 10*(2^10) chars as input seems more than enough
7064 test $ac_count -gt 10 && break
7065 done
7066 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7067 esac
7069 $ac_path_EGREP_found && break 3
7070 done
7071 done
7072 done
7073 IFS=$as_save_IFS
7074 if test -z "$ac_cv_path_EGREP"; then
7075 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7077 else
7078 ac_cv_path_EGREP=$EGREP
7083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7084 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7085 EGREP="$ac_cv_path_EGREP"
7088 # Extract the first word of "ldconfig", so it can be a program name with args.
7089 set dummy ldconfig; ac_word=$2
7090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7091 printf %s "checking for $ac_word... " >&6; }
7092 if test ${ac_cv_path_LDCONFIG+y}
7093 then :
7094 printf %s "(cached) " >&6
7095 else $as_nop
7096 case $LDCONFIG in
7097 [\\/]* | ?:[\\/]*)
7098 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7102 for as_dir in /sbin /usr/sbin $PATH
7104 IFS=$as_save_IFS
7105 case $as_dir in #(((
7106 '') as_dir=./ ;;
7107 */) ;;
7108 *) as_dir=$as_dir/ ;;
7109 esac
7110 for ac_exec_ext in '' $ac_executable_extensions; do
7111 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7112 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7113 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7114 break 2
7116 done
7117 done
7118 IFS=$as_save_IFS
7120 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7122 esac
7124 LDCONFIG=$ac_cv_path_LDCONFIG
7125 if test -n "$LDCONFIG"; then
7126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7127 printf "%s\n" "$LDCONFIG" >&6; }
7128 else
7129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7130 printf "%s\n" "no" >&6; }
7134 for ac_prog in msgfmt
7136 # Extract the first word of "$ac_prog", so it can be a program name with args.
7137 set dummy $ac_prog; ac_word=$2
7138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7139 printf %s "checking for $ac_word... " >&6; }
7140 if test ${ac_cv_prog_MSGFMT+y}
7141 then :
7142 printf %s "(cached) " >&6
7143 else $as_nop
7144 if test -n "$MSGFMT"; then
7145 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7146 else
7147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7148 for as_dir in $PATH
7150 IFS=$as_save_IFS
7151 case $as_dir in #(((
7152 '') as_dir=./ ;;
7153 */) ;;
7154 *) as_dir=$as_dir/ ;;
7155 esac
7156 for ac_exec_ext in '' $ac_executable_extensions; do
7157 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7158 ac_cv_prog_MSGFMT="$ac_prog"
7159 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7160 break 2
7162 done
7163 done
7164 IFS=$as_save_IFS
7168 MSGFMT=$ac_cv_prog_MSGFMT
7169 if test -n "$MSGFMT"; then
7170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7171 printf "%s\n" "$MSGFMT" >&6; }
7172 else
7173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7174 printf "%s\n" "no" >&6; }
7178 test -n "$MSGFMT" && break
7179 done
7180 test -n "$MSGFMT" || MSGFMT="false"
7182 if test ${ac_tool_prefix+y}
7183 then :
7184 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7185 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7187 printf %s "checking for $ac_word... " >&6; }
7188 if test ${ac_cv_prog_PKG_CONFIG+y}
7189 then :
7190 printf %s "(cached) " >&6
7191 else $as_nop
7192 if test -n "$PKG_CONFIG"; then
7193 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7194 else
7195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7196 for as_dir in $PATH
7198 IFS=$as_save_IFS
7199 case $as_dir in #(((
7200 '') as_dir=./ ;;
7201 */) ;;
7202 *) as_dir=$as_dir/ ;;
7203 esac
7204 for ac_exec_ext in '' $ac_executable_extensions; do
7205 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7206 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7207 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7208 break 2
7210 done
7211 done
7212 IFS=$as_save_IFS
7216 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7217 if test -n "$PKG_CONFIG"; then
7218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7219 printf "%s\n" "$PKG_CONFIG" >&6; }
7220 else
7221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7222 printf "%s\n" "no" >&6; }
7227 if ${ac_cv_prog_PKG_CONFIG:+false} :
7228 then :
7229 if test "x$cross_compiling" = xyes
7230 then :
7232 else $as_nop
7233 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7234 # Extract the first word of "pkg-config", so it can be a program name with args.
7235 set dummy pkg-config; ac_word=$2
7236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7237 printf %s "checking for $ac_word... " >&6; }
7238 if test ${ac_cv_prog_PKG_CONFIG+y}
7239 then :
7240 printf %s "(cached) " >&6
7241 else $as_nop
7242 if test -n "$PKG_CONFIG"; then
7243 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7244 else
7245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7246 for as_dir in $PATH
7248 IFS=$as_save_IFS
7249 case $as_dir in #(((
7250 '') as_dir=./ ;;
7251 */) ;;
7252 *) as_dir=$as_dir/ ;;
7253 esac
7254 for ac_exec_ext in '' $ac_executable_extensions; do
7255 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7256 ac_cv_prog_PKG_CONFIG="pkg-config"
7257 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7258 break 2
7260 done
7261 done
7262 IFS=$as_save_IFS
7266 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7267 if test -n "$PKG_CONFIG"; then
7268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7269 printf "%s\n" "$PKG_CONFIG" >&6; }
7270 else
7271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7272 printf "%s\n" "no" >&6; }
7277 else $as_nop
7278 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7281 if test "x$enable_maintainer_mode" != "xyes"
7282 then
7283 FONTFORGE=""
7284 RSVG=""
7285 CONVERT=""
7286 ICOTOOL=""
7287 else
7288 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7289 for ac_prog in fontforge
7291 # Extract the first word of "$ac_prog", so it can be a program name with args.
7292 set dummy $ac_prog; ac_word=$2
7293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7294 printf %s "checking for $ac_word... " >&6; }
7295 if test ${ac_cv_prog_FONTFORGE+y}
7296 then :
7297 printf %s "(cached) " >&6
7298 else $as_nop
7299 if test -n "$FONTFORGE"; then
7300 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7301 else
7302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7303 for as_dir in $PATH
7305 IFS=$as_save_IFS
7306 case $as_dir in #(((
7307 '') as_dir=./ ;;
7308 */) ;;
7309 *) as_dir=$as_dir/ ;;
7310 esac
7311 for ac_exec_ext in '' $ac_executable_extensions; do
7312 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7313 ac_cv_prog_FONTFORGE="$ac_prog"
7314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7315 break 2
7317 done
7318 done
7319 IFS=$as_save_IFS
7323 FONTFORGE=$ac_cv_prog_FONTFORGE
7324 if test -n "$FONTFORGE"; then
7325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7326 printf "%s\n" "$FONTFORGE" >&6; }
7327 else
7328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7329 printf "%s\n" "no" >&6; }
7333 test -n "$FONTFORGE" && break
7334 done
7335 test -n "$FONTFORGE" || FONTFORGE="false"
7337 for ac_prog in rsvg-convert rsvg
7339 # Extract the first word of "$ac_prog", so it can be a program name with args.
7340 set dummy $ac_prog; ac_word=$2
7341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7342 printf %s "checking for $ac_word... " >&6; }
7343 if test ${ac_cv_prog_RSVG+y}
7344 then :
7345 printf %s "(cached) " >&6
7346 else $as_nop
7347 if test -n "$RSVG"; then
7348 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7349 else
7350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7351 for as_dir in $PATH
7353 IFS=$as_save_IFS
7354 case $as_dir in #(((
7355 '') as_dir=./ ;;
7356 */) ;;
7357 *) as_dir=$as_dir/ ;;
7358 esac
7359 for ac_exec_ext in '' $ac_executable_extensions; do
7360 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7361 ac_cv_prog_RSVG="$ac_prog"
7362 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7363 break 2
7365 done
7366 done
7367 IFS=$as_save_IFS
7371 RSVG=$ac_cv_prog_RSVG
7372 if test -n "$RSVG"; then
7373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7374 printf "%s\n" "$RSVG" >&6; }
7375 else
7376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7377 printf "%s\n" "no" >&6; }
7381 test -n "$RSVG" && break
7382 done
7383 test -n "$RSVG" || RSVG="false"
7385 for ac_prog in convert
7387 # Extract the first word of "$ac_prog", so it can be a program name with args.
7388 set dummy $ac_prog; ac_word=$2
7389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 printf %s "checking for $ac_word... " >&6; }
7391 if test ${ac_cv_prog_CONVERT+y}
7392 then :
7393 printf %s "(cached) " >&6
7394 else $as_nop
7395 if test -n "$CONVERT"; then
7396 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7397 else
7398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7399 for as_dir in $PATH
7401 IFS=$as_save_IFS
7402 case $as_dir in #(((
7403 '') as_dir=./ ;;
7404 */) ;;
7405 *) as_dir=$as_dir/ ;;
7406 esac
7407 for ac_exec_ext in '' $ac_executable_extensions; do
7408 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7409 ac_cv_prog_CONVERT="$ac_prog"
7410 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7411 break 2
7413 done
7414 done
7415 IFS=$as_save_IFS
7419 CONVERT=$ac_cv_prog_CONVERT
7420 if test -n "$CONVERT"; then
7421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7422 printf "%s\n" "$CONVERT" >&6; }
7423 else
7424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7425 printf "%s\n" "no" >&6; }
7429 test -n "$CONVERT" && break
7430 done
7431 test -n "$CONVERT" || CONVERT="false"
7433 for ac_prog in icotool
7435 # Extract the first word of "$ac_prog", so it can be a program name with args.
7436 set dummy $ac_prog; ac_word=$2
7437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7438 printf %s "checking for $ac_word... " >&6; }
7439 if test ${ac_cv_prog_ICOTOOL+y}
7440 then :
7441 printf %s "(cached) " >&6
7442 else $as_nop
7443 if test -n "$ICOTOOL"; then
7444 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7445 else
7446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7447 for as_dir in $PATH
7449 IFS=$as_save_IFS
7450 case $as_dir in #(((
7451 '') as_dir=./ ;;
7452 */) ;;
7453 *) as_dir=$as_dir/ ;;
7454 esac
7455 for ac_exec_ext in '' $ac_executable_extensions; do
7456 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7457 ac_cv_prog_ICOTOOL="$ac_prog"
7458 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7459 break 2
7461 done
7462 done
7463 IFS=$as_save_IFS
7467 ICOTOOL=$ac_cv_prog_ICOTOOL
7468 if test -n "$ICOTOOL"; then
7469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7470 printf "%s\n" "$ICOTOOL" >&6; }
7471 else
7472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7473 printf "%s\n" "no" >&6; }
7477 test -n "$ICOTOOL" && break
7478 done
7479 test -n "$ICOTOOL" || ICOTOOL="false"
7481 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7482 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7484 if test "$CONVERT" = false
7485 then
7486 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7487 else
7488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7489 printf %s "checking for recent enough imagemagick... " >&6; }
7490 convert_version=`convert --version | head -n1`
7491 if test "x$convert_version" != "x"
7492 then
7493 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7494 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7495 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7496 then
7497 CONVERT=false
7500 if test "$CONVERT" = false
7501 then
7502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7503 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7504 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7505 else
7506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7507 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7511 if test "$ICOTOOL" = false
7512 then
7513 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7514 else
7515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7516 printf %s "checking for recent enough icotool... " >&6; }
7517 icotool_version=`icotool --version | head -n1`
7518 if test "x$icotool_version" != "x"
7519 then
7520 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7521 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7522 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7523 then
7524 ICOTOOL=false
7525 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7528 if test "$ICOTOOL" = false
7529 then
7530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7531 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7532 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7533 else
7534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7535 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7539 with_gettext=yes
7540 with_gettextpo=yes
7542 enable_werror=yes
7545 test "x$with_gettext" != xno || MSGFMT=false
7546 if test "$MSGFMT" != "false"
7547 then
7548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7549 printf %s "checking whether msgfmt supports contexts... " >&6; }
7550 if test ${wine_cv_msgfmt_contexts+y}
7551 then :
7552 printf %s "(cached) " >&6
7553 else $as_nop
7554 cat >conftest.po <<EOF
7555 # comment
7556 msgctxt "ctxt"
7557 msgid "id"
7558 msgstr "str"
7560 if $MSGFMT -o /dev/null conftest.po 2>&5
7561 then
7562 wine_cv_msgfmt_contexts=yes
7563 else
7564 wine_cv_msgfmt_contexts=no
7567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7568 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7569 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7571 if test "$MSGFMT" = false
7572 then :
7573 case "x$with_gettext" in
7574 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7575 xno) ;;
7576 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7577 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7578 esac
7579 enable_po=${enable_po:-no}
7583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7584 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7585 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7586 then :
7587 printf %s "(cached) " >&6
7588 else $as_nop
7589 ac_check_lib_save_LIBS=$LIBS
7590 LIBS="-li386 $LIBS"
7591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7592 /* end confdefs.h. */
7594 /* Override any GCC internal prototype to avoid an error.
7595 Use char because int might match the return type of a GCC
7596 builtin and then its argument prototype would still apply. */
7597 char i386_set_ldt ();
7599 main (void)
7601 return i386_set_ldt ();
7603 return 0;
7605 _ACEOF
7606 if ac_fn_c_try_link "$LINENO"
7607 then :
7608 ac_cv_lib_i386_i386_set_ldt=yes
7609 else $as_nop
7610 ac_cv_lib_i386_i386_set_ldt=no
7612 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7613 conftest$ac_exeext conftest.$ac_ext
7614 LIBS=$ac_check_lib_save_LIBS
7616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7617 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7618 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7619 then :
7620 I386_LIBS="-li386"
7625 OPENGL_LIBS=""
7629 # Check whether --enable-largefile was given.
7630 if test ${enable_largefile+y}
7631 then :
7632 enableval=$enable_largefile;
7635 if test "$enable_largefile" != no; then
7637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7638 printf %s "checking for special C compiler options needed for large files... " >&6; }
7639 if test ${ac_cv_sys_largefile_CC+y}
7640 then :
7641 printf %s "(cached) " >&6
7642 else $as_nop
7643 ac_cv_sys_largefile_CC=no
7644 if test "$GCC" != yes; then
7645 ac_save_CC=$CC
7646 while :; do
7647 # IRIX 6.2 and later do not support large files by default,
7648 # so use the C compiler's -n32 option if that helps.
7649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7650 /* end confdefs.h. */
7651 #include <sys/types.h>
7652 /* Check that off_t can represent 2**63 - 1 correctly.
7653 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7654 since some C++ compilers masquerading as C compilers
7655 incorrectly reject 9223372036854775807. */
7656 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7657 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7658 && LARGE_OFF_T % 2147483647 == 1)
7659 ? 1 : -1];
7661 main (void)
7665 return 0;
7667 _ACEOF
7668 if ac_fn_c_try_compile "$LINENO"
7669 then :
7670 break
7672 rm -f core conftest.err conftest.$ac_objext conftest.beam
7673 CC="$CC -n32"
7674 if ac_fn_c_try_compile "$LINENO"
7675 then :
7676 ac_cv_sys_largefile_CC=' -n32'; break
7678 rm -f core conftest.err conftest.$ac_objext conftest.beam
7679 break
7680 done
7681 CC=$ac_save_CC
7682 rm -f conftest.$ac_ext
7685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7686 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7687 if test "$ac_cv_sys_largefile_CC" != no; then
7688 CC=$CC$ac_cv_sys_largefile_CC
7691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7692 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7693 if test ${ac_cv_sys_file_offset_bits+y}
7694 then :
7695 printf %s "(cached) " >&6
7696 else $as_nop
7697 while :; do
7698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7699 /* end confdefs.h. */
7700 #include <sys/types.h>
7701 /* Check that off_t can represent 2**63 - 1 correctly.
7702 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7703 since some C++ compilers masquerading as C compilers
7704 incorrectly reject 9223372036854775807. */
7705 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7706 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7707 && LARGE_OFF_T % 2147483647 == 1)
7708 ? 1 : -1];
7710 main (void)
7714 return 0;
7716 _ACEOF
7717 if ac_fn_c_try_compile "$LINENO"
7718 then :
7719 ac_cv_sys_file_offset_bits=no; break
7721 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7723 /* end confdefs.h. */
7724 #define _FILE_OFFSET_BITS 64
7725 #include <sys/types.h>
7726 /* Check that off_t can represent 2**63 - 1 correctly.
7727 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7728 since some C++ compilers masquerading as C compilers
7729 incorrectly reject 9223372036854775807. */
7730 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7731 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7732 && LARGE_OFF_T % 2147483647 == 1)
7733 ? 1 : -1];
7735 main (void)
7739 return 0;
7741 _ACEOF
7742 if ac_fn_c_try_compile "$LINENO"
7743 then :
7744 ac_cv_sys_file_offset_bits=64; break
7746 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7747 ac_cv_sys_file_offset_bits=unknown
7748 break
7749 done
7751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7752 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7753 case $ac_cv_sys_file_offset_bits in #(
7754 no | unknown) ;;
7756 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7758 esac
7759 rm -rf conftest*
7760 if test $ac_cv_sys_file_offset_bits = unknown; then
7761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7762 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7763 if test ${ac_cv_sys_large_files+y}
7764 then :
7765 printf %s "(cached) " >&6
7766 else $as_nop
7767 while :; do
7768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7769 /* end confdefs.h. */
7770 #include <sys/types.h>
7771 /* Check that off_t can represent 2**63 - 1 correctly.
7772 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7773 since some C++ compilers masquerading as C compilers
7774 incorrectly reject 9223372036854775807. */
7775 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7776 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7777 && LARGE_OFF_T % 2147483647 == 1)
7778 ? 1 : -1];
7780 main (void)
7784 return 0;
7786 _ACEOF
7787 if ac_fn_c_try_compile "$LINENO"
7788 then :
7789 ac_cv_sys_large_files=no; break
7791 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7793 /* end confdefs.h. */
7794 #define _LARGE_FILES 1
7795 #include <sys/types.h>
7796 /* Check that off_t can represent 2**63 - 1 correctly.
7797 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7798 since some C++ compilers masquerading as C compilers
7799 incorrectly reject 9223372036854775807. */
7800 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7801 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7802 && LARGE_OFF_T % 2147483647 == 1)
7803 ? 1 : -1];
7805 main (void)
7809 return 0;
7811 _ACEOF
7812 if ac_fn_c_try_compile "$LINENO"
7813 then :
7814 ac_cv_sys_large_files=1; break
7816 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7817 ac_cv_sys_large_files=unknown
7818 break
7819 done
7821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7822 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7823 case $ac_cv_sys_large_files in #(
7824 no | unknown) ;;
7826 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7828 esac
7829 rm -rf conftest*
7834 ac_header= ac_cache=
7835 for ac_item in $ac_header_c_list
7837 if test $ac_cache; then
7838 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7839 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7840 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7842 ac_header= ac_cache=
7843 elif test $ac_header; then
7844 ac_cache=$ac_item
7845 else
7846 ac_header=$ac_item
7848 done
7857 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7858 then :
7860 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7863 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7864 if test "x$ac_cv_header_CL_cl_h" = xyes
7865 then :
7866 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7869 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7870 if test "x$ac_cv_header_EGL_egl_h" = xyes
7871 then :
7872 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7875 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7876 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7877 then :
7878 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7881 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7882 if test "x$ac_cv_header_arpa_inet_h" = xyes
7883 then :
7884 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7887 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7888 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7889 then :
7890 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7893 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7894 if test "x$ac_cv_header_asm_types_h" = xyes
7895 then :
7896 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7899 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7900 if test "x$ac_cv_header_asm_user_h" = xyes
7901 then :
7902 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7905 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7906 if test "x$ac_cv_header_elf_h" = xyes
7907 then :
7908 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7911 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7912 if test "x$ac_cv_header_float_h" = xyes
7913 then :
7914 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7917 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7918 if test "x$ac_cv_header_gettext_po_h" = xyes
7919 then :
7920 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7923 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7924 if test "x$ac_cv_header_libproc_h" = xyes
7925 then :
7926 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7929 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7930 if test "x$ac_cv_header_link_h" = xyes
7931 then :
7932 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7935 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7936 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7937 then :
7938 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7941 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7942 if test "x$ac_cv_header_linux_filter_h" = xyes
7943 then :
7944 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7947 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7948 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7949 then :
7950 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7953 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7954 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7955 then :
7956 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7959 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7960 if test "x$ac_cv_header_linux_input_h" = xyes
7961 then :
7962 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7965 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7966 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7967 then :
7968 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7971 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7972 if test "x$ac_cv_header_linux_major_h" = xyes
7973 then :
7974 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7977 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7978 if test "x$ac_cv_header_linux_param_h" = xyes
7979 then :
7980 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7983 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7984 if test "x$ac_cv_header_linux_serial_h" = xyes
7985 then :
7986 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7989 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7990 if test "x$ac_cv_header_linux_types_h" = xyes
7991 then :
7992 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7995 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7996 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7997 then :
7998 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8001 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8002 if test "x$ac_cv_header_lwp_h" = xyes
8003 then :
8004 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8007 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8008 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8009 then :
8010 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8013 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8014 if test "x$ac_cv_header_mach_mach_h" = xyes
8015 then :
8016 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8019 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8020 if test "x$ac_cv_header_machine_cpu_h" = xyes
8021 then :
8022 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8025 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8026 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8027 then :
8028 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8031 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8032 if test "x$ac_cv_header_mntent_h" = xyes
8033 then :
8034 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8037 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8038 if test "x$ac_cv_header_netdb_h" = xyes
8039 then :
8040 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8043 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8044 if test "x$ac_cv_header_netinet_in_h" = xyes
8045 then :
8046 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8049 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8050 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8051 then :
8052 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8055 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8056 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8057 then :
8058 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8061 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8062 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8063 then :
8064 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8067 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8068 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8069 then :
8070 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8073 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8074 if test "x$ac_cv_header_port_h" = xyes
8075 then :
8076 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8079 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8080 if test "x$ac_cv_header_pthread_h" = xyes
8081 then :
8082 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8085 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8086 if test "x$ac_cv_header_pwd_h" = xyes
8087 then :
8088 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8091 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8092 if test "x$ac_cv_header_sched_h" = xyes
8093 then :
8094 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8097 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8098 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8099 then :
8100 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8103 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8104 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8105 then :
8106 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8109 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8110 if test "x$ac_cv_header_scsi_sg_h" = xyes
8111 then :
8112 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8115 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8116 if test "x$ac_cv_header_stdint_h" = xyes
8117 then :
8118 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8121 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8122 if test "x$ac_cv_header_sys_attr_h" = xyes
8123 then :
8124 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8127 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8128 if test "x$ac_cv_header_sys_auxv_h" = xyes
8129 then :
8130 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8133 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8134 if test "x$ac_cv_header_sys_cdio_h" = xyes
8135 then :
8136 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8139 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8140 if test "x$ac_cv_header_sys_epoll_h" = xyes
8141 then :
8142 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8145 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8146 if test "x$ac_cv_header_sys_event_h" = xyes
8147 then :
8148 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8151 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8152 if test "x$ac_cv_header_sys_extattr_h" = xyes
8153 then :
8154 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8157 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8158 if test "x$ac_cv_header_sys_filio_h" = xyes
8159 then :
8160 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8163 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8164 if test "x$ac_cv_header_sys_ipc_h" = xyes
8165 then :
8166 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8169 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8170 if test "x$ac_cv_header_sys_link_h" = xyes
8171 then :
8172 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8175 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8176 if test "x$ac_cv_header_sys_modem_h" = xyes
8177 then :
8178 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8181 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8182 if test "x$ac_cv_header_sys_mtio_h" = xyes
8183 then :
8184 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8187 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8188 if test "x$ac_cv_header_sys_param_h" = xyes
8189 then :
8190 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8193 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8194 if test "x$ac_cv_header_sys_prctl_h" = xyes
8195 then :
8196 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8199 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8200 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8201 then :
8202 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8205 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8206 if test "x$ac_cv_header_sys_queue_h" = xyes
8207 then :
8208 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8211 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8212 if test "x$ac_cv_header_sys_random_h" = xyes
8213 then :
8214 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8217 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8218 if test "x$ac_cv_header_sys_resource_h" = xyes
8219 then :
8220 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8223 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8224 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8225 then :
8226 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8229 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8230 if test "x$ac_cv_header_sys_shm_h" = xyes
8231 then :
8232 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8235 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8236 if test "x$ac_cv_header_sys_signal_h" = xyes
8237 then :
8238 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8241 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8242 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8243 then :
8244 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8247 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8248 if test "x$ac_cv_header_sys_sockio_h" = xyes
8249 then :
8250 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8253 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8254 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8255 then :
8256 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8259 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8260 if test "x$ac_cv_header_sys_strtio_h" = xyes
8261 then :
8262 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8265 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8266 if test "x$ac_cv_header_sys_syscall_h" = xyes
8267 then :
8268 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8271 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8272 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8273 then :
8274 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8277 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8278 if test "x$ac_cv_header_sys_times_h" = xyes
8279 then :
8280 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8283 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8284 if test "x$ac_cv_header_sys_uio_h" = xyes
8285 then :
8286 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8289 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8290 if test "x$ac_cv_header_sys_user_h" = xyes
8291 then :
8292 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8295 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8296 if test "x$ac_cv_header_sys_utsname_h" = xyes
8297 then :
8298 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8301 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8302 if test "x$ac_cv_header_sys_vnode_h" = xyes
8303 then :
8304 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8307 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8308 if test "x$ac_cv_header_sys_xattr_h" = xyes
8309 then :
8310 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8313 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8314 if test "x$ac_cv_header_syscall_h" = xyes
8315 then :
8316 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8319 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8320 if test "x$ac_cv_header_utime_h" = xyes
8321 then :
8322 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8325 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8326 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8327 then :
8328 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8331 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8332 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8333 then :
8334 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8338 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8339 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8340 then :
8342 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8346 if test $ac_cv_header_sys_mkdev_h = no; then
8347 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8348 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8349 then :
8351 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8357 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8358 if test ${ac_cv_header_stat_broken+y}
8359 then :
8360 printf %s "(cached) " >&6
8361 else $as_nop
8362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8363 /* end confdefs.h. */
8364 #include <sys/types.h>
8365 #include <sys/stat.h>
8367 #if defined S_ISBLK && defined S_IFDIR
8368 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8369 #endif
8371 #if defined S_ISBLK && defined S_IFCHR
8372 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8373 #endif
8375 #if defined S_ISLNK && defined S_IFREG
8376 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8377 #endif
8379 #if defined S_ISSOCK && defined S_IFREG
8380 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8381 #endif
8383 _ACEOF
8384 if ac_fn_c_try_compile "$LINENO"
8385 then :
8386 ac_cv_header_stat_broken=no
8387 else $as_nop
8388 ac_cv_header_stat_broken=yes
8390 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8393 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8394 if test $ac_cv_header_stat_broken = yes; then
8396 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8402 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8403 #ifdef HAVE_SYS_PARAM_H
8404 # include <sys/param.h>
8405 #endif
8407 if test "x$ac_cv_header_sys_conf_h" = xyes
8408 then :
8409 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8412 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8413 #ifdef HAVE_SYS_PARAM_H
8414 # include <sys/param.h>
8415 #endif
8417 if test "x$ac_cv_header_sys_mount_h" = xyes
8418 then :
8419 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8422 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8423 #ifdef HAVE_SYS_PARAM_H
8424 # include <sys/param.h>
8425 #endif
8427 if test "x$ac_cv_header_sys_statfs_h" = xyes
8428 then :
8429 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8432 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8433 #ifdef HAVE_SYS_PARAM_H
8434 # include <sys/param.h>
8435 #endif
8437 if test "x$ac_cv_header_sys_user_h" = xyes
8438 then :
8439 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8442 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8443 #ifdef HAVE_SYS_PARAM_H
8444 # include <sys/param.h>
8445 #endif
8447 if test "x$ac_cv_header_sys_vfs_h" = xyes
8448 then :
8449 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8454 saved_sysctl_h_CFLAGS=$CFLAGS
8455 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8456 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8457 #ifdef HAVE_SYS_PARAM_H
8458 # include <sys/param.h>
8459 #endif
8461 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8462 then :
8463 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8467 CFLAGS=$saved_sysctl_h_CFLAGS
8469 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8470 #include <sys/socket.h>
8471 #ifdef HAVE_SYS_SOCKETVAR_H
8472 # include <sys/socketvar.h>
8473 #endif
8474 #ifdef HAVE_NET_ROUTE_H
8475 # include <net/route.h>
8476 #endif
8477 #ifdef HAVE_NETINET_IN_H
8478 # include <netinet/in.h>
8479 #endif
8480 #ifdef HAVE_NETINET_IN_SYSTM_H
8481 # include <netinet/in_systm.h>
8482 #endif
8483 #ifdef HAVE_NET_IF_H
8484 # include <net/if.h>
8485 #endif
8486 #ifdef HAVE_NETINET_IP_H
8487 # include <netinet/ip.h>
8488 #endif
8490 if test "x$ac_cv_header_netinet_ip_h" = xyes
8491 then :
8492 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8495 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8496 #include <sys/socket.h>
8497 #ifdef HAVE_SYS_SOCKETVAR_H
8498 # include <sys/socketvar.h>
8499 #endif
8500 #ifdef HAVE_NET_ROUTE_H
8501 # include <net/route.h>
8502 #endif
8503 #ifdef HAVE_NETINET_IN_H
8504 # include <netinet/in.h>
8505 #endif
8506 #ifdef HAVE_NETINET_IN_SYSTM_H
8507 # include <netinet/in_systm.h>
8508 #endif
8509 #ifdef HAVE_NET_IF_H
8510 # include <net/if.h>
8511 #endif
8512 #ifdef HAVE_NETINET_IP_H
8513 # include <netinet/ip.h>
8514 #endif
8516 if test "x$ac_cv_header_net_if_h" = xyes
8517 then :
8518 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8521 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8522 #include <sys/socket.h>
8523 #ifdef HAVE_SYS_SOCKETVAR_H
8524 # include <sys/socketvar.h>
8525 #endif
8526 #ifdef HAVE_NET_ROUTE_H
8527 # include <net/route.h>
8528 #endif
8529 #ifdef HAVE_NETINET_IN_H
8530 # include <netinet/in.h>
8531 #endif
8532 #ifdef HAVE_NETINET_IN_SYSTM_H
8533 # include <netinet/in_systm.h>
8534 #endif
8535 #ifdef HAVE_NET_IF_H
8536 # include <net/if.h>
8537 #endif
8538 #ifdef HAVE_NETINET_IP_H
8539 # include <netinet/ip.h>
8540 #endif
8542 if test "x$ac_cv_header_net_if_arp_h" = xyes
8543 then :
8544 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8547 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8548 #include <sys/socket.h>
8549 #ifdef HAVE_SYS_SOCKETVAR_H
8550 # include <sys/socketvar.h>
8551 #endif
8552 #ifdef HAVE_NET_ROUTE_H
8553 # include <net/route.h>
8554 #endif
8555 #ifdef HAVE_NETINET_IN_H
8556 # include <netinet/in.h>
8557 #endif
8558 #ifdef HAVE_NETINET_IN_SYSTM_H
8559 # include <netinet/in_systm.h>
8560 #endif
8561 #ifdef HAVE_NET_IF_H
8562 # include <net/if.h>
8563 #endif
8564 #ifdef HAVE_NETINET_IP_H
8565 # include <netinet/ip.h>
8566 #endif
8568 if test "x$ac_cv_header_net_if_dl_h" = xyes
8569 then :
8570 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8573 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8574 #include <sys/socket.h>
8575 #ifdef HAVE_SYS_SOCKETVAR_H
8576 # include <sys/socketvar.h>
8577 #endif
8578 #ifdef HAVE_NET_ROUTE_H
8579 # include <net/route.h>
8580 #endif
8581 #ifdef HAVE_NETINET_IN_H
8582 # include <netinet/in.h>
8583 #endif
8584 #ifdef HAVE_NETINET_IN_SYSTM_H
8585 # include <netinet/in_systm.h>
8586 #endif
8587 #ifdef HAVE_NET_IF_H
8588 # include <net/if.h>
8589 #endif
8590 #ifdef HAVE_NETINET_IP_H
8591 # include <netinet/ip.h>
8592 #endif
8594 if test "x$ac_cv_header_net_if_types_h" = xyes
8595 then :
8596 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8599 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8600 #include <sys/socket.h>
8601 #ifdef HAVE_SYS_SOCKETVAR_H
8602 # include <sys/socketvar.h>
8603 #endif
8604 #ifdef HAVE_NET_ROUTE_H
8605 # include <net/route.h>
8606 #endif
8607 #ifdef HAVE_NETINET_IN_H
8608 # include <netinet/in.h>
8609 #endif
8610 #ifdef HAVE_NETINET_IN_SYSTM_H
8611 # include <netinet/in_systm.h>
8612 #endif
8613 #ifdef HAVE_NET_IF_H
8614 # include <net/if.h>
8615 #endif
8616 #ifdef HAVE_NETINET_IP_H
8617 # include <netinet/ip.h>
8618 #endif
8620 if test "x$ac_cv_header_net_route_h" = xyes
8621 then :
8622 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8625 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8626 #include <sys/socket.h>
8627 #ifdef HAVE_SYS_SOCKETVAR_H
8628 # include <sys/socketvar.h>
8629 #endif
8630 #ifdef HAVE_NET_ROUTE_H
8631 # include <net/route.h>
8632 #endif
8633 #ifdef HAVE_NETINET_IN_H
8634 # include <netinet/in.h>
8635 #endif
8636 #ifdef HAVE_NETINET_IN_SYSTM_H
8637 # include <netinet/in_systm.h>
8638 #endif
8639 #ifdef HAVE_NET_IF_H
8640 # include <net/if.h>
8641 #endif
8642 #ifdef HAVE_NETINET_IP_H
8643 # include <netinet/ip.h>
8644 #endif
8646 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8647 then :
8648 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8651 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8652 #include <sys/socket.h>
8653 #ifdef HAVE_SYS_SOCKETVAR_H
8654 # include <sys/socketvar.h>
8655 #endif
8656 #ifdef HAVE_NET_ROUTE_H
8657 # include <net/route.h>
8658 #endif
8659 #ifdef HAVE_NETINET_IN_H
8660 # include <netinet/in.h>
8661 #endif
8662 #ifdef HAVE_NETINET_IN_SYSTM_H
8663 # include <netinet/in_systm.h>
8664 #endif
8665 #ifdef HAVE_NET_IF_H
8666 # include <net/if.h>
8667 #endif
8668 #ifdef HAVE_NETINET_IP_H
8669 # include <netinet/ip.h>
8670 #endif
8672 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8673 then :
8674 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8677 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8678 #include <sys/socket.h>
8679 #ifdef HAVE_SYS_SOCKETVAR_H
8680 # include <sys/socketvar.h>
8681 #endif
8682 #ifdef HAVE_NET_ROUTE_H
8683 # include <net/route.h>
8684 #endif
8685 #ifdef HAVE_NETINET_IN_H
8686 # include <netinet/in.h>
8687 #endif
8688 #ifdef HAVE_NETINET_IN_SYSTM_H
8689 # include <netinet/in_systm.h>
8690 #endif
8691 #ifdef HAVE_NET_IF_H
8692 # include <net/if.h>
8693 #endif
8694 #ifdef HAVE_NETINET_IP_H
8695 # include <netinet/ip.h>
8696 #endif
8698 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8699 then :
8700 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8703 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8704 #include <sys/socket.h>
8705 #ifdef HAVE_SYS_SOCKETVAR_H
8706 # include <sys/socketvar.h>
8707 #endif
8708 #ifdef HAVE_NET_ROUTE_H
8709 # include <net/route.h>
8710 #endif
8711 #ifdef HAVE_NETINET_IN_H
8712 # include <netinet/in.h>
8713 #endif
8714 #ifdef HAVE_NETINET_IN_SYSTM_H
8715 # include <netinet/in_systm.h>
8716 #endif
8717 #ifdef HAVE_NET_IF_H
8718 # include <net/if.h>
8719 #endif
8720 #ifdef HAVE_NETINET_IP_H
8721 # include <netinet/ip.h>
8722 #endif
8724 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8725 then :
8726 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8729 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8730 #include <sys/socket.h>
8731 #ifdef HAVE_SYS_SOCKETVAR_H
8732 # include <sys/socketvar.h>
8733 #endif
8734 #ifdef HAVE_NET_ROUTE_H
8735 # include <net/route.h>
8736 #endif
8737 #ifdef HAVE_NETINET_IN_H
8738 # include <netinet/in.h>
8739 #endif
8740 #ifdef HAVE_NETINET_IN_SYSTM_H
8741 # include <netinet/in_systm.h>
8742 #endif
8743 #ifdef HAVE_NET_IF_H
8744 # include <net/if.h>
8745 #endif
8746 #ifdef HAVE_NETINET_IP_H
8747 # include <netinet/ip.h>
8748 #endif
8750 if test "x$ac_cv_header_netinet_udp_h" = xyes
8751 then :
8752 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8755 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8756 #include <sys/socket.h>
8757 #ifdef HAVE_SYS_SOCKETVAR_H
8758 # include <sys/socketvar.h>
8759 #endif
8760 #ifdef HAVE_NET_ROUTE_H
8761 # include <net/route.h>
8762 #endif
8763 #ifdef HAVE_NETINET_IN_H
8764 # include <netinet/in.h>
8765 #endif
8766 #ifdef HAVE_NETINET_IN_SYSTM_H
8767 # include <netinet/in_systm.h>
8768 #endif
8769 #ifdef HAVE_NET_IF_H
8770 # include <net/if.h>
8771 #endif
8772 #ifdef HAVE_NETINET_IP_H
8773 # include <netinet/ip.h>
8774 #endif
8776 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8777 then :
8778 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8781 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8782 #include <sys/socket.h>
8783 #ifdef HAVE_SYS_SOCKETVAR_H
8784 # include <sys/socketvar.h>
8785 #endif
8786 #ifdef HAVE_NET_ROUTE_H
8787 # include <net/route.h>
8788 #endif
8789 #ifdef HAVE_NETINET_IN_H
8790 # include <netinet/in.h>
8791 #endif
8792 #ifdef HAVE_NETINET_IN_SYSTM_H
8793 # include <netinet/in_systm.h>
8794 #endif
8795 #ifdef HAVE_NET_IF_H
8796 # include <net/if.h>
8797 #endif
8798 #ifdef HAVE_NETINET_IP_H
8799 # include <netinet/ip.h>
8800 #endif
8802 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8803 then :
8804 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8807 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8808 #include <sys/socket.h>
8809 #ifdef HAVE_SYS_SOCKETVAR_H
8810 # include <sys/socketvar.h>
8811 #endif
8812 #ifdef HAVE_NET_ROUTE_H
8813 # include <net/route.h>
8814 #endif
8815 #ifdef HAVE_NETINET_IN_H
8816 # include <netinet/in.h>
8817 #endif
8818 #ifdef HAVE_NETINET_IN_SYSTM_H
8819 # include <netinet/in_systm.h>
8820 #endif
8821 #ifdef HAVE_NET_IF_H
8822 # include <net/if.h>
8823 #endif
8824 #ifdef HAVE_NETINET_IP_H
8825 # include <netinet/ip.h>
8826 #endif
8828 if test "x$ac_cv_header_sys_un_h" = xyes
8829 then :
8830 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8835 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8836 #include <sys/socket.h>
8837 #ifdef HAVE_SYS_SOCKETVAR_H
8838 # include <sys/socketvar.h>
8839 #endif
8840 #ifdef HAVE_NETINET_IN_H
8841 # include <netinet/in.h>
8842 #endif
8843 #ifdef HAVE_NETINET_IN_SYSTM_H
8844 # include <netinet/in_systm.h>
8845 #endif
8846 #ifdef HAVE_NETINET_IP_H
8847 # include <netinet/ip.h>
8848 #endif
8849 #ifdef HAVE_NETINET_IP_VAR_H
8850 # include <netinet/ip_var.h>
8851 #endif
8852 #ifdef HAVE_NETINET_IP_ICMP_H
8853 # include <netinet/ip_icmp.h>
8854 #endif
8855 #ifdef HAVE_NETINET_UDP_H
8856 # include <netinet/udp.h>
8857 #endif
8858 #ifdef HAVE_NETINET_TCP_H
8859 # include <netinet/tcp.h>
8860 #endif
8862 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8863 then :
8864 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8867 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8868 #include <sys/socket.h>
8869 #ifdef HAVE_SYS_SOCKETVAR_H
8870 # include <sys/socketvar.h>
8871 #endif
8872 #ifdef HAVE_NETINET_IN_H
8873 # include <netinet/in.h>
8874 #endif
8875 #ifdef HAVE_NETINET_IN_SYSTM_H
8876 # include <netinet/in_systm.h>
8877 #endif
8878 #ifdef HAVE_NETINET_IP_H
8879 # include <netinet/ip.h>
8880 #endif
8881 #ifdef HAVE_NETINET_IP_VAR_H
8882 # include <netinet/ip_var.h>
8883 #endif
8884 #ifdef HAVE_NETINET_IP_ICMP_H
8885 # include <netinet/ip_icmp.h>
8886 #endif
8887 #ifdef HAVE_NETINET_UDP_H
8888 # include <netinet/udp.h>
8889 #endif
8890 #ifdef HAVE_NETINET_TCP_H
8891 # include <netinet/tcp.h>
8892 #endif
8894 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8895 then :
8896 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8899 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8900 #include <sys/socket.h>
8901 #ifdef HAVE_SYS_SOCKETVAR_H
8902 # include <sys/socketvar.h>
8903 #endif
8904 #ifdef HAVE_NETINET_IN_H
8905 # include <netinet/in.h>
8906 #endif
8907 #ifdef HAVE_NETINET_IN_SYSTM_H
8908 # include <netinet/in_systm.h>
8909 #endif
8910 #ifdef HAVE_NETINET_IP_H
8911 # include <netinet/ip.h>
8912 #endif
8913 #ifdef HAVE_NETINET_IP_VAR_H
8914 # include <netinet/ip_var.h>
8915 #endif
8916 #ifdef HAVE_NETINET_IP_ICMP_H
8917 # include <netinet/ip_icmp.h>
8918 #endif
8919 #ifdef HAVE_NETINET_UDP_H
8920 # include <netinet/udp.h>
8921 #endif
8922 #ifdef HAVE_NETINET_TCP_H
8923 # include <netinet/tcp.h>
8924 #endif
8926 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8927 then :
8928 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8931 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8932 #include <sys/socket.h>
8933 #ifdef HAVE_SYS_SOCKETVAR_H
8934 # include <sys/socketvar.h>
8935 #endif
8936 #ifdef HAVE_NETINET_IN_H
8937 # include <netinet/in.h>
8938 #endif
8939 #ifdef HAVE_NETINET_IN_SYSTM_H
8940 # include <netinet/in_systm.h>
8941 #endif
8942 #ifdef HAVE_NETINET_IP_H
8943 # include <netinet/ip.h>
8944 #endif
8945 #ifdef HAVE_NETINET_IP_VAR_H
8946 # include <netinet/ip_var.h>
8947 #endif
8948 #ifdef HAVE_NETINET_IP_ICMP_H
8949 # include <netinet/ip_icmp.h>
8950 #endif
8951 #ifdef HAVE_NETINET_UDP_H
8952 # include <netinet/udp.h>
8953 #endif
8954 #ifdef HAVE_NETINET_TCP_H
8955 # include <netinet/tcp.h>
8956 #endif
8958 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8959 then :
8960 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8965 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8966 #include <sys/socket.h>
8967 #ifdef HAVE_ASM_TYPES_H
8968 # include <asm/types.h>
8969 #endif
8970 #ifdef HAVE_LINUX_TYPES_H
8971 # include <linux/types.h>
8972 #endif
8974 if test "x$ac_cv_header_linux_ipx_h" = xyes
8975 then :
8976 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8979 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8980 #include <sys/socket.h>
8981 #ifdef HAVE_ASM_TYPES_H
8982 # include <asm/types.h>
8983 #endif
8984 #ifdef HAVE_LINUX_TYPES_H
8985 # include <linux/types.h>
8986 #endif
8988 if test "x$ac_cv_header_linux_irda_h" = xyes
8989 then :
8990 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8993 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8994 #include <sys/socket.h>
8995 #ifdef HAVE_ASM_TYPES_H
8996 # include <asm/types.h>
8997 #endif
8998 #ifdef HAVE_LINUX_TYPES_H
8999 # include <linux/types.h>
9000 #endif
9002 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9003 then :
9004 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9009 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9010 #include <sys/socket.h>
9011 #ifdef HAVE_NETINET_IN_H
9012 # include <netinet/in.h>
9013 #endif
9014 #ifdef HAVE_ARPA_NAMESER_H
9015 # include <arpa/nameser.h>
9016 #endif
9018 if test "x$ac_cv_header_resolv_h" = xyes
9019 then :
9020 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9025 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9027 if test "x$ac_cv_header_ifaddrs_h" = xyes
9028 then :
9029 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9034 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9036 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9037 then :
9038 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9043 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9044 #ifdef HAVE_SYS_UCONTEXT_H
9045 #include <sys/ucontext.h>
9046 #endif
9048 if test "x$ac_cv_header_sys_thr_h" = xyes
9049 then :
9050 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9055 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9056 #include <pthread.h>
9057 #endif
9059 if test "x$ac_cv_header_pthread_np_h" = xyes
9060 then :
9061 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9066 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9067 #include <sys/types.h>
9068 #ifdef HAVE_ASM_TYPES_H
9069 #include <asm/types.h>
9070 #endif
9072 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9073 then :
9074 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9079 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9080 #include <sys/param.h>
9081 #endif
9082 #include <sys/socket.h>
9083 #ifdef HAVE_SYS_QUEUE_H
9084 #include <sys/queue.h>
9085 #endif
9087 if test "x$ac_cv_header_libprocstat_h" = xyes
9088 then :
9089 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9094 if test "x$ac_cv_header_sys_xattr_h" = xyes
9095 then
9096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9097 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9098 if test ${wine_cv_xattr_extra_args+y}
9099 then :
9100 printf %s "(cached) " >&6
9101 else $as_nop
9102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9103 /* end confdefs.h. */
9104 #include <sys/xattr.h>
9106 main (void)
9108 getxattr("", "", "", 0, 0, 0);
9110 return 0;
9112 _ACEOF
9113 if ac_fn_c_try_compile "$LINENO"
9114 then :
9115 wine_cv_xattr_extra_args=yes
9116 else $as_nop
9117 wine_cv_xattr_extra_args=no
9119 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9122 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9123 test $wine_cv_xattr_extra_args != yes ||
9124 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9129 DLLFLAGS=""
9131 LDDLLFLAGS=""
9133 LDEXECFLAGS=""
9135 EXTRACFLAGS=""
9137 UNIXDLLFLAGS="-fPIC"
9139 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9141 TOP_INSTALL_LIB=""
9143 TOP_INSTALL_DEV=""
9145 WINELOADER_LDFLAGS=""
9147 WINEPRELOADER_LDFLAGS=""
9149 LIBEXT="so"
9150 # Extract the first word of "ldd", so it can be a program name with args.
9151 set dummy ldd; ac_word=$2
9152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9153 printf %s "checking for $ac_word... " >&6; }
9154 if test ${ac_cv_path_LDD+y}
9155 then :
9156 printf %s "(cached) " >&6
9157 else $as_nop
9158 case $LDD in
9159 [\\/]* | ?:[\\/]*)
9160 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9164 as_dummy="/sbin:/usr/sbin:$PATH"
9165 for as_dir in $as_dummy
9167 IFS=$as_save_IFS
9168 case $as_dir in #(((
9169 '') as_dir=./ ;;
9170 */) ;;
9171 *) as_dir=$as_dir/ ;;
9172 esac
9173 for ac_exec_ext in '' $ac_executable_extensions; do
9174 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9175 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9176 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9177 break 2
9179 done
9180 done
9181 IFS=$as_save_IFS
9183 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9185 esac
9187 LDD=$ac_cv_path_LDD
9188 if test -n "$LDD"; then
9189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9190 printf "%s\n" "$LDD" >&6; }
9191 else
9192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9193 printf "%s\n" "no" >&6; }
9197 if test -n "$ac_tool_prefix"; then
9198 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9199 set dummy ${ac_tool_prefix}otool; ac_word=$2
9200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9201 printf %s "checking for $ac_word... " >&6; }
9202 if test ${ac_cv_prog_OTOOL+y}
9203 then :
9204 printf %s "(cached) " >&6
9205 else $as_nop
9206 if test -n "$OTOOL"; then
9207 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9208 else
9209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9210 for as_dir in $PATH
9212 IFS=$as_save_IFS
9213 case $as_dir in #(((
9214 '') as_dir=./ ;;
9215 */) ;;
9216 *) as_dir=$as_dir/ ;;
9217 esac
9218 for ac_exec_ext in '' $ac_executable_extensions; do
9219 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9220 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9221 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9222 break 2
9224 done
9225 done
9226 IFS=$as_save_IFS
9230 OTOOL=$ac_cv_prog_OTOOL
9231 if test -n "$OTOOL"; then
9232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9233 printf "%s\n" "$OTOOL" >&6; }
9234 else
9235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9236 printf "%s\n" "no" >&6; }
9241 if test -z "$ac_cv_prog_OTOOL"; then
9242 ac_ct_OTOOL=$OTOOL
9243 # Extract the first word of "otool", so it can be a program name with args.
9244 set dummy otool; ac_word=$2
9245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9246 printf %s "checking for $ac_word... " >&6; }
9247 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9248 then :
9249 printf %s "(cached) " >&6
9250 else $as_nop
9251 if test -n "$ac_ct_OTOOL"; then
9252 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9253 else
9254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9255 for as_dir in $PATH
9257 IFS=$as_save_IFS
9258 case $as_dir in #(((
9259 '') as_dir=./ ;;
9260 */) ;;
9261 *) as_dir=$as_dir/ ;;
9262 esac
9263 for ac_exec_ext in '' $ac_executable_extensions; do
9264 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9265 ac_cv_prog_ac_ct_OTOOL="otool"
9266 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9267 break 2
9269 done
9270 done
9271 IFS=$as_save_IFS
9275 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9276 if test -n "$ac_ct_OTOOL"; then
9277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9278 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9279 else
9280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9281 printf "%s\n" "no" >&6; }
9284 if test "x$ac_ct_OTOOL" = x; then
9285 OTOOL="otool"
9286 else
9287 case $cross_compiling:$ac_tool_warned in
9288 yes:)
9289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9290 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9291 ac_tool_warned=yes ;;
9292 esac
9293 OTOOL=$ac_ct_OTOOL
9295 else
9296 OTOOL="$ac_cv_prog_OTOOL"
9299 if test -n "$ac_tool_prefix"; then
9300 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9301 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9303 printf %s "checking for $ac_word... " >&6; }
9304 if test ${ac_cv_prog_READELF+y}
9305 then :
9306 printf %s "(cached) " >&6
9307 else $as_nop
9308 if test -n "$READELF"; then
9309 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9310 else
9311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9312 for as_dir in $PATH
9314 IFS=$as_save_IFS
9315 case $as_dir in #(((
9316 '') as_dir=./ ;;
9317 */) ;;
9318 *) as_dir=$as_dir/ ;;
9319 esac
9320 for ac_exec_ext in '' $ac_executable_extensions; do
9321 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9322 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9323 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9324 break 2
9326 done
9327 done
9328 IFS=$as_save_IFS
9332 READELF=$ac_cv_prog_READELF
9333 if test -n "$READELF"; then
9334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9335 printf "%s\n" "$READELF" >&6; }
9336 else
9337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9338 printf "%s\n" "no" >&6; }
9343 if test -z "$ac_cv_prog_READELF"; then
9344 ac_ct_READELF=$READELF
9345 # Extract the first word of "readelf", so it can be a program name with args.
9346 set dummy readelf; ac_word=$2
9347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9348 printf %s "checking for $ac_word... " >&6; }
9349 if test ${ac_cv_prog_ac_ct_READELF+y}
9350 then :
9351 printf %s "(cached) " >&6
9352 else $as_nop
9353 if test -n "$ac_ct_READELF"; then
9354 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9355 else
9356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9357 for as_dir in $PATH
9359 IFS=$as_save_IFS
9360 case $as_dir in #(((
9361 '') as_dir=./ ;;
9362 */) ;;
9363 *) as_dir=$as_dir/ ;;
9364 esac
9365 for ac_exec_ext in '' $ac_executable_extensions; do
9366 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9367 ac_cv_prog_ac_ct_READELF="readelf"
9368 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9369 break 2
9371 done
9372 done
9373 IFS=$as_save_IFS
9377 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9378 if test -n "$ac_ct_READELF"; then
9379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9380 printf "%s\n" "$ac_ct_READELF" >&6; }
9381 else
9382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9383 printf "%s\n" "no" >&6; }
9386 if test "x$ac_ct_READELF" = x; then
9387 READELF="true"
9388 else
9389 case $cross_compiling:$ac_tool_warned in
9390 yes:)
9391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9392 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9393 ac_tool_warned=yes ;;
9394 esac
9395 READELF=$ac_ct_READELF
9397 else
9398 READELF="$ac_cv_prog_READELF"
9401 wine_rules="all:"
9402 SUBDIRS=""
9404 DISABLED_SUBDIRS=""
9406 CONFIGURE_TARGETS=""
9409 wine_fn_config_makefile ()
9411 as_fn_append SUBDIRS " \\$as_nl $1"
9412 eval enable=\$$2
9413 case "$enable" in
9414 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9415 *aarch64*|*arm*|*i386*|*x86_64*)
9416 if test -n "$PE_ARCHS"
9417 then
9418 for i in $PE_ARCHS
9420 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9421 done
9422 else
9423 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9424 fi;;
9425 esac
9428 wine_fn_config_symlink ()
9430 ac_links=$@
9431 as_fn_append wine_rules "
9432 $ac_links:
9433 @./config.status \$@"
9434 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9437 case $host_os in
9438 cygwin*|mingw32*)
9439 LIBEXT="dll"
9440 EXTRACFLAGS="-D__WINE_PE_BUILD"
9441 case $host_cpu in
9442 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9443 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9444 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9445 then :
9446 printf %s "(cached) " >&6
9447 else $as_nop
9448 ac_wine_try_cflags_saved=$CFLAGS
9449 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9451 /* end confdefs.h. */
9452 int main(int argc, char **argv) { return 0; }
9453 _ACEOF
9454 if ac_fn_c_try_link "$LINENO"
9455 then :
9456 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9457 else $as_nop
9458 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9460 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9461 conftest$ac_exeext conftest.$ac_ext
9462 CFLAGS=$ac_wine_try_cflags_saved
9464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9465 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9466 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9467 then :
9468 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9469 fi ;;
9470 esac
9471 enable_loader=${enable_loader:-no}
9472 enable_server=${enable_server:-no}
9473 with_x=${with_x:-no}
9474 with_pthread=${with_pthread:-no}
9477 darwin*|macosx*)
9478 LIBEXT="dylib"
9479 DLLFLAGS="$DLLFLAGS -fPIC"
9480 LDDLLFLAGS="-fPIC"
9481 enable_winemac_drv=${enable_winemac_drv:-yes}
9482 CARBON_LIBS="-framework Carbon"
9484 COREFOUNDATION_LIBS="-framework CoreFoundation"
9486 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9488 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9490 METAL_LIBS="-framework Metal"
9492 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9494 CORESERVICES_LIBS="-framework CoreServices"
9496 APPKIT_LIBS="-framework AppKit"
9498 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9500 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9503 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9505 wine_can_build_preloader=yes
9506 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
9507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9508 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9509 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9510 then :
9511 printf %s "(cached) " >&6
9512 else $as_nop
9513 ac_wine_try_cflags_saved=$CFLAGS
9514 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9516 /* end confdefs.h. */
9517 int main(int argc, char **argv) { return 0; }
9518 _ACEOF
9519 if ac_fn_c_try_link "$LINENO"
9520 then :
9521 ac_cv_cflags__Wl__no_new_main__e__main=yes
9522 else $as_nop
9523 ac_cv_cflags__Wl__no_new_main__e__main=no
9525 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9526 conftest$ac_exeext conftest.$ac_ext
9527 CFLAGS=$ac_wine_try_cflags_saved
9529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9530 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9531 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9532 then :
9533 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9535 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9536 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9537 then :
9538 printf %s "(cached) " >&6
9539 else $as_nop
9540 ac_wine_try_cflags_saved=$CFLAGS
9541 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9543 /* end confdefs.h. */
9544 int main(int argc, char **argv) { return 0; }
9545 _ACEOF
9546 if ac_fn_c_try_link "$LINENO"
9547 then :
9548 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9549 else $as_nop
9550 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9552 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9553 conftest$ac_exeext conftest.$ac_ext
9554 CFLAGS=$ac_wine_try_cflags_saved
9556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9557 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9558 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9559 then :
9560 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9561 else $as_nop
9562 wine_can_build_preloader=no
9564 else $as_nop
9565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9566 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9567 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9568 then :
9569 printf %s "(cached) " >&6
9570 else $as_nop
9571 ac_wine_try_cflags_saved=$CFLAGS
9572 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9574 /* end confdefs.h. */
9575 int main(int argc, char **argv) { return 0; }
9576 _ACEOF
9577 if ac_fn_c_try_link "$LINENO"
9578 then :
9579 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9580 else $as_nop
9581 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9583 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9584 conftest$ac_exeext conftest.$ac_ext
9585 CFLAGS=$ac_wine_try_cflags_saved
9587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9588 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9589 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9590 then :
9591 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9592 else $as_nop
9593 wine_can_build_preloader=no
9596 if test "$wine_can_build_preloader" = "yes"
9597 then
9598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9599 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9600 if test ${ac_cv_cflags__Wl__no_pie+y}
9601 then :
9602 printf %s "(cached) " >&6
9603 else $as_nop
9604 ac_wine_try_cflags_saved=$CFLAGS
9605 CFLAGS="$CFLAGS -Wl,-no_pie"
9606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9607 /* end confdefs.h. */
9608 int main(int argc, char **argv) { return 0; }
9609 _ACEOF
9610 if ac_fn_c_try_link "$LINENO"
9611 then :
9612 ac_cv_cflags__Wl__no_pie=yes
9613 else $as_nop
9614 ac_cv_cflags__Wl__no_pie=no
9616 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9617 conftest$ac_exeext conftest.$ac_ext
9618 CFLAGS=$ac_wine_try_cflags_saved
9620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9621 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9622 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9623 then :
9624 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9626 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9627 else
9628 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9631 if test "x$with_coreaudio" != "xno";
9632 then
9633 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9635 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9637 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9638 then
9639 OPENCL_LIBS="-framework OpenCL"
9641 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9645 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9646 ac_ext=m
9647 ac_cpp='$OBJCPP $CPPFLAGS'
9648 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9649 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9650 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9652 ac_ext=m
9653 ac_cpp='$OBJCPP $CPPFLAGS'
9654 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9655 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9656 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9657 if test -n "$ac_tool_prefix"; then
9658 for ac_prog in gcc objcc objc cc CC clang
9660 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9661 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9663 printf %s "checking for $ac_word... " >&6; }
9664 if test ${ac_cv_prog_OBJC+y}
9665 then :
9666 printf %s "(cached) " >&6
9667 else $as_nop
9668 if test -n "$OBJC"; then
9669 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9670 else
9671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9672 for as_dir in $PATH
9674 IFS=$as_save_IFS
9675 case $as_dir in #(((
9676 '') as_dir=./ ;;
9677 */) ;;
9678 *) as_dir=$as_dir/ ;;
9679 esac
9680 for ac_exec_ext in '' $ac_executable_extensions; do
9681 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9682 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9684 break 2
9686 done
9687 done
9688 IFS=$as_save_IFS
9692 OBJC=$ac_cv_prog_OBJC
9693 if test -n "$OBJC"; then
9694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9695 printf "%s\n" "$OBJC" >&6; }
9696 else
9697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9698 printf "%s\n" "no" >&6; }
9702 test -n "$OBJC" && break
9703 done
9705 if test -z "$OBJC"; then
9706 ac_ct_OBJC=$OBJC
9707 for ac_prog in gcc objcc objc cc CC clang
9709 # Extract the first word of "$ac_prog", so it can be a program name with args.
9710 set dummy $ac_prog; ac_word=$2
9711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9712 printf %s "checking for $ac_word... " >&6; }
9713 if test ${ac_cv_prog_ac_ct_OBJC+y}
9714 then :
9715 printf %s "(cached) " >&6
9716 else $as_nop
9717 if test -n "$ac_ct_OBJC"; then
9718 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9719 else
9720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9721 for as_dir in $PATH
9723 IFS=$as_save_IFS
9724 case $as_dir in #(((
9725 '') as_dir=./ ;;
9726 */) ;;
9727 *) as_dir=$as_dir/ ;;
9728 esac
9729 for ac_exec_ext in '' $ac_executable_extensions; do
9730 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9731 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9733 break 2
9735 done
9736 done
9737 IFS=$as_save_IFS
9741 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9742 if test -n "$ac_ct_OBJC"; then
9743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9744 printf "%s\n" "$ac_ct_OBJC" >&6; }
9745 else
9746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9747 printf "%s\n" "no" >&6; }
9751 test -n "$ac_ct_OBJC" && break
9752 done
9754 if test "x$ac_ct_OBJC" = x; then
9755 OBJC="gcc"
9756 else
9757 case $cross_compiling:$ac_tool_warned in
9758 yes:)
9759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9760 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9761 ac_tool_warned=yes ;;
9762 esac
9763 OBJC=$ac_ct_OBJC
9767 # Provide some information about the compiler.
9768 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9769 set X $ac_compile
9770 ac_compiler=$2
9771 for ac_option in --version -v -V -qversion; do
9772 { { ac_try="$ac_compiler $ac_option >&5"
9773 case "(($ac_try" in
9774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9775 *) ac_try_echo=$ac_try;;
9776 esac
9777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9778 printf "%s\n" "$ac_try_echo"; } >&5
9779 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9780 ac_status=$?
9781 if test -s conftest.err; then
9782 sed '10a\
9783 ... rest of stderr output deleted ...
9784 10q' conftest.err >conftest.er1
9785 cat conftest.er1 >&5
9787 rm -f conftest.er1 conftest.err
9788 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9789 test $ac_status = 0; }
9790 done
9792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9793 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9794 if test ${ac_cv_objc_compiler_gnu+y}
9795 then :
9796 printf %s "(cached) " >&6
9797 else $as_nop
9798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9799 /* end confdefs.h. */
9802 main (void)
9804 #ifndef __GNUC__
9805 choke me
9806 #endif
9809 return 0;
9811 _ACEOF
9812 if ac_fn_objc_try_compile "$LINENO"
9813 then :
9814 ac_compiler_gnu=yes
9815 else $as_nop
9816 ac_compiler_gnu=no
9818 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9819 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9823 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9824 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9826 if test $ac_compiler_gnu = yes; then
9827 GOBJC=yes
9828 else
9829 GOBJC=
9831 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9832 ac_save_OBJCFLAGS=$OBJCFLAGS
9833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9834 printf %s "checking whether $OBJC accepts -g... " >&6; }
9835 if test ${ac_cv_prog_objc_g+y}
9836 then :
9837 printf %s "(cached) " >&6
9838 else $as_nop
9839 ac_save_objc_werror_flag=$ac_objc_werror_flag
9840 ac_objc_werror_flag=yes
9841 ac_cv_prog_objc_g=no
9842 OBJCFLAGS="-g"
9843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9844 /* end confdefs.h. */
9847 main (void)
9851 return 0;
9853 _ACEOF
9854 if ac_fn_objc_try_compile "$LINENO"
9855 then :
9856 ac_cv_prog_objc_g=yes
9857 else $as_nop
9858 OBJCFLAGS=""
9859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9860 /* end confdefs.h. */
9863 main (void)
9867 return 0;
9869 _ACEOF
9870 if ac_fn_objc_try_compile "$LINENO"
9871 then :
9873 else $as_nop
9874 ac_objc_werror_flag=$ac_save_objc_werror_flag
9875 OBJCFLAGS="-g"
9876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9877 /* end confdefs.h. */
9880 main (void)
9884 return 0;
9886 _ACEOF
9887 if ac_fn_objc_try_compile "$LINENO"
9888 then :
9889 ac_cv_prog_objc_g=yes
9891 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9893 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9895 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9896 ac_objc_werror_flag=$ac_save_objc_werror_flag
9898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9899 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9900 if test $ac_test_OBJCFLAGS; then
9901 OBJCFLAGS=$ac_save_OBJCFLAGS
9902 elif test $ac_cv_prog_objc_g = yes; then
9903 if test "$GOBJC" = yes; then
9904 OBJCFLAGS="-g -O2"
9905 else
9906 OBJCFLAGS="-g"
9908 else
9909 if test "$GOBJC" = yes; then
9910 OBJCFLAGS="-O2"
9911 else
9912 OBJCFLAGS=
9915 ac_ext=m
9916 ac_cpp='$OBJCPP $CPPFLAGS'
9917 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9918 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9919 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9923 /* end confdefs.h. */
9924 #include <Metal/Metal.h>
9926 main (void)
9928 id<MTLDevice> device; device.registryID;
9930 return 0;
9932 _ACEOF
9933 if ac_fn_objc_try_compile "$LINENO"
9934 then :
9935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9936 printf "%s\n" "yes" >&6; }
9938 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9940 else $as_nop
9941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9942 printf "%s\n" "no" >&6; }
9944 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9945 ac_ext=c
9946 ac_cpp='$CPP $CPPFLAGS'
9947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9952 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9953 WINELOADER_DEPENDS="wine_info.plist"
9957 linux-android*)
9959 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9961 DLLFLAGS="$DLLFLAGS -fPIC"
9962 LDDLLFLAGS="-fPIC"
9963 LDEXECFLAGS="-Wl,-pie"
9964 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9966 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9967 if test ${ac_cv_cflags__Wl__z_defs+y}
9968 then :
9969 printf %s "(cached) " >&6
9970 else $as_nop
9971 ac_wine_try_cflags_saved=$CFLAGS
9972 CFLAGS="$CFLAGS -Wl,-z,defs"
9973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9974 /* end confdefs.h. */
9975 int main(int argc, char **argv) { return 0; }
9976 _ACEOF
9977 if ac_fn_c_try_link "$LINENO"
9978 then :
9979 ac_cv_cflags__Wl__z_defs=yes
9980 else $as_nop
9981 ac_cv_cflags__Wl__z_defs=no
9983 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9984 conftest$ac_exeext conftest.$ac_ext
9985 CFLAGS=$ac_wine_try_cflags_saved
9987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9988 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9989 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9990 then :
9991 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9994 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9995 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9996 then :
9997 printf %s "(cached) " >&6
9998 else $as_nop
9999 ac_wine_try_cflags_saved=$CFLAGS
10000 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10002 /* end confdefs.h. */
10003 int main(int argc, char **argv) { return 0; }
10004 _ACEOF
10005 if ac_fn_c_try_link "$LINENO"
10006 then :
10007 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10008 else $as_nop
10009 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10011 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10012 conftest$ac_exeext conftest.$ac_ext
10013 CFLAGS=$ac_wine_try_cflags_saved
10015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10016 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10017 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10018 then :
10019 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10021 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10024 printf %s "checking for -lEGL... " >&6; }
10025 if test ${ac_cv_lib_soname_EGL+y}
10026 then :
10027 printf %s "(cached) " >&6
10028 else $as_nop
10029 ac_check_soname_save_LIBS=$LIBS
10030 LIBS="-lEGL $LIBS"
10031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10032 /* end confdefs.h. */
10034 /* Override any GCC internal prototype to avoid an error.
10035 Use char because int might match the return type of a GCC
10036 builtin and then its argument prototype would still apply. */
10037 char eglGetProcAddress ();
10039 main (void)
10041 return eglGetProcAddress ();
10043 return 0;
10045 _ACEOF
10046 if ac_fn_c_try_link "$LINENO"
10047 then :
10048 case "$LIBEXT" in
10049 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10050 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'` ;;
10051 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10052 if ${ac_cv_lib_soname_EGL:+false} :
10053 then :
10054 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10055 fi ;;
10056 esac
10057 else $as_nop
10058 ac_cv_lib_soname_EGL=
10060 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10061 conftest$ac_exeext conftest.$ac_ext
10062 LIBS=$ac_check_soname_save_LIBS
10064 if ${ac_cv_lib_soname_EGL:+false} :
10065 then :
10066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10067 printf "%s\n" "not found" >&6; }
10069 else $as_nop
10070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10071 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10073 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10078 printf %s "checking for -lGLESv2... " >&6; }
10079 if test ${ac_cv_lib_soname_GLESv2+y}
10080 then :
10081 printf %s "(cached) " >&6
10082 else $as_nop
10083 ac_check_soname_save_LIBS=$LIBS
10084 LIBS="-lGLESv2 $LIBS"
10085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10086 /* end confdefs.h. */
10088 /* Override any GCC internal prototype to avoid an error.
10089 Use char because int might match the return type of a GCC
10090 builtin and then its argument prototype would still apply. */
10091 char glFlush ();
10093 main (void)
10095 return glFlush ();
10097 return 0;
10099 _ACEOF
10100 if ac_fn_c_try_link "$LINENO"
10101 then :
10102 case "$LIBEXT" in
10103 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10104 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'` ;;
10105 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10106 if ${ac_cv_lib_soname_GLESv2:+false} :
10107 then :
10108 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10109 fi ;;
10110 esac
10111 else $as_nop
10112 ac_cv_lib_soname_GLESv2=
10114 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10115 conftest$ac_exeext conftest.$ac_ext
10116 LIBS=$ac_check_soname_save_LIBS
10118 if ${ac_cv_lib_soname_GLESv2:+false} :
10119 then :
10120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10121 printf "%s\n" "not found" >&6; }
10123 else $as_nop
10124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10125 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10127 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10132 if test "x$exec_prefix" = xNONE
10133 then
10134 case $host_cpu in
10135 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10136 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10137 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10138 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10139 esac
10145 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10147 test "$ac_cv_sys_file_offset_bits" = 64 &&
10148 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10150 case $host_cpu in
10151 *i[3456789]86*)
10152 DLLFLAGS="$DLLFLAGS -fno-PIC"
10153 LDDLLFLAGS="-fno-PIC"
10154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10155 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10156 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10157 then :
10158 printf %s "(cached) " >&6
10159 else $as_nop
10160 ac_wine_try_cflags_saved=$CFLAGS
10161 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10163 /* end confdefs.h. */
10164 int main(int argc, char **argv) { return 0; }
10165 _ACEOF
10166 if ac_fn_c_try_link "$LINENO"
10167 then :
10168 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10169 else $as_nop
10170 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10172 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10173 conftest$ac_exeext conftest.$ac_ext
10174 CFLAGS=$ac_wine_try_cflags_saved
10176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10177 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10178 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10179 then :
10180 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10184 DLLFLAGS="$DLLFLAGS -fPIC"
10185 LDDLLFLAGS="-fPIC" ;;
10186 esac
10188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10189 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10190 if test ${ac_cv_cflags__Wl__z_defs+y}
10191 then :
10192 printf %s "(cached) " >&6
10193 else $as_nop
10194 ac_wine_try_cflags_saved=$CFLAGS
10195 CFLAGS="$CFLAGS -Wl,-z,defs"
10196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10197 /* end confdefs.h. */
10198 int main(int argc, char **argv) { return 0; }
10199 _ACEOF
10200 if ac_fn_c_try_link "$LINENO"
10201 then :
10202 ac_cv_cflags__Wl__z_defs=yes
10203 else $as_nop
10204 ac_cv_cflags__Wl__z_defs=no
10206 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10207 conftest$ac_exeext conftest.$ac_ext
10208 CFLAGS=$ac_wine_try_cflags_saved
10210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10211 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10212 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10213 then :
10214 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10217 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10218 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10219 then :
10220 printf %s "(cached) " >&6
10221 else $as_nop
10222 ac_wine_try_cflags_saved=$CFLAGS
10223 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10225 /* end confdefs.h. */
10226 int main(int argc, char **argv) { return 0; }
10227 _ACEOF
10228 if ac_fn_c_try_link "$LINENO"
10229 then :
10230 ac_cv_cflags__Wl___export_dynamic=yes
10231 else $as_nop
10232 ac_cv_cflags__Wl___export_dynamic=no
10234 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10235 conftest$ac_exeext conftest.$ac_ext
10236 CFLAGS=$ac_wine_try_cflags_saved
10238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10239 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10240 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10241 then :
10242 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10244 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10246 case $host_cpu in
10247 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10249 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10250 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10251 then :
10252 printf %s "(cached) " >&6
10253 else $as_nop
10254 ac_wine_try_cflags_saved=$CFLAGS
10255 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10257 /* end confdefs.h. */
10258 int main(int argc, char **argv) { return 0; }
10259 _ACEOF
10260 if ac_fn_c_try_link "$LINENO"
10261 then :
10262 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10263 else $as_nop
10264 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10266 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10267 conftest$ac_exeext conftest.$ac_ext
10268 CFLAGS=$ac_wine_try_cflags_saved
10270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10271 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10272 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10273 then :
10274 case $host_os in
10275 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10276 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10277 esac
10278 else $as_nop
10279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10280 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10281 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10282 then :
10283 printf %s "(cached) " >&6
10284 else $as_nop
10285 ac_wine_try_cflags_saved=$CFLAGS
10286 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10288 /* end confdefs.h. */
10289 int main(int argc, char **argv) { return 0; }
10290 _ACEOF
10291 if ac_fn_c_try_link "$LINENO"
10292 then :
10293 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10294 else $as_nop
10295 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10297 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10298 conftest$ac_exeext conftest.$ac_ext
10299 CFLAGS=$ac_wine_try_cflags_saved
10301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10302 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10303 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10304 then :
10305 case $host_os in
10306 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10307 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10308 esac
10311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10312 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10313 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10314 then :
10315 printf %s "(cached) " >&6
10316 else $as_nop
10317 ac_wine_try_cflags_saved=$CFLAGS
10318 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10320 /* end confdefs.h. */
10321 int main(int argc, char **argv) { return 0; }
10322 _ACEOF
10323 if ac_fn_c_try_link "$LINENO"
10324 then :
10325 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10326 else $as_nop
10327 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10329 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10330 conftest$ac_exeext conftest.$ac_ext
10331 CFLAGS=$ac_wine_try_cflags_saved
10333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10334 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10335 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10336 then :
10337 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10340 esac
10342 esac
10344 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10345 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10346 enable_winemac_drv=${enable_winemac_drv:-no}
10348 PE_ARCHS=""
10350 cross_archs=
10351 if test ${enable_archs+y}
10352 then :
10353 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10354 ac_save_IFS=$IFS
10355 IFS=' ,'
10356 set x $enable_archs
10357 IFS=$ac_save_IFS
10358 shift
10359 for arch
10361 case $arch in
10362 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10363 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10364 esac
10365 done
10366 else $as_nop
10367 if test "x$with_mingw" != xno
10368 then
10369 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10370 case "x$with_mingw" in
10371 x|xyes) ;;
10372 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10373 esac
10377 for wine_arch in $cross_archs
10379 if eval \${${wine_arch}_CC:+false} :
10380 then :
10381 case $wine_arch in
10382 aarch64)
10383 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10385 # Extract the first word of "$ac_prog", so it can be a program name with args.
10386 set dummy $ac_prog; ac_word=$2
10387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10388 printf %s "checking for $ac_word... " >&6; }
10389 if test ${ac_cv_prog_aarch64_CC+y}
10390 then :
10391 printf %s "(cached) " >&6
10392 else $as_nop
10393 if test -n "$aarch64_CC"; then
10394 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10395 else
10396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10397 for as_dir in $PATH
10399 IFS=$as_save_IFS
10400 case $as_dir in #(((
10401 '') as_dir=./ ;;
10402 */) ;;
10403 *) as_dir=$as_dir/ ;;
10404 esac
10405 for ac_exec_ext in '' $ac_executable_extensions; do
10406 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10407 ac_cv_prog_aarch64_CC="$ac_prog"
10408 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10409 break 2
10411 done
10412 done
10413 IFS=$as_save_IFS
10417 aarch64_CC=$ac_cv_prog_aarch64_CC
10418 if test -n "$aarch64_CC"; then
10419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10420 printf "%s\n" "$aarch64_CC" >&6; }
10421 else
10422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10423 printf "%s\n" "no" >&6; }
10427 test -n "$aarch64_CC" && break
10428 done
10429 test -n "$aarch64_CC" || aarch64_CC="false"
10432 arm)
10433 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10435 # Extract the first word of "$ac_prog", so it can be a program name with args.
10436 set dummy $ac_prog; ac_word=$2
10437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10438 printf %s "checking for $ac_word... " >&6; }
10439 if test ${ac_cv_prog_arm_CC+y}
10440 then :
10441 printf %s "(cached) " >&6
10442 else $as_nop
10443 if test -n "$arm_CC"; then
10444 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10445 else
10446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10447 for as_dir in $PATH
10449 IFS=$as_save_IFS
10450 case $as_dir in #(((
10451 '') as_dir=./ ;;
10452 */) ;;
10453 *) as_dir=$as_dir/ ;;
10454 esac
10455 for ac_exec_ext in '' $ac_executable_extensions; do
10456 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10457 ac_cv_prog_arm_CC="$ac_prog"
10458 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10459 break 2
10461 done
10462 done
10463 IFS=$as_save_IFS
10467 arm_CC=$ac_cv_prog_arm_CC
10468 if test -n "$arm_CC"; then
10469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10470 printf "%s\n" "$arm_CC" >&6; }
10471 else
10472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10473 printf "%s\n" "no" >&6; }
10477 test -n "$arm_CC" && break
10478 done
10479 test -n "$arm_CC" || arm_CC="false"
10482 i386)
10483 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 "
10484 for ac_prog in $ac_prefix_list clang
10486 # Extract the first word of "$ac_prog", so it can be a program name with args.
10487 set dummy $ac_prog; ac_word=$2
10488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10489 printf %s "checking for $ac_word... " >&6; }
10490 if test ${ac_cv_prog_i386_CC+y}
10491 then :
10492 printf %s "(cached) " >&6
10493 else $as_nop
10494 if test -n "$i386_CC"; then
10495 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10496 else
10497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10498 for as_dir in $PATH
10500 IFS=$as_save_IFS
10501 case $as_dir in #(((
10502 '') as_dir=./ ;;
10503 */) ;;
10504 *) as_dir=$as_dir/ ;;
10505 esac
10506 for ac_exec_ext in '' $ac_executable_extensions; do
10507 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10508 ac_cv_prog_i386_CC="$ac_prog"
10509 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10510 break 2
10512 done
10513 done
10514 IFS=$as_save_IFS
10518 i386_CC=$ac_cv_prog_i386_CC
10519 if test -n "$i386_CC"; then
10520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10521 printf "%s\n" "$i386_CC" >&6; }
10522 else
10523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10524 printf "%s\n" "no" >&6; }
10528 test -n "$i386_CC" && break
10529 done
10530 test -n "$i386_CC" || i386_CC="false"
10533 x86_64)
10534 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10535 for ac_prog in $ac_prefix_list clang
10537 # Extract the first word of "$ac_prog", so it can be a program name with args.
10538 set dummy $ac_prog; ac_word=$2
10539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10540 printf %s "checking for $ac_word... " >&6; }
10541 if test ${ac_cv_prog_x86_64_CC+y}
10542 then :
10543 printf %s "(cached) " >&6
10544 else $as_nop
10545 if test -n "$x86_64_CC"; then
10546 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10547 else
10548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10549 for as_dir in $PATH
10551 IFS=$as_save_IFS
10552 case $as_dir in #(((
10553 '') as_dir=./ ;;
10554 */) ;;
10555 *) as_dir=$as_dir/ ;;
10556 esac
10557 for ac_exec_ext in '' $ac_executable_extensions; do
10558 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10559 ac_cv_prog_x86_64_CC="$ac_prog"
10560 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10561 break 2
10563 done
10564 done
10565 IFS=$as_save_IFS
10569 x86_64_CC=$ac_cv_prog_x86_64_CC
10570 if test -n "$x86_64_CC"; then
10571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10572 printf "%s\n" "$x86_64_CC" >&6; }
10573 else
10574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10575 printf "%s\n" "no" >&6; }
10579 test -n "$x86_64_CC" && break
10580 done
10581 test -n "$x86_64_CC" || x86_64_CC="false"
10584 esac
10587 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10588 then :
10589 continue
10592 saved_CC=$CC
10593 saved_CFLAGS=$CFLAGS
10594 saved_LDFLAGS=$LDFLAGS
10596 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10597 LDFLAGS=$CROSSLDFLAGS
10598 eval CC=\$${wine_arch}_CC
10599 eval ${wine_arch}_CFLAGS=\$CFLAGS
10600 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10601 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10603 target=""
10604 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10607 printf %s "checking whether $CC works... " >&6; }
10608 if eval test \${$as_wine_cv_crosscc+y}
10609 then :
10610 printf %s "(cached) " >&6
10611 else $as_nop
10612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10613 /* end confdefs.h. */
10616 main (void)
10620 return 0;
10622 _ACEOF
10623 if ac_fn_c_try_compile "$LINENO"
10624 then :
10625 eval "$as_wine_cv_crosscc=yes"
10626 else $as_nop
10627 eval "$as_wine_cv_crosscc=no"
10629 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10631 eval ac_res=\$$as_wine_cv_crosscc
10632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10633 printf "%s\n" "$ac_res" >&6; }
10634 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10635 then :
10636 set x $CC
10637 shift
10638 while test $# -ge 1
10640 case "$1" in
10641 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10642 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10643 esac
10644 shift
10645 done
10647 llvm_target=$target
10648 if test -z "$llvm_target"
10649 then
10650 case $wine_arch in
10651 i386) llvm_target=i686-windows ;;
10652 arm) llvm_target=armv7-windows ;;
10653 *) llvm_target=$wine_arch-windows ;;
10654 esac
10656 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10657 case $llvm_target in
10658 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10659 esac
10660 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10662 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10663 if eval test \${$as_ac_var+y}
10664 then :
10665 printf %s "(cached) " >&6
10666 else $as_nop
10667 ac_wine_try_cflags_saved=$CFLAGS
10668 ac_wine_try_cflags_saved_exeext=$ac_exeext
10669 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10670 ac_exeext=".exe"
10671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10672 /* end confdefs.h. */
10673 int __cdecl mainCRTStartup(void) { return 0; }
10674 _ACEOF
10675 if ac_fn_c_try_link "$LINENO"
10676 then :
10677 eval "$as_ac_var=yes"
10678 else $as_nop
10679 eval "$as_ac_var=no"
10681 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10682 conftest$ac_exeext conftest.$ac_ext
10683 CFLAGS=$ac_wine_try_cflags_saved
10684 ac_exeext=$ac_wine_try_cflags_saved_exeext
10686 eval ac_res=\$$as_ac_var
10687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10688 printf "%s\n" "$ac_res" >&6; }
10689 if eval test \"x\$"$as_ac_var"\" = x"yes"
10690 then :
10691 target=$llvm_target
10692 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10693 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10694 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10695 fi }
10696 eval "${wine_arch}_TARGET=\$target"
10700 if test -z "$target"
10701 then
10702 CC=$saved_CC
10703 CFLAGS=$saved_CFLAGS
10704 LDFLAGS=$saved_LDFLAGS
10705 continue
10707 as_fn_append PE_ARCHS " $wine_arch"
10709 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10712 printf %s "checking for $CC option to enable C99 features... " >&6; }
10713 if eval test \${$as_wine_cv_crosscc_c99+y}
10714 then :
10715 printf %s "(cached) " >&6
10716 else $as_nop
10717 eval "$as_wine_cv_crosscc_c99=no"
10718 for arg in '' '-std=gnu99'
10720 test -z "$arg" || CC="$CC $arg"
10721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10722 /* end confdefs.h. */
10723 $ac_c_conftest_c99_program
10724 _ACEOF
10725 if ac_fn_c_try_compile "$LINENO"
10726 then :
10727 eval "$as_wine_cv_crosscc_c99=\$arg"
10728 else $as_nop
10729 eval "$as_wine_cv_crosscc_c99=no"
10731 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10732 eval CC=\$${wine_arch}_CC
10733 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10734 then :
10736 else $as_nop
10737 break
10739 done
10742 eval res=\$$as_wine_cv_crosscc_c99
10743 case "x$res" in
10744 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10745 printf "%s\n" "none needed" >&6; } ;;
10746 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10747 printf "%s\n" "unsupported" >&6; } ;;
10748 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10749 printf "%s\n" "$res" >&6; }
10750 as_fn_append ${wine_arch}_CC " $res" ;;
10751 esac
10754 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10756 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10757 if eval test \${$as_ac_var+y}
10758 then :
10759 printf %s "(cached) " >&6
10760 else $as_nop
10761 ac_wine_try_cflags_saved=$CFLAGS
10762 ac_wine_try_cflags_saved_exeext=$ac_exeext
10763 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10764 ac_exeext=".exe"
10765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10766 /* end confdefs.h. */
10767 int __cdecl mainCRTStartup(void) { return 0; }
10768 _ACEOF
10769 if ac_fn_c_try_link "$LINENO"
10770 then :
10771 eval "$as_ac_var=yes"
10772 else $as_nop
10773 eval "$as_ac_var=no"
10775 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10776 conftest$ac_exeext conftest.$ac_ext
10777 CFLAGS=$ac_wine_try_cflags_saved
10778 ac_exeext=$ac_wine_try_cflags_saved_exeext
10780 eval ac_res=\$$as_ac_var
10781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10782 printf "%s\n" "$ac_res" >&6; }
10783 if eval test \"x\$"$as_ac_var"\" = x"yes"
10784 then :
10785 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10786 fi }
10787 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10789 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10790 if eval test \${$as_ac_var+y}
10791 then :
10792 printf %s "(cached) " >&6
10793 else $as_nop
10794 ac_wine_try_cflags_saved=$CFLAGS
10795 ac_wine_try_cflags_saved_exeext=$ac_exeext
10796 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10797 ac_exeext=".exe"
10798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10799 /* end confdefs.h. */
10800 int __cdecl mainCRTStartup(void) { return 0; }
10801 _ACEOF
10802 if ac_fn_c_try_link "$LINENO"
10803 then :
10804 eval "$as_ac_var=yes"
10805 else $as_nop
10806 eval "$as_ac_var=no"
10808 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10809 conftest$ac_exeext conftest.$ac_ext
10810 CFLAGS=$ac_wine_try_cflags_saved
10811 ac_exeext=$ac_wine_try_cflags_saved_exeext
10813 eval ac_res=\$$as_ac_var
10814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10815 printf "%s\n" "$ac_res" >&6; }
10816 if eval test \"x\$"$as_ac_var"\" = x"yes"
10817 then :
10818 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10819 fi }
10820 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10822 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10823 if eval test \${$as_ac_var+y}
10824 then :
10825 printf %s "(cached) " >&6
10826 else $as_nop
10827 ac_wine_try_cflags_saved=$CFLAGS
10828 ac_wine_try_cflags_saved_exeext=$ac_exeext
10829 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10830 ac_exeext=".exe"
10831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10832 /* end confdefs.h. */
10833 int __cdecl mainCRTStartup(void) { return 0; }
10834 _ACEOF
10835 if ac_fn_c_try_link "$LINENO"
10836 then :
10837 eval "$as_ac_var=yes"
10838 else $as_nop
10839 eval "$as_ac_var=no"
10841 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10842 conftest$ac_exeext conftest.$ac_ext
10843 CFLAGS=$ac_wine_try_cflags_saved
10844 ac_exeext=$ac_wine_try_cflags_saved_exeext
10846 eval ac_res=\$$as_ac_var
10847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10848 printf "%s\n" "$ac_res" >&6; }
10849 if eval test \"x\$"$as_ac_var"\" = x"yes"
10850 then :
10851 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10852 fi }
10853 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10855 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10856 if eval test \${$as_ac_var+y}
10857 then :
10858 printf %s "(cached) " >&6
10859 else $as_nop
10860 ac_wine_try_cflags_saved=$CFLAGS
10861 ac_wine_try_cflags_saved_exeext=$ac_exeext
10862 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10863 ac_exeext=".exe"
10864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10865 /* end confdefs.h. */
10866 int __cdecl mainCRTStartup(void) { return 0; }
10867 _ACEOF
10868 if ac_fn_c_try_link "$LINENO"
10869 then :
10870 eval "$as_ac_var=yes"
10871 else $as_nop
10872 eval "$as_ac_var=no"
10874 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10875 conftest$ac_exeext conftest.$ac_ext
10876 CFLAGS=$ac_wine_try_cflags_saved
10877 ac_exeext=$ac_wine_try_cflags_saved_exeext
10879 eval ac_res=\$$as_ac_var
10880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10881 printf "%s\n" "$ac_res" >&6; }
10882 if eval test \"x\$"$as_ac_var"\" = x"yes"
10883 then :
10884 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10885 fi }
10886 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10888 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10889 if eval test \${$as_ac_var+y}
10890 then :
10891 printf %s "(cached) " >&6
10892 else $as_nop
10893 ac_wine_try_cflags_saved=$CFLAGS
10894 ac_wine_try_cflags_saved_exeext=$ac_exeext
10895 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10896 ac_exeext=".exe"
10897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10898 /* end confdefs.h. */
10899 int __cdecl mainCRTStartup(void) { return 0; }
10900 _ACEOF
10901 if ac_fn_c_try_link "$LINENO"
10902 then :
10903 eval "$as_ac_var=yes"
10904 else $as_nop
10905 eval "$as_ac_var=no"
10907 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10908 conftest$ac_exeext conftest.$ac_ext
10909 CFLAGS=$ac_wine_try_cflags_saved
10910 ac_exeext=$ac_wine_try_cflags_saved_exeext
10912 eval ac_res=\$$as_ac_var
10913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10914 printf "%s\n" "$ac_res" >&6; }
10915 if eval test \"x\$"$as_ac_var"\" = x"yes"
10916 then :
10917 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10918 fi }
10919 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10921 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10922 if eval test \${$as_ac_var+y}
10923 then :
10924 printf %s "(cached) " >&6
10925 else $as_nop
10926 ac_wine_try_cflags_saved=$CFLAGS
10927 ac_wine_try_cflags_saved_exeext=$ac_exeext
10928 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10929 ac_exeext=".exe"
10930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10931 /* end confdefs.h. */
10932 int __cdecl mainCRTStartup(void) { return 0; }
10933 _ACEOF
10934 if ac_fn_c_try_link "$LINENO"
10935 then :
10936 eval "$as_ac_var=yes"
10937 else $as_nop
10938 eval "$as_ac_var=no"
10940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10941 conftest$ac_exeext conftest.$ac_ext
10942 CFLAGS=$ac_wine_try_cflags_saved
10943 ac_exeext=$ac_wine_try_cflags_saved_exeext
10945 eval ac_res=\$$as_ac_var
10946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10947 printf "%s\n" "$ac_res" >&6; }
10948 if eval test \"x\$"$as_ac_var"\" = x"yes"
10949 then :
10950 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10951 fi }
10952 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10954 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10955 if eval test \${$as_ac_var+y}
10956 then :
10957 printf %s "(cached) " >&6
10958 else $as_nop
10959 ac_wine_try_cflags_saved=$CFLAGS
10960 ac_wine_try_cflags_saved_exeext=$ac_exeext
10961 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10962 ac_exeext=".exe"
10963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10964 /* end confdefs.h. */
10965 int __cdecl mainCRTStartup(void) { return 0; }
10966 _ACEOF
10967 if ac_fn_c_try_link "$LINENO"
10968 then :
10969 eval "$as_ac_var=yes"
10970 else $as_nop
10971 eval "$as_ac_var=no"
10973 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10974 conftest$ac_exeext conftest.$ac_ext
10975 CFLAGS=$ac_wine_try_cflags_saved
10976 ac_exeext=$ac_wine_try_cflags_saved_exeext
10978 eval ac_res=\$$as_ac_var
10979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10980 printf "%s\n" "$ac_res" >&6; }
10981 if eval test \"x\$"$as_ac_var"\" = x"yes"
10982 then :
10983 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10984 fi }
10985 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
10986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10987 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10988 if eval test \${$as_ac_var+y}
10989 then :
10990 printf %s "(cached) " >&6
10991 else $as_nop
10992 ac_wine_try_cflags_saved=$CFLAGS
10993 ac_wine_try_cflags_saved_exeext=$ac_exeext
10994 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10995 ac_exeext=".exe"
10996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10997 /* end confdefs.h. */
10998 int __cdecl mainCRTStartup(void) { return 0; }
10999 _ACEOF
11000 if ac_fn_c_try_link "$LINENO"
11001 then :
11002 eval "$as_ac_var=yes"
11003 else $as_nop
11004 eval "$as_ac_var=no"
11006 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11007 conftest$ac_exeext conftest.$ac_ext
11008 CFLAGS=$ac_wine_try_cflags_saved
11009 ac_exeext=$ac_wine_try_cflags_saved_exeext
11011 eval ac_res=\$$as_ac_var
11012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11013 printf "%s\n" "$ac_res" >&6; }
11014 if eval test \"x\$"$as_ac_var"\" = x"yes"
11015 then :
11016 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11017 fi }
11018 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11020 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11021 if eval test \${$as_ac_var+y}
11022 then :
11023 printf %s "(cached) " >&6
11024 else $as_nop
11025 ac_wine_try_cflags_saved=$CFLAGS
11026 ac_wine_try_cflags_saved_exeext=$ac_exeext
11027 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11028 ac_exeext=".exe"
11029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11030 /* end confdefs.h. */
11031 int __cdecl mainCRTStartup(void) { return 0; }
11032 _ACEOF
11033 if ac_fn_c_try_link "$LINENO"
11034 then :
11035 eval "$as_ac_var=yes"
11036 else $as_nop
11037 eval "$as_ac_var=no"
11039 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11040 conftest$ac_exeext conftest.$ac_ext
11041 CFLAGS=$ac_wine_try_cflags_saved
11042 ac_exeext=$ac_wine_try_cflags_saved_exeext
11044 eval ac_res=\$$as_ac_var
11045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11046 printf "%s\n" "$ac_res" >&6; }
11047 if eval test \"x\$"$as_ac_var"\" = x"yes"
11048 then :
11049 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11050 fi }
11051 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11053 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11054 if eval test \${$as_ac_var+y}
11055 then :
11056 printf %s "(cached) " >&6
11057 else $as_nop
11058 ac_wine_try_cflags_saved=$CFLAGS
11059 ac_wine_try_cflags_saved_exeext=$ac_exeext
11060 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11061 ac_exeext=".exe"
11062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11063 /* end confdefs.h. */
11064 int __cdecl mainCRTStartup(void) { return 0; }
11065 _ACEOF
11066 if ac_fn_c_try_link "$LINENO"
11067 then :
11068 eval "$as_ac_var=yes"
11069 else $as_nop
11070 eval "$as_ac_var=no"
11072 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11073 conftest$ac_exeext conftest.$ac_ext
11074 CFLAGS=$ac_wine_try_cflags_saved
11075 ac_exeext=$ac_wine_try_cflags_saved_exeext
11077 eval ac_res=\$$as_ac_var
11078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11079 printf "%s\n" "$ac_res" >&6; }
11080 if eval test \"x\$"$as_ac_var"\" = x"yes"
11081 then :
11082 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11083 fi }
11084 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11086 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11087 if eval test \${$as_ac_var+y}
11088 then :
11089 printf %s "(cached) " >&6
11090 else $as_nop
11091 ac_wine_try_cflags_saved=$CFLAGS
11092 ac_wine_try_cflags_saved_exeext=$ac_exeext
11093 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11094 ac_exeext=".exe"
11095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11096 /* end confdefs.h. */
11097 int __cdecl mainCRTStartup(void) { return 0; }
11098 _ACEOF
11099 if ac_fn_c_try_link "$LINENO"
11100 then :
11101 eval "$as_ac_var=yes"
11102 else $as_nop
11103 eval "$as_ac_var=no"
11105 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11106 conftest$ac_exeext conftest.$ac_ext
11107 CFLAGS=$ac_wine_try_cflags_saved
11108 ac_exeext=$ac_wine_try_cflags_saved_exeext
11110 eval ac_res=\$$as_ac_var
11111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11112 printf "%s\n" "$ac_res" >&6; }
11113 if eval test \"x\$"$as_ac_var"\" = x"yes"
11114 then :
11115 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11116 fi }
11117 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11119 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11120 if eval test \${$as_ac_var+y}
11121 then :
11122 printf %s "(cached) " >&6
11123 else $as_nop
11124 ac_wine_try_cflags_saved=$CFLAGS
11125 ac_wine_try_cflags_saved_exeext=$ac_exeext
11126 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11127 ac_exeext=".exe"
11128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11129 /* end confdefs.h. */
11130 int __cdecl mainCRTStartup(void) { return 0; }
11131 _ACEOF
11132 if ac_fn_c_try_link "$LINENO"
11133 then :
11134 eval "$as_ac_var=yes"
11135 else $as_nop
11136 eval "$as_ac_var=no"
11138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11139 conftest$ac_exeext conftest.$ac_ext
11140 CFLAGS=$ac_wine_try_cflags_saved
11141 ac_exeext=$ac_wine_try_cflags_saved_exeext
11143 eval ac_res=\$$as_ac_var
11144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11145 printf "%s\n" "$ac_res" >&6; }
11146 if eval test \"x\$"$as_ac_var"\" = x"yes"
11147 then :
11148 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11149 fi }
11150 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11152 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11153 if eval test \${$as_ac_var+y}
11154 then :
11155 printf %s "(cached) " >&6
11156 else $as_nop
11157 ac_wine_try_cflags_saved=$CFLAGS
11158 ac_wine_try_cflags_saved_exeext=$ac_exeext
11159 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11160 ac_exeext=".exe"
11161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11162 /* end confdefs.h. */
11163 int __cdecl mainCRTStartup(void) { return 0; }
11164 _ACEOF
11165 if ac_fn_c_try_link "$LINENO"
11166 then :
11167 eval "$as_ac_var=yes"
11168 else $as_nop
11169 eval "$as_ac_var=no"
11171 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11172 conftest$ac_exeext conftest.$ac_ext
11173 CFLAGS=$ac_wine_try_cflags_saved
11174 ac_exeext=$ac_wine_try_cflags_saved_exeext
11176 eval ac_res=\$$as_ac_var
11177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11178 printf "%s\n" "$ac_res" >&6; }
11179 if eval test \"x\$"$as_ac_var"\" = x"yes"
11180 then :
11181 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11182 fi }
11183 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11185 printf %s "checking whether $CC supports -Wvla... " >&6; }
11186 if eval test \${$as_ac_var+y}
11187 then :
11188 printf %s "(cached) " >&6
11189 else $as_nop
11190 ac_wine_try_cflags_saved=$CFLAGS
11191 ac_wine_try_cflags_saved_exeext=$ac_exeext
11192 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11193 ac_exeext=".exe"
11194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11195 /* end confdefs.h. */
11196 int __cdecl mainCRTStartup(void) { return 0; }
11197 _ACEOF
11198 if ac_fn_c_try_link "$LINENO"
11199 then :
11200 eval "$as_ac_var=yes"
11201 else $as_nop
11202 eval "$as_ac_var=no"
11204 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11205 conftest$ac_exeext conftest.$ac_ext
11206 CFLAGS=$ac_wine_try_cflags_saved
11207 ac_exeext=$ac_wine_try_cflags_saved_exeext
11209 eval ac_res=\$$as_ac_var
11210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11211 printf "%s\n" "$ac_res" >&6; }
11212 if eval test \"x\$"$as_ac_var"\" = x"yes"
11213 then :
11214 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11215 fi }
11216 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11218 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11219 if eval test \${$as_ac_var+y}
11220 then :
11221 printf %s "(cached) " >&6
11222 else $as_nop
11223 ac_wine_try_cflags_saved=$CFLAGS
11224 ac_wine_try_cflags_saved_exeext=$ac_exeext
11225 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11226 ac_exeext=".exe"
11227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11228 /* end confdefs.h. */
11229 int __cdecl mainCRTStartup(void) { return 0; }
11230 _ACEOF
11231 if ac_fn_c_try_link "$LINENO"
11232 then :
11233 eval "$as_ac_var=yes"
11234 else $as_nop
11235 eval "$as_ac_var=no"
11237 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11238 conftest$ac_exeext conftest.$ac_ext
11239 CFLAGS=$ac_wine_try_cflags_saved
11240 ac_exeext=$ac_wine_try_cflags_saved_exeext
11242 eval ac_res=\$$as_ac_var
11243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11244 printf "%s\n" "$ac_res" >&6; }
11245 if eval test \"x\$"$as_ac_var"\" = x"yes"
11246 then :
11247 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11248 fi }
11249 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11251 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11252 if eval test \${$as_ac_var+y}
11253 then :
11254 printf %s "(cached) " >&6
11255 else $as_nop
11256 ac_wine_try_cflags_saved=$CFLAGS
11257 ac_wine_try_cflags_saved_exeext=$ac_exeext
11258 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11259 ac_exeext=".exe"
11260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11261 /* end confdefs.h. */
11262 int __cdecl mainCRTStartup(void) { return 0; }
11263 _ACEOF
11264 if ac_fn_c_try_link "$LINENO"
11265 then :
11266 eval "$as_ac_var=yes"
11267 else $as_nop
11268 eval "$as_ac_var=no"
11270 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11271 conftest$ac_exeext conftest.$ac_ext
11272 CFLAGS=$ac_wine_try_cflags_saved
11273 ac_exeext=$ac_wine_try_cflags_saved_exeext
11275 eval ac_res=\$$as_ac_var
11276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11277 printf "%s\n" "$ac_res" >&6; }
11278 if eval test \"x\$"$as_ac_var"\" = x"yes"
11279 then :
11280 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11281 fi }
11282 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11284 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11285 if eval test \${$as_ac_var+y}
11286 then :
11287 printf %s "(cached) " >&6
11288 else $as_nop
11289 ac_wine_try_cflags_saved=$CFLAGS
11290 ac_wine_try_cflags_saved_exeext=$ac_exeext
11291 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11292 ac_exeext=".exe"
11293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11294 /* end confdefs.h. */
11295 int __cdecl mainCRTStartup(void) { return 0; }
11296 _ACEOF
11297 if ac_fn_c_try_link "$LINENO"
11298 then :
11299 eval "$as_ac_var=yes"
11300 else $as_nop
11301 eval "$as_ac_var=no"
11303 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11304 conftest$ac_exeext conftest.$ac_ext
11305 CFLAGS=$ac_wine_try_cflags_saved
11306 ac_exeext=$ac_wine_try_cflags_saved_exeext
11308 eval ac_res=\$$as_ac_var
11309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11310 printf "%s\n" "$ac_res" >&6; }
11311 if eval test \"x\$"$as_ac_var"\" = x"yes"
11312 then :
11313 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11314 fi }
11315 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11317 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11318 if eval test \${$as_ac_var+y}
11319 then :
11320 printf %s "(cached) " >&6
11321 else $as_nop
11322 ac_wine_try_cflags_saved=$CFLAGS
11323 ac_wine_try_cflags_saved_exeext=$ac_exeext
11324 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11325 ac_exeext=".exe"
11326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11327 /* end confdefs.h. */
11328 int __cdecl mainCRTStartup(void) { return 0; }
11329 _ACEOF
11330 if ac_fn_c_try_link "$LINENO"
11331 then :
11332 eval "$as_ac_var=yes"
11333 else $as_nop
11334 eval "$as_ac_var=no"
11336 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11337 conftest$ac_exeext conftest.$ac_ext
11338 CFLAGS=$ac_wine_try_cflags_saved
11339 ac_exeext=$ac_wine_try_cflags_saved_exeext
11341 eval ac_res=\$$as_ac_var
11342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11343 printf "%s\n" "$ac_res" >&6; }
11344 if eval test \"x\$"$as_ac_var"\" = x"yes"
11345 then :
11346 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11347 fi }
11349 case $wine_arch in
11350 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11352 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11353 if eval test \${$as_ac_var+y}
11354 then :
11355 printf %s "(cached) " >&6
11356 else $as_nop
11357 ac_wine_try_cflags_saved=$CFLAGS
11358 ac_wine_try_cflags_saved_exeext=$ac_exeext
11359 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11360 ac_exeext=".exe"
11361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11362 /* end confdefs.h. */
11363 int __cdecl mainCRTStartup(void) { return 0; }
11364 _ACEOF
11365 if ac_fn_c_try_link "$LINENO"
11366 then :
11367 eval "$as_ac_var=yes"
11368 else $as_nop
11369 eval "$as_ac_var=no"
11371 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11372 conftest$ac_exeext conftest.$ac_ext
11373 CFLAGS=$ac_wine_try_cflags_saved
11374 ac_exeext=$ac_wine_try_cflags_saved_exeext
11376 eval ac_res=\$$as_ac_var
11377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11378 printf "%s\n" "$ac_res" >&6; }
11379 if eval test \"x\$"$as_ac_var"\" = x"yes"
11380 then :
11381 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11382 fi }
11383 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11385 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11386 if eval test \${$as_ac_var+y}
11387 then :
11388 printf %s "(cached) " >&6
11389 else $as_nop
11390 ac_wine_try_cflags_saved=$CFLAGS
11391 ac_wine_try_cflags_saved_exeext=$ac_exeext
11392 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11393 ac_exeext=".exe"
11394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11395 /* end confdefs.h. */
11396 int __cdecl mainCRTStartup(void) { return 0; }
11397 _ACEOF
11398 if ac_fn_c_try_link "$LINENO"
11399 then :
11400 eval "$as_ac_var=yes"
11401 else $as_nop
11402 eval "$as_ac_var=no"
11404 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11405 conftest$ac_exeext conftest.$ac_ext
11406 CFLAGS=$ac_wine_try_cflags_saved
11407 ac_exeext=$ac_wine_try_cflags_saved_exeext
11409 eval ac_res=\$$as_ac_var
11410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11411 printf "%s\n" "$ac_res" >&6; }
11412 if eval test \"x\$"$as_ac_var"\" = x"yes"
11413 then :
11414 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11415 fi } ;;
11416 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11418 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11419 if eval test \${$as_ac_var+y}
11420 then :
11421 printf %s "(cached) " >&6
11422 else $as_nop
11423 ac_wine_try_cflags_saved=$CFLAGS
11424 ac_wine_try_cflags_saved_exeext=$ac_exeext
11425 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11426 ac_exeext=".exe"
11427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11428 /* end confdefs.h. */
11429 int __cdecl mainCRTStartup(void) { return 0; }
11430 _ACEOF
11431 if ac_fn_c_try_link "$LINENO"
11432 then :
11433 eval "$as_ac_var=yes"
11434 else $as_nop
11435 eval "$as_ac_var=no"
11437 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11438 conftest$ac_exeext conftest.$ac_ext
11439 CFLAGS=$ac_wine_try_cflags_saved
11440 ac_exeext=$ac_wine_try_cflags_saved_exeext
11442 eval ac_res=\$$as_ac_var
11443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11444 printf "%s\n" "$ac_res" >&6; }
11445 if eval test \"x\$"$as_ac_var"\" = x"yes"
11446 then :
11447 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11448 fi }
11449 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11451 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11452 if eval test \${$as_ac_var+y}
11453 then :
11454 printf %s "(cached) " >&6
11455 else $as_nop
11456 ac_wine_try_cflags_saved=$CFLAGS
11457 ac_wine_try_cflags_saved_exeext=$ac_exeext
11458 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11459 ac_exeext=".exe"
11460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11461 /* end confdefs.h. */
11462 int __cdecl mainCRTStartup(void) { return 0; }
11463 _ACEOF
11464 if ac_fn_c_try_link "$LINENO"
11465 then :
11466 eval "$as_ac_var=yes"
11467 else $as_nop
11468 eval "$as_ac_var=no"
11470 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11471 conftest$ac_exeext conftest.$ac_ext
11472 CFLAGS=$ac_wine_try_cflags_saved
11473 ac_exeext=$ac_wine_try_cflags_saved_exeext
11475 eval ac_res=\$$as_ac_var
11476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11477 printf "%s\n" "$ac_res" >&6; }
11478 if eval test \"x\$"$as_ac_var"\" = x"yes"
11479 then :
11480 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11481 fi }
11482 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11484 printf %s "checking whether $CC supports -mcx16... " >&6; }
11485 if eval test \${$as_ac_var+y}
11486 then :
11487 printf %s "(cached) " >&6
11488 else $as_nop
11489 ac_wine_try_cflags_saved=$CFLAGS
11490 ac_wine_try_cflags_saved_exeext=$ac_exeext
11491 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11492 ac_exeext=".exe"
11493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11494 /* end confdefs.h. */
11495 int __cdecl mainCRTStartup(void) { return 0; }
11496 _ACEOF
11497 if ac_fn_c_try_link "$LINENO"
11498 then :
11499 eval "$as_ac_var=yes"
11500 else $as_nop
11501 eval "$as_ac_var=no"
11503 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11504 conftest$ac_exeext conftest.$ac_ext
11505 CFLAGS=$ac_wine_try_cflags_saved
11506 ac_exeext=$ac_wine_try_cflags_saved_exeext
11508 eval ac_res=\$$as_ac_var
11509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11510 printf "%s\n" "$ac_res" >&6; }
11511 if eval test \"x\$"$as_ac_var"\" = x"yes"
11512 then :
11513 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11514 fi } ;;
11515 esac
11517 wine_crossdebug=$CROSSDEBUG
11518 if test -z "$wine_crossdebug"
11519 then
11520 for ac_flag in $CFLAGS; do
11521 case $ac_flag in
11522 -gdwarf*) wine_crossdebug=dwarf ;;
11523 -gcodeview) wine_crossdebug=pdb ;;
11524 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11525 esac
11526 done
11529 ac_debug_format_seen=""
11530 for ac_flag in $CFLAGS; do
11531 case $ac_flag in
11532 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11533 esac
11534 done
11535 if test "x$ac_debug_format_seen" = x
11536 then
11537 case $wine_crossdebug in
11538 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11540 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11541 if eval test \${$as_ac_var+y}
11542 then :
11543 printf %s "(cached) " >&6
11544 else $as_nop
11545 ac_wine_try_cflags_saved=$CFLAGS
11546 ac_wine_try_cflags_saved_exeext=$ac_exeext
11547 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11548 ac_exeext=".exe"
11549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11550 /* end confdefs.h. */
11551 int __cdecl mainCRTStartup(void) { return 0; }
11552 _ACEOF
11553 if ac_fn_c_try_link "$LINENO"
11554 then :
11555 eval "$as_ac_var=yes"
11556 else $as_nop
11557 eval "$as_ac_var=no"
11559 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11560 conftest$ac_exeext conftest.$ac_ext
11561 CFLAGS=$ac_wine_try_cflags_saved
11562 ac_exeext=$ac_wine_try_cflags_saved_exeext
11564 eval ac_res=\$$as_ac_var
11565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11566 printf "%s\n" "$ac_res" >&6; }
11567 if eval test \"x\$"$as_ac_var"\" = x"yes"
11568 then :
11569 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11570 fi } ;;
11571 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11573 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11574 if eval test \${$as_ac_var+y}
11575 then :
11576 printf %s "(cached) " >&6
11577 else $as_nop
11578 ac_wine_try_cflags_saved=$CFLAGS
11579 ac_wine_try_cflags_saved_exeext=$ac_exeext
11580 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11581 ac_exeext=".exe"
11582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11583 /* end confdefs.h. */
11584 int __cdecl mainCRTStartup(void) { return 0; }
11585 _ACEOF
11586 if ac_fn_c_try_link "$LINENO"
11587 then :
11588 eval "$as_ac_var=yes"
11589 else $as_nop
11590 eval "$as_ac_var=no"
11592 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11593 conftest$ac_exeext conftest.$ac_ext
11594 CFLAGS=$ac_wine_try_cflags_saved
11595 ac_exeext=$ac_wine_try_cflags_saved_exeext
11597 eval ac_res=\$$as_ac_var
11598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11599 printf "%s\n" "$ac_res" >&6; }
11600 if eval test \"x\$"$as_ac_var"\" = x"yes"
11601 then :
11602 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11603 fi } ;;
11604 esac
11606 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11608 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11610 printf %s "checking whether $CC supports -Werror... " >&6; }
11611 if eval test \${$as_ac_var+y}
11612 then :
11613 printf %s "(cached) " >&6
11614 else $as_nop
11615 ac_wine_try_cflags_saved=$CFLAGS
11616 ac_wine_try_cflags_saved_exeext=$ac_exeext
11617 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11618 ac_exeext=".exe"
11619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11620 /* end confdefs.h. */
11621 int __cdecl mainCRTStartup(void) { return 0; }
11622 _ACEOF
11623 if ac_fn_c_try_link "$LINENO"
11624 then :
11625 eval "$as_ac_var=yes"
11626 else $as_nop
11627 eval "$as_ac_var=no"
11629 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11630 conftest$ac_exeext conftest.$ac_ext
11631 CFLAGS=$ac_wine_try_cflags_saved
11632 ac_exeext=$ac_wine_try_cflags_saved_exeext
11634 eval ac_res=\$$as_ac_var
11635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11636 printf "%s\n" "$ac_res" >&6; }
11637 if eval test \"x\$"$as_ac_var"\" = x"yes"
11638 then :
11639 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11640 fi }
11641 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11643 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11644 if eval test \${$as_ac_var+y}
11645 then :
11646 printf %s "(cached) " >&6
11647 else $as_nop
11648 ac_wine_try_cflags_saved=$CFLAGS
11649 ac_wine_try_cflags_saved_exeext=$ac_exeext
11650 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11651 ac_exeext=".exe"
11652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11653 /* end confdefs.h. */
11654 int __cdecl mainCRTStartup(void) { return 0; }
11655 _ACEOF
11656 if ac_fn_c_try_link "$LINENO"
11657 then :
11658 eval "$as_ac_var=yes"
11659 else $as_nop
11660 eval "$as_ac_var=no"
11662 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11663 conftest$ac_exeext conftest.$ac_ext
11664 CFLAGS=$ac_wine_try_cflags_saved
11665 ac_exeext=$ac_wine_try_cflags_saved_exeext
11667 eval ac_res=\$$as_ac_var
11668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11669 printf "%s\n" "$ac_res" >&6; }
11670 if eval test \"x\$"$as_ac_var"\" = x"yes"
11671 then :
11672 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11673 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11674 fi }
11676 CC=$saved_CC
11677 CFLAGS=$saved_CFLAGS
11678 LDFLAGS=$saved_LDFLAGS
11679 done
11681 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11682 then
11683 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11686 if test "x$PE_ARCHS" = "x"
11687 then :
11688 case "x$with_mingw" in
11689 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11690 xno) ;;
11691 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11692 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11693 esac
11698 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11699 then
11700 case "$host_cpu" in
11701 i[3456789]86*)
11702 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11704 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11705 esac
11706 for ac_prog in $ac_prefix_list
11708 # Extract the first word of "$ac_prog", so it can be a program name with args.
11709 set dummy $ac_prog; ac_word=$2
11710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11711 printf %s "checking for $ac_word... " >&6; }
11712 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11713 then :
11714 printf %s "(cached) " >&6
11715 else $as_nop
11716 if test -n "$MINGW_PKG_CONFIG"; then
11717 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11718 else
11719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11720 for as_dir in $PATH
11722 IFS=$as_save_IFS
11723 case $as_dir in #(((
11724 '') as_dir=./ ;;
11725 */) ;;
11726 *) as_dir=$as_dir/ ;;
11727 esac
11728 for ac_exec_ext in '' $ac_executable_extensions; do
11729 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11730 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11731 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11732 break 2
11734 done
11735 done
11736 IFS=$as_save_IFS
11740 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11741 if test -n "$MINGW_PKG_CONFIG"; then
11742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11743 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11744 else
11745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11746 printf "%s\n" "no" >&6; }
11750 test -n "$MINGW_PKG_CONFIG" && break
11751 done
11752 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11754 if ${FAUDIO_PE_CFLAGS:+false} :
11755 then :
11756 if test ${MINGW_PKG_CONFIG+y}
11757 then :
11758 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11761 if ${FAUDIO_PE_LIBS:+false} :
11762 then :
11763 if test ${MINGW_PKG_CONFIG+y}
11764 then :
11765 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11768 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11769 ac_save_CPPFLAGS=$CPPFLAGS
11770 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11772 printf %s "checking for MinGW FAudio.h... " >&6; }
11773 if test ${ac_cv_mingw_header_FAudio_h+y}
11774 then :
11775 printf %s "(cached) " >&6
11776 else $as_nop
11777 ac_wine_check_headers_saved_cc=$CC
11778 ac_wine_check_headers_saved_exeext=$ac_exeext
11779 eval CC=\$${wine_arch}_CC
11780 ac_exeext=".exe"
11781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11782 /* end confdefs.h. */
11784 #include <FAudio.h>
11786 main (void)
11790 return 0;
11792 _ACEOF
11793 if ac_fn_c_try_compile "$LINENO"
11794 then :
11795 ac_cv_mingw_header_FAudio_h=yes
11796 else $as_nop
11797 ac_cv_mingw_header_FAudio_h=no
11799 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11800 CC=$ac_wine_check_headers_saved_cc
11801 ac_exeext=$ac_wine_check_headers_saved_exeext
11803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11804 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11805 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11806 then :
11807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11808 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11809 if test ${ac_cv_mingw_lib_FAudio+y}
11810 then :
11811 printf %s "(cached) " >&6
11812 else $as_nop
11813 ac_wine_check_headers_saved_cc=$CC
11814 ac_wine_check_headers_saved_exeext=$ac_exeext
11815 ac_wine_check_headers_saved_libs=$LIBS
11816 eval CC=\$${wine_arch}_CC
11817 ac_exeext=".exe"
11818 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11820 /* end confdefs.h. */
11822 /* Override any GCC internal prototype to avoid an error.
11823 Use char because int might match the return type of a GCC
11824 builtin and then its argument prototype would still apply. */
11825 char FAudio_CommitOperationSet ();
11827 main (void)
11829 return FAudio_CommitOperationSet ();
11831 return 0;
11833 _ACEOF
11834 if ac_fn_c_try_link "$LINENO"
11835 then :
11836 ac_cv_mingw_lib_FAudio=yes
11837 else $as_nop
11838 ac_cv_mingw_lib_FAudio=no
11840 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11841 conftest$ac_exeext conftest.$ac_ext
11842 CC=$ac_wine_check_headers_saved_cc
11843 ac_exeext=$ac_wine_check_headers_saved_exeext
11844 LIBS=$ac_wine_check_headers_saved_libs
11846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11847 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11848 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11849 then :
11851 else $as_nop
11852 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11854 else $as_nop
11855 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11857 CPPFLAGS=$ac_save_CPPFLAGS
11859 if test "x$FAUDIO_PE_LIBS" = "x"
11860 then
11861 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11864 if ${JPEG_PE_CFLAGS:+false} :
11865 then :
11866 if test ${MINGW_PKG_CONFIG+y}
11867 then :
11868 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11871 if ${JPEG_PE_LIBS:+false} :
11872 then :
11873 if test ${MINGW_PKG_CONFIG+y}
11874 then :
11875 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11879 ac_save_CPPFLAGS=$CPPFLAGS
11880 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11882 printf %s "checking for MinGW jpeglib.h... " >&6; }
11883 if test ${ac_cv_mingw_header_jpeglib_h+y}
11884 then :
11885 printf %s "(cached) " >&6
11886 else $as_nop
11887 ac_wine_check_headers_saved_cc=$CC
11888 ac_wine_check_headers_saved_exeext=$ac_exeext
11889 eval CC=\$${wine_arch}_CC
11890 ac_exeext=".exe"
11891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11892 /* end confdefs.h. */
11893 #include <stddef.h>
11894 #include <stdio.h>
11895 #include <jpeglib.h>
11897 main (void)
11901 return 0;
11903 _ACEOF
11904 if ac_fn_c_try_compile "$LINENO"
11905 then :
11906 ac_cv_mingw_header_jpeglib_h=yes
11907 else $as_nop
11908 ac_cv_mingw_header_jpeglib_h=no
11910 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11911 CC=$ac_wine_check_headers_saved_cc
11912 ac_exeext=$ac_wine_check_headers_saved_exeext
11914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11915 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11916 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11917 then :
11918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11919 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11920 if test ${ac_cv_mingw_lib_jpeg+y}
11921 then :
11922 printf %s "(cached) " >&6
11923 else $as_nop
11924 ac_wine_check_headers_saved_cc=$CC
11925 ac_wine_check_headers_saved_exeext=$ac_exeext
11926 ac_wine_check_headers_saved_libs=$LIBS
11927 eval CC=\$${wine_arch}_CC
11928 ac_exeext=".exe"
11929 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11931 /* end confdefs.h. */
11933 /* Override any GCC internal prototype to avoid an error.
11934 Use char because int might match the return type of a GCC
11935 builtin and then its argument prototype would still apply. */
11936 char jpeg_start_decompress ();
11938 main (void)
11940 return jpeg_start_decompress ();
11942 return 0;
11944 _ACEOF
11945 if ac_fn_c_try_link "$LINENO"
11946 then :
11947 ac_cv_mingw_lib_jpeg=yes
11948 else $as_nop
11949 ac_cv_mingw_lib_jpeg=no
11951 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11952 conftest$ac_exeext conftest.$ac_ext
11953 CC=$ac_wine_check_headers_saved_cc
11954 ac_exeext=$ac_wine_check_headers_saved_exeext
11955 LIBS=$ac_wine_check_headers_saved_libs
11957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11958 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11959 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11960 then :
11962 else $as_nop
11963 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11965 else $as_nop
11966 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11968 CPPFLAGS=$ac_save_CPPFLAGS
11970 if test "x$JPEG_PE_LIBS" = "x"
11971 then
11972 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
11975 if ${LCMS2_PE_CFLAGS:+false} :
11976 then :
11977 if test ${MINGW_PKG_CONFIG+y}
11978 then :
11979 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
11982 if ${LCMS2_PE_LIBS:+false} :
11983 then :
11984 if test ${MINGW_PKG_CONFIG+y}
11985 then :
11986 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
11989 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
11990 ac_save_CPPFLAGS=$CPPFLAGS
11991 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
11992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
11993 printf %s "checking for MinGW lcms2.h... " >&6; }
11994 if test ${ac_cv_mingw_header_lcms2_h+y}
11995 then :
11996 printf %s "(cached) " >&6
11997 else $as_nop
11998 ac_wine_check_headers_saved_cc=$CC
11999 ac_wine_check_headers_saved_exeext=$ac_exeext
12000 eval CC=\$${wine_arch}_CC
12001 ac_exeext=".exe"
12002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12003 /* end confdefs.h. */
12005 #include <lcms2.h>
12007 main (void)
12011 return 0;
12013 _ACEOF
12014 if ac_fn_c_try_compile "$LINENO"
12015 then :
12016 ac_cv_mingw_header_lcms2_h=yes
12017 else $as_nop
12018 ac_cv_mingw_header_lcms2_h=no
12020 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12021 CC=$ac_wine_check_headers_saved_cc
12022 ac_exeext=$ac_wine_check_headers_saved_exeext
12024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12025 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12026 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12027 then :
12028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12029 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12030 if test ${ac_cv_mingw_lib_lcms2+y}
12031 then :
12032 printf %s "(cached) " >&6
12033 else $as_nop
12034 ac_wine_check_headers_saved_cc=$CC
12035 ac_wine_check_headers_saved_exeext=$ac_exeext
12036 ac_wine_check_headers_saved_libs=$LIBS
12037 eval CC=\$${wine_arch}_CC
12038 ac_exeext=".exe"
12039 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12041 /* end confdefs.h. */
12043 /* Override any GCC internal prototype to avoid an error.
12044 Use char because int might match the return type of a GCC
12045 builtin and then its argument prototype would still apply. */
12046 char cmsOpenProfileFromFile ();
12048 main (void)
12050 return cmsOpenProfileFromFile ();
12052 return 0;
12054 _ACEOF
12055 if ac_fn_c_try_link "$LINENO"
12056 then :
12057 ac_cv_mingw_lib_lcms2=yes
12058 else $as_nop
12059 ac_cv_mingw_lib_lcms2=no
12061 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12062 conftest$ac_exeext conftest.$ac_ext
12063 CC=$ac_wine_check_headers_saved_cc
12064 ac_exeext=$ac_wine_check_headers_saved_exeext
12065 LIBS=$ac_wine_check_headers_saved_libs
12067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12068 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12069 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12070 then :
12072 else $as_nop
12073 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12075 else $as_nop
12076 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12078 CPPFLAGS=$ac_save_CPPFLAGS
12080 if test "x$LCMS2_PE_LIBS" = "x"
12081 then
12082 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12085 if ${MPG123_PE_CFLAGS:+false} :
12086 then :
12087 if test ${MINGW_PKG_CONFIG+y}
12088 then :
12089 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12092 if ${MPG123_PE_LIBS:+false} :
12093 then :
12094 if test ${MINGW_PKG_CONFIG+y}
12095 then :
12096 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12099 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12100 ac_save_CPPFLAGS=$CPPFLAGS
12101 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12103 printf %s "checking for MinGW mpg123.h... " >&6; }
12104 if test ${ac_cv_mingw_header_mpg123_h+y}
12105 then :
12106 printf %s "(cached) " >&6
12107 else $as_nop
12108 ac_wine_check_headers_saved_cc=$CC
12109 ac_wine_check_headers_saved_exeext=$ac_exeext
12110 eval CC=\$${wine_arch}_CC
12111 ac_exeext=".exe"
12112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12113 /* end confdefs.h. */
12115 #include <mpg123.h>
12117 main (void)
12121 return 0;
12123 _ACEOF
12124 if ac_fn_c_try_compile "$LINENO"
12125 then :
12126 ac_cv_mingw_header_mpg123_h=yes
12127 else $as_nop
12128 ac_cv_mingw_header_mpg123_h=no
12130 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12131 CC=$ac_wine_check_headers_saved_cc
12132 ac_exeext=$ac_wine_check_headers_saved_exeext
12134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12135 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12136 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12137 then :
12138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12139 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12140 if test ${ac_cv_mingw_lib_mpg123+y}
12141 then :
12142 printf %s "(cached) " >&6
12143 else $as_nop
12144 ac_wine_check_headers_saved_cc=$CC
12145 ac_wine_check_headers_saved_exeext=$ac_exeext
12146 ac_wine_check_headers_saved_libs=$LIBS
12147 eval CC=\$${wine_arch}_CC
12148 ac_exeext=".exe"
12149 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12151 /* end confdefs.h. */
12153 /* Override any GCC internal prototype to avoid an error.
12154 Use char because int might match the return type of a GCC
12155 builtin and then its argument prototype would still apply. */
12156 char mpg123_feed ();
12158 main (void)
12160 return mpg123_feed ();
12162 return 0;
12164 _ACEOF
12165 if ac_fn_c_try_link "$LINENO"
12166 then :
12167 ac_cv_mingw_lib_mpg123=yes
12168 else $as_nop
12169 ac_cv_mingw_lib_mpg123=no
12171 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12172 conftest$ac_exeext conftest.$ac_ext
12173 CC=$ac_wine_check_headers_saved_cc
12174 ac_exeext=$ac_wine_check_headers_saved_exeext
12175 LIBS=$ac_wine_check_headers_saved_libs
12177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12178 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12179 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12180 then :
12182 else $as_nop
12183 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12185 else $as_nop
12186 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12188 CPPFLAGS=$ac_save_CPPFLAGS
12190 if test "x$MPG123_PE_LIBS" = "x"
12191 then
12192 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12195 if ${PNG_PE_CFLAGS:+false} :
12196 then :
12197 if test ${MINGW_PKG_CONFIG+y}
12198 then :
12199 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12202 if ${PNG_PE_LIBS:+false} :
12203 then :
12204 if test ${MINGW_PKG_CONFIG+y}
12205 then :
12206 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12210 ac_save_CPPFLAGS=$CPPFLAGS
12211 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12213 printf %s "checking for MinGW png.h... " >&6; }
12214 if test ${ac_cv_mingw_header_png_h+y}
12215 then :
12216 printf %s "(cached) " >&6
12217 else $as_nop
12218 ac_wine_check_headers_saved_cc=$CC
12219 ac_wine_check_headers_saved_exeext=$ac_exeext
12220 eval CC=\$${wine_arch}_CC
12221 ac_exeext=".exe"
12222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12223 /* end confdefs.h. */
12225 #include <png.h>
12227 main (void)
12231 return 0;
12233 _ACEOF
12234 if ac_fn_c_try_compile "$LINENO"
12235 then :
12236 ac_cv_mingw_header_png_h=yes
12237 else $as_nop
12238 ac_cv_mingw_header_png_h=no
12240 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12241 CC=$ac_wine_check_headers_saved_cc
12242 ac_exeext=$ac_wine_check_headers_saved_exeext
12244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12245 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12246 if test "x$ac_cv_mingw_header_png_h" = xyes
12247 then :
12248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12249 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12250 if test ${ac_cv_mingw_lib_png+y}
12251 then :
12252 printf %s "(cached) " >&6
12253 else $as_nop
12254 ac_wine_check_headers_saved_cc=$CC
12255 ac_wine_check_headers_saved_exeext=$ac_exeext
12256 ac_wine_check_headers_saved_libs=$LIBS
12257 eval CC=\$${wine_arch}_CC
12258 ac_exeext=".exe"
12259 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12261 /* end confdefs.h. */
12263 /* Override any GCC internal prototype to avoid an error.
12264 Use char because int might match the return type of a GCC
12265 builtin and then its argument prototype would still apply. */
12266 char png_create_read_struct ();
12268 main (void)
12270 return png_create_read_struct ();
12272 return 0;
12274 _ACEOF
12275 if ac_fn_c_try_link "$LINENO"
12276 then :
12277 ac_cv_mingw_lib_png=yes
12278 else $as_nop
12279 ac_cv_mingw_lib_png=no
12281 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12282 conftest$ac_exeext conftest.$ac_ext
12283 CC=$ac_wine_check_headers_saved_cc
12284 ac_exeext=$ac_wine_check_headers_saved_exeext
12285 LIBS=$ac_wine_check_headers_saved_libs
12287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12288 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12289 if test "x$ac_cv_mingw_lib_png" = xyes
12290 then :
12292 else $as_nop
12293 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12295 else $as_nop
12296 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12298 CPPFLAGS=$ac_save_CPPFLAGS
12300 if test "x$PNG_PE_LIBS" = "x"
12301 then
12302 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12305 if ${TIFF_PE_CFLAGS:+false} :
12306 then :
12307 if test ${MINGW_PKG_CONFIG+y}
12308 then :
12309 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12312 if ${TIFF_PE_LIBS:+false} :
12313 then :
12314 if test ${MINGW_PKG_CONFIG+y}
12315 then :
12316 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12320 ac_save_CPPFLAGS=$CPPFLAGS
12321 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12323 printf %s "checking for MinGW tiffio.h... " >&6; }
12324 if test ${ac_cv_mingw_header_tiffio_h+y}
12325 then :
12326 printf %s "(cached) " >&6
12327 else $as_nop
12328 ac_wine_check_headers_saved_cc=$CC
12329 ac_wine_check_headers_saved_exeext=$ac_exeext
12330 eval CC=\$${wine_arch}_CC
12331 ac_exeext=".exe"
12332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12333 /* end confdefs.h. */
12335 #include <tiffio.h>
12337 main (void)
12341 return 0;
12343 _ACEOF
12344 if ac_fn_c_try_compile "$LINENO"
12345 then :
12346 ac_cv_mingw_header_tiffio_h=yes
12347 else $as_nop
12348 ac_cv_mingw_header_tiffio_h=no
12350 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12351 CC=$ac_wine_check_headers_saved_cc
12352 ac_exeext=$ac_wine_check_headers_saved_exeext
12354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12355 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12356 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12357 then :
12358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12359 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12360 if test ${ac_cv_mingw_lib_tiff+y}
12361 then :
12362 printf %s "(cached) " >&6
12363 else $as_nop
12364 ac_wine_check_headers_saved_cc=$CC
12365 ac_wine_check_headers_saved_exeext=$ac_exeext
12366 ac_wine_check_headers_saved_libs=$LIBS
12367 eval CC=\$${wine_arch}_CC
12368 ac_exeext=".exe"
12369 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12371 /* end confdefs.h. */
12373 /* Override any GCC internal prototype to avoid an error.
12374 Use char because int might match the return type of a GCC
12375 builtin and then its argument prototype would still apply. */
12376 char TIFFClientOpen ();
12378 main (void)
12380 return TIFFClientOpen ();
12382 return 0;
12384 _ACEOF
12385 if ac_fn_c_try_link "$LINENO"
12386 then :
12387 ac_cv_mingw_lib_tiff=yes
12388 else $as_nop
12389 ac_cv_mingw_lib_tiff=no
12391 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12392 conftest$ac_exeext conftest.$ac_ext
12393 CC=$ac_wine_check_headers_saved_cc
12394 ac_exeext=$ac_wine_check_headers_saved_exeext
12395 LIBS=$ac_wine_check_headers_saved_libs
12397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12398 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12399 if test "x$ac_cv_mingw_lib_tiff" = xyes
12400 then :
12402 else $as_nop
12403 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12405 else $as_nop
12406 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12408 CPPFLAGS=$ac_save_CPPFLAGS
12410 if test "x$TIFF_PE_LIBS" = "x"
12411 then
12412 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12415 if ${XML2_PE_CFLAGS:+false} :
12416 then :
12417 if test ${MINGW_PKG_CONFIG+y}
12418 then :
12419 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12422 if ${XML2_PE_LIBS:+false} :
12423 then :
12424 if test ${MINGW_PKG_CONFIG+y}
12425 then :
12426 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12429 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12430 ac_save_CPPFLAGS=$CPPFLAGS
12431 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12433 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12434 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12435 then :
12436 printf %s "(cached) " >&6
12437 else $as_nop
12438 ac_wine_check_headers_saved_cc=$CC
12439 ac_wine_check_headers_saved_exeext=$ac_exeext
12440 eval CC=\$${wine_arch}_CC
12441 ac_exeext=".exe"
12442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12443 /* end confdefs.h. */
12445 #include <libxml/parser.h>
12447 main (void)
12451 return 0;
12453 _ACEOF
12454 if ac_fn_c_try_compile "$LINENO"
12455 then :
12456 ac_cv_mingw_header_libxml_parser_h=yes
12457 else $as_nop
12458 ac_cv_mingw_header_libxml_parser_h=no
12460 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12461 CC=$ac_wine_check_headers_saved_cc
12462 ac_exeext=$ac_wine_check_headers_saved_exeext
12464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12465 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12466 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12467 then :
12470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12471 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12472 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12473 then :
12474 printf %s "(cached) " >&6
12475 else $as_nop
12476 ac_wine_check_headers_saved_cc=$CC
12477 ac_wine_check_headers_saved_exeext=$ac_exeext
12478 eval CC=\$${wine_arch}_CC
12479 ac_exeext=".exe"
12480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12481 /* end confdefs.h. */
12483 #include <libxml/xmlsave.h>
12485 main (void)
12489 return 0;
12491 _ACEOF
12492 if ac_fn_c_try_compile "$LINENO"
12493 then :
12494 ac_cv_mingw_header_libxml_xmlsave_h=yes
12495 else $as_nop
12496 ac_cv_mingw_header_libxml_xmlsave_h=no
12498 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12499 CC=$ac_wine_check_headers_saved_cc
12500 ac_exeext=$ac_wine_check_headers_saved_exeext
12502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12503 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12504 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12505 then :
12508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12509 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12510 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12511 then :
12512 printf %s "(cached) " >&6
12513 else $as_nop
12514 ac_wine_check_headers_saved_cc=$CC
12515 ac_wine_check_headers_saved_exeext=$ac_exeext
12516 eval CC=\$${wine_arch}_CC
12517 ac_exeext=".exe"
12518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12519 /* end confdefs.h. */
12521 #include <libxml/SAX2.h>
12523 main (void)
12527 return 0;
12529 _ACEOF
12530 if ac_fn_c_try_compile "$LINENO"
12531 then :
12532 ac_cv_mingw_header_libxml_SAX2_h=yes
12533 else $as_nop
12534 ac_cv_mingw_header_libxml_SAX2_h=no
12536 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12537 CC=$ac_wine_check_headers_saved_cc
12538 ac_exeext=$ac_wine_check_headers_saved_exeext
12540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12541 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12542 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12543 then :
12546 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"
12547 then
12548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12549 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12550 if test ${ac_cv_mingw_lib_xml2+y}
12551 then :
12552 printf %s "(cached) " >&6
12553 else $as_nop
12554 ac_wine_check_headers_saved_cc=$CC
12555 ac_wine_check_headers_saved_exeext=$ac_exeext
12556 ac_wine_check_headers_saved_libs=$LIBS
12557 eval CC=\$${wine_arch}_CC
12558 ac_exeext=".exe"
12559 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12561 /* end confdefs.h. */
12563 /* Override any GCC internal prototype to avoid an error.
12564 Use char because int might match the return type of a GCC
12565 builtin and then its argument prototype would still apply. */
12566 char xmlFirstElementChild ();
12568 main (void)
12570 return xmlFirstElementChild ();
12572 return 0;
12574 _ACEOF
12575 if ac_fn_c_try_link "$LINENO"
12576 then :
12577 ac_cv_mingw_lib_xml2=yes
12578 else $as_nop
12579 ac_cv_mingw_lib_xml2=no
12581 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12582 conftest$ac_exeext conftest.$ac_ext
12583 CC=$ac_wine_check_headers_saved_cc
12584 ac_exeext=$ac_wine_check_headers_saved_exeext
12585 LIBS=$ac_wine_check_headers_saved_libs
12587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12588 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12589 if test "x$ac_cv_mingw_lib_xml2" = xyes
12590 then :
12592 else $as_nop
12593 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12595 else
12596 XML2_PE_CFLAGS=""
12597 XML2_PE_LIBS=""
12599 CPPFLAGS=$ac_save_CPPFLAGS
12601 if test "x$XML2_PE_LIBS" = "x"
12602 then
12603 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12606 if ${XSLT_PE_CFLAGS:+false} :
12607 then :
12608 if test ${MINGW_PKG_CONFIG+y}
12609 then :
12610 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12613 if ${XSLT_PE_LIBS:+false} :
12614 then :
12615 if test ${MINGW_PKG_CONFIG+y}
12616 then :
12617 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12620 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12621 ac_save_CPPFLAGS=$CPPFLAGS
12622 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12624 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12625 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12626 then :
12627 printf %s "(cached) " >&6
12628 else $as_nop
12629 ac_wine_check_headers_saved_cc=$CC
12630 ac_wine_check_headers_saved_exeext=$ac_exeext
12631 eval CC=\$${wine_arch}_CC
12632 ac_exeext=".exe"
12633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12634 /* end confdefs.h. */
12636 #include <libxslt/pattern.h>
12638 main (void)
12642 return 0;
12644 _ACEOF
12645 if ac_fn_c_try_compile "$LINENO"
12646 then :
12647 ac_cv_mingw_header_libxslt_pattern_h=yes
12648 else $as_nop
12649 ac_cv_mingw_header_libxslt_pattern_h=no
12651 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12652 CC=$ac_wine_check_headers_saved_cc
12653 ac_exeext=$ac_wine_check_headers_saved_exeext
12655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12656 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12657 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12658 then :
12661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12662 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12663 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12664 then :
12665 printf %s "(cached) " >&6
12666 else $as_nop
12667 ac_wine_check_headers_saved_cc=$CC
12668 ac_wine_check_headers_saved_exeext=$ac_exeext
12669 eval CC=\$${wine_arch}_CC
12670 ac_exeext=".exe"
12671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12672 /* end confdefs.h. */
12674 #include <libxslt/transform.h>
12676 main (void)
12680 return 0;
12682 _ACEOF
12683 if ac_fn_c_try_compile "$LINENO"
12684 then :
12685 ac_cv_mingw_header_libxslt_transform_h=yes
12686 else $as_nop
12687 ac_cv_mingw_header_libxslt_transform_h=no
12689 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12690 CC=$ac_wine_check_headers_saved_cc
12691 ac_exeext=$ac_wine_check_headers_saved_exeext
12693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12694 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12695 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12696 then :
12699 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12700 then
12701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12702 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12703 if test ${ac_cv_mingw_lib_xslt+y}
12704 then :
12705 printf %s "(cached) " >&6
12706 else $as_nop
12707 ac_wine_check_headers_saved_cc=$CC
12708 ac_wine_check_headers_saved_exeext=$ac_exeext
12709 ac_wine_check_headers_saved_libs=$LIBS
12710 eval CC=\$${wine_arch}_CC
12711 ac_exeext=".exe"
12712 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12714 /* end confdefs.h. */
12716 /* Override any GCC internal prototype to avoid an error.
12717 Use char because int might match the return type of a GCC
12718 builtin and then its argument prototype would still apply. */
12719 char xsltCompilePattern ();
12721 main (void)
12723 return xsltCompilePattern ();
12725 return 0;
12727 _ACEOF
12728 if ac_fn_c_try_link "$LINENO"
12729 then :
12730 ac_cv_mingw_lib_xslt=yes
12731 else $as_nop
12732 ac_cv_mingw_lib_xslt=no
12734 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12735 conftest$ac_exeext conftest.$ac_ext
12736 CC=$ac_wine_check_headers_saved_cc
12737 ac_exeext=$ac_wine_check_headers_saved_exeext
12738 LIBS=$ac_wine_check_headers_saved_libs
12740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12741 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12742 if test "x$ac_cv_mingw_lib_xslt" = xyes
12743 then :
12745 else $as_nop
12746 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12748 else
12749 XSLT_PE_CFLAGS=""
12750 XSLT_PE_LIBS=""
12752 CPPFLAGS=$ac_save_CPPFLAGS
12754 if test "x$XSLT_PE_LIBS" = "x"
12755 then
12756 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12759 if ${VKD3D_PE_CFLAGS:+false} :
12760 then :
12761 if test ${MINGW_PKG_CONFIG+y}
12762 then :
12763 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12766 if ${VKD3D_PE_LIBS:+false} :
12767 then :
12768 if test ${MINGW_PKG_CONFIG+y}
12769 then :
12770 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12773 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12774 ac_save_CPPFLAGS=$CPPFLAGS
12775 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12777 printf %s "checking for MinGW vkd3d.h... " >&6; }
12778 if test ${ac_cv_mingw_header_vkd3d_h+y}
12779 then :
12780 printf %s "(cached) " >&6
12781 else $as_nop
12782 ac_wine_check_headers_saved_cc=$CC
12783 ac_wine_check_headers_saved_exeext=$ac_exeext
12784 eval CC=\$${wine_arch}_CC
12785 ac_exeext=".exe"
12786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12787 /* end confdefs.h. */
12789 #include <vkd3d.h>
12791 main (void)
12795 return 0;
12797 _ACEOF
12798 if ac_fn_c_try_compile "$LINENO"
12799 then :
12800 ac_cv_mingw_header_vkd3d_h=yes
12801 else $as_nop
12802 ac_cv_mingw_header_vkd3d_h=no
12804 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12805 CC=$ac_wine_check_headers_saved_cc
12806 ac_exeext=$ac_wine_check_headers_saved_exeext
12808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12809 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12810 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12811 then :
12814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12815 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12816 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12817 then :
12818 printf %s "(cached) " >&6
12819 else $as_nop
12820 ac_wine_check_headers_saved_cc=$CC
12821 ac_wine_check_headers_saved_exeext=$ac_exeext
12822 eval CC=\$${wine_arch}_CC
12823 ac_exeext=".exe"
12824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12825 /* end confdefs.h. */
12827 #include <vkd3d_shader.h>
12829 main (void)
12833 return 0;
12835 _ACEOF
12836 if ac_fn_c_try_compile "$LINENO"
12837 then :
12838 ac_cv_mingw_header_vkd3d_shader_h=yes
12839 else $as_nop
12840 ac_cv_mingw_header_vkd3d_shader_h=no
12842 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12843 CC=$ac_wine_check_headers_saved_cc
12844 ac_exeext=$ac_wine_check_headers_saved_exeext
12846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12847 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12848 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12849 then :
12852 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12853 then
12854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12855 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12856 if test ${ac_cv_mingw_lib_vkd3d+y}
12857 then :
12858 printf %s "(cached) " >&6
12859 else $as_nop
12860 ac_wine_check_headers_saved_cc=$CC
12861 ac_wine_check_headers_saved_exeext=$ac_exeext
12862 ac_wine_check_headers_saved_libs=$LIBS
12863 eval CC=\$${wine_arch}_CC
12864 ac_exeext=".exe"
12865 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12867 /* end confdefs.h. */
12869 /* Override any GCC internal prototype to avoid an error.
12870 Use char because int might match the return type of a GCC
12871 builtin and then its argument prototype would still apply. */
12872 char vkd3d_set_log_callback ();
12874 main (void)
12876 return vkd3d_set_log_callback ();
12878 return 0;
12880 _ACEOF
12881 if ac_fn_c_try_link "$LINENO"
12882 then :
12883 ac_cv_mingw_lib_vkd3d=yes
12884 else $as_nop
12885 ac_cv_mingw_lib_vkd3d=no
12887 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12888 conftest$ac_exeext conftest.$ac_ext
12889 CC=$ac_wine_check_headers_saved_cc
12890 ac_exeext=$ac_wine_check_headers_saved_exeext
12891 LIBS=$ac_wine_check_headers_saved_libs
12893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12894 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12895 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12896 then :
12898 else $as_nop
12901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
12902 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
12903 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12904 then :
12905 printf %s "(cached) " >&6
12906 else $as_nop
12907 ac_wine_check_headers_saved_cc=$CC
12908 ac_wine_check_headers_saved_exeext=$ac_exeext
12909 ac_wine_check_headers_saved_libs=$LIBS
12910 eval CC=\$${wine_arch}_CC
12911 ac_exeext=".exe"
12912 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12914 /* end confdefs.h. */
12916 /* Override any GCC internal prototype to avoid an error.
12917 Use char because int might match the return type of a GCC
12918 builtin and then its argument prototype would still apply. */
12919 char vkd3d_shader_serialize_dxbc ();
12921 main (void)
12923 return vkd3d_shader_serialize_dxbc ();
12925 return 0;
12927 _ACEOF
12928 if ac_fn_c_try_link "$LINENO"
12929 then :
12930 ac_cv_mingw_lib_vkd3d_shader=yes
12931 else $as_nop
12932 ac_cv_mingw_lib_vkd3d_shader=no
12934 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12935 conftest$ac_exeext conftest.$ac_ext
12936 CC=$ac_wine_check_headers_saved_cc
12937 ac_exeext=$ac_wine_check_headers_saved_exeext
12938 LIBS=$ac_wine_check_headers_saved_libs
12940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12941 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12942 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12943 then :
12945 else $as_nop
12948 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12949 then
12950 VKD3D_PE_CFLAGS=""
12951 VKD3D_PE_LIBS=""
12953 else
12954 VKD3D_PE_CFLAGS=""
12955 VKD3D_PE_LIBS=""
12957 CPPFLAGS=$ac_save_CPPFLAGS
12959 if test "x$VKD3D_PE_LIBS" = "x"
12960 then
12961 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12964 if ${ZLIB_PE_CFLAGS:+false} :
12965 then :
12966 if test ${MINGW_PKG_CONFIG+y}
12967 then :
12968 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
12971 if ${ZLIB_PE_LIBS:+false} :
12972 then :
12973 if test ${MINGW_PKG_CONFIG+y}
12974 then :
12975 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
12978 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
12979 ac_save_CPPFLAGS=$CPPFLAGS
12980 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
12981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
12982 printf %s "checking for MinGW zlib.h... " >&6; }
12983 if test ${ac_cv_mingw_header_zlib_h+y}
12984 then :
12985 printf %s "(cached) " >&6
12986 else $as_nop
12987 ac_wine_check_headers_saved_cc=$CC
12988 ac_wine_check_headers_saved_exeext=$ac_exeext
12989 eval CC=\$${wine_arch}_CC
12990 ac_exeext=".exe"
12991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12992 /* end confdefs.h. */
12994 #include <zlib.h>
12996 main (void)
13000 return 0;
13002 _ACEOF
13003 if ac_fn_c_try_compile "$LINENO"
13004 then :
13005 ac_cv_mingw_header_zlib_h=yes
13006 else $as_nop
13007 ac_cv_mingw_header_zlib_h=no
13009 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13010 CC=$ac_wine_check_headers_saved_cc
13011 ac_exeext=$ac_wine_check_headers_saved_exeext
13013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13014 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13015 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13016 then :
13017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13018 printf %s "checking for inflate in MinGW -lz... " >&6; }
13019 if test ${ac_cv_mingw_lib_z+y}
13020 then :
13021 printf %s "(cached) " >&6
13022 else $as_nop
13023 ac_wine_check_headers_saved_cc=$CC
13024 ac_wine_check_headers_saved_exeext=$ac_exeext
13025 ac_wine_check_headers_saved_libs=$LIBS
13026 eval CC=\$${wine_arch}_CC
13027 ac_exeext=".exe"
13028 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13030 /* end confdefs.h. */
13032 /* Override any GCC internal prototype to avoid an error.
13033 Use char because int might match the return type of a GCC
13034 builtin and then its argument prototype would still apply. */
13035 char inflate ();
13037 main (void)
13039 return inflate ();
13041 return 0;
13043 _ACEOF
13044 if ac_fn_c_try_link "$LINENO"
13045 then :
13046 ac_cv_mingw_lib_z=yes
13047 else $as_nop
13048 ac_cv_mingw_lib_z=no
13050 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13051 conftest$ac_exeext conftest.$ac_ext
13052 CC=$ac_wine_check_headers_saved_cc
13053 ac_exeext=$ac_wine_check_headers_saved_exeext
13054 LIBS=$ac_wine_check_headers_saved_libs
13056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13057 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13058 if test "x$ac_cv_mingw_lib_z" = xyes
13059 then :
13061 else $as_nop
13062 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13064 else $as_nop
13065 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13067 CPPFLAGS=$ac_save_CPPFLAGS
13069 if test "x$ZLIB_PE_LIBS" = "x"
13070 then
13071 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13075 if ${FAUDIO_PE_LIBS:+false} :
13076 then :
13077 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13078 if ${FAUDIO_PE_CFLAGS:+false} :
13079 then :
13080 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13081 else $as_nop
13082 enable_faudio=no
13084 else $as_nop
13085 enable_faudio=no
13087 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13088 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13090 if ${GSM_PE_LIBS:+false} :
13091 then :
13092 GSM_PE_LIBS=gsm
13093 if ${GSM_PE_CFLAGS:+false} :
13094 then :
13095 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13096 else $as_nop
13097 enable_gsm=no
13099 else $as_nop
13100 enable_gsm=no
13102 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13103 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13105 if ${JPEG_PE_LIBS:+false} :
13106 then :
13107 JPEG_PE_LIBS=jpeg
13108 if ${JPEG_PE_CFLAGS:+false} :
13109 then :
13110 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13111 else $as_nop
13112 enable_jpeg=no
13114 else $as_nop
13115 enable_jpeg=no
13117 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13118 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13120 if ${JXR_PE_LIBS:+false} :
13121 then :
13122 JXR_PE_LIBS=jxr
13123 if ${JXR_PE_CFLAGS:+false} :
13124 then :
13125 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13126 else $as_nop
13127 enable_jxr=no
13129 else $as_nop
13130 enable_jxr=no
13132 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13133 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13135 if ${LCMS2_PE_LIBS:+false} :
13136 then :
13137 LCMS2_PE_LIBS=lcms2
13138 if ${LCMS2_PE_CFLAGS:+false} :
13139 then :
13140 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13141 else $as_nop
13142 enable_lcms2=no
13144 else $as_nop
13145 enable_lcms2=no
13147 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13148 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13150 if ${LDAP_PE_LIBS:+false} :
13151 then :
13152 LDAP_PE_LIBS=ldap
13153 if ${LDAP_PE_CFLAGS:+false} :
13154 then :
13155 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13156 else $as_nop
13157 enable_ldap=no
13159 else $as_nop
13160 enable_ldap=no
13162 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13163 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13165 if ${MPG123_PE_LIBS:+false} :
13166 then :
13167 MPG123_PE_LIBS=mpg123
13168 if ${MPG123_PE_CFLAGS:+false} :
13169 then :
13170 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13171 else $as_nop
13172 enable_mpg123=no
13174 else $as_nop
13175 enable_mpg123=no
13177 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13178 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13180 if ${MUSL_PE_LIBS:+false} :
13181 then :
13182 MUSL_PE_LIBS=musl
13183 if ${MUSL_PE_CFLAGS:+false} :
13184 then :
13185 MUSL_PE_CFLAGS=
13186 else $as_nop
13187 enable_musl=no
13189 else $as_nop
13190 enable_musl=no
13192 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13193 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13195 if ${PNG_PE_LIBS:+false} :
13196 then :
13197 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13198 if ${PNG_PE_CFLAGS:+false} :
13199 then :
13200 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13201 else $as_nop
13202 enable_png=no
13204 else $as_nop
13205 enable_png=no
13207 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13208 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13210 if ${TIFF_PE_LIBS:+false} :
13211 then :
13212 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13213 if ${TIFF_PE_CFLAGS:+false} :
13214 then :
13215 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13216 else $as_nop
13217 enable_tiff=no
13219 else $as_nop
13220 enable_tiff=no
13222 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13223 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13225 if ${VKD3D_PE_LIBS:+false} :
13226 then :
13227 VKD3D_PE_LIBS=vkd3d
13228 if ${VKD3D_PE_CFLAGS:+false} :
13229 then :
13230 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13231 else $as_nop
13232 enable_vkd3d=no
13234 else $as_nop
13235 enable_vkd3d=no
13237 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13238 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13240 if ${XML2_PE_LIBS:+false} :
13241 then :
13242 XML2_PE_LIBS=xml2
13243 if ${XML2_PE_CFLAGS:+false} :
13244 then :
13245 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13246 else $as_nop
13247 enable_xml2=no
13249 else $as_nop
13250 enable_xml2=no
13252 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13253 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13255 if ${XSLT_PE_LIBS:+false} :
13256 then :
13257 XSLT_PE_LIBS=xslt
13258 if ${XSLT_PE_CFLAGS:+false} :
13259 then :
13260 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13261 else $as_nop
13262 enable_xslt=no
13264 else $as_nop
13265 enable_xslt=no
13267 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13268 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13270 if ${ZLIB_PE_LIBS:+false} :
13271 then :
13272 ZLIB_PE_LIBS=z
13273 if ${ZLIB_PE_CFLAGS:+false} :
13274 then :
13275 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13276 else $as_nop
13277 enable_zlib=no
13279 else $as_nop
13280 enable_zlib=no
13282 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13283 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13285 if ${ZYDIS_PE_LIBS:+false} :
13286 then :
13287 ZYDIS_PE_LIBS=zydis
13288 if ${ZYDIS_PE_CFLAGS:+false} :
13289 then :
13290 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13291 else $as_nop
13292 enable_zydis=no
13294 else $as_nop
13295 enable_zydis=no
13297 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13298 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13302 if test "$ac_cv_header_pthread_h" = "yes"
13303 then
13304 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13305 if test "x$ac_cv_func_pthread_create" = xyes
13306 then :
13308 else $as_nop
13309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13310 printf %s "checking for pthread_create in -lpthread... " >&6; }
13311 if test ${ac_cv_lib_pthread_pthread_create+y}
13312 then :
13313 printf %s "(cached) " >&6
13314 else $as_nop
13315 ac_check_lib_save_LIBS=$LIBS
13316 LIBS="-lpthread $LIBS"
13317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13318 /* end confdefs.h. */
13320 /* Override any GCC internal prototype to avoid an error.
13321 Use char because int might match the return type of a GCC
13322 builtin and then its argument prototype would still apply. */
13323 char pthread_create ();
13325 main (void)
13327 return pthread_create ();
13329 return 0;
13331 _ACEOF
13332 if ac_fn_c_try_link "$LINENO"
13333 then :
13334 ac_cv_lib_pthread_pthread_create=yes
13335 else $as_nop
13336 ac_cv_lib_pthread_pthread_create=no
13338 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13339 conftest$ac_exeext conftest.$ac_ext
13340 LIBS=$ac_check_lib_save_LIBS
13342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13343 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13344 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13345 then :
13346 PTHREAD_LIBS="-lpthread"
13353 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13354 then :
13355 case "x$with_pthread" in
13356 xno) ;;
13357 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13358 Wine cannot support threads without libpthread.
13359 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13360 esac
13365 ac_ext=c
13366 ac_cpp='$CPP $CPPFLAGS'
13367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13371 printf %s "checking how to run the C preprocessor... " >&6; }
13372 # On Suns, sometimes $CPP names a directory.
13373 if test -n "$CPP" && test -d "$CPP"; then
13374 CPP=
13376 if test -z "$CPP"; then
13377 if test ${ac_cv_prog_CPP+y}
13378 then :
13379 printf %s "(cached) " >&6
13380 else $as_nop
13381 # Double quotes because $CC needs to be expanded
13382 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13384 ac_preproc_ok=false
13385 for ac_c_preproc_warn_flag in '' yes
13387 # Use a header file that comes with gcc, so configuring glibc
13388 # with a fresh cross-compiler works.
13389 # On the NeXT, cc -E runs the code through the compiler's parser,
13390 # not just through cpp. "Syntax error" is here to catch this case.
13391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13392 /* end confdefs.h. */
13393 #include <limits.h>
13394 Syntax error
13395 _ACEOF
13396 if ac_fn_c_try_cpp "$LINENO"
13397 then :
13399 else $as_nop
13400 # Broken: fails on valid input.
13401 continue
13403 rm -f conftest.err conftest.i conftest.$ac_ext
13405 # OK, works on sane cases. Now check whether nonexistent headers
13406 # can be detected and how.
13407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13408 /* end confdefs.h. */
13409 #include <ac_nonexistent.h>
13410 _ACEOF
13411 if ac_fn_c_try_cpp "$LINENO"
13412 then :
13413 # Broken: success on invalid input.
13414 continue
13415 else $as_nop
13416 # Passes both tests.
13417 ac_preproc_ok=:
13418 break
13420 rm -f conftest.err conftest.i conftest.$ac_ext
13422 done
13423 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13424 rm -f conftest.i conftest.err conftest.$ac_ext
13425 if $ac_preproc_ok
13426 then :
13427 break
13430 done
13431 ac_cv_prog_CPP=$CPP
13434 CPP=$ac_cv_prog_CPP
13435 else
13436 ac_cv_prog_CPP=$CPP
13438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13439 printf "%s\n" "$CPP" >&6; }
13440 ac_preproc_ok=false
13441 for ac_c_preproc_warn_flag in '' yes
13443 # Use a header file that comes with gcc, so configuring glibc
13444 # with a fresh cross-compiler works.
13445 # On the NeXT, cc -E runs the code through the compiler's parser,
13446 # not just through cpp. "Syntax error" is here to catch this case.
13447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13448 /* end confdefs.h. */
13449 #include <limits.h>
13450 Syntax error
13451 _ACEOF
13452 if ac_fn_c_try_cpp "$LINENO"
13453 then :
13455 else $as_nop
13456 # Broken: fails on valid input.
13457 continue
13459 rm -f conftest.err conftest.i conftest.$ac_ext
13461 # OK, works on sane cases. Now check whether nonexistent headers
13462 # can be detected and how.
13463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13464 /* end confdefs.h. */
13465 #include <ac_nonexistent.h>
13466 _ACEOF
13467 if ac_fn_c_try_cpp "$LINENO"
13468 then :
13469 # Broken: success on invalid input.
13470 continue
13471 else $as_nop
13472 # Passes both tests.
13473 ac_preproc_ok=:
13474 break
13476 rm -f conftest.err conftest.i conftest.$ac_ext
13478 done
13479 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13480 rm -f conftest.i conftest.err conftest.$ac_ext
13481 if $ac_preproc_ok
13482 then :
13484 else $as_nop
13485 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13486 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13487 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13488 See \`config.log' for more details" "$LINENO" 5; }
13491 ac_ext=c
13492 ac_cpp='$CPP $CPPFLAGS'
13493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13499 printf %s "checking for X... " >&6; }
13502 # Check whether --with-x was given.
13503 if test ${with_x+y}
13504 then :
13505 withval=$with_x;
13508 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13509 if test "x$with_x" = xno; then
13510 # The user explicitly disabled X.
13511 have_x=disabled
13512 else
13513 case $x_includes,$x_libraries in #(
13514 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13515 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13516 then :
13517 printf %s "(cached) " >&6
13518 else $as_nop
13519 # One or both of the vars are not set, and there is no cached value.
13520 ac_x_includes=no
13521 ac_x_libraries=no
13522 # Do we need to do anything special at all?
13523 ac_save_LIBS=$LIBS
13524 LIBS="-lX11 $LIBS"
13525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13526 /* end confdefs.h. */
13527 #include <X11/Xlib.h>
13529 main (void)
13531 XrmInitialize ()
13533 return 0;
13535 _ACEOF
13536 if ac_fn_c_try_link "$LINENO"
13537 then :
13538 # We can compile and link X programs with no special options.
13539 ac_x_includes=
13540 ac_x_libraries=
13542 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13543 conftest$ac_exeext conftest.$ac_ext
13544 LIBS="$ac_save_LIBS"
13545 # If that didn't work, only try xmkmf and file system searches
13546 # for native compilation.
13547 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13548 then :
13549 rm -f -r conftest.dir
13550 if mkdir conftest.dir; then
13551 cd conftest.dir
13552 cat >Imakefile <<'_ACEOF'
13553 incroot:
13554 @echo incroot='${INCROOT}'
13555 usrlibdir:
13556 @echo usrlibdir='${USRLIBDIR}'
13557 libdir:
13558 @echo libdir='${LIBDIR}'
13559 _ACEOF
13560 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13561 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13562 for ac_var in incroot usrlibdir libdir; do
13563 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13564 done
13565 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13566 for ac_extension in a so sl dylib la dll; do
13567 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13568 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13569 ac_im_usrlibdir=$ac_im_libdir; break
13571 done
13572 # Screen out bogus values from the imake configuration. They are
13573 # bogus both because they are the default anyway, and because
13574 # using them would break gcc on systems where it needs fixed includes.
13575 case $ac_im_incroot in
13576 /usr/include) ac_x_includes= ;;
13577 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13578 esac
13579 case $ac_im_usrlibdir in
13580 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13581 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13582 esac
13584 cd ..
13585 rm -f -r conftest.dir
13588 # Standard set of common directories for X headers.
13589 # Check X11 before X11Rn because it is often a symlink to the current release.
13590 ac_x_header_dirs='
13591 /usr/X11/include
13592 /usr/X11R7/include
13593 /usr/X11R6/include
13594 /usr/X11R5/include
13595 /usr/X11R4/include
13597 /usr/include/X11
13598 /usr/include/X11R7
13599 /usr/include/X11R6
13600 /usr/include/X11R5
13601 /usr/include/X11R4
13603 /usr/local/X11/include
13604 /usr/local/X11R7/include
13605 /usr/local/X11R6/include
13606 /usr/local/X11R5/include
13607 /usr/local/X11R4/include
13609 /usr/local/include/X11
13610 /usr/local/include/X11R7
13611 /usr/local/include/X11R6
13612 /usr/local/include/X11R5
13613 /usr/local/include/X11R4
13615 /opt/X11/include
13617 /usr/X386/include
13618 /usr/x386/include
13619 /usr/XFree86/include/X11
13621 /usr/include
13622 /usr/local/include
13623 /usr/unsupported/include
13624 /usr/athena/include
13625 /usr/local/x11r5/include
13626 /usr/lpp/Xamples/include
13628 /usr/openwin/include
13629 /usr/openwin/share/include'
13631 if test "$ac_x_includes" = no; then
13632 # Guess where to find include files, by looking for Xlib.h.
13633 # First, try using that file with no special directory specified.
13634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13635 /* end confdefs.h. */
13636 #include <X11/Xlib.h>
13637 _ACEOF
13638 if ac_fn_c_try_cpp "$LINENO"
13639 then :
13640 # We can compile using X headers with no special include directory.
13641 ac_x_includes=
13642 else $as_nop
13643 for ac_dir in $ac_x_header_dirs; do
13644 if test -r "$ac_dir/X11/Xlib.h"; then
13645 ac_x_includes=$ac_dir
13646 break
13648 done
13650 rm -f conftest.err conftest.i conftest.$ac_ext
13651 fi # $ac_x_includes = no
13653 if test "$ac_x_libraries" = no; then
13654 # Check for the libraries.
13655 # See if we find them without any special options.
13656 # Don't add to $LIBS permanently.
13657 ac_save_LIBS=$LIBS
13658 LIBS="-lX11 $LIBS"
13659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13660 /* end confdefs.h. */
13661 #include <X11/Xlib.h>
13663 main (void)
13665 XrmInitialize ()
13667 return 0;
13669 _ACEOF
13670 if ac_fn_c_try_link "$LINENO"
13671 then :
13672 LIBS=$ac_save_LIBS
13673 # We can link X programs with no special library path.
13674 ac_x_libraries=
13675 else $as_nop
13676 LIBS=$ac_save_LIBS
13677 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13679 # Don't even attempt the hair of trying to link an X program!
13680 for ac_extension in a so sl dylib la dll; do
13681 if test -r "$ac_dir/libX11.$ac_extension"; then
13682 ac_x_libraries=$ac_dir
13683 break 2
13685 done
13686 done
13688 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13689 conftest$ac_exeext conftest.$ac_ext
13690 fi # $ac_x_libraries = no
13693 # Record the results.
13694 case $ac_x_includes,$ac_x_libraries in #(
13695 no,* | *,no | *\'*) :
13696 # Didn't find X, or a directory has "'" in its name.
13697 ac_cv_have_x="have_x=no" ;; #(
13698 *) :
13699 # Record where we found X for the cache.
13700 ac_cv_have_x="have_x=yes\
13701 ac_x_includes='$ac_x_includes'\
13702 ac_x_libraries='$ac_x_libraries'" ;;
13703 esac
13705 ;; #(
13706 *) have_x=yes;;
13707 esac
13708 eval "$ac_cv_have_x"
13709 fi # $with_x != no
13711 if test "$have_x" != yes; then
13712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13713 printf "%s\n" "$have_x" >&6; }
13714 no_x=yes
13715 else
13716 # If each of the values was on the command line, it overrides each guess.
13717 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13718 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13719 # Update the cache value to reflect the command line values.
13720 ac_cv_have_x="have_x=yes\
13721 ac_x_includes='$x_includes'\
13722 ac_x_libraries='$x_libraries'"
13723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13724 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13727 if test "$no_x" = yes; then
13728 # Not all programs may use this symbol, but it does not hurt to define it.
13730 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13732 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13733 else
13734 if test -n "$x_includes"; then
13735 X_CFLAGS="$X_CFLAGS -I$x_includes"
13738 # It would also be nice to do this for all -L options, not just this one.
13739 if test -n "$x_libraries"; then
13740 X_LIBS="$X_LIBS -L$x_libraries"
13741 # For Solaris; some versions of Sun CC require a space after -R and
13742 # others require no space. Words are not sufficient . . . .
13743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13744 printf %s "checking whether -R must be followed by a space... " >&6; }
13745 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13746 ac_xsave_c_werror_flag=$ac_c_werror_flag
13747 ac_c_werror_flag=yes
13748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13749 /* end confdefs.h. */
13752 main (void)
13756 return 0;
13758 _ACEOF
13759 if ac_fn_c_try_link "$LINENO"
13760 then :
13761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13762 printf "%s\n" "no" >&6; }
13763 X_LIBS="$X_LIBS -R$x_libraries"
13764 else $as_nop
13765 LIBS="$ac_xsave_LIBS -R $x_libraries"
13766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13767 /* end confdefs.h. */
13770 main (void)
13774 return 0;
13776 _ACEOF
13777 if ac_fn_c_try_link "$LINENO"
13778 then :
13779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13780 printf "%s\n" "yes" >&6; }
13781 X_LIBS="$X_LIBS -R $x_libraries"
13782 else $as_nop
13783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13784 printf "%s\n" "neither works" >&6; }
13786 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13787 conftest$ac_exeext conftest.$ac_ext
13789 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13790 conftest$ac_exeext conftest.$ac_ext
13791 ac_c_werror_flag=$ac_xsave_c_werror_flag
13792 LIBS=$ac_xsave_LIBS
13795 # Check for system-dependent libraries X programs must link with.
13796 # Do this before checking for the system-independent R6 libraries
13797 # (-lICE), since we may need -lsocket or whatever for X linking.
13799 if test "$ISC" = yes; then
13800 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13801 else
13802 # Martyn Johnson says this is needed for Ultrix, if the X
13803 # libraries were built with DECnet support. And Karl Berry says
13804 # the Alpha needs dnet_stub (dnet does not exist).
13805 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13807 /* end confdefs.h. */
13809 /* Override any GCC internal prototype to avoid an error.
13810 Use char because int might match the return type of a GCC
13811 builtin and then its argument prototype would still apply. */
13812 char XOpenDisplay ();
13814 main (void)
13816 return XOpenDisplay ();
13818 return 0;
13820 _ACEOF
13821 if ac_fn_c_try_link "$LINENO"
13822 then :
13824 else $as_nop
13825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13826 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13827 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13828 then :
13829 printf %s "(cached) " >&6
13830 else $as_nop
13831 ac_check_lib_save_LIBS=$LIBS
13832 LIBS="-ldnet $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_dnet_ntoa=yes
13851 else $as_nop
13852 ac_cv_lib_dnet_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_dnet_ntoa" >&5
13859 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13860 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13861 then :
13862 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13865 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13867 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13868 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13869 then :
13870 printf %s "(cached) " >&6
13871 else $as_nop
13872 ac_check_lib_save_LIBS=$LIBS
13873 LIBS="-ldnet_stub $LIBS"
13874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13875 /* end confdefs.h. */
13877 /* Override any GCC internal prototype to avoid an error.
13878 Use char because int might match the return type of a GCC
13879 builtin and then its argument prototype would still apply. */
13880 char dnet_ntoa ();
13882 main (void)
13884 return dnet_ntoa ();
13886 return 0;
13888 _ACEOF
13889 if ac_fn_c_try_link "$LINENO"
13890 then :
13891 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13892 else $as_nop
13893 ac_cv_lib_dnet_stub_dnet_ntoa=no
13895 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13896 conftest$ac_exeext conftest.$ac_ext
13897 LIBS=$ac_check_lib_save_LIBS
13899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13900 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13901 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13902 then :
13903 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13908 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13909 conftest$ac_exeext conftest.$ac_ext
13910 LIBS="$ac_xsave_LIBS"
13912 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13913 # to get the SysV transport functions.
13914 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13915 # needs -lnsl.
13916 # The nsl library prevents programs from opening the X display
13917 # on Irix 5.2, according to T.E. Dickey.
13918 # The functions gethostbyname, getservbyname, and inet_addr are
13919 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13920 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13921 if test "x$ac_cv_func_gethostbyname" = xyes
13922 then :
13926 if test $ac_cv_func_gethostbyname = no; then
13927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13928 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13929 if test ${ac_cv_lib_nsl_gethostbyname+y}
13930 then :
13931 printf %s "(cached) " >&6
13932 else $as_nop
13933 ac_check_lib_save_LIBS=$LIBS
13934 LIBS="-lnsl $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_nsl_gethostbyname=yes
13953 else $as_nop
13954 ac_cv_lib_nsl_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_nsl_gethostbyname" >&5
13961 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13962 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13963 then :
13964 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13967 if test $ac_cv_lib_nsl_gethostbyname = no; then
13968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13969 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13970 if test ${ac_cv_lib_bsd_gethostbyname+y}
13971 then :
13972 printf %s "(cached) " >&6
13973 else $as_nop
13974 ac_check_lib_save_LIBS=$LIBS
13975 LIBS="-lbsd $LIBS"
13976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13977 /* end confdefs.h. */
13979 /* Override any GCC internal prototype to avoid an error.
13980 Use char because int might match the return type of a GCC
13981 builtin and then its argument prototype would still apply. */
13982 char gethostbyname ();
13984 main (void)
13986 return gethostbyname ();
13988 return 0;
13990 _ACEOF
13991 if ac_fn_c_try_link "$LINENO"
13992 then :
13993 ac_cv_lib_bsd_gethostbyname=yes
13994 else $as_nop
13995 ac_cv_lib_bsd_gethostbyname=no
13997 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13998 conftest$ac_exeext conftest.$ac_ext
13999 LIBS=$ac_check_lib_save_LIBS
14001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14002 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14003 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14004 then :
14005 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14011 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14012 # socket/setsockopt and other routines are undefined under SCO ODT
14013 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14014 # on later versions), says Simon Leinen: it contains gethostby*
14015 # variants that don't use the name server (or something). -lsocket
14016 # must be given before -lnsl if both are needed. We assume that
14017 # if connect needs -lnsl, so does gethostbyname.
14018 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14019 if test "x$ac_cv_func_connect" = xyes
14020 then :
14024 if test $ac_cv_func_connect = no; then
14025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14026 printf %s "checking for connect in -lsocket... " >&6; }
14027 if test ${ac_cv_lib_socket_connect+y}
14028 then :
14029 printf %s "(cached) " >&6
14030 else $as_nop
14031 ac_check_lib_save_LIBS=$LIBS
14032 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14034 /* end confdefs.h. */
14036 /* Override any GCC internal prototype to avoid an error.
14037 Use char because int might match the return type of a GCC
14038 builtin and then its argument prototype would still apply. */
14039 char connect ();
14041 main (void)
14043 return connect ();
14045 return 0;
14047 _ACEOF
14048 if ac_fn_c_try_link "$LINENO"
14049 then :
14050 ac_cv_lib_socket_connect=yes
14051 else $as_nop
14052 ac_cv_lib_socket_connect=no
14054 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14055 conftest$ac_exeext conftest.$ac_ext
14056 LIBS=$ac_check_lib_save_LIBS
14058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14059 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14060 if test "x$ac_cv_lib_socket_connect" = xyes
14061 then :
14062 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14067 # Guillermo Gomez says -lposix is necessary on A/UX.
14068 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14069 if test "x$ac_cv_func_remove" = xyes
14070 then :
14074 if test $ac_cv_func_remove = no; then
14075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14076 printf %s "checking for remove in -lposix... " >&6; }
14077 if test ${ac_cv_lib_posix_remove+y}
14078 then :
14079 printf %s "(cached) " >&6
14080 else $as_nop
14081 ac_check_lib_save_LIBS=$LIBS
14082 LIBS="-lposix $LIBS"
14083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14084 /* end confdefs.h. */
14086 /* Override any GCC internal prototype to avoid an error.
14087 Use char because int might match the return type of a GCC
14088 builtin and then its argument prototype would still apply. */
14089 char remove ();
14091 main (void)
14093 return remove ();
14095 return 0;
14097 _ACEOF
14098 if ac_fn_c_try_link "$LINENO"
14099 then :
14100 ac_cv_lib_posix_remove=yes
14101 else $as_nop
14102 ac_cv_lib_posix_remove=no
14104 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14105 conftest$ac_exeext conftest.$ac_ext
14106 LIBS=$ac_check_lib_save_LIBS
14108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14109 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14110 if test "x$ac_cv_lib_posix_remove" = xyes
14111 then :
14112 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14117 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14118 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14119 if test "x$ac_cv_func_shmat" = xyes
14120 then :
14124 if test $ac_cv_func_shmat = no; then
14125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14126 printf %s "checking for shmat in -lipc... " >&6; }
14127 if test ${ac_cv_lib_ipc_shmat+y}
14128 then :
14129 printf %s "(cached) " >&6
14130 else $as_nop
14131 ac_check_lib_save_LIBS=$LIBS
14132 LIBS="-lipc $LIBS"
14133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14134 /* end confdefs.h. */
14136 /* Override any GCC internal prototype to avoid an error.
14137 Use char because int might match the return type of a GCC
14138 builtin and then its argument prototype would still apply. */
14139 char shmat ();
14141 main (void)
14143 return shmat ();
14145 return 0;
14147 _ACEOF
14148 if ac_fn_c_try_link "$LINENO"
14149 then :
14150 ac_cv_lib_ipc_shmat=yes
14151 else $as_nop
14152 ac_cv_lib_ipc_shmat=no
14154 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14155 conftest$ac_exeext conftest.$ac_ext
14156 LIBS=$ac_check_lib_save_LIBS
14158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14159 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14160 if test "x$ac_cv_lib_ipc_shmat" = xyes
14161 then :
14162 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14168 # Check for libraries that X11R6 Xt/Xaw programs need.
14169 ac_save_LDFLAGS=$LDFLAGS
14170 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14171 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14172 # check for ICE first), but we must link in the order -lSM -lICE or
14173 # we get undefined symbols. So assume we have SM if we have ICE.
14174 # These have to be linked with before -lX11, unlike the other
14175 # libraries we check for below, so use a different variable.
14176 # John Interrante, Karl Berry
14177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14178 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14179 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14180 then :
14181 printf %s "(cached) " >&6
14182 else $as_nop
14183 ac_check_lib_save_LIBS=$LIBS
14184 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14186 /* end confdefs.h. */
14188 /* Override any GCC internal prototype to avoid an error.
14189 Use char because int might match the return type of a GCC
14190 builtin and then its argument prototype would still apply. */
14191 char IceConnectionNumber ();
14193 main (void)
14195 return IceConnectionNumber ();
14197 return 0;
14199 _ACEOF
14200 if ac_fn_c_try_link "$LINENO"
14201 then :
14202 ac_cv_lib_ICE_IceConnectionNumber=yes
14203 else $as_nop
14204 ac_cv_lib_ICE_IceConnectionNumber=no
14206 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14207 conftest$ac_exeext conftest.$ac_ext
14208 LIBS=$ac_check_lib_save_LIBS
14210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14211 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14212 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14213 then :
14214 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14217 LDFLAGS=$ac_save_LDFLAGS
14222 if test "$have_x" = "yes"
14223 then
14224 ac_save_CPPFLAGS="$CPPFLAGS"
14225 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14228 printf %s "checking for -lX11... " >&6; }
14229 if test ${ac_cv_lib_soname_X11+y}
14230 then :
14231 printf %s "(cached) " >&6
14232 else $as_nop
14233 ac_check_soname_save_LIBS=$LIBS
14234 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14236 /* end confdefs.h. */
14238 /* Override any GCC internal prototype to avoid an error.
14239 Use char because int might match the return type of a GCC
14240 builtin and then its argument prototype would still apply. */
14241 char XCreateWindow ();
14243 main (void)
14245 return XCreateWindow ();
14247 return 0;
14249 _ACEOF
14250 if ac_fn_c_try_link "$LINENO"
14251 then :
14252 case "$LIBEXT" in
14253 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14254 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'` ;;
14255 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14256 if ${ac_cv_lib_soname_X11:+false} :
14257 then :
14258 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14259 fi ;;
14260 esac
14261 else $as_nop
14262 ac_cv_lib_soname_X11=
14264 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14265 conftest$ac_exeext conftest.$ac_ext
14266 LIBS=$ac_check_soname_save_LIBS
14268 if ${ac_cv_lib_soname_X11:+false} :
14269 then :
14270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14271 printf "%s\n" "not found" >&6; }
14273 else $as_nop
14274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14275 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14277 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14282 printf %s "checking for -lXext... " >&6; }
14283 if test ${ac_cv_lib_soname_Xext+y}
14284 then :
14285 printf %s "(cached) " >&6
14286 else $as_nop
14287 ac_check_soname_save_LIBS=$LIBS
14288 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14290 /* end confdefs.h. */
14292 /* Override any GCC internal prototype to avoid an error.
14293 Use char because int might match the return type of a GCC
14294 builtin and then its argument prototype would still apply. */
14295 char XextCreateExtension ();
14297 main (void)
14299 return XextCreateExtension ();
14301 return 0;
14303 _ACEOF
14304 if ac_fn_c_try_link "$LINENO"
14305 then :
14306 case "$LIBEXT" in
14307 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14308 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'` ;;
14309 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14310 if ${ac_cv_lib_soname_Xext:+false} :
14311 then :
14312 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14313 fi ;;
14314 esac
14315 else $as_nop
14316 ac_cv_lib_soname_Xext=
14318 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14319 conftest$ac_exeext conftest.$ac_ext
14320 LIBS=$ac_check_soname_save_LIBS
14322 if ${ac_cv_lib_soname_Xext:+false} :
14323 then :
14324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14325 printf "%s\n" "not found" >&6; }
14327 else $as_nop
14328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14329 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14331 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14333 X_LIBS="$X_LIBS -lXext"
14335 X_LIBS="$X_LIBS -lX11"
14337 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14338 # include <X11/Xlib.h>
14339 #endif
14340 #ifdef HAVE_X11_XUTIL_H
14341 # include <X11/Xutil.h>
14342 #endif
14344 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14345 then :
14346 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14349 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14350 # include <X11/Xlib.h>
14351 #endif
14352 #ifdef HAVE_X11_XUTIL_H
14353 # include <X11/Xutil.h>
14354 #endif
14356 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14357 then :
14358 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14361 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14362 # include <X11/Xlib.h>
14363 #endif
14364 #ifdef HAVE_X11_XUTIL_H
14365 # include <X11/Xutil.h>
14366 #endif
14368 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14369 then :
14370 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14373 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14374 # include <X11/Xlib.h>
14375 #endif
14376 #ifdef HAVE_X11_XUTIL_H
14377 # include <X11/Xutil.h>
14378 #endif
14380 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14381 then :
14382 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14385 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14386 # include <X11/Xlib.h>
14387 #endif
14388 #ifdef HAVE_X11_XUTIL_H
14389 # include <X11/Xutil.h>
14390 #endif
14392 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14393 then :
14394 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14397 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14398 # include <X11/Xlib.h>
14399 #endif
14400 #ifdef HAVE_X11_XUTIL_H
14401 # include <X11/Xutil.h>
14402 #endif
14404 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14405 then :
14406 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14409 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14410 # include <X11/Xlib.h>
14411 #endif
14412 #ifdef HAVE_X11_XUTIL_H
14413 # include <X11/Xutil.h>
14414 #endif
14416 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14417 then :
14418 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14421 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14422 # include <X11/Xlib.h>
14423 #endif
14424 #ifdef HAVE_X11_XUTIL_H
14425 # include <X11/Xutil.h>
14426 #endif
14428 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14429 then :
14430 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14433 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14434 # include <X11/Xlib.h>
14435 #endif
14436 #ifdef HAVE_X11_XUTIL_H
14437 # include <X11/Xutil.h>
14438 #endif
14440 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14441 then :
14442 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14445 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14446 # include <X11/Xlib.h>
14447 #endif
14448 #ifdef HAVE_X11_XUTIL_H
14449 # include <X11/Xutil.h>
14450 #endif
14452 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14453 then :
14454 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14457 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14458 # include <X11/Xlib.h>
14459 #endif
14460 #ifdef HAVE_X11_XUTIL_H
14461 # include <X11/Xutil.h>
14462 #endif
14464 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14465 then :
14466 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14469 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14470 # include <X11/Xlib.h>
14471 #endif
14472 #ifdef HAVE_X11_XUTIL_H
14473 # include <X11/Xutil.h>
14474 #endif
14476 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14477 then :
14478 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14481 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14482 # include <X11/Xlib.h>
14483 #endif
14484 #ifdef HAVE_X11_XUTIL_H
14485 # include <X11/Xutil.h>
14486 #endif
14488 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14489 then :
14490 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14493 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14494 # include <X11/Xlib.h>
14495 #endif
14496 #ifdef HAVE_X11_XUTIL_H
14497 # include <X11/Xutil.h>
14498 #endif
14500 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14501 then :
14502 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14505 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14506 # include <X11/Xlib.h>
14507 #endif
14508 #ifdef HAVE_X11_XUTIL_H
14509 # include <X11/Xutil.h>
14510 #endif
14512 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14513 then :
14514 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14519 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14520 then
14521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14522 printf %s "checking for -lXcursor... " >&6; }
14523 if test ${ac_cv_lib_soname_Xcursor+y}
14524 then :
14525 printf %s "(cached) " >&6
14526 else $as_nop
14527 ac_check_soname_save_LIBS=$LIBS
14528 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14530 /* end confdefs.h. */
14532 /* Override any GCC internal prototype to avoid an error.
14533 Use char because int might match the return type of a GCC
14534 builtin and then its argument prototype would still apply. */
14535 char XcursorImageLoadCursor ();
14537 main (void)
14539 return XcursorImageLoadCursor ();
14541 return 0;
14543 _ACEOF
14544 if ac_fn_c_try_link "$LINENO"
14545 then :
14546 case "$LIBEXT" in
14547 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14548 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'` ;;
14549 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14550 if ${ac_cv_lib_soname_Xcursor:+false} :
14551 then :
14552 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14553 fi ;;
14554 esac
14555 else $as_nop
14556 ac_cv_lib_soname_Xcursor=
14558 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14559 conftest$ac_exeext conftest.$ac_ext
14560 LIBS=$ac_check_soname_save_LIBS
14562 if ${ac_cv_lib_soname_Xcursor:+false} :
14563 then :
14564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14565 printf "%s\n" "not found" >&6; }
14567 else $as_nop
14568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14569 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14571 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14576 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14577 then :
14578 case "x$with_xcursor" in
14579 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14580 xno) ;;
14581 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14582 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14583 esac
14587 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14588 then
14589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14590 printf %s "checking for -lXi... " >&6; }
14591 if test ${ac_cv_lib_soname_Xi+y}
14592 then :
14593 printf %s "(cached) " >&6
14594 else $as_nop
14595 ac_check_soname_save_LIBS=$LIBS
14596 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14598 /* end confdefs.h. */
14600 /* Override any GCC internal prototype to avoid an error.
14601 Use char because int might match the return type of a GCC
14602 builtin and then its argument prototype would still apply. */
14603 char XOpenDevice ();
14605 main (void)
14607 return XOpenDevice ();
14609 return 0;
14611 _ACEOF
14612 if ac_fn_c_try_link "$LINENO"
14613 then :
14614 case "$LIBEXT" in
14615 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14616 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'` ;;
14617 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14618 if ${ac_cv_lib_soname_Xi:+false} :
14619 then :
14620 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14621 fi ;;
14622 esac
14623 else $as_nop
14624 ac_cv_lib_soname_Xi=
14626 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14627 conftest$ac_exeext conftest.$ac_ext
14628 LIBS=$ac_check_soname_save_LIBS
14630 if ${ac_cv_lib_soname_Xi:+false} :
14631 then :
14632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14633 printf "%s\n" "not found" >&6; }
14635 else $as_nop
14636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14637 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14639 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14644 if test "x$ac_cv_lib_soname_Xi" = "x"
14645 then :
14646 case "x$with_xinput" in
14647 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14648 xno) ;;
14649 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14650 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14651 esac
14655 if test "x$ac_cv_lib_soname_Xi" != x
14656 then
14657 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14658 then :
14659 case "x$with_xinput2" in
14660 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14661 xno) ;;
14662 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14663 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14664 esac
14669 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14670 then
14671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14672 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14673 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14674 then :
14675 printf %s "(cached) " >&6
14676 else $as_nop
14677 ac_check_lib_save_LIBS=$LIBS
14678 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14680 /* end confdefs.h. */
14682 /* Override any GCC internal prototype to avoid an error.
14683 Use char because int might match the return type of a GCC
14684 builtin and then its argument prototype would still apply. */
14685 char XShmQueryExtension ();
14687 main (void)
14689 return XShmQueryExtension ();
14691 return 0;
14693 _ACEOF
14694 if ac_fn_c_try_link "$LINENO"
14695 then :
14696 ac_cv_lib_Xext_XShmQueryExtension=yes
14697 else $as_nop
14698 ac_cv_lib_Xext_XShmQueryExtension=no
14700 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14701 conftest$ac_exeext conftest.$ac_ext
14702 LIBS=$ac_check_lib_save_LIBS
14704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14705 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14706 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14707 then :
14709 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14714 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14715 then :
14716 case "x$with_xshm" in
14717 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14718 xno) ;;
14719 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14720 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14721 esac
14725 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14726 then
14727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14728 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14729 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14730 then :
14731 printf %s "(cached) " >&6
14732 else $as_nop
14733 ac_check_lib_save_LIBS=$LIBS
14734 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14736 /* end confdefs.h. */
14738 /* Override any GCC internal prototype to avoid an error.
14739 Use char because int might match the return type of a GCC
14740 builtin and then its argument prototype would still apply. */
14741 char XShapeQueryExtension ();
14743 main (void)
14745 return XShapeQueryExtension ();
14747 return 0;
14749 _ACEOF
14750 if ac_fn_c_try_link "$LINENO"
14751 then :
14752 ac_cv_lib_Xext_XShapeQueryExtension=yes
14753 else $as_nop
14754 ac_cv_lib_Xext_XShapeQueryExtension=no
14756 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14757 conftest$ac_exeext conftest.$ac_ext
14758 LIBS=$ac_check_lib_save_LIBS
14760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14761 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14762 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14763 then :
14765 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14770 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14771 then :
14772 case "x$with_xshape" in
14773 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14774 xno) ;;
14775 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14776 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14777 esac
14781 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14782 then
14783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14784 printf %s "checking for -lXxf86vm... " >&6; }
14785 if test ${ac_cv_lib_soname_Xxf86vm+y}
14786 then :
14787 printf %s "(cached) " >&6
14788 else $as_nop
14789 ac_check_soname_save_LIBS=$LIBS
14790 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14792 /* end confdefs.h. */
14794 /* Override any GCC internal prototype to avoid an error.
14795 Use char because int might match the return type of a GCC
14796 builtin and then its argument prototype would still apply. */
14797 char XF86VidModeQueryExtension ();
14799 main (void)
14801 return XF86VidModeQueryExtension ();
14803 return 0;
14805 _ACEOF
14806 if ac_fn_c_try_link "$LINENO"
14807 then :
14808 case "$LIBEXT" in
14809 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14810 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'` ;;
14811 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14812 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14813 then :
14814 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14815 fi ;;
14816 esac
14817 else $as_nop
14818 ac_cv_lib_soname_Xxf86vm=
14820 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14821 conftest$ac_exeext conftest.$ac_ext
14822 LIBS=$ac_check_soname_save_LIBS
14824 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14825 then :
14826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14827 printf "%s\n" "not found" >&6; }
14829 else $as_nop
14830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14831 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14833 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14838 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14839 then :
14840 case "x$with_xxf86vm" in
14841 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14842 xno) ;;
14843 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14844 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14845 esac
14849 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14850 then
14851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14852 printf %s "checking for -lXrender... " >&6; }
14853 if test ${ac_cv_lib_soname_Xrender+y}
14854 then :
14855 printf %s "(cached) " >&6
14856 else $as_nop
14857 ac_check_soname_save_LIBS=$LIBS
14858 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14860 /* end confdefs.h. */
14862 /* Override any GCC internal prototype to avoid an error.
14863 Use char because int might match the return type of a GCC
14864 builtin and then its argument prototype would still apply. */
14865 char XRenderQueryExtension ();
14867 main (void)
14869 return XRenderQueryExtension ();
14871 return 0;
14873 _ACEOF
14874 if ac_fn_c_try_link "$LINENO"
14875 then :
14876 case "$LIBEXT" in
14877 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14878 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'` ;;
14879 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14880 if ${ac_cv_lib_soname_Xrender:+false} :
14881 then :
14882 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14883 fi ;;
14884 esac
14885 else $as_nop
14886 ac_cv_lib_soname_Xrender=
14888 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14889 conftest$ac_exeext conftest.$ac_ext
14890 LIBS=$ac_check_soname_save_LIBS
14892 if ${ac_cv_lib_soname_Xrender:+false} :
14893 then :
14894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14895 printf "%s\n" "not found" >&6; }
14897 else $as_nop
14898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14899 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14901 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14904 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14905 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14906 then :
14907 printf %s "(cached) " >&6
14908 else $as_nop
14909 ac_check_lib_save_LIBS=$LIBS
14910 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14912 /* end confdefs.h. */
14914 /* Override any GCC internal prototype to avoid an error.
14915 Use char because int might match the return type of a GCC
14916 builtin and then its argument prototype would still apply. */
14917 char XRenderSetPictureTransform ();
14919 main (void)
14921 return XRenderSetPictureTransform ();
14923 return 0;
14925 _ACEOF
14926 if ac_fn_c_try_link "$LINENO"
14927 then :
14928 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14929 else $as_nop
14930 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14932 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14933 conftest$ac_exeext conftest.$ac_ext
14934 LIBS=$ac_check_lib_save_LIBS
14936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14937 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14938 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14939 then :
14941 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14946 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14947 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14948 then :
14949 printf %s "(cached) " >&6
14950 else $as_nop
14951 ac_check_lib_save_LIBS=$LIBS
14952 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14954 /* end confdefs.h. */
14956 /* Override any GCC internal prototype to avoid an error.
14957 Use char because int might match the return type of a GCC
14958 builtin and then its argument prototype would still apply. */
14959 char XRenderCreateLinearGradient ();
14961 main (void)
14963 return XRenderCreateLinearGradient ();
14965 return 0;
14967 _ACEOF
14968 if ac_fn_c_try_link "$LINENO"
14969 then :
14970 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
14971 else $as_nop
14972 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
14974 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14975 conftest$ac_exeext conftest.$ac_ext
14976 LIBS=$ac_check_lib_save_LIBS
14978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14979 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14980 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14981 then :
14983 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14990 if test "x$ac_cv_lib_soname_Xrender" = "x"
14991 then :
14992 case "x$with_xrender" in
14993 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14994 xno) ;;
14995 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
14996 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14997 esac
15001 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15002 then
15003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15004 /* end confdefs.h. */
15005 #include <X11/Xlib.h>
15006 #include <X11/extensions/Xrandr.h>
15008 main (void)
15010 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15012 return 0;
15014 _ACEOF
15015 if ac_fn_c_try_compile "$LINENO"
15016 then :
15017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15018 printf %s "checking for -lXrandr... " >&6; }
15019 if test ${ac_cv_lib_soname_Xrandr+y}
15020 then :
15021 printf %s "(cached) " >&6
15022 else $as_nop
15023 ac_check_soname_save_LIBS=$LIBS
15024 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15026 /* end confdefs.h. */
15028 /* Override any GCC internal prototype to avoid an error.
15029 Use char because int might match the return type of a GCC
15030 builtin and then its argument prototype would still apply. */
15031 char XRRQueryExtension ();
15033 main (void)
15035 return XRRQueryExtension ();
15037 return 0;
15039 _ACEOF
15040 if ac_fn_c_try_link "$LINENO"
15041 then :
15042 case "$LIBEXT" in
15043 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15044 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'` ;;
15045 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15046 if ${ac_cv_lib_soname_Xrandr:+false} :
15047 then :
15048 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15049 fi ;;
15050 esac
15051 else $as_nop
15052 ac_cv_lib_soname_Xrandr=
15054 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15055 conftest$ac_exeext conftest.$ac_ext
15056 LIBS=$ac_check_soname_save_LIBS
15058 if ${ac_cv_lib_soname_Xrandr:+false} :
15059 then :
15060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15061 printf "%s\n" "not found" >&6; }
15063 else $as_nop
15064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15065 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15067 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15070 /* end confdefs.h. */
15071 #include <X11/Xlib.h>
15072 #include <X11/extensions/Xrandr.h>
15074 main (void)
15076 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15078 return 0;
15080 _ACEOF
15081 if ac_fn_c_try_compile "$LINENO"
15082 then :
15084 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15086 else $as_nop
15087 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15089 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15092 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15094 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15095 then :
15096 case "x$with_xrandr" in
15097 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15098 xno) ;;
15099 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15100 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15101 esac
15105 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15106 then
15107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15108 /* end confdefs.h. */
15109 #include <X11/Xlib.h>
15110 #include <X11/extensions/Xfixes.h>
15112 main (void)
15114 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15116 return 0;
15118 _ACEOF
15119 if ac_fn_c_try_compile "$LINENO"
15120 then :
15121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15122 printf %s "checking for -lXfixes... " >&6; }
15123 if test ${ac_cv_lib_soname_Xfixes+y}
15124 then :
15125 printf %s "(cached) " >&6
15126 else $as_nop
15127 ac_check_soname_save_LIBS=$LIBS
15128 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15130 /* end confdefs.h. */
15132 /* Override any GCC internal prototype to avoid an error.
15133 Use char because int might match the return type of a GCC
15134 builtin and then its argument prototype would still apply. */
15135 char XFixesQueryVersion ();
15137 main (void)
15139 return XFixesQueryVersion ();
15141 return 0;
15143 _ACEOF
15144 if ac_fn_c_try_link "$LINENO"
15145 then :
15146 case "$LIBEXT" in
15147 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15148 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'` ;;
15149 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15150 if ${ac_cv_lib_soname_Xfixes:+false} :
15151 then :
15152 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15153 fi ;;
15154 esac
15155 else $as_nop
15156 ac_cv_lib_soname_Xfixes=
15158 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15159 conftest$ac_exeext conftest.$ac_ext
15160 LIBS=$ac_check_soname_save_LIBS
15162 if ${ac_cv_lib_soname_Xfixes:+false} :
15163 then :
15164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15165 printf "%s\n" "not found" >&6; }
15167 else $as_nop
15168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15169 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15171 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15176 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15178 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15179 then :
15180 case "x$with_xfixes" in
15181 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15182 xno) ;;
15183 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15184 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15185 esac
15189 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15190 then
15191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15192 /* end confdefs.h. */
15193 #include <X11/Xlib.h>
15194 #include <X11/extensions/Xinerama.h>
15196 main (void)
15198 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15200 return 0;
15202 _ACEOF
15203 if ac_fn_c_try_compile "$LINENO"
15204 then :
15205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15206 printf %s "checking for -lXinerama... " >&6; }
15207 if test ${ac_cv_lib_soname_Xinerama+y}
15208 then :
15209 printf %s "(cached) " >&6
15210 else $as_nop
15211 ac_check_soname_save_LIBS=$LIBS
15212 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15214 /* end confdefs.h. */
15216 /* Override any GCC internal prototype to avoid an error.
15217 Use char because int might match the return type of a GCC
15218 builtin and then its argument prototype would still apply. */
15219 char XineramaQueryScreens ();
15221 main (void)
15223 return XineramaQueryScreens ();
15225 return 0;
15227 _ACEOF
15228 if ac_fn_c_try_link "$LINENO"
15229 then :
15230 case "$LIBEXT" in
15231 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15232 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'` ;;
15233 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15234 if ${ac_cv_lib_soname_Xinerama:+false} :
15235 then :
15236 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15237 fi ;;
15238 esac
15239 else $as_nop
15240 ac_cv_lib_soname_Xinerama=
15242 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15243 conftest$ac_exeext conftest.$ac_ext
15244 LIBS=$ac_check_soname_save_LIBS
15246 if ${ac_cv_lib_soname_Xinerama:+false} :
15247 then :
15248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15249 printf "%s\n" "not found" >&6; }
15251 else $as_nop
15252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15253 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15255 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15260 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15262 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15263 then :
15264 case "x$with_xinerama" in
15265 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15266 xno) ;;
15267 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15268 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15269 esac
15273 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15274 then
15275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15276 printf %s "checking for -lXcomposite... " >&6; }
15277 if test ${ac_cv_lib_soname_Xcomposite+y}
15278 then :
15279 printf %s "(cached) " >&6
15280 else $as_nop
15281 ac_check_soname_save_LIBS=$LIBS
15282 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15284 /* end confdefs.h. */
15286 /* Override any GCC internal prototype to avoid an error.
15287 Use char because int might match the return type of a GCC
15288 builtin and then its argument prototype would still apply. */
15289 char XCompositeRedirectWindow ();
15291 main (void)
15293 return XCompositeRedirectWindow ();
15295 return 0;
15297 _ACEOF
15298 if ac_fn_c_try_link "$LINENO"
15299 then :
15300 case "$LIBEXT" in
15301 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15302 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'` ;;
15303 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15304 if ${ac_cv_lib_soname_Xcomposite:+false} :
15305 then :
15306 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15307 fi ;;
15308 esac
15309 else $as_nop
15310 ac_cv_lib_soname_Xcomposite=
15312 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15313 conftest$ac_exeext conftest.$ac_ext
15314 LIBS=$ac_check_soname_save_LIBS
15316 if ${ac_cv_lib_soname_Xcomposite:+false} :
15317 then :
15318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15319 printf "%s\n" "not found" >&6; }
15321 else $as_nop
15322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15323 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15325 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15330 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15331 then :
15332 case "x$with_xcomposite" in
15333 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15334 xno) ;;
15335 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15336 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15337 esac
15341 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15342 #include <X11/Xlib.h>
15343 #endif
15345 if test "x$ac_cv_member_XICCallback_callback" = xyes
15346 then :
15348 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15352 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15353 #include <X11/Xlib.h>
15354 #endif
15356 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15357 then :
15359 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15366 opengl_msg=""
15367 if test "x$with_opengl" != "xno"
15368 then
15369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15370 printf %s "checking for -lGL... " >&6; }
15371 if test ${ac_cv_lib_soname_GL+y}
15372 then :
15373 printf %s "(cached) " >&6
15374 else $as_nop
15375 ac_check_soname_save_LIBS=$LIBS
15376 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15378 /* end confdefs.h. */
15380 /* Override any GCC internal prototype to avoid an error.
15381 Use char because int might match the return type of a GCC
15382 builtin and then its argument prototype would still apply. */
15383 char glXCreateContext ();
15385 main (void)
15387 return glXCreateContext ();
15389 return 0;
15391 _ACEOF
15392 if ac_fn_c_try_link "$LINENO"
15393 then :
15394 case "$LIBEXT" in
15395 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15396 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'` ;;
15397 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15398 if ${ac_cv_lib_soname_GL:+false} :
15399 then :
15400 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15401 fi ;;
15402 esac
15403 else $as_nop
15404 ac_cv_lib_soname_GL=
15406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15407 conftest$ac_exeext conftest.$ac_ext
15408 LIBS=$ac_check_soname_save_LIBS
15410 if ${ac_cv_lib_soname_GL:+false} :
15411 then :
15412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15413 printf "%s\n" "not found" >&6; }
15414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15415 printf %s "checking for -lGL... " >&6; }
15416 if test ${ac_cv_lib_soname_GL+y}
15417 then :
15418 printf %s "(cached) " >&6
15419 else $as_nop
15420 ac_check_soname_save_LIBS=$LIBS
15421 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"
15422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15423 /* end confdefs.h. */
15425 /* Override any GCC internal prototype to avoid an error.
15426 Use char because int might match the return type of a GCC
15427 builtin and then its argument prototype would still apply. */
15428 char glXCreateContext ();
15430 main (void)
15432 return glXCreateContext ();
15434 return 0;
15436 _ACEOF
15437 if ac_fn_c_try_link "$LINENO"
15438 then :
15439 case "$LIBEXT" in
15440 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15441 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'` ;;
15442 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15443 if ${ac_cv_lib_soname_GL:+false} :
15444 then :
15445 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15446 fi ;;
15447 esac
15448 else $as_nop
15449 ac_cv_lib_soname_GL=
15451 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15452 conftest$ac_exeext conftest.$ac_ext
15453 LIBS=$ac_check_soname_save_LIBS
15455 if ${ac_cv_lib_soname_GL:+false} :
15456 then :
15457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15458 printf "%s\n" "not found" >&6; }
15459 if test -f /usr/X11R6/lib/libGL.a
15460 then
15461 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15462 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15463 else
15464 opengl_msg="No OpenGL library found on this system."
15466 else $as_nop
15467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15468 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15470 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15472 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"
15474 else $as_nop
15475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15476 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15478 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15480 OPENGL_LIBS="-lGL"
15482 if test "x$with_osmesa" != "xno"
15483 then
15484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15485 printf %s "checking for -lOSMesa... " >&6; }
15486 if test ${ac_cv_lib_soname_OSMesa+y}
15487 then :
15488 printf %s "(cached) " >&6
15489 else $as_nop
15490 ac_check_soname_save_LIBS=$LIBS
15491 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15493 /* end confdefs.h. */
15495 /* Override any GCC internal prototype to avoid an error.
15496 Use char because int might match the return type of a GCC
15497 builtin and then its argument prototype would still apply. */
15498 char OSMesaGetProcAddress ();
15500 main (void)
15502 return OSMesaGetProcAddress ();
15504 return 0;
15506 _ACEOF
15507 if ac_fn_c_try_link "$LINENO"
15508 then :
15509 case "$LIBEXT" in
15510 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15511 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'` ;;
15512 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15513 if ${ac_cv_lib_soname_OSMesa:+false} :
15514 then :
15515 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15516 fi ;;
15517 esac
15518 else $as_nop
15519 ac_cv_lib_soname_OSMesa=
15521 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15522 conftest$ac_exeext conftest.$ac_ext
15523 LIBS=$ac_check_soname_save_LIBS
15525 if ${ac_cv_lib_soname_OSMesa:+false} :
15526 then :
15527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15528 printf "%s\n" "not found" >&6; }
15530 else $as_nop
15531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15532 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15534 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15538 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15539 then :
15540 case "x$with_osmesa" in
15541 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15542 xno) ;;
15543 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15544 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15545 esac
15550 if test -n "$opengl_msg"
15551 then :
15552 case "x$with_opengl" in
15553 x) as_fn_append wine_warnings "|$opengl_msg
15554 OpenGL and Direct3D won't be supported." ;;
15555 xno) ;;
15556 *) as_fn_error $? "$opengl_msg
15557 OpenGL and Direct3D won't be supported.
15558 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15559 esac
15563 CPPFLAGS="$ac_save_CPPFLAGS"
15564 else
15565 X_CFLAGS=""
15566 X_LIBS=""
15569 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15570 then
15571 if test "x$X_LIBS" = "x"
15572 then :
15573 case "x$with_x" in
15574 xno) ;;
15575 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15576 without X support, which probably isn't what you want. You will need
15577 to install ${notice_platform}development packages of Xlib at the very least.
15578 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15579 esac
15580 enable_winex11_drv=${enable_winex11_drv:-no}
15582 else
15583 if test "x$X_LIBS" = "x"
15584 then :
15585 case "x$with_x" in
15586 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15587 xno) ;;
15588 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15589 This is an error since --with-x was requested." "$LINENO" 5 ;;
15590 esac
15591 enable_winex11_drv=${enable_winex11_drv:-no}
15595 if test "x$with_wayland" != "xno"
15596 then
15597 rm -f conftest.err
15598 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15599 then :
15600 if test ${PKG_CONFIG+y}
15601 then :
15602 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15606 if ${WAYLAND_CLIENT_LIBS:+false} :
15607 then :
15608 if test ${PKG_CONFIG+y}
15609 then :
15610 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15615 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15616 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15617 if test -s conftest.err; then
15618 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15619 cat conftest.err >&5
15621 rm -f conftest.err
15622 ac_save_CPPFLAGS=$CPPFLAGS
15623 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15624 for ac_header in wayland-client.h
15625 do :
15626 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15627 if test "x$ac_cv_header_wayland_client_h" = xyes
15628 then :
15629 printf "%s\n" "#define HAVE_WAYLAND_CLIENT_H 1" >>confdefs.h
15630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15631 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
15632 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15633 then :
15634 printf %s "(cached) " >&6
15635 else $as_nop
15636 ac_check_lib_save_LIBS=$LIBS
15637 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15639 /* end confdefs.h. */
15641 /* Override any GCC internal prototype to avoid an error.
15642 Use char because int might match the return type of a GCC
15643 builtin and then its argument prototype would still apply. */
15644 char wl_display_connect ();
15646 main (void)
15648 return wl_display_connect ();
15650 return 0;
15652 _ACEOF
15653 if ac_fn_c_try_link "$LINENO"
15654 then :
15655 ac_cv_lib_wayland_client_wl_display_connect=yes
15656 else $as_nop
15657 ac_cv_lib_wayland_client_wl_display_connect=no
15659 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15660 conftest$ac_exeext conftest.$ac_ext
15661 LIBS=$ac_check_lib_save_LIBS
15663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15664 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15665 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15666 then :
15667 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15668 set dummy wayland-scanner; ac_word=$2
15669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15670 printf %s "checking for $ac_word... " >&6; }
15671 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15672 then :
15673 printf %s "(cached) " >&6
15674 else $as_nop
15675 case $WAYLAND_SCANNER in
15676 [\\/]* | ?:[\\/]*)
15677 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
15680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15681 for as_dir in $PATH
15683 IFS=$as_save_IFS
15684 case $as_dir in #(((
15685 '') as_dir=./ ;;
15686 */) ;;
15687 *) as_dir=$as_dir/ ;;
15688 esac
15689 for ac_exec_ext in '' $ac_executable_extensions; do
15690 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15691 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
15692 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15693 break 2
15695 done
15696 done
15697 IFS=$as_save_IFS
15699 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`"
15701 esac
15703 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
15704 if test -n "$WAYLAND_SCANNER"; then
15705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15706 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15707 else
15708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15709 printf "%s\n" "no" >&6; }
15713 else $as_nop
15714 WAYLAND_CLIENT_LIBS=""
15719 done
15720 CPPFLAGS=$ac_save_CPPFLAGS
15723 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
15724 then :
15725 case "x$with_wayland" in
15726 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15727 xno) ;;
15728 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15729 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15730 esac
15731 enable_winewayland_drv=${enable_winewayland_drv:-no}
15734 if test "$ac_cv_header_CL_cl_h" = "yes"
15735 then
15736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15737 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15738 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15739 then :
15740 printf %s "(cached) " >&6
15741 else $as_nop
15742 ac_check_lib_save_LIBS=$LIBS
15743 LIBS="-lOpenCL $LIBS"
15744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15745 /* end confdefs.h. */
15747 /* Override any GCC internal prototype to avoid an error.
15748 Use char because int might match the return type of a GCC
15749 builtin and then its argument prototype would still apply. */
15750 char clGetPlatformInfo ();
15752 main (void)
15754 return clGetPlatformInfo ();
15756 return 0;
15758 _ACEOF
15759 if ac_fn_c_try_link "$LINENO"
15760 then :
15761 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15762 else $as_nop
15763 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15765 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15766 conftest$ac_exeext conftest.$ac_ext
15767 LIBS=$ac_check_lib_save_LIBS
15769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15770 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15771 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15772 then :
15773 OPENCL_LIBS="-lOpenCL"
15778 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15779 then :
15780 case "x$with_opencl" in
15781 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15782 xno) ;;
15783 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15784 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15785 esac
15786 enable_opencl=${enable_opencl:-no}
15789 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15790 then
15791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15792 printf %s "checking for pcap_init in -lpcap... " >&6; }
15793 if test ${ac_cv_lib_pcap_pcap_init+y}
15794 then :
15795 printf %s "(cached) " >&6
15796 else $as_nop
15797 ac_check_lib_save_LIBS=$LIBS
15798 LIBS="-lpcap $LIBS"
15799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15800 /* end confdefs.h. */
15802 /* Override any GCC internal prototype to avoid an error.
15803 Use char because int might match the return type of a GCC
15804 builtin and then its argument prototype would still apply. */
15805 char pcap_init ();
15807 main (void)
15809 return pcap_init ();
15811 return 0;
15813 _ACEOF
15814 if ac_fn_c_try_link "$LINENO"
15815 then :
15816 ac_cv_lib_pcap_pcap_init=yes
15817 else $as_nop
15818 ac_cv_lib_pcap_pcap_init=no
15820 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15821 conftest$ac_exeext conftest.$ac_ext
15822 LIBS=$ac_check_lib_save_LIBS
15824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15825 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15826 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15827 then :
15828 PCAP_LIBS="-lpcap"
15833 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15834 then :
15835 case "x$with_pcap" in
15836 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15837 xno) ;;
15838 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15839 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15840 esac
15841 enable_wpcap=${enable_wpcap:-no}
15844 if test "x$with_pcsclite" != "xno"
15845 then
15846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15847 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
15848 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15849 then :
15850 printf %s "(cached) " >&6
15851 else $as_nop
15852 ac_check_lib_save_LIBS=$LIBS
15853 LIBS="-lpcsclite $LIBS"
15854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15855 /* end confdefs.h. */
15857 /* Override any GCC internal prototype to avoid an error.
15858 Use char because int might match the return type of a GCC
15859 builtin and then its argument prototype would still apply. */
15860 char SCardEstablishContext ();
15862 main (void)
15864 return SCardEstablishContext ();
15866 return 0;
15868 _ACEOF
15869 if ac_fn_c_try_link "$LINENO"
15870 then :
15871 ac_cv_lib_pcsclite_SCardEstablishContext=yes
15872 else $as_nop
15873 ac_cv_lib_pcsclite_SCardEstablishContext=no
15875 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15876 conftest$ac_exeext conftest.$ac_ext
15877 LIBS=$ac_check_lib_save_LIBS
15879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15880 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15881 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15882 then :
15883 PCSCLITE_LIBS="-lpcsclite"
15888 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15889 then :
15890 case "x$with_pcsclite" in
15891 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
15892 xno) ;;
15893 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
15894 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15895 esac
15896 enable_winscard=${enable_winscard:-no}
15899 if test "x$with_inotify" != "xno"
15900 then
15901 rm -f conftest.err
15902 if ${INOTIFY_CFLAGS:+false} :
15903 then :
15904 if test ${PKG_CONFIG+y}
15905 then :
15906 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15910 if ${INOTIFY_LIBS:+false} :
15911 then :
15912 if test ${PKG_CONFIG+y}
15913 then :
15914 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15919 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15920 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15921 if test -s conftest.err; then
15922 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15923 cat conftest.err >&5
15925 rm -f conftest.err
15926 ac_save_CPPFLAGS=$CPPFLAGS
15927 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15928 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15929 if test "x$ac_cv_header_sys_inotify_h" = xyes
15930 then :
15931 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15936 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15937 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15938 then :
15939 printf %s "(cached) " >&6
15940 else $as_nop
15941 ac_check_lib_save_LIBS=$LIBS
15942 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15944 /* end confdefs.h. */
15946 /* Override any GCC internal prototype to avoid an error.
15947 Use char because int might match the return type of a GCC
15948 builtin and then its argument prototype would still apply. */
15949 char inotify_add_watch ();
15951 main (void)
15953 return inotify_add_watch ();
15955 return 0;
15957 _ACEOF
15958 if ac_fn_c_try_link "$LINENO"
15959 then :
15960 ac_cv_lib_inotify_inotify_add_watch=yes
15961 else $as_nop
15962 ac_cv_lib_inotify_inotify_add_watch=no
15964 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15965 conftest$ac_exeext conftest.$ac_ext
15966 LIBS=$ac_check_lib_save_LIBS
15968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15969 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15970 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15971 then :
15973 else $as_nop
15974 INOTIFY_LIBS=""
15977 CPPFLAGS=$ac_save_CPPFLAGS
15980 if test "$ac_cv_header_sys_inotify_h" != "yes"
15981 then :
15982 case "x$with_inotify" in
15983 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15984 xno) ;;
15985 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15986 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15987 esac
15991 if test "x$with_dbus" != "xno"
15992 then
15993 rm -f conftest.err
15994 if ${DBUS_CFLAGS:+false} :
15995 then :
15996 if test ${PKG_CONFIG+y}
15997 then :
15998 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16002 if ${DBUS_LIBS:+false} :
16003 then :
16004 if test ${PKG_CONFIG+y}
16005 then :
16006 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16011 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16012 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16013 if test -s conftest.err; then
16014 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16015 cat conftest.err >&5
16017 rm -f conftest.err
16018 ac_save_CPPFLAGS=$CPPFLAGS
16019 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16020 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16021 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16022 then :
16023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16024 printf %s "checking for -ldbus-1... " >&6; }
16025 if test ${ac_cv_lib_soname_dbus_1+y}
16026 then :
16027 printf %s "(cached) " >&6
16028 else $as_nop
16029 ac_check_soname_save_LIBS=$LIBS
16030 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16032 /* end confdefs.h. */
16034 /* Override any GCC internal prototype to avoid an error.
16035 Use char because int might match the return type of a GCC
16036 builtin and then its argument prototype would still apply. */
16037 char dbus_connection_close ();
16039 main (void)
16041 return dbus_connection_close ();
16043 return 0;
16045 _ACEOF
16046 if ac_fn_c_try_link "$LINENO"
16047 then :
16048 case "$LIBEXT" in
16049 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16050 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'` ;;
16051 *) 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'`
16052 if ${ac_cv_lib_soname_dbus_1:+false} :
16053 then :
16054 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16055 fi ;;
16056 esac
16057 else $as_nop
16058 ac_cv_lib_soname_dbus_1=
16060 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16061 conftest$ac_exeext conftest.$ac_ext
16062 LIBS=$ac_check_soname_save_LIBS
16064 if ${ac_cv_lib_soname_dbus_1:+false} :
16065 then :
16066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16067 printf "%s\n" "not found" >&6; }
16068 DBUS_CFLAGS=""
16069 else $as_nop
16070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16071 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16073 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16077 else $as_nop
16078 DBUS_CFLAGS=""
16081 CPPFLAGS=$ac_save_CPPFLAGS
16084 case $host_os in
16085 darwin*|macosx*) ;;
16086 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16087 then :
16088 case "x$with_dbus" in
16089 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16090 xno) ;;
16091 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16092 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16093 esac
16095 fi ;;
16096 esac
16098 if test "x$with_gnutls" != "xno"
16099 then
16100 rm -f conftest.err
16101 if ${GNUTLS_CFLAGS:+false} :
16102 then :
16103 if test ${PKG_CONFIG+y}
16104 then :
16105 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16109 if ${GNUTLS_LIBS:+false} :
16110 then :
16111 if test ${PKG_CONFIG+y}
16112 then :
16113 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16117 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16118 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16119 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16120 if test -s conftest.err; then
16121 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16122 cat conftest.err >&5
16124 rm -f conftest.err
16125 ac_save_CPPFLAGS=$CPPFLAGS
16126 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16127 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16128 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16129 then :
16130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16131 /* end confdefs.h. */
16132 #include <gnutls/gnutls.h>
16133 #include <gnutls/crypto.h>
16135 main (void)
16137 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16139 return 0;
16141 _ACEOF
16142 if ac_fn_c_try_compile "$LINENO"
16143 then :
16144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16145 printf %s "checking for -lgnutls... " >&6; }
16146 if test ${ac_cv_lib_soname_gnutls+y}
16147 then :
16148 printf %s "(cached) " >&6
16149 else $as_nop
16150 ac_check_soname_save_LIBS=$LIBS
16151 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16153 /* end confdefs.h. */
16155 /* Override any GCC internal prototype to avoid an error.
16156 Use char because int might match the return type of a GCC
16157 builtin and then its argument prototype would still apply. */
16158 char gnutls_global_init ();
16160 main (void)
16162 return gnutls_global_init ();
16164 return 0;
16166 _ACEOF
16167 if ac_fn_c_try_link "$LINENO"
16168 then :
16169 case "$LIBEXT" in
16170 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16171 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'` ;;
16172 *) 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'`
16173 if ${ac_cv_lib_soname_gnutls:+false} :
16174 then :
16175 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'`
16176 fi ;;
16177 esac
16178 else $as_nop
16179 ac_cv_lib_soname_gnutls=
16181 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16182 conftest$ac_exeext conftest.$ac_ext
16183 LIBS=$ac_check_soname_save_LIBS
16185 if ${ac_cv_lib_soname_gnutls:+false} :
16186 then :
16187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16188 printf "%s\n" "not found" >&6; }
16189 GNUTLS_CFLAGS=""
16190 else $as_nop
16191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16192 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16194 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16198 ac_wine_check_funcs_save_LIBS="$LIBS"
16199 LIBS="$LIBS $GNUTLS_LIBS"
16201 for ac_func in gnutls_cipher_init
16202 do :
16203 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16204 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16205 then :
16206 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16208 else $as_nop
16209 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16212 done
16213 LIBS="$ac_wine_check_funcs_save_LIBS"
16215 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16216 else $as_nop
16217 GNUTLS_CFLAGS=""
16220 CPPFLAGS=$ac_save_CPPFLAGS
16223 if test "x$ac_cv_lib_soname_gnutls" = "x"
16224 then :
16225 case "x$with_gnutls" in
16226 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16227 xno) ;;
16228 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16229 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16230 esac
16234 if test "x$with_sane" != "xno"
16235 then
16236 rm -f conftest.err
16237 if ${SANE_CFLAGS:+false} :
16238 then :
16239 if test ${PKG_CONFIG+y}
16240 then :
16241 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16244 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16245 if ${SANE_LIBS:+false} :
16246 then :
16247 if test ${PKG_CONFIG+y}
16248 then :
16249 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16252 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16254 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16255 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16256 if test -s conftest.err; then
16257 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16258 cat conftest.err >&5
16260 rm -f conftest.err
16261 ac_save_CPPFLAGS=$CPPFLAGS
16262 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16263 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16264 if test "x$ac_cv_header_sane_sane_h" = xyes
16265 then :
16266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16267 printf %s "checking for sane_init in -lsane... " >&6; }
16268 if test ${ac_cv_lib_sane_sane_init+y}
16269 then :
16270 printf %s "(cached) " >&6
16271 else $as_nop
16272 ac_check_lib_save_LIBS=$LIBS
16273 LIBS="-lsane $SANE_LIBS $LIBS"
16274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16275 /* end confdefs.h. */
16277 /* Override any GCC internal prototype to avoid an error.
16278 Use char because int might match the return type of a GCC
16279 builtin and then its argument prototype would still apply. */
16280 char sane_init ();
16282 main (void)
16284 return sane_init ();
16286 return 0;
16288 _ACEOF
16289 if ac_fn_c_try_link "$LINENO"
16290 then :
16291 ac_cv_lib_sane_sane_init=yes
16292 else $as_nop
16293 ac_cv_lib_sane_sane_init=no
16295 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16296 conftest$ac_exeext conftest.$ac_ext
16297 LIBS=$ac_check_lib_save_LIBS
16299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16300 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16301 if test "x$ac_cv_lib_sane_sane_init" = xyes
16302 then :
16308 CPPFLAGS=$ac_save_CPPFLAGS
16311 if test "$ac_cv_lib_sane_sane_init" != "yes"
16312 then :
16313 case "x$with_sane" in
16314 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16315 xno) ;;
16316 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16317 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16318 esac
16319 enable_sane_ds=${enable_sane_ds:-no}
16322 if test "x$with_usb" != "xno"
16323 then
16324 rm -f conftest.err
16325 if ${USB_CFLAGS:+false} :
16326 then :
16327 if test ${PKG_CONFIG+y}
16328 then :
16329 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16333 if ${USB_LIBS:+false} :
16334 then :
16335 if test ${PKG_CONFIG+y}
16336 then :
16337 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16341 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16342 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16343 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16344 if test -s conftest.err; then
16345 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16346 cat conftest.err >&5
16348 rm -f conftest.err
16349 ac_save_CPPFLAGS=$CPPFLAGS
16350 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16351 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16352 if test "x$ac_cv_header_libusb_h" = xyes
16353 then :
16354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16355 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16356 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16357 then :
16358 printf %s "(cached) " >&6
16359 else $as_nop
16360 ac_check_lib_save_LIBS=$LIBS
16361 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16363 /* end confdefs.h. */
16365 /* Override any GCC internal prototype to avoid an error.
16366 Use char because int might match the return type of a GCC
16367 builtin and then its argument prototype would still apply. */
16368 char libusb_interrupt_event_handler ();
16370 main (void)
16372 return libusb_interrupt_event_handler ();
16374 return 0;
16376 _ACEOF
16377 if ac_fn_c_try_link "$LINENO"
16378 then :
16379 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16380 else $as_nop
16381 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16383 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16384 conftest$ac_exeext conftest.$ac_ext
16385 LIBS=$ac_check_lib_save_LIBS
16387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16388 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16389 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16390 then :
16392 else $as_nop
16393 USB_LIBS=""
16396 else $as_nop
16397 USB_LIBS=""
16400 CPPFLAGS=$ac_save_CPPFLAGS
16403 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16404 then :
16405 case "x$with_usb" in
16406 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16407 xno) ;;
16408 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16409 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16410 esac
16411 enable_wineusb_sys=${enable_wineusb_sys:-no}
16414 if test "x$with_v4l2" != "xno"
16415 then
16416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16417 printf %s "checking for -lv4l2... " >&6; }
16418 if test ${ac_cv_lib_soname_v4l2+y}
16419 then :
16420 printf %s "(cached) " >&6
16421 else $as_nop
16422 ac_check_soname_save_LIBS=$LIBS
16423 LIBS="-lv4l2 $LIBS"
16424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16425 /* end confdefs.h. */
16427 /* Override any GCC internal prototype to avoid an error.
16428 Use char because int might match the return type of a GCC
16429 builtin and then its argument prototype would still apply. */
16430 char v4l2_open ();
16432 main (void)
16434 return v4l2_open ();
16436 return 0;
16438 _ACEOF
16439 if ac_fn_c_try_link "$LINENO"
16440 then :
16441 case "$LIBEXT" in
16442 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16443 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'` ;;
16444 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16445 if ${ac_cv_lib_soname_v4l2:+false} :
16446 then :
16447 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16448 fi ;;
16449 esac
16450 else $as_nop
16451 ac_cv_lib_soname_v4l2=
16453 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16454 conftest$ac_exeext conftest.$ac_ext
16455 LIBS=$ac_check_soname_save_LIBS
16457 if ${ac_cv_lib_soname_v4l2:+false} :
16458 then :
16459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16460 printf "%s\n" "not found" >&6; }
16462 else $as_nop
16463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16464 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16466 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16471 if test "x$ac_cv_lib_soname_v4l2" = "x"
16472 then :
16473 case "x$with_v4l2" in
16474 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16475 xno) ;;
16476 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16477 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16478 esac
16482 if test "x$with_gphoto" != "xno"
16483 then
16484 rm -f conftest.err
16485 if ${GPHOTO2_CFLAGS:+false} :
16486 then :
16487 if test ${PKG_CONFIG+y}
16488 then :
16489 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16492 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16493 if ${GPHOTO2_LIBS:+false} :
16494 then :
16495 if test ${PKG_CONFIG+y}
16496 then :
16497 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16500 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16501 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16502 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16503 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16504 if test -s conftest.err; then
16505 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16506 cat conftest.err >&5
16508 rm -f conftest.err
16509 ac_save_CPPFLAGS=$CPPFLAGS
16510 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16511 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16512 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16513 then :
16514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16515 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16516 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16517 then :
16518 printf %s "(cached) " >&6
16519 else $as_nop
16520 ac_check_lib_save_LIBS=$LIBS
16521 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16523 /* end confdefs.h. */
16525 /* Override any GCC internal prototype to avoid an error.
16526 Use char because int might match the return type of a GCC
16527 builtin and then its argument prototype would still apply. */
16528 char gp_camera_new ();
16530 main (void)
16532 return gp_camera_new ();
16534 return 0;
16536 _ACEOF
16537 if ac_fn_c_try_link "$LINENO"
16538 then :
16539 ac_cv_lib_gphoto2_gp_camera_new=yes
16540 else $as_nop
16541 ac_cv_lib_gphoto2_gp_camera_new=no
16543 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16544 conftest$ac_exeext conftest.$ac_ext
16545 LIBS=$ac_check_lib_save_LIBS
16547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16548 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16549 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16550 then :
16556 CPPFLAGS=$ac_save_CPPFLAGS
16558 rm -f conftest.err
16559 if ${GPHOTO2_PORT_CFLAGS:+false} :
16560 then :
16561 if test ${PKG_CONFIG+y}
16562 then :
16563 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16566 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16567 if ${GPHOTO2_PORT_LIBS:+false} :
16568 then :
16569 if test ${PKG_CONFIG+y}
16570 then :
16571 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16574 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16575 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16576 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16577 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16578 if test -s conftest.err; then
16579 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16580 cat conftest.err >&5
16582 rm -f conftest.err
16583 ac_save_CPPFLAGS=$CPPFLAGS
16584 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16585 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16586 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16587 then :
16588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16589 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16590 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16591 then :
16592 printf %s "(cached) " >&6
16593 else $as_nop
16594 ac_check_lib_save_LIBS=$LIBS
16595 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16597 /* end confdefs.h. */
16599 /* Override any GCC internal prototype to avoid an error.
16600 Use char because int might match the return type of a GCC
16601 builtin and then its argument prototype would still apply. */
16602 char gp_port_info_list_new ();
16604 main (void)
16606 return gp_port_info_list_new ();
16608 return 0;
16610 _ACEOF
16611 if ac_fn_c_try_link "$LINENO"
16612 then :
16613 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16614 else $as_nop
16615 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16617 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16618 conftest$ac_exeext conftest.$ac_ext
16619 LIBS=$ac_check_lib_save_LIBS
16621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16622 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16623 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16624 then :
16626 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16628 else $as_nop
16629 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16632 else $as_nop
16633 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16636 CPPFLAGS=$ac_save_CPPFLAGS
16639 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16640 then :
16641 case "x$with_gphoto" in
16642 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16643 xno) ;;
16644 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16645 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16646 esac
16647 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16649 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16650 then :
16651 case "x$with_gphoto" in
16652 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16653 xno) ;;
16654 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16655 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16656 esac
16661 if test "$ac_cv_header_resolv_h" = "yes"
16662 then
16663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16664 printf %s "checking for resolver library... " >&6; }
16665 if test ${ac_cv_have_resolv+y}
16666 then :
16667 printf %s "(cached) " >&6
16668 else $as_nop
16669 ac_save_LIBS="$LIBS"
16670 for lib in '' -lresolv
16672 LIBS="$lib $ac_save_LIBS"
16673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16674 /* end confdefs.h. */
16675 #ifdef HAVE_NETINET_IN_H
16676 #include <netinet/in.h>
16677 #endif
16678 #include <resolv.h>
16680 main (void)
16682 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16684 return 0;
16686 _ACEOF
16687 if ac_fn_c_try_link "$LINENO"
16688 then :
16689 ac_cv_have_resolv=${lib:-"none required"}
16690 else $as_nop
16691 ac_cv_have_resolv="not found"
16693 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16694 conftest$ac_exeext conftest.$ac_ext
16695 test "x$ac_cv_have_resolv" = "xnot found" || break
16696 done
16697 LIBS="$ac_save_LIBS"
16699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16700 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16702 case "$ac_cv_have_resolv" in
16703 "not found") ;;
16704 "none required")
16706 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16709 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16711 RESOLV_LIBS=$ac_cv_have_resolv
16713 esac
16715 if test "x$ac_cv_have_resolv" != "xnot found"
16716 then
16717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16718 printf %s "checking for res_getservers... " >&6; }
16719 if test ${ac_cv_have_res_getservers+y}
16720 then :
16721 printf %s "(cached) " >&6
16722 else $as_nop
16723 ac_save_LIBS="$LIBS"
16724 LIBS="$RESOLV_LIBS $LIBS"
16725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16726 /* end confdefs.h. */
16727 #include <resolv.h>
16729 main (void)
16731 res_getservers(NULL, NULL, 0);
16733 return 0;
16735 _ACEOF
16736 if ac_fn_c_try_link "$LINENO"
16737 then :
16738 ac_cv_have_res_getservers=yes
16739 else $as_nop
16740 ac_cv_have_res_getservers=no
16742 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16743 conftest$ac_exeext conftest.$ac_ext
16744 LIBS="$ac_save_LIBS"
16746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16747 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16748 if test "$ac_cv_have_res_getservers" = "yes"
16749 then
16751 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16757 if test "x$with_freetype" != "xno"
16758 then
16759 rm -f conftest.err
16760 if ${FREETYPE_CFLAGS:+false} :
16761 then :
16762 if test ${PKG_CONFIG+y}
16763 then :
16764 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16767 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16768 if ${FREETYPE_LIBS:+false} :
16769 then :
16770 if test ${PKG_CONFIG+y}
16771 then :
16772 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16775 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16776 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16777 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16778 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16779 if test -s conftest.err; then
16780 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16781 cat conftest.err >&5
16783 rm -f conftest.err
16784 ac_save_CPPFLAGS=$CPPFLAGS
16785 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16786 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16787 if test "x$ac_cv_header_ft2build_h" = xyes
16788 then :
16789 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16793 if test "$ac_cv_header_ft2build_h" = "yes"
16794 then
16795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16796 printf %s "checking for -lfreetype... " >&6; }
16797 if test ${ac_cv_lib_soname_freetype+y}
16798 then :
16799 printf %s "(cached) " >&6
16800 else $as_nop
16801 ac_check_soname_save_LIBS=$LIBS
16802 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16804 /* end confdefs.h. */
16806 /* Override any GCC internal prototype to avoid an error.
16807 Use char because int might match the return type of a GCC
16808 builtin and then its argument prototype would still apply. */
16809 char FT_Init_FreeType ();
16811 main (void)
16813 return FT_Init_FreeType ();
16815 return 0;
16817 _ACEOF
16818 if ac_fn_c_try_link "$LINENO"
16819 then :
16820 case "$LIBEXT" in
16821 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16822 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'` ;;
16823 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16824 if ${ac_cv_lib_soname_freetype:+false} :
16825 then :
16826 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16827 fi ;;
16828 esac
16829 else $as_nop
16830 ac_cv_lib_soname_freetype=
16832 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16833 conftest$ac_exeext conftest.$ac_ext
16834 LIBS=$ac_check_soname_save_LIBS
16836 if ${ac_cv_lib_soname_freetype:+false} :
16837 then :
16838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16839 printf "%s\n" "not found" >&6; }
16840 FREETYPE_LIBS=""
16841 else $as_nop
16842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16843 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16845 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16848 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16850 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16851 #include FT_MODULE_H
16853 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16854 then :
16856 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16862 else
16863 FREETYPE_CFLAGS=""
16864 FREETYPE_LIBS=""
16866 CPPFLAGS=$ac_save_CPPFLAGS
16869 if test "x$ac_cv_lib_soname_freetype" = x
16870 then :
16871 case "x$with_freetype" in
16872 xno) ;;
16873 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16874 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16875 esac
16876 enable_fonts=${enable_fonts:-no}
16879 ac_wine_check_funcs_save_LIBS="$LIBS"
16880 LIBS="$LIBS $PTHREAD_LIBS"
16881 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16882 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16883 then :
16884 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16888 LIBS="$ac_wine_check_funcs_save_LIBS"
16890 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16891 then
16892 if test "$ac_cv_header_gettext_po_h" = "yes"
16893 then
16894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16895 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16896 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16897 then :
16898 printf %s "(cached) " >&6
16899 else $as_nop
16900 ac_check_lib_save_LIBS=$LIBS
16901 LIBS="-lgettextpo $LIBS"
16902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16903 /* end confdefs.h. */
16905 /* Override any GCC internal prototype to avoid an error.
16906 Use char because int might match the return type of a GCC
16907 builtin and then its argument prototype would still apply. */
16908 char po_message_msgctxt ();
16910 main (void)
16912 return po_message_msgctxt ();
16914 return 0;
16916 _ACEOF
16917 if ac_fn_c_try_link "$LINENO"
16918 then :
16919 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16920 else $as_nop
16921 ac_cv_lib_gettextpo_po_message_msgctxt=no
16923 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16924 conftest$ac_exeext conftest.$ac_ext
16925 LIBS=$ac_check_lib_save_LIBS
16927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16928 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16929 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16930 then :
16932 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16934 GETTEXTPO_LIBS="-lgettextpo"
16939 if test "x$GETTEXTPO_LIBS" = "x"
16940 then :
16941 case "x$with_gettextpo" in
16942 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16943 xno) ;;
16944 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16945 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16946 esac
16949 if test "$srcdir" != .
16950 then :
16951 case "x$with_gettextpo" in
16952 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16953 xno) ;;
16954 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16955 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16956 esac
16961 if test "x$with_pulse" != "xno";
16962 then
16963 rm -f conftest.err
16964 if ${PULSE_CFLAGS:+false} :
16965 then :
16966 if test ${PKG_CONFIG+y}
16967 then :
16968 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16972 if ${PULSE_LIBS:+false} :
16973 then :
16974 if test ${PKG_CONFIG+y}
16975 then :
16976 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16981 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16982 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16983 if test -s conftest.err; then
16984 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16985 cat conftest.err >&5
16987 rm -f conftest.err
16988 ac_save_CPPFLAGS=$CPPFLAGS
16989 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16990 for ac_header in pulse/pulseaudio.h
16991 do :
16992 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16993 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16994 then :
16995 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16997 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16998 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16999 then :
17000 printf %s "(cached) " >&6
17001 else $as_nop
17002 ac_check_lib_save_LIBS=$LIBS
17003 LIBS="-lpulse $PULSE_LIBS $LIBS"
17004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17005 /* end confdefs.h. */
17007 /* Override any GCC internal prototype to avoid an error.
17008 Use char because int might match the return type of a GCC
17009 builtin and then its argument prototype would still apply. */
17010 char pa_stream_is_corked ();
17012 main (void)
17014 return pa_stream_is_corked ();
17016 return 0;
17018 _ACEOF
17019 if ac_fn_c_try_link "$LINENO"
17020 then :
17021 ac_cv_lib_pulse_pa_stream_is_corked=yes
17022 else $as_nop
17023 ac_cv_lib_pulse_pa_stream_is_corked=no
17025 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17026 conftest$ac_exeext conftest.$ac_ext
17027 LIBS=$ac_check_lib_save_LIBS
17029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17030 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17031 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17032 then :
17034 else $as_nop
17035 PULSE_LIBS=""
17038 else $as_nop
17039 PULSE_LIBS=""
17042 done
17043 CPPFLAGS=$ac_save_CPPFLAGS
17046 if test -z "$PULSE_LIBS"
17047 then :
17048 case "x$with_pulse" in
17049 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17050 xno) ;;
17051 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17052 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17053 esac
17054 enable_winepulse_drv=${enable_winepulse_drv:-no}
17057 if test "x$with_gstreamer" != "xno"
17058 then
17059 rm -f conftest.err
17060 if ${GSTREAMER_CFLAGS:+false} :
17061 then :
17062 if test ${PKG_CONFIG+y}
17063 then :
17064 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17068 if ${GSTREAMER_LIBS:+false} :
17069 then :
17070 if test ${PKG_CONFIG+y}
17071 then :
17072 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17077 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
17078 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
17079 if test -s conftest.err; then
17080 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17081 cat conftest.err >&5
17083 rm -f conftest.err
17084 ac_save_CPPFLAGS=$CPPFLAGS
17085 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17086 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17087 if test "x$ac_cv_header_gst_gst_h" = xyes
17088 then :
17089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17090 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17092 /* end confdefs.h. */
17093 #include <gst/gst.h>
17095 main (void)
17097 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17099 return 0;
17101 _ACEOF
17102 if ac_fn_c_try_compile "$LINENO"
17103 then :
17104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17105 printf "%s\n" "yes" >&6; }
17106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17107 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17108 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17109 then :
17110 printf %s "(cached) " >&6
17111 else $as_nop
17112 ac_check_lib_save_LIBS=$LIBS
17113 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17115 /* end confdefs.h. */
17117 /* Override any GCC internal prototype to avoid an error.
17118 Use char because int might match the return type of a GCC
17119 builtin and then its argument prototype would still apply. */
17120 char gst_pad_new ();
17122 main (void)
17124 return gst_pad_new ();
17126 return 0;
17128 _ACEOF
17129 if ac_fn_c_try_link "$LINENO"
17130 then :
17131 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17132 else $as_nop
17133 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17136 conftest$ac_exeext conftest.$ac_ext
17137 LIBS=$ac_check_lib_save_LIBS
17139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17140 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17141 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17142 then :
17146 else $as_nop
17147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17148 printf "%s\n" "no" >&6; }
17149 ac_glib2_broken=yes
17150 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17152 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17155 CPPFLAGS=$ac_save_CPPFLAGS
17158 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17159 then :
17160 case "x$with_gstreamer" in
17161 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17162 xno) ;;
17163 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17164 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17165 esac
17166 enable_winegstreamer=${enable_winegstreamer:-no}
17169 ALSA_LIBS=""
17171 if test "x$with_alsa" != "xno"
17172 then
17173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17174 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17175 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17176 then :
17177 printf %s "(cached) " >&6
17178 else $as_nop
17179 ac_check_lib_save_LIBS=$LIBS
17180 LIBS="-lasound $LIBS"
17181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17182 /* end confdefs.h. */
17184 /* Override any GCC internal prototype to avoid an error.
17185 Use char because int might match the return type of a GCC
17186 builtin and then its argument prototype would still apply. */
17187 char snd_pcm_hw_params_get_access_mask ();
17189 main (void)
17191 return snd_pcm_hw_params_get_access_mask ();
17193 return 0;
17195 _ACEOF
17196 if ac_fn_c_try_link "$LINENO"
17197 then :
17198 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17199 else $as_nop
17200 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17203 conftest$ac_exeext conftest.$ac_ext
17204 LIBS=$ac_check_lib_save_LIBS
17206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17207 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17208 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17209 then :
17210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17211 /* end confdefs.h. */
17212 #include <alsa/asoundlib.h>
17214 main (void)
17216 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17218 return 0;
17220 _ACEOF
17221 if ac_fn_c_try_compile "$LINENO"
17222 then :
17223 ALSA_LIBS="-lasound"
17225 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17229 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17231 if test "x$with_oss" != xno
17232 then
17233 ac_save_CPPFLAGS="$CPPFLAGS"
17234 if test -f /etc/oss.conf
17235 then
17236 . /etc/oss.conf
17238 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17239 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17240 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17241 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17242 then :
17243 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17245 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17246 then :
17248 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17250 OSS4_CFLAGS="$ac_oss_incl"
17252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17253 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17254 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17255 then :
17256 printf %s "(cached) " >&6
17257 else $as_nop
17258 ac_check_lib_save_LIBS=$LIBS
17259 LIBS="-lossaudio $LIBS"
17260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17261 /* end confdefs.h. */
17263 /* Override any GCC internal prototype to avoid an error.
17264 Use char because int might match the return type of a GCC
17265 builtin and then its argument prototype would still apply. */
17266 char _oss_ioctl ();
17268 main (void)
17270 return _oss_ioctl ();
17272 return 0;
17274 _ACEOF
17275 if ac_fn_c_try_link "$LINENO"
17276 then :
17277 ac_cv_lib_ossaudio__oss_ioctl=yes
17278 else $as_nop
17279 ac_cv_lib_ossaudio__oss_ioctl=no
17281 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17282 conftest$ac_exeext conftest.$ac_ext
17283 LIBS=$ac_check_lib_save_LIBS
17285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17286 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17287 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17288 then :
17289 OSS4_LIBS="-lossaudio"
17297 CPPFLAGS="$ac_save_CPPFLAGS"
17299 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17300 then :
17301 case "x$with_oss" in
17302 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17303 xno) ;;
17304 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17305 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17306 esac
17307 enable_wineoss_drv=${enable_wineoss_drv:-no}
17310 if test "x$with_udev" != "xno"
17311 then
17312 rm -f conftest.err
17313 if ${UDEV_CFLAGS:+false} :
17314 then :
17315 if test ${PKG_CONFIG+y}
17316 then :
17317 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17321 if ${UDEV_LIBS:+false} :
17322 then :
17323 if test ${PKG_CONFIG+y}
17324 then :
17325 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17329 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17330 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17332 if test -s conftest.err; then
17333 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17334 cat conftest.err >&5
17336 rm -f conftest.err
17337 ac_save_CPPFLAGS=$CPPFLAGS
17338 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17339 for ac_header in libudev.h
17340 do :
17341 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17342 if test "x$ac_cv_header_libudev_h" = xyes
17343 then :
17344 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17346 printf %s "checking for udev_new in -ludev... " >&6; }
17347 if test ${ac_cv_lib_udev_udev_new+y}
17348 then :
17349 printf %s "(cached) " >&6
17350 else $as_nop
17351 ac_check_lib_save_LIBS=$LIBS
17352 LIBS="-ludev $UDEV_LIBS $LIBS"
17353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17354 /* end confdefs.h. */
17356 /* Override any GCC internal prototype to avoid an error.
17357 Use char because int might match the return type of a GCC
17358 builtin and then its argument prototype would still apply. */
17359 char udev_new ();
17361 main (void)
17363 return udev_new ();
17365 return 0;
17367 _ACEOF
17368 if ac_fn_c_try_link "$LINENO"
17369 then :
17370 ac_cv_lib_udev_udev_new=yes
17371 else $as_nop
17372 ac_cv_lib_udev_udev_new=no
17374 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17375 conftest$ac_exeext conftest.$ac_ext
17376 LIBS=$ac_check_lib_save_LIBS
17378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17379 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17380 if test "x$ac_cv_lib_udev_udev_new" = xyes
17381 then :
17383 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17385 else $as_nop
17386 UDEV_LIBS=""
17389 else $as_nop
17390 UDEV_LIBS=""
17393 done
17394 CPPFLAGS=$ac_save_CPPFLAGS
17397 if test "x$UDEV_LIBS" = "x"
17398 then :
17399 case "x$with_udev" in
17400 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17401 xno) ;;
17402 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17403 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17404 esac
17408 if test "x$with_unwind" != xno
17409 then
17410 rm -f conftest.err
17411 if ${UNWIND_CFLAGS:+false} :
17412 then :
17413 if test ${PKG_CONFIG+y}
17414 then :
17415 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17419 if ${UNWIND_LIBS:+false} :
17420 then :
17421 if test ${PKG_CONFIG+y}
17422 then :
17423 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17427 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17428 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17429 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17430 if test -s conftest.err; then
17431 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17432 cat conftest.err >&5
17434 rm -f conftest.err
17435 ac_save_CPPFLAGS=$CPPFLAGS
17436 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17438 printf %s "checking for unw_step... " >&6; }
17439 if test ${wine_cv_have_unw_step+y}
17440 then :
17441 printf %s "(cached) " >&6
17442 else $as_nop
17443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17444 /* end confdefs.h. */
17445 #define UNW_LOCAL_ONLY
17446 #include <libunwind.h>
17448 main (void)
17450 unw_cursor_t cursor; unw_step( &cursor );
17452 return 0;
17454 _ACEOF
17455 if ac_fn_c_try_link "$LINENO"
17456 then :
17457 wine_cv_have_unw_step="yes"
17458 else $as_nop
17459 wine_cv_have_unw_step="no"
17461 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17462 conftest$ac_exeext conftest.$ac_ext
17464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17465 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17466 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17467 then
17468 save_libs=$LIBS
17469 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17470 LIBS="$UNWIND_LIBS $LIBS"
17471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17472 printf %s "checking for unw_step in libunwind... " >&6; }
17473 if test ${wine_cv_have_libunwind_unw_step+y}
17474 then :
17475 printf %s "(cached) " >&6
17476 else $as_nop
17477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17478 /* end confdefs.h. */
17479 #define UNW_LOCAL_ONLY
17480 #include <libunwind.h>
17482 main (void)
17484 unw_cursor_t cursor; unw_step( &cursor );
17486 return 0;
17488 _ACEOF
17489 if ac_fn_c_try_link "$LINENO"
17490 then :
17491 wine_cv_have_libunwind_unw_step="yes"
17492 else $as_nop
17493 wine_cv_have_libunwind_unw_step="no"
17495 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17496 conftest$ac_exeext conftest.$ac_ext
17498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17499 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17500 LIBS=$save_libs
17502 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17503 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17504 then
17506 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17509 CPPFLAGS=$ac_save_CPPFLAGS
17512 case $host in
17513 aarch64*|*-darwin*)
17514 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17515 then :
17516 case "x$with_unwind" in
17517 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17518 xno) ;;
17519 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17520 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17521 esac
17523 fi ;;
17524 esac
17526 if test "x$with_sdl" != "xno"
17527 then
17528 rm -f conftest.err
17529 if ${SDL2_CFLAGS:+false} :
17530 then :
17531 if test ${PKG_CONFIG+y}
17532 then :
17533 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17537 if ${SDL2_LIBS:+false} :
17538 then :
17539 if test ${PKG_CONFIG+y}
17540 then :
17541 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17545 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17546 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17547 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17548 if test -s conftest.err; then
17549 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17550 cat conftest.err >&5
17552 rm -f conftest.err
17553 ac_save_CPPFLAGS=$CPPFLAGS
17554 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17555 for ac_header in SDL.h
17556 do :
17557 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17558 if test "x$ac_cv_header_SDL_h" = xyes
17559 then :
17560 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17562 printf %s "checking for -lSDL2... " >&6; }
17563 if test ${ac_cv_lib_soname_SDL2+y}
17564 then :
17565 printf %s "(cached) " >&6
17566 else $as_nop
17567 ac_check_soname_save_LIBS=$LIBS
17568 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17570 /* end confdefs.h. */
17572 /* Override any GCC internal prototype to avoid an error.
17573 Use char because int might match the return type of a GCC
17574 builtin and then its argument prototype would still apply. */
17575 char SDL_Init ();
17577 main (void)
17579 return SDL_Init ();
17581 return 0;
17583 _ACEOF
17584 if ac_fn_c_try_link "$LINENO"
17585 then :
17586 case "$LIBEXT" in
17587 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17588 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'` ;;
17589 *) 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'`
17590 if ${ac_cv_lib_soname_SDL2:+false} :
17591 then :
17592 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17593 fi ;;
17594 esac
17595 else $as_nop
17596 ac_cv_lib_soname_SDL2=
17598 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17599 conftest$ac_exeext conftest.$ac_ext
17600 LIBS=$ac_check_soname_save_LIBS
17602 if ${ac_cv_lib_soname_SDL2:+false} :
17603 then :
17604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17605 printf "%s\n" "not found" >&6; }
17607 else $as_nop
17608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17609 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17611 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17617 done
17618 CPPFLAGS=$ac_save_CPPFLAGS
17621 if test "x$ac_cv_lib_soname_SDL2" = "x"
17622 then :
17623 case "x$with_sdl" in
17624 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17625 xno) ;;
17626 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17627 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17628 esac
17632 if test "x$with_capi" != "xno"
17633 then
17634 rm -f conftest.err
17635 if ${CAPI20_CFLAGS:+false} :
17636 then :
17637 if test ${PKG_CONFIG+y}
17638 then :
17639 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17643 if ${CAPI20_LIBS:+false} :
17644 then :
17645 if test ${PKG_CONFIG+y}
17646 then :
17647 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17652 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17653 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17654 if test -s conftest.err; then
17655 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17656 cat conftest.err >&5
17658 rm -f conftest.err
17659 ac_save_CPPFLAGS=$CPPFLAGS
17660 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17661 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17663 if test "x$ac_cv_header_capi20_h" = xyes
17664 then :
17665 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17668 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17670 if test "x$ac_cv_header_linux_capi_h" = xyes
17671 then :
17672 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17676 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17677 then
17678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17679 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17680 if test ${ac_cv_lib_capi20_capi20_register+y}
17681 then :
17682 printf %s "(cached) " >&6
17683 else $as_nop
17684 ac_check_lib_save_LIBS=$LIBS
17685 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17687 /* end confdefs.h. */
17689 /* Override any GCC internal prototype to avoid an error.
17690 Use char because int might match the return type of a GCC
17691 builtin and then its argument prototype would still apply. */
17692 char capi20_register ();
17694 main (void)
17696 return capi20_register ();
17698 return 0;
17700 _ACEOF
17701 if ac_fn_c_try_link "$LINENO"
17702 then :
17703 ac_cv_lib_capi20_capi20_register=yes
17704 else $as_nop
17705 ac_cv_lib_capi20_capi20_register=no
17707 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17708 conftest$ac_exeext conftest.$ac_ext
17709 LIBS=$ac_check_lib_save_LIBS
17711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17712 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17713 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17714 then :
17716 else $as_nop
17717 CAPI20_LIBS=""
17721 CPPFLAGS=$ac_save_CPPFLAGS
17724 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17725 then :
17726 case "x$with_capi" in
17727 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17728 xno) ;;
17729 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17730 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17731 esac
17732 enable_capi2032=${enable_capi2032:-no}
17735 if test "x$with_cups" != "xno"
17736 then
17737 rm -f conftest.err
17738 if ${CUPS_CFLAGS:+false} :
17739 then :
17740 if test ${PKG_CONFIG+y}
17741 then :
17742 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17745 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17746 if ${CUPS_LIBS:+false} :
17747 then :
17748 if test ${PKG_CONFIG+y}
17749 then :
17750 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17753 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17754 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17756 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17757 if test -s conftest.err; then
17758 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17759 cat conftest.err >&5
17761 rm -f conftest.err
17762 ac_save_CPPFLAGS=$CPPFLAGS
17763 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17764 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17765 if test "x$ac_cv_header_cups_cups_h" = xyes
17766 then :
17767 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17770 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17771 if test "x$ac_cv_header_cups_ppd_h" = xyes
17772 then :
17773 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17777 if test "$ac_cv_header_cups_cups_h" = "yes"
17778 then
17779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17780 printf %s "checking for -lcups... " >&6; }
17781 if test ${ac_cv_lib_soname_cups+y}
17782 then :
17783 printf %s "(cached) " >&6
17784 else $as_nop
17785 ac_check_soname_save_LIBS=$LIBS
17786 LIBS="-lcups $CUPS_LIBS $LIBS"
17787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17788 /* end confdefs.h. */
17790 /* Override any GCC internal prototype to avoid an error.
17791 Use char because int might match the return type of a GCC
17792 builtin and then its argument prototype would still apply. */
17793 char cupsGetDefault ();
17795 main (void)
17797 return cupsGetDefault ();
17799 return 0;
17801 _ACEOF
17802 if ac_fn_c_try_link "$LINENO"
17803 then :
17804 case "$LIBEXT" in
17805 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17806 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'` ;;
17807 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17808 if ${ac_cv_lib_soname_cups:+false} :
17809 then :
17810 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17811 fi ;;
17812 esac
17813 else $as_nop
17814 ac_cv_lib_soname_cups=
17816 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17817 conftest$ac_exeext conftest.$ac_ext
17818 LIBS=$ac_check_soname_save_LIBS
17820 if ${ac_cv_lib_soname_cups:+false} :
17821 then :
17822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17823 printf "%s\n" "not found" >&6; }
17824 CUPS_LIBS=""
17825 else $as_nop
17826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17827 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17829 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17833 else
17834 CUPS_CFLAGS=""
17835 CUPS_LIBS=""
17837 CPPFLAGS=$ac_save_CPPFLAGS
17840 if test "x$ac_cv_lib_soname_cups" = "x"
17841 then :
17842 case "x$with_cups" in
17843 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17844 xno) ;;
17845 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17846 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17847 esac
17851 if test "x$with_fontconfig" != "xno"
17852 then
17853 rm -f conftest.err
17854 if ${FONTCONFIG_CFLAGS:+false} :
17855 then :
17856 if test ${PKG_CONFIG+y}
17857 then :
17858 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17861 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17862 if ${FONTCONFIG_LIBS:+false} :
17863 then :
17864 if test ${PKG_CONFIG+y}
17865 then :
17866 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17869 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17871 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17872 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17873 if test -s conftest.err; then
17874 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17875 cat conftest.err >&5
17877 rm -f conftest.err
17878 ac_save_CPPFLAGS=$CPPFLAGS
17879 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17880 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17881 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17882 then :
17883 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17887 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17888 then
17889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17890 printf %s "checking for -lfontconfig... " >&6; }
17891 if test ${ac_cv_lib_soname_fontconfig+y}
17892 then :
17893 printf %s "(cached) " >&6
17894 else $as_nop
17895 ac_check_soname_save_LIBS=$LIBS
17896 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17898 /* end confdefs.h. */
17900 /* Override any GCC internal prototype to avoid an error.
17901 Use char because int might match the return type of a GCC
17902 builtin and then its argument prototype would still apply. */
17903 char FcInit ();
17905 main (void)
17907 return FcInit ();
17909 return 0;
17911 _ACEOF
17912 if ac_fn_c_try_link "$LINENO"
17913 then :
17914 case "$LIBEXT" in
17915 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17916 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'` ;;
17917 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17918 if ${ac_cv_lib_soname_fontconfig:+false} :
17919 then :
17920 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17921 fi ;;
17922 esac
17923 else $as_nop
17924 ac_cv_lib_soname_fontconfig=
17926 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17927 conftest$ac_exeext conftest.$ac_ext
17928 LIBS=$ac_check_soname_save_LIBS
17930 if ${ac_cv_lib_soname_fontconfig:+false} :
17931 then :
17932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17933 printf "%s\n" "not found" >&6; }
17934 FONTCONFIG_CFLAGS=""
17935 else $as_nop
17936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17937 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17939 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17943 else
17944 FONTCONFIG_CFLAGS=""
17946 CPPFLAGS=$ac_save_CPPFLAGS
17949 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17950 then :
17951 case "x$with_fontconfig" in
17952 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17953 xno) ;;
17954 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17955 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17956 esac
17960 if test "x$with_krb5" != "xno"
17961 then
17962 rm -f conftest.err
17963 if ${KRB5_CFLAGS:+false} :
17964 then :
17965 if test ${PKG_CONFIG+y}
17966 then :
17967 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17970 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17971 if ${KRB5_LIBS:+false} :
17972 then :
17973 if test ${PKG_CONFIG+y}
17974 then :
17975 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17978 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17980 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17981 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17982 if test -s conftest.err; then
17983 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17984 cat conftest.err >&5
17986 rm -f conftest.err
17987 ac_save_CPPFLAGS=$CPPFLAGS
17988 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17989 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17990 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17991 then :
17992 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17996 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17997 then
17998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17999 printf %s "checking for -lkrb5... " >&6; }
18000 if test ${ac_cv_lib_soname_krb5+y}
18001 then :
18002 printf %s "(cached) " >&6
18003 else $as_nop
18004 ac_check_soname_save_LIBS=$LIBS
18005 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
18006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18007 /* end confdefs.h. */
18009 /* Override any GCC internal prototype to avoid an error.
18010 Use char because int might match the return type of a GCC
18011 builtin and then its argument prototype would still apply. */
18012 char krb5_is_config_principal ();
18014 main (void)
18016 return krb5_is_config_principal ();
18018 return 0;
18020 _ACEOF
18021 if ac_fn_c_try_link "$LINENO"
18022 then :
18023 case "$LIBEXT" in
18024 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18025 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'` ;;
18026 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18027 if ${ac_cv_lib_soname_krb5:+false} :
18028 then :
18029 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18030 fi ;;
18031 esac
18032 else $as_nop
18033 ac_cv_lib_soname_krb5=
18035 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18036 conftest$ac_exeext conftest.$ac_ext
18037 LIBS=$ac_check_soname_save_LIBS
18039 if ${ac_cv_lib_soname_krb5:+false} :
18040 then :
18041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18042 printf "%s\n" "not found" >&6; }
18043 KRB5_CFLAGS=""
18044 else $as_nop
18045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18046 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18048 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18052 else
18053 KRB5_CFLAGS=""
18055 CPPFLAGS=$ac_save_CPPFLAGS
18058 if test "x$ac_cv_lib_soname_krb5" = "x"
18059 then :
18060 case "x$with_krb5" in
18061 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18062 xno) ;;
18063 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18064 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18065 esac
18068 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18070 if test "x$with_gssapi" != "xno"
18071 then
18072 rm -f conftest.err
18073 if ${GSSAPI_CFLAGS:+false} :
18074 then :
18075 if test ${PKG_CONFIG+y}
18076 then :
18077 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18080 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18081 if ${GSSAPI_LIBS:+false} :
18082 then :
18083 if test ${PKG_CONFIG+y}
18084 then :
18085 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18088 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18090 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18091 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18092 if test -s conftest.err; then
18093 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18094 cat conftest.err >&5
18096 rm -f conftest.err
18097 ac_save_CPPFLAGS=$CPPFLAGS
18098 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18099 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18100 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18101 then :
18102 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18105 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18106 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18107 then :
18108 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18112 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18113 then
18114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18115 printf %s "checking for -lgssapi_krb5... " >&6; }
18116 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18117 then :
18118 printf %s "(cached) " >&6
18119 else $as_nop
18120 ac_check_soname_save_LIBS=$LIBS
18121 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18123 /* end confdefs.h. */
18125 /* Override any GCC internal prototype to avoid an error.
18126 Use char because int might match the return type of a GCC
18127 builtin and then its argument prototype would still apply. */
18128 char gss_init_sec_context ();
18130 main (void)
18132 return gss_init_sec_context ();
18134 return 0;
18136 _ACEOF
18137 if ac_fn_c_try_link "$LINENO"
18138 then :
18139 case "$LIBEXT" in
18140 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18141 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'` ;;
18142 *) 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'`
18143 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18144 then :
18145 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18146 fi ;;
18147 esac
18148 else $as_nop
18149 ac_cv_lib_soname_gssapi_krb5=
18151 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18152 conftest$ac_exeext conftest.$ac_ext
18153 LIBS=$ac_check_soname_save_LIBS
18155 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18156 then :
18157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18158 printf "%s\n" "not found" >&6; }
18159 GSSAPI_CFLAGS=""
18160 else $as_nop
18161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18162 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18164 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18168 else
18169 GSSAPI_CFLAGS=""
18171 CPPFLAGS=$ac_save_CPPFLAGS
18174 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18175 then :
18176 case "x$with_gssapi" in
18177 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18178 xno) ;;
18179 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18180 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18181 esac
18185 if test "$ac_cv_header_libprocstat_h" = "yes"
18186 then
18187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18188 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18189 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18190 then :
18191 printf %s "(cached) " >&6
18192 else $as_nop
18193 ac_check_lib_save_LIBS=$LIBS
18194 LIBS="-lprocstat $LIBS"
18195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18196 /* end confdefs.h. */
18198 /* Override any GCC internal prototype to avoid an error.
18199 Use char because int might match the return type of a GCC
18200 builtin and then its argument prototype would still apply. */
18201 char procstat_open_sysctl ();
18203 main (void)
18205 return procstat_open_sysctl ();
18207 return 0;
18209 _ACEOF
18210 if ac_fn_c_try_link "$LINENO"
18211 then :
18212 ac_cv_lib_procstat_procstat_open_sysctl=yes
18213 else $as_nop
18214 ac_cv_lib_procstat_procstat_open_sysctl=no
18216 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18217 conftest$ac_exeext conftest.$ac_ext
18218 LIBS=$ac_check_lib_save_LIBS
18220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18221 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18222 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18223 then :
18225 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18227 PROCSTAT_LIBS="-lprocstat"
18233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18234 printf %s "checking for -lodbc... " >&6; }
18235 if test ${ac_cv_lib_soname_odbc+y}
18236 then :
18237 printf %s "(cached) " >&6
18238 else $as_nop
18239 ac_check_soname_save_LIBS=$LIBS
18240 LIBS="-lodbc $LIBS"
18241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18242 /* end confdefs.h. */
18244 /* Override any GCC internal prototype to avoid an error.
18245 Use char because int might match the return type of a GCC
18246 builtin and then its argument prototype would still apply. */
18247 char SQLConnect ();
18249 main (void)
18251 return SQLConnect ();
18253 return 0;
18255 _ACEOF
18256 if ac_fn_c_try_link "$LINENO"
18257 then :
18258 case "$LIBEXT" in
18259 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18260 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'` ;;
18261 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18262 if ${ac_cv_lib_soname_odbc:+false} :
18263 then :
18264 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18265 fi ;;
18266 esac
18267 else $as_nop
18268 ac_cv_lib_soname_odbc=
18270 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18271 conftest$ac_exeext conftest.$ac_ext
18272 LIBS=$ac_check_soname_save_LIBS
18274 if ${ac_cv_lib_soname_odbc:+false} :
18275 then :
18276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18277 printf "%s\n" "not found" >&6; }
18278 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18280 else $as_nop
18281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18282 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18284 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18289 if test "x$with_netapi" != "xno"
18290 then
18291 rm -f conftest.err
18292 if ${NETAPI_CFLAGS:+false} :
18293 then :
18294 if test ${PKG_CONFIG+y}
18295 then :
18296 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18300 if ${NETAPI_LIBS:+false} :
18301 then :
18302 if test ${PKG_CONFIG+y}
18303 then :
18304 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18309 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18310 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18311 if test -s conftest.err; then
18312 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18313 cat conftest.err >&5
18315 rm -f conftest.err
18316 ac_save_CPPFLAGS=$CPPFLAGS
18317 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18319 printf %s "checking for -lnetapi... " >&6; }
18320 if test ${ac_cv_lib_soname_netapi+y}
18321 then :
18322 printf %s "(cached) " >&6
18323 else $as_nop
18324 ac_check_soname_save_LIBS=$LIBS
18325 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18327 /* end confdefs.h. */
18329 /* Override any GCC internal prototype to avoid an error.
18330 Use char because int might match the return type of a GCC
18331 builtin and then its argument prototype would still apply. */
18332 char libnetapi_init ();
18334 main (void)
18336 return libnetapi_init ();
18338 return 0;
18340 _ACEOF
18341 if ac_fn_c_try_link "$LINENO"
18342 then :
18343 case "$LIBEXT" in
18344 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18345 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'` ;;
18346 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18347 if ${ac_cv_lib_soname_netapi:+false} :
18348 then :
18349 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18350 fi ;;
18351 esac
18352 else $as_nop
18353 ac_cv_lib_soname_netapi=
18355 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18356 conftest$ac_exeext conftest.$ac_ext
18357 LIBS=$ac_check_soname_save_LIBS
18359 if ${ac_cv_lib_soname_netapi:+false} :
18360 then :
18361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18362 printf "%s\n" "not found" >&6; }
18363 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18365 else $as_nop
18366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18367 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18369 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18373 CPPFLAGS=$ac_save_CPPFLAGS
18376 if test "x$ac_cv_lib_soname_netapi" = "x"
18377 then :
18378 case "x$with_netapi" in
18379 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18380 xno) ;;
18381 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18382 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18383 esac
18384 enable_netapi=${enable_netapi:-no}
18388 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18389 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18390 then
18391 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18394 if test "x$with_vulkan" != "xno"
18395 then
18396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18397 printf %s "checking for -lvulkan... " >&6; }
18398 if test ${ac_cv_lib_soname_vulkan+y}
18399 then :
18400 printf %s "(cached) " >&6
18401 else $as_nop
18402 ac_check_soname_save_LIBS=$LIBS
18403 LIBS="-lvulkan $LIBS"
18404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18405 /* end confdefs.h. */
18407 /* Override any GCC internal prototype to avoid an error.
18408 Use char because int might match the return type of a GCC
18409 builtin and then its argument prototype would still apply. */
18410 char vkGetInstanceProcAddr ();
18412 main (void)
18414 return vkGetInstanceProcAddr ();
18416 return 0;
18418 _ACEOF
18419 if ac_fn_c_try_link "$LINENO"
18420 then :
18421 case "$LIBEXT" in
18422 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18423 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'` ;;
18424 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18425 if ${ac_cv_lib_soname_vulkan:+false} :
18426 then :
18427 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18428 fi ;;
18429 esac
18430 else $as_nop
18431 ac_cv_lib_soname_vulkan=
18433 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18434 conftest$ac_exeext conftest.$ac_ext
18435 LIBS=$ac_check_soname_save_LIBS
18437 if ${ac_cv_lib_soname_vulkan:+false} :
18438 then :
18439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18440 printf "%s\n" "not found" >&6; }
18442 else $as_nop
18443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18444 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18446 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18450 if test "x$ac_cv_lib_soname_vulkan" = "x"
18451 then
18452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18453 printf %s "checking for -lMoltenVK... " >&6; }
18454 if test ${ac_cv_lib_soname_MoltenVK+y}
18455 then :
18456 printf %s "(cached) " >&6
18457 else $as_nop
18458 ac_check_soname_save_LIBS=$LIBS
18459 LIBS="-lMoltenVK $LIBS"
18460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18461 /* end confdefs.h. */
18463 /* Override any GCC internal prototype to avoid an error.
18464 Use char because int might match the return type of a GCC
18465 builtin and then its argument prototype would still apply. */
18466 char vkGetInstanceProcAddr ();
18468 main (void)
18470 return vkGetInstanceProcAddr ();
18472 return 0;
18474 _ACEOF
18475 if ac_fn_c_try_link "$LINENO"
18476 then :
18477 case "$LIBEXT" in
18478 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18479 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'` ;;
18480 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18481 if ${ac_cv_lib_soname_MoltenVK:+false} :
18482 then :
18483 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18484 fi ;;
18485 esac
18486 else $as_nop
18487 ac_cv_lib_soname_MoltenVK=
18489 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18490 conftest$ac_exeext conftest.$ac_ext
18491 LIBS=$ac_check_soname_save_LIBS
18493 if ${ac_cv_lib_soname_MoltenVK:+false} :
18494 then :
18495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18496 printf "%s\n" "not found" >&6; }
18498 else $as_nop
18499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18500 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18502 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18508 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18509 then :
18510 case "x$with_vulkan" in
18511 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18512 xno) ;;
18513 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18514 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18515 esac
18520 if test "x${GCC}" = "xyes"
18521 then
18522 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18524 saved_CFLAGS=$CFLAGS
18525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18526 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18527 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18528 then :
18529 printf %s "(cached) " >&6
18530 else $as_nop
18531 ac_wine_try_cflags_saved=$CFLAGS
18532 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18534 /* end confdefs.h. */
18535 int main(int argc, char **argv) { return 0; }
18536 _ACEOF
18537 if ac_fn_c_try_link "$LINENO"
18538 then :
18539 ac_cv_cflags__Werror_unknown_warning_option=yes
18540 else $as_nop
18541 ac_cv_cflags__Werror_unknown_warning_option=no
18543 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18544 conftest$ac_exeext conftest.$ac_ext
18545 CFLAGS=$ac_wine_try_cflags_saved
18547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18548 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18549 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18550 then :
18551 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18554 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18555 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18556 then :
18557 printf %s "(cached) " >&6
18558 else $as_nop
18559 ac_wine_try_cflags_saved=$CFLAGS
18560 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18562 /* end confdefs.h. */
18563 int main(int argc, char **argv) { return 0; }
18564 _ACEOF
18565 if ac_fn_c_try_link "$LINENO"
18566 then :
18567 ac_cv_cflags__Werror_unused_command_line_argument=yes
18568 else $as_nop
18569 ac_cv_cflags__Werror_unused_command_line_argument=no
18571 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18572 conftest$ac_exeext conftest.$ac_ext
18573 CFLAGS=$ac_wine_try_cflags_saved
18575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18576 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18577 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18578 then :
18579 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18582 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18583 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18584 then :
18585 printf %s "(cached) " >&6
18586 else $as_nop
18587 ac_wine_try_cflags_saved=$CFLAGS
18588 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18590 /* end confdefs.h. */
18591 int main(int argc, char **argv) { return 0; }
18592 _ACEOF
18593 if ac_fn_c_try_link "$LINENO"
18594 then :
18595 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18596 else $as_nop
18597 ac_cv_cflags__Werror_ignored_optimization_argument=no
18599 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18600 conftest$ac_exeext conftest.$ac_ext
18601 CFLAGS=$ac_wine_try_cflags_saved
18603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18604 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18605 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18606 then :
18607 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18610 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18611 if test ${ac_cv_cflags__fcf_protection_none+y}
18612 then :
18613 printf %s "(cached) " >&6
18614 else $as_nop
18615 ac_wine_try_cflags_saved=$CFLAGS
18616 CFLAGS="$CFLAGS -fcf-protection=none"
18617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18618 /* end confdefs.h. */
18619 int main(int argc, char **argv) { return 0; }
18620 _ACEOF
18621 if ac_fn_c_try_link "$LINENO"
18622 then :
18623 ac_cv_cflags__fcf_protection_none=yes
18624 else $as_nop
18625 ac_cv_cflags__fcf_protection_none=no
18627 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18628 conftest$ac_exeext conftest.$ac_ext
18629 CFLAGS=$ac_wine_try_cflags_saved
18631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18632 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18633 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18634 then :
18635 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18638 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18639 if test ${ac_cv_cflags__fno_stack_protector+y}
18640 then :
18641 printf %s "(cached) " >&6
18642 else $as_nop
18643 ac_wine_try_cflags_saved=$CFLAGS
18644 CFLAGS="$CFLAGS -fno-stack-protector"
18645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18646 /* end confdefs.h. */
18647 int main(int argc, char **argv) { return 0; }
18648 _ACEOF
18649 if ac_fn_c_try_link "$LINENO"
18650 then :
18651 ac_cv_cflags__fno_stack_protector=yes
18652 else $as_nop
18653 ac_cv_cflags__fno_stack_protector=no
18655 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18656 conftest$ac_exeext conftest.$ac_ext
18657 CFLAGS=$ac_wine_try_cflags_saved
18659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18660 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18661 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18662 then :
18663 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18666 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18667 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18668 then :
18669 printf %s "(cached) " >&6
18670 else $as_nop
18671 ac_wine_try_cflags_saved=$CFLAGS
18672 CFLAGS="$CFLAGS -fno-strict-aliasing"
18673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18674 /* end confdefs.h. */
18675 int main(int argc, char **argv) { return 0; }
18676 _ACEOF
18677 if ac_fn_c_try_link "$LINENO"
18678 then :
18679 ac_cv_cflags__fno_strict_aliasing=yes
18680 else $as_nop
18681 ac_cv_cflags__fno_strict_aliasing=no
18683 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18684 conftest$ac_exeext conftest.$ac_ext
18685 CFLAGS=$ac_wine_try_cflags_saved
18687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18688 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18689 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18690 then :
18691 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18694 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18695 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18696 then :
18697 printf %s "(cached) " >&6
18698 else $as_nop
18699 ac_wine_try_cflags_saved=$CFLAGS
18700 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18702 /* end confdefs.h. */
18703 int main(int argc, char **argv) { return 0; }
18704 _ACEOF
18705 if ac_fn_c_try_link "$LINENO"
18706 then :
18707 ac_cv_cflags__Wdeclaration_after_statement=yes
18708 else $as_nop
18709 ac_cv_cflags__Wdeclaration_after_statement=no
18711 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18712 conftest$ac_exeext conftest.$ac_ext
18713 CFLAGS=$ac_wine_try_cflags_saved
18715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18716 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18717 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18718 then :
18719 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18722 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18723 if test ${ac_cv_cflags__Wempty_body+y}
18724 then :
18725 printf %s "(cached) " >&6
18726 else $as_nop
18727 ac_wine_try_cflags_saved=$CFLAGS
18728 CFLAGS="$CFLAGS -Wempty-body"
18729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18730 /* end confdefs.h. */
18731 int main(int argc, char **argv) { return 0; }
18732 _ACEOF
18733 if ac_fn_c_try_link "$LINENO"
18734 then :
18735 ac_cv_cflags__Wempty_body=yes
18736 else $as_nop
18737 ac_cv_cflags__Wempty_body=no
18739 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18740 conftest$ac_exeext conftest.$ac_ext
18741 CFLAGS=$ac_wine_try_cflags_saved
18743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18744 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18745 if test "x$ac_cv_cflags__Wempty_body" = xyes
18746 then :
18747 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18750 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18751 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18752 then :
18753 printf %s "(cached) " >&6
18754 else $as_nop
18755 ac_wine_try_cflags_saved=$CFLAGS
18756 CFLAGS="$CFLAGS -Wignored-qualifiers"
18757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18758 /* end confdefs.h. */
18759 int main(int argc, char **argv) { return 0; }
18760 _ACEOF
18761 if ac_fn_c_try_link "$LINENO"
18762 then :
18763 ac_cv_cflags__Wignored_qualifiers=yes
18764 else $as_nop
18765 ac_cv_cflags__Wignored_qualifiers=no
18767 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18768 conftest$ac_exeext conftest.$ac_ext
18769 CFLAGS=$ac_wine_try_cflags_saved
18771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18772 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18773 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18774 then :
18775 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18778 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18779 if test ${ac_cv_cflags__Winit_self+y}
18780 then :
18781 printf %s "(cached) " >&6
18782 else $as_nop
18783 ac_wine_try_cflags_saved=$CFLAGS
18784 CFLAGS="$CFLAGS -Winit-self"
18785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18786 /* end confdefs.h. */
18787 int main(int argc, char **argv) { return 0; }
18788 _ACEOF
18789 if ac_fn_c_try_link "$LINENO"
18790 then :
18791 ac_cv_cflags__Winit_self=yes
18792 else $as_nop
18793 ac_cv_cflags__Winit_self=no
18795 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18796 conftest$ac_exeext conftest.$ac_ext
18797 CFLAGS=$ac_wine_try_cflags_saved
18799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18800 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18801 if test "x$ac_cv_cflags__Winit_self" = xyes
18802 then :
18803 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18806 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18807 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18808 then :
18809 printf %s "(cached) " >&6
18810 else $as_nop
18811 ac_wine_try_cflags_saved=$CFLAGS
18812 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18814 /* end confdefs.h. */
18815 int main(int argc, char **argv) { return 0; }
18816 _ACEOF
18817 if ac_fn_c_try_link "$LINENO"
18818 then :
18819 ac_cv_cflags__Wpacked_not_aligned=yes
18820 else $as_nop
18821 ac_cv_cflags__Wpacked_not_aligned=no
18823 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18824 conftest$ac_exeext conftest.$ac_ext
18825 CFLAGS=$ac_wine_try_cflags_saved
18827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18828 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18829 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18830 then :
18831 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18834 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18835 if test ${ac_cv_cflags__Wpragma_pack+y}
18836 then :
18837 printf %s "(cached) " >&6
18838 else $as_nop
18839 ac_wine_try_cflags_saved=$CFLAGS
18840 CFLAGS="$CFLAGS -Wpragma-pack"
18841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18842 /* end confdefs.h. */
18843 int main(int argc, char **argv) { return 0; }
18844 _ACEOF
18845 if ac_fn_c_try_link "$LINENO"
18846 then :
18847 ac_cv_cflags__Wpragma_pack=yes
18848 else $as_nop
18849 ac_cv_cflags__Wpragma_pack=no
18851 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18852 conftest$ac_exeext conftest.$ac_ext
18853 CFLAGS=$ac_wine_try_cflags_saved
18855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18856 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18857 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18858 then :
18859 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18862 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18863 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18864 then :
18865 printf %s "(cached) " >&6
18866 else $as_nop
18867 ac_wine_try_cflags_saved=$CFLAGS
18868 CFLAGS="$CFLAGS -Wshift-overflow=2"
18869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18870 /* end confdefs.h. */
18871 int main(int argc, char **argv) { return 0; }
18872 _ACEOF
18873 if ac_fn_c_try_link "$LINENO"
18874 then :
18875 ac_cv_cflags__Wshift_overflow_2=yes
18876 else $as_nop
18877 ac_cv_cflags__Wshift_overflow_2=no
18879 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18880 conftest$ac_exeext conftest.$ac_ext
18881 CFLAGS=$ac_wine_try_cflags_saved
18883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18884 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18885 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18886 then :
18887 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18890 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18891 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18892 then :
18893 printf %s "(cached) " >&6
18894 else $as_nop
18895 ac_wine_try_cflags_saved=$CFLAGS
18896 CFLAGS="$CFLAGS -Wstrict-prototypes"
18897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18898 /* end confdefs.h. */
18899 int main(int argc, char **argv) { return 0; }
18900 _ACEOF
18901 if ac_fn_c_try_link "$LINENO"
18902 then :
18903 ac_cv_cflags__Wstrict_prototypes=yes
18904 else $as_nop
18905 ac_cv_cflags__Wstrict_prototypes=no
18907 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18908 conftest$ac_exeext conftest.$ac_ext
18909 CFLAGS=$ac_wine_try_cflags_saved
18911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18912 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18913 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18914 then :
18915 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18918 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18919 if test ${ac_cv_cflags__Wtype_limits+y}
18920 then :
18921 printf %s "(cached) " >&6
18922 else $as_nop
18923 ac_wine_try_cflags_saved=$CFLAGS
18924 CFLAGS="$CFLAGS -Wtype-limits"
18925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18926 /* end confdefs.h. */
18927 int main(int argc, char **argv) { return 0; }
18928 _ACEOF
18929 if ac_fn_c_try_link "$LINENO"
18930 then :
18931 ac_cv_cflags__Wtype_limits=yes
18932 else $as_nop
18933 ac_cv_cflags__Wtype_limits=no
18935 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18936 conftest$ac_exeext conftest.$ac_ext
18937 CFLAGS=$ac_wine_try_cflags_saved
18939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18940 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18941 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18942 then :
18943 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18946 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18947 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18948 then :
18949 printf %s "(cached) " >&6
18950 else $as_nop
18951 ac_wine_try_cflags_saved=$CFLAGS
18952 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18954 /* end confdefs.h. */
18955 int main(int argc, char **argv) { return 0; }
18956 _ACEOF
18957 if ac_fn_c_try_link "$LINENO"
18958 then :
18959 ac_cv_cflags__Wunused_but_set_parameter=yes
18960 else $as_nop
18961 ac_cv_cflags__Wunused_but_set_parameter=no
18963 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18964 conftest$ac_exeext conftest.$ac_ext
18965 CFLAGS=$ac_wine_try_cflags_saved
18967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18968 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18969 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18970 then :
18971 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18974 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18975 if test ${ac_cv_cflags__Wvla+y}
18976 then :
18977 printf %s "(cached) " >&6
18978 else $as_nop
18979 ac_wine_try_cflags_saved=$CFLAGS
18980 CFLAGS="$CFLAGS -Wvla"
18981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18982 /* end confdefs.h. */
18983 int main(int argc, char **argv) { return 0; }
18984 _ACEOF
18985 if ac_fn_c_try_link "$LINENO"
18986 then :
18987 ac_cv_cflags__Wvla=yes
18988 else $as_nop
18989 ac_cv_cflags__Wvla=no
18991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18992 conftest$ac_exeext conftest.$ac_ext
18993 CFLAGS=$ac_wine_try_cflags_saved
18995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18996 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18997 if test "x$ac_cv_cflags__Wvla" = xyes
18998 then :
18999 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
19001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19002 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
19003 if test ${ac_cv_cflags__Wwrite_strings+y}
19004 then :
19005 printf %s "(cached) " >&6
19006 else $as_nop
19007 ac_wine_try_cflags_saved=$CFLAGS
19008 CFLAGS="$CFLAGS -Wwrite-strings"
19009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19010 /* end confdefs.h. */
19011 int main(int argc, char **argv) { return 0; }
19012 _ACEOF
19013 if ac_fn_c_try_link "$LINENO"
19014 then :
19015 ac_cv_cflags__Wwrite_strings=yes
19016 else $as_nop
19017 ac_cv_cflags__Wwrite_strings=no
19019 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19020 conftest$ac_exeext conftest.$ac_ext
19021 CFLAGS=$ac_wine_try_cflags_saved
19023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19024 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19025 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19026 then :
19027 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19031 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19032 if test ${ac_cv_cflags__Wpointer_arith+y}
19033 then :
19034 printf %s "(cached) " >&6
19035 else $as_nop
19036 ac_wine_try_cflags_saved=$CFLAGS
19037 CFLAGS="$CFLAGS -Wpointer-arith"
19038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19039 /* end confdefs.h. */
19040 int main(int argc, char **argv) { return 0; }
19041 _ACEOF
19042 if ac_fn_c_try_link "$LINENO"
19043 then :
19044 ac_cv_cflags__Wpointer_arith=yes
19045 else $as_nop
19046 ac_cv_cflags__Wpointer_arith=no
19048 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19049 conftest$ac_exeext conftest.$ac_ext
19050 CFLAGS=$ac_wine_try_cflags_saved
19052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19053 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19054 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19055 then :
19056 saved_string_h_CFLAGS=$CFLAGS
19057 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19059 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19060 if test ${ac_cv_c_string_h_warnings+y}
19061 then :
19062 printf %s "(cached) " >&6
19063 else $as_nop
19064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19065 /* end confdefs.h. */
19066 #include <string.h>
19068 main (void)
19072 return 0;
19074 _ACEOF
19075 if ac_fn_c_try_compile "$LINENO"
19076 then :
19077 ac_cv_c_string_h_warnings=no
19078 else $as_nop
19079 ac_cv_c_string_h_warnings=yes
19081 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19084 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19085 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19086 CFLAGS=$saved_string_h_CFLAGS
19089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19090 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19091 if test ${ac_cv_cflags__Wlogical_op+y}
19092 then :
19093 printf %s "(cached) " >&6
19094 else $as_nop
19095 ac_wine_try_cflags_saved=$CFLAGS
19096 CFLAGS="$CFLAGS -Wlogical-op"
19097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19098 /* end confdefs.h. */
19099 int main(int argc, char **argv) { return 0; }
19100 _ACEOF
19101 if ac_fn_c_try_link "$LINENO"
19102 then :
19103 ac_cv_cflags__Wlogical_op=yes
19104 else $as_nop
19105 ac_cv_cflags__Wlogical_op=no
19107 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19108 conftest$ac_exeext conftest.$ac_ext
19109 CFLAGS=$ac_wine_try_cflags_saved
19111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19112 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19113 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19114 then :
19115 saved_string_h_CFLAGS=$CFLAGS
19116 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19118 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19119 if test ${ac_cv_c_logicalop_noisy+y}
19120 then :
19121 printf %s "(cached) " >&6
19122 else $as_nop
19123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19124 /* end confdefs.h. */
19125 #include <string.h>
19126 char*f(const char *h,char n) {return strchr(h,n);}
19128 main (void)
19132 return 0;
19134 _ACEOF
19135 if ac_fn_c_try_compile "$LINENO"
19136 then :
19137 ac_cv_c_logicalop_noisy=no
19138 else $as_nop
19139 ac_cv_c_logicalop_noisy=yes
19141 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19144 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19145 CFLAGS=$saved_string_h_CFLAGS
19146 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19150 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19151 if test ${wine_cv_64bit_compare_swap+y}
19152 then :
19153 printf %s "(cached) " >&6
19154 else $as_nop
19155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19156 /* end confdefs.h. */
19157 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19158 #error no
19159 #endif
19161 main (void)
19165 return 0;
19167 _ACEOF
19168 if ac_fn_c_try_compile "$LINENO"
19169 then :
19170 wine_cv_64bit_compare_swap="none needed"
19171 else $as_nop
19172 case $host_cpu in
19173 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19174 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19175 *) wine_cv_64bit_compare_swap="unknown" ;;
19176 esac
19177 if test "x$wine_cv_64bit_compare_swap" != xunknown
19178 then
19179 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19181 /* end confdefs.h. */
19182 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19183 #error no
19184 #endif
19186 main (void)
19190 return 0;
19192 _ACEOF
19193 if ac_fn_c_try_compile "$LINENO"
19194 then :
19196 else $as_nop
19197 wine_cv_64bit_compare_swap="unknown"
19199 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19200 CFLAGS=$saved_CFLAGS
19203 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19206 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19207 case "$wine_cv_64bit_compare_swap" in
19208 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19209 "none needed") ;;
19210 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19211 esac
19213 ac_debug_format_seen=""
19214 for ac_flag in $CFLAGS; do
19215 case $ac_flag in
19216 -gdwarf*) ac_debug_format_seen=yes ;;
19217 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19218 esac
19219 done
19220 if test "x$ac_debug_format_seen" = xdefault
19221 then
19222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19223 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19224 if test ${ac_cv_cflags__gdwarf_4+y}
19225 then :
19226 printf %s "(cached) " >&6
19227 else $as_nop
19228 ac_wine_try_cflags_saved=$CFLAGS
19229 CFLAGS="$CFLAGS -gdwarf-4"
19230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19231 /* end confdefs.h. */
19232 int main(int argc, char **argv) { return 0; }
19233 _ACEOF
19234 if ac_fn_c_try_link "$LINENO"
19235 then :
19236 ac_cv_cflags__gdwarf_4=yes
19237 else $as_nop
19238 ac_cv_cflags__gdwarf_4=no
19240 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19241 conftest$ac_exeext conftest.$ac_ext
19242 CFLAGS=$ac_wine_try_cflags_saved
19244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19245 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19246 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19247 then :
19248 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19252 MSVCRTFLAGS=""
19254 case $host_os in
19255 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19256 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19257 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19258 then :
19259 printf %s "(cached) " >&6
19260 else $as_nop
19261 ac_wine_try_cflags_saved=$CFLAGS
19262 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19264 /* end confdefs.h. */
19265 int main(int argc, char **argv) { return 0; }
19266 _ACEOF
19267 if ac_fn_c_try_link "$LINENO"
19268 then :
19269 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19270 else $as_nop
19271 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19273 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19274 conftest$ac_exeext conftest.$ac_ext
19275 CFLAGS=$ac_wine_try_cflags_saved
19277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19278 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19279 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19280 then :
19281 DELAYLOADFLAG="-Wl,-delayload,"
19283 fi ;;
19284 *) MSVCRTFLAGS="-D_WIN32"
19285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19286 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19287 if test ${ac_cv_cflags__fno_builtin+y}
19288 then :
19289 printf %s "(cached) " >&6
19290 else $as_nop
19291 ac_wine_try_cflags_saved=$CFLAGS
19292 CFLAGS="$CFLAGS -fno-builtin"
19293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19294 /* end confdefs.h. */
19295 int main(int argc, char **argv) { return 0; }
19296 _ACEOF
19297 if ac_fn_c_try_link "$LINENO"
19298 then :
19299 ac_cv_cflags__fno_builtin=yes
19300 else $as_nop
19301 ac_cv_cflags__fno_builtin=no
19303 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19304 conftest$ac_exeext conftest.$ac_ext
19305 CFLAGS=$ac_wine_try_cflags_saved
19307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19308 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19309 if test "x$ac_cv_cflags__fno_builtin" = xyes
19310 then :
19311 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19314 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19315 if test ${ac_cv_cflags__fshort_wchar+y}
19316 then :
19317 printf %s "(cached) " >&6
19318 else $as_nop
19319 ac_wine_try_cflags_saved=$CFLAGS
19320 CFLAGS="$CFLAGS -fshort-wchar"
19321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19322 /* end confdefs.h. */
19323 int main(int argc, char **argv) { return 0; }
19324 _ACEOF
19325 if ac_fn_c_try_link "$LINENO"
19326 then :
19327 ac_cv_cflags__fshort_wchar=yes
19328 else $as_nop
19329 ac_cv_cflags__fshort_wchar=no
19331 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19332 conftest$ac_exeext conftest.$ac_ext
19333 CFLAGS=$ac_wine_try_cflags_saved
19335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19336 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19337 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19338 then :
19339 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19342 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19343 if test ${ac_cv_cflags__Wno_format+y}
19344 then :
19345 printf %s "(cached) " >&6
19346 else $as_nop
19347 ac_wine_try_cflags_saved=$CFLAGS
19348 CFLAGS="$CFLAGS -Wno-format"
19349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19350 /* end confdefs.h. */
19351 int main(int argc, char **argv) { return 0; }
19352 _ACEOF
19353 if ac_fn_c_try_link "$LINENO"
19354 then :
19355 ac_cv_cflags__Wno_format=yes
19356 else $as_nop
19357 ac_cv_cflags__Wno_format=no
19359 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19360 conftest$ac_exeext conftest.$ac_ext
19361 CFLAGS=$ac_wine_try_cflags_saved
19363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19364 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19365 if test "x$ac_cv_cflags__Wno_format" = xyes
19366 then :
19367 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19368 fi ;;
19369 esac
19371 case $host_cpu in
19372 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19373 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19374 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19375 then :
19376 printf %s "(cached) " >&6
19377 else $as_nop
19378 ac_wine_try_cflags_saved=$CFLAGS
19379 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19381 /* end confdefs.h. */
19382 int main(int argc, char **argv) { return 0; }
19383 _ACEOF
19384 if ac_fn_c_try_link "$LINENO"
19385 then :
19386 ac_cv_cflags__fno_omit_frame_pointer=yes
19387 else $as_nop
19388 ac_cv_cflags__fno_omit_frame_pointer=no
19390 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19391 conftest$ac_exeext conftest.$ac_ext
19392 CFLAGS=$ac_wine_try_cflags_saved
19394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19395 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19396 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19397 then :
19398 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19399 fi ;;
19400 *x86_64*)
19401 case $host_os in
19402 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19403 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19404 if test ${ac_cv_cflags__Wno_format+y}
19405 then :
19406 printf %s "(cached) " >&6
19407 else $as_nop
19408 ac_wine_try_cflags_saved=$CFLAGS
19409 CFLAGS="$CFLAGS -Wno-format"
19410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19411 /* end confdefs.h. */
19412 int main(int argc, char **argv) { return 0; }
19413 _ACEOF
19414 if ac_fn_c_try_link "$LINENO"
19415 then :
19416 ac_cv_cflags__Wno_format=yes
19417 else $as_nop
19418 ac_cv_cflags__Wno_format=no
19420 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19421 conftest$ac_exeext conftest.$ac_ext
19422 CFLAGS=$ac_wine_try_cflags_saved
19424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19425 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19426 if test "x$ac_cv_cflags__Wno_format" = xyes
19427 then :
19428 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19429 fi ;;
19430 *) if test -z "$PE_ARCHS"
19431 then
19432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19433 printf %s "checking for working -mabi=ms... " >&6; }
19434 if test ${ac_cv_mabi_ms+y}
19435 then :
19436 printf %s "(cached) " >&6
19437 else $as_nop
19438 CFLAGS="$CFLAGS -mabi=ms"
19439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19440 /* end confdefs.h. */
19441 #include <stdarg.h>
19442 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19444 main (void)
19448 return 0;
19450 _ACEOF
19451 if ac_fn_c_try_compile "$LINENO"
19452 then :
19453 ac_cv_mabi_ms=yes
19454 else $as_nop
19455 ac_cv_mabi_ms=no
19457 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19458 CFLAGS=$saved_CFLAGS
19460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19461 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19462 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
19464 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19465 esac ;;
19466 arm*)
19467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19468 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19469 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19470 then :
19471 printf %s "(cached) " >&6
19472 else $as_nop
19473 ac_wine_try_cflags_saved=$CFLAGS
19474 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19476 /* end confdefs.h. */
19477 int main(int argc, char **argv) { return 0; }
19478 _ACEOF
19479 if ac_fn_c_try_link "$LINENO"
19480 then :
19481 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19482 else $as_nop
19483 ac_cv_cflags__Wincompatible_function_pointer_types=no
19485 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19486 conftest$ac_exeext conftest.$ac_ext
19487 CFLAGS=$ac_wine_try_cflags_saved
19489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19490 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19491 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19492 then :
19493 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19494 fi ;;
19495 esac
19497 CFLAGS=$saved_CFLAGS
19499 if test "x$enable_werror" = "xyes"
19500 then
19501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19502 printf %s "checking whether the compiler supports -Werror... " >&6; }
19503 if test ${ac_cv_cflags__Werror+y}
19504 then :
19505 printf %s "(cached) " >&6
19506 else $as_nop
19507 ac_wine_try_cflags_saved=$CFLAGS
19508 CFLAGS="$CFLAGS -Werror"
19509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19510 /* end confdefs.h. */
19511 int main(int argc, char **argv) { return 0; }
19512 _ACEOF
19513 if ac_fn_c_try_link "$LINENO"
19514 then :
19515 ac_cv_cflags__Werror=yes
19516 else $as_nop
19517 ac_cv_cflags__Werror=no
19519 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19520 conftest$ac_exeext conftest.$ac_ext
19521 CFLAGS=$ac_wine_try_cflags_saved
19523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19524 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19525 if test "x$ac_cv_cflags__Werror" = xyes
19526 then :
19527 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19530 if test "x$enable_build_id" = "xyes"
19531 then
19532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19533 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19534 if test ${ac_cv_cflags__Wl___build_id+y}
19535 then :
19536 printf %s "(cached) " >&6
19537 else $as_nop
19538 ac_wine_try_cflags_saved=$CFLAGS
19539 CFLAGS="$CFLAGS -Wl,--build-id"
19540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19541 /* end confdefs.h. */
19542 int main(int argc, char **argv) { return 0; }
19543 _ACEOF
19544 if ac_fn_c_try_link "$LINENO"
19545 then :
19546 ac_cv_cflags__Wl___build_id=yes
19547 else $as_nop
19548 ac_cv_cflags__Wl___build_id=no
19550 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19551 conftest$ac_exeext conftest.$ac_ext
19552 CFLAGS=$ac_wine_try_cflags_saved
19554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19555 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19556 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19557 then :
19558 CFLAGS="$CFLAGS -Wl,--build-id"
19559 LDFLAGS="$LDFLAGS -Wl,--build-id"
19565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19566 printf %s "checking for the need to disable Fortify... " >&6; }
19567 if test ${ac_cv_c_fortify_enabled+y}
19568 then :
19569 printf %s "(cached) " >&6
19570 else $as_nop
19571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19572 /* end confdefs.h. */
19573 #include <string.h>
19575 main (void)
19577 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19578 #error Fortify enabled
19579 #endif
19581 return 0;
19583 _ACEOF
19584 if ac_fn_c_try_compile "$LINENO"
19585 then :
19586 ac_cv_c_fortify_enabled=no
19587 else $as_nop
19588 ac_cv_c_fortify_enabled=yes
19590 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19593 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19594 if test "$ac_cv_c_fortify_enabled" = yes
19595 then
19596 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19601 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19602 if test ${ac_cv_c_cfi_support+y}
19603 then :
19604 printf %s "(cached) " >&6
19605 else $as_nop
19606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19607 /* end confdefs.h. */
19608 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19610 main (void)
19614 return 0;
19616 _ACEOF
19617 if ac_fn_c_try_compile "$LINENO"
19618 then :
19619 ac_cv_c_cfi_support="yes"
19620 else $as_nop
19621 ac_cv_c_cfi_support="no"
19623 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19626 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19627 if test "$ac_cv_c_cfi_support" = "yes"
19628 then
19629 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19630 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19631 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19632 elif test $HOST_ARCH = x86_64
19633 then
19634 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19638 case "$HOST_ARCH,$PE_ARCHS" in
19639 x86_64,*i386*) wine_binary="wine" ;;
19640 x86_64,*) wine_binary="wine64" ;;
19641 *) wine_binary="wine" ;;
19642 esac
19643 WINELOADER_PROGRAMS="$wine_binary"
19646 case $host_os in
19647 linux*)
19648 case $host_cpu in
19649 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19650 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19651 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19653 esac
19655 darwin*|macosx*)
19656 if test "$wine_can_build_preloader" = "yes"
19657 then
19658 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19659 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19662 esac
19665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19666 printf %s "checking for library containing dlopen... " >&6; }
19667 if test ${ac_cv_search_dlopen+y}
19668 then :
19669 printf %s "(cached) " >&6
19670 else $as_nop
19671 ac_func_search_save_LIBS=$LIBS
19672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19673 /* end confdefs.h. */
19675 /* Override any GCC internal prototype to avoid an error.
19676 Use char because int might match the return type of a GCC
19677 builtin and then its argument prototype would still apply. */
19678 char dlopen ();
19680 main (void)
19682 return dlopen ();
19684 return 0;
19686 _ACEOF
19687 for ac_lib in '' dl
19689 if test -z "$ac_lib"; then
19690 ac_res="none required"
19691 else
19692 ac_res=-l$ac_lib
19693 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19695 if ac_fn_c_try_link "$LINENO"
19696 then :
19697 ac_cv_search_dlopen=$ac_res
19699 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19700 conftest$ac_exeext
19701 if test ${ac_cv_search_dlopen+y}
19702 then :
19703 break
19705 done
19706 if test ${ac_cv_search_dlopen+y}
19707 then :
19709 else $as_nop
19710 ac_cv_search_dlopen=no
19712 rm conftest.$ac_ext
19713 LIBS=$ac_func_search_save_LIBS
19715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19716 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19717 ac_res=$ac_cv_search_dlopen
19718 if test "$ac_res" != no
19719 then :
19720 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19726 printf %s "checking for library containing gethostbyname... " >&6; }
19727 if test ${ac_cv_search_gethostbyname+y}
19728 then :
19729 printf %s "(cached) " >&6
19730 else $as_nop
19731 ac_func_search_save_LIBS=$LIBS
19732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19733 /* end confdefs.h. */
19735 /* Override any GCC internal prototype to avoid an error.
19736 Use char because int might match the return type of a GCC
19737 builtin and then its argument prototype would still apply. */
19738 char gethostbyname ();
19740 main (void)
19742 return gethostbyname ();
19744 return 0;
19746 _ACEOF
19747 for ac_lib in '' nsl
19749 if test -z "$ac_lib"; then
19750 ac_res="none required"
19751 else
19752 ac_res=-l$ac_lib
19753 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19755 if ac_fn_c_try_link "$LINENO"
19756 then :
19757 ac_cv_search_gethostbyname=$ac_res
19759 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19760 conftest$ac_exeext
19761 if test ${ac_cv_search_gethostbyname+y}
19762 then :
19763 break
19765 done
19766 if test ${ac_cv_search_gethostbyname+y}
19767 then :
19769 else $as_nop
19770 ac_cv_search_gethostbyname=no
19772 rm conftest.$ac_ext
19773 LIBS=$ac_func_search_save_LIBS
19775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19776 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19777 ac_res=$ac_cv_search_gethostbyname
19778 if test "$ac_res" != no
19779 then :
19780 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19786 printf %s "checking for library containing connect... " >&6; }
19787 if test ${ac_cv_search_connect+y}
19788 then :
19789 printf %s "(cached) " >&6
19790 else $as_nop
19791 ac_func_search_save_LIBS=$LIBS
19792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19793 /* end confdefs.h. */
19795 /* Override any GCC internal prototype to avoid an error.
19796 Use char because int might match the return type of a GCC
19797 builtin and then its argument prototype would still apply. */
19798 char connect ();
19800 main (void)
19802 return connect ();
19804 return 0;
19806 _ACEOF
19807 for ac_lib in '' socket
19809 if test -z "$ac_lib"; then
19810 ac_res="none required"
19811 else
19812 ac_res=-l$ac_lib
19813 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19815 if ac_fn_c_try_link "$LINENO"
19816 then :
19817 ac_cv_search_connect=$ac_res
19819 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19820 conftest$ac_exeext
19821 if test ${ac_cv_search_connect+y}
19822 then :
19823 break
19825 done
19826 if test ${ac_cv_search_connect+y}
19827 then :
19829 else $as_nop
19830 ac_cv_search_connect=no
19832 rm conftest.$ac_ext
19833 LIBS=$ac_func_search_save_LIBS
19835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19836 printf "%s\n" "$ac_cv_search_connect" >&6; }
19837 ac_res=$ac_cv_search_connect
19838 if test "$ac_res" != no
19839 then :
19840 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19846 printf %s "checking for library containing inet_aton... " >&6; }
19847 if test ${ac_cv_search_inet_aton+y}
19848 then :
19849 printf %s "(cached) " >&6
19850 else $as_nop
19851 ac_func_search_save_LIBS=$LIBS
19852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19853 /* end confdefs.h. */
19855 /* Override any GCC internal prototype to avoid an error.
19856 Use char because int might match the return type of a GCC
19857 builtin and then its argument prototype would still apply. */
19858 char inet_aton ();
19860 main (void)
19862 return inet_aton ();
19864 return 0;
19866 _ACEOF
19867 for ac_lib in '' resolv
19869 if test -z "$ac_lib"; then
19870 ac_res="none required"
19871 else
19872 ac_res=-l$ac_lib
19873 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19875 if ac_fn_c_try_link "$LINENO"
19876 then :
19877 ac_cv_search_inet_aton=$ac_res
19879 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19880 conftest$ac_exeext
19881 if test ${ac_cv_search_inet_aton+y}
19882 then :
19883 break
19885 done
19886 if test ${ac_cv_search_inet_aton+y}
19887 then :
19889 else $as_nop
19890 ac_cv_search_inet_aton=no
19892 rm conftest.$ac_ext
19893 LIBS=$ac_func_search_save_LIBS
19895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19896 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19897 ac_res=$ac_cv_search_inet_aton
19898 if test "$ac_res" != no
19899 then :
19900 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19905 ac_save_CFLAGS="$CFLAGS"
19906 CFLAGS="$CFLAGS $BUILTINFLAG"
19907 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19908 if test "x$ac_cv_func_dladdr1" = xyes
19909 then :
19910 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19913 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19914 if test "x$ac_cv_func_dlinfo" = xyes
19915 then :
19916 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19919 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19920 if test "x$ac_cv_func_epoll_create" = xyes
19921 then :
19922 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19925 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19926 if test "x$ac_cv_func_fstatfs" = xyes
19927 then :
19928 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19931 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19932 if test "x$ac_cv_func_futimens" = xyes
19933 then :
19934 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19937 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19938 if test "x$ac_cv_func_futimes" = xyes
19939 then :
19940 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19943 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19944 if test "x$ac_cv_func_futimesat" = xyes
19945 then :
19946 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19949 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19950 if test "x$ac_cv_func_getaddrinfo" = xyes
19951 then :
19952 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19955 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19956 if test "x$ac_cv_func_getattrlist" = xyes
19957 then :
19958 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19961 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19962 if test "x$ac_cv_func_getauxval" = xyes
19963 then :
19964 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19967 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19968 if test "x$ac_cv_func_getifaddrs" = xyes
19969 then :
19970 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19973 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19974 if test "x$ac_cv_func_getrandom" = xyes
19975 then :
19976 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19979 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19980 if test "x$ac_cv_func_kqueue" = xyes
19981 then :
19982 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19985 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19986 if test "x$ac_cv_func_mach_continuous_time" = xyes
19987 then :
19988 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19991 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19992 if test "x$ac_cv_func_pipe2" = xyes
19993 then :
19994 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19997 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19998 if test "x$ac_cv_func_port_create" = xyes
19999 then :
20000 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20003 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20004 if test "x$ac_cv_func_posix_fadvise" = xyes
20005 then :
20006 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20009 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20010 if test "x$ac_cv_func_posix_fallocate" = xyes
20011 then :
20012 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20015 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
20016 if test "x$ac_cv_func_prctl" = xyes
20017 then :
20018 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20021 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20022 if test "x$ac_cv_func_proc_pidinfo" = xyes
20023 then :
20024 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20027 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20028 if test "x$ac_cv_func_sched_yield" = xyes
20029 then :
20030 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20033 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20034 if test "x$ac_cv_func_setproctitle" = xyes
20035 then :
20036 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20039 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
20040 if test "x$ac_cv_func_setprogname" = xyes
20041 then :
20042 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20045 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20046 if test "x$ac_cv_func_sigprocmask" = xyes
20047 then :
20048 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20051 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20052 if test "x$ac_cv_func_sysinfo" = xyes
20053 then :
20054 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20057 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20058 if test "x$ac_cv_func_tcdrain" = xyes
20059 then :
20060 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20063 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20064 if test "x$ac_cv_func_thr_kill2" = xyes
20065 then :
20066 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20070 CFLAGS="$ac_save_CFLAGS"
20072 case $host_os in
20073 darwin*|macosx*) ;;
20074 *) ac_save_LIBS=$LIBS
20075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20076 printf %s "checking for library containing clock_gettime... " >&6; }
20077 if test ${ac_cv_search_clock_gettime+y}
20078 then :
20079 printf %s "(cached) " >&6
20080 else $as_nop
20081 ac_func_search_save_LIBS=$LIBS
20082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20083 /* end confdefs.h. */
20085 /* Override any GCC internal prototype to avoid an error.
20086 Use char because int might match the return type of a GCC
20087 builtin and then its argument prototype would still apply. */
20088 char clock_gettime ();
20090 main (void)
20092 return clock_gettime ();
20094 return 0;
20096 _ACEOF
20097 for ac_lib in '' rt
20099 if test -z "$ac_lib"; then
20100 ac_res="none required"
20101 else
20102 ac_res=-l$ac_lib
20103 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20105 if ac_fn_c_try_link "$LINENO"
20106 then :
20107 ac_cv_search_clock_gettime=$ac_res
20109 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20110 conftest$ac_exeext
20111 if test ${ac_cv_search_clock_gettime+y}
20112 then :
20113 break
20115 done
20116 if test ${ac_cv_search_clock_gettime+y}
20117 then :
20119 else $as_nop
20120 ac_cv_search_clock_gettime=no
20122 rm conftest.$ac_ext
20123 LIBS=$ac_func_search_save_LIBS
20125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20126 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20127 ac_res=$ac_cv_search_clock_gettime
20128 if test "$ac_res" != no
20129 then :
20130 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20132 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20134 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20138 LIBS=$ac_save_LIBS
20140 esac
20142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20143 printf %s "checking for sched_setaffinity... " >&6; }
20144 if test ${wine_cv_have_sched_setaffinity+y}
20145 then :
20146 printf %s "(cached) " >&6
20147 else $as_nop
20148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20149 /* end confdefs.h. */
20150 #include <sched.h>
20152 main (void)
20154 sched_setaffinity(0, 0, 0);
20156 return 0;
20158 _ACEOF
20159 if ac_fn_c_try_link "$LINENO"
20160 then :
20161 wine_cv_have_sched_setaffinity=yes
20162 else $as_nop
20163 wine_cv_have_sched_setaffinity=no
20165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20166 conftest$ac_exeext conftest.$ac_ext
20168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20169 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20170 if test "$wine_cv_have_sched_setaffinity" = "yes"
20171 then
20173 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20179 printf %s "checking for inline... " >&6; }
20180 if test ${ac_cv_c_inline+y}
20181 then :
20182 printf %s "(cached) " >&6
20183 else $as_nop
20184 ac_cv_c_inline=no
20185 for ac_kw in inline __inline__ __inline; do
20186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20187 /* end confdefs.h. */
20188 #ifndef __cplusplus
20189 typedef int foo_t;
20190 static $ac_kw foo_t static_foo (void) {return 0; }
20191 $ac_kw foo_t foo (void) {return 0; }
20192 #endif
20194 _ACEOF
20195 if ac_fn_c_try_compile "$LINENO"
20196 then :
20197 ac_cv_c_inline=$ac_kw
20199 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20200 test "$ac_cv_c_inline" != no && break
20201 done
20204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20205 printf "%s\n" "$ac_cv_c_inline" >&6; }
20207 case $ac_cv_c_inline in
20208 inline | yes) ;;
20210 case $ac_cv_c_inline in
20211 no) ac_val=;;
20212 *) ac_val=$ac_cv_c_inline;;
20213 esac
20214 cat >>confdefs.h <<_ACEOF
20215 #ifndef __cplusplus
20216 #define inline $ac_val
20217 #endif
20218 _ACEOF
20220 esac
20222 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20224 if test "x$ac_cv_type_request_sense" = xyes
20225 then :
20227 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20233 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20234 #include <sys/socket.h>
20235 #ifdef HAVE_SYS_SOCKETVAR_H
20236 #include <sys/socketvar.h>
20237 #endif
20238 #ifdef HAVE_NET_ROUTE_H
20239 #include <net/route.h>
20240 #endif
20241 #ifdef HAVE_NETINET_IN_H
20242 #include <netinet/in.h>
20243 #endif
20244 #ifdef HAVE_NETINET_IN_SYSTM_H
20245 #include <netinet/in_systm.h>
20246 #endif
20247 #ifdef HAVE_NETINET_IP_H
20248 #include <netinet/ip.h>
20249 #endif
20250 #ifdef HAVE_NETINET_IN_PCB_H
20251 #include <netinet/in_pcb.h>
20252 #endif
20254 if test "x$ac_cv_type_struct_xinpgen" = xyes
20255 then :
20257 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20264 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20265 if test ${wine_cv_linux_gethostbyname_r_6+y}
20266 then :
20267 printf %s "(cached) " >&6
20268 else $as_nop
20269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20270 /* end confdefs.h. */
20271 #include <netdb.h>
20273 main (void)
20276 char *name=0;
20277 struct hostent he;
20278 struct hostent *result;
20279 char *buf=0;
20280 int bufsize=0;
20281 int errnr;
20282 char *addr=0;
20283 int addrlen=0;
20284 int addrtype=0;
20285 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20286 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20289 return 0;
20291 _ACEOF
20292 if ac_fn_c_try_link "$LINENO"
20293 then :
20294 wine_cv_linux_gethostbyname_r_6=yes
20295 else $as_nop
20296 wine_cv_linux_gethostbyname_r_6=no
20299 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20300 conftest$ac_exeext conftest.$ac_ext
20303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20304 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20305 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20306 then
20308 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20312 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20313 #include <sys/socket.h>
20314 #ifdef HAVE_SYS_UN_H
20315 # include <sys/un.h>
20316 #endif
20318 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20319 then :
20321 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20325 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20326 #include <sys/socket.h>
20327 #ifdef HAVE_SYS_UN_H
20328 # include <sys/un.h>
20329 #endif
20331 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20332 then :
20334 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20340 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20341 #ifdef HAVE_SCSI_SG_H
20342 #include <scsi/sg.h>
20343 #endif
20345 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20346 then :
20348 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20352 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>
20353 #ifdef HAVE_SCSI_SG_H
20354 #include <scsi/sg.h>
20355 #endif
20357 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20358 then :
20360 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20366 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20368 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20369 then :
20371 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20377 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#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_blksiz" = xyes
20383 then :
20385 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20389 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#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_gstat" = xyes
20395 then :
20397 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20401 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20402 #ifdef HAVE_SYS_MTIO_H
20403 #include <sys/mtio.h>
20404 #endif
20406 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20407 then :
20409 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20415 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20416 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20417 then :
20419 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20423 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20424 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20425 then :
20427 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20431 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20432 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20433 then :
20435 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20439 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20440 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20441 then :
20443 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20447 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20448 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20449 then :
20451 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20455 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20456 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20457 then :
20459 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20463 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20464 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20465 then :
20467 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20471 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20472 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20473 then :
20475 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20479 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20480 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20481 then :
20483 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20487 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20488 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20489 then :
20491 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20495 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20496 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20497 then :
20499 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20505 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>
20506 #ifdef HAVE_NETINET_IN_H
20507 #include <netinet/in.h>
20508 #endif
20510 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20511 then :
20513 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20519 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
20520 #include <resolv.h>
20521 #endif
20523 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20524 then :
20526 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20532 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20533 #include <netinet/in.h>
20534 #endif
20536 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20537 then :
20539 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20545 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20546 #ifdef HAVE_SYS_SOCKETVAR_H
20547 #include <sys/socketvar.h>
20548 #endif
20549 #ifdef HAVE_NETINET_IN_H
20550 #include <netinet/in.h>
20551 #endif
20552 #ifdef HAVE_NETINET_IP_VAR_H
20553 #include <netinet/ip_var.h>
20554 #endif
20556 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20557 then :
20559 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20565 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
20566 #include <netinet/ip_var.h>
20567 #endif
20569 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20570 then :
20572 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20578 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20579 #ifdef HAVE_SYS_SOCKETVAR_H
20580 #include <sys/socketvar.h>
20581 #endif
20582 #ifdef HAVE_NETINET_IN_H
20583 #include <netinet/in.h>
20584 #endif
20585 #ifdef HAVE_NETINET6_IP6_VAR_H
20586 #include <netinet6/ip6_var.h>
20587 #endif
20589 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20590 then :
20592 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20598 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20599 #ifdef HAVE_SYS_SOCKETVAR_H
20600 #include <sys/socketvar.h>
20601 #endif
20602 #ifdef HAVE_NETINET_IN_H
20603 #include <netinet/in.h>
20604 #endif
20605 #ifdef HAVE_NETINET_IP_H
20606 #include <netinet/ip.h>
20607 #endif
20608 #ifdef HAVE_NETINET_IP_ICMP_H
20609 #include <netinet/ip_icmp.h>
20610 #endif
20611 #ifdef HAVE_NETINET_ICMP_VAR_H
20612 #include <netinet/icmp_var.h>
20613 #endif
20615 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20616 then :
20618 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20624 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20625 #ifdef HAVE_SYS_SOCKETVAR_H
20626 #include <sys/socketvar.h>
20627 #endif
20628 #ifdef HAVE_NETINET_IN_H
20629 #include <netinet/in.h>
20630 #endif
20631 #ifdef HAVE_NETINET_ICMP6_H
20632 #include <netinet/icmp6.h>
20633 #endif
20635 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20636 then :
20638 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20644 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20645 #ifdef HAVE_SYS_SOCKETVAR_H
20646 #include <sys/socketvar.h>
20647 #endif
20648 #ifdef HAVE_NETINET_IN_H
20649 #include <netinet/in.h>
20650 #endif
20651 #ifdef HAVE_NETINET_TCP_H
20652 #include <netinet/tcp.h>
20653 #endif
20654 #ifdef HAVE_NETINET_TCP_VAR_H
20655 #include <netinet/tcp_var.h>
20656 #endif
20658 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20659 then :
20661 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20667 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
20668 #include <netinet/tcp_var.h>
20669 #endif
20671 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20672 then :
20674 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20680 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20681 #ifdef HAVE_NETINET_IN_H
20682 #include <netinet/in.h>
20683 #endif
20684 #ifdef HAVE_NETINET_IP_VAR_H
20685 #include <netinet/ip_var.h>
20686 #endif
20687 #ifdef HAVE_NETINET_UDP_H
20688 #include <netinet/udp.h>
20689 #endif
20690 #ifdef HAVE_NETINET_UDP_VAR_H
20691 #include <netinet/udp_var.h>
20692 #endif
20694 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20695 then :
20697 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20703 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20704 #ifdef HAVE_NET_IF_H
20705 # include <net/if.h>
20706 #endif
20708 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20709 then :
20711 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20717 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20718 # include <sys/sysinfo.h>
20719 #endif
20721 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20722 then :
20724 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20728 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20729 # include <sys/sysinfo.h>
20730 #endif
20732 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20733 then :
20735 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20741 LIBS="$ac_save_LIBS"
20743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20744 printf %s "checking for __builtin_popcount... " >&6; }
20745 if test ${ac_cv_have___builtin_popcount+y}
20746 then :
20747 printf %s "(cached) " >&6
20748 else $as_nop
20749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20750 /* end confdefs.h. */
20753 main (void)
20755 return __builtin_popcount(1)
20757 return 0;
20759 _ACEOF
20760 if ac_fn_c_try_link "$LINENO"
20761 then :
20762 ac_cv_have___builtin_popcount="yes"
20763 else $as_nop
20764 ac_cv_have___builtin_popcount="no"
20766 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20767 conftest$ac_exeext conftest.$ac_ext
20769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20770 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20771 if test "$ac_cv_have___builtin_popcount" = "yes"
20772 then
20774 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20779 printf %s "checking for __clear_cache... " >&6; }
20780 if test ${ac_cv_have___clear_cache+y}
20781 then :
20782 printf %s "(cached) " >&6
20783 else $as_nop
20784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20785 /* end confdefs.h. */
20788 main (void)
20790 __clear_cache((void*)0, (void*)0); return 0;
20792 return 0;
20794 _ACEOF
20795 if ac_fn_c_try_link "$LINENO"
20796 then :
20797 ac_cv_have___clear_cache="yes"
20798 else $as_nop
20799 ac_cv_have___clear_cache="no"
20801 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20802 conftest$ac_exeext conftest.$ac_ext
20804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20805 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20806 if test "$ac_cv_have___clear_cache" = "yes"
20807 then
20809 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20814 case $host_cpu in
20815 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20816 printf %s "checking whether we need to define __i386__... " >&6; }
20817 if test ${ac_cv_cpp_def___i386__+y}
20818 then :
20819 printf %s "(cached) " >&6
20820 else $as_nop
20821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20822 /* end confdefs.h. */
20823 #ifndef __i386__
20825 #endif
20826 _ACEOF
20827 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20828 $EGREP "yes" >/dev/null 2>&1
20829 then :
20830 ac_cv_cpp_def___i386__=yes
20831 else $as_nop
20832 ac_cv_cpp_def___i386__=no
20834 rm -rf conftest*
20837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20838 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20839 if test "x$ac_cv_cpp_def___i386__" = xyes
20840 then :
20841 CFLAGS="$CFLAGS -D__i386__"
20842 LINTFLAGS="$LINTFLAGS -D__i386__"
20843 fi ;;
20844 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20845 printf %s "checking whether we need to define __x86_64__... " >&6; }
20846 if test ${ac_cv_cpp_def___x86_64__+y}
20847 then :
20848 printf %s "(cached) " >&6
20849 else $as_nop
20850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20851 /* end confdefs.h. */
20852 #ifndef __x86_64__
20854 #endif
20855 _ACEOF
20856 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20857 $EGREP "yes" >/dev/null 2>&1
20858 then :
20859 ac_cv_cpp_def___x86_64__=yes
20860 else $as_nop
20861 ac_cv_cpp_def___x86_64__=no
20863 rm -rf conftest*
20866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20867 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20868 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20869 then :
20870 CFLAGS="$CFLAGS -D__x86_64__"
20871 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20872 fi ;;
20873 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20874 printf %s "checking whether we need to define __sparc64__... " >&6; }
20875 if test ${ac_cv_cpp_def___sparc64__+y}
20876 then :
20877 printf %s "(cached) " >&6
20878 else $as_nop
20879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20880 /* end confdefs.h. */
20881 #ifndef __sparc64__
20883 #endif
20884 _ACEOF
20885 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20886 $EGREP "yes" >/dev/null 2>&1
20887 then :
20888 ac_cv_cpp_def___sparc64__=yes
20889 else $as_nop
20890 ac_cv_cpp_def___sparc64__=no
20892 rm -rf conftest*
20895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20896 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20897 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20898 then :
20899 CFLAGS="$CFLAGS -D__sparc64__"
20900 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20901 fi ;;
20902 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20903 printf %s "checking whether we need to define __sparc__... " >&6; }
20904 if test ${ac_cv_cpp_def___sparc__+y}
20905 then :
20906 printf %s "(cached) " >&6
20907 else $as_nop
20908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20909 /* end confdefs.h. */
20910 #ifndef __sparc__
20912 #endif
20913 _ACEOF
20914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20915 $EGREP "yes" >/dev/null 2>&1
20916 then :
20917 ac_cv_cpp_def___sparc__=yes
20918 else $as_nop
20919 ac_cv_cpp_def___sparc__=no
20921 rm -rf conftest*
20924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20925 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20926 if test "x$ac_cv_cpp_def___sparc__" = xyes
20927 then :
20928 CFLAGS="$CFLAGS -D__sparc__"
20929 LINTFLAGS="$LINTFLAGS -D__sparc__"
20930 fi ;;
20931 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20932 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20933 if test ${ac_cv_cpp_def___powerpc64__+y}
20934 then :
20935 printf %s "(cached) " >&6
20936 else $as_nop
20937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20938 /* end confdefs.h. */
20939 #ifndef __powerpc64__
20941 #endif
20942 _ACEOF
20943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20944 $EGREP "yes" >/dev/null 2>&1
20945 then :
20946 ac_cv_cpp_def___powerpc64__=yes
20947 else $as_nop
20948 ac_cv_cpp_def___powerpc64__=no
20950 rm -rf conftest*
20953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20954 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20955 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20956 then :
20957 CFLAGS="$CFLAGS -D__powerpc64__"
20958 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20959 fi ;;
20960 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20961 printf %s "checking whether we need to define __powerpc__... " >&6; }
20962 if test ${ac_cv_cpp_def___powerpc__+y}
20963 then :
20964 printf %s "(cached) " >&6
20965 else $as_nop
20966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20967 /* end confdefs.h. */
20968 #ifndef __powerpc__
20970 #endif
20971 _ACEOF
20972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20973 $EGREP "yes" >/dev/null 2>&1
20974 then :
20975 ac_cv_cpp_def___powerpc__=yes
20976 else $as_nop
20977 ac_cv_cpp_def___powerpc__=no
20979 rm -rf conftest*
20982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20983 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20984 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20985 then :
20986 CFLAGS="$CFLAGS -D__powerpc__"
20987 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20988 fi ;;
20989 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20990 printf %s "checking whether we need to define __aarch64__... " >&6; }
20991 if test ${ac_cv_cpp_def___aarch64__+y}
20992 then :
20993 printf %s "(cached) " >&6
20994 else $as_nop
20995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20996 /* end confdefs.h. */
20997 #ifndef __aarch64__
20999 #endif
21000 _ACEOF
21001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21002 $EGREP "yes" >/dev/null 2>&1
21003 then :
21004 ac_cv_cpp_def___aarch64__=yes
21005 else $as_nop
21006 ac_cv_cpp_def___aarch64__=no
21008 rm -rf conftest*
21011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21012 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21013 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21014 then :
21015 CFLAGS="$CFLAGS -D__aarch64__"
21016 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21017 fi ;;
21018 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21019 printf %s "checking whether we need to define __arm__... " >&6; }
21020 if test ${ac_cv_cpp_def___arm__+y}
21021 then :
21022 printf %s "(cached) " >&6
21023 else $as_nop
21024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21025 /* end confdefs.h. */
21026 #ifndef __arm__
21028 #endif
21029 _ACEOF
21030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21031 $EGREP "yes" >/dev/null 2>&1
21032 then :
21033 ac_cv_cpp_def___arm__=yes
21034 else $as_nop
21035 ac_cv_cpp_def___arm__=no
21037 rm -rf conftest*
21040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21041 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21042 if test "x$ac_cv_cpp_def___arm__" = xyes
21043 then :
21044 CFLAGS="$CFLAGS -D__arm__"
21045 LINTFLAGS="$LINTFLAGS -D__arm__"
21046 fi ;;
21047 esac
21049 case $host_vendor in
21050 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21051 printf %s "checking whether we need to define __sun__... " >&6; }
21052 if test ${ac_cv_cpp_def___sun__+y}
21053 then :
21054 printf %s "(cached) " >&6
21055 else $as_nop
21056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21057 /* end confdefs.h. */
21058 #ifndef __sun__
21060 #endif
21061 _ACEOF
21062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21063 $EGREP "yes" >/dev/null 2>&1
21064 then :
21065 ac_cv_cpp_def___sun__=yes
21066 else $as_nop
21067 ac_cv_cpp_def___sun__=no
21069 rm -rf conftest*
21072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21073 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21074 if test "x$ac_cv_cpp_def___sun__" = xyes
21075 then :
21076 CFLAGS="$CFLAGS -D__sun__"
21077 LINTFLAGS="$LINTFLAGS -D__sun__"
21078 fi ;;
21079 esac
21085 ac_config_commands="$ac_config_commands include/stamp-h"
21087 printf %s "creating Makefile rules..." >&6
21089 makedep_flags=""
21090 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21092 wine_srcdir=
21093 test "$srcdir" = . || wine_srcdir="$srcdir/"
21095 ac_config_links="$ac_config_links wine:tools/winewrapper"
21096 wine_fn_config_symlink wine
21097 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
21098 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21099 wine_fn_config_symlink wine64
21102 wine_fn_config_makefile dlls/acledit enable_acledit
21103 wine_fn_config_makefile dlls/aclui enable_aclui
21104 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21105 wine_fn_config_makefile dlls/activeds enable_activeds
21106 wine_fn_config_makefile dlls/activeds/tests enable_tests
21107 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21108 wine_fn_config_makefile dlls/adsldp enable_adsldp
21109 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21110 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21111 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21112 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21113 wine_fn_config_makefile dlls/advpack enable_advpack
21114 wine_fn_config_makefile dlls/advpack/tests enable_tests
21115 wine_fn_config_makefile dlls/amsi enable_amsi
21116 wine_fn_config_makefile dlls/amstream enable_amstream
21117 wine_fn_config_makefile dlls/amstream/tests enable_tests
21118 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21119 wine_fn_config_makefile dlls/apphelp enable_apphelp
21120 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21121 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21122 wine_fn_config_makefile dlls/atl enable_atl
21123 wine_fn_config_makefile dlls/atl/tests enable_tests
21124 wine_fn_config_makefile dlls/atl100 enable_atl100
21125 wine_fn_config_makefile dlls/atl100/tests enable_tests
21126 wine_fn_config_makefile dlls/atl110 enable_atl110
21127 wine_fn_config_makefile dlls/atl110/tests enable_tests
21128 wine_fn_config_makefile dlls/atl80 enable_atl80
21129 wine_fn_config_makefile dlls/atl80/tests enable_tests
21130 wine_fn_config_makefile dlls/atl90 enable_atl90
21131 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21132 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21133 wine_fn_config_makefile dlls/atmlib enable_atmlib
21134 wine_fn_config_makefile dlls/authz enable_authz
21135 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21136 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21137 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21138 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21139 wine_fn_config_makefile dlls/avrt enable_avrt
21140 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21141 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21142 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21143 wine_fn_config_makefile dlls/browseui enable_browseui
21144 wine_fn_config_makefile dlls/browseui/tests enable_tests
21145 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21146 wine_fn_config_makefile dlls/cabinet enable_cabinet
21147 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21148 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21149 wine_fn_config_makefile dlls/cards enable_cards
21150 wine_fn_config_makefile dlls/cdosys enable_cdosys
21151 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21152 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21153 wine_fn_config_makefile dlls/clusapi enable_clusapi
21154 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21155 wine_fn_config_makefile dlls/combase enable_combase
21156 wine_fn_config_makefile dlls/combase/tests enable_tests
21157 wine_fn_config_makefile dlls/comcat enable_comcat
21158 wine_fn_config_makefile dlls/comcat/tests enable_tests
21159 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21160 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21161 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21162 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21163 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21164 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21165 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21166 wine_fn_config_makefile dlls/compstui enable_compstui
21167 wine_fn_config_makefile dlls/compstui/tests enable_tests
21168 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21169 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21170 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21171 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21172 wine_fn_config_makefile dlls/connect enable_connect
21173 wine_fn_config_makefile dlls/credui enable_credui
21174 wine_fn_config_makefile dlls/credui/tests enable_tests
21175 wine_fn_config_makefile dlls/crtdll enable_crtdll
21176 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21177 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21178 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21179 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21180 wine_fn_config_makefile dlls/cryptext enable_cryptext
21181 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21182 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21183 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21184 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21185 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21186 wine_fn_config_makefile dlls/cryptui enable_cryptui
21187 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21188 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21189 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21190 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21191 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21192 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21193 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21194 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21195 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21196 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21197 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21198 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21199 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21200 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21201 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21202 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21203 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21204 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21205 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21206 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21207 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21208 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21209 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21210 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21211 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21212 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21213 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21214 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21215 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21216 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21217 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21218 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21219 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21220 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21221 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21222 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21223 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21224 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21225 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21226 wine_fn_config_makefile dlls/d3dim enable_d3dim
21227 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21228 wine_fn_config_makefile dlls/d3drm enable_d3drm
21229 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21230 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21231 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21232 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21233 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21234 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21235 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21236 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21237 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21238 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21239 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21240 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21241 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21242 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21243 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21244 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21245 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21246 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21247 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21248 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21249 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21250 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21251 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21252 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21253 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21254 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21255 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21256 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21257 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21258 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21259 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21260 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21261 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21262 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21263 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21264 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21265 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21266 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21267 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21268 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21269 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21270 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21271 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21272 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21273 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21274 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21275 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21276 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21277 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21278 wine_fn_config_makefile dlls/davclnt enable_davclnt
21279 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21280 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21281 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21282 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21283 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21284 wine_fn_config_makefile dlls/dcomp enable_dcomp
21285 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21286 wine_fn_config_makefile dlls/ddraw enable_ddraw
21287 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21288 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21289 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21290 wine_fn_config_makefile dlls/devenum enable_devenum
21291 wine_fn_config_makefile dlls/devenum/tests enable_tests
21292 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21293 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21294 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21295 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21296 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21297 wine_fn_config_makefile dlls/difxapi enable_difxapi
21298 wine_fn_config_makefile dlls/dinput enable_dinput
21299 wine_fn_config_makefile dlls/dinput/tests enable_tests
21300 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21301 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21302 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21303 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21304 wine_fn_config_makefile dlls/dispex enable_dispex
21305 wine_fn_config_makefile dlls/dispex/tests enable_tests
21306 wine_fn_config_makefile dlls/display.drv16 enable_win16
21307 wine_fn_config_makefile dlls/dmband enable_dmband
21308 wine_fn_config_makefile dlls/dmband/tests enable_tests
21309 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21310 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21311 wine_fn_config_makefile dlls/dmime enable_dmime
21312 wine_fn_config_makefile dlls/dmime/tests enable_tests
21313 wine_fn_config_makefile dlls/dmloader enable_dmloader
21314 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21315 wine_fn_config_makefile dlls/dmscript enable_dmscript
21316 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21317 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21318 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21319 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21320 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21321 wine_fn_config_makefile dlls/dmusic enable_dmusic
21322 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21323 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21324 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21325 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21326 wine_fn_config_makefile dlls/dplay enable_dplay
21327 wine_fn_config_makefile dlls/dplayx enable_dplayx
21328 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21329 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21330 wine_fn_config_makefile dlls/dpnet enable_dpnet
21331 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21332 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21333 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21334 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21335 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21336 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21337 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21338 wine_fn_config_makefile dlls/drmclien enable_drmclien
21339 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21340 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21341 wine_fn_config_makefile dlls/dsound enable_dsound
21342 wine_fn_config_makefile dlls/dsound/tests enable_tests
21343 wine_fn_config_makefile dlls/dsquery enable_dsquery
21344 wine_fn_config_makefile dlls/dssenh enable_dssenh
21345 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21346 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21347 wine_fn_config_makefile dlls/dswave enable_dswave
21348 wine_fn_config_makefile dlls/dswave/tests enable_tests
21349 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21350 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21351 wine_fn_config_makefile dlls/dwrite enable_dwrite
21352 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21353 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21354 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21355 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21356 wine_fn_config_makefile dlls/dxgi enable_dxgi
21357 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21358 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21359 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21360 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21361 wine_fn_config_makefile dlls/esent enable_esent
21362 wine_fn_config_makefile dlls/evr enable_evr
21363 wine_fn_config_makefile dlls/evr/tests enable_tests
21364 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21365 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21366 wine_fn_config_makefile dlls/faultrep enable_faultrep
21367 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21368 wine_fn_config_makefile dlls/feclient enable_feclient
21369 wine_fn_config_makefile dlls/fltlib enable_fltlib
21370 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21371 wine_fn_config_makefile dlls/fntcache enable_fntcache
21372 wine_fn_config_makefile dlls/fontsub enable_fontsub
21373 wine_fn_config_makefile dlls/fusion enable_fusion
21374 wine_fn_config_makefile dlls/fusion/tests enable_tests
21375 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21376 wine_fn_config_makefile dlls/gameux enable_gameux
21377 wine_fn_config_makefile dlls/gameux/tests enable_tests
21378 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21379 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21380 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21381 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21382 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21383 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21384 wine_fn_config_makefile dlls/glu32 enable_glu32
21385 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21386 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21387 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
21388 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
21389 wine_fn_config_makefile dlls/hal enable_hal
21390 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21391 wine_fn_config_makefile dlls/hid enable_hid
21392 wine_fn_config_makefile dlls/hid/tests enable_tests
21393 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21394 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21395 wine_fn_config_makefile dlls/hlink enable_hlink
21396 wine_fn_config_makefile dlls/hlink/tests enable_tests
21397 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21398 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21399 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
21400 wine_fn_config_makefile dlls/http.sys enable_http_sys
21401 wine_fn_config_makefile dlls/httpapi enable_httpapi
21402 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21403 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21404 wine_fn_config_makefile dlls/iccvid enable_iccvid
21405 wine_fn_config_makefile dlls/icmp enable_icmp
21406 wine_fn_config_makefile dlls/ieframe enable_ieframe
21407 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21408 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21409 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21410 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21411 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21412 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21413 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21414 wine_fn_config_makefile dlls/imm32 enable_imm32
21415 wine_fn_config_makefile dlls/imm32/tests enable_tests
21416 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21417 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21418 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21419 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21420 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21421 wine_fn_config_makefile dlls/infosoft enable_infosoft
21422 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21423 wine_fn_config_makefile dlls/initpki enable_initpki
21424 wine_fn_config_makefile dlls/inkobj enable_inkobj
21425 wine_fn_config_makefile dlls/inseng enable_inseng
21426 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21427 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21428 wine_fn_config_makefile dlls/iprop enable_iprop
21429 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21430 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21431 wine_fn_config_makefile dlls/itircl enable_itircl
21432 wine_fn_config_makefile dlls/itss enable_itss
21433 wine_fn_config_makefile dlls/itss/tests enable_tests
21434 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21435 wine_fn_config_makefile dlls/jscript enable_jscript
21436 wine_fn_config_makefile dlls/jscript/tests enable_tests
21437 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21438 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21439 wine_fn_config_makefile dlls/kerberos enable_kerberos
21440 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21441 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21442 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21443 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21444 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21445 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21446 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21447 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21448 wine_fn_config_makefile dlls/ksuser enable_ksuser
21449 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21450 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21451 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21452 wine_fn_config_makefile dlls/loadperf enable_loadperf
21453 wine_fn_config_makefile dlls/localspl enable_localspl
21454 wine_fn_config_makefile dlls/localspl/tests enable_tests
21455 wine_fn_config_makefile dlls/localui enable_localui
21456 wine_fn_config_makefile dlls/localui/tests enable_tests
21457 wine_fn_config_makefile dlls/lz32 enable_lz32
21458 wine_fn_config_makefile dlls/lz32/tests enable_tests
21459 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21460 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21461 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21462 wine_fn_config_makefile dlls/mapistub enable_mapistub
21463 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21464 wine_fn_config_makefile dlls/mcicda enable_mcicda
21465 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21466 wine_fn_config_makefile dlls/mciseq enable_mciseq
21467 wine_fn_config_makefile dlls/mciwave enable_mciwave
21468 wine_fn_config_makefile dlls/mf enable_mf
21469 wine_fn_config_makefile dlls/mf/tests enable_tests
21470 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21471 wine_fn_config_makefile dlls/mferror enable_mferror
21472 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21473 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21474 wine_fn_config_makefile dlls/mfplat enable_mfplat
21475 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21476 wine_fn_config_makefile dlls/mfplay enable_mfplay
21477 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21478 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21479 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21480 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21481 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21482 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21483 wine_fn_config_makefile dlls/midimap enable_midimap
21484 wine_fn_config_makefile dlls/mlang enable_mlang
21485 wine_fn_config_makefile dlls/mlang/tests enable_tests
21486 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21487 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21488 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21489 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21490 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21491 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21492 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21493 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21494 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21495 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21496 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21497 wine_fn_config_makefile dlls/mpr enable_mpr
21498 wine_fn_config_makefile dlls/mpr/tests enable_tests
21499 wine_fn_config_makefile dlls/mprapi enable_mprapi
21500 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21501 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21502 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21503 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21504 wine_fn_config_makefile dlls/msado15 enable_msado15
21505 wine_fn_config_makefile dlls/msado15/tests enable_tests
21506 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21507 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21508 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21509 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21510 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21511 wine_fn_config_makefile dlls/mscms enable_mscms
21512 wine_fn_config_makefile dlls/mscms/tests enable_tests
21513 wine_fn_config_makefile dlls/mscoree enable_mscoree
21514 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21515 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21516 wine_fn_config_makefile dlls/msctf enable_msctf
21517 wine_fn_config_makefile dlls/msctf/tests enable_tests
21518 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21519 wine_fn_config_makefile dlls/msctfp enable_msctfp
21520 wine_fn_config_makefile dlls/msdaps enable_msdaps
21521 wine_fn_config_makefile dlls/msdasql enable_msdasql
21522 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21523 wine_fn_config_makefile dlls/msdelta enable_msdelta
21524 wine_fn_config_makefile dlls/msdmo enable_msdmo
21525 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21526 wine_fn_config_makefile dlls/msdrm enable_msdrm
21527 wine_fn_config_makefile dlls/msftedit enable_msftedit
21528 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21529 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21530 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21531 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21532 wine_fn_config_makefile dlls/mshtml enable_mshtml
21533 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21534 wine_fn_config_makefile dlls/msi enable_msi
21535 wine_fn_config_makefile dlls/msi/tests enable_tests
21536 wine_fn_config_makefile dlls/msident enable_msident
21537 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21538 wine_fn_config_makefile dlls/msimsg enable_msimsg
21539 wine_fn_config_makefile dlls/msimtf enable_msimtf
21540 wine_fn_config_makefile dlls/msisip enable_msisip
21541 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21542 wine_fn_config_makefile dlls/msls31 enable_msls31
21543 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21544 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21545 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21546 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21547 wine_fn_config_makefile dlls/msports enable_msports
21548 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21549 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21550 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21551 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21552 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21553 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21554 wine_fn_config_makefile dlls/mstask enable_mstask
21555 wine_fn_config_makefile dlls/mstask/tests enable_tests
21556 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21557 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21558 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21559 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21560 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21561 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21562 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21563 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21564 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21565 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21566 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21567 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21568 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21569 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21570 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21571 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21572 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21573 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21574 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21575 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21576 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21577 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21578 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21579 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21580 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21581 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21582 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21583 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21584 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21585 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21586 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21587 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21588 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21589 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21590 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21591 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21592 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21593 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21594 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21595 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21596 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21597 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21598 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21599 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21600 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21601 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21602 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21603 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21604 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21605 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21606 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21607 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21608 wine_fn_config_makefile dlls/mswsock enable_mswsock
21609 wine_fn_config_makefile dlls/msxml enable_msxml
21610 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21611 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21612 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21613 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21614 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21615 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21616 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21617 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21618 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21619 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21620 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21621 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21622 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21623 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21624 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21625 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21626 wine_fn_config_makefile dlls/netprofm enable_netprofm
21627 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21628 wine_fn_config_makefile dlls/netutils enable_netutils
21629 wine_fn_config_makefile dlls/newdev enable_newdev
21630 wine_fn_config_makefile dlls/ninput enable_ninput
21631 wine_fn_config_makefile dlls/ninput/tests enable_tests
21632 wine_fn_config_makefile dlls/normaliz enable_normaliz
21633 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21634 wine_fn_config_makefile dlls/npptools enable_npptools
21635 wine_fn_config_makefile dlls/nsi enable_nsi
21636 wine_fn_config_makefile dlls/nsi/tests enable_tests
21637 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21638 wine_fn_config_makefile dlls/ntdll enable_ntdll
21639 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21640 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21641 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21642 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21643 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21644 wine_fn_config_makefile dlls/ntprint enable_ntprint
21645 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21646 wine_fn_config_makefile dlls/objsel enable_objsel
21647 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21648 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21649 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21650 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21651 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21652 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21653 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21654 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21655 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21656 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21657 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21658 wine_fn_config_makefile dlls/ole32 enable_ole32
21659 wine_fn_config_makefile dlls/ole32/tests enable_tests
21660 wine_fn_config_makefile dlls/oleacc enable_oleacc
21661 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21662 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21663 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21664 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21665 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21666 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21667 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21668 wine_fn_config_makefile dlls/oledlg enable_oledlg
21669 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21670 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21671 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21672 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21673 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21674 wine_fn_config_makefile dlls/opcservices enable_opcservices
21675 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21676 wine_fn_config_makefile dlls/opencl enable_opencl
21677 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21678 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21679 wine_fn_config_makefile dlls/packager enable_packager
21680 wine_fn_config_makefile dlls/packager/tests enable_tests
21681 wine_fn_config_makefile dlls/pdh enable_pdh
21682 wine_fn_config_makefile dlls/pdh/tests enable_tests
21683 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21684 wine_fn_config_makefile dlls/pidgen enable_pidgen
21685 wine_fn_config_makefile dlls/powrprof enable_powrprof
21686 wine_fn_config_makefile dlls/printui enable_printui
21687 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21688 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21689 wine_fn_config_makefile dlls/propsys enable_propsys
21690 wine_fn_config_makefile dlls/propsys/tests enable_tests
21691 wine_fn_config_makefile dlls/psapi enable_psapi
21692 wine_fn_config_makefile dlls/psapi/tests enable_tests
21693 wine_fn_config_makefile dlls/pstorec enable_pstorec
21694 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21695 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21696 wine_fn_config_makefile dlls/qasf enable_qasf
21697 wine_fn_config_makefile dlls/qasf/tests enable_tests
21698 wine_fn_config_makefile dlls/qcap enable_qcap
21699 wine_fn_config_makefile dlls/qcap/tests enable_tests
21700 wine_fn_config_makefile dlls/qdvd enable_qdvd
21701 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21702 wine_fn_config_makefile dlls/qedit enable_qedit
21703 wine_fn_config_makefile dlls/qedit/tests enable_tests
21704 wine_fn_config_makefile dlls/qmgr enable_qmgr
21705 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21706 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21707 wine_fn_config_makefile dlls/quartz enable_quartz
21708 wine_fn_config_makefile dlls/quartz/tests enable_tests
21709 wine_fn_config_makefile dlls/query enable_query
21710 wine_fn_config_makefile dlls/qwave enable_qwave
21711 wine_fn_config_makefile dlls/qwave/tests enable_tests
21712 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21713 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21714 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21715 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21716 wine_fn_config_makefile dlls/regapi enable_regapi
21717 wine_fn_config_makefile dlls/resutils enable_resutils
21718 wine_fn_config_makefile dlls/riched20 enable_riched20
21719 wine_fn_config_makefile dlls/riched20/tests enable_tests
21720 wine_fn_config_makefile dlls/riched32 enable_riched32
21721 wine_fn_config_makefile dlls/riched32/tests enable_tests
21722 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21723 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21724 wine_fn_config_makefile dlls/rsabase enable_rsabase
21725 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21726 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21727 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21728 wine_fn_config_makefile dlls/rtutils enable_rtutils
21729 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21730 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21731 wine_fn_config_makefile dlls/samlib enable_samlib
21732 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21733 wine_fn_config_makefile dlls/sapi enable_sapi
21734 wine_fn_config_makefile dlls/sapi/tests enable_tests
21735 wine_fn_config_makefile dlls/sas enable_sas
21736 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21737 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21738 wine_fn_config_makefile dlls/sccbase enable_sccbase
21739 wine_fn_config_makefile dlls/schannel enable_schannel
21740 wine_fn_config_makefile dlls/schannel/tests enable_tests
21741 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21742 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21743 wine_fn_config_makefile dlls/scrobj enable_scrobj
21744 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21745 wine_fn_config_makefile dlls/scrrun enable_scrrun
21746 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21747 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21748 wine_fn_config_makefile dlls/sechost enable_sechost
21749 wine_fn_config_makefile dlls/secur32 enable_secur32
21750 wine_fn_config_makefile dlls/secur32/tests enable_tests
21751 wine_fn_config_makefile dlls/security enable_security
21752 wine_fn_config_makefile dlls/sensapi enable_sensapi
21753 wine_fn_config_makefile dlls/serialui enable_serialui
21754 wine_fn_config_makefile dlls/serialui/tests enable_tests
21755 wine_fn_config_makefile dlls/setupapi enable_setupapi
21756 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21757 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21758 wine_fn_config_makefile dlls/sfc enable_sfc
21759 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21760 wine_fn_config_makefile dlls/shcore enable_shcore
21761 wine_fn_config_makefile dlls/shcore/tests enable_tests
21762 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21763 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21764 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21765 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21766 wine_fn_config_makefile dlls/shell32 enable_shell32
21767 wine_fn_config_makefile dlls/shell32/tests enable_tests
21768 wine_fn_config_makefile dlls/shfolder enable_shfolder
21769 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21770 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21771 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21772 wine_fn_config_makefile dlls/slc enable_slc
21773 wine_fn_config_makefile dlls/slc/tests enable_tests
21774 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21775 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21776 wine_fn_config_makefile dlls/softpub enable_softpub
21777 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21778 wine_fn_config_makefile dlls/spoolss enable_spoolss
21779 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21780 wine_fn_config_makefile dlls/sppc enable_sppc
21781 wine_fn_config_makefile dlls/srclient enable_srclient
21782 wine_fn_config_makefile dlls/srvcli enable_srvcli
21783 wine_fn_config_makefile dlls/sspicli enable_sspicli
21784 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21785 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21786 wine_fn_config_makefile dlls/sti enable_sti
21787 wine_fn_config_makefile dlls/sti/tests enable_tests
21788 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21789 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21790 wine_fn_config_makefile dlls/strmdll enable_strmdll
21791 wine_fn_config_makefile dlls/svrapi enable_svrapi
21792 wine_fn_config_makefile dlls/sxs enable_sxs
21793 wine_fn_config_makefile dlls/sxs/tests enable_tests
21794 wine_fn_config_makefile dlls/system.drv16 enable_win16
21795 wine_fn_config_makefile dlls/t2embed enable_t2embed
21796 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21797 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21798 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21799 wine_fn_config_makefile dlls/taskschd enable_taskschd
21800 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21801 wine_fn_config_makefile dlls/tbs enable_tbs
21802 wine_fn_config_makefile dlls/tdh enable_tdh
21803 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21804 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21805 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21806 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21807 wine_fn_config_makefile dlls/traffic enable_traffic
21808 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21809 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21810 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21811 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
21812 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21813 wine_fn_config_makefile dlls/tzres enable_tzres
21814 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21815 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21816 wine_fn_config_makefile dlls/uianimation enable_uianimation
21817 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21818 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21819 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21820 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21821 wine_fn_config_makefile dlls/unicows enable_unicows
21822 wine_fn_config_makefile dlls/updspapi enable_updspapi
21823 wine_fn_config_makefile dlls/url enable_url
21824 wine_fn_config_makefile dlls/urlmon enable_urlmon
21825 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21826 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21827 wine_fn_config_makefile dlls/user.exe16 enable_win16
21828 wine_fn_config_makefile dlls/user32 enable_user32
21829 wine_fn_config_makefile dlls/user32/tests enable_tests
21830 wine_fn_config_makefile dlls/userenv enable_userenv
21831 wine_fn_config_makefile dlls/userenv/tests enable_tests
21832 wine_fn_config_makefile dlls/usp10 enable_usp10
21833 wine_fn_config_makefile dlls/usp10/tests enable_tests
21834 wine_fn_config_makefile dlls/utildll enable_utildll
21835 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21836 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21837 wine_fn_config_makefile dlls/vbscript enable_vbscript
21838 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21839 wine_fn_config_makefile dlls/vcomp enable_vcomp
21840 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21841 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21842 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21843 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21844 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21845 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21846 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21847 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21848 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21849 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21850 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21851 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21852 wine_fn_config_makefile dlls/version enable_version
21853 wine_fn_config_makefile dlls/version/tests enable_tests
21854 wine_fn_config_makefile dlls/vga enable_vga
21855 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21856 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21857 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21858 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21859 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21860 wine_fn_config_makefile dlls/vssapi enable_vssapi
21861 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21862 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21863 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21864 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21865 wine_fn_config_makefile dlls/w32skrnl enable_win16
21866 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21867 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21868 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21869 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21870 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21871 wine_fn_config_makefile dlls/wdscore enable_wdscore
21872 wine_fn_config_makefile dlls/webservices enable_webservices
21873 wine_fn_config_makefile dlls/webservices/tests enable_tests
21874 wine_fn_config_makefile dlls/websocket enable_websocket
21875 wine_fn_config_makefile dlls/wer enable_wer
21876 wine_fn_config_makefile dlls/wer/tests enable_tests
21877 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21878 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21879 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21880 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21881 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21882 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21883 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21884 wine_fn_config_makefile dlls/win32u enable_win32u
21885 wine_fn_config_makefile dlls/win32u/tests enable_tests
21886 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21887 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21888 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21889 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21890 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21891 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21892 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21893 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21894 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21895 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21896 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21897 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21898 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21899 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21900 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21901 wine_fn_config_makefile dlls/windows.media enable_windows_media
21902 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21903 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21904 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
21905 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
21906 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21907 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21908 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
21909 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
21910 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21911 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21912 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21913 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21914 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21915 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21916 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21917 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21918 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21919 wine_fn_config_makefile dlls/wined3d enable_wined3d
21920 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21921 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21922 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21923 wine_fn_config_makefile dlls/winemapi enable_winemapi
21924 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21925 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21926 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21927 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21928 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21929 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21930 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
21931 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21932 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21933 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21934 wine_fn_config_makefile dlls/wing32 enable_wing32
21935 wine_fn_config_makefile dlls/winhttp enable_winhttp
21936 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21937 wine_fn_config_makefile dlls/wininet enable_wininet
21938 wine_fn_config_makefile dlls/wininet/tests enable_tests
21939 wine_fn_config_makefile dlls/winmm enable_winmm
21940 wine_fn_config_makefile dlls/winmm/tests enable_tests
21941 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21942 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21943 wine_fn_config_makefile dlls/winprint enable_winprint
21944 wine_fn_config_makefile dlls/winscard enable_winscard
21945 wine_fn_config_makefile dlls/winscard/tests enable_tests
21946 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21947 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21948 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21949 wine_fn_config_makefile dlls/winsta enable_winsta
21950 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21951 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21952 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21953 wine_fn_config_makefile dlls/wintrust enable_wintrust
21954 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21955 wine_fn_config_makefile dlls/wintypes enable_wintypes
21956 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21957 wine_fn_config_makefile dlls/winusb enable_winusb
21958 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21959 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21960 wine_fn_config_makefile dlls/wlanui enable_wlanui
21961 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21962 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21963 wine_fn_config_makefile dlls/wmasf enable_wmasf
21964 wine_fn_config_makefile dlls/wmi enable_wmi
21965 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21966 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21967 wine_fn_config_makefile dlls/wmp enable_wmp
21968 wine_fn_config_makefile dlls/wmp/tests enable_tests
21969 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21970 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21971 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21972 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21973 wine_fn_config_makefile dlls/wofutil enable_wofutil
21974 wine_fn_config_makefile dlls/wow32 enable_win16
21975 wine_fn_config_makefile dlls/wow64 enable_wow64
21976 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21977 wine_fn_config_makefile dlls/wow64win enable_wow64win
21978 wine_fn_config_makefile dlls/wpc enable_wpc
21979 wine_fn_config_makefile dlls/wpc/tests enable_tests
21980 wine_fn_config_makefile dlls/wpcap enable_wpcap
21981 wine_fn_config_makefile dlls/wpcap/tests enable_tests
21982 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21983 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21984 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21985 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21986 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21987 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21988 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21989 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21990 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21991 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21992 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21993 wine_fn_config_makefile dlls/wuapi enable_wuapi
21994 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21995 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21996 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21997 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21998 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21999 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22000 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22001 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22002 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22003 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22004 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22005 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22006 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22007 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22008 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22009 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22010 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22011 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22012 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22013 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22014 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22015 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22016 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22017 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22018 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22019 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22020 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22021 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22022 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22023 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22024 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22025 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22026 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22027 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22028 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22029 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22030 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22031 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
22032 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22033 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22034 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22035 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22036 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22037 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22038 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22039 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
22040 wine_fn_config_makefile dlls/xmllite enable_xmllite
22041 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22042 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22043 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22044 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22045 wine_fn_config_makefile fonts enable_fonts
22046 wine_fn_config_makefile include enable_include
22047 wine_fn_config_makefile libs/adsiid enable_adsiid
22048 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22049 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22050 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22051 wine_fn_config_makefile libs/dxguid enable_dxguid
22052 wine_fn_config_makefile libs/faudio enable_faudio
22053 wine_fn_config_makefile libs/gsm enable_gsm
22054 wine_fn_config_makefile libs/jpeg enable_jpeg
22055 wine_fn_config_makefile libs/jxr enable_jxr
22056 wine_fn_config_makefile libs/lcms2 enable_lcms2
22057 wine_fn_config_makefile libs/ldap enable_ldap
22058 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22059 wine_fn_config_makefile libs/mpg123 enable_mpg123
22060 wine_fn_config_makefile libs/musl enable_musl
22061 wine_fn_config_makefile libs/png enable_png
22062 wine_fn_config_makefile libs/strmbase enable_strmbase
22063 wine_fn_config_makefile libs/strmiids enable_strmiids
22064 wine_fn_config_makefile libs/tiff enable_tiff
22065 wine_fn_config_makefile libs/uuid enable_uuid
22066 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22067 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22068 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22069 wine_fn_config_makefile libs/xml2 enable_xml2
22070 wine_fn_config_makefile libs/xslt enable_xslt
22071 wine_fn_config_makefile libs/zlib enable_zlib
22072 wine_fn_config_makefile libs/zydis enable_zydis
22073 wine_fn_config_makefile loader enable_loader
22074 wine_fn_config_makefile nls enable_nls
22075 wine_fn_config_makefile po enable_po
22076 wine_fn_config_makefile programs/arp enable_arp
22077 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22078 wine_fn_config_makefile programs/attrib enable_attrib
22079 wine_fn_config_makefile programs/cabarc enable_cabarc
22080 wine_fn_config_makefile programs/cacls enable_cacls
22081 wine_fn_config_makefile programs/certutil enable_certutil
22082 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22083 wine_fn_config_makefile programs/clock enable_clock
22084 wine_fn_config_makefile programs/cmd enable_cmd
22085 wine_fn_config_makefile programs/cmd/tests enable_tests
22086 wine_fn_config_makefile programs/conhost enable_conhost
22087 wine_fn_config_makefile programs/conhost/tests enable_tests
22088 wine_fn_config_makefile programs/control enable_control
22089 wine_fn_config_makefile programs/cscript enable_cscript
22090 wine_fn_config_makefile programs/dism enable_dism
22091 wine_fn_config_makefile programs/dllhost enable_dllhost
22092 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22093 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22094 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22095 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22096 wine_fn_config_makefile programs/eject enable_eject
22097 wine_fn_config_makefile programs/expand enable_expand
22098 wine_fn_config_makefile programs/explorer enable_explorer
22099 wine_fn_config_makefile programs/explorer/tests enable_tests
22100 wine_fn_config_makefile programs/extrac32 enable_extrac32
22101 wine_fn_config_makefile programs/fc enable_fc
22102 wine_fn_config_makefile programs/find enable_find
22103 wine_fn_config_makefile programs/find/tests enable_tests
22104 wine_fn_config_makefile programs/findstr enable_findstr
22105 wine_fn_config_makefile programs/findstr/tests enable_tests
22106 wine_fn_config_makefile programs/fsutil enable_fsutil
22107 wine_fn_config_makefile programs/fsutil/tests enable_tests
22108 wine_fn_config_makefile programs/hh enable_hh
22109 wine_fn_config_makefile programs/hostname enable_hostname
22110 wine_fn_config_makefile programs/icacls enable_icacls
22111 wine_fn_config_makefile programs/icinfo enable_icinfo
22112 wine_fn_config_makefile programs/iexplore enable_iexplore
22113 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22114 wine_fn_config_makefile programs/lodctr enable_lodctr
22115 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22116 wine_fn_config_makefile programs/mshta enable_mshta
22117 wine_fn_config_makefile programs/msidb enable_msidb
22118 wine_fn_config_makefile programs/msiexec enable_msiexec
22119 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22120 wine_fn_config_makefile programs/net enable_net
22121 wine_fn_config_makefile programs/netsh enable_netsh
22122 wine_fn_config_makefile programs/netstat enable_netstat
22123 wine_fn_config_makefile programs/ngen enable_ngen
22124 wine_fn_config_makefile programs/notepad enable_notepad
22125 wine_fn_config_makefile programs/oleview enable_oleview
22126 wine_fn_config_makefile programs/ping enable_ping
22127 wine_fn_config_makefile programs/plugplay enable_plugplay
22128 wine_fn_config_makefile programs/powershell enable_powershell
22129 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22130 wine_fn_config_makefile programs/progman enable_progman
22131 wine_fn_config_makefile programs/reg enable_reg
22132 wine_fn_config_makefile programs/reg/tests enable_tests
22133 wine_fn_config_makefile programs/regasm enable_regasm
22134 wine_fn_config_makefile programs/regedit enable_regedit
22135 wine_fn_config_makefile programs/regedit/tests enable_tests
22136 wine_fn_config_makefile programs/regini enable_regini
22137 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22138 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22139 wine_fn_config_makefile programs/robocopy enable_robocopy
22140 wine_fn_config_makefile programs/rpcss enable_rpcss
22141 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22142 wine_fn_config_makefile programs/rundll32 enable_rundll32
22143 wine_fn_config_makefile programs/sc enable_sc
22144 wine_fn_config_makefile programs/sc/tests enable_tests
22145 wine_fn_config_makefile programs/schtasks enable_schtasks
22146 wine_fn_config_makefile programs/schtasks/tests enable_tests
22147 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22148 wine_fn_config_makefile programs/secedit enable_secedit
22149 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22150 wine_fn_config_makefile programs/services enable_services
22151 wine_fn_config_makefile programs/services/tests enable_tests
22152 wine_fn_config_makefile programs/setx enable_setx
22153 wine_fn_config_makefile programs/shutdown enable_shutdown
22154 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22155 wine_fn_config_makefile programs/start enable_start
22156 wine_fn_config_makefile programs/subst enable_subst
22157 wine_fn_config_makefile programs/svchost enable_svchost
22158 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22159 wine_fn_config_makefile programs/taskkill enable_taskkill
22160 wine_fn_config_makefile programs/tasklist enable_tasklist
22161 wine_fn_config_makefile programs/tasklist/tests enable_tests
22162 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22163 wine_fn_config_makefile programs/termsv enable_termsv
22164 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22165 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22166 wine_fn_config_makefile programs/view enable_view
22167 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22168 wine_fn_config_makefile programs/where enable_where
22169 wine_fn_config_makefile programs/whoami enable_whoami
22170 wine_fn_config_makefile programs/wineboot enable_wineboot
22171 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22172 wine_fn_config_makefile programs/winecfg enable_winecfg
22173 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22174 wine_fn_config_makefile programs/winedbg enable_winedbg
22175 wine_fn_config_makefile programs/winedevice enable_winedevice
22176 wine_fn_config_makefile programs/winefile enable_winefile
22177 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22178 wine_fn_config_makefile programs/winemine enable_winemine
22179 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22180 wine_fn_config_makefile programs/winepath enable_winepath
22181 wine_fn_config_makefile programs/winetest enable_winetest
22182 wine_fn_config_makefile programs/winevdm enable_win16
22183 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22184 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22185 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22186 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22187 wine_fn_config_makefile programs/winver enable_winver
22188 wine_fn_config_makefile programs/wmic enable_wmic
22189 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22190 wine_fn_config_makefile programs/wordpad enable_wordpad
22191 wine_fn_config_makefile programs/write enable_write
22192 wine_fn_config_makefile programs/wscript enable_wscript
22193 wine_fn_config_makefile programs/wscript/tests enable_tests
22194 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22195 wine_fn_config_makefile programs/wusa enable_wusa
22196 wine_fn_config_makefile programs/xcopy enable_xcopy
22197 wine_fn_config_makefile programs/xcopy/tests enable_tests
22198 wine_fn_config_makefile server enable_server
22199 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22200 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22201 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22202 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22203 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22204 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22205 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22206 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22207 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22210 as_fn_append CONFIGURE_TARGETS " TAGS"
22211 as_fn_append CONFIGURE_TARGETS " tags"
22212 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22213 as_fn_append CONFIGURE_TARGETS " config.log"
22214 as_fn_append CONFIGURE_TARGETS " config.status"
22215 as_fn_append CONFIGURE_TARGETS " include/config.h"
22216 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22217 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22219 if test "x$enable_tools" != xno
22220 then
22221 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22222 ac_config_commands="$ac_config_commands tools/makedep"
22226 ac_config_commands="$ac_config_commands Makefile"
22230 SHELL=/bin/sh
22233 as_fn_append wine_rules "
22234 all: wine
22235 @echo \"Wine build complete.\"
22236 .INIT: Makefile
22237 .MAKEFILEDEPS:
22238 all: Makefile
22239 Makefile: config.status \$(MAKEDEP)
22240 @./config.status Makefile
22241 depend: \$(MAKEDEP)
22242 \$(MAKEDEP)$makedep_flags"
22245 as_fn_append wine_rules "
22246 config.status: ${wine_srcdir}configure
22247 @./config.status --recheck
22248 include/config.h: include/stamp-h
22249 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22250 @./config.status include/config.h include/stamp-h"
22252 if test "x$enable_maintainer_mode" = xyes
22253 then
22254 as_fn_append wine_rules "
22255 configure: configure.ac aclocal.m4
22256 autoconf --warnings=all
22257 include/config.h.in: include/stamp-h.in
22258 include/stamp-h.in: configure.ac aclocal.m4
22259 autoheader --warnings=all
22260 @echo timestamp > \$@"
22263 if test "x$enable_tools" != xno
22264 then
22265 as_fn_append wine_rules "
22266 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22267 @./config.status tools/makedep
22268 Makefile: tools/makedep$ac_exeext"
22269 else
22270 as_fn_append wine_rules "
22271 \$(MAKEDEP):
22272 @echo \"You need to run make in $toolsdir first\" && false"
22276 if test -n "$with_wine64"
22277 then
22278 case "$with_wine64" in
22279 /*) reldir="" ;;
22280 *) reldir="../" ;;
22281 esac
22282 rm -f fonts server 2>/dev/null
22283 as_fn_append wine_rules "
22284 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22285 loader/wine64 loader/wine64-preloader:
22286 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22287 $with_wine64/loader/wine:
22288 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22289 $with_wine64/loader/wine-preloader:
22290 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22291 clean::
22292 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22293 else
22294 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22295 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22296 fonts \
22297 loader/wine.inf \
22298 nls \
22299 programs/msidb/msidb \
22300 programs/msiexec/msiexec \
22301 programs/notepad/notepad \
22302 programs/regedit/regedit \
22303 programs/regsvr32/regsvr32 \
22304 programs/wineboot/wineboot \
22305 programs/winecfg/winecfg \
22306 programs/wineconsole/wineconsole \
22307 programs/winedbg/winedbg \
22308 programs/winefile/winefile \
22309 programs/winemine/winemine \
22310 programs/winepath/winepath \
22311 server/wineserver"
22313 case $host_os in
22314 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22315 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22316 esac
22320 as_fn_append wine_rules "
22321 distclean:: clean
22322 rm -rf autom4te.cache
22323 maintainer-clean::
22324 rm -f configure include/config.h.in"
22327 as_fn_append wine_rules "
22328 dlls/ntdll/unix/version.c: dummy
22329 @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)
22330 programs/winetest/build.rc: dummy
22331 @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)
22332 programs/winetest/build.nfo:
22333 @-\$(CC) -v 2>\$@
22334 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
22335 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22336 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22339 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22341 as_fn_append wine_rules "
22342 TAGS etags:
22343 rm -f TAGS
22344 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22345 tags ctags:
22346 rm -f tags
22347 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22348 dummy:
22349 .PHONY: depend dummy install-manpages"
22351 printf "%s\n" " done" >&6
22352 cat >confcache <<\_ACEOF
22353 # This file is a shell script that caches the results of configure
22354 # tests run on this system so they can be shared between configure
22355 # scripts and configure runs, see configure's option --config-cache.
22356 # It is not useful on other systems. If it contains results you don't
22357 # want to keep, you may remove or edit it.
22359 # config.status only pays attention to the cache file if you give it
22360 # the --recheck option to rerun configure.
22362 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22363 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22364 # following values.
22366 _ACEOF
22368 # The following way of writing the cache mishandles newlines in values,
22369 # but we know of no workaround that is simple, portable, and efficient.
22370 # So, we kill variables containing newlines.
22371 # Ultrix sh set writes to stderr and can't be redirected directly,
22372 # and sets the high bit in the cache file unless we assign to the vars.
22374 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22375 eval ac_val=\$$ac_var
22376 case $ac_val in #(
22377 *${as_nl}*)
22378 case $ac_var in #(
22379 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22380 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22381 esac
22382 case $ac_var in #(
22383 _ | IFS | as_nl) ;; #(
22384 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22385 *) { eval $ac_var=; unset $ac_var;} ;;
22386 esac ;;
22387 esac
22388 done
22390 (set) 2>&1 |
22391 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22392 *${as_nl}ac_space=\ *)
22393 # `set' does not quote correctly, so add quotes: double-quote
22394 # substitution turns \\\\ into \\, and sed turns \\ into \.
22395 sed -n \
22396 "s/'/'\\\\''/g;
22397 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22398 ;; #(
22400 # `set' quotes correctly as required by POSIX, so do not add quotes.
22401 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22403 esac |
22404 sort
22406 sed '
22407 /^ac_cv_env_/b end
22408 t clear
22409 :clear
22410 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22411 t end
22412 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22413 :end' >>confcache
22414 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22415 if test -w "$cache_file"; then
22416 if test "x$cache_file" != "x/dev/null"; then
22417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22418 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22419 if test ! -f "$cache_file" || test -h "$cache_file"; then
22420 cat confcache >"$cache_file"
22421 else
22422 case $cache_file in #(
22423 */* | ?:*)
22424 mv -f confcache "$cache_file"$$ &&
22425 mv -f "$cache_file"$$ "$cache_file" ;; #(
22427 mv -f confcache "$cache_file" ;;
22428 esac
22431 else
22432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22433 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22436 rm -f confcache
22438 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22439 # Let make expand exec_prefix.
22440 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22442 DEFS=-DHAVE_CONFIG_H
22444 ac_libobjs=
22445 ac_ltlibobjs=
22447 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22448 # 1. Remove the extension, and $U if already installed.
22449 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22450 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22451 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22452 # will be set to the directory where LIBOBJS objects are built.
22453 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22454 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22455 done
22456 LIBOBJS=$ac_libobjs
22458 LTLIBOBJS=$ac_ltlibobjs
22462 : "${CONFIG_STATUS=./config.status}"
22463 ac_write_fail=0
22464 ac_clean_files_save=$ac_clean_files
22465 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22467 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22468 as_write_fail=0
22469 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22470 #! $SHELL
22471 # Generated by $as_me.
22472 # Run this file to recreate the current configuration.
22473 # Compiler output produced by configure, useful for debugging
22474 # configure, is in config.log if it exists.
22476 debug=false
22477 ac_cs_recheck=false
22478 ac_cs_silent=false
22480 SHELL=\${CONFIG_SHELL-$SHELL}
22481 export SHELL
22482 _ASEOF
22483 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22484 ## -------------------- ##
22485 ## M4sh Initialization. ##
22486 ## -------------------- ##
22488 # Be more Bourne compatible
22489 DUALCASE=1; export DUALCASE # for MKS sh
22490 as_nop=:
22491 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22492 then :
22493 emulate sh
22494 NULLCMD=:
22495 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22496 # is contrary to our usage. Disable this feature.
22497 alias -g '${1+"$@"}'='"$@"'
22498 setopt NO_GLOB_SUBST
22499 else $as_nop
22500 case `(set -o) 2>/dev/null` in #(
22501 *posix*) :
22502 set -o posix ;; #(
22503 *) :
22505 esac
22510 # Reset variables that may have inherited troublesome values from
22511 # the environment.
22513 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22514 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22515 # side effect of setting IFS to empty, thus disabling word splitting.)
22516 # Quoting is to prevent editors from complaining about space-tab.
22517 as_nl='
22519 export as_nl
22520 IFS=" "" $as_nl"
22522 PS1='$ '
22523 PS2='> '
22524 PS4='+ '
22526 # Ensure predictable behavior from utilities with locale-dependent output.
22527 LC_ALL=C
22528 export LC_ALL
22529 LANGUAGE=C
22530 export LANGUAGE
22532 # We cannot yet rely on "unset" to work, but we need these variables
22533 # to be unset--not just set to an empty or harmless value--now, to
22534 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22535 # also avoids known problems related to "unset" and subshell syntax
22536 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22537 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22538 do eval test \${$as_var+y} \
22539 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22540 done
22542 # Ensure that fds 0, 1, and 2 are open.
22543 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22544 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22545 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22547 # The user is always right.
22548 if ${PATH_SEPARATOR+false} :; then
22549 PATH_SEPARATOR=:
22550 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22551 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22552 PATH_SEPARATOR=';'
22557 # Find who we are. Look in the path if we contain no directory separator.
22558 as_myself=
22559 case $0 in #((
22560 *[\\/]* ) as_myself=$0 ;;
22561 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22562 for as_dir in $PATH
22564 IFS=$as_save_IFS
22565 case $as_dir in #(((
22566 '') as_dir=./ ;;
22567 */) ;;
22568 *) as_dir=$as_dir/ ;;
22569 esac
22570 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22571 done
22572 IFS=$as_save_IFS
22575 esac
22576 # We did not find ourselves, most probably we were run as `sh COMMAND'
22577 # in which case we are not to be found in the path.
22578 if test "x$as_myself" = x; then
22579 as_myself=$0
22581 if test ! -f "$as_myself"; then
22582 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22583 exit 1
22588 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22589 # ----------------------------------------
22590 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22591 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22592 # script with STATUS, using 1 if that was 0.
22593 as_fn_error ()
22595 as_status=$1; test $as_status -eq 0 && as_status=1
22596 if test "$4"; then
22597 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22598 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22600 printf "%s\n" "$as_me: error: $2" >&2
22601 as_fn_exit $as_status
22602 } # as_fn_error
22606 # as_fn_set_status STATUS
22607 # -----------------------
22608 # Set $? to STATUS, without forking.
22609 as_fn_set_status ()
22611 return $1
22612 } # as_fn_set_status
22614 # as_fn_exit STATUS
22615 # -----------------
22616 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22617 as_fn_exit ()
22619 set +e
22620 as_fn_set_status $1
22621 exit $1
22622 } # as_fn_exit
22624 # as_fn_unset VAR
22625 # ---------------
22626 # Portably unset VAR.
22627 as_fn_unset ()
22629 { eval $1=; unset $1;}
22631 as_unset=as_fn_unset
22633 # as_fn_append VAR VALUE
22634 # ----------------------
22635 # Append the text in VALUE to the end of the definition contained in VAR. Take
22636 # advantage of any shell optimizations that allow amortized linear growth over
22637 # repeated appends, instead of the typical quadratic growth present in naive
22638 # implementations.
22639 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22640 then :
22641 eval 'as_fn_append ()
22643 eval $1+=\$2
22645 else $as_nop
22646 as_fn_append ()
22648 eval $1=\$$1\$2
22650 fi # as_fn_append
22652 # as_fn_arith ARG...
22653 # ------------------
22654 # Perform arithmetic evaluation on the ARGs, and store the result in the
22655 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22656 # must be portable across $(()) and expr.
22657 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22658 then :
22659 eval 'as_fn_arith ()
22661 as_val=$(( $* ))
22663 else $as_nop
22664 as_fn_arith ()
22666 as_val=`expr "$@" || test $? -eq 1`
22668 fi # as_fn_arith
22671 if expr a : '\(a\)' >/dev/null 2>&1 &&
22672 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22673 as_expr=expr
22674 else
22675 as_expr=false
22678 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22679 as_basename=basename
22680 else
22681 as_basename=false
22684 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22685 as_dirname=dirname
22686 else
22687 as_dirname=false
22690 as_me=`$as_basename -- "$0" ||
22691 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22692 X"$0" : 'X\(//\)$' \| \
22693 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22694 printf "%s\n" X/"$0" |
22695 sed '/^.*\/\([^/][^/]*\)\/*$/{
22696 s//\1/
22699 /^X\/\(\/\/\)$/{
22700 s//\1/
22703 /^X\/\(\/\).*/{
22704 s//\1/
22707 s/.*/./; q'`
22709 # Avoid depending upon Character Ranges.
22710 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22711 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22712 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22713 as_cr_digits='0123456789'
22714 as_cr_alnum=$as_cr_Letters$as_cr_digits
22717 # Determine whether it's possible to make 'echo' print without a newline.
22718 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22719 # for compatibility with existing Makefiles.
22720 ECHO_C= ECHO_N= ECHO_T=
22721 case `echo -n x` in #(((((
22722 -n*)
22723 case `echo 'xy\c'` in
22724 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22725 xy) ECHO_C='\c';;
22726 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22727 ECHO_T=' ';;
22728 esac;;
22730 ECHO_N='-n';;
22731 esac
22733 # For backward compatibility with old third-party macros, we provide
22734 # the shell variables $as_echo and $as_echo_n. New code should use
22735 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22736 as_echo='printf %s\n'
22737 as_echo_n='printf %s'
22739 rm -f conf$$ conf$$.exe conf$$.file
22740 if test -d conf$$.dir; then
22741 rm -f conf$$.dir/conf$$.file
22742 else
22743 rm -f conf$$.dir
22744 mkdir conf$$.dir 2>/dev/null
22746 if (echo >conf$$.file) 2>/dev/null; then
22747 if ln -s conf$$.file conf$$ 2>/dev/null; then
22748 as_ln_s='ln -s'
22749 # ... but there are two gotchas:
22750 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22751 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22752 # In both cases, we have to default to `cp -pR'.
22753 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22754 as_ln_s='cp -pR'
22755 elif ln conf$$.file conf$$ 2>/dev/null; then
22756 as_ln_s=ln
22757 else
22758 as_ln_s='cp -pR'
22760 else
22761 as_ln_s='cp -pR'
22763 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22764 rmdir conf$$.dir 2>/dev/null
22767 # as_fn_mkdir_p
22768 # -------------
22769 # Create "$as_dir" as a directory, including parents if necessary.
22770 as_fn_mkdir_p ()
22773 case $as_dir in #(
22774 -*) as_dir=./$as_dir;;
22775 esac
22776 test -d "$as_dir" || eval $as_mkdir_p || {
22777 as_dirs=
22778 while :; do
22779 case $as_dir in #(
22780 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22781 *) as_qdir=$as_dir;;
22782 esac
22783 as_dirs="'$as_qdir' $as_dirs"
22784 as_dir=`$as_dirname -- "$as_dir" ||
22785 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22786 X"$as_dir" : 'X\(//\)[^/]' \| \
22787 X"$as_dir" : 'X\(//\)$' \| \
22788 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22789 printf "%s\n" X"$as_dir" |
22790 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22791 s//\1/
22794 /^X\(\/\/\)[^/].*/{
22795 s//\1/
22798 /^X\(\/\/\)$/{
22799 s//\1/
22802 /^X\(\/\).*/{
22803 s//\1/
22806 s/.*/./; q'`
22807 test -d "$as_dir" && break
22808 done
22809 test -z "$as_dirs" || eval "mkdir $as_dirs"
22810 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22813 } # as_fn_mkdir_p
22814 if mkdir -p . 2>/dev/null; then
22815 as_mkdir_p='mkdir -p "$as_dir"'
22816 else
22817 test -d ./-p && rmdir ./-p
22818 as_mkdir_p=false
22822 # as_fn_executable_p FILE
22823 # -----------------------
22824 # Test if FILE is an executable regular file.
22825 as_fn_executable_p ()
22827 test -f "$1" && test -x "$1"
22828 } # as_fn_executable_p
22829 as_test_x='test -x'
22830 as_executable_p=as_fn_executable_p
22832 # Sed expression to map a string onto a valid CPP name.
22833 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22835 # Sed expression to map a string onto a valid variable name.
22836 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22839 exec 6>&1
22840 ## ----------------------------------- ##
22841 ## Main body of $CONFIG_STATUS script. ##
22842 ## ----------------------------------- ##
22843 _ASEOF
22844 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22846 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22847 # Save the log message, to keep $0 and so on meaningful, and to
22848 # report actual input values of CONFIG_FILES etc. instead of their
22849 # values after options handling.
22850 ac_log="
22851 This file was extended by Wine $as_me 8.9, which was
22852 generated by GNU Autoconf 2.71. Invocation command line was
22854 CONFIG_FILES = $CONFIG_FILES
22855 CONFIG_HEADERS = $CONFIG_HEADERS
22856 CONFIG_LINKS = $CONFIG_LINKS
22857 CONFIG_COMMANDS = $CONFIG_COMMANDS
22858 $ $0 $@
22860 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22863 _ACEOF
22866 case $ac_config_headers in *"
22867 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22868 esac
22871 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22872 # Files that config.status was made for.
22873 config_headers="$ac_config_headers"
22874 config_links="$ac_config_links"
22875 config_commands="$ac_config_commands"
22877 _ACEOF
22879 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22880 ac_cs_usage="\
22881 \`$as_me' instantiates files and other configuration actions
22882 from templates according to the current configuration. Unless the files
22883 and actions are specified as TAGs, all are instantiated by default.
22885 Usage: $0 [OPTION]... [TAG]...
22887 -h, --help print this help, then exit
22888 -V, --version print version number and configuration settings, then exit
22889 --config print configuration, then exit
22890 -q, --quiet, --silent
22891 do not print progress messages
22892 -d, --debug don't remove temporary files
22893 --recheck update $as_me by reconfiguring in the same conditions
22894 --header=FILE[:TEMPLATE]
22895 instantiate the configuration header FILE
22897 Configuration headers:
22898 $config_headers
22900 Configuration links:
22901 $config_links
22903 Configuration commands:
22904 $config_commands
22906 Report bugs to <wine-devel@winehq.org>.
22907 Wine home page: <https://www.winehq.org>."
22909 _ACEOF
22910 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22911 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22912 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22913 ac_cs_config='$ac_cs_config_escaped'
22914 ac_cs_version="\\
22915 Wine config.status 8.9
22916 configured by $0, generated by GNU Autoconf 2.71,
22917 with options \\"\$ac_cs_config\\"
22919 Copyright (C) 2021 Free Software Foundation, Inc.
22920 This config.status script is free software; the Free Software Foundation
22921 gives unlimited permission to copy, distribute and modify it."
22923 ac_pwd='$ac_pwd'
22924 srcdir='$srcdir'
22925 test -n "\$AWK" || AWK=awk
22926 _ACEOF
22928 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22929 # The default lists apply if the user does not specify any file.
22930 ac_need_defaults=:
22931 while test $# != 0
22933 case $1 in
22934 --*=?*)
22935 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22936 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22937 ac_shift=:
22939 --*=)
22940 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22941 ac_optarg=
22942 ac_shift=:
22945 ac_option=$1
22946 ac_optarg=$2
22947 ac_shift=shift
22949 esac
22951 case $ac_option in
22952 # Handling of the options.
22953 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22954 ac_cs_recheck=: ;;
22955 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22956 printf "%s\n" "$ac_cs_version"; exit ;;
22957 --config | --confi | --conf | --con | --co | --c )
22958 printf "%s\n" "$ac_cs_config"; exit ;;
22959 --debug | --debu | --deb | --de | --d | -d )
22960 debug=: ;;
22961 --header | --heade | --head | --hea )
22962 $ac_shift
22963 case $ac_optarg in
22964 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22965 esac
22966 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22967 ac_need_defaults=false;;
22968 --he | --h)
22969 # Conflict between --help and --header
22970 as_fn_error $? "ambiguous option: \`$1'
22971 Try \`$0 --help' for more information.";;
22972 --help | --hel | -h )
22973 printf "%s\n" "$ac_cs_usage"; exit ;;
22974 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22975 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22976 ac_cs_silent=: ;;
22978 # This is an error.
22979 -*) as_fn_error $? "unrecognized option: \`$1'
22980 Try \`$0 --help' for more information." ;;
22982 *) as_fn_append ac_config_targets " $1"
22983 ac_need_defaults=false ;;
22985 esac
22986 shift
22987 done
22989 ac_configure_extra_args=
22991 if $ac_cs_silent; then
22992 exec 6>/dev/null
22993 ac_configure_extra_args="$ac_configure_extra_args --silent"
22996 _ACEOF
22997 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22998 if \$ac_cs_recheck; then
22999 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23000 shift
23001 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23002 CONFIG_SHELL='$SHELL'
23003 export CONFIG_SHELL
23004 exec "\$@"
23007 _ACEOF
23008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23009 exec 5>>config.log
23011 echo
23012 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23013 ## Running $as_me. ##
23014 _ASBOX
23015 printf "%s\n" "$ac_log"
23016 } >&5
23018 _ACEOF
23019 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23021 # INIT-COMMANDS
23023 wine_fn_output_makedep ()
23025 as_dir=tools; as_fn_mkdir_p
23026 $CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
23028 wine_fn_output_makefile ()
23030 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23031 # This Makefile understands the following targets:
23033 # all (default): build wine
23034 # clean: remove all intermediate files
23035 # distclean: also remove all files created by configure
23036 # test: run tests
23037 # testclean: clean test results to force running all tests again
23038 # install-lib: install libraries needed to run applications
23039 # install-dev: install development environment
23040 # install: install everything
23041 # uninstall: uninstall everything
23042 # ctags: create a tags file for vim and others.
23043 # etags: create a TAGS file for Emacs.
23045 SHELL = $SHELL
23046 PATH_SEPARATOR = $PATH_SEPARATOR
23047 PACKAGE_NAME = $PACKAGE_NAME
23048 PACKAGE_TARNAME = $PACKAGE_TARNAME
23049 PACKAGE_VERSION = $PACKAGE_VERSION
23050 PACKAGE_STRING = $PACKAGE_STRING
23051 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23052 PACKAGE_URL = $PACKAGE_URL
23053 exec_prefix = $exec_prefix
23054 prefix = $prefix
23055 program_transform_name = $program_transform_name
23056 bindir = $bindir
23057 sbindir = $sbindir
23058 libexecdir = $libexecdir
23059 datarootdir = $datarootdir
23060 datadir = $datadir
23061 sysconfdir = $sysconfdir
23062 sharedstatedir = $sharedstatedir
23063 localstatedir = $localstatedir
23064 runstatedir = $runstatedir
23065 includedir = $includedir
23066 oldincludedir = $oldincludedir
23067 docdir = $docdir
23068 infodir = $infodir
23069 htmldir = $htmldir
23070 dvidir = $dvidir
23071 pdfdir = $pdfdir
23072 psdir = $psdir
23073 libdir = $libdir
23074 localedir = $localedir
23075 mandir = $mandir
23076 DEFS = $DEFS
23077 ECHO_C = $ECHO_C
23078 ECHO_N = $ECHO_N
23079 ECHO_T = $ECHO_T
23080 LIBS = $LIBS
23081 build_alias = $build_alias
23082 host_alias = $host_alias
23083 target_alias = $target_alias
23084 system_dllpath = $system_dllpath
23085 build = $build
23086 build_cpu = $build_cpu
23087 build_vendor = $build_vendor
23088 build_os = $build_os
23089 host = $host
23090 host_cpu = $host_cpu
23091 host_vendor = $host_vendor
23092 host_os = $host_os
23093 dlldir = $dlldir
23094 fontdir = $fontdir
23095 nlsdir = $nlsdir
23096 srcdir = $srcdir
23097 SET_MAKE = $SET_MAKE
23098 CC = $CC
23099 CFLAGS = $CFLAGS
23100 LDFLAGS = $LDFLAGS
23101 CPPFLAGS = $CPPFLAGS
23102 ac_ct_CC = $ac_ct_CC
23103 EXEEXT = $EXEEXT
23104 OBJEXT = $OBJEXT
23105 CXX = $CXX
23106 CXXFLAGS = $CXXFLAGS
23107 ac_ct_CXX = $ac_ct_CXX
23108 CPPBIN = $CPPBIN
23109 LD = $LD
23110 TARGETFLAGS = $TARGETFLAGS
23111 toolsext = $toolsext
23112 HOST_ARCH = $HOST_ARCH
23113 aarch64_CC = $aarch64_CC
23114 aarch64_CFLAGS = $aarch64_CFLAGS
23115 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23116 aarch64_LDFLAGS = $aarch64_LDFLAGS
23117 aarch64_DEBUG = $aarch64_DEBUG
23118 aarch64_TARGET = $aarch64_TARGET
23119 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23120 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23121 arm_CC = $arm_CC
23122 arm_CFLAGS = $arm_CFLAGS
23123 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23124 arm_LDFLAGS = $arm_LDFLAGS
23125 arm_DEBUG = $arm_DEBUG
23126 arm_TARGET = $arm_TARGET
23127 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23128 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23129 i386_CC = $i386_CC
23130 i386_CFLAGS = $i386_CFLAGS
23131 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23132 i386_LDFLAGS = $i386_LDFLAGS
23133 i386_DEBUG = $i386_DEBUG
23134 i386_TARGET = $i386_TARGET
23135 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23136 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23137 x86_64_CC = $x86_64_CC
23138 x86_64_CFLAGS = $x86_64_CFLAGS
23139 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23140 x86_64_LDFLAGS = $x86_64_LDFLAGS
23141 x86_64_DEBUG = $x86_64_DEBUG
23142 x86_64_TARGET = $x86_64_TARGET
23143 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23144 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23145 toolsdir = $toolsdir
23146 MAKEDEP = $MAKEDEP
23147 RUNTESTFLAGS = $RUNTESTFLAGS
23148 SED_CMD = $SED_CMD
23149 FLEX = $FLEX
23150 BISON = $BISON
23151 AR = $AR
23152 ac_ct_AR = $ac_ct_AR
23153 STRIP = $STRIP
23154 RANLIB = $RANLIB
23155 LN_S = $LN_S
23156 GREP = $GREP
23157 EGREP = $EGREP
23158 LDCONFIG = $LDCONFIG
23159 MSGFMT = $MSGFMT
23160 PKG_CONFIG = $PKG_CONFIG
23161 FONTFORGE = $FONTFORGE
23162 RSVG = $RSVG
23163 CONVERT = $CONVERT
23164 ICOTOOL = $ICOTOOL
23165 I386_LIBS = $I386_LIBS
23166 OPENGL_LIBS = $OPENGL_LIBS
23167 DLLFLAGS = $DLLFLAGS
23168 LDDLLFLAGS = $LDDLLFLAGS
23169 LDEXECFLAGS = $LDEXECFLAGS
23170 EXTRACFLAGS = $EXTRACFLAGS
23171 UNIXDLLFLAGS = $UNIXDLLFLAGS
23172 UNIXLDFLAGS = $UNIXLDFLAGS
23173 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23174 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23175 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23176 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
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