winedump: Load once and store global PDB string table.
[wine.git] / configure
blob759a59410df3a4075d5e6f77c04c151565551929
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.1.
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.1'
615 PACKAGE_STRING='Wine 8.1'
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 PCAP_LIBS
704 X_EXTRA_LIBS
705 X_LIBS
706 X_PRE_LIBS
707 X_CFLAGS
709 XMKMF
710 PTHREAD_LIBS
711 ZLIB_PE_LIBS
712 ZLIB_PE_CFLAGS
713 XSLT_PE_LIBS
714 XSLT_PE_CFLAGS
715 XML2_PE_LIBS
716 XML2_PE_CFLAGS
717 VKD3D_PE_LIBS
718 VKD3D_PE_CFLAGS
719 TIFF_PE_LIBS
720 TIFF_PE_CFLAGS
721 PNG_PE_LIBS
722 PNG_PE_CFLAGS
723 MPG123_PE_LIBS
724 MPG123_PE_CFLAGS
725 LDAP_PE_LIBS
726 LDAP_PE_CFLAGS
727 LCMS2_PE_LIBS
728 LCMS2_PE_CFLAGS
729 JXR_PE_LIBS
730 JXR_PE_CFLAGS
731 JPEG_PE_LIBS
732 JPEG_PE_CFLAGS
733 GSM_PE_LIBS
734 GSM_PE_CFLAGS
735 FAUDIO_PE_LIBS
736 FAUDIO_PE_CFLAGS
737 MINGW_PKG_CONFIG
738 PE_ARCHS
739 LIBWINE_DEPENDS
740 PRELINK
741 WINELOADER_DEPENDS
742 LIBWINE_LDFLAGS
743 LIBWINE_SHAREDLIB
744 ac_ct_OBJC
745 OBJCFLAGS
746 OBJC
747 OPENCL_LIBS
748 COREAUDIO_LIBS
749 SYSTEMCONFIGURATION_LIBS
750 SECURITY_LIBS
751 APPKIT_LIBS
752 CORESERVICES_LIBS
753 APPLICATIONSERVICES_LIBS
754 METAL_LIBS
755 IOKIT_LIBS
756 DISKARBITRATION_LIBS
757 COREFOUNDATION_LIBS
758 CARBON_LIBS
759 CONFIGURE_TARGETS
760 DISABLED_SUBDIRS
761 SUBDIRS
762 READELF
763 OTOOL
765 WINEPRELOADER_LDFLAGS
766 WINELOADER_LDFLAGS
767 TOP_INSTALL_DEV
768 TOP_INSTALL_LIB
769 UNIXLDFLAGS
770 UNIXDLLFLAGS
771 EXTRACFLAGS
772 LDEXECFLAGS
773 LDDLLFLAGS
774 DLLFLAGS
775 OPENGL_LIBS
776 I386_LIBS
777 ICOTOOL
778 CONVERT
779 RSVG
780 FONTFORGE
781 PKG_CONFIG
782 MSGFMT
783 LDCONFIG
784 EGREP
785 GREP
786 LN_S
787 RANLIB
788 STRIP
789 ac_ct_AR
791 BISON
792 FLEX
793 SED_CMD
794 RUNTESTFLAGS
795 MAKEDEP
796 toolsdir
797 x86_64_DISABLED_SUBDIRS
798 x86_64_DELAYLOADFLAG
799 x86_64_TARGET
800 x86_64_DEBUG
801 x86_64_LDFLAGS
802 x86_64_EXTRACFLAGS
803 x86_64_CFLAGS
804 x86_64_CC
805 i386_DISABLED_SUBDIRS
806 i386_DELAYLOADFLAG
807 i386_TARGET
808 i386_DEBUG
809 i386_LDFLAGS
810 i386_EXTRACFLAGS
811 i386_CFLAGS
812 i386_CC
813 arm_DISABLED_SUBDIRS
814 arm_DELAYLOADFLAG
815 arm_TARGET
816 arm_DEBUG
817 arm_LDFLAGS
818 arm_EXTRACFLAGS
819 arm_CFLAGS
820 arm_CC
821 aarch64_DISABLED_SUBDIRS
822 aarch64_DELAYLOADFLAG
823 aarch64_TARGET
824 aarch64_DEBUG
825 aarch64_LDFLAGS
826 aarch64_EXTRACFLAGS
827 aarch64_CFLAGS
828 aarch64_CC
829 HOST_ARCH
830 toolsext
831 TARGETFLAGS
833 CPPBIN
834 ac_ct_CXX
835 CXXFLAGS
837 OBJEXT
838 EXEEXT
839 ac_ct_CC
840 CPPFLAGS
841 LDFLAGS
842 CFLAGS
844 SET_MAKE
845 srcdir
846 nlsdir
847 fontdir
848 dlldir
849 host_os
850 host_vendor
851 host_cpu
852 host
853 build_os
854 build_vendor
855 build_cpu
856 build
857 system_dllpath
858 target_alias
859 host_alias
860 build_alias
861 LIBS
862 ECHO_T
863 ECHO_N
864 ECHO_C
865 DEFS
866 mandir
867 localedir
868 libdir
869 psdir
870 pdfdir
871 dvidir
872 htmldir
873 infodir
874 docdir
875 oldincludedir
876 includedir
877 runstatedir
878 localstatedir
879 sharedstatedir
880 sysconfdir
881 datadir
882 datarootdir
883 libexecdir
884 sbindir
885 bindir
886 program_transform_name
887 prefix
888 exec_prefix
889 PACKAGE_URL
890 PACKAGE_BUGREPORT
891 PACKAGE_STRING
892 PACKAGE_VERSION
893 PACKAGE_TARNAME
894 PACKAGE_NAME
895 PATH_SEPARATOR
896 SHELL'
897 ac_subst_files=''
898 ac_user_opts='
899 enable_option_checking
900 enable_archs
901 enable_win16
902 enable_win64
903 enable_tests
904 enable_build_id
905 enable_maintainer_mode
906 enable_silent_rules
907 enable_werror
908 with_alsa
909 with_capi
910 with_coreaudio
911 with_cups
912 with_dbus
913 with_float_abi
914 with_fontconfig
915 with_freetype
916 with_gettext
917 with_gettextpo
918 with_gphoto
919 with_gnutls
920 with_gssapi
921 with_gstreamer
922 with_inotify
923 with_krb5
924 with_mingw
925 with_netapi
926 with_opencl
927 with_opengl
928 with_osmesa
929 with_oss
930 with_pcap
931 with_pthread
932 with_pulse
933 with_sane
934 with_sdl
935 with_udev
936 with_unwind
937 with_usb
938 with_v4l2
939 with_vulkan
940 with_xcomposite
941 with_xcursor
942 with_xfixes
943 with_xinerama
944 with_xinput
945 with_xinput2
946 with_xrandr
947 with_xrender
948 with_xshape
949 with_xshm
950 with_xxf86vm
951 with_system_dllpath
952 with_wine_tools
953 with_wine64
954 enable_largefile
955 with_x
956 enable_acledit
957 enable_aclui
958 enable_activeds_tlb
959 enable_activeds
960 enable_actxprxy
961 enable_adsldp
962 enable_adsldpc
963 enable_advapi32
964 enable_advpack
965 enable_amsi
966 enable_amstream
967 enable_apisetschema
968 enable_apphelp
969 enable_appwiz_cpl
970 enable_atl
971 enable_atl100
972 enable_atl110
973 enable_atl80
974 enable_atl90
975 enable_atlthunk
976 enable_atmlib
977 enable_authz
978 enable_avicap32
979 enable_avifil32
980 enable_avrt
981 enable_bcrypt
982 enable_bluetoothapis
983 enable_browseui
984 enable_bthprops_cpl
985 enable_cabinet
986 enable_capi2032
987 enable_cards
988 enable_cdosys
989 enable_cfgmgr32
990 enable_clusapi
991 enable_cng_sys
992 enable_combase
993 enable_comcat
994 enable_comctl32
995 enable_comdlg32
996 enable_compstui
997 enable_comsvcs
998 enable_concrt140
999 enable_connect
1000 enable_credui
1001 enable_crtdll
1002 enable_crypt32
1003 enable_cryptdlg
1004 enable_cryptdll
1005 enable_cryptext
1006 enable_cryptnet
1007 enable_cryptowinrt
1008 enable_cryptsp
1009 enable_cryptui
1010 enable_ctapi32
1011 enable_ctl3d32
1012 enable_d2d1
1013 enable_d3d10
1014 enable_d3d10_1
1015 enable_d3d10core
1016 enable_d3d11
1017 enable_d3d12
1018 enable_d3d8
1019 enable_d3d8thk
1020 enable_d3d9
1021 enable_d3dcompiler_33
1022 enable_d3dcompiler_34
1023 enable_d3dcompiler_35
1024 enable_d3dcompiler_36
1025 enable_d3dcompiler_37
1026 enable_d3dcompiler_38
1027 enable_d3dcompiler_39
1028 enable_d3dcompiler_40
1029 enable_d3dcompiler_41
1030 enable_d3dcompiler_42
1031 enable_d3dcompiler_43
1032 enable_d3dcompiler_46
1033 enable_d3dcompiler_47
1034 enable_d3dim
1035 enable_d3dim700
1036 enable_d3drm
1037 enable_d3dx10_33
1038 enable_d3dx10_34
1039 enable_d3dx10_35
1040 enable_d3dx10_36
1041 enable_d3dx10_37
1042 enable_d3dx10_38
1043 enable_d3dx10_39
1044 enable_d3dx10_40
1045 enable_d3dx10_41
1046 enable_d3dx10_42
1047 enable_d3dx10_43
1048 enable_d3dx11_42
1049 enable_d3dx11_43
1050 enable_d3dx9_24
1051 enable_d3dx9_25
1052 enable_d3dx9_26
1053 enable_d3dx9_27
1054 enable_d3dx9_28
1055 enable_d3dx9_29
1056 enable_d3dx9_30
1057 enable_d3dx9_31
1058 enable_d3dx9_32
1059 enable_d3dx9_33
1060 enable_d3dx9_34
1061 enable_d3dx9_35
1062 enable_d3dx9_36
1063 enable_d3dx9_37
1064 enable_d3dx9_38
1065 enable_d3dx9_39
1066 enable_d3dx9_40
1067 enable_d3dx9_41
1068 enable_d3dx9_42
1069 enable_d3dx9_43
1070 enable_d3dxof
1071 enable_davclnt
1072 enable_dbgeng
1073 enable_dbghelp
1074 enable_dciman32
1075 enable_dcomp
1076 enable_ddraw
1077 enable_ddrawex
1078 enable_devenum
1079 enable_dhcpcsvc
1080 enable_dhcpcsvc6
1081 enable_dhtmled_ocx
1082 enable_diasymreader
1083 enable_difxapi
1084 enable_dinput
1085 enable_dinput8
1086 enable_directmanipulation
1087 enable_dispex
1088 enable_dmband
1089 enable_dmcompos
1090 enable_dmime
1091 enable_dmloader
1092 enable_dmscript
1093 enable_dmstyle
1094 enable_dmsynth
1095 enable_dmusic
1096 enable_dmusic32
1097 enable_dnsapi
1098 enable_dplay
1099 enable_dplayx
1100 enable_dpnaddr
1101 enable_dpnet
1102 enable_dpnhpast
1103 enable_dpnhupnp
1104 enable_dpnlobby
1105 enable_dpvoice
1106 enable_dpwsockx
1107 enable_drmclien
1108 enable_dsdmo
1109 enable_dsound
1110 enable_dsquery
1111 enable_dssenh
1112 enable_dsuiext
1113 enable_dswave
1114 enable_dwmapi
1115 enable_dwrite
1116 enable_dx8vb
1117 enable_dxdiagn
1118 enable_dxgi
1119 enable_dxtrans
1120 enable_dxva2
1121 enable_esent
1122 enable_evr
1123 enable_explorerframe
1124 enable_faultrep
1125 enable_feclient
1126 enable_fltlib
1127 enable_fltmgr_sys
1128 enable_fntcache
1129 enable_fontsub
1130 enable_fusion
1131 enable_fwpuclnt
1132 enable_gameux
1133 enable_gamingtcui
1134 enable_gdi32
1135 enable_gdiplus
1136 enable_glu32
1137 enable_gphoto2_ds
1138 enable_gpkcsp
1139 enable_hal
1140 enable_hhctrl_ocx
1141 enable_hid
1142 enable_hidclass_sys
1143 enable_hidparse_sys
1144 enable_hlink
1145 enable_hnetcfg
1146 enable_http_sys
1147 enable_httpapi
1148 enable_ia2comproxy
1149 enable_iccvid
1150 enable_icmp
1151 enable_ieframe
1152 enable_ieproxy
1153 enable_imaadp32_acm
1154 enable_imagehlp
1155 enable_imm32
1156 enable_inetcomm
1157 enable_inetcpl_cpl
1158 enable_inetmib1
1159 enable_infosoft
1160 enable_initpki
1161 enable_inkobj
1162 enable_inseng
1163 enable_iphlpapi
1164 enable_iprop
1165 enable_ir50_32
1166 enable_irprops_cpl
1167 enable_itircl
1168 enable_itss
1169 enable_joy_cpl
1170 enable_jscript
1171 enable_jsproxy
1172 enable_kerberos
1173 enable_kernel32
1174 enable_kernelbase
1175 enable_ksecdd_sys
1176 enable_ksproxy_ax
1177 enable_ksuser
1178 enable_ktmw32
1179 enable_l3codeca_acm
1180 enable_light_msstyles
1181 enable_loadperf
1182 enable_localspl
1183 enable_localui
1184 enable_lz32
1185 enable_mapi32
1186 enable_mapistub
1187 enable_mciavi32
1188 enable_mcicda
1189 enable_mciqtz32
1190 enable_mciseq
1191 enable_mciwave
1192 enable_mf
1193 enable_mf3216
1194 enable_mferror
1195 enable_mfmediaengine
1196 enable_mfplat
1197 enable_mfplay
1198 enable_mfreadwrite
1199 enable_mfsrcsnk
1200 enable_mgmtapi
1201 enable_midimap
1202 enable_mlang
1203 enable_mmcndmgr
1204 enable_mmdevapi
1205 enable_mountmgr_sys
1206 enable_mp3dmod
1207 enable_mpr
1208 enable_mprapi
1209 enable_msacm32_drv
1210 enable_msacm32
1211 enable_msado15
1212 enable_msadp32_acm
1213 enable_msasn1
1214 enable_msauddecmft
1215 enable_mscat32
1216 enable_mscms
1217 enable_mscoree
1218 enable_mscorwks
1219 enable_msctf
1220 enable_msctfmonitor
1221 enable_msctfp
1222 enable_msdaps
1223 enable_msdasql
1224 enable_msdelta
1225 enable_msdmo
1226 enable_msdrm
1227 enable_msftedit
1228 enable_msg711_acm
1229 enable_msgsm32_acm
1230 enable_mshtml_tlb
1231 enable_mshtml
1232 enable_msi
1233 enable_msident
1234 enable_msimg32
1235 enable_msimsg
1236 enable_msimtf
1237 enable_msisip
1238 enable_msisys_ocx
1239 enable_msls31
1240 enable_msmpeg2vdec
1241 enable_msnet32
1242 enable_mspatcha
1243 enable_msports
1244 enable_msrle32
1245 enable_msscript_ocx
1246 enable_mssign32
1247 enable_mssip32
1248 enable_mstask
1249 enable_msv1_0
1250 enable_msvcirt
1251 enable_msvcm80
1252 enable_msvcm90
1253 enable_msvcp100
1254 enable_msvcp110
1255 enable_msvcp120
1256 enable_msvcp120_app
1257 enable_msvcp140
1258 enable_msvcp140_1
1259 enable_msvcp140_2
1260 enable_msvcp140_atomic_wait
1261 enable_msvcp60
1262 enable_msvcp70
1263 enable_msvcp71
1264 enable_msvcp80
1265 enable_msvcp90
1266 enable_msvcp_win
1267 enable_msvcr100
1268 enable_msvcr110
1269 enable_msvcr120
1270 enable_msvcr120_app
1271 enable_msvcr70
1272 enable_msvcr71
1273 enable_msvcr80
1274 enable_msvcr90
1275 enable_msvcrt
1276 enable_msvcrt20
1277 enable_msvcrt40
1278 enable_msvcrtd
1279 enable_msvfw32
1280 enable_msvidc32
1281 enable_mswsock
1282 enable_msxml
1283 enable_msxml2
1284 enable_msxml3
1285 enable_msxml4
1286 enable_msxml6
1287 enable_mtxdm
1288 enable_ncrypt
1289 enable_nddeapi
1290 enable_ndis_sys
1291 enable_netapi32
1292 enable_netcfgx
1293 enable_netio_sys
1294 enable_netprofm
1295 enable_netutils
1296 enable_newdev
1297 enable_ninput
1298 enable_normaliz
1299 enable_npmshtml
1300 enable_npptools
1301 enable_nsi
1302 enable_nsiproxy_sys
1303 enable_ntdll
1304 enable_ntdsapi
1305 enable_ntoskrnl_exe
1306 enable_ntprint
1307 enable_objsel
1308 enable_odbc32
1309 enable_odbcbcp
1310 enable_odbccp32
1311 enable_odbccu32
1312 enable_ole32
1313 enable_oleacc
1314 enable_oleaut32
1315 enable_olecli32
1316 enable_oledb32
1317 enable_oledlg
1318 enable_olepro32
1319 enable_olesvr32
1320 enable_olethk32
1321 enable_opcservices
1322 enable_opencl
1323 enable_opengl32
1324 enable_packager
1325 enable_pdh
1326 enable_photometadatahandler
1327 enable_pidgen
1328 enable_powrprof
1329 enable_printui
1330 enable_prntvpt
1331 enable_propsys
1332 enable_psapi
1333 enable_pstorec
1334 enable_pwrshplugin
1335 enable_qasf
1336 enable_qcap
1337 enable_qdvd
1338 enable_qedit
1339 enable_qmgr
1340 enable_qmgrprxy
1341 enable_quartz
1342 enable_query
1343 enable_qwave
1344 enable_rasapi32
1345 enable_rasdlg
1346 enable_regapi
1347 enable_resutils
1348 enable_riched20
1349 enable_riched32
1350 enable_rpcrt4
1351 enable_rsabase
1352 enable_rsaenh
1353 enable_rstrtmgr
1354 enable_rtutils
1355 enable_rtworkq
1356 enable_samlib
1357 enable_sane_ds
1358 enable_sapi
1359 enable_sas
1360 enable_scarddlg
1361 enable_sccbase
1362 enable_schannel
1363 enable_schedsvc
1364 enable_scrobj
1365 enable_scrrun
1366 enable_scsiport_sys
1367 enable_sechost
1368 enable_secur32
1369 enable_security
1370 enable_sensapi
1371 enable_serialui
1372 enable_setupapi
1373 enable_sfc
1374 enable_sfc_os
1375 enable_shcore
1376 enable_shdoclc
1377 enable_shdocvw
1378 enable_shell32
1379 enable_shfolder
1380 enable_shlwapi
1381 enable_slbcsp
1382 enable_slc
1383 enable_snmpapi
1384 enable_softpub
1385 enable_spoolss
1386 enable_sppc
1387 enable_srclient
1388 enable_srvcli
1389 enable_sspicli
1390 enable_stdole2_tlb
1391 enable_stdole32_tlb
1392 enable_sti
1393 enable_strmdll
1394 enable_svrapi
1395 enable_sxs
1396 enable_t2embed
1397 enable_tapi32
1398 enable_taskschd
1399 enable_tbs
1400 enable_tdh
1401 enable_tdi_sys
1402 enable_threadpoolwinrt
1403 enable_traffic
1404 enable_twain_32
1405 enable_tzres
1406 enable_ucrtbase
1407 enable_uianimation
1408 enable_uiautomationcore
1409 enable_uiribbon
1410 enable_unicows
1411 enable_updspapi
1412 enable_url
1413 enable_urlmon
1414 enable_usbd_sys
1415 enable_user32
1416 enable_userenv
1417 enable_usp10
1418 enable_utildll
1419 enable_uxtheme
1420 enable_vbscript
1421 enable_vcomp
1422 enable_vcomp100
1423 enable_vcomp110
1424 enable_vcomp120
1425 enable_vcomp140
1426 enable_vcomp90
1427 enable_vcruntime140
1428 enable_vcruntime140_1
1429 enable_vdmdbg
1430 enable_version
1431 enable_vga
1432 enable_virtdisk
1433 enable_vssapi
1434 enable_vulkan_1
1435 enable_wbemdisp
1436 enable_wbemprox
1437 enable_wdscore
1438 enable_webservices
1439 enable_websocket
1440 enable_wer
1441 enable_wevtapi
1442 enable_wevtsvc
1443 enable_wiaservc
1444 enable_wimgapi
1445 enable_win32u
1446 enable_windows_devices_enumeration
1447 enable_windows_gaming_input
1448 enable_windows_gaming_ui_gamebar
1449 enable_windows_globalization
1450 enable_windows_media_devices
1451 enable_windows_media_speech
1452 enable_windows_media
1453 enable_windows_networking
1454 enable_windows_system_profile_systemmanufacturers
1455 enable_windowscodecs
1456 enable_windowscodecsext
1457 enable_winealsa_drv
1458 enable_wineandroid_drv
1459 enable_winebus_sys
1460 enable_winecoreaudio_drv
1461 enable_winecrt0
1462 enable_wined3d
1463 enable_winegstreamer
1464 enable_winehid_sys
1465 enable_winemac_drv
1466 enable_winemapi
1467 enable_wineoss_drv
1468 enable_wineps_drv
1469 enable_winepulse_drv
1470 enable_wineusb_sys
1471 enable_winevulkan
1472 enable_winex11_drv
1473 enable_winexinput_sys
1474 enable_wing32
1475 enable_winhttp
1476 enable_wininet
1477 enable_winmm
1478 enable_winnls32
1479 enable_winprint
1480 enable_winscard
1481 enable_winspool_drv
1482 enable_winsta
1483 enable_wintab32
1484 enable_wintrust
1485 enable_wintypes
1486 enable_winusb
1487 enable_wlanapi
1488 enable_wlanui
1489 enable_wldap32
1490 enable_wmasf
1491 enable_wmi
1492 enable_wmiutils
1493 enable_wmp
1494 enable_wmphoto
1495 enable_wmvcore
1496 enable_wnaspi32
1497 enable_wofutil
1498 enable_wow64
1499 enable_wow64cpu
1500 enable_wow64win
1501 enable_wpc
1502 enable_wpcap
1503 enable_ws2_32
1504 enable_wsdapi
1505 enable_wshom_ocx
1506 enable_wsnmp32
1507 enable_wsock32
1508 enable_wtsapi32
1509 enable_wuapi
1510 enable_wuaueng
1511 enable_x3daudio1_0
1512 enable_x3daudio1_1
1513 enable_x3daudio1_2
1514 enable_x3daudio1_3
1515 enable_x3daudio1_4
1516 enable_x3daudio1_5
1517 enable_x3daudio1_6
1518 enable_x3daudio1_7
1519 enable_xactengine2_0
1520 enable_xactengine2_4
1521 enable_xactengine2_7
1522 enable_xactengine2_9
1523 enable_xactengine3_0
1524 enable_xactengine3_1
1525 enable_xactengine3_2
1526 enable_xactengine3_3
1527 enable_xactengine3_4
1528 enable_xactengine3_5
1529 enable_xactengine3_6
1530 enable_xactengine3_7
1531 enable_xapofx1_1
1532 enable_xapofx1_2
1533 enable_xapofx1_3
1534 enable_xapofx1_4
1535 enable_xapofx1_5
1536 enable_xaudio2_0
1537 enable_xaudio2_1
1538 enable_xaudio2_2
1539 enable_xaudio2_3
1540 enable_xaudio2_4
1541 enable_xaudio2_5
1542 enable_xaudio2_6
1543 enable_xaudio2_7
1544 enable_xaudio2_8
1545 enable_xaudio2_9
1546 enable_xinput1_1
1547 enable_xinput1_2
1548 enable_xinput1_3
1549 enable_xinput1_4
1550 enable_xinput9_1_0
1551 enable_xinputuap
1552 enable_xmllite
1553 enable_xolehlp
1554 enable_xpsprint
1555 enable_xpssvcs
1556 enable_fonts
1557 enable_include
1558 enable_adsiid
1559 enable_dmoguids
1560 enable_dxerr8
1561 enable_dxerr9
1562 enable_dxguid
1563 enable_faudio
1564 enable_gsm
1565 enable_jpeg
1566 enable_jxr
1567 enable_lcms2
1568 enable_ldap
1569 enable_mfuuid
1570 enable_mpg123
1571 enable_png
1572 enable_strmbase
1573 enable_strmiids
1574 enable_tiff
1575 enable_uuid
1576 enable_vkd3d
1577 enable_wbemuuid
1578 enable_wine
1579 enable_wmcodecdspuuid
1580 enable_xml2
1581 enable_xslt
1582 enable_zlib
1583 enable_loader
1584 enable_nls
1585 enable_po
1586 enable_arp
1587 enable_aspnet_regiis
1588 enable_attrib
1589 enable_cabarc
1590 enable_cacls
1591 enable_certutil
1592 enable_chcp_com
1593 enable_clock
1594 enable_cmd
1595 enable_conhost
1596 enable_control
1597 enable_cscript
1598 enable_dism
1599 enable_dllhost
1600 enable_dplaysvr
1601 enable_dpnsvr
1602 enable_dpvsetup
1603 enable_dxdiag
1604 enable_eject
1605 enable_expand
1606 enable_explorer
1607 enable_extrac32
1608 enable_fc
1609 enable_find
1610 enable_findstr
1611 enable_fsutil
1612 enable_hh
1613 enable_hostname
1614 enable_icacls
1615 enable_icinfo
1616 enable_iexplore
1617 enable_ipconfig
1618 enable_lodctr
1619 enable_mofcomp
1620 enable_mshta
1621 enable_msidb
1622 enable_msiexec
1623 enable_msinfo32
1624 enable_net
1625 enable_netsh
1626 enable_netstat
1627 enable_ngen
1628 enable_notepad
1629 enable_oleview
1630 enable_ping
1631 enable_plugplay
1632 enable_powershell
1633 enable_presentationfontcache
1634 enable_progman
1635 enable_reg
1636 enable_regasm
1637 enable_regedit
1638 enable_regini
1639 enable_regsvcs
1640 enable_regsvr32
1641 enable_robocopy
1642 enable_rpcss
1643 enable_rundll32
1644 enable_sc
1645 enable_schtasks
1646 enable_sdbinst
1647 enable_secedit
1648 enable_servicemodelreg
1649 enable_services
1650 enable_setx
1651 enable_shutdown
1652 enable_spoolsv
1653 enable_start
1654 enable_subst
1655 enable_svchost
1656 enable_systeminfo
1657 enable_taskkill
1658 enable_tasklist
1659 enable_taskmgr
1660 enable_termsv
1661 enable_uninstaller
1662 enable_unlodctr
1663 enable_view
1664 enable_wevtutil
1665 enable_where
1666 enable_whoami
1667 enable_wineboot
1668 enable_winebrowser
1669 enable_winecfg
1670 enable_wineconsole
1671 enable_winedbg
1672 enable_winedevice
1673 enable_winefile
1674 enable_winemenubuilder
1675 enable_winemine
1676 enable_winemsibuilder
1677 enable_winepath
1678 enable_winetest
1679 enable_winhlp32
1680 enable_winmgmt
1681 enable_winver
1682 enable_wmic
1683 enable_wmplayer
1684 enable_wordpad
1685 enable_write
1686 enable_wscript
1687 enable_wuauserv
1688 enable_wusa
1689 enable_xcopy
1690 enable_server
1691 enable_tools
1692 enable_sfnt2fon
1693 enable_widl
1694 enable_winebuild
1695 enable_winedump
1696 enable_winegcc
1697 enable_winemaker
1698 enable_wmc
1699 enable_wrc
1701 ac_precious_vars='build_alias
1702 host_alias
1703 target_alias
1705 CFLAGS
1706 LDFLAGS
1707 LIBS
1708 CPPFLAGS
1710 CXXFLAGS
1712 OBJC
1713 OBJCFLAGS
1714 FAUDIO_PE_CFLAGS
1715 FAUDIO_PE_LIBS
1716 GSM_PE_CFLAGS
1717 GSM_PE_LIBS
1718 JPEG_PE_CFLAGS
1719 JPEG_PE_LIBS
1720 JXR_PE_CFLAGS
1721 JXR_PE_LIBS
1722 LCMS2_PE_CFLAGS
1723 LCMS2_PE_LIBS
1724 LDAP_PE_CFLAGS
1725 LDAP_PE_LIBS
1726 MPG123_PE_CFLAGS
1727 MPG123_PE_LIBS
1728 PNG_PE_CFLAGS
1729 PNG_PE_LIBS
1730 TIFF_PE_CFLAGS
1731 TIFF_PE_LIBS
1732 VKD3D_PE_CFLAGS
1733 VKD3D_PE_LIBS
1734 XML2_PE_CFLAGS
1735 XML2_PE_LIBS
1736 XSLT_PE_CFLAGS
1737 XSLT_PE_LIBS
1738 ZLIB_PE_CFLAGS
1739 ZLIB_PE_LIBS
1740 XMKMF
1742 INOTIFY_CFLAGS
1743 INOTIFY_LIBS
1744 DBUS_CFLAGS
1745 DBUS_LIBS
1746 GNUTLS_CFLAGS
1747 GNUTLS_LIBS
1748 SANE_CFLAGS
1749 SANE_LIBS
1750 USB_CFLAGS
1751 USB_LIBS
1752 GPHOTO2_CFLAGS
1753 GPHOTO2_LIBS
1754 GPHOTO2_PORT_CFLAGS
1755 GPHOTO2_PORT_LIBS
1756 FREETYPE_CFLAGS
1757 FREETYPE_LIBS
1758 PULSE_CFLAGS
1759 PULSE_LIBS
1760 GSTREAMER_CFLAGS
1761 GSTREAMER_LIBS
1762 UDEV_CFLAGS
1763 UDEV_LIBS
1764 UNWIND_CFLAGS
1765 UNWIND_LIBS
1766 SDL2_CFLAGS
1767 SDL2_LIBS
1768 CAPI20_CFLAGS
1769 CAPI20_LIBS
1770 CUPS_CFLAGS
1771 CUPS_LIBS
1772 FONTCONFIG_CFLAGS
1773 FONTCONFIG_LIBS
1774 KRB5_CFLAGS
1775 KRB5_LIBS
1776 GSSAPI_CFLAGS
1777 GSSAPI_LIBS
1778 NETAPI_CFLAGS
1779 NETAPI_LIBS'
1782 # Initialize some variables set by options.
1783 ac_init_help=
1784 ac_init_version=false
1785 ac_unrecognized_opts=
1786 ac_unrecognized_sep=
1787 # The variables have the same names as the options, with
1788 # dashes changed to underlines.
1789 cache_file=/dev/null
1790 exec_prefix=NONE
1791 no_create=
1792 no_recursion=
1793 prefix=NONE
1794 program_prefix=NONE
1795 program_suffix=NONE
1796 program_transform_name=s,x,x,
1797 silent=
1798 site=
1799 srcdir=
1800 verbose=
1801 x_includes=NONE
1802 x_libraries=NONE
1804 # Installation directory options.
1805 # These are left unexpanded so users can "make install exec_prefix=/foo"
1806 # and all the variables that are supposed to be based on exec_prefix
1807 # by default will actually change.
1808 # Use braces instead of parens because sh, perl, etc. also accept them.
1809 # (The list follows the same order as the GNU Coding Standards.)
1810 bindir='${exec_prefix}/bin'
1811 sbindir='${exec_prefix}/sbin'
1812 libexecdir='${exec_prefix}/libexec'
1813 datarootdir='${prefix}/share'
1814 datadir='${datarootdir}'
1815 sysconfdir='${prefix}/etc'
1816 sharedstatedir='${prefix}/com'
1817 localstatedir='${prefix}/var'
1818 runstatedir='${localstatedir}/run'
1819 includedir='${prefix}/include'
1820 oldincludedir='/usr/include'
1821 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1822 infodir='${datarootdir}/info'
1823 htmldir='${docdir}'
1824 dvidir='${docdir}'
1825 pdfdir='${docdir}'
1826 psdir='${docdir}'
1827 libdir='${exec_prefix}/lib'
1828 localedir='${datarootdir}/locale'
1829 mandir='${datarootdir}/man'
1831 ac_prev=
1832 ac_dashdash=
1833 for ac_option
1835 # If the previous option needs an argument, assign it.
1836 if test -n "$ac_prev"; then
1837 eval $ac_prev=\$ac_option
1838 ac_prev=
1839 continue
1842 case $ac_option in
1843 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1844 *=) ac_optarg= ;;
1845 *) ac_optarg=yes ;;
1846 esac
1848 case $ac_dashdash$ac_option in
1850 ac_dashdash=yes ;;
1852 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1853 ac_prev=bindir ;;
1854 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1855 bindir=$ac_optarg ;;
1857 -build | --build | --buil | --bui | --bu)
1858 ac_prev=build_alias ;;
1859 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1860 build_alias=$ac_optarg ;;
1862 -cache-file | --cache-file | --cache-fil | --cache-fi \
1863 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1864 ac_prev=cache_file ;;
1865 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1866 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1867 cache_file=$ac_optarg ;;
1869 --config-cache | -C)
1870 cache_file=config.cache ;;
1872 -datadir | --datadir | --datadi | --datad)
1873 ac_prev=datadir ;;
1874 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1875 datadir=$ac_optarg ;;
1877 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1878 | --dataroo | --dataro | --datar)
1879 ac_prev=datarootdir ;;
1880 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1881 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1882 datarootdir=$ac_optarg ;;
1884 -disable-* | --disable-*)
1885 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1886 # Reject names that are not valid shell variable names.
1887 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1888 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1889 ac_useropt_orig=$ac_useropt
1890 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1891 case $ac_user_opts in
1893 "enable_$ac_useropt"
1894 "*) ;;
1895 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1896 ac_unrecognized_sep=', ';;
1897 esac
1898 eval enable_$ac_useropt=no ;;
1900 -docdir | --docdir | --docdi | --doc | --do)
1901 ac_prev=docdir ;;
1902 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1903 docdir=$ac_optarg ;;
1905 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1906 ac_prev=dvidir ;;
1907 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1908 dvidir=$ac_optarg ;;
1910 -enable-* | --enable-*)
1911 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1912 # Reject names that are not valid shell variable names.
1913 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1914 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1915 ac_useropt_orig=$ac_useropt
1916 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1917 case $ac_user_opts in
1919 "enable_$ac_useropt"
1920 "*) ;;
1921 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1922 ac_unrecognized_sep=', ';;
1923 esac
1924 eval enable_$ac_useropt=\$ac_optarg ;;
1926 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1927 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1928 | --exec | --exe | --ex)
1929 ac_prev=exec_prefix ;;
1930 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1931 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1932 | --exec=* | --exe=* | --ex=*)
1933 exec_prefix=$ac_optarg ;;
1935 -gas | --gas | --ga | --g)
1936 # Obsolete; use --with-gas.
1937 with_gas=yes ;;
1939 -help | --help | --hel | --he | -h)
1940 ac_init_help=long ;;
1941 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1942 ac_init_help=recursive ;;
1943 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1944 ac_init_help=short ;;
1946 -host | --host | --hos | --ho)
1947 ac_prev=host_alias ;;
1948 -host=* | --host=* | --hos=* | --ho=*)
1949 host_alias=$ac_optarg ;;
1951 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1952 ac_prev=htmldir ;;
1953 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1954 | --ht=*)
1955 htmldir=$ac_optarg ;;
1957 -includedir | --includedir | --includedi | --included | --include \
1958 | --includ | --inclu | --incl | --inc)
1959 ac_prev=includedir ;;
1960 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1961 | --includ=* | --inclu=* | --incl=* | --inc=*)
1962 includedir=$ac_optarg ;;
1964 -infodir | --infodir | --infodi | --infod | --info | --inf)
1965 ac_prev=infodir ;;
1966 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1967 infodir=$ac_optarg ;;
1969 -libdir | --libdir | --libdi | --libd)
1970 ac_prev=libdir ;;
1971 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1972 libdir=$ac_optarg ;;
1974 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1975 | --libexe | --libex | --libe)
1976 ac_prev=libexecdir ;;
1977 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1978 | --libexe=* | --libex=* | --libe=*)
1979 libexecdir=$ac_optarg ;;
1981 -localedir | --localedir | --localedi | --localed | --locale)
1982 ac_prev=localedir ;;
1983 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1984 localedir=$ac_optarg ;;
1986 -localstatedir | --localstatedir | --localstatedi | --localstated \
1987 | --localstate | --localstat | --localsta | --localst | --locals)
1988 ac_prev=localstatedir ;;
1989 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1990 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1991 localstatedir=$ac_optarg ;;
1993 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1994 ac_prev=mandir ;;
1995 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1996 mandir=$ac_optarg ;;
1998 -nfp | --nfp | --nf)
1999 # Obsolete; use --without-fp.
2000 with_fp=no ;;
2002 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2003 | --no-cr | --no-c | -n)
2004 no_create=yes ;;
2006 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2007 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2008 no_recursion=yes ;;
2010 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2011 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2012 | --oldin | --oldi | --old | --ol | --o)
2013 ac_prev=oldincludedir ;;
2014 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2015 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2016 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2017 oldincludedir=$ac_optarg ;;
2019 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2020 ac_prev=prefix ;;
2021 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2022 prefix=$ac_optarg ;;
2024 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2025 | --program-pre | --program-pr | --program-p)
2026 ac_prev=program_prefix ;;
2027 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2028 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2029 program_prefix=$ac_optarg ;;
2031 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2032 | --program-suf | --program-su | --program-s)
2033 ac_prev=program_suffix ;;
2034 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2035 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2036 program_suffix=$ac_optarg ;;
2038 -program-transform-name | --program-transform-name \
2039 | --program-transform-nam | --program-transform-na \
2040 | --program-transform-n | --program-transform- \
2041 | --program-transform | --program-transfor \
2042 | --program-transfo | --program-transf \
2043 | --program-trans | --program-tran \
2044 | --progr-tra | --program-tr | --program-t)
2045 ac_prev=program_transform_name ;;
2046 -program-transform-name=* | --program-transform-name=* \
2047 | --program-transform-nam=* | --program-transform-na=* \
2048 | --program-transform-n=* | --program-transform-=* \
2049 | --program-transform=* | --program-transfor=* \
2050 | --program-transfo=* | --program-transf=* \
2051 | --program-trans=* | --program-tran=* \
2052 | --progr-tra=* | --program-tr=* | --program-t=*)
2053 program_transform_name=$ac_optarg ;;
2055 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2056 ac_prev=pdfdir ;;
2057 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2058 pdfdir=$ac_optarg ;;
2060 -psdir | --psdir | --psdi | --psd | --ps)
2061 ac_prev=psdir ;;
2062 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2063 psdir=$ac_optarg ;;
2065 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2066 | -silent | --silent | --silen | --sile | --sil)
2067 silent=yes ;;
2069 -runstatedir | --runstatedir | --runstatedi | --runstated \
2070 | --runstate | --runstat | --runsta | --runst | --runs \
2071 | --run | --ru | --r)
2072 ac_prev=runstatedir ;;
2073 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2074 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2075 | --run=* | --ru=* | --r=*)
2076 runstatedir=$ac_optarg ;;
2078 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2079 ac_prev=sbindir ;;
2080 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2081 | --sbi=* | --sb=*)
2082 sbindir=$ac_optarg ;;
2084 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2085 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2086 | --sharedst | --shareds | --shared | --share | --shar \
2087 | --sha | --sh)
2088 ac_prev=sharedstatedir ;;
2089 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2090 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2091 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2092 | --sha=* | --sh=*)
2093 sharedstatedir=$ac_optarg ;;
2095 -site | --site | --sit)
2096 ac_prev=site ;;
2097 -site=* | --site=* | --sit=*)
2098 site=$ac_optarg ;;
2100 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2101 ac_prev=srcdir ;;
2102 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2103 srcdir=$ac_optarg ;;
2105 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2106 | --syscon | --sysco | --sysc | --sys | --sy)
2107 ac_prev=sysconfdir ;;
2108 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2109 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2110 sysconfdir=$ac_optarg ;;
2112 -target | --target | --targe | --targ | --tar | --ta | --t)
2113 ac_prev=target_alias ;;
2114 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2115 target_alias=$ac_optarg ;;
2117 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2118 verbose=yes ;;
2120 -version | --version | --versio | --versi | --vers | -V)
2121 ac_init_version=: ;;
2123 -with-* | --with-*)
2124 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2125 # Reject names that are not valid shell variable names.
2126 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2127 as_fn_error $? "invalid package name: \`$ac_useropt'"
2128 ac_useropt_orig=$ac_useropt
2129 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2130 case $ac_user_opts in
2132 "with_$ac_useropt"
2133 "*) ;;
2134 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2135 ac_unrecognized_sep=', ';;
2136 esac
2137 eval with_$ac_useropt=\$ac_optarg ;;
2139 -without-* | --without-*)
2140 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2141 # Reject names that are not valid shell variable names.
2142 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2143 as_fn_error $? "invalid package name: \`$ac_useropt'"
2144 ac_useropt_orig=$ac_useropt
2145 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2146 case $ac_user_opts in
2148 "with_$ac_useropt"
2149 "*) ;;
2150 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2151 ac_unrecognized_sep=', ';;
2152 esac
2153 eval with_$ac_useropt=no ;;
2155 --x)
2156 # Obsolete; use --with-x.
2157 with_x=yes ;;
2159 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2160 | --x-incl | --x-inc | --x-in | --x-i)
2161 ac_prev=x_includes ;;
2162 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2163 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2164 x_includes=$ac_optarg ;;
2166 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2167 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2168 ac_prev=x_libraries ;;
2169 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2170 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2171 x_libraries=$ac_optarg ;;
2173 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2174 Try \`$0 --help' for more information"
2177 *=*)
2178 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2179 # Reject names that are not valid shell variable names.
2180 case $ac_envvar in #(
2181 '' | [0-9]* | *[!_$as_cr_alnum]* )
2182 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2183 esac
2184 eval $ac_envvar=\$ac_optarg
2185 export $ac_envvar ;;
2188 # FIXME: should be removed in autoconf 3.0.
2189 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2190 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2191 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2192 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2195 esac
2196 done
2198 if test -n "$ac_prev"; then
2199 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2200 as_fn_error $? "missing argument to $ac_option"
2203 if test -n "$ac_unrecognized_opts"; then
2204 case $enable_option_checking in
2205 no) ;;
2206 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2207 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2208 esac
2211 # Check all directory arguments for consistency.
2212 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2213 datadir sysconfdir sharedstatedir localstatedir includedir \
2214 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2215 libdir localedir mandir runstatedir
2217 eval ac_val=\$$ac_var
2218 # Remove trailing slashes.
2219 case $ac_val in
2220 */ )
2221 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2222 eval $ac_var=\$ac_val;;
2223 esac
2224 # Be sure to have absolute directory names.
2225 case $ac_val in
2226 [\\/$]* | ?:[\\/]* ) continue;;
2227 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2228 esac
2229 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2230 done
2232 # There might be people who depend on the old broken behavior: `$host'
2233 # used to hold the argument of --host etc.
2234 # FIXME: To remove some day.
2235 build=$build_alias
2236 host=$host_alias
2237 target=$target_alias
2239 # FIXME: To remove some day.
2240 if test "x$host_alias" != x; then
2241 if test "x$build_alias" = x; then
2242 cross_compiling=maybe
2243 elif test "x$build_alias" != "x$host_alias"; then
2244 cross_compiling=yes
2248 ac_tool_prefix=
2249 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2251 test "$silent" = yes && exec 6>/dev/null
2254 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2255 ac_ls_di=`ls -di .` &&
2256 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2257 as_fn_error $? "working directory cannot be determined"
2258 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2259 as_fn_error $? "pwd does not report name of working directory"
2262 # Find the source files, if location was not specified.
2263 if test -z "$srcdir"; then
2264 ac_srcdir_defaulted=yes
2265 # Try the directory containing this script, then the parent directory.
2266 ac_confdir=`$as_dirname -- "$as_myself" ||
2267 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2268 X"$as_myself" : 'X\(//\)[^/]' \| \
2269 X"$as_myself" : 'X\(//\)$' \| \
2270 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2271 printf "%s\n" X"$as_myself" |
2272 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2273 s//\1/
2276 /^X\(\/\/\)[^/].*/{
2277 s//\1/
2280 /^X\(\/\/\)$/{
2281 s//\1/
2284 /^X\(\/\).*/{
2285 s//\1/
2288 s/.*/./; q'`
2289 srcdir=$ac_confdir
2290 if test ! -r "$srcdir/$ac_unique_file"; then
2291 srcdir=..
2293 else
2294 ac_srcdir_defaulted=no
2296 if test ! -r "$srcdir/$ac_unique_file"; then
2297 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2298 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2300 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2301 ac_abs_confdir=`(
2302 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2303 pwd)`
2304 # When building in place, set srcdir=.
2305 if test "$ac_abs_confdir" = "$ac_pwd"; then
2306 srcdir=.
2308 # Remove unnecessary trailing slashes from srcdir.
2309 # Double slashes in file names in object file debugging info
2310 # mess up M-x gdb in Emacs.
2311 case $srcdir in
2312 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2313 esac
2314 for ac_var in $ac_precious_vars; do
2315 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2316 eval ac_env_${ac_var}_value=\$${ac_var}
2317 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2318 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2319 done
2322 # Report the --help message.
2324 if test "$ac_init_help" = "long"; then
2325 # Omit some internal or obsolete options to make the list less imposing.
2326 # This message is too long to be a string in the A/UX 3.1 sh.
2327 cat <<_ACEOF
2328 \`configure' configures Wine 8.1 to adapt to many kinds of systems.
2330 Usage: $0 [OPTION]... [VAR=VALUE]...
2332 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2333 VAR=VALUE. See below for descriptions of some of the useful variables.
2335 Defaults for the options are specified in brackets.
2337 Configuration:
2338 -h, --help display this help and exit
2339 --help=short display options specific to this package
2340 --help=recursive display the short help of all the included packages
2341 -V, --version display version information and exit
2342 -q, --quiet, --silent do not print \`checking ...' messages
2343 --cache-file=FILE cache test results in FILE [disabled]
2344 -C, --config-cache alias for \`--cache-file=config.cache'
2345 -n, --no-create do not create output files
2346 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2348 Installation directories:
2349 --prefix=PREFIX install architecture-independent files in PREFIX
2350 [$ac_default_prefix]
2351 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2352 [PREFIX]
2354 By default, \`make install' will install all the files in
2355 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2356 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2357 for instance \`--prefix=\$HOME'.
2359 For better control, use the options below.
2361 Fine tuning of the installation directories:
2362 --bindir=DIR user executables [EPREFIX/bin]
2363 --sbindir=DIR system admin executables [EPREFIX/sbin]
2364 --libexecdir=DIR program executables [EPREFIX/libexec]
2365 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2366 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2367 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2368 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2369 --libdir=DIR object code libraries [EPREFIX/lib]
2370 --includedir=DIR C header files [PREFIX/include]
2371 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2372 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2373 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2374 --infodir=DIR info documentation [DATAROOTDIR/info]
2375 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2376 --mandir=DIR man documentation [DATAROOTDIR/man]
2377 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2378 --htmldir=DIR html documentation [DOCDIR]
2379 --dvidir=DIR dvi documentation [DOCDIR]
2380 --pdfdir=DIR pdf documentation [DOCDIR]
2381 --psdir=DIR ps documentation [DOCDIR]
2382 _ACEOF
2384 cat <<\_ACEOF
2386 X features:
2387 --x-includes=DIR X include files are in DIR
2388 --x-libraries=DIR X library files are in DIR
2390 System types:
2391 --build=BUILD configure for building on BUILD [guessed]
2392 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2393 _ACEOF
2396 if test -n "$ac_init_help"; then
2397 case $ac_init_help in
2398 short | recursive ) echo "Configuration of Wine 8.1:";;
2399 esac
2400 cat <<\_ACEOF
2402 Optional Features:
2403 --disable-option-checking ignore unrecognized --enable/--with options
2404 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2405 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2406 --enable-archs={i386,x86_64,arm,aarch64}
2407 enable multiple architectures for PE compilation
2408 --disable-win16 do not include Win16 support
2409 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2410 binaries)
2411 --disable-tests do not build the regression tests
2412 --enable-build-id include .buildid section in output objects
2413 --enable-maintainer-mode
2414 enable maintainer-specific build rules
2415 --enable-silent-rules use silent build rules (override: "make V=1")
2416 --enable-werror treat compilation warnings as errors
2417 --disable-largefile omit support for large files
2419 Optional Packages:
2420 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2421 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2422 --without-alsa do not use the Alsa sound support
2423 --without-capi do not use CAPI (ISDN support)
2424 --without-coreaudio do not use the CoreAudio sound support
2425 --without-cups do not use CUPS
2426 --without-dbus do not use DBus (dynamic device support)
2427 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2428 --without-fontconfig do not use fontconfig
2429 --without-freetype do not use the FreeType library
2430 --without-gettext do not use gettext
2431 --with-gettextpo use the GetTextPO library to rebuild po files
2432 --without-gphoto do not use gphoto (Digital Camera support)
2433 --without-gnutls do not use GnuTLS (schannel support)
2434 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2435 --without-gstreamer do not use GStreamer (codecs support)
2436 --without-inotify do not use inotify (filesystem change notifications)
2437 --without-krb5 do not use krb5 (Kerberos)
2438 --without-mingw do not use the MinGW cross-compiler
2439 --without-netapi do not use the Samba NetAPI library
2440 --without-opencl do not use OpenCL
2441 --without-opengl do not use OpenGL
2442 --without-osmesa do not use the OSMesa library
2443 --without-oss do not use the OSS sound support
2444 --without-pcap do not use the Packet Capture library
2445 --without-pthread do not use the pthread library
2446 --without-pulse do not use PulseAudio sound support
2447 --without-sane do not use SANE (scanner support)
2448 --without-sdl do not use SDL
2449 --without-udev do not use udev (plug and play support)
2450 --without-unwind do not use the libunwind library (exception
2451 handling)
2452 --without-usb do not use the libusb library
2453 --without-v4l2 do not use v4l2 (video capture)
2454 --without-vulkan do not use Vulkan
2455 --without-xcomposite do not use the Xcomposite extension
2456 --without-xcursor do not use the Xcursor extension
2457 --without-xfixes do not use Xfixes for clipboard change notifications
2458 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2459 --without-xinput do not use the Xinput extension
2460 --without-xinput2 do not use the Xinput 2 extension
2461 --without-xrandr do not use Xrandr (multi-monitor support)
2462 --without-xrender do not use the Xrender extension
2463 --without-xshape do not use the Xshape extension
2464 --without-xshm do not use XShm (shared memory extension)
2465 --without-xxf86vm do not use XFree video mode extension
2466 --with-system-dllpath=PATH
2467 load external PE dependencies from colon-separated
2468 path PATH
2469 --with-wine-tools=DIR use Wine tools from directory DIR
2470 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2471 --with-x use the X Window System
2473 Some influential environment variables:
2474 CC C compiler command
2475 CFLAGS C compiler flags
2476 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2477 nonstandard directory <lib dir>
2478 LIBS libraries to pass to the linker, e.g. -l<library>
2479 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2480 you have headers in a nonstandard directory <include dir>
2481 CXX C++ compiler command
2482 CXXFLAGS C++ compiler flags
2483 OBJC Objective C compiler command
2484 OBJCFLAGS Objective C compiler flags
2485 FAUDIO_PE_CFLAGS
2486 C compiler flags for the PE faudio, overriding the bundled
2487 version
2488 FAUDIO_PE_LIBS
2489 Linker flags for the PE faudio, overriding the bundled version
2490 GSM_PE_CFLAGS
2491 C compiler flags for the PE gsm, overriding the bundled version
2492 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2493 JPEG_PE_CFLAGS
2494 C compiler flags for the PE jpeg, overriding the bundled version
2495 JPEG_PE_LIBS
2496 Linker flags for the PE jpeg, overriding the bundled version
2497 JXR_PE_CFLAGS
2498 C compiler flags for the PE jxr, overriding the bundled version
2499 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2500 LCMS2_PE_CFLAGS
2501 C compiler flags for the PE lcms2, overriding the bundled
2502 version
2503 LCMS2_PE_LIBS
2504 Linker flags for the PE lcms2, overriding the bundled version
2505 LDAP_PE_CFLAGS
2506 C compiler flags for the PE ldap, overriding the bundled version
2507 LDAP_PE_LIBS
2508 Linker flags for the PE ldap, overriding the bundled version
2509 MPG123_PE_CFLAGS
2510 C compiler flags for the PE mpg123, overriding the bundled
2511 version
2512 MPG123_PE_LIBS
2513 Linker flags for the PE mpg123, overriding the bundled version
2514 PNG_PE_CFLAGS
2515 C compiler flags for the PE png, overriding the bundled version
2516 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2517 TIFF_PE_CFLAGS
2518 C compiler flags for the PE tiff, overriding the bundled version
2519 TIFF_PE_LIBS
2520 Linker flags for the PE tiff, overriding the bundled version
2521 VKD3D_PE_CFLAGS
2522 C compiler flags for the PE vkd3d, overriding the bundled
2523 version
2524 VKD3D_PE_LIBS
2525 Linker flags for the PE vkd3d, overriding the bundled version
2526 XML2_PE_CFLAGS
2527 C compiler flags for the PE xml2, overriding the bundled version
2528 XML2_PE_LIBS
2529 Linker flags for the PE xml2, overriding the bundled version
2530 XSLT_PE_CFLAGS
2531 C compiler flags for the PE xslt, overriding the bundled version
2532 XSLT_PE_LIBS
2533 Linker flags for the PE xslt, overriding the bundled version
2534 ZLIB_PE_CFLAGS
2535 C compiler flags for the PE zlib, overriding the bundled version
2536 ZLIB_PE_LIBS
2537 Linker flags for the PE zlib, overriding the bundled version
2538 XMKMF Path to xmkmf, Makefile generator for X Window System
2539 CPP C preprocessor
2540 INOTIFY_CFLAGS
2541 C compiler flags for libinotify, overriding pkg-config
2542 INOTIFY_LIBS
2543 Linker flags for libinotify, overriding pkg-config
2544 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2545 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2546 GNUTLS_CFLAGS
2547 C compiler flags for gnutls, overriding pkg-config
2548 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2549 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2550 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2551 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2552 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2553 GPHOTO2_CFLAGS
2554 C compiler flags for libgphoto2, overriding pkg-config
2555 GPHOTO2_LIBS
2556 Linker flags for libgphoto2, overriding pkg-config
2557 GPHOTO2_PORT_CFLAGS
2558 C compiler flags for libgphoto2_port, overriding pkg-config
2559 GPHOTO2_PORT_LIBS
2560 Linker flags for libgphoto2_port, overriding pkg-config
2561 FREETYPE_CFLAGS
2562 C compiler flags for freetype2, overriding pkg-config
2563 FREETYPE_LIBS
2564 Linker flags for freetype2, overriding pkg-config
2565 PULSE_CFLAGS
2566 C compiler flags for libpulse, overriding pkg-config
2567 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2568 GSTREAMER_CFLAGS
2569 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2570 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2571 GSTREAMER_LIBS
2572 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2573 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2574 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2575 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2576 UNWIND_CFLAGS
2577 C compiler flags for libunwind, overriding pkg-config
2578 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2579 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2580 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2581 CAPI20_CFLAGS
2582 C compiler flags for capi20, overriding pkg-config
2583 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2584 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2585 CUPS_LIBS Linker flags for cups, overriding pkg-config
2586 FONTCONFIG_CFLAGS
2587 C compiler flags for fontconfig, overriding pkg-config
2588 FONTCONFIG_LIBS
2589 Linker flags for fontconfig, overriding pkg-config
2590 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2591 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2592 GSSAPI_CFLAGS
2593 C compiler flags for krb5-gssapi, overriding pkg-config
2594 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2595 NETAPI_CFLAGS
2596 C compiler flags for netapi, overriding pkg-config
2597 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2599 Use these variables to override the choices made by `configure' or to help
2600 it to find libraries and programs with nonstandard names/locations.
2602 Report bugs to <wine-devel@winehq.org>.
2603 Wine home page: <https://www.winehq.org>.
2604 _ACEOF
2605 ac_status=$?
2608 if test "$ac_init_help" = "recursive"; then
2609 # If there are subdirs, report their specific --help.
2610 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2611 test -d "$ac_dir" ||
2612 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2613 continue
2614 ac_builddir=.
2616 case "$ac_dir" in
2617 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2619 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2620 # A ".." for each directory in $ac_dir_suffix.
2621 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2622 case $ac_top_builddir_sub in
2623 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2624 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2625 esac ;;
2626 esac
2627 ac_abs_top_builddir=$ac_pwd
2628 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2629 # for backward compatibility:
2630 ac_top_builddir=$ac_top_build_prefix
2632 case $srcdir in
2633 .) # We are building in place.
2634 ac_srcdir=.
2635 ac_top_srcdir=$ac_top_builddir_sub
2636 ac_abs_top_srcdir=$ac_pwd ;;
2637 [\\/]* | ?:[\\/]* ) # Absolute name.
2638 ac_srcdir=$srcdir$ac_dir_suffix;
2639 ac_top_srcdir=$srcdir
2640 ac_abs_top_srcdir=$srcdir ;;
2641 *) # Relative name.
2642 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2643 ac_top_srcdir=$ac_top_build_prefix$srcdir
2644 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2645 esac
2646 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2648 cd "$ac_dir" || { ac_status=$?; continue; }
2649 # Check for configure.gnu first; this name is used for a wrapper for
2650 # Metaconfig's "Configure" on case-insensitive file systems.
2651 if test -f "$ac_srcdir/configure.gnu"; then
2652 echo &&
2653 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2654 elif test -f "$ac_srcdir/configure"; then
2655 echo &&
2656 $SHELL "$ac_srcdir/configure" --help=recursive
2657 else
2658 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2659 fi || ac_status=$?
2660 cd "$ac_pwd" || { ac_status=$?; break; }
2661 done
2664 test -n "$ac_init_help" && exit $ac_status
2665 if $ac_init_version; then
2666 cat <<\_ACEOF
2667 Wine configure 8.1
2668 generated by GNU Autoconf 2.71
2670 Copyright (C) 2021 Free Software Foundation, Inc.
2671 This configure script is free software; the Free Software Foundation
2672 gives unlimited permission to copy, distribute and modify it.
2673 _ACEOF
2674 exit
2677 ## ------------------------ ##
2678 ## Autoconf initialization. ##
2679 ## ------------------------ ##
2681 # ac_fn_c_try_compile LINENO
2682 # --------------------------
2683 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2684 ac_fn_c_try_compile ()
2686 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2687 rm -f conftest.$ac_objext conftest.beam
2688 if { { ac_try="$ac_compile"
2689 case "(($ac_try" in
2690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2691 *) ac_try_echo=$ac_try;;
2692 esac
2693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2694 printf "%s\n" "$ac_try_echo"; } >&5
2695 (eval "$ac_compile") 2>conftest.err
2696 ac_status=$?
2697 if test -s conftest.err; then
2698 grep -v '^ *+' conftest.err >conftest.er1
2699 cat conftest.er1 >&5
2700 mv -f conftest.er1 conftest.err
2702 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2703 test $ac_status = 0; } && {
2704 test -z "$ac_c_werror_flag" ||
2705 test ! -s conftest.err
2706 } && test -s conftest.$ac_objext
2707 then :
2708 ac_retval=0
2709 else $as_nop
2710 printf "%s\n" "$as_me: failed program was:" >&5
2711 sed 's/^/| /' conftest.$ac_ext >&5
2713 ac_retval=1
2715 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2716 as_fn_set_status $ac_retval
2718 } # ac_fn_c_try_compile
2720 # ac_fn_cxx_try_compile LINENO
2721 # ----------------------------
2722 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2723 ac_fn_cxx_try_compile ()
2725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2726 rm -f conftest.$ac_objext conftest.beam
2727 if { { ac_try="$ac_compile"
2728 case "(($ac_try" in
2729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2730 *) ac_try_echo=$ac_try;;
2731 esac
2732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2733 printf "%s\n" "$ac_try_echo"; } >&5
2734 (eval "$ac_compile") 2>conftest.err
2735 ac_status=$?
2736 if test -s conftest.err; then
2737 grep -v '^ *+' conftest.err >conftest.er1
2738 cat conftest.er1 >&5
2739 mv -f conftest.er1 conftest.err
2741 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2742 test $ac_status = 0; } && {
2743 test -z "$ac_cxx_werror_flag" ||
2744 test ! -s conftest.err
2745 } && test -s conftest.$ac_objext
2746 then :
2747 ac_retval=0
2748 else $as_nop
2749 printf "%s\n" "$as_me: failed program was:" >&5
2750 sed 's/^/| /' conftest.$ac_ext >&5
2752 ac_retval=1
2754 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2755 as_fn_set_status $ac_retval
2757 } # ac_fn_cxx_try_compile
2759 # ac_fn_c_try_link LINENO
2760 # -----------------------
2761 # Try to link conftest.$ac_ext, and return whether this succeeded.
2762 ac_fn_c_try_link ()
2764 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2765 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2766 if { { ac_try="$ac_link"
2767 case "(($ac_try" in
2768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2769 *) ac_try_echo=$ac_try;;
2770 esac
2771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2772 printf "%s\n" "$ac_try_echo"; } >&5
2773 (eval "$ac_link") 2>conftest.err
2774 ac_status=$?
2775 if test -s conftest.err; then
2776 grep -v '^ *+' conftest.err >conftest.er1
2777 cat conftest.er1 >&5
2778 mv -f conftest.er1 conftest.err
2780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2781 test $ac_status = 0; } && {
2782 test -z "$ac_c_werror_flag" ||
2783 test ! -s conftest.err
2784 } && test -s conftest$ac_exeext && {
2785 test "$cross_compiling" = yes ||
2786 test -x conftest$ac_exeext
2788 then :
2789 ac_retval=0
2790 else $as_nop
2791 printf "%s\n" "$as_me: failed program was:" >&5
2792 sed 's/^/| /' conftest.$ac_ext >&5
2794 ac_retval=1
2796 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2797 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2798 # interfere with the next link command; also delete a directory that is
2799 # left behind by Apple's compiler. We do this before executing the actions.
2800 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2801 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2802 as_fn_set_status $ac_retval
2804 } # ac_fn_c_try_link
2806 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2807 # -------------------------------------------------------
2808 # Tests whether HEADER exists and can be compiled using the include files in
2809 # INCLUDES, setting the cache variable VAR accordingly.
2810 ac_fn_c_check_header_compile ()
2812 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2814 printf %s "checking for $2... " >&6; }
2815 if eval test \${$3+y}
2816 then :
2817 printf %s "(cached) " >&6
2818 else $as_nop
2819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2820 /* end confdefs.h. */
2822 #include <$2>
2823 _ACEOF
2824 if ac_fn_c_try_compile "$LINENO"
2825 then :
2826 eval "$3=yes"
2827 else $as_nop
2828 eval "$3=no"
2830 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2832 eval ac_res=\$$3
2833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2834 printf "%s\n" "$ac_res" >&6; }
2835 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2837 } # ac_fn_c_check_header_compile
2839 # ac_fn_objc_try_compile LINENO
2840 # -----------------------------
2841 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2842 ac_fn_objc_try_compile ()
2844 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2845 rm -f conftest.$ac_objext conftest.beam
2846 if { { ac_try="$ac_compile"
2847 case "(($ac_try" in
2848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2849 *) ac_try_echo=$ac_try;;
2850 esac
2851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2852 printf "%s\n" "$ac_try_echo"; } >&5
2853 (eval "$ac_compile") 2>conftest.err
2854 ac_status=$?
2855 if test -s conftest.err; then
2856 grep -v '^ *+' conftest.err >conftest.er1
2857 cat conftest.er1 >&5
2858 mv -f conftest.er1 conftest.err
2860 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2861 test $ac_status = 0; } && {
2862 test -z "$ac_objc_werror_flag" ||
2863 test ! -s conftest.err
2864 } && test -s conftest.$ac_objext
2865 then :
2866 ac_retval=0
2867 else $as_nop
2868 printf "%s\n" "$as_me: failed program was:" >&5
2869 sed 's/^/| /' conftest.$ac_ext >&5
2871 ac_retval=1
2873 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2874 as_fn_set_status $ac_retval
2876 } # ac_fn_objc_try_compile
2878 # ac_fn_c_check_func LINENO FUNC VAR
2879 # ----------------------------------
2880 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2881 ac_fn_c_check_func ()
2883 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2885 printf %s "checking for $2... " >&6; }
2886 if eval test \${$3+y}
2887 then :
2888 printf %s "(cached) " >&6
2889 else $as_nop
2890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2891 /* end confdefs.h. */
2892 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2894 #define $2 innocuous_$2
2896 /* System header to define __stub macros and hopefully few prototypes,
2897 which can conflict with char $2 (); below. */
2899 #include <limits.h>
2900 #undef $2
2902 /* Override any GCC internal prototype to avoid an error.
2903 Use char because int might match the return type of a GCC
2904 builtin and then its argument prototype would still apply. */
2905 #ifdef __cplusplus
2906 extern "C"
2907 #endif
2908 char $2 ();
2909 /* The GNU C library defines this for functions which it implements
2910 to always fail with ENOSYS. Some functions are actually named
2911 something starting with __ and the normal name is an alias. */
2912 #if defined __stub_$2 || defined __stub___$2
2913 choke me
2914 #endif
2917 main (void)
2919 return $2 ();
2921 return 0;
2923 _ACEOF
2924 if ac_fn_c_try_link "$LINENO"
2925 then :
2926 eval "$3=yes"
2927 else $as_nop
2928 eval "$3=no"
2930 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2931 conftest$ac_exeext conftest.$ac_ext
2933 eval ac_res=\$$3
2934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2935 printf "%s\n" "$ac_res" >&6; }
2936 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2938 } # ac_fn_c_check_func
2940 # ac_fn_c_try_cpp LINENO
2941 # ----------------------
2942 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2943 ac_fn_c_try_cpp ()
2945 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2946 if { { ac_try="$ac_cpp conftest.$ac_ext"
2947 case "(($ac_try" in
2948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2949 *) ac_try_echo=$ac_try;;
2950 esac
2951 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2952 printf "%s\n" "$ac_try_echo"; } >&5
2953 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2954 ac_status=$?
2955 if test -s conftest.err; then
2956 grep -v '^ *+' conftest.err >conftest.er1
2957 cat conftest.er1 >&5
2958 mv -f conftest.er1 conftest.err
2960 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2961 test $ac_status = 0; } > conftest.i && {
2962 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2963 test ! -s conftest.err
2965 then :
2966 ac_retval=0
2967 else $as_nop
2968 printf "%s\n" "$as_me: failed program was:" >&5
2969 sed 's/^/| /' conftest.$ac_ext >&5
2971 ac_retval=1
2973 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2974 as_fn_set_status $ac_retval
2976 } # ac_fn_c_try_cpp
2978 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2979 # ----------------------------------------------------
2980 # Tries to find if the field MEMBER exists in type AGGR, after including
2981 # INCLUDES, setting cache variable VAR accordingly.
2982 ac_fn_c_check_member ()
2984 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2986 printf %s "checking for $2.$3... " >&6; }
2987 if eval test \${$4+y}
2988 then :
2989 printf %s "(cached) " >&6
2990 else $as_nop
2991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2992 /* end confdefs.h. */
2995 main (void)
2997 static $2 ac_aggr;
2998 if (ac_aggr.$3)
2999 return 0;
3001 return 0;
3003 _ACEOF
3004 if ac_fn_c_try_compile "$LINENO"
3005 then :
3006 eval "$4=yes"
3007 else $as_nop
3008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3009 /* end confdefs.h. */
3012 main (void)
3014 static $2 ac_aggr;
3015 if (sizeof ac_aggr.$3)
3016 return 0;
3018 return 0;
3020 _ACEOF
3021 if ac_fn_c_try_compile "$LINENO"
3022 then :
3023 eval "$4=yes"
3024 else $as_nop
3025 eval "$4=no"
3027 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3029 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3031 eval ac_res=\$$4
3032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3033 printf "%s\n" "$ac_res" >&6; }
3034 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3036 } # ac_fn_c_check_member
3038 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3039 # -------------------------------------------
3040 # Tests whether TYPE exists after having included INCLUDES, setting cache
3041 # variable VAR accordingly.
3042 ac_fn_c_check_type ()
3044 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3046 printf %s "checking for $2... " >&6; }
3047 if eval test \${$3+y}
3048 then :
3049 printf %s "(cached) " >&6
3050 else $as_nop
3051 eval "$3=no"
3052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3053 /* end confdefs.h. */
3056 main (void)
3058 if (sizeof ($2))
3059 return 0;
3061 return 0;
3063 _ACEOF
3064 if ac_fn_c_try_compile "$LINENO"
3065 then :
3066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3067 /* end confdefs.h. */
3070 main (void)
3072 if (sizeof (($2)))
3073 return 0;
3075 return 0;
3077 _ACEOF
3078 if ac_fn_c_try_compile "$LINENO"
3079 then :
3081 else $as_nop
3082 eval "$3=yes"
3084 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3086 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3088 eval ac_res=\$$3
3089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3090 printf "%s\n" "$ac_res" >&6; }
3091 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3093 } # ac_fn_c_check_type
3094 ac_configure_args_raw=
3095 for ac_arg
3097 case $ac_arg in
3098 *\'*)
3099 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3100 esac
3101 as_fn_append ac_configure_args_raw " '$ac_arg'"
3102 done
3104 case $ac_configure_args_raw in
3105 *$as_nl*)
3106 ac_safe_unquote= ;;
3108 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3109 ac_unsafe_a="$ac_unsafe_z#~"
3110 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3111 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3112 esac
3114 cat >config.log <<_ACEOF
3115 This file contains any messages produced by compilers while
3116 running configure, to aid debugging if configure makes a mistake.
3118 It was created by Wine $as_me 8.1, which was
3119 generated by GNU Autoconf 2.71. Invocation command line was
3121 $ $0$ac_configure_args_raw
3123 _ACEOF
3124 exec 5>>config.log
3126 cat <<_ASUNAME
3127 ## --------- ##
3128 ## Platform. ##
3129 ## --------- ##
3131 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3132 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3133 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3134 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3135 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3137 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3138 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3140 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3141 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3142 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3143 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3144 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3145 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3146 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3148 _ASUNAME
3150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3151 for as_dir in $PATH
3153 IFS=$as_save_IFS
3154 case $as_dir in #(((
3155 '') as_dir=./ ;;
3156 */) ;;
3157 *) as_dir=$as_dir/ ;;
3158 esac
3159 printf "%s\n" "PATH: $as_dir"
3160 done
3161 IFS=$as_save_IFS
3163 } >&5
3165 cat >&5 <<_ACEOF
3168 ## ----------- ##
3169 ## Core tests. ##
3170 ## ----------- ##
3172 _ACEOF
3175 # Keep a trace of the command line.
3176 # Strip out --no-create and --no-recursion so they do not pile up.
3177 # Strip out --silent because we don't want to record it for future runs.
3178 # Also quote any args containing shell meta-characters.
3179 # Make two passes to allow for proper duplicate-argument suppression.
3180 ac_configure_args=
3181 ac_configure_args0=
3182 ac_configure_args1=
3183 ac_must_keep_next=false
3184 for ac_pass in 1 2
3186 for ac_arg
3188 case $ac_arg in
3189 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3190 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3191 | -silent | --silent | --silen | --sile | --sil)
3192 continue ;;
3193 *\'*)
3194 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3195 esac
3196 case $ac_pass in
3197 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3199 as_fn_append ac_configure_args1 " '$ac_arg'"
3200 if test $ac_must_keep_next = true; then
3201 ac_must_keep_next=false # Got value, back to normal.
3202 else
3203 case $ac_arg in
3204 *=* | --config-cache | -C | -disable-* | --disable-* \
3205 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3206 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3207 | -with-* | --with-* | -without-* | --without-* | --x)
3208 case "$ac_configure_args0 " in
3209 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3210 esac
3212 -* ) ac_must_keep_next=true ;;
3213 esac
3215 as_fn_append ac_configure_args " '$ac_arg'"
3217 esac
3218 done
3219 done
3220 { ac_configure_args0=; unset ac_configure_args0;}
3221 { ac_configure_args1=; unset ac_configure_args1;}
3223 # When interrupted or exit'd, cleanup temporary files, and complete
3224 # config.log. We remove comments because anyway the quotes in there
3225 # would cause problems or look ugly.
3226 # WARNING: Use '\'' to represent an apostrophe within the trap.
3227 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3228 trap 'exit_status=$?
3229 # Sanitize IFS.
3230 IFS=" "" $as_nl"
3231 # Save into config.log some information that might help in debugging.
3233 echo
3235 printf "%s\n" "## ---------------- ##
3236 ## Cache variables. ##
3237 ## ---------------- ##"
3238 echo
3239 # The following way of writing the cache mishandles newlines in values,
3241 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3242 eval ac_val=\$$ac_var
3243 case $ac_val in #(
3244 *${as_nl}*)
3245 case $ac_var in #(
3246 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3247 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3248 esac
3249 case $ac_var in #(
3250 _ | IFS | as_nl) ;; #(
3251 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3252 *) { eval $ac_var=; unset $ac_var;} ;;
3253 esac ;;
3254 esac
3255 done
3256 (set) 2>&1 |
3257 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3258 *${as_nl}ac_space=\ *)
3259 sed -n \
3260 "s/'\''/'\''\\\\'\'''\''/g;
3261 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3262 ;; #(
3264 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3266 esac |
3267 sort
3269 echo
3271 printf "%s\n" "## ----------------- ##
3272 ## Output variables. ##
3273 ## ----------------- ##"
3274 echo
3275 for ac_var in $ac_subst_vars
3277 eval ac_val=\$$ac_var
3278 case $ac_val in
3279 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3280 esac
3281 printf "%s\n" "$ac_var='\''$ac_val'\''"
3282 done | sort
3283 echo
3285 if test -n "$ac_subst_files"; then
3286 printf "%s\n" "## ------------------- ##
3287 ## File substitutions. ##
3288 ## ------------------- ##"
3289 echo
3290 for ac_var in $ac_subst_files
3292 eval ac_val=\$$ac_var
3293 case $ac_val in
3294 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3295 esac
3296 printf "%s\n" "$ac_var='\''$ac_val'\''"
3297 done | sort
3298 echo
3301 if test -s confdefs.h; then
3302 printf "%s\n" "## ----------- ##
3303 ## confdefs.h. ##
3304 ## ----------- ##"
3305 echo
3306 cat confdefs.h
3307 echo
3309 test "$ac_signal" != 0 &&
3310 printf "%s\n" "$as_me: caught signal $ac_signal"
3311 printf "%s\n" "$as_me: exit $exit_status"
3312 } >&5
3313 rm -f core *.core core.conftest.* &&
3314 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3315 exit $exit_status
3317 for ac_signal in 1 2 13 15; do
3318 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3319 done
3320 ac_signal=0
3322 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3323 rm -f -r conftest* confdefs.h
3325 printf "%s\n" "/* confdefs.h */" > confdefs.h
3327 # Predefined preprocessor variables.
3329 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3331 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3333 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3335 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3337 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3339 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3342 # Let the site file select an alternate cache file if it wants to.
3343 # Prefer an explicitly selected file to automatically selected ones.
3344 if test -n "$CONFIG_SITE"; then
3345 ac_site_files="$CONFIG_SITE"
3346 elif test "x$prefix" != xNONE; then
3347 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3348 else
3349 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3352 for ac_site_file in $ac_site_files
3354 case $ac_site_file in #(
3355 */*) :
3356 ;; #(
3357 *) :
3358 ac_site_file=./$ac_site_file ;;
3359 esac
3360 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3362 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3363 sed 's/^/| /' "$ac_site_file" >&5
3364 . "$ac_site_file" \
3365 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3366 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3367 as_fn_error $? "failed to load site script $ac_site_file
3368 See \`config.log' for more details" "$LINENO" 5; }
3370 done
3372 if test -r "$cache_file"; then
3373 # Some versions of bash will fail to source /dev/null (special files
3374 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3375 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3377 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3378 case $cache_file in
3379 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3380 *) . "./$cache_file";;
3381 esac
3383 else
3384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3385 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3386 >$cache_file
3389 # Test code for whether the C compiler supports C89 (global declarations)
3390 ac_c_conftest_c89_globals='
3391 /* Does the compiler advertise C89 conformance?
3392 Do not test the value of __STDC__, because some compilers set it to 0
3393 while being otherwise adequately conformant. */
3394 #if !defined __STDC__
3395 # error "Compiler does not advertise C89 conformance"
3396 #endif
3398 #include <stddef.h>
3399 #include <stdarg.h>
3400 struct stat;
3401 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3402 struct buf { int x; };
3403 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3404 static char *e (p, i)
3405 char **p;
3406 int i;
3408 return p[i];
3410 static char *f (char * (*g) (char **, int), char **p, ...)
3412 char *s;
3413 va_list v;
3414 va_start (v,p);
3415 s = g (p, va_arg (v,int));
3416 va_end (v);
3417 return s;
3420 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3421 function prototypes and stuff, but not \xHH hex character constants.
3422 These do not provoke an error unfortunately, instead are silently treated
3423 as an "x". The following induces an error, until -std is added to get
3424 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3425 array size at least. It is necessary to write \x00 == 0 to get something
3426 that is true only with -std. */
3427 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3429 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3430 inside strings and character constants. */
3431 #define FOO(x) '\''x'\''
3432 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3434 int test (int i, double x);
3435 struct s1 {int (*f) (int a);};
3436 struct s2 {int (*f) (double a);};
3437 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3438 int, int);'
3440 # Test code for whether the C compiler supports C89 (body of main).
3441 ac_c_conftest_c89_main='
3442 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3445 # Test code for whether the C compiler supports C99 (global declarations)
3446 ac_c_conftest_c99_globals='
3447 // Does the compiler advertise C99 conformance?
3448 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3449 # error "Compiler does not advertise C99 conformance"
3450 #endif
3452 #include <stdbool.h>
3453 extern int puts (const char *);
3454 extern int printf (const char *, ...);
3455 extern int dprintf (int, const char *, ...);
3456 extern void *malloc (size_t);
3458 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3459 // dprintf is used instead of fprintf to avoid needing to declare
3460 // FILE and stderr.
3461 #define debug(...) dprintf (2, __VA_ARGS__)
3462 #define showlist(...) puts (#__VA_ARGS__)
3463 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3464 static void
3465 test_varargs_macros (void)
3467 int x = 1234;
3468 int y = 5678;
3469 debug ("Flag");
3470 debug ("X = %d\n", x);
3471 showlist (The first, second, and third items.);
3472 report (x>y, "x is %d but y is %d", x, y);
3475 // Check long long types.
3476 #define BIG64 18446744073709551615ull
3477 #define BIG32 4294967295ul
3478 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3479 #if !BIG_OK
3480 #error "your preprocessor is broken"
3481 #endif
3482 #if BIG_OK
3483 #else
3484 #error "your preprocessor is broken"
3485 #endif
3486 static long long int bignum = -9223372036854775807LL;
3487 static unsigned long long int ubignum = BIG64;
3489 struct incomplete_array
3491 int datasize;
3492 double data[];
3495 struct named_init {
3496 int number;
3497 const wchar_t *name;
3498 double average;
3501 typedef const char *ccp;
3503 static inline int
3504 test_restrict (ccp restrict text)
3506 // See if C++-style comments work.
3507 // Iterate through items via the restricted pointer.
3508 // Also check for declarations in for loops.
3509 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3510 continue;
3511 return 0;
3514 // Check varargs and va_copy.
3515 static bool
3516 test_varargs (const char *format, ...)
3518 va_list args;
3519 va_start (args, format);
3520 va_list args_copy;
3521 va_copy (args_copy, args);
3523 const char *str = "";
3524 int number = 0;
3525 float fnumber = 0;
3527 while (*format)
3529 switch (*format++)
3531 case '\''s'\'': // string
3532 str = va_arg (args_copy, const char *);
3533 break;
3534 case '\''d'\'': // int
3535 number = va_arg (args_copy, int);
3536 break;
3537 case '\''f'\'': // float
3538 fnumber = va_arg (args_copy, double);
3539 break;
3540 default:
3541 break;
3544 va_end (args_copy);
3545 va_end (args);
3547 return *str && number && fnumber;
3551 # Test code for whether the C compiler supports C99 (body of main).
3552 ac_c_conftest_c99_main='
3553 // Check bool.
3554 _Bool success = false;
3555 success |= (argc != 0);
3557 // Check restrict.
3558 if (test_restrict ("String literal") == 0)
3559 success = true;
3560 char *restrict newvar = "Another string";
3562 // Check varargs.
3563 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3564 test_varargs_macros ();
3566 // Check flexible array members.
3567 struct incomplete_array *ia =
3568 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3569 ia->datasize = 10;
3570 for (int i = 0; i < ia->datasize; ++i)
3571 ia->data[i] = i * 1.234;
3573 // Check named initializers.
3574 struct named_init ni = {
3575 .number = 34,
3576 .name = L"Test wide string",
3577 .average = 543.34343,
3580 ni.number = 58;
3582 int dynamic_array[ni.number];
3583 dynamic_array[0] = argv[0][0];
3584 dynamic_array[ni.number - 1] = 543;
3586 // work around unused variable warnings
3587 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3588 || dynamic_array[ni.number - 1] != 543);
3591 # Test code for whether the C compiler supports C11 (global declarations)
3592 ac_c_conftest_c11_globals='
3593 // Does the compiler advertise C11 conformance?
3594 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3595 # error "Compiler does not advertise C11 conformance"
3596 #endif
3598 // Check _Alignas.
3599 char _Alignas (double) aligned_as_double;
3600 char _Alignas (0) no_special_alignment;
3601 extern char aligned_as_int;
3602 char _Alignas (0) _Alignas (int) aligned_as_int;
3604 // Check _Alignof.
3605 enum
3607 int_alignment = _Alignof (int),
3608 int_array_alignment = _Alignof (int[100]),
3609 char_alignment = _Alignof (char)
3611 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3613 // Check _Noreturn.
3614 int _Noreturn does_not_return (void) { for (;;) continue; }
3616 // Check _Static_assert.
3617 struct test_static_assert
3619 int x;
3620 _Static_assert (sizeof (int) <= sizeof (long int),
3621 "_Static_assert does not work in struct");
3622 long int y;
3625 // Check UTF-8 literals.
3626 #define u8 syntax error!
3627 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3629 // Check duplicate typedefs.
3630 typedef long *long_ptr;
3631 typedef long int *long_ptr;
3632 typedef long_ptr long_ptr;
3634 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3635 struct anonymous
3637 union {
3638 struct { int i; int j; };
3639 struct { int k; long int l; } w;
3641 int m;
3642 } v1;
3645 # Test code for whether the C compiler supports C11 (body of main).
3646 ac_c_conftest_c11_main='
3647 _Static_assert ((offsetof (struct anonymous, i)
3648 == offsetof (struct anonymous, w.k)),
3649 "Anonymous union alignment botch");
3650 v1.i = 2;
3651 v1.w.k = 5;
3652 ok |= v1.i != 5;
3655 # Test code for whether the C compiler supports C11 (complete).
3656 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3657 ${ac_c_conftest_c99_globals}
3658 ${ac_c_conftest_c11_globals}
3661 main (int argc, char **argv)
3663 int ok = 0;
3664 ${ac_c_conftest_c89_main}
3665 ${ac_c_conftest_c99_main}
3666 ${ac_c_conftest_c11_main}
3667 return ok;
3671 # Test code for whether the C compiler supports C99 (complete).
3672 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3673 ${ac_c_conftest_c99_globals}
3676 main (int argc, char **argv)
3678 int ok = 0;
3679 ${ac_c_conftest_c89_main}
3680 ${ac_c_conftest_c99_main}
3681 return ok;
3685 # Test code for whether the C compiler supports C89 (complete).
3686 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3689 main (int argc, char **argv)
3691 int ok = 0;
3692 ${ac_c_conftest_c89_main}
3693 return ok;
3697 # Test code for whether the C++ compiler supports C++98 (global declarations)
3698 ac_cxx_conftest_cxx98_globals='
3699 // Does the compiler advertise C++98 conformance?
3700 #if !defined __cplusplus || __cplusplus < 199711L
3701 # error "Compiler does not advertise C++98 conformance"
3702 #endif
3704 // These inclusions are to reject old compilers that
3705 // lack the unsuffixed header files.
3706 #include <cstdlib>
3707 #include <exception>
3709 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3710 extern void assert (int);
3711 namespace std {
3712 extern int strcmp (const char *, const char *);
3715 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3716 using std::exception;
3717 using std::strcmp;
3719 namespace {
3721 void test_exception_syntax()
3723 try {
3724 throw "test";
3725 } catch (const char *s) {
3726 // Extra parentheses suppress a warning when building autoconf itself,
3727 // due to lint rules shared with more typical C programs.
3728 assert (!(strcmp) (s, "test"));
3732 template <typename T> struct test_template
3734 T const val;
3735 explicit test_template(T t) : val(t) {}
3736 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3739 } // anonymous namespace
3742 # Test code for whether the C++ compiler supports C++98 (body of main)
3743 ac_cxx_conftest_cxx98_main='
3744 assert (argc);
3745 assert (! argv[0]);
3747 test_exception_syntax ();
3748 test_template<double> tt (2.0);
3749 assert (tt.add (4) == 6.0);
3750 assert (true && !false);
3754 # Test code for whether the C++ compiler supports C++11 (global declarations)
3755 ac_cxx_conftest_cxx11_globals='
3756 // Does the compiler advertise C++ 2011 conformance?
3757 #if !defined __cplusplus || __cplusplus < 201103L
3758 # error "Compiler does not advertise C++11 conformance"
3759 #endif
3761 namespace cxx11test
3763 constexpr int get_val() { return 20; }
3765 struct testinit
3767 int i;
3768 double d;
3771 class delegate
3773 public:
3774 delegate(int n) : n(n) {}
3775 delegate(): delegate(2354) {}
3777 virtual int getval() { return this->n; };
3778 protected:
3779 int n;
3782 class overridden : public delegate
3784 public:
3785 overridden(int n): delegate(n) {}
3786 virtual int getval() override final { return this->n * 2; }
3789 class nocopy
3791 public:
3792 nocopy(int i): i(i) {}
3793 nocopy() = default;
3794 nocopy(const nocopy&) = delete;
3795 nocopy & operator=(const nocopy&) = delete;
3796 private:
3797 int i;
3800 // for testing lambda expressions
3801 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3803 return f(v);
3806 // for testing variadic templates and trailing return types
3807 template <typename V> auto sum(V first) -> V
3809 return first;
3811 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3813 return first + sum(rest...);
3818 # Test code for whether the C++ compiler supports C++11 (body of main)
3819 ac_cxx_conftest_cxx11_main='
3821 // Test auto and decltype
3822 auto a1 = 6538;
3823 auto a2 = 48573953.4;
3824 auto a3 = "String literal";
3826 int total = 0;
3827 for (auto i = a3; *i; ++i) { total += *i; }
3829 decltype(a2) a4 = 34895.034;
3832 // Test constexpr
3833 short sa[cxx11test::get_val()] = { 0 };
3836 // Test initializer lists
3837 cxx11test::testinit il = { 4323, 435234.23544 };
3840 // Test range-based for
3841 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3842 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3843 for (auto &x : array) { x += 23; }
3846 // Test lambda expressions
3847 using cxx11test::eval;
3848 assert (eval ([](int x) { return x*2; }, 21) == 42);
3849 double d = 2.0;
3850 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3851 assert (d == 5.0);
3852 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3853 assert (d == 5.0);
3856 // Test use of variadic templates
3857 using cxx11test::sum;
3858 auto a = sum(1);
3859 auto b = sum(1, 2);
3860 auto c = sum(1.0, 2.0, 3.0);
3863 // Test constructor delegation
3864 cxx11test::delegate d1;
3865 cxx11test::delegate d2();
3866 cxx11test::delegate d3(45);
3869 // Test override and final
3870 cxx11test::overridden o1(55464);
3873 // Test nullptr
3874 char *c = nullptr;
3877 // Test template brackets
3878 test_template<::test_template<int>> v(test_template<int>(12));
3881 // Unicode literals
3882 char const *utf8 = u8"UTF-8 string \u2500";
3883 char16_t const *utf16 = u"UTF-8 string \u2500";
3884 char32_t const *utf32 = U"UTF-32 string \u2500";
3888 # Test code for whether the C compiler supports C++11 (complete).
3889 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3890 ${ac_cxx_conftest_cxx11_globals}
3893 main (int argc, char **argv)
3895 int ok = 0;
3896 ${ac_cxx_conftest_cxx98_main}
3897 ${ac_cxx_conftest_cxx11_main}
3898 return ok;
3902 # Test code for whether the C compiler supports C++98 (complete).
3903 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3905 main (int argc, char **argv)
3907 int ok = 0;
3908 ${ac_cxx_conftest_cxx98_main}
3909 return ok;
3913 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3914 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3915 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3916 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3917 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3918 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3919 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3920 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3921 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3923 # Auxiliary files required by this configure script.
3924 ac_aux_files="config.guess config.sub"
3926 # Locations in which to look for auxiliary files.
3927 ac_aux_dir_candidates="${srcdir}/tools"
3929 # Search for a directory containing all of the required auxiliary files,
3930 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3931 # If we don't find one directory that contains all the files we need,
3932 # we report the set of missing files from the *first* directory in
3933 # $ac_aux_dir_candidates and give up.
3934 ac_missing_aux_files=""
3935 ac_first_candidate=:
3936 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3938 as_found=false
3939 for as_dir in $ac_aux_dir_candidates
3941 IFS=$as_save_IFS
3942 case $as_dir in #(((
3943 '') as_dir=./ ;;
3944 */) ;;
3945 *) as_dir=$as_dir/ ;;
3946 esac
3947 as_found=:
3949 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3950 ac_aux_dir_found=yes
3951 ac_install_sh=
3952 for ac_aux in $ac_aux_files
3954 # As a special case, if "install-sh" is required, that requirement
3955 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3956 # and $ac_install_sh is set appropriately for whichever one is found.
3957 if test x"$ac_aux" = x"install-sh"
3958 then
3959 if test -f "${as_dir}install-sh"; then
3960 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3961 ac_install_sh="${as_dir}install-sh -c"
3962 elif test -f "${as_dir}install.sh"; then
3963 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3964 ac_install_sh="${as_dir}install.sh -c"
3965 elif test -f "${as_dir}shtool"; then
3966 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3967 ac_install_sh="${as_dir}shtool install -c"
3968 else
3969 ac_aux_dir_found=no
3970 if $ac_first_candidate; then
3971 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3972 else
3973 break
3976 else
3977 if test -f "${as_dir}${ac_aux}"; then
3978 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3979 else
3980 ac_aux_dir_found=no
3981 if $ac_first_candidate; then
3982 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3983 else
3984 break
3988 done
3989 if test "$ac_aux_dir_found" = yes; then
3990 ac_aux_dir="$as_dir"
3991 break
3993 ac_first_candidate=false
3995 as_found=false
3996 done
3997 IFS=$as_save_IFS
3998 if $as_found
3999 then :
4001 else $as_nop
4002 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4006 # These three variables are undocumented and unsupported,
4007 # and are intended to be withdrawn in a future Autoconf release.
4008 # They can cause serious problems if a builder's source tree is in a directory
4009 # whose full name contains unusual characters.
4010 if test -f "${ac_aux_dir}config.guess"; then
4011 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4013 if test -f "${ac_aux_dir}config.sub"; then
4014 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4016 if test -f "$ac_aux_dir/configure"; then
4017 ac_configure="$SHELL ${ac_aux_dir}configure"
4020 # Check that the precious variables saved in the cache have kept the same
4021 # value.
4022 ac_cache_corrupted=false
4023 for ac_var in $ac_precious_vars; do
4024 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4025 eval ac_new_set=\$ac_env_${ac_var}_set
4026 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4027 eval ac_new_val=\$ac_env_${ac_var}_value
4028 case $ac_old_set,$ac_new_set in
4029 set,)
4030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4031 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4032 ac_cache_corrupted=: ;;
4033 ,set)
4034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4035 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4036 ac_cache_corrupted=: ;;
4037 ,);;
4039 if test "x$ac_old_val" != "x$ac_new_val"; then
4040 # differences in whitespace do not lead to failure.
4041 ac_old_val_w=`echo x $ac_old_val`
4042 ac_new_val_w=`echo x $ac_new_val`
4043 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4045 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4046 ac_cache_corrupted=:
4047 else
4048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4049 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4050 eval $ac_var=\$ac_old_val
4052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4053 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4055 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4056 fi;;
4057 esac
4058 # Pass precious variables to config.status.
4059 if test "$ac_new_set" = set; then
4060 case $ac_new_val in
4061 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4062 *) ac_arg=$ac_var=$ac_new_val ;;
4063 esac
4064 case " $ac_configure_args " in
4065 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4066 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4067 esac
4069 done
4070 if $ac_cache_corrupted; then
4071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4072 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4074 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4075 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4076 and start over" "$LINENO" 5
4078 ## -------------------- ##
4079 ## Main body of script. ##
4080 ## -------------------- ##
4082 ac_ext=c
4083 ac_cpp='$CPP $CPPFLAGS'
4084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4090 ac_config_headers="$ac_config_headers include/config.h"
4094 libwine_version="1.0"
4097 # Check whether --enable-archs was given.
4098 if test ${enable_archs+y}
4099 then :
4100 enableval=$enable_archs;
4103 # Check whether --enable-win16 was given.
4104 if test ${enable_win16+y}
4105 then :
4106 enableval=$enable_win16;
4109 # Check whether --enable-win64 was given.
4110 if test ${enable_win64+y}
4111 then :
4112 enableval=$enable_win64;
4115 # Check whether --enable-tests was given.
4116 if test ${enable_tests+y}
4117 then :
4118 enableval=$enable_tests;
4121 # Check whether --enable-build-id was given.
4122 if test ${enable_build_id+y}
4123 then :
4124 enableval=$enable_build_id;
4127 # Check whether --enable-maintainer-mode was given.
4128 if test ${enable_maintainer_mode+y}
4129 then :
4130 enableval=$enable_maintainer_mode;
4133 # Check whether --enable-silent-rules was given.
4134 if test ${enable_silent_rules+y}
4135 then :
4136 enableval=$enable_silent_rules;
4139 # Check whether --enable-werror was given.
4140 if test ${enable_werror+y}
4141 then :
4142 enableval=$enable_werror;
4147 # Check whether --with-alsa was given.
4148 if test ${with_alsa+y}
4149 then :
4150 withval=$with_alsa;
4154 # Check whether --with-capi was given.
4155 if test ${with_capi+y}
4156 then :
4157 withval=$with_capi;
4161 # Check whether --with-coreaudio was given.
4162 if test ${with_coreaudio+y}
4163 then :
4164 withval=$with_coreaudio;
4168 # Check whether --with-cups was given.
4169 if test ${with_cups+y}
4170 then :
4171 withval=$with_cups;
4175 # Check whether --with-dbus was given.
4176 if test ${with_dbus+y}
4177 then :
4178 withval=$with_dbus;
4182 # Check whether --with-float-abi was given.
4183 if test ${with_float_abi+y}
4184 then :
4185 withval=$with_float_abi;
4189 # Check whether --with-fontconfig was given.
4190 if test ${with_fontconfig+y}
4191 then :
4192 withval=$with_fontconfig;
4196 # Check whether --with-freetype was given.
4197 if test ${with_freetype+y}
4198 then :
4199 withval=$with_freetype;
4203 # Check whether --with-gettext was given.
4204 if test ${with_gettext+y}
4205 then :
4206 withval=$with_gettext;
4210 # Check whether --with-gettextpo was given.
4211 if test ${with_gettextpo+y}
4212 then :
4213 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4217 # Check whether --with-gphoto was given.
4218 if test ${with_gphoto+y}
4219 then :
4220 withval=$with_gphoto;
4224 # Check whether --with-gnutls was given.
4225 if test ${with_gnutls+y}
4226 then :
4227 withval=$with_gnutls;
4231 # Check whether --with-gssapi was given.
4232 if test ${with_gssapi+y}
4233 then :
4234 withval=$with_gssapi;
4238 # Check whether --with-gstreamer was given.
4239 if test ${with_gstreamer+y}
4240 then :
4241 withval=$with_gstreamer;
4245 # Check whether --with-inotify was given.
4246 if test ${with_inotify+y}
4247 then :
4248 withval=$with_inotify;
4252 # Check whether --with-krb5 was given.
4253 if test ${with_krb5+y}
4254 then :
4255 withval=$with_krb5;
4259 # Check whether --with-mingw was given.
4260 if test ${with_mingw+y}
4261 then :
4262 withval=$with_mingw;
4266 # Check whether --with-netapi was given.
4267 if test ${with_netapi+y}
4268 then :
4269 withval=$with_netapi;
4273 # Check whether --with-opencl was given.
4274 if test ${with_opencl+y}
4275 then :
4276 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4280 # Check whether --with-opengl was given.
4281 if test ${with_opengl+y}
4282 then :
4283 withval=$with_opengl;
4287 # Check whether --with-osmesa was given.
4288 if test ${with_osmesa+y}
4289 then :
4290 withval=$with_osmesa;
4294 # Check whether --with-oss was given.
4295 if test ${with_oss+y}
4296 then :
4297 withval=$with_oss;
4301 # Check whether --with-pcap was given.
4302 if test ${with_pcap+y}
4303 then :
4304 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4308 # Check whether --with-pthread was given.
4309 if test ${with_pthread+y}
4310 then :
4311 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4315 # Check whether --with-pulse was given.
4316 if test ${with_pulse+y}
4317 then :
4318 withval=$with_pulse;
4322 # Check whether --with-sane was given.
4323 if test ${with_sane+y}
4324 then :
4325 withval=$with_sane;
4329 # Check whether --with-sdl was given.
4330 if test ${with_sdl+y}
4331 then :
4332 withval=$with_sdl;
4336 # Check whether --with-udev was given.
4337 if test ${with_udev+y}
4338 then :
4339 withval=$with_udev;
4343 # Check whether --with-unwind was given.
4344 if test ${with_unwind+y}
4345 then :
4346 withval=$with_unwind;
4350 # Check whether --with-usb was given.
4351 if test ${with_usb+y}
4352 then :
4353 withval=$with_usb;
4357 # Check whether --with-v4l2 was given.
4358 if test ${with_v4l2+y}
4359 then :
4360 withval=$with_v4l2;
4364 # Check whether --with-vulkan was given.
4365 if test ${with_vulkan+y}
4366 then :
4367 withval=$with_vulkan;
4371 # Check whether --with-xcomposite was given.
4372 if test ${with_xcomposite+y}
4373 then :
4374 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4378 # Check whether --with-xcursor was given.
4379 if test ${with_xcursor+y}
4380 then :
4381 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4385 # Check whether --with-xfixes was given.
4386 if test ${with_xfixes+y}
4387 then :
4388 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4392 # Check whether --with-xinerama was given.
4393 if test ${with_xinerama+y}
4394 then :
4395 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4399 # Check whether --with-xinput was given.
4400 if test ${with_xinput+y}
4401 then :
4402 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4406 # Check whether --with-xinput2 was given.
4407 if test ${with_xinput2+y}
4408 then :
4409 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4413 # Check whether --with-xrandr was given.
4414 if test ${with_xrandr+y}
4415 then :
4416 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4420 # Check whether --with-xrender was given.
4421 if test ${with_xrender+y}
4422 then :
4423 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4427 # Check whether --with-xshape was given.
4428 if test ${with_xshape+y}
4429 then :
4430 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4434 # Check whether --with-xshm was given.
4435 if test ${with_xshm+y}
4436 then :
4437 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4441 # Check whether --with-xxf86vm was given.
4442 if test ${with_xxf86vm+y}
4443 then :
4444 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
4449 # Check whether --with-system-dllpath was given.
4450 if test ${with_system_dllpath+y}
4451 then :
4452 withval=$with_system_dllpath; system_dllpath=$withval
4457 # Check whether --with-wine-tools was given.
4458 if test ${with_wine_tools+y}
4459 then :
4460 withval=$with_wine_tools;
4464 # Check whether --with-wine64 was given.
4465 if test ${with_wine64+y}
4466 then :
4467 withval=$with_wine64;
4474 # Make sure we can run config.sub.
4475 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4476 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4479 printf %s "checking build system type... " >&6; }
4480 if test ${ac_cv_build+y}
4481 then :
4482 printf %s "(cached) " >&6
4483 else $as_nop
4484 ac_build_alias=$build_alias
4485 test "x$ac_build_alias" = x &&
4486 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4487 test "x$ac_build_alias" = x &&
4488 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4489 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4490 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4494 printf "%s\n" "$ac_cv_build" >&6; }
4495 case $ac_cv_build in
4496 *-*-*) ;;
4497 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4498 esac
4499 build=$ac_cv_build
4500 ac_save_IFS=$IFS; IFS='-'
4501 set x $ac_cv_build
4502 shift
4503 build_cpu=$1
4504 build_vendor=$2
4505 shift; shift
4506 # Remember, the first character of IFS is used to create $*,
4507 # except with old shells:
4508 build_os=$*
4509 IFS=$ac_save_IFS
4510 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4514 printf %s "checking host system type... " >&6; }
4515 if test ${ac_cv_host+y}
4516 then :
4517 printf %s "(cached) " >&6
4518 else $as_nop
4519 if test "x$host_alias" = x; then
4520 ac_cv_host=$ac_cv_build
4521 else
4522 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4523 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4528 printf "%s\n" "$ac_cv_host" >&6; }
4529 case $ac_cv_host in
4530 *-*-*) ;;
4531 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4532 esac
4533 host=$ac_cv_host
4534 ac_save_IFS=$IFS; IFS='-'
4535 set x $ac_cv_host
4536 shift
4537 host_cpu=$1
4538 host_vendor=$2
4539 shift; shift
4540 # Remember, the first character of IFS is used to create $*,
4541 # except with old shells:
4542 host_os=$*
4543 IFS=$ac_save_IFS
4544 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4548 dlldir=\${libdir}/wine
4550 fontdir=\${datadir}/wine/fonts
4552 nlsdir=\${datadir}/wine/nls
4557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4558 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4559 set x ${MAKE-make}
4560 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4561 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4562 then :
4563 printf %s "(cached) " >&6
4564 else $as_nop
4565 cat >conftest.make <<\_ACEOF
4566 SHELL = /bin/sh
4567 all:
4568 @echo '@@@%%%=$(MAKE)=@@@%%%'
4569 _ACEOF
4570 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4571 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4572 *@@@%%%=?*=@@@%%%*)
4573 eval ac_cv_prog_make_${ac_make}_set=yes;;
4575 eval ac_cv_prog_make_${ac_make}_set=no;;
4576 esac
4577 rm -f conftest.make
4579 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4581 printf "%s\n" "yes" >&6; }
4582 SET_MAKE=
4583 else
4584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4585 printf "%s\n" "no" >&6; }
4586 SET_MAKE="MAKE=${MAKE-make}"
4598 ac_ext=c
4599 ac_cpp='$CPP $CPPFLAGS'
4600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4603 if test -n "$ac_tool_prefix"; then
4604 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4605 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4607 printf %s "checking for $ac_word... " >&6; }
4608 if test ${ac_cv_prog_CC+y}
4609 then :
4610 printf %s "(cached) " >&6
4611 else $as_nop
4612 if test -n "$CC"; then
4613 ac_cv_prog_CC="$CC" # Let the user override the test.
4614 else
4615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4616 for as_dir in $PATH
4618 IFS=$as_save_IFS
4619 case $as_dir in #(((
4620 '') as_dir=./ ;;
4621 */) ;;
4622 *) as_dir=$as_dir/ ;;
4623 esac
4624 for ac_exec_ext in '' $ac_executable_extensions; do
4625 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4626 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4627 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4628 break 2
4630 done
4631 done
4632 IFS=$as_save_IFS
4636 CC=$ac_cv_prog_CC
4637 if test -n "$CC"; then
4638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4639 printf "%s\n" "$CC" >&6; }
4640 else
4641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4642 printf "%s\n" "no" >&6; }
4647 if test -z "$ac_cv_prog_CC"; then
4648 ac_ct_CC=$CC
4649 # Extract the first word of "gcc", so it can be a program name with args.
4650 set dummy gcc; ac_word=$2
4651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4652 printf %s "checking for $ac_word... " >&6; }
4653 if test ${ac_cv_prog_ac_ct_CC+y}
4654 then :
4655 printf %s "(cached) " >&6
4656 else $as_nop
4657 if test -n "$ac_ct_CC"; then
4658 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4659 else
4660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4661 for as_dir in $PATH
4663 IFS=$as_save_IFS
4664 case $as_dir in #(((
4665 '') as_dir=./ ;;
4666 */) ;;
4667 *) as_dir=$as_dir/ ;;
4668 esac
4669 for ac_exec_ext in '' $ac_executable_extensions; do
4670 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4671 ac_cv_prog_ac_ct_CC="gcc"
4672 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4673 break 2
4675 done
4676 done
4677 IFS=$as_save_IFS
4681 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4682 if test -n "$ac_ct_CC"; then
4683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4684 printf "%s\n" "$ac_ct_CC" >&6; }
4685 else
4686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4687 printf "%s\n" "no" >&6; }
4690 if test "x$ac_ct_CC" = x; then
4691 CC=""
4692 else
4693 case $cross_compiling:$ac_tool_warned in
4694 yes:)
4695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4696 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4697 ac_tool_warned=yes ;;
4698 esac
4699 CC=$ac_ct_CC
4701 else
4702 CC="$ac_cv_prog_CC"
4705 if test -z "$CC"; then
4706 if test -n "$ac_tool_prefix"; then
4707 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4708 set dummy ${ac_tool_prefix}cc; ac_word=$2
4709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4710 printf %s "checking for $ac_word... " >&6; }
4711 if test ${ac_cv_prog_CC+y}
4712 then :
4713 printf %s "(cached) " >&6
4714 else $as_nop
4715 if test -n "$CC"; then
4716 ac_cv_prog_CC="$CC" # Let the user override the test.
4717 else
4718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4719 for as_dir in $PATH
4721 IFS=$as_save_IFS
4722 case $as_dir in #(((
4723 '') as_dir=./ ;;
4724 */) ;;
4725 *) as_dir=$as_dir/ ;;
4726 esac
4727 for ac_exec_ext in '' $ac_executable_extensions; do
4728 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4729 ac_cv_prog_CC="${ac_tool_prefix}cc"
4730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4731 break 2
4733 done
4734 done
4735 IFS=$as_save_IFS
4739 CC=$ac_cv_prog_CC
4740 if test -n "$CC"; then
4741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4742 printf "%s\n" "$CC" >&6; }
4743 else
4744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4745 printf "%s\n" "no" >&6; }
4751 if test -z "$CC"; then
4752 # Extract the first word of "cc", so it can be a program name with args.
4753 set dummy cc; ac_word=$2
4754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4755 printf %s "checking for $ac_word... " >&6; }
4756 if test ${ac_cv_prog_CC+y}
4757 then :
4758 printf %s "(cached) " >&6
4759 else $as_nop
4760 if test -n "$CC"; then
4761 ac_cv_prog_CC="$CC" # Let the user override the test.
4762 else
4763 ac_prog_rejected=no
4764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4765 for as_dir in $PATH
4767 IFS=$as_save_IFS
4768 case $as_dir in #(((
4769 '') as_dir=./ ;;
4770 */) ;;
4771 *) as_dir=$as_dir/ ;;
4772 esac
4773 for ac_exec_ext in '' $ac_executable_extensions; do
4774 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4775 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4776 ac_prog_rejected=yes
4777 continue
4779 ac_cv_prog_CC="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
4787 if test $ac_prog_rejected = yes; then
4788 # We found a bogon in the path, so make sure we never use it.
4789 set dummy $ac_cv_prog_CC
4790 shift
4791 if test $# != 0; then
4792 # We chose a different compiler from the bogus one.
4793 # However, it has the same basename, so the bogon will be chosen
4794 # first if we set CC to just the basename; use the full file name.
4795 shift
4796 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4801 CC=$ac_cv_prog_CC
4802 if test -n "$CC"; then
4803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4804 printf "%s\n" "$CC" >&6; }
4805 else
4806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4807 printf "%s\n" "no" >&6; }
4812 if test -z "$CC"; then
4813 if test -n "$ac_tool_prefix"; then
4814 for ac_prog in cl.exe
4816 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4817 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4819 printf %s "checking for $ac_word... " >&6; }
4820 if test ${ac_cv_prog_CC+y}
4821 then :
4822 printf %s "(cached) " >&6
4823 else $as_nop
4824 if test -n "$CC"; then
4825 ac_cv_prog_CC="$CC" # Let the user override the test.
4826 else
4827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4828 for as_dir in $PATH
4830 IFS=$as_save_IFS
4831 case $as_dir in #(((
4832 '') as_dir=./ ;;
4833 */) ;;
4834 *) as_dir=$as_dir/ ;;
4835 esac
4836 for ac_exec_ext in '' $ac_executable_extensions; do
4837 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4838 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4839 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4840 break 2
4842 done
4843 done
4844 IFS=$as_save_IFS
4848 CC=$ac_cv_prog_CC
4849 if test -n "$CC"; then
4850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4851 printf "%s\n" "$CC" >&6; }
4852 else
4853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4854 printf "%s\n" "no" >&6; }
4858 test -n "$CC" && break
4859 done
4861 if test -z "$CC"; then
4862 ac_ct_CC=$CC
4863 for ac_prog in cl.exe
4865 # Extract the first word of "$ac_prog", so it can be a program name with args.
4866 set dummy $ac_prog; ac_word=$2
4867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4868 printf %s "checking for $ac_word... " >&6; }
4869 if test ${ac_cv_prog_ac_ct_CC+y}
4870 then :
4871 printf %s "(cached) " >&6
4872 else $as_nop
4873 if test -n "$ac_ct_CC"; then
4874 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4875 else
4876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4877 for as_dir in $PATH
4879 IFS=$as_save_IFS
4880 case $as_dir in #(((
4881 '') as_dir=./ ;;
4882 */) ;;
4883 *) as_dir=$as_dir/ ;;
4884 esac
4885 for ac_exec_ext in '' $ac_executable_extensions; do
4886 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4887 ac_cv_prog_ac_ct_CC="$ac_prog"
4888 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4889 break 2
4891 done
4892 done
4893 IFS=$as_save_IFS
4897 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4898 if test -n "$ac_ct_CC"; then
4899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4900 printf "%s\n" "$ac_ct_CC" >&6; }
4901 else
4902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4903 printf "%s\n" "no" >&6; }
4907 test -n "$ac_ct_CC" && break
4908 done
4910 if test "x$ac_ct_CC" = x; then
4911 CC=""
4912 else
4913 case $cross_compiling:$ac_tool_warned in
4914 yes:)
4915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4916 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4917 ac_tool_warned=yes ;;
4918 esac
4919 CC=$ac_ct_CC
4924 if test -z "$CC"; then
4925 if test -n "$ac_tool_prefix"; then
4926 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4927 set dummy ${ac_tool_prefix}clang; ac_word=$2
4928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4929 printf %s "checking for $ac_word... " >&6; }
4930 if test ${ac_cv_prog_CC+y}
4931 then :
4932 printf %s "(cached) " >&6
4933 else $as_nop
4934 if test -n "$CC"; then
4935 ac_cv_prog_CC="$CC" # Let the user override the test.
4936 else
4937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4938 for as_dir in $PATH
4940 IFS=$as_save_IFS
4941 case $as_dir in #(((
4942 '') as_dir=./ ;;
4943 */) ;;
4944 *) as_dir=$as_dir/ ;;
4945 esac
4946 for ac_exec_ext in '' $ac_executable_extensions; do
4947 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4948 ac_cv_prog_CC="${ac_tool_prefix}clang"
4949 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4950 break 2
4952 done
4953 done
4954 IFS=$as_save_IFS
4958 CC=$ac_cv_prog_CC
4959 if test -n "$CC"; then
4960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4961 printf "%s\n" "$CC" >&6; }
4962 else
4963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4964 printf "%s\n" "no" >&6; }
4969 if test -z "$ac_cv_prog_CC"; then
4970 ac_ct_CC=$CC
4971 # Extract the first word of "clang", so it can be a program name with args.
4972 set dummy clang; ac_word=$2
4973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 printf %s "checking for $ac_word... " >&6; }
4975 if test ${ac_cv_prog_ac_ct_CC+y}
4976 then :
4977 printf %s "(cached) " >&6
4978 else $as_nop
4979 if test -n "$ac_ct_CC"; then
4980 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4981 else
4982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4983 for as_dir in $PATH
4985 IFS=$as_save_IFS
4986 case $as_dir in #(((
4987 '') as_dir=./ ;;
4988 */) ;;
4989 *) as_dir=$as_dir/ ;;
4990 esac
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4992 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4993 ac_cv_prog_ac_ct_CC="clang"
4994 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4995 break 2
4997 done
4998 done
4999 IFS=$as_save_IFS
5003 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5004 if test -n "$ac_ct_CC"; then
5005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5006 printf "%s\n" "$ac_ct_CC" >&6; }
5007 else
5008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 printf "%s\n" "no" >&6; }
5012 if test "x$ac_ct_CC" = x; then
5013 CC=""
5014 else
5015 case $cross_compiling:$ac_tool_warned in
5016 yes:)
5017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5018 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5019 ac_tool_warned=yes ;;
5020 esac
5021 CC=$ac_ct_CC
5023 else
5024 CC="$ac_cv_prog_CC"
5030 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5031 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5032 as_fn_error $? "no acceptable C compiler found in \$PATH
5033 See \`config.log' for more details" "$LINENO" 5; }
5035 # Provide some information about the compiler.
5036 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5037 set X $ac_compile
5038 ac_compiler=$2
5039 for ac_option in --version -v -V -qversion -version; do
5040 { { ac_try="$ac_compiler $ac_option >&5"
5041 case "(($ac_try" in
5042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5043 *) ac_try_echo=$ac_try;;
5044 esac
5045 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5046 printf "%s\n" "$ac_try_echo"; } >&5
5047 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5048 ac_status=$?
5049 if test -s conftest.err; then
5050 sed '10a\
5051 ... rest of stderr output deleted ...
5052 10q' conftest.err >conftest.er1
5053 cat conftest.er1 >&5
5055 rm -f conftest.er1 conftest.err
5056 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5057 test $ac_status = 0; }
5058 done
5060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5061 /* end confdefs.h. */
5064 main (void)
5068 return 0;
5070 _ACEOF
5071 ac_clean_files_save=$ac_clean_files
5072 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5073 # Try to create an executable without -o first, disregard a.out.
5074 # It will help us diagnose broken compilers, and finding out an intuition
5075 # of exeext.
5076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5077 printf %s "checking whether the C compiler works... " >&6; }
5078 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5080 # The possible output files:
5081 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5083 ac_rmfiles=
5084 for ac_file in $ac_files
5086 case $ac_file in
5087 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5088 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5089 esac
5090 done
5091 rm -f $ac_rmfiles
5093 if { { ac_try="$ac_link_default"
5094 case "(($ac_try" in
5095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5096 *) ac_try_echo=$ac_try;;
5097 esac
5098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5099 printf "%s\n" "$ac_try_echo"; } >&5
5100 (eval "$ac_link_default") 2>&5
5101 ac_status=$?
5102 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5103 test $ac_status = 0; }
5104 then :
5105 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5106 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5107 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5108 # so that the user can short-circuit this test for compilers unknown to
5109 # Autoconf.
5110 for ac_file in $ac_files ''
5112 test -f "$ac_file" || continue
5113 case $ac_file in
5114 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5116 [ab].out )
5117 # We found the default executable, but exeext='' is most
5118 # certainly right.
5119 break;;
5120 *.* )
5121 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5122 then :; else
5123 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5125 # We set ac_cv_exeext here because the later test for it is not
5126 # safe: cross compilers may not add the suffix if given an `-o'
5127 # argument, so we may need to know it at that point already.
5128 # Even if this section looks crufty: it has the advantage of
5129 # actually working.
5130 break;;
5132 break;;
5133 esac
5134 done
5135 test "$ac_cv_exeext" = no && ac_cv_exeext=
5137 else $as_nop
5138 ac_file=''
5140 if test -z "$ac_file"
5141 then :
5142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5143 printf "%s\n" "no" >&6; }
5144 printf "%s\n" "$as_me: failed program was:" >&5
5145 sed 's/^/| /' conftest.$ac_ext >&5
5147 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5148 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5149 as_fn_error 77 "C compiler cannot create executables
5150 See \`config.log' for more details" "$LINENO" 5; }
5151 else $as_nop
5152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5153 printf "%s\n" "yes" >&6; }
5155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5156 printf %s "checking for C compiler default output file name... " >&6; }
5157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5158 printf "%s\n" "$ac_file" >&6; }
5159 ac_exeext=$ac_cv_exeext
5161 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5162 ac_clean_files=$ac_clean_files_save
5163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5164 printf %s "checking for suffix of executables... " >&6; }
5165 if { { ac_try="$ac_link"
5166 case "(($ac_try" in
5167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5168 *) ac_try_echo=$ac_try;;
5169 esac
5170 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5171 printf "%s\n" "$ac_try_echo"; } >&5
5172 (eval "$ac_link") 2>&5
5173 ac_status=$?
5174 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5175 test $ac_status = 0; }
5176 then :
5177 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5178 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5179 # work properly (i.e., refer to `conftest.exe'), while it won't with
5180 # `rm'.
5181 for ac_file in conftest.exe conftest conftest.*; do
5182 test -f "$ac_file" || continue
5183 case $ac_file in
5184 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5185 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5186 break;;
5187 * ) break;;
5188 esac
5189 done
5190 else $as_nop
5191 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5192 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5193 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5194 See \`config.log' for more details" "$LINENO" 5; }
5196 rm -f conftest conftest$ac_cv_exeext
5197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5198 printf "%s\n" "$ac_cv_exeext" >&6; }
5200 rm -f conftest.$ac_ext
5201 EXEEXT=$ac_cv_exeext
5202 ac_exeext=$EXEEXT
5203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5204 /* end confdefs.h. */
5205 #include <stdio.h>
5207 main (void)
5209 FILE *f = fopen ("conftest.out", "w");
5210 return ferror (f) || fclose (f) != 0;
5213 return 0;
5215 _ACEOF
5216 ac_clean_files="$ac_clean_files conftest.out"
5217 # Check that the compiler produces executables we can run. If not, either
5218 # the compiler is broken, or we cross compile.
5219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5220 printf %s "checking whether we are cross compiling... " >&6; }
5221 if test "$cross_compiling" != yes; then
5222 { { ac_try="$ac_link"
5223 case "(($ac_try" in
5224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5225 *) ac_try_echo=$ac_try;;
5226 esac
5227 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5228 printf "%s\n" "$ac_try_echo"; } >&5
5229 (eval "$ac_link") 2>&5
5230 ac_status=$?
5231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5232 test $ac_status = 0; }
5233 if { ac_try='./conftest$ac_cv_exeext'
5234 { { case "(($ac_try" in
5235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5236 *) ac_try_echo=$ac_try;;
5237 esac
5238 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5239 printf "%s\n" "$ac_try_echo"; } >&5
5240 (eval "$ac_try") 2>&5
5241 ac_status=$?
5242 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5243 test $ac_status = 0; }; }; then
5244 cross_compiling=no
5245 else
5246 if test "$cross_compiling" = maybe; then
5247 cross_compiling=yes
5248 else
5249 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5250 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5251 as_fn_error 77 "cannot run C compiled programs.
5252 If you meant to cross compile, use \`--host'.
5253 See \`config.log' for more details" "$LINENO" 5; }
5257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5258 printf "%s\n" "$cross_compiling" >&6; }
5260 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5261 ac_clean_files=$ac_clean_files_save
5262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5263 printf %s "checking for suffix of object files... " >&6; }
5264 if test ${ac_cv_objext+y}
5265 then :
5266 printf %s "(cached) " >&6
5267 else $as_nop
5268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5269 /* end confdefs.h. */
5272 main (void)
5276 return 0;
5278 _ACEOF
5279 rm -f conftest.o conftest.obj
5280 if { { ac_try="$ac_compile"
5281 case "(($ac_try" in
5282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5283 *) ac_try_echo=$ac_try;;
5284 esac
5285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5286 printf "%s\n" "$ac_try_echo"; } >&5
5287 (eval "$ac_compile") 2>&5
5288 ac_status=$?
5289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5290 test $ac_status = 0; }
5291 then :
5292 for ac_file in conftest.o conftest.obj conftest.*; do
5293 test -f "$ac_file" || continue;
5294 case $ac_file in
5295 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5296 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5297 break;;
5298 esac
5299 done
5300 else $as_nop
5301 printf "%s\n" "$as_me: failed program was:" >&5
5302 sed 's/^/| /' conftest.$ac_ext >&5
5304 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5305 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5306 as_fn_error $? "cannot compute suffix of object files: cannot compile
5307 See \`config.log' for more details" "$LINENO" 5; }
5309 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5312 printf "%s\n" "$ac_cv_objext" >&6; }
5313 OBJEXT=$ac_cv_objext
5314 ac_objext=$OBJEXT
5315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5316 printf %s "checking whether the compiler supports GNU C... " >&6; }
5317 if test ${ac_cv_c_compiler_gnu+y}
5318 then :
5319 printf %s "(cached) " >&6
5320 else $as_nop
5321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5322 /* end confdefs.h. */
5325 main (void)
5327 #ifndef __GNUC__
5328 choke me
5329 #endif
5332 return 0;
5334 _ACEOF
5335 if ac_fn_c_try_compile "$LINENO"
5336 then :
5337 ac_compiler_gnu=yes
5338 else $as_nop
5339 ac_compiler_gnu=no
5341 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5342 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5346 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5349 if test $ac_compiler_gnu = yes; then
5350 GCC=yes
5351 else
5352 GCC=
5354 ac_test_CFLAGS=${CFLAGS+y}
5355 ac_save_CFLAGS=$CFLAGS
5356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5357 printf %s "checking whether $CC accepts -g... " >&6; }
5358 if test ${ac_cv_prog_cc_g+y}
5359 then :
5360 printf %s "(cached) " >&6
5361 else $as_nop
5362 ac_save_c_werror_flag=$ac_c_werror_flag
5363 ac_c_werror_flag=yes
5364 ac_cv_prog_cc_g=no
5365 CFLAGS="-g"
5366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5367 /* end confdefs.h. */
5370 main (void)
5374 return 0;
5376 _ACEOF
5377 if ac_fn_c_try_compile "$LINENO"
5378 then :
5379 ac_cv_prog_cc_g=yes
5380 else $as_nop
5381 CFLAGS=""
5382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5383 /* end confdefs.h. */
5386 main (void)
5390 return 0;
5392 _ACEOF
5393 if ac_fn_c_try_compile "$LINENO"
5394 then :
5396 else $as_nop
5397 ac_c_werror_flag=$ac_save_c_werror_flag
5398 CFLAGS="-g"
5399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5400 /* end confdefs.h. */
5403 main (void)
5407 return 0;
5409 _ACEOF
5410 if ac_fn_c_try_compile "$LINENO"
5411 then :
5412 ac_cv_prog_cc_g=yes
5414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5416 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5418 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5419 ac_c_werror_flag=$ac_save_c_werror_flag
5421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5422 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5423 if test $ac_test_CFLAGS; then
5424 CFLAGS=$ac_save_CFLAGS
5425 elif test $ac_cv_prog_cc_g = yes; then
5426 if test "$GCC" = yes; then
5427 CFLAGS="-g -O2"
5428 else
5429 CFLAGS="-g"
5431 else
5432 if test "$GCC" = yes; then
5433 CFLAGS="-O2"
5434 else
5435 CFLAGS=
5438 ac_prog_cc_stdc=no
5439 if test x$ac_prog_cc_stdc = xno
5440 then :
5441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5442 printf %s "checking for $CC option to enable C11 features... " >&6; }
5443 if test ${ac_cv_prog_cc_c11+y}
5444 then :
5445 printf %s "(cached) " >&6
5446 else $as_nop
5447 ac_cv_prog_cc_c11=no
5448 ac_save_CC=$CC
5449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5450 /* end confdefs.h. */
5451 $ac_c_conftest_c11_program
5452 _ACEOF
5453 for ac_arg in '' -std=gnu11
5455 CC="$ac_save_CC $ac_arg"
5456 if ac_fn_c_try_compile "$LINENO"
5457 then :
5458 ac_cv_prog_cc_c11=$ac_arg
5460 rm -f core conftest.err conftest.$ac_objext conftest.beam
5461 test "x$ac_cv_prog_cc_c11" != "xno" && break
5462 done
5463 rm -f conftest.$ac_ext
5464 CC=$ac_save_CC
5467 if test "x$ac_cv_prog_cc_c11" = xno
5468 then :
5469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5470 printf "%s\n" "unsupported" >&6; }
5471 else $as_nop
5472 if test "x$ac_cv_prog_cc_c11" = x
5473 then :
5474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5475 printf "%s\n" "none needed" >&6; }
5476 else $as_nop
5477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5478 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5479 CC="$CC $ac_cv_prog_cc_c11"
5481 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5482 ac_prog_cc_stdc=c11
5485 if test x$ac_prog_cc_stdc = xno
5486 then :
5487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5488 printf %s "checking for $CC option to enable C99 features... " >&6; }
5489 if test ${ac_cv_prog_cc_c99+y}
5490 then :
5491 printf %s "(cached) " >&6
5492 else $as_nop
5493 ac_cv_prog_cc_c99=no
5494 ac_save_CC=$CC
5495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5496 /* end confdefs.h. */
5497 $ac_c_conftest_c99_program
5498 _ACEOF
5499 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5501 CC="$ac_save_CC $ac_arg"
5502 if ac_fn_c_try_compile "$LINENO"
5503 then :
5504 ac_cv_prog_cc_c99=$ac_arg
5506 rm -f core conftest.err conftest.$ac_objext conftest.beam
5507 test "x$ac_cv_prog_cc_c99" != "xno" && break
5508 done
5509 rm -f conftest.$ac_ext
5510 CC=$ac_save_CC
5513 if test "x$ac_cv_prog_cc_c99" = xno
5514 then :
5515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5516 printf "%s\n" "unsupported" >&6; }
5517 else $as_nop
5518 if test "x$ac_cv_prog_cc_c99" = x
5519 then :
5520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5521 printf "%s\n" "none needed" >&6; }
5522 else $as_nop
5523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5524 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5525 CC="$CC $ac_cv_prog_cc_c99"
5527 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5528 ac_prog_cc_stdc=c99
5531 if test x$ac_prog_cc_stdc = xno
5532 then :
5533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5534 printf %s "checking for $CC option to enable C89 features... " >&6; }
5535 if test ${ac_cv_prog_cc_c89+y}
5536 then :
5537 printf %s "(cached) " >&6
5538 else $as_nop
5539 ac_cv_prog_cc_c89=no
5540 ac_save_CC=$CC
5541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5542 /* end confdefs.h. */
5543 $ac_c_conftest_c89_program
5544 _ACEOF
5545 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5547 CC="$ac_save_CC $ac_arg"
5548 if ac_fn_c_try_compile "$LINENO"
5549 then :
5550 ac_cv_prog_cc_c89=$ac_arg
5552 rm -f core conftest.err conftest.$ac_objext conftest.beam
5553 test "x$ac_cv_prog_cc_c89" != "xno" && break
5554 done
5555 rm -f conftest.$ac_ext
5556 CC=$ac_save_CC
5559 if test "x$ac_cv_prog_cc_c89" = xno
5560 then :
5561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5562 printf "%s\n" "unsupported" >&6; }
5563 else $as_nop
5564 if test "x$ac_cv_prog_cc_c89" = x
5565 then :
5566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5567 printf "%s\n" "none needed" >&6; }
5568 else $as_nop
5569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5570 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5571 CC="$CC $ac_cv_prog_cc_c89"
5573 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5574 ac_prog_cc_stdc=c89
5578 ac_ext=c
5579 ac_cpp='$CPP $CPPFLAGS'
5580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5590 ac_ext=cpp
5591 ac_cpp='$CXXCPP $CPPFLAGS'
5592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5595 if test -z "$CXX"; then
5596 if test -n "$CCC"; then
5597 CXX=$CCC
5598 else
5599 if test -n "$ac_tool_prefix"; then
5600 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5602 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5603 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5605 printf %s "checking for $ac_word... " >&6; }
5606 if test ${ac_cv_prog_CXX+y}
5607 then :
5608 printf %s "(cached) " >&6
5609 else $as_nop
5610 if test -n "$CXX"; then
5611 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5612 else
5613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5614 for as_dir in $PATH
5616 IFS=$as_save_IFS
5617 case $as_dir in #(((
5618 '') as_dir=./ ;;
5619 */) ;;
5620 *) as_dir=$as_dir/ ;;
5621 esac
5622 for ac_exec_ext in '' $ac_executable_extensions; do
5623 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5624 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5625 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5626 break 2
5628 done
5629 done
5630 IFS=$as_save_IFS
5634 CXX=$ac_cv_prog_CXX
5635 if test -n "$CXX"; then
5636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5637 printf "%s\n" "$CXX" >&6; }
5638 else
5639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5640 printf "%s\n" "no" >&6; }
5644 test -n "$CXX" && break
5645 done
5647 if test -z "$CXX"; then
5648 ac_ct_CXX=$CXX
5649 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5651 # Extract the first word of "$ac_prog", so it can be a program name with args.
5652 set dummy $ac_prog; ac_word=$2
5653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5654 printf %s "checking for $ac_word... " >&6; }
5655 if test ${ac_cv_prog_ac_ct_CXX+y}
5656 then :
5657 printf %s "(cached) " >&6
5658 else $as_nop
5659 if test -n "$ac_ct_CXX"; then
5660 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5661 else
5662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5663 for as_dir in $PATH
5665 IFS=$as_save_IFS
5666 case $as_dir in #(((
5667 '') as_dir=./ ;;
5668 */) ;;
5669 *) as_dir=$as_dir/ ;;
5670 esac
5671 for ac_exec_ext in '' $ac_executable_extensions; do
5672 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5673 ac_cv_prog_ac_ct_CXX="$ac_prog"
5674 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5675 break 2
5677 done
5678 done
5679 IFS=$as_save_IFS
5683 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5684 if test -n "$ac_ct_CXX"; then
5685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5686 printf "%s\n" "$ac_ct_CXX" >&6; }
5687 else
5688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5689 printf "%s\n" "no" >&6; }
5693 test -n "$ac_ct_CXX" && break
5694 done
5696 if test "x$ac_ct_CXX" = x; then
5697 CXX="g++"
5698 else
5699 case $cross_compiling:$ac_tool_warned in
5700 yes:)
5701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5702 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5703 ac_tool_warned=yes ;;
5704 esac
5705 CXX=$ac_ct_CXX
5711 # Provide some information about the compiler.
5712 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5713 set X $ac_compile
5714 ac_compiler=$2
5715 for ac_option in --version -v -V -qversion; do
5716 { { ac_try="$ac_compiler $ac_option >&5"
5717 case "(($ac_try" in
5718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5719 *) ac_try_echo=$ac_try;;
5720 esac
5721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5722 printf "%s\n" "$ac_try_echo"; } >&5
5723 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5724 ac_status=$?
5725 if test -s conftest.err; then
5726 sed '10a\
5727 ... rest of stderr output deleted ...
5728 10q' conftest.err >conftest.er1
5729 cat conftest.er1 >&5
5731 rm -f conftest.er1 conftest.err
5732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5733 test $ac_status = 0; }
5734 done
5736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5737 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5738 if test ${ac_cv_cxx_compiler_gnu+y}
5739 then :
5740 printf %s "(cached) " >&6
5741 else $as_nop
5742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5743 /* end confdefs.h. */
5746 main (void)
5748 #ifndef __GNUC__
5749 choke me
5750 #endif
5753 return 0;
5755 _ACEOF
5756 if ac_fn_cxx_try_compile "$LINENO"
5757 then :
5758 ac_compiler_gnu=yes
5759 else $as_nop
5760 ac_compiler_gnu=no
5762 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5763 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5767 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5770 if test $ac_compiler_gnu = yes; then
5771 GXX=yes
5772 else
5773 GXX=
5775 ac_test_CXXFLAGS=${CXXFLAGS+y}
5776 ac_save_CXXFLAGS=$CXXFLAGS
5777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5778 printf %s "checking whether $CXX accepts -g... " >&6; }
5779 if test ${ac_cv_prog_cxx_g+y}
5780 then :
5781 printf %s "(cached) " >&6
5782 else $as_nop
5783 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5784 ac_cxx_werror_flag=yes
5785 ac_cv_prog_cxx_g=no
5786 CXXFLAGS="-g"
5787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5788 /* end confdefs.h. */
5791 main (void)
5795 return 0;
5797 _ACEOF
5798 if ac_fn_cxx_try_compile "$LINENO"
5799 then :
5800 ac_cv_prog_cxx_g=yes
5801 else $as_nop
5802 CXXFLAGS=""
5803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5804 /* end confdefs.h. */
5807 main (void)
5811 return 0;
5813 _ACEOF
5814 if ac_fn_cxx_try_compile "$LINENO"
5815 then :
5817 else $as_nop
5818 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5819 CXXFLAGS="-g"
5820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5821 /* end confdefs.h. */
5824 main (void)
5828 return 0;
5830 _ACEOF
5831 if ac_fn_cxx_try_compile "$LINENO"
5832 then :
5833 ac_cv_prog_cxx_g=yes
5835 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5837 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5839 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5840 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5843 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5844 if test $ac_test_CXXFLAGS; then
5845 CXXFLAGS=$ac_save_CXXFLAGS
5846 elif test $ac_cv_prog_cxx_g = yes; then
5847 if test "$GXX" = yes; then
5848 CXXFLAGS="-g -O2"
5849 else
5850 CXXFLAGS="-g"
5852 else
5853 if test "$GXX" = yes; then
5854 CXXFLAGS="-O2"
5855 else
5856 CXXFLAGS=
5859 ac_prog_cxx_stdcxx=no
5860 if test x$ac_prog_cxx_stdcxx = xno
5861 then :
5862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5863 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5864 if test ${ac_cv_prog_cxx_11+y}
5865 then :
5866 printf %s "(cached) " >&6
5867 else $as_nop
5868 ac_cv_prog_cxx_11=no
5869 ac_save_CXX=$CXX
5870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5871 /* end confdefs.h. */
5872 $ac_cxx_conftest_cxx11_program
5873 _ACEOF
5874 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5876 CXX="$ac_save_CXX $ac_arg"
5877 if ac_fn_cxx_try_compile "$LINENO"
5878 then :
5879 ac_cv_prog_cxx_cxx11=$ac_arg
5881 rm -f core conftest.err conftest.$ac_objext conftest.beam
5882 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5883 done
5884 rm -f conftest.$ac_ext
5885 CXX=$ac_save_CXX
5888 if test "x$ac_cv_prog_cxx_cxx11" = xno
5889 then :
5890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5891 printf "%s\n" "unsupported" >&6; }
5892 else $as_nop
5893 if test "x$ac_cv_prog_cxx_cxx11" = x
5894 then :
5895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5896 printf "%s\n" "none needed" >&6; }
5897 else $as_nop
5898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5899 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5900 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5902 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5903 ac_prog_cxx_stdcxx=cxx11
5906 if test x$ac_prog_cxx_stdcxx = xno
5907 then :
5908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5909 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5910 if test ${ac_cv_prog_cxx_98+y}
5911 then :
5912 printf %s "(cached) " >&6
5913 else $as_nop
5914 ac_cv_prog_cxx_98=no
5915 ac_save_CXX=$CXX
5916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5917 /* end confdefs.h. */
5918 $ac_cxx_conftest_cxx98_program
5919 _ACEOF
5920 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5922 CXX="$ac_save_CXX $ac_arg"
5923 if ac_fn_cxx_try_compile "$LINENO"
5924 then :
5925 ac_cv_prog_cxx_cxx98=$ac_arg
5927 rm -f core conftest.err conftest.$ac_objext conftest.beam
5928 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5929 done
5930 rm -f conftest.$ac_ext
5931 CXX=$ac_save_CXX
5934 if test "x$ac_cv_prog_cxx_cxx98" = xno
5935 then :
5936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5937 printf "%s\n" "unsupported" >&6; }
5938 else $as_nop
5939 if test "x$ac_cv_prog_cxx_cxx98" = x
5940 then :
5941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5942 printf "%s\n" "none needed" >&6; }
5943 else $as_nop
5944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5945 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5946 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5948 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5949 ac_prog_cxx_stdcxx=cxx98
5953 ac_ext=c
5954 ac_cpp='$CPP $CPPFLAGS'
5955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5959 if test -n "$ac_tool_prefix"; then
5960 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5961 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5963 printf %s "checking for $ac_word... " >&6; }
5964 if test ${ac_cv_prog_CPPBIN+y}
5965 then :
5966 printf %s "(cached) " >&6
5967 else $as_nop
5968 if test -n "$CPPBIN"; then
5969 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5970 else
5971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5972 for as_dir in $PATH
5974 IFS=$as_save_IFS
5975 case $as_dir in #(((
5976 '') as_dir=./ ;;
5977 */) ;;
5978 *) as_dir=$as_dir/ ;;
5979 esac
5980 for ac_exec_ext in '' $ac_executable_extensions; do
5981 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5982 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5983 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5984 break 2
5986 done
5987 done
5988 IFS=$as_save_IFS
5992 CPPBIN=$ac_cv_prog_CPPBIN
5993 if test -n "$CPPBIN"; then
5994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5995 printf "%s\n" "$CPPBIN" >&6; }
5996 else
5997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5998 printf "%s\n" "no" >&6; }
6003 if test -z "$ac_cv_prog_CPPBIN"; then
6004 ac_ct_CPPBIN=$CPPBIN
6005 # Extract the first word of "cpp", so it can be a program name with args.
6006 set dummy cpp; ac_word=$2
6007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6008 printf %s "checking for $ac_word... " >&6; }
6009 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6010 then :
6011 printf %s "(cached) " >&6
6012 else $as_nop
6013 if test -n "$ac_ct_CPPBIN"; then
6014 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6015 else
6016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6017 for as_dir in $PATH
6019 IFS=$as_save_IFS
6020 case $as_dir in #(((
6021 '') as_dir=./ ;;
6022 */) ;;
6023 *) as_dir=$as_dir/ ;;
6024 esac
6025 for ac_exec_ext in '' $ac_executable_extensions; do
6026 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6027 ac_cv_prog_ac_ct_CPPBIN="cpp"
6028 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6029 break 2
6031 done
6032 done
6033 IFS=$as_save_IFS
6037 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6038 if test -n "$ac_ct_CPPBIN"; then
6039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6040 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6041 else
6042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6043 printf "%s\n" "no" >&6; }
6046 if test "x$ac_ct_CPPBIN" = x; then
6047 CPPBIN="cpp"
6048 else
6049 case $cross_compiling:$ac_tool_warned in
6050 yes:)
6051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6052 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6053 ac_tool_warned=yes ;;
6054 esac
6055 CPPBIN=$ac_ct_CPPBIN
6057 else
6058 CPPBIN="$ac_cv_prog_CPPBIN"
6062 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6064 if test -n "$ac_tool_prefix"; then
6065 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6066 set dummy ${ac_tool_prefix}ld; ac_word=$2
6067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6068 printf %s "checking for $ac_word... " >&6; }
6069 if test ${ac_cv_prog_LD+y}
6070 then :
6071 printf %s "(cached) " >&6
6072 else $as_nop
6073 if test -n "$LD"; then
6074 ac_cv_prog_LD="$LD" # Let the user override the test.
6075 else
6076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6077 for as_dir in $PATH
6079 IFS=$as_save_IFS
6080 case $as_dir in #(((
6081 '') as_dir=./ ;;
6082 */) ;;
6083 *) as_dir=$as_dir/ ;;
6084 esac
6085 for ac_exec_ext in '' $ac_executable_extensions; do
6086 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6087 ac_cv_prog_LD="${ac_tool_prefix}ld"
6088 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6089 break 2
6091 done
6092 done
6093 IFS=$as_save_IFS
6097 LD=$ac_cv_prog_LD
6098 if test -n "$LD"; then
6099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6100 printf "%s\n" "$LD" >&6; }
6101 else
6102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6103 printf "%s\n" "no" >&6; }
6108 if test -z "$ac_cv_prog_LD"; then
6109 ac_ct_LD=$LD
6110 # Extract the first word of "ld", so it can be a program name with args.
6111 set dummy ld; ac_word=$2
6112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6113 printf %s "checking for $ac_word... " >&6; }
6114 if test ${ac_cv_prog_ac_ct_LD+y}
6115 then :
6116 printf %s "(cached) " >&6
6117 else $as_nop
6118 if test -n "$ac_ct_LD"; then
6119 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6120 else
6121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6122 for as_dir in $PATH
6124 IFS=$as_save_IFS
6125 case $as_dir in #(((
6126 '') as_dir=./ ;;
6127 */) ;;
6128 *) as_dir=$as_dir/ ;;
6129 esac
6130 for ac_exec_ext in '' $ac_executable_extensions; do
6131 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6132 ac_cv_prog_ac_ct_LD="ld"
6133 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6134 break 2
6136 done
6137 done
6138 IFS=$as_save_IFS
6142 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6143 if test -n "$ac_ct_LD"; then
6144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6145 printf "%s\n" "$ac_ct_LD" >&6; }
6146 else
6147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6148 printf "%s\n" "no" >&6; }
6151 if test "x$ac_ct_LD" = x; then
6152 LD=""
6153 else
6154 case $cross_compiling:$ac_tool_warned in
6155 yes:)
6156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6157 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6158 ac_tool_warned=yes ;;
6159 esac
6160 LD=$ac_ct_LD
6162 else
6163 LD="$ac_cv_prog_LD"
6167 case $host in
6168 *-darwin*)
6169 with_fontconfig=${with_fontconfig:-no}
6171 *-mingw32*|*-cygwin*)
6172 enable_win16=${enable_win16:-no}
6173 with_mingw=${with_mingw:-no}
6175 esac
6178 case $host in
6179 x86_64*|amd64*)
6180 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6181 then
6182 CC="$CC -m32"
6183 CXX="$CXX -m32"
6185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6186 printf %s "checking whether $CC works... " >&6; }
6187 if test ${wine_cv_cc_m32+y}
6188 then :
6189 printf %s "(cached) " >&6
6190 else $as_nop
6191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6192 /* end confdefs.h. */
6195 main (void)
6199 return 0;
6201 _ACEOF
6202 if ac_fn_c_try_link "$LINENO"
6203 then :
6204 wine_cv_cc_m32=yes
6205 else $as_nop
6206 wine_cv_cc_m32=no
6208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6209 conftest$ac_exeext conftest.$ac_ext
6211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6212 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6213 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
6214 host_cpu="i386"
6215 notice_platform="32-bit "
6216 TARGETFLAGS="$TARGETFLAGS -m32"
6217 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6218 export PKG_CONFIG_LIBDIR
6219 with_unwind=${with_unwind:-no}
6220 else
6221 if test "x${GCC}" = "xyes"
6222 then
6223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6224 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6225 if test ${wine_cv_builtin_ms_va_list+y}
6226 then :
6227 printf %s "(cached) " >&6
6228 else $as_nop
6229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6230 /* end confdefs.h. */
6231 #include <stdarg.h>
6233 main (void)
6235 void func(__builtin_ms_va_list *args);
6237 return 0;
6239 _ACEOF
6240 if ac_fn_c_try_compile "$LINENO"
6241 then :
6242 wine_cv_builtin_ms_va_list=yes
6243 else $as_nop
6244 wine_cv_builtin_ms_va_list=no
6246 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6249 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6250 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
6252 CC="$CC -m64"
6253 CXX="$CXX -m64"
6254 host_cpu="x86_64"
6255 notice_platform="64-bit "
6256 TARGETFLAGS="$TARGETFLAGS -m64"
6259 arm*)
6260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6261 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6262 if test ${wine_cv_thumb2+y}
6263 then :
6264 printf %s "(cached) " >&6
6265 else $as_nop
6266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6267 /* end confdefs.h. */
6270 main (void)
6272 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6274 return 0;
6276 _ACEOF
6277 if ac_fn_c_try_link "$LINENO"
6278 then :
6279 wine_cv_thumb2=yes
6280 else $as_nop
6281 wine_cv_thumb2=no
6283 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6284 conftest$ac_exeext conftest.$ac_ext
6286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6287 printf "%s\n" "$wine_cv_thumb2" >&6; }
6288 if test x"$wine_cv_thumb2" = xyes
6289 then
6290 CFLAGS="$CFLAGS -mthumb"
6291 TARGETFLAGS="$TARGETFLAGS -mthumb"
6292 else
6293 CFLAGS="$CFLAGS -marm"
6294 TARGETFLAGS="$TARGETFLAGS -marm"
6296 case $with_float_abi in
6297 soft|softfp|hard)
6298 float_abi=$with_float_abi ;;
6300 case $host_os in
6301 *eabihf)
6302 float_abi=hard ;;
6304 float_abi=softfp
6305 saved_CFLAGS=$CFLAGS
6306 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6308 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6309 if test ${wine_cv_float_abi+y}
6310 then :
6311 printf %s "(cached) " >&6
6312 else $as_nop
6313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6314 /* end confdefs.h. */
6317 main (void)
6319 asm("vmrs r2,fpscr");
6321 return 0;
6323 _ACEOF
6324 if ac_fn_c_try_link "$LINENO"
6325 then :
6326 wine_cv_float_abi=yes
6327 else $as_nop
6328 wine_cv_float_abi=no
6330 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6331 conftest$ac_exeext conftest.$ac_ext
6333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6334 printf "%s\n" "$wine_cv_float_abi" >&6; }
6335 if test $wine_cv_float_abi = no
6336 then
6337 float_abi=soft
6338 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6340 CFLAGS=$saved_CFLAGS
6341 esac
6343 esac
6344 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6345 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6347 i[3456789]86*)
6348 with_unwind=${with_unwind:-no}
6350 esac
6352 enable_win16=${enable_win16:-i386}
6353 enable_win64=${enable_win64:-no}
6354 enable_wow64=${enable_wow64:-aarch64,x86_64}
6355 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6356 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6358 enable_winetest=${enable_winetest:-$enable_tests}
6360 if test "x$enable_win64" = "xyes"
6361 then
6362 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6363 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6366 case $build_os in
6367 cygwin*|mingw32*) toolsext=".exe"
6369 *) toolsext=""
6371 esac
6373 HOST_ARCH=unknown
6374 case "$host_cpu" in
6375 aarch64*) HOST_ARCH=aarch64 ;;
6376 arm*) HOST_ARCH=arm ;;
6377 i[3456789]86*) HOST_ARCH=i386 ;;
6378 x86_64) HOST_ARCH=x86_64 ;;
6379 esac
6382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6383 printf %s "checking for the directory containing the Wine tools... " >&6; }
6384 if test ${wine_cv_toolsdir+y}
6385 then :
6386 printf %s "(cached) " >&6
6387 else $as_nop
6388 wine_cv_toolsdir="$with_wine_tools"
6389 if test -z "$with_wine_tools"; then
6390 if test "$cross_compiling" = "yes"; then
6391 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6392 elif test -n "$with_wine64"; then
6393 wine_cv_toolsdir="$with_wine64"
6397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6398 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6399 if test -z "$wine_cv_toolsdir"; then
6400 wine_makedep=tools/makedep$toolsext
6401 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6402 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6403 enable_tools=${enable_tools:-no}
6404 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6405 else
6406 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6408 toolsdir=$wine_cv_toolsdir
6410 MAKEDEP=$wine_makedep
6412 RUNTESTFLAGS="-q -P wine"
6414 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'"
6417 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6418 then
6419 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6422 for ac_prog in flex
6424 # Extract the first word of "$ac_prog", so it can be a program name with args.
6425 set dummy $ac_prog; ac_word=$2
6426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6427 printf %s "checking for $ac_word... " >&6; }
6428 if test ${ac_cv_prog_FLEX+y}
6429 then :
6430 printf %s "(cached) " >&6
6431 else $as_nop
6432 if test -n "$FLEX"; then
6433 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6434 else
6435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6436 for as_dir in $PATH
6438 IFS=$as_save_IFS
6439 case $as_dir in #(((
6440 '') as_dir=./ ;;
6441 */) ;;
6442 *) as_dir=$as_dir/ ;;
6443 esac
6444 for ac_exec_ext in '' $ac_executable_extensions; do
6445 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6446 ac_cv_prog_FLEX="$ac_prog"
6447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6448 break 2
6450 done
6451 done
6452 IFS=$as_save_IFS
6456 FLEX=$ac_cv_prog_FLEX
6457 if test -n "$FLEX"; then
6458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6459 printf "%s\n" "$FLEX" >&6; }
6460 else
6461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6462 printf "%s\n" "no" >&6; }
6466 test -n "$FLEX" && break
6467 done
6468 test -n "$FLEX" || FLEX="none"
6470 if test "$FLEX" = "none"
6471 then
6472 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6475 printf %s "checking whether flex is recent enough... " >&6; }
6476 if test ${wine_cv_recent_flex+y}
6477 then :
6478 printf %s "(cached) " >&6
6479 else $as_nop
6480 cat >conftest.l <<EOF
6481 %top{
6482 #include "prediluvian.h"
6486 if $FLEX -t conftest.l >/dev/null 2>&5
6487 then
6488 wine_cv_recent_flex=yes
6489 else
6490 wine_cv_recent_flex=no
6493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6494 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6495 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
6497 for ac_prog in bison
6499 # Extract the first word of "$ac_prog", so it can be a program name with args.
6500 set dummy $ac_prog; ac_word=$2
6501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6502 printf %s "checking for $ac_word... " >&6; }
6503 if test ${ac_cv_prog_BISON+y}
6504 then :
6505 printf %s "(cached) " >&6
6506 else $as_nop
6507 if test -n "$BISON"; then
6508 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6509 else
6510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6511 for as_dir in $PATH
6513 IFS=$as_save_IFS
6514 case $as_dir in #(((
6515 '') as_dir=./ ;;
6516 */) ;;
6517 *) as_dir=$as_dir/ ;;
6518 esac
6519 for ac_exec_ext in '' $ac_executable_extensions; do
6520 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6521 ac_cv_prog_BISON="$ac_prog"
6522 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6523 break 2
6525 done
6526 done
6527 IFS=$as_save_IFS
6531 BISON=$ac_cv_prog_BISON
6532 if test -n "$BISON"; then
6533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6534 printf "%s\n" "$BISON" >&6; }
6535 else
6536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6537 printf "%s\n" "no" >&6; }
6541 test -n "$BISON" && break
6542 done
6543 test -n "$BISON" || BISON="none"
6545 if test "$BISON" = "none"
6546 then
6547 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6550 printf %s "checking whether bison is recent enough... " >&6; }
6551 if test ${wine_cv_recent_bison+y}
6552 then :
6553 printf %s "(cached) " >&6
6554 else $as_nop
6555 cat >conftest.y <<EOF
6556 %define parse.error verbose
6558 empty: ;
6560 if $BISON conftest.y >/dev/null 2>&5
6561 then
6562 wine_cv_recent_bison=yes
6563 else
6564 wine_cv_recent_bison=no
6567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6568 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6569 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
6571 if test -n "$ac_tool_prefix"; then
6572 for ac_prog in ar gar
6574 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6575 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6577 printf %s "checking for $ac_word... " >&6; }
6578 if test ${ac_cv_prog_AR+y}
6579 then :
6580 printf %s "(cached) " >&6
6581 else $as_nop
6582 if test -n "$AR"; then
6583 ac_cv_prog_AR="$AR" # Let the user override the test.
6584 else
6585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6586 for as_dir in $PATH
6588 IFS=$as_save_IFS
6589 case $as_dir in #(((
6590 '') as_dir=./ ;;
6591 */) ;;
6592 *) as_dir=$as_dir/ ;;
6593 esac
6594 for ac_exec_ext in '' $ac_executable_extensions; do
6595 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6596 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6597 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6598 break 2
6600 done
6601 done
6602 IFS=$as_save_IFS
6606 AR=$ac_cv_prog_AR
6607 if test -n "$AR"; then
6608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6609 printf "%s\n" "$AR" >&6; }
6610 else
6611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6612 printf "%s\n" "no" >&6; }
6616 test -n "$AR" && break
6617 done
6619 if test -z "$AR"; then
6620 ac_ct_AR=$AR
6621 for ac_prog in ar gar
6623 # Extract the first word of "$ac_prog", so it can be a program name with args.
6624 set dummy $ac_prog; ac_word=$2
6625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6626 printf %s "checking for $ac_word... " >&6; }
6627 if test ${ac_cv_prog_ac_ct_AR+y}
6628 then :
6629 printf %s "(cached) " >&6
6630 else $as_nop
6631 if test -n "$ac_ct_AR"; then
6632 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6633 else
6634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6635 for as_dir in $PATH
6637 IFS=$as_save_IFS
6638 case $as_dir in #(((
6639 '') as_dir=./ ;;
6640 */) ;;
6641 *) as_dir=$as_dir/ ;;
6642 esac
6643 for ac_exec_ext in '' $ac_executable_extensions; do
6644 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6645 ac_cv_prog_ac_ct_AR="$ac_prog"
6646 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6647 break 2
6649 done
6650 done
6651 IFS=$as_save_IFS
6655 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6656 if test -n "$ac_ct_AR"; then
6657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6658 printf "%s\n" "$ac_ct_AR" >&6; }
6659 else
6660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6661 printf "%s\n" "no" >&6; }
6665 test -n "$ac_ct_AR" && break
6666 done
6668 if test "x$ac_ct_AR" = x; then
6669 AR="ar"
6670 else
6671 case $cross_compiling:$ac_tool_warned in
6672 yes:)
6673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6674 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6675 ac_tool_warned=yes ;;
6676 esac
6677 AR=$ac_ct_AR
6681 if test -n "$ac_tool_prefix"; then
6682 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6683 set dummy ${ac_tool_prefix}strip; ac_word=$2
6684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6685 printf %s "checking for $ac_word... " >&6; }
6686 if test ${ac_cv_prog_STRIP+y}
6687 then :
6688 printf %s "(cached) " >&6
6689 else $as_nop
6690 if test -n "$STRIP"; then
6691 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6692 else
6693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6694 for as_dir in $PATH
6696 IFS=$as_save_IFS
6697 case $as_dir in #(((
6698 '') as_dir=./ ;;
6699 */) ;;
6700 *) as_dir=$as_dir/ ;;
6701 esac
6702 for ac_exec_ext in '' $ac_executable_extensions; do
6703 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6704 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6705 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6706 break 2
6708 done
6709 done
6710 IFS=$as_save_IFS
6714 STRIP=$ac_cv_prog_STRIP
6715 if test -n "$STRIP"; then
6716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6717 printf "%s\n" "$STRIP" >&6; }
6718 else
6719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6720 printf "%s\n" "no" >&6; }
6725 if test -z "$ac_cv_prog_STRIP"; then
6726 ac_ct_STRIP=$STRIP
6727 # Extract the first word of "strip", so it can be a program name with args.
6728 set dummy strip; ac_word=$2
6729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6730 printf %s "checking for $ac_word... " >&6; }
6731 if test ${ac_cv_prog_ac_ct_STRIP+y}
6732 then :
6733 printf %s "(cached) " >&6
6734 else $as_nop
6735 if test -n "$ac_ct_STRIP"; then
6736 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6737 else
6738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6739 for as_dir in $PATH
6741 IFS=$as_save_IFS
6742 case $as_dir in #(((
6743 '') as_dir=./ ;;
6744 */) ;;
6745 *) as_dir=$as_dir/ ;;
6746 esac
6747 for ac_exec_ext in '' $ac_executable_extensions; do
6748 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6749 ac_cv_prog_ac_ct_STRIP="strip"
6750 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6751 break 2
6753 done
6754 done
6755 IFS=$as_save_IFS
6759 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6760 if test -n "$ac_ct_STRIP"; then
6761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6762 printf "%s\n" "$ac_ct_STRIP" >&6; }
6763 else
6764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6765 printf "%s\n" "no" >&6; }
6768 if test "x$ac_ct_STRIP" = x; then
6769 STRIP="strip"
6770 else
6771 case $cross_compiling:$ac_tool_warned in
6772 yes:)
6773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6774 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6775 ac_tool_warned=yes ;;
6776 esac
6777 STRIP=$ac_ct_STRIP
6779 else
6780 STRIP="$ac_cv_prog_STRIP"
6783 if test -n "$ac_tool_prefix"; then
6784 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6785 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6787 printf %s "checking for $ac_word... " >&6; }
6788 if test ${ac_cv_prog_RANLIB+y}
6789 then :
6790 printf %s "(cached) " >&6
6791 else $as_nop
6792 if test -n "$RANLIB"; then
6793 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6794 else
6795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6796 for as_dir in $PATH
6798 IFS=$as_save_IFS
6799 case $as_dir in #(((
6800 '') as_dir=./ ;;
6801 */) ;;
6802 *) as_dir=$as_dir/ ;;
6803 esac
6804 for ac_exec_ext in '' $ac_executable_extensions; do
6805 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6806 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6807 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6808 break 2
6810 done
6811 done
6812 IFS=$as_save_IFS
6816 RANLIB=$ac_cv_prog_RANLIB
6817 if test -n "$RANLIB"; then
6818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6819 printf "%s\n" "$RANLIB" >&6; }
6820 else
6821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6822 printf "%s\n" "no" >&6; }
6827 if test -z "$ac_cv_prog_RANLIB"; then
6828 ac_ct_RANLIB=$RANLIB
6829 # Extract the first word of "ranlib", so it can be a program name with args.
6830 set dummy ranlib; ac_word=$2
6831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6832 printf %s "checking for $ac_word... " >&6; }
6833 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6834 then :
6835 printf %s "(cached) " >&6
6836 else $as_nop
6837 if test -n "$ac_ct_RANLIB"; then
6838 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6839 else
6840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6841 for as_dir in $PATH
6843 IFS=$as_save_IFS
6844 case $as_dir in #(((
6845 '') as_dir=./ ;;
6846 */) ;;
6847 *) as_dir=$as_dir/ ;;
6848 esac
6849 for ac_exec_ext in '' $ac_executable_extensions; do
6850 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6851 ac_cv_prog_ac_ct_RANLIB="ranlib"
6852 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6853 break 2
6855 done
6856 done
6857 IFS=$as_save_IFS
6861 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6862 if test -n "$ac_ct_RANLIB"; then
6863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6864 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6865 else
6866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6867 printf "%s\n" "no" >&6; }
6870 if test "x$ac_ct_RANLIB" = x; then
6871 RANLIB=":"
6872 else
6873 case $cross_compiling:$ac_tool_warned in
6874 yes:)
6875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6876 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6877 ac_tool_warned=yes ;;
6878 esac
6879 RANLIB=$ac_ct_RANLIB
6881 else
6882 RANLIB="$ac_cv_prog_RANLIB"
6885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6886 printf %s "checking whether ln -s works... " >&6; }
6887 LN_S=$as_ln_s
6888 if test "$LN_S" = "ln -s"; then
6889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6890 printf "%s\n" "yes" >&6; }
6891 else
6892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6893 printf "%s\n" "no, using $LN_S" >&6; }
6896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6897 printf %s "checking for grep that handles long lines and -e... " >&6; }
6898 if test ${ac_cv_path_GREP+y}
6899 then :
6900 printf %s "(cached) " >&6
6901 else $as_nop
6902 if test -z "$GREP"; then
6903 ac_path_GREP_found=false
6904 # Loop through the user's path and test for each of PROGNAME-LIST
6905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6906 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6908 IFS=$as_save_IFS
6909 case $as_dir in #(((
6910 '') as_dir=./ ;;
6911 */) ;;
6912 *) as_dir=$as_dir/ ;;
6913 esac
6914 for ac_prog in grep ggrep
6916 for ac_exec_ext in '' $ac_executable_extensions; do
6917 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6918 as_fn_executable_p "$ac_path_GREP" || continue
6919 # Check for GNU ac_path_GREP and select it if it is found.
6920 # Check for GNU $ac_path_GREP
6921 case `"$ac_path_GREP" --version 2>&1` in
6922 *GNU*)
6923 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6925 ac_count=0
6926 printf %s 0123456789 >"conftest.in"
6927 while :
6929 cat "conftest.in" "conftest.in" >"conftest.tmp"
6930 mv "conftest.tmp" "conftest.in"
6931 cp "conftest.in" "conftest.nl"
6932 printf "%s\n" 'GREP' >> "conftest.nl"
6933 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6934 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6935 as_fn_arith $ac_count + 1 && ac_count=$as_val
6936 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6937 # Best one so far, save it but keep looking for a better one
6938 ac_cv_path_GREP="$ac_path_GREP"
6939 ac_path_GREP_max=$ac_count
6941 # 10*(2^10) chars as input seems more than enough
6942 test $ac_count -gt 10 && break
6943 done
6944 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6945 esac
6947 $ac_path_GREP_found && break 3
6948 done
6949 done
6950 done
6951 IFS=$as_save_IFS
6952 if test -z "$ac_cv_path_GREP"; then
6953 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6955 else
6956 ac_cv_path_GREP=$GREP
6960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6961 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6962 GREP="$ac_cv_path_GREP"
6965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6966 printf %s "checking for egrep... " >&6; }
6967 if test ${ac_cv_path_EGREP+y}
6968 then :
6969 printf %s "(cached) " >&6
6970 else $as_nop
6971 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6972 then ac_cv_path_EGREP="$GREP -E"
6973 else
6974 if test -z "$EGREP"; then
6975 ac_path_EGREP_found=false
6976 # Loop through the user's path and test for each of PROGNAME-LIST
6977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6978 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6980 IFS=$as_save_IFS
6981 case $as_dir in #(((
6982 '') as_dir=./ ;;
6983 */) ;;
6984 *) as_dir=$as_dir/ ;;
6985 esac
6986 for ac_prog in egrep
6988 for ac_exec_ext in '' $ac_executable_extensions; do
6989 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
6990 as_fn_executable_p "$ac_path_EGREP" || continue
6991 # Check for GNU ac_path_EGREP and select it if it is found.
6992 # Check for GNU $ac_path_EGREP
6993 case `"$ac_path_EGREP" --version 2>&1` in
6994 *GNU*)
6995 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6997 ac_count=0
6998 printf %s 0123456789 >"conftest.in"
6999 while :
7001 cat "conftest.in" "conftest.in" >"conftest.tmp"
7002 mv "conftest.tmp" "conftest.in"
7003 cp "conftest.in" "conftest.nl"
7004 printf "%s\n" 'EGREP' >> "conftest.nl"
7005 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7006 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7007 as_fn_arith $ac_count + 1 && ac_count=$as_val
7008 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7009 # Best one so far, save it but keep looking for a better one
7010 ac_cv_path_EGREP="$ac_path_EGREP"
7011 ac_path_EGREP_max=$ac_count
7013 # 10*(2^10) chars as input seems more than enough
7014 test $ac_count -gt 10 && break
7015 done
7016 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7017 esac
7019 $ac_path_EGREP_found && break 3
7020 done
7021 done
7022 done
7023 IFS=$as_save_IFS
7024 if test -z "$ac_cv_path_EGREP"; then
7025 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7027 else
7028 ac_cv_path_EGREP=$EGREP
7033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7034 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7035 EGREP="$ac_cv_path_EGREP"
7038 # Extract the first word of "ldconfig", so it can be a program name with args.
7039 set dummy ldconfig; ac_word=$2
7040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7041 printf %s "checking for $ac_word... " >&6; }
7042 if test ${ac_cv_path_LDCONFIG+y}
7043 then :
7044 printf %s "(cached) " >&6
7045 else $as_nop
7046 case $LDCONFIG in
7047 [\\/]* | ?:[\\/]*)
7048 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7052 for as_dir in /sbin /usr/sbin $PATH
7054 IFS=$as_save_IFS
7055 case $as_dir in #(((
7056 '') as_dir=./ ;;
7057 */) ;;
7058 *) as_dir=$as_dir/ ;;
7059 esac
7060 for ac_exec_ext in '' $ac_executable_extensions; do
7061 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7062 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7063 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7064 break 2
7066 done
7067 done
7068 IFS=$as_save_IFS
7070 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7072 esac
7074 LDCONFIG=$ac_cv_path_LDCONFIG
7075 if test -n "$LDCONFIG"; then
7076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7077 printf "%s\n" "$LDCONFIG" >&6; }
7078 else
7079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7080 printf "%s\n" "no" >&6; }
7084 for ac_prog in msgfmt
7086 # Extract the first word of "$ac_prog", so it can be a program name with args.
7087 set dummy $ac_prog; ac_word=$2
7088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7089 printf %s "checking for $ac_word... " >&6; }
7090 if test ${ac_cv_prog_MSGFMT+y}
7091 then :
7092 printf %s "(cached) " >&6
7093 else $as_nop
7094 if test -n "$MSGFMT"; then
7095 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7096 else
7097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7098 for as_dir in $PATH
7100 IFS=$as_save_IFS
7101 case $as_dir in #(((
7102 '') as_dir=./ ;;
7103 */) ;;
7104 *) as_dir=$as_dir/ ;;
7105 esac
7106 for ac_exec_ext in '' $ac_executable_extensions; do
7107 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7108 ac_cv_prog_MSGFMT="$ac_prog"
7109 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7110 break 2
7112 done
7113 done
7114 IFS=$as_save_IFS
7118 MSGFMT=$ac_cv_prog_MSGFMT
7119 if test -n "$MSGFMT"; then
7120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7121 printf "%s\n" "$MSGFMT" >&6; }
7122 else
7123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7124 printf "%s\n" "no" >&6; }
7128 test -n "$MSGFMT" && break
7129 done
7130 test -n "$MSGFMT" || MSGFMT="false"
7132 if test ${ac_tool_prefix+y}
7133 then :
7134 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7135 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7137 printf %s "checking for $ac_word... " >&6; }
7138 if test ${ac_cv_prog_PKG_CONFIG+y}
7139 then :
7140 printf %s "(cached) " >&6
7141 else $as_nop
7142 if test -n "$PKG_CONFIG"; then
7143 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7144 else
7145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7146 for as_dir in $PATH
7148 IFS=$as_save_IFS
7149 case $as_dir in #(((
7150 '') as_dir=./ ;;
7151 */) ;;
7152 *) as_dir=$as_dir/ ;;
7153 esac
7154 for ac_exec_ext in '' $ac_executable_extensions; do
7155 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7156 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7158 break 2
7160 done
7161 done
7162 IFS=$as_save_IFS
7166 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7167 if test -n "$PKG_CONFIG"; then
7168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7169 printf "%s\n" "$PKG_CONFIG" >&6; }
7170 else
7171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7172 printf "%s\n" "no" >&6; }
7177 if ${ac_cv_prog_PKG_CONFIG:+false} :
7178 then :
7179 if test "x$cross_compiling" = xyes
7180 then :
7182 else $as_nop
7183 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7184 # Extract the first word of "pkg-config", so it can be a program name with args.
7185 set dummy 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="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 else $as_nop
7228 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7231 if test "x$enable_maintainer_mode" != "xyes"
7232 then
7233 FONTFORGE=""
7234 RSVG=""
7235 CONVERT=""
7236 ICOTOOL=""
7237 else
7238 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7239 for ac_prog in fontforge
7241 # Extract the first word of "$ac_prog", so it can be a program name with args.
7242 set dummy $ac_prog; ac_word=$2
7243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7244 printf %s "checking for $ac_word... " >&6; }
7245 if test ${ac_cv_prog_FONTFORGE+y}
7246 then :
7247 printf %s "(cached) " >&6
7248 else $as_nop
7249 if test -n "$FONTFORGE"; then
7250 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7251 else
7252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7253 for as_dir in $PATH
7255 IFS=$as_save_IFS
7256 case $as_dir in #(((
7257 '') as_dir=./ ;;
7258 */) ;;
7259 *) as_dir=$as_dir/ ;;
7260 esac
7261 for ac_exec_ext in '' $ac_executable_extensions; do
7262 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7263 ac_cv_prog_FONTFORGE="$ac_prog"
7264 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7265 break 2
7267 done
7268 done
7269 IFS=$as_save_IFS
7273 FONTFORGE=$ac_cv_prog_FONTFORGE
7274 if test -n "$FONTFORGE"; then
7275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7276 printf "%s\n" "$FONTFORGE" >&6; }
7277 else
7278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7279 printf "%s\n" "no" >&6; }
7283 test -n "$FONTFORGE" && break
7284 done
7285 test -n "$FONTFORGE" || FONTFORGE="false"
7287 for ac_prog in rsvg-convert rsvg
7289 # Extract the first word of "$ac_prog", so it can be a program name with args.
7290 set dummy $ac_prog; ac_word=$2
7291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7292 printf %s "checking for $ac_word... " >&6; }
7293 if test ${ac_cv_prog_RSVG+y}
7294 then :
7295 printf %s "(cached) " >&6
7296 else $as_nop
7297 if test -n "$RSVG"; then
7298 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7299 else
7300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7301 for as_dir in $PATH
7303 IFS=$as_save_IFS
7304 case $as_dir in #(((
7305 '') as_dir=./ ;;
7306 */) ;;
7307 *) as_dir=$as_dir/ ;;
7308 esac
7309 for ac_exec_ext in '' $ac_executable_extensions; do
7310 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7311 ac_cv_prog_RSVG="$ac_prog"
7312 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7313 break 2
7315 done
7316 done
7317 IFS=$as_save_IFS
7321 RSVG=$ac_cv_prog_RSVG
7322 if test -n "$RSVG"; then
7323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7324 printf "%s\n" "$RSVG" >&6; }
7325 else
7326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7327 printf "%s\n" "no" >&6; }
7331 test -n "$RSVG" && break
7332 done
7333 test -n "$RSVG" || RSVG="false"
7335 for ac_prog in convert
7337 # Extract the first word of "$ac_prog", so it can be a program name with args.
7338 set dummy $ac_prog; ac_word=$2
7339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7340 printf %s "checking for $ac_word... " >&6; }
7341 if test ${ac_cv_prog_CONVERT+y}
7342 then :
7343 printf %s "(cached) " >&6
7344 else $as_nop
7345 if test -n "$CONVERT"; then
7346 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7347 else
7348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7349 for as_dir in $PATH
7351 IFS=$as_save_IFS
7352 case $as_dir in #(((
7353 '') as_dir=./ ;;
7354 */) ;;
7355 *) as_dir=$as_dir/ ;;
7356 esac
7357 for ac_exec_ext in '' $ac_executable_extensions; do
7358 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7359 ac_cv_prog_CONVERT="$ac_prog"
7360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7361 break 2
7363 done
7364 done
7365 IFS=$as_save_IFS
7369 CONVERT=$ac_cv_prog_CONVERT
7370 if test -n "$CONVERT"; then
7371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7372 printf "%s\n" "$CONVERT" >&6; }
7373 else
7374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7375 printf "%s\n" "no" >&6; }
7379 test -n "$CONVERT" && break
7380 done
7381 test -n "$CONVERT" || CONVERT="false"
7383 for ac_prog in icotool
7385 # Extract the first word of "$ac_prog", so it can be a program name with args.
7386 set dummy $ac_prog; ac_word=$2
7387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7388 printf %s "checking for $ac_word... " >&6; }
7389 if test ${ac_cv_prog_ICOTOOL+y}
7390 then :
7391 printf %s "(cached) " >&6
7392 else $as_nop
7393 if test -n "$ICOTOOL"; then
7394 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7395 else
7396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7397 for as_dir in $PATH
7399 IFS=$as_save_IFS
7400 case $as_dir in #(((
7401 '') as_dir=./ ;;
7402 */) ;;
7403 *) as_dir=$as_dir/ ;;
7404 esac
7405 for ac_exec_ext in '' $ac_executable_extensions; do
7406 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7407 ac_cv_prog_ICOTOOL="$ac_prog"
7408 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7409 break 2
7411 done
7412 done
7413 IFS=$as_save_IFS
7417 ICOTOOL=$ac_cv_prog_ICOTOOL
7418 if test -n "$ICOTOOL"; then
7419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7420 printf "%s\n" "$ICOTOOL" >&6; }
7421 else
7422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7423 printf "%s\n" "no" >&6; }
7427 test -n "$ICOTOOL" && break
7428 done
7429 test -n "$ICOTOOL" || ICOTOOL="false"
7431 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7432 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7434 if test "$CONVERT" = false
7435 then
7436 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7437 else
7438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7439 printf %s "checking for recent enough imagemagick... " >&6; }
7440 convert_version=`convert --version | head -n1`
7441 if test "x$convert_version" != "x"
7442 then
7443 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7444 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7445 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7446 then
7447 CONVERT=false
7450 if test "$CONVERT" = false
7451 then
7452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7453 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7454 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7455 else
7456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7457 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7461 if test "$ICOTOOL" = false
7462 then
7463 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7464 else
7465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7466 printf %s "checking for recent enough icotool... " >&6; }
7467 icotool_version=`icotool --version | head -n1`
7468 if test "x$icotool_version" != "x"
7469 then
7470 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7471 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7472 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7473 then
7474 ICOTOOL=false
7475 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7478 if test "$ICOTOOL" = false
7479 then
7480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7481 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7482 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7483 else
7484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7485 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7489 with_gettext=yes
7490 with_gettextpo=yes
7492 enable_werror=yes
7495 test "x$with_gettext" != xno || MSGFMT=false
7496 if test "$MSGFMT" != "false"
7497 then
7498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7499 printf %s "checking whether msgfmt supports contexts... " >&6; }
7500 if test ${wine_cv_msgfmt_contexts+y}
7501 then :
7502 printf %s "(cached) " >&6
7503 else $as_nop
7504 cat >conftest.po <<EOF
7505 # comment
7506 msgctxt "ctxt"
7507 msgid "id"
7508 msgstr "str"
7510 if $MSGFMT -o /dev/null conftest.po 2>&5
7511 then
7512 wine_cv_msgfmt_contexts=yes
7513 else
7514 wine_cv_msgfmt_contexts=no
7517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7518 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7519 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7521 if test "$MSGFMT" = false
7522 then :
7523 case "x$with_gettext" in
7524 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7525 xno) ;;
7526 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7527 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7528 esac
7529 enable_po=${enable_po:-no}
7533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7534 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7535 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7536 then :
7537 printf %s "(cached) " >&6
7538 else $as_nop
7539 ac_check_lib_save_LIBS=$LIBS
7540 LIBS="-li386 $LIBS"
7541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7542 /* end confdefs.h. */
7544 /* Override any GCC internal prototype to avoid an error.
7545 Use char because int might match the return type of a GCC
7546 builtin and then its argument prototype would still apply. */
7547 char i386_set_ldt ();
7549 main (void)
7551 return i386_set_ldt ();
7553 return 0;
7555 _ACEOF
7556 if ac_fn_c_try_link "$LINENO"
7557 then :
7558 ac_cv_lib_i386_i386_set_ldt=yes
7559 else $as_nop
7560 ac_cv_lib_i386_i386_set_ldt=no
7562 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7563 conftest$ac_exeext conftest.$ac_ext
7564 LIBS=$ac_check_lib_save_LIBS
7566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7567 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7568 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7569 then :
7570 I386_LIBS="-li386"
7575 OPENGL_LIBS=""
7579 # Check whether --enable-largefile was given.
7580 if test ${enable_largefile+y}
7581 then :
7582 enableval=$enable_largefile;
7585 if test "$enable_largefile" != no; then
7587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7588 printf %s "checking for special C compiler options needed for large files... " >&6; }
7589 if test ${ac_cv_sys_largefile_CC+y}
7590 then :
7591 printf %s "(cached) " >&6
7592 else $as_nop
7593 ac_cv_sys_largefile_CC=no
7594 if test "$GCC" != yes; then
7595 ac_save_CC=$CC
7596 while :; do
7597 # IRIX 6.2 and later do not support large files by default,
7598 # so use the C compiler's -n32 option if that helps.
7599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7600 /* end confdefs.h. */
7601 #include <sys/types.h>
7602 /* Check that off_t can represent 2**63 - 1 correctly.
7603 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7604 since some C++ compilers masquerading as C compilers
7605 incorrectly reject 9223372036854775807. */
7606 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7607 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7608 && LARGE_OFF_T % 2147483647 == 1)
7609 ? 1 : -1];
7611 main (void)
7615 return 0;
7617 _ACEOF
7618 if ac_fn_c_try_compile "$LINENO"
7619 then :
7620 break
7622 rm -f core conftest.err conftest.$ac_objext conftest.beam
7623 CC="$CC -n32"
7624 if ac_fn_c_try_compile "$LINENO"
7625 then :
7626 ac_cv_sys_largefile_CC=' -n32'; break
7628 rm -f core conftest.err conftest.$ac_objext conftest.beam
7629 break
7630 done
7631 CC=$ac_save_CC
7632 rm -f conftest.$ac_ext
7635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7636 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7637 if test "$ac_cv_sys_largefile_CC" != no; then
7638 CC=$CC$ac_cv_sys_largefile_CC
7641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7642 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7643 if test ${ac_cv_sys_file_offset_bits+y}
7644 then :
7645 printf %s "(cached) " >&6
7646 else $as_nop
7647 while :; do
7648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7649 /* end confdefs.h. */
7650 #include <sys/types.h>
7651 /* Check that off_t can represent 2**63 - 1 correctly.
7652 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7653 since some C++ compilers masquerading as C compilers
7654 incorrectly reject 9223372036854775807. */
7655 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7656 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7657 && LARGE_OFF_T % 2147483647 == 1)
7658 ? 1 : -1];
7660 main (void)
7664 return 0;
7666 _ACEOF
7667 if ac_fn_c_try_compile "$LINENO"
7668 then :
7669 ac_cv_sys_file_offset_bits=no; break
7671 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7673 /* end confdefs.h. */
7674 #define _FILE_OFFSET_BITS 64
7675 #include <sys/types.h>
7676 /* Check that off_t can represent 2**63 - 1 correctly.
7677 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7678 since some C++ compilers masquerading as C compilers
7679 incorrectly reject 9223372036854775807. */
7680 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7681 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7682 && LARGE_OFF_T % 2147483647 == 1)
7683 ? 1 : -1];
7685 main (void)
7689 return 0;
7691 _ACEOF
7692 if ac_fn_c_try_compile "$LINENO"
7693 then :
7694 ac_cv_sys_file_offset_bits=64; break
7696 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7697 ac_cv_sys_file_offset_bits=unknown
7698 break
7699 done
7701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7702 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7703 case $ac_cv_sys_file_offset_bits in #(
7704 no | unknown) ;;
7706 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7708 esac
7709 rm -rf conftest*
7710 if test $ac_cv_sys_file_offset_bits = unknown; then
7711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7712 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7713 if test ${ac_cv_sys_large_files+y}
7714 then :
7715 printf %s "(cached) " >&6
7716 else $as_nop
7717 while :; do
7718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7719 /* end confdefs.h. */
7720 #include <sys/types.h>
7721 /* Check that off_t can represent 2**63 - 1 correctly.
7722 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7723 since some C++ compilers masquerading as C compilers
7724 incorrectly reject 9223372036854775807. */
7725 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7726 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7727 && LARGE_OFF_T % 2147483647 == 1)
7728 ? 1 : -1];
7730 main (void)
7734 return 0;
7736 _ACEOF
7737 if ac_fn_c_try_compile "$LINENO"
7738 then :
7739 ac_cv_sys_large_files=no; break
7741 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7743 /* end confdefs.h. */
7744 #define _LARGE_FILES 1
7745 #include <sys/types.h>
7746 /* Check that off_t can represent 2**63 - 1 correctly.
7747 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7748 since some C++ compilers masquerading as C compilers
7749 incorrectly reject 9223372036854775807. */
7750 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7751 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7752 && LARGE_OFF_T % 2147483647 == 1)
7753 ? 1 : -1];
7755 main (void)
7759 return 0;
7761 _ACEOF
7762 if ac_fn_c_try_compile "$LINENO"
7763 then :
7764 ac_cv_sys_large_files=1; break
7766 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7767 ac_cv_sys_large_files=unknown
7768 break
7769 done
7771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7772 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7773 case $ac_cv_sys_large_files in #(
7774 no | unknown) ;;
7776 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7778 esac
7779 rm -rf conftest*
7784 ac_header= ac_cache=
7785 for ac_item in $ac_header_c_list
7787 if test $ac_cache; then
7788 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7789 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7790 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7792 ac_header= ac_cache=
7793 elif test $ac_header; then
7794 ac_cache=$ac_item
7795 else
7796 ac_header=$ac_item
7798 done
7807 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7808 then :
7810 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7813 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7814 if test "x$ac_cv_header_CL_cl_h" = xyes
7815 then :
7816 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7819 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7820 if test "x$ac_cv_header_EGL_egl_h" = xyes
7821 then :
7822 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7825 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7826 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7827 then :
7828 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7831 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7832 if test "x$ac_cv_header_arpa_inet_h" = xyes
7833 then :
7834 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7837 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7838 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7839 then :
7840 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7843 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7844 if test "x$ac_cv_header_asm_types_h" = xyes
7845 then :
7846 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7849 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7850 if test "x$ac_cv_header_asm_user_h" = xyes
7851 then :
7852 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7855 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7856 if test "x$ac_cv_header_elf_h" = xyes
7857 then :
7858 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7861 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7862 if test "x$ac_cv_header_float_h" = xyes
7863 then :
7864 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7867 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7868 if test "x$ac_cv_header_gettext_po_h" = xyes
7869 then :
7870 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7873 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7874 if test "x$ac_cv_header_libproc_h" = xyes
7875 then :
7876 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7879 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7880 if test "x$ac_cv_header_link_h" = xyes
7881 then :
7882 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7885 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7886 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7887 then :
7888 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7891 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7892 if test "x$ac_cv_header_linux_filter_h" = xyes
7893 then :
7894 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7897 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7898 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7899 then :
7900 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7903 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7904 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7905 then :
7906 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7909 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7910 if test "x$ac_cv_header_linux_input_h" = xyes
7911 then :
7912 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7915 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7916 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7917 then :
7918 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7921 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7922 if test "x$ac_cv_header_linux_major_h" = xyes
7923 then :
7924 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7927 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7928 if test "x$ac_cv_header_linux_param_h" = xyes
7929 then :
7930 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7933 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7934 if test "x$ac_cv_header_linux_serial_h" = xyes
7935 then :
7936 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7939 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7940 if test "x$ac_cv_header_linux_types_h" = xyes
7941 then :
7942 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7945 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7946 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7947 then :
7948 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7951 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7952 if test "x$ac_cv_header_lwp_h" = xyes
7953 then :
7954 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7957 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7958 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7959 then :
7960 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
7963 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
7964 if test "x$ac_cv_header_mach_mach_h" = xyes
7965 then :
7966 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
7969 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
7970 if test "x$ac_cv_header_machine_cpu_h" = xyes
7971 then :
7972 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
7975 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
7976 if test "x$ac_cv_header_machine_sysarch_h" = xyes
7977 then :
7978 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
7981 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
7982 if test "x$ac_cv_header_mntent_h" = xyes
7983 then :
7984 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
7987 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
7988 if test "x$ac_cv_header_netdb_h" = xyes
7989 then :
7990 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
7993 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
7994 if test "x$ac_cv_header_netinet_in_h" = xyes
7995 then :
7996 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
7999 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8000 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8001 then :
8002 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8005 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8006 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8007 then :
8008 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8011 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8012 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8013 then :
8014 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8017 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8018 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8019 then :
8020 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8023 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8024 if test "x$ac_cv_header_port_h" = xyes
8025 then :
8026 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8029 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8030 if test "x$ac_cv_header_pthread_h" = xyes
8031 then :
8032 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8035 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8036 if test "x$ac_cv_header_pwd_h" = xyes
8037 then :
8038 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8041 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8042 if test "x$ac_cv_header_sched_h" = xyes
8043 then :
8044 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8047 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8048 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8049 then :
8050 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8053 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8054 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8055 then :
8056 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8059 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8060 if test "x$ac_cv_header_scsi_sg_h" = xyes
8061 then :
8062 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8065 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8066 if test "x$ac_cv_header_stdint_h" = xyes
8067 then :
8068 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8071 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8072 if test "x$ac_cv_header_sys_attr_h" = xyes
8073 then :
8074 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8077 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8078 if test "x$ac_cv_header_sys_auxv_h" = xyes
8079 then :
8080 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8083 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8084 if test "x$ac_cv_header_sys_cdio_h" = xyes
8085 then :
8086 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8089 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8090 if test "x$ac_cv_header_sys_epoll_h" = xyes
8091 then :
8092 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8095 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8096 if test "x$ac_cv_header_sys_event_h" = xyes
8097 then :
8098 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8101 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8102 if test "x$ac_cv_header_sys_extattr_h" = xyes
8103 then :
8104 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8107 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8108 if test "x$ac_cv_header_sys_filio_h" = xyes
8109 then :
8110 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8113 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8114 if test "x$ac_cv_header_sys_ipc_h" = xyes
8115 then :
8116 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8119 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8120 if test "x$ac_cv_header_sys_link_h" = xyes
8121 then :
8122 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8125 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8126 if test "x$ac_cv_header_sys_modem_h" = xyes
8127 then :
8128 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8131 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8132 if test "x$ac_cv_header_sys_mtio_h" = xyes
8133 then :
8134 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8137 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8138 if test "x$ac_cv_header_sys_param_h" = xyes
8139 then :
8140 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8143 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8144 if test "x$ac_cv_header_sys_prctl_h" = xyes
8145 then :
8146 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8149 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8150 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8151 then :
8152 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8155 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8156 if test "x$ac_cv_header_sys_queue_h" = xyes
8157 then :
8158 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8161 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8162 if test "x$ac_cv_header_sys_random_h" = xyes
8163 then :
8164 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8167 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8168 if test "x$ac_cv_header_sys_resource_h" = xyes
8169 then :
8170 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8173 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8174 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8175 then :
8176 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8179 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8180 if test "x$ac_cv_header_sys_shm_h" = xyes
8181 then :
8182 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8185 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8186 if test "x$ac_cv_header_sys_signal_h" = xyes
8187 then :
8188 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8191 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8192 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8193 then :
8194 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8197 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8198 if test "x$ac_cv_header_sys_sockio_h" = xyes
8199 then :
8200 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8203 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8204 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8205 then :
8206 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8209 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8210 if test "x$ac_cv_header_sys_strtio_h" = xyes
8211 then :
8212 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8215 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8216 if test "x$ac_cv_header_sys_syscall_h" = xyes
8217 then :
8218 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8221 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8222 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8223 then :
8224 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8227 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8228 if test "x$ac_cv_header_sys_times_h" = xyes
8229 then :
8230 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8233 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8234 if test "x$ac_cv_header_sys_uio_h" = xyes
8235 then :
8236 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8239 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8240 if test "x$ac_cv_header_sys_user_h" = xyes
8241 then :
8242 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8245 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8246 if test "x$ac_cv_header_sys_utsname_h" = xyes
8247 then :
8248 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8251 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8252 if test "x$ac_cv_header_sys_vnode_h" = xyes
8253 then :
8254 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8257 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8258 if test "x$ac_cv_header_sys_xattr_h" = xyes
8259 then :
8260 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8263 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8264 if test "x$ac_cv_header_syscall_h" = xyes
8265 then :
8266 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8269 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8270 if test "x$ac_cv_header_utime_h" = xyes
8271 then :
8272 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8275 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8276 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8277 then :
8278 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8281 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8282 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8283 then :
8284 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8288 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8289 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8290 then :
8292 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8296 if test $ac_cv_header_sys_mkdev_h = no; then
8297 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8298 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8299 then :
8301 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8307 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8308 if test ${ac_cv_header_stat_broken+y}
8309 then :
8310 printf %s "(cached) " >&6
8311 else $as_nop
8312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8313 /* end confdefs.h. */
8314 #include <sys/types.h>
8315 #include <sys/stat.h>
8317 #if defined S_ISBLK && defined S_IFDIR
8318 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8319 #endif
8321 #if defined S_ISBLK && defined S_IFCHR
8322 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8323 #endif
8325 #if defined S_ISLNK && defined S_IFREG
8326 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8327 #endif
8329 #if defined S_ISSOCK && defined S_IFREG
8330 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8331 #endif
8333 _ACEOF
8334 if ac_fn_c_try_compile "$LINENO"
8335 then :
8336 ac_cv_header_stat_broken=no
8337 else $as_nop
8338 ac_cv_header_stat_broken=yes
8340 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8343 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8344 if test $ac_cv_header_stat_broken = yes; then
8346 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8352 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8353 #ifdef HAVE_SYS_PARAM_H
8354 # include <sys/param.h>
8355 #endif
8357 if test "x$ac_cv_header_sys_conf_h" = xyes
8358 then :
8359 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8362 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8363 #ifdef HAVE_SYS_PARAM_H
8364 # include <sys/param.h>
8365 #endif
8367 if test "x$ac_cv_header_sys_mount_h" = xyes
8368 then :
8369 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8372 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8373 #ifdef HAVE_SYS_PARAM_H
8374 # include <sys/param.h>
8375 #endif
8377 if test "x$ac_cv_header_sys_statfs_h" = xyes
8378 then :
8379 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8382 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8383 #ifdef HAVE_SYS_PARAM_H
8384 # include <sys/param.h>
8385 #endif
8387 if test "x$ac_cv_header_sys_user_h" = xyes
8388 then :
8389 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8392 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8393 #ifdef HAVE_SYS_PARAM_H
8394 # include <sys/param.h>
8395 #endif
8397 if test "x$ac_cv_header_sys_vfs_h" = xyes
8398 then :
8399 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8404 saved_sysctl_h_CFLAGS=$CFLAGS
8405 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8406 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8407 #ifdef HAVE_SYS_PARAM_H
8408 # include <sys/param.h>
8409 #endif
8411 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8412 then :
8413 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8417 CFLAGS=$saved_sysctl_h_CFLAGS
8419 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8420 #include <sys/socket.h>
8421 #ifdef HAVE_SYS_SOCKETVAR_H
8422 # include <sys/socketvar.h>
8423 #endif
8424 #ifdef HAVE_NET_ROUTE_H
8425 # include <net/route.h>
8426 #endif
8427 #ifdef HAVE_NETINET_IN_H
8428 # include <netinet/in.h>
8429 #endif
8430 #ifdef HAVE_NETINET_IN_SYSTM_H
8431 # include <netinet/in_systm.h>
8432 #endif
8433 #ifdef HAVE_NET_IF_H
8434 # include <net/if.h>
8435 #endif
8436 #ifdef HAVE_NETINET_IP_H
8437 # include <netinet/ip.h>
8438 #endif
8440 if test "x$ac_cv_header_netinet_ip_h" = xyes
8441 then :
8442 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8445 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8446 #include <sys/socket.h>
8447 #ifdef HAVE_SYS_SOCKETVAR_H
8448 # include <sys/socketvar.h>
8449 #endif
8450 #ifdef HAVE_NET_ROUTE_H
8451 # include <net/route.h>
8452 #endif
8453 #ifdef HAVE_NETINET_IN_H
8454 # include <netinet/in.h>
8455 #endif
8456 #ifdef HAVE_NETINET_IN_SYSTM_H
8457 # include <netinet/in_systm.h>
8458 #endif
8459 #ifdef HAVE_NET_IF_H
8460 # include <net/if.h>
8461 #endif
8462 #ifdef HAVE_NETINET_IP_H
8463 # include <netinet/ip.h>
8464 #endif
8466 if test "x$ac_cv_header_net_if_h" = xyes
8467 then :
8468 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8471 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8472 #include <sys/socket.h>
8473 #ifdef HAVE_SYS_SOCKETVAR_H
8474 # include <sys/socketvar.h>
8475 #endif
8476 #ifdef HAVE_NET_ROUTE_H
8477 # include <net/route.h>
8478 #endif
8479 #ifdef HAVE_NETINET_IN_H
8480 # include <netinet/in.h>
8481 #endif
8482 #ifdef HAVE_NETINET_IN_SYSTM_H
8483 # include <netinet/in_systm.h>
8484 #endif
8485 #ifdef HAVE_NET_IF_H
8486 # include <net/if.h>
8487 #endif
8488 #ifdef HAVE_NETINET_IP_H
8489 # include <netinet/ip.h>
8490 #endif
8492 if test "x$ac_cv_header_net_if_arp_h" = xyes
8493 then :
8494 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8497 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8498 #include <sys/socket.h>
8499 #ifdef HAVE_SYS_SOCKETVAR_H
8500 # include <sys/socketvar.h>
8501 #endif
8502 #ifdef HAVE_NET_ROUTE_H
8503 # include <net/route.h>
8504 #endif
8505 #ifdef HAVE_NETINET_IN_H
8506 # include <netinet/in.h>
8507 #endif
8508 #ifdef HAVE_NETINET_IN_SYSTM_H
8509 # include <netinet/in_systm.h>
8510 #endif
8511 #ifdef HAVE_NET_IF_H
8512 # include <net/if.h>
8513 #endif
8514 #ifdef HAVE_NETINET_IP_H
8515 # include <netinet/ip.h>
8516 #endif
8518 if test "x$ac_cv_header_net_if_dl_h" = xyes
8519 then :
8520 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8523 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8524 #include <sys/socket.h>
8525 #ifdef HAVE_SYS_SOCKETVAR_H
8526 # include <sys/socketvar.h>
8527 #endif
8528 #ifdef HAVE_NET_ROUTE_H
8529 # include <net/route.h>
8530 #endif
8531 #ifdef HAVE_NETINET_IN_H
8532 # include <netinet/in.h>
8533 #endif
8534 #ifdef HAVE_NETINET_IN_SYSTM_H
8535 # include <netinet/in_systm.h>
8536 #endif
8537 #ifdef HAVE_NET_IF_H
8538 # include <net/if.h>
8539 #endif
8540 #ifdef HAVE_NETINET_IP_H
8541 # include <netinet/ip.h>
8542 #endif
8544 if test "x$ac_cv_header_net_if_types_h" = xyes
8545 then :
8546 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8549 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8550 #include <sys/socket.h>
8551 #ifdef HAVE_SYS_SOCKETVAR_H
8552 # include <sys/socketvar.h>
8553 #endif
8554 #ifdef HAVE_NET_ROUTE_H
8555 # include <net/route.h>
8556 #endif
8557 #ifdef HAVE_NETINET_IN_H
8558 # include <netinet/in.h>
8559 #endif
8560 #ifdef HAVE_NETINET_IN_SYSTM_H
8561 # include <netinet/in_systm.h>
8562 #endif
8563 #ifdef HAVE_NET_IF_H
8564 # include <net/if.h>
8565 #endif
8566 #ifdef HAVE_NETINET_IP_H
8567 # include <netinet/ip.h>
8568 #endif
8570 if test "x$ac_cv_header_net_route_h" = xyes
8571 then :
8572 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8575 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8576 #include <sys/socket.h>
8577 #ifdef HAVE_SYS_SOCKETVAR_H
8578 # include <sys/socketvar.h>
8579 #endif
8580 #ifdef HAVE_NET_ROUTE_H
8581 # include <net/route.h>
8582 #endif
8583 #ifdef HAVE_NETINET_IN_H
8584 # include <netinet/in.h>
8585 #endif
8586 #ifdef HAVE_NETINET_IN_SYSTM_H
8587 # include <netinet/in_systm.h>
8588 #endif
8589 #ifdef HAVE_NET_IF_H
8590 # include <net/if.h>
8591 #endif
8592 #ifdef HAVE_NETINET_IP_H
8593 # include <netinet/ip.h>
8594 #endif
8596 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8597 then :
8598 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8601 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8602 #include <sys/socket.h>
8603 #ifdef HAVE_SYS_SOCKETVAR_H
8604 # include <sys/socketvar.h>
8605 #endif
8606 #ifdef HAVE_NET_ROUTE_H
8607 # include <net/route.h>
8608 #endif
8609 #ifdef HAVE_NETINET_IN_H
8610 # include <netinet/in.h>
8611 #endif
8612 #ifdef HAVE_NETINET_IN_SYSTM_H
8613 # include <netinet/in_systm.h>
8614 #endif
8615 #ifdef HAVE_NET_IF_H
8616 # include <net/if.h>
8617 #endif
8618 #ifdef HAVE_NETINET_IP_H
8619 # include <netinet/ip.h>
8620 #endif
8622 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8623 then :
8624 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8627 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8628 #include <sys/socket.h>
8629 #ifdef HAVE_SYS_SOCKETVAR_H
8630 # include <sys/socketvar.h>
8631 #endif
8632 #ifdef HAVE_NET_ROUTE_H
8633 # include <net/route.h>
8634 #endif
8635 #ifdef HAVE_NETINET_IN_H
8636 # include <netinet/in.h>
8637 #endif
8638 #ifdef HAVE_NETINET_IN_SYSTM_H
8639 # include <netinet/in_systm.h>
8640 #endif
8641 #ifdef HAVE_NET_IF_H
8642 # include <net/if.h>
8643 #endif
8644 #ifdef HAVE_NETINET_IP_H
8645 # include <netinet/ip.h>
8646 #endif
8648 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8649 then :
8650 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8653 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8654 #include <sys/socket.h>
8655 #ifdef HAVE_SYS_SOCKETVAR_H
8656 # include <sys/socketvar.h>
8657 #endif
8658 #ifdef HAVE_NET_ROUTE_H
8659 # include <net/route.h>
8660 #endif
8661 #ifdef HAVE_NETINET_IN_H
8662 # include <netinet/in.h>
8663 #endif
8664 #ifdef HAVE_NETINET_IN_SYSTM_H
8665 # include <netinet/in_systm.h>
8666 #endif
8667 #ifdef HAVE_NET_IF_H
8668 # include <net/if.h>
8669 #endif
8670 #ifdef HAVE_NETINET_IP_H
8671 # include <netinet/ip.h>
8672 #endif
8674 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8675 then :
8676 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8679 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8680 #include <sys/socket.h>
8681 #ifdef HAVE_SYS_SOCKETVAR_H
8682 # include <sys/socketvar.h>
8683 #endif
8684 #ifdef HAVE_NET_ROUTE_H
8685 # include <net/route.h>
8686 #endif
8687 #ifdef HAVE_NETINET_IN_H
8688 # include <netinet/in.h>
8689 #endif
8690 #ifdef HAVE_NETINET_IN_SYSTM_H
8691 # include <netinet/in_systm.h>
8692 #endif
8693 #ifdef HAVE_NET_IF_H
8694 # include <net/if.h>
8695 #endif
8696 #ifdef HAVE_NETINET_IP_H
8697 # include <netinet/ip.h>
8698 #endif
8700 if test "x$ac_cv_header_netinet_udp_h" = xyes
8701 then :
8702 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8705 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8706 #include <sys/socket.h>
8707 #ifdef HAVE_SYS_SOCKETVAR_H
8708 # include <sys/socketvar.h>
8709 #endif
8710 #ifdef HAVE_NET_ROUTE_H
8711 # include <net/route.h>
8712 #endif
8713 #ifdef HAVE_NETINET_IN_H
8714 # include <netinet/in.h>
8715 #endif
8716 #ifdef HAVE_NETINET_IN_SYSTM_H
8717 # include <netinet/in_systm.h>
8718 #endif
8719 #ifdef HAVE_NET_IF_H
8720 # include <net/if.h>
8721 #endif
8722 #ifdef HAVE_NETINET_IP_H
8723 # include <netinet/ip.h>
8724 #endif
8726 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8727 then :
8728 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8731 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8732 #include <sys/socket.h>
8733 #ifdef HAVE_SYS_SOCKETVAR_H
8734 # include <sys/socketvar.h>
8735 #endif
8736 #ifdef HAVE_NET_ROUTE_H
8737 # include <net/route.h>
8738 #endif
8739 #ifdef HAVE_NETINET_IN_H
8740 # include <netinet/in.h>
8741 #endif
8742 #ifdef HAVE_NETINET_IN_SYSTM_H
8743 # include <netinet/in_systm.h>
8744 #endif
8745 #ifdef HAVE_NET_IF_H
8746 # include <net/if.h>
8747 #endif
8748 #ifdef HAVE_NETINET_IP_H
8749 # include <netinet/ip.h>
8750 #endif
8752 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8753 then :
8754 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8757 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8758 #include <sys/socket.h>
8759 #ifdef HAVE_SYS_SOCKETVAR_H
8760 # include <sys/socketvar.h>
8761 #endif
8762 #ifdef HAVE_NET_ROUTE_H
8763 # include <net/route.h>
8764 #endif
8765 #ifdef HAVE_NETINET_IN_H
8766 # include <netinet/in.h>
8767 #endif
8768 #ifdef HAVE_NETINET_IN_SYSTM_H
8769 # include <netinet/in_systm.h>
8770 #endif
8771 #ifdef HAVE_NET_IF_H
8772 # include <net/if.h>
8773 #endif
8774 #ifdef HAVE_NETINET_IP_H
8775 # include <netinet/ip.h>
8776 #endif
8778 if test "x$ac_cv_header_sys_un_h" = xyes
8779 then :
8780 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8785 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8786 #include <sys/socket.h>
8787 #ifdef HAVE_SYS_SOCKETVAR_H
8788 # include <sys/socketvar.h>
8789 #endif
8790 #ifdef HAVE_NETINET_IN_H
8791 # include <netinet/in.h>
8792 #endif
8793 #ifdef HAVE_NETINET_IN_SYSTM_H
8794 # include <netinet/in_systm.h>
8795 #endif
8796 #ifdef HAVE_NETINET_IP_H
8797 # include <netinet/ip.h>
8798 #endif
8799 #ifdef HAVE_NETINET_IP_VAR_H
8800 # include <netinet/ip_var.h>
8801 #endif
8802 #ifdef HAVE_NETINET_IP_ICMP_H
8803 # include <netinet/ip_icmp.h>
8804 #endif
8805 #ifdef HAVE_NETINET_UDP_H
8806 # include <netinet/udp.h>
8807 #endif
8808 #ifdef HAVE_NETINET_TCP_H
8809 # include <netinet/tcp.h>
8810 #endif
8812 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8813 then :
8814 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8817 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8818 #include <sys/socket.h>
8819 #ifdef HAVE_SYS_SOCKETVAR_H
8820 # include <sys/socketvar.h>
8821 #endif
8822 #ifdef HAVE_NETINET_IN_H
8823 # include <netinet/in.h>
8824 #endif
8825 #ifdef HAVE_NETINET_IN_SYSTM_H
8826 # include <netinet/in_systm.h>
8827 #endif
8828 #ifdef HAVE_NETINET_IP_H
8829 # include <netinet/ip.h>
8830 #endif
8831 #ifdef HAVE_NETINET_IP_VAR_H
8832 # include <netinet/ip_var.h>
8833 #endif
8834 #ifdef HAVE_NETINET_IP_ICMP_H
8835 # include <netinet/ip_icmp.h>
8836 #endif
8837 #ifdef HAVE_NETINET_UDP_H
8838 # include <netinet/udp.h>
8839 #endif
8840 #ifdef HAVE_NETINET_TCP_H
8841 # include <netinet/tcp.h>
8842 #endif
8844 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8845 then :
8846 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8849 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8850 #include <sys/socket.h>
8851 #ifdef HAVE_SYS_SOCKETVAR_H
8852 # include <sys/socketvar.h>
8853 #endif
8854 #ifdef HAVE_NETINET_IN_H
8855 # include <netinet/in.h>
8856 #endif
8857 #ifdef HAVE_NETINET_IN_SYSTM_H
8858 # include <netinet/in_systm.h>
8859 #endif
8860 #ifdef HAVE_NETINET_IP_H
8861 # include <netinet/ip.h>
8862 #endif
8863 #ifdef HAVE_NETINET_IP_VAR_H
8864 # include <netinet/ip_var.h>
8865 #endif
8866 #ifdef HAVE_NETINET_IP_ICMP_H
8867 # include <netinet/ip_icmp.h>
8868 #endif
8869 #ifdef HAVE_NETINET_UDP_H
8870 # include <netinet/udp.h>
8871 #endif
8872 #ifdef HAVE_NETINET_TCP_H
8873 # include <netinet/tcp.h>
8874 #endif
8876 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8877 then :
8878 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8881 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8882 #include <sys/socket.h>
8883 #ifdef HAVE_SYS_SOCKETVAR_H
8884 # include <sys/socketvar.h>
8885 #endif
8886 #ifdef HAVE_NETINET_IN_H
8887 # include <netinet/in.h>
8888 #endif
8889 #ifdef HAVE_NETINET_IN_SYSTM_H
8890 # include <netinet/in_systm.h>
8891 #endif
8892 #ifdef HAVE_NETINET_IP_H
8893 # include <netinet/ip.h>
8894 #endif
8895 #ifdef HAVE_NETINET_IP_VAR_H
8896 # include <netinet/ip_var.h>
8897 #endif
8898 #ifdef HAVE_NETINET_IP_ICMP_H
8899 # include <netinet/ip_icmp.h>
8900 #endif
8901 #ifdef HAVE_NETINET_UDP_H
8902 # include <netinet/udp.h>
8903 #endif
8904 #ifdef HAVE_NETINET_TCP_H
8905 # include <netinet/tcp.h>
8906 #endif
8908 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8909 then :
8910 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8915 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8916 #include <sys/socket.h>
8917 #ifdef HAVE_ASM_TYPES_H
8918 # include <asm/types.h>
8919 #endif
8920 #ifdef HAVE_LINUX_TYPES_H
8921 # include <linux/types.h>
8922 #endif
8924 if test "x$ac_cv_header_linux_ipx_h" = xyes
8925 then :
8926 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8929 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8930 #include <sys/socket.h>
8931 #ifdef HAVE_ASM_TYPES_H
8932 # include <asm/types.h>
8933 #endif
8934 #ifdef HAVE_LINUX_TYPES_H
8935 # include <linux/types.h>
8936 #endif
8938 if test "x$ac_cv_header_linux_irda_h" = xyes
8939 then :
8940 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8943 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8944 #include <sys/socket.h>
8945 #ifdef HAVE_ASM_TYPES_H
8946 # include <asm/types.h>
8947 #endif
8948 #ifdef HAVE_LINUX_TYPES_H
8949 # include <linux/types.h>
8950 #endif
8952 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8953 then :
8954 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8959 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8960 #include <sys/socket.h>
8961 #ifdef HAVE_NETINET_IN_H
8962 # include <netinet/in.h>
8963 #endif
8964 #ifdef HAVE_ARPA_NAMESER_H
8965 # include <arpa/nameser.h>
8966 #endif
8968 if test "x$ac_cv_header_resolv_h" = xyes
8969 then :
8970 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
8975 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
8977 if test "x$ac_cv_header_ifaddrs_h" = xyes
8978 then :
8979 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
8984 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
8986 if test "x$ac_cv_header_sys_ucontext_h" = xyes
8987 then :
8988 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
8993 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
8994 #ifdef HAVE_SYS_UCONTEXT_H
8995 #include <sys/ucontext.h>
8996 #endif
8998 if test "x$ac_cv_header_sys_thr_h" = xyes
8999 then :
9000 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9005 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9006 #include <pthread.h>
9007 #endif
9009 if test "x$ac_cv_header_pthread_np_h" = xyes
9010 then :
9011 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9016 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9017 #include <sys/types.h>
9018 #ifdef HAVE_ASM_TYPES_H
9019 #include <asm/types.h>
9020 #endif
9022 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9023 then :
9024 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9029 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9030 #include <sys/param.h>
9031 #endif
9032 #include <sys/socket.h>
9033 #ifdef HAVE_SYS_QUEUE_H
9034 #include <sys/queue.h>
9035 #endif
9037 if test "x$ac_cv_header_libprocstat_h" = xyes
9038 then :
9039 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9044 if test "x$ac_cv_header_sys_xattr_h" = xyes
9045 then
9046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9047 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9048 if test ${wine_cv_xattr_extra_args+y}
9049 then :
9050 printf %s "(cached) " >&6
9051 else $as_nop
9052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9053 /* end confdefs.h. */
9054 #include <sys/xattr.h>
9056 main (void)
9058 getxattr("", "", "", 0, 0, 0);
9060 return 0;
9062 _ACEOF
9063 if ac_fn_c_try_compile "$LINENO"
9064 then :
9065 wine_cv_xattr_extra_args=yes
9066 else $as_nop
9067 wine_cv_xattr_extra_args=no
9069 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9072 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9073 test $wine_cv_xattr_extra_args != yes ||
9074 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9079 DLLFLAGS=""
9081 LDDLLFLAGS=""
9083 LDEXECFLAGS=""
9085 EXTRACFLAGS=""
9087 UNIXDLLFLAGS="-fPIC"
9089 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9091 TOP_INSTALL_LIB=""
9093 TOP_INSTALL_DEV=""
9095 WINELOADER_LDFLAGS=""
9097 WINEPRELOADER_LDFLAGS=""
9099 LIBEXT="so"
9100 # Extract the first word of "ldd", so it can be a program name with args.
9101 set dummy ldd; ac_word=$2
9102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9103 printf %s "checking for $ac_word... " >&6; }
9104 if test ${ac_cv_path_LDD+y}
9105 then :
9106 printf %s "(cached) " >&6
9107 else $as_nop
9108 case $LDD in
9109 [\\/]* | ?:[\\/]*)
9110 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9114 as_dummy="/sbin:/usr/sbin:$PATH"
9115 for as_dir in $as_dummy
9117 IFS=$as_save_IFS
9118 case $as_dir in #(((
9119 '') as_dir=./ ;;
9120 */) ;;
9121 *) as_dir=$as_dir/ ;;
9122 esac
9123 for ac_exec_ext in '' $ac_executable_extensions; do
9124 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9125 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9126 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9127 break 2
9129 done
9130 done
9131 IFS=$as_save_IFS
9133 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9135 esac
9137 LDD=$ac_cv_path_LDD
9138 if test -n "$LDD"; then
9139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9140 printf "%s\n" "$LDD" >&6; }
9141 else
9142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9143 printf "%s\n" "no" >&6; }
9147 if test -n "$ac_tool_prefix"; then
9148 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9149 set dummy ${ac_tool_prefix}otool; ac_word=$2
9150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9151 printf %s "checking for $ac_word... " >&6; }
9152 if test ${ac_cv_prog_OTOOL+y}
9153 then :
9154 printf %s "(cached) " >&6
9155 else $as_nop
9156 if test -n "$OTOOL"; then
9157 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9158 else
9159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9160 for as_dir in $PATH
9162 IFS=$as_save_IFS
9163 case $as_dir in #(((
9164 '') as_dir=./ ;;
9165 */) ;;
9166 *) as_dir=$as_dir/ ;;
9167 esac
9168 for ac_exec_ext in '' $ac_executable_extensions; do
9169 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9170 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9172 break 2
9174 done
9175 done
9176 IFS=$as_save_IFS
9180 OTOOL=$ac_cv_prog_OTOOL
9181 if test -n "$OTOOL"; then
9182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9183 printf "%s\n" "$OTOOL" >&6; }
9184 else
9185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9186 printf "%s\n" "no" >&6; }
9191 if test -z "$ac_cv_prog_OTOOL"; then
9192 ac_ct_OTOOL=$OTOOL
9193 # Extract the first word of "otool", so it can be a program name with args.
9194 set dummy otool; ac_word=$2
9195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9196 printf %s "checking for $ac_word... " >&6; }
9197 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9198 then :
9199 printf %s "(cached) " >&6
9200 else $as_nop
9201 if test -n "$ac_ct_OTOOL"; then
9202 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9203 else
9204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9205 for as_dir in $PATH
9207 IFS=$as_save_IFS
9208 case $as_dir in #(((
9209 '') as_dir=./ ;;
9210 */) ;;
9211 *) as_dir=$as_dir/ ;;
9212 esac
9213 for ac_exec_ext in '' $ac_executable_extensions; do
9214 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9215 ac_cv_prog_ac_ct_OTOOL="otool"
9216 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9217 break 2
9219 done
9220 done
9221 IFS=$as_save_IFS
9225 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9226 if test -n "$ac_ct_OTOOL"; then
9227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9228 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9229 else
9230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9231 printf "%s\n" "no" >&6; }
9234 if test "x$ac_ct_OTOOL" = x; then
9235 OTOOL="otool"
9236 else
9237 case $cross_compiling:$ac_tool_warned in
9238 yes:)
9239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9240 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9241 ac_tool_warned=yes ;;
9242 esac
9243 OTOOL=$ac_ct_OTOOL
9245 else
9246 OTOOL="$ac_cv_prog_OTOOL"
9249 if test -n "$ac_tool_prefix"; then
9250 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9251 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9253 printf %s "checking for $ac_word... " >&6; }
9254 if test ${ac_cv_prog_READELF+y}
9255 then :
9256 printf %s "(cached) " >&6
9257 else $as_nop
9258 if test -n "$READELF"; then
9259 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9260 else
9261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9262 for as_dir in $PATH
9264 IFS=$as_save_IFS
9265 case $as_dir in #(((
9266 '') as_dir=./ ;;
9267 */) ;;
9268 *) as_dir=$as_dir/ ;;
9269 esac
9270 for ac_exec_ext in '' $ac_executable_extensions; do
9271 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9272 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9273 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9274 break 2
9276 done
9277 done
9278 IFS=$as_save_IFS
9282 READELF=$ac_cv_prog_READELF
9283 if test -n "$READELF"; then
9284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9285 printf "%s\n" "$READELF" >&6; }
9286 else
9287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9288 printf "%s\n" "no" >&6; }
9293 if test -z "$ac_cv_prog_READELF"; then
9294 ac_ct_READELF=$READELF
9295 # Extract the first word of "readelf", so it can be a program name with args.
9296 set dummy readelf; ac_word=$2
9297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9298 printf %s "checking for $ac_word... " >&6; }
9299 if test ${ac_cv_prog_ac_ct_READELF+y}
9300 then :
9301 printf %s "(cached) " >&6
9302 else $as_nop
9303 if test -n "$ac_ct_READELF"; then
9304 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9305 else
9306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9307 for as_dir in $PATH
9309 IFS=$as_save_IFS
9310 case $as_dir in #(((
9311 '') as_dir=./ ;;
9312 */) ;;
9313 *) as_dir=$as_dir/ ;;
9314 esac
9315 for ac_exec_ext in '' $ac_executable_extensions; do
9316 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9317 ac_cv_prog_ac_ct_READELF="readelf"
9318 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9319 break 2
9321 done
9322 done
9323 IFS=$as_save_IFS
9327 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9328 if test -n "$ac_ct_READELF"; then
9329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9330 printf "%s\n" "$ac_ct_READELF" >&6; }
9331 else
9332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9333 printf "%s\n" "no" >&6; }
9336 if test "x$ac_ct_READELF" = x; then
9337 READELF="true"
9338 else
9339 case $cross_compiling:$ac_tool_warned in
9340 yes:)
9341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9342 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9343 ac_tool_warned=yes ;;
9344 esac
9345 READELF=$ac_ct_READELF
9347 else
9348 READELF="$ac_cv_prog_READELF"
9351 wine_rules="all:"
9352 SUBDIRS=""
9354 DISABLED_SUBDIRS=""
9356 CONFIGURE_TARGETS=""
9359 wine_fn_config_makefile ()
9361 as_fn_append SUBDIRS " \\$as_nl $1"
9362 eval enable=\$$2
9363 case "$enable" in
9364 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9365 *aarch64*|*arm*|*i386*|*x86_64*)
9366 if test -n "$PE_ARCHS"
9367 then
9368 for i in $PE_ARCHS
9370 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9371 done
9372 else
9373 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9374 fi;;
9375 esac
9378 wine_fn_config_symlink ()
9380 ac_links=$@
9381 as_fn_append wine_rules "
9382 $ac_links:
9383 @./config.status \$@"
9384 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9387 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9389 case $host_os in
9390 cygwin*|mingw32*)
9391 LIBEXT="dll"
9392 EXTRACFLAGS="-D__WINE_PE_BUILD"
9393 case $host_cpu in
9394 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9395 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9396 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9397 then :
9398 printf %s "(cached) " >&6
9399 else $as_nop
9400 ac_wine_try_cflags_saved=$CFLAGS
9401 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9403 /* end confdefs.h. */
9404 int main(int argc, char **argv) { return 0; }
9405 _ACEOF
9406 if ac_fn_c_try_link "$LINENO"
9407 then :
9408 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9409 else $as_nop
9410 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9412 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9413 conftest$ac_exeext conftest.$ac_ext
9414 CFLAGS=$ac_wine_try_cflags_saved
9416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9417 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9418 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9419 then :
9420 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9421 fi ;;
9422 esac
9423 enable_loader=${enable_loader:-no}
9424 enable_server=${enable_server:-no}
9425 with_x=${with_x:-no}
9426 with_pthread=${with_pthread:-no}
9429 darwin*|macosx*)
9430 LIBEXT="dylib"
9431 DLLFLAGS="$DLLFLAGS -fPIC"
9432 LDDLLFLAGS="-fPIC"
9433 enable_winemac_drv=${enable_winemac_drv:-yes}
9434 CARBON_LIBS="-framework Carbon"
9436 COREFOUNDATION_LIBS="-framework CoreFoundation"
9438 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9440 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9442 METAL_LIBS="-framework Metal"
9444 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9446 CORESERVICES_LIBS="-framework CoreServices"
9448 APPKIT_LIBS="-framework AppKit"
9450 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9452 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9455 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9457 wine_can_build_preloader=yes
9458 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"
9459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9460 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9461 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9462 then :
9463 printf %s "(cached) " >&6
9464 else $as_nop
9465 ac_wine_try_cflags_saved=$CFLAGS
9466 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9468 /* end confdefs.h. */
9469 int main(int argc, char **argv) { return 0; }
9470 _ACEOF
9471 if ac_fn_c_try_link "$LINENO"
9472 then :
9473 ac_cv_cflags__Wl__no_new_main__e__main=yes
9474 else $as_nop
9475 ac_cv_cflags__Wl__no_new_main__e__main=no
9477 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9478 conftest$ac_exeext conftest.$ac_ext
9479 CFLAGS=$ac_wine_try_cflags_saved
9481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9482 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9483 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9484 then :
9485 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9486 { 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
9487 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9488 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9489 then :
9490 printf %s "(cached) " >&6
9491 else $as_nop
9492 ac_wine_try_cflags_saved=$CFLAGS
9493 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9495 /* end confdefs.h. */
9496 int main(int argc, char **argv) { return 0; }
9497 _ACEOF
9498 if ac_fn_c_try_link "$LINENO"
9499 then :
9500 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9501 else $as_nop
9502 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9504 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9505 conftest$ac_exeext conftest.$ac_ext
9506 CFLAGS=$ac_wine_try_cflags_saved
9508 { 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
9509 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9510 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9511 then :
9512 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9513 else $as_nop
9514 wine_can_build_preloader=no
9516 else $as_nop
9517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9518 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9519 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9520 then :
9521 printf %s "(cached) " >&6
9522 else $as_nop
9523 ac_wine_try_cflags_saved=$CFLAGS
9524 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9526 /* end confdefs.h. */
9527 int main(int argc, char **argv) { return 0; }
9528 _ACEOF
9529 if ac_fn_c_try_link "$LINENO"
9530 then :
9531 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9532 else $as_nop
9533 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9535 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9536 conftest$ac_exeext conftest.$ac_ext
9537 CFLAGS=$ac_wine_try_cflags_saved
9539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9540 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9541 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9542 then :
9543 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9544 else $as_nop
9545 wine_can_build_preloader=no
9548 if test "$wine_can_build_preloader" = "yes"
9549 then
9550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9551 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9552 if test ${ac_cv_cflags__Wl__no_pie+y}
9553 then :
9554 printf %s "(cached) " >&6
9555 else $as_nop
9556 ac_wine_try_cflags_saved=$CFLAGS
9557 CFLAGS="$CFLAGS -Wl,-no_pie"
9558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9559 /* end confdefs.h. */
9560 int main(int argc, char **argv) { return 0; }
9561 _ACEOF
9562 if ac_fn_c_try_link "$LINENO"
9563 then :
9564 ac_cv_cflags__Wl__no_pie=yes
9565 else $as_nop
9566 ac_cv_cflags__Wl__no_pie=no
9568 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9569 conftest$ac_exeext conftest.$ac_ext
9570 CFLAGS=$ac_wine_try_cflags_saved
9572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9573 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9574 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9575 then :
9576 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9578 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9579 else
9580 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9583 if test "x$with_coreaudio" != "xno";
9584 then
9585 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9587 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9589 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9590 then
9591 OPENCL_LIBS="-framework OpenCL"
9593 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9597 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9598 ac_ext=m
9599 ac_cpp='$OBJCPP $CPPFLAGS'
9600 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9601 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9602 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9604 ac_ext=m
9605 ac_cpp='$OBJCPP $CPPFLAGS'
9606 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9607 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9608 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9609 if test -n "$ac_tool_prefix"; then
9610 for ac_prog in gcc objcc objc cc CC clang
9612 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9613 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9615 printf %s "checking for $ac_word... " >&6; }
9616 if test ${ac_cv_prog_OBJC+y}
9617 then :
9618 printf %s "(cached) " >&6
9619 else $as_nop
9620 if test -n "$OBJC"; then
9621 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9622 else
9623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9624 for as_dir in $PATH
9626 IFS=$as_save_IFS
9627 case $as_dir in #(((
9628 '') as_dir=./ ;;
9629 */) ;;
9630 *) as_dir=$as_dir/ ;;
9631 esac
9632 for ac_exec_ext in '' $ac_executable_extensions; do
9633 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9634 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9635 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9636 break 2
9638 done
9639 done
9640 IFS=$as_save_IFS
9644 OBJC=$ac_cv_prog_OBJC
9645 if test -n "$OBJC"; then
9646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9647 printf "%s\n" "$OBJC" >&6; }
9648 else
9649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9650 printf "%s\n" "no" >&6; }
9654 test -n "$OBJC" && break
9655 done
9657 if test -z "$OBJC"; then
9658 ac_ct_OBJC=$OBJC
9659 for ac_prog in gcc objcc objc cc CC clang
9661 # Extract the first word of "$ac_prog", so it can be a program name with args.
9662 set dummy $ac_prog; ac_word=$2
9663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9664 printf %s "checking for $ac_word... " >&6; }
9665 if test ${ac_cv_prog_ac_ct_OBJC+y}
9666 then :
9667 printf %s "(cached) " >&6
9668 else $as_nop
9669 if test -n "$ac_ct_OBJC"; then
9670 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9671 else
9672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9673 for as_dir in $PATH
9675 IFS=$as_save_IFS
9676 case $as_dir in #(((
9677 '') as_dir=./ ;;
9678 */) ;;
9679 *) as_dir=$as_dir/ ;;
9680 esac
9681 for ac_exec_ext in '' $ac_executable_extensions; do
9682 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9683 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9684 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9685 break 2
9687 done
9688 done
9689 IFS=$as_save_IFS
9693 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9694 if test -n "$ac_ct_OBJC"; then
9695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9696 printf "%s\n" "$ac_ct_OBJC" >&6; }
9697 else
9698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9699 printf "%s\n" "no" >&6; }
9703 test -n "$ac_ct_OBJC" && break
9704 done
9706 if test "x$ac_ct_OBJC" = x; then
9707 OBJC="gcc"
9708 else
9709 case $cross_compiling:$ac_tool_warned in
9710 yes:)
9711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9712 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9713 ac_tool_warned=yes ;;
9714 esac
9715 OBJC=$ac_ct_OBJC
9719 # Provide some information about the compiler.
9720 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9721 set X $ac_compile
9722 ac_compiler=$2
9723 for ac_option in --version -v -V -qversion; do
9724 { { ac_try="$ac_compiler $ac_option >&5"
9725 case "(($ac_try" in
9726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9727 *) ac_try_echo=$ac_try;;
9728 esac
9729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9730 printf "%s\n" "$ac_try_echo"; } >&5
9731 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9732 ac_status=$?
9733 if test -s conftest.err; then
9734 sed '10a\
9735 ... rest of stderr output deleted ...
9736 10q' conftest.err >conftest.er1
9737 cat conftest.er1 >&5
9739 rm -f conftest.er1 conftest.err
9740 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9741 test $ac_status = 0; }
9742 done
9744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9745 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9746 if test ${ac_cv_objc_compiler_gnu+y}
9747 then :
9748 printf %s "(cached) " >&6
9749 else $as_nop
9750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9751 /* end confdefs.h. */
9754 main (void)
9756 #ifndef __GNUC__
9757 choke me
9758 #endif
9761 return 0;
9763 _ACEOF
9764 if ac_fn_objc_try_compile "$LINENO"
9765 then :
9766 ac_compiler_gnu=yes
9767 else $as_nop
9768 ac_compiler_gnu=no
9770 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9771 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9775 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9776 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9778 if test $ac_compiler_gnu = yes; then
9779 GOBJC=yes
9780 else
9781 GOBJC=
9783 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9784 ac_save_OBJCFLAGS=$OBJCFLAGS
9785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9786 printf %s "checking whether $OBJC accepts -g... " >&6; }
9787 if test ${ac_cv_prog_objc_g+y}
9788 then :
9789 printf %s "(cached) " >&6
9790 else $as_nop
9791 ac_save_objc_werror_flag=$ac_objc_werror_flag
9792 ac_objc_werror_flag=yes
9793 ac_cv_prog_objc_g=no
9794 OBJCFLAGS="-g"
9795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9796 /* end confdefs.h. */
9799 main (void)
9803 return 0;
9805 _ACEOF
9806 if ac_fn_objc_try_compile "$LINENO"
9807 then :
9808 ac_cv_prog_objc_g=yes
9809 else $as_nop
9810 OBJCFLAGS=""
9811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9812 /* end confdefs.h. */
9815 main (void)
9819 return 0;
9821 _ACEOF
9822 if ac_fn_objc_try_compile "$LINENO"
9823 then :
9825 else $as_nop
9826 ac_objc_werror_flag=$ac_save_objc_werror_flag
9827 OBJCFLAGS="-g"
9828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9829 /* end confdefs.h. */
9832 main (void)
9836 return 0;
9838 _ACEOF
9839 if ac_fn_objc_try_compile "$LINENO"
9840 then :
9841 ac_cv_prog_objc_g=yes
9843 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9845 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9847 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9848 ac_objc_werror_flag=$ac_save_objc_werror_flag
9850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9851 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9852 if test $ac_test_OBJCFLAGS; then
9853 OBJCFLAGS=$ac_save_OBJCFLAGS
9854 elif test $ac_cv_prog_objc_g = yes; then
9855 if test "$GOBJC" = yes; then
9856 OBJCFLAGS="-g -O2"
9857 else
9858 OBJCFLAGS="-g"
9860 else
9861 if test "$GOBJC" = yes; then
9862 OBJCFLAGS="-O2"
9863 else
9864 OBJCFLAGS=
9867 ac_ext=m
9868 ac_cpp='$OBJCPP $CPPFLAGS'
9869 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9870 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9871 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9875 /* end confdefs.h. */
9876 #include <Metal/Metal.h>
9878 main (void)
9880 id<MTLDevice> device; device.registryID;
9882 return 0;
9884 _ACEOF
9885 if ac_fn_objc_try_compile "$LINENO"
9886 then :
9887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9888 printf "%s\n" "yes" >&6; }
9890 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9892 else $as_nop
9893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9894 printf "%s\n" "no" >&6; }
9896 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9897 ac_ext=c
9898 ac_cpp='$CPP $CPPFLAGS'
9899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9904 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9905 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9907 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9909 WINELOADER_DEPENDS="wine_info.plist"
9911 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9914 linux-android*)
9916 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9918 DLLFLAGS="$DLLFLAGS -fPIC"
9919 LDDLLFLAGS="-fPIC"
9920 LDEXECFLAGS="-Wl,-pie"
9921 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9923 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9924 if test ${ac_cv_cflags__Wl__z_defs+y}
9925 then :
9926 printf %s "(cached) " >&6
9927 else $as_nop
9928 ac_wine_try_cflags_saved=$CFLAGS
9929 CFLAGS="$CFLAGS -Wl,-z,defs"
9930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9931 /* end confdefs.h. */
9932 int main(int argc, char **argv) { return 0; }
9933 _ACEOF
9934 if ac_fn_c_try_link "$LINENO"
9935 then :
9936 ac_cv_cflags__Wl__z_defs=yes
9937 else $as_nop
9938 ac_cv_cflags__Wl__z_defs=no
9940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9941 conftest$ac_exeext conftest.$ac_ext
9942 CFLAGS=$ac_wine_try_cflags_saved
9944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9945 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9946 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9947 then :
9948 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9951 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9952 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9953 then :
9954 printf %s "(cached) " >&6
9955 else $as_nop
9956 ac_wine_try_cflags_saved=$CFLAGS
9957 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9959 /* end confdefs.h. */
9960 int main(int argc, char **argv) { return 0; }
9961 _ACEOF
9962 if ac_fn_c_try_link "$LINENO"
9963 then :
9964 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9965 else $as_nop
9966 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9968 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9969 conftest$ac_exeext conftest.$ac_ext
9970 CFLAGS=$ac_wine_try_cflags_saved
9972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9973 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9974 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9975 then :
9976 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9978 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9981 printf %s "checking for -lEGL... " >&6; }
9982 if test ${ac_cv_lib_soname_EGL+y}
9983 then :
9984 printf %s "(cached) " >&6
9985 else $as_nop
9986 ac_check_soname_save_LIBS=$LIBS
9987 LIBS="-lEGL $LIBS"
9988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9989 /* end confdefs.h. */
9991 /* Override any GCC internal prototype to avoid an error.
9992 Use char because int might match the return type of a GCC
9993 builtin and then its argument prototype would still apply. */
9994 char eglGetProcAddress ();
9996 main (void)
9998 return eglGetProcAddress ();
10000 return 0;
10002 _ACEOF
10003 if ac_fn_c_try_link "$LINENO"
10004 then :
10005 case "$LIBEXT" in
10006 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10007 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'` ;;
10008 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10009 if ${ac_cv_lib_soname_EGL:+false} :
10010 then :
10011 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10012 fi ;;
10013 esac
10014 else $as_nop
10015 ac_cv_lib_soname_EGL=
10017 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10018 conftest$ac_exeext conftest.$ac_ext
10019 LIBS=$ac_check_soname_save_LIBS
10021 if ${ac_cv_lib_soname_EGL:+false} :
10022 then :
10023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10024 printf "%s\n" "not found" >&6; }
10026 else $as_nop
10027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10028 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10030 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10035 printf %s "checking for -lGLESv2... " >&6; }
10036 if test ${ac_cv_lib_soname_GLESv2+y}
10037 then :
10038 printf %s "(cached) " >&6
10039 else $as_nop
10040 ac_check_soname_save_LIBS=$LIBS
10041 LIBS="-lGLESv2 $LIBS"
10042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10043 /* end confdefs.h. */
10045 /* Override any GCC internal prototype to avoid an error.
10046 Use char because int might match the return type of a GCC
10047 builtin and then its argument prototype would still apply. */
10048 char glFlush ();
10050 main (void)
10052 return glFlush ();
10054 return 0;
10056 _ACEOF
10057 if ac_fn_c_try_link "$LINENO"
10058 then :
10059 case "$LIBEXT" in
10060 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10061 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'` ;;
10062 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10063 if ${ac_cv_lib_soname_GLESv2:+false} :
10064 then :
10065 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10066 fi ;;
10067 esac
10068 else $as_nop
10069 ac_cv_lib_soname_GLESv2=
10071 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10072 conftest$ac_exeext conftest.$ac_ext
10073 LIBS=$ac_check_soname_save_LIBS
10075 if ${ac_cv_lib_soname_GLESv2:+false} :
10076 then :
10077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10078 printf "%s\n" "not found" >&6; }
10080 else $as_nop
10081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10082 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10084 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10089 if test "x$exec_prefix" = xNONE
10090 then
10091 case $host_cpu in
10092 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10093 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10094 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10095 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10096 esac
10102 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10104 test "$ac_cv_sys_file_offset_bits" = 64 &&
10105 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10107 case $host_cpu in
10108 *i[3456789]86*)
10109 DLLFLAGS="$DLLFLAGS -fno-PIC"
10110 LDDLLFLAGS="-fno-PIC"
10111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10112 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10113 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10114 then :
10115 printf %s "(cached) " >&6
10116 else $as_nop
10117 ac_wine_try_cflags_saved=$CFLAGS
10118 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10120 /* end confdefs.h. */
10121 int main(int argc, char **argv) { return 0; }
10122 _ACEOF
10123 if ac_fn_c_try_link "$LINENO"
10124 then :
10125 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10126 else $as_nop
10127 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10129 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10130 conftest$ac_exeext conftest.$ac_ext
10131 CFLAGS=$ac_wine_try_cflags_saved
10133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10134 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10135 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10136 then :
10137 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10141 DLLFLAGS="$DLLFLAGS -fPIC"
10142 LDDLLFLAGS="-fPIC" ;;
10143 esac
10144 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10146 echo '{ global: *; };' >conftest.map
10147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10148 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10149 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10150 then :
10151 printf %s "(cached) " >&6
10152 else $as_nop
10153 ac_wine_try_cflags_saved=$CFLAGS
10154 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10156 /* end confdefs.h. */
10157 int main(int argc, char **argv) { return 0; }
10158 _ACEOF
10159 if ac_fn_c_try_link "$LINENO"
10160 then :
10161 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10162 else $as_nop
10163 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10166 conftest$ac_exeext conftest.$ac_ext
10167 CFLAGS=$ac_wine_try_cflags_saved
10169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10170 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10171 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10172 then :
10173 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10175 rm -f conftest.map
10177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10178 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10179 if test ${ac_cv_cflags__Wl__z_defs+y}
10180 then :
10181 printf %s "(cached) " >&6
10182 else $as_nop
10183 ac_wine_try_cflags_saved=$CFLAGS
10184 CFLAGS="$CFLAGS -Wl,-z,defs"
10185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10186 /* end confdefs.h. */
10187 int main(int argc, char **argv) { return 0; }
10188 _ACEOF
10189 if ac_fn_c_try_link "$LINENO"
10190 then :
10191 ac_cv_cflags__Wl__z_defs=yes
10192 else $as_nop
10193 ac_cv_cflags__Wl__z_defs=no
10195 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10196 conftest$ac_exeext conftest.$ac_ext
10197 CFLAGS=$ac_wine_try_cflags_saved
10199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10200 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10201 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10202 then :
10203 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10206 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10207 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10208 then :
10209 printf %s "(cached) " >&6
10210 else $as_nop
10211 ac_wine_try_cflags_saved=$CFLAGS
10212 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10214 /* end confdefs.h. */
10215 int main(int argc, char **argv) { return 0; }
10216 _ACEOF
10217 if ac_fn_c_try_link "$LINENO"
10218 then :
10219 ac_cv_cflags__Wl___export_dynamic=yes
10220 else $as_nop
10221 ac_cv_cflags__Wl___export_dynamic=no
10223 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10224 conftest$ac_exeext conftest.$ac_ext
10225 CFLAGS=$ac_wine_try_cflags_saved
10227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10228 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10229 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10230 then :
10231 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10233 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10235 case $host_cpu in
10236 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10238 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10239 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10240 then :
10241 printf %s "(cached) " >&6
10242 else $as_nop
10243 ac_wine_try_cflags_saved=$CFLAGS
10244 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10246 /* end confdefs.h. */
10247 int main(int argc, char **argv) { return 0; }
10248 _ACEOF
10249 if ac_fn_c_try_link "$LINENO"
10250 then :
10251 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10252 else $as_nop
10253 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10255 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10256 conftest$ac_exeext conftest.$ac_ext
10257 CFLAGS=$ac_wine_try_cflags_saved
10259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10260 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10261 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10262 then :
10263 case $host_os in
10264 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10265 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10266 esac
10267 else $as_nop
10268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10269 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10270 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10271 then :
10272 printf %s "(cached) " >&6
10273 else $as_nop
10274 ac_wine_try_cflags_saved=$CFLAGS
10275 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10277 /* end confdefs.h. */
10278 int main(int argc, char **argv) { return 0; }
10279 _ACEOF
10280 if ac_fn_c_try_link "$LINENO"
10281 then :
10282 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10283 else $as_nop
10284 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10286 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10287 conftest$ac_exeext conftest.$ac_ext
10288 CFLAGS=$ac_wine_try_cflags_saved
10290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10291 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10292 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10293 then :
10294 case $host_os in
10295 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10296 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10297 esac
10299 # Extract the first word of "prelink", so it can be a program name with args.
10300 set dummy prelink; ac_word=$2
10301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10302 printf %s "checking for $ac_word... " >&6; }
10303 if test ${ac_cv_path_PRELINK+y}
10304 then :
10305 printf %s "(cached) " >&6
10306 else $as_nop
10307 case $PRELINK in
10308 [\\/]* | ?:[\\/]*)
10309 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10313 for as_dir in /sbin /usr/sbin $PATH
10315 IFS=$as_save_IFS
10316 case $as_dir in #(((
10317 '') as_dir=./ ;;
10318 */) ;;
10319 *) as_dir=$as_dir/ ;;
10320 esac
10321 for ac_exec_ext in '' $ac_executable_extensions; do
10322 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10323 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10324 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10325 break 2
10327 done
10328 done
10329 IFS=$as_save_IFS
10331 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10333 esac
10335 PRELINK=$ac_cv_path_PRELINK
10336 if test -n "$PRELINK"; then
10337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10338 printf "%s\n" "$PRELINK" >&6; }
10339 else
10340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10341 printf "%s\n" "no" >&6; }
10345 if test "x$PRELINK" = xfalse
10346 then
10347 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10351 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10352 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10353 then :
10354 printf %s "(cached) " >&6
10355 else $as_nop
10356 ac_wine_try_cflags_saved=$CFLAGS
10357 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10359 /* end confdefs.h. */
10360 int main(int argc, char **argv) { return 0; }
10361 _ACEOF
10362 if ac_fn_c_try_link "$LINENO"
10363 then :
10364 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10365 else $as_nop
10366 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10368 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10369 conftest$ac_exeext conftest.$ac_ext
10370 CFLAGS=$ac_wine_try_cflags_saved
10372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10373 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10374 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10375 then :
10376 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10379 esac
10380 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10382 LIBWINE_DEPENDS="wine.map"
10384 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10386 esac
10388 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10389 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10390 enable_winemac_drv=${enable_winemac_drv:-no}
10392 PE_ARCHS=""
10394 cross_archs=
10395 if test ${enable_archs+y}
10396 then :
10397 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10398 ac_save_IFS=$IFS
10399 IFS=' ,'
10400 set x $enable_archs
10401 IFS=$ac_save_IFS
10402 shift
10403 for arch
10405 case $arch in
10406 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10407 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10408 esac
10409 done
10410 else $as_nop
10411 if test "x$with_mingw" != xno
10412 then
10413 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10414 case "x$with_mingw" in
10415 x|xyes) ;;
10416 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10417 esac
10421 for wine_arch in $cross_archs
10423 if eval \${${wine_arch}_CC:+false} :
10424 then :
10425 case $wine_arch in
10426 aarch64)
10427 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10429 # Extract the first word of "$ac_prog", so it can be a program name with args.
10430 set dummy $ac_prog; ac_word=$2
10431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10432 printf %s "checking for $ac_word... " >&6; }
10433 if test ${ac_cv_prog_aarch64_CC+y}
10434 then :
10435 printf %s "(cached) " >&6
10436 else $as_nop
10437 if test -n "$aarch64_CC"; then
10438 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10439 else
10440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10441 for as_dir in $PATH
10443 IFS=$as_save_IFS
10444 case $as_dir in #(((
10445 '') as_dir=./ ;;
10446 */) ;;
10447 *) as_dir=$as_dir/ ;;
10448 esac
10449 for ac_exec_ext in '' $ac_executable_extensions; do
10450 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10451 ac_cv_prog_aarch64_CC="$ac_prog"
10452 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10453 break 2
10455 done
10456 done
10457 IFS=$as_save_IFS
10461 aarch64_CC=$ac_cv_prog_aarch64_CC
10462 if test -n "$aarch64_CC"; then
10463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10464 printf "%s\n" "$aarch64_CC" >&6; }
10465 else
10466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10467 printf "%s\n" "no" >&6; }
10471 test -n "$aarch64_CC" && break
10472 done
10473 test -n "$aarch64_CC" || aarch64_CC="false"
10476 arm)
10477 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10479 # Extract the first word of "$ac_prog", so it can be a program name with args.
10480 set dummy $ac_prog; ac_word=$2
10481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10482 printf %s "checking for $ac_word... " >&6; }
10483 if test ${ac_cv_prog_arm_CC+y}
10484 then :
10485 printf %s "(cached) " >&6
10486 else $as_nop
10487 if test -n "$arm_CC"; then
10488 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10489 else
10490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10491 for as_dir in $PATH
10493 IFS=$as_save_IFS
10494 case $as_dir in #(((
10495 '') as_dir=./ ;;
10496 */) ;;
10497 *) as_dir=$as_dir/ ;;
10498 esac
10499 for ac_exec_ext in '' $ac_executable_extensions; do
10500 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10501 ac_cv_prog_arm_CC="$ac_prog"
10502 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10503 break 2
10505 done
10506 done
10507 IFS=$as_save_IFS
10511 arm_CC=$ac_cv_prog_arm_CC
10512 if test -n "$arm_CC"; then
10513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10514 printf "%s\n" "$arm_CC" >&6; }
10515 else
10516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10517 printf "%s\n" "no" >&6; }
10521 test -n "$arm_CC" && break
10522 done
10523 test -n "$arm_CC" || arm_CC="false"
10526 i386)
10527 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 "
10528 for ac_prog in $ac_prefix_list clang
10530 # Extract the first word of "$ac_prog", so it can be a program name with args.
10531 set dummy $ac_prog; ac_word=$2
10532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10533 printf %s "checking for $ac_word... " >&6; }
10534 if test ${ac_cv_prog_i386_CC+y}
10535 then :
10536 printf %s "(cached) " >&6
10537 else $as_nop
10538 if test -n "$i386_CC"; then
10539 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10540 else
10541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10542 for as_dir in $PATH
10544 IFS=$as_save_IFS
10545 case $as_dir in #(((
10546 '') as_dir=./ ;;
10547 */) ;;
10548 *) as_dir=$as_dir/ ;;
10549 esac
10550 for ac_exec_ext in '' $ac_executable_extensions; do
10551 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10552 ac_cv_prog_i386_CC="$ac_prog"
10553 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10554 break 2
10556 done
10557 done
10558 IFS=$as_save_IFS
10562 i386_CC=$ac_cv_prog_i386_CC
10563 if test -n "$i386_CC"; then
10564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10565 printf "%s\n" "$i386_CC" >&6; }
10566 else
10567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10568 printf "%s\n" "no" >&6; }
10572 test -n "$i386_CC" && break
10573 done
10574 test -n "$i386_CC" || i386_CC="false"
10577 x86_64)
10578 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10579 for ac_prog in $ac_prefix_list clang
10581 # Extract the first word of "$ac_prog", so it can be a program name with args.
10582 set dummy $ac_prog; ac_word=$2
10583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10584 printf %s "checking for $ac_word... " >&6; }
10585 if test ${ac_cv_prog_x86_64_CC+y}
10586 then :
10587 printf %s "(cached) " >&6
10588 else $as_nop
10589 if test -n "$x86_64_CC"; then
10590 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10591 else
10592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10593 for as_dir in $PATH
10595 IFS=$as_save_IFS
10596 case $as_dir in #(((
10597 '') as_dir=./ ;;
10598 */) ;;
10599 *) as_dir=$as_dir/ ;;
10600 esac
10601 for ac_exec_ext in '' $ac_executable_extensions; do
10602 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10603 ac_cv_prog_x86_64_CC="$ac_prog"
10604 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10605 break 2
10607 done
10608 done
10609 IFS=$as_save_IFS
10613 x86_64_CC=$ac_cv_prog_x86_64_CC
10614 if test -n "$x86_64_CC"; then
10615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10616 printf "%s\n" "$x86_64_CC" >&6; }
10617 else
10618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10619 printf "%s\n" "no" >&6; }
10623 test -n "$x86_64_CC" && break
10624 done
10625 test -n "$x86_64_CC" || x86_64_CC="false"
10628 esac
10631 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10632 then :
10633 continue
10636 saved_CC=$CC
10637 saved_CFLAGS=$CFLAGS
10639 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10640 eval CC=\$${wine_arch}_CC
10641 eval ${wine_arch}_CFLAGS=\$CFLAGS
10642 eval ${wine_arch}_LDFLAGS=\$CROSSLDFLAGS
10643 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10645 target=""
10646 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10649 printf %s "checking whether $CC works... " >&6; }
10650 if eval test \${$as_wine_cv_crosscc+y}
10651 then :
10652 printf %s "(cached) " >&6
10653 else $as_nop
10654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10655 /* end confdefs.h. */
10658 main (void)
10662 return 0;
10664 _ACEOF
10665 if ac_fn_c_try_compile "$LINENO"
10666 then :
10667 eval "$as_wine_cv_crosscc=yes"
10668 else $as_nop
10669 eval "$as_wine_cv_crosscc=no"
10671 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10673 eval ac_res=\$$as_wine_cv_crosscc
10674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10675 printf "%s\n" "$ac_res" >&6; }
10676 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10677 then :
10678 set x $CC
10679 shift
10680 while test $# -ge 1
10682 case "$1" in
10683 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10684 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10685 esac
10686 shift
10687 done
10689 llvm_target=$target
10690 if test -z "$llvm_target"
10691 then
10692 case $wine_arch in
10693 i386) llvm_target=i686-windows ;;
10694 arm) llvm_target=armv7-windows ;;
10695 *) llvm_target=$wine_arch-windows ;;
10696 esac
10698 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10699 case $llvm_target in
10700 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10701 esac
10702 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10704 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10705 if eval test \${$as_ac_var+y}
10706 then :
10707 printf %s "(cached) " >&6
10708 else $as_nop
10709 ac_wine_try_cflags_saved=$CFLAGS
10710 ac_wine_try_cflags_saved_exeext=$ac_exeext
10711 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10712 ac_exeext=".exe"
10713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10714 /* end confdefs.h. */
10715 int __cdecl mainCRTStartup(void) { return 0; }
10716 _ACEOF
10717 if ac_fn_c_try_link "$LINENO"
10718 then :
10719 eval "$as_ac_var=yes"
10720 else $as_nop
10721 eval "$as_ac_var=no"
10723 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10724 conftest$ac_exeext conftest.$ac_ext
10725 CFLAGS=$ac_wine_try_cflags_saved
10726 ac_exeext=$ac_wine_try_cflags_saved_exeext
10728 eval ac_res=\$$as_ac_var
10729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10730 printf "%s\n" "$ac_res" >&6; }
10731 if eval test \"x\$"$as_ac_var"\" = x"yes"
10732 then :
10733 target=$llvm_target
10734 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10735 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10736 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10737 fi }
10738 eval "${wine_arch}_TARGET=\$target"
10742 if test -z "$target"
10743 then
10744 CC=$saved_CC
10745 CFLAGS=$saved_CFLAGS
10746 continue
10748 as_fn_append PE_ARCHS " $wine_arch"
10750 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10753 printf %s "checking for $CC option to enable C99 features... " >&6; }
10754 if eval test \${$as_wine_cv_crosscc_c99+y}
10755 then :
10756 printf %s "(cached) " >&6
10757 else $as_nop
10758 eval "$as_wine_cv_crosscc_c99=no"
10759 for arg in '' '-std=gnu99'
10761 test -z "$arg" || CC="$CC $arg"
10762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10763 /* end confdefs.h. */
10764 $ac_c_conftest_c99_program
10765 _ACEOF
10766 if ac_fn_c_try_compile "$LINENO"
10767 then :
10768 eval "$as_wine_cv_crosscc_c99=\$arg"
10769 else $as_nop
10770 eval "$as_wine_cv_crosscc_c99=no"
10772 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10773 eval CC=\$${wine_arch}_CC
10774 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10775 then :
10777 else $as_nop
10778 break
10780 done
10783 eval res=\$$as_wine_cv_crosscc_c99
10784 case "x$res" in
10785 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10786 printf "%s\n" "none needed" >&6; } ;;
10787 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10788 printf "%s\n" "unsupported" >&6; } ;;
10789 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10790 printf "%s\n" "$res" >&6; }
10791 as_fn_append ${wine_arch}_CC " $res" ;;
10792 esac
10795 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10797 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10798 if eval test \${$as_ac_var+y}
10799 then :
10800 printf %s "(cached) " >&6
10801 else $as_nop
10802 ac_wine_try_cflags_saved=$CFLAGS
10803 ac_wine_try_cflags_saved_exeext=$ac_exeext
10804 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10805 ac_exeext=".exe"
10806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10807 /* end confdefs.h. */
10808 int __cdecl mainCRTStartup(void) { return 0; }
10809 _ACEOF
10810 if ac_fn_c_try_link "$LINENO"
10811 then :
10812 eval "$as_ac_var=yes"
10813 else $as_nop
10814 eval "$as_ac_var=no"
10816 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10817 conftest$ac_exeext conftest.$ac_ext
10818 CFLAGS=$ac_wine_try_cflags_saved
10819 ac_exeext=$ac_wine_try_cflags_saved_exeext
10821 eval ac_res=\$$as_ac_var
10822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10823 printf "%s\n" "$ac_res" >&6; }
10824 if eval test \"x\$"$as_ac_var"\" = x"yes"
10825 then :
10826 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10827 fi }
10828 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10830 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10831 if eval test \${$as_ac_var+y}
10832 then :
10833 printf %s "(cached) " >&6
10834 else $as_nop
10835 ac_wine_try_cflags_saved=$CFLAGS
10836 ac_wine_try_cflags_saved_exeext=$ac_exeext
10837 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10838 ac_exeext=".exe"
10839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10840 /* end confdefs.h. */
10841 int __cdecl mainCRTStartup(void) { return 0; }
10842 _ACEOF
10843 if ac_fn_c_try_link "$LINENO"
10844 then :
10845 eval "$as_ac_var=yes"
10846 else $as_nop
10847 eval "$as_ac_var=no"
10849 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10850 conftest$ac_exeext conftest.$ac_ext
10851 CFLAGS=$ac_wine_try_cflags_saved
10852 ac_exeext=$ac_wine_try_cflags_saved_exeext
10854 eval ac_res=\$$as_ac_var
10855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10856 printf "%s\n" "$ac_res" >&6; }
10857 if eval test \"x\$"$as_ac_var"\" = x"yes"
10858 then :
10859 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10860 fi }
10861 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10863 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10864 if eval test \${$as_ac_var+y}
10865 then :
10866 printf %s "(cached) " >&6
10867 else $as_nop
10868 ac_wine_try_cflags_saved=$CFLAGS
10869 ac_wine_try_cflags_saved_exeext=$ac_exeext
10870 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10871 ac_exeext=".exe"
10872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10873 /* end confdefs.h. */
10874 int __cdecl mainCRTStartup(void) { return 0; }
10875 _ACEOF
10876 if ac_fn_c_try_link "$LINENO"
10877 then :
10878 eval "$as_ac_var=yes"
10879 else $as_nop
10880 eval "$as_ac_var=no"
10882 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10883 conftest$ac_exeext conftest.$ac_ext
10884 CFLAGS=$ac_wine_try_cflags_saved
10885 ac_exeext=$ac_wine_try_cflags_saved_exeext
10887 eval ac_res=\$$as_ac_var
10888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10889 printf "%s\n" "$ac_res" >&6; }
10890 if eval test \"x\$"$as_ac_var"\" = x"yes"
10891 then :
10892 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10893 fi }
10894 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10896 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10897 if eval test \${$as_ac_var+y}
10898 then :
10899 printf %s "(cached) " >&6
10900 else $as_nop
10901 ac_wine_try_cflags_saved=$CFLAGS
10902 ac_wine_try_cflags_saved_exeext=$ac_exeext
10903 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10904 ac_exeext=".exe"
10905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10906 /* end confdefs.h. */
10907 int __cdecl mainCRTStartup(void) { return 0; }
10908 _ACEOF
10909 if ac_fn_c_try_link "$LINENO"
10910 then :
10911 eval "$as_ac_var=yes"
10912 else $as_nop
10913 eval "$as_ac_var=no"
10915 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10916 conftest$ac_exeext conftest.$ac_ext
10917 CFLAGS=$ac_wine_try_cflags_saved
10918 ac_exeext=$ac_wine_try_cflags_saved_exeext
10920 eval ac_res=\$$as_ac_var
10921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10922 printf "%s\n" "$ac_res" >&6; }
10923 if eval test \"x\$"$as_ac_var"\" = x"yes"
10924 then :
10925 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10926 fi }
10927 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10929 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10930 if eval test \${$as_ac_var+y}
10931 then :
10932 printf %s "(cached) " >&6
10933 else $as_nop
10934 ac_wine_try_cflags_saved=$CFLAGS
10935 ac_wine_try_cflags_saved_exeext=$ac_exeext
10936 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10937 ac_exeext=".exe"
10938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10939 /* end confdefs.h. */
10940 int __cdecl mainCRTStartup(void) { return 0; }
10941 _ACEOF
10942 if ac_fn_c_try_link "$LINENO"
10943 then :
10944 eval "$as_ac_var=yes"
10945 else $as_nop
10946 eval "$as_ac_var=no"
10948 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10949 conftest$ac_exeext conftest.$ac_ext
10950 CFLAGS=$ac_wine_try_cflags_saved
10951 ac_exeext=$ac_wine_try_cflags_saved_exeext
10953 eval ac_res=\$$as_ac_var
10954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10955 printf "%s\n" "$ac_res" >&6; }
10956 if eval test \"x\$"$as_ac_var"\" = x"yes"
10957 then :
10958 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10959 fi }
10960 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10962 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10963 if eval test \${$as_ac_var+y}
10964 then :
10965 printf %s "(cached) " >&6
10966 else $as_nop
10967 ac_wine_try_cflags_saved=$CFLAGS
10968 ac_wine_try_cflags_saved_exeext=$ac_exeext
10969 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10970 ac_exeext=".exe"
10971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10972 /* end confdefs.h. */
10973 int __cdecl mainCRTStartup(void) { return 0; }
10974 _ACEOF
10975 if ac_fn_c_try_link "$LINENO"
10976 then :
10977 eval "$as_ac_var=yes"
10978 else $as_nop
10979 eval "$as_ac_var=no"
10981 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10982 conftest$ac_exeext conftest.$ac_ext
10983 CFLAGS=$ac_wine_try_cflags_saved
10984 ac_exeext=$ac_wine_try_cflags_saved_exeext
10986 eval ac_res=\$$as_ac_var
10987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10988 printf "%s\n" "$ac_res" >&6; }
10989 if eval test \"x\$"$as_ac_var"\" = x"yes"
10990 then :
10991 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10992 fi }
10993 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10995 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10996 if eval test \${$as_ac_var+y}
10997 then :
10998 printf %s "(cached) " >&6
10999 else $as_nop
11000 ac_wine_try_cflags_saved=$CFLAGS
11001 ac_wine_try_cflags_saved_exeext=$ac_exeext
11002 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
11003 ac_exeext=".exe"
11004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11005 /* end confdefs.h. */
11006 int __cdecl mainCRTStartup(void) { return 0; }
11007 _ACEOF
11008 if ac_fn_c_try_link "$LINENO"
11009 then :
11010 eval "$as_ac_var=yes"
11011 else $as_nop
11012 eval "$as_ac_var=no"
11014 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11015 conftest$ac_exeext conftest.$ac_ext
11016 CFLAGS=$ac_wine_try_cflags_saved
11017 ac_exeext=$ac_wine_try_cflags_saved_exeext
11019 eval ac_res=\$$as_ac_var
11020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11021 printf "%s\n" "$ac_res" >&6; }
11022 if eval test \"x\$"$as_ac_var"\" = x"yes"
11023 then :
11024 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11025 fi }
11026 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
11027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11028 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11029 if eval test \${$as_ac_var+y}
11030 then :
11031 printf %s "(cached) " >&6
11032 else $as_nop
11033 ac_wine_try_cflags_saved=$CFLAGS
11034 ac_wine_try_cflags_saved_exeext=$ac_exeext
11035 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11036 ac_exeext=".exe"
11037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11038 /* end confdefs.h. */
11039 int __cdecl mainCRTStartup(void) { return 0; }
11040 _ACEOF
11041 if ac_fn_c_try_link "$LINENO"
11042 then :
11043 eval "$as_ac_var=yes"
11044 else $as_nop
11045 eval "$as_ac_var=no"
11047 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11048 conftest$ac_exeext conftest.$ac_ext
11049 CFLAGS=$ac_wine_try_cflags_saved
11050 ac_exeext=$ac_wine_try_cflags_saved_exeext
11052 eval ac_res=\$$as_ac_var
11053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11054 printf "%s\n" "$ac_res" >&6; }
11055 if eval test \"x\$"$as_ac_var"\" = x"yes"
11056 then :
11057 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11058 fi }
11059 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11061 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11062 if eval test \${$as_ac_var+y}
11063 then :
11064 printf %s "(cached) " >&6
11065 else $as_nop
11066 ac_wine_try_cflags_saved=$CFLAGS
11067 ac_wine_try_cflags_saved_exeext=$ac_exeext
11068 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11069 ac_exeext=".exe"
11070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11071 /* end confdefs.h. */
11072 int __cdecl mainCRTStartup(void) { return 0; }
11073 _ACEOF
11074 if ac_fn_c_try_link "$LINENO"
11075 then :
11076 eval "$as_ac_var=yes"
11077 else $as_nop
11078 eval "$as_ac_var=no"
11080 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11081 conftest$ac_exeext conftest.$ac_ext
11082 CFLAGS=$ac_wine_try_cflags_saved
11083 ac_exeext=$ac_wine_try_cflags_saved_exeext
11085 eval ac_res=\$$as_ac_var
11086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11087 printf "%s\n" "$ac_res" >&6; }
11088 if eval test \"x\$"$as_ac_var"\" = x"yes"
11089 then :
11090 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11091 fi }
11092 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11094 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11095 if eval test \${$as_ac_var+y}
11096 then :
11097 printf %s "(cached) " >&6
11098 else $as_nop
11099 ac_wine_try_cflags_saved=$CFLAGS
11100 ac_wine_try_cflags_saved_exeext=$ac_exeext
11101 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11102 ac_exeext=".exe"
11103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11104 /* end confdefs.h. */
11105 int __cdecl mainCRTStartup(void) { return 0; }
11106 _ACEOF
11107 if ac_fn_c_try_link "$LINENO"
11108 then :
11109 eval "$as_ac_var=yes"
11110 else $as_nop
11111 eval "$as_ac_var=no"
11113 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11114 conftest$ac_exeext conftest.$ac_ext
11115 CFLAGS=$ac_wine_try_cflags_saved
11116 ac_exeext=$ac_wine_try_cflags_saved_exeext
11118 eval ac_res=\$$as_ac_var
11119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11120 printf "%s\n" "$ac_res" >&6; }
11121 if eval test \"x\$"$as_ac_var"\" = x"yes"
11122 then :
11123 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11124 fi }
11125 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11127 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11128 if eval test \${$as_ac_var+y}
11129 then :
11130 printf %s "(cached) " >&6
11131 else $as_nop
11132 ac_wine_try_cflags_saved=$CFLAGS
11133 ac_wine_try_cflags_saved_exeext=$ac_exeext
11134 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11135 ac_exeext=".exe"
11136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11137 /* end confdefs.h. */
11138 int __cdecl mainCRTStartup(void) { return 0; }
11139 _ACEOF
11140 if ac_fn_c_try_link "$LINENO"
11141 then :
11142 eval "$as_ac_var=yes"
11143 else $as_nop
11144 eval "$as_ac_var=no"
11146 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11147 conftest$ac_exeext conftest.$ac_ext
11148 CFLAGS=$ac_wine_try_cflags_saved
11149 ac_exeext=$ac_wine_try_cflags_saved_exeext
11151 eval ac_res=\$$as_ac_var
11152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11153 printf "%s\n" "$ac_res" >&6; }
11154 if eval test \"x\$"$as_ac_var"\" = x"yes"
11155 then :
11156 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11157 fi }
11158 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11160 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11161 if eval test \${$as_ac_var+y}
11162 then :
11163 printf %s "(cached) " >&6
11164 else $as_nop
11165 ac_wine_try_cflags_saved=$CFLAGS
11166 ac_wine_try_cflags_saved_exeext=$ac_exeext
11167 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11168 ac_exeext=".exe"
11169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11170 /* end confdefs.h. */
11171 int __cdecl mainCRTStartup(void) { return 0; }
11172 _ACEOF
11173 if ac_fn_c_try_link "$LINENO"
11174 then :
11175 eval "$as_ac_var=yes"
11176 else $as_nop
11177 eval "$as_ac_var=no"
11179 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11180 conftest$ac_exeext conftest.$ac_ext
11181 CFLAGS=$ac_wine_try_cflags_saved
11182 ac_exeext=$ac_wine_try_cflags_saved_exeext
11184 eval ac_res=\$$as_ac_var
11185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11186 printf "%s\n" "$ac_res" >&6; }
11187 if eval test \"x\$"$as_ac_var"\" = x"yes"
11188 then :
11189 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11190 fi }
11191 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11193 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11194 if eval test \${$as_ac_var+y}
11195 then :
11196 printf %s "(cached) " >&6
11197 else $as_nop
11198 ac_wine_try_cflags_saved=$CFLAGS
11199 ac_wine_try_cflags_saved_exeext=$ac_exeext
11200 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11201 ac_exeext=".exe"
11202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11203 /* end confdefs.h. */
11204 int __cdecl mainCRTStartup(void) { return 0; }
11205 _ACEOF
11206 if ac_fn_c_try_link "$LINENO"
11207 then :
11208 eval "$as_ac_var=yes"
11209 else $as_nop
11210 eval "$as_ac_var=no"
11212 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11213 conftest$ac_exeext conftest.$ac_ext
11214 CFLAGS=$ac_wine_try_cflags_saved
11215 ac_exeext=$ac_wine_try_cflags_saved_exeext
11217 eval ac_res=\$$as_ac_var
11218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11219 printf "%s\n" "$ac_res" >&6; }
11220 if eval test \"x\$"$as_ac_var"\" = x"yes"
11221 then :
11222 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11223 fi }
11224 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11226 printf %s "checking whether $CC supports -Wvla... " >&6; }
11227 if eval test \${$as_ac_var+y}
11228 then :
11229 printf %s "(cached) " >&6
11230 else $as_nop
11231 ac_wine_try_cflags_saved=$CFLAGS
11232 ac_wine_try_cflags_saved_exeext=$ac_exeext
11233 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11234 ac_exeext=".exe"
11235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11236 /* end confdefs.h. */
11237 int __cdecl mainCRTStartup(void) { return 0; }
11238 _ACEOF
11239 if ac_fn_c_try_link "$LINENO"
11240 then :
11241 eval "$as_ac_var=yes"
11242 else $as_nop
11243 eval "$as_ac_var=no"
11245 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11246 conftest$ac_exeext conftest.$ac_ext
11247 CFLAGS=$ac_wine_try_cflags_saved
11248 ac_exeext=$ac_wine_try_cflags_saved_exeext
11250 eval ac_res=\$$as_ac_var
11251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11252 printf "%s\n" "$ac_res" >&6; }
11253 if eval test \"x\$"$as_ac_var"\" = x"yes"
11254 then :
11255 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11256 fi }
11257 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11259 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11260 if eval test \${$as_ac_var+y}
11261 then :
11262 printf %s "(cached) " >&6
11263 else $as_nop
11264 ac_wine_try_cflags_saved=$CFLAGS
11265 ac_wine_try_cflags_saved_exeext=$ac_exeext
11266 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11267 ac_exeext=".exe"
11268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11269 /* end confdefs.h. */
11270 int __cdecl mainCRTStartup(void) { return 0; }
11271 _ACEOF
11272 if ac_fn_c_try_link "$LINENO"
11273 then :
11274 eval "$as_ac_var=yes"
11275 else $as_nop
11276 eval "$as_ac_var=no"
11278 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11279 conftest$ac_exeext conftest.$ac_ext
11280 CFLAGS=$ac_wine_try_cflags_saved
11281 ac_exeext=$ac_wine_try_cflags_saved_exeext
11283 eval ac_res=\$$as_ac_var
11284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11285 printf "%s\n" "$ac_res" >&6; }
11286 if eval test \"x\$"$as_ac_var"\" = x"yes"
11287 then :
11288 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11289 fi }
11290 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11292 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11293 if eval test \${$as_ac_var+y}
11294 then :
11295 printf %s "(cached) " >&6
11296 else $as_nop
11297 ac_wine_try_cflags_saved=$CFLAGS
11298 ac_wine_try_cflags_saved_exeext=$ac_exeext
11299 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11300 ac_exeext=".exe"
11301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11302 /* end confdefs.h. */
11303 int __cdecl mainCRTStartup(void) { return 0; }
11304 _ACEOF
11305 if ac_fn_c_try_link "$LINENO"
11306 then :
11307 eval "$as_ac_var=yes"
11308 else $as_nop
11309 eval "$as_ac_var=no"
11311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11312 conftest$ac_exeext conftest.$ac_ext
11313 CFLAGS=$ac_wine_try_cflags_saved
11314 ac_exeext=$ac_wine_try_cflags_saved_exeext
11316 eval ac_res=\$$as_ac_var
11317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11318 printf "%s\n" "$ac_res" >&6; }
11319 if eval test \"x\$"$as_ac_var"\" = x"yes"
11320 then :
11321 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11322 fi }
11323 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11325 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11326 if eval test \${$as_ac_var+y}
11327 then :
11328 printf %s "(cached) " >&6
11329 else $as_nop
11330 ac_wine_try_cflags_saved=$CFLAGS
11331 ac_wine_try_cflags_saved_exeext=$ac_exeext
11332 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11333 ac_exeext=".exe"
11334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11335 /* end confdefs.h. */
11336 int __cdecl mainCRTStartup(void) { return 0; }
11337 _ACEOF
11338 if ac_fn_c_try_link "$LINENO"
11339 then :
11340 eval "$as_ac_var=yes"
11341 else $as_nop
11342 eval "$as_ac_var=no"
11344 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11345 conftest$ac_exeext conftest.$ac_ext
11346 CFLAGS=$ac_wine_try_cflags_saved
11347 ac_exeext=$ac_wine_try_cflags_saved_exeext
11349 eval ac_res=\$$as_ac_var
11350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11351 printf "%s\n" "$ac_res" >&6; }
11352 if eval test \"x\$"$as_ac_var"\" = x"yes"
11353 then :
11354 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11355 fi }
11356 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11358 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11359 if eval test \${$as_ac_var+y}
11360 then :
11361 printf %s "(cached) " >&6
11362 else $as_nop
11363 ac_wine_try_cflags_saved=$CFLAGS
11364 ac_wine_try_cflags_saved_exeext=$ac_exeext
11365 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11366 ac_exeext=".exe"
11367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11368 /* end confdefs.h. */
11369 int __cdecl mainCRTStartup(void) { return 0; }
11370 _ACEOF
11371 if ac_fn_c_try_link "$LINENO"
11372 then :
11373 eval "$as_ac_var=yes"
11374 else $as_nop
11375 eval "$as_ac_var=no"
11377 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11378 conftest$ac_exeext conftest.$ac_ext
11379 CFLAGS=$ac_wine_try_cflags_saved
11380 ac_exeext=$ac_wine_try_cflags_saved_exeext
11382 eval ac_res=\$$as_ac_var
11383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11384 printf "%s\n" "$ac_res" >&6; }
11385 if eval test \"x\$"$as_ac_var"\" = x"yes"
11386 then :
11387 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11388 fi }
11390 case $wine_arch in
11391 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11393 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11394 if eval test \${$as_ac_var+y}
11395 then :
11396 printf %s "(cached) " >&6
11397 else $as_nop
11398 ac_wine_try_cflags_saved=$CFLAGS
11399 ac_wine_try_cflags_saved_exeext=$ac_exeext
11400 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11401 ac_exeext=".exe"
11402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11403 /* end confdefs.h. */
11404 int __cdecl mainCRTStartup(void) { return 0; }
11405 _ACEOF
11406 if ac_fn_c_try_link "$LINENO"
11407 then :
11408 eval "$as_ac_var=yes"
11409 else $as_nop
11410 eval "$as_ac_var=no"
11412 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11413 conftest$ac_exeext conftest.$ac_ext
11414 CFLAGS=$ac_wine_try_cflags_saved
11415 ac_exeext=$ac_wine_try_cflags_saved_exeext
11417 eval ac_res=\$$as_ac_var
11418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11419 printf "%s\n" "$ac_res" >&6; }
11420 if eval test \"x\$"$as_ac_var"\" = x"yes"
11421 then :
11422 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11423 fi }
11424 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11426 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11427 if eval test \${$as_ac_var+y}
11428 then :
11429 printf %s "(cached) " >&6
11430 else $as_nop
11431 ac_wine_try_cflags_saved=$CFLAGS
11432 ac_wine_try_cflags_saved_exeext=$ac_exeext
11433 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11434 ac_exeext=".exe"
11435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11436 /* end confdefs.h. */
11437 int __cdecl mainCRTStartup(void) { return 0; }
11438 _ACEOF
11439 if ac_fn_c_try_link "$LINENO"
11440 then :
11441 eval "$as_ac_var=yes"
11442 else $as_nop
11443 eval "$as_ac_var=no"
11445 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11446 conftest$ac_exeext conftest.$ac_ext
11447 CFLAGS=$ac_wine_try_cflags_saved
11448 ac_exeext=$ac_wine_try_cflags_saved_exeext
11450 eval ac_res=\$$as_ac_var
11451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11452 printf "%s\n" "$ac_res" >&6; }
11453 if eval test \"x\$"$as_ac_var"\" = x"yes"
11454 then :
11455 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11456 fi } ;;
11457 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11459 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11460 if eval test \${$as_ac_var+y}
11461 then :
11462 printf %s "(cached) " >&6
11463 else $as_nop
11464 ac_wine_try_cflags_saved=$CFLAGS
11465 ac_wine_try_cflags_saved_exeext=$ac_exeext
11466 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11467 ac_exeext=".exe"
11468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11469 /* end confdefs.h. */
11470 int __cdecl mainCRTStartup(void) { return 0; }
11471 _ACEOF
11472 if ac_fn_c_try_link "$LINENO"
11473 then :
11474 eval "$as_ac_var=yes"
11475 else $as_nop
11476 eval "$as_ac_var=no"
11478 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11479 conftest$ac_exeext conftest.$ac_ext
11480 CFLAGS=$ac_wine_try_cflags_saved
11481 ac_exeext=$ac_wine_try_cflags_saved_exeext
11483 eval ac_res=\$$as_ac_var
11484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11485 printf "%s\n" "$ac_res" >&6; }
11486 if eval test \"x\$"$as_ac_var"\" = x"yes"
11487 then :
11488 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11489 fi }
11490 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11492 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11493 if eval test \${$as_ac_var+y}
11494 then :
11495 printf %s "(cached) " >&6
11496 else $as_nop
11497 ac_wine_try_cflags_saved=$CFLAGS
11498 ac_wine_try_cflags_saved_exeext=$ac_exeext
11499 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11500 ac_exeext=".exe"
11501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11502 /* end confdefs.h. */
11503 int __cdecl mainCRTStartup(void) { return 0; }
11504 _ACEOF
11505 if ac_fn_c_try_link "$LINENO"
11506 then :
11507 eval "$as_ac_var=yes"
11508 else $as_nop
11509 eval "$as_ac_var=no"
11511 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11512 conftest$ac_exeext conftest.$ac_ext
11513 CFLAGS=$ac_wine_try_cflags_saved
11514 ac_exeext=$ac_wine_try_cflags_saved_exeext
11516 eval ac_res=\$$as_ac_var
11517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11518 printf "%s\n" "$ac_res" >&6; }
11519 if eval test \"x\$"$as_ac_var"\" = x"yes"
11520 then :
11521 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11522 fi }
11523 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11525 printf %s "checking whether $CC supports -mcx16... " >&6; }
11526 if eval test \${$as_ac_var+y}
11527 then :
11528 printf %s "(cached) " >&6
11529 else $as_nop
11530 ac_wine_try_cflags_saved=$CFLAGS
11531 ac_wine_try_cflags_saved_exeext=$ac_exeext
11532 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11533 ac_exeext=".exe"
11534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11535 /* end confdefs.h. */
11536 int __cdecl mainCRTStartup(void) { return 0; }
11537 _ACEOF
11538 if ac_fn_c_try_link "$LINENO"
11539 then :
11540 eval "$as_ac_var=yes"
11541 else $as_nop
11542 eval "$as_ac_var=no"
11544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11545 conftest$ac_exeext conftest.$ac_ext
11546 CFLAGS=$ac_wine_try_cflags_saved
11547 ac_exeext=$ac_wine_try_cflags_saved_exeext
11549 eval ac_res=\$$as_ac_var
11550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11551 printf "%s\n" "$ac_res" >&6; }
11552 if eval test \"x\$"$as_ac_var"\" = x"yes"
11553 then :
11554 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11555 fi } ;;
11556 esac
11558 wine_crossdebug=$CROSSDEBUG
11559 if test -z "$wine_crossdebug"
11560 then
11561 for ac_flag in $CFLAGS; do
11562 case $ac_flag in
11563 -gdwarf*) wine_crossdebug=dwarf ;;
11564 -gcodeview) wine_crossdebug=pdb ;;
11565 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11566 esac
11567 done
11570 ac_debug_format_seen=""
11571 for ac_flag in $CFLAGS; do
11572 case $ac_flag in
11573 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11574 esac
11575 done
11576 if test "x$ac_debug_format_seen" = x
11577 then
11578 case $wine_crossdebug in
11579 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11581 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11582 if eval test \${$as_ac_var+y}
11583 then :
11584 printf %s "(cached) " >&6
11585 else $as_nop
11586 ac_wine_try_cflags_saved=$CFLAGS
11587 ac_wine_try_cflags_saved_exeext=$ac_exeext
11588 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11589 ac_exeext=".exe"
11590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11591 /* end confdefs.h. */
11592 int __cdecl mainCRTStartup(void) { return 0; }
11593 _ACEOF
11594 if ac_fn_c_try_link "$LINENO"
11595 then :
11596 eval "$as_ac_var=yes"
11597 else $as_nop
11598 eval "$as_ac_var=no"
11600 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11601 conftest$ac_exeext conftest.$ac_ext
11602 CFLAGS=$ac_wine_try_cflags_saved
11603 ac_exeext=$ac_wine_try_cflags_saved_exeext
11605 eval ac_res=\$$as_ac_var
11606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11607 printf "%s\n" "$ac_res" >&6; }
11608 if eval test \"x\$"$as_ac_var"\" = x"yes"
11609 then :
11610 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11611 fi } ;;
11612 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11614 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11615 if eval test \${$as_ac_var+y}
11616 then :
11617 printf %s "(cached) " >&6
11618 else $as_nop
11619 ac_wine_try_cflags_saved=$CFLAGS
11620 ac_wine_try_cflags_saved_exeext=$ac_exeext
11621 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11622 ac_exeext=".exe"
11623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11624 /* end confdefs.h. */
11625 int __cdecl mainCRTStartup(void) { return 0; }
11626 _ACEOF
11627 if ac_fn_c_try_link "$LINENO"
11628 then :
11629 eval "$as_ac_var=yes"
11630 else $as_nop
11631 eval "$as_ac_var=no"
11633 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11634 conftest$ac_exeext conftest.$ac_ext
11635 CFLAGS=$ac_wine_try_cflags_saved
11636 ac_exeext=$ac_wine_try_cflags_saved_exeext
11638 eval ac_res=\$$as_ac_var
11639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11640 printf "%s\n" "$ac_res" >&6; }
11641 if eval test \"x\$"$as_ac_var"\" = x"yes"
11642 then :
11643 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11644 fi } ;;
11645 esac
11647 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11649 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11651 printf %s "checking whether $CC supports -Werror... " >&6; }
11652 if eval test \${$as_ac_var+y}
11653 then :
11654 printf %s "(cached) " >&6
11655 else $as_nop
11656 ac_wine_try_cflags_saved=$CFLAGS
11657 ac_wine_try_cflags_saved_exeext=$ac_exeext
11658 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11659 ac_exeext=".exe"
11660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11661 /* end confdefs.h. */
11662 int __cdecl mainCRTStartup(void) { return 0; }
11663 _ACEOF
11664 if ac_fn_c_try_link "$LINENO"
11665 then :
11666 eval "$as_ac_var=yes"
11667 else $as_nop
11668 eval "$as_ac_var=no"
11670 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11671 conftest$ac_exeext conftest.$ac_ext
11672 CFLAGS=$ac_wine_try_cflags_saved
11673 ac_exeext=$ac_wine_try_cflags_saved_exeext
11675 eval ac_res=\$$as_ac_var
11676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11677 printf "%s\n" "$ac_res" >&6; }
11678 if eval test \"x\$"$as_ac_var"\" = x"yes"
11679 then :
11680 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11681 fi }
11682 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11684 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11685 if eval test \${$as_ac_var+y}
11686 then :
11687 printf %s "(cached) " >&6
11688 else $as_nop
11689 ac_wine_try_cflags_saved=$CFLAGS
11690 ac_wine_try_cflags_saved_exeext=$ac_exeext
11691 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11692 ac_exeext=".exe"
11693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11694 /* end confdefs.h. */
11695 int __cdecl mainCRTStartup(void) { return 0; }
11696 _ACEOF
11697 if ac_fn_c_try_link "$LINENO"
11698 then :
11699 eval "$as_ac_var=yes"
11700 else $as_nop
11701 eval "$as_ac_var=no"
11703 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11704 conftest$ac_exeext conftest.$ac_ext
11705 CFLAGS=$ac_wine_try_cflags_saved
11706 ac_exeext=$ac_wine_try_cflags_saved_exeext
11708 eval ac_res=\$$as_ac_var
11709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11710 printf "%s\n" "$ac_res" >&6; }
11711 if eval test \"x\$"$as_ac_var"\" = x"yes"
11712 then :
11713 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11714 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11715 fi }
11717 CC=$saved_CC
11718 CFLAGS=$saved_CFLAGS
11719 done
11721 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11722 then
11723 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11726 if test "x$PE_ARCHS" = "x"
11727 then :
11728 case "x$with_mingw" in
11729 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11730 xno) ;;
11731 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11732 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11733 esac
11738 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11739 then
11740 case "$host_cpu" in
11741 i[3456789]86*)
11742 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11744 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11745 esac
11746 for ac_prog in $ac_prefix_list
11748 # Extract the first word of "$ac_prog", so it can be a program name with args.
11749 set dummy $ac_prog; ac_word=$2
11750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11751 printf %s "checking for $ac_word... " >&6; }
11752 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11753 then :
11754 printf %s "(cached) " >&6
11755 else $as_nop
11756 if test -n "$MINGW_PKG_CONFIG"; then
11757 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11758 else
11759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11760 for as_dir in $PATH
11762 IFS=$as_save_IFS
11763 case $as_dir in #(((
11764 '') as_dir=./ ;;
11765 */) ;;
11766 *) as_dir=$as_dir/ ;;
11767 esac
11768 for ac_exec_ext in '' $ac_executable_extensions; do
11769 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11770 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11771 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11772 break 2
11774 done
11775 done
11776 IFS=$as_save_IFS
11780 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11781 if test -n "$MINGW_PKG_CONFIG"; then
11782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11783 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11784 else
11785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11786 printf "%s\n" "no" >&6; }
11790 test -n "$MINGW_PKG_CONFIG" && break
11791 done
11792 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11794 if ${FAUDIO_PE_CFLAGS:+false} :
11795 then :
11796 if test ${MINGW_PKG_CONFIG+y}
11797 then :
11798 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11801 if ${FAUDIO_PE_LIBS:+false} :
11802 then :
11803 if test ${MINGW_PKG_CONFIG+y}
11804 then :
11805 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11808 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11809 ac_save_CPPFLAGS=$CPPFLAGS
11810 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11812 printf %s "checking for MinGW FAudio.h... " >&6; }
11813 if test ${ac_cv_mingw_header_FAudio_h+y}
11814 then :
11815 printf %s "(cached) " >&6
11816 else $as_nop
11817 ac_wine_check_headers_saved_cc=$CC
11818 ac_wine_check_headers_saved_exeext=$ac_exeext
11819 eval CC=\$${wine_arch}_CC
11820 ac_exeext=".exe"
11821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11822 /* end confdefs.h. */
11824 #include <FAudio.h>
11826 main (void)
11830 return 0;
11832 _ACEOF
11833 if ac_fn_c_try_compile "$LINENO"
11834 then :
11835 ac_cv_mingw_header_FAudio_h=yes
11836 else $as_nop
11837 ac_cv_mingw_header_FAudio_h=no
11839 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11840 CC=$ac_wine_check_headers_saved_cc
11841 ac_exeext=$ac_wine_check_headers_saved_exeext
11843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11844 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11845 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11846 then :
11847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11848 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11849 if test ${ac_cv_mingw_lib_FAudio+y}
11850 then :
11851 printf %s "(cached) " >&6
11852 else $as_nop
11853 ac_wine_check_headers_saved_cc=$CC
11854 ac_wine_check_headers_saved_exeext=$ac_exeext
11855 ac_wine_check_headers_saved_libs=$LIBS
11856 eval CC=\$${wine_arch}_CC
11857 ac_exeext=".exe"
11858 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11860 /* end confdefs.h. */
11862 /* Override any GCC internal prototype to avoid an error.
11863 Use char because int might match the return type of a GCC
11864 builtin and then its argument prototype would still apply. */
11865 char FAudio_CommitOperationSet ();
11867 main (void)
11869 return FAudio_CommitOperationSet ();
11871 return 0;
11873 _ACEOF
11874 if ac_fn_c_try_link "$LINENO"
11875 then :
11876 ac_cv_mingw_lib_FAudio=yes
11877 else $as_nop
11878 ac_cv_mingw_lib_FAudio=no
11880 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11881 conftest$ac_exeext conftest.$ac_ext
11882 CC=$ac_wine_check_headers_saved_cc
11883 ac_exeext=$ac_wine_check_headers_saved_exeext
11884 LIBS=$ac_wine_check_headers_saved_libs
11886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11887 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11888 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11889 then :
11891 else $as_nop
11892 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11894 else $as_nop
11895 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11897 CPPFLAGS=$ac_save_CPPFLAGS
11899 if test "x$FAUDIO_PE_LIBS" = "x"
11900 then
11901 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11904 if ${JPEG_PE_CFLAGS:+false} :
11905 then :
11906 if test ${MINGW_PKG_CONFIG+y}
11907 then :
11908 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11911 if ${JPEG_PE_LIBS:+false} :
11912 then :
11913 if test ${MINGW_PKG_CONFIG+y}
11914 then :
11915 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11919 ac_save_CPPFLAGS=$CPPFLAGS
11920 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11922 printf %s "checking for MinGW jpeglib.h... " >&6; }
11923 if test ${ac_cv_mingw_header_jpeglib_h+y}
11924 then :
11925 printf %s "(cached) " >&6
11926 else $as_nop
11927 ac_wine_check_headers_saved_cc=$CC
11928 ac_wine_check_headers_saved_exeext=$ac_exeext
11929 eval CC=\$${wine_arch}_CC
11930 ac_exeext=".exe"
11931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11932 /* end confdefs.h. */
11933 #include <stddef.h>
11934 #include <stdio.h>
11935 #include <jpeglib.h>
11937 main (void)
11941 return 0;
11943 _ACEOF
11944 if ac_fn_c_try_compile "$LINENO"
11945 then :
11946 ac_cv_mingw_header_jpeglib_h=yes
11947 else $as_nop
11948 ac_cv_mingw_header_jpeglib_h=no
11950 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11951 CC=$ac_wine_check_headers_saved_cc
11952 ac_exeext=$ac_wine_check_headers_saved_exeext
11954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11955 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11956 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11957 then :
11958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11959 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11960 if test ${ac_cv_mingw_lib_jpeg+y}
11961 then :
11962 printf %s "(cached) " >&6
11963 else $as_nop
11964 ac_wine_check_headers_saved_cc=$CC
11965 ac_wine_check_headers_saved_exeext=$ac_exeext
11966 ac_wine_check_headers_saved_libs=$LIBS
11967 eval CC=\$${wine_arch}_CC
11968 ac_exeext=".exe"
11969 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11971 /* end confdefs.h. */
11973 /* Override any GCC internal prototype to avoid an error.
11974 Use char because int might match the return type of a GCC
11975 builtin and then its argument prototype would still apply. */
11976 char jpeg_start_decompress ();
11978 main (void)
11980 return jpeg_start_decompress ();
11982 return 0;
11984 _ACEOF
11985 if ac_fn_c_try_link "$LINENO"
11986 then :
11987 ac_cv_mingw_lib_jpeg=yes
11988 else $as_nop
11989 ac_cv_mingw_lib_jpeg=no
11991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11992 conftest$ac_exeext conftest.$ac_ext
11993 CC=$ac_wine_check_headers_saved_cc
11994 ac_exeext=$ac_wine_check_headers_saved_exeext
11995 LIBS=$ac_wine_check_headers_saved_libs
11997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11998 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11999 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12000 then :
12002 else $as_nop
12003 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12005 else $as_nop
12006 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12008 CPPFLAGS=$ac_save_CPPFLAGS
12010 if test "x$JPEG_PE_LIBS" = "x"
12011 then
12012 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12015 if ${LCMS2_PE_CFLAGS:+false} :
12016 then :
12017 if test ${MINGW_PKG_CONFIG+y}
12018 then :
12019 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12022 if ${LCMS2_PE_LIBS:+false} :
12023 then :
12024 if test ${MINGW_PKG_CONFIG+y}
12025 then :
12026 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12029 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12030 ac_save_CPPFLAGS=$CPPFLAGS
12031 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12033 printf %s "checking for MinGW lcms2.h... " >&6; }
12034 if test ${ac_cv_mingw_header_lcms2_h+y}
12035 then :
12036 printf %s "(cached) " >&6
12037 else $as_nop
12038 ac_wine_check_headers_saved_cc=$CC
12039 ac_wine_check_headers_saved_exeext=$ac_exeext
12040 eval CC=\$${wine_arch}_CC
12041 ac_exeext=".exe"
12042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12043 /* end confdefs.h. */
12045 #include <lcms2.h>
12047 main (void)
12051 return 0;
12053 _ACEOF
12054 if ac_fn_c_try_compile "$LINENO"
12055 then :
12056 ac_cv_mingw_header_lcms2_h=yes
12057 else $as_nop
12058 ac_cv_mingw_header_lcms2_h=no
12060 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12061 CC=$ac_wine_check_headers_saved_cc
12062 ac_exeext=$ac_wine_check_headers_saved_exeext
12064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12065 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12066 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12067 then :
12068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12069 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12070 if test ${ac_cv_mingw_lib_lcms2+y}
12071 then :
12072 printf %s "(cached) " >&6
12073 else $as_nop
12074 ac_wine_check_headers_saved_cc=$CC
12075 ac_wine_check_headers_saved_exeext=$ac_exeext
12076 ac_wine_check_headers_saved_libs=$LIBS
12077 eval CC=\$${wine_arch}_CC
12078 ac_exeext=".exe"
12079 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12081 /* end confdefs.h. */
12083 /* Override any GCC internal prototype to avoid an error.
12084 Use char because int might match the return type of a GCC
12085 builtin and then its argument prototype would still apply. */
12086 char cmsOpenProfileFromFile ();
12088 main (void)
12090 return cmsOpenProfileFromFile ();
12092 return 0;
12094 _ACEOF
12095 if ac_fn_c_try_link "$LINENO"
12096 then :
12097 ac_cv_mingw_lib_lcms2=yes
12098 else $as_nop
12099 ac_cv_mingw_lib_lcms2=no
12101 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12102 conftest$ac_exeext conftest.$ac_ext
12103 CC=$ac_wine_check_headers_saved_cc
12104 ac_exeext=$ac_wine_check_headers_saved_exeext
12105 LIBS=$ac_wine_check_headers_saved_libs
12107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12108 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12109 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12110 then :
12112 else $as_nop
12113 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12115 else $as_nop
12116 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12118 CPPFLAGS=$ac_save_CPPFLAGS
12120 if test "x$LCMS2_PE_LIBS" = "x"
12121 then
12122 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12125 if ${MPG123_PE_CFLAGS:+false} :
12126 then :
12127 if test ${MINGW_PKG_CONFIG+y}
12128 then :
12129 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12132 if ${MPG123_PE_LIBS:+false} :
12133 then :
12134 if test ${MINGW_PKG_CONFIG+y}
12135 then :
12136 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12139 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12140 ac_save_CPPFLAGS=$CPPFLAGS
12141 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12143 printf %s "checking for MinGW mpg123.h... " >&6; }
12144 if test ${ac_cv_mingw_header_mpg123_h+y}
12145 then :
12146 printf %s "(cached) " >&6
12147 else $as_nop
12148 ac_wine_check_headers_saved_cc=$CC
12149 ac_wine_check_headers_saved_exeext=$ac_exeext
12150 eval CC=\$${wine_arch}_CC
12151 ac_exeext=".exe"
12152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12153 /* end confdefs.h. */
12155 #include <mpg123.h>
12157 main (void)
12161 return 0;
12163 _ACEOF
12164 if ac_fn_c_try_compile "$LINENO"
12165 then :
12166 ac_cv_mingw_header_mpg123_h=yes
12167 else $as_nop
12168 ac_cv_mingw_header_mpg123_h=no
12170 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12171 CC=$ac_wine_check_headers_saved_cc
12172 ac_exeext=$ac_wine_check_headers_saved_exeext
12174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12175 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12176 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12177 then :
12178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12179 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12180 if test ${ac_cv_mingw_lib_mpg123+y}
12181 then :
12182 printf %s "(cached) " >&6
12183 else $as_nop
12184 ac_wine_check_headers_saved_cc=$CC
12185 ac_wine_check_headers_saved_exeext=$ac_exeext
12186 ac_wine_check_headers_saved_libs=$LIBS
12187 eval CC=\$${wine_arch}_CC
12188 ac_exeext=".exe"
12189 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12191 /* end confdefs.h. */
12193 /* Override any GCC internal prototype to avoid an error.
12194 Use char because int might match the return type of a GCC
12195 builtin and then its argument prototype would still apply. */
12196 char mpg123_feed ();
12198 main (void)
12200 return mpg123_feed ();
12202 return 0;
12204 _ACEOF
12205 if ac_fn_c_try_link "$LINENO"
12206 then :
12207 ac_cv_mingw_lib_mpg123=yes
12208 else $as_nop
12209 ac_cv_mingw_lib_mpg123=no
12211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12212 conftest$ac_exeext conftest.$ac_ext
12213 CC=$ac_wine_check_headers_saved_cc
12214 ac_exeext=$ac_wine_check_headers_saved_exeext
12215 LIBS=$ac_wine_check_headers_saved_libs
12217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12218 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12219 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12220 then :
12222 else $as_nop
12223 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12225 else $as_nop
12226 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12228 CPPFLAGS=$ac_save_CPPFLAGS
12230 if test "x$MPG123_PE_LIBS" = "x"
12231 then
12232 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12235 if ${PNG_PE_CFLAGS:+false} :
12236 then :
12237 if test ${MINGW_PKG_CONFIG+y}
12238 then :
12239 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12242 if ${PNG_PE_LIBS:+false} :
12243 then :
12244 if test ${MINGW_PKG_CONFIG+y}
12245 then :
12246 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12250 ac_save_CPPFLAGS=$CPPFLAGS
12251 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12253 printf %s "checking for MinGW png.h... " >&6; }
12254 if test ${ac_cv_mingw_header_png_h+y}
12255 then :
12256 printf %s "(cached) " >&6
12257 else $as_nop
12258 ac_wine_check_headers_saved_cc=$CC
12259 ac_wine_check_headers_saved_exeext=$ac_exeext
12260 eval CC=\$${wine_arch}_CC
12261 ac_exeext=".exe"
12262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12263 /* end confdefs.h. */
12265 #include <png.h>
12267 main (void)
12271 return 0;
12273 _ACEOF
12274 if ac_fn_c_try_compile "$LINENO"
12275 then :
12276 ac_cv_mingw_header_png_h=yes
12277 else $as_nop
12278 ac_cv_mingw_header_png_h=no
12280 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12281 CC=$ac_wine_check_headers_saved_cc
12282 ac_exeext=$ac_wine_check_headers_saved_exeext
12284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12285 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12286 if test "x$ac_cv_mingw_header_png_h" = xyes
12287 then :
12288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12289 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12290 if test ${ac_cv_mingw_lib_png+y}
12291 then :
12292 printf %s "(cached) " >&6
12293 else $as_nop
12294 ac_wine_check_headers_saved_cc=$CC
12295 ac_wine_check_headers_saved_exeext=$ac_exeext
12296 ac_wine_check_headers_saved_libs=$LIBS
12297 eval CC=\$${wine_arch}_CC
12298 ac_exeext=".exe"
12299 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12301 /* end confdefs.h. */
12303 /* Override any GCC internal prototype to avoid an error.
12304 Use char because int might match the return type of a GCC
12305 builtin and then its argument prototype would still apply. */
12306 char png_create_read_struct ();
12308 main (void)
12310 return png_create_read_struct ();
12312 return 0;
12314 _ACEOF
12315 if ac_fn_c_try_link "$LINENO"
12316 then :
12317 ac_cv_mingw_lib_png=yes
12318 else $as_nop
12319 ac_cv_mingw_lib_png=no
12321 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12322 conftest$ac_exeext conftest.$ac_ext
12323 CC=$ac_wine_check_headers_saved_cc
12324 ac_exeext=$ac_wine_check_headers_saved_exeext
12325 LIBS=$ac_wine_check_headers_saved_libs
12327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12328 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12329 if test "x$ac_cv_mingw_lib_png" = xyes
12330 then :
12332 else $as_nop
12333 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12335 else $as_nop
12336 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12338 CPPFLAGS=$ac_save_CPPFLAGS
12340 if test "x$PNG_PE_LIBS" = "x"
12341 then
12342 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12345 if ${TIFF_PE_CFLAGS:+false} :
12346 then :
12347 if test ${MINGW_PKG_CONFIG+y}
12348 then :
12349 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12352 if ${TIFF_PE_LIBS:+false} :
12353 then :
12354 if test ${MINGW_PKG_CONFIG+y}
12355 then :
12356 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12360 ac_save_CPPFLAGS=$CPPFLAGS
12361 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12363 printf %s "checking for MinGW tiffio.h... " >&6; }
12364 if test ${ac_cv_mingw_header_tiffio_h+y}
12365 then :
12366 printf %s "(cached) " >&6
12367 else $as_nop
12368 ac_wine_check_headers_saved_cc=$CC
12369 ac_wine_check_headers_saved_exeext=$ac_exeext
12370 eval CC=\$${wine_arch}_CC
12371 ac_exeext=".exe"
12372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12373 /* end confdefs.h. */
12375 #include <tiffio.h>
12377 main (void)
12381 return 0;
12383 _ACEOF
12384 if ac_fn_c_try_compile "$LINENO"
12385 then :
12386 ac_cv_mingw_header_tiffio_h=yes
12387 else $as_nop
12388 ac_cv_mingw_header_tiffio_h=no
12390 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12391 CC=$ac_wine_check_headers_saved_cc
12392 ac_exeext=$ac_wine_check_headers_saved_exeext
12394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12395 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12396 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12397 then :
12398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12399 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12400 if test ${ac_cv_mingw_lib_tiff+y}
12401 then :
12402 printf %s "(cached) " >&6
12403 else $as_nop
12404 ac_wine_check_headers_saved_cc=$CC
12405 ac_wine_check_headers_saved_exeext=$ac_exeext
12406 ac_wine_check_headers_saved_libs=$LIBS
12407 eval CC=\$${wine_arch}_CC
12408 ac_exeext=".exe"
12409 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12411 /* end confdefs.h. */
12413 /* Override any GCC internal prototype to avoid an error.
12414 Use char because int might match the return type of a GCC
12415 builtin and then its argument prototype would still apply. */
12416 char TIFFClientOpen ();
12418 main (void)
12420 return TIFFClientOpen ();
12422 return 0;
12424 _ACEOF
12425 if ac_fn_c_try_link "$LINENO"
12426 then :
12427 ac_cv_mingw_lib_tiff=yes
12428 else $as_nop
12429 ac_cv_mingw_lib_tiff=no
12431 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12432 conftest$ac_exeext conftest.$ac_ext
12433 CC=$ac_wine_check_headers_saved_cc
12434 ac_exeext=$ac_wine_check_headers_saved_exeext
12435 LIBS=$ac_wine_check_headers_saved_libs
12437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12438 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12439 if test "x$ac_cv_mingw_lib_tiff" = xyes
12440 then :
12442 else $as_nop
12443 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12445 else $as_nop
12446 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12448 CPPFLAGS=$ac_save_CPPFLAGS
12450 if test "x$TIFF_PE_LIBS" = "x"
12451 then
12452 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12455 if ${XML2_PE_CFLAGS:+false} :
12456 then :
12457 if test ${MINGW_PKG_CONFIG+y}
12458 then :
12459 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12462 if ${XML2_PE_LIBS:+false} :
12463 then :
12464 if test ${MINGW_PKG_CONFIG+y}
12465 then :
12466 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12469 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12470 ac_save_CPPFLAGS=$CPPFLAGS
12471 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12473 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12474 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12475 then :
12476 printf %s "(cached) " >&6
12477 else $as_nop
12478 ac_wine_check_headers_saved_cc=$CC
12479 ac_wine_check_headers_saved_exeext=$ac_exeext
12480 eval CC=\$${wine_arch}_CC
12481 ac_exeext=".exe"
12482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12483 /* end confdefs.h. */
12485 #include <libxml/parser.h>
12487 main (void)
12491 return 0;
12493 _ACEOF
12494 if ac_fn_c_try_compile "$LINENO"
12495 then :
12496 ac_cv_mingw_header_libxml_parser_h=yes
12497 else $as_nop
12498 ac_cv_mingw_header_libxml_parser_h=no
12500 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12501 CC=$ac_wine_check_headers_saved_cc
12502 ac_exeext=$ac_wine_check_headers_saved_exeext
12504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12505 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12506 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12507 then :
12510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12511 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12512 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12513 then :
12514 printf %s "(cached) " >&6
12515 else $as_nop
12516 ac_wine_check_headers_saved_cc=$CC
12517 ac_wine_check_headers_saved_exeext=$ac_exeext
12518 eval CC=\$${wine_arch}_CC
12519 ac_exeext=".exe"
12520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12521 /* end confdefs.h. */
12523 #include <libxml/xmlsave.h>
12525 main (void)
12529 return 0;
12531 _ACEOF
12532 if ac_fn_c_try_compile "$LINENO"
12533 then :
12534 ac_cv_mingw_header_libxml_xmlsave_h=yes
12535 else $as_nop
12536 ac_cv_mingw_header_libxml_xmlsave_h=no
12538 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12539 CC=$ac_wine_check_headers_saved_cc
12540 ac_exeext=$ac_wine_check_headers_saved_exeext
12542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12543 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12544 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12545 then :
12548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12549 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12550 if test ${ac_cv_mingw_header_libxml_SAX2_h+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 eval CC=\$${wine_arch}_CC
12557 ac_exeext=".exe"
12558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12559 /* end confdefs.h. */
12561 #include <libxml/SAX2.h>
12563 main (void)
12567 return 0;
12569 _ACEOF
12570 if ac_fn_c_try_compile "$LINENO"
12571 then :
12572 ac_cv_mingw_header_libxml_SAX2_h=yes
12573 else $as_nop
12574 ac_cv_mingw_header_libxml_SAX2_h=no
12576 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12577 CC=$ac_wine_check_headers_saved_cc
12578 ac_exeext=$ac_wine_check_headers_saved_exeext
12580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12581 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12582 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12583 then :
12586 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"
12587 then
12588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12589 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12590 if test ${ac_cv_mingw_lib_xml2+y}
12591 then :
12592 printf %s "(cached) " >&6
12593 else $as_nop
12594 ac_wine_check_headers_saved_cc=$CC
12595 ac_wine_check_headers_saved_exeext=$ac_exeext
12596 ac_wine_check_headers_saved_libs=$LIBS
12597 eval CC=\$${wine_arch}_CC
12598 ac_exeext=".exe"
12599 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12601 /* end confdefs.h. */
12603 /* Override any GCC internal prototype to avoid an error.
12604 Use char because int might match the return type of a GCC
12605 builtin and then its argument prototype would still apply. */
12606 char xmlFirstElementChild ();
12608 main (void)
12610 return xmlFirstElementChild ();
12612 return 0;
12614 _ACEOF
12615 if ac_fn_c_try_link "$LINENO"
12616 then :
12617 ac_cv_mingw_lib_xml2=yes
12618 else $as_nop
12619 ac_cv_mingw_lib_xml2=no
12621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12622 conftest$ac_exeext conftest.$ac_ext
12623 CC=$ac_wine_check_headers_saved_cc
12624 ac_exeext=$ac_wine_check_headers_saved_exeext
12625 LIBS=$ac_wine_check_headers_saved_libs
12627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12628 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12629 if test "x$ac_cv_mingw_lib_xml2" = xyes
12630 then :
12632 else $as_nop
12633 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12635 else
12636 XML2_PE_CFLAGS=""
12637 XML2_PE_LIBS=""
12639 CPPFLAGS=$ac_save_CPPFLAGS
12641 if test "x$XML2_PE_LIBS" = "x"
12642 then
12643 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12646 if ${XSLT_PE_CFLAGS:+false} :
12647 then :
12648 if test ${MINGW_PKG_CONFIG+y}
12649 then :
12650 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12653 if ${XSLT_PE_LIBS:+false} :
12654 then :
12655 if test ${MINGW_PKG_CONFIG+y}
12656 then :
12657 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12660 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12661 ac_save_CPPFLAGS=$CPPFLAGS
12662 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12664 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12665 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12666 then :
12667 printf %s "(cached) " >&6
12668 else $as_nop
12669 ac_wine_check_headers_saved_cc=$CC
12670 ac_wine_check_headers_saved_exeext=$ac_exeext
12671 eval CC=\$${wine_arch}_CC
12672 ac_exeext=".exe"
12673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12674 /* end confdefs.h. */
12676 #include <libxslt/pattern.h>
12678 main (void)
12682 return 0;
12684 _ACEOF
12685 if ac_fn_c_try_compile "$LINENO"
12686 then :
12687 ac_cv_mingw_header_libxslt_pattern_h=yes
12688 else $as_nop
12689 ac_cv_mingw_header_libxslt_pattern_h=no
12691 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12692 CC=$ac_wine_check_headers_saved_cc
12693 ac_exeext=$ac_wine_check_headers_saved_exeext
12695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12696 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12697 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12698 then :
12701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12702 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12703 if test ${ac_cv_mingw_header_libxslt_transform_h+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 eval CC=\$${wine_arch}_CC
12710 ac_exeext=".exe"
12711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12712 /* end confdefs.h. */
12714 #include <libxslt/transform.h>
12716 main (void)
12720 return 0;
12722 _ACEOF
12723 if ac_fn_c_try_compile "$LINENO"
12724 then :
12725 ac_cv_mingw_header_libxslt_transform_h=yes
12726 else $as_nop
12727 ac_cv_mingw_header_libxslt_transform_h=no
12729 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12730 CC=$ac_wine_check_headers_saved_cc
12731 ac_exeext=$ac_wine_check_headers_saved_exeext
12733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12734 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12735 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12736 then :
12739 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12740 then
12741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12742 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12743 if test ${ac_cv_mingw_lib_xslt+y}
12744 then :
12745 printf %s "(cached) " >&6
12746 else $as_nop
12747 ac_wine_check_headers_saved_cc=$CC
12748 ac_wine_check_headers_saved_exeext=$ac_exeext
12749 ac_wine_check_headers_saved_libs=$LIBS
12750 eval CC=\$${wine_arch}_CC
12751 ac_exeext=".exe"
12752 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12754 /* end confdefs.h. */
12756 /* Override any GCC internal prototype to avoid an error.
12757 Use char because int might match the return type of a GCC
12758 builtin and then its argument prototype would still apply. */
12759 char xsltCompilePattern ();
12761 main (void)
12763 return xsltCompilePattern ();
12765 return 0;
12767 _ACEOF
12768 if ac_fn_c_try_link "$LINENO"
12769 then :
12770 ac_cv_mingw_lib_xslt=yes
12771 else $as_nop
12772 ac_cv_mingw_lib_xslt=no
12774 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12775 conftest$ac_exeext conftest.$ac_ext
12776 CC=$ac_wine_check_headers_saved_cc
12777 ac_exeext=$ac_wine_check_headers_saved_exeext
12778 LIBS=$ac_wine_check_headers_saved_libs
12780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12781 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12782 if test "x$ac_cv_mingw_lib_xslt" = xyes
12783 then :
12785 else $as_nop
12786 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12788 else
12789 XSLT_PE_CFLAGS=""
12790 XSLT_PE_LIBS=""
12792 CPPFLAGS=$ac_save_CPPFLAGS
12794 if test "x$XSLT_PE_LIBS" = "x"
12795 then
12796 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12799 if ${VKD3D_PE_CFLAGS:+false} :
12800 then :
12801 if test ${MINGW_PKG_CONFIG+y}
12802 then :
12803 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12806 if ${VKD3D_PE_LIBS:+false} :
12807 then :
12808 if test ${MINGW_PKG_CONFIG+y}
12809 then :
12810 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12813 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12814 ac_save_CPPFLAGS=$CPPFLAGS
12815 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12817 printf %s "checking for MinGW vkd3d.h... " >&6; }
12818 if test ${ac_cv_mingw_header_vkd3d_h+y}
12819 then :
12820 printf %s "(cached) " >&6
12821 else $as_nop
12822 ac_wine_check_headers_saved_cc=$CC
12823 ac_wine_check_headers_saved_exeext=$ac_exeext
12824 eval CC=\$${wine_arch}_CC
12825 ac_exeext=".exe"
12826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12827 /* end confdefs.h. */
12829 #include <vkd3d.h>
12831 main (void)
12835 return 0;
12837 _ACEOF
12838 if ac_fn_c_try_compile "$LINENO"
12839 then :
12840 ac_cv_mingw_header_vkd3d_h=yes
12841 else $as_nop
12842 ac_cv_mingw_header_vkd3d_h=no
12844 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12845 CC=$ac_wine_check_headers_saved_cc
12846 ac_exeext=$ac_wine_check_headers_saved_exeext
12848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12849 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12850 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12851 then :
12854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12855 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12856 if test ${ac_cv_mingw_header_vkd3d_shader_h+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 eval CC=\$${wine_arch}_CC
12863 ac_exeext=".exe"
12864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12865 /* end confdefs.h. */
12867 #include <vkd3d_shader.h>
12869 main (void)
12873 return 0;
12875 _ACEOF
12876 if ac_fn_c_try_compile "$LINENO"
12877 then :
12878 ac_cv_mingw_header_vkd3d_shader_h=yes
12879 else $as_nop
12880 ac_cv_mingw_header_vkd3d_shader_h=no
12882 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12883 CC=$ac_wine_check_headers_saved_cc
12884 ac_exeext=$ac_wine_check_headers_saved_exeext
12886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12887 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12888 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12889 then :
12892 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12893 then
12894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12895 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12896 if test ${ac_cv_mingw_lib_vkd3d+y}
12897 then :
12898 printf %s "(cached) " >&6
12899 else $as_nop
12900 ac_wine_check_headers_saved_cc=$CC
12901 ac_wine_check_headers_saved_exeext=$ac_exeext
12902 ac_wine_check_headers_saved_libs=$LIBS
12903 eval CC=\$${wine_arch}_CC
12904 ac_exeext=".exe"
12905 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12907 /* end confdefs.h. */
12909 /* Override any GCC internal prototype to avoid an error.
12910 Use char because int might match the return type of a GCC
12911 builtin and then its argument prototype would still apply. */
12912 char vkd3d_set_log_callback ();
12914 main (void)
12916 return vkd3d_set_log_callback ();
12918 return 0;
12920 _ACEOF
12921 if ac_fn_c_try_link "$LINENO"
12922 then :
12923 ac_cv_mingw_lib_vkd3d=yes
12924 else $as_nop
12925 ac_cv_mingw_lib_vkd3d=no
12927 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12928 conftest$ac_exeext conftest.$ac_ext
12929 CC=$ac_wine_check_headers_saved_cc
12930 ac_exeext=$ac_wine_check_headers_saved_exeext
12931 LIBS=$ac_wine_check_headers_saved_libs
12933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12934 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12935 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12936 then :
12938 else $as_nop
12941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
12942 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
12943 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12944 then :
12945 printf %s "(cached) " >&6
12946 else $as_nop
12947 ac_wine_check_headers_saved_cc=$CC
12948 ac_wine_check_headers_saved_exeext=$ac_exeext
12949 ac_wine_check_headers_saved_libs=$LIBS
12950 eval CC=\$${wine_arch}_CC
12951 ac_exeext=".exe"
12952 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12954 /* end confdefs.h. */
12956 /* Override any GCC internal prototype to avoid an error.
12957 Use char because int might match the return type of a GCC
12958 builtin and then its argument prototype would still apply. */
12959 char vkd3d_shader_compile ();
12961 main (void)
12963 return vkd3d_shader_compile ();
12965 return 0;
12967 _ACEOF
12968 if ac_fn_c_try_link "$LINENO"
12969 then :
12970 ac_cv_mingw_lib_vkd3d_shader=yes
12971 else $as_nop
12972 ac_cv_mingw_lib_vkd3d_shader=no
12974 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12975 conftest$ac_exeext conftest.$ac_ext
12976 CC=$ac_wine_check_headers_saved_cc
12977 ac_exeext=$ac_wine_check_headers_saved_exeext
12978 LIBS=$ac_wine_check_headers_saved_libs
12980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12981 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12982 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12983 then :
12985 else $as_nop
12988 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12989 then
12990 VKD3D_PE_CFLAGS=""
12991 VKD3D_PE_LIBS=""
12993 else
12994 VKD3D_PE_CFLAGS=""
12995 VKD3D_PE_LIBS=""
12997 CPPFLAGS=$ac_save_CPPFLAGS
12999 if test "x$VKD3D_PE_LIBS" = "x"
13000 then
13001 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13004 if ${ZLIB_PE_CFLAGS:+false} :
13005 then :
13006 if test ${MINGW_PKG_CONFIG+y}
13007 then :
13008 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13011 if ${ZLIB_PE_LIBS:+false} :
13012 then :
13013 if test ${MINGW_PKG_CONFIG+y}
13014 then :
13015 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13018 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13019 ac_save_CPPFLAGS=$CPPFLAGS
13020 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13022 printf %s "checking for MinGW zlib.h... " >&6; }
13023 if test ${ac_cv_mingw_header_zlib_h+y}
13024 then :
13025 printf %s "(cached) " >&6
13026 else $as_nop
13027 ac_wine_check_headers_saved_cc=$CC
13028 ac_wine_check_headers_saved_exeext=$ac_exeext
13029 eval CC=\$${wine_arch}_CC
13030 ac_exeext=".exe"
13031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13032 /* end confdefs.h. */
13034 #include <zlib.h>
13036 main (void)
13040 return 0;
13042 _ACEOF
13043 if ac_fn_c_try_compile "$LINENO"
13044 then :
13045 ac_cv_mingw_header_zlib_h=yes
13046 else $as_nop
13047 ac_cv_mingw_header_zlib_h=no
13049 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13050 CC=$ac_wine_check_headers_saved_cc
13051 ac_exeext=$ac_wine_check_headers_saved_exeext
13053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13054 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13055 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13056 then :
13057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13058 printf %s "checking for inflate in MinGW -lz... " >&6; }
13059 if test ${ac_cv_mingw_lib_z+y}
13060 then :
13061 printf %s "(cached) " >&6
13062 else $as_nop
13063 ac_wine_check_headers_saved_cc=$CC
13064 ac_wine_check_headers_saved_exeext=$ac_exeext
13065 ac_wine_check_headers_saved_libs=$LIBS
13066 eval CC=\$${wine_arch}_CC
13067 ac_exeext=".exe"
13068 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13070 /* end confdefs.h. */
13072 /* Override any GCC internal prototype to avoid an error.
13073 Use char because int might match the return type of a GCC
13074 builtin and then its argument prototype would still apply. */
13075 char inflate ();
13077 main (void)
13079 return inflate ();
13081 return 0;
13083 _ACEOF
13084 if ac_fn_c_try_link "$LINENO"
13085 then :
13086 ac_cv_mingw_lib_z=yes
13087 else $as_nop
13088 ac_cv_mingw_lib_z=no
13090 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13091 conftest$ac_exeext conftest.$ac_ext
13092 CC=$ac_wine_check_headers_saved_cc
13093 ac_exeext=$ac_wine_check_headers_saved_exeext
13094 LIBS=$ac_wine_check_headers_saved_libs
13096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13097 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13098 if test "x$ac_cv_mingw_lib_z" = xyes
13099 then :
13101 else $as_nop
13102 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13104 else $as_nop
13105 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13107 CPPFLAGS=$ac_save_CPPFLAGS
13109 if test "x$ZLIB_PE_LIBS" = "x"
13110 then
13111 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13115 if ${FAUDIO_PE_LIBS:+false} :
13116 then :
13117 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13118 if ${FAUDIO_PE_CFLAGS:+false} :
13119 then :
13120 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13121 else $as_nop
13122 enable_faudio=no
13124 else $as_nop
13125 enable_faudio=no
13127 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13128 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13130 if ${GSM_PE_LIBS:+false} :
13131 then :
13132 GSM_PE_LIBS=gsm
13133 if ${GSM_PE_CFLAGS:+false} :
13134 then :
13135 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13136 else $as_nop
13137 enable_gsm=no
13139 else $as_nop
13140 enable_gsm=no
13142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13143 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13145 if ${JPEG_PE_LIBS:+false} :
13146 then :
13147 JPEG_PE_LIBS=jpeg
13148 if ${JPEG_PE_CFLAGS:+false} :
13149 then :
13150 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13151 else $as_nop
13152 enable_jpeg=no
13154 else $as_nop
13155 enable_jpeg=no
13157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13158 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13160 if ${JXR_PE_LIBS:+false} :
13161 then :
13162 JXR_PE_LIBS=jxr
13163 if ${JXR_PE_CFLAGS:+false} :
13164 then :
13165 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13166 else $as_nop
13167 enable_jxr=no
13169 else $as_nop
13170 enable_jxr=no
13172 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13175 if ${LCMS2_PE_LIBS:+false} :
13176 then :
13177 LCMS2_PE_LIBS=lcms2
13178 if ${LCMS2_PE_CFLAGS:+false} :
13179 then :
13180 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13181 else $as_nop
13182 enable_lcms2=no
13184 else $as_nop
13185 enable_lcms2=no
13187 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13188 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13190 if ${LDAP_PE_LIBS:+false} :
13191 then :
13192 LDAP_PE_LIBS=ldap
13193 if ${LDAP_PE_CFLAGS:+false} :
13194 then :
13195 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13196 else $as_nop
13197 enable_ldap=no
13199 else $as_nop
13200 enable_ldap=no
13202 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13203 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13205 if ${MPG123_PE_LIBS:+false} :
13206 then :
13207 MPG123_PE_LIBS=mpg123
13208 if ${MPG123_PE_CFLAGS:+false} :
13209 then :
13210 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13211 else $as_nop
13212 enable_mpg123=no
13214 else $as_nop
13215 enable_mpg123=no
13217 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13218 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13220 if ${PNG_PE_LIBS:+false} :
13221 then :
13222 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13223 if ${PNG_PE_CFLAGS:+false} :
13224 then :
13225 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13226 else $as_nop
13227 enable_png=no
13229 else $as_nop
13230 enable_png=no
13232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13235 if ${TIFF_PE_LIBS:+false} :
13236 then :
13237 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13238 if ${TIFF_PE_CFLAGS:+false} :
13239 then :
13240 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13241 else $as_nop
13242 enable_tiff=no
13244 else $as_nop
13245 enable_tiff=no
13247 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13250 if ${VKD3D_PE_LIBS:+false} :
13251 then :
13252 VKD3D_PE_LIBS=vkd3d
13253 if ${VKD3D_PE_CFLAGS:+false} :
13254 then :
13255 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13256 else $as_nop
13257 enable_vkd3d=no
13259 else $as_nop
13260 enable_vkd3d=no
13262 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13265 if ${XML2_PE_LIBS:+false} :
13266 then :
13267 XML2_PE_LIBS=xml2
13268 if ${XML2_PE_CFLAGS:+false} :
13269 then :
13270 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13271 else $as_nop
13272 enable_xml2=no
13274 else $as_nop
13275 enable_xml2=no
13277 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13278 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13280 if ${XSLT_PE_LIBS:+false} :
13281 then :
13282 XSLT_PE_LIBS=xslt
13283 if ${XSLT_PE_CFLAGS:+false} :
13284 then :
13285 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13286 else $as_nop
13287 enable_xslt=no
13289 else $as_nop
13290 enable_xslt=no
13292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13293 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13295 if ${ZLIB_PE_LIBS:+false} :
13296 then :
13297 ZLIB_PE_LIBS=z
13298 if ${ZLIB_PE_CFLAGS:+false} :
13299 then :
13300 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13301 else $as_nop
13302 enable_zlib=no
13304 else $as_nop
13305 enable_zlib=no
13307 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13308 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13312 if test "$ac_cv_header_pthread_h" = "yes"
13313 then
13314 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13315 if test "x$ac_cv_func_pthread_create" = xyes
13316 then :
13318 else $as_nop
13319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13320 printf %s "checking for pthread_create in -lpthread... " >&6; }
13321 if test ${ac_cv_lib_pthread_pthread_create+y}
13322 then :
13323 printf %s "(cached) " >&6
13324 else $as_nop
13325 ac_check_lib_save_LIBS=$LIBS
13326 LIBS="-lpthread $LIBS"
13327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13328 /* end confdefs.h. */
13330 /* Override any GCC internal prototype to avoid an error.
13331 Use char because int might match the return type of a GCC
13332 builtin and then its argument prototype would still apply. */
13333 char pthread_create ();
13335 main (void)
13337 return pthread_create ();
13339 return 0;
13341 _ACEOF
13342 if ac_fn_c_try_link "$LINENO"
13343 then :
13344 ac_cv_lib_pthread_pthread_create=yes
13345 else $as_nop
13346 ac_cv_lib_pthread_pthread_create=no
13348 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13349 conftest$ac_exeext conftest.$ac_ext
13350 LIBS=$ac_check_lib_save_LIBS
13352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13353 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13354 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13355 then :
13356 PTHREAD_LIBS="-lpthread"
13363 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13364 then :
13365 case "x$with_pthread" in
13366 xno) ;;
13367 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13368 Wine cannot support threads without libpthread.
13369 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13370 esac
13375 ac_ext=c
13376 ac_cpp='$CPP $CPPFLAGS'
13377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13381 printf %s "checking how to run the C preprocessor... " >&6; }
13382 # On Suns, sometimes $CPP names a directory.
13383 if test -n "$CPP" && test -d "$CPP"; then
13384 CPP=
13386 if test -z "$CPP"; then
13387 if test ${ac_cv_prog_CPP+y}
13388 then :
13389 printf %s "(cached) " >&6
13390 else $as_nop
13391 # Double quotes because $CC needs to be expanded
13392 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13394 ac_preproc_ok=false
13395 for ac_c_preproc_warn_flag in '' yes
13397 # Use a header file that comes with gcc, so configuring glibc
13398 # with a fresh cross-compiler works.
13399 # On the NeXT, cc -E runs the code through the compiler's parser,
13400 # not just through cpp. "Syntax error" is here to catch this case.
13401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13402 /* end confdefs.h. */
13403 #include <limits.h>
13404 Syntax error
13405 _ACEOF
13406 if ac_fn_c_try_cpp "$LINENO"
13407 then :
13409 else $as_nop
13410 # Broken: fails on valid input.
13411 continue
13413 rm -f conftest.err conftest.i conftest.$ac_ext
13415 # OK, works on sane cases. Now check whether nonexistent headers
13416 # can be detected and how.
13417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13418 /* end confdefs.h. */
13419 #include <ac_nonexistent.h>
13420 _ACEOF
13421 if ac_fn_c_try_cpp "$LINENO"
13422 then :
13423 # Broken: success on invalid input.
13424 continue
13425 else $as_nop
13426 # Passes both tests.
13427 ac_preproc_ok=:
13428 break
13430 rm -f conftest.err conftest.i conftest.$ac_ext
13432 done
13433 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13434 rm -f conftest.i conftest.err conftest.$ac_ext
13435 if $ac_preproc_ok
13436 then :
13437 break
13440 done
13441 ac_cv_prog_CPP=$CPP
13444 CPP=$ac_cv_prog_CPP
13445 else
13446 ac_cv_prog_CPP=$CPP
13448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13449 printf "%s\n" "$CPP" >&6; }
13450 ac_preproc_ok=false
13451 for ac_c_preproc_warn_flag in '' yes
13453 # Use a header file that comes with gcc, so configuring glibc
13454 # with a fresh cross-compiler works.
13455 # On the NeXT, cc -E runs the code through the compiler's parser,
13456 # not just through cpp. "Syntax error" is here to catch this case.
13457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13458 /* end confdefs.h. */
13459 #include <limits.h>
13460 Syntax error
13461 _ACEOF
13462 if ac_fn_c_try_cpp "$LINENO"
13463 then :
13465 else $as_nop
13466 # Broken: fails on valid input.
13467 continue
13469 rm -f conftest.err conftest.i conftest.$ac_ext
13471 # OK, works on sane cases. Now check whether nonexistent headers
13472 # can be detected and how.
13473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13474 /* end confdefs.h. */
13475 #include <ac_nonexistent.h>
13476 _ACEOF
13477 if ac_fn_c_try_cpp "$LINENO"
13478 then :
13479 # Broken: success on invalid input.
13480 continue
13481 else $as_nop
13482 # Passes both tests.
13483 ac_preproc_ok=:
13484 break
13486 rm -f conftest.err conftest.i conftest.$ac_ext
13488 done
13489 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13490 rm -f conftest.i conftest.err conftest.$ac_ext
13491 if $ac_preproc_ok
13492 then :
13494 else $as_nop
13495 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13496 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13497 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13498 See \`config.log' for more details" "$LINENO" 5; }
13501 ac_ext=c
13502 ac_cpp='$CPP $CPPFLAGS'
13503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13509 printf %s "checking for X... " >&6; }
13512 # Check whether --with-x was given.
13513 if test ${with_x+y}
13514 then :
13515 withval=$with_x;
13518 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13519 if test "x$with_x" = xno; then
13520 # The user explicitly disabled X.
13521 have_x=disabled
13522 else
13523 case $x_includes,$x_libraries in #(
13524 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13525 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13526 then :
13527 printf %s "(cached) " >&6
13528 else $as_nop
13529 # One or both of the vars are not set, and there is no cached value.
13530 ac_x_includes=no
13531 ac_x_libraries=no
13532 # Do we need to do anything special at all?
13533 ac_save_LIBS=$LIBS
13534 LIBS="-lX11 $LIBS"
13535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13536 /* end confdefs.h. */
13537 #include <X11/Xlib.h>
13539 main (void)
13541 XrmInitialize ()
13543 return 0;
13545 _ACEOF
13546 if ac_fn_c_try_link "$LINENO"
13547 then :
13548 # We can compile and link X programs with no special options.
13549 ac_x_includes=
13550 ac_x_libraries=
13552 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13553 conftest$ac_exeext conftest.$ac_ext
13554 LIBS="$ac_save_LIBS"
13555 # If that didn't work, only try xmkmf and file system searches
13556 # for native compilation.
13557 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13558 then :
13559 rm -f -r conftest.dir
13560 if mkdir conftest.dir; then
13561 cd conftest.dir
13562 cat >Imakefile <<'_ACEOF'
13563 incroot:
13564 @echo incroot='${INCROOT}'
13565 usrlibdir:
13566 @echo usrlibdir='${USRLIBDIR}'
13567 libdir:
13568 @echo libdir='${LIBDIR}'
13569 _ACEOF
13570 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13571 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13572 for ac_var in incroot usrlibdir libdir; do
13573 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13574 done
13575 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13576 for ac_extension in a so sl dylib la dll; do
13577 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13578 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13579 ac_im_usrlibdir=$ac_im_libdir; break
13581 done
13582 # Screen out bogus values from the imake configuration. They are
13583 # bogus both because they are the default anyway, and because
13584 # using them would break gcc on systems where it needs fixed includes.
13585 case $ac_im_incroot in
13586 /usr/include) ac_x_includes= ;;
13587 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13588 esac
13589 case $ac_im_usrlibdir in
13590 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13591 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13592 esac
13594 cd ..
13595 rm -f -r conftest.dir
13598 # Standard set of common directories for X headers.
13599 # Check X11 before X11Rn because it is often a symlink to the current release.
13600 ac_x_header_dirs='
13601 /usr/X11/include
13602 /usr/X11R7/include
13603 /usr/X11R6/include
13604 /usr/X11R5/include
13605 /usr/X11R4/include
13607 /usr/include/X11
13608 /usr/include/X11R7
13609 /usr/include/X11R6
13610 /usr/include/X11R5
13611 /usr/include/X11R4
13613 /usr/local/X11/include
13614 /usr/local/X11R7/include
13615 /usr/local/X11R6/include
13616 /usr/local/X11R5/include
13617 /usr/local/X11R4/include
13619 /usr/local/include/X11
13620 /usr/local/include/X11R7
13621 /usr/local/include/X11R6
13622 /usr/local/include/X11R5
13623 /usr/local/include/X11R4
13625 /opt/X11/include
13627 /usr/X386/include
13628 /usr/x386/include
13629 /usr/XFree86/include/X11
13631 /usr/include
13632 /usr/local/include
13633 /usr/unsupported/include
13634 /usr/athena/include
13635 /usr/local/x11r5/include
13636 /usr/lpp/Xamples/include
13638 /usr/openwin/include
13639 /usr/openwin/share/include'
13641 if test "$ac_x_includes" = no; then
13642 # Guess where to find include files, by looking for Xlib.h.
13643 # First, try using that file with no special directory specified.
13644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13645 /* end confdefs.h. */
13646 #include <X11/Xlib.h>
13647 _ACEOF
13648 if ac_fn_c_try_cpp "$LINENO"
13649 then :
13650 # We can compile using X headers with no special include directory.
13651 ac_x_includes=
13652 else $as_nop
13653 for ac_dir in $ac_x_header_dirs; do
13654 if test -r "$ac_dir/X11/Xlib.h"; then
13655 ac_x_includes=$ac_dir
13656 break
13658 done
13660 rm -f conftest.err conftest.i conftest.$ac_ext
13661 fi # $ac_x_includes = no
13663 if test "$ac_x_libraries" = no; then
13664 # Check for the libraries.
13665 # See if we find them without any special options.
13666 # Don't add to $LIBS permanently.
13667 ac_save_LIBS=$LIBS
13668 LIBS="-lX11 $LIBS"
13669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13670 /* end confdefs.h. */
13671 #include <X11/Xlib.h>
13673 main (void)
13675 XrmInitialize ()
13677 return 0;
13679 _ACEOF
13680 if ac_fn_c_try_link "$LINENO"
13681 then :
13682 LIBS=$ac_save_LIBS
13683 # We can link X programs with no special library path.
13684 ac_x_libraries=
13685 else $as_nop
13686 LIBS=$ac_save_LIBS
13687 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13689 # Don't even attempt the hair of trying to link an X program!
13690 for ac_extension in a so sl dylib la dll; do
13691 if test -r "$ac_dir/libX11.$ac_extension"; then
13692 ac_x_libraries=$ac_dir
13693 break 2
13695 done
13696 done
13698 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13699 conftest$ac_exeext conftest.$ac_ext
13700 fi # $ac_x_libraries = no
13703 # Record the results.
13704 case $ac_x_includes,$ac_x_libraries in #(
13705 no,* | *,no | *\'*) :
13706 # Didn't find X, or a directory has "'" in its name.
13707 ac_cv_have_x="have_x=no" ;; #(
13708 *) :
13709 # Record where we found X for the cache.
13710 ac_cv_have_x="have_x=yes\
13711 ac_x_includes='$ac_x_includes'\
13712 ac_x_libraries='$ac_x_libraries'" ;;
13713 esac
13715 ;; #(
13716 *) have_x=yes;;
13717 esac
13718 eval "$ac_cv_have_x"
13719 fi # $with_x != no
13721 if test "$have_x" != yes; then
13722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13723 printf "%s\n" "$have_x" >&6; }
13724 no_x=yes
13725 else
13726 # If each of the values was on the command line, it overrides each guess.
13727 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13728 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13729 # Update the cache value to reflect the command line values.
13730 ac_cv_have_x="have_x=yes\
13731 ac_x_includes='$x_includes'\
13732 ac_x_libraries='$x_libraries'"
13733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13734 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13737 if test "$no_x" = yes; then
13738 # Not all programs may use this symbol, but it does not hurt to define it.
13740 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13742 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13743 else
13744 if test -n "$x_includes"; then
13745 X_CFLAGS="$X_CFLAGS -I$x_includes"
13748 # It would also be nice to do this for all -L options, not just this one.
13749 if test -n "$x_libraries"; then
13750 X_LIBS="$X_LIBS -L$x_libraries"
13751 # For Solaris; some versions of Sun CC require a space after -R and
13752 # others require no space. Words are not sufficient . . . .
13753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13754 printf %s "checking whether -R must be followed by a space... " >&6; }
13755 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13756 ac_xsave_c_werror_flag=$ac_c_werror_flag
13757 ac_c_werror_flag=yes
13758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13759 /* end confdefs.h. */
13762 main (void)
13766 return 0;
13768 _ACEOF
13769 if ac_fn_c_try_link "$LINENO"
13770 then :
13771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13772 printf "%s\n" "no" >&6; }
13773 X_LIBS="$X_LIBS -R$x_libraries"
13774 else $as_nop
13775 LIBS="$ac_xsave_LIBS -R $x_libraries"
13776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13777 /* end confdefs.h. */
13780 main (void)
13784 return 0;
13786 _ACEOF
13787 if ac_fn_c_try_link "$LINENO"
13788 then :
13789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13790 printf "%s\n" "yes" >&6; }
13791 X_LIBS="$X_LIBS -R $x_libraries"
13792 else $as_nop
13793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13794 printf "%s\n" "neither works" >&6; }
13796 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13797 conftest$ac_exeext conftest.$ac_ext
13799 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13800 conftest$ac_exeext conftest.$ac_ext
13801 ac_c_werror_flag=$ac_xsave_c_werror_flag
13802 LIBS=$ac_xsave_LIBS
13805 # Check for system-dependent libraries X programs must link with.
13806 # Do this before checking for the system-independent R6 libraries
13807 # (-lICE), since we may need -lsocket or whatever for X linking.
13809 if test "$ISC" = yes; then
13810 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13811 else
13812 # Martyn Johnson says this is needed for Ultrix, if the X
13813 # libraries were built with DECnet support. And Karl Berry says
13814 # the Alpha needs dnet_stub (dnet does not exist).
13815 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13817 /* end confdefs.h. */
13819 /* Override any GCC internal prototype to avoid an error.
13820 Use char because int might match the return type of a GCC
13821 builtin and then its argument prototype would still apply. */
13822 char XOpenDisplay ();
13824 main (void)
13826 return XOpenDisplay ();
13828 return 0;
13830 _ACEOF
13831 if ac_fn_c_try_link "$LINENO"
13832 then :
13834 else $as_nop
13835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13836 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13837 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13838 then :
13839 printf %s "(cached) " >&6
13840 else $as_nop
13841 ac_check_lib_save_LIBS=$LIBS
13842 LIBS="-ldnet $LIBS"
13843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13844 /* end confdefs.h. */
13846 /* Override any GCC internal prototype to avoid an error.
13847 Use char because int might match the return type of a GCC
13848 builtin and then its argument prototype would still apply. */
13849 char dnet_ntoa ();
13851 main (void)
13853 return dnet_ntoa ();
13855 return 0;
13857 _ACEOF
13858 if ac_fn_c_try_link "$LINENO"
13859 then :
13860 ac_cv_lib_dnet_dnet_ntoa=yes
13861 else $as_nop
13862 ac_cv_lib_dnet_dnet_ntoa=no
13864 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13865 conftest$ac_exeext conftest.$ac_ext
13866 LIBS=$ac_check_lib_save_LIBS
13868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13869 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13870 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13871 then :
13872 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13875 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13877 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13878 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13879 then :
13880 printf %s "(cached) " >&6
13881 else $as_nop
13882 ac_check_lib_save_LIBS=$LIBS
13883 LIBS="-ldnet_stub $LIBS"
13884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13885 /* end confdefs.h. */
13887 /* Override any GCC internal prototype to avoid an error.
13888 Use char because int might match the return type of a GCC
13889 builtin and then its argument prototype would still apply. */
13890 char dnet_ntoa ();
13892 main (void)
13894 return dnet_ntoa ();
13896 return 0;
13898 _ACEOF
13899 if ac_fn_c_try_link "$LINENO"
13900 then :
13901 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13902 else $as_nop
13903 ac_cv_lib_dnet_stub_dnet_ntoa=no
13905 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13906 conftest$ac_exeext conftest.$ac_ext
13907 LIBS=$ac_check_lib_save_LIBS
13909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13910 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13911 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13912 then :
13913 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13918 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13919 conftest$ac_exeext conftest.$ac_ext
13920 LIBS="$ac_xsave_LIBS"
13922 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13923 # to get the SysV transport functions.
13924 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13925 # needs -lnsl.
13926 # The nsl library prevents programs from opening the X display
13927 # on Irix 5.2, according to T.E. Dickey.
13928 # The functions gethostbyname, getservbyname, and inet_addr are
13929 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13930 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13931 if test "x$ac_cv_func_gethostbyname" = xyes
13932 then :
13936 if test $ac_cv_func_gethostbyname = no; then
13937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13938 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13939 if test ${ac_cv_lib_nsl_gethostbyname+y}
13940 then :
13941 printf %s "(cached) " >&6
13942 else $as_nop
13943 ac_check_lib_save_LIBS=$LIBS
13944 LIBS="-lnsl $LIBS"
13945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13946 /* end confdefs.h. */
13948 /* Override any GCC internal prototype to avoid an error.
13949 Use char because int might match the return type of a GCC
13950 builtin and then its argument prototype would still apply. */
13951 char gethostbyname ();
13953 main (void)
13955 return gethostbyname ();
13957 return 0;
13959 _ACEOF
13960 if ac_fn_c_try_link "$LINENO"
13961 then :
13962 ac_cv_lib_nsl_gethostbyname=yes
13963 else $as_nop
13964 ac_cv_lib_nsl_gethostbyname=no
13966 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13967 conftest$ac_exeext conftest.$ac_ext
13968 LIBS=$ac_check_lib_save_LIBS
13970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13971 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13972 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13973 then :
13974 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13977 if test $ac_cv_lib_nsl_gethostbyname = no; then
13978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13979 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13980 if test ${ac_cv_lib_bsd_gethostbyname+y}
13981 then :
13982 printf %s "(cached) " >&6
13983 else $as_nop
13984 ac_check_lib_save_LIBS=$LIBS
13985 LIBS="-lbsd $LIBS"
13986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13987 /* end confdefs.h. */
13989 /* Override any GCC internal prototype to avoid an error.
13990 Use char because int might match the return type of a GCC
13991 builtin and then its argument prototype would still apply. */
13992 char gethostbyname ();
13994 main (void)
13996 return gethostbyname ();
13998 return 0;
14000 _ACEOF
14001 if ac_fn_c_try_link "$LINENO"
14002 then :
14003 ac_cv_lib_bsd_gethostbyname=yes
14004 else $as_nop
14005 ac_cv_lib_bsd_gethostbyname=no
14007 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14008 conftest$ac_exeext conftest.$ac_ext
14009 LIBS=$ac_check_lib_save_LIBS
14011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14012 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14013 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14014 then :
14015 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14021 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14022 # socket/setsockopt and other routines are undefined under SCO ODT
14023 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14024 # on later versions), says Simon Leinen: it contains gethostby*
14025 # variants that don't use the name server (or something). -lsocket
14026 # must be given before -lnsl if both are needed. We assume that
14027 # if connect needs -lnsl, so does gethostbyname.
14028 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14029 if test "x$ac_cv_func_connect" = xyes
14030 then :
14034 if test $ac_cv_func_connect = no; then
14035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14036 printf %s "checking for connect in -lsocket... " >&6; }
14037 if test ${ac_cv_lib_socket_connect+y}
14038 then :
14039 printf %s "(cached) " >&6
14040 else $as_nop
14041 ac_check_lib_save_LIBS=$LIBS
14042 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14044 /* end confdefs.h. */
14046 /* Override any GCC internal prototype to avoid an error.
14047 Use char because int might match the return type of a GCC
14048 builtin and then its argument prototype would still apply. */
14049 char connect ();
14051 main (void)
14053 return connect ();
14055 return 0;
14057 _ACEOF
14058 if ac_fn_c_try_link "$LINENO"
14059 then :
14060 ac_cv_lib_socket_connect=yes
14061 else $as_nop
14062 ac_cv_lib_socket_connect=no
14064 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14065 conftest$ac_exeext conftest.$ac_ext
14066 LIBS=$ac_check_lib_save_LIBS
14068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14069 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14070 if test "x$ac_cv_lib_socket_connect" = xyes
14071 then :
14072 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14077 # Guillermo Gomez says -lposix is necessary on A/UX.
14078 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14079 if test "x$ac_cv_func_remove" = xyes
14080 then :
14084 if test $ac_cv_func_remove = no; then
14085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14086 printf %s "checking for remove in -lposix... " >&6; }
14087 if test ${ac_cv_lib_posix_remove+y}
14088 then :
14089 printf %s "(cached) " >&6
14090 else $as_nop
14091 ac_check_lib_save_LIBS=$LIBS
14092 LIBS="-lposix $LIBS"
14093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14094 /* end confdefs.h. */
14096 /* Override any GCC internal prototype to avoid an error.
14097 Use char because int might match the return type of a GCC
14098 builtin and then its argument prototype would still apply. */
14099 char remove ();
14101 main (void)
14103 return remove ();
14105 return 0;
14107 _ACEOF
14108 if ac_fn_c_try_link "$LINENO"
14109 then :
14110 ac_cv_lib_posix_remove=yes
14111 else $as_nop
14112 ac_cv_lib_posix_remove=no
14114 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14115 conftest$ac_exeext conftest.$ac_ext
14116 LIBS=$ac_check_lib_save_LIBS
14118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14119 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14120 if test "x$ac_cv_lib_posix_remove" = xyes
14121 then :
14122 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14127 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14128 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14129 if test "x$ac_cv_func_shmat" = xyes
14130 then :
14134 if test $ac_cv_func_shmat = no; then
14135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14136 printf %s "checking for shmat in -lipc... " >&6; }
14137 if test ${ac_cv_lib_ipc_shmat+y}
14138 then :
14139 printf %s "(cached) " >&6
14140 else $as_nop
14141 ac_check_lib_save_LIBS=$LIBS
14142 LIBS="-lipc $LIBS"
14143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14144 /* end confdefs.h. */
14146 /* Override any GCC internal prototype to avoid an error.
14147 Use char because int might match the return type of a GCC
14148 builtin and then its argument prototype would still apply. */
14149 char shmat ();
14151 main (void)
14153 return shmat ();
14155 return 0;
14157 _ACEOF
14158 if ac_fn_c_try_link "$LINENO"
14159 then :
14160 ac_cv_lib_ipc_shmat=yes
14161 else $as_nop
14162 ac_cv_lib_ipc_shmat=no
14164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14165 conftest$ac_exeext conftest.$ac_ext
14166 LIBS=$ac_check_lib_save_LIBS
14168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14169 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14170 if test "x$ac_cv_lib_ipc_shmat" = xyes
14171 then :
14172 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14178 # Check for libraries that X11R6 Xt/Xaw programs need.
14179 ac_save_LDFLAGS=$LDFLAGS
14180 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14181 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14182 # check for ICE first), but we must link in the order -lSM -lICE or
14183 # we get undefined symbols. So assume we have SM if we have ICE.
14184 # These have to be linked with before -lX11, unlike the other
14185 # libraries we check for below, so use a different variable.
14186 # John Interrante, Karl Berry
14187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14188 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14189 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14190 then :
14191 printf %s "(cached) " >&6
14192 else $as_nop
14193 ac_check_lib_save_LIBS=$LIBS
14194 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14196 /* end confdefs.h. */
14198 /* Override any GCC internal prototype to avoid an error.
14199 Use char because int might match the return type of a GCC
14200 builtin and then its argument prototype would still apply. */
14201 char IceConnectionNumber ();
14203 main (void)
14205 return IceConnectionNumber ();
14207 return 0;
14209 _ACEOF
14210 if ac_fn_c_try_link "$LINENO"
14211 then :
14212 ac_cv_lib_ICE_IceConnectionNumber=yes
14213 else $as_nop
14214 ac_cv_lib_ICE_IceConnectionNumber=no
14216 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14217 conftest$ac_exeext conftest.$ac_ext
14218 LIBS=$ac_check_lib_save_LIBS
14220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14221 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14222 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14223 then :
14224 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14227 LDFLAGS=$ac_save_LDFLAGS
14232 if test "$have_x" = "yes"
14233 then
14234 ac_save_CPPFLAGS="$CPPFLAGS"
14235 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14238 printf %s "checking for -lX11... " >&6; }
14239 if test ${ac_cv_lib_soname_X11+y}
14240 then :
14241 printf %s "(cached) " >&6
14242 else $as_nop
14243 ac_check_soname_save_LIBS=$LIBS
14244 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14246 /* end confdefs.h. */
14248 /* Override any GCC internal prototype to avoid an error.
14249 Use char because int might match the return type of a GCC
14250 builtin and then its argument prototype would still apply. */
14251 char XCreateWindow ();
14253 main (void)
14255 return XCreateWindow ();
14257 return 0;
14259 _ACEOF
14260 if ac_fn_c_try_link "$LINENO"
14261 then :
14262 case "$LIBEXT" in
14263 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14264 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'` ;;
14265 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14266 if ${ac_cv_lib_soname_X11:+false} :
14267 then :
14268 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14269 fi ;;
14270 esac
14271 else $as_nop
14272 ac_cv_lib_soname_X11=
14274 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14275 conftest$ac_exeext conftest.$ac_ext
14276 LIBS=$ac_check_soname_save_LIBS
14278 if ${ac_cv_lib_soname_X11:+false} :
14279 then :
14280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14281 printf "%s\n" "not found" >&6; }
14283 else $as_nop
14284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14285 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14287 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14292 printf %s "checking for -lXext... " >&6; }
14293 if test ${ac_cv_lib_soname_Xext+y}
14294 then :
14295 printf %s "(cached) " >&6
14296 else $as_nop
14297 ac_check_soname_save_LIBS=$LIBS
14298 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14300 /* end confdefs.h. */
14302 /* Override any GCC internal prototype to avoid an error.
14303 Use char because int might match the return type of a GCC
14304 builtin and then its argument prototype would still apply. */
14305 char XextCreateExtension ();
14307 main (void)
14309 return XextCreateExtension ();
14311 return 0;
14313 _ACEOF
14314 if ac_fn_c_try_link "$LINENO"
14315 then :
14316 case "$LIBEXT" in
14317 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14318 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'` ;;
14319 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14320 if ${ac_cv_lib_soname_Xext:+false} :
14321 then :
14322 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14323 fi ;;
14324 esac
14325 else $as_nop
14326 ac_cv_lib_soname_Xext=
14328 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14329 conftest$ac_exeext conftest.$ac_ext
14330 LIBS=$ac_check_soname_save_LIBS
14332 if ${ac_cv_lib_soname_Xext:+false} :
14333 then :
14334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14335 printf "%s\n" "not found" >&6; }
14337 else $as_nop
14338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14339 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14341 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14343 X_LIBS="$X_LIBS -lXext"
14345 X_LIBS="$X_LIBS -lX11"
14347 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14348 # include <X11/Xlib.h>
14349 #endif
14350 #ifdef HAVE_X11_XUTIL_H
14351 # include <X11/Xutil.h>
14352 #endif
14354 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14355 then :
14356 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14359 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14360 # include <X11/Xlib.h>
14361 #endif
14362 #ifdef HAVE_X11_XUTIL_H
14363 # include <X11/Xutil.h>
14364 #endif
14366 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14367 then :
14368 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14371 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14372 # include <X11/Xlib.h>
14373 #endif
14374 #ifdef HAVE_X11_XUTIL_H
14375 # include <X11/Xutil.h>
14376 #endif
14378 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14379 then :
14380 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14383 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14384 # include <X11/Xlib.h>
14385 #endif
14386 #ifdef HAVE_X11_XUTIL_H
14387 # include <X11/Xutil.h>
14388 #endif
14390 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14391 then :
14392 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14395 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14396 # include <X11/Xlib.h>
14397 #endif
14398 #ifdef HAVE_X11_XUTIL_H
14399 # include <X11/Xutil.h>
14400 #endif
14402 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14403 then :
14404 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14407 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14408 # include <X11/Xlib.h>
14409 #endif
14410 #ifdef HAVE_X11_XUTIL_H
14411 # include <X11/Xutil.h>
14412 #endif
14414 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14415 then :
14416 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14419 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14420 # include <X11/Xlib.h>
14421 #endif
14422 #ifdef HAVE_X11_XUTIL_H
14423 # include <X11/Xutil.h>
14424 #endif
14426 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14427 then :
14428 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14431 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14432 # include <X11/Xlib.h>
14433 #endif
14434 #ifdef HAVE_X11_XUTIL_H
14435 # include <X11/Xutil.h>
14436 #endif
14438 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14439 then :
14440 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14443 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14444 # include <X11/Xlib.h>
14445 #endif
14446 #ifdef HAVE_X11_XUTIL_H
14447 # include <X11/Xutil.h>
14448 #endif
14450 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14451 then :
14452 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14455 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14456 # include <X11/Xlib.h>
14457 #endif
14458 #ifdef HAVE_X11_XUTIL_H
14459 # include <X11/Xutil.h>
14460 #endif
14462 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14463 then :
14464 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14467 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14468 # include <X11/Xlib.h>
14469 #endif
14470 #ifdef HAVE_X11_XUTIL_H
14471 # include <X11/Xutil.h>
14472 #endif
14474 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14475 then :
14476 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14479 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14480 # include <X11/Xlib.h>
14481 #endif
14482 #ifdef HAVE_X11_XUTIL_H
14483 # include <X11/Xutil.h>
14484 #endif
14486 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14487 then :
14488 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14491 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14492 # include <X11/Xlib.h>
14493 #endif
14494 #ifdef HAVE_X11_XUTIL_H
14495 # include <X11/Xutil.h>
14496 #endif
14498 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14499 then :
14500 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14503 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14504 # include <X11/Xlib.h>
14505 #endif
14506 #ifdef HAVE_X11_XUTIL_H
14507 # include <X11/Xutil.h>
14508 #endif
14510 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14511 then :
14512 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14515 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14516 # include <X11/Xlib.h>
14517 #endif
14518 #ifdef HAVE_X11_XUTIL_H
14519 # include <X11/Xutil.h>
14520 #endif
14522 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14523 then :
14524 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14529 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14530 then
14531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14532 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14533 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14534 then :
14535 printf %s "(cached) " >&6
14536 else $as_nop
14537 ac_check_lib_save_LIBS=$LIBS
14538 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14540 /* end confdefs.h. */
14542 /* Override any GCC internal prototype to avoid an error.
14543 Use char because int might match the return type of a GCC
14544 builtin and then its argument prototype would still apply. */
14545 char XkbQueryExtension ();
14547 main (void)
14549 return XkbQueryExtension ();
14551 return 0;
14553 _ACEOF
14554 if ac_fn_c_try_link "$LINENO"
14555 then :
14556 ac_cv_lib_X11_XkbQueryExtension=yes
14557 else $as_nop
14558 ac_cv_lib_X11_XkbQueryExtension=no
14560 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14561 conftest$ac_exeext conftest.$ac_ext
14562 LIBS=$ac_check_lib_save_LIBS
14564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14565 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14566 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14567 then :
14569 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14575 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14576 then
14577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14578 printf %s "checking for -lXcursor... " >&6; }
14579 if test ${ac_cv_lib_soname_Xcursor+y}
14580 then :
14581 printf %s "(cached) " >&6
14582 else $as_nop
14583 ac_check_soname_save_LIBS=$LIBS
14584 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14586 /* end confdefs.h. */
14588 /* Override any GCC internal prototype to avoid an error.
14589 Use char because int might match the return type of a GCC
14590 builtin and then its argument prototype would still apply. */
14591 char XcursorImageLoadCursor ();
14593 main (void)
14595 return XcursorImageLoadCursor ();
14597 return 0;
14599 _ACEOF
14600 if ac_fn_c_try_link "$LINENO"
14601 then :
14602 case "$LIBEXT" in
14603 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14604 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'` ;;
14605 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14606 if ${ac_cv_lib_soname_Xcursor:+false} :
14607 then :
14608 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14609 fi ;;
14610 esac
14611 else $as_nop
14612 ac_cv_lib_soname_Xcursor=
14614 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14615 conftest$ac_exeext conftest.$ac_ext
14616 LIBS=$ac_check_soname_save_LIBS
14618 if ${ac_cv_lib_soname_Xcursor:+false} :
14619 then :
14620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14621 printf "%s\n" "not found" >&6; }
14623 else $as_nop
14624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14625 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14627 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14632 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14633 then :
14634 case "x$with_xcursor" in
14635 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14636 xno) ;;
14637 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14638 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14639 esac
14643 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14644 then
14645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14646 printf %s "checking for -lXi... " >&6; }
14647 if test ${ac_cv_lib_soname_Xi+y}
14648 then :
14649 printf %s "(cached) " >&6
14650 else $as_nop
14651 ac_check_soname_save_LIBS=$LIBS
14652 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14654 /* end confdefs.h. */
14656 /* Override any GCC internal prototype to avoid an error.
14657 Use char because int might match the return type of a GCC
14658 builtin and then its argument prototype would still apply. */
14659 char XOpenDevice ();
14661 main (void)
14663 return XOpenDevice ();
14665 return 0;
14667 _ACEOF
14668 if ac_fn_c_try_link "$LINENO"
14669 then :
14670 case "$LIBEXT" in
14671 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14672 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'` ;;
14673 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14674 if ${ac_cv_lib_soname_Xi:+false} :
14675 then :
14676 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14677 fi ;;
14678 esac
14679 else $as_nop
14680 ac_cv_lib_soname_Xi=
14682 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14683 conftest$ac_exeext conftest.$ac_ext
14684 LIBS=$ac_check_soname_save_LIBS
14686 if ${ac_cv_lib_soname_Xi:+false} :
14687 then :
14688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14689 printf "%s\n" "not found" >&6; }
14691 else $as_nop
14692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14693 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14695 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14700 if test "x$ac_cv_lib_soname_Xi" = "x"
14701 then :
14702 case "x$with_xinput" in
14703 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14704 xno) ;;
14705 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14706 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14707 esac
14711 if test "x$ac_cv_lib_soname_Xi" != x
14712 then
14713 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14714 then :
14715 case "x$with_xinput2" in
14716 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14717 xno) ;;
14718 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14719 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14720 esac
14725 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14726 then
14727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14728 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14729 if test ${ac_cv_lib_Xext_XShmQueryExtension+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 XShmQueryExtension ();
14743 main (void)
14745 return XShmQueryExtension ();
14747 return 0;
14749 _ACEOF
14750 if ac_fn_c_try_link "$LINENO"
14751 then :
14752 ac_cv_lib_Xext_XShmQueryExtension=yes
14753 else $as_nop
14754 ac_cv_lib_Xext_XShmQueryExtension=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_XShmQueryExtension" >&5
14761 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14762 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14763 then :
14765 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14770 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14771 then :
14772 case "x$with_xshm" in
14773 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14774 xno) ;;
14775 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14776 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14777 esac
14781 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14782 then
14783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14784 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14785 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14786 then :
14787 printf %s "(cached) " >&6
14788 else $as_nop
14789 ac_check_lib_save_LIBS=$LIBS
14790 LIBS="-lXext $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 XShapeQueryExtension ();
14799 main (void)
14801 return XShapeQueryExtension ();
14803 return 0;
14805 _ACEOF
14806 if ac_fn_c_try_link "$LINENO"
14807 then :
14808 ac_cv_lib_Xext_XShapeQueryExtension=yes
14809 else $as_nop
14810 ac_cv_lib_Xext_XShapeQueryExtension=no
14812 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14813 conftest$ac_exeext conftest.$ac_ext
14814 LIBS=$ac_check_lib_save_LIBS
14816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14817 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14818 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14819 then :
14821 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14826 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14827 then :
14828 case "x$with_xshape" in
14829 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14830 xno) ;;
14831 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14832 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14833 esac
14837 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14838 then
14839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14840 printf %s "checking for -lXxf86vm... " >&6; }
14841 if test ${ac_cv_lib_soname_Xxf86vm+y}
14842 then :
14843 printf %s "(cached) " >&6
14844 else $as_nop
14845 ac_check_soname_save_LIBS=$LIBS
14846 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14848 /* end confdefs.h. */
14850 /* Override any GCC internal prototype to avoid an error.
14851 Use char because int might match the return type of a GCC
14852 builtin and then its argument prototype would still apply. */
14853 char XF86VidModeQueryExtension ();
14855 main (void)
14857 return XF86VidModeQueryExtension ();
14859 return 0;
14861 _ACEOF
14862 if ac_fn_c_try_link "$LINENO"
14863 then :
14864 case "$LIBEXT" in
14865 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14866 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'` ;;
14867 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14868 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14869 then :
14870 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14871 fi ;;
14872 esac
14873 else $as_nop
14874 ac_cv_lib_soname_Xxf86vm=
14876 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14877 conftest$ac_exeext conftest.$ac_ext
14878 LIBS=$ac_check_soname_save_LIBS
14880 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14881 then :
14882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14883 printf "%s\n" "not found" >&6; }
14885 else $as_nop
14886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14887 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14889 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14894 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14895 then :
14896 case "x$with_xxf86vm" in
14897 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14898 xno) ;;
14899 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14900 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14901 esac
14905 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14906 then
14907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14908 printf %s "checking for -lXrender... " >&6; }
14909 if test ${ac_cv_lib_soname_Xrender+y}
14910 then :
14911 printf %s "(cached) " >&6
14912 else $as_nop
14913 ac_check_soname_save_LIBS=$LIBS
14914 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14916 /* end confdefs.h. */
14918 /* Override any GCC internal prototype to avoid an error.
14919 Use char because int might match the return type of a GCC
14920 builtin and then its argument prototype would still apply. */
14921 char XRenderQueryExtension ();
14923 main (void)
14925 return XRenderQueryExtension ();
14927 return 0;
14929 _ACEOF
14930 if ac_fn_c_try_link "$LINENO"
14931 then :
14932 case "$LIBEXT" in
14933 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14934 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'` ;;
14935 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14936 if ${ac_cv_lib_soname_Xrender:+false} :
14937 then :
14938 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14939 fi ;;
14940 esac
14941 else $as_nop
14942 ac_cv_lib_soname_Xrender=
14944 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14945 conftest$ac_exeext conftest.$ac_ext
14946 LIBS=$ac_check_soname_save_LIBS
14948 if ${ac_cv_lib_soname_Xrender:+false} :
14949 then :
14950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14951 printf "%s\n" "not found" >&6; }
14953 else $as_nop
14954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14955 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14957 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14960 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14961 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14962 then :
14963 printf %s "(cached) " >&6
14964 else $as_nop
14965 ac_check_lib_save_LIBS=$LIBS
14966 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14968 /* end confdefs.h. */
14970 /* Override any GCC internal prototype to avoid an error.
14971 Use char because int might match the return type of a GCC
14972 builtin and then its argument prototype would still apply. */
14973 char XRenderSetPictureTransform ();
14975 main (void)
14977 return XRenderSetPictureTransform ();
14979 return 0;
14981 _ACEOF
14982 if ac_fn_c_try_link "$LINENO"
14983 then :
14984 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14985 else $as_nop
14986 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14988 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14989 conftest$ac_exeext conftest.$ac_ext
14990 LIBS=$ac_check_lib_save_LIBS
14992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14993 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14994 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14995 then :
14997 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15002 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15003 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15004 then :
15005 printf %s "(cached) " >&6
15006 else $as_nop
15007 ac_check_lib_save_LIBS=$LIBS
15008 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15010 /* end confdefs.h. */
15012 /* Override any GCC internal prototype to avoid an error.
15013 Use char because int might match the return type of a GCC
15014 builtin and then its argument prototype would still apply. */
15015 char XRenderCreateLinearGradient ();
15017 main (void)
15019 return XRenderCreateLinearGradient ();
15021 return 0;
15023 _ACEOF
15024 if ac_fn_c_try_link "$LINENO"
15025 then :
15026 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15027 else $as_nop
15028 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15030 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15031 conftest$ac_exeext conftest.$ac_ext
15032 LIBS=$ac_check_lib_save_LIBS
15034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15035 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15036 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15037 then :
15039 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15046 if test "x$ac_cv_lib_soname_Xrender" = "x"
15047 then :
15048 case "x$with_xrender" in
15049 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15050 xno) ;;
15051 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15052 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15053 esac
15057 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15058 then
15059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15060 /* end confdefs.h. */
15061 #include <X11/Xlib.h>
15062 #include <X11/extensions/Xrandr.h>
15064 main (void)
15066 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15068 return 0;
15070 _ACEOF
15071 if ac_fn_c_try_compile "$LINENO"
15072 then :
15073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15074 printf %s "checking for -lXrandr... " >&6; }
15075 if test ${ac_cv_lib_soname_Xrandr+y}
15076 then :
15077 printf %s "(cached) " >&6
15078 else $as_nop
15079 ac_check_soname_save_LIBS=$LIBS
15080 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15082 /* end confdefs.h. */
15084 /* Override any GCC internal prototype to avoid an error.
15085 Use char because int might match the return type of a GCC
15086 builtin and then its argument prototype would still apply. */
15087 char XRRQueryExtension ();
15089 main (void)
15091 return XRRQueryExtension ();
15093 return 0;
15095 _ACEOF
15096 if ac_fn_c_try_link "$LINENO"
15097 then :
15098 case "$LIBEXT" in
15099 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15100 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'` ;;
15101 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15102 if ${ac_cv_lib_soname_Xrandr:+false} :
15103 then :
15104 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15105 fi ;;
15106 esac
15107 else $as_nop
15108 ac_cv_lib_soname_Xrandr=
15110 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15111 conftest$ac_exeext conftest.$ac_ext
15112 LIBS=$ac_check_soname_save_LIBS
15114 if ${ac_cv_lib_soname_Xrandr:+false} :
15115 then :
15116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15117 printf "%s\n" "not found" >&6; }
15119 else $as_nop
15120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15121 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15123 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15126 /* end confdefs.h. */
15127 #include <X11/Xlib.h>
15128 #include <X11/extensions/Xrandr.h>
15130 main (void)
15132 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15134 return 0;
15136 _ACEOF
15137 if ac_fn_c_try_compile "$LINENO"
15138 then :
15140 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15142 else $as_nop
15143 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15145 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15148 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15150 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15151 then :
15152 case "x$with_xrandr" in
15153 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15154 xno) ;;
15155 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15156 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15157 esac
15161 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15162 then
15163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15164 /* end confdefs.h. */
15165 #include <X11/Xlib.h>
15166 #include <X11/extensions/Xfixes.h>
15168 main (void)
15170 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15172 return 0;
15174 _ACEOF
15175 if ac_fn_c_try_compile "$LINENO"
15176 then :
15177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15178 printf %s "checking for -lXfixes... " >&6; }
15179 if test ${ac_cv_lib_soname_Xfixes+y}
15180 then :
15181 printf %s "(cached) " >&6
15182 else $as_nop
15183 ac_check_soname_save_LIBS=$LIBS
15184 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15186 /* end confdefs.h. */
15188 /* Override any GCC internal prototype to avoid an error.
15189 Use char because int might match the return type of a GCC
15190 builtin and then its argument prototype would still apply. */
15191 char XFixesQueryVersion ();
15193 main (void)
15195 return XFixesQueryVersion ();
15197 return 0;
15199 _ACEOF
15200 if ac_fn_c_try_link "$LINENO"
15201 then :
15202 case "$LIBEXT" in
15203 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15204 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'` ;;
15205 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15206 if ${ac_cv_lib_soname_Xfixes:+false} :
15207 then :
15208 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15209 fi ;;
15210 esac
15211 else $as_nop
15212 ac_cv_lib_soname_Xfixes=
15214 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15215 conftest$ac_exeext conftest.$ac_ext
15216 LIBS=$ac_check_soname_save_LIBS
15218 if ${ac_cv_lib_soname_Xfixes:+false} :
15219 then :
15220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15221 printf "%s\n" "not found" >&6; }
15223 else $as_nop
15224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15225 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15227 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15232 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15234 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15235 then :
15236 case "x$with_xfixes" in
15237 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15238 xno) ;;
15239 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15240 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15241 esac
15245 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15246 then
15247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15248 /* end confdefs.h. */
15249 #include <X11/Xlib.h>
15250 #include <X11/extensions/Xinerama.h>
15252 main (void)
15254 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15256 return 0;
15258 _ACEOF
15259 if ac_fn_c_try_compile "$LINENO"
15260 then :
15261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15262 printf %s "checking for -lXinerama... " >&6; }
15263 if test ${ac_cv_lib_soname_Xinerama+y}
15264 then :
15265 printf %s "(cached) " >&6
15266 else $as_nop
15267 ac_check_soname_save_LIBS=$LIBS
15268 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15270 /* end confdefs.h. */
15272 /* Override any GCC internal prototype to avoid an error.
15273 Use char because int might match the return type of a GCC
15274 builtin and then its argument prototype would still apply. */
15275 char XineramaQueryScreens ();
15277 main (void)
15279 return XineramaQueryScreens ();
15281 return 0;
15283 _ACEOF
15284 if ac_fn_c_try_link "$LINENO"
15285 then :
15286 case "$LIBEXT" in
15287 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15288 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'` ;;
15289 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15290 if ${ac_cv_lib_soname_Xinerama:+false} :
15291 then :
15292 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15293 fi ;;
15294 esac
15295 else $as_nop
15296 ac_cv_lib_soname_Xinerama=
15298 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15299 conftest$ac_exeext conftest.$ac_ext
15300 LIBS=$ac_check_soname_save_LIBS
15302 if ${ac_cv_lib_soname_Xinerama:+false} :
15303 then :
15304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15305 printf "%s\n" "not found" >&6; }
15307 else $as_nop
15308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15309 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15311 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15316 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15318 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15319 then :
15320 case "x$with_xinerama" in
15321 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15322 xno) ;;
15323 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15324 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15325 esac
15329 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15330 then
15331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15332 printf %s "checking for -lXcomposite... " >&6; }
15333 if test ${ac_cv_lib_soname_Xcomposite+y}
15334 then :
15335 printf %s "(cached) " >&6
15336 else $as_nop
15337 ac_check_soname_save_LIBS=$LIBS
15338 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15340 /* end confdefs.h. */
15342 /* Override any GCC internal prototype to avoid an error.
15343 Use char because int might match the return type of a GCC
15344 builtin and then its argument prototype would still apply. */
15345 char XCompositeRedirectWindow ();
15347 main (void)
15349 return XCompositeRedirectWindow ();
15351 return 0;
15353 _ACEOF
15354 if ac_fn_c_try_link "$LINENO"
15355 then :
15356 case "$LIBEXT" in
15357 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15358 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'` ;;
15359 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15360 if ${ac_cv_lib_soname_Xcomposite:+false} :
15361 then :
15362 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15363 fi ;;
15364 esac
15365 else $as_nop
15366 ac_cv_lib_soname_Xcomposite=
15368 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15369 conftest$ac_exeext conftest.$ac_ext
15370 LIBS=$ac_check_soname_save_LIBS
15372 if ${ac_cv_lib_soname_Xcomposite:+false} :
15373 then :
15374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15375 printf "%s\n" "not found" >&6; }
15377 else $as_nop
15378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15379 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15381 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15386 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15387 then :
15388 case "x$with_xcomposite" in
15389 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15390 xno) ;;
15391 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15392 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15393 esac
15397 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15398 #include <X11/Xlib.h>
15399 #endif
15401 if test "x$ac_cv_member_XICCallback_callback" = xyes
15402 then :
15404 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15408 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15409 #include <X11/Xlib.h>
15410 #endif
15412 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15413 then :
15415 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15422 opengl_msg=""
15423 if test "x$with_opengl" != "xno"
15424 then
15425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15426 printf %s "checking for -lGL... " >&6; }
15427 if test ${ac_cv_lib_soname_GL+y}
15428 then :
15429 printf %s "(cached) " >&6
15430 else $as_nop
15431 ac_check_soname_save_LIBS=$LIBS
15432 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15434 /* end confdefs.h. */
15436 /* Override any GCC internal prototype to avoid an error.
15437 Use char because int might match the return type of a GCC
15438 builtin and then its argument prototype would still apply. */
15439 char glXCreateContext ();
15441 main (void)
15443 return glXCreateContext ();
15445 return 0;
15447 _ACEOF
15448 if ac_fn_c_try_link "$LINENO"
15449 then :
15450 case "$LIBEXT" in
15451 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15452 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'` ;;
15453 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15454 if ${ac_cv_lib_soname_GL:+false} :
15455 then :
15456 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15457 fi ;;
15458 esac
15459 else $as_nop
15460 ac_cv_lib_soname_GL=
15462 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15463 conftest$ac_exeext conftest.$ac_ext
15464 LIBS=$ac_check_soname_save_LIBS
15466 if ${ac_cv_lib_soname_GL:+false} :
15467 then :
15468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15469 printf "%s\n" "not found" >&6; }
15470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15471 printf %s "checking for -lGL... " >&6; }
15472 if test ${ac_cv_lib_soname_GL+y}
15473 then :
15474 printf %s "(cached) " >&6
15475 else $as_nop
15476 ac_check_soname_save_LIBS=$LIBS
15477 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"
15478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15479 /* end confdefs.h. */
15481 /* Override any GCC internal prototype to avoid an error.
15482 Use char because int might match the return type of a GCC
15483 builtin and then its argument prototype would still apply. */
15484 char glXCreateContext ();
15486 main (void)
15488 return glXCreateContext ();
15490 return 0;
15492 _ACEOF
15493 if ac_fn_c_try_link "$LINENO"
15494 then :
15495 case "$LIBEXT" in
15496 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15497 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'` ;;
15498 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15499 if ${ac_cv_lib_soname_GL:+false} :
15500 then :
15501 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15502 fi ;;
15503 esac
15504 else $as_nop
15505 ac_cv_lib_soname_GL=
15507 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15508 conftest$ac_exeext conftest.$ac_ext
15509 LIBS=$ac_check_soname_save_LIBS
15511 if ${ac_cv_lib_soname_GL:+false} :
15512 then :
15513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15514 printf "%s\n" "not found" >&6; }
15515 if test -f /usr/X11R6/lib/libGL.a
15516 then
15517 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15518 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15519 else
15520 opengl_msg="No OpenGL library found on this system."
15522 else $as_nop
15523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15524 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15526 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15528 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"
15530 else $as_nop
15531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15532 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15534 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15536 OPENGL_LIBS="-lGL"
15538 if test "x$with_osmesa" != "xno"
15539 then
15540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15541 printf %s "checking for -lOSMesa... " >&6; }
15542 if test ${ac_cv_lib_soname_OSMesa+y}
15543 then :
15544 printf %s "(cached) " >&6
15545 else $as_nop
15546 ac_check_soname_save_LIBS=$LIBS
15547 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15549 /* end confdefs.h. */
15551 /* Override any GCC internal prototype to avoid an error.
15552 Use char because int might match the return type of a GCC
15553 builtin and then its argument prototype would still apply. */
15554 char OSMesaGetProcAddress ();
15556 main (void)
15558 return OSMesaGetProcAddress ();
15560 return 0;
15562 _ACEOF
15563 if ac_fn_c_try_link "$LINENO"
15564 then :
15565 case "$LIBEXT" in
15566 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15567 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'` ;;
15568 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15569 if ${ac_cv_lib_soname_OSMesa:+false} :
15570 then :
15571 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15572 fi ;;
15573 esac
15574 else $as_nop
15575 ac_cv_lib_soname_OSMesa=
15577 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15578 conftest$ac_exeext conftest.$ac_ext
15579 LIBS=$ac_check_soname_save_LIBS
15581 if ${ac_cv_lib_soname_OSMesa:+false} :
15582 then :
15583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15584 printf "%s\n" "not found" >&6; }
15586 else $as_nop
15587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15588 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15590 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15594 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15595 then :
15596 case "x$with_osmesa" in
15597 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15598 xno) ;;
15599 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15600 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15601 esac
15606 if test -n "$opengl_msg"
15607 then :
15608 case "x$with_opengl" in
15609 x) as_fn_append wine_warnings "|$opengl_msg
15610 OpenGL and Direct3D won't be supported." ;;
15611 xno) ;;
15612 *) as_fn_error $? "$opengl_msg
15613 OpenGL and Direct3D won't be supported.
15614 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15615 esac
15619 CPPFLAGS="$ac_save_CPPFLAGS"
15620 else
15621 X_CFLAGS=""
15622 X_LIBS=""
15625 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15626 then
15627 if test "x$X_LIBS" = "x"
15628 then :
15629 case "x$with_x" in
15630 xno) ;;
15631 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15632 without X support, which probably isn't what you want. You will need
15633 to install ${notice_platform}development packages of Xlib at the very least.
15634 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15635 esac
15636 enable_winex11_drv=${enable_winex11_drv:-no}
15638 else
15639 if test "x$X_LIBS" = "x"
15640 then :
15641 case "x$with_x" in
15642 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15643 xno) ;;
15644 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15645 This is an error since --with-x was requested." "$LINENO" 5 ;;
15646 esac
15647 enable_winex11_drv=${enable_winex11_drv:-no}
15651 if test "$ac_cv_header_CL_cl_h" = "yes"
15652 then
15653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15654 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15655 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15656 then :
15657 printf %s "(cached) " >&6
15658 else $as_nop
15659 ac_check_lib_save_LIBS=$LIBS
15660 LIBS="-lOpenCL $LIBS"
15661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15662 /* end confdefs.h. */
15664 /* Override any GCC internal prototype to avoid an error.
15665 Use char because int might match the return type of a GCC
15666 builtin and then its argument prototype would still apply. */
15667 char clGetPlatformInfo ();
15669 main (void)
15671 return clGetPlatformInfo ();
15673 return 0;
15675 _ACEOF
15676 if ac_fn_c_try_link "$LINENO"
15677 then :
15678 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15679 else $as_nop
15680 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15682 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15683 conftest$ac_exeext conftest.$ac_ext
15684 LIBS=$ac_check_lib_save_LIBS
15686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15687 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15688 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15689 then :
15690 OPENCL_LIBS="-lOpenCL"
15695 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15696 then :
15697 case "x$with_opencl" in
15698 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15699 xno) ;;
15700 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15701 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15702 esac
15703 enable_opencl=${enable_opencl:-no}
15706 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15707 then
15708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15709 printf %s "checking for pcap_create in -lpcap... " >&6; }
15710 if test ${ac_cv_lib_pcap_pcap_create+y}
15711 then :
15712 printf %s "(cached) " >&6
15713 else $as_nop
15714 ac_check_lib_save_LIBS=$LIBS
15715 LIBS="-lpcap $LIBS"
15716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15717 /* end confdefs.h. */
15719 /* Override any GCC internal prototype to avoid an error.
15720 Use char because int might match the return type of a GCC
15721 builtin and then its argument prototype would still apply. */
15722 char pcap_create ();
15724 main (void)
15726 return pcap_create ();
15728 return 0;
15730 _ACEOF
15731 if ac_fn_c_try_link "$LINENO"
15732 then :
15733 ac_cv_lib_pcap_pcap_create=yes
15734 else $as_nop
15735 ac_cv_lib_pcap_pcap_create=no
15737 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15738 conftest$ac_exeext conftest.$ac_ext
15739 LIBS=$ac_check_lib_save_LIBS
15741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15742 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15743 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15744 then :
15745 PCAP_LIBS="-lpcap"
15750 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15751 then :
15752 case "x$with_pcap" in
15753 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15754 xno) ;;
15755 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15756 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15757 esac
15758 enable_wpcap=${enable_wpcap:-no}
15761 if test "x$with_inotify" != "xno"
15762 then
15763 rm -f conftest.err
15764 if ${INOTIFY_CFLAGS:+false} :
15765 then :
15766 if test ${PKG_CONFIG+y}
15767 then :
15768 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15772 if ${INOTIFY_LIBS:+false} :
15773 then :
15774 if test ${PKG_CONFIG+y}
15775 then :
15776 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15781 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15783 if test -s conftest.err; then
15784 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15785 cat conftest.err >&5
15787 rm -f conftest.err
15788 ac_save_CPPFLAGS=$CPPFLAGS
15789 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15790 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15791 if test "x$ac_cv_header_sys_inotify_h" = xyes
15792 then :
15793 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15798 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15799 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15800 then :
15801 printf %s "(cached) " >&6
15802 else $as_nop
15803 ac_check_lib_save_LIBS=$LIBS
15804 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15806 /* end confdefs.h. */
15808 /* Override any GCC internal prototype to avoid an error.
15809 Use char because int might match the return type of a GCC
15810 builtin and then its argument prototype would still apply. */
15811 char inotify_add_watch ();
15813 main (void)
15815 return inotify_add_watch ();
15817 return 0;
15819 _ACEOF
15820 if ac_fn_c_try_link "$LINENO"
15821 then :
15822 ac_cv_lib_inotify_inotify_add_watch=yes
15823 else $as_nop
15824 ac_cv_lib_inotify_inotify_add_watch=no
15826 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15827 conftest$ac_exeext conftest.$ac_ext
15828 LIBS=$ac_check_lib_save_LIBS
15830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15831 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15832 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15833 then :
15835 else $as_nop
15836 INOTIFY_LIBS=""
15839 CPPFLAGS=$ac_save_CPPFLAGS
15842 if test "$ac_cv_header_sys_inotify_h" != "yes"
15843 then :
15844 case "x$with_inotify" in
15845 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15846 xno) ;;
15847 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15848 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15849 esac
15853 if test "x$with_dbus" != "xno"
15854 then
15855 rm -f conftest.err
15856 if ${DBUS_CFLAGS:+false} :
15857 then :
15858 if test ${PKG_CONFIG+y}
15859 then :
15860 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15864 if ${DBUS_LIBS:+false} :
15865 then :
15866 if test ${PKG_CONFIG+y}
15867 then :
15868 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15873 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15874 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15875 if test -s conftest.err; then
15876 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15877 cat conftest.err >&5
15879 rm -f conftest.err
15880 ac_save_CPPFLAGS=$CPPFLAGS
15881 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15882 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15883 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15884 then :
15885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15886 printf %s "checking for -ldbus-1... " >&6; }
15887 if test ${ac_cv_lib_soname_dbus_1+y}
15888 then :
15889 printf %s "(cached) " >&6
15890 else $as_nop
15891 ac_check_soname_save_LIBS=$LIBS
15892 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15894 /* end confdefs.h. */
15896 /* Override any GCC internal prototype to avoid an error.
15897 Use char because int might match the return type of a GCC
15898 builtin and then its argument prototype would still apply. */
15899 char dbus_connection_close ();
15901 main (void)
15903 return dbus_connection_close ();
15905 return 0;
15907 _ACEOF
15908 if ac_fn_c_try_link "$LINENO"
15909 then :
15910 case "$LIBEXT" in
15911 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15912 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'` ;;
15913 *) 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'`
15914 if ${ac_cv_lib_soname_dbus_1:+false} :
15915 then :
15916 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15917 fi ;;
15918 esac
15919 else $as_nop
15920 ac_cv_lib_soname_dbus_1=
15922 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15923 conftest$ac_exeext conftest.$ac_ext
15924 LIBS=$ac_check_soname_save_LIBS
15926 if ${ac_cv_lib_soname_dbus_1:+false} :
15927 then :
15928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15929 printf "%s\n" "not found" >&6; }
15930 DBUS_CFLAGS=""
15931 else $as_nop
15932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15933 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15935 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15939 else $as_nop
15940 DBUS_CFLAGS=""
15943 CPPFLAGS=$ac_save_CPPFLAGS
15946 case $host_os in
15947 darwin*|macosx*) ;;
15948 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
15949 then :
15950 case "x$with_dbus" in
15951 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
15952 xno) ;;
15953 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
15954 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
15955 esac
15957 fi ;;
15958 esac
15960 if test "x$with_gnutls" != "xno"
15961 then
15962 rm -f conftest.err
15963 if ${GNUTLS_CFLAGS:+false} :
15964 then :
15965 if test ${PKG_CONFIG+y}
15966 then :
15967 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
15971 if ${GNUTLS_LIBS:+false} :
15972 then :
15973 if test ${PKG_CONFIG+y}
15974 then :
15975 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
15979 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
15980 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
15981 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
15982 if test -s conftest.err; then
15983 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
15984 cat conftest.err >&5
15986 rm -f conftest.err
15987 ac_save_CPPFLAGS=$CPPFLAGS
15988 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
15989 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
15990 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
15991 then :
15992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15993 /* end confdefs.h. */
15994 #include <gnutls/gnutls.h>
15995 #include <gnutls/crypto.h>
15997 main (void)
15999 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16001 return 0;
16003 _ACEOF
16004 if ac_fn_c_try_compile "$LINENO"
16005 then :
16006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16007 printf %s "checking for -lgnutls... " >&6; }
16008 if test ${ac_cv_lib_soname_gnutls+y}
16009 then :
16010 printf %s "(cached) " >&6
16011 else $as_nop
16012 ac_check_soname_save_LIBS=$LIBS
16013 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16015 /* end confdefs.h. */
16017 /* Override any GCC internal prototype to avoid an error.
16018 Use char because int might match the return type of a GCC
16019 builtin and then its argument prototype would still apply. */
16020 char gnutls_global_init ();
16022 main (void)
16024 return gnutls_global_init ();
16026 return 0;
16028 _ACEOF
16029 if ac_fn_c_try_link "$LINENO"
16030 then :
16031 case "$LIBEXT" in
16032 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16033 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'` ;;
16034 *) 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'`
16035 if ${ac_cv_lib_soname_gnutls:+false} :
16036 then :
16037 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'`
16038 fi ;;
16039 esac
16040 else $as_nop
16041 ac_cv_lib_soname_gnutls=
16043 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16044 conftest$ac_exeext conftest.$ac_ext
16045 LIBS=$ac_check_soname_save_LIBS
16047 if ${ac_cv_lib_soname_gnutls:+false} :
16048 then :
16049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16050 printf "%s\n" "not found" >&6; }
16051 GNUTLS_CFLAGS=""
16052 else $as_nop
16053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16054 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16056 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16060 ac_wine_check_funcs_save_LIBS="$LIBS"
16061 LIBS="$LIBS $GNUTLS_LIBS"
16063 for ac_func in gnutls_cipher_init
16064 do :
16065 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16066 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16067 then :
16068 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16070 else $as_nop
16071 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16074 done
16075 LIBS="$ac_wine_check_funcs_save_LIBS"
16077 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16078 else $as_nop
16079 GNUTLS_CFLAGS=""
16082 CPPFLAGS=$ac_save_CPPFLAGS
16085 if test "x$ac_cv_lib_soname_gnutls" = "x"
16086 then :
16087 case "x$with_gnutls" in
16088 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16089 xno) ;;
16090 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16091 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16092 esac
16096 if test "x$with_sane" != "xno"
16097 then
16098 rm -f conftest.err
16099 if ${SANE_CFLAGS:+false} :
16100 then :
16101 if test ${PKG_CONFIG+y}
16102 then :
16103 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16106 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16107 if ${SANE_LIBS:+false} :
16108 then :
16109 if test ${PKG_CONFIG+y}
16110 then :
16111 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16114 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16116 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16117 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16118 if test -s conftest.err; then
16119 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16120 cat conftest.err >&5
16122 rm -f conftest.err
16123 ac_save_CPPFLAGS=$CPPFLAGS
16124 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16125 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16126 if test "x$ac_cv_header_sane_sane_h" = xyes
16127 then :
16128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16129 printf %s "checking for sane_init in -lsane... " >&6; }
16130 if test ${ac_cv_lib_sane_sane_init+y}
16131 then :
16132 printf %s "(cached) " >&6
16133 else $as_nop
16134 ac_check_lib_save_LIBS=$LIBS
16135 LIBS="-lsane $SANE_LIBS $LIBS"
16136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16137 /* end confdefs.h. */
16139 /* Override any GCC internal prototype to avoid an error.
16140 Use char because int might match the return type of a GCC
16141 builtin and then its argument prototype would still apply. */
16142 char sane_init ();
16144 main (void)
16146 return sane_init ();
16148 return 0;
16150 _ACEOF
16151 if ac_fn_c_try_link "$LINENO"
16152 then :
16153 ac_cv_lib_sane_sane_init=yes
16154 else $as_nop
16155 ac_cv_lib_sane_sane_init=no
16157 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16158 conftest$ac_exeext conftest.$ac_ext
16159 LIBS=$ac_check_lib_save_LIBS
16161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16162 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16163 if test "x$ac_cv_lib_sane_sane_init" = xyes
16164 then :
16170 CPPFLAGS=$ac_save_CPPFLAGS
16173 if test "$ac_cv_lib_sane_sane_init" != "yes"
16174 then :
16175 case "x$with_sane" in
16176 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16177 xno) ;;
16178 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16179 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16180 esac
16181 enable_sane_ds=${enable_sane_ds:-no}
16184 if test "x$with_usb" != "xno"
16185 then
16186 rm -f conftest.err
16187 if ${USB_CFLAGS:+false} :
16188 then :
16189 if test ${PKG_CONFIG+y}
16190 then :
16191 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16195 if ${USB_LIBS:+false} :
16196 then :
16197 if test ${PKG_CONFIG+y}
16198 then :
16199 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16203 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16204 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16205 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16206 if test -s conftest.err; then
16207 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16208 cat conftest.err >&5
16210 rm -f conftest.err
16211 ac_save_CPPFLAGS=$CPPFLAGS
16212 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16213 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16214 if test "x$ac_cv_header_libusb_h" = xyes
16215 then :
16216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16217 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16218 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16219 then :
16220 printf %s "(cached) " >&6
16221 else $as_nop
16222 ac_check_lib_save_LIBS=$LIBS
16223 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16225 /* end confdefs.h. */
16227 /* Override any GCC internal prototype to avoid an error.
16228 Use char because int might match the return type of a GCC
16229 builtin and then its argument prototype would still apply. */
16230 char libusb_interrupt_event_handler ();
16232 main (void)
16234 return libusb_interrupt_event_handler ();
16236 return 0;
16238 _ACEOF
16239 if ac_fn_c_try_link "$LINENO"
16240 then :
16241 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16242 else $as_nop
16243 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16245 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16246 conftest$ac_exeext conftest.$ac_ext
16247 LIBS=$ac_check_lib_save_LIBS
16249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16250 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16251 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16252 then :
16254 else $as_nop
16255 USB_LIBS=""
16258 else $as_nop
16259 USB_LIBS=""
16262 CPPFLAGS=$ac_save_CPPFLAGS
16265 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16266 then :
16267 case "x$with_usb" in
16268 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16269 xno) ;;
16270 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16271 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16272 esac
16273 enable_wineusb_sys=${enable_wineusb_sys:-no}
16276 if test "x$with_v4l2" != "xno"
16277 then
16278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16279 printf %s "checking for -lv4l2... " >&6; }
16280 if test ${ac_cv_lib_soname_v4l2+y}
16281 then :
16282 printf %s "(cached) " >&6
16283 else $as_nop
16284 ac_check_soname_save_LIBS=$LIBS
16285 LIBS="-lv4l2 $LIBS"
16286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16287 /* end confdefs.h. */
16289 /* Override any GCC internal prototype to avoid an error.
16290 Use char because int might match the return type of a GCC
16291 builtin and then its argument prototype would still apply. */
16292 char v4l2_open ();
16294 main (void)
16296 return v4l2_open ();
16298 return 0;
16300 _ACEOF
16301 if ac_fn_c_try_link "$LINENO"
16302 then :
16303 case "$LIBEXT" in
16304 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16305 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'` ;;
16306 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16307 if ${ac_cv_lib_soname_v4l2:+false} :
16308 then :
16309 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16310 fi ;;
16311 esac
16312 else $as_nop
16313 ac_cv_lib_soname_v4l2=
16315 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16316 conftest$ac_exeext conftest.$ac_ext
16317 LIBS=$ac_check_soname_save_LIBS
16319 if ${ac_cv_lib_soname_v4l2:+false} :
16320 then :
16321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16322 printf "%s\n" "not found" >&6; }
16324 else $as_nop
16325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16326 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16328 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16333 if test "x$ac_cv_lib_soname_v4l2" = "x"
16334 then :
16335 case "x$with_v4l2" in
16336 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16337 xno) ;;
16338 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16339 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16340 esac
16344 if test "x$with_gphoto" != "xno"
16345 then
16346 rm -f conftest.err
16347 if ${GPHOTO2_CFLAGS:+false} :
16348 then :
16349 if test ${PKG_CONFIG+y}
16350 then :
16351 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16354 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16355 if ${GPHOTO2_LIBS:+false} :
16356 then :
16357 if test ${PKG_CONFIG+y}
16358 then :
16359 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16362 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16363 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16364 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16365 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16366 if test -s conftest.err; then
16367 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16368 cat conftest.err >&5
16370 rm -f conftest.err
16371 ac_save_CPPFLAGS=$CPPFLAGS
16372 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16373 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16374 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16375 then :
16376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16377 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16378 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16379 then :
16380 printf %s "(cached) " >&6
16381 else $as_nop
16382 ac_check_lib_save_LIBS=$LIBS
16383 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16385 /* end confdefs.h. */
16387 /* Override any GCC internal prototype to avoid an error.
16388 Use char because int might match the return type of a GCC
16389 builtin and then its argument prototype would still apply. */
16390 char gp_camera_new ();
16392 main (void)
16394 return gp_camera_new ();
16396 return 0;
16398 _ACEOF
16399 if ac_fn_c_try_link "$LINENO"
16400 then :
16401 ac_cv_lib_gphoto2_gp_camera_new=yes
16402 else $as_nop
16403 ac_cv_lib_gphoto2_gp_camera_new=no
16405 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16406 conftest$ac_exeext conftest.$ac_ext
16407 LIBS=$ac_check_lib_save_LIBS
16409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16410 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16411 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16412 then :
16418 CPPFLAGS=$ac_save_CPPFLAGS
16420 rm -f conftest.err
16421 if ${GPHOTO2_PORT_CFLAGS:+false} :
16422 then :
16423 if test ${PKG_CONFIG+y}
16424 then :
16425 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16428 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16429 if ${GPHOTO2_PORT_LIBS:+false} :
16430 then :
16431 if test ${PKG_CONFIG+y}
16432 then :
16433 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16436 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16437 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16438 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16439 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16440 if test -s conftest.err; then
16441 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16442 cat conftest.err >&5
16444 rm -f conftest.err
16445 ac_save_CPPFLAGS=$CPPFLAGS
16446 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16447 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16448 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16449 then :
16450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16451 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16452 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16453 then :
16454 printf %s "(cached) " >&6
16455 else $as_nop
16456 ac_check_lib_save_LIBS=$LIBS
16457 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16459 /* end confdefs.h. */
16461 /* Override any GCC internal prototype to avoid an error.
16462 Use char because int might match the return type of a GCC
16463 builtin and then its argument prototype would still apply. */
16464 char gp_port_info_list_new ();
16466 main (void)
16468 return gp_port_info_list_new ();
16470 return 0;
16472 _ACEOF
16473 if ac_fn_c_try_link "$LINENO"
16474 then :
16475 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16476 else $as_nop
16477 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16479 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16480 conftest$ac_exeext conftest.$ac_ext
16481 LIBS=$ac_check_lib_save_LIBS
16483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16484 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16485 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16486 then :
16488 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16490 else $as_nop
16491 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16494 else $as_nop
16495 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16498 CPPFLAGS=$ac_save_CPPFLAGS
16501 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16502 then :
16503 case "x$with_gphoto" in
16504 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16505 xno) ;;
16506 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16507 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16508 esac
16509 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16511 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16512 then :
16513 case "x$with_gphoto" in
16514 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16515 xno) ;;
16516 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16517 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16518 esac
16523 if test "$ac_cv_header_resolv_h" = "yes"
16524 then
16525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16526 printf %s "checking for resolver library... " >&6; }
16527 if test ${ac_cv_have_resolv+y}
16528 then :
16529 printf %s "(cached) " >&6
16530 else $as_nop
16531 ac_save_LIBS="$LIBS"
16532 for lib in '' -lresolv
16534 LIBS="$lib $ac_save_LIBS"
16535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16536 /* end confdefs.h. */
16537 #ifdef HAVE_NETINET_IN_H
16538 #include <netinet/in.h>
16539 #endif
16540 #include <resolv.h>
16542 main (void)
16544 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16546 return 0;
16548 _ACEOF
16549 if ac_fn_c_try_link "$LINENO"
16550 then :
16551 ac_cv_have_resolv=${lib:-"none required"}
16552 else $as_nop
16553 ac_cv_have_resolv="not found"
16555 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16556 conftest$ac_exeext conftest.$ac_ext
16557 test "x$ac_cv_have_resolv" = "xnot found" || break
16558 done
16559 LIBS="$ac_save_LIBS"
16561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16562 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16564 case "$ac_cv_have_resolv" in
16565 "not found") ;;
16566 "none required")
16568 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16571 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16573 RESOLV_LIBS=$ac_cv_have_resolv
16575 esac
16577 if test "x$ac_cv_have_resolv" != "xnot found"
16578 then
16579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16580 printf %s "checking for res_getservers... " >&6; }
16581 if test ${ac_cv_have_res_getservers+y}
16582 then :
16583 printf %s "(cached) " >&6
16584 else $as_nop
16585 ac_save_LIBS="$LIBS"
16586 LIBS="$RESOLV_LIBS $LIBS"
16587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16588 /* end confdefs.h. */
16589 #include <resolv.h>
16591 main (void)
16593 res_getservers(NULL, NULL, 0);
16595 return 0;
16597 _ACEOF
16598 if ac_fn_c_try_link "$LINENO"
16599 then :
16600 ac_cv_have_res_getservers=yes
16601 else $as_nop
16602 ac_cv_have_res_getservers=no
16604 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16605 conftest$ac_exeext conftest.$ac_ext
16606 LIBS="$ac_save_LIBS"
16608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16609 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16610 if test "$ac_cv_have_res_getservers" = "yes"
16611 then
16613 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16619 if test "x$with_freetype" != "xno"
16620 then
16621 rm -f conftest.err
16622 if ${FREETYPE_CFLAGS:+false} :
16623 then :
16624 if test ${PKG_CONFIG+y}
16625 then :
16626 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16629 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16630 if ${FREETYPE_LIBS:+false} :
16631 then :
16632 if test ${PKG_CONFIG+y}
16633 then :
16634 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16637 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16638 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16639 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16640 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16641 if test -s conftest.err; then
16642 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16643 cat conftest.err >&5
16645 rm -f conftest.err
16646 ac_save_CPPFLAGS=$CPPFLAGS
16647 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16648 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16649 if test "x$ac_cv_header_ft2build_h" = xyes
16650 then :
16651 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16655 if test "$ac_cv_header_ft2build_h" = "yes"
16656 then
16657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16658 printf %s "checking for -lfreetype... " >&6; }
16659 if test ${ac_cv_lib_soname_freetype+y}
16660 then :
16661 printf %s "(cached) " >&6
16662 else $as_nop
16663 ac_check_soname_save_LIBS=$LIBS
16664 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16666 /* end confdefs.h. */
16668 /* Override any GCC internal prototype to avoid an error.
16669 Use char because int might match the return type of a GCC
16670 builtin and then its argument prototype would still apply. */
16671 char FT_Init_FreeType ();
16673 main (void)
16675 return FT_Init_FreeType ();
16677 return 0;
16679 _ACEOF
16680 if ac_fn_c_try_link "$LINENO"
16681 then :
16682 case "$LIBEXT" in
16683 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16684 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'` ;;
16685 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16686 if ${ac_cv_lib_soname_freetype:+false} :
16687 then :
16688 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16689 fi ;;
16690 esac
16691 else $as_nop
16692 ac_cv_lib_soname_freetype=
16694 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16695 conftest$ac_exeext conftest.$ac_ext
16696 LIBS=$ac_check_soname_save_LIBS
16698 if ${ac_cv_lib_soname_freetype:+false} :
16699 then :
16700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16701 printf "%s\n" "not found" >&6; }
16702 FREETYPE_LIBS=""
16703 else $as_nop
16704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16705 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16707 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16710 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16712 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16713 #include FT_MODULE_H
16715 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16716 then :
16718 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16724 else
16725 FREETYPE_CFLAGS=""
16726 FREETYPE_LIBS=""
16728 CPPFLAGS=$ac_save_CPPFLAGS
16731 if test "x$ac_cv_lib_soname_freetype" = x
16732 then :
16733 case "x$with_freetype" in
16734 xno) ;;
16735 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16736 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16737 esac
16738 enable_fonts=${enable_fonts:-no}
16741 ac_wine_check_funcs_save_LIBS="$LIBS"
16742 LIBS="$LIBS $PTHREAD_LIBS"
16743 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16744 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16745 then :
16746 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16750 LIBS="$ac_wine_check_funcs_save_LIBS"
16752 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16753 then
16754 if test "$ac_cv_header_gettext_po_h" = "yes"
16755 then
16756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16757 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16758 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16759 then :
16760 printf %s "(cached) " >&6
16761 else $as_nop
16762 ac_check_lib_save_LIBS=$LIBS
16763 LIBS="-lgettextpo $LIBS"
16764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16765 /* end confdefs.h. */
16767 /* Override any GCC internal prototype to avoid an error.
16768 Use char because int might match the return type of a GCC
16769 builtin and then its argument prototype would still apply. */
16770 char po_message_msgctxt ();
16772 main (void)
16774 return po_message_msgctxt ();
16776 return 0;
16778 _ACEOF
16779 if ac_fn_c_try_link "$LINENO"
16780 then :
16781 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16782 else $as_nop
16783 ac_cv_lib_gettextpo_po_message_msgctxt=no
16785 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16786 conftest$ac_exeext conftest.$ac_ext
16787 LIBS=$ac_check_lib_save_LIBS
16789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16790 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16791 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16792 then :
16794 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16796 GETTEXTPO_LIBS="-lgettextpo"
16801 if test "x$GETTEXTPO_LIBS" = "x"
16802 then :
16803 case "x$with_gettextpo" in
16804 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16805 xno) ;;
16806 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16807 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16808 esac
16811 if test "$srcdir" != .
16812 then :
16813 case "x$with_gettextpo" in
16814 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16815 xno) ;;
16816 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16817 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16818 esac
16823 if test "x$with_pulse" != "xno";
16824 then
16825 rm -f conftest.err
16826 if ${PULSE_CFLAGS:+false} :
16827 then :
16828 if test ${PKG_CONFIG+y}
16829 then :
16830 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16834 if ${PULSE_LIBS:+false} :
16835 then :
16836 if test ${PKG_CONFIG+y}
16837 then :
16838 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16843 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16844 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16845 if test -s conftest.err; then
16846 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16847 cat conftest.err >&5
16849 rm -f conftest.err
16850 ac_save_CPPFLAGS=$CPPFLAGS
16851 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16852 for ac_header in pulse/pulseaudio.h
16853 do :
16854 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16855 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16856 then :
16857 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16859 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16860 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16861 then :
16862 printf %s "(cached) " >&6
16863 else $as_nop
16864 ac_check_lib_save_LIBS=$LIBS
16865 LIBS="-lpulse $PULSE_LIBS $LIBS"
16866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16867 /* end confdefs.h. */
16869 /* Override any GCC internal prototype to avoid an error.
16870 Use char because int might match the return type of a GCC
16871 builtin and then its argument prototype would still apply. */
16872 char pa_stream_is_corked ();
16874 main (void)
16876 return pa_stream_is_corked ();
16878 return 0;
16880 _ACEOF
16881 if ac_fn_c_try_link "$LINENO"
16882 then :
16883 ac_cv_lib_pulse_pa_stream_is_corked=yes
16884 else $as_nop
16885 ac_cv_lib_pulse_pa_stream_is_corked=no
16887 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16888 conftest$ac_exeext conftest.$ac_ext
16889 LIBS=$ac_check_lib_save_LIBS
16891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16892 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16893 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16894 then :
16896 else $as_nop
16897 PULSE_LIBS=""
16900 else $as_nop
16901 PULSE_LIBS=""
16904 done
16905 CPPFLAGS=$ac_save_CPPFLAGS
16908 if test -z "$PULSE_LIBS"
16909 then :
16910 case "x$with_pulse" in
16911 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16912 xno) ;;
16913 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16914 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16915 esac
16916 enable_winepulse_drv=${enable_winepulse_drv:-no}
16919 if test "x$with_gstreamer" != "xno"
16920 then
16921 rm -f conftest.err
16922 if ${GSTREAMER_CFLAGS:+false} :
16923 then :
16924 if test ${PKG_CONFIG+y}
16925 then :
16926 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
16930 if ${GSTREAMER_LIBS:+false} :
16931 then :
16932 if test ${PKG_CONFIG+y}
16933 then :
16934 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
16939 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
16940 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
16941 if test -s conftest.err; then
16942 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
16943 cat conftest.err >&5
16945 rm -f conftest.err
16946 ac_save_CPPFLAGS=$CPPFLAGS
16947 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16948 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16949 if test "x$ac_cv_header_gst_gst_h" = xyes
16950 then :
16951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16952 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16954 /* end confdefs.h. */
16955 #include <gst/gst.h>
16957 main (void)
16959 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16961 return 0;
16963 _ACEOF
16964 if ac_fn_c_try_compile "$LINENO"
16965 then :
16966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16967 printf "%s\n" "yes" >&6; }
16968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
16969 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
16970 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
16971 then :
16972 printf %s "(cached) " >&6
16973 else $as_nop
16974 ac_check_lib_save_LIBS=$LIBS
16975 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
16976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16977 /* end confdefs.h. */
16979 /* Override any GCC internal prototype to avoid an error.
16980 Use char because int might match the return type of a GCC
16981 builtin and then its argument prototype would still apply. */
16982 char gst_pad_new ();
16984 main (void)
16986 return gst_pad_new ();
16988 return 0;
16990 _ACEOF
16991 if ac_fn_c_try_link "$LINENO"
16992 then :
16993 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
16994 else $as_nop
16995 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
16997 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16998 conftest$ac_exeext conftest.$ac_ext
16999 LIBS=$ac_check_lib_save_LIBS
17001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17002 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17003 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17004 then :
17008 else $as_nop
17009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17010 printf "%s\n" "no" >&6; }
17011 ac_glib2_broken=yes
17012 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17014 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17017 CPPFLAGS=$ac_save_CPPFLAGS
17020 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17021 then :
17022 case "x$with_gstreamer" in
17023 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17024 xno) ;;
17025 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17026 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17027 esac
17028 enable_winegstreamer=${enable_winegstreamer:-no}
17031 ALSA_LIBS=""
17033 if test "x$with_alsa" != "xno"
17034 then
17035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17036 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17037 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17038 then :
17039 printf %s "(cached) " >&6
17040 else $as_nop
17041 ac_check_lib_save_LIBS=$LIBS
17042 LIBS="-lasound $LIBS"
17043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17044 /* end confdefs.h. */
17046 /* Override any GCC internal prototype to avoid an error.
17047 Use char because int might match the return type of a GCC
17048 builtin and then its argument prototype would still apply. */
17049 char snd_pcm_hw_params_get_access_mask ();
17051 main (void)
17053 return snd_pcm_hw_params_get_access_mask ();
17055 return 0;
17057 _ACEOF
17058 if ac_fn_c_try_link "$LINENO"
17059 then :
17060 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17061 else $as_nop
17062 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17064 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17065 conftest$ac_exeext conftest.$ac_ext
17066 LIBS=$ac_check_lib_save_LIBS
17068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17069 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17070 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17071 then :
17072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17073 /* end confdefs.h. */
17074 #include <alsa/asoundlib.h>
17076 main (void)
17078 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17080 return 0;
17082 _ACEOF
17083 if ac_fn_c_try_compile "$LINENO"
17084 then :
17085 ALSA_LIBS="-lasound"
17087 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17091 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17093 if test "x$with_oss" != xno
17094 then
17095 ac_save_CPPFLAGS="$CPPFLAGS"
17096 if test -f /etc/oss.conf
17097 then
17098 . /etc/oss.conf
17100 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17101 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17102 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17103 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17104 then :
17105 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17107 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17108 then :
17110 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17112 OSS4_CFLAGS="$ac_oss_incl"
17114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17115 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17116 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17117 then :
17118 printf %s "(cached) " >&6
17119 else $as_nop
17120 ac_check_lib_save_LIBS=$LIBS
17121 LIBS="-lossaudio $LIBS"
17122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17123 /* end confdefs.h. */
17125 /* Override any GCC internal prototype to avoid an error.
17126 Use char because int might match the return type of a GCC
17127 builtin and then its argument prototype would still apply. */
17128 char _oss_ioctl ();
17130 main (void)
17132 return _oss_ioctl ();
17134 return 0;
17136 _ACEOF
17137 if ac_fn_c_try_link "$LINENO"
17138 then :
17139 ac_cv_lib_ossaudio__oss_ioctl=yes
17140 else $as_nop
17141 ac_cv_lib_ossaudio__oss_ioctl=no
17143 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17144 conftest$ac_exeext conftest.$ac_ext
17145 LIBS=$ac_check_lib_save_LIBS
17147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17148 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17149 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17150 then :
17151 OSS4_LIBS="-lossaudio"
17159 CPPFLAGS="$ac_save_CPPFLAGS"
17161 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17162 then :
17163 case "x$with_oss" in
17164 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17165 xno) ;;
17166 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17167 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17168 esac
17169 enable_wineoss_drv=${enable_wineoss_drv:-no}
17172 if test "x$with_udev" != "xno"
17173 then
17174 rm -f conftest.err
17175 if ${UDEV_CFLAGS:+false} :
17176 then :
17177 if test ${PKG_CONFIG+y}
17178 then :
17179 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17183 if ${UDEV_LIBS:+false} :
17184 then :
17185 if test ${PKG_CONFIG+y}
17186 then :
17187 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17191 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17192 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17193 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17194 if test -s conftest.err; then
17195 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17196 cat conftest.err >&5
17198 rm -f conftest.err
17199 ac_save_CPPFLAGS=$CPPFLAGS
17200 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17201 for ac_header in libudev.h
17202 do :
17203 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17204 if test "x$ac_cv_header_libudev_h" = xyes
17205 then :
17206 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17208 printf %s "checking for udev_new in -ludev... " >&6; }
17209 if test ${ac_cv_lib_udev_udev_new+y}
17210 then :
17211 printf %s "(cached) " >&6
17212 else $as_nop
17213 ac_check_lib_save_LIBS=$LIBS
17214 LIBS="-ludev $UDEV_LIBS $LIBS"
17215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17216 /* end confdefs.h. */
17218 /* Override any GCC internal prototype to avoid an error.
17219 Use char because int might match the return type of a GCC
17220 builtin and then its argument prototype would still apply. */
17221 char udev_new ();
17223 main (void)
17225 return udev_new ();
17227 return 0;
17229 _ACEOF
17230 if ac_fn_c_try_link "$LINENO"
17231 then :
17232 ac_cv_lib_udev_udev_new=yes
17233 else $as_nop
17234 ac_cv_lib_udev_udev_new=no
17236 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17237 conftest$ac_exeext conftest.$ac_ext
17238 LIBS=$ac_check_lib_save_LIBS
17240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17241 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17242 if test "x$ac_cv_lib_udev_udev_new" = xyes
17243 then :
17245 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17247 else $as_nop
17248 UDEV_LIBS=""
17251 else $as_nop
17252 UDEV_LIBS=""
17255 done
17256 CPPFLAGS=$ac_save_CPPFLAGS
17259 if test "x$UDEV_LIBS" = "x"
17260 then :
17261 case "x$with_udev" in
17262 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17263 xno) ;;
17264 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17265 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17266 esac
17270 if test "x$with_unwind" != xno
17271 then
17272 rm -f conftest.err
17273 if ${UNWIND_CFLAGS:+false} :
17274 then :
17275 if test ${PKG_CONFIG+y}
17276 then :
17277 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17281 if ${UNWIND_LIBS:+false} :
17282 then :
17283 if test ${PKG_CONFIG+y}
17284 then :
17285 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17289 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17290 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17292 if test -s conftest.err; then
17293 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17294 cat conftest.err >&5
17296 rm -f conftest.err
17297 ac_save_CPPFLAGS=$CPPFLAGS
17298 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17300 printf %s "checking for unw_step... " >&6; }
17301 if test ${wine_cv_have_unw_step+y}
17302 then :
17303 printf %s "(cached) " >&6
17304 else $as_nop
17305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17306 /* end confdefs.h. */
17307 #define UNW_LOCAL_ONLY
17308 #include <libunwind.h>
17310 main (void)
17312 unw_cursor_t cursor; unw_step( &cursor );
17314 return 0;
17316 _ACEOF
17317 if ac_fn_c_try_link "$LINENO"
17318 then :
17319 wine_cv_have_unw_step="yes"
17320 else $as_nop
17321 wine_cv_have_unw_step="no"
17323 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17324 conftest$ac_exeext conftest.$ac_ext
17326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17327 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17328 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17329 then
17330 save_libs=$LIBS
17331 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17332 LIBS="$UNWIND_LIBS $LIBS"
17333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17334 printf %s "checking for unw_step in libunwind... " >&6; }
17335 if test ${wine_cv_have_libunwind_unw_step+y}
17336 then :
17337 printf %s "(cached) " >&6
17338 else $as_nop
17339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17340 /* end confdefs.h. */
17341 #define UNW_LOCAL_ONLY
17342 #include <libunwind.h>
17344 main (void)
17346 unw_cursor_t cursor; unw_step( &cursor );
17348 return 0;
17350 _ACEOF
17351 if ac_fn_c_try_link "$LINENO"
17352 then :
17353 wine_cv_have_libunwind_unw_step="yes"
17354 else $as_nop
17355 wine_cv_have_libunwind_unw_step="no"
17357 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17358 conftest$ac_exeext conftest.$ac_ext
17360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17361 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17362 LIBS=$save_libs
17364 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17365 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17366 then
17368 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17371 CPPFLAGS=$ac_save_CPPFLAGS
17374 case $host in
17375 aarch64*|*-darwin*)
17376 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17377 then :
17378 case "x$with_unwind" in
17379 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17380 xno) ;;
17381 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17382 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17383 esac
17385 fi ;;
17386 esac
17388 if test "x$with_sdl" != "xno"
17389 then
17390 rm -f conftest.err
17391 if ${SDL2_CFLAGS:+false} :
17392 then :
17393 if test ${PKG_CONFIG+y}
17394 then :
17395 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17399 if ${SDL2_LIBS:+false} :
17400 then :
17401 if test ${PKG_CONFIG+y}
17402 then :
17403 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17407 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17408 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17409 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17410 if test -s conftest.err; then
17411 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17412 cat conftest.err >&5
17414 rm -f conftest.err
17415 ac_save_CPPFLAGS=$CPPFLAGS
17416 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17417 for ac_header in SDL.h
17418 do :
17419 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17420 if test "x$ac_cv_header_SDL_h" = xyes
17421 then :
17422 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17424 printf %s "checking for -lSDL2... " >&6; }
17425 if test ${ac_cv_lib_soname_SDL2+y}
17426 then :
17427 printf %s "(cached) " >&6
17428 else $as_nop
17429 ac_check_soname_save_LIBS=$LIBS
17430 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17432 /* end confdefs.h. */
17434 /* Override any GCC internal prototype to avoid an error.
17435 Use char because int might match the return type of a GCC
17436 builtin and then its argument prototype would still apply. */
17437 char SDL_Init ();
17439 main (void)
17441 return SDL_Init ();
17443 return 0;
17445 _ACEOF
17446 if ac_fn_c_try_link "$LINENO"
17447 then :
17448 case "$LIBEXT" in
17449 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17450 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'` ;;
17451 *) 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'`
17452 if ${ac_cv_lib_soname_SDL2:+false} :
17453 then :
17454 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17455 fi ;;
17456 esac
17457 else $as_nop
17458 ac_cv_lib_soname_SDL2=
17460 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17461 conftest$ac_exeext conftest.$ac_ext
17462 LIBS=$ac_check_soname_save_LIBS
17464 if ${ac_cv_lib_soname_SDL2:+false} :
17465 then :
17466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17467 printf "%s\n" "not found" >&6; }
17469 else $as_nop
17470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17471 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17473 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17479 done
17480 CPPFLAGS=$ac_save_CPPFLAGS
17483 if test "x$ac_cv_lib_soname_SDL2" = "x"
17484 then :
17485 case "x$with_sdl" in
17486 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17487 xno) ;;
17488 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17489 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17490 esac
17494 if test "x$with_capi" != "xno"
17495 then
17496 rm -f conftest.err
17497 if ${CAPI20_CFLAGS:+false} :
17498 then :
17499 if test ${PKG_CONFIG+y}
17500 then :
17501 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17505 if ${CAPI20_LIBS:+false} :
17506 then :
17507 if test ${PKG_CONFIG+y}
17508 then :
17509 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17514 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17515 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17516 if test -s conftest.err; then
17517 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17518 cat conftest.err >&5
17520 rm -f conftest.err
17521 ac_save_CPPFLAGS=$CPPFLAGS
17522 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17523 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17525 if test "x$ac_cv_header_capi20_h" = xyes
17526 then :
17527 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17530 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17532 if test "x$ac_cv_header_linux_capi_h" = xyes
17533 then :
17534 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17538 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17539 then
17540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17541 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17542 if test ${ac_cv_lib_capi20_capi20_register+y}
17543 then :
17544 printf %s "(cached) " >&6
17545 else $as_nop
17546 ac_check_lib_save_LIBS=$LIBS
17547 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17549 /* end confdefs.h. */
17551 /* Override any GCC internal prototype to avoid an error.
17552 Use char because int might match the return type of a GCC
17553 builtin and then its argument prototype would still apply. */
17554 char capi20_register ();
17556 main (void)
17558 return capi20_register ();
17560 return 0;
17562 _ACEOF
17563 if ac_fn_c_try_link "$LINENO"
17564 then :
17565 ac_cv_lib_capi20_capi20_register=yes
17566 else $as_nop
17567 ac_cv_lib_capi20_capi20_register=no
17569 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17570 conftest$ac_exeext conftest.$ac_ext
17571 LIBS=$ac_check_lib_save_LIBS
17573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17574 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17575 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17576 then :
17578 else $as_nop
17579 CAPI20_LIBS=""
17583 CPPFLAGS=$ac_save_CPPFLAGS
17586 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17587 then :
17588 case "x$with_capi" in
17589 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17590 xno) ;;
17591 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17592 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17593 esac
17594 enable_capi2032=${enable_capi2032:-no}
17597 if test "x$with_cups" != "xno"
17598 then
17599 rm -f conftest.err
17600 if ${CUPS_CFLAGS:+false} :
17601 then :
17602 if test ${PKG_CONFIG+y}
17603 then :
17604 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17607 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17608 if ${CUPS_LIBS:+false} :
17609 then :
17610 if test ${PKG_CONFIG+y}
17611 then :
17612 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17615 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17616 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17617 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17618 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17619 if test -s conftest.err; then
17620 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17621 cat conftest.err >&5
17623 rm -f conftest.err
17624 ac_save_CPPFLAGS=$CPPFLAGS
17625 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17626 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17627 if test "x$ac_cv_header_cups_cups_h" = xyes
17628 then :
17629 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17632 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17633 if test "x$ac_cv_header_cups_ppd_h" = xyes
17634 then :
17635 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17639 if test "$ac_cv_header_cups_cups_h" = "yes"
17640 then
17641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17642 printf %s "checking for -lcups... " >&6; }
17643 if test ${ac_cv_lib_soname_cups+y}
17644 then :
17645 printf %s "(cached) " >&6
17646 else $as_nop
17647 ac_check_soname_save_LIBS=$LIBS
17648 LIBS="-lcups $CUPS_LIBS $LIBS"
17649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17650 /* end confdefs.h. */
17652 /* Override any GCC internal prototype to avoid an error.
17653 Use char because int might match the return type of a GCC
17654 builtin and then its argument prototype would still apply. */
17655 char cupsGetDefault ();
17657 main (void)
17659 return cupsGetDefault ();
17661 return 0;
17663 _ACEOF
17664 if ac_fn_c_try_link "$LINENO"
17665 then :
17666 case "$LIBEXT" in
17667 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17668 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'` ;;
17669 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17670 if ${ac_cv_lib_soname_cups:+false} :
17671 then :
17672 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17673 fi ;;
17674 esac
17675 else $as_nop
17676 ac_cv_lib_soname_cups=
17678 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17679 conftest$ac_exeext conftest.$ac_ext
17680 LIBS=$ac_check_soname_save_LIBS
17682 if ${ac_cv_lib_soname_cups:+false} :
17683 then :
17684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17685 printf "%s\n" "not found" >&6; }
17686 CUPS_LIBS=""
17687 else $as_nop
17688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17689 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17691 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17695 else
17696 CUPS_CFLAGS=""
17697 CUPS_LIBS=""
17699 CPPFLAGS=$ac_save_CPPFLAGS
17702 if test "x$ac_cv_lib_soname_cups" = "x"
17703 then :
17704 case "x$with_cups" in
17705 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17706 xno) ;;
17707 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17708 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17709 esac
17713 if test "x$with_fontconfig" != "xno"
17714 then
17715 rm -f conftest.err
17716 if ${FONTCONFIG_CFLAGS:+false} :
17717 then :
17718 if test ${PKG_CONFIG+y}
17719 then :
17720 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17723 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17724 if ${FONTCONFIG_LIBS:+false} :
17725 then :
17726 if test ${PKG_CONFIG+y}
17727 then :
17728 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17731 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17734 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17735 if test -s conftest.err; then
17736 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17737 cat conftest.err >&5
17739 rm -f conftest.err
17740 ac_save_CPPFLAGS=$CPPFLAGS
17741 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17742 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17743 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17744 then :
17745 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17749 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17750 then
17751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17752 printf %s "checking for -lfontconfig... " >&6; }
17753 if test ${ac_cv_lib_soname_fontconfig+y}
17754 then :
17755 printf %s "(cached) " >&6
17756 else $as_nop
17757 ac_check_soname_save_LIBS=$LIBS
17758 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17760 /* end confdefs.h. */
17762 /* Override any GCC internal prototype to avoid an error.
17763 Use char because int might match the return type of a GCC
17764 builtin and then its argument prototype would still apply. */
17765 char FcInit ();
17767 main (void)
17769 return FcInit ();
17771 return 0;
17773 _ACEOF
17774 if ac_fn_c_try_link "$LINENO"
17775 then :
17776 case "$LIBEXT" in
17777 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17778 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'` ;;
17779 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17780 if ${ac_cv_lib_soname_fontconfig:+false} :
17781 then :
17782 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17783 fi ;;
17784 esac
17785 else $as_nop
17786 ac_cv_lib_soname_fontconfig=
17788 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17789 conftest$ac_exeext conftest.$ac_ext
17790 LIBS=$ac_check_soname_save_LIBS
17792 if ${ac_cv_lib_soname_fontconfig:+false} :
17793 then :
17794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17795 printf "%s\n" "not found" >&6; }
17796 FONTCONFIG_CFLAGS=""
17797 else $as_nop
17798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17799 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17801 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17805 else
17806 FONTCONFIG_CFLAGS=""
17808 CPPFLAGS=$ac_save_CPPFLAGS
17811 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17812 then :
17813 case "x$with_fontconfig" in
17814 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17815 xno) ;;
17816 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17817 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17818 esac
17822 if test "x$with_krb5" != "xno"
17823 then
17824 rm -f conftest.err
17825 if ${KRB5_CFLAGS:+false} :
17826 then :
17827 if test ${PKG_CONFIG+y}
17828 then :
17829 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17832 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17833 if ${KRB5_LIBS:+false} :
17834 then :
17835 if test ${PKG_CONFIG+y}
17836 then :
17837 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17840 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17842 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17843 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17844 if test -s conftest.err; then
17845 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17846 cat conftest.err >&5
17848 rm -f conftest.err
17849 ac_save_CPPFLAGS=$CPPFLAGS
17850 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17851 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17852 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17853 then :
17854 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17858 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17859 then
17860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17861 printf %s "checking for -lkrb5... " >&6; }
17862 if test ${ac_cv_lib_soname_krb5+y}
17863 then :
17864 printf %s "(cached) " >&6
17865 else $as_nop
17866 ac_check_soname_save_LIBS=$LIBS
17867 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17869 /* end confdefs.h. */
17871 /* Override any GCC internal prototype to avoid an error.
17872 Use char because int might match the return type of a GCC
17873 builtin and then its argument prototype would still apply. */
17874 char krb5_is_config_principal ();
17876 main (void)
17878 return krb5_is_config_principal ();
17880 return 0;
17882 _ACEOF
17883 if ac_fn_c_try_link "$LINENO"
17884 then :
17885 case "$LIBEXT" in
17886 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17887 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'` ;;
17888 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17889 if ${ac_cv_lib_soname_krb5:+false} :
17890 then :
17891 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17892 fi ;;
17893 esac
17894 else $as_nop
17895 ac_cv_lib_soname_krb5=
17897 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17898 conftest$ac_exeext conftest.$ac_ext
17899 LIBS=$ac_check_soname_save_LIBS
17901 if ${ac_cv_lib_soname_krb5:+false} :
17902 then :
17903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17904 printf "%s\n" "not found" >&6; }
17905 KRB5_CFLAGS=""
17906 else $as_nop
17907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17908 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17910 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17914 else
17915 KRB5_CFLAGS=""
17917 CPPFLAGS=$ac_save_CPPFLAGS
17920 if test "x$ac_cv_lib_soname_krb5" = "x"
17921 then :
17922 case "x$with_krb5" in
17923 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17924 xno) ;;
17925 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17926 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17927 esac
17930 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17932 if test "x$with_gssapi" != "xno"
17933 then
17934 rm -f conftest.err
17935 if ${GSSAPI_CFLAGS:+false} :
17936 then :
17937 if test ${PKG_CONFIG+y}
17938 then :
17939 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
17942 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17943 if ${GSSAPI_LIBS:+false} :
17944 then :
17945 if test ${PKG_CONFIG+y}
17946 then :
17947 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17950 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17952 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17953 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17954 if test -s conftest.err; then
17955 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
17956 cat conftest.err >&5
17958 rm -f conftest.err
17959 ac_save_CPPFLAGS=$CPPFLAGS
17960 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17961 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17962 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17963 then :
17964 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17967 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17968 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17969 then :
17970 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17974 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17975 then
17976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17977 printf %s "checking for -lgssapi_krb5... " >&6; }
17978 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17979 then :
17980 printf %s "(cached) " >&6
17981 else $as_nop
17982 ac_check_soname_save_LIBS=$LIBS
17983 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17985 /* end confdefs.h. */
17987 /* Override any GCC internal prototype to avoid an error.
17988 Use char because int might match the return type of a GCC
17989 builtin and then its argument prototype would still apply. */
17990 char gss_init_sec_context ();
17992 main (void)
17994 return gss_init_sec_context ();
17996 return 0;
17998 _ACEOF
17999 if ac_fn_c_try_link "$LINENO"
18000 then :
18001 case "$LIBEXT" in
18002 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18003 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'` ;;
18004 *) 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'`
18005 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18006 then :
18007 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18008 fi ;;
18009 esac
18010 else $as_nop
18011 ac_cv_lib_soname_gssapi_krb5=
18013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18014 conftest$ac_exeext conftest.$ac_ext
18015 LIBS=$ac_check_soname_save_LIBS
18017 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18018 then :
18019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18020 printf "%s\n" "not found" >&6; }
18021 GSSAPI_CFLAGS=""
18022 else $as_nop
18023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18024 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18026 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18030 else
18031 GSSAPI_CFLAGS=""
18033 CPPFLAGS=$ac_save_CPPFLAGS
18036 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18037 then :
18038 case "x$with_gssapi" in
18039 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18040 xno) ;;
18041 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18042 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18043 esac
18047 if test "$ac_cv_header_libprocstat_h" = "yes"
18048 then
18049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18050 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18051 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18052 then :
18053 printf %s "(cached) " >&6
18054 else $as_nop
18055 ac_check_lib_save_LIBS=$LIBS
18056 LIBS="-lprocstat $LIBS"
18057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18058 /* end confdefs.h. */
18060 /* Override any GCC internal prototype to avoid an error.
18061 Use char because int might match the return type of a GCC
18062 builtin and then its argument prototype would still apply. */
18063 char procstat_open_sysctl ();
18065 main (void)
18067 return procstat_open_sysctl ();
18069 return 0;
18071 _ACEOF
18072 if ac_fn_c_try_link "$LINENO"
18073 then :
18074 ac_cv_lib_procstat_procstat_open_sysctl=yes
18075 else $as_nop
18076 ac_cv_lib_procstat_procstat_open_sysctl=no
18078 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18079 conftest$ac_exeext conftest.$ac_ext
18080 LIBS=$ac_check_lib_save_LIBS
18082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18083 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18084 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18085 then :
18087 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18089 PROCSTAT_LIBS="-lprocstat"
18095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18096 printf %s "checking for -lodbc... " >&6; }
18097 if test ${ac_cv_lib_soname_odbc+y}
18098 then :
18099 printf %s "(cached) " >&6
18100 else $as_nop
18101 ac_check_soname_save_LIBS=$LIBS
18102 LIBS="-lodbc $LIBS"
18103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18104 /* end confdefs.h. */
18106 /* Override any GCC internal prototype to avoid an error.
18107 Use char because int might match the return type of a GCC
18108 builtin and then its argument prototype would still apply. */
18109 char SQLConnect ();
18111 main (void)
18113 return SQLConnect ();
18115 return 0;
18117 _ACEOF
18118 if ac_fn_c_try_link "$LINENO"
18119 then :
18120 case "$LIBEXT" in
18121 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18122 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'` ;;
18123 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18124 if ${ac_cv_lib_soname_odbc:+false} :
18125 then :
18126 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18127 fi ;;
18128 esac
18129 else $as_nop
18130 ac_cv_lib_soname_odbc=
18132 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18133 conftest$ac_exeext conftest.$ac_ext
18134 LIBS=$ac_check_soname_save_LIBS
18136 if ${ac_cv_lib_soname_odbc:+false} :
18137 then :
18138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18139 printf "%s\n" "not found" >&6; }
18140 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18142 else $as_nop
18143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18144 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18146 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18151 if test "x$with_netapi" != "xno"
18152 then
18153 rm -f conftest.err
18154 if ${NETAPI_CFLAGS:+false} :
18155 then :
18156 if test ${PKG_CONFIG+y}
18157 then :
18158 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18162 if ${NETAPI_LIBS:+false} :
18163 then :
18164 if test ${PKG_CONFIG+y}
18165 then :
18166 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18172 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18173 if test -s conftest.err; then
18174 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18175 cat conftest.err >&5
18177 rm -f conftest.err
18178 ac_save_CPPFLAGS=$CPPFLAGS
18179 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18181 printf %s "checking for -lnetapi... " >&6; }
18182 if test ${ac_cv_lib_soname_netapi+y}
18183 then :
18184 printf %s "(cached) " >&6
18185 else $as_nop
18186 ac_check_soname_save_LIBS=$LIBS
18187 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18189 /* end confdefs.h. */
18191 /* Override any GCC internal prototype to avoid an error.
18192 Use char because int might match the return type of a GCC
18193 builtin and then its argument prototype would still apply. */
18194 char libnetapi_init ();
18196 main (void)
18198 return libnetapi_init ();
18200 return 0;
18202 _ACEOF
18203 if ac_fn_c_try_link "$LINENO"
18204 then :
18205 case "$LIBEXT" in
18206 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18207 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'` ;;
18208 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18209 if ${ac_cv_lib_soname_netapi:+false} :
18210 then :
18211 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18212 fi ;;
18213 esac
18214 else $as_nop
18215 ac_cv_lib_soname_netapi=
18217 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18218 conftest$ac_exeext conftest.$ac_ext
18219 LIBS=$ac_check_soname_save_LIBS
18221 if ${ac_cv_lib_soname_netapi:+false} :
18222 then :
18223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18224 printf "%s\n" "not found" >&6; }
18225 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18227 else $as_nop
18228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18229 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18231 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18235 CPPFLAGS=$ac_save_CPPFLAGS
18238 if test "x$ac_cv_lib_soname_netapi" = "x"
18239 then :
18240 case "x$with_netapi" in
18241 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18242 xno) ;;
18243 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18244 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18245 esac
18246 enable_netapi=${enable_netapi:-no}
18250 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18251 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18252 then
18253 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18256 if test "x$with_vulkan" != "xno"
18257 then
18258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18259 printf %s "checking for -lvulkan... " >&6; }
18260 if test ${ac_cv_lib_soname_vulkan+y}
18261 then :
18262 printf %s "(cached) " >&6
18263 else $as_nop
18264 ac_check_soname_save_LIBS=$LIBS
18265 LIBS="-lvulkan $LIBS"
18266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18267 /* end confdefs.h. */
18269 /* Override any GCC internal prototype to avoid an error.
18270 Use char because int might match the return type of a GCC
18271 builtin and then its argument prototype would still apply. */
18272 char vkGetInstanceProcAddr ();
18274 main (void)
18276 return vkGetInstanceProcAddr ();
18278 return 0;
18280 _ACEOF
18281 if ac_fn_c_try_link "$LINENO"
18282 then :
18283 case "$LIBEXT" in
18284 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18285 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'` ;;
18286 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18287 if ${ac_cv_lib_soname_vulkan:+false} :
18288 then :
18289 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18290 fi ;;
18291 esac
18292 else $as_nop
18293 ac_cv_lib_soname_vulkan=
18295 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18296 conftest$ac_exeext conftest.$ac_ext
18297 LIBS=$ac_check_soname_save_LIBS
18299 if ${ac_cv_lib_soname_vulkan:+false} :
18300 then :
18301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18302 printf "%s\n" "not found" >&6; }
18304 else $as_nop
18305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18306 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18308 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18312 if test "x$ac_cv_lib_soname_vulkan" = "x"
18313 then
18314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18315 printf %s "checking for -lMoltenVK... " >&6; }
18316 if test ${ac_cv_lib_soname_MoltenVK+y}
18317 then :
18318 printf %s "(cached) " >&6
18319 else $as_nop
18320 ac_check_soname_save_LIBS=$LIBS
18321 LIBS="-lMoltenVK $LIBS"
18322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18323 /* end confdefs.h. */
18325 /* Override any GCC internal prototype to avoid an error.
18326 Use char because int might match the return type of a GCC
18327 builtin and then its argument prototype would still apply. */
18328 char vkGetInstanceProcAddr ();
18330 main (void)
18332 return vkGetInstanceProcAddr ();
18334 return 0;
18336 _ACEOF
18337 if ac_fn_c_try_link "$LINENO"
18338 then :
18339 case "$LIBEXT" in
18340 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18341 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'` ;;
18342 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18343 if ${ac_cv_lib_soname_MoltenVK:+false} :
18344 then :
18345 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18346 fi ;;
18347 esac
18348 else $as_nop
18349 ac_cv_lib_soname_MoltenVK=
18351 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18352 conftest$ac_exeext conftest.$ac_ext
18353 LIBS=$ac_check_soname_save_LIBS
18355 if ${ac_cv_lib_soname_MoltenVK:+false} :
18356 then :
18357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18358 printf "%s\n" "not found" >&6; }
18360 else $as_nop
18361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18362 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18364 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18370 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18371 then :
18372 case "x$with_vulkan" in
18373 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18374 xno) ;;
18375 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18376 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18377 esac
18382 if test "x${GCC}" = "xyes"
18383 then
18384 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18386 saved_CFLAGS=$CFLAGS
18387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18388 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18389 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18390 then :
18391 printf %s "(cached) " >&6
18392 else $as_nop
18393 ac_wine_try_cflags_saved=$CFLAGS
18394 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18396 /* end confdefs.h. */
18397 int main(int argc, char **argv) { return 0; }
18398 _ACEOF
18399 if ac_fn_c_try_link "$LINENO"
18400 then :
18401 ac_cv_cflags__Werror_unknown_warning_option=yes
18402 else $as_nop
18403 ac_cv_cflags__Werror_unknown_warning_option=no
18405 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18406 conftest$ac_exeext conftest.$ac_ext
18407 CFLAGS=$ac_wine_try_cflags_saved
18409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18410 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18411 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18412 then :
18413 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18416 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18417 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18418 then :
18419 printf %s "(cached) " >&6
18420 else $as_nop
18421 ac_wine_try_cflags_saved=$CFLAGS
18422 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18424 /* end confdefs.h. */
18425 int main(int argc, char **argv) { return 0; }
18426 _ACEOF
18427 if ac_fn_c_try_link "$LINENO"
18428 then :
18429 ac_cv_cflags__Werror_unused_command_line_argument=yes
18430 else $as_nop
18431 ac_cv_cflags__Werror_unused_command_line_argument=no
18433 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18434 conftest$ac_exeext conftest.$ac_ext
18435 CFLAGS=$ac_wine_try_cflags_saved
18437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18438 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18439 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18440 then :
18441 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18444 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18445 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18446 then :
18447 printf %s "(cached) " >&6
18448 else $as_nop
18449 ac_wine_try_cflags_saved=$CFLAGS
18450 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18452 /* end confdefs.h. */
18453 int main(int argc, char **argv) { return 0; }
18454 _ACEOF
18455 if ac_fn_c_try_link "$LINENO"
18456 then :
18457 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18458 else $as_nop
18459 ac_cv_cflags__Werror_ignored_optimization_argument=no
18461 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18462 conftest$ac_exeext conftest.$ac_ext
18463 CFLAGS=$ac_wine_try_cflags_saved
18465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18466 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18467 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18468 then :
18469 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18472 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18473 if test ${ac_cv_cflags__fcf_protection_none+y}
18474 then :
18475 printf %s "(cached) " >&6
18476 else $as_nop
18477 ac_wine_try_cflags_saved=$CFLAGS
18478 CFLAGS="$CFLAGS -fcf-protection=none"
18479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18480 /* end confdefs.h. */
18481 int main(int argc, char **argv) { return 0; }
18482 _ACEOF
18483 if ac_fn_c_try_link "$LINENO"
18484 then :
18485 ac_cv_cflags__fcf_protection_none=yes
18486 else $as_nop
18487 ac_cv_cflags__fcf_protection_none=no
18489 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18490 conftest$ac_exeext conftest.$ac_ext
18491 CFLAGS=$ac_wine_try_cflags_saved
18493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18494 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18495 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18496 then :
18497 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18500 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18501 if test ${ac_cv_cflags__fno_stack_protector+y}
18502 then :
18503 printf %s "(cached) " >&6
18504 else $as_nop
18505 ac_wine_try_cflags_saved=$CFLAGS
18506 CFLAGS="$CFLAGS -fno-stack-protector"
18507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18508 /* end confdefs.h. */
18509 int main(int argc, char **argv) { return 0; }
18510 _ACEOF
18511 if ac_fn_c_try_link "$LINENO"
18512 then :
18513 ac_cv_cflags__fno_stack_protector=yes
18514 else $as_nop
18515 ac_cv_cflags__fno_stack_protector=no
18517 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18518 conftest$ac_exeext conftest.$ac_ext
18519 CFLAGS=$ac_wine_try_cflags_saved
18521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18522 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18523 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18524 then :
18525 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18528 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18529 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18530 then :
18531 printf %s "(cached) " >&6
18532 else $as_nop
18533 ac_wine_try_cflags_saved=$CFLAGS
18534 CFLAGS="$CFLAGS -fno-strict-aliasing"
18535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18536 /* end confdefs.h. */
18537 int main(int argc, char **argv) { return 0; }
18538 _ACEOF
18539 if ac_fn_c_try_link "$LINENO"
18540 then :
18541 ac_cv_cflags__fno_strict_aliasing=yes
18542 else $as_nop
18543 ac_cv_cflags__fno_strict_aliasing=no
18545 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18546 conftest$ac_exeext conftest.$ac_ext
18547 CFLAGS=$ac_wine_try_cflags_saved
18549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18550 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18551 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18552 then :
18553 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18556 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18557 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18558 then :
18559 printf %s "(cached) " >&6
18560 else $as_nop
18561 ac_wine_try_cflags_saved=$CFLAGS
18562 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18564 /* end confdefs.h. */
18565 int main(int argc, char **argv) { return 0; }
18566 _ACEOF
18567 if ac_fn_c_try_link "$LINENO"
18568 then :
18569 ac_cv_cflags__Wdeclaration_after_statement=yes
18570 else $as_nop
18571 ac_cv_cflags__Wdeclaration_after_statement=no
18573 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18574 conftest$ac_exeext conftest.$ac_ext
18575 CFLAGS=$ac_wine_try_cflags_saved
18577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18578 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18579 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18580 then :
18581 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18584 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18585 if test ${ac_cv_cflags__Wempty_body+y}
18586 then :
18587 printf %s "(cached) " >&6
18588 else $as_nop
18589 ac_wine_try_cflags_saved=$CFLAGS
18590 CFLAGS="$CFLAGS -Wempty-body"
18591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18592 /* end confdefs.h. */
18593 int main(int argc, char **argv) { return 0; }
18594 _ACEOF
18595 if ac_fn_c_try_link "$LINENO"
18596 then :
18597 ac_cv_cflags__Wempty_body=yes
18598 else $as_nop
18599 ac_cv_cflags__Wempty_body=no
18601 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18602 conftest$ac_exeext conftest.$ac_ext
18603 CFLAGS=$ac_wine_try_cflags_saved
18605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18606 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18607 if test "x$ac_cv_cflags__Wempty_body" = xyes
18608 then :
18609 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18612 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18613 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18614 then :
18615 printf %s "(cached) " >&6
18616 else $as_nop
18617 ac_wine_try_cflags_saved=$CFLAGS
18618 CFLAGS="$CFLAGS -Wignored-qualifiers"
18619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18620 /* end confdefs.h. */
18621 int main(int argc, char **argv) { return 0; }
18622 _ACEOF
18623 if ac_fn_c_try_link "$LINENO"
18624 then :
18625 ac_cv_cflags__Wignored_qualifiers=yes
18626 else $as_nop
18627 ac_cv_cflags__Wignored_qualifiers=no
18629 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18630 conftest$ac_exeext conftest.$ac_ext
18631 CFLAGS=$ac_wine_try_cflags_saved
18633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18634 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18635 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18636 then :
18637 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18640 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18641 if test ${ac_cv_cflags__Winit_self+y}
18642 then :
18643 printf %s "(cached) " >&6
18644 else $as_nop
18645 ac_wine_try_cflags_saved=$CFLAGS
18646 CFLAGS="$CFLAGS -Winit-self"
18647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18648 /* end confdefs.h. */
18649 int main(int argc, char **argv) { return 0; }
18650 _ACEOF
18651 if ac_fn_c_try_link "$LINENO"
18652 then :
18653 ac_cv_cflags__Winit_self=yes
18654 else $as_nop
18655 ac_cv_cflags__Winit_self=no
18657 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18658 conftest$ac_exeext conftest.$ac_ext
18659 CFLAGS=$ac_wine_try_cflags_saved
18661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18662 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18663 if test "x$ac_cv_cflags__Winit_self" = xyes
18664 then :
18665 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18668 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18669 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18670 then :
18671 printf %s "(cached) " >&6
18672 else $as_nop
18673 ac_wine_try_cflags_saved=$CFLAGS
18674 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18676 /* end confdefs.h. */
18677 int main(int argc, char **argv) { return 0; }
18678 _ACEOF
18679 if ac_fn_c_try_link "$LINENO"
18680 then :
18681 ac_cv_cflags__Wpacked_not_aligned=yes
18682 else $as_nop
18683 ac_cv_cflags__Wpacked_not_aligned=no
18685 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18686 conftest$ac_exeext conftest.$ac_ext
18687 CFLAGS=$ac_wine_try_cflags_saved
18689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18690 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18691 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18692 then :
18693 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18696 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18697 if test ${ac_cv_cflags__Wpragma_pack+y}
18698 then :
18699 printf %s "(cached) " >&6
18700 else $as_nop
18701 ac_wine_try_cflags_saved=$CFLAGS
18702 CFLAGS="$CFLAGS -Wpragma-pack"
18703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18704 /* end confdefs.h. */
18705 int main(int argc, char **argv) { return 0; }
18706 _ACEOF
18707 if ac_fn_c_try_link "$LINENO"
18708 then :
18709 ac_cv_cflags__Wpragma_pack=yes
18710 else $as_nop
18711 ac_cv_cflags__Wpragma_pack=no
18713 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18714 conftest$ac_exeext conftest.$ac_ext
18715 CFLAGS=$ac_wine_try_cflags_saved
18717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18718 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18719 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18720 then :
18721 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18724 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18725 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18726 then :
18727 printf %s "(cached) " >&6
18728 else $as_nop
18729 ac_wine_try_cflags_saved=$CFLAGS
18730 CFLAGS="$CFLAGS -Wshift-overflow=2"
18731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18732 /* end confdefs.h. */
18733 int main(int argc, char **argv) { return 0; }
18734 _ACEOF
18735 if ac_fn_c_try_link "$LINENO"
18736 then :
18737 ac_cv_cflags__Wshift_overflow_2=yes
18738 else $as_nop
18739 ac_cv_cflags__Wshift_overflow_2=no
18741 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18742 conftest$ac_exeext conftest.$ac_ext
18743 CFLAGS=$ac_wine_try_cflags_saved
18745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18746 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18747 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18748 then :
18749 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18752 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18753 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18754 then :
18755 printf %s "(cached) " >&6
18756 else $as_nop
18757 ac_wine_try_cflags_saved=$CFLAGS
18758 CFLAGS="$CFLAGS -Wstrict-prototypes"
18759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18760 /* end confdefs.h. */
18761 int main(int argc, char **argv) { return 0; }
18762 _ACEOF
18763 if ac_fn_c_try_link "$LINENO"
18764 then :
18765 ac_cv_cflags__Wstrict_prototypes=yes
18766 else $as_nop
18767 ac_cv_cflags__Wstrict_prototypes=no
18769 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18770 conftest$ac_exeext conftest.$ac_ext
18771 CFLAGS=$ac_wine_try_cflags_saved
18773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18774 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18775 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18776 then :
18777 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18780 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18781 if test ${ac_cv_cflags__Wtype_limits+y}
18782 then :
18783 printf %s "(cached) " >&6
18784 else $as_nop
18785 ac_wine_try_cflags_saved=$CFLAGS
18786 CFLAGS="$CFLAGS -Wtype-limits"
18787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18788 /* end confdefs.h. */
18789 int main(int argc, char **argv) { return 0; }
18790 _ACEOF
18791 if ac_fn_c_try_link "$LINENO"
18792 then :
18793 ac_cv_cflags__Wtype_limits=yes
18794 else $as_nop
18795 ac_cv_cflags__Wtype_limits=no
18797 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18798 conftest$ac_exeext conftest.$ac_ext
18799 CFLAGS=$ac_wine_try_cflags_saved
18801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18802 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18803 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18804 then :
18805 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18808 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18809 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18810 then :
18811 printf %s "(cached) " >&6
18812 else $as_nop
18813 ac_wine_try_cflags_saved=$CFLAGS
18814 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18816 /* end confdefs.h. */
18817 int main(int argc, char **argv) { return 0; }
18818 _ACEOF
18819 if ac_fn_c_try_link "$LINENO"
18820 then :
18821 ac_cv_cflags__Wunused_but_set_parameter=yes
18822 else $as_nop
18823 ac_cv_cflags__Wunused_but_set_parameter=no
18825 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18826 conftest$ac_exeext conftest.$ac_ext
18827 CFLAGS=$ac_wine_try_cflags_saved
18829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18830 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18831 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18832 then :
18833 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18836 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18837 if test ${ac_cv_cflags__Wvla+y}
18838 then :
18839 printf %s "(cached) " >&6
18840 else $as_nop
18841 ac_wine_try_cflags_saved=$CFLAGS
18842 CFLAGS="$CFLAGS -Wvla"
18843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18844 /* end confdefs.h. */
18845 int main(int argc, char **argv) { return 0; }
18846 _ACEOF
18847 if ac_fn_c_try_link "$LINENO"
18848 then :
18849 ac_cv_cflags__Wvla=yes
18850 else $as_nop
18851 ac_cv_cflags__Wvla=no
18853 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18854 conftest$ac_exeext conftest.$ac_ext
18855 CFLAGS=$ac_wine_try_cflags_saved
18857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18858 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18859 if test "x$ac_cv_cflags__Wvla" = xyes
18860 then :
18861 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18864 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18865 if test ${ac_cv_cflags__Wwrite_strings+y}
18866 then :
18867 printf %s "(cached) " >&6
18868 else $as_nop
18869 ac_wine_try_cflags_saved=$CFLAGS
18870 CFLAGS="$CFLAGS -Wwrite-strings"
18871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18872 /* end confdefs.h. */
18873 int main(int argc, char **argv) { return 0; }
18874 _ACEOF
18875 if ac_fn_c_try_link "$LINENO"
18876 then :
18877 ac_cv_cflags__Wwrite_strings=yes
18878 else $as_nop
18879 ac_cv_cflags__Wwrite_strings=no
18881 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18882 conftest$ac_exeext conftest.$ac_ext
18883 CFLAGS=$ac_wine_try_cflags_saved
18885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18886 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18887 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18888 then :
18889 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18893 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18894 if test ${ac_cv_cflags__Wpointer_arith+y}
18895 then :
18896 printf %s "(cached) " >&6
18897 else $as_nop
18898 ac_wine_try_cflags_saved=$CFLAGS
18899 CFLAGS="$CFLAGS -Wpointer-arith"
18900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18901 /* end confdefs.h. */
18902 int main(int argc, char **argv) { return 0; }
18903 _ACEOF
18904 if ac_fn_c_try_link "$LINENO"
18905 then :
18906 ac_cv_cflags__Wpointer_arith=yes
18907 else $as_nop
18908 ac_cv_cflags__Wpointer_arith=no
18910 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18911 conftest$ac_exeext conftest.$ac_ext
18912 CFLAGS=$ac_wine_try_cflags_saved
18914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18915 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18916 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18917 then :
18918 saved_string_h_CFLAGS=$CFLAGS
18919 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
18920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18921 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18922 if test ${ac_cv_c_string_h_warnings+y}
18923 then :
18924 printf %s "(cached) " >&6
18925 else $as_nop
18926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18927 /* end confdefs.h. */
18928 #include <string.h>
18930 main (void)
18934 return 0;
18936 _ACEOF
18937 if ac_fn_c_try_compile "$LINENO"
18938 then :
18939 ac_cv_c_string_h_warnings=no
18940 else $as_nop
18941 ac_cv_c_string_h_warnings=yes
18943 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
18946 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
18947 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
18948 CFLAGS=$saved_string_h_CFLAGS
18951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
18952 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
18953 if test ${ac_cv_cflags__Wlogical_op+y}
18954 then :
18955 printf %s "(cached) " >&6
18956 else $as_nop
18957 ac_wine_try_cflags_saved=$CFLAGS
18958 CFLAGS="$CFLAGS -Wlogical-op"
18959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18960 /* end confdefs.h. */
18961 int main(int argc, char **argv) { return 0; }
18962 _ACEOF
18963 if ac_fn_c_try_link "$LINENO"
18964 then :
18965 ac_cv_cflags__Wlogical_op=yes
18966 else $as_nop
18967 ac_cv_cflags__Wlogical_op=no
18969 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18970 conftest$ac_exeext conftest.$ac_ext
18971 CFLAGS=$ac_wine_try_cflags_saved
18973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
18974 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
18975 if test "x$ac_cv_cflags__Wlogical_op" = xyes
18976 then :
18977 saved_string_h_CFLAGS=$CFLAGS
18978 CFLAGS="$CFLAGS -Wlogical-op -Werror"
18979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
18980 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
18981 if test ${ac_cv_c_logicalop_noisy+y}
18982 then :
18983 printf %s "(cached) " >&6
18984 else $as_nop
18985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18986 /* end confdefs.h. */
18987 #include <string.h>
18988 char*f(const char *h,char n) {return strchr(h,n);}
18990 main (void)
18994 return 0;
18996 _ACEOF
18997 if ac_fn_c_try_compile "$LINENO"
18998 then :
18999 ac_cv_c_logicalop_noisy=no
19000 else $as_nop
19001 ac_cv_c_logicalop_noisy=yes
19003 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19006 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19007 CFLAGS=$saved_string_h_CFLAGS
19008 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19012 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19013 if test ${wine_cv_64bit_compare_swap+y}
19014 then :
19015 printf %s "(cached) " >&6
19016 else $as_nop
19017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19018 /* end confdefs.h. */
19019 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19020 #error no
19021 #endif
19023 main (void)
19027 return 0;
19029 _ACEOF
19030 if ac_fn_c_try_compile "$LINENO"
19031 then :
19032 wine_cv_64bit_compare_swap="none needed"
19033 else $as_nop
19034 case $host_cpu in
19035 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19036 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19037 *) wine_cv_64bit_compare_swap="unknown" ;;
19038 esac
19039 if test "x$wine_cv_64bit_compare_swap" != xunknown
19040 then
19041 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19043 /* end confdefs.h. */
19044 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19045 #error no
19046 #endif
19048 main (void)
19052 return 0;
19054 _ACEOF
19055 if ac_fn_c_try_compile "$LINENO"
19056 then :
19058 else $as_nop
19059 wine_cv_64bit_compare_swap="unknown"
19061 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19062 CFLAGS=$saved_CFLAGS
19065 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19068 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19069 case "$wine_cv_64bit_compare_swap" in
19070 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19071 "none needed") ;;
19072 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19073 esac
19075 ac_debug_format_seen=""
19076 for ac_flag in $CFLAGS; do
19077 case $ac_flag in
19078 -gdwarf*) ac_debug_format_seen=yes ;;
19079 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19080 esac
19081 done
19082 if test "x$ac_debug_format_seen" = xdefault
19083 then
19084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19085 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19086 if test ${ac_cv_cflags__gdwarf_4+y}
19087 then :
19088 printf %s "(cached) " >&6
19089 else $as_nop
19090 ac_wine_try_cflags_saved=$CFLAGS
19091 CFLAGS="$CFLAGS -gdwarf-4"
19092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19093 /* end confdefs.h. */
19094 int main(int argc, char **argv) { return 0; }
19095 _ACEOF
19096 if ac_fn_c_try_link "$LINENO"
19097 then :
19098 ac_cv_cflags__gdwarf_4=yes
19099 else $as_nop
19100 ac_cv_cflags__gdwarf_4=no
19102 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19103 conftest$ac_exeext conftest.$ac_ext
19104 CFLAGS=$ac_wine_try_cflags_saved
19106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19107 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19108 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19109 then :
19110 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19114 MSVCRTFLAGS=""
19116 case $host_os in
19117 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19118 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19119 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19120 then :
19121 printf %s "(cached) " >&6
19122 else $as_nop
19123 ac_wine_try_cflags_saved=$CFLAGS
19124 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19126 /* end confdefs.h. */
19127 int main(int argc, char **argv) { return 0; }
19128 _ACEOF
19129 if ac_fn_c_try_link "$LINENO"
19130 then :
19131 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19132 else $as_nop
19133 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19136 conftest$ac_exeext conftest.$ac_ext
19137 CFLAGS=$ac_wine_try_cflags_saved
19139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19140 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19141 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19142 then :
19143 DELAYLOADFLAG="-Wl,-delayload,"
19145 fi ;;
19146 *) MSVCRTFLAGS="-D_WIN32"
19147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19148 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19149 if test ${ac_cv_cflags__fno_builtin+y}
19150 then :
19151 printf %s "(cached) " >&6
19152 else $as_nop
19153 ac_wine_try_cflags_saved=$CFLAGS
19154 CFLAGS="$CFLAGS -fno-builtin"
19155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19156 /* end confdefs.h. */
19157 int main(int argc, char **argv) { return 0; }
19158 _ACEOF
19159 if ac_fn_c_try_link "$LINENO"
19160 then :
19161 ac_cv_cflags__fno_builtin=yes
19162 else $as_nop
19163 ac_cv_cflags__fno_builtin=no
19165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19166 conftest$ac_exeext conftest.$ac_ext
19167 CFLAGS=$ac_wine_try_cflags_saved
19169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19170 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19171 if test "x$ac_cv_cflags__fno_builtin" = xyes
19172 then :
19173 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19176 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19177 if test ${ac_cv_cflags__fshort_wchar+y}
19178 then :
19179 printf %s "(cached) " >&6
19180 else $as_nop
19181 ac_wine_try_cflags_saved=$CFLAGS
19182 CFLAGS="$CFLAGS -fshort-wchar"
19183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19184 /* end confdefs.h. */
19185 int main(int argc, char **argv) { return 0; }
19186 _ACEOF
19187 if ac_fn_c_try_link "$LINENO"
19188 then :
19189 ac_cv_cflags__fshort_wchar=yes
19190 else $as_nop
19191 ac_cv_cflags__fshort_wchar=no
19193 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19194 conftest$ac_exeext conftest.$ac_ext
19195 CFLAGS=$ac_wine_try_cflags_saved
19197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19198 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19199 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19200 then :
19201 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19204 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19205 if test ${ac_cv_cflags__Wno_format+y}
19206 then :
19207 printf %s "(cached) " >&6
19208 else $as_nop
19209 ac_wine_try_cflags_saved=$CFLAGS
19210 CFLAGS="$CFLAGS -Wno-format"
19211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19212 /* end confdefs.h. */
19213 int main(int argc, char **argv) { return 0; }
19214 _ACEOF
19215 if ac_fn_c_try_link "$LINENO"
19216 then :
19217 ac_cv_cflags__Wno_format=yes
19218 else $as_nop
19219 ac_cv_cflags__Wno_format=no
19221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19222 conftest$ac_exeext conftest.$ac_ext
19223 CFLAGS=$ac_wine_try_cflags_saved
19225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19226 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19227 if test "x$ac_cv_cflags__Wno_format" = xyes
19228 then :
19229 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19230 fi ;;
19231 esac
19233 case $host_cpu in
19234 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19235 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19236 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19237 then :
19238 printf %s "(cached) " >&6
19239 else $as_nop
19240 ac_wine_try_cflags_saved=$CFLAGS
19241 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19243 /* end confdefs.h. */
19244 int main(int argc, char **argv) { return 0; }
19245 _ACEOF
19246 if ac_fn_c_try_link "$LINENO"
19247 then :
19248 ac_cv_cflags__fno_omit_frame_pointer=yes
19249 else $as_nop
19250 ac_cv_cflags__fno_omit_frame_pointer=no
19252 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19253 conftest$ac_exeext conftest.$ac_ext
19254 CFLAGS=$ac_wine_try_cflags_saved
19256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19257 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19258 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19259 then :
19260 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19261 fi ;;
19262 *x86_64*)
19263 case $host_os in
19264 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19265 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19266 if test ${ac_cv_cflags__Wno_format+y}
19267 then :
19268 printf %s "(cached) " >&6
19269 else $as_nop
19270 ac_wine_try_cflags_saved=$CFLAGS
19271 CFLAGS="$CFLAGS -Wno-format"
19272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19273 /* end confdefs.h. */
19274 int main(int argc, char **argv) { return 0; }
19275 _ACEOF
19276 if ac_fn_c_try_link "$LINENO"
19277 then :
19278 ac_cv_cflags__Wno_format=yes
19279 else $as_nop
19280 ac_cv_cflags__Wno_format=no
19282 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19283 conftest$ac_exeext conftest.$ac_ext
19284 CFLAGS=$ac_wine_try_cflags_saved
19286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19287 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19288 if test "x$ac_cv_cflags__Wno_format" = xyes
19289 then :
19290 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19291 fi ;;
19292 *) if test -z "$PE_ARCHS"
19293 then
19294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19295 printf %s "checking for working -mabi=ms... " >&6; }
19296 if test ${ac_cv_mabi_ms+y}
19297 then :
19298 printf %s "(cached) " >&6
19299 else $as_nop
19300 CFLAGS="$CFLAGS -mabi=ms"
19301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19302 /* end confdefs.h. */
19303 #include <stdarg.h>
19304 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19306 main (void)
19310 return 0;
19312 _ACEOF
19313 if ac_fn_c_try_compile "$LINENO"
19314 then :
19315 ac_cv_mabi_ms=yes
19316 else $as_nop
19317 ac_cv_mabi_ms=no
19319 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19320 CFLAGS=$saved_CFLAGS
19322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19323 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19324 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
19326 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19327 esac ;;
19328 arm*)
19329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19330 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19331 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19332 then :
19333 printf %s "(cached) " >&6
19334 else $as_nop
19335 ac_wine_try_cflags_saved=$CFLAGS
19336 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19338 /* end confdefs.h. */
19339 int main(int argc, char **argv) { return 0; }
19340 _ACEOF
19341 if ac_fn_c_try_link "$LINENO"
19342 then :
19343 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19344 else $as_nop
19345 ac_cv_cflags__Wincompatible_function_pointer_types=no
19347 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19348 conftest$ac_exeext conftest.$ac_ext
19349 CFLAGS=$ac_wine_try_cflags_saved
19351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19352 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19353 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19354 then :
19355 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19356 fi ;;
19357 esac
19359 CFLAGS=$saved_CFLAGS
19361 if test "x$enable_werror" = "xyes"
19362 then
19363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19364 printf %s "checking whether the compiler supports -Werror... " >&6; }
19365 if test ${ac_cv_cflags__Werror+y}
19366 then :
19367 printf %s "(cached) " >&6
19368 else $as_nop
19369 ac_wine_try_cflags_saved=$CFLAGS
19370 CFLAGS="$CFLAGS -Werror"
19371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19372 /* end confdefs.h. */
19373 int main(int argc, char **argv) { return 0; }
19374 _ACEOF
19375 if ac_fn_c_try_link "$LINENO"
19376 then :
19377 ac_cv_cflags__Werror=yes
19378 else $as_nop
19379 ac_cv_cflags__Werror=no
19381 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19382 conftest$ac_exeext conftest.$ac_ext
19383 CFLAGS=$ac_wine_try_cflags_saved
19385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19386 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19387 if test "x$ac_cv_cflags__Werror" = xyes
19388 then :
19389 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19392 if test "x$enable_build_id" = "xyes"
19393 then
19394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19395 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19396 if test ${ac_cv_cflags__Wl___build_id+y}
19397 then :
19398 printf %s "(cached) " >&6
19399 else $as_nop
19400 ac_wine_try_cflags_saved=$CFLAGS
19401 CFLAGS="$CFLAGS -Wl,--build-id"
19402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19403 /* end confdefs.h. */
19404 int main(int argc, char **argv) { return 0; }
19405 _ACEOF
19406 if ac_fn_c_try_link "$LINENO"
19407 then :
19408 ac_cv_cflags__Wl___build_id=yes
19409 else $as_nop
19410 ac_cv_cflags__Wl___build_id=no
19412 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19413 conftest$ac_exeext conftest.$ac_ext
19414 CFLAGS=$ac_wine_try_cflags_saved
19416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19417 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19418 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19419 then :
19420 CFLAGS="$CFLAGS -Wl,--build-id"
19421 LDFLAGS="$LDFLAGS -Wl,--build-id"
19427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19428 printf %s "checking for the need to disable Fortify... " >&6; }
19429 if test ${ac_cv_c_fortify_enabled+y}
19430 then :
19431 printf %s "(cached) " >&6
19432 else $as_nop
19433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19434 /* end confdefs.h. */
19435 #include <string.h>
19437 main (void)
19439 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19440 #error Fortify enabled
19441 #endif
19443 return 0;
19445 _ACEOF
19446 if ac_fn_c_try_compile "$LINENO"
19447 then :
19448 ac_cv_c_fortify_enabled=no
19449 else $as_nop
19450 ac_cv_c_fortify_enabled=yes
19452 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19455 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19456 if test "$ac_cv_c_fortify_enabled" = yes
19457 then
19458 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19463 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19464 if test ${ac_cv_c_cfi_support+y}
19465 then :
19466 printf %s "(cached) " >&6
19467 else $as_nop
19468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19469 /* end confdefs.h. */
19470 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19472 main (void)
19476 return 0;
19478 _ACEOF
19479 if ac_fn_c_try_compile "$LINENO"
19480 then :
19481 ac_cv_c_cfi_support="yes"
19482 else $as_nop
19483 ac_cv_c_cfi_support="no"
19485 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19488 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19489 if test "$ac_cv_c_cfi_support" = "yes"
19490 then
19491 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19492 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19493 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19494 elif test $HOST_ARCH = x86_64
19495 then
19496 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19500 case "$HOST_ARCH,$PE_ARCHS" in
19501 x86_64,*i386*) wine_binary="wine" ;;
19502 x86_64,*) wine_binary="wine64" ;;
19503 *) wine_binary="wine" ;;
19504 esac
19505 WINELOADER_PROGRAMS="$wine_binary"
19508 case $host_os in
19509 linux*)
19510 case $host_cpu in
19511 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19512 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19513 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19515 esac
19517 darwin*|macosx*)
19518 if test "$wine_can_build_preloader" = "yes"
19519 then
19520 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19521 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19524 esac
19527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19528 printf %s "checking for library containing dlopen... " >&6; }
19529 if test ${ac_cv_search_dlopen+y}
19530 then :
19531 printf %s "(cached) " >&6
19532 else $as_nop
19533 ac_func_search_save_LIBS=$LIBS
19534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19535 /* end confdefs.h. */
19537 /* Override any GCC internal prototype to avoid an error.
19538 Use char because int might match the return type of a GCC
19539 builtin and then its argument prototype would still apply. */
19540 char dlopen ();
19542 main (void)
19544 return dlopen ();
19546 return 0;
19548 _ACEOF
19549 for ac_lib in '' dl
19551 if test -z "$ac_lib"; then
19552 ac_res="none required"
19553 else
19554 ac_res=-l$ac_lib
19555 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19557 if ac_fn_c_try_link "$LINENO"
19558 then :
19559 ac_cv_search_dlopen=$ac_res
19561 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19562 conftest$ac_exeext
19563 if test ${ac_cv_search_dlopen+y}
19564 then :
19565 break
19567 done
19568 if test ${ac_cv_search_dlopen+y}
19569 then :
19571 else $as_nop
19572 ac_cv_search_dlopen=no
19574 rm conftest.$ac_ext
19575 LIBS=$ac_func_search_save_LIBS
19577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19578 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19579 ac_res=$ac_cv_search_dlopen
19580 if test "$ac_res" != no
19581 then :
19582 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19588 printf %s "checking for library containing gethostbyname... " >&6; }
19589 if test ${ac_cv_search_gethostbyname+y}
19590 then :
19591 printf %s "(cached) " >&6
19592 else $as_nop
19593 ac_func_search_save_LIBS=$LIBS
19594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19595 /* end confdefs.h. */
19597 /* Override any GCC internal prototype to avoid an error.
19598 Use char because int might match the return type of a GCC
19599 builtin and then its argument prototype would still apply. */
19600 char gethostbyname ();
19602 main (void)
19604 return gethostbyname ();
19606 return 0;
19608 _ACEOF
19609 for ac_lib in '' nsl
19611 if test -z "$ac_lib"; then
19612 ac_res="none required"
19613 else
19614 ac_res=-l$ac_lib
19615 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19617 if ac_fn_c_try_link "$LINENO"
19618 then :
19619 ac_cv_search_gethostbyname=$ac_res
19621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19622 conftest$ac_exeext
19623 if test ${ac_cv_search_gethostbyname+y}
19624 then :
19625 break
19627 done
19628 if test ${ac_cv_search_gethostbyname+y}
19629 then :
19631 else $as_nop
19632 ac_cv_search_gethostbyname=no
19634 rm conftest.$ac_ext
19635 LIBS=$ac_func_search_save_LIBS
19637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19638 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19639 ac_res=$ac_cv_search_gethostbyname
19640 if test "$ac_res" != no
19641 then :
19642 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19648 printf %s "checking for library containing connect... " >&6; }
19649 if test ${ac_cv_search_connect+y}
19650 then :
19651 printf %s "(cached) " >&6
19652 else $as_nop
19653 ac_func_search_save_LIBS=$LIBS
19654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19655 /* end confdefs.h. */
19657 /* Override any GCC internal prototype to avoid an error.
19658 Use char because int might match the return type of a GCC
19659 builtin and then its argument prototype would still apply. */
19660 char connect ();
19662 main (void)
19664 return connect ();
19666 return 0;
19668 _ACEOF
19669 for ac_lib in '' socket
19671 if test -z "$ac_lib"; then
19672 ac_res="none required"
19673 else
19674 ac_res=-l$ac_lib
19675 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19677 if ac_fn_c_try_link "$LINENO"
19678 then :
19679 ac_cv_search_connect=$ac_res
19681 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19682 conftest$ac_exeext
19683 if test ${ac_cv_search_connect+y}
19684 then :
19685 break
19687 done
19688 if test ${ac_cv_search_connect+y}
19689 then :
19691 else $as_nop
19692 ac_cv_search_connect=no
19694 rm conftest.$ac_ext
19695 LIBS=$ac_func_search_save_LIBS
19697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19698 printf "%s\n" "$ac_cv_search_connect" >&6; }
19699 ac_res=$ac_cv_search_connect
19700 if test "$ac_res" != no
19701 then :
19702 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19708 printf %s "checking for library containing inet_aton... " >&6; }
19709 if test ${ac_cv_search_inet_aton+y}
19710 then :
19711 printf %s "(cached) " >&6
19712 else $as_nop
19713 ac_func_search_save_LIBS=$LIBS
19714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19715 /* end confdefs.h. */
19717 /* Override any GCC internal prototype to avoid an error.
19718 Use char because int might match the return type of a GCC
19719 builtin and then its argument prototype would still apply. */
19720 char inet_aton ();
19722 main (void)
19724 return inet_aton ();
19726 return 0;
19728 _ACEOF
19729 for ac_lib in '' resolv
19731 if test -z "$ac_lib"; then
19732 ac_res="none required"
19733 else
19734 ac_res=-l$ac_lib
19735 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19737 if ac_fn_c_try_link "$LINENO"
19738 then :
19739 ac_cv_search_inet_aton=$ac_res
19741 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19742 conftest$ac_exeext
19743 if test ${ac_cv_search_inet_aton+y}
19744 then :
19745 break
19747 done
19748 if test ${ac_cv_search_inet_aton+y}
19749 then :
19751 else $as_nop
19752 ac_cv_search_inet_aton=no
19754 rm conftest.$ac_ext
19755 LIBS=$ac_func_search_save_LIBS
19757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19758 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19759 ac_res=$ac_cv_search_inet_aton
19760 if test "$ac_res" != no
19761 then :
19762 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19767 ac_save_CFLAGS="$CFLAGS"
19768 CFLAGS="$CFLAGS $BUILTINFLAG"
19769 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19770 if test "x$ac_cv_func_dladdr1" = xyes
19771 then :
19772 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19775 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19776 if test "x$ac_cv_func_dlinfo" = xyes
19777 then :
19778 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19781 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19782 if test "x$ac_cv_func_epoll_create" = xyes
19783 then :
19784 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19787 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19788 if test "x$ac_cv_func_fstatfs" = xyes
19789 then :
19790 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19793 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19794 if test "x$ac_cv_func_futimens" = xyes
19795 then :
19796 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19799 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19800 if test "x$ac_cv_func_futimes" = xyes
19801 then :
19802 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19805 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19806 if test "x$ac_cv_func_futimesat" = xyes
19807 then :
19808 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19811 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19812 if test "x$ac_cv_func_getaddrinfo" = xyes
19813 then :
19814 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19817 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19818 if test "x$ac_cv_func_getattrlist" = xyes
19819 then :
19820 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19823 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19824 if test "x$ac_cv_func_getauxval" = xyes
19825 then :
19826 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19829 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19830 if test "x$ac_cv_func_getifaddrs" = xyes
19831 then :
19832 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19835 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19836 if test "x$ac_cv_func_getrandom" = xyes
19837 then :
19838 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19841 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19842 if test "x$ac_cv_func_kqueue" = xyes
19843 then :
19844 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19847 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19848 if test "x$ac_cv_func_mach_continuous_time" = xyes
19849 then :
19850 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19853 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19854 if test "x$ac_cv_func_pipe2" = xyes
19855 then :
19856 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19859 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19860 if test "x$ac_cv_func_port_create" = xyes
19861 then :
19862 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19865 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19866 if test "x$ac_cv_func_posix_fadvise" = xyes
19867 then :
19868 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19871 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19872 if test "x$ac_cv_func_posix_fallocate" = xyes
19873 then :
19874 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19877 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19878 if test "x$ac_cv_func_prctl" = xyes
19879 then :
19880 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19883 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19884 if test "x$ac_cv_func_proc_pidinfo" = xyes
19885 then :
19886 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19889 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19890 if test "x$ac_cv_func_sched_yield" = xyes
19891 then :
19892 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19895 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19896 if test "x$ac_cv_func_setproctitle" = xyes
19897 then :
19898 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19901 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19902 if test "x$ac_cv_func_setprogname" = xyes
19903 then :
19904 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19907 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19908 if test "x$ac_cv_func_sigprocmask" = xyes
19909 then :
19910 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19913 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19914 if test "x$ac_cv_func_sysinfo" = xyes
19915 then :
19916 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19919 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19920 if test "x$ac_cv_func_tcdrain" = xyes
19921 then :
19922 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19925 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19926 if test "x$ac_cv_func_thr_kill2" = xyes
19927 then :
19928 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19932 CFLAGS="$ac_save_CFLAGS"
19934 case $host_os in
19935 darwin*|macosx*) ;;
19936 *) ac_save_LIBS=$LIBS
19937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19938 printf %s "checking for library containing clock_gettime... " >&6; }
19939 if test ${ac_cv_search_clock_gettime+y}
19940 then :
19941 printf %s "(cached) " >&6
19942 else $as_nop
19943 ac_func_search_save_LIBS=$LIBS
19944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19945 /* end confdefs.h. */
19947 /* Override any GCC internal prototype to avoid an error.
19948 Use char because int might match the return type of a GCC
19949 builtin and then its argument prototype would still apply. */
19950 char clock_gettime ();
19952 main (void)
19954 return clock_gettime ();
19956 return 0;
19958 _ACEOF
19959 for ac_lib in '' rt
19961 if test -z "$ac_lib"; then
19962 ac_res="none required"
19963 else
19964 ac_res=-l$ac_lib
19965 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19967 if ac_fn_c_try_link "$LINENO"
19968 then :
19969 ac_cv_search_clock_gettime=$ac_res
19971 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19972 conftest$ac_exeext
19973 if test ${ac_cv_search_clock_gettime+y}
19974 then :
19975 break
19977 done
19978 if test ${ac_cv_search_clock_gettime+y}
19979 then :
19981 else $as_nop
19982 ac_cv_search_clock_gettime=no
19984 rm conftest.$ac_ext
19985 LIBS=$ac_func_search_save_LIBS
19987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19988 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
19989 ac_res=$ac_cv_search_clock_gettime
19990 if test "$ac_res" != no
19991 then :
19992 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19994 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
19996 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20000 LIBS=$ac_save_LIBS
20002 esac
20004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20005 printf %s "checking for sched_setaffinity... " >&6; }
20006 if test ${wine_cv_have_sched_setaffinity+y}
20007 then :
20008 printf %s "(cached) " >&6
20009 else $as_nop
20010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20011 /* end confdefs.h. */
20012 #include <sched.h>
20014 main (void)
20016 sched_setaffinity(0, 0, 0);
20018 return 0;
20020 _ACEOF
20021 if ac_fn_c_try_link "$LINENO"
20022 then :
20023 wine_cv_have_sched_setaffinity=yes
20024 else $as_nop
20025 wine_cv_have_sched_setaffinity=no
20027 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20028 conftest$ac_exeext conftest.$ac_ext
20030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20031 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20032 if test "$wine_cv_have_sched_setaffinity" = "yes"
20033 then
20035 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20041 printf %s "checking for inline... " >&6; }
20042 if test ${ac_cv_c_inline+y}
20043 then :
20044 printf %s "(cached) " >&6
20045 else $as_nop
20046 ac_cv_c_inline=no
20047 for ac_kw in inline __inline__ __inline; do
20048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20049 /* end confdefs.h. */
20050 #ifndef __cplusplus
20051 typedef int foo_t;
20052 static $ac_kw foo_t static_foo (void) {return 0; }
20053 $ac_kw foo_t foo (void) {return 0; }
20054 #endif
20056 _ACEOF
20057 if ac_fn_c_try_compile "$LINENO"
20058 then :
20059 ac_cv_c_inline=$ac_kw
20061 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20062 test "$ac_cv_c_inline" != no && break
20063 done
20066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20067 printf "%s\n" "$ac_cv_c_inline" >&6; }
20069 case $ac_cv_c_inline in
20070 inline | yes) ;;
20072 case $ac_cv_c_inline in
20073 no) ac_val=;;
20074 *) ac_val=$ac_cv_c_inline;;
20075 esac
20076 cat >>confdefs.h <<_ACEOF
20077 #ifndef __cplusplus
20078 #define inline $ac_val
20079 #endif
20080 _ACEOF
20082 esac
20084 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20086 if test "x$ac_cv_type_request_sense" = xyes
20087 then :
20089 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20095 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20096 #include <sys/socket.h>
20097 #ifdef HAVE_SYS_SOCKETVAR_H
20098 #include <sys/socketvar.h>
20099 #endif
20100 #ifdef HAVE_NET_ROUTE_H
20101 #include <net/route.h>
20102 #endif
20103 #ifdef HAVE_NETINET_IN_H
20104 #include <netinet/in.h>
20105 #endif
20106 #ifdef HAVE_NETINET_IN_SYSTM_H
20107 #include <netinet/in_systm.h>
20108 #endif
20109 #ifdef HAVE_NETINET_IP_H
20110 #include <netinet/ip.h>
20111 #endif
20112 #ifdef HAVE_NETINET_IN_PCB_H
20113 #include <netinet/in_pcb.h>
20114 #endif
20116 if test "x$ac_cv_type_struct_xinpgen" = xyes
20117 then :
20119 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20126 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20127 if test ${wine_cv_linux_gethostbyname_r_6+y}
20128 then :
20129 printf %s "(cached) " >&6
20130 else $as_nop
20131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20132 /* end confdefs.h. */
20133 #include <netdb.h>
20135 main (void)
20138 char *name=0;
20139 struct hostent he;
20140 struct hostent *result;
20141 char *buf=0;
20142 int bufsize=0;
20143 int errnr;
20144 char *addr=0;
20145 int addrlen=0;
20146 int addrtype=0;
20147 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20148 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20151 return 0;
20153 _ACEOF
20154 if ac_fn_c_try_link "$LINENO"
20155 then :
20156 wine_cv_linux_gethostbyname_r_6=yes
20157 else $as_nop
20158 wine_cv_linux_gethostbyname_r_6=no
20161 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20162 conftest$ac_exeext conftest.$ac_ext
20165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20166 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20167 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20168 then
20170 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20174 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20175 #include <sys/socket.h>
20176 #ifdef HAVE_SYS_UN_H
20177 # include <sys/un.h>
20178 #endif
20180 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20181 then :
20183 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20187 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20188 #include <sys/socket.h>
20189 #ifdef HAVE_SYS_UN_H
20190 # include <sys/un.h>
20191 #endif
20193 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20194 then :
20196 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20202 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20203 #ifdef HAVE_SCSI_SG_H
20204 #include <scsi/sg.h>
20205 #endif
20207 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20208 then :
20210 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20214 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>
20215 #ifdef HAVE_SCSI_SG_H
20216 #include <scsi/sg.h>
20217 #endif
20219 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20220 then :
20222 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20228 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20230 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20231 then :
20233 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20239 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20240 #ifdef HAVE_SYS_MTIO_H
20241 #include <sys/mtio.h>
20242 #endif
20244 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20245 then :
20247 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20251 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20252 #ifdef HAVE_SYS_MTIO_H
20253 #include <sys/mtio.h>
20254 #endif
20256 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20257 then :
20259 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20263 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20264 #ifdef HAVE_SYS_MTIO_H
20265 #include <sys/mtio.h>
20266 #endif
20268 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20269 then :
20271 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20277 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20278 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20279 then :
20281 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20285 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20286 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20287 then :
20289 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20293 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20294 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20295 then :
20297 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20301 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20302 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20303 then :
20305 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20309 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20310 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20311 then :
20313 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20317 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20318 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20319 then :
20321 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20325 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20326 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20327 then :
20329 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20333 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20334 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20335 then :
20337 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20341 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20342 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20343 then :
20345 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20349 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20350 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20351 then :
20353 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20357 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20358 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20359 then :
20361 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20367 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>
20368 #ifdef HAVE_NETINET_IN_H
20369 #include <netinet/in.h>
20370 #endif
20372 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20373 then :
20375 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20381 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
20382 #include <resolv.h>
20383 #endif
20385 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20386 then :
20388 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20394 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20395 #include <netinet/in.h>
20396 #endif
20398 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20399 then :
20401 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20407 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20408 #ifdef HAVE_SYS_SOCKETVAR_H
20409 #include <sys/socketvar.h>
20410 #endif
20411 #ifdef HAVE_NETINET_IN_H
20412 #include <netinet/in.h>
20413 #endif
20414 #ifdef HAVE_NETINET_IP_VAR_H
20415 #include <netinet/ip_var.h>
20416 #endif
20418 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20419 then :
20421 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20427 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
20428 #include <netinet/ip_var.h>
20429 #endif
20431 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20432 then :
20434 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20440 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20441 #ifdef HAVE_SYS_SOCKETVAR_H
20442 #include <sys/socketvar.h>
20443 #endif
20444 #ifdef HAVE_NETINET_IN_H
20445 #include <netinet/in.h>
20446 #endif
20447 #ifdef HAVE_NETINET6_IP6_VAR_H
20448 #include <netinet6/ip6_var.h>
20449 #endif
20451 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20452 then :
20454 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20460 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20461 #ifdef HAVE_SYS_SOCKETVAR_H
20462 #include <sys/socketvar.h>
20463 #endif
20464 #ifdef HAVE_NETINET_IN_H
20465 #include <netinet/in.h>
20466 #endif
20467 #ifdef HAVE_NETINET_IP_H
20468 #include <netinet/ip.h>
20469 #endif
20470 #ifdef HAVE_NETINET_IP_ICMP_H
20471 #include <netinet/ip_icmp.h>
20472 #endif
20473 #ifdef HAVE_NETINET_ICMP_VAR_H
20474 #include <netinet/icmp_var.h>
20475 #endif
20477 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20478 then :
20480 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20486 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20487 #ifdef HAVE_SYS_SOCKETVAR_H
20488 #include <sys/socketvar.h>
20489 #endif
20490 #ifdef HAVE_NETINET_IN_H
20491 #include <netinet/in.h>
20492 #endif
20493 #ifdef HAVE_NETINET_ICMP6_H
20494 #include <netinet/icmp6.h>
20495 #endif
20497 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20498 then :
20500 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20506 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20507 #ifdef HAVE_SYS_SOCKETVAR_H
20508 #include <sys/socketvar.h>
20509 #endif
20510 #ifdef HAVE_NETINET_IN_H
20511 #include <netinet/in.h>
20512 #endif
20513 #ifdef HAVE_NETINET_TCP_H
20514 #include <netinet/tcp.h>
20515 #endif
20516 #ifdef HAVE_NETINET_TCP_VAR_H
20517 #include <netinet/tcp_var.h>
20518 #endif
20520 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20521 then :
20523 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20529 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
20530 #include <netinet/tcp_var.h>
20531 #endif
20533 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20534 then :
20536 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20542 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20543 #ifdef HAVE_NETINET_IN_H
20544 #include <netinet/in.h>
20545 #endif
20546 #ifdef HAVE_NETINET_IP_VAR_H
20547 #include <netinet/ip_var.h>
20548 #endif
20549 #ifdef HAVE_NETINET_UDP_H
20550 #include <netinet/udp.h>
20551 #endif
20552 #ifdef HAVE_NETINET_UDP_VAR_H
20553 #include <netinet/udp_var.h>
20554 #endif
20556 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20557 then :
20559 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20565 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20566 #ifdef HAVE_NET_IF_H
20567 # include <net/if.h>
20568 #endif
20570 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20571 then :
20573 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20579 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20580 # include <sys/sysinfo.h>
20581 #endif
20583 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20584 then :
20586 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20590 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20591 # include <sys/sysinfo.h>
20592 #endif
20594 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20595 then :
20597 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20603 LIBS="$ac_save_LIBS"
20605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20606 printf %s "checking for __builtin_popcount... " >&6; }
20607 if test ${ac_cv_have___builtin_popcount+y}
20608 then :
20609 printf %s "(cached) " >&6
20610 else $as_nop
20611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20612 /* end confdefs.h. */
20615 main (void)
20617 return __builtin_popcount(1)
20619 return 0;
20621 _ACEOF
20622 if ac_fn_c_try_link "$LINENO"
20623 then :
20624 ac_cv_have___builtin_popcount="yes"
20625 else $as_nop
20626 ac_cv_have___builtin_popcount="no"
20628 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20629 conftest$ac_exeext conftest.$ac_ext
20631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20632 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20633 if test "$ac_cv_have___builtin_popcount" = "yes"
20634 then
20636 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20641 printf %s "checking for __clear_cache... " >&6; }
20642 if test ${ac_cv_have___clear_cache+y}
20643 then :
20644 printf %s "(cached) " >&6
20645 else $as_nop
20646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20647 /* end confdefs.h. */
20650 main (void)
20652 __clear_cache((void*)0, (void*)0); return 0;
20654 return 0;
20656 _ACEOF
20657 if ac_fn_c_try_link "$LINENO"
20658 then :
20659 ac_cv_have___clear_cache="yes"
20660 else $as_nop
20661 ac_cv_have___clear_cache="no"
20663 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20664 conftest$ac_exeext conftest.$ac_ext
20666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20667 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20668 if test "$ac_cv_have___clear_cache" = "yes"
20669 then
20671 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20676 case $host_cpu in
20677 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20678 printf %s "checking whether we need to define __i386__... " >&6; }
20679 if test ${ac_cv_cpp_def___i386__+y}
20680 then :
20681 printf %s "(cached) " >&6
20682 else $as_nop
20683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20684 /* end confdefs.h. */
20685 #ifndef __i386__
20687 #endif
20688 _ACEOF
20689 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20690 $EGREP "yes" >/dev/null 2>&1
20691 then :
20692 ac_cv_cpp_def___i386__=yes
20693 else $as_nop
20694 ac_cv_cpp_def___i386__=no
20696 rm -rf conftest*
20699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20700 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20701 if test "x$ac_cv_cpp_def___i386__" = xyes
20702 then :
20703 CFLAGS="$CFLAGS -D__i386__"
20704 LINTFLAGS="$LINTFLAGS -D__i386__"
20705 fi ;;
20706 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20707 printf %s "checking whether we need to define __x86_64__... " >&6; }
20708 if test ${ac_cv_cpp_def___x86_64__+y}
20709 then :
20710 printf %s "(cached) " >&6
20711 else $as_nop
20712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20713 /* end confdefs.h. */
20714 #ifndef __x86_64__
20716 #endif
20717 _ACEOF
20718 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20719 $EGREP "yes" >/dev/null 2>&1
20720 then :
20721 ac_cv_cpp_def___x86_64__=yes
20722 else $as_nop
20723 ac_cv_cpp_def___x86_64__=no
20725 rm -rf conftest*
20728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20729 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20730 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20731 then :
20732 CFLAGS="$CFLAGS -D__x86_64__"
20733 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20734 fi ;;
20735 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20736 printf %s "checking whether we need to define __sparc64__... " >&6; }
20737 if test ${ac_cv_cpp_def___sparc64__+y}
20738 then :
20739 printf %s "(cached) " >&6
20740 else $as_nop
20741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20742 /* end confdefs.h. */
20743 #ifndef __sparc64__
20745 #endif
20746 _ACEOF
20747 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20748 $EGREP "yes" >/dev/null 2>&1
20749 then :
20750 ac_cv_cpp_def___sparc64__=yes
20751 else $as_nop
20752 ac_cv_cpp_def___sparc64__=no
20754 rm -rf conftest*
20757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20758 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20759 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20760 then :
20761 CFLAGS="$CFLAGS -D__sparc64__"
20762 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20763 fi ;;
20764 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20765 printf %s "checking whether we need to define __sparc__... " >&6; }
20766 if test ${ac_cv_cpp_def___sparc__+y}
20767 then :
20768 printf %s "(cached) " >&6
20769 else $as_nop
20770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20771 /* end confdefs.h. */
20772 #ifndef __sparc__
20774 #endif
20775 _ACEOF
20776 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20777 $EGREP "yes" >/dev/null 2>&1
20778 then :
20779 ac_cv_cpp_def___sparc__=yes
20780 else $as_nop
20781 ac_cv_cpp_def___sparc__=no
20783 rm -rf conftest*
20786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20787 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20788 if test "x$ac_cv_cpp_def___sparc__" = xyes
20789 then :
20790 CFLAGS="$CFLAGS -D__sparc__"
20791 LINTFLAGS="$LINTFLAGS -D__sparc__"
20792 fi ;;
20793 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20794 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20795 if test ${ac_cv_cpp_def___powerpc64__+y}
20796 then :
20797 printf %s "(cached) " >&6
20798 else $as_nop
20799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20800 /* end confdefs.h. */
20801 #ifndef __powerpc64__
20803 #endif
20804 _ACEOF
20805 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20806 $EGREP "yes" >/dev/null 2>&1
20807 then :
20808 ac_cv_cpp_def___powerpc64__=yes
20809 else $as_nop
20810 ac_cv_cpp_def___powerpc64__=no
20812 rm -rf conftest*
20815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20816 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20817 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20818 then :
20819 CFLAGS="$CFLAGS -D__powerpc64__"
20820 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20821 fi ;;
20822 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20823 printf %s "checking whether we need to define __powerpc__... " >&6; }
20824 if test ${ac_cv_cpp_def___powerpc__+y}
20825 then :
20826 printf %s "(cached) " >&6
20827 else $as_nop
20828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20829 /* end confdefs.h. */
20830 #ifndef __powerpc__
20832 #endif
20833 _ACEOF
20834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20835 $EGREP "yes" >/dev/null 2>&1
20836 then :
20837 ac_cv_cpp_def___powerpc__=yes
20838 else $as_nop
20839 ac_cv_cpp_def___powerpc__=no
20841 rm -rf conftest*
20844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20845 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20846 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20847 then :
20848 CFLAGS="$CFLAGS -D__powerpc__"
20849 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20850 fi ;;
20851 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20852 printf %s "checking whether we need to define __aarch64__... " >&6; }
20853 if test ${ac_cv_cpp_def___aarch64__+y}
20854 then :
20855 printf %s "(cached) " >&6
20856 else $as_nop
20857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20858 /* end confdefs.h. */
20859 #ifndef __aarch64__
20861 #endif
20862 _ACEOF
20863 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20864 $EGREP "yes" >/dev/null 2>&1
20865 then :
20866 ac_cv_cpp_def___aarch64__=yes
20867 else $as_nop
20868 ac_cv_cpp_def___aarch64__=no
20870 rm -rf conftest*
20873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20874 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20875 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20876 then :
20877 CFLAGS="$CFLAGS -D__aarch64__"
20878 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20879 fi ;;
20880 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20881 printf %s "checking whether we need to define __arm__... " >&6; }
20882 if test ${ac_cv_cpp_def___arm__+y}
20883 then :
20884 printf %s "(cached) " >&6
20885 else $as_nop
20886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20887 /* end confdefs.h. */
20888 #ifndef __arm__
20890 #endif
20891 _ACEOF
20892 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20893 $EGREP "yes" >/dev/null 2>&1
20894 then :
20895 ac_cv_cpp_def___arm__=yes
20896 else $as_nop
20897 ac_cv_cpp_def___arm__=no
20899 rm -rf conftest*
20902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20903 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20904 if test "x$ac_cv_cpp_def___arm__" = xyes
20905 then :
20906 CFLAGS="$CFLAGS -D__arm__"
20907 LINTFLAGS="$LINTFLAGS -D__arm__"
20908 fi ;;
20909 esac
20911 case $host_vendor in
20912 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20913 printf %s "checking whether we need to define __sun__... " >&6; }
20914 if test ${ac_cv_cpp_def___sun__+y}
20915 then :
20916 printf %s "(cached) " >&6
20917 else $as_nop
20918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20919 /* end confdefs.h. */
20920 #ifndef __sun__
20922 #endif
20923 _ACEOF
20924 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20925 $EGREP "yes" >/dev/null 2>&1
20926 then :
20927 ac_cv_cpp_def___sun__=yes
20928 else $as_nop
20929 ac_cv_cpp_def___sun__=no
20931 rm -rf conftest*
20934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20935 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
20936 if test "x$ac_cv_cpp_def___sun__" = xyes
20937 then :
20938 CFLAGS="$CFLAGS -D__sun__"
20939 LINTFLAGS="$LINTFLAGS -D__sun__"
20940 fi ;;
20941 esac
20947 ac_config_commands="$ac_config_commands include/stamp-h"
20949 printf %s "creating Makefile rules..." >&6
20951 makedep_flags=""
20952 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20954 wine_srcdir=
20955 test "$srcdir" = . || wine_srcdir="$srcdir/"
20957 ac_config_links="$ac_config_links wine:tools/winewrapper"
20958 wine_fn_config_symlink wine
20959 if test "$HOST_ARCH" = x86_64 -o -n "$with_wine64"; then
20960 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20961 wine_fn_config_symlink wine64
20964 wine_fn_config_makefile dlls/acledit enable_acledit
20965 wine_fn_config_makefile dlls/aclui enable_aclui
20966 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20967 wine_fn_config_makefile dlls/activeds enable_activeds
20968 wine_fn_config_makefile dlls/activeds/tests enable_tests
20969 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20970 wine_fn_config_makefile dlls/adsldp enable_adsldp
20971 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20972 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20973 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20974 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20975 wine_fn_config_makefile dlls/advpack enable_advpack
20976 wine_fn_config_makefile dlls/advpack/tests enable_tests
20977 wine_fn_config_makefile dlls/amsi enable_amsi
20978 wine_fn_config_makefile dlls/amstream enable_amstream
20979 wine_fn_config_makefile dlls/amstream/tests enable_tests
20980 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
20981 wine_fn_config_makefile dlls/apphelp enable_apphelp
20982 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20983 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20984 wine_fn_config_makefile dlls/atl enable_atl
20985 wine_fn_config_makefile dlls/atl/tests enable_tests
20986 wine_fn_config_makefile dlls/atl100 enable_atl100
20987 wine_fn_config_makefile dlls/atl100/tests enable_tests
20988 wine_fn_config_makefile dlls/atl110 enable_atl110
20989 wine_fn_config_makefile dlls/atl110/tests enable_tests
20990 wine_fn_config_makefile dlls/atl80 enable_atl80
20991 wine_fn_config_makefile dlls/atl80/tests enable_tests
20992 wine_fn_config_makefile dlls/atl90 enable_atl90
20993 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20994 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20995 wine_fn_config_makefile dlls/atmlib enable_atmlib
20996 wine_fn_config_makefile dlls/authz enable_authz
20997 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20998 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20999 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21000 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21001 wine_fn_config_makefile dlls/avrt enable_avrt
21002 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21003 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21004 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21005 wine_fn_config_makefile dlls/browseui enable_browseui
21006 wine_fn_config_makefile dlls/browseui/tests enable_tests
21007 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21008 wine_fn_config_makefile dlls/cabinet enable_cabinet
21009 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21010 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21011 wine_fn_config_makefile dlls/cards enable_cards
21012 wine_fn_config_makefile dlls/cdosys enable_cdosys
21013 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21014 wine_fn_config_makefile dlls/clusapi enable_clusapi
21015 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21016 wine_fn_config_makefile dlls/combase enable_combase
21017 wine_fn_config_makefile dlls/combase/tests enable_tests
21018 wine_fn_config_makefile dlls/comcat enable_comcat
21019 wine_fn_config_makefile dlls/comcat/tests enable_tests
21020 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21021 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21022 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21023 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21024 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21025 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21026 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21027 wine_fn_config_makefile dlls/compstui enable_compstui
21028 wine_fn_config_makefile dlls/compstui/tests enable_tests
21029 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21030 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21031 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21032 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21033 wine_fn_config_makefile dlls/connect enable_connect
21034 wine_fn_config_makefile dlls/credui enable_credui
21035 wine_fn_config_makefile dlls/credui/tests enable_tests
21036 wine_fn_config_makefile dlls/crtdll enable_crtdll
21037 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21038 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21039 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21040 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21041 wine_fn_config_makefile dlls/cryptext enable_cryptext
21042 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21043 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21044 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21045 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21046 wine_fn_config_makefile dlls/cryptui enable_cryptui
21047 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21048 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21049 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21050 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21051 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21052 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21053 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21054 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21055 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21056 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21057 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21058 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21059 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21060 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21061 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21062 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21063 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21064 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21065 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21066 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21067 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21068 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21069 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21070 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21071 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21072 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21073 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21074 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21075 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21076 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21077 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21078 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21079 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21080 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21081 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21082 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21083 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21084 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21085 wine_fn_config_makefile dlls/d3dim enable_d3dim
21086 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21087 wine_fn_config_makefile dlls/d3drm enable_d3drm
21088 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21089 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21090 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21091 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21092 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21093 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21094 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21095 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21096 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21097 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21098 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21099 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21100 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21101 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21102 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21103 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21104 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21105 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21106 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21107 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21108 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21109 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21110 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21111 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21112 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21113 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21114 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21115 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21116 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21117 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21118 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21119 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21120 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21121 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21122 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21123 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21124 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21125 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21126 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21127 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21128 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21129 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21130 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21131 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21132 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21133 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21134 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21135 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21136 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21137 wine_fn_config_makefile dlls/davclnt enable_davclnt
21138 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21139 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21140 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21141 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21142 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21143 wine_fn_config_makefile dlls/dcomp enable_dcomp
21144 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21145 wine_fn_config_makefile dlls/ddraw enable_ddraw
21146 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21147 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21148 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21149 wine_fn_config_makefile dlls/devenum enable_devenum
21150 wine_fn_config_makefile dlls/devenum/tests enable_tests
21151 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21152 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21153 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21154 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21155 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21156 wine_fn_config_makefile dlls/difxapi enable_difxapi
21157 wine_fn_config_makefile dlls/dinput enable_dinput
21158 wine_fn_config_makefile dlls/dinput/tests enable_tests
21159 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21160 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21161 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21162 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21163 wine_fn_config_makefile dlls/dispex enable_dispex
21164 wine_fn_config_makefile dlls/dispex/tests enable_tests
21165 wine_fn_config_makefile dlls/display.drv16 enable_win16
21166 wine_fn_config_makefile dlls/dmband enable_dmband
21167 wine_fn_config_makefile dlls/dmband/tests enable_tests
21168 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21169 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21170 wine_fn_config_makefile dlls/dmime enable_dmime
21171 wine_fn_config_makefile dlls/dmime/tests enable_tests
21172 wine_fn_config_makefile dlls/dmloader enable_dmloader
21173 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21174 wine_fn_config_makefile dlls/dmscript enable_dmscript
21175 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21176 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21177 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21178 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21179 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21180 wine_fn_config_makefile dlls/dmusic enable_dmusic
21181 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21182 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21183 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21184 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21185 wine_fn_config_makefile dlls/dplay enable_dplay
21186 wine_fn_config_makefile dlls/dplayx enable_dplayx
21187 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21188 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21189 wine_fn_config_makefile dlls/dpnet enable_dpnet
21190 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21191 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21192 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21193 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21194 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21195 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21196 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21197 wine_fn_config_makefile dlls/drmclien enable_drmclien
21198 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21199 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21200 wine_fn_config_makefile dlls/dsound enable_dsound
21201 wine_fn_config_makefile dlls/dsound/tests enable_tests
21202 wine_fn_config_makefile dlls/dsquery enable_dsquery
21203 wine_fn_config_makefile dlls/dssenh enable_dssenh
21204 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21205 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21206 wine_fn_config_makefile dlls/dswave enable_dswave
21207 wine_fn_config_makefile dlls/dswave/tests enable_tests
21208 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21209 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21210 wine_fn_config_makefile dlls/dwrite enable_dwrite
21211 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21212 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21213 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21214 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21215 wine_fn_config_makefile dlls/dxgi enable_dxgi
21216 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21217 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21218 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21219 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21220 wine_fn_config_makefile dlls/esent enable_esent
21221 wine_fn_config_makefile dlls/evr enable_evr
21222 wine_fn_config_makefile dlls/evr/tests enable_tests
21223 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21224 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21225 wine_fn_config_makefile dlls/faultrep enable_faultrep
21226 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21227 wine_fn_config_makefile dlls/feclient enable_feclient
21228 wine_fn_config_makefile dlls/fltlib enable_fltlib
21229 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21230 wine_fn_config_makefile dlls/fntcache enable_fntcache
21231 wine_fn_config_makefile dlls/fontsub enable_fontsub
21232 wine_fn_config_makefile dlls/fusion enable_fusion
21233 wine_fn_config_makefile dlls/fusion/tests enable_tests
21234 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21235 wine_fn_config_makefile dlls/gameux enable_gameux
21236 wine_fn_config_makefile dlls/gameux/tests enable_tests
21237 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21238 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21239 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21240 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21241 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21242 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21243 wine_fn_config_makefile dlls/glu32 enable_glu32
21244 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21245 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21246 wine_fn_config_makefile dlls/hal enable_hal
21247 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21248 wine_fn_config_makefile dlls/hid enable_hid
21249 wine_fn_config_makefile dlls/hid/tests enable_tests
21250 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21251 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21252 wine_fn_config_makefile dlls/hlink enable_hlink
21253 wine_fn_config_makefile dlls/hlink/tests enable_tests
21254 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21255 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21256 wine_fn_config_makefile dlls/http.sys enable_http_sys
21257 wine_fn_config_makefile dlls/httpapi enable_httpapi
21258 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21259 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21260 wine_fn_config_makefile dlls/iccvid enable_iccvid
21261 wine_fn_config_makefile dlls/icmp enable_icmp
21262 wine_fn_config_makefile dlls/ieframe enable_ieframe
21263 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21264 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21265 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21266 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21267 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21268 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21269 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21270 wine_fn_config_makefile dlls/imm32 enable_imm32
21271 wine_fn_config_makefile dlls/imm32/tests enable_tests
21272 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21273 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21274 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21275 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21276 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21277 wine_fn_config_makefile dlls/infosoft enable_infosoft
21278 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21279 wine_fn_config_makefile dlls/initpki enable_initpki
21280 wine_fn_config_makefile dlls/inkobj enable_inkobj
21281 wine_fn_config_makefile dlls/inseng enable_inseng
21282 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21283 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21284 wine_fn_config_makefile dlls/iprop enable_iprop
21285 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21286 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21287 wine_fn_config_makefile dlls/itircl enable_itircl
21288 wine_fn_config_makefile dlls/itss enable_itss
21289 wine_fn_config_makefile dlls/itss/tests enable_tests
21290 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21291 wine_fn_config_makefile dlls/jscript enable_jscript
21292 wine_fn_config_makefile dlls/jscript/tests enable_tests
21293 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21294 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21295 wine_fn_config_makefile dlls/kerberos enable_kerberos
21296 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21297 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21298 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21299 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21300 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21301 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21302 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21303 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21304 wine_fn_config_makefile dlls/ksuser enable_ksuser
21305 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21306 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21307 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21308 wine_fn_config_makefile dlls/loadperf enable_loadperf
21309 wine_fn_config_makefile dlls/localspl enable_localspl
21310 wine_fn_config_makefile dlls/localspl/tests enable_tests
21311 wine_fn_config_makefile dlls/localui enable_localui
21312 wine_fn_config_makefile dlls/localui/tests enable_tests
21313 wine_fn_config_makefile dlls/lz32 enable_lz32
21314 wine_fn_config_makefile dlls/lz32/tests enable_tests
21315 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21316 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21317 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21318 wine_fn_config_makefile dlls/mapistub enable_mapistub
21319 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21320 wine_fn_config_makefile dlls/mcicda enable_mcicda
21321 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21322 wine_fn_config_makefile dlls/mciseq enable_mciseq
21323 wine_fn_config_makefile dlls/mciwave enable_mciwave
21324 wine_fn_config_makefile dlls/mf enable_mf
21325 wine_fn_config_makefile dlls/mf/tests enable_tests
21326 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21327 wine_fn_config_makefile dlls/mferror enable_mferror
21328 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21329 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21330 wine_fn_config_makefile dlls/mfplat enable_mfplat
21331 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21332 wine_fn_config_makefile dlls/mfplay enable_mfplay
21333 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21334 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21335 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21336 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21337 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21338 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21339 wine_fn_config_makefile dlls/midimap enable_midimap
21340 wine_fn_config_makefile dlls/mlang enable_mlang
21341 wine_fn_config_makefile dlls/mlang/tests enable_tests
21342 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21343 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21344 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21345 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21346 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21347 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21348 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21349 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21350 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21351 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21352 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21353 wine_fn_config_makefile dlls/mpr enable_mpr
21354 wine_fn_config_makefile dlls/mpr/tests enable_tests
21355 wine_fn_config_makefile dlls/mprapi enable_mprapi
21356 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21357 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21358 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21359 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21360 wine_fn_config_makefile dlls/msado15 enable_msado15
21361 wine_fn_config_makefile dlls/msado15/tests enable_tests
21362 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21363 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21364 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21365 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21366 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21367 wine_fn_config_makefile dlls/mscms enable_mscms
21368 wine_fn_config_makefile dlls/mscms/tests enable_tests
21369 wine_fn_config_makefile dlls/mscoree enable_mscoree
21370 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21371 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21372 wine_fn_config_makefile dlls/msctf enable_msctf
21373 wine_fn_config_makefile dlls/msctf/tests enable_tests
21374 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21375 wine_fn_config_makefile dlls/msctfp enable_msctfp
21376 wine_fn_config_makefile dlls/msdaps enable_msdaps
21377 wine_fn_config_makefile dlls/msdasql enable_msdasql
21378 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21379 wine_fn_config_makefile dlls/msdelta enable_msdelta
21380 wine_fn_config_makefile dlls/msdmo enable_msdmo
21381 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21382 wine_fn_config_makefile dlls/msdrm enable_msdrm
21383 wine_fn_config_makefile dlls/msftedit enable_msftedit
21384 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21385 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21386 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21387 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21388 wine_fn_config_makefile dlls/mshtml enable_mshtml
21389 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21390 wine_fn_config_makefile dlls/msi enable_msi
21391 wine_fn_config_makefile dlls/msi/tests enable_tests
21392 wine_fn_config_makefile dlls/msident enable_msident
21393 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21394 wine_fn_config_makefile dlls/msimsg enable_msimsg
21395 wine_fn_config_makefile dlls/msimtf enable_msimtf
21396 wine_fn_config_makefile dlls/msisip enable_msisip
21397 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21398 wine_fn_config_makefile dlls/msls31 enable_msls31
21399 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21400 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21401 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21402 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21403 wine_fn_config_makefile dlls/msports enable_msports
21404 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21405 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21406 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21407 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21408 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21409 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21410 wine_fn_config_makefile dlls/mstask enable_mstask
21411 wine_fn_config_makefile dlls/mstask/tests enable_tests
21412 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21413 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21414 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21415 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21416 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21417 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21418 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21419 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21420 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21421 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21422 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21423 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21424 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21425 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21426 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21427 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21428 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21429 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21430 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21431 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21432 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21433 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21434 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21435 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21436 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21437 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21438 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21439 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21440 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21441 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21442 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21443 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21444 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21445 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21446 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21447 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21448 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21449 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21450 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21451 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21452 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21453 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21454 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21455 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21456 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21457 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21458 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21459 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21460 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21461 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21462 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21463 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21464 wine_fn_config_makefile dlls/mswsock enable_mswsock
21465 wine_fn_config_makefile dlls/msxml enable_msxml
21466 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21467 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21468 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21469 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21470 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21471 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21472 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21473 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21474 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21475 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21476 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21477 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21478 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21479 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21480 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21481 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21482 wine_fn_config_makefile dlls/netprofm enable_netprofm
21483 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21484 wine_fn_config_makefile dlls/netutils enable_netutils
21485 wine_fn_config_makefile dlls/newdev enable_newdev
21486 wine_fn_config_makefile dlls/ninput enable_ninput
21487 wine_fn_config_makefile dlls/ninput/tests enable_tests
21488 wine_fn_config_makefile dlls/normaliz enable_normaliz
21489 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21490 wine_fn_config_makefile dlls/npptools enable_npptools
21491 wine_fn_config_makefile dlls/nsi enable_nsi
21492 wine_fn_config_makefile dlls/nsi/tests enable_tests
21493 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21494 wine_fn_config_makefile dlls/ntdll enable_ntdll
21495 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21496 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21497 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21498 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21499 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21500 wine_fn_config_makefile dlls/ntprint enable_ntprint
21501 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21502 wine_fn_config_makefile dlls/objsel enable_objsel
21503 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21504 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21505 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21506 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21507 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21508 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21509 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21510 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21511 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21512 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21513 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21514 wine_fn_config_makefile dlls/ole32 enable_ole32
21515 wine_fn_config_makefile dlls/ole32/tests enable_tests
21516 wine_fn_config_makefile dlls/oleacc enable_oleacc
21517 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21518 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21519 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21520 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21521 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21522 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21523 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21524 wine_fn_config_makefile dlls/oledlg enable_oledlg
21525 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21526 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21527 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21528 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21529 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21530 wine_fn_config_makefile dlls/opcservices enable_opcservices
21531 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21532 wine_fn_config_makefile dlls/opencl enable_opencl
21533 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21534 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21535 wine_fn_config_makefile dlls/packager enable_packager
21536 wine_fn_config_makefile dlls/packager/tests enable_tests
21537 wine_fn_config_makefile dlls/pdh enable_pdh
21538 wine_fn_config_makefile dlls/pdh/tests enable_tests
21539 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21540 wine_fn_config_makefile dlls/pidgen enable_pidgen
21541 wine_fn_config_makefile dlls/powrprof enable_powrprof
21542 wine_fn_config_makefile dlls/printui enable_printui
21543 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21544 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21545 wine_fn_config_makefile dlls/propsys enable_propsys
21546 wine_fn_config_makefile dlls/propsys/tests enable_tests
21547 wine_fn_config_makefile dlls/psapi enable_psapi
21548 wine_fn_config_makefile dlls/psapi/tests enable_tests
21549 wine_fn_config_makefile dlls/pstorec enable_pstorec
21550 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21551 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21552 wine_fn_config_makefile dlls/qasf enable_qasf
21553 wine_fn_config_makefile dlls/qasf/tests enable_tests
21554 wine_fn_config_makefile dlls/qcap enable_qcap
21555 wine_fn_config_makefile dlls/qcap/tests enable_tests
21556 wine_fn_config_makefile dlls/qdvd enable_qdvd
21557 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21558 wine_fn_config_makefile dlls/qedit enable_qedit
21559 wine_fn_config_makefile dlls/qedit/tests enable_tests
21560 wine_fn_config_makefile dlls/qmgr enable_qmgr
21561 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21562 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21563 wine_fn_config_makefile dlls/quartz enable_quartz
21564 wine_fn_config_makefile dlls/quartz/tests enable_tests
21565 wine_fn_config_makefile dlls/query enable_query
21566 wine_fn_config_makefile dlls/qwave enable_qwave
21567 wine_fn_config_makefile dlls/qwave/tests enable_tests
21568 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21569 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21570 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21571 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21572 wine_fn_config_makefile dlls/regapi enable_regapi
21573 wine_fn_config_makefile dlls/resutils enable_resutils
21574 wine_fn_config_makefile dlls/riched20 enable_riched20
21575 wine_fn_config_makefile dlls/riched20/tests enable_tests
21576 wine_fn_config_makefile dlls/riched32 enable_riched32
21577 wine_fn_config_makefile dlls/riched32/tests enable_tests
21578 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21579 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21580 wine_fn_config_makefile dlls/rsabase enable_rsabase
21581 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21582 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21583 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21584 wine_fn_config_makefile dlls/rtutils enable_rtutils
21585 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21586 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21587 wine_fn_config_makefile dlls/samlib enable_samlib
21588 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21589 wine_fn_config_makefile dlls/sapi enable_sapi
21590 wine_fn_config_makefile dlls/sapi/tests enable_tests
21591 wine_fn_config_makefile dlls/sas enable_sas
21592 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21593 wine_fn_config_makefile dlls/sccbase enable_sccbase
21594 wine_fn_config_makefile dlls/schannel enable_schannel
21595 wine_fn_config_makefile dlls/schannel/tests enable_tests
21596 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21597 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21598 wine_fn_config_makefile dlls/scrobj enable_scrobj
21599 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21600 wine_fn_config_makefile dlls/scrrun enable_scrrun
21601 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21602 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21603 wine_fn_config_makefile dlls/sechost enable_sechost
21604 wine_fn_config_makefile dlls/secur32 enable_secur32
21605 wine_fn_config_makefile dlls/secur32/tests enable_tests
21606 wine_fn_config_makefile dlls/security enable_security
21607 wine_fn_config_makefile dlls/sensapi enable_sensapi
21608 wine_fn_config_makefile dlls/serialui enable_serialui
21609 wine_fn_config_makefile dlls/serialui/tests enable_tests
21610 wine_fn_config_makefile dlls/setupapi enable_setupapi
21611 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21612 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21613 wine_fn_config_makefile dlls/sfc enable_sfc
21614 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21615 wine_fn_config_makefile dlls/shcore enable_shcore
21616 wine_fn_config_makefile dlls/shcore/tests enable_tests
21617 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21618 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21619 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21620 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21621 wine_fn_config_makefile dlls/shell32 enable_shell32
21622 wine_fn_config_makefile dlls/shell32/tests enable_tests
21623 wine_fn_config_makefile dlls/shfolder enable_shfolder
21624 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21625 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21626 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21627 wine_fn_config_makefile dlls/slc enable_slc
21628 wine_fn_config_makefile dlls/slc/tests enable_tests
21629 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21630 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21631 wine_fn_config_makefile dlls/softpub enable_softpub
21632 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21633 wine_fn_config_makefile dlls/spoolss enable_spoolss
21634 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21635 wine_fn_config_makefile dlls/sppc enable_sppc
21636 wine_fn_config_makefile dlls/srclient enable_srclient
21637 wine_fn_config_makefile dlls/srvcli enable_srvcli
21638 wine_fn_config_makefile dlls/sspicli enable_sspicli
21639 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21640 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21641 wine_fn_config_makefile dlls/sti enable_sti
21642 wine_fn_config_makefile dlls/sti/tests enable_tests
21643 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21644 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21645 wine_fn_config_makefile dlls/strmdll enable_strmdll
21646 wine_fn_config_makefile dlls/svrapi enable_svrapi
21647 wine_fn_config_makefile dlls/sxs enable_sxs
21648 wine_fn_config_makefile dlls/sxs/tests enable_tests
21649 wine_fn_config_makefile dlls/system.drv16 enable_win16
21650 wine_fn_config_makefile dlls/t2embed enable_t2embed
21651 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21652 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21653 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21654 wine_fn_config_makefile dlls/taskschd enable_taskschd
21655 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21656 wine_fn_config_makefile dlls/tbs enable_tbs
21657 wine_fn_config_makefile dlls/tdh enable_tdh
21658 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21659 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21660 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21661 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21662 wine_fn_config_makefile dlls/traffic enable_traffic
21663 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21664 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21665 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21666 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21667 wine_fn_config_makefile dlls/tzres enable_tzres
21668 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21669 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21670 wine_fn_config_makefile dlls/uianimation enable_uianimation
21671 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21672 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21673 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21674 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21675 wine_fn_config_makefile dlls/unicows enable_unicows
21676 wine_fn_config_makefile dlls/updspapi enable_updspapi
21677 wine_fn_config_makefile dlls/url enable_url
21678 wine_fn_config_makefile dlls/urlmon enable_urlmon
21679 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21680 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21681 wine_fn_config_makefile dlls/user.exe16 enable_win16
21682 wine_fn_config_makefile dlls/user32 enable_user32
21683 wine_fn_config_makefile dlls/user32/tests enable_tests
21684 wine_fn_config_makefile dlls/userenv enable_userenv
21685 wine_fn_config_makefile dlls/userenv/tests enable_tests
21686 wine_fn_config_makefile dlls/usp10 enable_usp10
21687 wine_fn_config_makefile dlls/usp10/tests enable_tests
21688 wine_fn_config_makefile dlls/utildll enable_utildll
21689 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21690 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21691 wine_fn_config_makefile dlls/vbscript enable_vbscript
21692 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21693 wine_fn_config_makefile dlls/vcomp enable_vcomp
21694 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21695 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21696 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21697 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21698 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21699 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21700 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21701 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21702 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21703 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21704 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21705 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21706 wine_fn_config_makefile dlls/version enable_version
21707 wine_fn_config_makefile dlls/version/tests enable_tests
21708 wine_fn_config_makefile dlls/vga enable_vga
21709 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21710 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21711 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21712 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21713 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21714 wine_fn_config_makefile dlls/vssapi enable_vssapi
21715 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21716 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21717 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21718 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21719 wine_fn_config_makefile dlls/w32skrnl enable_win16
21720 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21721 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21722 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21723 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21724 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21725 wine_fn_config_makefile dlls/wdscore enable_wdscore
21726 wine_fn_config_makefile dlls/webservices enable_webservices
21727 wine_fn_config_makefile dlls/webservices/tests enable_tests
21728 wine_fn_config_makefile dlls/websocket enable_websocket
21729 wine_fn_config_makefile dlls/wer enable_wer
21730 wine_fn_config_makefile dlls/wer/tests enable_tests
21731 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21732 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21733 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21734 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21735 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21736 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21737 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21738 wine_fn_config_makefile dlls/win32u enable_win32u
21739 wine_fn_config_makefile dlls/win32u/tests enable_tests
21740 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21741 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21742 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21743 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21744 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21745 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21746 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21747 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21748 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21749 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21750 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21751 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21752 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21753 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21754 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21755 wine_fn_config_makefile dlls/windows.media enable_windows_media
21756 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21757 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21758 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21759 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21760 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21761 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21762 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21763 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21764 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21765 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21766 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21767 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21768 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21769 wine_fn_config_makefile dlls/wined3d enable_wined3d
21770 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21771 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21772 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21773 wine_fn_config_makefile dlls/winemapi enable_winemapi
21774 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21775 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21776 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21777 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21778 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21779 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21780 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21781 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21782 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21783 wine_fn_config_makefile dlls/wing32 enable_wing32
21784 wine_fn_config_makefile dlls/winhttp enable_winhttp
21785 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21786 wine_fn_config_makefile dlls/wininet enable_wininet
21787 wine_fn_config_makefile dlls/wininet/tests enable_tests
21788 wine_fn_config_makefile dlls/winmm enable_winmm
21789 wine_fn_config_makefile dlls/winmm/tests enable_tests
21790 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21791 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21792 wine_fn_config_makefile dlls/winprint enable_winprint
21793 wine_fn_config_makefile dlls/winscard enable_winscard
21794 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21795 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21796 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21797 wine_fn_config_makefile dlls/winsta enable_winsta
21798 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21799 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21800 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21801 wine_fn_config_makefile dlls/wintrust enable_wintrust
21802 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21803 wine_fn_config_makefile dlls/wintypes enable_wintypes
21804 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21805 wine_fn_config_makefile dlls/winusb enable_winusb
21806 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21807 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21808 wine_fn_config_makefile dlls/wlanui enable_wlanui
21809 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21810 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21811 wine_fn_config_makefile dlls/wmasf enable_wmasf
21812 wine_fn_config_makefile dlls/wmi enable_wmi
21813 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21814 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21815 wine_fn_config_makefile dlls/wmp enable_wmp
21816 wine_fn_config_makefile dlls/wmp/tests enable_tests
21817 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21818 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21819 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21820 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21821 wine_fn_config_makefile dlls/wofutil enable_wofutil
21822 wine_fn_config_makefile dlls/wow32 enable_win16
21823 wine_fn_config_makefile dlls/wow64 enable_wow64
21824 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21825 wine_fn_config_makefile dlls/wow64win enable_wow64win
21826 wine_fn_config_makefile dlls/wpc enable_wpc
21827 wine_fn_config_makefile dlls/wpc/tests enable_tests
21828 wine_fn_config_makefile dlls/wpcap enable_wpcap
21829 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21830 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21831 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21832 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21833 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21834 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21835 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21836 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21837 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21838 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21839 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21840 wine_fn_config_makefile dlls/wuapi enable_wuapi
21841 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21842 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21843 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21844 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21845 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21846 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21847 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21848 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21849 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21850 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21851 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21852 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21853 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21854 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21855 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21856 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21857 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21858 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21859 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21860 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21861 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21862 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21863 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21864 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21865 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21866 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21867 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21868 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21869 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21870 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21871 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21872 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21873 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21874 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21875 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21876 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21877 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21878 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21879 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21880 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21881 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21882 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21883 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21884 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21885 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
21886 wine_fn_config_makefile dlls/xmllite enable_xmllite
21887 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21888 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21889 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21890 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21891 wine_fn_config_makefile fonts enable_fonts
21892 wine_fn_config_makefile include enable_include
21893 wine_fn_config_makefile libs/adsiid enable_adsiid
21894 wine_fn_config_makefile libs/dmoguids enable_dmoguids
21895 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
21896 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
21897 wine_fn_config_makefile libs/dxguid enable_dxguid
21898 wine_fn_config_makefile libs/faudio enable_faudio
21899 wine_fn_config_makefile libs/gsm enable_gsm
21900 wine_fn_config_makefile libs/jpeg enable_jpeg
21901 wine_fn_config_makefile libs/jxr enable_jxr
21902 wine_fn_config_makefile libs/lcms2 enable_lcms2
21903 wine_fn_config_makefile libs/ldap enable_ldap
21904 wine_fn_config_makefile libs/mfuuid enable_mfuuid
21905 wine_fn_config_makefile libs/mpg123 enable_mpg123
21906 wine_fn_config_makefile libs/png enable_png
21907 wine_fn_config_makefile libs/strmbase enable_strmbase
21908 wine_fn_config_makefile libs/strmiids enable_strmiids
21909 wine_fn_config_makefile libs/tiff enable_tiff
21910 wine_fn_config_makefile libs/uuid enable_uuid
21911 wine_fn_config_makefile libs/vkd3d enable_vkd3d
21912 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
21913 wine_fn_config_makefile libs/wine enable_wine
21914 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
21915 wine_fn_config_makefile libs/xml2 enable_xml2
21916 wine_fn_config_makefile libs/xslt enable_xslt
21917 wine_fn_config_makefile libs/zlib enable_zlib
21918 wine_fn_config_makefile loader enable_loader
21919 wine_fn_config_makefile nls enable_nls
21920 wine_fn_config_makefile po enable_po
21921 wine_fn_config_makefile programs/arp enable_arp
21922 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21923 wine_fn_config_makefile programs/attrib enable_attrib
21924 wine_fn_config_makefile programs/cabarc enable_cabarc
21925 wine_fn_config_makefile programs/cacls enable_cacls
21926 wine_fn_config_makefile programs/certutil enable_certutil
21927 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21928 wine_fn_config_makefile programs/clock enable_clock
21929 wine_fn_config_makefile programs/cmd enable_cmd
21930 wine_fn_config_makefile programs/cmd/tests enable_tests
21931 wine_fn_config_makefile programs/conhost enable_conhost
21932 wine_fn_config_makefile programs/conhost/tests enable_tests
21933 wine_fn_config_makefile programs/control enable_control
21934 wine_fn_config_makefile programs/cscript enable_cscript
21935 wine_fn_config_makefile programs/dism enable_dism
21936 wine_fn_config_makefile programs/dllhost enable_dllhost
21937 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21938 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21939 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21940 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21941 wine_fn_config_makefile programs/eject enable_eject
21942 wine_fn_config_makefile programs/expand enable_expand
21943 wine_fn_config_makefile programs/explorer enable_explorer
21944 wine_fn_config_makefile programs/explorer/tests enable_tests
21945 wine_fn_config_makefile programs/extrac32 enable_extrac32
21946 wine_fn_config_makefile programs/fc enable_fc
21947 wine_fn_config_makefile programs/find enable_find
21948 wine_fn_config_makefile programs/find/tests enable_tests
21949 wine_fn_config_makefile programs/findstr enable_findstr
21950 wine_fn_config_makefile programs/fsutil enable_fsutil
21951 wine_fn_config_makefile programs/fsutil/tests enable_tests
21952 wine_fn_config_makefile programs/hh enable_hh
21953 wine_fn_config_makefile programs/hostname enable_hostname
21954 wine_fn_config_makefile programs/icacls enable_icacls
21955 wine_fn_config_makefile programs/icinfo enable_icinfo
21956 wine_fn_config_makefile programs/iexplore enable_iexplore
21957 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21958 wine_fn_config_makefile programs/lodctr enable_lodctr
21959 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21960 wine_fn_config_makefile programs/mshta enable_mshta
21961 wine_fn_config_makefile programs/msidb enable_msidb
21962 wine_fn_config_makefile programs/msiexec enable_msiexec
21963 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21964 wine_fn_config_makefile programs/net enable_net
21965 wine_fn_config_makefile programs/netsh enable_netsh
21966 wine_fn_config_makefile programs/netstat enable_netstat
21967 wine_fn_config_makefile programs/ngen enable_ngen
21968 wine_fn_config_makefile programs/notepad enable_notepad
21969 wine_fn_config_makefile programs/oleview enable_oleview
21970 wine_fn_config_makefile programs/ping enable_ping
21971 wine_fn_config_makefile programs/plugplay enable_plugplay
21972 wine_fn_config_makefile programs/powershell enable_powershell
21973 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21974 wine_fn_config_makefile programs/progman enable_progman
21975 wine_fn_config_makefile programs/reg enable_reg
21976 wine_fn_config_makefile programs/reg/tests enable_tests
21977 wine_fn_config_makefile programs/regasm enable_regasm
21978 wine_fn_config_makefile programs/regedit enable_regedit
21979 wine_fn_config_makefile programs/regedit/tests enable_tests
21980 wine_fn_config_makefile programs/regini enable_regini
21981 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21982 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21983 wine_fn_config_makefile programs/robocopy enable_robocopy
21984 wine_fn_config_makefile programs/rpcss enable_rpcss
21985 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21986 wine_fn_config_makefile programs/rundll32 enable_rundll32
21987 wine_fn_config_makefile programs/sc enable_sc
21988 wine_fn_config_makefile programs/sc/tests enable_tests
21989 wine_fn_config_makefile programs/schtasks enable_schtasks
21990 wine_fn_config_makefile programs/schtasks/tests enable_tests
21991 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21992 wine_fn_config_makefile programs/secedit enable_secedit
21993 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21994 wine_fn_config_makefile programs/services enable_services
21995 wine_fn_config_makefile programs/services/tests enable_tests
21996 wine_fn_config_makefile programs/setx enable_setx
21997 wine_fn_config_makefile programs/shutdown enable_shutdown
21998 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21999 wine_fn_config_makefile programs/start enable_start
22000 wine_fn_config_makefile programs/subst enable_subst
22001 wine_fn_config_makefile programs/svchost enable_svchost
22002 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22003 wine_fn_config_makefile programs/taskkill enable_taskkill
22004 wine_fn_config_makefile programs/tasklist enable_tasklist
22005 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22006 wine_fn_config_makefile programs/termsv enable_termsv
22007 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22008 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22009 wine_fn_config_makefile programs/view enable_view
22010 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22011 wine_fn_config_makefile programs/where enable_where
22012 wine_fn_config_makefile programs/whoami enable_whoami
22013 wine_fn_config_makefile programs/wineboot enable_wineboot
22014 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22015 wine_fn_config_makefile programs/winecfg enable_winecfg
22016 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22017 wine_fn_config_makefile programs/winedbg enable_winedbg
22018 wine_fn_config_makefile programs/winedevice enable_winedevice
22019 wine_fn_config_makefile programs/winefile enable_winefile
22020 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22021 wine_fn_config_makefile programs/winemine enable_winemine
22022 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22023 wine_fn_config_makefile programs/winepath enable_winepath
22024 wine_fn_config_makefile programs/winetest enable_winetest
22025 wine_fn_config_makefile programs/winevdm enable_win16
22026 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22027 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22028 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22029 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22030 wine_fn_config_makefile programs/winver enable_winver
22031 wine_fn_config_makefile programs/wmic enable_wmic
22032 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22033 wine_fn_config_makefile programs/wordpad enable_wordpad
22034 wine_fn_config_makefile programs/write enable_write
22035 wine_fn_config_makefile programs/wscript enable_wscript
22036 wine_fn_config_makefile programs/wscript/tests enable_tests
22037 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22038 wine_fn_config_makefile programs/wusa enable_wusa
22039 wine_fn_config_makefile programs/xcopy enable_xcopy
22040 wine_fn_config_makefile programs/xcopy/tests enable_tests
22041 wine_fn_config_makefile server enable_server
22042 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22043 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22044 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22045 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22046 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22047 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22048 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22049 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22050 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22053 as_fn_append CONFIGURE_TARGETS " TAGS"
22054 as_fn_append CONFIGURE_TARGETS " tags"
22055 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22056 as_fn_append CONFIGURE_TARGETS " config.log"
22057 as_fn_append CONFIGURE_TARGETS " config.status"
22058 as_fn_append CONFIGURE_TARGETS " include/config.h"
22059 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22060 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22062 if test "x$enable_tools" != xno
22063 then
22064 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22065 ac_config_commands="$ac_config_commands tools/makedep"
22069 ac_config_commands="$ac_config_commands Makefile"
22073 SHELL=/bin/sh
22076 as_fn_append wine_rules "
22077 all: wine
22078 @echo \"Wine build complete.\"
22079 .INIT: Makefile
22080 .MAKEFILEDEPS:
22081 all: Makefile
22082 Makefile: config.status \$(MAKEDEP)
22083 @./config.status Makefile
22084 depend: \$(MAKEDEP)
22085 \$(MAKEDEP)$makedep_flags"
22088 as_fn_append wine_rules "
22089 config.status: ${wine_srcdir}configure
22090 @./config.status --recheck
22091 include/config.h: include/stamp-h
22092 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22093 @./config.status include/config.h include/stamp-h"
22095 if test "x$enable_maintainer_mode" = xyes
22096 then
22097 as_fn_append wine_rules "
22098 configure: configure.ac aclocal.m4
22099 autoconf --warnings=all
22100 include/config.h.in: include/stamp-h.in
22101 include/stamp-h.in: configure.ac aclocal.m4
22102 autoheader --warnings=all
22103 @echo timestamp > \$@"
22106 if test "x$enable_tools" != xno
22107 then
22108 as_fn_append wine_rules "
22109 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22110 @./config.status tools/makedep
22111 Makefile: tools/makedep$ac_exeext"
22112 else
22113 as_fn_append wine_rules "
22114 \$(MAKEDEP):
22115 @echo \"You need to run make in $toolsdir first\" && false"
22119 if test -n "$with_wine64"
22120 then
22121 case "$with_wine64" in
22122 /*) reldir="" ;;
22123 *) reldir="../" ;;
22124 esac
22125 rm -f fonts server 2>/dev/null
22126 as_fn_append wine_rules "
22127 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22128 loader/wine64 loader/wine64-preloader:
22129 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22130 $with_wine64/loader/wine:
22131 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22132 $with_wine64/loader/wine-preloader:
22133 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22134 clean::
22135 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22136 else
22137 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22138 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22139 fonts \
22140 loader/wine.inf \
22141 nls \
22142 programs/msidb/msidb \
22143 programs/msiexec/msiexec \
22144 programs/notepad/notepad \
22145 programs/regedit/regedit \
22146 programs/regsvr32/regsvr32 \
22147 programs/wineboot/wineboot \
22148 programs/winecfg/winecfg \
22149 programs/wineconsole/wineconsole \
22150 programs/winedbg/winedbg \
22151 programs/winefile/winefile \
22152 programs/winemine/winemine \
22153 programs/winepath/winepath \
22154 server/wineserver"
22156 case $host_os in
22157 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22158 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22159 esac
22163 as_fn_append wine_rules "
22164 distclean:: clean
22165 rm -rf autom4te.cache
22166 maintainer-clean::
22167 rm -f configure include/config.h.in"
22170 as_fn_append wine_rules "
22171 dlls/ntdll/unix/version.c: dummy
22172 @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)
22173 programs/winetest/build.rc: dummy
22174 @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)
22175 programs/winetest/build.nfo:
22176 @-\$(CC) -v 2>\$@
22177 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
22178 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22179 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22182 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22184 as_fn_append wine_rules "
22185 TAGS etags:
22186 rm -f TAGS
22187 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22188 tags ctags:
22189 rm -f tags
22190 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22191 dummy:
22192 .PHONY: depend dummy install-manpages"
22194 printf "%s\n" " done" >&6
22195 cat >confcache <<\_ACEOF
22196 # This file is a shell script that caches the results of configure
22197 # tests run on this system so they can be shared between configure
22198 # scripts and configure runs, see configure's option --config-cache.
22199 # It is not useful on other systems. If it contains results you don't
22200 # want to keep, you may remove or edit it.
22202 # config.status only pays attention to the cache file if you give it
22203 # the --recheck option to rerun configure.
22205 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22206 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22207 # following values.
22209 _ACEOF
22211 # The following way of writing the cache mishandles newlines in values,
22212 # but we know of no workaround that is simple, portable, and efficient.
22213 # So, we kill variables containing newlines.
22214 # Ultrix sh set writes to stderr and can't be redirected directly,
22215 # and sets the high bit in the cache file unless we assign to the vars.
22217 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22218 eval ac_val=\$$ac_var
22219 case $ac_val in #(
22220 *${as_nl}*)
22221 case $ac_var in #(
22222 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22223 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22224 esac
22225 case $ac_var in #(
22226 _ | IFS | as_nl) ;; #(
22227 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22228 *) { eval $ac_var=; unset $ac_var;} ;;
22229 esac ;;
22230 esac
22231 done
22233 (set) 2>&1 |
22234 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22235 *${as_nl}ac_space=\ *)
22236 # `set' does not quote correctly, so add quotes: double-quote
22237 # substitution turns \\\\ into \\, and sed turns \\ into \.
22238 sed -n \
22239 "s/'/'\\\\''/g;
22240 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22241 ;; #(
22243 # `set' quotes correctly as required by POSIX, so do not add quotes.
22244 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22246 esac |
22247 sort
22249 sed '
22250 /^ac_cv_env_/b end
22251 t clear
22252 :clear
22253 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22254 t end
22255 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22256 :end' >>confcache
22257 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22258 if test -w "$cache_file"; then
22259 if test "x$cache_file" != "x/dev/null"; then
22260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22261 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22262 if test ! -f "$cache_file" || test -h "$cache_file"; then
22263 cat confcache >"$cache_file"
22264 else
22265 case $cache_file in #(
22266 */* | ?:*)
22267 mv -f confcache "$cache_file"$$ &&
22268 mv -f "$cache_file"$$ "$cache_file" ;; #(
22270 mv -f confcache "$cache_file" ;;
22271 esac
22274 else
22275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22276 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22279 rm -f confcache
22281 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22282 # Let make expand exec_prefix.
22283 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22285 DEFS=-DHAVE_CONFIG_H
22287 ac_libobjs=
22288 ac_ltlibobjs=
22290 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22291 # 1. Remove the extension, and $U if already installed.
22292 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22293 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22294 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22295 # will be set to the directory where LIBOBJS objects are built.
22296 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22297 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22298 done
22299 LIBOBJS=$ac_libobjs
22301 LTLIBOBJS=$ac_ltlibobjs
22305 : "${CONFIG_STATUS=./config.status}"
22306 ac_write_fail=0
22307 ac_clean_files_save=$ac_clean_files
22308 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22310 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22311 as_write_fail=0
22312 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22313 #! $SHELL
22314 # Generated by $as_me.
22315 # Run this file to recreate the current configuration.
22316 # Compiler output produced by configure, useful for debugging
22317 # configure, is in config.log if it exists.
22319 debug=false
22320 ac_cs_recheck=false
22321 ac_cs_silent=false
22323 SHELL=\${CONFIG_SHELL-$SHELL}
22324 export SHELL
22325 _ASEOF
22326 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22327 ## -------------------- ##
22328 ## M4sh Initialization. ##
22329 ## -------------------- ##
22331 # Be more Bourne compatible
22332 DUALCASE=1; export DUALCASE # for MKS sh
22333 as_nop=:
22334 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22335 then :
22336 emulate sh
22337 NULLCMD=:
22338 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22339 # is contrary to our usage. Disable this feature.
22340 alias -g '${1+"$@"}'='"$@"'
22341 setopt NO_GLOB_SUBST
22342 else $as_nop
22343 case `(set -o) 2>/dev/null` in #(
22344 *posix*) :
22345 set -o posix ;; #(
22346 *) :
22348 esac
22353 # Reset variables that may have inherited troublesome values from
22354 # the environment.
22356 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22357 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22358 # side effect of setting IFS to empty, thus disabling word splitting.)
22359 # Quoting is to prevent editors from complaining about space-tab.
22360 as_nl='
22362 export as_nl
22363 IFS=" "" $as_nl"
22365 PS1='$ '
22366 PS2='> '
22367 PS4='+ '
22369 # Ensure predictable behavior from utilities with locale-dependent output.
22370 LC_ALL=C
22371 export LC_ALL
22372 LANGUAGE=C
22373 export LANGUAGE
22375 # We cannot yet rely on "unset" to work, but we need these variables
22376 # to be unset--not just set to an empty or harmless value--now, to
22377 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22378 # also avoids known problems related to "unset" and subshell syntax
22379 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22380 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22381 do eval test \${$as_var+y} \
22382 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22383 done
22385 # Ensure that fds 0, 1, and 2 are open.
22386 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22387 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22388 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22390 # The user is always right.
22391 if ${PATH_SEPARATOR+false} :; then
22392 PATH_SEPARATOR=:
22393 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22394 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22395 PATH_SEPARATOR=';'
22400 # Find who we are. Look in the path if we contain no directory separator.
22401 as_myself=
22402 case $0 in #((
22403 *[\\/]* ) as_myself=$0 ;;
22404 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22405 for as_dir in $PATH
22407 IFS=$as_save_IFS
22408 case $as_dir in #(((
22409 '') as_dir=./ ;;
22410 */) ;;
22411 *) as_dir=$as_dir/ ;;
22412 esac
22413 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22414 done
22415 IFS=$as_save_IFS
22418 esac
22419 # We did not find ourselves, most probably we were run as `sh COMMAND'
22420 # in which case we are not to be found in the path.
22421 if test "x$as_myself" = x; then
22422 as_myself=$0
22424 if test ! -f "$as_myself"; then
22425 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22426 exit 1
22431 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22432 # ----------------------------------------
22433 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22434 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22435 # script with STATUS, using 1 if that was 0.
22436 as_fn_error ()
22438 as_status=$1; test $as_status -eq 0 && as_status=1
22439 if test "$4"; then
22440 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22441 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22443 printf "%s\n" "$as_me: error: $2" >&2
22444 as_fn_exit $as_status
22445 } # as_fn_error
22449 # as_fn_set_status STATUS
22450 # -----------------------
22451 # Set $? to STATUS, without forking.
22452 as_fn_set_status ()
22454 return $1
22455 } # as_fn_set_status
22457 # as_fn_exit STATUS
22458 # -----------------
22459 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22460 as_fn_exit ()
22462 set +e
22463 as_fn_set_status $1
22464 exit $1
22465 } # as_fn_exit
22467 # as_fn_unset VAR
22468 # ---------------
22469 # Portably unset VAR.
22470 as_fn_unset ()
22472 { eval $1=; unset $1;}
22474 as_unset=as_fn_unset
22476 # as_fn_append VAR VALUE
22477 # ----------------------
22478 # Append the text in VALUE to the end of the definition contained in VAR. Take
22479 # advantage of any shell optimizations that allow amortized linear growth over
22480 # repeated appends, instead of the typical quadratic growth present in naive
22481 # implementations.
22482 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22483 then :
22484 eval 'as_fn_append ()
22486 eval $1+=\$2
22488 else $as_nop
22489 as_fn_append ()
22491 eval $1=\$$1\$2
22493 fi # as_fn_append
22495 # as_fn_arith ARG...
22496 # ------------------
22497 # Perform arithmetic evaluation on the ARGs, and store the result in the
22498 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22499 # must be portable across $(()) and expr.
22500 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22501 then :
22502 eval 'as_fn_arith ()
22504 as_val=$(( $* ))
22506 else $as_nop
22507 as_fn_arith ()
22509 as_val=`expr "$@" || test $? -eq 1`
22511 fi # as_fn_arith
22514 if expr a : '\(a\)' >/dev/null 2>&1 &&
22515 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22516 as_expr=expr
22517 else
22518 as_expr=false
22521 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22522 as_basename=basename
22523 else
22524 as_basename=false
22527 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22528 as_dirname=dirname
22529 else
22530 as_dirname=false
22533 as_me=`$as_basename -- "$0" ||
22534 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22535 X"$0" : 'X\(//\)$' \| \
22536 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22537 printf "%s\n" X/"$0" |
22538 sed '/^.*\/\([^/][^/]*\)\/*$/{
22539 s//\1/
22542 /^X\/\(\/\/\)$/{
22543 s//\1/
22546 /^X\/\(\/\).*/{
22547 s//\1/
22550 s/.*/./; q'`
22552 # Avoid depending upon Character Ranges.
22553 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22554 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22555 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22556 as_cr_digits='0123456789'
22557 as_cr_alnum=$as_cr_Letters$as_cr_digits
22560 # Determine whether it's possible to make 'echo' print without a newline.
22561 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22562 # for compatibility with existing Makefiles.
22563 ECHO_C= ECHO_N= ECHO_T=
22564 case `echo -n x` in #(((((
22565 -n*)
22566 case `echo 'xy\c'` in
22567 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22568 xy) ECHO_C='\c';;
22569 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22570 ECHO_T=' ';;
22571 esac;;
22573 ECHO_N='-n';;
22574 esac
22576 # For backward compatibility with old third-party macros, we provide
22577 # the shell variables $as_echo and $as_echo_n. New code should use
22578 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22579 as_echo='printf %s\n'
22580 as_echo_n='printf %s'
22582 rm -f conf$$ conf$$.exe conf$$.file
22583 if test -d conf$$.dir; then
22584 rm -f conf$$.dir/conf$$.file
22585 else
22586 rm -f conf$$.dir
22587 mkdir conf$$.dir 2>/dev/null
22589 if (echo >conf$$.file) 2>/dev/null; then
22590 if ln -s conf$$.file conf$$ 2>/dev/null; then
22591 as_ln_s='ln -s'
22592 # ... but there are two gotchas:
22593 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22594 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22595 # In both cases, we have to default to `cp -pR'.
22596 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22597 as_ln_s='cp -pR'
22598 elif ln conf$$.file conf$$ 2>/dev/null; then
22599 as_ln_s=ln
22600 else
22601 as_ln_s='cp -pR'
22603 else
22604 as_ln_s='cp -pR'
22606 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22607 rmdir conf$$.dir 2>/dev/null
22610 # as_fn_mkdir_p
22611 # -------------
22612 # Create "$as_dir" as a directory, including parents if necessary.
22613 as_fn_mkdir_p ()
22616 case $as_dir in #(
22617 -*) as_dir=./$as_dir;;
22618 esac
22619 test -d "$as_dir" || eval $as_mkdir_p || {
22620 as_dirs=
22621 while :; do
22622 case $as_dir in #(
22623 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22624 *) as_qdir=$as_dir;;
22625 esac
22626 as_dirs="'$as_qdir' $as_dirs"
22627 as_dir=`$as_dirname -- "$as_dir" ||
22628 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22629 X"$as_dir" : 'X\(//\)[^/]' \| \
22630 X"$as_dir" : 'X\(//\)$' \| \
22631 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22632 printf "%s\n" X"$as_dir" |
22633 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22634 s//\1/
22637 /^X\(\/\/\)[^/].*/{
22638 s//\1/
22641 /^X\(\/\/\)$/{
22642 s//\1/
22645 /^X\(\/\).*/{
22646 s//\1/
22649 s/.*/./; q'`
22650 test -d "$as_dir" && break
22651 done
22652 test -z "$as_dirs" || eval "mkdir $as_dirs"
22653 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22656 } # as_fn_mkdir_p
22657 if mkdir -p . 2>/dev/null; then
22658 as_mkdir_p='mkdir -p "$as_dir"'
22659 else
22660 test -d ./-p && rmdir ./-p
22661 as_mkdir_p=false
22665 # as_fn_executable_p FILE
22666 # -----------------------
22667 # Test if FILE is an executable regular file.
22668 as_fn_executable_p ()
22670 test -f "$1" && test -x "$1"
22671 } # as_fn_executable_p
22672 as_test_x='test -x'
22673 as_executable_p=as_fn_executable_p
22675 # Sed expression to map a string onto a valid CPP name.
22676 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22678 # Sed expression to map a string onto a valid variable name.
22679 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22682 exec 6>&1
22683 ## ----------------------------------- ##
22684 ## Main body of $CONFIG_STATUS script. ##
22685 ## ----------------------------------- ##
22686 _ASEOF
22687 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22690 # Save the log message, to keep $0 and so on meaningful, and to
22691 # report actual input values of CONFIG_FILES etc. instead of their
22692 # values after options handling.
22693 ac_log="
22694 This file was extended by Wine $as_me 8.1, which was
22695 generated by GNU Autoconf 2.71. Invocation command line was
22697 CONFIG_FILES = $CONFIG_FILES
22698 CONFIG_HEADERS = $CONFIG_HEADERS
22699 CONFIG_LINKS = $CONFIG_LINKS
22700 CONFIG_COMMANDS = $CONFIG_COMMANDS
22701 $ $0 $@
22703 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22706 _ACEOF
22709 case $ac_config_headers in *"
22710 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22711 esac
22714 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22715 # Files that config.status was made for.
22716 config_headers="$ac_config_headers"
22717 config_links="$ac_config_links"
22718 config_commands="$ac_config_commands"
22720 _ACEOF
22722 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22723 ac_cs_usage="\
22724 \`$as_me' instantiates files and other configuration actions
22725 from templates according to the current configuration. Unless the files
22726 and actions are specified as TAGs, all are instantiated by default.
22728 Usage: $0 [OPTION]... [TAG]...
22730 -h, --help print this help, then exit
22731 -V, --version print version number and configuration settings, then exit
22732 --config print configuration, then exit
22733 -q, --quiet, --silent
22734 do not print progress messages
22735 -d, --debug don't remove temporary files
22736 --recheck update $as_me by reconfiguring in the same conditions
22737 --header=FILE[:TEMPLATE]
22738 instantiate the configuration header FILE
22740 Configuration headers:
22741 $config_headers
22743 Configuration links:
22744 $config_links
22746 Configuration commands:
22747 $config_commands
22749 Report bugs to <wine-devel@winehq.org>.
22750 Wine home page: <https://www.winehq.org>."
22752 _ACEOF
22753 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22754 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22755 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22756 ac_cs_config='$ac_cs_config_escaped'
22757 ac_cs_version="\\
22758 Wine config.status 8.1
22759 configured by $0, generated by GNU Autoconf 2.71,
22760 with options \\"\$ac_cs_config\\"
22762 Copyright (C) 2021 Free Software Foundation, Inc.
22763 This config.status script is free software; the Free Software Foundation
22764 gives unlimited permission to copy, distribute and modify it."
22766 ac_pwd='$ac_pwd'
22767 srcdir='$srcdir'
22768 test -n "\$AWK" || AWK=awk
22769 _ACEOF
22771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22772 # The default lists apply if the user does not specify any file.
22773 ac_need_defaults=:
22774 while test $# != 0
22776 case $1 in
22777 --*=?*)
22778 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22779 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22780 ac_shift=:
22782 --*=)
22783 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22784 ac_optarg=
22785 ac_shift=:
22788 ac_option=$1
22789 ac_optarg=$2
22790 ac_shift=shift
22792 esac
22794 case $ac_option in
22795 # Handling of the options.
22796 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22797 ac_cs_recheck=: ;;
22798 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22799 printf "%s\n" "$ac_cs_version"; exit ;;
22800 --config | --confi | --conf | --con | --co | --c )
22801 printf "%s\n" "$ac_cs_config"; exit ;;
22802 --debug | --debu | --deb | --de | --d | -d )
22803 debug=: ;;
22804 --header | --heade | --head | --hea )
22805 $ac_shift
22806 case $ac_optarg in
22807 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22808 esac
22809 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22810 ac_need_defaults=false;;
22811 --he | --h)
22812 # Conflict between --help and --header
22813 as_fn_error $? "ambiguous option: \`$1'
22814 Try \`$0 --help' for more information.";;
22815 --help | --hel | -h )
22816 printf "%s\n" "$ac_cs_usage"; exit ;;
22817 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22818 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22819 ac_cs_silent=: ;;
22821 # This is an error.
22822 -*) as_fn_error $? "unrecognized option: \`$1'
22823 Try \`$0 --help' for more information." ;;
22825 *) as_fn_append ac_config_targets " $1"
22826 ac_need_defaults=false ;;
22828 esac
22829 shift
22830 done
22832 ac_configure_extra_args=
22834 if $ac_cs_silent; then
22835 exec 6>/dev/null
22836 ac_configure_extra_args="$ac_configure_extra_args --silent"
22839 _ACEOF
22840 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22841 if \$ac_cs_recheck; then
22842 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22843 shift
22844 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22845 CONFIG_SHELL='$SHELL'
22846 export CONFIG_SHELL
22847 exec "\$@"
22850 _ACEOF
22851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22852 exec 5>>config.log
22854 echo
22855 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22856 ## Running $as_me. ##
22857 _ASBOX
22858 printf "%s\n" "$ac_log"
22859 } >&5
22861 _ACEOF
22862 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22864 # INIT-COMMANDS
22866 wine_fn_output_makedep ()
22868 as_dir=tools; as_fn_mkdir_p
22869 $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
22871 wine_fn_output_makefile ()
22873 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22874 # This Makefile understands the following targets:
22876 # all (default): build wine
22877 # clean: remove all intermediate files
22878 # distclean: also remove all files created by configure
22879 # test: run tests
22880 # testclean: clean test results to force running all tests again
22881 # install-lib: install libraries needed to run applications
22882 # install-dev: install development environment
22883 # install: install everything
22884 # uninstall: uninstall everything
22885 # ctags: create a tags file for vim and others.
22886 # etags: create a TAGS file for Emacs.
22888 SHELL = $SHELL
22889 PATH_SEPARATOR = $PATH_SEPARATOR
22890 PACKAGE_NAME = $PACKAGE_NAME
22891 PACKAGE_TARNAME = $PACKAGE_TARNAME
22892 PACKAGE_VERSION = $PACKAGE_VERSION
22893 PACKAGE_STRING = $PACKAGE_STRING
22894 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22895 PACKAGE_URL = $PACKAGE_URL
22896 exec_prefix = $exec_prefix
22897 prefix = $prefix
22898 program_transform_name = $program_transform_name
22899 bindir = $bindir
22900 sbindir = $sbindir
22901 libexecdir = $libexecdir
22902 datarootdir = $datarootdir
22903 datadir = $datadir
22904 sysconfdir = $sysconfdir
22905 sharedstatedir = $sharedstatedir
22906 localstatedir = $localstatedir
22907 runstatedir = $runstatedir
22908 includedir = $includedir
22909 oldincludedir = $oldincludedir
22910 docdir = $docdir
22911 infodir = $infodir
22912 htmldir = $htmldir
22913 dvidir = $dvidir
22914 pdfdir = $pdfdir
22915 psdir = $psdir
22916 libdir = $libdir
22917 localedir = $localedir
22918 mandir = $mandir
22919 DEFS = $DEFS
22920 ECHO_C = $ECHO_C
22921 ECHO_N = $ECHO_N
22922 ECHO_T = $ECHO_T
22923 LIBS = $LIBS
22924 build_alias = $build_alias
22925 host_alias = $host_alias
22926 target_alias = $target_alias
22927 system_dllpath = $system_dllpath
22928 build = $build
22929 build_cpu = $build_cpu
22930 build_vendor = $build_vendor
22931 build_os = $build_os
22932 host = $host
22933 host_cpu = $host_cpu
22934 host_vendor = $host_vendor
22935 host_os = $host_os
22936 dlldir = $dlldir
22937 fontdir = $fontdir
22938 nlsdir = $nlsdir
22939 srcdir = $srcdir
22940 SET_MAKE = $SET_MAKE
22941 CC = $CC
22942 CFLAGS = $CFLAGS
22943 LDFLAGS = $LDFLAGS
22944 CPPFLAGS = $CPPFLAGS
22945 ac_ct_CC = $ac_ct_CC
22946 EXEEXT = $EXEEXT
22947 OBJEXT = $OBJEXT
22948 CXX = $CXX
22949 CXXFLAGS = $CXXFLAGS
22950 ac_ct_CXX = $ac_ct_CXX
22951 CPPBIN = $CPPBIN
22952 LD = $LD
22953 TARGETFLAGS = $TARGETFLAGS
22954 toolsext = $toolsext
22955 HOST_ARCH = $HOST_ARCH
22956 aarch64_CC = $aarch64_CC
22957 aarch64_CFLAGS = $aarch64_CFLAGS
22958 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
22959 aarch64_LDFLAGS = $aarch64_LDFLAGS
22960 aarch64_DEBUG = $aarch64_DEBUG
22961 aarch64_TARGET = $aarch64_TARGET
22962 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
22963 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
22964 arm_CC = $arm_CC
22965 arm_CFLAGS = $arm_CFLAGS
22966 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
22967 arm_LDFLAGS = $arm_LDFLAGS
22968 arm_DEBUG = $arm_DEBUG
22969 arm_TARGET = $arm_TARGET
22970 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
22971 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
22972 i386_CC = $i386_CC
22973 i386_CFLAGS = $i386_CFLAGS
22974 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
22975 i386_LDFLAGS = $i386_LDFLAGS
22976 i386_DEBUG = $i386_DEBUG
22977 i386_TARGET = $i386_TARGET
22978 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
22979 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
22980 x86_64_CC = $x86_64_CC
22981 x86_64_CFLAGS = $x86_64_CFLAGS
22982 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
22983 x86_64_LDFLAGS = $x86_64_LDFLAGS
22984 x86_64_DEBUG = $x86_64_DEBUG
22985 x86_64_TARGET = $x86_64_TARGET
22986 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
22987 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
22988 toolsdir = $toolsdir
22989 MAKEDEP = $MAKEDEP
22990 RUNTESTFLAGS = $RUNTESTFLAGS
22991 SED_CMD = $SED_CMD
22992 FLEX = $FLEX
22993 BISON = $BISON
22994 AR = $AR
22995 ac_ct_AR = $ac_ct_AR
22996 STRIP = $STRIP
22997 RANLIB = $RANLIB
22998 LN_S = $LN_S
22999 GREP = $GREP
23000 EGREP = $EGREP
23001 LDCONFIG = $LDCONFIG
23002 MSGFMT = $MSGFMT
23003 PKG_CONFIG = $PKG_CONFIG
23004 FONTFORGE = $FONTFORGE
23005 RSVG = $RSVG
23006 CONVERT = $CONVERT
23007 ICOTOOL = $ICOTOOL
23008 I386_LIBS = $I386_LIBS
23009 OPENGL_LIBS = $OPENGL_LIBS
23010 DLLFLAGS = $DLLFLAGS
23011 LDDLLFLAGS = $LDDLLFLAGS
23012 LDEXECFLAGS = $LDEXECFLAGS
23013 EXTRACFLAGS = $EXTRACFLAGS
23014 UNIXDLLFLAGS = $UNIXDLLFLAGS
23015 UNIXLDFLAGS = $UNIXLDFLAGS
23016 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23017 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23018 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23019 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23020 LDD = $LDD
23021 OTOOL = $OTOOL
23022 READELF = $READELF
23023 SUBDIRS = $SUBDIRS
23024 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23025 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23026 CARBON_LIBS = $CARBON_LIBS
23027 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23028 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23029 IOKIT_LIBS = $IOKIT_LIBS
23030 METAL_LIBS = $METAL_LIBS
23031 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23032 CORESERVICES_LIBS = $CORESERVICES_LIBS
23033 APPKIT_LIBS = $APPKIT_LIBS
23034 SECURITY_LIBS = $SECURITY_LIBS
23035 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23036 COREAUDIO_LIBS = $COREAUDIO_LIBS
23037 OPENCL_LIBS = $OPENCL_LIBS
23038 OBJC = $OBJC
23039 OBJCFLAGS = $OBJCFLAGS
23040 ac_ct_OBJC = $ac_ct_OBJC
23041 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23042 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23043 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23044 PRELINK = $PRELINK
23045 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23046 PE_ARCHS = $PE_ARCHS
23047 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23048 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23049 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23050 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23051 GSM_PE_LIBS = $GSM_PE_LIBS
23052 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23053 JPEG_PE_LIBS = $JPEG_PE_LIBS
23054 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23055 JXR_PE_LIBS = $JXR_PE_LIBS
23056 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23057 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23058 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23059 LDAP_PE_LIBS = $LDAP_PE_LIBS
23060 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23061 MPG123_PE_LIBS = $MPG123_PE_LIBS
23062 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23063 PNG_PE_LIBS = $PNG_PE_LIBS
23064 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23065 TIFF_PE_LIBS = $TIFF_PE_LIBS
23066 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23067 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23068 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23069 XML2_PE_LIBS = $XML2_PE_LIBS
23070 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23071 XSLT_PE_LIBS = $XSLT_PE_LIBS
23072 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23073 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23074 PTHREAD_LIBS = $PTHREAD_LIBS
23075 XMKMF = $XMKMF
23076 CPP = $CPP
23077 X_CFLAGS = $X_CFLAGS
23078 X_PRE_LIBS = $X_PRE_LIBS
23079 X_LIBS = $X_LIBS
23080 X_EXTRA_LIBS = $X_EXTRA_LIBS
23081 PCAP_LIBS = $PCAP_LIBS
23082 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23083 INOTIFY_LIBS = $INOTIFY_LIBS
23084 DBUS_CFLAGS = $DBUS_CFLAGS
23085 DBUS_LIBS = $DBUS_LIBS
23086 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23087 GNUTLS_LIBS = $GNUTLS_LIBS
23088 SANE_CFLAGS = $SANE_CFLAGS
23089 SANE_LIBS = $SANE_LIBS
23090 USB_CFLAGS = $USB_CFLAGS
23091 USB_LIBS = $USB_LIBS
23092 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23093 GPHOTO2_LIBS = $GPHOTO2_LIBS
23094 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23095 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23096 RESOLV_LIBS = $RESOLV_LIBS
23097 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23098 FREETYPE_LIBS = $FREETYPE_LIBS
23099 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23100 PULSE_CFLAGS = $PULSE_CFLAGS
23101 PULSE_LIBS = $PULSE_LIBS
23102 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23103 GSTREAMER_LIBS = $GSTREAMER_LIBS
23104 ALSA_LIBS = $ALSA_LIBS
23105 OSS4_CFLAGS = $OSS4_CFLAGS
23106 OSS4_LIBS = $OSS4_LIBS
23107 UDEV_CFLAGS = $UDEV_CFLAGS
23108 UDEV_LIBS = $UDEV_LIBS
23109 UNWIND_CFLAGS = $UNWIND_CFLAGS
23110 UNWIND_LIBS = $UNWIND_LIBS
23111 SDL2_CFLAGS = $SDL2_CFLAGS
23112 SDL2_LIBS = $SDL2_LIBS
23113 CAPI20_CFLAGS = $CAPI20_CFLAGS
23114 CAPI20_LIBS = $CAPI20_LIBS
23115 CUPS_CFLAGS = $CUPS_CFLAGS
23116 CUPS_LIBS = $CUPS_LIBS
23117 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23118 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23119 KRB5_CFLAGS = $KRB5_CFLAGS
23120 KRB5_LIBS = $KRB5_LIBS
23121 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23122 GSSAPI_LIBS = $GSSAPI_LIBS
23123 PROCSTAT_LIBS = $PROCSTAT_LIBS
23124 NETAPI_CFLAGS = $NETAPI_CFLAGS
23125 NETAPI_LIBS = $NETAPI_LIBS
23126 MSVCRTFLAGS = $MSVCRTFLAGS
23127 DELAYLOADFLAG = $DELAYLOADFLAG
23128 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23129 RT_LIBS = $RT_LIBS
23130 TAGSFLAGS = $TAGSFLAGS
23131 LIBOBJS = $LIBOBJS
23132 LTLIBOBJS = $LTLIBOBJS
23133 $SET_MAKE
23134 $wine_rules
23135 _WINE_EOF
23136 as_fn_error $? "could not create Makefile" "$LINENO" 5
23139 _ACEOF
23141 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23143 # Handling of arguments.
23144 for ac_config_target in $ac_config_targets
23146 case $ac_config_target in
23147 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23148 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23149 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23150 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23151 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23152 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23154 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23155 esac
23156 done
23159 # If the user did not use the arguments to specify the items to instantiate,
23160 # then the envvar interface is used. Set only those that are not.
23161 # We use the long form for the default assignment because of an extremely
23162 # bizarre bug on SunOS 4.1.3.
23163 if $ac_need_defaults; then
23164 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23165 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23166 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23169 # Have a temporary directory for convenience. Make it in the build tree
23170 # simply because there is no reason against having it here, and in addition,
23171 # creating and moving files from /tmp can sometimes cause problems.
23172 # Hook for its removal unless debugging.
23173 # Note that there is a small window in which the directory will not be cleaned:
23174 # after its creation but before its name has been assigned to `$tmp'.
23175 $debug ||
23177 tmp= ac_tmp=
23178 trap 'exit_status=$?
23179 : "${ac_tmp:=$tmp}"
23180 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23182 trap 'as_fn_exit 1' 1 2 13 15
23184 # Create a (secure) tmp directory for tmp files.
23187 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23188 test -d "$tmp"
23189 } ||
23191 tmp=./conf$$-$RANDOM
23192 (umask 077 && mkdir "$tmp")
23193 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23194 ac_tmp=$tmp
23196 # Set up the scripts for CONFIG_HEADERS section.
23197 # No need to generate them if there are no CONFIG_HEADERS.
23198 # This happens for instance with `./config.status Makefile'.
23199 if test -n "$CONFIG_HEADERS"; then
23200 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23201 BEGIN {
23202 _ACEOF
23204 # Transform confdefs.h into an awk script `defines.awk', embedded as
23205 # here-document in config.status, that substitutes the proper values into
23206 # config.h.in to produce config.h.
23208 # Create a delimiter string that does not exist in confdefs.h, to ease
23209 # handling of long lines.
23210 ac_delim='%!_!# '
23211 for ac_last_try in false false :; do
23212 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23213 if test -z "$ac_tt"; then
23214 break
23215 elif $ac_last_try; then
23216 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23217 else
23218 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23220 done
23222 # For the awk script, D is an array of macro values keyed by name,
23223 # likewise P contains macro parameters if any. Preserve backslash
23224 # newline sequences.
23226 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23227 sed -n '
23228 s/.\{148\}/&'"$ac_delim"'/g
23229 t rset
23230 :rset
23231 s/^[ ]*#[ ]*define[ ][ ]*/ /
23232 t def
23234 :def
23235 s/\\$//
23236 t bsnl
23237 s/["\\]/\\&/g
23238 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23239 D["\1"]=" \3"/p
23240 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23242 :bsnl
23243 s/["\\]/\\&/g
23244 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23245 D["\1"]=" \3\\\\\\n"\\/p
23246 t cont
23247 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23248 t cont
23250 :cont
23252 s/.\{148\}/&'"$ac_delim"'/g
23253 t clear
23254 :clear
23255 s/\\$//
23256 t bsnlc
23257 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23259 :bsnlc
23260 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23261 b cont
23262 ' <confdefs.h | sed '
23263 s/'"$ac_delim"'/"\\\
23264 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23267 for (key in D) D_is_set[key] = 1
23268 FS = "\a"
23270 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23271 line = \$ 0
23272 split(line, arg, " ")
23273 if (arg[1] == "#") {
23274 defundef = arg[2]
23275 mac1 = arg[3]
23276 } else {
23277 defundef = substr(arg[1], 2)
23278 mac1 = arg[2]
23280 split(mac1, mac2, "(") #)
23281 macro = mac2[1]
23282 prefix = substr(line, 1, index(line, defundef) - 1)
23283 if (D_is_set[macro]) {
23284 # Preserve the white space surrounding the "#".
23285 print prefix "define", macro P[macro] D[macro]
23286 next
23287 } else {
23288 # Replace #undef with comments. This is necessary, for example,
23289 # in the case of _POSIX_SOURCE, which is predefined and required
23290 # on some systems where configure will not decide to define it.
23291 if (defundef == "undef") {
23292 print "/*", prefix defundef, macro, "*/"
23293 next
23297 { print }
23298 _ACAWK
23299 _ACEOF
23300 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23301 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23302 fi # test -n "$CONFIG_HEADERS"
23305 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23306 shift
23307 for ac_tag
23309 case $ac_tag in
23310 :[FHLC]) ac_mode=$ac_tag; continue;;
23311 esac
23312 case $ac_mode$ac_tag in
23313 :[FHL]*:*);;
23314 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23315 :[FH]-) ac_tag=-:-;;
23316 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23317 esac
23318 ac_save_IFS=$IFS
23319 IFS=:
23320 set x $ac_tag
23321 IFS=$ac_save_IFS
23322 shift
23323 ac_file=$1
23324 shift
23326 case $ac_mode in
23327 :L) ac_source=$1;;
23328 :[FH])
23329 ac_file_inputs=
23330 for ac_f
23332 case $ac_f in
23333 -) ac_f="$ac_tmp/stdin";;
23334 *) # Look for the file first in the build tree, then in the source tree
23335 # (if the path is not absolute). The absolute path cannot be DOS-style,
23336 # because $ac_f cannot contain `:'.
23337 test -f "$ac_f" ||
23338 case $ac_f in
23339 [\\/$]*) false;;
23340 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23341 esac ||
23342 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23343 esac
23344 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23345 as_fn_append ac_file_inputs " '$ac_f'"
23346 done
23348 # Let's still pretend it is `configure' which instantiates (i.e., don't
23349 # use $as_me), people would be surprised to read:
23350 # /* config.h. Generated by config.status. */
23351 configure_input='Generated from '`
23352 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23353 `' by configure.'
23354 if test x"$ac_file" != x-; then
23355 configure_input="$ac_file. $configure_input"
23356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23357 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23359 # Neutralize special characters interpreted by sed in replacement strings.
23360 case $configure_input in #(
23361 *\&* | *\|* | *\\* )
23362 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23363 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23364 *) ac_sed_conf_input=$configure_input;;
23365 esac
23367 case $ac_tag in
23368 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23369 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23370 esac
23372 esac
23374 ac_dir=`$as_dirname -- "$ac_file" ||
23375 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23376 X"$ac_file" : 'X\(//\)[^/]' \| \
23377 X"$ac_file" : 'X\(//\)$' \| \
23378 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23379 printf "%s\n" X"$ac_file" |
23380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23381 s//\1/
23384 /^X\(\/\/\)[^/].*/{
23385 s//\1/
23388 /^X\(\/\/\)$/{
23389 s//\1/
23392 /^X\(\/\).*/{
23393 s//\1/
23396 s/.*/./; q'`
23397 as_dir="$ac_dir"; as_fn_mkdir_p
23398 ac_builddir=.
23400 case "$ac_dir" in
23401 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23403 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23404 # A ".." for each directory in $ac_dir_suffix.
23405 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23406 case $ac_top_builddir_sub in
23407 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23408 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23409 esac ;;
23410 esac
23411 ac_abs_top_builddir=$ac_pwd
23412 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23413 # for backward compatibility:
23414 ac_top_builddir=$ac_top_build_prefix
23416 case $srcdir in
23417 .) # We are building in place.
23418 ac_srcdir=.
23419 ac_top_srcdir=$ac_top_builddir_sub
23420 ac_abs_top_srcdir=$ac_pwd ;;
23421 [\\/]* | ?:[\\/]* ) # Absolute name.
23422 ac_srcdir=$srcdir$ac_dir_suffix;
23423 ac_top_srcdir=$srcdir
23424 ac_abs_top_srcdir=$srcdir ;;
23425 *) # Relative name.
23426 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23427 ac_top_srcdir=$ac_top_build_prefix$srcdir
23428 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23429 esac
23430 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23433 case $ac_mode in
23437 # CONFIG_HEADER
23439 if test x"$ac_file" != x-; then
23441 printf "%s\n" "/* $configure_input */" >&1 \
23442 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23443 } >"$ac_tmp/config.h" \
23444 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23445 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23447 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23448 else
23449 rm -f "$ac_file"
23450 mv "$ac_tmp/config.h" "$ac_file" \
23451 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23453 else
23454 printf "%s\n" "/* $configure_input */" >&1 \
23455 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23456 || as_fn_error $? "could not create -" "$LINENO" 5
23461 # CONFIG_LINK
23464 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23466 else
23467 # Prefer the file from the source tree if names are identical.
23468 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23469 ac_source=$srcdir/$ac_source
23472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23473 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23475 if test ! -r "$ac_source"; then
23476 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23478 rm -f "$ac_file"
23480 # Try a relative symlink, then a hard link, then a copy.
23481 case $ac_source in
23482 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23483 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23484 esac
23485 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23486 ln "$ac_source" "$ac_file" 2>/dev/null ||
23487 cp -p "$ac_source" "$ac_file" ||
23488 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23491 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23492 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23494 esac
23497 case $ac_file$ac_mode in
23498 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23499 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23500 "Makefile":C) wine_fn_output_makefile Makefile ;;
23502 esac
23503 done # for ac_tag
23506 as_fn_exit 0
23507 _ACEOF
23508 ac_clean_files=$ac_clean_files_save
23510 test $ac_write_fail = 0 ||
23511 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23514 # configure is writing to config.log, and then calls config.status.
23515 # config.status does its own redirection, appending to config.log.
23516 # Unfortunately, on DOS this fails, as config.log is still kept open
23517 # by configure, so config.status won't be able to write to it; its
23518 # output is simply discarded. So we exec the FD to /dev/null,
23519 # effectively closing config.log, so it can be properly (re)opened and
23520 # appended to by config.status. When coming back to configure, we
23521 # need to make the FD available again.
23522 if test "$no_create" != yes; then
23523 ac_cs_success=:
23524 ac_config_status_args=
23525 test "$silent" = yes &&
23526 ac_config_status_args="$ac_config_status_args --quiet"
23527 exec 5>/dev/null
23528 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23529 exec 5>>config.log
23530 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23531 # would make configure fail if this is the last instruction.
23532 $ac_cs_success || as_fn_exit 1
23534 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23536 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23540 if test "$no_create" = "yes"
23541 then
23542 exit 0
23545 ac_save_IFS="$IFS"
23546 if test "x$wine_notices" != x; then
23547 echo >&6
23548 IFS="|"
23549 for msg in $wine_notices; do
23550 IFS="$ac_save_IFS"
23551 if ${msg:+false} :
23552 then :
23554 else $as_nop
23555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23556 printf "%s\n" "$as_me: $msg" >&6;}
23558 done
23560 IFS="|"
23561 for msg in $wine_warnings; do
23562 IFS="$ac_save_IFS"
23563 if ${msg:+false} :
23564 then :
23566 else $as_nop
23567 echo >&2
23568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23569 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23571 done
23572 IFS="$ac_save_IFS"
23574 printf "%s\n" "
23575 $as_me: Finished. Do '${ac_make}' to compile Wine.
23576 " >&6