bcrypt/tests: Add more tests for AES initialization vectors.
[wine.git] / configure
blobf07125ef8f6f090cccdfbaea7d5ac58fdd3ed604
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_d3d12core
1019 enable_d3d8
1020 enable_d3d8thk
1021 enable_d3d9
1022 enable_d3dcompiler_33
1023 enable_d3dcompiler_34
1024 enable_d3dcompiler_35
1025 enable_d3dcompiler_36
1026 enable_d3dcompiler_37
1027 enable_d3dcompiler_38
1028 enable_d3dcompiler_39
1029 enable_d3dcompiler_40
1030 enable_d3dcompiler_41
1031 enable_d3dcompiler_42
1032 enable_d3dcompiler_43
1033 enable_d3dcompiler_46
1034 enable_d3dcompiler_47
1035 enable_d3dim
1036 enable_d3dim700
1037 enable_d3drm
1038 enable_d3dx10_33
1039 enable_d3dx10_34
1040 enable_d3dx10_35
1041 enable_d3dx10_36
1042 enable_d3dx10_37
1043 enable_d3dx10_38
1044 enable_d3dx10_39
1045 enable_d3dx10_40
1046 enable_d3dx10_41
1047 enable_d3dx10_42
1048 enable_d3dx10_43
1049 enable_d3dx11_42
1050 enable_d3dx11_43
1051 enable_d3dx9_24
1052 enable_d3dx9_25
1053 enable_d3dx9_26
1054 enable_d3dx9_27
1055 enable_d3dx9_28
1056 enable_d3dx9_29
1057 enable_d3dx9_30
1058 enable_d3dx9_31
1059 enable_d3dx9_32
1060 enable_d3dx9_33
1061 enable_d3dx9_34
1062 enable_d3dx9_35
1063 enable_d3dx9_36
1064 enable_d3dx9_37
1065 enable_d3dx9_38
1066 enable_d3dx9_39
1067 enable_d3dx9_40
1068 enable_d3dx9_41
1069 enable_d3dx9_42
1070 enable_d3dx9_43
1071 enable_d3dxof
1072 enable_davclnt
1073 enable_dbgeng
1074 enable_dbghelp
1075 enable_dciman32
1076 enable_dcomp
1077 enable_ddraw
1078 enable_ddrawex
1079 enable_devenum
1080 enable_dhcpcsvc
1081 enable_dhcpcsvc6
1082 enable_dhtmled_ocx
1083 enable_diasymreader
1084 enable_difxapi
1085 enable_dinput
1086 enable_dinput8
1087 enable_directmanipulation
1088 enable_dispex
1089 enable_dmband
1090 enable_dmcompos
1091 enable_dmime
1092 enable_dmloader
1093 enable_dmscript
1094 enable_dmstyle
1095 enable_dmsynth
1096 enable_dmusic
1097 enable_dmusic32
1098 enable_dnsapi
1099 enable_dplay
1100 enable_dplayx
1101 enable_dpnaddr
1102 enable_dpnet
1103 enable_dpnhpast
1104 enable_dpnhupnp
1105 enable_dpnlobby
1106 enable_dpvoice
1107 enable_dpwsockx
1108 enable_drmclien
1109 enable_dsdmo
1110 enable_dsound
1111 enable_dsquery
1112 enable_dssenh
1113 enable_dsuiext
1114 enable_dswave
1115 enable_dwmapi
1116 enable_dwrite
1117 enable_dx8vb
1118 enable_dxdiagn
1119 enable_dxgi
1120 enable_dxtrans
1121 enable_dxva2
1122 enable_esent
1123 enable_evr
1124 enable_explorerframe
1125 enable_faultrep
1126 enable_feclient
1127 enable_fltlib
1128 enable_fltmgr_sys
1129 enable_fntcache
1130 enable_fontsub
1131 enable_fusion
1132 enable_fwpuclnt
1133 enable_gameux
1134 enable_gamingtcui
1135 enable_gdi32
1136 enable_gdiplus
1137 enable_glu32
1138 enable_gphoto2_ds
1139 enable_gpkcsp
1140 enable_hal
1141 enable_hhctrl_ocx
1142 enable_hid
1143 enable_hidclass_sys
1144 enable_hidparse_sys
1145 enable_hlink
1146 enable_hnetcfg
1147 enable_http_sys
1148 enable_httpapi
1149 enable_ia2comproxy
1150 enable_iccvid
1151 enable_icmp
1152 enable_ieframe
1153 enable_ieproxy
1154 enable_imaadp32_acm
1155 enable_imagehlp
1156 enable_imm32
1157 enable_inetcomm
1158 enable_inetcpl_cpl
1159 enable_inetmib1
1160 enable_infosoft
1161 enable_initpki
1162 enable_inkobj
1163 enable_inseng
1164 enable_iphlpapi
1165 enable_iprop
1166 enable_ir50_32
1167 enable_irprops_cpl
1168 enable_itircl
1169 enable_itss
1170 enable_joy_cpl
1171 enable_jscript
1172 enable_jsproxy
1173 enable_kerberos
1174 enable_kernel32
1175 enable_kernelbase
1176 enable_ksecdd_sys
1177 enable_ksproxy_ax
1178 enable_ksuser
1179 enable_ktmw32
1180 enable_l3codeca_acm
1181 enable_light_msstyles
1182 enable_loadperf
1183 enable_localspl
1184 enable_localui
1185 enable_lz32
1186 enable_mapi32
1187 enable_mapistub
1188 enable_mciavi32
1189 enable_mcicda
1190 enable_mciqtz32
1191 enable_mciseq
1192 enable_mciwave
1193 enable_mf
1194 enable_mf3216
1195 enable_mferror
1196 enable_mfmediaengine
1197 enable_mfplat
1198 enable_mfplay
1199 enable_mfreadwrite
1200 enable_mfsrcsnk
1201 enable_mgmtapi
1202 enable_midimap
1203 enable_mlang
1204 enable_mmcndmgr
1205 enable_mmdevapi
1206 enable_mountmgr_sys
1207 enable_mp3dmod
1208 enable_mpr
1209 enable_mprapi
1210 enable_msacm32_drv
1211 enable_msacm32
1212 enable_msado15
1213 enable_msadp32_acm
1214 enable_msasn1
1215 enable_msauddecmft
1216 enable_mscat32
1217 enable_mscms
1218 enable_mscoree
1219 enable_mscorwks
1220 enable_msctf
1221 enable_msctfmonitor
1222 enable_msctfp
1223 enable_msdaps
1224 enable_msdasql
1225 enable_msdelta
1226 enable_msdmo
1227 enable_msdrm
1228 enable_msftedit
1229 enable_msg711_acm
1230 enable_msgsm32_acm
1231 enable_mshtml_tlb
1232 enable_mshtml
1233 enable_msi
1234 enable_msident
1235 enable_msimg32
1236 enable_msimsg
1237 enable_msimtf
1238 enable_msisip
1239 enable_msisys_ocx
1240 enable_msls31
1241 enable_msmpeg2vdec
1242 enable_msnet32
1243 enable_mspatcha
1244 enable_msports
1245 enable_msrle32
1246 enable_msscript_ocx
1247 enable_mssign32
1248 enable_mssip32
1249 enable_mstask
1250 enable_msv1_0
1251 enable_msvcirt
1252 enable_msvcm80
1253 enable_msvcm90
1254 enable_msvcp100
1255 enable_msvcp110
1256 enable_msvcp120
1257 enable_msvcp120_app
1258 enable_msvcp140
1259 enable_msvcp140_1
1260 enable_msvcp140_2
1261 enable_msvcp140_atomic_wait
1262 enable_msvcp60
1263 enable_msvcp70
1264 enable_msvcp71
1265 enable_msvcp80
1266 enable_msvcp90
1267 enable_msvcp_win
1268 enable_msvcr100
1269 enable_msvcr110
1270 enable_msvcr120
1271 enable_msvcr120_app
1272 enable_msvcr70
1273 enable_msvcr71
1274 enable_msvcr80
1275 enable_msvcr90
1276 enable_msvcrt
1277 enable_msvcrt20
1278 enable_msvcrt40
1279 enable_msvcrtd
1280 enable_msvfw32
1281 enable_msvidc32
1282 enable_mswsock
1283 enable_msxml
1284 enable_msxml2
1285 enable_msxml3
1286 enable_msxml4
1287 enable_msxml6
1288 enable_mtxdm
1289 enable_ncrypt
1290 enable_nddeapi
1291 enable_ndis_sys
1292 enable_netapi32
1293 enable_netcfgx
1294 enable_netio_sys
1295 enable_netprofm
1296 enable_netutils
1297 enable_newdev
1298 enable_ninput
1299 enable_normaliz
1300 enable_npmshtml
1301 enable_npptools
1302 enable_nsi
1303 enable_nsiproxy_sys
1304 enable_ntdll
1305 enable_ntdsapi
1306 enable_ntoskrnl_exe
1307 enable_ntprint
1308 enable_objsel
1309 enable_odbc32
1310 enable_odbcbcp
1311 enable_odbccp32
1312 enable_odbccu32
1313 enable_ole32
1314 enable_oleacc
1315 enable_oleaut32
1316 enable_olecli32
1317 enable_oledb32
1318 enable_oledlg
1319 enable_olepro32
1320 enable_olesvr32
1321 enable_olethk32
1322 enable_opcservices
1323 enable_opencl
1324 enable_opengl32
1325 enable_packager
1326 enable_pdh
1327 enable_photometadatahandler
1328 enable_pidgen
1329 enable_powrprof
1330 enable_printui
1331 enable_prntvpt
1332 enable_propsys
1333 enable_psapi
1334 enable_pstorec
1335 enable_pwrshplugin
1336 enable_qasf
1337 enable_qcap
1338 enable_qdvd
1339 enable_qedit
1340 enable_qmgr
1341 enable_qmgrprxy
1342 enable_quartz
1343 enable_query
1344 enable_qwave
1345 enable_rasapi32
1346 enable_rasdlg
1347 enable_regapi
1348 enable_resutils
1349 enable_riched20
1350 enable_riched32
1351 enable_rpcrt4
1352 enable_rsabase
1353 enable_rsaenh
1354 enable_rstrtmgr
1355 enable_rtutils
1356 enable_rtworkq
1357 enable_samlib
1358 enable_sane_ds
1359 enable_sapi
1360 enable_sas
1361 enable_scarddlg
1362 enable_scardsvr
1363 enable_sccbase
1364 enable_schannel
1365 enable_schedsvc
1366 enable_scrobj
1367 enable_scrrun
1368 enable_scsiport_sys
1369 enable_sechost
1370 enable_secur32
1371 enable_security
1372 enable_sensapi
1373 enable_serialui
1374 enable_setupapi
1375 enable_sfc
1376 enable_sfc_os
1377 enable_shcore
1378 enable_shdoclc
1379 enable_shdocvw
1380 enable_shell32
1381 enable_shfolder
1382 enable_shlwapi
1383 enable_slbcsp
1384 enable_slc
1385 enable_snmpapi
1386 enable_softpub
1387 enable_spoolss
1388 enable_sppc
1389 enable_srclient
1390 enable_srvcli
1391 enable_sspicli
1392 enable_stdole2_tlb
1393 enable_stdole32_tlb
1394 enable_sti
1395 enable_strmdll
1396 enable_svrapi
1397 enable_sxs
1398 enable_t2embed
1399 enable_tapi32
1400 enable_taskschd
1401 enable_tbs
1402 enable_tdh
1403 enable_tdi_sys
1404 enable_threadpoolwinrt
1405 enable_traffic
1406 enable_twain_32
1407 enable_tzres
1408 enable_ucrtbase
1409 enable_uianimation
1410 enable_uiautomationcore
1411 enable_uiribbon
1412 enable_unicows
1413 enable_updspapi
1414 enable_url
1415 enable_urlmon
1416 enable_usbd_sys
1417 enable_user32
1418 enable_userenv
1419 enable_usp10
1420 enable_utildll
1421 enable_uxtheme
1422 enable_vbscript
1423 enable_vcomp
1424 enable_vcomp100
1425 enable_vcomp110
1426 enable_vcomp120
1427 enable_vcomp140
1428 enable_vcomp90
1429 enable_vcruntime140
1430 enable_vcruntime140_1
1431 enable_vdmdbg
1432 enable_version
1433 enable_vga
1434 enable_virtdisk
1435 enable_vssapi
1436 enable_vulkan_1
1437 enable_wbemdisp
1438 enable_wbemprox
1439 enable_wdscore
1440 enable_webservices
1441 enable_websocket
1442 enable_wer
1443 enable_wevtapi
1444 enable_wevtsvc
1445 enable_wiaservc
1446 enable_wimgapi
1447 enable_win32u
1448 enable_windows_devices_enumeration
1449 enable_windows_gaming_input
1450 enable_windows_gaming_ui_gamebar
1451 enable_windows_globalization
1452 enable_windows_media_devices
1453 enable_windows_media_speech
1454 enable_windows_media
1455 enable_windows_networking
1456 enable_windows_system_profile_systemmanufacturers
1457 enable_windows_ui
1458 enable_windowscodecs
1459 enable_windowscodecsext
1460 enable_winealsa_drv
1461 enable_wineandroid_drv
1462 enable_winebus_sys
1463 enable_winecoreaudio_drv
1464 enable_winecrt0
1465 enable_wined3d
1466 enable_winegstreamer
1467 enable_winehid_sys
1468 enable_winemac_drv
1469 enable_winemapi
1470 enable_wineoss_drv
1471 enable_wineps_drv
1472 enable_winepulse_drv
1473 enable_wineusb_sys
1474 enable_winevulkan
1475 enable_winex11_drv
1476 enable_winexinput_sys
1477 enable_wing32
1478 enable_winhttp
1479 enable_wininet
1480 enable_winmm
1481 enable_winnls32
1482 enable_winprint
1483 enable_winscard
1484 enable_winspool_drv
1485 enable_winsta
1486 enable_wintab32
1487 enable_wintrust
1488 enable_wintypes
1489 enable_winusb
1490 enable_wlanapi
1491 enable_wlanui
1492 enable_wldap32
1493 enable_wmasf
1494 enable_wmi
1495 enable_wmiutils
1496 enable_wmp
1497 enable_wmphoto
1498 enable_wmvcore
1499 enable_wnaspi32
1500 enable_wofutil
1501 enable_wow64
1502 enable_wow64cpu
1503 enable_wow64win
1504 enable_wpc
1505 enable_wpcap
1506 enable_ws2_32
1507 enable_wsdapi
1508 enable_wshom_ocx
1509 enable_wsnmp32
1510 enable_wsock32
1511 enable_wtsapi32
1512 enable_wuapi
1513 enable_wuaueng
1514 enable_x3daudio1_0
1515 enable_x3daudio1_1
1516 enable_x3daudio1_2
1517 enable_x3daudio1_3
1518 enable_x3daudio1_4
1519 enable_x3daudio1_5
1520 enable_x3daudio1_6
1521 enable_x3daudio1_7
1522 enable_xactengine2_0
1523 enable_xactengine2_4
1524 enable_xactengine2_7
1525 enable_xactengine2_9
1526 enable_xactengine3_0
1527 enable_xactengine3_1
1528 enable_xactengine3_2
1529 enable_xactengine3_3
1530 enable_xactengine3_4
1531 enable_xactengine3_5
1532 enable_xactengine3_6
1533 enable_xactengine3_7
1534 enable_xapofx1_1
1535 enable_xapofx1_2
1536 enable_xapofx1_3
1537 enable_xapofx1_4
1538 enable_xapofx1_5
1539 enable_xaudio2_0
1540 enable_xaudio2_1
1541 enable_xaudio2_2
1542 enable_xaudio2_3
1543 enable_xaudio2_4
1544 enable_xaudio2_5
1545 enable_xaudio2_6
1546 enable_xaudio2_7
1547 enable_xaudio2_8
1548 enable_xaudio2_9
1549 enable_xinput1_1
1550 enable_xinput1_2
1551 enable_xinput1_3
1552 enable_xinput1_4
1553 enable_xinput9_1_0
1554 enable_xinputuap
1555 enable_xmllite
1556 enable_xolehlp
1557 enable_xpsprint
1558 enable_xpssvcs
1559 enable_fonts
1560 enable_include
1561 enable_adsiid
1562 enable_dmoguids
1563 enable_dxerr8
1564 enable_dxerr9
1565 enable_dxguid
1566 enable_faudio
1567 enable_gsm
1568 enable_jpeg
1569 enable_jxr
1570 enable_lcms2
1571 enable_ldap
1572 enable_mfuuid
1573 enable_mpg123
1574 enable_png
1575 enable_strmbase
1576 enable_strmiids
1577 enable_tiff
1578 enable_uuid
1579 enable_vkd3d
1580 enable_wbemuuid
1581 enable_wine
1582 enable_wmcodecdspuuid
1583 enable_xml2
1584 enable_xslt
1585 enable_zlib
1586 enable_loader
1587 enable_nls
1588 enable_po
1589 enable_arp
1590 enable_aspnet_regiis
1591 enable_attrib
1592 enable_cabarc
1593 enable_cacls
1594 enable_certutil
1595 enable_chcp_com
1596 enable_clock
1597 enable_cmd
1598 enable_conhost
1599 enable_control
1600 enable_cscript
1601 enable_dism
1602 enable_dllhost
1603 enable_dplaysvr
1604 enable_dpnsvr
1605 enable_dpvsetup
1606 enable_dxdiag
1607 enable_eject
1608 enable_expand
1609 enable_explorer
1610 enable_extrac32
1611 enable_fc
1612 enable_find
1613 enable_findstr
1614 enable_fsutil
1615 enable_hh
1616 enable_hostname
1617 enable_icacls
1618 enable_icinfo
1619 enable_iexplore
1620 enable_ipconfig
1621 enable_lodctr
1622 enable_mofcomp
1623 enable_mshta
1624 enable_msidb
1625 enable_msiexec
1626 enable_msinfo32
1627 enable_net
1628 enable_netsh
1629 enable_netstat
1630 enable_ngen
1631 enable_notepad
1632 enable_oleview
1633 enable_ping
1634 enable_plugplay
1635 enable_powershell
1636 enable_presentationfontcache
1637 enable_progman
1638 enable_reg
1639 enable_regasm
1640 enable_regedit
1641 enable_regini
1642 enable_regsvcs
1643 enable_regsvr32
1644 enable_robocopy
1645 enable_rpcss
1646 enable_rundll32
1647 enable_sc
1648 enable_schtasks
1649 enable_sdbinst
1650 enable_secedit
1651 enable_servicemodelreg
1652 enable_services
1653 enable_setx
1654 enable_shutdown
1655 enable_spoolsv
1656 enable_start
1657 enable_subst
1658 enable_svchost
1659 enable_systeminfo
1660 enable_taskkill
1661 enable_tasklist
1662 enable_taskmgr
1663 enable_termsv
1664 enable_uninstaller
1665 enable_unlodctr
1666 enable_view
1667 enable_wevtutil
1668 enable_where
1669 enable_whoami
1670 enable_wineboot
1671 enable_winebrowser
1672 enable_winecfg
1673 enable_wineconsole
1674 enable_winedbg
1675 enable_winedevice
1676 enable_winefile
1677 enable_winemenubuilder
1678 enable_winemine
1679 enable_winemsibuilder
1680 enable_winepath
1681 enable_winetest
1682 enable_winhlp32
1683 enable_winmgmt
1684 enable_winver
1685 enable_wmic
1686 enable_wmplayer
1687 enable_wordpad
1688 enable_write
1689 enable_wscript
1690 enable_wuauserv
1691 enable_wusa
1692 enable_xcopy
1693 enable_server
1694 enable_tools
1695 enable_sfnt2fon
1696 enable_widl
1697 enable_winebuild
1698 enable_winedump
1699 enable_winegcc
1700 enable_winemaker
1701 enable_wmc
1702 enable_wrc
1704 ac_precious_vars='build_alias
1705 host_alias
1706 target_alias
1708 CFLAGS
1709 LDFLAGS
1710 LIBS
1711 CPPFLAGS
1713 CXXFLAGS
1715 OBJC
1716 OBJCFLAGS
1717 FAUDIO_PE_CFLAGS
1718 FAUDIO_PE_LIBS
1719 GSM_PE_CFLAGS
1720 GSM_PE_LIBS
1721 JPEG_PE_CFLAGS
1722 JPEG_PE_LIBS
1723 JXR_PE_CFLAGS
1724 JXR_PE_LIBS
1725 LCMS2_PE_CFLAGS
1726 LCMS2_PE_LIBS
1727 LDAP_PE_CFLAGS
1728 LDAP_PE_LIBS
1729 MPG123_PE_CFLAGS
1730 MPG123_PE_LIBS
1731 PNG_PE_CFLAGS
1732 PNG_PE_LIBS
1733 TIFF_PE_CFLAGS
1734 TIFF_PE_LIBS
1735 VKD3D_PE_CFLAGS
1736 VKD3D_PE_LIBS
1737 XML2_PE_CFLAGS
1738 XML2_PE_LIBS
1739 XSLT_PE_CFLAGS
1740 XSLT_PE_LIBS
1741 ZLIB_PE_CFLAGS
1742 ZLIB_PE_LIBS
1743 XMKMF
1745 INOTIFY_CFLAGS
1746 INOTIFY_LIBS
1747 DBUS_CFLAGS
1748 DBUS_LIBS
1749 GNUTLS_CFLAGS
1750 GNUTLS_LIBS
1751 SANE_CFLAGS
1752 SANE_LIBS
1753 USB_CFLAGS
1754 USB_LIBS
1755 GPHOTO2_CFLAGS
1756 GPHOTO2_LIBS
1757 GPHOTO2_PORT_CFLAGS
1758 GPHOTO2_PORT_LIBS
1759 FREETYPE_CFLAGS
1760 FREETYPE_LIBS
1761 PULSE_CFLAGS
1762 PULSE_LIBS
1763 GSTREAMER_CFLAGS
1764 GSTREAMER_LIBS
1765 UDEV_CFLAGS
1766 UDEV_LIBS
1767 UNWIND_CFLAGS
1768 UNWIND_LIBS
1769 SDL2_CFLAGS
1770 SDL2_LIBS
1771 CAPI20_CFLAGS
1772 CAPI20_LIBS
1773 CUPS_CFLAGS
1774 CUPS_LIBS
1775 FONTCONFIG_CFLAGS
1776 FONTCONFIG_LIBS
1777 KRB5_CFLAGS
1778 KRB5_LIBS
1779 GSSAPI_CFLAGS
1780 GSSAPI_LIBS
1781 NETAPI_CFLAGS
1782 NETAPI_LIBS'
1785 # Initialize some variables set by options.
1786 ac_init_help=
1787 ac_init_version=false
1788 ac_unrecognized_opts=
1789 ac_unrecognized_sep=
1790 # The variables have the same names as the options, with
1791 # dashes changed to underlines.
1792 cache_file=/dev/null
1793 exec_prefix=NONE
1794 no_create=
1795 no_recursion=
1796 prefix=NONE
1797 program_prefix=NONE
1798 program_suffix=NONE
1799 program_transform_name=s,x,x,
1800 silent=
1801 site=
1802 srcdir=
1803 verbose=
1804 x_includes=NONE
1805 x_libraries=NONE
1807 # Installation directory options.
1808 # These are left unexpanded so users can "make install exec_prefix=/foo"
1809 # and all the variables that are supposed to be based on exec_prefix
1810 # by default will actually change.
1811 # Use braces instead of parens because sh, perl, etc. also accept them.
1812 # (The list follows the same order as the GNU Coding Standards.)
1813 bindir='${exec_prefix}/bin'
1814 sbindir='${exec_prefix}/sbin'
1815 libexecdir='${exec_prefix}/libexec'
1816 datarootdir='${prefix}/share'
1817 datadir='${datarootdir}'
1818 sysconfdir='${prefix}/etc'
1819 sharedstatedir='${prefix}/com'
1820 localstatedir='${prefix}/var'
1821 runstatedir='${localstatedir}/run'
1822 includedir='${prefix}/include'
1823 oldincludedir='/usr/include'
1824 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1825 infodir='${datarootdir}/info'
1826 htmldir='${docdir}'
1827 dvidir='${docdir}'
1828 pdfdir='${docdir}'
1829 psdir='${docdir}'
1830 libdir='${exec_prefix}/lib'
1831 localedir='${datarootdir}/locale'
1832 mandir='${datarootdir}/man'
1834 ac_prev=
1835 ac_dashdash=
1836 for ac_option
1838 # If the previous option needs an argument, assign it.
1839 if test -n "$ac_prev"; then
1840 eval $ac_prev=\$ac_option
1841 ac_prev=
1842 continue
1845 case $ac_option in
1846 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1847 *=) ac_optarg= ;;
1848 *) ac_optarg=yes ;;
1849 esac
1851 case $ac_dashdash$ac_option in
1853 ac_dashdash=yes ;;
1855 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1856 ac_prev=bindir ;;
1857 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1858 bindir=$ac_optarg ;;
1860 -build | --build | --buil | --bui | --bu)
1861 ac_prev=build_alias ;;
1862 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1863 build_alias=$ac_optarg ;;
1865 -cache-file | --cache-file | --cache-fil | --cache-fi \
1866 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1867 ac_prev=cache_file ;;
1868 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1869 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1870 cache_file=$ac_optarg ;;
1872 --config-cache | -C)
1873 cache_file=config.cache ;;
1875 -datadir | --datadir | --datadi | --datad)
1876 ac_prev=datadir ;;
1877 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1878 datadir=$ac_optarg ;;
1880 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1881 | --dataroo | --dataro | --datar)
1882 ac_prev=datarootdir ;;
1883 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1884 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1885 datarootdir=$ac_optarg ;;
1887 -disable-* | --disable-*)
1888 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1889 # Reject names that are not valid shell variable names.
1890 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1891 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1892 ac_useropt_orig=$ac_useropt
1893 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1894 case $ac_user_opts in
1896 "enable_$ac_useropt"
1897 "*) ;;
1898 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1899 ac_unrecognized_sep=', ';;
1900 esac
1901 eval enable_$ac_useropt=no ;;
1903 -docdir | --docdir | --docdi | --doc | --do)
1904 ac_prev=docdir ;;
1905 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1906 docdir=$ac_optarg ;;
1908 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1909 ac_prev=dvidir ;;
1910 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1911 dvidir=$ac_optarg ;;
1913 -enable-* | --enable-*)
1914 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1915 # Reject names that are not valid shell variable names.
1916 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1917 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1918 ac_useropt_orig=$ac_useropt
1919 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1920 case $ac_user_opts in
1922 "enable_$ac_useropt"
1923 "*) ;;
1924 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1925 ac_unrecognized_sep=', ';;
1926 esac
1927 eval enable_$ac_useropt=\$ac_optarg ;;
1929 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1930 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1931 | --exec | --exe | --ex)
1932 ac_prev=exec_prefix ;;
1933 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1934 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1935 | --exec=* | --exe=* | --ex=*)
1936 exec_prefix=$ac_optarg ;;
1938 -gas | --gas | --ga | --g)
1939 # Obsolete; use --with-gas.
1940 with_gas=yes ;;
1942 -help | --help | --hel | --he | -h)
1943 ac_init_help=long ;;
1944 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1945 ac_init_help=recursive ;;
1946 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1947 ac_init_help=short ;;
1949 -host | --host | --hos | --ho)
1950 ac_prev=host_alias ;;
1951 -host=* | --host=* | --hos=* | --ho=*)
1952 host_alias=$ac_optarg ;;
1954 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1955 ac_prev=htmldir ;;
1956 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1957 | --ht=*)
1958 htmldir=$ac_optarg ;;
1960 -includedir | --includedir | --includedi | --included | --include \
1961 | --includ | --inclu | --incl | --inc)
1962 ac_prev=includedir ;;
1963 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1964 | --includ=* | --inclu=* | --incl=* | --inc=*)
1965 includedir=$ac_optarg ;;
1967 -infodir | --infodir | --infodi | --infod | --info | --inf)
1968 ac_prev=infodir ;;
1969 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1970 infodir=$ac_optarg ;;
1972 -libdir | --libdir | --libdi | --libd)
1973 ac_prev=libdir ;;
1974 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1975 libdir=$ac_optarg ;;
1977 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1978 | --libexe | --libex | --libe)
1979 ac_prev=libexecdir ;;
1980 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1981 | --libexe=* | --libex=* | --libe=*)
1982 libexecdir=$ac_optarg ;;
1984 -localedir | --localedir | --localedi | --localed | --locale)
1985 ac_prev=localedir ;;
1986 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1987 localedir=$ac_optarg ;;
1989 -localstatedir | --localstatedir | --localstatedi | --localstated \
1990 | --localstate | --localstat | --localsta | --localst | --locals)
1991 ac_prev=localstatedir ;;
1992 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1993 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1994 localstatedir=$ac_optarg ;;
1996 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1997 ac_prev=mandir ;;
1998 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1999 mandir=$ac_optarg ;;
2001 -nfp | --nfp | --nf)
2002 # Obsolete; use --without-fp.
2003 with_fp=no ;;
2005 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2006 | --no-cr | --no-c | -n)
2007 no_create=yes ;;
2009 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2010 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2011 no_recursion=yes ;;
2013 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2014 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2015 | --oldin | --oldi | --old | --ol | --o)
2016 ac_prev=oldincludedir ;;
2017 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2018 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2019 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2020 oldincludedir=$ac_optarg ;;
2022 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2023 ac_prev=prefix ;;
2024 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2025 prefix=$ac_optarg ;;
2027 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2028 | --program-pre | --program-pr | --program-p)
2029 ac_prev=program_prefix ;;
2030 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2031 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2032 program_prefix=$ac_optarg ;;
2034 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2035 | --program-suf | --program-su | --program-s)
2036 ac_prev=program_suffix ;;
2037 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2038 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2039 program_suffix=$ac_optarg ;;
2041 -program-transform-name | --program-transform-name \
2042 | --program-transform-nam | --program-transform-na \
2043 | --program-transform-n | --program-transform- \
2044 | --program-transform | --program-transfor \
2045 | --program-transfo | --program-transf \
2046 | --program-trans | --program-tran \
2047 | --progr-tra | --program-tr | --program-t)
2048 ac_prev=program_transform_name ;;
2049 -program-transform-name=* | --program-transform-name=* \
2050 | --program-transform-nam=* | --program-transform-na=* \
2051 | --program-transform-n=* | --program-transform-=* \
2052 | --program-transform=* | --program-transfor=* \
2053 | --program-transfo=* | --program-transf=* \
2054 | --program-trans=* | --program-tran=* \
2055 | --progr-tra=* | --program-tr=* | --program-t=*)
2056 program_transform_name=$ac_optarg ;;
2058 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2059 ac_prev=pdfdir ;;
2060 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2061 pdfdir=$ac_optarg ;;
2063 -psdir | --psdir | --psdi | --psd | --ps)
2064 ac_prev=psdir ;;
2065 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2066 psdir=$ac_optarg ;;
2068 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2069 | -silent | --silent | --silen | --sile | --sil)
2070 silent=yes ;;
2072 -runstatedir | --runstatedir | --runstatedi | --runstated \
2073 | --runstate | --runstat | --runsta | --runst | --runs \
2074 | --run | --ru | --r)
2075 ac_prev=runstatedir ;;
2076 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2077 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2078 | --run=* | --ru=* | --r=*)
2079 runstatedir=$ac_optarg ;;
2081 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2082 ac_prev=sbindir ;;
2083 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2084 | --sbi=* | --sb=*)
2085 sbindir=$ac_optarg ;;
2087 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2088 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2089 | --sharedst | --shareds | --shared | --share | --shar \
2090 | --sha | --sh)
2091 ac_prev=sharedstatedir ;;
2092 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2093 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2094 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2095 | --sha=* | --sh=*)
2096 sharedstatedir=$ac_optarg ;;
2098 -site | --site | --sit)
2099 ac_prev=site ;;
2100 -site=* | --site=* | --sit=*)
2101 site=$ac_optarg ;;
2103 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2104 ac_prev=srcdir ;;
2105 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2106 srcdir=$ac_optarg ;;
2108 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2109 | --syscon | --sysco | --sysc | --sys | --sy)
2110 ac_prev=sysconfdir ;;
2111 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2112 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2113 sysconfdir=$ac_optarg ;;
2115 -target | --target | --targe | --targ | --tar | --ta | --t)
2116 ac_prev=target_alias ;;
2117 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2118 target_alias=$ac_optarg ;;
2120 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2121 verbose=yes ;;
2123 -version | --version | --versio | --versi | --vers | -V)
2124 ac_init_version=: ;;
2126 -with-* | --with-*)
2127 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2128 # Reject names that are not valid shell variable names.
2129 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2130 as_fn_error $? "invalid package name: \`$ac_useropt'"
2131 ac_useropt_orig=$ac_useropt
2132 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2133 case $ac_user_opts in
2135 "with_$ac_useropt"
2136 "*) ;;
2137 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2138 ac_unrecognized_sep=', ';;
2139 esac
2140 eval with_$ac_useropt=\$ac_optarg ;;
2142 -without-* | --without-*)
2143 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2144 # Reject names that are not valid shell variable names.
2145 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2146 as_fn_error $? "invalid package name: \`$ac_useropt'"
2147 ac_useropt_orig=$ac_useropt
2148 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2149 case $ac_user_opts in
2151 "with_$ac_useropt"
2152 "*) ;;
2153 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2154 ac_unrecognized_sep=', ';;
2155 esac
2156 eval with_$ac_useropt=no ;;
2158 --x)
2159 # Obsolete; use --with-x.
2160 with_x=yes ;;
2162 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2163 | --x-incl | --x-inc | --x-in | --x-i)
2164 ac_prev=x_includes ;;
2165 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2166 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2167 x_includes=$ac_optarg ;;
2169 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2170 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2171 ac_prev=x_libraries ;;
2172 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2173 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2174 x_libraries=$ac_optarg ;;
2176 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2177 Try \`$0 --help' for more information"
2180 *=*)
2181 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2182 # Reject names that are not valid shell variable names.
2183 case $ac_envvar in #(
2184 '' | [0-9]* | *[!_$as_cr_alnum]* )
2185 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2186 esac
2187 eval $ac_envvar=\$ac_optarg
2188 export $ac_envvar ;;
2191 # FIXME: should be removed in autoconf 3.0.
2192 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2193 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2194 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2195 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2198 esac
2199 done
2201 if test -n "$ac_prev"; then
2202 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2203 as_fn_error $? "missing argument to $ac_option"
2206 if test -n "$ac_unrecognized_opts"; then
2207 case $enable_option_checking in
2208 no) ;;
2209 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2210 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2211 esac
2214 # Check all directory arguments for consistency.
2215 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2216 datadir sysconfdir sharedstatedir localstatedir includedir \
2217 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2218 libdir localedir mandir runstatedir
2220 eval ac_val=\$$ac_var
2221 # Remove trailing slashes.
2222 case $ac_val in
2223 */ )
2224 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2225 eval $ac_var=\$ac_val;;
2226 esac
2227 # Be sure to have absolute directory names.
2228 case $ac_val in
2229 [\\/$]* | ?:[\\/]* ) continue;;
2230 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2231 esac
2232 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2233 done
2235 # There might be people who depend on the old broken behavior: `$host'
2236 # used to hold the argument of --host etc.
2237 # FIXME: To remove some day.
2238 build=$build_alias
2239 host=$host_alias
2240 target=$target_alias
2242 # FIXME: To remove some day.
2243 if test "x$host_alias" != x; then
2244 if test "x$build_alias" = x; then
2245 cross_compiling=maybe
2246 elif test "x$build_alias" != "x$host_alias"; then
2247 cross_compiling=yes
2251 ac_tool_prefix=
2252 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2254 test "$silent" = yes && exec 6>/dev/null
2257 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2258 ac_ls_di=`ls -di .` &&
2259 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2260 as_fn_error $? "working directory cannot be determined"
2261 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2262 as_fn_error $? "pwd does not report name of working directory"
2265 # Find the source files, if location was not specified.
2266 if test -z "$srcdir"; then
2267 ac_srcdir_defaulted=yes
2268 # Try the directory containing this script, then the parent directory.
2269 ac_confdir=`$as_dirname -- "$as_myself" ||
2270 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2271 X"$as_myself" : 'X\(//\)[^/]' \| \
2272 X"$as_myself" : 'X\(//\)$' \| \
2273 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2274 printf "%s\n" X"$as_myself" |
2275 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2276 s//\1/
2279 /^X\(\/\/\)[^/].*/{
2280 s//\1/
2283 /^X\(\/\/\)$/{
2284 s//\1/
2287 /^X\(\/\).*/{
2288 s//\1/
2291 s/.*/./; q'`
2292 srcdir=$ac_confdir
2293 if test ! -r "$srcdir/$ac_unique_file"; then
2294 srcdir=..
2296 else
2297 ac_srcdir_defaulted=no
2299 if test ! -r "$srcdir/$ac_unique_file"; then
2300 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2301 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2303 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2304 ac_abs_confdir=`(
2305 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2306 pwd)`
2307 # When building in place, set srcdir=.
2308 if test "$ac_abs_confdir" = "$ac_pwd"; then
2309 srcdir=.
2311 # Remove unnecessary trailing slashes from srcdir.
2312 # Double slashes in file names in object file debugging info
2313 # mess up M-x gdb in Emacs.
2314 case $srcdir in
2315 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2316 esac
2317 for ac_var in $ac_precious_vars; do
2318 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2319 eval ac_env_${ac_var}_value=\$${ac_var}
2320 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2321 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2322 done
2325 # Report the --help message.
2327 if test "$ac_init_help" = "long"; then
2328 # Omit some internal or obsolete options to make the list less imposing.
2329 # This message is too long to be a string in the A/UX 3.1 sh.
2330 cat <<_ACEOF
2331 \`configure' configures Wine 8.1 to adapt to many kinds of systems.
2333 Usage: $0 [OPTION]... [VAR=VALUE]...
2335 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2336 VAR=VALUE. See below for descriptions of some of the useful variables.
2338 Defaults for the options are specified in brackets.
2340 Configuration:
2341 -h, --help display this help and exit
2342 --help=short display options specific to this package
2343 --help=recursive display the short help of all the included packages
2344 -V, --version display version information and exit
2345 -q, --quiet, --silent do not print \`checking ...' messages
2346 --cache-file=FILE cache test results in FILE [disabled]
2347 -C, --config-cache alias for \`--cache-file=config.cache'
2348 -n, --no-create do not create output files
2349 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2351 Installation directories:
2352 --prefix=PREFIX install architecture-independent files in PREFIX
2353 [$ac_default_prefix]
2354 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2355 [PREFIX]
2357 By default, \`make install' will install all the files in
2358 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2359 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2360 for instance \`--prefix=\$HOME'.
2362 For better control, use the options below.
2364 Fine tuning of the installation directories:
2365 --bindir=DIR user executables [EPREFIX/bin]
2366 --sbindir=DIR system admin executables [EPREFIX/sbin]
2367 --libexecdir=DIR program executables [EPREFIX/libexec]
2368 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2369 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2370 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2371 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2372 --libdir=DIR object code libraries [EPREFIX/lib]
2373 --includedir=DIR C header files [PREFIX/include]
2374 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2375 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2376 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2377 --infodir=DIR info documentation [DATAROOTDIR/info]
2378 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2379 --mandir=DIR man documentation [DATAROOTDIR/man]
2380 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2381 --htmldir=DIR html documentation [DOCDIR]
2382 --dvidir=DIR dvi documentation [DOCDIR]
2383 --pdfdir=DIR pdf documentation [DOCDIR]
2384 --psdir=DIR ps documentation [DOCDIR]
2385 _ACEOF
2387 cat <<\_ACEOF
2389 X features:
2390 --x-includes=DIR X include files are in DIR
2391 --x-libraries=DIR X library files are in DIR
2393 System types:
2394 --build=BUILD configure for building on BUILD [guessed]
2395 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2396 _ACEOF
2399 if test -n "$ac_init_help"; then
2400 case $ac_init_help in
2401 short | recursive ) echo "Configuration of Wine 8.1:";;
2402 esac
2403 cat <<\_ACEOF
2405 Optional Features:
2406 --disable-option-checking ignore unrecognized --enable/--with options
2407 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2408 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2409 --enable-archs={i386,x86_64,arm,aarch64}
2410 enable multiple architectures for PE compilation
2411 --disable-win16 do not include Win16 support
2412 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2413 binaries)
2414 --disable-tests do not build the regression tests
2415 --enable-build-id include .buildid section in output objects
2416 --enable-maintainer-mode
2417 enable maintainer-specific build rules
2418 --enable-silent-rules use silent build rules (override: "make V=1")
2419 --enable-werror treat compilation warnings as errors
2420 --disable-largefile omit support for large files
2422 Optional Packages:
2423 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2424 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2425 --without-alsa do not use the Alsa sound support
2426 --without-capi do not use CAPI (ISDN support)
2427 --without-coreaudio do not use the CoreAudio sound support
2428 --without-cups do not use CUPS
2429 --without-dbus do not use DBus (dynamic device support)
2430 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2431 --without-fontconfig do not use fontconfig
2432 --without-freetype do not use the FreeType library
2433 --without-gettext do not use gettext
2434 --with-gettextpo use the GetTextPO library to rebuild po files
2435 --without-gphoto do not use gphoto (Digital Camera support)
2436 --without-gnutls do not use GnuTLS (schannel support)
2437 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2438 --without-gstreamer do not use GStreamer (codecs support)
2439 --without-inotify do not use inotify (filesystem change notifications)
2440 --without-krb5 do not use krb5 (Kerberos)
2441 --without-mingw do not use the MinGW cross-compiler
2442 --without-netapi do not use the Samba NetAPI library
2443 --without-opencl do not use OpenCL
2444 --without-opengl do not use OpenGL
2445 --without-osmesa do not use the OSMesa library
2446 --without-oss do not use the OSS sound support
2447 --without-pcap do not use the Packet Capture library
2448 --without-pthread do not use the pthread library
2449 --without-pulse do not use PulseAudio sound support
2450 --without-sane do not use SANE (scanner support)
2451 --without-sdl do not use SDL
2452 --without-udev do not use udev (plug and play support)
2453 --without-unwind do not use the libunwind library (exception
2454 handling)
2455 --without-usb do not use the libusb library
2456 --without-v4l2 do not use v4l2 (video capture)
2457 --without-vulkan do not use Vulkan
2458 --without-xcomposite do not use the Xcomposite extension
2459 --without-xcursor do not use the Xcursor extension
2460 --without-xfixes do not use Xfixes for clipboard change notifications
2461 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2462 --without-xinput do not use the Xinput extension
2463 --without-xinput2 do not use the Xinput 2 extension
2464 --without-xrandr do not use Xrandr (multi-monitor support)
2465 --without-xrender do not use the Xrender extension
2466 --without-xshape do not use the Xshape extension
2467 --without-xshm do not use XShm (shared memory extension)
2468 --without-xxf86vm do not use XFree video mode extension
2469 --with-system-dllpath=PATH
2470 load external PE dependencies from colon-separated
2471 path PATH
2472 --with-wine-tools=DIR use Wine tools from directory DIR
2473 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2474 --with-x use the X Window System
2476 Some influential environment variables:
2477 CC C compiler command
2478 CFLAGS C compiler flags
2479 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2480 nonstandard directory <lib dir>
2481 LIBS libraries to pass to the linker, e.g. -l<library>
2482 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2483 you have headers in a nonstandard directory <include dir>
2484 CXX C++ compiler command
2485 CXXFLAGS C++ compiler flags
2486 OBJC Objective C compiler command
2487 OBJCFLAGS Objective C compiler flags
2488 FAUDIO_PE_CFLAGS
2489 C compiler flags for the PE faudio, overriding the bundled
2490 version
2491 FAUDIO_PE_LIBS
2492 Linker flags for the PE faudio, overriding the bundled version
2493 GSM_PE_CFLAGS
2494 C compiler flags for the PE gsm, overriding the bundled version
2495 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2496 JPEG_PE_CFLAGS
2497 C compiler flags for the PE jpeg, overriding the bundled version
2498 JPEG_PE_LIBS
2499 Linker flags for the PE jpeg, overriding the bundled version
2500 JXR_PE_CFLAGS
2501 C compiler flags for the PE jxr, overriding the bundled version
2502 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2503 LCMS2_PE_CFLAGS
2504 C compiler flags for the PE lcms2, overriding the bundled
2505 version
2506 LCMS2_PE_LIBS
2507 Linker flags for the PE lcms2, overriding the bundled version
2508 LDAP_PE_CFLAGS
2509 C compiler flags for the PE ldap, overriding the bundled version
2510 LDAP_PE_LIBS
2511 Linker flags for the PE ldap, overriding the bundled version
2512 MPG123_PE_CFLAGS
2513 C compiler flags for the PE mpg123, overriding the bundled
2514 version
2515 MPG123_PE_LIBS
2516 Linker flags for the PE mpg123, overriding the bundled version
2517 PNG_PE_CFLAGS
2518 C compiler flags for the PE png, overriding the bundled version
2519 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2520 TIFF_PE_CFLAGS
2521 C compiler flags for the PE tiff, overriding the bundled version
2522 TIFF_PE_LIBS
2523 Linker flags for the PE tiff, overriding the bundled version
2524 VKD3D_PE_CFLAGS
2525 C compiler flags for the PE vkd3d, overriding the bundled
2526 version
2527 VKD3D_PE_LIBS
2528 Linker flags for the PE vkd3d, overriding the bundled version
2529 XML2_PE_CFLAGS
2530 C compiler flags for the PE xml2, overriding the bundled version
2531 XML2_PE_LIBS
2532 Linker flags for the PE xml2, overriding the bundled version
2533 XSLT_PE_CFLAGS
2534 C compiler flags for the PE xslt, overriding the bundled version
2535 XSLT_PE_LIBS
2536 Linker flags for the PE xslt, overriding the bundled version
2537 ZLIB_PE_CFLAGS
2538 C compiler flags for the PE zlib, overriding the bundled version
2539 ZLIB_PE_LIBS
2540 Linker flags for the PE zlib, overriding the bundled version
2541 XMKMF Path to xmkmf, Makefile generator for X Window System
2542 CPP C preprocessor
2543 INOTIFY_CFLAGS
2544 C compiler flags for libinotify, overriding pkg-config
2545 INOTIFY_LIBS
2546 Linker flags for libinotify, overriding pkg-config
2547 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2548 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2549 GNUTLS_CFLAGS
2550 C compiler flags for gnutls, overriding pkg-config
2551 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2552 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2553 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2554 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2555 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2556 GPHOTO2_CFLAGS
2557 C compiler flags for libgphoto2, overriding pkg-config
2558 GPHOTO2_LIBS
2559 Linker flags for libgphoto2, overriding pkg-config
2560 GPHOTO2_PORT_CFLAGS
2561 C compiler flags for libgphoto2_port, overriding pkg-config
2562 GPHOTO2_PORT_LIBS
2563 Linker flags for libgphoto2_port, overriding pkg-config
2564 FREETYPE_CFLAGS
2565 C compiler flags for freetype2, overriding pkg-config
2566 FREETYPE_LIBS
2567 Linker flags for freetype2, overriding pkg-config
2568 PULSE_CFLAGS
2569 C compiler flags for libpulse, overriding pkg-config
2570 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2571 GSTREAMER_CFLAGS
2572 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2573 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2574 GSTREAMER_LIBS
2575 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2576 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2577 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2578 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2579 UNWIND_CFLAGS
2580 C compiler flags for libunwind, overriding pkg-config
2581 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2582 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2583 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2584 CAPI20_CFLAGS
2585 C compiler flags for capi20, overriding pkg-config
2586 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2587 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2588 CUPS_LIBS Linker flags for cups, overriding pkg-config
2589 FONTCONFIG_CFLAGS
2590 C compiler flags for fontconfig, overriding pkg-config
2591 FONTCONFIG_LIBS
2592 Linker flags for fontconfig, overriding pkg-config
2593 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2594 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2595 GSSAPI_CFLAGS
2596 C compiler flags for krb5-gssapi, overriding pkg-config
2597 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2598 NETAPI_CFLAGS
2599 C compiler flags for netapi, overriding pkg-config
2600 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2602 Use these variables to override the choices made by `configure' or to help
2603 it to find libraries and programs with nonstandard names/locations.
2605 Report bugs to <wine-devel@winehq.org>.
2606 Wine home page: <https://www.winehq.org>.
2607 _ACEOF
2608 ac_status=$?
2611 if test "$ac_init_help" = "recursive"; then
2612 # If there are subdirs, report their specific --help.
2613 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2614 test -d "$ac_dir" ||
2615 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2616 continue
2617 ac_builddir=.
2619 case "$ac_dir" in
2620 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2622 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2623 # A ".." for each directory in $ac_dir_suffix.
2624 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2625 case $ac_top_builddir_sub in
2626 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2627 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2628 esac ;;
2629 esac
2630 ac_abs_top_builddir=$ac_pwd
2631 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2632 # for backward compatibility:
2633 ac_top_builddir=$ac_top_build_prefix
2635 case $srcdir in
2636 .) # We are building in place.
2637 ac_srcdir=.
2638 ac_top_srcdir=$ac_top_builddir_sub
2639 ac_abs_top_srcdir=$ac_pwd ;;
2640 [\\/]* | ?:[\\/]* ) # Absolute name.
2641 ac_srcdir=$srcdir$ac_dir_suffix;
2642 ac_top_srcdir=$srcdir
2643 ac_abs_top_srcdir=$srcdir ;;
2644 *) # Relative name.
2645 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2646 ac_top_srcdir=$ac_top_build_prefix$srcdir
2647 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2648 esac
2649 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2651 cd "$ac_dir" || { ac_status=$?; continue; }
2652 # Check for configure.gnu first; this name is used for a wrapper for
2653 # Metaconfig's "Configure" on case-insensitive file systems.
2654 if test -f "$ac_srcdir/configure.gnu"; then
2655 echo &&
2656 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2657 elif test -f "$ac_srcdir/configure"; then
2658 echo &&
2659 $SHELL "$ac_srcdir/configure" --help=recursive
2660 else
2661 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2662 fi || ac_status=$?
2663 cd "$ac_pwd" || { ac_status=$?; break; }
2664 done
2667 test -n "$ac_init_help" && exit $ac_status
2668 if $ac_init_version; then
2669 cat <<\_ACEOF
2670 Wine configure 8.1
2671 generated by GNU Autoconf 2.71
2673 Copyright (C) 2021 Free Software Foundation, Inc.
2674 This configure script is free software; the Free Software Foundation
2675 gives unlimited permission to copy, distribute and modify it.
2676 _ACEOF
2677 exit
2680 ## ------------------------ ##
2681 ## Autoconf initialization. ##
2682 ## ------------------------ ##
2684 # ac_fn_c_try_compile LINENO
2685 # --------------------------
2686 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2687 ac_fn_c_try_compile ()
2689 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2690 rm -f conftest.$ac_objext conftest.beam
2691 if { { ac_try="$ac_compile"
2692 case "(($ac_try" in
2693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2694 *) ac_try_echo=$ac_try;;
2695 esac
2696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2697 printf "%s\n" "$ac_try_echo"; } >&5
2698 (eval "$ac_compile") 2>conftest.err
2699 ac_status=$?
2700 if test -s conftest.err; then
2701 grep -v '^ *+' conftest.err >conftest.er1
2702 cat conftest.er1 >&5
2703 mv -f conftest.er1 conftest.err
2705 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2706 test $ac_status = 0; } && {
2707 test -z "$ac_c_werror_flag" ||
2708 test ! -s conftest.err
2709 } && test -s conftest.$ac_objext
2710 then :
2711 ac_retval=0
2712 else $as_nop
2713 printf "%s\n" "$as_me: failed program was:" >&5
2714 sed 's/^/| /' conftest.$ac_ext >&5
2716 ac_retval=1
2718 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2719 as_fn_set_status $ac_retval
2721 } # ac_fn_c_try_compile
2723 # ac_fn_cxx_try_compile LINENO
2724 # ----------------------------
2725 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2726 ac_fn_cxx_try_compile ()
2728 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2729 rm -f conftest.$ac_objext conftest.beam
2730 if { { ac_try="$ac_compile"
2731 case "(($ac_try" in
2732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2733 *) ac_try_echo=$ac_try;;
2734 esac
2735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2736 printf "%s\n" "$ac_try_echo"; } >&5
2737 (eval "$ac_compile") 2>conftest.err
2738 ac_status=$?
2739 if test -s conftest.err; then
2740 grep -v '^ *+' conftest.err >conftest.er1
2741 cat conftest.er1 >&5
2742 mv -f conftest.er1 conftest.err
2744 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2745 test $ac_status = 0; } && {
2746 test -z "$ac_cxx_werror_flag" ||
2747 test ! -s conftest.err
2748 } && test -s conftest.$ac_objext
2749 then :
2750 ac_retval=0
2751 else $as_nop
2752 printf "%s\n" "$as_me: failed program was:" >&5
2753 sed 's/^/| /' conftest.$ac_ext >&5
2755 ac_retval=1
2757 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2758 as_fn_set_status $ac_retval
2760 } # ac_fn_cxx_try_compile
2762 # ac_fn_c_try_link LINENO
2763 # -----------------------
2764 # Try to link conftest.$ac_ext, and return whether this succeeded.
2765 ac_fn_c_try_link ()
2767 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2768 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2769 if { { ac_try="$ac_link"
2770 case "(($ac_try" in
2771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2772 *) ac_try_echo=$ac_try;;
2773 esac
2774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2775 printf "%s\n" "$ac_try_echo"; } >&5
2776 (eval "$ac_link") 2>conftest.err
2777 ac_status=$?
2778 if test -s conftest.err; then
2779 grep -v '^ *+' conftest.err >conftest.er1
2780 cat conftest.er1 >&5
2781 mv -f conftest.er1 conftest.err
2783 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2784 test $ac_status = 0; } && {
2785 test -z "$ac_c_werror_flag" ||
2786 test ! -s conftest.err
2787 } && test -s conftest$ac_exeext && {
2788 test "$cross_compiling" = yes ||
2789 test -x conftest$ac_exeext
2791 then :
2792 ac_retval=0
2793 else $as_nop
2794 printf "%s\n" "$as_me: failed program was:" >&5
2795 sed 's/^/| /' conftest.$ac_ext >&5
2797 ac_retval=1
2799 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2800 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2801 # interfere with the next link command; also delete a directory that is
2802 # left behind by Apple's compiler. We do this before executing the actions.
2803 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2804 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2805 as_fn_set_status $ac_retval
2807 } # ac_fn_c_try_link
2809 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2810 # -------------------------------------------------------
2811 # Tests whether HEADER exists and can be compiled using the include files in
2812 # INCLUDES, setting the cache variable VAR accordingly.
2813 ac_fn_c_check_header_compile ()
2815 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2817 printf %s "checking for $2... " >&6; }
2818 if eval test \${$3+y}
2819 then :
2820 printf %s "(cached) " >&6
2821 else $as_nop
2822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2823 /* end confdefs.h. */
2825 #include <$2>
2826 _ACEOF
2827 if ac_fn_c_try_compile "$LINENO"
2828 then :
2829 eval "$3=yes"
2830 else $as_nop
2831 eval "$3=no"
2833 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2835 eval ac_res=\$$3
2836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2837 printf "%s\n" "$ac_res" >&6; }
2838 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2840 } # ac_fn_c_check_header_compile
2842 # ac_fn_objc_try_compile LINENO
2843 # -----------------------------
2844 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2845 ac_fn_objc_try_compile ()
2847 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2848 rm -f conftest.$ac_objext conftest.beam
2849 if { { ac_try="$ac_compile"
2850 case "(($ac_try" in
2851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2852 *) ac_try_echo=$ac_try;;
2853 esac
2854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2855 printf "%s\n" "$ac_try_echo"; } >&5
2856 (eval "$ac_compile") 2>conftest.err
2857 ac_status=$?
2858 if test -s conftest.err; then
2859 grep -v '^ *+' conftest.err >conftest.er1
2860 cat conftest.er1 >&5
2861 mv -f conftest.er1 conftest.err
2863 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2864 test $ac_status = 0; } && {
2865 test -z "$ac_objc_werror_flag" ||
2866 test ! -s conftest.err
2867 } && test -s conftest.$ac_objext
2868 then :
2869 ac_retval=0
2870 else $as_nop
2871 printf "%s\n" "$as_me: failed program was:" >&5
2872 sed 's/^/| /' conftest.$ac_ext >&5
2874 ac_retval=1
2876 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2877 as_fn_set_status $ac_retval
2879 } # ac_fn_objc_try_compile
2881 # ac_fn_c_check_func LINENO FUNC VAR
2882 # ----------------------------------
2883 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2884 ac_fn_c_check_func ()
2886 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2888 printf %s "checking for $2... " >&6; }
2889 if eval test \${$3+y}
2890 then :
2891 printf %s "(cached) " >&6
2892 else $as_nop
2893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2894 /* end confdefs.h. */
2895 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2897 #define $2 innocuous_$2
2899 /* System header to define __stub macros and hopefully few prototypes,
2900 which can conflict with char $2 (); below. */
2902 #include <limits.h>
2903 #undef $2
2905 /* Override any GCC internal prototype to avoid an error.
2906 Use char because int might match the return type of a GCC
2907 builtin and then its argument prototype would still apply. */
2908 #ifdef __cplusplus
2909 extern "C"
2910 #endif
2911 char $2 ();
2912 /* The GNU C library defines this for functions which it implements
2913 to always fail with ENOSYS. Some functions are actually named
2914 something starting with __ and the normal name is an alias. */
2915 #if defined __stub_$2 || defined __stub___$2
2916 choke me
2917 #endif
2920 main (void)
2922 return $2 ();
2924 return 0;
2926 _ACEOF
2927 if ac_fn_c_try_link "$LINENO"
2928 then :
2929 eval "$3=yes"
2930 else $as_nop
2931 eval "$3=no"
2933 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2934 conftest$ac_exeext conftest.$ac_ext
2936 eval ac_res=\$$3
2937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2938 printf "%s\n" "$ac_res" >&6; }
2939 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2941 } # ac_fn_c_check_func
2943 # ac_fn_c_try_cpp LINENO
2944 # ----------------------
2945 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2946 ac_fn_c_try_cpp ()
2948 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2949 if { { ac_try="$ac_cpp conftest.$ac_ext"
2950 case "(($ac_try" in
2951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2952 *) ac_try_echo=$ac_try;;
2953 esac
2954 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2955 printf "%s\n" "$ac_try_echo"; } >&5
2956 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2957 ac_status=$?
2958 if test -s conftest.err; then
2959 grep -v '^ *+' conftest.err >conftest.er1
2960 cat conftest.er1 >&5
2961 mv -f conftest.er1 conftest.err
2963 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2964 test $ac_status = 0; } > conftest.i && {
2965 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2966 test ! -s conftest.err
2968 then :
2969 ac_retval=0
2970 else $as_nop
2971 printf "%s\n" "$as_me: failed program was:" >&5
2972 sed 's/^/| /' conftest.$ac_ext >&5
2974 ac_retval=1
2976 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2977 as_fn_set_status $ac_retval
2979 } # ac_fn_c_try_cpp
2981 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2982 # ----------------------------------------------------
2983 # Tries to find if the field MEMBER exists in type AGGR, after including
2984 # INCLUDES, setting cache variable VAR accordingly.
2985 ac_fn_c_check_member ()
2987 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2989 printf %s "checking for $2.$3... " >&6; }
2990 if eval test \${$4+y}
2991 then :
2992 printf %s "(cached) " >&6
2993 else $as_nop
2994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2995 /* end confdefs.h. */
2998 main (void)
3000 static $2 ac_aggr;
3001 if (ac_aggr.$3)
3002 return 0;
3004 return 0;
3006 _ACEOF
3007 if ac_fn_c_try_compile "$LINENO"
3008 then :
3009 eval "$4=yes"
3010 else $as_nop
3011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3012 /* end confdefs.h. */
3015 main (void)
3017 static $2 ac_aggr;
3018 if (sizeof ac_aggr.$3)
3019 return 0;
3021 return 0;
3023 _ACEOF
3024 if ac_fn_c_try_compile "$LINENO"
3025 then :
3026 eval "$4=yes"
3027 else $as_nop
3028 eval "$4=no"
3030 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3032 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3034 eval ac_res=\$$4
3035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3036 printf "%s\n" "$ac_res" >&6; }
3037 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3039 } # ac_fn_c_check_member
3041 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3042 # -------------------------------------------
3043 # Tests whether TYPE exists after having included INCLUDES, setting cache
3044 # variable VAR accordingly.
3045 ac_fn_c_check_type ()
3047 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3049 printf %s "checking for $2... " >&6; }
3050 if eval test \${$3+y}
3051 then :
3052 printf %s "(cached) " >&6
3053 else $as_nop
3054 eval "$3=no"
3055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3056 /* end confdefs.h. */
3059 main (void)
3061 if (sizeof ($2))
3062 return 0;
3064 return 0;
3066 _ACEOF
3067 if ac_fn_c_try_compile "$LINENO"
3068 then :
3069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3070 /* end confdefs.h. */
3073 main (void)
3075 if (sizeof (($2)))
3076 return 0;
3078 return 0;
3080 _ACEOF
3081 if ac_fn_c_try_compile "$LINENO"
3082 then :
3084 else $as_nop
3085 eval "$3=yes"
3087 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3089 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3091 eval ac_res=\$$3
3092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3093 printf "%s\n" "$ac_res" >&6; }
3094 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3096 } # ac_fn_c_check_type
3097 ac_configure_args_raw=
3098 for ac_arg
3100 case $ac_arg in
3101 *\'*)
3102 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3103 esac
3104 as_fn_append ac_configure_args_raw " '$ac_arg'"
3105 done
3107 case $ac_configure_args_raw in
3108 *$as_nl*)
3109 ac_safe_unquote= ;;
3111 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3112 ac_unsafe_a="$ac_unsafe_z#~"
3113 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3114 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3115 esac
3117 cat >config.log <<_ACEOF
3118 This file contains any messages produced by compilers while
3119 running configure, to aid debugging if configure makes a mistake.
3121 It was created by Wine $as_me 8.1, which was
3122 generated by GNU Autoconf 2.71. Invocation command line was
3124 $ $0$ac_configure_args_raw
3126 _ACEOF
3127 exec 5>>config.log
3129 cat <<_ASUNAME
3130 ## --------- ##
3131 ## Platform. ##
3132 ## --------- ##
3134 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3135 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3136 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3137 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3138 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3140 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3141 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3143 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3144 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3145 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3146 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3147 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3148 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3149 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3151 _ASUNAME
3153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3154 for as_dir in $PATH
3156 IFS=$as_save_IFS
3157 case $as_dir in #(((
3158 '') as_dir=./ ;;
3159 */) ;;
3160 *) as_dir=$as_dir/ ;;
3161 esac
3162 printf "%s\n" "PATH: $as_dir"
3163 done
3164 IFS=$as_save_IFS
3166 } >&5
3168 cat >&5 <<_ACEOF
3171 ## ----------- ##
3172 ## Core tests. ##
3173 ## ----------- ##
3175 _ACEOF
3178 # Keep a trace of the command line.
3179 # Strip out --no-create and --no-recursion so they do not pile up.
3180 # Strip out --silent because we don't want to record it for future runs.
3181 # Also quote any args containing shell meta-characters.
3182 # Make two passes to allow for proper duplicate-argument suppression.
3183 ac_configure_args=
3184 ac_configure_args0=
3185 ac_configure_args1=
3186 ac_must_keep_next=false
3187 for ac_pass in 1 2
3189 for ac_arg
3191 case $ac_arg in
3192 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3193 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3194 | -silent | --silent | --silen | --sile | --sil)
3195 continue ;;
3196 *\'*)
3197 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3198 esac
3199 case $ac_pass in
3200 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3202 as_fn_append ac_configure_args1 " '$ac_arg'"
3203 if test $ac_must_keep_next = true; then
3204 ac_must_keep_next=false # Got value, back to normal.
3205 else
3206 case $ac_arg in
3207 *=* | --config-cache | -C | -disable-* | --disable-* \
3208 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3209 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3210 | -with-* | --with-* | -without-* | --without-* | --x)
3211 case "$ac_configure_args0 " in
3212 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3213 esac
3215 -* ) ac_must_keep_next=true ;;
3216 esac
3218 as_fn_append ac_configure_args " '$ac_arg'"
3220 esac
3221 done
3222 done
3223 { ac_configure_args0=; unset ac_configure_args0;}
3224 { ac_configure_args1=; unset ac_configure_args1;}
3226 # When interrupted or exit'd, cleanup temporary files, and complete
3227 # config.log. We remove comments because anyway the quotes in there
3228 # would cause problems or look ugly.
3229 # WARNING: Use '\'' to represent an apostrophe within the trap.
3230 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3231 trap 'exit_status=$?
3232 # Sanitize IFS.
3233 IFS=" "" $as_nl"
3234 # Save into config.log some information that might help in debugging.
3236 echo
3238 printf "%s\n" "## ---------------- ##
3239 ## Cache variables. ##
3240 ## ---------------- ##"
3241 echo
3242 # The following way of writing the cache mishandles newlines in values,
3244 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3245 eval ac_val=\$$ac_var
3246 case $ac_val in #(
3247 *${as_nl}*)
3248 case $ac_var in #(
3249 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3250 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3251 esac
3252 case $ac_var in #(
3253 _ | IFS | as_nl) ;; #(
3254 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3255 *) { eval $ac_var=; unset $ac_var;} ;;
3256 esac ;;
3257 esac
3258 done
3259 (set) 2>&1 |
3260 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3261 *${as_nl}ac_space=\ *)
3262 sed -n \
3263 "s/'\''/'\''\\\\'\'''\''/g;
3264 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3265 ;; #(
3267 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3269 esac |
3270 sort
3272 echo
3274 printf "%s\n" "## ----------------- ##
3275 ## Output variables. ##
3276 ## ----------------- ##"
3277 echo
3278 for ac_var in $ac_subst_vars
3280 eval ac_val=\$$ac_var
3281 case $ac_val in
3282 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3283 esac
3284 printf "%s\n" "$ac_var='\''$ac_val'\''"
3285 done | sort
3286 echo
3288 if test -n "$ac_subst_files"; then
3289 printf "%s\n" "## ------------------- ##
3290 ## File substitutions. ##
3291 ## ------------------- ##"
3292 echo
3293 for ac_var in $ac_subst_files
3295 eval ac_val=\$$ac_var
3296 case $ac_val in
3297 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3298 esac
3299 printf "%s\n" "$ac_var='\''$ac_val'\''"
3300 done | sort
3301 echo
3304 if test -s confdefs.h; then
3305 printf "%s\n" "## ----------- ##
3306 ## confdefs.h. ##
3307 ## ----------- ##"
3308 echo
3309 cat confdefs.h
3310 echo
3312 test "$ac_signal" != 0 &&
3313 printf "%s\n" "$as_me: caught signal $ac_signal"
3314 printf "%s\n" "$as_me: exit $exit_status"
3315 } >&5
3316 rm -f core *.core core.conftest.* &&
3317 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3318 exit $exit_status
3320 for ac_signal in 1 2 13 15; do
3321 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3322 done
3323 ac_signal=0
3325 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3326 rm -f -r conftest* confdefs.h
3328 printf "%s\n" "/* confdefs.h */" > confdefs.h
3330 # Predefined preprocessor variables.
3332 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3334 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3336 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3338 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3340 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3342 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3345 # Let the site file select an alternate cache file if it wants to.
3346 # Prefer an explicitly selected file to automatically selected ones.
3347 if test -n "$CONFIG_SITE"; then
3348 ac_site_files="$CONFIG_SITE"
3349 elif test "x$prefix" != xNONE; then
3350 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3351 else
3352 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3355 for ac_site_file in $ac_site_files
3357 case $ac_site_file in #(
3358 */*) :
3359 ;; #(
3360 *) :
3361 ac_site_file=./$ac_site_file ;;
3362 esac
3363 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3365 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3366 sed 's/^/| /' "$ac_site_file" >&5
3367 . "$ac_site_file" \
3368 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3369 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3370 as_fn_error $? "failed to load site script $ac_site_file
3371 See \`config.log' for more details" "$LINENO" 5; }
3373 done
3375 if test -r "$cache_file"; then
3376 # Some versions of bash will fail to source /dev/null (special files
3377 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3378 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3380 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3381 case $cache_file in
3382 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3383 *) . "./$cache_file";;
3384 esac
3386 else
3387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3388 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3389 >$cache_file
3392 # Test code for whether the C compiler supports C89 (global declarations)
3393 ac_c_conftest_c89_globals='
3394 /* Does the compiler advertise C89 conformance?
3395 Do not test the value of __STDC__, because some compilers set it to 0
3396 while being otherwise adequately conformant. */
3397 #if !defined __STDC__
3398 # error "Compiler does not advertise C89 conformance"
3399 #endif
3401 #include <stddef.h>
3402 #include <stdarg.h>
3403 struct stat;
3404 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3405 struct buf { int x; };
3406 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3407 static char *e (p, i)
3408 char **p;
3409 int i;
3411 return p[i];
3413 static char *f (char * (*g) (char **, int), char **p, ...)
3415 char *s;
3416 va_list v;
3417 va_start (v,p);
3418 s = g (p, va_arg (v,int));
3419 va_end (v);
3420 return s;
3423 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3424 function prototypes and stuff, but not \xHH hex character constants.
3425 These do not provoke an error unfortunately, instead are silently treated
3426 as an "x". The following induces an error, until -std is added to get
3427 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3428 array size at least. It is necessary to write \x00 == 0 to get something
3429 that is true only with -std. */
3430 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3432 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3433 inside strings and character constants. */
3434 #define FOO(x) '\''x'\''
3435 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3437 int test (int i, double x);
3438 struct s1 {int (*f) (int a);};
3439 struct s2 {int (*f) (double a);};
3440 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3441 int, int);'
3443 # Test code for whether the C compiler supports C89 (body of main).
3444 ac_c_conftest_c89_main='
3445 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3448 # Test code for whether the C compiler supports C99 (global declarations)
3449 ac_c_conftest_c99_globals='
3450 // Does the compiler advertise C99 conformance?
3451 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3452 # error "Compiler does not advertise C99 conformance"
3453 #endif
3455 #include <stdbool.h>
3456 extern int puts (const char *);
3457 extern int printf (const char *, ...);
3458 extern int dprintf (int, const char *, ...);
3459 extern void *malloc (size_t);
3461 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3462 // dprintf is used instead of fprintf to avoid needing to declare
3463 // FILE and stderr.
3464 #define debug(...) dprintf (2, __VA_ARGS__)
3465 #define showlist(...) puts (#__VA_ARGS__)
3466 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3467 static void
3468 test_varargs_macros (void)
3470 int x = 1234;
3471 int y = 5678;
3472 debug ("Flag");
3473 debug ("X = %d\n", x);
3474 showlist (The first, second, and third items.);
3475 report (x>y, "x is %d but y is %d", x, y);
3478 // Check long long types.
3479 #define BIG64 18446744073709551615ull
3480 #define BIG32 4294967295ul
3481 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3482 #if !BIG_OK
3483 #error "your preprocessor is broken"
3484 #endif
3485 #if BIG_OK
3486 #else
3487 #error "your preprocessor is broken"
3488 #endif
3489 static long long int bignum = -9223372036854775807LL;
3490 static unsigned long long int ubignum = BIG64;
3492 struct incomplete_array
3494 int datasize;
3495 double data[];
3498 struct named_init {
3499 int number;
3500 const wchar_t *name;
3501 double average;
3504 typedef const char *ccp;
3506 static inline int
3507 test_restrict (ccp restrict text)
3509 // See if C++-style comments work.
3510 // Iterate through items via the restricted pointer.
3511 // Also check for declarations in for loops.
3512 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3513 continue;
3514 return 0;
3517 // Check varargs and va_copy.
3518 static bool
3519 test_varargs (const char *format, ...)
3521 va_list args;
3522 va_start (args, format);
3523 va_list args_copy;
3524 va_copy (args_copy, args);
3526 const char *str = "";
3527 int number = 0;
3528 float fnumber = 0;
3530 while (*format)
3532 switch (*format++)
3534 case '\''s'\'': // string
3535 str = va_arg (args_copy, const char *);
3536 break;
3537 case '\''d'\'': // int
3538 number = va_arg (args_copy, int);
3539 break;
3540 case '\''f'\'': // float
3541 fnumber = va_arg (args_copy, double);
3542 break;
3543 default:
3544 break;
3547 va_end (args_copy);
3548 va_end (args);
3550 return *str && number && fnumber;
3554 # Test code for whether the C compiler supports C99 (body of main).
3555 ac_c_conftest_c99_main='
3556 // Check bool.
3557 _Bool success = false;
3558 success |= (argc != 0);
3560 // Check restrict.
3561 if (test_restrict ("String literal") == 0)
3562 success = true;
3563 char *restrict newvar = "Another string";
3565 // Check varargs.
3566 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3567 test_varargs_macros ();
3569 // Check flexible array members.
3570 struct incomplete_array *ia =
3571 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3572 ia->datasize = 10;
3573 for (int i = 0; i < ia->datasize; ++i)
3574 ia->data[i] = i * 1.234;
3576 // Check named initializers.
3577 struct named_init ni = {
3578 .number = 34,
3579 .name = L"Test wide string",
3580 .average = 543.34343,
3583 ni.number = 58;
3585 int dynamic_array[ni.number];
3586 dynamic_array[0] = argv[0][0];
3587 dynamic_array[ni.number - 1] = 543;
3589 // work around unused variable warnings
3590 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3591 || dynamic_array[ni.number - 1] != 543);
3594 # Test code for whether the C compiler supports C11 (global declarations)
3595 ac_c_conftest_c11_globals='
3596 // Does the compiler advertise C11 conformance?
3597 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3598 # error "Compiler does not advertise C11 conformance"
3599 #endif
3601 // Check _Alignas.
3602 char _Alignas (double) aligned_as_double;
3603 char _Alignas (0) no_special_alignment;
3604 extern char aligned_as_int;
3605 char _Alignas (0) _Alignas (int) aligned_as_int;
3607 // Check _Alignof.
3608 enum
3610 int_alignment = _Alignof (int),
3611 int_array_alignment = _Alignof (int[100]),
3612 char_alignment = _Alignof (char)
3614 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3616 // Check _Noreturn.
3617 int _Noreturn does_not_return (void) { for (;;) continue; }
3619 // Check _Static_assert.
3620 struct test_static_assert
3622 int x;
3623 _Static_assert (sizeof (int) <= sizeof (long int),
3624 "_Static_assert does not work in struct");
3625 long int y;
3628 // Check UTF-8 literals.
3629 #define u8 syntax error!
3630 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3632 // Check duplicate typedefs.
3633 typedef long *long_ptr;
3634 typedef long int *long_ptr;
3635 typedef long_ptr long_ptr;
3637 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3638 struct anonymous
3640 union {
3641 struct { int i; int j; };
3642 struct { int k; long int l; } w;
3644 int m;
3645 } v1;
3648 # Test code for whether the C compiler supports C11 (body of main).
3649 ac_c_conftest_c11_main='
3650 _Static_assert ((offsetof (struct anonymous, i)
3651 == offsetof (struct anonymous, w.k)),
3652 "Anonymous union alignment botch");
3653 v1.i = 2;
3654 v1.w.k = 5;
3655 ok |= v1.i != 5;
3658 # Test code for whether the C compiler supports C11 (complete).
3659 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3660 ${ac_c_conftest_c99_globals}
3661 ${ac_c_conftest_c11_globals}
3664 main (int argc, char **argv)
3666 int ok = 0;
3667 ${ac_c_conftest_c89_main}
3668 ${ac_c_conftest_c99_main}
3669 ${ac_c_conftest_c11_main}
3670 return ok;
3674 # Test code for whether the C compiler supports C99 (complete).
3675 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3676 ${ac_c_conftest_c99_globals}
3679 main (int argc, char **argv)
3681 int ok = 0;
3682 ${ac_c_conftest_c89_main}
3683 ${ac_c_conftest_c99_main}
3684 return ok;
3688 # Test code for whether the C compiler supports C89 (complete).
3689 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3692 main (int argc, char **argv)
3694 int ok = 0;
3695 ${ac_c_conftest_c89_main}
3696 return ok;
3700 # Test code for whether the C++ compiler supports C++98 (global declarations)
3701 ac_cxx_conftest_cxx98_globals='
3702 // Does the compiler advertise C++98 conformance?
3703 #if !defined __cplusplus || __cplusplus < 199711L
3704 # error "Compiler does not advertise C++98 conformance"
3705 #endif
3707 // These inclusions are to reject old compilers that
3708 // lack the unsuffixed header files.
3709 #include <cstdlib>
3710 #include <exception>
3712 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3713 extern void assert (int);
3714 namespace std {
3715 extern int strcmp (const char *, const char *);
3718 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3719 using std::exception;
3720 using std::strcmp;
3722 namespace {
3724 void test_exception_syntax()
3726 try {
3727 throw "test";
3728 } catch (const char *s) {
3729 // Extra parentheses suppress a warning when building autoconf itself,
3730 // due to lint rules shared with more typical C programs.
3731 assert (!(strcmp) (s, "test"));
3735 template <typename T> struct test_template
3737 T const val;
3738 explicit test_template(T t) : val(t) {}
3739 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3742 } // anonymous namespace
3745 # Test code for whether the C++ compiler supports C++98 (body of main)
3746 ac_cxx_conftest_cxx98_main='
3747 assert (argc);
3748 assert (! argv[0]);
3750 test_exception_syntax ();
3751 test_template<double> tt (2.0);
3752 assert (tt.add (4) == 6.0);
3753 assert (true && !false);
3757 # Test code for whether the C++ compiler supports C++11 (global declarations)
3758 ac_cxx_conftest_cxx11_globals='
3759 // Does the compiler advertise C++ 2011 conformance?
3760 #if !defined __cplusplus || __cplusplus < 201103L
3761 # error "Compiler does not advertise C++11 conformance"
3762 #endif
3764 namespace cxx11test
3766 constexpr int get_val() { return 20; }
3768 struct testinit
3770 int i;
3771 double d;
3774 class delegate
3776 public:
3777 delegate(int n) : n(n) {}
3778 delegate(): delegate(2354) {}
3780 virtual int getval() { return this->n; };
3781 protected:
3782 int n;
3785 class overridden : public delegate
3787 public:
3788 overridden(int n): delegate(n) {}
3789 virtual int getval() override final { return this->n * 2; }
3792 class nocopy
3794 public:
3795 nocopy(int i): i(i) {}
3796 nocopy() = default;
3797 nocopy(const nocopy&) = delete;
3798 nocopy & operator=(const nocopy&) = delete;
3799 private:
3800 int i;
3803 // for testing lambda expressions
3804 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3806 return f(v);
3809 // for testing variadic templates and trailing return types
3810 template <typename V> auto sum(V first) -> V
3812 return first;
3814 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3816 return first + sum(rest...);
3821 # Test code for whether the C++ compiler supports C++11 (body of main)
3822 ac_cxx_conftest_cxx11_main='
3824 // Test auto and decltype
3825 auto a1 = 6538;
3826 auto a2 = 48573953.4;
3827 auto a3 = "String literal";
3829 int total = 0;
3830 for (auto i = a3; *i; ++i) { total += *i; }
3832 decltype(a2) a4 = 34895.034;
3835 // Test constexpr
3836 short sa[cxx11test::get_val()] = { 0 };
3839 // Test initializer lists
3840 cxx11test::testinit il = { 4323, 435234.23544 };
3843 // Test range-based for
3844 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3845 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3846 for (auto &x : array) { x += 23; }
3849 // Test lambda expressions
3850 using cxx11test::eval;
3851 assert (eval ([](int x) { return x*2; }, 21) == 42);
3852 double d = 2.0;
3853 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3854 assert (d == 5.0);
3855 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3856 assert (d == 5.0);
3859 // Test use of variadic templates
3860 using cxx11test::sum;
3861 auto a = sum(1);
3862 auto b = sum(1, 2);
3863 auto c = sum(1.0, 2.0, 3.0);
3866 // Test constructor delegation
3867 cxx11test::delegate d1;
3868 cxx11test::delegate d2();
3869 cxx11test::delegate d3(45);
3872 // Test override and final
3873 cxx11test::overridden o1(55464);
3876 // Test nullptr
3877 char *c = nullptr;
3880 // Test template brackets
3881 test_template<::test_template<int>> v(test_template<int>(12));
3884 // Unicode literals
3885 char const *utf8 = u8"UTF-8 string \u2500";
3886 char16_t const *utf16 = u"UTF-8 string \u2500";
3887 char32_t const *utf32 = U"UTF-32 string \u2500";
3891 # Test code for whether the C compiler supports C++11 (complete).
3892 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3893 ${ac_cxx_conftest_cxx11_globals}
3896 main (int argc, char **argv)
3898 int ok = 0;
3899 ${ac_cxx_conftest_cxx98_main}
3900 ${ac_cxx_conftest_cxx11_main}
3901 return ok;
3905 # Test code for whether the C compiler supports C++98 (complete).
3906 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3908 main (int argc, char **argv)
3910 int ok = 0;
3911 ${ac_cxx_conftest_cxx98_main}
3912 return ok;
3916 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3917 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3918 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3919 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3920 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3921 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3922 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3923 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3924 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3926 # Auxiliary files required by this configure script.
3927 ac_aux_files="config.guess config.sub"
3929 # Locations in which to look for auxiliary files.
3930 ac_aux_dir_candidates="${srcdir}/tools"
3932 # Search for a directory containing all of the required auxiliary files,
3933 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3934 # If we don't find one directory that contains all the files we need,
3935 # we report the set of missing files from the *first* directory in
3936 # $ac_aux_dir_candidates and give up.
3937 ac_missing_aux_files=""
3938 ac_first_candidate=:
3939 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3941 as_found=false
3942 for as_dir in $ac_aux_dir_candidates
3944 IFS=$as_save_IFS
3945 case $as_dir in #(((
3946 '') as_dir=./ ;;
3947 */) ;;
3948 *) as_dir=$as_dir/ ;;
3949 esac
3950 as_found=:
3952 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3953 ac_aux_dir_found=yes
3954 ac_install_sh=
3955 for ac_aux in $ac_aux_files
3957 # As a special case, if "install-sh" is required, that requirement
3958 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3959 # and $ac_install_sh is set appropriately for whichever one is found.
3960 if test x"$ac_aux" = x"install-sh"
3961 then
3962 if 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}install.sh"; then
3966 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3967 ac_install_sh="${as_dir}install.sh -c"
3968 elif test -f "${as_dir}shtool"; then
3969 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3970 ac_install_sh="${as_dir}shtool install -c"
3971 else
3972 ac_aux_dir_found=no
3973 if $ac_first_candidate; then
3974 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3975 else
3976 break
3979 else
3980 if test -f "${as_dir}${ac_aux}"; then
3981 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3982 else
3983 ac_aux_dir_found=no
3984 if $ac_first_candidate; then
3985 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3986 else
3987 break
3991 done
3992 if test "$ac_aux_dir_found" = yes; then
3993 ac_aux_dir="$as_dir"
3994 break
3996 ac_first_candidate=false
3998 as_found=false
3999 done
4000 IFS=$as_save_IFS
4001 if $as_found
4002 then :
4004 else $as_nop
4005 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4009 # These three variables are undocumented and unsupported,
4010 # and are intended to be withdrawn in a future Autoconf release.
4011 # They can cause serious problems if a builder's source tree is in a directory
4012 # whose full name contains unusual characters.
4013 if test -f "${ac_aux_dir}config.guess"; then
4014 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4016 if test -f "${ac_aux_dir}config.sub"; then
4017 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4019 if test -f "$ac_aux_dir/configure"; then
4020 ac_configure="$SHELL ${ac_aux_dir}configure"
4023 # Check that the precious variables saved in the cache have kept the same
4024 # value.
4025 ac_cache_corrupted=false
4026 for ac_var in $ac_precious_vars; do
4027 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4028 eval ac_new_set=\$ac_env_${ac_var}_set
4029 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4030 eval ac_new_val=\$ac_env_${ac_var}_value
4031 case $ac_old_set,$ac_new_set in
4032 set,)
4033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4034 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4035 ac_cache_corrupted=: ;;
4036 ,set)
4037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4038 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4039 ac_cache_corrupted=: ;;
4040 ,);;
4042 if test "x$ac_old_val" != "x$ac_new_val"; then
4043 # differences in whitespace do not lead to failure.
4044 ac_old_val_w=`echo x $ac_old_val`
4045 ac_new_val_w=`echo x $ac_new_val`
4046 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4048 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4049 ac_cache_corrupted=:
4050 else
4051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4052 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4053 eval $ac_var=\$ac_old_val
4055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4056 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4058 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4059 fi;;
4060 esac
4061 # Pass precious variables to config.status.
4062 if test "$ac_new_set" = set; then
4063 case $ac_new_val in
4064 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4065 *) ac_arg=$ac_var=$ac_new_val ;;
4066 esac
4067 case " $ac_configure_args " in
4068 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4069 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4070 esac
4072 done
4073 if $ac_cache_corrupted; then
4074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4075 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4077 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4078 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4079 and start over" "$LINENO" 5
4081 ## -------------------- ##
4082 ## Main body of script. ##
4083 ## -------------------- ##
4085 ac_ext=c
4086 ac_cpp='$CPP $CPPFLAGS'
4087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4093 ac_config_headers="$ac_config_headers include/config.h"
4097 libwine_version="1.0"
4100 # Check whether --enable-archs was given.
4101 if test ${enable_archs+y}
4102 then :
4103 enableval=$enable_archs;
4106 # Check whether --enable-win16 was given.
4107 if test ${enable_win16+y}
4108 then :
4109 enableval=$enable_win16;
4112 # Check whether --enable-win64 was given.
4113 if test ${enable_win64+y}
4114 then :
4115 enableval=$enable_win64;
4118 # Check whether --enable-tests was given.
4119 if test ${enable_tests+y}
4120 then :
4121 enableval=$enable_tests;
4124 # Check whether --enable-build-id was given.
4125 if test ${enable_build_id+y}
4126 then :
4127 enableval=$enable_build_id;
4130 # Check whether --enable-maintainer-mode was given.
4131 if test ${enable_maintainer_mode+y}
4132 then :
4133 enableval=$enable_maintainer_mode;
4136 # Check whether --enable-silent-rules was given.
4137 if test ${enable_silent_rules+y}
4138 then :
4139 enableval=$enable_silent_rules;
4142 # Check whether --enable-werror was given.
4143 if test ${enable_werror+y}
4144 then :
4145 enableval=$enable_werror;
4150 # Check whether --with-alsa was given.
4151 if test ${with_alsa+y}
4152 then :
4153 withval=$with_alsa;
4157 # Check whether --with-capi was given.
4158 if test ${with_capi+y}
4159 then :
4160 withval=$with_capi;
4164 # Check whether --with-coreaudio was given.
4165 if test ${with_coreaudio+y}
4166 then :
4167 withval=$with_coreaudio;
4171 # Check whether --with-cups was given.
4172 if test ${with_cups+y}
4173 then :
4174 withval=$with_cups;
4178 # Check whether --with-dbus was given.
4179 if test ${with_dbus+y}
4180 then :
4181 withval=$with_dbus;
4185 # Check whether --with-float-abi was given.
4186 if test ${with_float_abi+y}
4187 then :
4188 withval=$with_float_abi;
4192 # Check whether --with-fontconfig was given.
4193 if test ${with_fontconfig+y}
4194 then :
4195 withval=$with_fontconfig;
4199 # Check whether --with-freetype was given.
4200 if test ${with_freetype+y}
4201 then :
4202 withval=$with_freetype;
4206 # Check whether --with-gettext was given.
4207 if test ${with_gettext+y}
4208 then :
4209 withval=$with_gettext;
4213 # Check whether --with-gettextpo was given.
4214 if test ${with_gettextpo+y}
4215 then :
4216 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4220 # Check whether --with-gphoto was given.
4221 if test ${with_gphoto+y}
4222 then :
4223 withval=$with_gphoto;
4227 # Check whether --with-gnutls was given.
4228 if test ${with_gnutls+y}
4229 then :
4230 withval=$with_gnutls;
4234 # Check whether --with-gssapi was given.
4235 if test ${with_gssapi+y}
4236 then :
4237 withval=$with_gssapi;
4241 # Check whether --with-gstreamer was given.
4242 if test ${with_gstreamer+y}
4243 then :
4244 withval=$with_gstreamer;
4248 # Check whether --with-inotify was given.
4249 if test ${with_inotify+y}
4250 then :
4251 withval=$with_inotify;
4255 # Check whether --with-krb5 was given.
4256 if test ${with_krb5+y}
4257 then :
4258 withval=$with_krb5;
4262 # Check whether --with-mingw was given.
4263 if test ${with_mingw+y}
4264 then :
4265 withval=$with_mingw;
4269 # Check whether --with-netapi was given.
4270 if test ${with_netapi+y}
4271 then :
4272 withval=$with_netapi;
4276 # Check whether --with-opencl was given.
4277 if test ${with_opencl+y}
4278 then :
4279 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4283 # Check whether --with-opengl was given.
4284 if test ${with_opengl+y}
4285 then :
4286 withval=$with_opengl;
4290 # Check whether --with-osmesa was given.
4291 if test ${with_osmesa+y}
4292 then :
4293 withval=$with_osmesa;
4297 # Check whether --with-oss was given.
4298 if test ${with_oss+y}
4299 then :
4300 withval=$with_oss;
4304 # Check whether --with-pcap was given.
4305 if test ${with_pcap+y}
4306 then :
4307 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4311 # Check whether --with-pthread was given.
4312 if test ${with_pthread+y}
4313 then :
4314 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4318 # Check whether --with-pulse was given.
4319 if test ${with_pulse+y}
4320 then :
4321 withval=$with_pulse;
4325 # Check whether --with-sane was given.
4326 if test ${with_sane+y}
4327 then :
4328 withval=$with_sane;
4332 # Check whether --with-sdl was given.
4333 if test ${with_sdl+y}
4334 then :
4335 withval=$with_sdl;
4339 # Check whether --with-udev was given.
4340 if test ${with_udev+y}
4341 then :
4342 withval=$with_udev;
4346 # Check whether --with-unwind was given.
4347 if test ${with_unwind+y}
4348 then :
4349 withval=$with_unwind;
4353 # Check whether --with-usb was given.
4354 if test ${with_usb+y}
4355 then :
4356 withval=$with_usb;
4360 # Check whether --with-v4l2 was given.
4361 if test ${with_v4l2+y}
4362 then :
4363 withval=$with_v4l2;
4367 # Check whether --with-vulkan was given.
4368 if test ${with_vulkan+y}
4369 then :
4370 withval=$with_vulkan;
4374 # Check whether --with-xcomposite was given.
4375 if test ${with_xcomposite+y}
4376 then :
4377 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4381 # Check whether --with-xcursor was given.
4382 if test ${with_xcursor+y}
4383 then :
4384 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4388 # Check whether --with-xfixes was given.
4389 if test ${with_xfixes+y}
4390 then :
4391 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4395 # Check whether --with-xinerama was given.
4396 if test ${with_xinerama+y}
4397 then :
4398 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4402 # Check whether --with-xinput was given.
4403 if test ${with_xinput+y}
4404 then :
4405 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4409 # Check whether --with-xinput2 was given.
4410 if test ${with_xinput2+y}
4411 then :
4412 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4416 # Check whether --with-xrandr was given.
4417 if test ${with_xrandr+y}
4418 then :
4419 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4423 # Check whether --with-xrender was given.
4424 if test ${with_xrender+y}
4425 then :
4426 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4430 # Check whether --with-xshape was given.
4431 if test ${with_xshape+y}
4432 then :
4433 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4437 # Check whether --with-xshm was given.
4438 if test ${with_xshm+y}
4439 then :
4440 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4444 # Check whether --with-xxf86vm was given.
4445 if test ${with_xxf86vm+y}
4446 then :
4447 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
4452 # Check whether --with-system-dllpath was given.
4453 if test ${with_system_dllpath+y}
4454 then :
4455 withval=$with_system_dllpath; system_dllpath=$withval
4460 # Check whether --with-wine-tools was given.
4461 if test ${with_wine_tools+y}
4462 then :
4463 withval=$with_wine_tools;
4467 # Check whether --with-wine64 was given.
4468 if test ${with_wine64+y}
4469 then :
4470 withval=$with_wine64;
4477 # Make sure we can run config.sub.
4478 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4479 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4482 printf %s "checking build system type... " >&6; }
4483 if test ${ac_cv_build+y}
4484 then :
4485 printf %s "(cached) " >&6
4486 else $as_nop
4487 ac_build_alias=$build_alias
4488 test "x$ac_build_alias" = x &&
4489 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4490 test "x$ac_build_alias" = x &&
4491 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4492 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4493 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4497 printf "%s\n" "$ac_cv_build" >&6; }
4498 case $ac_cv_build in
4499 *-*-*) ;;
4500 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4501 esac
4502 build=$ac_cv_build
4503 ac_save_IFS=$IFS; IFS='-'
4504 set x $ac_cv_build
4505 shift
4506 build_cpu=$1
4507 build_vendor=$2
4508 shift; shift
4509 # Remember, the first character of IFS is used to create $*,
4510 # except with old shells:
4511 build_os=$*
4512 IFS=$ac_save_IFS
4513 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4517 printf %s "checking host system type... " >&6; }
4518 if test ${ac_cv_host+y}
4519 then :
4520 printf %s "(cached) " >&6
4521 else $as_nop
4522 if test "x$host_alias" = x; then
4523 ac_cv_host=$ac_cv_build
4524 else
4525 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4526 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4531 printf "%s\n" "$ac_cv_host" >&6; }
4532 case $ac_cv_host in
4533 *-*-*) ;;
4534 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4535 esac
4536 host=$ac_cv_host
4537 ac_save_IFS=$IFS; IFS='-'
4538 set x $ac_cv_host
4539 shift
4540 host_cpu=$1
4541 host_vendor=$2
4542 shift; shift
4543 # Remember, the first character of IFS is used to create $*,
4544 # except with old shells:
4545 host_os=$*
4546 IFS=$ac_save_IFS
4547 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4551 dlldir=\${libdir}/wine
4553 fontdir=\${datadir}/wine/fonts
4555 nlsdir=\${datadir}/wine/nls
4560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4561 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4562 set x ${MAKE-make}
4563 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4564 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4565 then :
4566 printf %s "(cached) " >&6
4567 else $as_nop
4568 cat >conftest.make <<\_ACEOF
4569 SHELL = /bin/sh
4570 all:
4571 @echo '@@@%%%=$(MAKE)=@@@%%%'
4572 _ACEOF
4573 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4574 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4575 *@@@%%%=?*=@@@%%%*)
4576 eval ac_cv_prog_make_${ac_make}_set=yes;;
4578 eval ac_cv_prog_make_${ac_make}_set=no;;
4579 esac
4580 rm -f conftest.make
4582 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4584 printf "%s\n" "yes" >&6; }
4585 SET_MAKE=
4586 else
4587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4588 printf "%s\n" "no" >&6; }
4589 SET_MAKE="MAKE=${MAKE-make}"
4601 ac_ext=c
4602 ac_cpp='$CPP $CPPFLAGS'
4603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4606 if test -n "$ac_tool_prefix"; then
4607 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4608 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4610 printf %s "checking for $ac_word... " >&6; }
4611 if test ${ac_cv_prog_CC+y}
4612 then :
4613 printf %s "(cached) " >&6
4614 else $as_nop
4615 if test -n "$CC"; then
4616 ac_cv_prog_CC="$CC" # Let the user override the test.
4617 else
4618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4619 for as_dir in $PATH
4621 IFS=$as_save_IFS
4622 case $as_dir in #(((
4623 '') as_dir=./ ;;
4624 */) ;;
4625 *) as_dir=$as_dir/ ;;
4626 esac
4627 for ac_exec_ext in '' $ac_executable_extensions; do
4628 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4629 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4630 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4631 break 2
4633 done
4634 done
4635 IFS=$as_save_IFS
4639 CC=$ac_cv_prog_CC
4640 if test -n "$CC"; then
4641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4642 printf "%s\n" "$CC" >&6; }
4643 else
4644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4645 printf "%s\n" "no" >&6; }
4650 if test -z "$ac_cv_prog_CC"; then
4651 ac_ct_CC=$CC
4652 # Extract the first word of "gcc", so it can be a program name with args.
4653 set dummy gcc; ac_word=$2
4654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4655 printf %s "checking for $ac_word... " >&6; }
4656 if test ${ac_cv_prog_ac_ct_CC+y}
4657 then :
4658 printf %s "(cached) " >&6
4659 else $as_nop
4660 if test -n "$ac_ct_CC"; then
4661 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4662 else
4663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4664 for as_dir in $PATH
4666 IFS=$as_save_IFS
4667 case $as_dir in #(((
4668 '') as_dir=./ ;;
4669 */) ;;
4670 *) as_dir=$as_dir/ ;;
4671 esac
4672 for ac_exec_ext in '' $ac_executable_extensions; do
4673 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4674 ac_cv_prog_ac_ct_CC="gcc"
4675 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4676 break 2
4678 done
4679 done
4680 IFS=$as_save_IFS
4684 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4685 if test -n "$ac_ct_CC"; then
4686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4687 printf "%s\n" "$ac_ct_CC" >&6; }
4688 else
4689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4690 printf "%s\n" "no" >&6; }
4693 if test "x$ac_ct_CC" = x; then
4694 CC=""
4695 else
4696 case $cross_compiling:$ac_tool_warned in
4697 yes:)
4698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4699 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4700 ac_tool_warned=yes ;;
4701 esac
4702 CC=$ac_ct_CC
4704 else
4705 CC="$ac_cv_prog_CC"
4708 if test -z "$CC"; then
4709 if test -n "$ac_tool_prefix"; then
4710 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4711 set dummy ${ac_tool_prefix}cc; ac_word=$2
4712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4713 printf %s "checking for $ac_word... " >&6; }
4714 if test ${ac_cv_prog_CC+y}
4715 then :
4716 printf %s "(cached) " >&6
4717 else $as_nop
4718 if test -n "$CC"; then
4719 ac_cv_prog_CC="$CC" # Let the user override the test.
4720 else
4721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4722 for as_dir in $PATH
4724 IFS=$as_save_IFS
4725 case $as_dir in #(((
4726 '') as_dir=./ ;;
4727 */) ;;
4728 *) as_dir=$as_dir/ ;;
4729 esac
4730 for ac_exec_ext in '' $ac_executable_extensions; do
4731 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4732 ac_cv_prog_CC="${ac_tool_prefix}cc"
4733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4734 break 2
4736 done
4737 done
4738 IFS=$as_save_IFS
4742 CC=$ac_cv_prog_CC
4743 if test -n "$CC"; then
4744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4745 printf "%s\n" "$CC" >&6; }
4746 else
4747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4748 printf "%s\n" "no" >&6; }
4754 if test -z "$CC"; then
4755 # Extract the first word of "cc", so it can be a program name with args.
4756 set dummy cc; ac_word=$2
4757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4758 printf %s "checking for $ac_word... " >&6; }
4759 if test ${ac_cv_prog_CC+y}
4760 then :
4761 printf %s "(cached) " >&6
4762 else $as_nop
4763 if test -n "$CC"; then
4764 ac_cv_prog_CC="$CC" # Let the user override the test.
4765 else
4766 ac_prog_rejected=no
4767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4768 for as_dir in $PATH
4770 IFS=$as_save_IFS
4771 case $as_dir in #(((
4772 '') as_dir=./ ;;
4773 */) ;;
4774 *) as_dir=$as_dir/ ;;
4775 esac
4776 for ac_exec_ext in '' $ac_executable_extensions; do
4777 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4778 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4779 ac_prog_rejected=yes
4780 continue
4782 ac_cv_prog_CC="cc"
4783 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4784 break 2
4786 done
4787 done
4788 IFS=$as_save_IFS
4790 if test $ac_prog_rejected = yes; then
4791 # We found a bogon in the path, so make sure we never use it.
4792 set dummy $ac_cv_prog_CC
4793 shift
4794 if test $# != 0; then
4795 # We chose a different compiler from the bogus one.
4796 # However, it has the same basename, so the bogon will be chosen
4797 # first if we set CC to just the basename; use the full file name.
4798 shift
4799 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4804 CC=$ac_cv_prog_CC
4805 if test -n "$CC"; then
4806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4807 printf "%s\n" "$CC" >&6; }
4808 else
4809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4810 printf "%s\n" "no" >&6; }
4815 if test -z "$CC"; then
4816 if test -n "$ac_tool_prefix"; then
4817 for ac_prog in cl.exe
4819 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4820 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4822 printf %s "checking for $ac_word... " >&6; }
4823 if test ${ac_cv_prog_CC+y}
4824 then :
4825 printf %s "(cached) " >&6
4826 else $as_nop
4827 if test -n "$CC"; then
4828 ac_cv_prog_CC="$CC" # Let the user override the test.
4829 else
4830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4831 for as_dir in $PATH
4833 IFS=$as_save_IFS
4834 case $as_dir in #(((
4835 '') as_dir=./ ;;
4836 */) ;;
4837 *) as_dir=$as_dir/ ;;
4838 esac
4839 for ac_exec_ext in '' $ac_executable_extensions; do
4840 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4841 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4842 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4843 break 2
4845 done
4846 done
4847 IFS=$as_save_IFS
4851 CC=$ac_cv_prog_CC
4852 if test -n "$CC"; then
4853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4854 printf "%s\n" "$CC" >&6; }
4855 else
4856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4857 printf "%s\n" "no" >&6; }
4861 test -n "$CC" && break
4862 done
4864 if test -z "$CC"; then
4865 ac_ct_CC=$CC
4866 for ac_prog in cl.exe
4868 # Extract the first word of "$ac_prog", so it can be a program name with args.
4869 set dummy $ac_prog; ac_word=$2
4870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4871 printf %s "checking for $ac_word... " >&6; }
4872 if test ${ac_cv_prog_ac_ct_CC+y}
4873 then :
4874 printf %s "(cached) " >&6
4875 else $as_nop
4876 if test -n "$ac_ct_CC"; then
4877 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4878 else
4879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4880 for as_dir in $PATH
4882 IFS=$as_save_IFS
4883 case $as_dir in #(((
4884 '') as_dir=./ ;;
4885 */) ;;
4886 *) as_dir=$as_dir/ ;;
4887 esac
4888 for ac_exec_ext in '' $ac_executable_extensions; do
4889 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4890 ac_cv_prog_ac_ct_CC="$ac_prog"
4891 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4892 break 2
4894 done
4895 done
4896 IFS=$as_save_IFS
4900 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4901 if test -n "$ac_ct_CC"; then
4902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4903 printf "%s\n" "$ac_ct_CC" >&6; }
4904 else
4905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4906 printf "%s\n" "no" >&6; }
4910 test -n "$ac_ct_CC" && break
4911 done
4913 if test "x$ac_ct_CC" = x; then
4914 CC=""
4915 else
4916 case $cross_compiling:$ac_tool_warned in
4917 yes:)
4918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4919 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4920 ac_tool_warned=yes ;;
4921 esac
4922 CC=$ac_ct_CC
4927 if test -z "$CC"; then
4928 if test -n "$ac_tool_prefix"; then
4929 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4930 set dummy ${ac_tool_prefix}clang; ac_word=$2
4931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4932 printf %s "checking for $ac_word... " >&6; }
4933 if test ${ac_cv_prog_CC+y}
4934 then :
4935 printf %s "(cached) " >&6
4936 else $as_nop
4937 if test -n "$CC"; then
4938 ac_cv_prog_CC="$CC" # Let the user override the test.
4939 else
4940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4941 for as_dir in $PATH
4943 IFS=$as_save_IFS
4944 case $as_dir in #(((
4945 '') as_dir=./ ;;
4946 */) ;;
4947 *) as_dir=$as_dir/ ;;
4948 esac
4949 for ac_exec_ext in '' $ac_executable_extensions; do
4950 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4951 ac_cv_prog_CC="${ac_tool_prefix}clang"
4952 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4953 break 2
4955 done
4956 done
4957 IFS=$as_save_IFS
4961 CC=$ac_cv_prog_CC
4962 if test -n "$CC"; then
4963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4964 printf "%s\n" "$CC" >&6; }
4965 else
4966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4967 printf "%s\n" "no" >&6; }
4972 if test -z "$ac_cv_prog_CC"; then
4973 ac_ct_CC=$CC
4974 # Extract the first word of "clang", so it can be a program name with args.
4975 set dummy clang; ac_word=$2
4976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4977 printf %s "checking for $ac_word... " >&6; }
4978 if test ${ac_cv_prog_ac_ct_CC+y}
4979 then :
4980 printf %s "(cached) " >&6
4981 else $as_nop
4982 if test -n "$ac_ct_CC"; then
4983 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4984 else
4985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4986 for as_dir in $PATH
4988 IFS=$as_save_IFS
4989 case $as_dir in #(((
4990 '') as_dir=./ ;;
4991 */) ;;
4992 *) as_dir=$as_dir/ ;;
4993 esac
4994 for ac_exec_ext in '' $ac_executable_extensions; do
4995 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4996 ac_cv_prog_ac_ct_CC="clang"
4997 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4998 break 2
5000 done
5001 done
5002 IFS=$as_save_IFS
5006 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5007 if test -n "$ac_ct_CC"; then
5008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5009 printf "%s\n" "$ac_ct_CC" >&6; }
5010 else
5011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5012 printf "%s\n" "no" >&6; }
5015 if test "x$ac_ct_CC" = x; then
5016 CC=""
5017 else
5018 case $cross_compiling:$ac_tool_warned in
5019 yes:)
5020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5021 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5022 ac_tool_warned=yes ;;
5023 esac
5024 CC=$ac_ct_CC
5026 else
5027 CC="$ac_cv_prog_CC"
5033 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5034 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5035 as_fn_error $? "no acceptable C compiler found in \$PATH
5036 See \`config.log' for more details" "$LINENO" 5; }
5038 # Provide some information about the compiler.
5039 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5040 set X $ac_compile
5041 ac_compiler=$2
5042 for ac_option in --version -v -V -qversion -version; do
5043 { { ac_try="$ac_compiler $ac_option >&5"
5044 case "(($ac_try" in
5045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5046 *) ac_try_echo=$ac_try;;
5047 esac
5048 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5049 printf "%s\n" "$ac_try_echo"; } >&5
5050 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5051 ac_status=$?
5052 if test -s conftest.err; then
5053 sed '10a\
5054 ... rest of stderr output deleted ...
5055 10q' conftest.err >conftest.er1
5056 cat conftest.er1 >&5
5058 rm -f conftest.er1 conftest.err
5059 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5060 test $ac_status = 0; }
5061 done
5063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5064 /* end confdefs.h. */
5067 main (void)
5071 return 0;
5073 _ACEOF
5074 ac_clean_files_save=$ac_clean_files
5075 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5076 # Try to create an executable without -o first, disregard a.out.
5077 # It will help us diagnose broken compilers, and finding out an intuition
5078 # of exeext.
5079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5080 printf %s "checking whether the C compiler works... " >&6; }
5081 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5083 # The possible output files:
5084 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5086 ac_rmfiles=
5087 for ac_file in $ac_files
5089 case $ac_file in
5090 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5091 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5092 esac
5093 done
5094 rm -f $ac_rmfiles
5096 if { { ac_try="$ac_link_default"
5097 case "(($ac_try" in
5098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5099 *) ac_try_echo=$ac_try;;
5100 esac
5101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5102 printf "%s\n" "$ac_try_echo"; } >&5
5103 (eval "$ac_link_default") 2>&5
5104 ac_status=$?
5105 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5106 test $ac_status = 0; }
5107 then :
5108 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5109 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5110 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5111 # so that the user can short-circuit this test for compilers unknown to
5112 # Autoconf.
5113 for ac_file in $ac_files ''
5115 test -f "$ac_file" || continue
5116 case $ac_file in
5117 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5119 [ab].out )
5120 # We found the default executable, but exeext='' is most
5121 # certainly right.
5122 break;;
5123 *.* )
5124 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5125 then :; else
5126 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5128 # We set ac_cv_exeext here because the later test for it is not
5129 # safe: cross compilers may not add the suffix if given an `-o'
5130 # argument, so we may need to know it at that point already.
5131 # Even if this section looks crufty: it has the advantage of
5132 # actually working.
5133 break;;
5135 break;;
5136 esac
5137 done
5138 test "$ac_cv_exeext" = no && ac_cv_exeext=
5140 else $as_nop
5141 ac_file=''
5143 if test -z "$ac_file"
5144 then :
5145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5146 printf "%s\n" "no" >&6; }
5147 printf "%s\n" "$as_me: failed program was:" >&5
5148 sed 's/^/| /' conftest.$ac_ext >&5
5150 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5151 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5152 as_fn_error 77 "C compiler cannot create executables
5153 See \`config.log' for more details" "$LINENO" 5; }
5154 else $as_nop
5155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5156 printf "%s\n" "yes" >&6; }
5158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5159 printf %s "checking for C compiler default output file name... " >&6; }
5160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5161 printf "%s\n" "$ac_file" >&6; }
5162 ac_exeext=$ac_cv_exeext
5164 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5165 ac_clean_files=$ac_clean_files_save
5166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5167 printf %s "checking for suffix of executables... " >&6; }
5168 if { { ac_try="$ac_link"
5169 case "(($ac_try" in
5170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5171 *) ac_try_echo=$ac_try;;
5172 esac
5173 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5174 printf "%s\n" "$ac_try_echo"; } >&5
5175 (eval "$ac_link") 2>&5
5176 ac_status=$?
5177 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5178 test $ac_status = 0; }
5179 then :
5180 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5181 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5182 # work properly (i.e., refer to `conftest.exe'), while it won't with
5183 # `rm'.
5184 for ac_file in conftest.exe conftest conftest.*; do
5185 test -f "$ac_file" || continue
5186 case $ac_file in
5187 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5188 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5189 break;;
5190 * ) break;;
5191 esac
5192 done
5193 else $as_nop
5194 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5195 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5196 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5197 See \`config.log' for more details" "$LINENO" 5; }
5199 rm -f conftest conftest$ac_cv_exeext
5200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5201 printf "%s\n" "$ac_cv_exeext" >&6; }
5203 rm -f conftest.$ac_ext
5204 EXEEXT=$ac_cv_exeext
5205 ac_exeext=$EXEEXT
5206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5207 /* end confdefs.h. */
5208 #include <stdio.h>
5210 main (void)
5212 FILE *f = fopen ("conftest.out", "w");
5213 return ferror (f) || fclose (f) != 0;
5216 return 0;
5218 _ACEOF
5219 ac_clean_files="$ac_clean_files conftest.out"
5220 # Check that the compiler produces executables we can run. If not, either
5221 # the compiler is broken, or we cross compile.
5222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5223 printf %s "checking whether we are cross compiling... " >&6; }
5224 if test "$cross_compiling" != yes; then
5225 { { ac_try="$ac_link"
5226 case "(($ac_try" in
5227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5228 *) ac_try_echo=$ac_try;;
5229 esac
5230 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5231 printf "%s\n" "$ac_try_echo"; } >&5
5232 (eval "$ac_link") 2>&5
5233 ac_status=$?
5234 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5235 test $ac_status = 0; }
5236 if { ac_try='./conftest$ac_cv_exeext'
5237 { { case "(($ac_try" in
5238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5239 *) ac_try_echo=$ac_try;;
5240 esac
5241 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5242 printf "%s\n" "$ac_try_echo"; } >&5
5243 (eval "$ac_try") 2>&5
5244 ac_status=$?
5245 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5246 test $ac_status = 0; }; }; then
5247 cross_compiling=no
5248 else
5249 if test "$cross_compiling" = maybe; then
5250 cross_compiling=yes
5251 else
5252 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5253 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5254 as_fn_error 77 "cannot run C compiled programs.
5255 If you meant to cross compile, use \`--host'.
5256 See \`config.log' for more details" "$LINENO" 5; }
5260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5261 printf "%s\n" "$cross_compiling" >&6; }
5263 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5264 ac_clean_files=$ac_clean_files_save
5265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5266 printf %s "checking for suffix of object files... " >&6; }
5267 if test ${ac_cv_objext+y}
5268 then :
5269 printf %s "(cached) " >&6
5270 else $as_nop
5271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5272 /* end confdefs.h. */
5275 main (void)
5279 return 0;
5281 _ACEOF
5282 rm -f conftest.o conftest.obj
5283 if { { ac_try="$ac_compile"
5284 case "(($ac_try" in
5285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5286 *) ac_try_echo=$ac_try;;
5287 esac
5288 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5289 printf "%s\n" "$ac_try_echo"; } >&5
5290 (eval "$ac_compile") 2>&5
5291 ac_status=$?
5292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5293 test $ac_status = 0; }
5294 then :
5295 for ac_file in conftest.o conftest.obj conftest.*; do
5296 test -f "$ac_file" || continue;
5297 case $ac_file in
5298 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5299 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5300 break;;
5301 esac
5302 done
5303 else $as_nop
5304 printf "%s\n" "$as_me: failed program was:" >&5
5305 sed 's/^/| /' conftest.$ac_ext >&5
5307 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5308 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5309 as_fn_error $? "cannot compute suffix of object files: cannot compile
5310 See \`config.log' for more details" "$LINENO" 5; }
5312 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5315 printf "%s\n" "$ac_cv_objext" >&6; }
5316 OBJEXT=$ac_cv_objext
5317 ac_objext=$OBJEXT
5318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5319 printf %s "checking whether the compiler supports GNU C... " >&6; }
5320 if test ${ac_cv_c_compiler_gnu+y}
5321 then :
5322 printf %s "(cached) " >&6
5323 else $as_nop
5324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5325 /* end confdefs.h. */
5328 main (void)
5330 #ifndef __GNUC__
5331 choke me
5332 #endif
5335 return 0;
5337 _ACEOF
5338 if ac_fn_c_try_compile "$LINENO"
5339 then :
5340 ac_compiler_gnu=yes
5341 else $as_nop
5342 ac_compiler_gnu=no
5344 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5345 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5349 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5352 if test $ac_compiler_gnu = yes; then
5353 GCC=yes
5354 else
5355 GCC=
5357 ac_test_CFLAGS=${CFLAGS+y}
5358 ac_save_CFLAGS=$CFLAGS
5359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5360 printf %s "checking whether $CC accepts -g... " >&6; }
5361 if test ${ac_cv_prog_cc_g+y}
5362 then :
5363 printf %s "(cached) " >&6
5364 else $as_nop
5365 ac_save_c_werror_flag=$ac_c_werror_flag
5366 ac_c_werror_flag=yes
5367 ac_cv_prog_cc_g=no
5368 CFLAGS="-g"
5369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5370 /* end confdefs.h. */
5373 main (void)
5377 return 0;
5379 _ACEOF
5380 if ac_fn_c_try_compile "$LINENO"
5381 then :
5382 ac_cv_prog_cc_g=yes
5383 else $as_nop
5384 CFLAGS=""
5385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5386 /* end confdefs.h. */
5389 main (void)
5393 return 0;
5395 _ACEOF
5396 if ac_fn_c_try_compile "$LINENO"
5397 then :
5399 else $as_nop
5400 ac_c_werror_flag=$ac_save_c_werror_flag
5401 CFLAGS="-g"
5402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5403 /* end confdefs.h. */
5406 main (void)
5410 return 0;
5412 _ACEOF
5413 if ac_fn_c_try_compile "$LINENO"
5414 then :
5415 ac_cv_prog_cc_g=yes
5417 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5419 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5421 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5422 ac_c_werror_flag=$ac_save_c_werror_flag
5424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5425 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5426 if test $ac_test_CFLAGS; then
5427 CFLAGS=$ac_save_CFLAGS
5428 elif test $ac_cv_prog_cc_g = yes; then
5429 if test "$GCC" = yes; then
5430 CFLAGS="-g -O2"
5431 else
5432 CFLAGS="-g"
5434 else
5435 if test "$GCC" = yes; then
5436 CFLAGS="-O2"
5437 else
5438 CFLAGS=
5441 ac_prog_cc_stdc=no
5442 if test x$ac_prog_cc_stdc = xno
5443 then :
5444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5445 printf %s "checking for $CC option to enable C11 features... " >&6; }
5446 if test ${ac_cv_prog_cc_c11+y}
5447 then :
5448 printf %s "(cached) " >&6
5449 else $as_nop
5450 ac_cv_prog_cc_c11=no
5451 ac_save_CC=$CC
5452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5453 /* end confdefs.h. */
5454 $ac_c_conftest_c11_program
5455 _ACEOF
5456 for ac_arg in '' -std=gnu11
5458 CC="$ac_save_CC $ac_arg"
5459 if ac_fn_c_try_compile "$LINENO"
5460 then :
5461 ac_cv_prog_cc_c11=$ac_arg
5463 rm -f core conftest.err conftest.$ac_objext conftest.beam
5464 test "x$ac_cv_prog_cc_c11" != "xno" && break
5465 done
5466 rm -f conftest.$ac_ext
5467 CC=$ac_save_CC
5470 if test "x$ac_cv_prog_cc_c11" = xno
5471 then :
5472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5473 printf "%s\n" "unsupported" >&6; }
5474 else $as_nop
5475 if test "x$ac_cv_prog_cc_c11" = x
5476 then :
5477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5478 printf "%s\n" "none needed" >&6; }
5479 else $as_nop
5480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5481 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5482 CC="$CC $ac_cv_prog_cc_c11"
5484 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5485 ac_prog_cc_stdc=c11
5488 if test x$ac_prog_cc_stdc = xno
5489 then :
5490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5491 printf %s "checking for $CC option to enable C99 features... " >&6; }
5492 if test ${ac_cv_prog_cc_c99+y}
5493 then :
5494 printf %s "(cached) " >&6
5495 else $as_nop
5496 ac_cv_prog_cc_c99=no
5497 ac_save_CC=$CC
5498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5499 /* end confdefs.h. */
5500 $ac_c_conftest_c99_program
5501 _ACEOF
5502 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5504 CC="$ac_save_CC $ac_arg"
5505 if ac_fn_c_try_compile "$LINENO"
5506 then :
5507 ac_cv_prog_cc_c99=$ac_arg
5509 rm -f core conftest.err conftest.$ac_objext conftest.beam
5510 test "x$ac_cv_prog_cc_c99" != "xno" && break
5511 done
5512 rm -f conftest.$ac_ext
5513 CC=$ac_save_CC
5516 if test "x$ac_cv_prog_cc_c99" = xno
5517 then :
5518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5519 printf "%s\n" "unsupported" >&6; }
5520 else $as_nop
5521 if test "x$ac_cv_prog_cc_c99" = x
5522 then :
5523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5524 printf "%s\n" "none needed" >&6; }
5525 else $as_nop
5526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5527 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5528 CC="$CC $ac_cv_prog_cc_c99"
5530 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5531 ac_prog_cc_stdc=c99
5534 if test x$ac_prog_cc_stdc = xno
5535 then :
5536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5537 printf %s "checking for $CC option to enable C89 features... " >&6; }
5538 if test ${ac_cv_prog_cc_c89+y}
5539 then :
5540 printf %s "(cached) " >&6
5541 else $as_nop
5542 ac_cv_prog_cc_c89=no
5543 ac_save_CC=$CC
5544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5545 /* end confdefs.h. */
5546 $ac_c_conftest_c89_program
5547 _ACEOF
5548 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5550 CC="$ac_save_CC $ac_arg"
5551 if ac_fn_c_try_compile "$LINENO"
5552 then :
5553 ac_cv_prog_cc_c89=$ac_arg
5555 rm -f core conftest.err conftest.$ac_objext conftest.beam
5556 test "x$ac_cv_prog_cc_c89" != "xno" && break
5557 done
5558 rm -f conftest.$ac_ext
5559 CC=$ac_save_CC
5562 if test "x$ac_cv_prog_cc_c89" = xno
5563 then :
5564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5565 printf "%s\n" "unsupported" >&6; }
5566 else $as_nop
5567 if test "x$ac_cv_prog_cc_c89" = x
5568 then :
5569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5570 printf "%s\n" "none needed" >&6; }
5571 else $as_nop
5572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5573 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5574 CC="$CC $ac_cv_prog_cc_c89"
5576 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5577 ac_prog_cc_stdc=c89
5581 ac_ext=c
5582 ac_cpp='$CPP $CPPFLAGS'
5583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5593 ac_ext=cpp
5594 ac_cpp='$CXXCPP $CPPFLAGS'
5595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5598 if test -z "$CXX"; then
5599 if test -n "$CCC"; then
5600 CXX=$CCC
5601 else
5602 if test -n "$ac_tool_prefix"; then
5603 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5605 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5606 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5608 printf %s "checking for $ac_word... " >&6; }
5609 if test ${ac_cv_prog_CXX+y}
5610 then :
5611 printf %s "(cached) " >&6
5612 else $as_nop
5613 if test -n "$CXX"; then
5614 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5615 else
5616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5617 for as_dir in $PATH
5619 IFS=$as_save_IFS
5620 case $as_dir in #(((
5621 '') as_dir=./ ;;
5622 */) ;;
5623 *) as_dir=$as_dir/ ;;
5624 esac
5625 for ac_exec_ext in '' $ac_executable_extensions; do
5626 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5627 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5628 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5629 break 2
5631 done
5632 done
5633 IFS=$as_save_IFS
5637 CXX=$ac_cv_prog_CXX
5638 if test -n "$CXX"; then
5639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5640 printf "%s\n" "$CXX" >&6; }
5641 else
5642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5643 printf "%s\n" "no" >&6; }
5647 test -n "$CXX" && break
5648 done
5650 if test -z "$CXX"; then
5651 ac_ct_CXX=$CXX
5652 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5654 # Extract the first word of "$ac_prog", so it can be a program name with args.
5655 set dummy $ac_prog; ac_word=$2
5656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5657 printf %s "checking for $ac_word... " >&6; }
5658 if test ${ac_cv_prog_ac_ct_CXX+y}
5659 then :
5660 printf %s "(cached) " >&6
5661 else $as_nop
5662 if test -n "$ac_ct_CXX"; then
5663 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5664 else
5665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5666 for as_dir in $PATH
5668 IFS=$as_save_IFS
5669 case $as_dir in #(((
5670 '') as_dir=./ ;;
5671 */) ;;
5672 *) as_dir=$as_dir/ ;;
5673 esac
5674 for ac_exec_ext in '' $ac_executable_extensions; do
5675 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5676 ac_cv_prog_ac_ct_CXX="$ac_prog"
5677 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5678 break 2
5680 done
5681 done
5682 IFS=$as_save_IFS
5686 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5687 if test -n "$ac_ct_CXX"; then
5688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5689 printf "%s\n" "$ac_ct_CXX" >&6; }
5690 else
5691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5692 printf "%s\n" "no" >&6; }
5696 test -n "$ac_ct_CXX" && break
5697 done
5699 if test "x$ac_ct_CXX" = x; then
5700 CXX="g++"
5701 else
5702 case $cross_compiling:$ac_tool_warned in
5703 yes:)
5704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5705 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5706 ac_tool_warned=yes ;;
5707 esac
5708 CXX=$ac_ct_CXX
5714 # Provide some information about the compiler.
5715 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5716 set X $ac_compile
5717 ac_compiler=$2
5718 for ac_option in --version -v -V -qversion; do
5719 { { ac_try="$ac_compiler $ac_option >&5"
5720 case "(($ac_try" in
5721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5722 *) ac_try_echo=$ac_try;;
5723 esac
5724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5725 printf "%s\n" "$ac_try_echo"; } >&5
5726 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5727 ac_status=$?
5728 if test -s conftest.err; then
5729 sed '10a\
5730 ... rest of stderr output deleted ...
5731 10q' conftest.err >conftest.er1
5732 cat conftest.er1 >&5
5734 rm -f conftest.er1 conftest.err
5735 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5736 test $ac_status = 0; }
5737 done
5739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5740 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5741 if test ${ac_cv_cxx_compiler_gnu+y}
5742 then :
5743 printf %s "(cached) " >&6
5744 else $as_nop
5745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5746 /* end confdefs.h. */
5749 main (void)
5751 #ifndef __GNUC__
5752 choke me
5753 #endif
5756 return 0;
5758 _ACEOF
5759 if ac_fn_cxx_try_compile "$LINENO"
5760 then :
5761 ac_compiler_gnu=yes
5762 else $as_nop
5763 ac_compiler_gnu=no
5765 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5766 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5770 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5773 if test $ac_compiler_gnu = yes; then
5774 GXX=yes
5775 else
5776 GXX=
5778 ac_test_CXXFLAGS=${CXXFLAGS+y}
5779 ac_save_CXXFLAGS=$CXXFLAGS
5780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5781 printf %s "checking whether $CXX accepts -g... " >&6; }
5782 if test ${ac_cv_prog_cxx_g+y}
5783 then :
5784 printf %s "(cached) " >&6
5785 else $as_nop
5786 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5787 ac_cxx_werror_flag=yes
5788 ac_cv_prog_cxx_g=no
5789 CXXFLAGS="-g"
5790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5791 /* end confdefs.h. */
5794 main (void)
5798 return 0;
5800 _ACEOF
5801 if ac_fn_cxx_try_compile "$LINENO"
5802 then :
5803 ac_cv_prog_cxx_g=yes
5804 else $as_nop
5805 CXXFLAGS=""
5806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5807 /* end confdefs.h. */
5810 main (void)
5814 return 0;
5816 _ACEOF
5817 if ac_fn_cxx_try_compile "$LINENO"
5818 then :
5820 else $as_nop
5821 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5822 CXXFLAGS="-g"
5823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5824 /* end confdefs.h. */
5827 main (void)
5831 return 0;
5833 _ACEOF
5834 if ac_fn_cxx_try_compile "$LINENO"
5835 then :
5836 ac_cv_prog_cxx_g=yes
5838 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5840 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5842 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5843 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5846 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5847 if test $ac_test_CXXFLAGS; then
5848 CXXFLAGS=$ac_save_CXXFLAGS
5849 elif test $ac_cv_prog_cxx_g = yes; then
5850 if test "$GXX" = yes; then
5851 CXXFLAGS="-g -O2"
5852 else
5853 CXXFLAGS="-g"
5855 else
5856 if test "$GXX" = yes; then
5857 CXXFLAGS="-O2"
5858 else
5859 CXXFLAGS=
5862 ac_prog_cxx_stdcxx=no
5863 if test x$ac_prog_cxx_stdcxx = xno
5864 then :
5865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5866 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5867 if test ${ac_cv_prog_cxx_11+y}
5868 then :
5869 printf %s "(cached) " >&6
5870 else $as_nop
5871 ac_cv_prog_cxx_11=no
5872 ac_save_CXX=$CXX
5873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5874 /* end confdefs.h. */
5875 $ac_cxx_conftest_cxx11_program
5876 _ACEOF
5877 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5879 CXX="$ac_save_CXX $ac_arg"
5880 if ac_fn_cxx_try_compile "$LINENO"
5881 then :
5882 ac_cv_prog_cxx_cxx11=$ac_arg
5884 rm -f core conftest.err conftest.$ac_objext conftest.beam
5885 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5886 done
5887 rm -f conftest.$ac_ext
5888 CXX=$ac_save_CXX
5891 if test "x$ac_cv_prog_cxx_cxx11" = xno
5892 then :
5893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5894 printf "%s\n" "unsupported" >&6; }
5895 else $as_nop
5896 if test "x$ac_cv_prog_cxx_cxx11" = x
5897 then :
5898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5899 printf "%s\n" "none needed" >&6; }
5900 else $as_nop
5901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5902 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5903 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5905 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5906 ac_prog_cxx_stdcxx=cxx11
5909 if test x$ac_prog_cxx_stdcxx = xno
5910 then :
5911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5912 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5913 if test ${ac_cv_prog_cxx_98+y}
5914 then :
5915 printf %s "(cached) " >&6
5916 else $as_nop
5917 ac_cv_prog_cxx_98=no
5918 ac_save_CXX=$CXX
5919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5920 /* end confdefs.h. */
5921 $ac_cxx_conftest_cxx98_program
5922 _ACEOF
5923 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5925 CXX="$ac_save_CXX $ac_arg"
5926 if ac_fn_cxx_try_compile "$LINENO"
5927 then :
5928 ac_cv_prog_cxx_cxx98=$ac_arg
5930 rm -f core conftest.err conftest.$ac_objext conftest.beam
5931 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5932 done
5933 rm -f conftest.$ac_ext
5934 CXX=$ac_save_CXX
5937 if test "x$ac_cv_prog_cxx_cxx98" = xno
5938 then :
5939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5940 printf "%s\n" "unsupported" >&6; }
5941 else $as_nop
5942 if test "x$ac_cv_prog_cxx_cxx98" = x
5943 then :
5944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5945 printf "%s\n" "none needed" >&6; }
5946 else $as_nop
5947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5948 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5949 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5951 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5952 ac_prog_cxx_stdcxx=cxx98
5956 ac_ext=c
5957 ac_cpp='$CPP $CPPFLAGS'
5958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5962 if test -n "$ac_tool_prefix"; then
5963 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5964 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5966 printf %s "checking for $ac_word... " >&6; }
5967 if test ${ac_cv_prog_CPPBIN+y}
5968 then :
5969 printf %s "(cached) " >&6
5970 else $as_nop
5971 if test -n "$CPPBIN"; then
5972 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5973 else
5974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5975 for as_dir in $PATH
5977 IFS=$as_save_IFS
5978 case $as_dir in #(((
5979 '') as_dir=./ ;;
5980 */) ;;
5981 *) as_dir=$as_dir/ ;;
5982 esac
5983 for ac_exec_ext in '' $ac_executable_extensions; do
5984 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5985 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5986 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5987 break 2
5989 done
5990 done
5991 IFS=$as_save_IFS
5995 CPPBIN=$ac_cv_prog_CPPBIN
5996 if test -n "$CPPBIN"; then
5997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5998 printf "%s\n" "$CPPBIN" >&6; }
5999 else
6000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6001 printf "%s\n" "no" >&6; }
6006 if test -z "$ac_cv_prog_CPPBIN"; then
6007 ac_ct_CPPBIN=$CPPBIN
6008 # Extract the first word of "cpp", so it can be a program name with args.
6009 set dummy cpp; ac_word=$2
6010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6011 printf %s "checking for $ac_word... " >&6; }
6012 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6013 then :
6014 printf %s "(cached) " >&6
6015 else $as_nop
6016 if test -n "$ac_ct_CPPBIN"; then
6017 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6018 else
6019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6020 for as_dir in $PATH
6022 IFS=$as_save_IFS
6023 case $as_dir in #(((
6024 '') as_dir=./ ;;
6025 */) ;;
6026 *) as_dir=$as_dir/ ;;
6027 esac
6028 for ac_exec_ext in '' $ac_executable_extensions; do
6029 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6030 ac_cv_prog_ac_ct_CPPBIN="cpp"
6031 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6032 break 2
6034 done
6035 done
6036 IFS=$as_save_IFS
6040 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6041 if test -n "$ac_ct_CPPBIN"; then
6042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6043 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6044 else
6045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6046 printf "%s\n" "no" >&6; }
6049 if test "x$ac_ct_CPPBIN" = x; then
6050 CPPBIN="cpp"
6051 else
6052 case $cross_compiling:$ac_tool_warned in
6053 yes:)
6054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6055 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6056 ac_tool_warned=yes ;;
6057 esac
6058 CPPBIN=$ac_ct_CPPBIN
6060 else
6061 CPPBIN="$ac_cv_prog_CPPBIN"
6065 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6067 if test -n "$ac_tool_prefix"; then
6068 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6069 set dummy ${ac_tool_prefix}ld; ac_word=$2
6070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6071 printf %s "checking for $ac_word... " >&6; }
6072 if test ${ac_cv_prog_LD+y}
6073 then :
6074 printf %s "(cached) " >&6
6075 else $as_nop
6076 if test -n "$LD"; then
6077 ac_cv_prog_LD="$LD" # Let the user override the test.
6078 else
6079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6080 for as_dir in $PATH
6082 IFS=$as_save_IFS
6083 case $as_dir in #(((
6084 '') as_dir=./ ;;
6085 */) ;;
6086 *) as_dir=$as_dir/ ;;
6087 esac
6088 for ac_exec_ext in '' $ac_executable_extensions; do
6089 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6090 ac_cv_prog_LD="${ac_tool_prefix}ld"
6091 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6092 break 2
6094 done
6095 done
6096 IFS=$as_save_IFS
6100 LD=$ac_cv_prog_LD
6101 if test -n "$LD"; then
6102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6103 printf "%s\n" "$LD" >&6; }
6104 else
6105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6106 printf "%s\n" "no" >&6; }
6111 if test -z "$ac_cv_prog_LD"; then
6112 ac_ct_LD=$LD
6113 # Extract the first word of "ld", so it can be a program name with args.
6114 set dummy ld; ac_word=$2
6115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6116 printf %s "checking for $ac_word... " >&6; }
6117 if test ${ac_cv_prog_ac_ct_LD+y}
6118 then :
6119 printf %s "(cached) " >&6
6120 else $as_nop
6121 if test -n "$ac_ct_LD"; then
6122 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6123 else
6124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6125 for as_dir in $PATH
6127 IFS=$as_save_IFS
6128 case $as_dir in #(((
6129 '') as_dir=./ ;;
6130 */) ;;
6131 *) as_dir=$as_dir/ ;;
6132 esac
6133 for ac_exec_ext in '' $ac_executable_extensions; do
6134 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6135 ac_cv_prog_ac_ct_LD="ld"
6136 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6137 break 2
6139 done
6140 done
6141 IFS=$as_save_IFS
6145 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6146 if test -n "$ac_ct_LD"; then
6147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6148 printf "%s\n" "$ac_ct_LD" >&6; }
6149 else
6150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6151 printf "%s\n" "no" >&6; }
6154 if test "x$ac_ct_LD" = x; then
6155 LD=""
6156 else
6157 case $cross_compiling:$ac_tool_warned in
6158 yes:)
6159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6160 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6161 ac_tool_warned=yes ;;
6162 esac
6163 LD=$ac_ct_LD
6165 else
6166 LD="$ac_cv_prog_LD"
6170 case $host in
6171 *-darwin*)
6172 with_fontconfig=${with_fontconfig:-no}
6174 *-mingw32*|*-cygwin*)
6175 enable_win16=${enable_win16:-no}
6176 with_mingw=${with_mingw:-no}
6178 esac
6181 case $host in
6182 x86_64*|amd64*)
6183 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6184 then
6185 CC="$CC -m32"
6186 CXX="$CXX -m32"
6188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6189 printf %s "checking whether $CC works... " >&6; }
6190 if test ${wine_cv_cc_m32+y}
6191 then :
6192 printf %s "(cached) " >&6
6193 else $as_nop
6194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6195 /* end confdefs.h. */
6198 main (void)
6202 return 0;
6204 _ACEOF
6205 if ac_fn_c_try_link "$LINENO"
6206 then :
6207 wine_cv_cc_m32=yes
6208 else $as_nop
6209 wine_cv_cc_m32=no
6211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6212 conftest$ac_exeext conftest.$ac_ext
6214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6215 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6216 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
6217 host_cpu="i386"
6218 notice_platform="32-bit "
6219 TARGETFLAGS="$TARGETFLAGS -m32"
6220 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6221 export PKG_CONFIG_LIBDIR
6222 with_unwind=${with_unwind:-no}
6223 else
6224 if test "x${GCC}" = "xyes"
6225 then
6226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6227 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6228 if test ${wine_cv_builtin_ms_va_list+y}
6229 then :
6230 printf %s "(cached) " >&6
6231 else $as_nop
6232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6233 /* end confdefs.h. */
6234 #include <stdarg.h>
6236 main (void)
6238 void func(__builtin_ms_va_list *args);
6240 return 0;
6242 _ACEOF
6243 if ac_fn_c_try_compile "$LINENO"
6244 then :
6245 wine_cv_builtin_ms_va_list=yes
6246 else $as_nop
6247 wine_cv_builtin_ms_va_list=no
6249 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6252 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6253 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
6255 CC="$CC -m64"
6256 CXX="$CXX -m64"
6257 host_cpu="x86_64"
6258 notice_platform="64-bit "
6259 TARGETFLAGS="$TARGETFLAGS -m64"
6262 arm*)
6263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6264 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6265 if test ${wine_cv_thumb2+y}
6266 then :
6267 printf %s "(cached) " >&6
6268 else $as_nop
6269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6270 /* end confdefs.h. */
6273 main (void)
6275 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6277 return 0;
6279 _ACEOF
6280 if ac_fn_c_try_link "$LINENO"
6281 then :
6282 wine_cv_thumb2=yes
6283 else $as_nop
6284 wine_cv_thumb2=no
6286 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6287 conftest$ac_exeext conftest.$ac_ext
6289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6290 printf "%s\n" "$wine_cv_thumb2" >&6; }
6291 if test x"$wine_cv_thumb2" = xyes
6292 then
6293 CFLAGS="$CFLAGS -mthumb"
6294 TARGETFLAGS="$TARGETFLAGS -mthumb"
6295 else
6296 CFLAGS="$CFLAGS -marm"
6297 TARGETFLAGS="$TARGETFLAGS -marm"
6299 case $with_float_abi in
6300 soft|softfp|hard)
6301 float_abi=$with_float_abi ;;
6303 case $host_os in
6304 *eabihf)
6305 float_abi=hard ;;
6307 float_abi=softfp
6308 saved_CFLAGS=$CFLAGS
6309 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6311 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6312 if test ${wine_cv_float_abi+y}
6313 then :
6314 printf %s "(cached) " >&6
6315 else $as_nop
6316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6317 /* end confdefs.h. */
6320 main (void)
6322 asm("vmrs r2,fpscr");
6324 return 0;
6326 _ACEOF
6327 if ac_fn_c_try_link "$LINENO"
6328 then :
6329 wine_cv_float_abi=yes
6330 else $as_nop
6331 wine_cv_float_abi=no
6333 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6334 conftest$ac_exeext conftest.$ac_ext
6336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6337 printf "%s\n" "$wine_cv_float_abi" >&6; }
6338 if test $wine_cv_float_abi = no
6339 then
6340 float_abi=soft
6341 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6343 CFLAGS=$saved_CFLAGS
6344 esac
6346 esac
6347 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6348 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6350 i[3456789]86*)
6351 with_unwind=${with_unwind:-no}
6353 esac
6355 enable_win16=${enable_win16:-i386}
6356 enable_win64=${enable_win64:-no}
6357 enable_wow64=${enable_wow64:-aarch64,x86_64}
6358 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6359 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6361 enable_winetest=${enable_winetest:-$enable_tests}
6363 if test "x$enable_win64" = "xyes"
6364 then
6365 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6366 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6369 case $build_os in
6370 cygwin*|mingw32*) toolsext=".exe"
6372 *) toolsext=""
6374 esac
6376 HOST_ARCH=unknown
6377 case "$host_cpu" in
6378 aarch64*) HOST_ARCH=aarch64 ;;
6379 arm*) HOST_ARCH=arm ;;
6380 i[3456789]86*) HOST_ARCH=i386 ;;
6381 x86_64) HOST_ARCH=x86_64 ;;
6382 esac
6385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6386 printf %s "checking for the directory containing the Wine tools... " >&6; }
6387 if test ${wine_cv_toolsdir+y}
6388 then :
6389 printf %s "(cached) " >&6
6390 else $as_nop
6391 wine_cv_toolsdir="$with_wine_tools"
6392 if test -z "$with_wine_tools"; then
6393 if test "$cross_compiling" = "yes"; then
6394 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6395 elif test -n "$with_wine64"; then
6396 wine_cv_toolsdir="$with_wine64"
6400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6401 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6402 if test -z "$wine_cv_toolsdir"; then
6403 wine_makedep=tools/makedep$toolsext
6404 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6405 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6406 enable_tools=${enable_tools:-no}
6407 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6408 else
6409 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6411 toolsdir=$wine_cv_toolsdir
6413 MAKEDEP=$wine_makedep
6415 RUNTESTFLAGS="-q -P wine"
6417 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'"
6420 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6421 then
6422 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6425 for ac_prog in flex
6427 # Extract the first word of "$ac_prog", so it can be a program name with args.
6428 set dummy $ac_prog; ac_word=$2
6429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6430 printf %s "checking for $ac_word... " >&6; }
6431 if test ${ac_cv_prog_FLEX+y}
6432 then :
6433 printf %s "(cached) " >&6
6434 else $as_nop
6435 if test -n "$FLEX"; then
6436 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6437 else
6438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6439 for as_dir in $PATH
6441 IFS=$as_save_IFS
6442 case $as_dir in #(((
6443 '') as_dir=./ ;;
6444 */) ;;
6445 *) as_dir=$as_dir/ ;;
6446 esac
6447 for ac_exec_ext in '' $ac_executable_extensions; do
6448 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6449 ac_cv_prog_FLEX="$ac_prog"
6450 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6451 break 2
6453 done
6454 done
6455 IFS=$as_save_IFS
6459 FLEX=$ac_cv_prog_FLEX
6460 if test -n "$FLEX"; then
6461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6462 printf "%s\n" "$FLEX" >&6; }
6463 else
6464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6465 printf "%s\n" "no" >&6; }
6469 test -n "$FLEX" && break
6470 done
6471 test -n "$FLEX" || FLEX="none"
6473 if test "$FLEX" = "none"
6474 then
6475 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6478 printf %s "checking whether flex is recent enough... " >&6; }
6479 if test ${wine_cv_recent_flex+y}
6480 then :
6481 printf %s "(cached) " >&6
6482 else $as_nop
6483 cat >conftest.l <<EOF
6484 %top{
6485 #include "prediluvian.h"
6489 if $FLEX -t conftest.l >/dev/null 2>&5
6490 then
6491 wine_cv_recent_flex=yes
6492 else
6493 wine_cv_recent_flex=no
6496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6497 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6498 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
6500 for ac_prog in bison
6502 # Extract the first word of "$ac_prog", so it can be a program name with args.
6503 set dummy $ac_prog; ac_word=$2
6504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6505 printf %s "checking for $ac_word... " >&6; }
6506 if test ${ac_cv_prog_BISON+y}
6507 then :
6508 printf %s "(cached) " >&6
6509 else $as_nop
6510 if test -n "$BISON"; then
6511 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6512 else
6513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6514 for as_dir in $PATH
6516 IFS=$as_save_IFS
6517 case $as_dir in #(((
6518 '') as_dir=./ ;;
6519 */) ;;
6520 *) as_dir=$as_dir/ ;;
6521 esac
6522 for ac_exec_ext in '' $ac_executable_extensions; do
6523 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6524 ac_cv_prog_BISON="$ac_prog"
6525 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6526 break 2
6528 done
6529 done
6530 IFS=$as_save_IFS
6534 BISON=$ac_cv_prog_BISON
6535 if test -n "$BISON"; then
6536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6537 printf "%s\n" "$BISON" >&6; }
6538 else
6539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6540 printf "%s\n" "no" >&6; }
6544 test -n "$BISON" && break
6545 done
6546 test -n "$BISON" || BISON="none"
6548 if test "$BISON" = "none"
6549 then
6550 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6553 printf %s "checking whether bison is recent enough... " >&6; }
6554 if test ${wine_cv_recent_bison+y}
6555 then :
6556 printf %s "(cached) " >&6
6557 else $as_nop
6558 cat >conftest.y <<EOF
6559 %define parse.error verbose
6561 empty: ;
6563 if $BISON conftest.y >/dev/null 2>&5
6564 then
6565 wine_cv_recent_bison=yes
6566 else
6567 wine_cv_recent_bison=no
6570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6571 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6572 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
6574 if test -n "$ac_tool_prefix"; then
6575 for ac_prog in ar gar
6577 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6578 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6580 printf %s "checking for $ac_word... " >&6; }
6581 if test ${ac_cv_prog_AR+y}
6582 then :
6583 printf %s "(cached) " >&6
6584 else $as_nop
6585 if test -n "$AR"; then
6586 ac_cv_prog_AR="$AR" # Let the user override the test.
6587 else
6588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6589 for as_dir in $PATH
6591 IFS=$as_save_IFS
6592 case $as_dir in #(((
6593 '') as_dir=./ ;;
6594 */) ;;
6595 *) as_dir=$as_dir/ ;;
6596 esac
6597 for ac_exec_ext in '' $ac_executable_extensions; do
6598 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6599 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6600 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6601 break 2
6603 done
6604 done
6605 IFS=$as_save_IFS
6609 AR=$ac_cv_prog_AR
6610 if test -n "$AR"; then
6611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6612 printf "%s\n" "$AR" >&6; }
6613 else
6614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6615 printf "%s\n" "no" >&6; }
6619 test -n "$AR" && break
6620 done
6622 if test -z "$AR"; then
6623 ac_ct_AR=$AR
6624 for ac_prog in ar gar
6626 # Extract the first word of "$ac_prog", so it can be a program name with args.
6627 set dummy $ac_prog; ac_word=$2
6628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6629 printf %s "checking for $ac_word... " >&6; }
6630 if test ${ac_cv_prog_ac_ct_AR+y}
6631 then :
6632 printf %s "(cached) " >&6
6633 else $as_nop
6634 if test -n "$ac_ct_AR"; then
6635 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6636 else
6637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6638 for as_dir in $PATH
6640 IFS=$as_save_IFS
6641 case $as_dir in #(((
6642 '') as_dir=./ ;;
6643 */) ;;
6644 *) as_dir=$as_dir/ ;;
6645 esac
6646 for ac_exec_ext in '' $ac_executable_extensions; do
6647 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6648 ac_cv_prog_ac_ct_AR="$ac_prog"
6649 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6650 break 2
6652 done
6653 done
6654 IFS=$as_save_IFS
6658 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6659 if test -n "$ac_ct_AR"; then
6660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6661 printf "%s\n" "$ac_ct_AR" >&6; }
6662 else
6663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6664 printf "%s\n" "no" >&6; }
6668 test -n "$ac_ct_AR" && break
6669 done
6671 if test "x$ac_ct_AR" = x; then
6672 AR="ar"
6673 else
6674 case $cross_compiling:$ac_tool_warned in
6675 yes:)
6676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6677 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6678 ac_tool_warned=yes ;;
6679 esac
6680 AR=$ac_ct_AR
6684 if test -n "$ac_tool_prefix"; then
6685 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6686 set dummy ${ac_tool_prefix}strip; ac_word=$2
6687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6688 printf %s "checking for $ac_word... " >&6; }
6689 if test ${ac_cv_prog_STRIP+y}
6690 then :
6691 printf %s "(cached) " >&6
6692 else $as_nop
6693 if test -n "$STRIP"; then
6694 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6695 else
6696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6697 for as_dir in $PATH
6699 IFS=$as_save_IFS
6700 case $as_dir in #(((
6701 '') as_dir=./ ;;
6702 */) ;;
6703 *) as_dir=$as_dir/ ;;
6704 esac
6705 for ac_exec_ext in '' $ac_executable_extensions; do
6706 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6707 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6708 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6709 break 2
6711 done
6712 done
6713 IFS=$as_save_IFS
6717 STRIP=$ac_cv_prog_STRIP
6718 if test -n "$STRIP"; then
6719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6720 printf "%s\n" "$STRIP" >&6; }
6721 else
6722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6723 printf "%s\n" "no" >&6; }
6728 if test -z "$ac_cv_prog_STRIP"; then
6729 ac_ct_STRIP=$STRIP
6730 # Extract the first word of "strip", so it can be a program name with args.
6731 set dummy strip; ac_word=$2
6732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6733 printf %s "checking for $ac_word... " >&6; }
6734 if test ${ac_cv_prog_ac_ct_STRIP+y}
6735 then :
6736 printf %s "(cached) " >&6
6737 else $as_nop
6738 if test -n "$ac_ct_STRIP"; then
6739 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6740 else
6741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6742 for as_dir in $PATH
6744 IFS=$as_save_IFS
6745 case $as_dir in #(((
6746 '') as_dir=./ ;;
6747 */) ;;
6748 *) as_dir=$as_dir/ ;;
6749 esac
6750 for ac_exec_ext in '' $ac_executable_extensions; do
6751 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6752 ac_cv_prog_ac_ct_STRIP="strip"
6753 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6754 break 2
6756 done
6757 done
6758 IFS=$as_save_IFS
6762 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6763 if test -n "$ac_ct_STRIP"; then
6764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6765 printf "%s\n" "$ac_ct_STRIP" >&6; }
6766 else
6767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6768 printf "%s\n" "no" >&6; }
6771 if test "x$ac_ct_STRIP" = x; then
6772 STRIP="strip"
6773 else
6774 case $cross_compiling:$ac_tool_warned in
6775 yes:)
6776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6777 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6778 ac_tool_warned=yes ;;
6779 esac
6780 STRIP=$ac_ct_STRIP
6782 else
6783 STRIP="$ac_cv_prog_STRIP"
6786 if test -n "$ac_tool_prefix"; then
6787 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6788 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6790 printf %s "checking for $ac_word... " >&6; }
6791 if test ${ac_cv_prog_RANLIB+y}
6792 then :
6793 printf %s "(cached) " >&6
6794 else $as_nop
6795 if test -n "$RANLIB"; then
6796 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6797 else
6798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6799 for as_dir in $PATH
6801 IFS=$as_save_IFS
6802 case $as_dir in #(((
6803 '') as_dir=./ ;;
6804 */) ;;
6805 *) as_dir=$as_dir/ ;;
6806 esac
6807 for ac_exec_ext in '' $ac_executable_extensions; do
6808 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6809 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6810 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6811 break 2
6813 done
6814 done
6815 IFS=$as_save_IFS
6819 RANLIB=$ac_cv_prog_RANLIB
6820 if test -n "$RANLIB"; then
6821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6822 printf "%s\n" "$RANLIB" >&6; }
6823 else
6824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6825 printf "%s\n" "no" >&6; }
6830 if test -z "$ac_cv_prog_RANLIB"; then
6831 ac_ct_RANLIB=$RANLIB
6832 # Extract the first word of "ranlib", so it can be a program name with args.
6833 set dummy ranlib; ac_word=$2
6834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6835 printf %s "checking for $ac_word... " >&6; }
6836 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6837 then :
6838 printf %s "(cached) " >&6
6839 else $as_nop
6840 if test -n "$ac_ct_RANLIB"; then
6841 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6842 else
6843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6844 for as_dir in $PATH
6846 IFS=$as_save_IFS
6847 case $as_dir in #(((
6848 '') as_dir=./ ;;
6849 */) ;;
6850 *) as_dir=$as_dir/ ;;
6851 esac
6852 for ac_exec_ext in '' $ac_executable_extensions; do
6853 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6854 ac_cv_prog_ac_ct_RANLIB="ranlib"
6855 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6856 break 2
6858 done
6859 done
6860 IFS=$as_save_IFS
6864 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6865 if test -n "$ac_ct_RANLIB"; then
6866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6867 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6868 else
6869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6870 printf "%s\n" "no" >&6; }
6873 if test "x$ac_ct_RANLIB" = x; then
6874 RANLIB=":"
6875 else
6876 case $cross_compiling:$ac_tool_warned in
6877 yes:)
6878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6879 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6880 ac_tool_warned=yes ;;
6881 esac
6882 RANLIB=$ac_ct_RANLIB
6884 else
6885 RANLIB="$ac_cv_prog_RANLIB"
6888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6889 printf %s "checking whether ln -s works... " >&6; }
6890 LN_S=$as_ln_s
6891 if test "$LN_S" = "ln -s"; then
6892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6893 printf "%s\n" "yes" >&6; }
6894 else
6895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6896 printf "%s\n" "no, using $LN_S" >&6; }
6899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6900 printf %s "checking for grep that handles long lines and -e... " >&6; }
6901 if test ${ac_cv_path_GREP+y}
6902 then :
6903 printf %s "(cached) " >&6
6904 else $as_nop
6905 if test -z "$GREP"; then
6906 ac_path_GREP_found=false
6907 # Loop through the user's path and test for each of PROGNAME-LIST
6908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6909 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6911 IFS=$as_save_IFS
6912 case $as_dir in #(((
6913 '') as_dir=./ ;;
6914 */) ;;
6915 *) as_dir=$as_dir/ ;;
6916 esac
6917 for ac_prog in grep ggrep
6919 for ac_exec_ext in '' $ac_executable_extensions; do
6920 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6921 as_fn_executable_p "$ac_path_GREP" || continue
6922 # Check for GNU ac_path_GREP and select it if it is found.
6923 # Check for GNU $ac_path_GREP
6924 case `"$ac_path_GREP" --version 2>&1` in
6925 *GNU*)
6926 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6928 ac_count=0
6929 printf %s 0123456789 >"conftest.in"
6930 while :
6932 cat "conftest.in" "conftest.in" >"conftest.tmp"
6933 mv "conftest.tmp" "conftest.in"
6934 cp "conftest.in" "conftest.nl"
6935 printf "%s\n" 'GREP' >> "conftest.nl"
6936 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6937 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6938 as_fn_arith $ac_count + 1 && ac_count=$as_val
6939 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6940 # Best one so far, save it but keep looking for a better one
6941 ac_cv_path_GREP="$ac_path_GREP"
6942 ac_path_GREP_max=$ac_count
6944 # 10*(2^10) chars as input seems more than enough
6945 test $ac_count -gt 10 && break
6946 done
6947 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6948 esac
6950 $ac_path_GREP_found && break 3
6951 done
6952 done
6953 done
6954 IFS=$as_save_IFS
6955 if test -z "$ac_cv_path_GREP"; then
6956 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6958 else
6959 ac_cv_path_GREP=$GREP
6963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6964 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6965 GREP="$ac_cv_path_GREP"
6968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6969 printf %s "checking for egrep... " >&6; }
6970 if test ${ac_cv_path_EGREP+y}
6971 then :
6972 printf %s "(cached) " >&6
6973 else $as_nop
6974 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6975 then ac_cv_path_EGREP="$GREP -E"
6976 else
6977 if test -z "$EGREP"; then
6978 ac_path_EGREP_found=false
6979 # Loop through the user's path and test for each of PROGNAME-LIST
6980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6981 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6983 IFS=$as_save_IFS
6984 case $as_dir in #(((
6985 '') as_dir=./ ;;
6986 */) ;;
6987 *) as_dir=$as_dir/ ;;
6988 esac
6989 for ac_prog in egrep
6991 for ac_exec_ext in '' $ac_executable_extensions; do
6992 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
6993 as_fn_executable_p "$ac_path_EGREP" || continue
6994 # Check for GNU ac_path_EGREP and select it if it is found.
6995 # Check for GNU $ac_path_EGREP
6996 case `"$ac_path_EGREP" --version 2>&1` in
6997 *GNU*)
6998 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7000 ac_count=0
7001 printf %s 0123456789 >"conftest.in"
7002 while :
7004 cat "conftest.in" "conftest.in" >"conftest.tmp"
7005 mv "conftest.tmp" "conftest.in"
7006 cp "conftest.in" "conftest.nl"
7007 printf "%s\n" 'EGREP' >> "conftest.nl"
7008 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7009 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7010 as_fn_arith $ac_count + 1 && ac_count=$as_val
7011 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7012 # Best one so far, save it but keep looking for a better one
7013 ac_cv_path_EGREP="$ac_path_EGREP"
7014 ac_path_EGREP_max=$ac_count
7016 # 10*(2^10) chars as input seems more than enough
7017 test $ac_count -gt 10 && break
7018 done
7019 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7020 esac
7022 $ac_path_EGREP_found && break 3
7023 done
7024 done
7025 done
7026 IFS=$as_save_IFS
7027 if test -z "$ac_cv_path_EGREP"; then
7028 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7030 else
7031 ac_cv_path_EGREP=$EGREP
7036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7037 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7038 EGREP="$ac_cv_path_EGREP"
7041 # Extract the first word of "ldconfig", so it can be a program name with args.
7042 set dummy ldconfig; ac_word=$2
7043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7044 printf %s "checking for $ac_word... " >&6; }
7045 if test ${ac_cv_path_LDCONFIG+y}
7046 then :
7047 printf %s "(cached) " >&6
7048 else $as_nop
7049 case $LDCONFIG in
7050 [\\/]* | ?:[\\/]*)
7051 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7055 for as_dir in /sbin /usr/sbin $PATH
7057 IFS=$as_save_IFS
7058 case $as_dir in #(((
7059 '') as_dir=./ ;;
7060 */) ;;
7061 *) as_dir=$as_dir/ ;;
7062 esac
7063 for ac_exec_ext in '' $ac_executable_extensions; do
7064 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7065 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7066 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7067 break 2
7069 done
7070 done
7071 IFS=$as_save_IFS
7073 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7075 esac
7077 LDCONFIG=$ac_cv_path_LDCONFIG
7078 if test -n "$LDCONFIG"; then
7079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7080 printf "%s\n" "$LDCONFIG" >&6; }
7081 else
7082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7083 printf "%s\n" "no" >&6; }
7087 for ac_prog in msgfmt
7089 # Extract the first word of "$ac_prog", so it can be a program name with args.
7090 set dummy $ac_prog; ac_word=$2
7091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7092 printf %s "checking for $ac_word... " >&6; }
7093 if test ${ac_cv_prog_MSGFMT+y}
7094 then :
7095 printf %s "(cached) " >&6
7096 else $as_nop
7097 if test -n "$MSGFMT"; then
7098 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7099 else
7100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7101 for as_dir in $PATH
7103 IFS=$as_save_IFS
7104 case $as_dir in #(((
7105 '') as_dir=./ ;;
7106 */) ;;
7107 *) as_dir=$as_dir/ ;;
7108 esac
7109 for ac_exec_ext in '' $ac_executable_extensions; do
7110 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7111 ac_cv_prog_MSGFMT="$ac_prog"
7112 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7113 break 2
7115 done
7116 done
7117 IFS=$as_save_IFS
7121 MSGFMT=$ac_cv_prog_MSGFMT
7122 if test -n "$MSGFMT"; then
7123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7124 printf "%s\n" "$MSGFMT" >&6; }
7125 else
7126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7127 printf "%s\n" "no" >&6; }
7131 test -n "$MSGFMT" && break
7132 done
7133 test -n "$MSGFMT" || MSGFMT="false"
7135 if test ${ac_tool_prefix+y}
7136 then :
7137 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7138 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7140 printf %s "checking for $ac_word... " >&6; }
7141 if test ${ac_cv_prog_PKG_CONFIG+y}
7142 then :
7143 printf %s "(cached) " >&6
7144 else $as_nop
7145 if test -n "$PKG_CONFIG"; then
7146 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7147 else
7148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7149 for as_dir in $PATH
7151 IFS=$as_save_IFS
7152 case $as_dir in #(((
7153 '') as_dir=./ ;;
7154 */) ;;
7155 *) as_dir=$as_dir/ ;;
7156 esac
7157 for ac_exec_ext in '' $ac_executable_extensions; do
7158 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7159 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7160 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7161 break 2
7163 done
7164 done
7165 IFS=$as_save_IFS
7169 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7170 if test -n "$PKG_CONFIG"; then
7171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7172 printf "%s\n" "$PKG_CONFIG" >&6; }
7173 else
7174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7175 printf "%s\n" "no" >&6; }
7180 if ${ac_cv_prog_PKG_CONFIG:+false} :
7181 then :
7182 if test "x$cross_compiling" = xyes
7183 then :
7185 else $as_nop
7186 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7187 # Extract the first word of "pkg-config", so it can be a program name with args.
7188 set dummy pkg-config; ac_word=$2
7189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7190 printf %s "checking for $ac_word... " >&6; }
7191 if test ${ac_cv_prog_PKG_CONFIG+y}
7192 then :
7193 printf %s "(cached) " >&6
7194 else $as_nop
7195 if test -n "$PKG_CONFIG"; then
7196 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7197 else
7198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7199 for as_dir in $PATH
7201 IFS=$as_save_IFS
7202 case $as_dir in #(((
7203 '') as_dir=./ ;;
7204 */) ;;
7205 *) as_dir=$as_dir/ ;;
7206 esac
7207 for ac_exec_ext in '' $ac_executable_extensions; do
7208 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7209 ac_cv_prog_PKG_CONFIG="pkg-config"
7210 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7211 break 2
7213 done
7214 done
7215 IFS=$as_save_IFS
7219 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7220 if test -n "$PKG_CONFIG"; then
7221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7222 printf "%s\n" "$PKG_CONFIG" >&6; }
7223 else
7224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7225 printf "%s\n" "no" >&6; }
7230 else $as_nop
7231 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7234 if test "x$enable_maintainer_mode" != "xyes"
7235 then
7236 FONTFORGE=""
7237 RSVG=""
7238 CONVERT=""
7239 ICOTOOL=""
7240 else
7241 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7242 for ac_prog in fontforge
7244 # Extract the first word of "$ac_prog", so it can be a program name with args.
7245 set dummy $ac_prog; ac_word=$2
7246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7247 printf %s "checking for $ac_word... " >&6; }
7248 if test ${ac_cv_prog_FONTFORGE+y}
7249 then :
7250 printf %s "(cached) " >&6
7251 else $as_nop
7252 if test -n "$FONTFORGE"; then
7253 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7254 else
7255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7256 for as_dir in $PATH
7258 IFS=$as_save_IFS
7259 case $as_dir in #(((
7260 '') as_dir=./ ;;
7261 */) ;;
7262 *) as_dir=$as_dir/ ;;
7263 esac
7264 for ac_exec_ext in '' $ac_executable_extensions; do
7265 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7266 ac_cv_prog_FONTFORGE="$ac_prog"
7267 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7268 break 2
7270 done
7271 done
7272 IFS=$as_save_IFS
7276 FONTFORGE=$ac_cv_prog_FONTFORGE
7277 if test -n "$FONTFORGE"; then
7278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7279 printf "%s\n" "$FONTFORGE" >&6; }
7280 else
7281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7282 printf "%s\n" "no" >&6; }
7286 test -n "$FONTFORGE" && break
7287 done
7288 test -n "$FONTFORGE" || FONTFORGE="false"
7290 for ac_prog in rsvg-convert rsvg
7292 # Extract the first word of "$ac_prog", so it can be a program name with args.
7293 set dummy $ac_prog; ac_word=$2
7294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7295 printf %s "checking for $ac_word... " >&6; }
7296 if test ${ac_cv_prog_RSVG+y}
7297 then :
7298 printf %s "(cached) " >&6
7299 else $as_nop
7300 if test -n "$RSVG"; then
7301 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7302 else
7303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7304 for as_dir in $PATH
7306 IFS=$as_save_IFS
7307 case $as_dir in #(((
7308 '') as_dir=./ ;;
7309 */) ;;
7310 *) as_dir=$as_dir/ ;;
7311 esac
7312 for ac_exec_ext in '' $ac_executable_extensions; do
7313 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7314 ac_cv_prog_RSVG="$ac_prog"
7315 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7316 break 2
7318 done
7319 done
7320 IFS=$as_save_IFS
7324 RSVG=$ac_cv_prog_RSVG
7325 if test -n "$RSVG"; then
7326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7327 printf "%s\n" "$RSVG" >&6; }
7328 else
7329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7330 printf "%s\n" "no" >&6; }
7334 test -n "$RSVG" && break
7335 done
7336 test -n "$RSVG" || RSVG="false"
7338 for ac_prog in convert
7340 # Extract the first word of "$ac_prog", so it can be a program name with args.
7341 set dummy $ac_prog; ac_word=$2
7342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7343 printf %s "checking for $ac_word... " >&6; }
7344 if test ${ac_cv_prog_CONVERT+y}
7345 then :
7346 printf %s "(cached) " >&6
7347 else $as_nop
7348 if test -n "$CONVERT"; then
7349 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7350 else
7351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7352 for as_dir in $PATH
7354 IFS=$as_save_IFS
7355 case $as_dir in #(((
7356 '') as_dir=./ ;;
7357 */) ;;
7358 *) as_dir=$as_dir/ ;;
7359 esac
7360 for ac_exec_ext in '' $ac_executable_extensions; do
7361 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7362 ac_cv_prog_CONVERT="$ac_prog"
7363 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7364 break 2
7366 done
7367 done
7368 IFS=$as_save_IFS
7372 CONVERT=$ac_cv_prog_CONVERT
7373 if test -n "$CONVERT"; then
7374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7375 printf "%s\n" "$CONVERT" >&6; }
7376 else
7377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7378 printf "%s\n" "no" >&6; }
7382 test -n "$CONVERT" && break
7383 done
7384 test -n "$CONVERT" || CONVERT="false"
7386 for ac_prog in icotool
7388 # Extract the first word of "$ac_prog", so it can be a program name with args.
7389 set dummy $ac_prog; ac_word=$2
7390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7391 printf %s "checking for $ac_word... " >&6; }
7392 if test ${ac_cv_prog_ICOTOOL+y}
7393 then :
7394 printf %s "(cached) " >&6
7395 else $as_nop
7396 if test -n "$ICOTOOL"; then
7397 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7398 else
7399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7400 for as_dir in $PATH
7402 IFS=$as_save_IFS
7403 case $as_dir in #(((
7404 '') as_dir=./ ;;
7405 */) ;;
7406 *) as_dir=$as_dir/ ;;
7407 esac
7408 for ac_exec_ext in '' $ac_executable_extensions; do
7409 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7410 ac_cv_prog_ICOTOOL="$ac_prog"
7411 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7412 break 2
7414 done
7415 done
7416 IFS=$as_save_IFS
7420 ICOTOOL=$ac_cv_prog_ICOTOOL
7421 if test -n "$ICOTOOL"; then
7422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7423 printf "%s\n" "$ICOTOOL" >&6; }
7424 else
7425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7426 printf "%s\n" "no" >&6; }
7430 test -n "$ICOTOOL" && break
7431 done
7432 test -n "$ICOTOOL" || ICOTOOL="false"
7434 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7435 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7437 if test "$CONVERT" = false
7438 then
7439 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7440 else
7441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7442 printf %s "checking for recent enough imagemagick... " >&6; }
7443 convert_version=`convert --version | head -n1`
7444 if test "x$convert_version" != "x"
7445 then
7446 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7447 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7448 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7449 then
7450 CONVERT=false
7453 if test "$CONVERT" = false
7454 then
7455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7456 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7457 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7458 else
7459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7460 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7464 if test "$ICOTOOL" = false
7465 then
7466 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7467 else
7468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7469 printf %s "checking for recent enough icotool... " >&6; }
7470 icotool_version=`icotool --version | head -n1`
7471 if test "x$icotool_version" != "x"
7472 then
7473 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7474 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7475 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7476 then
7477 ICOTOOL=false
7478 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7481 if test "$ICOTOOL" = false
7482 then
7483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7484 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7485 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7486 else
7487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7488 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7492 with_gettext=yes
7493 with_gettextpo=yes
7495 enable_werror=yes
7498 test "x$with_gettext" != xno || MSGFMT=false
7499 if test "$MSGFMT" != "false"
7500 then
7501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7502 printf %s "checking whether msgfmt supports contexts... " >&6; }
7503 if test ${wine_cv_msgfmt_contexts+y}
7504 then :
7505 printf %s "(cached) " >&6
7506 else $as_nop
7507 cat >conftest.po <<EOF
7508 # comment
7509 msgctxt "ctxt"
7510 msgid "id"
7511 msgstr "str"
7513 if $MSGFMT -o /dev/null conftest.po 2>&5
7514 then
7515 wine_cv_msgfmt_contexts=yes
7516 else
7517 wine_cv_msgfmt_contexts=no
7520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7521 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7522 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7524 if test "$MSGFMT" = false
7525 then :
7526 case "x$with_gettext" in
7527 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7528 xno) ;;
7529 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7530 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7531 esac
7532 enable_po=${enable_po:-no}
7536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7537 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7538 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7539 then :
7540 printf %s "(cached) " >&6
7541 else $as_nop
7542 ac_check_lib_save_LIBS=$LIBS
7543 LIBS="-li386 $LIBS"
7544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7545 /* end confdefs.h. */
7547 /* Override any GCC internal prototype to avoid an error.
7548 Use char because int might match the return type of a GCC
7549 builtin and then its argument prototype would still apply. */
7550 char i386_set_ldt ();
7552 main (void)
7554 return i386_set_ldt ();
7556 return 0;
7558 _ACEOF
7559 if ac_fn_c_try_link "$LINENO"
7560 then :
7561 ac_cv_lib_i386_i386_set_ldt=yes
7562 else $as_nop
7563 ac_cv_lib_i386_i386_set_ldt=no
7565 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7566 conftest$ac_exeext conftest.$ac_ext
7567 LIBS=$ac_check_lib_save_LIBS
7569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7570 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7571 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7572 then :
7573 I386_LIBS="-li386"
7578 OPENGL_LIBS=""
7582 # Check whether --enable-largefile was given.
7583 if test ${enable_largefile+y}
7584 then :
7585 enableval=$enable_largefile;
7588 if test "$enable_largefile" != no; then
7590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7591 printf %s "checking for special C compiler options needed for large files... " >&6; }
7592 if test ${ac_cv_sys_largefile_CC+y}
7593 then :
7594 printf %s "(cached) " >&6
7595 else $as_nop
7596 ac_cv_sys_largefile_CC=no
7597 if test "$GCC" != yes; then
7598 ac_save_CC=$CC
7599 while :; do
7600 # IRIX 6.2 and later do not support large files by default,
7601 # so use the C compiler's -n32 option if that helps.
7602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7603 /* end confdefs.h. */
7604 #include <sys/types.h>
7605 /* Check that off_t can represent 2**63 - 1 correctly.
7606 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7607 since some C++ compilers masquerading as C compilers
7608 incorrectly reject 9223372036854775807. */
7609 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7610 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7611 && LARGE_OFF_T % 2147483647 == 1)
7612 ? 1 : -1];
7614 main (void)
7618 return 0;
7620 _ACEOF
7621 if ac_fn_c_try_compile "$LINENO"
7622 then :
7623 break
7625 rm -f core conftest.err conftest.$ac_objext conftest.beam
7626 CC="$CC -n32"
7627 if ac_fn_c_try_compile "$LINENO"
7628 then :
7629 ac_cv_sys_largefile_CC=' -n32'; break
7631 rm -f core conftest.err conftest.$ac_objext conftest.beam
7632 break
7633 done
7634 CC=$ac_save_CC
7635 rm -f conftest.$ac_ext
7638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7639 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7640 if test "$ac_cv_sys_largefile_CC" != no; then
7641 CC=$CC$ac_cv_sys_largefile_CC
7644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7645 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7646 if test ${ac_cv_sys_file_offset_bits+y}
7647 then :
7648 printf %s "(cached) " >&6
7649 else $as_nop
7650 while :; do
7651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7652 /* end confdefs.h. */
7653 #include <sys/types.h>
7654 /* Check that off_t can represent 2**63 - 1 correctly.
7655 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7656 since some C++ compilers masquerading as C compilers
7657 incorrectly reject 9223372036854775807. */
7658 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7659 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7660 && LARGE_OFF_T % 2147483647 == 1)
7661 ? 1 : -1];
7663 main (void)
7667 return 0;
7669 _ACEOF
7670 if ac_fn_c_try_compile "$LINENO"
7671 then :
7672 ac_cv_sys_file_offset_bits=no; break
7674 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7676 /* end confdefs.h. */
7677 #define _FILE_OFFSET_BITS 64
7678 #include <sys/types.h>
7679 /* Check that off_t can represent 2**63 - 1 correctly.
7680 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7681 since some C++ compilers masquerading as C compilers
7682 incorrectly reject 9223372036854775807. */
7683 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7684 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7685 && LARGE_OFF_T % 2147483647 == 1)
7686 ? 1 : -1];
7688 main (void)
7692 return 0;
7694 _ACEOF
7695 if ac_fn_c_try_compile "$LINENO"
7696 then :
7697 ac_cv_sys_file_offset_bits=64; break
7699 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7700 ac_cv_sys_file_offset_bits=unknown
7701 break
7702 done
7704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7705 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7706 case $ac_cv_sys_file_offset_bits in #(
7707 no | unknown) ;;
7709 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7711 esac
7712 rm -rf conftest*
7713 if test $ac_cv_sys_file_offset_bits = unknown; then
7714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7715 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7716 if test ${ac_cv_sys_large_files+y}
7717 then :
7718 printf %s "(cached) " >&6
7719 else $as_nop
7720 while :; do
7721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7722 /* end confdefs.h. */
7723 #include <sys/types.h>
7724 /* Check that off_t can represent 2**63 - 1 correctly.
7725 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7726 since some C++ compilers masquerading as C compilers
7727 incorrectly reject 9223372036854775807. */
7728 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7729 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7730 && LARGE_OFF_T % 2147483647 == 1)
7731 ? 1 : -1];
7733 main (void)
7737 return 0;
7739 _ACEOF
7740 if ac_fn_c_try_compile "$LINENO"
7741 then :
7742 ac_cv_sys_large_files=no; break
7744 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7746 /* end confdefs.h. */
7747 #define _LARGE_FILES 1
7748 #include <sys/types.h>
7749 /* Check that off_t can represent 2**63 - 1 correctly.
7750 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7751 since some C++ compilers masquerading as C compilers
7752 incorrectly reject 9223372036854775807. */
7753 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7754 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7755 && LARGE_OFF_T % 2147483647 == 1)
7756 ? 1 : -1];
7758 main (void)
7762 return 0;
7764 _ACEOF
7765 if ac_fn_c_try_compile "$LINENO"
7766 then :
7767 ac_cv_sys_large_files=1; break
7769 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7770 ac_cv_sys_large_files=unknown
7771 break
7772 done
7774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7775 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7776 case $ac_cv_sys_large_files in #(
7777 no | unknown) ;;
7779 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7781 esac
7782 rm -rf conftest*
7787 ac_header= ac_cache=
7788 for ac_item in $ac_header_c_list
7790 if test $ac_cache; then
7791 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7792 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7793 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7795 ac_header= ac_cache=
7796 elif test $ac_header; then
7797 ac_cache=$ac_item
7798 else
7799 ac_header=$ac_item
7801 done
7810 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7811 then :
7813 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7816 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7817 if test "x$ac_cv_header_CL_cl_h" = xyes
7818 then :
7819 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7822 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7823 if test "x$ac_cv_header_EGL_egl_h" = xyes
7824 then :
7825 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7828 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7829 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7830 then :
7831 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7834 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7835 if test "x$ac_cv_header_arpa_inet_h" = xyes
7836 then :
7837 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7840 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7841 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7842 then :
7843 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7846 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7847 if test "x$ac_cv_header_asm_types_h" = xyes
7848 then :
7849 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7852 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7853 if test "x$ac_cv_header_asm_user_h" = xyes
7854 then :
7855 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7858 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7859 if test "x$ac_cv_header_elf_h" = xyes
7860 then :
7861 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7864 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7865 if test "x$ac_cv_header_float_h" = xyes
7866 then :
7867 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7870 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7871 if test "x$ac_cv_header_gettext_po_h" = xyes
7872 then :
7873 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7876 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7877 if test "x$ac_cv_header_libproc_h" = xyes
7878 then :
7879 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7882 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7883 if test "x$ac_cv_header_link_h" = xyes
7884 then :
7885 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7888 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7889 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7890 then :
7891 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7894 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7895 if test "x$ac_cv_header_linux_filter_h" = xyes
7896 then :
7897 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7900 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7901 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7902 then :
7903 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7906 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7907 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7908 then :
7909 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7912 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7913 if test "x$ac_cv_header_linux_input_h" = xyes
7914 then :
7915 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7918 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7919 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7920 then :
7921 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7924 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7925 if test "x$ac_cv_header_linux_major_h" = xyes
7926 then :
7927 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7930 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7931 if test "x$ac_cv_header_linux_param_h" = xyes
7932 then :
7933 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7936 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7937 if test "x$ac_cv_header_linux_serial_h" = xyes
7938 then :
7939 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7942 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7943 if test "x$ac_cv_header_linux_types_h" = xyes
7944 then :
7945 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7948 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7949 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7950 then :
7951 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7954 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7955 if test "x$ac_cv_header_lwp_h" = xyes
7956 then :
7957 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7960 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7961 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7962 then :
7963 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
7966 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
7967 if test "x$ac_cv_header_mach_mach_h" = xyes
7968 then :
7969 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
7972 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
7973 if test "x$ac_cv_header_machine_cpu_h" = xyes
7974 then :
7975 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
7978 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
7979 if test "x$ac_cv_header_machine_sysarch_h" = xyes
7980 then :
7981 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
7984 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
7985 if test "x$ac_cv_header_mntent_h" = xyes
7986 then :
7987 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
7990 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
7991 if test "x$ac_cv_header_netdb_h" = xyes
7992 then :
7993 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
7996 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
7997 if test "x$ac_cv_header_netinet_in_h" = xyes
7998 then :
7999 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8002 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8003 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8004 then :
8005 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8008 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8009 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8010 then :
8011 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8014 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8015 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8016 then :
8017 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8020 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8021 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8022 then :
8023 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8026 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8027 if test "x$ac_cv_header_port_h" = xyes
8028 then :
8029 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8032 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8033 if test "x$ac_cv_header_pthread_h" = xyes
8034 then :
8035 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8038 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8039 if test "x$ac_cv_header_pwd_h" = xyes
8040 then :
8041 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8044 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8045 if test "x$ac_cv_header_sched_h" = xyes
8046 then :
8047 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8050 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8051 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8052 then :
8053 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8056 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8057 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8058 then :
8059 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8062 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8063 if test "x$ac_cv_header_scsi_sg_h" = xyes
8064 then :
8065 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8068 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8069 if test "x$ac_cv_header_stdint_h" = xyes
8070 then :
8071 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8074 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8075 if test "x$ac_cv_header_sys_attr_h" = xyes
8076 then :
8077 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8080 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8081 if test "x$ac_cv_header_sys_auxv_h" = xyes
8082 then :
8083 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8086 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8087 if test "x$ac_cv_header_sys_cdio_h" = xyes
8088 then :
8089 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8092 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8093 if test "x$ac_cv_header_sys_epoll_h" = xyes
8094 then :
8095 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8098 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8099 if test "x$ac_cv_header_sys_event_h" = xyes
8100 then :
8101 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8104 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8105 if test "x$ac_cv_header_sys_extattr_h" = xyes
8106 then :
8107 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8110 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8111 if test "x$ac_cv_header_sys_filio_h" = xyes
8112 then :
8113 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8116 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8117 if test "x$ac_cv_header_sys_ipc_h" = xyes
8118 then :
8119 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8122 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8123 if test "x$ac_cv_header_sys_link_h" = xyes
8124 then :
8125 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8128 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8129 if test "x$ac_cv_header_sys_modem_h" = xyes
8130 then :
8131 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8134 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8135 if test "x$ac_cv_header_sys_mtio_h" = xyes
8136 then :
8137 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8140 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8141 if test "x$ac_cv_header_sys_param_h" = xyes
8142 then :
8143 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8146 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8147 if test "x$ac_cv_header_sys_prctl_h" = xyes
8148 then :
8149 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8152 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8153 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8154 then :
8155 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8158 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8159 if test "x$ac_cv_header_sys_queue_h" = xyes
8160 then :
8161 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8164 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8165 if test "x$ac_cv_header_sys_random_h" = xyes
8166 then :
8167 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8170 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8171 if test "x$ac_cv_header_sys_resource_h" = xyes
8172 then :
8173 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8176 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8177 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8178 then :
8179 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8182 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8183 if test "x$ac_cv_header_sys_shm_h" = xyes
8184 then :
8185 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8188 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8189 if test "x$ac_cv_header_sys_signal_h" = xyes
8190 then :
8191 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8194 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8195 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8196 then :
8197 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8200 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8201 if test "x$ac_cv_header_sys_sockio_h" = xyes
8202 then :
8203 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8206 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8207 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8208 then :
8209 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8212 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8213 if test "x$ac_cv_header_sys_strtio_h" = xyes
8214 then :
8215 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8218 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8219 if test "x$ac_cv_header_sys_syscall_h" = xyes
8220 then :
8221 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8224 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8225 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8226 then :
8227 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8230 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8231 if test "x$ac_cv_header_sys_times_h" = xyes
8232 then :
8233 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8236 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8237 if test "x$ac_cv_header_sys_uio_h" = xyes
8238 then :
8239 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8242 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8243 if test "x$ac_cv_header_sys_user_h" = xyes
8244 then :
8245 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8248 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8249 if test "x$ac_cv_header_sys_utsname_h" = xyes
8250 then :
8251 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8254 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8255 if test "x$ac_cv_header_sys_vnode_h" = xyes
8256 then :
8257 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8260 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8261 if test "x$ac_cv_header_sys_xattr_h" = xyes
8262 then :
8263 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8266 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8267 if test "x$ac_cv_header_syscall_h" = xyes
8268 then :
8269 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8272 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8273 if test "x$ac_cv_header_utime_h" = xyes
8274 then :
8275 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8278 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8279 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8280 then :
8281 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8284 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8285 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8286 then :
8287 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8291 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8292 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8293 then :
8295 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8299 if test $ac_cv_header_sys_mkdev_h = no; then
8300 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8301 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8302 then :
8304 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8310 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8311 if test ${ac_cv_header_stat_broken+y}
8312 then :
8313 printf %s "(cached) " >&6
8314 else $as_nop
8315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8316 /* end confdefs.h. */
8317 #include <sys/types.h>
8318 #include <sys/stat.h>
8320 #if defined S_ISBLK && defined S_IFDIR
8321 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8322 #endif
8324 #if defined S_ISBLK && defined S_IFCHR
8325 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8326 #endif
8328 #if defined S_ISLNK && defined S_IFREG
8329 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8330 #endif
8332 #if defined S_ISSOCK && defined S_IFREG
8333 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8334 #endif
8336 _ACEOF
8337 if ac_fn_c_try_compile "$LINENO"
8338 then :
8339 ac_cv_header_stat_broken=no
8340 else $as_nop
8341 ac_cv_header_stat_broken=yes
8343 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8346 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8347 if test $ac_cv_header_stat_broken = yes; then
8349 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8355 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8356 #ifdef HAVE_SYS_PARAM_H
8357 # include <sys/param.h>
8358 #endif
8360 if test "x$ac_cv_header_sys_conf_h" = xyes
8361 then :
8362 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8365 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8366 #ifdef HAVE_SYS_PARAM_H
8367 # include <sys/param.h>
8368 #endif
8370 if test "x$ac_cv_header_sys_mount_h" = xyes
8371 then :
8372 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8375 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8376 #ifdef HAVE_SYS_PARAM_H
8377 # include <sys/param.h>
8378 #endif
8380 if test "x$ac_cv_header_sys_statfs_h" = xyes
8381 then :
8382 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8385 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8386 #ifdef HAVE_SYS_PARAM_H
8387 # include <sys/param.h>
8388 #endif
8390 if test "x$ac_cv_header_sys_user_h" = xyes
8391 then :
8392 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8395 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8396 #ifdef HAVE_SYS_PARAM_H
8397 # include <sys/param.h>
8398 #endif
8400 if test "x$ac_cv_header_sys_vfs_h" = xyes
8401 then :
8402 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8407 saved_sysctl_h_CFLAGS=$CFLAGS
8408 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8409 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8410 #ifdef HAVE_SYS_PARAM_H
8411 # include <sys/param.h>
8412 #endif
8414 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8415 then :
8416 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8420 CFLAGS=$saved_sysctl_h_CFLAGS
8422 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8423 #include <sys/socket.h>
8424 #ifdef HAVE_SYS_SOCKETVAR_H
8425 # include <sys/socketvar.h>
8426 #endif
8427 #ifdef HAVE_NET_ROUTE_H
8428 # include <net/route.h>
8429 #endif
8430 #ifdef HAVE_NETINET_IN_H
8431 # include <netinet/in.h>
8432 #endif
8433 #ifdef HAVE_NETINET_IN_SYSTM_H
8434 # include <netinet/in_systm.h>
8435 #endif
8436 #ifdef HAVE_NET_IF_H
8437 # include <net/if.h>
8438 #endif
8439 #ifdef HAVE_NETINET_IP_H
8440 # include <netinet/ip.h>
8441 #endif
8443 if test "x$ac_cv_header_netinet_ip_h" = xyes
8444 then :
8445 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8448 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8449 #include <sys/socket.h>
8450 #ifdef HAVE_SYS_SOCKETVAR_H
8451 # include <sys/socketvar.h>
8452 #endif
8453 #ifdef HAVE_NET_ROUTE_H
8454 # include <net/route.h>
8455 #endif
8456 #ifdef HAVE_NETINET_IN_H
8457 # include <netinet/in.h>
8458 #endif
8459 #ifdef HAVE_NETINET_IN_SYSTM_H
8460 # include <netinet/in_systm.h>
8461 #endif
8462 #ifdef HAVE_NET_IF_H
8463 # include <net/if.h>
8464 #endif
8465 #ifdef HAVE_NETINET_IP_H
8466 # include <netinet/ip.h>
8467 #endif
8469 if test "x$ac_cv_header_net_if_h" = xyes
8470 then :
8471 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8474 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8475 #include <sys/socket.h>
8476 #ifdef HAVE_SYS_SOCKETVAR_H
8477 # include <sys/socketvar.h>
8478 #endif
8479 #ifdef HAVE_NET_ROUTE_H
8480 # include <net/route.h>
8481 #endif
8482 #ifdef HAVE_NETINET_IN_H
8483 # include <netinet/in.h>
8484 #endif
8485 #ifdef HAVE_NETINET_IN_SYSTM_H
8486 # include <netinet/in_systm.h>
8487 #endif
8488 #ifdef HAVE_NET_IF_H
8489 # include <net/if.h>
8490 #endif
8491 #ifdef HAVE_NETINET_IP_H
8492 # include <netinet/ip.h>
8493 #endif
8495 if test "x$ac_cv_header_net_if_arp_h" = xyes
8496 then :
8497 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8500 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8501 #include <sys/socket.h>
8502 #ifdef HAVE_SYS_SOCKETVAR_H
8503 # include <sys/socketvar.h>
8504 #endif
8505 #ifdef HAVE_NET_ROUTE_H
8506 # include <net/route.h>
8507 #endif
8508 #ifdef HAVE_NETINET_IN_H
8509 # include <netinet/in.h>
8510 #endif
8511 #ifdef HAVE_NETINET_IN_SYSTM_H
8512 # include <netinet/in_systm.h>
8513 #endif
8514 #ifdef HAVE_NET_IF_H
8515 # include <net/if.h>
8516 #endif
8517 #ifdef HAVE_NETINET_IP_H
8518 # include <netinet/ip.h>
8519 #endif
8521 if test "x$ac_cv_header_net_if_dl_h" = xyes
8522 then :
8523 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8526 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8527 #include <sys/socket.h>
8528 #ifdef HAVE_SYS_SOCKETVAR_H
8529 # include <sys/socketvar.h>
8530 #endif
8531 #ifdef HAVE_NET_ROUTE_H
8532 # include <net/route.h>
8533 #endif
8534 #ifdef HAVE_NETINET_IN_H
8535 # include <netinet/in.h>
8536 #endif
8537 #ifdef HAVE_NETINET_IN_SYSTM_H
8538 # include <netinet/in_systm.h>
8539 #endif
8540 #ifdef HAVE_NET_IF_H
8541 # include <net/if.h>
8542 #endif
8543 #ifdef HAVE_NETINET_IP_H
8544 # include <netinet/ip.h>
8545 #endif
8547 if test "x$ac_cv_header_net_if_types_h" = xyes
8548 then :
8549 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8552 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8553 #include <sys/socket.h>
8554 #ifdef HAVE_SYS_SOCKETVAR_H
8555 # include <sys/socketvar.h>
8556 #endif
8557 #ifdef HAVE_NET_ROUTE_H
8558 # include <net/route.h>
8559 #endif
8560 #ifdef HAVE_NETINET_IN_H
8561 # include <netinet/in.h>
8562 #endif
8563 #ifdef HAVE_NETINET_IN_SYSTM_H
8564 # include <netinet/in_systm.h>
8565 #endif
8566 #ifdef HAVE_NET_IF_H
8567 # include <net/if.h>
8568 #endif
8569 #ifdef HAVE_NETINET_IP_H
8570 # include <netinet/ip.h>
8571 #endif
8573 if test "x$ac_cv_header_net_route_h" = xyes
8574 then :
8575 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8578 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8579 #include <sys/socket.h>
8580 #ifdef HAVE_SYS_SOCKETVAR_H
8581 # include <sys/socketvar.h>
8582 #endif
8583 #ifdef HAVE_NET_ROUTE_H
8584 # include <net/route.h>
8585 #endif
8586 #ifdef HAVE_NETINET_IN_H
8587 # include <netinet/in.h>
8588 #endif
8589 #ifdef HAVE_NETINET_IN_SYSTM_H
8590 # include <netinet/in_systm.h>
8591 #endif
8592 #ifdef HAVE_NET_IF_H
8593 # include <net/if.h>
8594 #endif
8595 #ifdef HAVE_NETINET_IP_H
8596 # include <netinet/ip.h>
8597 #endif
8599 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8600 then :
8601 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8604 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8605 #include <sys/socket.h>
8606 #ifdef HAVE_SYS_SOCKETVAR_H
8607 # include <sys/socketvar.h>
8608 #endif
8609 #ifdef HAVE_NET_ROUTE_H
8610 # include <net/route.h>
8611 #endif
8612 #ifdef HAVE_NETINET_IN_H
8613 # include <netinet/in.h>
8614 #endif
8615 #ifdef HAVE_NETINET_IN_SYSTM_H
8616 # include <netinet/in_systm.h>
8617 #endif
8618 #ifdef HAVE_NET_IF_H
8619 # include <net/if.h>
8620 #endif
8621 #ifdef HAVE_NETINET_IP_H
8622 # include <netinet/ip.h>
8623 #endif
8625 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8626 then :
8627 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8630 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8631 #include <sys/socket.h>
8632 #ifdef HAVE_SYS_SOCKETVAR_H
8633 # include <sys/socketvar.h>
8634 #endif
8635 #ifdef HAVE_NET_ROUTE_H
8636 # include <net/route.h>
8637 #endif
8638 #ifdef HAVE_NETINET_IN_H
8639 # include <netinet/in.h>
8640 #endif
8641 #ifdef HAVE_NETINET_IN_SYSTM_H
8642 # include <netinet/in_systm.h>
8643 #endif
8644 #ifdef HAVE_NET_IF_H
8645 # include <net/if.h>
8646 #endif
8647 #ifdef HAVE_NETINET_IP_H
8648 # include <netinet/ip.h>
8649 #endif
8651 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8652 then :
8653 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8656 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8657 #include <sys/socket.h>
8658 #ifdef HAVE_SYS_SOCKETVAR_H
8659 # include <sys/socketvar.h>
8660 #endif
8661 #ifdef HAVE_NET_ROUTE_H
8662 # include <net/route.h>
8663 #endif
8664 #ifdef HAVE_NETINET_IN_H
8665 # include <netinet/in.h>
8666 #endif
8667 #ifdef HAVE_NETINET_IN_SYSTM_H
8668 # include <netinet/in_systm.h>
8669 #endif
8670 #ifdef HAVE_NET_IF_H
8671 # include <net/if.h>
8672 #endif
8673 #ifdef HAVE_NETINET_IP_H
8674 # include <netinet/ip.h>
8675 #endif
8677 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8678 then :
8679 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8682 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8683 #include <sys/socket.h>
8684 #ifdef HAVE_SYS_SOCKETVAR_H
8685 # include <sys/socketvar.h>
8686 #endif
8687 #ifdef HAVE_NET_ROUTE_H
8688 # include <net/route.h>
8689 #endif
8690 #ifdef HAVE_NETINET_IN_H
8691 # include <netinet/in.h>
8692 #endif
8693 #ifdef HAVE_NETINET_IN_SYSTM_H
8694 # include <netinet/in_systm.h>
8695 #endif
8696 #ifdef HAVE_NET_IF_H
8697 # include <net/if.h>
8698 #endif
8699 #ifdef HAVE_NETINET_IP_H
8700 # include <netinet/ip.h>
8701 #endif
8703 if test "x$ac_cv_header_netinet_udp_h" = xyes
8704 then :
8705 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8708 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8709 #include <sys/socket.h>
8710 #ifdef HAVE_SYS_SOCKETVAR_H
8711 # include <sys/socketvar.h>
8712 #endif
8713 #ifdef HAVE_NET_ROUTE_H
8714 # include <net/route.h>
8715 #endif
8716 #ifdef HAVE_NETINET_IN_H
8717 # include <netinet/in.h>
8718 #endif
8719 #ifdef HAVE_NETINET_IN_SYSTM_H
8720 # include <netinet/in_systm.h>
8721 #endif
8722 #ifdef HAVE_NET_IF_H
8723 # include <net/if.h>
8724 #endif
8725 #ifdef HAVE_NETINET_IP_H
8726 # include <netinet/ip.h>
8727 #endif
8729 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8730 then :
8731 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8734 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8735 #include <sys/socket.h>
8736 #ifdef HAVE_SYS_SOCKETVAR_H
8737 # include <sys/socketvar.h>
8738 #endif
8739 #ifdef HAVE_NET_ROUTE_H
8740 # include <net/route.h>
8741 #endif
8742 #ifdef HAVE_NETINET_IN_H
8743 # include <netinet/in.h>
8744 #endif
8745 #ifdef HAVE_NETINET_IN_SYSTM_H
8746 # include <netinet/in_systm.h>
8747 #endif
8748 #ifdef HAVE_NET_IF_H
8749 # include <net/if.h>
8750 #endif
8751 #ifdef HAVE_NETINET_IP_H
8752 # include <netinet/ip.h>
8753 #endif
8755 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8756 then :
8757 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8760 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8761 #include <sys/socket.h>
8762 #ifdef HAVE_SYS_SOCKETVAR_H
8763 # include <sys/socketvar.h>
8764 #endif
8765 #ifdef HAVE_NET_ROUTE_H
8766 # include <net/route.h>
8767 #endif
8768 #ifdef HAVE_NETINET_IN_H
8769 # include <netinet/in.h>
8770 #endif
8771 #ifdef HAVE_NETINET_IN_SYSTM_H
8772 # include <netinet/in_systm.h>
8773 #endif
8774 #ifdef HAVE_NET_IF_H
8775 # include <net/if.h>
8776 #endif
8777 #ifdef HAVE_NETINET_IP_H
8778 # include <netinet/ip.h>
8779 #endif
8781 if test "x$ac_cv_header_sys_un_h" = xyes
8782 then :
8783 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8788 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8789 #include <sys/socket.h>
8790 #ifdef HAVE_SYS_SOCKETVAR_H
8791 # include <sys/socketvar.h>
8792 #endif
8793 #ifdef HAVE_NETINET_IN_H
8794 # include <netinet/in.h>
8795 #endif
8796 #ifdef HAVE_NETINET_IN_SYSTM_H
8797 # include <netinet/in_systm.h>
8798 #endif
8799 #ifdef HAVE_NETINET_IP_H
8800 # include <netinet/ip.h>
8801 #endif
8802 #ifdef HAVE_NETINET_IP_VAR_H
8803 # include <netinet/ip_var.h>
8804 #endif
8805 #ifdef HAVE_NETINET_IP_ICMP_H
8806 # include <netinet/ip_icmp.h>
8807 #endif
8808 #ifdef HAVE_NETINET_UDP_H
8809 # include <netinet/udp.h>
8810 #endif
8811 #ifdef HAVE_NETINET_TCP_H
8812 # include <netinet/tcp.h>
8813 #endif
8815 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8816 then :
8817 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8820 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8821 #include <sys/socket.h>
8822 #ifdef HAVE_SYS_SOCKETVAR_H
8823 # include <sys/socketvar.h>
8824 #endif
8825 #ifdef HAVE_NETINET_IN_H
8826 # include <netinet/in.h>
8827 #endif
8828 #ifdef HAVE_NETINET_IN_SYSTM_H
8829 # include <netinet/in_systm.h>
8830 #endif
8831 #ifdef HAVE_NETINET_IP_H
8832 # include <netinet/ip.h>
8833 #endif
8834 #ifdef HAVE_NETINET_IP_VAR_H
8835 # include <netinet/ip_var.h>
8836 #endif
8837 #ifdef HAVE_NETINET_IP_ICMP_H
8838 # include <netinet/ip_icmp.h>
8839 #endif
8840 #ifdef HAVE_NETINET_UDP_H
8841 # include <netinet/udp.h>
8842 #endif
8843 #ifdef HAVE_NETINET_TCP_H
8844 # include <netinet/tcp.h>
8845 #endif
8847 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8848 then :
8849 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8852 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8853 #include <sys/socket.h>
8854 #ifdef HAVE_SYS_SOCKETVAR_H
8855 # include <sys/socketvar.h>
8856 #endif
8857 #ifdef HAVE_NETINET_IN_H
8858 # include <netinet/in.h>
8859 #endif
8860 #ifdef HAVE_NETINET_IN_SYSTM_H
8861 # include <netinet/in_systm.h>
8862 #endif
8863 #ifdef HAVE_NETINET_IP_H
8864 # include <netinet/ip.h>
8865 #endif
8866 #ifdef HAVE_NETINET_IP_VAR_H
8867 # include <netinet/ip_var.h>
8868 #endif
8869 #ifdef HAVE_NETINET_IP_ICMP_H
8870 # include <netinet/ip_icmp.h>
8871 #endif
8872 #ifdef HAVE_NETINET_UDP_H
8873 # include <netinet/udp.h>
8874 #endif
8875 #ifdef HAVE_NETINET_TCP_H
8876 # include <netinet/tcp.h>
8877 #endif
8879 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8880 then :
8881 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8884 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8885 #include <sys/socket.h>
8886 #ifdef HAVE_SYS_SOCKETVAR_H
8887 # include <sys/socketvar.h>
8888 #endif
8889 #ifdef HAVE_NETINET_IN_H
8890 # include <netinet/in.h>
8891 #endif
8892 #ifdef HAVE_NETINET_IN_SYSTM_H
8893 # include <netinet/in_systm.h>
8894 #endif
8895 #ifdef HAVE_NETINET_IP_H
8896 # include <netinet/ip.h>
8897 #endif
8898 #ifdef HAVE_NETINET_IP_VAR_H
8899 # include <netinet/ip_var.h>
8900 #endif
8901 #ifdef HAVE_NETINET_IP_ICMP_H
8902 # include <netinet/ip_icmp.h>
8903 #endif
8904 #ifdef HAVE_NETINET_UDP_H
8905 # include <netinet/udp.h>
8906 #endif
8907 #ifdef HAVE_NETINET_TCP_H
8908 # include <netinet/tcp.h>
8909 #endif
8911 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8912 then :
8913 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8918 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8919 #include <sys/socket.h>
8920 #ifdef HAVE_ASM_TYPES_H
8921 # include <asm/types.h>
8922 #endif
8923 #ifdef HAVE_LINUX_TYPES_H
8924 # include <linux/types.h>
8925 #endif
8927 if test "x$ac_cv_header_linux_ipx_h" = xyes
8928 then :
8929 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8932 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8933 #include <sys/socket.h>
8934 #ifdef HAVE_ASM_TYPES_H
8935 # include <asm/types.h>
8936 #endif
8937 #ifdef HAVE_LINUX_TYPES_H
8938 # include <linux/types.h>
8939 #endif
8941 if test "x$ac_cv_header_linux_irda_h" = xyes
8942 then :
8943 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8946 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8947 #include <sys/socket.h>
8948 #ifdef HAVE_ASM_TYPES_H
8949 # include <asm/types.h>
8950 #endif
8951 #ifdef HAVE_LINUX_TYPES_H
8952 # include <linux/types.h>
8953 #endif
8955 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8956 then :
8957 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8962 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8963 #include <sys/socket.h>
8964 #ifdef HAVE_NETINET_IN_H
8965 # include <netinet/in.h>
8966 #endif
8967 #ifdef HAVE_ARPA_NAMESER_H
8968 # include <arpa/nameser.h>
8969 #endif
8971 if test "x$ac_cv_header_resolv_h" = xyes
8972 then :
8973 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
8978 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
8980 if test "x$ac_cv_header_ifaddrs_h" = xyes
8981 then :
8982 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
8987 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
8989 if test "x$ac_cv_header_sys_ucontext_h" = xyes
8990 then :
8991 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
8996 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
8997 #ifdef HAVE_SYS_UCONTEXT_H
8998 #include <sys/ucontext.h>
8999 #endif
9001 if test "x$ac_cv_header_sys_thr_h" = xyes
9002 then :
9003 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9008 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9009 #include <pthread.h>
9010 #endif
9012 if test "x$ac_cv_header_pthread_np_h" = xyes
9013 then :
9014 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9019 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9020 #include <sys/types.h>
9021 #ifdef HAVE_ASM_TYPES_H
9022 #include <asm/types.h>
9023 #endif
9025 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9026 then :
9027 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9032 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9033 #include <sys/param.h>
9034 #endif
9035 #include <sys/socket.h>
9036 #ifdef HAVE_SYS_QUEUE_H
9037 #include <sys/queue.h>
9038 #endif
9040 if test "x$ac_cv_header_libprocstat_h" = xyes
9041 then :
9042 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9047 if test "x$ac_cv_header_sys_xattr_h" = xyes
9048 then
9049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9050 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9051 if test ${wine_cv_xattr_extra_args+y}
9052 then :
9053 printf %s "(cached) " >&6
9054 else $as_nop
9055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9056 /* end confdefs.h. */
9057 #include <sys/xattr.h>
9059 main (void)
9061 getxattr("", "", "", 0, 0, 0);
9063 return 0;
9065 _ACEOF
9066 if ac_fn_c_try_compile "$LINENO"
9067 then :
9068 wine_cv_xattr_extra_args=yes
9069 else $as_nop
9070 wine_cv_xattr_extra_args=no
9072 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9075 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9076 test $wine_cv_xattr_extra_args != yes ||
9077 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9082 DLLFLAGS=""
9084 LDDLLFLAGS=""
9086 LDEXECFLAGS=""
9088 EXTRACFLAGS=""
9090 UNIXDLLFLAGS="-fPIC"
9092 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9094 TOP_INSTALL_LIB=""
9096 TOP_INSTALL_DEV=""
9098 WINELOADER_LDFLAGS=""
9100 WINEPRELOADER_LDFLAGS=""
9102 LIBEXT="so"
9103 # Extract the first word of "ldd", so it can be a program name with args.
9104 set dummy ldd; ac_word=$2
9105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9106 printf %s "checking for $ac_word... " >&6; }
9107 if test ${ac_cv_path_LDD+y}
9108 then :
9109 printf %s "(cached) " >&6
9110 else $as_nop
9111 case $LDD in
9112 [\\/]* | ?:[\\/]*)
9113 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9117 as_dummy="/sbin:/usr/sbin:$PATH"
9118 for as_dir in $as_dummy
9120 IFS=$as_save_IFS
9121 case $as_dir in #(((
9122 '') as_dir=./ ;;
9123 */) ;;
9124 *) as_dir=$as_dir/ ;;
9125 esac
9126 for ac_exec_ext in '' $ac_executable_extensions; do
9127 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9128 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9129 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9130 break 2
9132 done
9133 done
9134 IFS=$as_save_IFS
9136 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9138 esac
9140 LDD=$ac_cv_path_LDD
9141 if test -n "$LDD"; then
9142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9143 printf "%s\n" "$LDD" >&6; }
9144 else
9145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9146 printf "%s\n" "no" >&6; }
9150 if test -n "$ac_tool_prefix"; then
9151 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9152 set dummy ${ac_tool_prefix}otool; ac_word=$2
9153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9154 printf %s "checking for $ac_word... " >&6; }
9155 if test ${ac_cv_prog_OTOOL+y}
9156 then :
9157 printf %s "(cached) " >&6
9158 else $as_nop
9159 if test -n "$OTOOL"; then
9160 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9161 else
9162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9163 for as_dir in $PATH
9165 IFS=$as_save_IFS
9166 case $as_dir in #(((
9167 '') as_dir=./ ;;
9168 */) ;;
9169 *) as_dir=$as_dir/ ;;
9170 esac
9171 for ac_exec_ext in '' $ac_executable_extensions; do
9172 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9173 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9174 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9175 break 2
9177 done
9178 done
9179 IFS=$as_save_IFS
9183 OTOOL=$ac_cv_prog_OTOOL
9184 if test -n "$OTOOL"; then
9185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9186 printf "%s\n" "$OTOOL" >&6; }
9187 else
9188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9189 printf "%s\n" "no" >&6; }
9194 if test -z "$ac_cv_prog_OTOOL"; then
9195 ac_ct_OTOOL=$OTOOL
9196 # Extract the first word of "otool", so it can be a program name with args.
9197 set dummy otool; ac_word=$2
9198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9199 printf %s "checking for $ac_word... " >&6; }
9200 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9201 then :
9202 printf %s "(cached) " >&6
9203 else $as_nop
9204 if test -n "$ac_ct_OTOOL"; then
9205 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9206 else
9207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9208 for as_dir in $PATH
9210 IFS=$as_save_IFS
9211 case $as_dir in #(((
9212 '') as_dir=./ ;;
9213 */) ;;
9214 *) as_dir=$as_dir/ ;;
9215 esac
9216 for ac_exec_ext in '' $ac_executable_extensions; do
9217 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9218 ac_cv_prog_ac_ct_OTOOL="otool"
9219 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9220 break 2
9222 done
9223 done
9224 IFS=$as_save_IFS
9228 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9229 if test -n "$ac_ct_OTOOL"; then
9230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9231 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9232 else
9233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9234 printf "%s\n" "no" >&6; }
9237 if test "x$ac_ct_OTOOL" = x; then
9238 OTOOL="otool"
9239 else
9240 case $cross_compiling:$ac_tool_warned in
9241 yes:)
9242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9243 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9244 ac_tool_warned=yes ;;
9245 esac
9246 OTOOL=$ac_ct_OTOOL
9248 else
9249 OTOOL="$ac_cv_prog_OTOOL"
9252 if test -n "$ac_tool_prefix"; then
9253 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9254 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9256 printf %s "checking for $ac_word... " >&6; }
9257 if test ${ac_cv_prog_READELF+y}
9258 then :
9259 printf %s "(cached) " >&6
9260 else $as_nop
9261 if test -n "$READELF"; then
9262 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9263 else
9264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9265 for as_dir in $PATH
9267 IFS=$as_save_IFS
9268 case $as_dir in #(((
9269 '') as_dir=./ ;;
9270 */) ;;
9271 *) as_dir=$as_dir/ ;;
9272 esac
9273 for ac_exec_ext in '' $ac_executable_extensions; do
9274 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9275 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9276 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9277 break 2
9279 done
9280 done
9281 IFS=$as_save_IFS
9285 READELF=$ac_cv_prog_READELF
9286 if test -n "$READELF"; then
9287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9288 printf "%s\n" "$READELF" >&6; }
9289 else
9290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9291 printf "%s\n" "no" >&6; }
9296 if test -z "$ac_cv_prog_READELF"; then
9297 ac_ct_READELF=$READELF
9298 # Extract the first word of "readelf", so it can be a program name with args.
9299 set dummy readelf; ac_word=$2
9300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9301 printf %s "checking for $ac_word... " >&6; }
9302 if test ${ac_cv_prog_ac_ct_READELF+y}
9303 then :
9304 printf %s "(cached) " >&6
9305 else $as_nop
9306 if test -n "$ac_ct_READELF"; then
9307 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9308 else
9309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9310 for as_dir in $PATH
9312 IFS=$as_save_IFS
9313 case $as_dir in #(((
9314 '') as_dir=./ ;;
9315 */) ;;
9316 *) as_dir=$as_dir/ ;;
9317 esac
9318 for ac_exec_ext in '' $ac_executable_extensions; do
9319 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9320 ac_cv_prog_ac_ct_READELF="readelf"
9321 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9322 break 2
9324 done
9325 done
9326 IFS=$as_save_IFS
9330 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9331 if test -n "$ac_ct_READELF"; then
9332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9333 printf "%s\n" "$ac_ct_READELF" >&6; }
9334 else
9335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9336 printf "%s\n" "no" >&6; }
9339 if test "x$ac_ct_READELF" = x; then
9340 READELF="true"
9341 else
9342 case $cross_compiling:$ac_tool_warned in
9343 yes:)
9344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9345 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9346 ac_tool_warned=yes ;;
9347 esac
9348 READELF=$ac_ct_READELF
9350 else
9351 READELF="$ac_cv_prog_READELF"
9354 wine_rules="all:"
9355 SUBDIRS=""
9357 DISABLED_SUBDIRS=""
9359 CONFIGURE_TARGETS=""
9362 wine_fn_config_makefile ()
9364 as_fn_append SUBDIRS " \\$as_nl $1"
9365 eval enable=\$$2
9366 case "$enable" in
9367 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9368 *aarch64*|*arm*|*i386*|*x86_64*)
9369 if test -n "$PE_ARCHS"
9370 then
9371 for i in $PE_ARCHS
9373 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9374 done
9375 else
9376 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9377 fi;;
9378 esac
9381 wine_fn_config_symlink ()
9383 ac_links=$@
9384 as_fn_append wine_rules "
9385 $ac_links:
9386 @./config.status \$@"
9387 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9390 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9392 case $host_os in
9393 cygwin*|mingw32*)
9394 LIBEXT="dll"
9395 EXTRACFLAGS="-D__WINE_PE_BUILD"
9396 case $host_cpu in
9397 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9398 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9399 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9400 then :
9401 printf %s "(cached) " >&6
9402 else $as_nop
9403 ac_wine_try_cflags_saved=$CFLAGS
9404 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9406 /* end confdefs.h. */
9407 int main(int argc, char **argv) { return 0; }
9408 _ACEOF
9409 if ac_fn_c_try_link "$LINENO"
9410 then :
9411 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9412 else $as_nop
9413 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9415 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9416 conftest$ac_exeext conftest.$ac_ext
9417 CFLAGS=$ac_wine_try_cflags_saved
9419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9420 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9421 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9422 then :
9423 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9424 fi ;;
9425 esac
9426 enable_loader=${enable_loader:-no}
9427 enable_server=${enable_server:-no}
9428 with_x=${with_x:-no}
9429 with_pthread=${with_pthread:-no}
9432 darwin*|macosx*)
9433 LIBEXT="dylib"
9434 DLLFLAGS="$DLLFLAGS -fPIC"
9435 LDDLLFLAGS="-fPIC"
9436 enable_winemac_drv=${enable_winemac_drv:-yes}
9437 CARBON_LIBS="-framework Carbon"
9439 COREFOUNDATION_LIBS="-framework CoreFoundation"
9441 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9443 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9445 METAL_LIBS="-framework Metal"
9447 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9449 CORESERVICES_LIBS="-framework CoreServices"
9451 APPKIT_LIBS="-framework AppKit"
9453 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9455 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9458 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9460 wine_can_build_preloader=yes
9461 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"
9462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9463 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9464 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9465 then :
9466 printf %s "(cached) " >&6
9467 else $as_nop
9468 ac_wine_try_cflags_saved=$CFLAGS
9469 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9471 /* end confdefs.h. */
9472 int main(int argc, char **argv) { return 0; }
9473 _ACEOF
9474 if ac_fn_c_try_link "$LINENO"
9475 then :
9476 ac_cv_cflags__Wl__no_new_main__e__main=yes
9477 else $as_nop
9478 ac_cv_cflags__Wl__no_new_main__e__main=no
9480 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9481 conftest$ac_exeext conftest.$ac_ext
9482 CFLAGS=$ac_wine_try_cflags_saved
9484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9485 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9486 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9487 then :
9488 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9489 { 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
9490 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9491 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9492 then :
9493 printf %s "(cached) " >&6
9494 else $as_nop
9495 ac_wine_try_cflags_saved=$CFLAGS
9496 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9498 /* end confdefs.h. */
9499 int main(int argc, char **argv) { return 0; }
9500 _ACEOF
9501 if ac_fn_c_try_link "$LINENO"
9502 then :
9503 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9504 else $as_nop
9505 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9507 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9508 conftest$ac_exeext conftest.$ac_ext
9509 CFLAGS=$ac_wine_try_cflags_saved
9511 { 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
9512 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9513 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9514 then :
9515 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9516 else $as_nop
9517 wine_can_build_preloader=no
9519 else $as_nop
9520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9521 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9522 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9523 then :
9524 printf %s "(cached) " >&6
9525 else $as_nop
9526 ac_wine_try_cflags_saved=$CFLAGS
9527 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9529 /* end confdefs.h. */
9530 int main(int argc, char **argv) { return 0; }
9531 _ACEOF
9532 if ac_fn_c_try_link "$LINENO"
9533 then :
9534 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9535 else $as_nop
9536 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9538 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9539 conftest$ac_exeext conftest.$ac_ext
9540 CFLAGS=$ac_wine_try_cflags_saved
9542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9543 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9544 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9545 then :
9546 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9547 else $as_nop
9548 wine_can_build_preloader=no
9551 if test "$wine_can_build_preloader" = "yes"
9552 then
9553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9554 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9555 if test ${ac_cv_cflags__Wl__no_pie+y}
9556 then :
9557 printf %s "(cached) " >&6
9558 else $as_nop
9559 ac_wine_try_cflags_saved=$CFLAGS
9560 CFLAGS="$CFLAGS -Wl,-no_pie"
9561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9562 /* end confdefs.h. */
9563 int main(int argc, char **argv) { return 0; }
9564 _ACEOF
9565 if ac_fn_c_try_link "$LINENO"
9566 then :
9567 ac_cv_cflags__Wl__no_pie=yes
9568 else $as_nop
9569 ac_cv_cflags__Wl__no_pie=no
9571 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9572 conftest$ac_exeext conftest.$ac_ext
9573 CFLAGS=$ac_wine_try_cflags_saved
9575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9576 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9577 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9578 then :
9579 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9581 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9582 else
9583 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9586 if test "x$with_coreaudio" != "xno";
9587 then
9588 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9590 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9592 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9593 then
9594 OPENCL_LIBS="-framework OpenCL"
9596 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9600 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9601 ac_ext=m
9602 ac_cpp='$OBJCPP $CPPFLAGS'
9603 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9604 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9605 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9607 ac_ext=m
9608 ac_cpp='$OBJCPP $CPPFLAGS'
9609 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9610 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9611 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9612 if test -n "$ac_tool_prefix"; then
9613 for ac_prog in gcc objcc objc cc CC clang
9615 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9616 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9618 printf %s "checking for $ac_word... " >&6; }
9619 if test ${ac_cv_prog_OBJC+y}
9620 then :
9621 printf %s "(cached) " >&6
9622 else $as_nop
9623 if test -n "$OBJC"; then
9624 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9625 else
9626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9627 for as_dir in $PATH
9629 IFS=$as_save_IFS
9630 case $as_dir in #(((
9631 '') as_dir=./ ;;
9632 */) ;;
9633 *) as_dir=$as_dir/ ;;
9634 esac
9635 for ac_exec_ext in '' $ac_executable_extensions; do
9636 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9637 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9638 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9639 break 2
9641 done
9642 done
9643 IFS=$as_save_IFS
9647 OBJC=$ac_cv_prog_OBJC
9648 if test -n "$OBJC"; then
9649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9650 printf "%s\n" "$OBJC" >&6; }
9651 else
9652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9653 printf "%s\n" "no" >&6; }
9657 test -n "$OBJC" && break
9658 done
9660 if test -z "$OBJC"; then
9661 ac_ct_OBJC=$OBJC
9662 for ac_prog in gcc objcc objc cc CC clang
9664 # Extract the first word of "$ac_prog", so it can be a program name with args.
9665 set dummy $ac_prog; ac_word=$2
9666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9667 printf %s "checking for $ac_word... " >&6; }
9668 if test ${ac_cv_prog_ac_ct_OBJC+y}
9669 then :
9670 printf %s "(cached) " >&6
9671 else $as_nop
9672 if test -n "$ac_ct_OBJC"; then
9673 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9674 else
9675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9676 for as_dir in $PATH
9678 IFS=$as_save_IFS
9679 case $as_dir in #(((
9680 '') as_dir=./ ;;
9681 */) ;;
9682 *) as_dir=$as_dir/ ;;
9683 esac
9684 for ac_exec_ext in '' $ac_executable_extensions; do
9685 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9686 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9687 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9688 break 2
9690 done
9691 done
9692 IFS=$as_save_IFS
9696 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9697 if test -n "$ac_ct_OBJC"; then
9698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9699 printf "%s\n" "$ac_ct_OBJC" >&6; }
9700 else
9701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9702 printf "%s\n" "no" >&6; }
9706 test -n "$ac_ct_OBJC" && break
9707 done
9709 if test "x$ac_ct_OBJC" = x; then
9710 OBJC="gcc"
9711 else
9712 case $cross_compiling:$ac_tool_warned in
9713 yes:)
9714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9715 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9716 ac_tool_warned=yes ;;
9717 esac
9718 OBJC=$ac_ct_OBJC
9722 # Provide some information about the compiler.
9723 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9724 set X $ac_compile
9725 ac_compiler=$2
9726 for ac_option in --version -v -V -qversion; do
9727 { { ac_try="$ac_compiler $ac_option >&5"
9728 case "(($ac_try" in
9729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9730 *) ac_try_echo=$ac_try;;
9731 esac
9732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9733 printf "%s\n" "$ac_try_echo"; } >&5
9734 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9735 ac_status=$?
9736 if test -s conftest.err; then
9737 sed '10a\
9738 ... rest of stderr output deleted ...
9739 10q' conftest.err >conftest.er1
9740 cat conftest.er1 >&5
9742 rm -f conftest.er1 conftest.err
9743 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9744 test $ac_status = 0; }
9745 done
9747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9748 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9749 if test ${ac_cv_objc_compiler_gnu+y}
9750 then :
9751 printf %s "(cached) " >&6
9752 else $as_nop
9753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9754 /* end confdefs.h. */
9757 main (void)
9759 #ifndef __GNUC__
9760 choke me
9761 #endif
9764 return 0;
9766 _ACEOF
9767 if ac_fn_objc_try_compile "$LINENO"
9768 then :
9769 ac_compiler_gnu=yes
9770 else $as_nop
9771 ac_compiler_gnu=no
9773 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9774 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9778 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9779 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9781 if test $ac_compiler_gnu = yes; then
9782 GOBJC=yes
9783 else
9784 GOBJC=
9786 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9787 ac_save_OBJCFLAGS=$OBJCFLAGS
9788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9789 printf %s "checking whether $OBJC accepts -g... " >&6; }
9790 if test ${ac_cv_prog_objc_g+y}
9791 then :
9792 printf %s "(cached) " >&6
9793 else $as_nop
9794 ac_save_objc_werror_flag=$ac_objc_werror_flag
9795 ac_objc_werror_flag=yes
9796 ac_cv_prog_objc_g=no
9797 OBJCFLAGS="-g"
9798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9799 /* end confdefs.h. */
9802 main (void)
9806 return 0;
9808 _ACEOF
9809 if ac_fn_objc_try_compile "$LINENO"
9810 then :
9811 ac_cv_prog_objc_g=yes
9812 else $as_nop
9813 OBJCFLAGS=""
9814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9815 /* end confdefs.h. */
9818 main (void)
9822 return 0;
9824 _ACEOF
9825 if ac_fn_objc_try_compile "$LINENO"
9826 then :
9828 else $as_nop
9829 ac_objc_werror_flag=$ac_save_objc_werror_flag
9830 OBJCFLAGS="-g"
9831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9832 /* end confdefs.h. */
9835 main (void)
9839 return 0;
9841 _ACEOF
9842 if ac_fn_objc_try_compile "$LINENO"
9843 then :
9844 ac_cv_prog_objc_g=yes
9846 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9848 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9850 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9851 ac_objc_werror_flag=$ac_save_objc_werror_flag
9853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9854 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9855 if test $ac_test_OBJCFLAGS; then
9856 OBJCFLAGS=$ac_save_OBJCFLAGS
9857 elif test $ac_cv_prog_objc_g = yes; then
9858 if test "$GOBJC" = yes; then
9859 OBJCFLAGS="-g -O2"
9860 else
9861 OBJCFLAGS="-g"
9863 else
9864 if test "$GOBJC" = yes; then
9865 OBJCFLAGS="-O2"
9866 else
9867 OBJCFLAGS=
9870 ac_ext=m
9871 ac_cpp='$OBJCPP $CPPFLAGS'
9872 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9873 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9874 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9878 /* end confdefs.h. */
9879 #include <Metal/Metal.h>
9881 main (void)
9883 id<MTLDevice> device; device.registryID;
9885 return 0;
9887 _ACEOF
9888 if ac_fn_objc_try_compile "$LINENO"
9889 then :
9890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9891 printf "%s\n" "yes" >&6; }
9893 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9895 else $as_nop
9896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9897 printf "%s\n" "no" >&6; }
9899 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9900 ac_ext=c
9901 ac_cpp='$CPP $CPPFLAGS'
9902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9907 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9908 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9910 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9912 WINELOADER_DEPENDS="wine_info.plist"
9914 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9917 linux-android*)
9919 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9921 DLLFLAGS="$DLLFLAGS -fPIC"
9922 LDDLLFLAGS="-fPIC"
9923 LDEXECFLAGS="-Wl,-pie"
9924 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9926 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9927 if test ${ac_cv_cflags__Wl__z_defs+y}
9928 then :
9929 printf %s "(cached) " >&6
9930 else $as_nop
9931 ac_wine_try_cflags_saved=$CFLAGS
9932 CFLAGS="$CFLAGS -Wl,-z,defs"
9933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9934 /* end confdefs.h. */
9935 int main(int argc, char **argv) { return 0; }
9936 _ACEOF
9937 if ac_fn_c_try_link "$LINENO"
9938 then :
9939 ac_cv_cflags__Wl__z_defs=yes
9940 else $as_nop
9941 ac_cv_cflags__Wl__z_defs=no
9943 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9944 conftest$ac_exeext conftest.$ac_ext
9945 CFLAGS=$ac_wine_try_cflags_saved
9947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9948 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9949 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9950 then :
9951 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9954 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9955 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9956 then :
9957 printf %s "(cached) " >&6
9958 else $as_nop
9959 ac_wine_try_cflags_saved=$CFLAGS
9960 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9962 /* end confdefs.h. */
9963 int main(int argc, char **argv) { return 0; }
9964 _ACEOF
9965 if ac_fn_c_try_link "$LINENO"
9966 then :
9967 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9968 else $as_nop
9969 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9971 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9972 conftest$ac_exeext conftest.$ac_ext
9973 CFLAGS=$ac_wine_try_cflags_saved
9975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9976 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9977 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9978 then :
9979 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9981 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9984 printf %s "checking for -lEGL... " >&6; }
9985 if test ${ac_cv_lib_soname_EGL+y}
9986 then :
9987 printf %s "(cached) " >&6
9988 else $as_nop
9989 ac_check_soname_save_LIBS=$LIBS
9990 LIBS="-lEGL $LIBS"
9991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9992 /* end confdefs.h. */
9994 /* Override any GCC internal prototype to avoid an error.
9995 Use char because int might match the return type of a GCC
9996 builtin and then its argument prototype would still apply. */
9997 char eglGetProcAddress ();
9999 main (void)
10001 return eglGetProcAddress ();
10003 return 0;
10005 _ACEOF
10006 if ac_fn_c_try_link "$LINENO"
10007 then :
10008 case "$LIBEXT" in
10009 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10010 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'` ;;
10011 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10012 if ${ac_cv_lib_soname_EGL:+false} :
10013 then :
10014 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10015 fi ;;
10016 esac
10017 else $as_nop
10018 ac_cv_lib_soname_EGL=
10020 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10021 conftest$ac_exeext conftest.$ac_ext
10022 LIBS=$ac_check_soname_save_LIBS
10024 if ${ac_cv_lib_soname_EGL:+false} :
10025 then :
10026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10027 printf "%s\n" "not found" >&6; }
10029 else $as_nop
10030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10031 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10033 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10038 printf %s "checking for -lGLESv2... " >&6; }
10039 if test ${ac_cv_lib_soname_GLESv2+y}
10040 then :
10041 printf %s "(cached) " >&6
10042 else $as_nop
10043 ac_check_soname_save_LIBS=$LIBS
10044 LIBS="-lGLESv2 $LIBS"
10045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10046 /* end confdefs.h. */
10048 /* Override any GCC internal prototype to avoid an error.
10049 Use char because int might match the return type of a GCC
10050 builtin and then its argument prototype would still apply. */
10051 char glFlush ();
10053 main (void)
10055 return glFlush ();
10057 return 0;
10059 _ACEOF
10060 if ac_fn_c_try_link "$LINENO"
10061 then :
10062 case "$LIBEXT" in
10063 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10064 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'` ;;
10065 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10066 if ${ac_cv_lib_soname_GLESv2:+false} :
10067 then :
10068 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10069 fi ;;
10070 esac
10071 else $as_nop
10072 ac_cv_lib_soname_GLESv2=
10074 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10075 conftest$ac_exeext conftest.$ac_ext
10076 LIBS=$ac_check_soname_save_LIBS
10078 if ${ac_cv_lib_soname_GLESv2:+false} :
10079 then :
10080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10081 printf "%s\n" "not found" >&6; }
10083 else $as_nop
10084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10085 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10087 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10092 if test "x$exec_prefix" = xNONE
10093 then
10094 case $host_cpu in
10095 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10096 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10097 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10098 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10099 esac
10105 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10107 test "$ac_cv_sys_file_offset_bits" = 64 &&
10108 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10110 case $host_cpu in
10111 *i[3456789]86*)
10112 DLLFLAGS="$DLLFLAGS -fno-PIC"
10113 LDDLLFLAGS="-fno-PIC"
10114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10115 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10116 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10117 then :
10118 printf %s "(cached) " >&6
10119 else $as_nop
10120 ac_wine_try_cflags_saved=$CFLAGS
10121 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10123 /* end confdefs.h. */
10124 int main(int argc, char **argv) { return 0; }
10125 _ACEOF
10126 if ac_fn_c_try_link "$LINENO"
10127 then :
10128 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10129 else $as_nop
10130 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10132 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10133 conftest$ac_exeext conftest.$ac_ext
10134 CFLAGS=$ac_wine_try_cflags_saved
10136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10137 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10138 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10139 then :
10140 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10144 DLLFLAGS="$DLLFLAGS -fPIC"
10145 LDDLLFLAGS="-fPIC" ;;
10146 esac
10147 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10149 echo '{ global: *; };' >conftest.map
10150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10151 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10152 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10153 then :
10154 printf %s "(cached) " >&6
10155 else $as_nop
10156 ac_wine_try_cflags_saved=$CFLAGS
10157 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10159 /* end confdefs.h. */
10160 int main(int argc, char **argv) { return 0; }
10161 _ACEOF
10162 if ac_fn_c_try_link "$LINENO"
10163 then :
10164 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10165 else $as_nop
10166 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10168 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10169 conftest$ac_exeext conftest.$ac_ext
10170 CFLAGS=$ac_wine_try_cflags_saved
10172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10173 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10174 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10175 then :
10176 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10178 rm -f conftest.map
10180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10181 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10182 if test ${ac_cv_cflags__Wl__z_defs+y}
10183 then :
10184 printf %s "(cached) " >&6
10185 else $as_nop
10186 ac_wine_try_cflags_saved=$CFLAGS
10187 CFLAGS="$CFLAGS -Wl,-z,defs"
10188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10189 /* end confdefs.h. */
10190 int main(int argc, char **argv) { return 0; }
10191 _ACEOF
10192 if ac_fn_c_try_link "$LINENO"
10193 then :
10194 ac_cv_cflags__Wl__z_defs=yes
10195 else $as_nop
10196 ac_cv_cflags__Wl__z_defs=no
10198 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10199 conftest$ac_exeext conftest.$ac_ext
10200 CFLAGS=$ac_wine_try_cflags_saved
10202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10203 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10204 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10205 then :
10206 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10209 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10210 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10211 then :
10212 printf %s "(cached) " >&6
10213 else $as_nop
10214 ac_wine_try_cflags_saved=$CFLAGS
10215 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10217 /* end confdefs.h. */
10218 int main(int argc, char **argv) { return 0; }
10219 _ACEOF
10220 if ac_fn_c_try_link "$LINENO"
10221 then :
10222 ac_cv_cflags__Wl___export_dynamic=yes
10223 else $as_nop
10224 ac_cv_cflags__Wl___export_dynamic=no
10226 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10227 conftest$ac_exeext conftest.$ac_ext
10228 CFLAGS=$ac_wine_try_cflags_saved
10230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10231 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10232 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10233 then :
10234 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10236 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10238 case $host_cpu in
10239 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10241 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10242 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10243 then :
10244 printf %s "(cached) " >&6
10245 else $as_nop
10246 ac_wine_try_cflags_saved=$CFLAGS
10247 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10249 /* end confdefs.h. */
10250 int main(int argc, char **argv) { return 0; }
10251 _ACEOF
10252 if ac_fn_c_try_link "$LINENO"
10253 then :
10254 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10255 else $as_nop
10256 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10258 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10259 conftest$ac_exeext conftest.$ac_ext
10260 CFLAGS=$ac_wine_try_cflags_saved
10262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10263 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10264 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10265 then :
10266 case $host_os in
10267 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10268 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10269 esac
10270 else $as_nop
10271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10272 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10273 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10274 then :
10275 printf %s "(cached) " >&6
10276 else $as_nop
10277 ac_wine_try_cflags_saved=$CFLAGS
10278 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10280 /* end confdefs.h. */
10281 int main(int argc, char **argv) { return 0; }
10282 _ACEOF
10283 if ac_fn_c_try_link "$LINENO"
10284 then :
10285 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10286 else $as_nop
10287 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10289 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10290 conftest$ac_exeext conftest.$ac_ext
10291 CFLAGS=$ac_wine_try_cflags_saved
10293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10294 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10295 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10296 then :
10297 case $host_os in
10298 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10299 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10300 esac
10302 # Extract the first word of "prelink", so it can be a program name with args.
10303 set dummy prelink; ac_word=$2
10304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10305 printf %s "checking for $ac_word... " >&6; }
10306 if test ${ac_cv_path_PRELINK+y}
10307 then :
10308 printf %s "(cached) " >&6
10309 else $as_nop
10310 case $PRELINK in
10311 [\\/]* | ?:[\\/]*)
10312 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10316 for as_dir in /sbin /usr/sbin $PATH
10318 IFS=$as_save_IFS
10319 case $as_dir in #(((
10320 '') as_dir=./ ;;
10321 */) ;;
10322 *) as_dir=$as_dir/ ;;
10323 esac
10324 for ac_exec_ext in '' $ac_executable_extensions; do
10325 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10326 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10327 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10328 break 2
10330 done
10331 done
10332 IFS=$as_save_IFS
10334 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10336 esac
10338 PRELINK=$ac_cv_path_PRELINK
10339 if test -n "$PRELINK"; then
10340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10341 printf "%s\n" "$PRELINK" >&6; }
10342 else
10343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10344 printf "%s\n" "no" >&6; }
10348 if test "x$PRELINK" = xfalse
10349 then
10350 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10354 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10355 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10356 then :
10357 printf %s "(cached) " >&6
10358 else $as_nop
10359 ac_wine_try_cflags_saved=$CFLAGS
10360 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10362 /* end confdefs.h. */
10363 int main(int argc, char **argv) { return 0; }
10364 _ACEOF
10365 if ac_fn_c_try_link "$LINENO"
10366 then :
10367 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10368 else $as_nop
10369 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10371 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10372 conftest$ac_exeext conftest.$ac_ext
10373 CFLAGS=$ac_wine_try_cflags_saved
10375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10376 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10377 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10378 then :
10379 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10382 esac
10383 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10385 LIBWINE_DEPENDS="wine.map"
10387 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10389 esac
10391 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10392 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10393 enable_winemac_drv=${enable_winemac_drv:-no}
10395 PE_ARCHS=""
10397 cross_archs=
10398 if test ${enable_archs+y}
10399 then :
10400 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10401 ac_save_IFS=$IFS
10402 IFS=' ,'
10403 set x $enable_archs
10404 IFS=$ac_save_IFS
10405 shift
10406 for arch
10408 case $arch in
10409 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10410 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10411 esac
10412 done
10413 else $as_nop
10414 if test "x$with_mingw" != xno
10415 then
10416 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10417 case "x$with_mingw" in
10418 x|xyes) ;;
10419 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10420 esac
10424 for wine_arch in $cross_archs
10426 if eval \${${wine_arch}_CC:+false} :
10427 then :
10428 case $wine_arch in
10429 aarch64)
10430 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10432 # Extract the first word of "$ac_prog", so it can be a program name with args.
10433 set dummy $ac_prog; ac_word=$2
10434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10435 printf %s "checking for $ac_word... " >&6; }
10436 if test ${ac_cv_prog_aarch64_CC+y}
10437 then :
10438 printf %s "(cached) " >&6
10439 else $as_nop
10440 if test -n "$aarch64_CC"; then
10441 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10442 else
10443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10444 for as_dir in $PATH
10446 IFS=$as_save_IFS
10447 case $as_dir in #(((
10448 '') as_dir=./ ;;
10449 */) ;;
10450 *) as_dir=$as_dir/ ;;
10451 esac
10452 for ac_exec_ext in '' $ac_executable_extensions; do
10453 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10454 ac_cv_prog_aarch64_CC="$ac_prog"
10455 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10456 break 2
10458 done
10459 done
10460 IFS=$as_save_IFS
10464 aarch64_CC=$ac_cv_prog_aarch64_CC
10465 if test -n "$aarch64_CC"; then
10466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10467 printf "%s\n" "$aarch64_CC" >&6; }
10468 else
10469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10470 printf "%s\n" "no" >&6; }
10474 test -n "$aarch64_CC" && break
10475 done
10476 test -n "$aarch64_CC" || aarch64_CC="false"
10479 arm)
10480 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10482 # Extract the first word of "$ac_prog", so it can be a program name with args.
10483 set dummy $ac_prog; ac_word=$2
10484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10485 printf %s "checking for $ac_word... " >&6; }
10486 if test ${ac_cv_prog_arm_CC+y}
10487 then :
10488 printf %s "(cached) " >&6
10489 else $as_nop
10490 if test -n "$arm_CC"; then
10491 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10492 else
10493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10494 for as_dir in $PATH
10496 IFS=$as_save_IFS
10497 case $as_dir in #(((
10498 '') as_dir=./ ;;
10499 */) ;;
10500 *) as_dir=$as_dir/ ;;
10501 esac
10502 for ac_exec_ext in '' $ac_executable_extensions; do
10503 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10504 ac_cv_prog_arm_CC="$ac_prog"
10505 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10506 break 2
10508 done
10509 done
10510 IFS=$as_save_IFS
10514 arm_CC=$ac_cv_prog_arm_CC
10515 if test -n "$arm_CC"; then
10516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10517 printf "%s\n" "$arm_CC" >&6; }
10518 else
10519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10520 printf "%s\n" "no" >&6; }
10524 test -n "$arm_CC" && break
10525 done
10526 test -n "$arm_CC" || arm_CC="false"
10529 i386)
10530 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 "
10531 for ac_prog in $ac_prefix_list clang
10533 # Extract the first word of "$ac_prog", so it can be a program name with args.
10534 set dummy $ac_prog; ac_word=$2
10535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10536 printf %s "checking for $ac_word... " >&6; }
10537 if test ${ac_cv_prog_i386_CC+y}
10538 then :
10539 printf %s "(cached) " >&6
10540 else $as_nop
10541 if test -n "$i386_CC"; then
10542 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10543 else
10544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10545 for as_dir in $PATH
10547 IFS=$as_save_IFS
10548 case $as_dir in #(((
10549 '') as_dir=./ ;;
10550 */) ;;
10551 *) as_dir=$as_dir/ ;;
10552 esac
10553 for ac_exec_ext in '' $ac_executable_extensions; do
10554 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10555 ac_cv_prog_i386_CC="$ac_prog"
10556 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10557 break 2
10559 done
10560 done
10561 IFS=$as_save_IFS
10565 i386_CC=$ac_cv_prog_i386_CC
10566 if test -n "$i386_CC"; then
10567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10568 printf "%s\n" "$i386_CC" >&6; }
10569 else
10570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10571 printf "%s\n" "no" >&6; }
10575 test -n "$i386_CC" && break
10576 done
10577 test -n "$i386_CC" || i386_CC="false"
10580 x86_64)
10581 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10582 for ac_prog in $ac_prefix_list clang
10584 # Extract the first word of "$ac_prog", so it can be a program name with args.
10585 set dummy $ac_prog; ac_word=$2
10586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10587 printf %s "checking for $ac_word... " >&6; }
10588 if test ${ac_cv_prog_x86_64_CC+y}
10589 then :
10590 printf %s "(cached) " >&6
10591 else $as_nop
10592 if test -n "$x86_64_CC"; then
10593 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10594 else
10595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10596 for as_dir in $PATH
10598 IFS=$as_save_IFS
10599 case $as_dir in #(((
10600 '') as_dir=./ ;;
10601 */) ;;
10602 *) as_dir=$as_dir/ ;;
10603 esac
10604 for ac_exec_ext in '' $ac_executable_extensions; do
10605 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10606 ac_cv_prog_x86_64_CC="$ac_prog"
10607 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10608 break 2
10610 done
10611 done
10612 IFS=$as_save_IFS
10616 x86_64_CC=$ac_cv_prog_x86_64_CC
10617 if test -n "$x86_64_CC"; then
10618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10619 printf "%s\n" "$x86_64_CC" >&6; }
10620 else
10621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10622 printf "%s\n" "no" >&6; }
10626 test -n "$x86_64_CC" && break
10627 done
10628 test -n "$x86_64_CC" || x86_64_CC="false"
10631 esac
10634 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10635 then :
10636 continue
10639 saved_CC=$CC
10640 saved_CFLAGS=$CFLAGS
10642 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10643 eval CC=\$${wine_arch}_CC
10644 eval ${wine_arch}_CFLAGS=\$CFLAGS
10645 eval ${wine_arch}_LDFLAGS=\$CROSSLDFLAGS
10646 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10648 target=""
10649 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10652 printf %s "checking whether $CC works... " >&6; }
10653 if eval test \${$as_wine_cv_crosscc+y}
10654 then :
10655 printf %s "(cached) " >&6
10656 else $as_nop
10657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10658 /* end confdefs.h. */
10661 main (void)
10665 return 0;
10667 _ACEOF
10668 if ac_fn_c_try_compile "$LINENO"
10669 then :
10670 eval "$as_wine_cv_crosscc=yes"
10671 else $as_nop
10672 eval "$as_wine_cv_crosscc=no"
10674 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10676 eval ac_res=\$$as_wine_cv_crosscc
10677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10678 printf "%s\n" "$ac_res" >&6; }
10679 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10680 then :
10681 set x $CC
10682 shift
10683 while test $# -ge 1
10685 case "$1" in
10686 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10687 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10688 esac
10689 shift
10690 done
10692 llvm_target=$target
10693 if test -z "$llvm_target"
10694 then
10695 case $wine_arch in
10696 i386) llvm_target=i686-windows ;;
10697 arm) llvm_target=armv7-windows ;;
10698 *) llvm_target=$wine_arch-windows ;;
10699 esac
10701 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10702 case $llvm_target in
10703 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10704 esac
10705 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10707 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10708 if eval test \${$as_ac_var+y}
10709 then :
10710 printf %s "(cached) " >&6
10711 else $as_nop
10712 ac_wine_try_cflags_saved=$CFLAGS
10713 ac_wine_try_cflags_saved_exeext=$ac_exeext
10714 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10715 ac_exeext=".exe"
10716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10717 /* end confdefs.h. */
10718 int __cdecl mainCRTStartup(void) { return 0; }
10719 _ACEOF
10720 if ac_fn_c_try_link "$LINENO"
10721 then :
10722 eval "$as_ac_var=yes"
10723 else $as_nop
10724 eval "$as_ac_var=no"
10726 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10727 conftest$ac_exeext conftest.$ac_ext
10728 CFLAGS=$ac_wine_try_cflags_saved
10729 ac_exeext=$ac_wine_try_cflags_saved_exeext
10731 eval ac_res=\$$as_ac_var
10732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10733 printf "%s\n" "$ac_res" >&6; }
10734 if eval test \"x\$"$as_ac_var"\" = x"yes"
10735 then :
10736 target=$llvm_target
10737 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10738 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10739 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10740 fi }
10741 eval "${wine_arch}_TARGET=\$target"
10745 if test -z "$target"
10746 then
10747 CC=$saved_CC
10748 CFLAGS=$saved_CFLAGS
10749 continue
10751 as_fn_append PE_ARCHS " $wine_arch"
10753 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10756 printf %s "checking for $CC option to enable C99 features... " >&6; }
10757 if eval test \${$as_wine_cv_crosscc_c99+y}
10758 then :
10759 printf %s "(cached) " >&6
10760 else $as_nop
10761 eval "$as_wine_cv_crosscc_c99=no"
10762 for arg in '' '-std=gnu99'
10764 test -z "$arg" || CC="$CC $arg"
10765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10766 /* end confdefs.h. */
10767 $ac_c_conftest_c99_program
10768 _ACEOF
10769 if ac_fn_c_try_compile "$LINENO"
10770 then :
10771 eval "$as_wine_cv_crosscc_c99=\$arg"
10772 else $as_nop
10773 eval "$as_wine_cv_crosscc_c99=no"
10775 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10776 eval CC=\$${wine_arch}_CC
10777 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10778 then :
10780 else $as_nop
10781 break
10783 done
10786 eval res=\$$as_wine_cv_crosscc_c99
10787 case "x$res" in
10788 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10789 printf "%s\n" "none needed" >&6; } ;;
10790 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10791 printf "%s\n" "unsupported" >&6; } ;;
10792 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10793 printf "%s\n" "$res" >&6; }
10794 as_fn_append ${wine_arch}_CC " $res" ;;
10795 esac
10798 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10800 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10801 if eval test \${$as_ac_var+y}
10802 then :
10803 printf %s "(cached) " >&6
10804 else $as_nop
10805 ac_wine_try_cflags_saved=$CFLAGS
10806 ac_wine_try_cflags_saved_exeext=$ac_exeext
10807 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10808 ac_exeext=".exe"
10809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10810 /* end confdefs.h. */
10811 int __cdecl mainCRTStartup(void) { return 0; }
10812 _ACEOF
10813 if ac_fn_c_try_link "$LINENO"
10814 then :
10815 eval "$as_ac_var=yes"
10816 else $as_nop
10817 eval "$as_ac_var=no"
10819 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10820 conftest$ac_exeext conftest.$ac_ext
10821 CFLAGS=$ac_wine_try_cflags_saved
10822 ac_exeext=$ac_wine_try_cflags_saved_exeext
10824 eval ac_res=\$$as_ac_var
10825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10826 printf "%s\n" "$ac_res" >&6; }
10827 if eval test \"x\$"$as_ac_var"\" = x"yes"
10828 then :
10829 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10830 fi }
10831 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10833 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10834 if eval test \${$as_ac_var+y}
10835 then :
10836 printf %s "(cached) " >&6
10837 else $as_nop
10838 ac_wine_try_cflags_saved=$CFLAGS
10839 ac_wine_try_cflags_saved_exeext=$ac_exeext
10840 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10841 ac_exeext=".exe"
10842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10843 /* end confdefs.h. */
10844 int __cdecl mainCRTStartup(void) { return 0; }
10845 _ACEOF
10846 if ac_fn_c_try_link "$LINENO"
10847 then :
10848 eval "$as_ac_var=yes"
10849 else $as_nop
10850 eval "$as_ac_var=no"
10852 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10853 conftest$ac_exeext conftest.$ac_ext
10854 CFLAGS=$ac_wine_try_cflags_saved
10855 ac_exeext=$ac_wine_try_cflags_saved_exeext
10857 eval ac_res=\$$as_ac_var
10858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10859 printf "%s\n" "$ac_res" >&6; }
10860 if eval test \"x\$"$as_ac_var"\" = x"yes"
10861 then :
10862 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10863 fi }
10864 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10866 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10867 if eval test \${$as_ac_var+y}
10868 then :
10869 printf %s "(cached) " >&6
10870 else $as_nop
10871 ac_wine_try_cflags_saved=$CFLAGS
10872 ac_wine_try_cflags_saved_exeext=$ac_exeext
10873 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10874 ac_exeext=".exe"
10875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10876 /* end confdefs.h. */
10877 int __cdecl mainCRTStartup(void) { return 0; }
10878 _ACEOF
10879 if ac_fn_c_try_link "$LINENO"
10880 then :
10881 eval "$as_ac_var=yes"
10882 else $as_nop
10883 eval "$as_ac_var=no"
10885 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10886 conftest$ac_exeext conftest.$ac_ext
10887 CFLAGS=$ac_wine_try_cflags_saved
10888 ac_exeext=$ac_wine_try_cflags_saved_exeext
10890 eval ac_res=\$$as_ac_var
10891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10892 printf "%s\n" "$ac_res" >&6; }
10893 if eval test \"x\$"$as_ac_var"\" = x"yes"
10894 then :
10895 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10896 fi }
10897 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10899 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10900 if eval test \${$as_ac_var+y}
10901 then :
10902 printf %s "(cached) " >&6
10903 else $as_nop
10904 ac_wine_try_cflags_saved=$CFLAGS
10905 ac_wine_try_cflags_saved_exeext=$ac_exeext
10906 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10907 ac_exeext=".exe"
10908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10909 /* end confdefs.h. */
10910 int __cdecl mainCRTStartup(void) { return 0; }
10911 _ACEOF
10912 if ac_fn_c_try_link "$LINENO"
10913 then :
10914 eval "$as_ac_var=yes"
10915 else $as_nop
10916 eval "$as_ac_var=no"
10918 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10919 conftest$ac_exeext conftest.$ac_ext
10920 CFLAGS=$ac_wine_try_cflags_saved
10921 ac_exeext=$ac_wine_try_cflags_saved_exeext
10923 eval ac_res=\$$as_ac_var
10924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10925 printf "%s\n" "$ac_res" >&6; }
10926 if eval test \"x\$"$as_ac_var"\" = x"yes"
10927 then :
10928 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10929 fi }
10930 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10932 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10933 if eval test \${$as_ac_var+y}
10934 then :
10935 printf %s "(cached) " >&6
10936 else $as_nop
10937 ac_wine_try_cflags_saved=$CFLAGS
10938 ac_wine_try_cflags_saved_exeext=$ac_exeext
10939 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10940 ac_exeext=".exe"
10941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10942 /* end confdefs.h. */
10943 int __cdecl mainCRTStartup(void) { return 0; }
10944 _ACEOF
10945 if ac_fn_c_try_link "$LINENO"
10946 then :
10947 eval "$as_ac_var=yes"
10948 else $as_nop
10949 eval "$as_ac_var=no"
10951 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10952 conftest$ac_exeext conftest.$ac_ext
10953 CFLAGS=$ac_wine_try_cflags_saved
10954 ac_exeext=$ac_wine_try_cflags_saved_exeext
10956 eval ac_res=\$$as_ac_var
10957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10958 printf "%s\n" "$ac_res" >&6; }
10959 if eval test \"x\$"$as_ac_var"\" = x"yes"
10960 then :
10961 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10962 fi }
10963 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10965 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10966 if eval test \${$as_ac_var+y}
10967 then :
10968 printf %s "(cached) " >&6
10969 else $as_nop
10970 ac_wine_try_cflags_saved=$CFLAGS
10971 ac_wine_try_cflags_saved_exeext=$ac_exeext
10972 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10973 ac_exeext=".exe"
10974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10975 /* end confdefs.h. */
10976 int __cdecl mainCRTStartup(void) { return 0; }
10977 _ACEOF
10978 if ac_fn_c_try_link "$LINENO"
10979 then :
10980 eval "$as_ac_var=yes"
10981 else $as_nop
10982 eval "$as_ac_var=no"
10984 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10985 conftest$ac_exeext conftest.$ac_ext
10986 CFLAGS=$ac_wine_try_cflags_saved
10987 ac_exeext=$ac_wine_try_cflags_saved_exeext
10989 eval ac_res=\$$as_ac_var
10990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10991 printf "%s\n" "$ac_res" >&6; }
10992 if eval test \"x\$"$as_ac_var"\" = x"yes"
10993 then :
10994 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10995 fi }
10996 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10998 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10999 if eval test \${$as_ac_var+y}
11000 then :
11001 printf %s "(cached) " >&6
11002 else $as_nop
11003 ac_wine_try_cflags_saved=$CFLAGS
11004 ac_wine_try_cflags_saved_exeext=$ac_exeext
11005 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
11006 ac_exeext=".exe"
11007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11008 /* end confdefs.h. */
11009 int __cdecl mainCRTStartup(void) { return 0; }
11010 _ACEOF
11011 if ac_fn_c_try_link "$LINENO"
11012 then :
11013 eval "$as_ac_var=yes"
11014 else $as_nop
11015 eval "$as_ac_var=no"
11017 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11018 conftest$ac_exeext conftest.$ac_ext
11019 CFLAGS=$ac_wine_try_cflags_saved
11020 ac_exeext=$ac_wine_try_cflags_saved_exeext
11022 eval ac_res=\$$as_ac_var
11023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11024 printf "%s\n" "$ac_res" >&6; }
11025 if eval test \"x\$"$as_ac_var"\" = x"yes"
11026 then :
11027 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11028 fi }
11029 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
11030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11031 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11032 if eval test \${$as_ac_var+y}
11033 then :
11034 printf %s "(cached) " >&6
11035 else $as_nop
11036 ac_wine_try_cflags_saved=$CFLAGS
11037 ac_wine_try_cflags_saved_exeext=$ac_exeext
11038 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11039 ac_exeext=".exe"
11040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11041 /* end confdefs.h. */
11042 int __cdecl mainCRTStartup(void) { return 0; }
11043 _ACEOF
11044 if ac_fn_c_try_link "$LINENO"
11045 then :
11046 eval "$as_ac_var=yes"
11047 else $as_nop
11048 eval "$as_ac_var=no"
11050 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11051 conftest$ac_exeext conftest.$ac_ext
11052 CFLAGS=$ac_wine_try_cflags_saved
11053 ac_exeext=$ac_wine_try_cflags_saved_exeext
11055 eval ac_res=\$$as_ac_var
11056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11057 printf "%s\n" "$ac_res" >&6; }
11058 if eval test \"x\$"$as_ac_var"\" = x"yes"
11059 then :
11060 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11061 fi }
11062 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11064 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11065 if eval test \${$as_ac_var+y}
11066 then :
11067 printf %s "(cached) " >&6
11068 else $as_nop
11069 ac_wine_try_cflags_saved=$CFLAGS
11070 ac_wine_try_cflags_saved_exeext=$ac_exeext
11071 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11072 ac_exeext=".exe"
11073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11074 /* end confdefs.h. */
11075 int __cdecl mainCRTStartup(void) { return 0; }
11076 _ACEOF
11077 if ac_fn_c_try_link "$LINENO"
11078 then :
11079 eval "$as_ac_var=yes"
11080 else $as_nop
11081 eval "$as_ac_var=no"
11083 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11084 conftest$ac_exeext conftest.$ac_ext
11085 CFLAGS=$ac_wine_try_cflags_saved
11086 ac_exeext=$ac_wine_try_cflags_saved_exeext
11088 eval ac_res=\$$as_ac_var
11089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11090 printf "%s\n" "$ac_res" >&6; }
11091 if eval test \"x\$"$as_ac_var"\" = x"yes"
11092 then :
11093 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11094 fi }
11095 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11097 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11098 if eval test \${$as_ac_var+y}
11099 then :
11100 printf %s "(cached) " >&6
11101 else $as_nop
11102 ac_wine_try_cflags_saved=$CFLAGS
11103 ac_wine_try_cflags_saved_exeext=$ac_exeext
11104 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11105 ac_exeext=".exe"
11106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11107 /* end confdefs.h. */
11108 int __cdecl mainCRTStartup(void) { return 0; }
11109 _ACEOF
11110 if ac_fn_c_try_link "$LINENO"
11111 then :
11112 eval "$as_ac_var=yes"
11113 else $as_nop
11114 eval "$as_ac_var=no"
11116 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11117 conftest$ac_exeext conftest.$ac_ext
11118 CFLAGS=$ac_wine_try_cflags_saved
11119 ac_exeext=$ac_wine_try_cflags_saved_exeext
11121 eval ac_res=\$$as_ac_var
11122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11123 printf "%s\n" "$ac_res" >&6; }
11124 if eval test \"x\$"$as_ac_var"\" = x"yes"
11125 then :
11126 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11127 fi }
11128 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11130 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11131 if eval test \${$as_ac_var+y}
11132 then :
11133 printf %s "(cached) " >&6
11134 else $as_nop
11135 ac_wine_try_cflags_saved=$CFLAGS
11136 ac_wine_try_cflags_saved_exeext=$ac_exeext
11137 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11138 ac_exeext=".exe"
11139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11140 /* end confdefs.h. */
11141 int __cdecl mainCRTStartup(void) { return 0; }
11142 _ACEOF
11143 if ac_fn_c_try_link "$LINENO"
11144 then :
11145 eval "$as_ac_var=yes"
11146 else $as_nop
11147 eval "$as_ac_var=no"
11149 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11150 conftest$ac_exeext conftest.$ac_ext
11151 CFLAGS=$ac_wine_try_cflags_saved
11152 ac_exeext=$ac_wine_try_cflags_saved_exeext
11154 eval ac_res=\$$as_ac_var
11155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11156 printf "%s\n" "$ac_res" >&6; }
11157 if eval test \"x\$"$as_ac_var"\" = x"yes"
11158 then :
11159 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11160 fi }
11161 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11163 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11164 if eval test \${$as_ac_var+y}
11165 then :
11166 printf %s "(cached) " >&6
11167 else $as_nop
11168 ac_wine_try_cflags_saved=$CFLAGS
11169 ac_wine_try_cflags_saved_exeext=$ac_exeext
11170 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11171 ac_exeext=".exe"
11172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11173 /* end confdefs.h. */
11174 int __cdecl mainCRTStartup(void) { return 0; }
11175 _ACEOF
11176 if ac_fn_c_try_link "$LINENO"
11177 then :
11178 eval "$as_ac_var=yes"
11179 else $as_nop
11180 eval "$as_ac_var=no"
11182 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11183 conftest$ac_exeext conftest.$ac_ext
11184 CFLAGS=$ac_wine_try_cflags_saved
11185 ac_exeext=$ac_wine_try_cflags_saved_exeext
11187 eval ac_res=\$$as_ac_var
11188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11189 printf "%s\n" "$ac_res" >&6; }
11190 if eval test \"x\$"$as_ac_var"\" = x"yes"
11191 then :
11192 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11193 fi }
11194 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11196 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11197 if eval test \${$as_ac_var+y}
11198 then :
11199 printf %s "(cached) " >&6
11200 else $as_nop
11201 ac_wine_try_cflags_saved=$CFLAGS
11202 ac_wine_try_cflags_saved_exeext=$ac_exeext
11203 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11204 ac_exeext=".exe"
11205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11206 /* end confdefs.h. */
11207 int __cdecl mainCRTStartup(void) { return 0; }
11208 _ACEOF
11209 if ac_fn_c_try_link "$LINENO"
11210 then :
11211 eval "$as_ac_var=yes"
11212 else $as_nop
11213 eval "$as_ac_var=no"
11215 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11216 conftest$ac_exeext conftest.$ac_ext
11217 CFLAGS=$ac_wine_try_cflags_saved
11218 ac_exeext=$ac_wine_try_cflags_saved_exeext
11220 eval ac_res=\$$as_ac_var
11221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11222 printf "%s\n" "$ac_res" >&6; }
11223 if eval test \"x\$"$as_ac_var"\" = x"yes"
11224 then :
11225 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11226 fi }
11227 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11229 printf %s "checking whether $CC supports -Wvla... " >&6; }
11230 if eval test \${$as_ac_var+y}
11231 then :
11232 printf %s "(cached) " >&6
11233 else $as_nop
11234 ac_wine_try_cflags_saved=$CFLAGS
11235 ac_wine_try_cflags_saved_exeext=$ac_exeext
11236 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11237 ac_exeext=".exe"
11238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11239 /* end confdefs.h. */
11240 int __cdecl mainCRTStartup(void) { return 0; }
11241 _ACEOF
11242 if ac_fn_c_try_link "$LINENO"
11243 then :
11244 eval "$as_ac_var=yes"
11245 else $as_nop
11246 eval "$as_ac_var=no"
11248 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11249 conftest$ac_exeext conftest.$ac_ext
11250 CFLAGS=$ac_wine_try_cflags_saved
11251 ac_exeext=$ac_wine_try_cflags_saved_exeext
11253 eval ac_res=\$$as_ac_var
11254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11255 printf "%s\n" "$ac_res" >&6; }
11256 if eval test \"x\$"$as_ac_var"\" = x"yes"
11257 then :
11258 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11259 fi }
11260 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11262 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11263 if eval test \${$as_ac_var+y}
11264 then :
11265 printf %s "(cached) " >&6
11266 else $as_nop
11267 ac_wine_try_cflags_saved=$CFLAGS
11268 ac_wine_try_cflags_saved_exeext=$ac_exeext
11269 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11270 ac_exeext=".exe"
11271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11272 /* end confdefs.h. */
11273 int __cdecl mainCRTStartup(void) { return 0; }
11274 _ACEOF
11275 if ac_fn_c_try_link "$LINENO"
11276 then :
11277 eval "$as_ac_var=yes"
11278 else $as_nop
11279 eval "$as_ac_var=no"
11281 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11282 conftest$ac_exeext conftest.$ac_ext
11283 CFLAGS=$ac_wine_try_cflags_saved
11284 ac_exeext=$ac_wine_try_cflags_saved_exeext
11286 eval ac_res=\$$as_ac_var
11287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11288 printf "%s\n" "$ac_res" >&6; }
11289 if eval test \"x\$"$as_ac_var"\" = x"yes"
11290 then :
11291 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11292 fi }
11293 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11295 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11296 if eval test \${$as_ac_var+y}
11297 then :
11298 printf %s "(cached) " >&6
11299 else $as_nop
11300 ac_wine_try_cflags_saved=$CFLAGS
11301 ac_wine_try_cflags_saved_exeext=$ac_exeext
11302 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11303 ac_exeext=".exe"
11304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11305 /* end confdefs.h. */
11306 int __cdecl mainCRTStartup(void) { return 0; }
11307 _ACEOF
11308 if ac_fn_c_try_link "$LINENO"
11309 then :
11310 eval "$as_ac_var=yes"
11311 else $as_nop
11312 eval "$as_ac_var=no"
11314 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11315 conftest$ac_exeext conftest.$ac_ext
11316 CFLAGS=$ac_wine_try_cflags_saved
11317 ac_exeext=$ac_wine_try_cflags_saved_exeext
11319 eval ac_res=\$$as_ac_var
11320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11321 printf "%s\n" "$ac_res" >&6; }
11322 if eval test \"x\$"$as_ac_var"\" = x"yes"
11323 then :
11324 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11325 fi }
11326 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11328 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11329 if eval test \${$as_ac_var+y}
11330 then :
11331 printf %s "(cached) " >&6
11332 else $as_nop
11333 ac_wine_try_cflags_saved=$CFLAGS
11334 ac_wine_try_cflags_saved_exeext=$ac_exeext
11335 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11336 ac_exeext=".exe"
11337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11338 /* end confdefs.h. */
11339 int __cdecl mainCRTStartup(void) { return 0; }
11340 _ACEOF
11341 if ac_fn_c_try_link "$LINENO"
11342 then :
11343 eval "$as_ac_var=yes"
11344 else $as_nop
11345 eval "$as_ac_var=no"
11347 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11348 conftest$ac_exeext conftest.$ac_ext
11349 CFLAGS=$ac_wine_try_cflags_saved
11350 ac_exeext=$ac_wine_try_cflags_saved_exeext
11352 eval ac_res=\$$as_ac_var
11353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11354 printf "%s\n" "$ac_res" >&6; }
11355 if eval test \"x\$"$as_ac_var"\" = x"yes"
11356 then :
11357 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11358 fi }
11359 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11361 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11362 if eval test \${$as_ac_var+y}
11363 then :
11364 printf %s "(cached) " >&6
11365 else $as_nop
11366 ac_wine_try_cflags_saved=$CFLAGS
11367 ac_wine_try_cflags_saved_exeext=$ac_exeext
11368 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11369 ac_exeext=".exe"
11370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11371 /* end confdefs.h. */
11372 int __cdecl mainCRTStartup(void) { return 0; }
11373 _ACEOF
11374 if ac_fn_c_try_link "$LINENO"
11375 then :
11376 eval "$as_ac_var=yes"
11377 else $as_nop
11378 eval "$as_ac_var=no"
11380 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11381 conftest$ac_exeext conftest.$ac_ext
11382 CFLAGS=$ac_wine_try_cflags_saved
11383 ac_exeext=$ac_wine_try_cflags_saved_exeext
11385 eval ac_res=\$$as_ac_var
11386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11387 printf "%s\n" "$ac_res" >&6; }
11388 if eval test \"x\$"$as_ac_var"\" = x"yes"
11389 then :
11390 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11391 fi }
11393 case $wine_arch in
11394 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11396 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11397 if eval test \${$as_ac_var+y}
11398 then :
11399 printf %s "(cached) " >&6
11400 else $as_nop
11401 ac_wine_try_cflags_saved=$CFLAGS
11402 ac_wine_try_cflags_saved_exeext=$ac_exeext
11403 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11404 ac_exeext=".exe"
11405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11406 /* end confdefs.h. */
11407 int __cdecl mainCRTStartup(void) { return 0; }
11408 _ACEOF
11409 if ac_fn_c_try_link "$LINENO"
11410 then :
11411 eval "$as_ac_var=yes"
11412 else $as_nop
11413 eval "$as_ac_var=no"
11415 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11416 conftest$ac_exeext conftest.$ac_ext
11417 CFLAGS=$ac_wine_try_cflags_saved
11418 ac_exeext=$ac_wine_try_cflags_saved_exeext
11420 eval ac_res=\$$as_ac_var
11421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11422 printf "%s\n" "$ac_res" >&6; }
11423 if eval test \"x\$"$as_ac_var"\" = x"yes"
11424 then :
11425 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11426 fi }
11427 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11429 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11430 if eval test \${$as_ac_var+y}
11431 then :
11432 printf %s "(cached) " >&6
11433 else $as_nop
11434 ac_wine_try_cflags_saved=$CFLAGS
11435 ac_wine_try_cflags_saved_exeext=$ac_exeext
11436 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11437 ac_exeext=".exe"
11438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11439 /* end confdefs.h. */
11440 int __cdecl mainCRTStartup(void) { return 0; }
11441 _ACEOF
11442 if ac_fn_c_try_link "$LINENO"
11443 then :
11444 eval "$as_ac_var=yes"
11445 else $as_nop
11446 eval "$as_ac_var=no"
11448 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11449 conftest$ac_exeext conftest.$ac_ext
11450 CFLAGS=$ac_wine_try_cflags_saved
11451 ac_exeext=$ac_wine_try_cflags_saved_exeext
11453 eval ac_res=\$$as_ac_var
11454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11455 printf "%s\n" "$ac_res" >&6; }
11456 if eval test \"x\$"$as_ac_var"\" = x"yes"
11457 then :
11458 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11459 fi } ;;
11460 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11462 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11463 if eval test \${$as_ac_var+y}
11464 then :
11465 printf %s "(cached) " >&6
11466 else $as_nop
11467 ac_wine_try_cflags_saved=$CFLAGS
11468 ac_wine_try_cflags_saved_exeext=$ac_exeext
11469 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11470 ac_exeext=".exe"
11471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11472 /* end confdefs.h. */
11473 int __cdecl mainCRTStartup(void) { return 0; }
11474 _ACEOF
11475 if ac_fn_c_try_link "$LINENO"
11476 then :
11477 eval "$as_ac_var=yes"
11478 else $as_nop
11479 eval "$as_ac_var=no"
11481 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11482 conftest$ac_exeext conftest.$ac_ext
11483 CFLAGS=$ac_wine_try_cflags_saved
11484 ac_exeext=$ac_wine_try_cflags_saved_exeext
11486 eval ac_res=\$$as_ac_var
11487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11488 printf "%s\n" "$ac_res" >&6; }
11489 if eval test \"x\$"$as_ac_var"\" = x"yes"
11490 then :
11491 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11492 fi }
11493 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11495 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11496 if eval test \${$as_ac_var+y}
11497 then :
11498 printf %s "(cached) " >&6
11499 else $as_nop
11500 ac_wine_try_cflags_saved=$CFLAGS
11501 ac_wine_try_cflags_saved_exeext=$ac_exeext
11502 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11503 ac_exeext=".exe"
11504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11505 /* end confdefs.h. */
11506 int __cdecl mainCRTStartup(void) { return 0; }
11507 _ACEOF
11508 if ac_fn_c_try_link "$LINENO"
11509 then :
11510 eval "$as_ac_var=yes"
11511 else $as_nop
11512 eval "$as_ac_var=no"
11514 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11515 conftest$ac_exeext conftest.$ac_ext
11516 CFLAGS=$ac_wine_try_cflags_saved
11517 ac_exeext=$ac_wine_try_cflags_saved_exeext
11519 eval ac_res=\$$as_ac_var
11520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11521 printf "%s\n" "$ac_res" >&6; }
11522 if eval test \"x\$"$as_ac_var"\" = x"yes"
11523 then :
11524 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11525 fi }
11526 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11528 printf %s "checking whether $CC supports -mcx16... " >&6; }
11529 if eval test \${$as_ac_var+y}
11530 then :
11531 printf %s "(cached) " >&6
11532 else $as_nop
11533 ac_wine_try_cflags_saved=$CFLAGS
11534 ac_wine_try_cflags_saved_exeext=$ac_exeext
11535 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11536 ac_exeext=".exe"
11537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11538 /* end confdefs.h. */
11539 int __cdecl mainCRTStartup(void) { return 0; }
11540 _ACEOF
11541 if ac_fn_c_try_link "$LINENO"
11542 then :
11543 eval "$as_ac_var=yes"
11544 else $as_nop
11545 eval "$as_ac_var=no"
11547 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11548 conftest$ac_exeext conftest.$ac_ext
11549 CFLAGS=$ac_wine_try_cflags_saved
11550 ac_exeext=$ac_wine_try_cflags_saved_exeext
11552 eval ac_res=\$$as_ac_var
11553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11554 printf "%s\n" "$ac_res" >&6; }
11555 if eval test \"x\$"$as_ac_var"\" = x"yes"
11556 then :
11557 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11558 fi } ;;
11559 esac
11561 wine_crossdebug=$CROSSDEBUG
11562 if test -z "$wine_crossdebug"
11563 then
11564 for ac_flag in $CFLAGS; do
11565 case $ac_flag in
11566 -gdwarf*) wine_crossdebug=dwarf ;;
11567 -gcodeview) wine_crossdebug=pdb ;;
11568 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11569 esac
11570 done
11573 ac_debug_format_seen=""
11574 for ac_flag in $CFLAGS; do
11575 case $ac_flag in
11576 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11577 esac
11578 done
11579 if test "x$ac_debug_format_seen" = x
11580 then
11581 case $wine_crossdebug in
11582 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11584 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11585 if eval test \${$as_ac_var+y}
11586 then :
11587 printf %s "(cached) " >&6
11588 else $as_nop
11589 ac_wine_try_cflags_saved=$CFLAGS
11590 ac_wine_try_cflags_saved_exeext=$ac_exeext
11591 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11592 ac_exeext=".exe"
11593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11594 /* end confdefs.h. */
11595 int __cdecl mainCRTStartup(void) { return 0; }
11596 _ACEOF
11597 if ac_fn_c_try_link "$LINENO"
11598 then :
11599 eval "$as_ac_var=yes"
11600 else $as_nop
11601 eval "$as_ac_var=no"
11603 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11604 conftest$ac_exeext conftest.$ac_ext
11605 CFLAGS=$ac_wine_try_cflags_saved
11606 ac_exeext=$ac_wine_try_cflags_saved_exeext
11608 eval ac_res=\$$as_ac_var
11609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11610 printf "%s\n" "$ac_res" >&6; }
11611 if eval test \"x\$"$as_ac_var"\" = x"yes"
11612 then :
11613 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11614 fi } ;;
11615 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11617 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11618 if eval test \${$as_ac_var+y}
11619 then :
11620 printf %s "(cached) " >&6
11621 else $as_nop
11622 ac_wine_try_cflags_saved=$CFLAGS
11623 ac_wine_try_cflags_saved_exeext=$ac_exeext
11624 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11625 ac_exeext=".exe"
11626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11627 /* end confdefs.h. */
11628 int __cdecl mainCRTStartup(void) { return 0; }
11629 _ACEOF
11630 if ac_fn_c_try_link "$LINENO"
11631 then :
11632 eval "$as_ac_var=yes"
11633 else $as_nop
11634 eval "$as_ac_var=no"
11636 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11637 conftest$ac_exeext conftest.$ac_ext
11638 CFLAGS=$ac_wine_try_cflags_saved
11639 ac_exeext=$ac_wine_try_cflags_saved_exeext
11641 eval ac_res=\$$as_ac_var
11642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11643 printf "%s\n" "$ac_res" >&6; }
11644 if eval test \"x\$"$as_ac_var"\" = x"yes"
11645 then :
11646 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11647 fi } ;;
11648 esac
11650 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11652 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11654 printf %s "checking whether $CC supports -Werror... " >&6; }
11655 if eval test \${$as_ac_var+y}
11656 then :
11657 printf %s "(cached) " >&6
11658 else $as_nop
11659 ac_wine_try_cflags_saved=$CFLAGS
11660 ac_wine_try_cflags_saved_exeext=$ac_exeext
11661 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11662 ac_exeext=".exe"
11663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11664 /* end confdefs.h. */
11665 int __cdecl mainCRTStartup(void) { return 0; }
11666 _ACEOF
11667 if ac_fn_c_try_link "$LINENO"
11668 then :
11669 eval "$as_ac_var=yes"
11670 else $as_nop
11671 eval "$as_ac_var=no"
11673 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11674 conftest$ac_exeext conftest.$ac_ext
11675 CFLAGS=$ac_wine_try_cflags_saved
11676 ac_exeext=$ac_wine_try_cflags_saved_exeext
11678 eval ac_res=\$$as_ac_var
11679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11680 printf "%s\n" "$ac_res" >&6; }
11681 if eval test \"x\$"$as_ac_var"\" = x"yes"
11682 then :
11683 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11684 fi }
11685 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11687 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11688 if eval test \${$as_ac_var+y}
11689 then :
11690 printf %s "(cached) " >&6
11691 else $as_nop
11692 ac_wine_try_cflags_saved=$CFLAGS
11693 ac_wine_try_cflags_saved_exeext=$ac_exeext
11694 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11695 ac_exeext=".exe"
11696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11697 /* end confdefs.h. */
11698 int __cdecl mainCRTStartup(void) { return 0; }
11699 _ACEOF
11700 if ac_fn_c_try_link "$LINENO"
11701 then :
11702 eval "$as_ac_var=yes"
11703 else $as_nop
11704 eval "$as_ac_var=no"
11706 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11707 conftest$ac_exeext conftest.$ac_ext
11708 CFLAGS=$ac_wine_try_cflags_saved
11709 ac_exeext=$ac_wine_try_cflags_saved_exeext
11711 eval ac_res=\$$as_ac_var
11712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11713 printf "%s\n" "$ac_res" >&6; }
11714 if eval test \"x\$"$as_ac_var"\" = x"yes"
11715 then :
11716 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11717 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11718 fi }
11720 CC=$saved_CC
11721 CFLAGS=$saved_CFLAGS
11722 done
11724 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11725 then
11726 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11729 if test "x$PE_ARCHS" = "x"
11730 then :
11731 case "x$with_mingw" in
11732 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11733 xno) ;;
11734 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11735 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11736 esac
11741 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11742 then
11743 case "$host_cpu" in
11744 i[3456789]86*)
11745 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11747 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11748 esac
11749 for ac_prog in $ac_prefix_list
11751 # Extract the first word of "$ac_prog", so it can be a program name with args.
11752 set dummy $ac_prog; ac_word=$2
11753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11754 printf %s "checking for $ac_word... " >&6; }
11755 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11756 then :
11757 printf %s "(cached) " >&6
11758 else $as_nop
11759 if test -n "$MINGW_PKG_CONFIG"; then
11760 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11761 else
11762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11763 for as_dir in $PATH
11765 IFS=$as_save_IFS
11766 case $as_dir in #(((
11767 '') as_dir=./ ;;
11768 */) ;;
11769 *) as_dir=$as_dir/ ;;
11770 esac
11771 for ac_exec_ext in '' $ac_executable_extensions; do
11772 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11773 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11774 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11775 break 2
11777 done
11778 done
11779 IFS=$as_save_IFS
11783 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11784 if test -n "$MINGW_PKG_CONFIG"; then
11785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11786 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11787 else
11788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11789 printf "%s\n" "no" >&6; }
11793 test -n "$MINGW_PKG_CONFIG" && break
11794 done
11795 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11797 if ${FAUDIO_PE_CFLAGS:+false} :
11798 then :
11799 if test ${MINGW_PKG_CONFIG+y}
11800 then :
11801 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11804 if ${FAUDIO_PE_LIBS:+false} :
11805 then :
11806 if test ${MINGW_PKG_CONFIG+y}
11807 then :
11808 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11811 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11812 ac_save_CPPFLAGS=$CPPFLAGS
11813 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11815 printf %s "checking for MinGW FAudio.h... " >&6; }
11816 if test ${ac_cv_mingw_header_FAudio_h+y}
11817 then :
11818 printf %s "(cached) " >&6
11819 else $as_nop
11820 ac_wine_check_headers_saved_cc=$CC
11821 ac_wine_check_headers_saved_exeext=$ac_exeext
11822 eval CC=\$${wine_arch}_CC
11823 ac_exeext=".exe"
11824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11825 /* end confdefs.h. */
11827 #include <FAudio.h>
11829 main (void)
11833 return 0;
11835 _ACEOF
11836 if ac_fn_c_try_compile "$LINENO"
11837 then :
11838 ac_cv_mingw_header_FAudio_h=yes
11839 else $as_nop
11840 ac_cv_mingw_header_FAudio_h=no
11842 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11843 CC=$ac_wine_check_headers_saved_cc
11844 ac_exeext=$ac_wine_check_headers_saved_exeext
11846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11847 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11848 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11849 then :
11850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11851 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11852 if test ${ac_cv_mingw_lib_FAudio+y}
11853 then :
11854 printf %s "(cached) " >&6
11855 else $as_nop
11856 ac_wine_check_headers_saved_cc=$CC
11857 ac_wine_check_headers_saved_exeext=$ac_exeext
11858 ac_wine_check_headers_saved_libs=$LIBS
11859 eval CC=\$${wine_arch}_CC
11860 ac_exeext=".exe"
11861 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11863 /* end confdefs.h. */
11865 /* Override any GCC internal prototype to avoid an error.
11866 Use char because int might match the return type of a GCC
11867 builtin and then its argument prototype would still apply. */
11868 char FAudio_CommitOperationSet ();
11870 main (void)
11872 return FAudio_CommitOperationSet ();
11874 return 0;
11876 _ACEOF
11877 if ac_fn_c_try_link "$LINENO"
11878 then :
11879 ac_cv_mingw_lib_FAudio=yes
11880 else $as_nop
11881 ac_cv_mingw_lib_FAudio=no
11883 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11884 conftest$ac_exeext conftest.$ac_ext
11885 CC=$ac_wine_check_headers_saved_cc
11886 ac_exeext=$ac_wine_check_headers_saved_exeext
11887 LIBS=$ac_wine_check_headers_saved_libs
11889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11890 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11891 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11892 then :
11894 else $as_nop
11895 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11897 else $as_nop
11898 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11900 CPPFLAGS=$ac_save_CPPFLAGS
11902 if test "x$FAUDIO_PE_LIBS" = "x"
11903 then
11904 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11907 if ${JPEG_PE_CFLAGS:+false} :
11908 then :
11909 if test ${MINGW_PKG_CONFIG+y}
11910 then :
11911 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11914 if ${JPEG_PE_LIBS:+false} :
11915 then :
11916 if test ${MINGW_PKG_CONFIG+y}
11917 then :
11918 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11922 ac_save_CPPFLAGS=$CPPFLAGS
11923 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11925 printf %s "checking for MinGW jpeglib.h... " >&6; }
11926 if test ${ac_cv_mingw_header_jpeglib_h+y}
11927 then :
11928 printf %s "(cached) " >&6
11929 else $as_nop
11930 ac_wine_check_headers_saved_cc=$CC
11931 ac_wine_check_headers_saved_exeext=$ac_exeext
11932 eval CC=\$${wine_arch}_CC
11933 ac_exeext=".exe"
11934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11935 /* end confdefs.h. */
11936 #include <stddef.h>
11937 #include <stdio.h>
11938 #include <jpeglib.h>
11940 main (void)
11944 return 0;
11946 _ACEOF
11947 if ac_fn_c_try_compile "$LINENO"
11948 then :
11949 ac_cv_mingw_header_jpeglib_h=yes
11950 else $as_nop
11951 ac_cv_mingw_header_jpeglib_h=no
11953 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11954 CC=$ac_wine_check_headers_saved_cc
11955 ac_exeext=$ac_wine_check_headers_saved_exeext
11957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11958 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11959 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11960 then :
11961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11962 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11963 if test ${ac_cv_mingw_lib_jpeg+y}
11964 then :
11965 printf %s "(cached) " >&6
11966 else $as_nop
11967 ac_wine_check_headers_saved_cc=$CC
11968 ac_wine_check_headers_saved_exeext=$ac_exeext
11969 ac_wine_check_headers_saved_libs=$LIBS
11970 eval CC=\$${wine_arch}_CC
11971 ac_exeext=".exe"
11972 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11974 /* end confdefs.h. */
11976 /* Override any GCC internal prototype to avoid an error.
11977 Use char because int might match the return type of a GCC
11978 builtin and then its argument prototype would still apply. */
11979 char jpeg_start_decompress ();
11981 main (void)
11983 return jpeg_start_decompress ();
11985 return 0;
11987 _ACEOF
11988 if ac_fn_c_try_link "$LINENO"
11989 then :
11990 ac_cv_mingw_lib_jpeg=yes
11991 else $as_nop
11992 ac_cv_mingw_lib_jpeg=no
11994 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11995 conftest$ac_exeext conftest.$ac_ext
11996 CC=$ac_wine_check_headers_saved_cc
11997 ac_exeext=$ac_wine_check_headers_saved_exeext
11998 LIBS=$ac_wine_check_headers_saved_libs
12000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12001 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12002 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12003 then :
12005 else $as_nop
12006 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12008 else $as_nop
12009 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12011 CPPFLAGS=$ac_save_CPPFLAGS
12013 if test "x$JPEG_PE_LIBS" = "x"
12014 then
12015 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12018 if ${LCMS2_PE_CFLAGS:+false} :
12019 then :
12020 if test ${MINGW_PKG_CONFIG+y}
12021 then :
12022 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12025 if ${LCMS2_PE_LIBS:+false} :
12026 then :
12027 if test ${MINGW_PKG_CONFIG+y}
12028 then :
12029 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12032 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12033 ac_save_CPPFLAGS=$CPPFLAGS
12034 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12036 printf %s "checking for MinGW lcms2.h... " >&6; }
12037 if test ${ac_cv_mingw_header_lcms2_h+y}
12038 then :
12039 printf %s "(cached) " >&6
12040 else $as_nop
12041 ac_wine_check_headers_saved_cc=$CC
12042 ac_wine_check_headers_saved_exeext=$ac_exeext
12043 eval CC=\$${wine_arch}_CC
12044 ac_exeext=".exe"
12045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12046 /* end confdefs.h. */
12048 #include <lcms2.h>
12050 main (void)
12054 return 0;
12056 _ACEOF
12057 if ac_fn_c_try_compile "$LINENO"
12058 then :
12059 ac_cv_mingw_header_lcms2_h=yes
12060 else $as_nop
12061 ac_cv_mingw_header_lcms2_h=no
12063 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12064 CC=$ac_wine_check_headers_saved_cc
12065 ac_exeext=$ac_wine_check_headers_saved_exeext
12067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12068 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12069 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12070 then :
12071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12072 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12073 if test ${ac_cv_mingw_lib_lcms2+y}
12074 then :
12075 printf %s "(cached) " >&6
12076 else $as_nop
12077 ac_wine_check_headers_saved_cc=$CC
12078 ac_wine_check_headers_saved_exeext=$ac_exeext
12079 ac_wine_check_headers_saved_libs=$LIBS
12080 eval CC=\$${wine_arch}_CC
12081 ac_exeext=".exe"
12082 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12084 /* end confdefs.h. */
12086 /* Override any GCC internal prototype to avoid an error.
12087 Use char because int might match the return type of a GCC
12088 builtin and then its argument prototype would still apply. */
12089 char cmsOpenProfileFromFile ();
12091 main (void)
12093 return cmsOpenProfileFromFile ();
12095 return 0;
12097 _ACEOF
12098 if ac_fn_c_try_link "$LINENO"
12099 then :
12100 ac_cv_mingw_lib_lcms2=yes
12101 else $as_nop
12102 ac_cv_mingw_lib_lcms2=no
12104 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12105 conftest$ac_exeext conftest.$ac_ext
12106 CC=$ac_wine_check_headers_saved_cc
12107 ac_exeext=$ac_wine_check_headers_saved_exeext
12108 LIBS=$ac_wine_check_headers_saved_libs
12110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12111 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12112 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12113 then :
12115 else $as_nop
12116 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12118 else $as_nop
12119 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12121 CPPFLAGS=$ac_save_CPPFLAGS
12123 if test "x$LCMS2_PE_LIBS" = "x"
12124 then
12125 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12128 if ${MPG123_PE_CFLAGS:+false} :
12129 then :
12130 if test ${MINGW_PKG_CONFIG+y}
12131 then :
12132 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12135 if ${MPG123_PE_LIBS:+false} :
12136 then :
12137 if test ${MINGW_PKG_CONFIG+y}
12138 then :
12139 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12142 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12143 ac_save_CPPFLAGS=$CPPFLAGS
12144 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12146 printf %s "checking for MinGW mpg123.h... " >&6; }
12147 if test ${ac_cv_mingw_header_mpg123_h+y}
12148 then :
12149 printf %s "(cached) " >&6
12150 else $as_nop
12151 ac_wine_check_headers_saved_cc=$CC
12152 ac_wine_check_headers_saved_exeext=$ac_exeext
12153 eval CC=\$${wine_arch}_CC
12154 ac_exeext=".exe"
12155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12156 /* end confdefs.h. */
12158 #include <mpg123.h>
12160 main (void)
12164 return 0;
12166 _ACEOF
12167 if ac_fn_c_try_compile "$LINENO"
12168 then :
12169 ac_cv_mingw_header_mpg123_h=yes
12170 else $as_nop
12171 ac_cv_mingw_header_mpg123_h=no
12173 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12174 CC=$ac_wine_check_headers_saved_cc
12175 ac_exeext=$ac_wine_check_headers_saved_exeext
12177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12178 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12179 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12180 then :
12181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12182 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12183 if test ${ac_cv_mingw_lib_mpg123+y}
12184 then :
12185 printf %s "(cached) " >&6
12186 else $as_nop
12187 ac_wine_check_headers_saved_cc=$CC
12188 ac_wine_check_headers_saved_exeext=$ac_exeext
12189 ac_wine_check_headers_saved_libs=$LIBS
12190 eval CC=\$${wine_arch}_CC
12191 ac_exeext=".exe"
12192 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12194 /* end confdefs.h. */
12196 /* Override any GCC internal prototype to avoid an error.
12197 Use char because int might match the return type of a GCC
12198 builtin and then its argument prototype would still apply. */
12199 char mpg123_feed ();
12201 main (void)
12203 return mpg123_feed ();
12205 return 0;
12207 _ACEOF
12208 if ac_fn_c_try_link "$LINENO"
12209 then :
12210 ac_cv_mingw_lib_mpg123=yes
12211 else $as_nop
12212 ac_cv_mingw_lib_mpg123=no
12214 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12215 conftest$ac_exeext conftest.$ac_ext
12216 CC=$ac_wine_check_headers_saved_cc
12217 ac_exeext=$ac_wine_check_headers_saved_exeext
12218 LIBS=$ac_wine_check_headers_saved_libs
12220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12221 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12222 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12223 then :
12225 else $as_nop
12226 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12228 else $as_nop
12229 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12231 CPPFLAGS=$ac_save_CPPFLAGS
12233 if test "x$MPG123_PE_LIBS" = "x"
12234 then
12235 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12238 if ${PNG_PE_CFLAGS:+false} :
12239 then :
12240 if test ${MINGW_PKG_CONFIG+y}
12241 then :
12242 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12245 if ${PNG_PE_LIBS:+false} :
12246 then :
12247 if test ${MINGW_PKG_CONFIG+y}
12248 then :
12249 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12253 ac_save_CPPFLAGS=$CPPFLAGS
12254 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12256 printf %s "checking for MinGW png.h... " >&6; }
12257 if test ${ac_cv_mingw_header_png_h+y}
12258 then :
12259 printf %s "(cached) " >&6
12260 else $as_nop
12261 ac_wine_check_headers_saved_cc=$CC
12262 ac_wine_check_headers_saved_exeext=$ac_exeext
12263 eval CC=\$${wine_arch}_CC
12264 ac_exeext=".exe"
12265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12266 /* end confdefs.h. */
12268 #include <png.h>
12270 main (void)
12274 return 0;
12276 _ACEOF
12277 if ac_fn_c_try_compile "$LINENO"
12278 then :
12279 ac_cv_mingw_header_png_h=yes
12280 else $as_nop
12281 ac_cv_mingw_header_png_h=no
12283 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12284 CC=$ac_wine_check_headers_saved_cc
12285 ac_exeext=$ac_wine_check_headers_saved_exeext
12287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12288 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12289 if test "x$ac_cv_mingw_header_png_h" = xyes
12290 then :
12291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12292 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12293 if test ${ac_cv_mingw_lib_png+y}
12294 then :
12295 printf %s "(cached) " >&6
12296 else $as_nop
12297 ac_wine_check_headers_saved_cc=$CC
12298 ac_wine_check_headers_saved_exeext=$ac_exeext
12299 ac_wine_check_headers_saved_libs=$LIBS
12300 eval CC=\$${wine_arch}_CC
12301 ac_exeext=".exe"
12302 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12304 /* end confdefs.h. */
12306 /* Override any GCC internal prototype to avoid an error.
12307 Use char because int might match the return type of a GCC
12308 builtin and then its argument prototype would still apply. */
12309 char png_create_read_struct ();
12311 main (void)
12313 return png_create_read_struct ();
12315 return 0;
12317 _ACEOF
12318 if ac_fn_c_try_link "$LINENO"
12319 then :
12320 ac_cv_mingw_lib_png=yes
12321 else $as_nop
12322 ac_cv_mingw_lib_png=no
12324 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12325 conftest$ac_exeext conftest.$ac_ext
12326 CC=$ac_wine_check_headers_saved_cc
12327 ac_exeext=$ac_wine_check_headers_saved_exeext
12328 LIBS=$ac_wine_check_headers_saved_libs
12330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12331 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12332 if test "x$ac_cv_mingw_lib_png" = xyes
12333 then :
12335 else $as_nop
12336 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12338 else $as_nop
12339 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12341 CPPFLAGS=$ac_save_CPPFLAGS
12343 if test "x$PNG_PE_LIBS" = "x"
12344 then
12345 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12348 if ${TIFF_PE_CFLAGS:+false} :
12349 then :
12350 if test ${MINGW_PKG_CONFIG+y}
12351 then :
12352 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12355 if ${TIFF_PE_LIBS:+false} :
12356 then :
12357 if test ${MINGW_PKG_CONFIG+y}
12358 then :
12359 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12363 ac_save_CPPFLAGS=$CPPFLAGS
12364 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12366 printf %s "checking for MinGW tiffio.h... " >&6; }
12367 if test ${ac_cv_mingw_header_tiffio_h+y}
12368 then :
12369 printf %s "(cached) " >&6
12370 else $as_nop
12371 ac_wine_check_headers_saved_cc=$CC
12372 ac_wine_check_headers_saved_exeext=$ac_exeext
12373 eval CC=\$${wine_arch}_CC
12374 ac_exeext=".exe"
12375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12376 /* end confdefs.h. */
12378 #include <tiffio.h>
12380 main (void)
12384 return 0;
12386 _ACEOF
12387 if ac_fn_c_try_compile "$LINENO"
12388 then :
12389 ac_cv_mingw_header_tiffio_h=yes
12390 else $as_nop
12391 ac_cv_mingw_header_tiffio_h=no
12393 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12394 CC=$ac_wine_check_headers_saved_cc
12395 ac_exeext=$ac_wine_check_headers_saved_exeext
12397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12398 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12399 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12400 then :
12401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12402 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12403 if test ${ac_cv_mingw_lib_tiff+y}
12404 then :
12405 printf %s "(cached) " >&6
12406 else $as_nop
12407 ac_wine_check_headers_saved_cc=$CC
12408 ac_wine_check_headers_saved_exeext=$ac_exeext
12409 ac_wine_check_headers_saved_libs=$LIBS
12410 eval CC=\$${wine_arch}_CC
12411 ac_exeext=".exe"
12412 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12414 /* end confdefs.h. */
12416 /* Override any GCC internal prototype to avoid an error.
12417 Use char because int might match the return type of a GCC
12418 builtin and then its argument prototype would still apply. */
12419 char TIFFClientOpen ();
12421 main (void)
12423 return TIFFClientOpen ();
12425 return 0;
12427 _ACEOF
12428 if ac_fn_c_try_link "$LINENO"
12429 then :
12430 ac_cv_mingw_lib_tiff=yes
12431 else $as_nop
12432 ac_cv_mingw_lib_tiff=no
12434 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12435 conftest$ac_exeext conftest.$ac_ext
12436 CC=$ac_wine_check_headers_saved_cc
12437 ac_exeext=$ac_wine_check_headers_saved_exeext
12438 LIBS=$ac_wine_check_headers_saved_libs
12440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12441 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12442 if test "x$ac_cv_mingw_lib_tiff" = xyes
12443 then :
12445 else $as_nop
12446 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12448 else $as_nop
12449 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12451 CPPFLAGS=$ac_save_CPPFLAGS
12453 if test "x$TIFF_PE_LIBS" = "x"
12454 then
12455 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12458 if ${XML2_PE_CFLAGS:+false} :
12459 then :
12460 if test ${MINGW_PKG_CONFIG+y}
12461 then :
12462 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12465 if ${XML2_PE_LIBS:+false} :
12466 then :
12467 if test ${MINGW_PKG_CONFIG+y}
12468 then :
12469 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12472 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12473 ac_save_CPPFLAGS=$CPPFLAGS
12474 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12476 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12477 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12478 then :
12479 printf %s "(cached) " >&6
12480 else $as_nop
12481 ac_wine_check_headers_saved_cc=$CC
12482 ac_wine_check_headers_saved_exeext=$ac_exeext
12483 eval CC=\$${wine_arch}_CC
12484 ac_exeext=".exe"
12485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12486 /* end confdefs.h. */
12488 #include <libxml/parser.h>
12490 main (void)
12494 return 0;
12496 _ACEOF
12497 if ac_fn_c_try_compile "$LINENO"
12498 then :
12499 ac_cv_mingw_header_libxml_parser_h=yes
12500 else $as_nop
12501 ac_cv_mingw_header_libxml_parser_h=no
12503 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12504 CC=$ac_wine_check_headers_saved_cc
12505 ac_exeext=$ac_wine_check_headers_saved_exeext
12507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12508 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12509 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12510 then :
12513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12514 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12515 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12516 then :
12517 printf %s "(cached) " >&6
12518 else $as_nop
12519 ac_wine_check_headers_saved_cc=$CC
12520 ac_wine_check_headers_saved_exeext=$ac_exeext
12521 eval CC=\$${wine_arch}_CC
12522 ac_exeext=".exe"
12523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12524 /* end confdefs.h. */
12526 #include <libxml/xmlsave.h>
12528 main (void)
12532 return 0;
12534 _ACEOF
12535 if ac_fn_c_try_compile "$LINENO"
12536 then :
12537 ac_cv_mingw_header_libxml_xmlsave_h=yes
12538 else $as_nop
12539 ac_cv_mingw_header_libxml_xmlsave_h=no
12541 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12542 CC=$ac_wine_check_headers_saved_cc
12543 ac_exeext=$ac_wine_check_headers_saved_exeext
12545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12546 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12547 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12548 then :
12551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12552 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12553 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12554 then :
12555 printf %s "(cached) " >&6
12556 else $as_nop
12557 ac_wine_check_headers_saved_cc=$CC
12558 ac_wine_check_headers_saved_exeext=$ac_exeext
12559 eval CC=\$${wine_arch}_CC
12560 ac_exeext=".exe"
12561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12562 /* end confdefs.h. */
12564 #include <libxml/SAX2.h>
12566 main (void)
12570 return 0;
12572 _ACEOF
12573 if ac_fn_c_try_compile "$LINENO"
12574 then :
12575 ac_cv_mingw_header_libxml_SAX2_h=yes
12576 else $as_nop
12577 ac_cv_mingw_header_libxml_SAX2_h=no
12579 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12580 CC=$ac_wine_check_headers_saved_cc
12581 ac_exeext=$ac_wine_check_headers_saved_exeext
12583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12584 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12585 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12586 then :
12589 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"
12590 then
12591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12592 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12593 if test ${ac_cv_mingw_lib_xml2+y}
12594 then :
12595 printf %s "(cached) " >&6
12596 else $as_nop
12597 ac_wine_check_headers_saved_cc=$CC
12598 ac_wine_check_headers_saved_exeext=$ac_exeext
12599 ac_wine_check_headers_saved_libs=$LIBS
12600 eval CC=\$${wine_arch}_CC
12601 ac_exeext=".exe"
12602 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12604 /* end confdefs.h. */
12606 /* Override any GCC internal prototype to avoid an error.
12607 Use char because int might match the return type of a GCC
12608 builtin and then its argument prototype would still apply. */
12609 char xmlFirstElementChild ();
12611 main (void)
12613 return xmlFirstElementChild ();
12615 return 0;
12617 _ACEOF
12618 if ac_fn_c_try_link "$LINENO"
12619 then :
12620 ac_cv_mingw_lib_xml2=yes
12621 else $as_nop
12622 ac_cv_mingw_lib_xml2=no
12624 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12625 conftest$ac_exeext conftest.$ac_ext
12626 CC=$ac_wine_check_headers_saved_cc
12627 ac_exeext=$ac_wine_check_headers_saved_exeext
12628 LIBS=$ac_wine_check_headers_saved_libs
12630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12631 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12632 if test "x$ac_cv_mingw_lib_xml2" = xyes
12633 then :
12635 else $as_nop
12636 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12638 else
12639 XML2_PE_CFLAGS=""
12640 XML2_PE_LIBS=""
12642 CPPFLAGS=$ac_save_CPPFLAGS
12644 if test "x$XML2_PE_LIBS" = "x"
12645 then
12646 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12649 if ${XSLT_PE_CFLAGS:+false} :
12650 then :
12651 if test ${MINGW_PKG_CONFIG+y}
12652 then :
12653 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12656 if ${XSLT_PE_LIBS:+false} :
12657 then :
12658 if test ${MINGW_PKG_CONFIG+y}
12659 then :
12660 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12663 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12664 ac_save_CPPFLAGS=$CPPFLAGS
12665 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12667 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12668 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12669 then :
12670 printf %s "(cached) " >&6
12671 else $as_nop
12672 ac_wine_check_headers_saved_cc=$CC
12673 ac_wine_check_headers_saved_exeext=$ac_exeext
12674 eval CC=\$${wine_arch}_CC
12675 ac_exeext=".exe"
12676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12677 /* end confdefs.h. */
12679 #include <libxslt/pattern.h>
12681 main (void)
12685 return 0;
12687 _ACEOF
12688 if ac_fn_c_try_compile "$LINENO"
12689 then :
12690 ac_cv_mingw_header_libxslt_pattern_h=yes
12691 else $as_nop
12692 ac_cv_mingw_header_libxslt_pattern_h=no
12694 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12695 CC=$ac_wine_check_headers_saved_cc
12696 ac_exeext=$ac_wine_check_headers_saved_exeext
12698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12699 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12700 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12701 then :
12704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12705 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12706 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12707 then :
12708 printf %s "(cached) " >&6
12709 else $as_nop
12710 ac_wine_check_headers_saved_cc=$CC
12711 ac_wine_check_headers_saved_exeext=$ac_exeext
12712 eval CC=\$${wine_arch}_CC
12713 ac_exeext=".exe"
12714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12715 /* end confdefs.h. */
12717 #include <libxslt/transform.h>
12719 main (void)
12723 return 0;
12725 _ACEOF
12726 if ac_fn_c_try_compile "$LINENO"
12727 then :
12728 ac_cv_mingw_header_libxslt_transform_h=yes
12729 else $as_nop
12730 ac_cv_mingw_header_libxslt_transform_h=no
12732 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12733 CC=$ac_wine_check_headers_saved_cc
12734 ac_exeext=$ac_wine_check_headers_saved_exeext
12736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12737 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12738 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12739 then :
12742 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12743 then
12744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12745 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12746 if test ${ac_cv_mingw_lib_xslt+y}
12747 then :
12748 printf %s "(cached) " >&6
12749 else $as_nop
12750 ac_wine_check_headers_saved_cc=$CC
12751 ac_wine_check_headers_saved_exeext=$ac_exeext
12752 ac_wine_check_headers_saved_libs=$LIBS
12753 eval CC=\$${wine_arch}_CC
12754 ac_exeext=".exe"
12755 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12757 /* end confdefs.h. */
12759 /* Override any GCC internal prototype to avoid an error.
12760 Use char because int might match the return type of a GCC
12761 builtin and then its argument prototype would still apply. */
12762 char xsltCompilePattern ();
12764 main (void)
12766 return xsltCompilePattern ();
12768 return 0;
12770 _ACEOF
12771 if ac_fn_c_try_link "$LINENO"
12772 then :
12773 ac_cv_mingw_lib_xslt=yes
12774 else $as_nop
12775 ac_cv_mingw_lib_xslt=no
12777 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12778 conftest$ac_exeext conftest.$ac_ext
12779 CC=$ac_wine_check_headers_saved_cc
12780 ac_exeext=$ac_wine_check_headers_saved_exeext
12781 LIBS=$ac_wine_check_headers_saved_libs
12783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12784 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12785 if test "x$ac_cv_mingw_lib_xslt" = xyes
12786 then :
12788 else $as_nop
12789 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12791 else
12792 XSLT_PE_CFLAGS=""
12793 XSLT_PE_LIBS=""
12795 CPPFLAGS=$ac_save_CPPFLAGS
12797 if test "x$XSLT_PE_LIBS" = "x"
12798 then
12799 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12802 if ${VKD3D_PE_CFLAGS:+false} :
12803 then :
12804 if test ${MINGW_PKG_CONFIG+y}
12805 then :
12806 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12809 if ${VKD3D_PE_LIBS:+false} :
12810 then :
12811 if test ${MINGW_PKG_CONFIG+y}
12812 then :
12813 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12816 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12817 ac_save_CPPFLAGS=$CPPFLAGS
12818 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12820 printf %s "checking for MinGW vkd3d.h... " >&6; }
12821 if test ${ac_cv_mingw_header_vkd3d_h+y}
12822 then :
12823 printf %s "(cached) " >&6
12824 else $as_nop
12825 ac_wine_check_headers_saved_cc=$CC
12826 ac_wine_check_headers_saved_exeext=$ac_exeext
12827 eval CC=\$${wine_arch}_CC
12828 ac_exeext=".exe"
12829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12830 /* end confdefs.h. */
12832 #include <vkd3d.h>
12834 main (void)
12838 return 0;
12840 _ACEOF
12841 if ac_fn_c_try_compile "$LINENO"
12842 then :
12843 ac_cv_mingw_header_vkd3d_h=yes
12844 else $as_nop
12845 ac_cv_mingw_header_vkd3d_h=no
12847 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12848 CC=$ac_wine_check_headers_saved_cc
12849 ac_exeext=$ac_wine_check_headers_saved_exeext
12851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12852 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12853 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12854 then :
12857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12858 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12859 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12860 then :
12861 printf %s "(cached) " >&6
12862 else $as_nop
12863 ac_wine_check_headers_saved_cc=$CC
12864 ac_wine_check_headers_saved_exeext=$ac_exeext
12865 eval CC=\$${wine_arch}_CC
12866 ac_exeext=".exe"
12867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12868 /* end confdefs.h. */
12870 #include <vkd3d_shader.h>
12872 main (void)
12876 return 0;
12878 _ACEOF
12879 if ac_fn_c_try_compile "$LINENO"
12880 then :
12881 ac_cv_mingw_header_vkd3d_shader_h=yes
12882 else $as_nop
12883 ac_cv_mingw_header_vkd3d_shader_h=no
12885 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12886 CC=$ac_wine_check_headers_saved_cc
12887 ac_exeext=$ac_wine_check_headers_saved_exeext
12889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12890 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12891 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12892 then :
12895 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12896 then
12897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12898 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12899 if test ${ac_cv_mingw_lib_vkd3d+y}
12900 then :
12901 printf %s "(cached) " >&6
12902 else $as_nop
12903 ac_wine_check_headers_saved_cc=$CC
12904 ac_wine_check_headers_saved_exeext=$ac_exeext
12905 ac_wine_check_headers_saved_libs=$LIBS
12906 eval CC=\$${wine_arch}_CC
12907 ac_exeext=".exe"
12908 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12910 /* end confdefs.h. */
12912 /* Override any GCC internal prototype to avoid an error.
12913 Use char because int might match the return type of a GCC
12914 builtin and then its argument prototype would still apply. */
12915 char vkd3d_set_log_callback ();
12917 main (void)
12919 return vkd3d_set_log_callback ();
12921 return 0;
12923 _ACEOF
12924 if ac_fn_c_try_link "$LINENO"
12925 then :
12926 ac_cv_mingw_lib_vkd3d=yes
12927 else $as_nop
12928 ac_cv_mingw_lib_vkd3d=no
12930 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12931 conftest$ac_exeext conftest.$ac_ext
12932 CC=$ac_wine_check_headers_saved_cc
12933 ac_exeext=$ac_wine_check_headers_saved_exeext
12934 LIBS=$ac_wine_check_headers_saved_libs
12936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12937 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12938 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12939 then :
12941 else $as_nop
12944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
12945 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
12946 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12947 then :
12948 printf %s "(cached) " >&6
12949 else $as_nop
12950 ac_wine_check_headers_saved_cc=$CC
12951 ac_wine_check_headers_saved_exeext=$ac_exeext
12952 ac_wine_check_headers_saved_libs=$LIBS
12953 eval CC=\$${wine_arch}_CC
12954 ac_exeext=".exe"
12955 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12957 /* end confdefs.h. */
12959 /* Override any GCC internal prototype to avoid an error.
12960 Use char because int might match the return type of a GCC
12961 builtin and then its argument prototype would still apply. */
12962 char vkd3d_shader_compile ();
12964 main (void)
12966 return vkd3d_shader_compile ();
12968 return 0;
12970 _ACEOF
12971 if ac_fn_c_try_link "$LINENO"
12972 then :
12973 ac_cv_mingw_lib_vkd3d_shader=yes
12974 else $as_nop
12975 ac_cv_mingw_lib_vkd3d_shader=no
12977 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12978 conftest$ac_exeext conftest.$ac_ext
12979 CC=$ac_wine_check_headers_saved_cc
12980 ac_exeext=$ac_wine_check_headers_saved_exeext
12981 LIBS=$ac_wine_check_headers_saved_libs
12983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12984 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12985 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12986 then :
12988 else $as_nop
12991 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12992 then
12993 VKD3D_PE_CFLAGS=""
12994 VKD3D_PE_LIBS=""
12996 else
12997 VKD3D_PE_CFLAGS=""
12998 VKD3D_PE_LIBS=""
13000 CPPFLAGS=$ac_save_CPPFLAGS
13002 if test "x$VKD3D_PE_LIBS" = "x"
13003 then
13004 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13007 if ${ZLIB_PE_CFLAGS:+false} :
13008 then :
13009 if test ${MINGW_PKG_CONFIG+y}
13010 then :
13011 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13014 if ${ZLIB_PE_LIBS:+false} :
13015 then :
13016 if test ${MINGW_PKG_CONFIG+y}
13017 then :
13018 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13021 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13022 ac_save_CPPFLAGS=$CPPFLAGS
13023 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13025 printf %s "checking for MinGW zlib.h... " >&6; }
13026 if test ${ac_cv_mingw_header_zlib_h+y}
13027 then :
13028 printf %s "(cached) " >&6
13029 else $as_nop
13030 ac_wine_check_headers_saved_cc=$CC
13031 ac_wine_check_headers_saved_exeext=$ac_exeext
13032 eval CC=\$${wine_arch}_CC
13033 ac_exeext=".exe"
13034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13035 /* end confdefs.h. */
13037 #include <zlib.h>
13039 main (void)
13043 return 0;
13045 _ACEOF
13046 if ac_fn_c_try_compile "$LINENO"
13047 then :
13048 ac_cv_mingw_header_zlib_h=yes
13049 else $as_nop
13050 ac_cv_mingw_header_zlib_h=no
13052 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13053 CC=$ac_wine_check_headers_saved_cc
13054 ac_exeext=$ac_wine_check_headers_saved_exeext
13056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13057 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13058 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13059 then :
13060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13061 printf %s "checking for inflate in MinGW -lz... " >&6; }
13062 if test ${ac_cv_mingw_lib_z+y}
13063 then :
13064 printf %s "(cached) " >&6
13065 else $as_nop
13066 ac_wine_check_headers_saved_cc=$CC
13067 ac_wine_check_headers_saved_exeext=$ac_exeext
13068 ac_wine_check_headers_saved_libs=$LIBS
13069 eval CC=\$${wine_arch}_CC
13070 ac_exeext=".exe"
13071 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13073 /* end confdefs.h. */
13075 /* Override any GCC internal prototype to avoid an error.
13076 Use char because int might match the return type of a GCC
13077 builtin and then its argument prototype would still apply. */
13078 char inflate ();
13080 main (void)
13082 return inflate ();
13084 return 0;
13086 _ACEOF
13087 if ac_fn_c_try_link "$LINENO"
13088 then :
13089 ac_cv_mingw_lib_z=yes
13090 else $as_nop
13091 ac_cv_mingw_lib_z=no
13093 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13094 conftest$ac_exeext conftest.$ac_ext
13095 CC=$ac_wine_check_headers_saved_cc
13096 ac_exeext=$ac_wine_check_headers_saved_exeext
13097 LIBS=$ac_wine_check_headers_saved_libs
13099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13100 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13101 if test "x$ac_cv_mingw_lib_z" = xyes
13102 then :
13104 else $as_nop
13105 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13107 else $as_nop
13108 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13110 CPPFLAGS=$ac_save_CPPFLAGS
13112 if test "x$ZLIB_PE_LIBS" = "x"
13113 then
13114 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13118 if ${FAUDIO_PE_LIBS:+false} :
13119 then :
13120 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13121 if ${FAUDIO_PE_CFLAGS:+false} :
13122 then :
13123 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13124 else $as_nop
13125 enable_faudio=no
13127 else $as_nop
13128 enable_faudio=no
13130 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13131 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13133 if ${GSM_PE_LIBS:+false} :
13134 then :
13135 GSM_PE_LIBS=gsm
13136 if ${GSM_PE_CFLAGS:+false} :
13137 then :
13138 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13139 else $as_nop
13140 enable_gsm=no
13142 else $as_nop
13143 enable_gsm=no
13145 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13146 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13148 if ${JPEG_PE_LIBS:+false} :
13149 then :
13150 JPEG_PE_LIBS=jpeg
13151 if ${JPEG_PE_CFLAGS:+false} :
13152 then :
13153 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13154 else $as_nop
13155 enable_jpeg=no
13157 else $as_nop
13158 enable_jpeg=no
13160 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13161 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13163 if ${JXR_PE_LIBS:+false} :
13164 then :
13165 JXR_PE_LIBS=jxr
13166 if ${JXR_PE_CFLAGS:+false} :
13167 then :
13168 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13169 else $as_nop
13170 enable_jxr=no
13172 else $as_nop
13173 enable_jxr=no
13175 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13176 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13178 if ${LCMS2_PE_LIBS:+false} :
13179 then :
13180 LCMS2_PE_LIBS=lcms2
13181 if ${LCMS2_PE_CFLAGS:+false} :
13182 then :
13183 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13184 else $as_nop
13185 enable_lcms2=no
13187 else $as_nop
13188 enable_lcms2=no
13190 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13191 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13193 if ${LDAP_PE_LIBS:+false} :
13194 then :
13195 LDAP_PE_LIBS=ldap
13196 if ${LDAP_PE_CFLAGS:+false} :
13197 then :
13198 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13199 else $as_nop
13200 enable_ldap=no
13202 else $as_nop
13203 enable_ldap=no
13205 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13206 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13208 if ${MPG123_PE_LIBS:+false} :
13209 then :
13210 MPG123_PE_LIBS=mpg123
13211 if ${MPG123_PE_CFLAGS:+false} :
13212 then :
13213 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13214 else $as_nop
13215 enable_mpg123=no
13217 else $as_nop
13218 enable_mpg123=no
13220 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13221 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13223 if ${PNG_PE_LIBS:+false} :
13224 then :
13225 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13226 if ${PNG_PE_CFLAGS:+false} :
13227 then :
13228 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13229 else $as_nop
13230 enable_png=no
13232 else $as_nop
13233 enable_png=no
13235 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13236 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13238 if ${TIFF_PE_LIBS:+false} :
13239 then :
13240 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13241 if ${TIFF_PE_CFLAGS:+false} :
13242 then :
13243 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13244 else $as_nop
13245 enable_tiff=no
13247 else $as_nop
13248 enable_tiff=no
13250 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13251 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13253 if ${VKD3D_PE_LIBS:+false} :
13254 then :
13255 VKD3D_PE_LIBS=vkd3d
13256 if ${VKD3D_PE_CFLAGS:+false} :
13257 then :
13258 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13259 else $as_nop
13260 enable_vkd3d=no
13262 else $as_nop
13263 enable_vkd3d=no
13265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13266 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13268 if ${XML2_PE_LIBS:+false} :
13269 then :
13270 XML2_PE_LIBS=xml2
13271 if ${XML2_PE_CFLAGS:+false} :
13272 then :
13273 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13274 else $as_nop
13275 enable_xml2=no
13277 else $as_nop
13278 enable_xml2=no
13280 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13281 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13283 if ${XSLT_PE_LIBS:+false} :
13284 then :
13285 XSLT_PE_LIBS=xslt
13286 if ${XSLT_PE_CFLAGS:+false} :
13287 then :
13288 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13289 else $as_nop
13290 enable_xslt=no
13292 else $as_nop
13293 enable_xslt=no
13295 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13296 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13298 if ${ZLIB_PE_LIBS:+false} :
13299 then :
13300 ZLIB_PE_LIBS=z
13301 if ${ZLIB_PE_CFLAGS:+false} :
13302 then :
13303 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13304 else $as_nop
13305 enable_zlib=no
13307 else $as_nop
13308 enable_zlib=no
13310 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13315 if test "$ac_cv_header_pthread_h" = "yes"
13316 then
13317 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13318 if test "x$ac_cv_func_pthread_create" = xyes
13319 then :
13321 else $as_nop
13322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13323 printf %s "checking for pthread_create in -lpthread... " >&6; }
13324 if test ${ac_cv_lib_pthread_pthread_create+y}
13325 then :
13326 printf %s "(cached) " >&6
13327 else $as_nop
13328 ac_check_lib_save_LIBS=$LIBS
13329 LIBS="-lpthread $LIBS"
13330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13331 /* end confdefs.h. */
13333 /* Override any GCC internal prototype to avoid an error.
13334 Use char because int might match the return type of a GCC
13335 builtin and then its argument prototype would still apply. */
13336 char pthread_create ();
13338 main (void)
13340 return pthread_create ();
13342 return 0;
13344 _ACEOF
13345 if ac_fn_c_try_link "$LINENO"
13346 then :
13347 ac_cv_lib_pthread_pthread_create=yes
13348 else $as_nop
13349 ac_cv_lib_pthread_pthread_create=no
13351 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13352 conftest$ac_exeext conftest.$ac_ext
13353 LIBS=$ac_check_lib_save_LIBS
13355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13356 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13357 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13358 then :
13359 PTHREAD_LIBS="-lpthread"
13366 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13367 then :
13368 case "x$with_pthread" in
13369 xno) ;;
13370 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13371 Wine cannot support threads without libpthread.
13372 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13373 esac
13378 ac_ext=c
13379 ac_cpp='$CPP $CPPFLAGS'
13380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13384 printf %s "checking how to run the C preprocessor... " >&6; }
13385 # On Suns, sometimes $CPP names a directory.
13386 if test -n "$CPP" && test -d "$CPP"; then
13387 CPP=
13389 if test -z "$CPP"; then
13390 if test ${ac_cv_prog_CPP+y}
13391 then :
13392 printf %s "(cached) " >&6
13393 else $as_nop
13394 # Double quotes because $CC needs to be expanded
13395 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13397 ac_preproc_ok=false
13398 for ac_c_preproc_warn_flag in '' yes
13400 # Use a header file that comes with gcc, so configuring glibc
13401 # with a fresh cross-compiler works.
13402 # On the NeXT, cc -E runs the code through the compiler's parser,
13403 # not just through cpp. "Syntax error" is here to catch this case.
13404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13405 /* end confdefs.h. */
13406 #include <limits.h>
13407 Syntax error
13408 _ACEOF
13409 if ac_fn_c_try_cpp "$LINENO"
13410 then :
13412 else $as_nop
13413 # Broken: fails on valid input.
13414 continue
13416 rm -f conftest.err conftest.i conftest.$ac_ext
13418 # OK, works on sane cases. Now check whether nonexistent headers
13419 # can be detected and how.
13420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13421 /* end confdefs.h. */
13422 #include <ac_nonexistent.h>
13423 _ACEOF
13424 if ac_fn_c_try_cpp "$LINENO"
13425 then :
13426 # Broken: success on invalid input.
13427 continue
13428 else $as_nop
13429 # Passes both tests.
13430 ac_preproc_ok=:
13431 break
13433 rm -f conftest.err conftest.i conftest.$ac_ext
13435 done
13436 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13437 rm -f conftest.i conftest.err conftest.$ac_ext
13438 if $ac_preproc_ok
13439 then :
13440 break
13443 done
13444 ac_cv_prog_CPP=$CPP
13447 CPP=$ac_cv_prog_CPP
13448 else
13449 ac_cv_prog_CPP=$CPP
13451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13452 printf "%s\n" "$CPP" >&6; }
13453 ac_preproc_ok=false
13454 for ac_c_preproc_warn_flag in '' yes
13456 # Use a header file that comes with gcc, so configuring glibc
13457 # with a fresh cross-compiler works.
13458 # On the NeXT, cc -E runs the code through the compiler's parser,
13459 # not just through cpp. "Syntax error" is here to catch this case.
13460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13461 /* end confdefs.h. */
13462 #include <limits.h>
13463 Syntax error
13464 _ACEOF
13465 if ac_fn_c_try_cpp "$LINENO"
13466 then :
13468 else $as_nop
13469 # Broken: fails on valid input.
13470 continue
13472 rm -f conftest.err conftest.i conftest.$ac_ext
13474 # OK, works on sane cases. Now check whether nonexistent headers
13475 # can be detected and how.
13476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13477 /* end confdefs.h. */
13478 #include <ac_nonexistent.h>
13479 _ACEOF
13480 if ac_fn_c_try_cpp "$LINENO"
13481 then :
13482 # Broken: success on invalid input.
13483 continue
13484 else $as_nop
13485 # Passes both tests.
13486 ac_preproc_ok=:
13487 break
13489 rm -f conftest.err conftest.i conftest.$ac_ext
13491 done
13492 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13493 rm -f conftest.i conftest.err conftest.$ac_ext
13494 if $ac_preproc_ok
13495 then :
13497 else $as_nop
13498 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13499 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13500 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13501 See \`config.log' for more details" "$LINENO" 5; }
13504 ac_ext=c
13505 ac_cpp='$CPP $CPPFLAGS'
13506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13512 printf %s "checking for X... " >&6; }
13515 # Check whether --with-x was given.
13516 if test ${with_x+y}
13517 then :
13518 withval=$with_x;
13521 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13522 if test "x$with_x" = xno; then
13523 # The user explicitly disabled X.
13524 have_x=disabled
13525 else
13526 case $x_includes,$x_libraries in #(
13527 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13528 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13529 then :
13530 printf %s "(cached) " >&6
13531 else $as_nop
13532 # One or both of the vars are not set, and there is no cached value.
13533 ac_x_includes=no
13534 ac_x_libraries=no
13535 # Do we need to do anything special at all?
13536 ac_save_LIBS=$LIBS
13537 LIBS="-lX11 $LIBS"
13538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13539 /* end confdefs.h. */
13540 #include <X11/Xlib.h>
13542 main (void)
13544 XrmInitialize ()
13546 return 0;
13548 _ACEOF
13549 if ac_fn_c_try_link "$LINENO"
13550 then :
13551 # We can compile and link X programs with no special options.
13552 ac_x_includes=
13553 ac_x_libraries=
13555 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13556 conftest$ac_exeext conftest.$ac_ext
13557 LIBS="$ac_save_LIBS"
13558 # If that didn't work, only try xmkmf and file system searches
13559 # for native compilation.
13560 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13561 then :
13562 rm -f -r conftest.dir
13563 if mkdir conftest.dir; then
13564 cd conftest.dir
13565 cat >Imakefile <<'_ACEOF'
13566 incroot:
13567 @echo incroot='${INCROOT}'
13568 usrlibdir:
13569 @echo usrlibdir='${USRLIBDIR}'
13570 libdir:
13571 @echo libdir='${LIBDIR}'
13572 _ACEOF
13573 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13574 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13575 for ac_var in incroot usrlibdir libdir; do
13576 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13577 done
13578 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13579 for ac_extension in a so sl dylib la dll; do
13580 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13581 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13582 ac_im_usrlibdir=$ac_im_libdir; break
13584 done
13585 # Screen out bogus values from the imake configuration. They are
13586 # bogus both because they are the default anyway, and because
13587 # using them would break gcc on systems where it needs fixed includes.
13588 case $ac_im_incroot in
13589 /usr/include) ac_x_includes= ;;
13590 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13591 esac
13592 case $ac_im_usrlibdir in
13593 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13594 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13595 esac
13597 cd ..
13598 rm -f -r conftest.dir
13601 # Standard set of common directories for X headers.
13602 # Check X11 before X11Rn because it is often a symlink to the current release.
13603 ac_x_header_dirs='
13604 /usr/X11/include
13605 /usr/X11R7/include
13606 /usr/X11R6/include
13607 /usr/X11R5/include
13608 /usr/X11R4/include
13610 /usr/include/X11
13611 /usr/include/X11R7
13612 /usr/include/X11R6
13613 /usr/include/X11R5
13614 /usr/include/X11R4
13616 /usr/local/X11/include
13617 /usr/local/X11R7/include
13618 /usr/local/X11R6/include
13619 /usr/local/X11R5/include
13620 /usr/local/X11R4/include
13622 /usr/local/include/X11
13623 /usr/local/include/X11R7
13624 /usr/local/include/X11R6
13625 /usr/local/include/X11R5
13626 /usr/local/include/X11R4
13628 /opt/X11/include
13630 /usr/X386/include
13631 /usr/x386/include
13632 /usr/XFree86/include/X11
13634 /usr/include
13635 /usr/local/include
13636 /usr/unsupported/include
13637 /usr/athena/include
13638 /usr/local/x11r5/include
13639 /usr/lpp/Xamples/include
13641 /usr/openwin/include
13642 /usr/openwin/share/include'
13644 if test "$ac_x_includes" = no; then
13645 # Guess where to find include files, by looking for Xlib.h.
13646 # First, try using that file with no special directory specified.
13647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13648 /* end confdefs.h. */
13649 #include <X11/Xlib.h>
13650 _ACEOF
13651 if ac_fn_c_try_cpp "$LINENO"
13652 then :
13653 # We can compile using X headers with no special include directory.
13654 ac_x_includes=
13655 else $as_nop
13656 for ac_dir in $ac_x_header_dirs; do
13657 if test -r "$ac_dir/X11/Xlib.h"; then
13658 ac_x_includes=$ac_dir
13659 break
13661 done
13663 rm -f conftest.err conftest.i conftest.$ac_ext
13664 fi # $ac_x_includes = no
13666 if test "$ac_x_libraries" = no; then
13667 # Check for the libraries.
13668 # See if we find them without any special options.
13669 # Don't add to $LIBS permanently.
13670 ac_save_LIBS=$LIBS
13671 LIBS="-lX11 $LIBS"
13672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13673 /* end confdefs.h. */
13674 #include <X11/Xlib.h>
13676 main (void)
13678 XrmInitialize ()
13680 return 0;
13682 _ACEOF
13683 if ac_fn_c_try_link "$LINENO"
13684 then :
13685 LIBS=$ac_save_LIBS
13686 # We can link X programs with no special library path.
13687 ac_x_libraries=
13688 else $as_nop
13689 LIBS=$ac_save_LIBS
13690 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13692 # Don't even attempt the hair of trying to link an X program!
13693 for ac_extension in a so sl dylib la dll; do
13694 if test -r "$ac_dir/libX11.$ac_extension"; then
13695 ac_x_libraries=$ac_dir
13696 break 2
13698 done
13699 done
13701 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13702 conftest$ac_exeext conftest.$ac_ext
13703 fi # $ac_x_libraries = no
13706 # Record the results.
13707 case $ac_x_includes,$ac_x_libraries in #(
13708 no,* | *,no | *\'*) :
13709 # Didn't find X, or a directory has "'" in its name.
13710 ac_cv_have_x="have_x=no" ;; #(
13711 *) :
13712 # Record where we found X for the cache.
13713 ac_cv_have_x="have_x=yes\
13714 ac_x_includes='$ac_x_includes'\
13715 ac_x_libraries='$ac_x_libraries'" ;;
13716 esac
13718 ;; #(
13719 *) have_x=yes;;
13720 esac
13721 eval "$ac_cv_have_x"
13722 fi # $with_x != no
13724 if test "$have_x" != yes; then
13725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13726 printf "%s\n" "$have_x" >&6; }
13727 no_x=yes
13728 else
13729 # If each of the values was on the command line, it overrides each guess.
13730 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13731 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13732 # Update the cache value to reflect the command line values.
13733 ac_cv_have_x="have_x=yes\
13734 ac_x_includes='$x_includes'\
13735 ac_x_libraries='$x_libraries'"
13736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13737 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13740 if test "$no_x" = yes; then
13741 # Not all programs may use this symbol, but it does not hurt to define it.
13743 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13745 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13746 else
13747 if test -n "$x_includes"; then
13748 X_CFLAGS="$X_CFLAGS -I$x_includes"
13751 # It would also be nice to do this for all -L options, not just this one.
13752 if test -n "$x_libraries"; then
13753 X_LIBS="$X_LIBS -L$x_libraries"
13754 # For Solaris; some versions of Sun CC require a space after -R and
13755 # others require no space. Words are not sufficient . . . .
13756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13757 printf %s "checking whether -R must be followed by a space... " >&6; }
13758 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13759 ac_xsave_c_werror_flag=$ac_c_werror_flag
13760 ac_c_werror_flag=yes
13761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13762 /* end confdefs.h. */
13765 main (void)
13769 return 0;
13771 _ACEOF
13772 if ac_fn_c_try_link "$LINENO"
13773 then :
13774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13775 printf "%s\n" "no" >&6; }
13776 X_LIBS="$X_LIBS -R$x_libraries"
13777 else $as_nop
13778 LIBS="$ac_xsave_LIBS -R $x_libraries"
13779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13780 /* end confdefs.h. */
13783 main (void)
13787 return 0;
13789 _ACEOF
13790 if ac_fn_c_try_link "$LINENO"
13791 then :
13792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13793 printf "%s\n" "yes" >&6; }
13794 X_LIBS="$X_LIBS -R $x_libraries"
13795 else $as_nop
13796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13797 printf "%s\n" "neither works" >&6; }
13799 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13800 conftest$ac_exeext conftest.$ac_ext
13802 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13803 conftest$ac_exeext conftest.$ac_ext
13804 ac_c_werror_flag=$ac_xsave_c_werror_flag
13805 LIBS=$ac_xsave_LIBS
13808 # Check for system-dependent libraries X programs must link with.
13809 # Do this before checking for the system-independent R6 libraries
13810 # (-lICE), since we may need -lsocket or whatever for X linking.
13812 if test "$ISC" = yes; then
13813 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13814 else
13815 # Martyn Johnson says this is needed for Ultrix, if the X
13816 # libraries were built with DECnet support. And Karl Berry says
13817 # the Alpha needs dnet_stub (dnet does not exist).
13818 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13820 /* end confdefs.h. */
13822 /* Override any GCC internal prototype to avoid an error.
13823 Use char because int might match the return type of a GCC
13824 builtin and then its argument prototype would still apply. */
13825 char XOpenDisplay ();
13827 main (void)
13829 return XOpenDisplay ();
13831 return 0;
13833 _ACEOF
13834 if ac_fn_c_try_link "$LINENO"
13835 then :
13837 else $as_nop
13838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13839 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13840 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13841 then :
13842 printf %s "(cached) " >&6
13843 else $as_nop
13844 ac_check_lib_save_LIBS=$LIBS
13845 LIBS="-ldnet $LIBS"
13846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13847 /* end confdefs.h. */
13849 /* Override any GCC internal prototype to avoid an error.
13850 Use char because int might match the return type of a GCC
13851 builtin and then its argument prototype would still apply. */
13852 char dnet_ntoa ();
13854 main (void)
13856 return dnet_ntoa ();
13858 return 0;
13860 _ACEOF
13861 if ac_fn_c_try_link "$LINENO"
13862 then :
13863 ac_cv_lib_dnet_dnet_ntoa=yes
13864 else $as_nop
13865 ac_cv_lib_dnet_dnet_ntoa=no
13867 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13868 conftest$ac_exeext conftest.$ac_ext
13869 LIBS=$ac_check_lib_save_LIBS
13871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13872 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13873 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13874 then :
13875 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13878 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13880 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13881 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13882 then :
13883 printf %s "(cached) " >&6
13884 else $as_nop
13885 ac_check_lib_save_LIBS=$LIBS
13886 LIBS="-ldnet_stub $LIBS"
13887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13888 /* end confdefs.h. */
13890 /* Override any GCC internal prototype to avoid an error.
13891 Use char because int might match the return type of a GCC
13892 builtin and then its argument prototype would still apply. */
13893 char dnet_ntoa ();
13895 main (void)
13897 return dnet_ntoa ();
13899 return 0;
13901 _ACEOF
13902 if ac_fn_c_try_link "$LINENO"
13903 then :
13904 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13905 else $as_nop
13906 ac_cv_lib_dnet_stub_dnet_ntoa=no
13908 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13909 conftest$ac_exeext conftest.$ac_ext
13910 LIBS=$ac_check_lib_save_LIBS
13912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13913 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13914 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13915 then :
13916 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13921 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13922 conftest$ac_exeext conftest.$ac_ext
13923 LIBS="$ac_xsave_LIBS"
13925 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13926 # to get the SysV transport functions.
13927 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13928 # needs -lnsl.
13929 # The nsl library prevents programs from opening the X display
13930 # on Irix 5.2, according to T.E. Dickey.
13931 # The functions gethostbyname, getservbyname, and inet_addr are
13932 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13933 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13934 if test "x$ac_cv_func_gethostbyname" = xyes
13935 then :
13939 if test $ac_cv_func_gethostbyname = no; then
13940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13941 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13942 if test ${ac_cv_lib_nsl_gethostbyname+y}
13943 then :
13944 printf %s "(cached) " >&6
13945 else $as_nop
13946 ac_check_lib_save_LIBS=$LIBS
13947 LIBS="-lnsl $LIBS"
13948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13949 /* end confdefs.h. */
13951 /* Override any GCC internal prototype to avoid an error.
13952 Use char because int might match the return type of a GCC
13953 builtin and then its argument prototype would still apply. */
13954 char gethostbyname ();
13956 main (void)
13958 return gethostbyname ();
13960 return 0;
13962 _ACEOF
13963 if ac_fn_c_try_link "$LINENO"
13964 then :
13965 ac_cv_lib_nsl_gethostbyname=yes
13966 else $as_nop
13967 ac_cv_lib_nsl_gethostbyname=no
13969 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13970 conftest$ac_exeext conftest.$ac_ext
13971 LIBS=$ac_check_lib_save_LIBS
13973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13974 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13975 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13976 then :
13977 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13980 if test $ac_cv_lib_nsl_gethostbyname = no; then
13981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13982 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13983 if test ${ac_cv_lib_bsd_gethostbyname+y}
13984 then :
13985 printf %s "(cached) " >&6
13986 else $as_nop
13987 ac_check_lib_save_LIBS=$LIBS
13988 LIBS="-lbsd $LIBS"
13989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13990 /* end confdefs.h. */
13992 /* Override any GCC internal prototype to avoid an error.
13993 Use char because int might match the return type of a GCC
13994 builtin and then its argument prototype would still apply. */
13995 char gethostbyname ();
13997 main (void)
13999 return gethostbyname ();
14001 return 0;
14003 _ACEOF
14004 if ac_fn_c_try_link "$LINENO"
14005 then :
14006 ac_cv_lib_bsd_gethostbyname=yes
14007 else $as_nop
14008 ac_cv_lib_bsd_gethostbyname=no
14010 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14011 conftest$ac_exeext conftest.$ac_ext
14012 LIBS=$ac_check_lib_save_LIBS
14014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14015 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14016 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14017 then :
14018 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14024 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14025 # socket/setsockopt and other routines are undefined under SCO ODT
14026 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14027 # on later versions), says Simon Leinen: it contains gethostby*
14028 # variants that don't use the name server (or something). -lsocket
14029 # must be given before -lnsl if both are needed. We assume that
14030 # if connect needs -lnsl, so does gethostbyname.
14031 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14032 if test "x$ac_cv_func_connect" = xyes
14033 then :
14037 if test $ac_cv_func_connect = no; then
14038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14039 printf %s "checking for connect in -lsocket... " >&6; }
14040 if test ${ac_cv_lib_socket_connect+y}
14041 then :
14042 printf %s "(cached) " >&6
14043 else $as_nop
14044 ac_check_lib_save_LIBS=$LIBS
14045 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14047 /* end confdefs.h. */
14049 /* Override any GCC internal prototype to avoid an error.
14050 Use char because int might match the return type of a GCC
14051 builtin and then its argument prototype would still apply. */
14052 char connect ();
14054 main (void)
14056 return connect ();
14058 return 0;
14060 _ACEOF
14061 if ac_fn_c_try_link "$LINENO"
14062 then :
14063 ac_cv_lib_socket_connect=yes
14064 else $as_nop
14065 ac_cv_lib_socket_connect=no
14067 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14068 conftest$ac_exeext conftest.$ac_ext
14069 LIBS=$ac_check_lib_save_LIBS
14071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14072 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14073 if test "x$ac_cv_lib_socket_connect" = xyes
14074 then :
14075 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14080 # Guillermo Gomez says -lposix is necessary on A/UX.
14081 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14082 if test "x$ac_cv_func_remove" = xyes
14083 then :
14087 if test $ac_cv_func_remove = no; then
14088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14089 printf %s "checking for remove in -lposix... " >&6; }
14090 if test ${ac_cv_lib_posix_remove+y}
14091 then :
14092 printf %s "(cached) " >&6
14093 else $as_nop
14094 ac_check_lib_save_LIBS=$LIBS
14095 LIBS="-lposix $LIBS"
14096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14097 /* end confdefs.h. */
14099 /* Override any GCC internal prototype to avoid an error.
14100 Use char because int might match the return type of a GCC
14101 builtin and then its argument prototype would still apply. */
14102 char remove ();
14104 main (void)
14106 return remove ();
14108 return 0;
14110 _ACEOF
14111 if ac_fn_c_try_link "$LINENO"
14112 then :
14113 ac_cv_lib_posix_remove=yes
14114 else $as_nop
14115 ac_cv_lib_posix_remove=no
14117 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14118 conftest$ac_exeext conftest.$ac_ext
14119 LIBS=$ac_check_lib_save_LIBS
14121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14122 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14123 if test "x$ac_cv_lib_posix_remove" = xyes
14124 then :
14125 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14130 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14131 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14132 if test "x$ac_cv_func_shmat" = xyes
14133 then :
14137 if test $ac_cv_func_shmat = no; then
14138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14139 printf %s "checking for shmat in -lipc... " >&6; }
14140 if test ${ac_cv_lib_ipc_shmat+y}
14141 then :
14142 printf %s "(cached) " >&6
14143 else $as_nop
14144 ac_check_lib_save_LIBS=$LIBS
14145 LIBS="-lipc $LIBS"
14146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14147 /* end confdefs.h. */
14149 /* Override any GCC internal prototype to avoid an error.
14150 Use char because int might match the return type of a GCC
14151 builtin and then its argument prototype would still apply. */
14152 char shmat ();
14154 main (void)
14156 return shmat ();
14158 return 0;
14160 _ACEOF
14161 if ac_fn_c_try_link "$LINENO"
14162 then :
14163 ac_cv_lib_ipc_shmat=yes
14164 else $as_nop
14165 ac_cv_lib_ipc_shmat=no
14167 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14168 conftest$ac_exeext conftest.$ac_ext
14169 LIBS=$ac_check_lib_save_LIBS
14171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14172 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14173 if test "x$ac_cv_lib_ipc_shmat" = xyes
14174 then :
14175 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14181 # Check for libraries that X11R6 Xt/Xaw programs need.
14182 ac_save_LDFLAGS=$LDFLAGS
14183 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14184 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14185 # check for ICE first), but we must link in the order -lSM -lICE or
14186 # we get undefined symbols. So assume we have SM if we have ICE.
14187 # These have to be linked with before -lX11, unlike the other
14188 # libraries we check for below, so use a different variable.
14189 # John Interrante, Karl Berry
14190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14191 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14192 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14193 then :
14194 printf %s "(cached) " >&6
14195 else $as_nop
14196 ac_check_lib_save_LIBS=$LIBS
14197 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14199 /* end confdefs.h. */
14201 /* Override any GCC internal prototype to avoid an error.
14202 Use char because int might match the return type of a GCC
14203 builtin and then its argument prototype would still apply. */
14204 char IceConnectionNumber ();
14206 main (void)
14208 return IceConnectionNumber ();
14210 return 0;
14212 _ACEOF
14213 if ac_fn_c_try_link "$LINENO"
14214 then :
14215 ac_cv_lib_ICE_IceConnectionNumber=yes
14216 else $as_nop
14217 ac_cv_lib_ICE_IceConnectionNumber=no
14219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14220 conftest$ac_exeext conftest.$ac_ext
14221 LIBS=$ac_check_lib_save_LIBS
14223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14224 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14225 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14226 then :
14227 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14230 LDFLAGS=$ac_save_LDFLAGS
14235 if test "$have_x" = "yes"
14236 then
14237 ac_save_CPPFLAGS="$CPPFLAGS"
14238 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14241 printf %s "checking for -lX11... " >&6; }
14242 if test ${ac_cv_lib_soname_X11+y}
14243 then :
14244 printf %s "(cached) " >&6
14245 else $as_nop
14246 ac_check_soname_save_LIBS=$LIBS
14247 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14249 /* end confdefs.h. */
14251 /* Override any GCC internal prototype to avoid an error.
14252 Use char because int might match the return type of a GCC
14253 builtin and then its argument prototype would still apply. */
14254 char XCreateWindow ();
14256 main (void)
14258 return XCreateWindow ();
14260 return 0;
14262 _ACEOF
14263 if ac_fn_c_try_link "$LINENO"
14264 then :
14265 case "$LIBEXT" in
14266 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14267 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'` ;;
14268 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14269 if ${ac_cv_lib_soname_X11:+false} :
14270 then :
14271 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14272 fi ;;
14273 esac
14274 else $as_nop
14275 ac_cv_lib_soname_X11=
14277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14278 conftest$ac_exeext conftest.$ac_ext
14279 LIBS=$ac_check_soname_save_LIBS
14281 if ${ac_cv_lib_soname_X11:+false} :
14282 then :
14283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14284 printf "%s\n" "not found" >&6; }
14286 else $as_nop
14287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14288 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14290 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14295 printf %s "checking for -lXext... " >&6; }
14296 if test ${ac_cv_lib_soname_Xext+y}
14297 then :
14298 printf %s "(cached) " >&6
14299 else $as_nop
14300 ac_check_soname_save_LIBS=$LIBS
14301 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14303 /* end confdefs.h. */
14305 /* Override any GCC internal prototype to avoid an error.
14306 Use char because int might match the return type of a GCC
14307 builtin and then its argument prototype would still apply. */
14308 char XextCreateExtension ();
14310 main (void)
14312 return XextCreateExtension ();
14314 return 0;
14316 _ACEOF
14317 if ac_fn_c_try_link "$LINENO"
14318 then :
14319 case "$LIBEXT" in
14320 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14321 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'` ;;
14322 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14323 if ${ac_cv_lib_soname_Xext:+false} :
14324 then :
14325 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14326 fi ;;
14327 esac
14328 else $as_nop
14329 ac_cv_lib_soname_Xext=
14331 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14332 conftest$ac_exeext conftest.$ac_ext
14333 LIBS=$ac_check_soname_save_LIBS
14335 if ${ac_cv_lib_soname_Xext:+false} :
14336 then :
14337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14338 printf "%s\n" "not found" >&6; }
14340 else $as_nop
14341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14342 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14344 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14346 X_LIBS="$X_LIBS -lXext"
14348 X_LIBS="$X_LIBS -lX11"
14350 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14351 # include <X11/Xlib.h>
14352 #endif
14353 #ifdef HAVE_X11_XUTIL_H
14354 # include <X11/Xutil.h>
14355 #endif
14357 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14358 then :
14359 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14362 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14363 # include <X11/Xlib.h>
14364 #endif
14365 #ifdef HAVE_X11_XUTIL_H
14366 # include <X11/Xutil.h>
14367 #endif
14369 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14370 then :
14371 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14374 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14375 # include <X11/Xlib.h>
14376 #endif
14377 #ifdef HAVE_X11_XUTIL_H
14378 # include <X11/Xutil.h>
14379 #endif
14381 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14382 then :
14383 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14386 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14387 # include <X11/Xlib.h>
14388 #endif
14389 #ifdef HAVE_X11_XUTIL_H
14390 # include <X11/Xutil.h>
14391 #endif
14393 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14394 then :
14395 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14398 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14399 # include <X11/Xlib.h>
14400 #endif
14401 #ifdef HAVE_X11_XUTIL_H
14402 # include <X11/Xutil.h>
14403 #endif
14405 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14406 then :
14407 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14410 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14411 # include <X11/Xlib.h>
14412 #endif
14413 #ifdef HAVE_X11_XUTIL_H
14414 # include <X11/Xutil.h>
14415 #endif
14417 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14418 then :
14419 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14422 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14423 # include <X11/Xlib.h>
14424 #endif
14425 #ifdef HAVE_X11_XUTIL_H
14426 # include <X11/Xutil.h>
14427 #endif
14429 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14430 then :
14431 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14434 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14435 # include <X11/Xlib.h>
14436 #endif
14437 #ifdef HAVE_X11_XUTIL_H
14438 # include <X11/Xutil.h>
14439 #endif
14441 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14442 then :
14443 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14446 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14447 # include <X11/Xlib.h>
14448 #endif
14449 #ifdef HAVE_X11_XUTIL_H
14450 # include <X11/Xutil.h>
14451 #endif
14453 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14454 then :
14455 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14458 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14459 # include <X11/Xlib.h>
14460 #endif
14461 #ifdef HAVE_X11_XUTIL_H
14462 # include <X11/Xutil.h>
14463 #endif
14465 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14466 then :
14467 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14470 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14471 # include <X11/Xlib.h>
14472 #endif
14473 #ifdef HAVE_X11_XUTIL_H
14474 # include <X11/Xutil.h>
14475 #endif
14477 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14478 then :
14479 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14482 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14483 # include <X11/Xlib.h>
14484 #endif
14485 #ifdef HAVE_X11_XUTIL_H
14486 # include <X11/Xutil.h>
14487 #endif
14489 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14490 then :
14491 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14494 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14495 # include <X11/Xlib.h>
14496 #endif
14497 #ifdef HAVE_X11_XUTIL_H
14498 # include <X11/Xutil.h>
14499 #endif
14501 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14502 then :
14503 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14506 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14507 # include <X11/Xlib.h>
14508 #endif
14509 #ifdef HAVE_X11_XUTIL_H
14510 # include <X11/Xutil.h>
14511 #endif
14513 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14514 then :
14515 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14518 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14519 # include <X11/Xlib.h>
14520 #endif
14521 #ifdef HAVE_X11_XUTIL_H
14522 # include <X11/Xutil.h>
14523 #endif
14525 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14526 then :
14527 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14532 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14533 then
14534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14535 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14536 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14537 then :
14538 printf %s "(cached) " >&6
14539 else $as_nop
14540 ac_check_lib_save_LIBS=$LIBS
14541 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14543 /* end confdefs.h. */
14545 /* Override any GCC internal prototype to avoid an error.
14546 Use char because int might match the return type of a GCC
14547 builtin and then its argument prototype would still apply. */
14548 char XkbQueryExtension ();
14550 main (void)
14552 return XkbQueryExtension ();
14554 return 0;
14556 _ACEOF
14557 if ac_fn_c_try_link "$LINENO"
14558 then :
14559 ac_cv_lib_X11_XkbQueryExtension=yes
14560 else $as_nop
14561 ac_cv_lib_X11_XkbQueryExtension=no
14563 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14564 conftest$ac_exeext conftest.$ac_ext
14565 LIBS=$ac_check_lib_save_LIBS
14567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14568 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14569 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14570 then :
14572 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14578 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14579 then
14580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14581 printf %s "checking for -lXcursor... " >&6; }
14582 if test ${ac_cv_lib_soname_Xcursor+y}
14583 then :
14584 printf %s "(cached) " >&6
14585 else $as_nop
14586 ac_check_soname_save_LIBS=$LIBS
14587 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14589 /* end confdefs.h. */
14591 /* Override any GCC internal prototype to avoid an error.
14592 Use char because int might match the return type of a GCC
14593 builtin and then its argument prototype would still apply. */
14594 char XcursorImageLoadCursor ();
14596 main (void)
14598 return XcursorImageLoadCursor ();
14600 return 0;
14602 _ACEOF
14603 if ac_fn_c_try_link "$LINENO"
14604 then :
14605 case "$LIBEXT" in
14606 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14607 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'` ;;
14608 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14609 if ${ac_cv_lib_soname_Xcursor:+false} :
14610 then :
14611 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14612 fi ;;
14613 esac
14614 else $as_nop
14615 ac_cv_lib_soname_Xcursor=
14617 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14618 conftest$ac_exeext conftest.$ac_ext
14619 LIBS=$ac_check_soname_save_LIBS
14621 if ${ac_cv_lib_soname_Xcursor:+false} :
14622 then :
14623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14624 printf "%s\n" "not found" >&6; }
14626 else $as_nop
14627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14628 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14630 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14635 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14636 then :
14637 case "x$with_xcursor" in
14638 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14639 xno) ;;
14640 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14641 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14642 esac
14646 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14647 then
14648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14649 printf %s "checking for -lXi... " >&6; }
14650 if test ${ac_cv_lib_soname_Xi+y}
14651 then :
14652 printf %s "(cached) " >&6
14653 else $as_nop
14654 ac_check_soname_save_LIBS=$LIBS
14655 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14657 /* end confdefs.h. */
14659 /* Override any GCC internal prototype to avoid an error.
14660 Use char because int might match the return type of a GCC
14661 builtin and then its argument prototype would still apply. */
14662 char XOpenDevice ();
14664 main (void)
14666 return XOpenDevice ();
14668 return 0;
14670 _ACEOF
14671 if ac_fn_c_try_link "$LINENO"
14672 then :
14673 case "$LIBEXT" in
14674 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14675 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'` ;;
14676 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14677 if ${ac_cv_lib_soname_Xi:+false} :
14678 then :
14679 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14680 fi ;;
14681 esac
14682 else $as_nop
14683 ac_cv_lib_soname_Xi=
14685 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14686 conftest$ac_exeext conftest.$ac_ext
14687 LIBS=$ac_check_soname_save_LIBS
14689 if ${ac_cv_lib_soname_Xi:+false} :
14690 then :
14691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14692 printf "%s\n" "not found" >&6; }
14694 else $as_nop
14695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14696 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14698 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14703 if test "x$ac_cv_lib_soname_Xi" = "x"
14704 then :
14705 case "x$with_xinput" in
14706 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14707 xno) ;;
14708 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14709 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14710 esac
14714 if test "x$ac_cv_lib_soname_Xi" != x
14715 then
14716 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14717 then :
14718 case "x$with_xinput2" in
14719 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14720 xno) ;;
14721 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14722 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14723 esac
14728 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14729 then
14730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14731 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14732 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14733 then :
14734 printf %s "(cached) " >&6
14735 else $as_nop
14736 ac_check_lib_save_LIBS=$LIBS
14737 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14739 /* end confdefs.h. */
14741 /* Override any GCC internal prototype to avoid an error.
14742 Use char because int might match the return type of a GCC
14743 builtin and then its argument prototype would still apply. */
14744 char XShmQueryExtension ();
14746 main (void)
14748 return XShmQueryExtension ();
14750 return 0;
14752 _ACEOF
14753 if ac_fn_c_try_link "$LINENO"
14754 then :
14755 ac_cv_lib_Xext_XShmQueryExtension=yes
14756 else $as_nop
14757 ac_cv_lib_Xext_XShmQueryExtension=no
14759 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14760 conftest$ac_exeext conftest.$ac_ext
14761 LIBS=$ac_check_lib_save_LIBS
14763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14764 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14765 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14766 then :
14768 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14773 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14774 then :
14775 case "x$with_xshm" in
14776 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14777 xno) ;;
14778 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14779 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14780 esac
14784 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14785 then
14786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14787 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14788 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14789 then :
14790 printf %s "(cached) " >&6
14791 else $as_nop
14792 ac_check_lib_save_LIBS=$LIBS
14793 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14795 /* end confdefs.h. */
14797 /* Override any GCC internal prototype to avoid an error.
14798 Use char because int might match the return type of a GCC
14799 builtin and then its argument prototype would still apply. */
14800 char XShapeQueryExtension ();
14802 main (void)
14804 return XShapeQueryExtension ();
14806 return 0;
14808 _ACEOF
14809 if ac_fn_c_try_link "$LINENO"
14810 then :
14811 ac_cv_lib_Xext_XShapeQueryExtension=yes
14812 else $as_nop
14813 ac_cv_lib_Xext_XShapeQueryExtension=no
14815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14816 conftest$ac_exeext conftest.$ac_ext
14817 LIBS=$ac_check_lib_save_LIBS
14819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14820 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14821 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14822 then :
14824 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14829 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14830 then :
14831 case "x$with_xshape" in
14832 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14833 xno) ;;
14834 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14835 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14836 esac
14840 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14841 then
14842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14843 printf %s "checking for -lXxf86vm... " >&6; }
14844 if test ${ac_cv_lib_soname_Xxf86vm+y}
14845 then :
14846 printf %s "(cached) " >&6
14847 else $as_nop
14848 ac_check_soname_save_LIBS=$LIBS
14849 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14851 /* end confdefs.h. */
14853 /* Override any GCC internal prototype to avoid an error.
14854 Use char because int might match the return type of a GCC
14855 builtin and then its argument prototype would still apply. */
14856 char XF86VidModeQueryExtension ();
14858 main (void)
14860 return XF86VidModeQueryExtension ();
14862 return 0;
14864 _ACEOF
14865 if ac_fn_c_try_link "$LINENO"
14866 then :
14867 case "$LIBEXT" in
14868 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14869 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'` ;;
14870 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14871 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14872 then :
14873 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14874 fi ;;
14875 esac
14876 else $as_nop
14877 ac_cv_lib_soname_Xxf86vm=
14879 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14880 conftest$ac_exeext conftest.$ac_ext
14881 LIBS=$ac_check_soname_save_LIBS
14883 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14884 then :
14885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14886 printf "%s\n" "not found" >&6; }
14888 else $as_nop
14889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14890 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14892 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14897 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14898 then :
14899 case "x$with_xxf86vm" in
14900 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14901 xno) ;;
14902 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14903 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14904 esac
14908 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14909 then
14910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14911 printf %s "checking for -lXrender... " >&6; }
14912 if test ${ac_cv_lib_soname_Xrender+y}
14913 then :
14914 printf %s "(cached) " >&6
14915 else $as_nop
14916 ac_check_soname_save_LIBS=$LIBS
14917 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14919 /* end confdefs.h. */
14921 /* Override any GCC internal prototype to avoid an error.
14922 Use char because int might match the return type of a GCC
14923 builtin and then its argument prototype would still apply. */
14924 char XRenderQueryExtension ();
14926 main (void)
14928 return XRenderQueryExtension ();
14930 return 0;
14932 _ACEOF
14933 if ac_fn_c_try_link "$LINENO"
14934 then :
14935 case "$LIBEXT" in
14936 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14937 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'` ;;
14938 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14939 if ${ac_cv_lib_soname_Xrender:+false} :
14940 then :
14941 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14942 fi ;;
14943 esac
14944 else $as_nop
14945 ac_cv_lib_soname_Xrender=
14947 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14948 conftest$ac_exeext conftest.$ac_ext
14949 LIBS=$ac_check_soname_save_LIBS
14951 if ${ac_cv_lib_soname_Xrender:+false} :
14952 then :
14953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14954 printf "%s\n" "not found" >&6; }
14956 else $as_nop
14957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14958 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14960 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14963 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14964 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14965 then :
14966 printf %s "(cached) " >&6
14967 else $as_nop
14968 ac_check_lib_save_LIBS=$LIBS
14969 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14971 /* end confdefs.h. */
14973 /* Override any GCC internal prototype to avoid an error.
14974 Use char because int might match the return type of a GCC
14975 builtin and then its argument prototype would still apply. */
14976 char XRenderSetPictureTransform ();
14978 main (void)
14980 return XRenderSetPictureTransform ();
14982 return 0;
14984 _ACEOF
14985 if ac_fn_c_try_link "$LINENO"
14986 then :
14987 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14988 else $as_nop
14989 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14992 conftest$ac_exeext conftest.$ac_ext
14993 LIBS=$ac_check_lib_save_LIBS
14995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14996 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14997 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14998 then :
15000 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15005 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15006 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15007 then :
15008 printf %s "(cached) " >&6
15009 else $as_nop
15010 ac_check_lib_save_LIBS=$LIBS
15011 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15013 /* end confdefs.h. */
15015 /* Override any GCC internal prototype to avoid an error.
15016 Use char because int might match the return type of a GCC
15017 builtin and then its argument prototype would still apply. */
15018 char XRenderCreateLinearGradient ();
15020 main (void)
15022 return XRenderCreateLinearGradient ();
15024 return 0;
15026 _ACEOF
15027 if ac_fn_c_try_link "$LINENO"
15028 then :
15029 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15030 else $as_nop
15031 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15033 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15034 conftest$ac_exeext conftest.$ac_ext
15035 LIBS=$ac_check_lib_save_LIBS
15037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15038 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15039 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15040 then :
15042 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15049 if test "x$ac_cv_lib_soname_Xrender" = "x"
15050 then :
15051 case "x$with_xrender" in
15052 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15053 xno) ;;
15054 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15055 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15056 esac
15060 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15061 then
15062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15063 /* end confdefs.h. */
15064 #include <X11/Xlib.h>
15065 #include <X11/extensions/Xrandr.h>
15067 main (void)
15069 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15071 return 0;
15073 _ACEOF
15074 if ac_fn_c_try_compile "$LINENO"
15075 then :
15076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15077 printf %s "checking for -lXrandr... " >&6; }
15078 if test ${ac_cv_lib_soname_Xrandr+y}
15079 then :
15080 printf %s "(cached) " >&6
15081 else $as_nop
15082 ac_check_soname_save_LIBS=$LIBS
15083 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15085 /* end confdefs.h. */
15087 /* Override any GCC internal prototype to avoid an error.
15088 Use char because int might match the return type of a GCC
15089 builtin and then its argument prototype would still apply. */
15090 char XRRQueryExtension ();
15092 main (void)
15094 return XRRQueryExtension ();
15096 return 0;
15098 _ACEOF
15099 if ac_fn_c_try_link "$LINENO"
15100 then :
15101 case "$LIBEXT" in
15102 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15103 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'` ;;
15104 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15105 if ${ac_cv_lib_soname_Xrandr:+false} :
15106 then :
15107 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15108 fi ;;
15109 esac
15110 else $as_nop
15111 ac_cv_lib_soname_Xrandr=
15113 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15114 conftest$ac_exeext conftest.$ac_ext
15115 LIBS=$ac_check_soname_save_LIBS
15117 if ${ac_cv_lib_soname_Xrandr:+false} :
15118 then :
15119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15120 printf "%s\n" "not found" >&6; }
15122 else $as_nop
15123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15124 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15126 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15129 /* end confdefs.h. */
15130 #include <X11/Xlib.h>
15131 #include <X11/extensions/Xrandr.h>
15133 main (void)
15135 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15137 return 0;
15139 _ACEOF
15140 if ac_fn_c_try_compile "$LINENO"
15141 then :
15143 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15145 else $as_nop
15146 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15148 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15151 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15153 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15154 then :
15155 case "x$with_xrandr" in
15156 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15157 xno) ;;
15158 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15159 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15160 esac
15164 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15165 then
15166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15167 /* end confdefs.h. */
15168 #include <X11/Xlib.h>
15169 #include <X11/extensions/Xfixes.h>
15171 main (void)
15173 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15175 return 0;
15177 _ACEOF
15178 if ac_fn_c_try_compile "$LINENO"
15179 then :
15180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15181 printf %s "checking for -lXfixes... " >&6; }
15182 if test ${ac_cv_lib_soname_Xfixes+y}
15183 then :
15184 printf %s "(cached) " >&6
15185 else $as_nop
15186 ac_check_soname_save_LIBS=$LIBS
15187 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15189 /* end confdefs.h. */
15191 /* Override any GCC internal prototype to avoid an error.
15192 Use char because int might match the return type of a GCC
15193 builtin and then its argument prototype would still apply. */
15194 char XFixesQueryVersion ();
15196 main (void)
15198 return XFixesQueryVersion ();
15200 return 0;
15202 _ACEOF
15203 if ac_fn_c_try_link "$LINENO"
15204 then :
15205 case "$LIBEXT" in
15206 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15207 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'` ;;
15208 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15209 if ${ac_cv_lib_soname_Xfixes:+false} :
15210 then :
15211 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15212 fi ;;
15213 esac
15214 else $as_nop
15215 ac_cv_lib_soname_Xfixes=
15217 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15218 conftest$ac_exeext conftest.$ac_ext
15219 LIBS=$ac_check_soname_save_LIBS
15221 if ${ac_cv_lib_soname_Xfixes:+false} :
15222 then :
15223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15224 printf "%s\n" "not found" >&6; }
15226 else $as_nop
15227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15228 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15230 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15235 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15237 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15238 then :
15239 case "x$with_xfixes" in
15240 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15241 xno) ;;
15242 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15243 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15244 esac
15248 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15249 then
15250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15251 /* end confdefs.h. */
15252 #include <X11/Xlib.h>
15253 #include <X11/extensions/Xinerama.h>
15255 main (void)
15257 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15259 return 0;
15261 _ACEOF
15262 if ac_fn_c_try_compile "$LINENO"
15263 then :
15264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15265 printf %s "checking for -lXinerama... " >&6; }
15266 if test ${ac_cv_lib_soname_Xinerama+y}
15267 then :
15268 printf %s "(cached) " >&6
15269 else $as_nop
15270 ac_check_soname_save_LIBS=$LIBS
15271 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15273 /* end confdefs.h. */
15275 /* Override any GCC internal prototype to avoid an error.
15276 Use char because int might match the return type of a GCC
15277 builtin and then its argument prototype would still apply. */
15278 char XineramaQueryScreens ();
15280 main (void)
15282 return XineramaQueryScreens ();
15284 return 0;
15286 _ACEOF
15287 if ac_fn_c_try_link "$LINENO"
15288 then :
15289 case "$LIBEXT" in
15290 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15291 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'` ;;
15292 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15293 if ${ac_cv_lib_soname_Xinerama:+false} :
15294 then :
15295 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15296 fi ;;
15297 esac
15298 else $as_nop
15299 ac_cv_lib_soname_Xinerama=
15301 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15302 conftest$ac_exeext conftest.$ac_ext
15303 LIBS=$ac_check_soname_save_LIBS
15305 if ${ac_cv_lib_soname_Xinerama:+false} :
15306 then :
15307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15308 printf "%s\n" "not found" >&6; }
15310 else $as_nop
15311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15312 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15314 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15319 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15321 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15322 then :
15323 case "x$with_xinerama" in
15324 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15325 xno) ;;
15326 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15327 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15328 esac
15332 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15333 then
15334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15335 printf %s "checking for -lXcomposite... " >&6; }
15336 if test ${ac_cv_lib_soname_Xcomposite+y}
15337 then :
15338 printf %s "(cached) " >&6
15339 else $as_nop
15340 ac_check_soname_save_LIBS=$LIBS
15341 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15343 /* end confdefs.h. */
15345 /* Override any GCC internal prototype to avoid an error.
15346 Use char because int might match the return type of a GCC
15347 builtin and then its argument prototype would still apply. */
15348 char XCompositeRedirectWindow ();
15350 main (void)
15352 return XCompositeRedirectWindow ();
15354 return 0;
15356 _ACEOF
15357 if ac_fn_c_try_link "$LINENO"
15358 then :
15359 case "$LIBEXT" in
15360 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15361 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'` ;;
15362 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15363 if ${ac_cv_lib_soname_Xcomposite:+false} :
15364 then :
15365 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15366 fi ;;
15367 esac
15368 else $as_nop
15369 ac_cv_lib_soname_Xcomposite=
15371 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15372 conftest$ac_exeext conftest.$ac_ext
15373 LIBS=$ac_check_soname_save_LIBS
15375 if ${ac_cv_lib_soname_Xcomposite:+false} :
15376 then :
15377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15378 printf "%s\n" "not found" >&6; }
15380 else $as_nop
15381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15382 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15384 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15389 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15390 then :
15391 case "x$with_xcomposite" in
15392 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15393 xno) ;;
15394 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15395 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15396 esac
15400 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15401 #include <X11/Xlib.h>
15402 #endif
15404 if test "x$ac_cv_member_XICCallback_callback" = xyes
15405 then :
15407 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15411 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15412 #include <X11/Xlib.h>
15413 #endif
15415 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15416 then :
15418 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15425 opengl_msg=""
15426 if test "x$with_opengl" != "xno"
15427 then
15428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15429 printf %s "checking for -lGL... " >&6; }
15430 if test ${ac_cv_lib_soname_GL+y}
15431 then :
15432 printf %s "(cached) " >&6
15433 else $as_nop
15434 ac_check_soname_save_LIBS=$LIBS
15435 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15437 /* end confdefs.h. */
15439 /* Override any GCC internal prototype to avoid an error.
15440 Use char because int might match the return type of a GCC
15441 builtin and then its argument prototype would still apply. */
15442 char glXCreateContext ();
15444 main (void)
15446 return glXCreateContext ();
15448 return 0;
15450 _ACEOF
15451 if ac_fn_c_try_link "$LINENO"
15452 then :
15453 case "$LIBEXT" in
15454 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15455 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'` ;;
15456 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15457 if ${ac_cv_lib_soname_GL:+false} :
15458 then :
15459 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15460 fi ;;
15461 esac
15462 else $as_nop
15463 ac_cv_lib_soname_GL=
15465 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15466 conftest$ac_exeext conftest.$ac_ext
15467 LIBS=$ac_check_soname_save_LIBS
15469 if ${ac_cv_lib_soname_GL:+false} :
15470 then :
15471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15472 printf "%s\n" "not found" >&6; }
15473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15474 printf %s "checking for -lGL... " >&6; }
15475 if test ${ac_cv_lib_soname_GL+y}
15476 then :
15477 printf %s "(cached) " >&6
15478 else $as_nop
15479 ac_check_soname_save_LIBS=$LIBS
15480 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"
15481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15482 /* end confdefs.h. */
15484 /* Override any GCC internal prototype to avoid an error.
15485 Use char because int might match the return type of a GCC
15486 builtin and then its argument prototype would still apply. */
15487 char glXCreateContext ();
15489 main (void)
15491 return glXCreateContext ();
15493 return 0;
15495 _ACEOF
15496 if ac_fn_c_try_link "$LINENO"
15497 then :
15498 case "$LIBEXT" in
15499 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15500 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'` ;;
15501 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15502 if ${ac_cv_lib_soname_GL:+false} :
15503 then :
15504 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15505 fi ;;
15506 esac
15507 else $as_nop
15508 ac_cv_lib_soname_GL=
15510 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15511 conftest$ac_exeext conftest.$ac_ext
15512 LIBS=$ac_check_soname_save_LIBS
15514 if ${ac_cv_lib_soname_GL:+false} :
15515 then :
15516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15517 printf "%s\n" "not found" >&6; }
15518 if test -f /usr/X11R6/lib/libGL.a
15519 then
15520 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15521 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15522 else
15523 opengl_msg="No OpenGL library found on this system."
15525 else $as_nop
15526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15527 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15529 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15531 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"
15533 else $as_nop
15534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15535 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15537 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15539 OPENGL_LIBS="-lGL"
15541 if test "x$with_osmesa" != "xno"
15542 then
15543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15544 printf %s "checking for -lOSMesa... " >&6; }
15545 if test ${ac_cv_lib_soname_OSMesa+y}
15546 then :
15547 printf %s "(cached) " >&6
15548 else $as_nop
15549 ac_check_soname_save_LIBS=$LIBS
15550 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15552 /* end confdefs.h. */
15554 /* Override any GCC internal prototype to avoid an error.
15555 Use char because int might match the return type of a GCC
15556 builtin and then its argument prototype would still apply. */
15557 char OSMesaGetProcAddress ();
15559 main (void)
15561 return OSMesaGetProcAddress ();
15563 return 0;
15565 _ACEOF
15566 if ac_fn_c_try_link "$LINENO"
15567 then :
15568 case "$LIBEXT" in
15569 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15570 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'` ;;
15571 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15572 if ${ac_cv_lib_soname_OSMesa:+false} :
15573 then :
15574 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15575 fi ;;
15576 esac
15577 else $as_nop
15578 ac_cv_lib_soname_OSMesa=
15580 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15581 conftest$ac_exeext conftest.$ac_ext
15582 LIBS=$ac_check_soname_save_LIBS
15584 if ${ac_cv_lib_soname_OSMesa:+false} :
15585 then :
15586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15587 printf "%s\n" "not found" >&6; }
15589 else $as_nop
15590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15591 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15593 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15597 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15598 then :
15599 case "x$with_osmesa" in
15600 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15601 xno) ;;
15602 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15603 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15604 esac
15609 if test -n "$opengl_msg"
15610 then :
15611 case "x$with_opengl" in
15612 x) as_fn_append wine_warnings "|$opengl_msg
15613 OpenGL and Direct3D won't be supported." ;;
15614 xno) ;;
15615 *) as_fn_error $? "$opengl_msg
15616 OpenGL and Direct3D won't be supported.
15617 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15618 esac
15622 CPPFLAGS="$ac_save_CPPFLAGS"
15623 else
15624 X_CFLAGS=""
15625 X_LIBS=""
15628 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15629 then
15630 if test "x$X_LIBS" = "x"
15631 then :
15632 case "x$with_x" in
15633 xno) ;;
15634 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15635 without X support, which probably isn't what you want. You will need
15636 to install ${notice_platform}development packages of Xlib at the very least.
15637 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15638 esac
15639 enable_winex11_drv=${enable_winex11_drv:-no}
15641 else
15642 if test "x$X_LIBS" = "x"
15643 then :
15644 case "x$with_x" in
15645 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15646 xno) ;;
15647 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15648 This is an error since --with-x was requested." "$LINENO" 5 ;;
15649 esac
15650 enable_winex11_drv=${enable_winex11_drv:-no}
15654 if test "$ac_cv_header_CL_cl_h" = "yes"
15655 then
15656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15657 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15658 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15659 then :
15660 printf %s "(cached) " >&6
15661 else $as_nop
15662 ac_check_lib_save_LIBS=$LIBS
15663 LIBS="-lOpenCL $LIBS"
15664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15665 /* end confdefs.h. */
15667 /* Override any GCC internal prototype to avoid an error.
15668 Use char because int might match the return type of a GCC
15669 builtin and then its argument prototype would still apply. */
15670 char clGetPlatformInfo ();
15672 main (void)
15674 return clGetPlatformInfo ();
15676 return 0;
15678 _ACEOF
15679 if ac_fn_c_try_link "$LINENO"
15680 then :
15681 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15682 else $as_nop
15683 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15685 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15686 conftest$ac_exeext conftest.$ac_ext
15687 LIBS=$ac_check_lib_save_LIBS
15689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15690 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15691 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15692 then :
15693 OPENCL_LIBS="-lOpenCL"
15698 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15699 then :
15700 case "x$with_opencl" in
15701 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15702 xno) ;;
15703 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15704 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15705 esac
15706 enable_opencl=${enable_opencl:-no}
15709 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15710 then
15711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15712 printf %s "checking for pcap_create in -lpcap... " >&6; }
15713 if test ${ac_cv_lib_pcap_pcap_create+y}
15714 then :
15715 printf %s "(cached) " >&6
15716 else $as_nop
15717 ac_check_lib_save_LIBS=$LIBS
15718 LIBS="-lpcap $LIBS"
15719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15720 /* end confdefs.h. */
15722 /* Override any GCC internal prototype to avoid an error.
15723 Use char because int might match the return type of a GCC
15724 builtin and then its argument prototype would still apply. */
15725 char pcap_create ();
15727 main (void)
15729 return pcap_create ();
15731 return 0;
15733 _ACEOF
15734 if ac_fn_c_try_link "$LINENO"
15735 then :
15736 ac_cv_lib_pcap_pcap_create=yes
15737 else $as_nop
15738 ac_cv_lib_pcap_pcap_create=no
15740 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15741 conftest$ac_exeext conftest.$ac_ext
15742 LIBS=$ac_check_lib_save_LIBS
15744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15745 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15746 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15747 then :
15748 PCAP_LIBS="-lpcap"
15753 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15754 then :
15755 case "x$with_pcap" in
15756 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15757 xno) ;;
15758 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15759 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15760 esac
15761 enable_wpcap=${enable_wpcap:-no}
15764 if test "x$with_inotify" != "xno"
15765 then
15766 rm -f conftest.err
15767 if ${INOTIFY_CFLAGS:+false} :
15768 then :
15769 if test ${PKG_CONFIG+y}
15770 then :
15771 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15775 if ${INOTIFY_LIBS:+false} :
15776 then :
15777 if test ${PKG_CONFIG+y}
15778 then :
15779 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15784 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15785 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15786 if test -s conftest.err; then
15787 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15788 cat conftest.err >&5
15790 rm -f conftest.err
15791 ac_save_CPPFLAGS=$CPPFLAGS
15792 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15793 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15794 if test "x$ac_cv_header_sys_inotify_h" = xyes
15795 then :
15796 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15801 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15802 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15803 then :
15804 printf %s "(cached) " >&6
15805 else $as_nop
15806 ac_check_lib_save_LIBS=$LIBS
15807 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15809 /* end confdefs.h. */
15811 /* Override any GCC internal prototype to avoid an error.
15812 Use char because int might match the return type of a GCC
15813 builtin and then its argument prototype would still apply. */
15814 char inotify_add_watch ();
15816 main (void)
15818 return inotify_add_watch ();
15820 return 0;
15822 _ACEOF
15823 if ac_fn_c_try_link "$LINENO"
15824 then :
15825 ac_cv_lib_inotify_inotify_add_watch=yes
15826 else $as_nop
15827 ac_cv_lib_inotify_inotify_add_watch=no
15829 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15830 conftest$ac_exeext conftest.$ac_ext
15831 LIBS=$ac_check_lib_save_LIBS
15833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15834 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15835 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15836 then :
15838 else $as_nop
15839 INOTIFY_LIBS=""
15842 CPPFLAGS=$ac_save_CPPFLAGS
15845 if test "$ac_cv_header_sys_inotify_h" != "yes"
15846 then :
15847 case "x$with_inotify" in
15848 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15849 xno) ;;
15850 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15851 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15852 esac
15856 if test "x$with_dbus" != "xno"
15857 then
15858 rm -f conftest.err
15859 if ${DBUS_CFLAGS:+false} :
15860 then :
15861 if test ${PKG_CONFIG+y}
15862 then :
15863 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15867 if ${DBUS_LIBS:+false} :
15868 then :
15869 if test ${PKG_CONFIG+y}
15870 then :
15871 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15876 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15877 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15878 if test -s conftest.err; then
15879 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15880 cat conftest.err >&5
15882 rm -f conftest.err
15883 ac_save_CPPFLAGS=$CPPFLAGS
15884 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15885 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15886 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15887 then :
15888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15889 printf %s "checking for -ldbus-1... " >&6; }
15890 if test ${ac_cv_lib_soname_dbus_1+y}
15891 then :
15892 printf %s "(cached) " >&6
15893 else $as_nop
15894 ac_check_soname_save_LIBS=$LIBS
15895 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15897 /* end confdefs.h. */
15899 /* Override any GCC internal prototype to avoid an error.
15900 Use char because int might match the return type of a GCC
15901 builtin and then its argument prototype would still apply. */
15902 char dbus_connection_close ();
15904 main (void)
15906 return dbus_connection_close ();
15908 return 0;
15910 _ACEOF
15911 if ac_fn_c_try_link "$LINENO"
15912 then :
15913 case "$LIBEXT" in
15914 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15915 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'` ;;
15916 *) 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'`
15917 if ${ac_cv_lib_soname_dbus_1:+false} :
15918 then :
15919 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15920 fi ;;
15921 esac
15922 else $as_nop
15923 ac_cv_lib_soname_dbus_1=
15925 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15926 conftest$ac_exeext conftest.$ac_ext
15927 LIBS=$ac_check_soname_save_LIBS
15929 if ${ac_cv_lib_soname_dbus_1:+false} :
15930 then :
15931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15932 printf "%s\n" "not found" >&6; }
15933 DBUS_CFLAGS=""
15934 else $as_nop
15935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15936 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15938 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15942 else $as_nop
15943 DBUS_CFLAGS=""
15946 CPPFLAGS=$ac_save_CPPFLAGS
15949 case $host_os in
15950 darwin*|macosx*) ;;
15951 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
15952 then :
15953 case "x$with_dbus" in
15954 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
15955 xno) ;;
15956 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
15957 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
15958 esac
15960 fi ;;
15961 esac
15963 if test "x$with_gnutls" != "xno"
15964 then
15965 rm -f conftest.err
15966 if ${GNUTLS_CFLAGS:+false} :
15967 then :
15968 if test ${PKG_CONFIG+y}
15969 then :
15970 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
15974 if ${GNUTLS_LIBS:+false} :
15975 then :
15976 if test ${PKG_CONFIG+y}
15977 then :
15978 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
15982 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
15983 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
15984 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
15985 if test -s conftest.err; then
15986 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
15987 cat conftest.err >&5
15989 rm -f conftest.err
15990 ac_save_CPPFLAGS=$CPPFLAGS
15991 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
15992 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
15993 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
15994 then :
15995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15996 /* end confdefs.h. */
15997 #include <gnutls/gnutls.h>
15998 #include <gnutls/crypto.h>
16000 main (void)
16002 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16004 return 0;
16006 _ACEOF
16007 if ac_fn_c_try_compile "$LINENO"
16008 then :
16009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16010 printf %s "checking for -lgnutls... " >&6; }
16011 if test ${ac_cv_lib_soname_gnutls+y}
16012 then :
16013 printf %s "(cached) " >&6
16014 else $as_nop
16015 ac_check_soname_save_LIBS=$LIBS
16016 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16018 /* end confdefs.h. */
16020 /* Override any GCC internal prototype to avoid an error.
16021 Use char because int might match the return type of a GCC
16022 builtin and then its argument prototype would still apply. */
16023 char gnutls_global_init ();
16025 main (void)
16027 return gnutls_global_init ();
16029 return 0;
16031 _ACEOF
16032 if ac_fn_c_try_link "$LINENO"
16033 then :
16034 case "$LIBEXT" in
16035 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16036 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'` ;;
16037 *) 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'`
16038 if ${ac_cv_lib_soname_gnutls:+false} :
16039 then :
16040 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'`
16041 fi ;;
16042 esac
16043 else $as_nop
16044 ac_cv_lib_soname_gnutls=
16046 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16047 conftest$ac_exeext conftest.$ac_ext
16048 LIBS=$ac_check_soname_save_LIBS
16050 if ${ac_cv_lib_soname_gnutls:+false} :
16051 then :
16052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16053 printf "%s\n" "not found" >&6; }
16054 GNUTLS_CFLAGS=""
16055 else $as_nop
16056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16057 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16059 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16063 ac_wine_check_funcs_save_LIBS="$LIBS"
16064 LIBS="$LIBS $GNUTLS_LIBS"
16066 for ac_func in gnutls_cipher_init
16067 do :
16068 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16069 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16070 then :
16071 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16073 else $as_nop
16074 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16077 done
16078 LIBS="$ac_wine_check_funcs_save_LIBS"
16080 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16081 else $as_nop
16082 GNUTLS_CFLAGS=""
16085 CPPFLAGS=$ac_save_CPPFLAGS
16088 if test "x$ac_cv_lib_soname_gnutls" = "x"
16089 then :
16090 case "x$with_gnutls" in
16091 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16092 xno) ;;
16093 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16094 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16095 esac
16099 if test "x$with_sane" != "xno"
16100 then
16101 rm -f conftest.err
16102 if ${SANE_CFLAGS:+false} :
16103 then :
16104 if test ${PKG_CONFIG+y}
16105 then :
16106 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16109 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16110 if ${SANE_LIBS:+false} :
16111 then :
16112 if test ${PKG_CONFIG+y}
16113 then :
16114 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16117 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16119 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16120 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16121 if test -s conftest.err; then
16122 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16123 cat conftest.err >&5
16125 rm -f conftest.err
16126 ac_save_CPPFLAGS=$CPPFLAGS
16127 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16128 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16129 if test "x$ac_cv_header_sane_sane_h" = xyes
16130 then :
16131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16132 printf %s "checking for sane_init in -lsane... " >&6; }
16133 if test ${ac_cv_lib_sane_sane_init+y}
16134 then :
16135 printf %s "(cached) " >&6
16136 else $as_nop
16137 ac_check_lib_save_LIBS=$LIBS
16138 LIBS="-lsane $SANE_LIBS $LIBS"
16139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16140 /* end confdefs.h. */
16142 /* Override any GCC internal prototype to avoid an error.
16143 Use char because int might match the return type of a GCC
16144 builtin and then its argument prototype would still apply. */
16145 char sane_init ();
16147 main (void)
16149 return sane_init ();
16151 return 0;
16153 _ACEOF
16154 if ac_fn_c_try_link "$LINENO"
16155 then :
16156 ac_cv_lib_sane_sane_init=yes
16157 else $as_nop
16158 ac_cv_lib_sane_sane_init=no
16160 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16161 conftest$ac_exeext conftest.$ac_ext
16162 LIBS=$ac_check_lib_save_LIBS
16164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16165 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16166 if test "x$ac_cv_lib_sane_sane_init" = xyes
16167 then :
16173 CPPFLAGS=$ac_save_CPPFLAGS
16176 if test "$ac_cv_lib_sane_sane_init" != "yes"
16177 then :
16178 case "x$with_sane" in
16179 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16180 xno) ;;
16181 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16182 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16183 esac
16184 enable_sane_ds=${enable_sane_ds:-no}
16187 if test "x$with_usb" != "xno"
16188 then
16189 rm -f conftest.err
16190 if ${USB_CFLAGS:+false} :
16191 then :
16192 if test ${PKG_CONFIG+y}
16193 then :
16194 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16198 if ${USB_LIBS:+false} :
16199 then :
16200 if test ${PKG_CONFIG+y}
16201 then :
16202 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16206 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16207 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16208 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16209 if test -s conftest.err; then
16210 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16211 cat conftest.err >&5
16213 rm -f conftest.err
16214 ac_save_CPPFLAGS=$CPPFLAGS
16215 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16216 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16217 if test "x$ac_cv_header_libusb_h" = xyes
16218 then :
16219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16220 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16221 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16222 then :
16223 printf %s "(cached) " >&6
16224 else $as_nop
16225 ac_check_lib_save_LIBS=$LIBS
16226 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16228 /* end confdefs.h. */
16230 /* Override any GCC internal prototype to avoid an error.
16231 Use char because int might match the return type of a GCC
16232 builtin and then its argument prototype would still apply. */
16233 char libusb_interrupt_event_handler ();
16235 main (void)
16237 return libusb_interrupt_event_handler ();
16239 return 0;
16241 _ACEOF
16242 if ac_fn_c_try_link "$LINENO"
16243 then :
16244 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16245 else $as_nop
16246 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16248 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16249 conftest$ac_exeext conftest.$ac_ext
16250 LIBS=$ac_check_lib_save_LIBS
16252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16253 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16254 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16255 then :
16257 else $as_nop
16258 USB_LIBS=""
16261 else $as_nop
16262 USB_LIBS=""
16265 CPPFLAGS=$ac_save_CPPFLAGS
16268 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16269 then :
16270 case "x$with_usb" in
16271 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16272 xno) ;;
16273 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16274 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16275 esac
16276 enable_wineusb_sys=${enable_wineusb_sys:-no}
16279 if test "x$with_v4l2" != "xno"
16280 then
16281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16282 printf %s "checking for -lv4l2... " >&6; }
16283 if test ${ac_cv_lib_soname_v4l2+y}
16284 then :
16285 printf %s "(cached) " >&6
16286 else $as_nop
16287 ac_check_soname_save_LIBS=$LIBS
16288 LIBS="-lv4l2 $LIBS"
16289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16290 /* end confdefs.h. */
16292 /* Override any GCC internal prototype to avoid an error.
16293 Use char because int might match the return type of a GCC
16294 builtin and then its argument prototype would still apply. */
16295 char v4l2_open ();
16297 main (void)
16299 return v4l2_open ();
16301 return 0;
16303 _ACEOF
16304 if ac_fn_c_try_link "$LINENO"
16305 then :
16306 case "$LIBEXT" in
16307 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16308 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'` ;;
16309 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16310 if ${ac_cv_lib_soname_v4l2:+false} :
16311 then :
16312 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16313 fi ;;
16314 esac
16315 else $as_nop
16316 ac_cv_lib_soname_v4l2=
16318 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16319 conftest$ac_exeext conftest.$ac_ext
16320 LIBS=$ac_check_soname_save_LIBS
16322 if ${ac_cv_lib_soname_v4l2:+false} :
16323 then :
16324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16325 printf "%s\n" "not found" >&6; }
16327 else $as_nop
16328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16329 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16331 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16336 if test "x$ac_cv_lib_soname_v4l2" = "x"
16337 then :
16338 case "x$with_v4l2" in
16339 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16340 xno) ;;
16341 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16342 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16343 esac
16347 if test "x$with_gphoto" != "xno"
16348 then
16349 rm -f conftest.err
16350 if ${GPHOTO2_CFLAGS:+false} :
16351 then :
16352 if test ${PKG_CONFIG+y}
16353 then :
16354 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16357 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16358 if ${GPHOTO2_LIBS:+false} :
16359 then :
16360 if test ${PKG_CONFIG+y}
16361 then :
16362 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16365 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16366 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16367 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16368 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16369 if test -s conftest.err; then
16370 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16371 cat conftest.err >&5
16373 rm -f conftest.err
16374 ac_save_CPPFLAGS=$CPPFLAGS
16375 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16376 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16377 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16378 then :
16379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16380 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16381 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16382 then :
16383 printf %s "(cached) " >&6
16384 else $as_nop
16385 ac_check_lib_save_LIBS=$LIBS
16386 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16388 /* end confdefs.h. */
16390 /* Override any GCC internal prototype to avoid an error.
16391 Use char because int might match the return type of a GCC
16392 builtin and then its argument prototype would still apply. */
16393 char gp_camera_new ();
16395 main (void)
16397 return gp_camera_new ();
16399 return 0;
16401 _ACEOF
16402 if ac_fn_c_try_link "$LINENO"
16403 then :
16404 ac_cv_lib_gphoto2_gp_camera_new=yes
16405 else $as_nop
16406 ac_cv_lib_gphoto2_gp_camera_new=no
16408 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16409 conftest$ac_exeext conftest.$ac_ext
16410 LIBS=$ac_check_lib_save_LIBS
16412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16413 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16414 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16415 then :
16421 CPPFLAGS=$ac_save_CPPFLAGS
16423 rm -f conftest.err
16424 if ${GPHOTO2_PORT_CFLAGS:+false} :
16425 then :
16426 if test ${PKG_CONFIG+y}
16427 then :
16428 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16431 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16432 if ${GPHOTO2_PORT_LIBS:+false} :
16433 then :
16434 if test ${PKG_CONFIG+y}
16435 then :
16436 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16439 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16440 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16441 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16442 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16443 if test -s conftest.err; then
16444 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16445 cat conftest.err >&5
16447 rm -f conftest.err
16448 ac_save_CPPFLAGS=$CPPFLAGS
16449 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16450 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16451 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16452 then :
16453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16454 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16455 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16456 then :
16457 printf %s "(cached) " >&6
16458 else $as_nop
16459 ac_check_lib_save_LIBS=$LIBS
16460 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16462 /* end confdefs.h. */
16464 /* Override any GCC internal prototype to avoid an error.
16465 Use char because int might match the return type of a GCC
16466 builtin and then its argument prototype would still apply. */
16467 char gp_port_info_list_new ();
16469 main (void)
16471 return gp_port_info_list_new ();
16473 return 0;
16475 _ACEOF
16476 if ac_fn_c_try_link "$LINENO"
16477 then :
16478 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16479 else $as_nop
16480 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16482 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16483 conftest$ac_exeext conftest.$ac_ext
16484 LIBS=$ac_check_lib_save_LIBS
16486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16487 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16488 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16489 then :
16491 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16493 else $as_nop
16494 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16497 else $as_nop
16498 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16501 CPPFLAGS=$ac_save_CPPFLAGS
16504 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16505 then :
16506 case "x$with_gphoto" in
16507 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16508 xno) ;;
16509 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16510 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16511 esac
16512 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16514 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16515 then :
16516 case "x$with_gphoto" in
16517 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16518 xno) ;;
16519 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16520 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16521 esac
16526 if test "$ac_cv_header_resolv_h" = "yes"
16527 then
16528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16529 printf %s "checking for resolver library... " >&6; }
16530 if test ${ac_cv_have_resolv+y}
16531 then :
16532 printf %s "(cached) " >&6
16533 else $as_nop
16534 ac_save_LIBS="$LIBS"
16535 for lib in '' -lresolv
16537 LIBS="$lib $ac_save_LIBS"
16538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16539 /* end confdefs.h. */
16540 #ifdef HAVE_NETINET_IN_H
16541 #include <netinet/in.h>
16542 #endif
16543 #include <resolv.h>
16545 main (void)
16547 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16549 return 0;
16551 _ACEOF
16552 if ac_fn_c_try_link "$LINENO"
16553 then :
16554 ac_cv_have_resolv=${lib:-"none required"}
16555 else $as_nop
16556 ac_cv_have_resolv="not found"
16558 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16559 conftest$ac_exeext conftest.$ac_ext
16560 test "x$ac_cv_have_resolv" = "xnot found" || break
16561 done
16562 LIBS="$ac_save_LIBS"
16564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16565 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16567 case "$ac_cv_have_resolv" in
16568 "not found") ;;
16569 "none required")
16571 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16574 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16576 RESOLV_LIBS=$ac_cv_have_resolv
16578 esac
16580 if test "x$ac_cv_have_resolv" != "xnot found"
16581 then
16582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16583 printf %s "checking for res_getservers... " >&6; }
16584 if test ${ac_cv_have_res_getservers+y}
16585 then :
16586 printf %s "(cached) " >&6
16587 else $as_nop
16588 ac_save_LIBS="$LIBS"
16589 LIBS="$RESOLV_LIBS $LIBS"
16590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16591 /* end confdefs.h. */
16592 #include <resolv.h>
16594 main (void)
16596 res_getservers(NULL, NULL, 0);
16598 return 0;
16600 _ACEOF
16601 if ac_fn_c_try_link "$LINENO"
16602 then :
16603 ac_cv_have_res_getservers=yes
16604 else $as_nop
16605 ac_cv_have_res_getservers=no
16607 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16608 conftest$ac_exeext conftest.$ac_ext
16609 LIBS="$ac_save_LIBS"
16611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16612 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16613 if test "$ac_cv_have_res_getservers" = "yes"
16614 then
16616 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16622 if test "x$with_freetype" != "xno"
16623 then
16624 rm -f conftest.err
16625 if ${FREETYPE_CFLAGS:+false} :
16626 then :
16627 if test ${PKG_CONFIG+y}
16628 then :
16629 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16632 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16633 if ${FREETYPE_LIBS:+false} :
16634 then :
16635 if test ${PKG_CONFIG+y}
16636 then :
16637 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16640 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16641 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16642 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16643 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16644 if test -s conftest.err; then
16645 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16646 cat conftest.err >&5
16648 rm -f conftest.err
16649 ac_save_CPPFLAGS=$CPPFLAGS
16650 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16651 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16652 if test "x$ac_cv_header_ft2build_h" = xyes
16653 then :
16654 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16658 if test "$ac_cv_header_ft2build_h" = "yes"
16659 then
16660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16661 printf %s "checking for -lfreetype... " >&6; }
16662 if test ${ac_cv_lib_soname_freetype+y}
16663 then :
16664 printf %s "(cached) " >&6
16665 else $as_nop
16666 ac_check_soname_save_LIBS=$LIBS
16667 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16669 /* end confdefs.h. */
16671 /* Override any GCC internal prototype to avoid an error.
16672 Use char because int might match the return type of a GCC
16673 builtin and then its argument prototype would still apply. */
16674 char FT_Init_FreeType ();
16676 main (void)
16678 return FT_Init_FreeType ();
16680 return 0;
16682 _ACEOF
16683 if ac_fn_c_try_link "$LINENO"
16684 then :
16685 case "$LIBEXT" in
16686 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16687 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'` ;;
16688 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16689 if ${ac_cv_lib_soname_freetype:+false} :
16690 then :
16691 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16692 fi ;;
16693 esac
16694 else $as_nop
16695 ac_cv_lib_soname_freetype=
16697 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16698 conftest$ac_exeext conftest.$ac_ext
16699 LIBS=$ac_check_soname_save_LIBS
16701 if ${ac_cv_lib_soname_freetype:+false} :
16702 then :
16703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16704 printf "%s\n" "not found" >&6; }
16705 FREETYPE_LIBS=""
16706 else $as_nop
16707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16708 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16710 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16713 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16715 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16716 #include FT_MODULE_H
16718 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16719 then :
16721 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16727 else
16728 FREETYPE_CFLAGS=""
16729 FREETYPE_LIBS=""
16731 CPPFLAGS=$ac_save_CPPFLAGS
16734 if test "x$ac_cv_lib_soname_freetype" = x
16735 then :
16736 case "x$with_freetype" in
16737 xno) ;;
16738 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16739 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16740 esac
16741 enable_fonts=${enable_fonts:-no}
16744 ac_wine_check_funcs_save_LIBS="$LIBS"
16745 LIBS="$LIBS $PTHREAD_LIBS"
16746 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16747 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16748 then :
16749 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16753 LIBS="$ac_wine_check_funcs_save_LIBS"
16755 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16756 then
16757 if test "$ac_cv_header_gettext_po_h" = "yes"
16758 then
16759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16760 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16761 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16762 then :
16763 printf %s "(cached) " >&6
16764 else $as_nop
16765 ac_check_lib_save_LIBS=$LIBS
16766 LIBS="-lgettextpo $LIBS"
16767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16768 /* end confdefs.h. */
16770 /* Override any GCC internal prototype to avoid an error.
16771 Use char because int might match the return type of a GCC
16772 builtin and then its argument prototype would still apply. */
16773 char po_message_msgctxt ();
16775 main (void)
16777 return po_message_msgctxt ();
16779 return 0;
16781 _ACEOF
16782 if ac_fn_c_try_link "$LINENO"
16783 then :
16784 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16785 else $as_nop
16786 ac_cv_lib_gettextpo_po_message_msgctxt=no
16788 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16789 conftest$ac_exeext conftest.$ac_ext
16790 LIBS=$ac_check_lib_save_LIBS
16792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16793 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16794 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16795 then :
16797 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16799 GETTEXTPO_LIBS="-lgettextpo"
16804 if test "x$GETTEXTPO_LIBS" = "x"
16805 then :
16806 case "x$with_gettextpo" in
16807 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16808 xno) ;;
16809 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16810 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16811 esac
16814 if test "$srcdir" != .
16815 then :
16816 case "x$with_gettextpo" in
16817 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16818 xno) ;;
16819 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16820 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16821 esac
16826 if test "x$with_pulse" != "xno";
16827 then
16828 rm -f conftest.err
16829 if ${PULSE_CFLAGS:+false} :
16830 then :
16831 if test ${PKG_CONFIG+y}
16832 then :
16833 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16837 if ${PULSE_LIBS:+false} :
16838 then :
16839 if test ${PKG_CONFIG+y}
16840 then :
16841 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16846 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16847 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16848 if test -s conftest.err; then
16849 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16850 cat conftest.err >&5
16852 rm -f conftest.err
16853 ac_save_CPPFLAGS=$CPPFLAGS
16854 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16855 for ac_header in pulse/pulseaudio.h
16856 do :
16857 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16858 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16859 then :
16860 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16862 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16863 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16864 then :
16865 printf %s "(cached) " >&6
16866 else $as_nop
16867 ac_check_lib_save_LIBS=$LIBS
16868 LIBS="-lpulse $PULSE_LIBS $LIBS"
16869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16870 /* end confdefs.h. */
16872 /* Override any GCC internal prototype to avoid an error.
16873 Use char because int might match the return type of a GCC
16874 builtin and then its argument prototype would still apply. */
16875 char pa_stream_is_corked ();
16877 main (void)
16879 return pa_stream_is_corked ();
16881 return 0;
16883 _ACEOF
16884 if ac_fn_c_try_link "$LINENO"
16885 then :
16886 ac_cv_lib_pulse_pa_stream_is_corked=yes
16887 else $as_nop
16888 ac_cv_lib_pulse_pa_stream_is_corked=no
16890 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16891 conftest$ac_exeext conftest.$ac_ext
16892 LIBS=$ac_check_lib_save_LIBS
16894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16895 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16896 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16897 then :
16899 else $as_nop
16900 PULSE_LIBS=""
16903 else $as_nop
16904 PULSE_LIBS=""
16907 done
16908 CPPFLAGS=$ac_save_CPPFLAGS
16911 if test -z "$PULSE_LIBS"
16912 then :
16913 case "x$with_pulse" in
16914 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16915 xno) ;;
16916 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16917 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16918 esac
16919 enable_winepulse_drv=${enable_winepulse_drv:-no}
16922 if test "x$with_gstreamer" != "xno"
16923 then
16924 rm -f conftest.err
16925 if ${GSTREAMER_CFLAGS:+false} :
16926 then :
16927 if test ${PKG_CONFIG+y}
16928 then :
16929 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
16933 if ${GSTREAMER_LIBS:+false} :
16934 then :
16935 if test ${PKG_CONFIG+y}
16936 then :
16937 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
16942 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
16943 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
16944 if test -s conftest.err; then
16945 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
16946 cat conftest.err >&5
16948 rm -f conftest.err
16949 ac_save_CPPFLAGS=$CPPFLAGS
16950 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16951 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16952 if test "x$ac_cv_header_gst_gst_h" = xyes
16953 then :
16954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16955 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16957 /* end confdefs.h. */
16958 #include <gst/gst.h>
16960 main (void)
16962 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16964 return 0;
16966 _ACEOF
16967 if ac_fn_c_try_compile "$LINENO"
16968 then :
16969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16970 printf "%s\n" "yes" >&6; }
16971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
16972 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
16973 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
16974 then :
16975 printf %s "(cached) " >&6
16976 else $as_nop
16977 ac_check_lib_save_LIBS=$LIBS
16978 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
16979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16980 /* end confdefs.h. */
16982 /* Override any GCC internal prototype to avoid an error.
16983 Use char because int might match the return type of a GCC
16984 builtin and then its argument prototype would still apply. */
16985 char gst_pad_new ();
16987 main (void)
16989 return gst_pad_new ();
16991 return 0;
16993 _ACEOF
16994 if ac_fn_c_try_link "$LINENO"
16995 then :
16996 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
16997 else $as_nop
16998 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17000 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17001 conftest$ac_exeext conftest.$ac_ext
17002 LIBS=$ac_check_lib_save_LIBS
17004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17005 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17006 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17007 then :
17011 else $as_nop
17012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17013 printf "%s\n" "no" >&6; }
17014 ac_glib2_broken=yes
17015 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17017 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17020 CPPFLAGS=$ac_save_CPPFLAGS
17023 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17024 then :
17025 case "x$with_gstreamer" in
17026 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17027 xno) ;;
17028 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17029 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17030 esac
17031 enable_winegstreamer=${enable_winegstreamer:-no}
17034 ALSA_LIBS=""
17036 if test "x$with_alsa" != "xno"
17037 then
17038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17039 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17040 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17041 then :
17042 printf %s "(cached) " >&6
17043 else $as_nop
17044 ac_check_lib_save_LIBS=$LIBS
17045 LIBS="-lasound $LIBS"
17046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17047 /* end confdefs.h. */
17049 /* Override any GCC internal prototype to avoid an error.
17050 Use char because int might match the return type of a GCC
17051 builtin and then its argument prototype would still apply. */
17052 char snd_pcm_hw_params_get_access_mask ();
17054 main (void)
17056 return snd_pcm_hw_params_get_access_mask ();
17058 return 0;
17060 _ACEOF
17061 if ac_fn_c_try_link "$LINENO"
17062 then :
17063 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17064 else $as_nop
17065 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17067 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17068 conftest$ac_exeext conftest.$ac_ext
17069 LIBS=$ac_check_lib_save_LIBS
17071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17072 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17073 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17074 then :
17075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17076 /* end confdefs.h. */
17077 #include <alsa/asoundlib.h>
17079 main (void)
17081 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17083 return 0;
17085 _ACEOF
17086 if ac_fn_c_try_compile "$LINENO"
17087 then :
17088 ALSA_LIBS="-lasound"
17090 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17094 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17096 if test "x$with_oss" != xno
17097 then
17098 ac_save_CPPFLAGS="$CPPFLAGS"
17099 if test -f /etc/oss.conf
17100 then
17101 . /etc/oss.conf
17103 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17104 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17105 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17106 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17107 then :
17108 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17110 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17111 then :
17113 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17115 OSS4_CFLAGS="$ac_oss_incl"
17117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17118 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17119 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17120 then :
17121 printf %s "(cached) " >&6
17122 else $as_nop
17123 ac_check_lib_save_LIBS=$LIBS
17124 LIBS="-lossaudio $LIBS"
17125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17126 /* end confdefs.h. */
17128 /* Override any GCC internal prototype to avoid an error.
17129 Use char because int might match the return type of a GCC
17130 builtin and then its argument prototype would still apply. */
17131 char _oss_ioctl ();
17133 main (void)
17135 return _oss_ioctl ();
17137 return 0;
17139 _ACEOF
17140 if ac_fn_c_try_link "$LINENO"
17141 then :
17142 ac_cv_lib_ossaudio__oss_ioctl=yes
17143 else $as_nop
17144 ac_cv_lib_ossaudio__oss_ioctl=no
17146 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17147 conftest$ac_exeext conftest.$ac_ext
17148 LIBS=$ac_check_lib_save_LIBS
17150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17151 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17152 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17153 then :
17154 OSS4_LIBS="-lossaudio"
17162 CPPFLAGS="$ac_save_CPPFLAGS"
17164 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17165 then :
17166 case "x$with_oss" in
17167 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17168 xno) ;;
17169 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17170 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17171 esac
17172 enable_wineoss_drv=${enable_wineoss_drv:-no}
17175 if test "x$with_udev" != "xno"
17176 then
17177 rm -f conftest.err
17178 if ${UDEV_CFLAGS:+false} :
17179 then :
17180 if test ${PKG_CONFIG+y}
17181 then :
17182 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17186 if ${UDEV_LIBS:+false} :
17187 then :
17188 if test ${PKG_CONFIG+y}
17189 then :
17190 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17194 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17195 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17196 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17197 if test -s conftest.err; then
17198 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17199 cat conftest.err >&5
17201 rm -f conftest.err
17202 ac_save_CPPFLAGS=$CPPFLAGS
17203 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17204 for ac_header in libudev.h
17205 do :
17206 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17207 if test "x$ac_cv_header_libudev_h" = xyes
17208 then :
17209 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17211 printf %s "checking for udev_new in -ludev... " >&6; }
17212 if test ${ac_cv_lib_udev_udev_new+y}
17213 then :
17214 printf %s "(cached) " >&6
17215 else $as_nop
17216 ac_check_lib_save_LIBS=$LIBS
17217 LIBS="-ludev $UDEV_LIBS $LIBS"
17218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17219 /* end confdefs.h. */
17221 /* Override any GCC internal prototype to avoid an error.
17222 Use char because int might match the return type of a GCC
17223 builtin and then its argument prototype would still apply. */
17224 char udev_new ();
17226 main (void)
17228 return udev_new ();
17230 return 0;
17232 _ACEOF
17233 if ac_fn_c_try_link "$LINENO"
17234 then :
17235 ac_cv_lib_udev_udev_new=yes
17236 else $as_nop
17237 ac_cv_lib_udev_udev_new=no
17239 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17240 conftest$ac_exeext conftest.$ac_ext
17241 LIBS=$ac_check_lib_save_LIBS
17243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17244 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17245 if test "x$ac_cv_lib_udev_udev_new" = xyes
17246 then :
17248 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17250 else $as_nop
17251 UDEV_LIBS=""
17254 else $as_nop
17255 UDEV_LIBS=""
17258 done
17259 CPPFLAGS=$ac_save_CPPFLAGS
17262 if test "x$UDEV_LIBS" = "x"
17263 then :
17264 case "x$with_udev" in
17265 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17266 xno) ;;
17267 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17268 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17269 esac
17273 if test "x$with_unwind" != xno
17274 then
17275 rm -f conftest.err
17276 if ${UNWIND_CFLAGS:+false} :
17277 then :
17278 if test ${PKG_CONFIG+y}
17279 then :
17280 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17284 if ${UNWIND_LIBS:+false} :
17285 then :
17286 if test ${PKG_CONFIG+y}
17287 then :
17288 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17292 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17293 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17294 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17295 if test -s conftest.err; then
17296 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17297 cat conftest.err >&5
17299 rm -f conftest.err
17300 ac_save_CPPFLAGS=$CPPFLAGS
17301 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17303 printf %s "checking for unw_step... " >&6; }
17304 if test ${wine_cv_have_unw_step+y}
17305 then :
17306 printf %s "(cached) " >&6
17307 else $as_nop
17308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17309 /* end confdefs.h. */
17310 #define UNW_LOCAL_ONLY
17311 #include <libunwind.h>
17313 main (void)
17315 unw_cursor_t cursor; unw_step( &cursor );
17317 return 0;
17319 _ACEOF
17320 if ac_fn_c_try_link "$LINENO"
17321 then :
17322 wine_cv_have_unw_step="yes"
17323 else $as_nop
17324 wine_cv_have_unw_step="no"
17326 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17327 conftest$ac_exeext conftest.$ac_ext
17329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17330 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17331 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17332 then
17333 save_libs=$LIBS
17334 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17335 LIBS="$UNWIND_LIBS $LIBS"
17336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17337 printf %s "checking for unw_step in libunwind... " >&6; }
17338 if test ${wine_cv_have_libunwind_unw_step+y}
17339 then :
17340 printf %s "(cached) " >&6
17341 else $as_nop
17342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17343 /* end confdefs.h. */
17344 #define UNW_LOCAL_ONLY
17345 #include <libunwind.h>
17347 main (void)
17349 unw_cursor_t cursor; unw_step( &cursor );
17351 return 0;
17353 _ACEOF
17354 if ac_fn_c_try_link "$LINENO"
17355 then :
17356 wine_cv_have_libunwind_unw_step="yes"
17357 else $as_nop
17358 wine_cv_have_libunwind_unw_step="no"
17360 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17361 conftest$ac_exeext conftest.$ac_ext
17363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17364 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17365 LIBS=$save_libs
17367 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17368 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17369 then
17371 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17374 CPPFLAGS=$ac_save_CPPFLAGS
17377 case $host in
17378 aarch64*|*-darwin*)
17379 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17380 then :
17381 case "x$with_unwind" in
17382 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17383 xno) ;;
17384 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17385 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17386 esac
17388 fi ;;
17389 esac
17391 if test "x$with_sdl" != "xno"
17392 then
17393 rm -f conftest.err
17394 if ${SDL2_CFLAGS:+false} :
17395 then :
17396 if test ${PKG_CONFIG+y}
17397 then :
17398 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17402 if ${SDL2_LIBS:+false} :
17403 then :
17404 if test ${PKG_CONFIG+y}
17405 then :
17406 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17410 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17411 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17412 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17413 if test -s conftest.err; then
17414 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17415 cat conftest.err >&5
17417 rm -f conftest.err
17418 ac_save_CPPFLAGS=$CPPFLAGS
17419 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17420 for ac_header in SDL.h
17421 do :
17422 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17423 if test "x$ac_cv_header_SDL_h" = xyes
17424 then :
17425 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17427 printf %s "checking for -lSDL2... " >&6; }
17428 if test ${ac_cv_lib_soname_SDL2+y}
17429 then :
17430 printf %s "(cached) " >&6
17431 else $as_nop
17432 ac_check_soname_save_LIBS=$LIBS
17433 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17435 /* end confdefs.h. */
17437 /* Override any GCC internal prototype to avoid an error.
17438 Use char because int might match the return type of a GCC
17439 builtin and then its argument prototype would still apply. */
17440 char SDL_Init ();
17442 main (void)
17444 return SDL_Init ();
17446 return 0;
17448 _ACEOF
17449 if ac_fn_c_try_link "$LINENO"
17450 then :
17451 case "$LIBEXT" in
17452 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17453 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'` ;;
17454 *) 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'`
17455 if ${ac_cv_lib_soname_SDL2:+false} :
17456 then :
17457 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17458 fi ;;
17459 esac
17460 else $as_nop
17461 ac_cv_lib_soname_SDL2=
17463 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17464 conftest$ac_exeext conftest.$ac_ext
17465 LIBS=$ac_check_soname_save_LIBS
17467 if ${ac_cv_lib_soname_SDL2:+false} :
17468 then :
17469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17470 printf "%s\n" "not found" >&6; }
17472 else $as_nop
17473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17474 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17476 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17482 done
17483 CPPFLAGS=$ac_save_CPPFLAGS
17486 if test "x$ac_cv_lib_soname_SDL2" = "x"
17487 then :
17488 case "x$with_sdl" in
17489 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17490 xno) ;;
17491 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17492 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17493 esac
17497 if test "x$with_capi" != "xno"
17498 then
17499 rm -f conftest.err
17500 if ${CAPI20_CFLAGS:+false} :
17501 then :
17502 if test ${PKG_CONFIG+y}
17503 then :
17504 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17508 if ${CAPI20_LIBS:+false} :
17509 then :
17510 if test ${PKG_CONFIG+y}
17511 then :
17512 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17517 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17518 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17519 if test -s conftest.err; then
17520 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17521 cat conftest.err >&5
17523 rm -f conftest.err
17524 ac_save_CPPFLAGS=$CPPFLAGS
17525 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17526 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17528 if test "x$ac_cv_header_capi20_h" = xyes
17529 then :
17530 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17533 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17535 if test "x$ac_cv_header_linux_capi_h" = xyes
17536 then :
17537 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17541 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17542 then
17543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17544 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17545 if test ${ac_cv_lib_capi20_capi20_register+y}
17546 then :
17547 printf %s "(cached) " >&6
17548 else $as_nop
17549 ac_check_lib_save_LIBS=$LIBS
17550 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17552 /* end confdefs.h. */
17554 /* Override any GCC internal prototype to avoid an error.
17555 Use char because int might match the return type of a GCC
17556 builtin and then its argument prototype would still apply. */
17557 char capi20_register ();
17559 main (void)
17561 return capi20_register ();
17563 return 0;
17565 _ACEOF
17566 if ac_fn_c_try_link "$LINENO"
17567 then :
17568 ac_cv_lib_capi20_capi20_register=yes
17569 else $as_nop
17570 ac_cv_lib_capi20_capi20_register=no
17572 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17573 conftest$ac_exeext conftest.$ac_ext
17574 LIBS=$ac_check_lib_save_LIBS
17576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17577 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17578 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17579 then :
17581 else $as_nop
17582 CAPI20_LIBS=""
17586 CPPFLAGS=$ac_save_CPPFLAGS
17589 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17590 then :
17591 case "x$with_capi" in
17592 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17593 xno) ;;
17594 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17595 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17596 esac
17597 enable_capi2032=${enable_capi2032:-no}
17600 if test "x$with_cups" != "xno"
17601 then
17602 rm -f conftest.err
17603 if ${CUPS_CFLAGS:+false} :
17604 then :
17605 if test ${PKG_CONFIG+y}
17606 then :
17607 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17610 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17611 if ${CUPS_LIBS:+false} :
17612 then :
17613 if test ${PKG_CONFIG+y}
17614 then :
17615 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17618 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17619 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17620 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17621 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17622 if test -s conftest.err; then
17623 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17624 cat conftest.err >&5
17626 rm -f conftest.err
17627 ac_save_CPPFLAGS=$CPPFLAGS
17628 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17629 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17630 if test "x$ac_cv_header_cups_cups_h" = xyes
17631 then :
17632 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17635 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17636 if test "x$ac_cv_header_cups_ppd_h" = xyes
17637 then :
17638 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17642 if test "$ac_cv_header_cups_cups_h" = "yes"
17643 then
17644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17645 printf %s "checking for -lcups... " >&6; }
17646 if test ${ac_cv_lib_soname_cups+y}
17647 then :
17648 printf %s "(cached) " >&6
17649 else $as_nop
17650 ac_check_soname_save_LIBS=$LIBS
17651 LIBS="-lcups $CUPS_LIBS $LIBS"
17652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17653 /* end confdefs.h. */
17655 /* Override any GCC internal prototype to avoid an error.
17656 Use char because int might match the return type of a GCC
17657 builtin and then its argument prototype would still apply. */
17658 char cupsGetDefault ();
17660 main (void)
17662 return cupsGetDefault ();
17664 return 0;
17666 _ACEOF
17667 if ac_fn_c_try_link "$LINENO"
17668 then :
17669 case "$LIBEXT" in
17670 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17671 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'` ;;
17672 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17673 if ${ac_cv_lib_soname_cups:+false} :
17674 then :
17675 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17676 fi ;;
17677 esac
17678 else $as_nop
17679 ac_cv_lib_soname_cups=
17681 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17682 conftest$ac_exeext conftest.$ac_ext
17683 LIBS=$ac_check_soname_save_LIBS
17685 if ${ac_cv_lib_soname_cups:+false} :
17686 then :
17687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17688 printf "%s\n" "not found" >&6; }
17689 CUPS_LIBS=""
17690 else $as_nop
17691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17692 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17694 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17698 else
17699 CUPS_CFLAGS=""
17700 CUPS_LIBS=""
17702 CPPFLAGS=$ac_save_CPPFLAGS
17705 if test "x$ac_cv_lib_soname_cups" = "x"
17706 then :
17707 case "x$with_cups" in
17708 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17709 xno) ;;
17710 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17711 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17712 esac
17716 if test "x$with_fontconfig" != "xno"
17717 then
17718 rm -f conftest.err
17719 if ${FONTCONFIG_CFLAGS:+false} :
17720 then :
17721 if test ${PKG_CONFIG+y}
17722 then :
17723 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17726 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17727 if ${FONTCONFIG_LIBS:+false} :
17728 then :
17729 if test ${PKG_CONFIG+y}
17730 then :
17731 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17734 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17737 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17738 if test -s conftest.err; then
17739 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17740 cat conftest.err >&5
17742 rm -f conftest.err
17743 ac_save_CPPFLAGS=$CPPFLAGS
17744 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17745 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17746 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17747 then :
17748 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17752 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17753 then
17754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17755 printf %s "checking for -lfontconfig... " >&6; }
17756 if test ${ac_cv_lib_soname_fontconfig+y}
17757 then :
17758 printf %s "(cached) " >&6
17759 else $as_nop
17760 ac_check_soname_save_LIBS=$LIBS
17761 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17763 /* end confdefs.h. */
17765 /* Override any GCC internal prototype to avoid an error.
17766 Use char because int might match the return type of a GCC
17767 builtin and then its argument prototype would still apply. */
17768 char FcInit ();
17770 main (void)
17772 return FcInit ();
17774 return 0;
17776 _ACEOF
17777 if ac_fn_c_try_link "$LINENO"
17778 then :
17779 case "$LIBEXT" in
17780 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17781 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'` ;;
17782 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17783 if ${ac_cv_lib_soname_fontconfig:+false} :
17784 then :
17785 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17786 fi ;;
17787 esac
17788 else $as_nop
17789 ac_cv_lib_soname_fontconfig=
17791 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17792 conftest$ac_exeext conftest.$ac_ext
17793 LIBS=$ac_check_soname_save_LIBS
17795 if ${ac_cv_lib_soname_fontconfig:+false} :
17796 then :
17797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17798 printf "%s\n" "not found" >&6; }
17799 FONTCONFIG_CFLAGS=""
17800 else $as_nop
17801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17802 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17804 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17808 else
17809 FONTCONFIG_CFLAGS=""
17811 CPPFLAGS=$ac_save_CPPFLAGS
17814 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17815 then :
17816 case "x$with_fontconfig" in
17817 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17818 xno) ;;
17819 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17820 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17821 esac
17825 if test "x$with_krb5" != "xno"
17826 then
17827 rm -f conftest.err
17828 if ${KRB5_CFLAGS:+false} :
17829 then :
17830 if test ${PKG_CONFIG+y}
17831 then :
17832 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17835 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17836 if ${KRB5_LIBS:+false} :
17837 then :
17838 if test ${PKG_CONFIG+y}
17839 then :
17840 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17843 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17845 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17846 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17847 if test -s conftest.err; then
17848 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17849 cat conftest.err >&5
17851 rm -f conftest.err
17852 ac_save_CPPFLAGS=$CPPFLAGS
17853 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17854 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17855 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17856 then :
17857 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17861 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17862 then
17863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17864 printf %s "checking for -lkrb5... " >&6; }
17865 if test ${ac_cv_lib_soname_krb5+y}
17866 then :
17867 printf %s "(cached) " >&6
17868 else $as_nop
17869 ac_check_soname_save_LIBS=$LIBS
17870 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17872 /* end confdefs.h. */
17874 /* Override any GCC internal prototype to avoid an error.
17875 Use char because int might match the return type of a GCC
17876 builtin and then its argument prototype would still apply. */
17877 char krb5_is_config_principal ();
17879 main (void)
17881 return krb5_is_config_principal ();
17883 return 0;
17885 _ACEOF
17886 if ac_fn_c_try_link "$LINENO"
17887 then :
17888 case "$LIBEXT" in
17889 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17890 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'` ;;
17891 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17892 if ${ac_cv_lib_soname_krb5:+false} :
17893 then :
17894 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17895 fi ;;
17896 esac
17897 else $as_nop
17898 ac_cv_lib_soname_krb5=
17900 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17901 conftest$ac_exeext conftest.$ac_ext
17902 LIBS=$ac_check_soname_save_LIBS
17904 if ${ac_cv_lib_soname_krb5:+false} :
17905 then :
17906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17907 printf "%s\n" "not found" >&6; }
17908 KRB5_CFLAGS=""
17909 else $as_nop
17910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17911 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17913 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17917 else
17918 KRB5_CFLAGS=""
17920 CPPFLAGS=$ac_save_CPPFLAGS
17923 if test "x$ac_cv_lib_soname_krb5" = "x"
17924 then :
17925 case "x$with_krb5" in
17926 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17927 xno) ;;
17928 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17929 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17930 esac
17933 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17935 if test "x$with_gssapi" != "xno"
17936 then
17937 rm -f conftest.err
17938 if ${GSSAPI_CFLAGS:+false} :
17939 then :
17940 if test ${PKG_CONFIG+y}
17941 then :
17942 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
17945 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17946 if ${GSSAPI_LIBS:+false} :
17947 then :
17948 if test ${PKG_CONFIG+y}
17949 then :
17950 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17953 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17956 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17957 if test -s conftest.err; then
17958 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
17959 cat conftest.err >&5
17961 rm -f conftest.err
17962 ac_save_CPPFLAGS=$CPPFLAGS
17963 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17964 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17965 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17966 then :
17967 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17970 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17971 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17972 then :
17973 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17977 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17978 then
17979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17980 printf %s "checking for -lgssapi_krb5... " >&6; }
17981 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17982 then :
17983 printf %s "(cached) " >&6
17984 else $as_nop
17985 ac_check_soname_save_LIBS=$LIBS
17986 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17988 /* end confdefs.h. */
17990 /* Override any GCC internal prototype to avoid an error.
17991 Use char because int might match the return type of a GCC
17992 builtin and then its argument prototype would still apply. */
17993 char gss_init_sec_context ();
17995 main (void)
17997 return gss_init_sec_context ();
17999 return 0;
18001 _ACEOF
18002 if ac_fn_c_try_link "$LINENO"
18003 then :
18004 case "$LIBEXT" in
18005 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18006 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'` ;;
18007 *) 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'`
18008 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18009 then :
18010 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18011 fi ;;
18012 esac
18013 else $as_nop
18014 ac_cv_lib_soname_gssapi_krb5=
18016 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18017 conftest$ac_exeext conftest.$ac_ext
18018 LIBS=$ac_check_soname_save_LIBS
18020 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18021 then :
18022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18023 printf "%s\n" "not found" >&6; }
18024 GSSAPI_CFLAGS=""
18025 else $as_nop
18026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18027 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18029 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18033 else
18034 GSSAPI_CFLAGS=""
18036 CPPFLAGS=$ac_save_CPPFLAGS
18039 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18040 then :
18041 case "x$with_gssapi" in
18042 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18043 xno) ;;
18044 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18045 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18046 esac
18050 if test "$ac_cv_header_libprocstat_h" = "yes"
18051 then
18052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18053 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18054 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18055 then :
18056 printf %s "(cached) " >&6
18057 else $as_nop
18058 ac_check_lib_save_LIBS=$LIBS
18059 LIBS="-lprocstat $LIBS"
18060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18061 /* end confdefs.h. */
18063 /* Override any GCC internal prototype to avoid an error.
18064 Use char because int might match the return type of a GCC
18065 builtin and then its argument prototype would still apply. */
18066 char procstat_open_sysctl ();
18068 main (void)
18070 return procstat_open_sysctl ();
18072 return 0;
18074 _ACEOF
18075 if ac_fn_c_try_link "$LINENO"
18076 then :
18077 ac_cv_lib_procstat_procstat_open_sysctl=yes
18078 else $as_nop
18079 ac_cv_lib_procstat_procstat_open_sysctl=no
18081 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18082 conftest$ac_exeext conftest.$ac_ext
18083 LIBS=$ac_check_lib_save_LIBS
18085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18086 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18087 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18088 then :
18090 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18092 PROCSTAT_LIBS="-lprocstat"
18098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18099 printf %s "checking for -lodbc... " >&6; }
18100 if test ${ac_cv_lib_soname_odbc+y}
18101 then :
18102 printf %s "(cached) " >&6
18103 else $as_nop
18104 ac_check_soname_save_LIBS=$LIBS
18105 LIBS="-lodbc $LIBS"
18106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18107 /* end confdefs.h. */
18109 /* Override any GCC internal prototype to avoid an error.
18110 Use char because int might match the return type of a GCC
18111 builtin and then its argument prototype would still apply. */
18112 char SQLConnect ();
18114 main (void)
18116 return SQLConnect ();
18118 return 0;
18120 _ACEOF
18121 if ac_fn_c_try_link "$LINENO"
18122 then :
18123 case "$LIBEXT" in
18124 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18125 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'` ;;
18126 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18127 if ${ac_cv_lib_soname_odbc:+false} :
18128 then :
18129 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18130 fi ;;
18131 esac
18132 else $as_nop
18133 ac_cv_lib_soname_odbc=
18135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18136 conftest$ac_exeext conftest.$ac_ext
18137 LIBS=$ac_check_soname_save_LIBS
18139 if ${ac_cv_lib_soname_odbc:+false} :
18140 then :
18141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18142 printf "%s\n" "not found" >&6; }
18143 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18145 else $as_nop
18146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18147 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18149 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18154 if test "x$with_netapi" != "xno"
18155 then
18156 rm -f conftest.err
18157 if ${NETAPI_CFLAGS:+false} :
18158 then :
18159 if test ${PKG_CONFIG+y}
18160 then :
18161 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18165 if ${NETAPI_LIBS:+false} :
18166 then :
18167 if test ${PKG_CONFIG+y}
18168 then :
18169 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18174 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18175 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18176 if test -s conftest.err; then
18177 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18178 cat conftest.err >&5
18180 rm -f conftest.err
18181 ac_save_CPPFLAGS=$CPPFLAGS
18182 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18184 printf %s "checking for -lnetapi... " >&6; }
18185 if test ${ac_cv_lib_soname_netapi+y}
18186 then :
18187 printf %s "(cached) " >&6
18188 else $as_nop
18189 ac_check_soname_save_LIBS=$LIBS
18190 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18192 /* end confdefs.h. */
18194 /* Override any GCC internal prototype to avoid an error.
18195 Use char because int might match the return type of a GCC
18196 builtin and then its argument prototype would still apply. */
18197 char libnetapi_init ();
18199 main (void)
18201 return libnetapi_init ();
18203 return 0;
18205 _ACEOF
18206 if ac_fn_c_try_link "$LINENO"
18207 then :
18208 case "$LIBEXT" in
18209 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18210 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'` ;;
18211 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18212 if ${ac_cv_lib_soname_netapi:+false} :
18213 then :
18214 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18215 fi ;;
18216 esac
18217 else $as_nop
18218 ac_cv_lib_soname_netapi=
18220 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18221 conftest$ac_exeext conftest.$ac_ext
18222 LIBS=$ac_check_soname_save_LIBS
18224 if ${ac_cv_lib_soname_netapi:+false} :
18225 then :
18226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18227 printf "%s\n" "not found" >&6; }
18228 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18230 else $as_nop
18231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18232 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18234 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18238 CPPFLAGS=$ac_save_CPPFLAGS
18241 if test "x$ac_cv_lib_soname_netapi" = "x"
18242 then :
18243 case "x$with_netapi" in
18244 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18245 xno) ;;
18246 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18247 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18248 esac
18249 enable_netapi=${enable_netapi:-no}
18253 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18254 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18255 then
18256 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18259 if test "x$with_vulkan" != "xno"
18260 then
18261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18262 printf %s "checking for -lvulkan... " >&6; }
18263 if test ${ac_cv_lib_soname_vulkan+y}
18264 then :
18265 printf %s "(cached) " >&6
18266 else $as_nop
18267 ac_check_soname_save_LIBS=$LIBS
18268 LIBS="-lvulkan $LIBS"
18269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18270 /* end confdefs.h. */
18272 /* Override any GCC internal prototype to avoid an error.
18273 Use char because int might match the return type of a GCC
18274 builtin and then its argument prototype would still apply. */
18275 char vkGetInstanceProcAddr ();
18277 main (void)
18279 return vkGetInstanceProcAddr ();
18281 return 0;
18283 _ACEOF
18284 if ac_fn_c_try_link "$LINENO"
18285 then :
18286 case "$LIBEXT" in
18287 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18288 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'` ;;
18289 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18290 if ${ac_cv_lib_soname_vulkan:+false} :
18291 then :
18292 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18293 fi ;;
18294 esac
18295 else $as_nop
18296 ac_cv_lib_soname_vulkan=
18298 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18299 conftest$ac_exeext conftest.$ac_ext
18300 LIBS=$ac_check_soname_save_LIBS
18302 if ${ac_cv_lib_soname_vulkan:+false} :
18303 then :
18304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18305 printf "%s\n" "not found" >&6; }
18307 else $as_nop
18308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18309 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18311 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18315 if test "x$ac_cv_lib_soname_vulkan" = "x"
18316 then
18317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18318 printf %s "checking for -lMoltenVK... " >&6; }
18319 if test ${ac_cv_lib_soname_MoltenVK+y}
18320 then :
18321 printf %s "(cached) " >&6
18322 else $as_nop
18323 ac_check_soname_save_LIBS=$LIBS
18324 LIBS="-lMoltenVK $LIBS"
18325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18326 /* end confdefs.h. */
18328 /* Override any GCC internal prototype to avoid an error.
18329 Use char because int might match the return type of a GCC
18330 builtin and then its argument prototype would still apply. */
18331 char vkGetInstanceProcAddr ();
18333 main (void)
18335 return vkGetInstanceProcAddr ();
18337 return 0;
18339 _ACEOF
18340 if ac_fn_c_try_link "$LINENO"
18341 then :
18342 case "$LIBEXT" in
18343 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18344 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'` ;;
18345 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18346 if ${ac_cv_lib_soname_MoltenVK:+false} :
18347 then :
18348 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18349 fi ;;
18350 esac
18351 else $as_nop
18352 ac_cv_lib_soname_MoltenVK=
18354 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18355 conftest$ac_exeext conftest.$ac_ext
18356 LIBS=$ac_check_soname_save_LIBS
18358 if ${ac_cv_lib_soname_MoltenVK:+false} :
18359 then :
18360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18361 printf "%s\n" "not found" >&6; }
18363 else $as_nop
18364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18365 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18367 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18373 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18374 then :
18375 case "x$with_vulkan" in
18376 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18377 xno) ;;
18378 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18379 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18380 esac
18385 if test "x${GCC}" = "xyes"
18386 then
18387 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18389 saved_CFLAGS=$CFLAGS
18390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18391 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18392 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18393 then :
18394 printf %s "(cached) " >&6
18395 else $as_nop
18396 ac_wine_try_cflags_saved=$CFLAGS
18397 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18399 /* end confdefs.h. */
18400 int main(int argc, char **argv) { return 0; }
18401 _ACEOF
18402 if ac_fn_c_try_link "$LINENO"
18403 then :
18404 ac_cv_cflags__Werror_unknown_warning_option=yes
18405 else $as_nop
18406 ac_cv_cflags__Werror_unknown_warning_option=no
18408 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18409 conftest$ac_exeext conftest.$ac_ext
18410 CFLAGS=$ac_wine_try_cflags_saved
18412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18413 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18414 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18415 then :
18416 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18419 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18420 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18421 then :
18422 printf %s "(cached) " >&6
18423 else $as_nop
18424 ac_wine_try_cflags_saved=$CFLAGS
18425 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18427 /* end confdefs.h. */
18428 int main(int argc, char **argv) { return 0; }
18429 _ACEOF
18430 if ac_fn_c_try_link "$LINENO"
18431 then :
18432 ac_cv_cflags__Werror_unused_command_line_argument=yes
18433 else $as_nop
18434 ac_cv_cflags__Werror_unused_command_line_argument=no
18436 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18437 conftest$ac_exeext conftest.$ac_ext
18438 CFLAGS=$ac_wine_try_cflags_saved
18440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18441 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18442 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18443 then :
18444 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18447 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18448 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18449 then :
18450 printf %s "(cached) " >&6
18451 else $as_nop
18452 ac_wine_try_cflags_saved=$CFLAGS
18453 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18455 /* end confdefs.h. */
18456 int main(int argc, char **argv) { return 0; }
18457 _ACEOF
18458 if ac_fn_c_try_link "$LINENO"
18459 then :
18460 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18461 else $as_nop
18462 ac_cv_cflags__Werror_ignored_optimization_argument=no
18464 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18465 conftest$ac_exeext conftest.$ac_ext
18466 CFLAGS=$ac_wine_try_cflags_saved
18468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18469 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18470 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18471 then :
18472 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18475 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18476 if test ${ac_cv_cflags__fcf_protection_none+y}
18477 then :
18478 printf %s "(cached) " >&6
18479 else $as_nop
18480 ac_wine_try_cflags_saved=$CFLAGS
18481 CFLAGS="$CFLAGS -fcf-protection=none"
18482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18483 /* end confdefs.h. */
18484 int main(int argc, char **argv) { return 0; }
18485 _ACEOF
18486 if ac_fn_c_try_link "$LINENO"
18487 then :
18488 ac_cv_cflags__fcf_protection_none=yes
18489 else $as_nop
18490 ac_cv_cflags__fcf_protection_none=no
18492 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18493 conftest$ac_exeext conftest.$ac_ext
18494 CFLAGS=$ac_wine_try_cflags_saved
18496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18497 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18498 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18499 then :
18500 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18503 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18504 if test ${ac_cv_cflags__fno_stack_protector+y}
18505 then :
18506 printf %s "(cached) " >&6
18507 else $as_nop
18508 ac_wine_try_cflags_saved=$CFLAGS
18509 CFLAGS="$CFLAGS -fno-stack-protector"
18510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18511 /* end confdefs.h. */
18512 int main(int argc, char **argv) { return 0; }
18513 _ACEOF
18514 if ac_fn_c_try_link "$LINENO"
18515 then :
18516 ac_cv_cflags__fno_stack_protector=yes
18517 else $as_nop
18518 ac_cv_cflags__fno_stack_protector=no
18520 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18521 conftest$ac_exeext conftest.$ac_ext
18522 CFLAGS=$ac_wine_try_cflags_saved
18524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18525 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18526 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18527 then :
18528 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18531 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18532 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18533 then :
18534 printf %s "(cached) " >&6
18535 else $as_nop
18536 ac_wine_try_cflags_saved=$CFLAGS
18537 CFLAGS="$CFLAGS -fno-strict-aliasing"
18538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18539 /* end confdefs.h. */
18540 int main(int argc, char **argv) { return 0; }
18541 _ACEOF
18542 if ac_fn_c_try_link "$LINENO"
18543 then :
18544 ac_cv_cflags__fno_strict_aliasing=yes
18545 else $as_nop
18546 ac_cv_cflags__fno_strict_aliasing=no
18548 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18549 conftest$ac_exeext conftest.$ac_ext
18550 CFLAGS=$ac_wine_try_cflags_saved
18552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18553 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18554 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18555 then :
18556 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18559 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18560 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18561 then :
18562 printf %s "(cached) " >&6
18563 else $as_nop
18564 ac_wine_try_cflags_saved=$CFLAGS
18565 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18567 /* end confdefs.h. */
18568 int main(int argc, char **argv) { return 0; }
18569 _ACEOF
18570 if ac_fn_c_try_link "$LINENO"
18571 then :
18572 ac_cv_cflags__Wdeclaration_after_statement=yes
18573 else $as_nop
18574 ac_cv_cflags__Wdeclaration_after_statement=no
18576 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18577 conftest$ac_exeext conftest.$ac_ext
18578 CFLAGS=$ac_wine_try_cflags_saved
18580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18581 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18582 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18583 then :
18584 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18587 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18588 if test ${ac_cv_cflags__Wempty_body+y}
18589 then :
18590 printf %s "(cached) " >&6
18591 else $as_nop
18592 ac_wine_try_cflags_saved=$CFLAGS
18593 CFLAGS="$CFLAGS -Wempty-body"
18594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18595 /* end confdefs.h. */
18596 int main(int argc, char **argv) { return 0; }
18597 _ACEOF
18598 if ac_fn_c_try_link "$LINENO"
18599 then :
18600 ac_cv_cflags__Wempty_body=yes
18601 else $as_nop
18602 ac_cv_cflags__Wempty_body=no
18604 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18605 conftest$ac_exeext conftest.$ac_ext
18606 CFLAGS=$ac_wine_try_cflags_saved
18608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18609 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18610 if test "x$ac_cv_cflags__Wempty_body" = xyes
18611 then :
18612 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18615 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18616 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18617 then :
18618 printf %s "(cached) " >&6
18619 else $as_nop
18620 ac_wine_try_cflags_saved=$CFLAGS
18621 CFLAGS="$CFLAGS -Wignored-qualifiers"
18622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18623 /* end confdefs.h. */
18624 int main(int argc, char **argv) { return 0; }
18625 _ACEOF
18626 if ac_fn_c_try_link "$LINENO"
18627 then :
18628 ac_cv_cflags__Wignored_qualifiers=yes
18629 else $as_nop
18630 ac_cv_cflags__Wignored_qualifiers=no
18632 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18633 conftest$ac_exeext conftest.$ac_ext
18634 CFLAGS=$ac_wine_try_cflags_saved
18636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18637 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18638 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18639 then :
18640 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18643 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18644 if test ${ac_cv_cflags__Winit_self+y}
18645 then :
18646 printf %s "(cached) " >&6
18647 else $as_nop
18648 ac_wine_try_cflags_saved=$CFLAGS
18649 CFLAGS="$CFLAGS -Winit-self"
18650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18651 /* end confdefs.h. */
18652 int main(int argc, char **argv) { return 0; }
18653 _ACEOF
18654 if ac_fn_c_try_link "$LINENO"
18655 then :
18656 ac_cv_cflags__Winit_self=yes
18657 else $as_nop
18658 ac_cv_cflags__Winit_self=no
18660 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18661 conftest$ac_exeext conftest.$ac_ext
18662 CFLAGS=$ac_wine_try_cflags_saved
18664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18665 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18666 if test "x$ac_cv_cflags__Winit_self" = xyes
18667 then :
18668 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18671 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18672 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18673 then :
18674 printf %s "(cached) " >&6
18675 else $as_nop
18676 ac_wine_try_cflags_saved=$CFLAGS
18677 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18679 /* end confdefs.h. */
18680 int main(int argc, char **argv) { return 0; }
18681 _ACEOF
18682 if ac_fn_c_try_link "$LINENO"
18683 then :
18684 ac_cv_cflags__Wpacked_not_aligned=yes
18685 else $as_nop
18686 ac_cv_cflags__Wpacked_not_aligned=no
18688 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18689 conftest$ac_exeext conftest.$ac_ext
18690 CFLAGS=$ac_wine_try_cflags_saved
18692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18693 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18694 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18695 then :
18696 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18699 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18700 if test ${ac_cv_cflags__Wpragma_pack+y}
18701 then :
18702 printf %s "(cached) " >&6
18703 else $as_nop
18704 ac_wine_try_cflags_saved=$CFLAGS
18705 CFLAGS="$CFLAGS -Wpragma-pack"
18706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18707 /* end confdefs.h. */
18708 int main(int argc, char **argv) { return 0; }
18709 _ACEOF
18710 if ac_fn_c_try_link "$LINENO"
18711 then :
18712 ac_cv_cflags__Wpragma_pack=yes
18713 else $as_nop
18714 ac_cv_cflags__Wpragma_pack=no
18716 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18717 conftest$ac_exeext conftest.$ac_ext
18718 CFLAGS=$ac_wine_try_cflags_saved
18720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18721 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18722 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18723 then :
18724 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18727 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18728 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18729 then :
18730 printf %s "(cached) " >&6
18731 else $as_nop
18732 ac_wine_try_cflags_saved=$CFLAGS
18733 CFLAGS="$CFLAGS -Wshift-overflow=2"
18734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18735 /* end confdefs.h. */
18736 int main(int argc, char **argv) { return 0; }
18737 _ACEOF
18738 if ac_fn_c_try_link "$LINENO"
18739 then :
18740 ac_cv_cflags__Wshift_overflow_2=yes
18741 else $as_nop
18742 ac_cv_cflags__Wshift_overflow_2=no
18744 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18745 conftest$ac_exeext conftest.$ac_ext
18746 CFLAGS=$ac_wine_try_cflags_saved
18748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18749 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18750 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18751 then :
18752 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18755 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18756 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18757 then :
18758 printf %s "(cached) " >&6
18759 else $as_nop
18760 ac_wine_try_cflags_saved=$CFLAGS
18761 CFLAGS="$CFLAGS -Wstrict-prototypes"
18762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18763 /* end confdefs.h. */
18764 int main(int argc, char **argv) { return 0; }
18765 _ACEOF
18766 if ac_fn_c_try_link "$LINENO"
18767 then :
18768 ac_cv_cflags__Wstrict_prototypes=yes
18769 else $as_nop
18770 ac_cv_cflags__Wstrict_prototypes=no
18772 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18773 conftest$ac_exeext conftest.$ac_ext
18774 CFLAGS=$ac_wine_try_cflags_saved
18776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18777 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18778 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18779 then :
18780 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18783 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18784 if test ${ac_cv_cflags__Wtype_limits+y}
18785 then :
18786 printf %s "(cached) " >&6
18787 else $as_nop
18788 ac_wine_try_cflags_saved=$CFLAGS
18789 CFLAGS="$CFLAGS -Wtype-limits"
18790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18791 /* end confdefs.h. */
18792 int main(int argc, char **argv) { return 0; }
18793 _ACEOF
18794 if ac_fn_c_try_link "$LINENO"
18795 then :
18796 ac_cv_cflags__Wtype_limits=yes
18797 else $as_nop
18798 ac_cv_cflags__Wtype_limits=no
18800 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18801 conftest$ac_exeext conftest.$ac_ext
18802 CFLAGS=$ac_wine_try_cflags_saved
18804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18805 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18806 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18807 then :
18808 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18811 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18812 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18813 then :
18814 printf %s "(cached) " >&6
18815 else $as_nop
18816 ac_wine_try_cflags_saved=$CFLAGS
18817 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18819 /* end confdefs.h. */
18820 int main(int argc, char **argv) { return 0; }
18821 _ACEOF
18822 if ac_fn_c_try_link "$LINENO"
18823 then :
18824 ac_cv_cflags__Wunused_but_set_parameter=yes
18825 else $as_nop
18826 ac_cv_cflags__Wunused_but_set_parameter=no
18828 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18829 conftest$ac_exeext conftest.$ac_ext
18830 CFLAGS=$ac_wine_try_cflags_saved
18832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18833 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18834 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18835 then :
18836 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18839 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18840 if test ${ac_cv_cflags__Wvla+y}
18841 then :
18842 printf %s "(cached) " >&6
18843 else $as_nop
18844 ac_wine_try_cflags_saved=$CFLAGS
18845 CFLAGS="$CFLAGS -Wvla"
18846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18847 /* end confdefs.h. */
18848 int main(int argc, char **argv) { return 0; }
18849 _ACEOF
18850 if ac_fn_c_try_link "$LINENO"
18851 then :
18852 ac_cv_cflags__Wvla=yes
18853 else $as_nop
18854 ac_cv_cflags__Wvla=no
18856 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18857 conftest$ac_exeext conftest.$ac_ext
18858 CFLAGS=$ac_wine_try_cflags_saved
18860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18861 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18862 if test "x$ac_cv_cflags__Wvla" = xyes
18863 then :
18864 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18867 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18868 if test ${ac_cv_cflags__Wwrite_strings+y}
18869 then :
18870 printf %s "(cached) " >&6
18871 else $as_nop
18872 ac_wine_try_cflags_saved=$CFLAGS
18873 CFLAGS="$CFLAGS -Wwrite-strings"
18874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18875 /* end confdefs.h. */
18876 int main(int argc, char **argv) { return 0; }
18877 _ACEOF
18878 if ac_fn_c_try_link "$LINENO"
18879 then :
18880 ac_cv_cflags__Wwrite_strings=yes
18881 else $as_nop
18882 ac_cv_cflags__Wwrite_strings=no
18884 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18885 conftest$ac_exeext conftest.$ac_ext
18886 CFLAGS=$ac_wine_try_cflags_saved
18888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18889 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18890 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18891 then :
18892 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18896 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18897 if test ${ac_cv_cflags__Wpointer_arith+y}
18898 then :
18899 printf %s "(cached) " >&6
18900 else $as_nop
18901 ac_wine_try_cflags_saved=$CFLAGS
18902 CFLAGS="$CFLAGS -Wpointer-arith"
18903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18904 /* end confdefs.h. */
18905 int main(int argc, char **argv) { return 0; }
18906 _ACEOF
18907 if ac_fn_c_try_link "$LINENO"
18908 then :
18909 ac_cv_cflags__Wpointer_arith=yes
18910 else $as_nop
18911 ac_cv_cflags__Wpointer_arith=no
18913 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18914 conftest$ac_exeext conftest.$ac_ext
18915 CFLAGS=$ac_wine_try_cflags_saved
18917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18918 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18919 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18920 then :
18921 saved_string_h_CFLAGS=$CFLAGS
18922 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
18923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18924 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18925 if test ${ac_cv_c_string_h_warnings+y}
18926 then :
18927 printf %s "(cached) " >&6
18928 else $as_nop
18929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18930 /* end confdefs.h. */
18931 #include <string.h>
18933 main (void)
18937 return 0;
18939 _ACEOF
18940 if ac_fn_c_try_compile "$LINENO"
18941 then :
18942 ac_cv_c_string_h_warnings=no
18943 else $as_nop
18944 ac_cv_c_string_h_warnings=yes
18946 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
18949 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
18950 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
18951 CFLAGS=$saved_string_h_CFLAGS
18954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
18955 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
18956 if test ${ac_cv_cflags__Wlogical_op+y}
18957 then :
18958 printf %s "(cached) " >&6
18959 else $as_nop
18960 ac_wine_try_cflags_saved=$CFLAGS
18961 CFLAGS="$CFLAGS -Wlogical-op"
18962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18963 /* end confdefs.h. */
18964 int main(int argc, char **argv) { return 0; }
18965 _ACEOF
18966 if ac_fn_c_try_link "$LINENO"
18967 then :
18968 ac_cv_cflags__Wlogical_op=yes
18969 else $as_nop
18970 ac_cv_cflags__Wlogical_op=no
18972 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18973 conftest$ac_exeext conftest.$ac_ext
18974 CFLAGS=$ac_wine_try_cflags_saved
18976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
18977 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
18978 if test "x$ac_cv_cflags__Wlogical_op" = xyes
18979 then :
18980 saved_string_h_CFLAGS=$CFLAGS
18981 CFLAGS="$CFLAGS -Wlogical-op -Werror"
18982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
18983 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
18984 if test ${ac_cv_c_logicalop_noisy+y}
18985 then :
18986 printf %s "(cached) " >&6
18987 else $as_nop
18988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18989 /* end confdefs.h. */
18990 #include <string.h>
18991 char*f(const char *h,char n) {return strchr(h,n);}
18993 main (void)
18997 return 0;
18999 _ACEOF
19000 if ac_fn_c_try_compile "$LINENO"
19001 then :
19002 ac_cv_c_logicalop_noisy=no
19003 else $as_nop
19004 ac_cv_c_logicalop_noisy=yes
19006 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19009 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19010 CFLAGS=$saved_string_h_CFLAGS
19011 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19015 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19016 if test ${wine_cv_64bit_compare_swap+y}
19017 then :
19018 printf %s "(cached) " >&6
19019 else $as_nop
19020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19021 /* end confdefs.h. */
19022 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19023 #error no
19024 #endif
19026 main (void)
19030 return 0;
19032 _ACEOF
19033 if ac_fn_c_try_compile "$LINENO"
19034 then :
19035 wine_cv_64bit_compare_swap="none needed"
19036 else $as_nop
19037 case $host_cpu in
19038 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19039 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19040 *) wine_cv_64bit_compare_swap="unknown" ;;
19041 esac
19042 if test "x$wine_cv_64bit_compare_swap" != xunknown
19043 then
19044 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19046 /* end confdefs.h. */
19047 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19048 #error no
19049 #endif
19051 main (void)
19055 return 0;
19057 _ACEOF
19058 if ac_fn_c_try_compile "$LINENO"
19059 then :
19061 else $as_nop
19062 wine_cv_64bit_compare_swap="unknown"
19064 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19065 CFLAGS=$saved_CFLAGS
19068 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19071 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19072 case "$wine_cv_64bit_compare_swap" in
19073 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19074 "none needed") ;;
19075 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19076 esac
19078 ac_debug_format_seen=""
19079 for ac_flag in $CFLAGS; do
19080 case $ac_flag in
19081 -gdwarf*) ac_debug_format_seen=yes ;;
19082 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19083 esac
19084 done
19085 if test "x$ac_debug_format_seen" = xdefault
19086 then
19087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19088 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19089 if test ${ac_cv_cflags__gdwarf_4+y}
19090 then :
19091 printf %s "(cached) " >&6
19092 else $as_nop
19093 ac_wine_try_cflags_saved=$CFLAGS
19094 CFLAGS="$CFLAGS -gdwarf-4"
19095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19096 /* end confdefs.h. */
19097 int main(int argc, char **argv) { return 0; }
19098 _ACEOF
19099 if ac_fn_c_try_link "$LINENO"
19100 then :
19101 ac_cv_cflags__gdwarf_4=yes
19102 else $as_nop
19103 ac_cv_cflags__gdwarf_4=no
19105 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19106 conftest$ac_exeext conftest.$ac_ext
19107 CFLAGS=$ac_wine_try_cflags_saved
19109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19110 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19111 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19112 then :
19113 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19117 MSVCRTFLAGS=""
19119 case $host_os in
19120 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19121 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19122 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19123 then :
19124 printf %s "(cached) " >&6
19125 else $as_nop
19126 ac_wine_try_cflags_saved=$CFLAGS
19127 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19129 /* end confdefs.h. */
19130 int main(int argc, char **argv) { return 0; }
19131 _ACEOF
19132 if ac_fn_c_try_link "$LINENO"
19133 then :
19134 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19135 else $as_nop
19136 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19139 conftest$ac_exeext conftest.$ac_ext
19140 CFLAGS=$ac_wine_try_cflags_saved
19142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19143 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19144 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19145 then :
19146 DELAYLOADFLAG="-Wl,-delayload,"
19148 fi ;;
19149 *) MSVCRTFLAGS="-D_WIN32"
19150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19151 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19152 if test ${ac_cv_cflags__fno_builtin+y}
19153 then :
19154 printf %s "(cached) " >&6
19155 else $as_nop
19156 ac_wine_try_cflags_saved=$CFLAGS
19157 CFLAGS="$CFLAGS -fno-builtin"
19158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19159 /* end confdefs.h. */
19160 int main(int argc, char **argv) { return 0; }
19161 _ACEOF
19162 if ac_fn_c_try_link "$LINENO"
19163 then :
19164 ac_cv_cflags__fno_builtin=yes
19165 else $as_nop
19166 ac_cv_cflags__fno_builtin=no
19168 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19169 conftest$ac_exeext conftest.$ac_ext
19170 CFLAGS=$ac_wine_try_cflags_saved
19172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19173 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19174 if test "x$ac_cv_cflags__fno_builtin" = xyes
19175 then :
19176 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19179 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19180 if test ${ac_cv_cflags__fshort_wchar+y}
19181 then :
19182 printf %s "(cached) " >&6
19183 else $as_nop
19184 ac_wine_try_cflags_saved=$CFLAGS
19185 CFLAGS="$CFLAGS -fshort-wchar"
19186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19187 /* end confdefs.h. */
19188 int main(int argc, char **argv) { return 0; }
19189 _ACEOF
19190 if ac_fn_c_try_link "$LINENO"
19191 then :
19192 ac_cv_cflags__fshort_wchar=yes
19193 else $as_nop
19194 ac_cv_cflags__fshort_wchar=no
19196 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19197 conftest$ac_exeext conftest.$ac_ext
19198 CFLAGS=$ac_wine_try_cflags_saved
19200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19201 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19202 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19203 then :
19204 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19207 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19208 if test ${ac_cv_cflags__Wno_format+y}
19209 then :
19210 printf %s "(cached) " >&6
19211 else $as_nop
19212 ac_wine_try_cflags_saved=$CFLAGS
19213 CFLAGS="$CFLAGS -Wno-format"
19214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19215 /* end confdefs.h. */
19216 int main(int argc, char **argv) { return 0; }
19217 _ACEOF
19218 if ac_fn_c_try_link "$LINENO"
19219 then :
19220 ac_cv_cflags__Wno_format=yes
19221 else $as_nop
19222 ac_cv_cflags__Wno_format=no
19224 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19225 conftest$ac_exeext conftest.$ac_ext
19226 CFLAGS=$ac_wine_try_cflags_saved
19228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19229 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19230 if test "x$ac_cv_cflags__Wno_format" = xyes
19231 then :
19232 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19233 fi ;;
19234 esac
19236 case $host_cpu in
19237 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19238 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19239 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19240 then :
19241 printf %s "(cached) " >&6
19242 else $as_nop
19243 ac_wine_try_cflags_saved=$CFLAGS
19244 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19246 /* end confdefs.h. */
19247 int main(int argc, char **argv) { return 0; }
19248 _ACEOF
19249 if ac_fn_c_try_link "$LINENO"
19250 then :
19251 ac_cv_cflags__fno_omit_frame_pointer=yes
19252 else $as_nop
19253 ac_cv_cflags__fno_omit_frame_pointer=no
19255 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19256 conftest$ac_exeext conftest.$ac_ext
19257 CFLAGS=$ac_wine_try_cflags_saved
19259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19260 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19261 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19262 then :
19263 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19264 fi ;;
19265 *x86_64*)
19266 case $host_os in
19267 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19268 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19269 if test ${ac_cv_cflags__Wno_format+y}
19270 then :
19271 printf %s "(cached) " >&6
19272 else $as_nop
19273 ac_wine_try_cflags_saved=$CFLAGS
19274 CFLAGS="$CFLAGS -Wno-format"
19275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19276 /* end confdefs.h. */
19277 int main(int argc, char **argv) { return 0; }
19278 _ACEOF
19279 if ac_fn_c_try_link "$LINENO"
19280 then :
19281 ac_cv_cflags__Wno_format=yes
19282 else $as_nop
19283 ac_cv_cflags__Wno_format=no
19285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19286 conftest$ac_exeext conftest.$ac_ext
19287 CFLAGS=$ac_wine_try_cflags_saved
19289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19290 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19291 if test "x$ac_cv_cflags__Wno_format" = xyes
19292 then :
19293 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19294 fi ;;
19295 *) if test -z "$PE_ARCHS"
19296 then
19297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19298 printf %s "checking for working -mabi=ms... " >&6; }
19299 if test ${ac_cv_mabi_ms+y}
19300 then :
19301 printf %s "(cached) " >&6
19302 else $as_nop
19303 CFLAGS="$CFLAGS -mabi=ms"
19304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19305 /* end confdefs.h. */
19306 #include <stdarg.h>
19307 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19309 main (void)
19313 return 0;
19315 _ACEOF
19316 if ac_fn_c_try_compile "$LINENO"
19317 then :
19318 ac_cv_mabi_ms=yes
19319 else $as_nop
19320 ac_cv_mabi_ms=no
19322 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19323 CFLAGS=$saved_CFLAGS
19325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19326 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19327 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
19329 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19330 esac ;;
19331 arm*)
19332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19333 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19334 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19335 then :
19336 printf %s "(cached) " >&6
19337 else $as_nop
19338 ac_wine_try_cflags_saved=$CFLAGS
19339 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19341 /* end confdefs.h. */
19342 int main(int argc, char **argv) { return 0; }
19343 _ACEOF
19344 if ac_fn_c_try_link "$LINENO"
19345 then :
19346 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19347 else $as_nop
19348 ac_cv_cflags__Wincompatible_function_pointer_types=no
19350 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19351 conftest$ac_exeext conftest.$ac_ext
19352 CFLAGS=$ac_wine_try_cflags_saved
19354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19355 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19356 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19357 then :
19358 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19359 fi ;;
19360 esac
19362 CFLAGS=$saved_CFLAGS
19364 if test "x$enable_werror" = "xyes"
19365 then
19366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19367 printf %s "checking whether the compiler supports -Werror... " >&6; }
19368 if test ${ac_cv_cflags__Werror+y}
19369 then :
19370 printf %s "(cached) " >&6
19371 else $as_nop
19372 ac_wine_try_cflags_saved=$CFLAGS
19373 CFLAGS="$CFLAGS -Werror"
19374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19375 /* end confdefs.h. */
19376 int main(int argc, char **argv) { return 0; }
19377 _ACEOF
19378 if ac_fn_c_try_link "$LINENO"
19379 then :
19380 ac_cv_cflags__Werror=yes
19381 else $as_nop
19382 ac_cv_cflags__Werror=no
19384 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19385 conftest$ac_exeext conftest.$ac_ext
19386 CFLAGS=$ac_wine_try_cflags_saved
19388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19389 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19390 if test "x$ac_cv_cflags__Werror" = xyes
19391 then :
19392 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19395 if test "x$enable_build_id" = "xyes"
19396 then
19397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19398 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19399 if test ${ac_cv_cflags__Wl___build_id+y}
19400 then :
19401 printf %s "(cached) " >&6
19402 else $as_nop
19403 ac_wine_try_cflags_saved=$CFLAGS
19404 CFLAGS="$CFLAGS -Wl,--build-id"
19405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19406 /* end confdefs.h. */
19407 int main(int argc, char **argv) { return 0; }
19408 _ACEOF
19409 if ac_fn_c_try_link "$LINENO"
19410 then :
19411 ac_cv_cflags__Wl___build_id=yes
19412 else $as_nop
19413 ac_cv_cflags__Wl___build_id=no
19415 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19416 conftest$ac_exeext conftest.$ac_ext
19417 CFLAGS=$ac_wine_try_cflags_saved
19419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19420 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19421 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19422 then :
19423 CFLAGS="$CFLAGS -Wl,--build-id"
19424 LDFLAGS="$LDFLAGS -Wl,--build-id"
19430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19431 printf %s "checking for the need to disable Fortify... " >&6; }
19432 if test ${ac_cv_c_fortify_enabled+y}
19433 then :
19434 printf %s "(cached) " >&6
19435 else $as_nop
19436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19437 /* end confdefs.h. */
19438 #include <string.h>
19440 main (void)
19442 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19443 #error Fortify enabled
19444 #endif
19446 return 0;
19448 _ACEOF
19449 if ac_fn_c_try_compile "$LINENO"
19450 then :
19451 ac_cv_c_fortify_enabled=no
19452 else $as_nop
19453 ac_cv_c_fortify_enabled=yes
19455 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19458 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19459 if test "$ac_cv_c_fortify_enabled" = yes
19460 then
19461 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19466 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19467 if test ${ac_cv_c_cfi_support+y}
19468 then :
19469 printf %s "(cached) " >&6
19470 else $as_nop
19471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19472 /* end confdefs.h. */
19473 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19475 main (void)
19479 return 0;
19481 _ACEOF
19482 if ac_fn_c_try_compile "$LINENO"
19483 then :
19484 ac_cv_c_cfi_support="yes"
19485 else $as_nop
19486 ac_cv_c_cfi_support="no"
19488 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19491 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19492 if test "$ac_cv_c_cfi_support" = "yes"
19493 then
19494 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19495 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19496 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19497 elif test $HOST_ARCH = x86_64
19498 then
19499 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19503 case "$HOST_ARCH,$PE_ARCHS" in
19504 x86_64,*i386*) wine_binary="wine" ;;
19505 x86_64,*) wine_binary="wine64" ;;
19506 *) wine_binary="wine" ;;
19507 esac
19508 WINELOADER_PROGRAMS="$wine_binary"
19511 case $host_os in
19512 linux*)
19513 case $host_cpu in
19514 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19515 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19516 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19518 esac
19520 darwin*|macosx*)
19521 if test "$wine_can_build_preloader" = "yes"
19522 then
19523 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19524 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19527 esac
19530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19531 printf %s "checking for library containing dlopen... " >&6; }
19532 if test ${ac_cv_search_dlopen+y}
19533 then :
19534 printf %s "(cached) " >&6
19535 else $as_nop
19536 ac_func_search_save_LIBS=$LIBS
19537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19538 /* end confdefs.h. */
19540 /* Override any GCC internal prototype to avoid an error.
19541 Use char because int might match the return type of a GCC
19542 builtin and then its argument prototype would still apply. */
19543 char dlopen ();
19545 main (void)
19547 return dlopen ();
19549 return 0;
19551 _ACEOF
19552 for ac_lib in '' dl
19554 if test -z "$ac_lib"; then
19555 ac_res="none required"
19556 else
19557 ac_res=-l$ac_lib
19558 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19560 if ac_fn_c_try_link "$LINENO"
19561 then :
19562 ac_cv_search_dlopen=$ac_res
19564 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19565 conftest$ac_exeext
19566 if test ${ac_cv_search_dlopen+y}
19567 then :
19568 break
19570 done
19571 if test ${ac_cv_search_dlopen+y}
19572 then :
19574 else $as_nop
19575 ac_cv_search_dlopen=no
19577 rm conftest.$ac_ext
19578 LIBS=$ac_func_search_save_LIBS
19580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19581 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19582 ac_res=$ac_cv_search_dlopen
19583 if test "$ac_res" != no
19584 then :
19585 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19591 printf %s "checking for library containing gethostbyname... " >&6; }
19592 if test ${ac_cv_search_gethostbyname+y}
19593 then :
19594 printf %s "(cached) " >&6
19595 else $as_nop
19596 ac_func_search_save_LIBS=$LIBS
19597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19598 /* end confdefs.h. */
19600 /* Override any GCC internal prototype to avoid an error.
19601 Use char because int might match the return type of a GCC
19602 builtin and then its argument prototype would still apply. */
19603 char gethostbyname ();
19605 main (void)
19607 return gethostbyname ();
19609 return 0;
19611 _ACEOF
19612 for ac_lib in '' nsl
19614 if test -z "$ac_lib"; then
19615 ac_res="none required"
19616 else
19617 ac_res=-l$ac_lib
19618 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19620 if ac_fn_c_try_link "$LINENO"
19621 then :
19622 ac_cv_search_gethostbyname=$ac_res
19624 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19625 conftest$ac_exeext
19626 if test ${ac_cv_search_gethostbyname+y}
19627 then :
19628 break
19630 done
19631 if test ${ac_cv_search_gethostbyname+y}
19632 then :
19634 else $as_nop
19635 ac_cv_search_gethostbyname=no
19637 rm conftest.$ac_ext
19638 LIBS=$ac_func_search_save_LIBS
19640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19641 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19642 ac_res=$ac_cv_search_gethostbyname
19643 if test "$ac_res" != no
19644 then :
19645 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19651 printf %s "checking for library containing connect... " >&6; }
19652 if test ${ac_cv_search_connect+y}
19653 then :
19654 printf %s "(cached) " >&6
19655 else $as_nop
19656 ac_func_search_save_LIBS=$LIBS
19657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19658 /* end confdefs.h. */
19660 /* Override any GCC internal prototype to avoid an error.
19661 Use char because int might match the return type of a GCC
19662 builtin and then its argument prototype would still apply. */
19663 char connect ();
19665 main (void)
19667 return connect ();
19669 return 0;
19671 _ACEOF
19672 for ac_lib in '' socket
19674 if test -z "$ac_lib"; then
19675 ac_res="none required"
19676 else
19677 ac_res=-l$ac_lib
19678 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19680 if ac_fn_c_try_link "$LINENO"
19681 then :
19682 ac_cv_search_connect=$ac_res
19684 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19685 conftest$ac_exeext
19686 if test ${ac_cv_search_connect+y}
19687 then :
19688 break
19690 done
19691 if test ${ac_cv_search_connect+y}
19692 then :
19694 else $as_nop
19695 ac_cv_search_connect=no
19697 rm conftest.$ac_ext
19698 LIBS=$ac_func_search_save_LIBS
19700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19701 printf "%s\n" "$ac_cv_search_connect" >&6; }
19702 ac_res=$ac_cv_search_connect
19703 if test "$ac_res" != no
19704 then :
19705 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19711 printf %s "checking for library containing inet_aton... " >&6; }
19712 if test ${ac_cv_search_inet_aton+y}
19713 then :
19714 printf %s "(cached) " >&6
19715 else $as_nop
19716 ac_func_search_save_LIBS=$LIBS
19717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19718 /* end confdefs.h. */
19720 /* Override any GCC internal prototype to avoid an error.
19721 Use char because int might match the return type of a GCC
19722 builtin and then its argument prototype would still apply. */
19723 char inet_aton ();
19725 main (void)
19727 return inet_aton ();
19729 return 0;
19731 _ACEOF
19732 for ac_lib in '' resolv
19734 if test -z "$ac_lib"; then
19735 ac_res="none required"
19736 else
19737 ac_res=-l$ac_lib
19738 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19740 if ac_fn_c_try_link "$LINENO"
19741 then :
19742 ac_cv_search_inet_aton=$ac_res
19744 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19745 conftest$ac_exeext
19746 if test ${ac_cv_search_inet_aton+y}
19747 then :
19748 break
19750 done
19751 if test ${ac_cv_search_inet_aton+y}
19752 then :
19754 else $as_nop
19755 ac_cv_search_inet_aton=no
19757 rm conftest.$ac_ext
19758 LIBS=$ac_func_search_save_LIBS
19760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19761 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19762 ac_res=$ac_cv_search_inet_aton
19763 if test "$ac_res" != no
19764 then :
19765 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19770 ac_save_CFLAGS="$CFLAGS"
19771 CFLAGS="$CFLAGS $BUILTINFLAG"
19772 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19773 if test "x$ac_cv_func_dladdr1" = xyes
19774 then :
19775 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19778 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19779 if test "x$ac_cv_func_dlinfo" = xyes
19780 then :
19781 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19784 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19785 if test "x$ac_cv_func_epoll_create" = xyes
19786 then :
19787 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19790 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19791 if test "x$ac_cv_func_fstatfs" = xyes
19792 then :
19793 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19796 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19797 if test "x$ac_cv_func_futimens" = xyes
19798 then :
19799 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19802 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19803 if test "x$ac_cv_func_futimes" = xyes
19804 then :
19805 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19808 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19809 if test "x$ac_cv_func_futimesat" = xyes
19810 then :
19811 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19814 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19815 if test "x$ac_cv_func_getaddrinfo" = xyes
19816 then :
19817 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19820 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19821 if test "x$ac_cv_func_getattrlist" = xyes
19822 then :
19823 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19826 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19827 if test "x$ac_cv_func_getauxval" = xyes
19828 then :
19829 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19832 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19833 if test "x$ac_cv_func_getifaddrs" = xyes
19834 then :
19835 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19838 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19839 if test "x$ac_cv_func_getrandom" = xyes
19840 then :
19841 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19844 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19845 if test "x$ac_cv_func_kqueue" = xyes
19846 then :
19847 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19850 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19851 if test "x$ac_cv_func_mach_continuous_time" = xyes
19852 then :
19853 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19856 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19857 if test "x$ac_cv_func_pipe2" = xyes
19858 then :
19859 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19862 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19863 if test "x$ac_cv_func_port_create" = xyes
19864 then :
19865 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19868 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19869 if test "x$ac_cv_func_posix_fadvise" = xyes
19870 then :
19871 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19874 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19875 if test "x$ac_cv_func_posix_fallocate" = xyes
19876 then :
19877 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19880 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19881 if test "x$ac_cv_func_prctl" = xyes
19882 then :
19883 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19886 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19887 if test "x$ac_cv_func_proc_pidinfo" = xyes
19888 then :
19889 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19892 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19893 if test "x$ac_cv_func_sched_yield" = xyes
19894 then :
19895 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19898 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19899 if test "x$ac_cv_func_setproctitle" = xyes
19900 then :
19901 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19904 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19905 if test "x$ac_cv_func_setprogname" = xyes
19906 then :
19907 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19910 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19911 if test "x$ac_cv_func_sigprocmask" = xyes
19912 then :
19913 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19916 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19917 if test "x$ac_cv_func_sysinfo" = xyes
19918 then :
19919 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19922 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19923 if test "x$ac_cv_func_tcdrain" = xyes
19924 then :
19925 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19928 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19929 if test "x$ac_cv_func_thr_kill2" = xyes
19930 then :
19931 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19935 CFLAGS="$ac_save_CFLAGS"
19937 case $host_os in
19938 darwin*|macosx*) ;;
19939 *) ac_save_LIBS=$LIBS
19940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19941 printf %s "checking for library containing clock_gettime... " >&6; }
19942 if test ${ac_cv_search_clock_gettime+y}
19943 then :
19944 printf %s "(cached) " >&6
19945 else $as_nop
19946 ac_func_search_save_LIBS=$LIBS
19947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19948 /* end confdefs.h. */
19950 /* Override any GCC internal prototype to avoid an error.
19951 Use char because int might match the return type of a GCC
19952 builtin and then its argument prototype would still apply. */
19953 char clock_gettime ();
19955 main (void)
19957 return clock_gettime ();
19959 return 0;
19961 _ACEOF
19962 for ac_lib in '' rt
19964 if test -z "$ac_lib"; then
19965 ac_res="none required"
19966 else
19967 ac_res=-l$ac_lib
19968 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19970 if ac_fn_c_try_link "$LINENO"
19971 then :
19972 ac_cv_search_clock_gettime=$ac_res
19974 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19975 conftest$ac_exeext
19976 if test ${ac_cv_search_clock_gettime+y}
19977 then :
19978 break
19980 done
19981 if test ${ac_cv_search_clock_gettime+y}
19982 then :
19984 else $as_nop
19985 ac_cv_search_clock_gettime=no
19987 rm conftest.$ac_ext
19988 LIBS=$ac_func_search_save_LIBS
19990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19991 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
19992 ac_res=$ac_cv_search_clock_gettime
19993 if test "$ac_res" != no
19994 then :
19995 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19997 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
19999 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20003 LIBS=$ac_save_LIBS
20005 esac
20007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20008 printf %s "checking for sched_setaffinity... " >&6; }
20009 if test ${wine_cv_have_sched_setaffinity+y}
20010 then :
20011 printf %s "(cached) " >&6
20012 else $as_nop
20013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20014 /* end confdefs.h. */
20015 #include <sched.h>
20017 main (void)
20019 sched_setaffinity(0, 0, 0);
20021 return 0;
20023 _ACEOF
20024 if ac_fn_c_try_link "$LINENO"
20025 then :
20026 wine_cv_have_sched_setaffinity=yes
20027 else $as_nop
20028 wine_cv_have_sched_setaffinity=no
20030 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20031 conftest$ac_exeext conftest.$ac_ext
20033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20034 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20035 if test "$wine_cv_have_sched_setaffinity" = "yes"
20036 then
20038 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20044 printf %s "checking for inline... " >&6; }
20045 if test ${ac_cv_c_inline+y}
20046 then :
20047 printf %s "(cached) " >&6
20048 else $as_nop
20049 ac_cv_c_inline=no
20050 for ac_kw in inline __inline__ __inline; do
20051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20052 /* end confdefs.h. */
20053 #ifndef __cplusplus
20054 typedef int foo_t;
20055 static $ac_kw foo_t static_foo (void) {return 0; }
20056 $ac_kw foo_t foo (void) {return 0; }
20057 #endif
20059 _ACEOF
20060 if ac_fn_c_try_compile "$LINENO"
20061 then :
20062 ac_cv_c_inline=$ac_kw
20064 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20065 test "$ac_cv_c_inline" != no && break
20066 done
20069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20070 printf "%s\n" "$ac_cv_c_inline" >&6; }
20072 case $ac_cv_c_inline in
20073 inline | yes) ;;
20075 case $ac_cv_c_inline in
20076 no) ac_val=;;
20077 *) ac_val=$ac_cv_c_inline;;
20078 esac
20079 cat >>confdefs.h <<_ACEOF
20080 #ifndef __cplusplus
20081 #define inline $ac_val
20082 #endif
20083 _ACEOF
20085 esac
20087 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20089 if test "x$ac_cv_type_request_sense" = xyes
20090 then :
20092 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20098 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20099 #include <sys/socket.h>
20100 #ifdef HAVE_SYS_SOCKETVAR_H
20101 #include <sys/socketvar.h>
20102 #endif
20103 #ifdef HAVE_NET_ROUTE_H
20104 #include <net/route.h>
20105 #endif
20106 #ifdef HAVE_NETINET_IN_H
20107 #include <netinet/in.h>
20108 #endif
20109 #ifdef HAVE_NETINET_IN_SYSTM_H
20110 #include <netinet/in_systm.h>
20111 #endif
20112 #ifdef HAVE_NETINET_IP_H
20113 #include <netinet/ip.h>
20114 #endif
20115 #ifdef HAVE_NETINET_IN_PCB_H
20116 #include <netinet/in_pcb.h>
20117 #endif
20119 if test "x$ac_cv_type_struct_xinpgen" = xyes
20120 then :
20122 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20129 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20130 if test ${wine_cv_linux_gethostbyname_r_6+y}
20131 then :
20132 printf %s "(cached) " >&6
20133 else $as_nop
20134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20135 /* end confdefs.h. */
20136 #include <netdb.h>
20138 main (void)
20141 char *name=0;
20142 struct hostent he;
20143 struct hostent *result;
20144 char *buf=0;
20145 int bufsize=0;
20146 int errnr;
20147 char *addr=0;
20148 int addrlen=0;
20149 int addrtype=0;
20150 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20151 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20154 return 0;
20156 _ACEOF
20157 if ac_fn_c_try_link "$LINENO"
20158 then :
20159 wine_cv_linux_gethostbyname_r_6=yes
20160 else $as_nop
20161 wine_cv_linux_gethostbyname_r_6=no
20164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20165 conftest$ac_exeext conftest.$ac_ext
20168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20169 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20170 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20171 then
20173 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20177 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20178 #include <sys/socket.h>
20179 #ifdef HAVE_SYS_UN_H
20180 # include <sys/un.h>
20181 #endif
20183 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20184 then :
20186 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20190 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20191 #include <sys/socket.h>
20192 #ifdef HAVE_SYS_UN_H
20193 # include <sys/un.h>
20194 #endif
20196 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20197 then :
20199 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20205 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20206 #ifdef HAVE_SCSI_SG_H
20207 #include <scsi/sg.h>
20208 #endif
20210 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20211 then :
20213 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20217 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>
20218 #ifdef HAVE_SCSI_SG_H
20219 #include <scsi/sg.h>
20220 #endif
20222 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20223 then :
20225 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20231 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20233 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20234 then :
20236 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20242 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20243 #ifdef HAVE_SYS_MTIO_H
20244 #include <sys/mtio.h>
20245 #endif
20247 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20248 then :
20250 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20254 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20255 #ifdef HAVE_SYS_MTIO_H
20256 #include <sys/mtio.h>
20257 #endif
20259 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20260 then :
20262 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20266 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20267 #ifdef HAVE_SYS_MTIO_H
20268 #include <sys/mtio.h>
20269 #endif
20271 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20272 then :
20274 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20280 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20281 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20282 then :
20284 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20288 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20289 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20290 then :
20292 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20296 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20297 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20298 then :
20300 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20304 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20305 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20306 then :
20308 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20312 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20313 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20314 then :
20316 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20320 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20321 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20322 then :
20324 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20328 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20329 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20330 then :
20332 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20336 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20337 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20338 then :
20340 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20344 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20345 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20346 then :
20348 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20352 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20353 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20354 then :
20356 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20360 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20361 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20362 then :
20364 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20370 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>
20371 #ifdef HAVE_NETINET_IN_H
20372 #include <netinet/in.h>
20373 #endif
20375 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20376 then :
20378 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20384 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
20385 #include <resolv.h>
20386 #endif
20388 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20389 then :
20391 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20397 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20398 #include <netinet/in.h>
20399 #endif
20401 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20402 then :
20404 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20410 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20411 #ifdef HAVE_SYS_SOCKETVAR_H
20412 #include <sys/socketvar.h>
20413 #endif
20414 #ifdef HAVE_NETINET_IN_H
20415 #include <netinet/in.h>
20416 #endif
20417 #ifdef HAVE_NETINET_IP_VAR_H
20418 #include <netinet/ip_var.h>
20419 #endif
20421 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20422 then :
20424 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20430 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
20431 #include <netinet/ip_var.h>
20432 #endif
20434 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20435 then :
20437 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20443 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20444 #ifdef HAVE_SYS_SOCKETVAR_H
20445 #include <sys/socketvar.h>
20446 #endif
20447 #ifdef HAVE_NETINET_IN_H
20448 #include <netinet/in.h>
20449 #endif
20450 #ifdef HAVE_NETINET6_IP6_VAR_H
20451 #include <netinet6/ip6_var.h>
20452 #endif
20454 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20455 then :
20457 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20463 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20464 #ifdef HAVE_SYS_SOCKETVAR_H
20465 #include <sys/socketvar.h>
20466 #endif
20467 #ifdef HAVE_NETINET_IN_H
20468 #include <netinet/in.h>
20469 #endif
20470 #ifdef HAVE_NETINET_IP_H
20471 #include <netinet/ip.h>
20472 #endif
20473 #ifdef HAVE_NETINET_IP_ICMP_H
20474 #include <netinet/ip_icmp.h>
20475 #endif
20476 #ifdef HAVE_NETINET_ICMP_VAR_H
20477 #include <netinet/icmp_var.h>
20478 #endif
20480 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20481 then :
20483 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20489 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20490 #ifdef HAVE_SYS_SOCKETVAR_H
20491 #include <sys/socketvar.h>
20492 #endif
20493 #ifdef HAVE_NETINET_IN_H
20494 #include <netinet/in.h>
20495 #endif
20496 #ifdef HAVE_NETINET_ICMP6_H
20497 #include <netinet/icmp6.h>
20498 #endif
20500 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20501 then :
20503 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20509 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20510 #ifdef HAVE_SYS_SOCKETVAR_H
20511 #include <sys/socketvar.h>
20512 #endif
20513 #ifdef HAVE_NETINET_IN_H
20514 #include <netinet/in.h>
20515 #endif
20516 #ifdef HAVE_NETINET_TCP_H
20517 #include <netinet/tcp.h>
20518 #endif
20519 #ifdef HAVE_NETINET_TCP_VAR_H
20520 #include <netinet/tcp_var.h>
20521 #endif
20523 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20524 then :
20526 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20532 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
20533 #include <netinet/tcp_var.h>
20534 #endif
20536 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20537 then :
20539 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20545 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20546 #ifdef HAVE_NETINET_IN_H
20547 #include <netinet/in.h>
20548 #endif
20549 #ifdef HAVE_NETINET_IP_VAR_H
20550 #include <netinet/ip_var.h>
20551 #endif
20552 #ifdef HAVE_NETINET_UDP_H
20553 #include <netinet/udp.h>
20554 #endif
20555 #ifdef HAVE_NETINET_UDP_VAR_H
20556 #include <netinet/udp_var.h>
20557 #endif
20559 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20560 then :
20562 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20568 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20569 #ifdef HAVE_NET_IF_H
20570 # include <net/if.h>
20571 #endif
20573 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20574 then :
20576 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20582 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20583 # include <sys/sysinfo.h>
20584 #endif
20586 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20587 then :
20589 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20593 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20594 # include <sys/sysinfo.h>
20595 #endif
20597 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20598 then :
20600 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20606 LIBS="$ac_save_LIBS"
20608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20609 printf %s "checking for __builtin_popcount... " >&6; }
20610 if test ${ac_cv_have___builtin_popcount+y}
20611 then :
20612 printf %s "(cached) " >&6
20613 else $as_nop
20614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20615 /* end confdefs.h. */
20618 main (void)
20620 return __builtin_popcount(1)
20622 return 0;
20624 _ACEOF
20625 if ac_fn_c_try_link "$LINENO"
20626 then :
20627 ac_cv_have___builtin_popcount="yes"
20628 else $as_nop
20629 ac_cv_have___builtin_popcount="no"
20631 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20632 conftest$ac_exeext conftest.$ac_ext
20634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20635 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20636 if test "$ac_cv_have___builtin_popcount" = "yes"
20637 then
20639 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20644 printf %s "checking for __clear_cache... " >&6; }
20645 if test ${ac_cv_have___clear_cache+y}
20646 then :
20647 printf %s "(cached) " >&6
20648 else $as_nop
20649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20650 /* end confdefs.h. */
20653 main (void)
20655 __clear_cache((void*)0, (void*)0); return 0;
20657 return 0;
20659 _ACEOF
20660 if ac_fn_c_try_link "$LINENO"
20661 then :
20662 ac_cv_have___clear_cache="yes"
20663 else $as_nop
20664 ac_cv_have___clear_cache="no"
20666 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20667 conftest$ac_exeext conftest.$ac_ext
20669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20670 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20671 if test "$ac_cv_have___clear_cache" = "yes"
20672 then
20674 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20679 case $host_cpu in
20680 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20681 printf %s "checking whether we need to define __i386__... " >&6; }
20682 if test ${ac_cv_cpp_def___i386__+y}
20683 then :
20684 printf %s "(cached) " >&6
20685 else $as_nop
20686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20687 /* end confdefs.h. */
20688 #ifndef __i386__
20690 #endif
20691 _ACEOF
20692 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20693 $EGREP "yes" >/dev/null 2>&1
20694 then :
20695 ac_cv_cpp_def___i386__=yes
20696 else $as_nop
20697 ac_cv_cpp_def___i386__=no
20699 rm -rf conftest*
20702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20703 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20704 if test "x$ac_cv_cpp_def___i386__" = xyes
20705 then :
20706 CFLAGS="$CFLAGS -D__i386__"
20707 LINTFLAGS="$LINTFLAGS -D__i386__"
20708 fi ;;
20709 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20710 printf %s "checking whether we need to define __x86_64__... " >&6; }
20711 if test ${ac_cv_cpp_def___x86_64__+y}
20712 then :
20713 printf %s "(cached) " >&6
20714 else $as_nop
20715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20716 /* end confdefs.h. */
20717 #ifndef __x86_64__
20719 #endif
20720 _ACEOF
20721 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20722 $EGREP "yes" >/dev/null 2>&1
20723 then :
20724 ac_cv_cpp_def___x86_64__=yes
20725 else $as_nop
20726 ac_cv_cpp_def___x86_64__=no
20728 rm -rf conftest*
20731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20732 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20733 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20734 then :
20735 CFLAGS="$CFLAGS -D__x86_64__"
20736 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20737 fi ;;
20738 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20739 printf %s "checking whether we need to define __sparc64__... " >&6; }
20740 if test ${ac_cv_cpp_def___sparc64__+y}
20741 then :
20742 printf %s "(cached) " >&6
20743 else $as_nop
20744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20745 /* end confdefs.h. */
20746 #ifndef __sparc64__
20748 #endif
20749 _ACEOF
20750 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20751 $EGREP "yes" >/dev/null 2>&1
20752 then :
20753 ac_cv_cpp_def___sparc64__=yes
20754 else $as_nop
20755 ac_cv_cpp_def___sparc64__=no
20757 rm -rf conftest*
20760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20761 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20762 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20763 then :
20764 CFLAGS="$CFLAGS -D__sparc64__"
20765 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20766 fi ;;
20767 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20768 printf %s "checking whether we need to define __sparc__... " >&6; }
20769 if test ${ac_cv_cpp_def___sparc__+y}
20770 then :
20771 printf %s "(cached) " >&6
20772 else $as_nop
20773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20774 /* end confdefs.h. */
20775 #ifndef __sparc__
20777 #endif
20778 _ACEOF
20779 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20780 $EGREP "yes" >/dev/null 2>&1
20781 then :
20782 ac_cv_cpp_def___sparc__=yes
20783 else $as_nop
20784 ac_cv_cpp_def___sparc__=no
20786 rm -rf conftest*
20789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20790 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20791 if test "x$ac_cv_cpp_def___sparc__" = xyes
20792 then :
20793 CFLAGS="$CFLAGS -D__sparc__"
20794 LINTFLAGS="$LINTFLAGS -D__sparc__"
20795 fi ;;
20796 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20797 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20798 if test ${ac_cv_cpp_def___powerpc64__+y}
20799 then :
20800 printf %s "(cached) " >&6
20801 else $as_nop
20802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20803 /* end confdefs.h. */
20804 #ifndef __powerpc64__
20806 #endif
20807 _ACEOF
20808 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20809 $EGREP "yes" >/dev/null 2>&1
20810 then :
20811 ac_cv_cpp_def___powerpc64__=yes
20812 else $as_nop
20813 ac_cv_cpp_def___powerpc64__=no
20815 rm -rf conftest*
20818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20819 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20820 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20821 then :
20822 CFLAGS="$CFLAGS -D__powerpc64__"
20823 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20824 fi ;;
20825 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20826 printf %s "checking whether we need to define __powerpc__... " >&6; }
20827 if test ${ac_cv_cpp_def___powerpc__+y}
20828 then :
20829 printf %s "(cached) " >&6
20830 else $as_nop
20831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20832 /* end confdefs.h. */
20833 #ifndef __powerpc__
20835 #endif
20836 _ACEOF
20837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20838 $EGREP "yes" >/dev/null 2>&1
20839 then :
20840 ac_cv_cpp_def___powerpc__=yes
20841 else $as_nop
20842 ac_cv_cpp_def___powerpc__=no
20844 rm -rf conftest*
20847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20848 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20849 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20850 then :
20851 CFLAGS="$CFLAGS -D__powerpc__"
20852 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20853 fi ;;
20854 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20855 printf %s "checking whether we need to define __aarch64__... " >&6; }
20856 if test ${ac_cv_cpp_def___aarch64__+y}
20857 then :
20858 printf %s "(cached) " >&6
20859 else $as_nop
20860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20861 /* end confdefs.h. */
20862 #ifndef __aarch64__
20864 #endif
20865 _ACEOF
20866 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20867 $EGREP "yes" >/dev/null 2>&1
20868 then :
20869 ac_cv_cpp_def___aarch64__=yes
20870 else $as_nop
20871 ac_cv_cpp_def___aarch64__=no
20873 rm -rf conftest*
20876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20877 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20878 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20879 then :
20880 CFLAGS="$CFLAGS -D__aarch64__"
20881 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20882 fi ;;
20883 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20884 printf %s "checking whether we need to define __arm__... " >&6; }
20885 if test ${ac_cv_cpp_def___arm__+y}
20886 then :
20887 printf %s "(cached) " >&6
20888 else $as_nop
20889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20890 /* end confdefs.h. */
20891 #ifndef __arm__
20893 #endif
20894 _ACEOF
20895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20896 $EGREP "yes" >/dev/null 2>&1
20897 then :
20898 ac_cv_cpp_def___arm__=yes
20899 else $as_nop
20900 ac_cv_cpp_def___arm__=no
20902 rm -rf conftest*
20905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20906 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20907 if test "x$ac_cv_cpp_def___arm__" = xyes
20908 then :
20909 CFLAGS="$CFLAGS -D__arm__"
20910 LINTFLAGS="$LINTFLAGS -D__arm__"
20911 fi ;;
20912 esac
20914 case $host_vendor in
20915 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20916 printf %s "checking whether we need to define __sun__... " >&6; }
20917 if test ${ac_cv_cpp_def___sun__+y}
20918 then :
20919 printf %s "(cached) " >&6
20920 else $as_nop
20921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20922 /* end confdefs.h. */
20923 #ifndef __sun__
20925 #endif
20926 _ACEOF
20927 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20928 $EGREP "yes" >/dev/null 2>&1
20929 then :
20930 ac_cv_cpp_def___sun__=yes
20931 else $as_nop
20932 ac_cv_cpp_def___sun__=no
20934 rm -rf conftest*
20937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20938 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
20939 if test "x$ac_cv_cpp_def___sun__" = xyes
20940 then :
20941 CFLAGS="$CFLAGS -D__sun__"
20942 LINTFLAGS="$LINTFLAGS -D__sun__"
20943 fi ;;
20944 esac
20950 ac_config_commands="$ac_config_commands include/stamp-h"
20952 printf %s "creating Makefile rules..." >&6
20954 makedep_flags=""
20955 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20957 wine_srcdir=
20958 test "$srcdir" = . || wine_srcdir="$srcdir/"
20960 ac_config_links="$ac_config_links wine:tools/winewrapper"
20961 wine_fn_config_symlink wine
20962 if test "$HOST_ARCH" = x86_64 -o -n "$with_wine64"; then
20963 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20964 wine_fn_config_symlink wine64
20967 wine_fn_config_makefile dlls/acledit enable_acledit
20968 wine_fn_config_makefile dlls/aclui enable_aclui
20969 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20970 wine_fn_config_makefile dlls/activeds enable_activeds
20971 wine_fn_config_makefile dlls/activeds/tests enable_tests
20972 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20973 wine_fn_config_makefile dlls/adsldp enable_adsldp
20974 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20975 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20976 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20977 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20978 wine_fn_config_makefile dlls/advpack enable_advpack
20979 wine_fn_config_makefile dlls/advpack/tests enable_tests
20980 wine_fn_config_makefile dlls/amsi enable_amsi
20981 wine_fn_config_makefile dlls/amstream enable_amstream
20982 wine_fn_config_makefile dlls/amstream/tests enable_tests
20983 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
20984 wine_fn_config_makefile dlls/apphelp enable_apphelp
20985 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20986 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20987 wine_fn_config_makefile dlls/atl enable_atl
20988 wine_fn_config_makefile dlls/atl/tests enable_tests
20989 wine_fn_config_makefile dlls/atl100 enable_atl100
20990 wine_fn_config_makefile dlls/atl100/tests enable_tests
20991 wine_fn_config_makefile dlls/atl110 enable_atl110
20992 wine_fn_config_makefile dlls/atl110/tests enable_tests
20993 wine_fn_config_makefile dlls/atl80 enable_atl80
20994 wine_fn_config_makefile dlls/atl80/tests enable_tests
20995 wine_fn_config_makefile dlls/atl90 enable_atl90
20996 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20997 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20998 wine_fn_config_makefile dlls/atmlib enable_atmlib
20999 wine_fn_config_makefile dlls/authz enable_authz
21000 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21001 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21002 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21003 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21004 wine_fn_config_makefile dlls/avrt enable_avrt
21005 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21006 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21007 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21008 wine_fn_config_makefile dlls/browseui enable_browseui
21009 wine_fn_config_makefile dlls/browseui/tests enable_tests
21010 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21011 wine_fn_config_makefile dlls/cabinet enable_cabinet
21012 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21013 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21014 wine_fn_config_makefile dlls/cards enable_cards
21015 wine_fn_config_makefile dlls/cdosys enable_cdosys
21016 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21017 wine_fn_config_makefile dlls/clusapi enable_clusapi
21018 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21019 wine_fn_config_makefile dlls/combase enable_combase
21020 wine_fn_config_makefile dlls/combase/tests enable_tests
21021 wine_fn_config_makefile dlls/comcat enable_comcat
21022 wine_fn_config_makefile dlls/comcat/tests enable_tests
21023 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21024 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21025 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21026 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21027 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21028 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21029 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21030 wine_fn_config_makefile dlls/compstui enable_compstui
21031 wine_fn_config_makefile dlls/compstui/tests enable_tests
21032 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21033 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21034 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21035 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21036 wine_fn_config_makefile dlls/connect enable_connect
21037 wine_fn_config_makefile dlls/credui enable_credui
21038 wine_fn_config_makefile dlls/credui/tests enable_tests
21039 wine_fn_config_makefile dlls/crtdll enable_crtdll
21040 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21041 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21042 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21043 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21044 wine_fn_config_makefile dlls/cryptext enable_cryptext
21045 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21046 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21047 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21048 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21049 wine_fn_config_makefile dlls/cryptui enable_cryptui
21050 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21051 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21052 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21053 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21054 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21055 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21056 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21057 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21058 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21059 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21060 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21061 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21062 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21063 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21064 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21065 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21066 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21067 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21068 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21069 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21070 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21071 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21072 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21073 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21074 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21075 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21076 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21077 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21078 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21079 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21080 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21081 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21082 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21083 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21084 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21085 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21086 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21087 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21088 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21089 wine_fn_config_makefile dlls/d3dim enable_d3dim
21090 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21091 wine_fn_config_makefile dlls/d3drm enable_d3drm
21092 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21093 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21094 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21095 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21096 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21097 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21098 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21099 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21100 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21101 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21102 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21103 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21104 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21105 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21106 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21107 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21108 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21109 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21110 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21111 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21112 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21113 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21114 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21115 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21116 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21117 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21118 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21119 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21120 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21121 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21122 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21123 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21124 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21125 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21126 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21127 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21128 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21129 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21130 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21131 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21132 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21133 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21134 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21135 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21136 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21137 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21138 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21139 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21140 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21141 wine_fn_config_makefile dlls/davclnt enable_davclnt
21142 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21143 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21144 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21145 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21146 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21147 wine_fn_config_makefile dlls/dcomp enable_dcomp
21148 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21149 wine_fn_config_makefile dlls/ddraw enable_ddraw
21150 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21151 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21152 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21153 wine_fn_config_makefile dlls/devenum enable_devenum
21154 wine_fn_config_makefile dlls/devenum/tests enable_tests
21155 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21156 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21157 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21158 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21159 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21160 wine_fn_config_makefile dlls/difxapi enable_difxapi
21161 wine_fn_config_makefile dlls/dinput enable_dinput
21162 wine_fn_config_makefile dlls/dinput/tests enable_tests
21163 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21164 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21165 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21166 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21167 wine_fn_config_makefile dlls/dispex enable_dispex
21168 wine_fn_config_makefile dlls/dispex/tests enable_tests
21169 wine_fn_config_makefile dlls/display.drv16 enable_win16
21170 wine_fn_config_makefile dlls/dmband enable_dmband
21171 wine_fn_config_makefile dlls/dmband/tests enable_tests
21172 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21173 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21174 wine_fn_config_makefile dlls/dmime enable_dmime
21175 wine_fn_config_makefile dlls/dmime/tests enable_tests
21176 wine_fn_config_makefile dlls/dmloader enable_dmloader
21177 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21178 wine_fn_config_makefile dlls/dmscript enable_dmscript
21179 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21180 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21181 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21182 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21183 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21184 wine_fn_config_makefile dlls/dmusic enable_dmusic
21185 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21186 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21187 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21188 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21189 wine_fn_config_makefile dlls/dplay enable_dplay
21190 wine_fn_config_makefile dlls/dplayx enable_dplayx
21191 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21192 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21193 wine_fn_config_makefile dlls/dpnet enable_dpnet
21194 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21195 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21196 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21197 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21198 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21199 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21200 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21201 wine_fn_config_makefile dlls/drmclien enable_drmclien
21202 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21203 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21204 wine_fn_config_makefile dlls/dsound enable_dsound
21205 wine_fn_config_makefile dlls/dsound/tests enable_tests
21206 wine_fn_config_makefile dlls/dsquery enable_dsquery
21207 wine_fn_config_makefile dlls/dssenh enable_dssenh
21208 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21209 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21210 wine_fn_config_makefile dlls/dswave enable_dswave
21211 wine_fn_config_makefile dlls/dswave/tests enable_tests
21212 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21213 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21214 wine_fn_config_makefile dlls/dwrite enable_dwrite
21215 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21216 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21217 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21218 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21219 wine_fn_config_makefile dlls/dxgi enable_dxgi
21220 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21221 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21222 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21223 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21224 wine_fn_config_makefile dlls/esent enable_esent
21225 wine_fn_config_makefile dlls/evr enable_evr
21226 wine_fn_config_makefile dlls/evr/tests enable_tests
21227 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21228 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21229 wine_fn_config_makefile dlls/faultrep enable_faultrep
21230 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21231 wine_fn_config_makefile dlls/feclient enable_feclient
21232 wine_fn_config_makefile dlls/fltlib enable_fltlib
21233 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21234 wine_fn_config_makefile dlls/fntcache enable_fntcache
21235 wine_fn_config_makefile dlls/fontsub enable_fontsub
21236 wine_fn_config_makefile dlls/fusion enable_fusion
21237 wine_fn_config_makefile dlls/fusion/tests enable_tests
21238 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21239 wine_fn_config_makefile dlls/gameux enable_gameux
21240 wine_fn_config_makefile dlls/gameux/tests enable_tests
21241 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21242 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21243 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21244 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21245 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21246 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21247 wine_fn_config_makefile dlls/glu32 enable_glu32
21248 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21249 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21250 wine_fn_config_makefile dlls/hal enable_hal
21251 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21252 wine_fn_config_makefile dlls/hid enable_hid
21253 wine_fn_config_makefile dlls/hid/tests enable_tests
21254 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21255 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21256 wine_fn_config_makefile dlls/hlink enable_hlink
21257 wine_fn_config_makefile dlls/hlink/tests enable_tests
21258 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21259 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21260 wine_fn_config_makefile dlls/http.sys enable_http_sys
21261 wine_fn_config_makefile dlls/httpapi enable_httpapi
21262 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21263 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21264 wine_fn_config_makefile dlls/iccvid enable_iccvid
21265 wine_fn_config_makefile dlls/icmp enable_icmp
21266 wine_fn_config_makefile dlls/ieframe enable_ieframe
21267 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21268 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21269 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21270 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21271 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21272 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21273 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21274 wine_fn_config_makefile dlls/imm32 enable_imm32
21275 wine_fn_config_makefile dlls/imm32/tests enable_tests
21276 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21277 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21278 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21279 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21280 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21281 wine_fn_config_makefile dlls/infosoft enable_infosoft
21282 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21283 wine_fn_config_makefile dlls/initpki enable_initpki
21284 wine_fn_config_makefile dlls/inkobj enable_inkobj
21285 wine_fn_config_makefile dlls/inseng enable_inseng
21286 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21287 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21288 wine_fn_config_makefile dlls/iprop enable_iprop
21289 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21290 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21291 wine_fn_config_makefile dlls/itircl enable_itircl
21292 wine_fn_config_makefile dlls/itss enable_itss
21293 wine_fn_config_makefile dlls/itss/tests enable_tests
21294 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21295 wine_fn_config_makefile dlls/jscript enable_jscript
21296 wine_fn_config_makefile dlls/jscript/tests enable_tests
21297 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21298 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21299 wine_fn_config_makefile dlls/kerberos enable_kerberos
21300 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21301 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21302 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21303 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21304 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21305 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21306 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21307 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21308 wine_fn_config_makefile dlls/ksuser enable_ksuser
21309 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21310 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21311 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21312 wine_fn_config_makefile dlls/loadperf enable_loadperf
21313 wine_fn_config_makefile dlls/localspl enable_localspl
21314 wine_fn_config_makefile dlls/localspl/tests enable_tests
21315 wine_fn_config_makefile dlls/localui enable_localui
21316 wine_fn_config_makefile dlls/localui/tests enable_tests
21317 wine_fn_config_makefile dlls/lz32 enable_lz32
21318 wine_fn_config_makefile dlls/lz32/tests enable_tests
21319 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21320 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21321 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21322 wine_fn_config_makefile dlls/mapistub enable_mapistub
21323 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21324 wine_fn_config_makefile dlls/mcicda enable_mcicda
21325 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21326 wine_fn_config_makefile dlls/mciseq enable_mciseq
21327 wine_fn_config_makefile dlls/mciwave enable_mciwave
21328 wine_fn_config_makefile dlls/mf enable_mf
21329 wine_fn_config_makefile dlls/mf/tests enable_tests
21330 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21331 wine_fn_config_makefile dlls/mferror enable_mferror
21332 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21333 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21334 wine_fn_config_makefile dlls/mfplat enable_mfplat
21335 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21336 wine_fn_config_makefile dlls/mfplay enable_mfplay
21337 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21338 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21339 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21340 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21341 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21342 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21343 wine_fn_config_makefile dlls/midimap enable_midimap
21344 wine_fn_config_makefile dlls/mlang enable_mlang
21345 wine_fn_config_makefile dlls/mlang/tests enable_tests
21346 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21347 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21348 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21349 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21350 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21351 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21352 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21353 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21354 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21355 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21356 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21357 wine_fn_config_makefile dlls/mpr enable_mpr
21358 wine_fn_config_makefile dlls/mpr/tests enable_tests
21359 wine_fn_config_makefile dlls/mprapi enable_mprapi
21360 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21361 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21362 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21363 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21364 wine_fn_config_makefile dlls/msado15 enable_msado15
21365 wine_fn_config_makefile dlls/msado15/tests enable_tests
21366 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21367 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21368 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21369 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21370 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21371 wine_fn_config_makefile dlls/mscms enable_mscms
21372 wine_fn_config_makefile dlls/mscms/tests enable_tests
21373 wine_fn_config_makefile dlls/mscoree enable_mscoree
21374 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21375 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21376 wine_fn_config_makefile dlls/msctf enable_msctf
21377 wine_fn_config_makefile dlls/msctf/tests enable_tests
21378 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21379 wine_fn_config_makefile dlls/msctfp enable_msctfp
21380 wine_fn_config_makefile dlls/msdaps enable_msdaps
21381 wine_fn_config_makefile dlls/msdasql enable_msdasql
21382 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21383 wine_fn_config_makefile dlls/msdelta enable_msdelta
21384 wine_fn_config_makefile dlls/msdmo enable_msdmo
21385 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21386 wine_fn_config_makefile dlls/msdrm enable_msdrm
21387 wine_fn_config_makefile dlls/msftedit enable_msftedit
21388 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21389 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21390 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21391 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21392 wine_fn_config_makefile dlls/mshtml enable_mshtml
21393 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21394 wine_fn_config_makefile dlls/msi enable_msi
21395 wine_fn_config_makefile dlls/msi/tests enable_tests
21396 wine_fn_config_makefile dlls/msident enable_msident
21397 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21398 wine_fn_config_makefile dlls/msimsg enable_msimsg
21399 wine_fn_config_makefile dlls/msimtf enable_msimtf
21400 wine_fn_config_makefile dlls/msisip enable_msisip
21401 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21402 wine_fn_config_makefile dlls/msls31 enable_msls31
21403 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21404 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21405 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21406 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21407 wine_fn_config_makefile dlls/msports enable_msports
21408 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21409 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21410 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21411 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21412 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21413 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21414 wine_fn_config_makefile dlls/mstask enable_mstask
21415 wine_fn_config_makefile dlls/mstask/tests enable_tests
21416 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21417 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21418 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21419 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21420 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21421 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21422 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21423 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21424 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21425 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21426 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21427 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21428 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21429 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21430 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21431 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21432 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21433 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21434 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21435 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21436 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21437 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21438 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21439 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21440 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21441 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21442 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21443 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21444 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21445 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21446 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21447 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21448 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21449 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21450 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21451 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21452 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21453 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21454 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21455 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21456 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21457 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21458 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21459 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21460 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21461 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21462 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21463 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21464 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21465 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21466 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21467 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21468 wine_fn_config_makefile dlls/mswsock enable_mswsock
21469 wine_fn_config_makefile dlls/msxml enable_msxml
21470 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21471 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21472 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21473 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21474 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21475 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21476 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21477 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21478 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21479 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21480 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21481 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21482 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21483 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21484 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21485 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21486 wine_fn_config_makefile dlls/netprofm enable_netprofm
21487 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21488 wine_fn_config_makefile dlls/netutils enable_netutils
21489 wine_fn_config_makefile dlls/newdev enable_newdev
21490 wine_fn_config_makefile dlls/ninput enable_ninput
21491 wine_fn_config_makefile dlls/ninput/tests enable_tests
21492 wine_fn_config_makefile dlls/normaliz enable_normaliz
21493 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21494 wine_fn_config_makefile dlls/npptools enable_npptools
21495 wine_fn_config_makefile dlls/nsi enable_nsi
21496 wine_fn_config_makefile dlls/nsi/tests enable_tests
21497 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21498 wine_fn_config_makefile dlls/ntdll enable_ntdll
21499 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21500 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21501 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21502 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21503 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21504 wine_fn_config_makefile dlls/ntprint enable_ntprint
21505 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21506 wine_fn_config_makefile dlls/objsel enable_objsel
21507 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21508 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21509 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21510 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21511 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21512 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21513 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21514 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21515 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21516 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21517 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21518 wine_fn_config_makefile dlls/ole32 enable_ole32
21519 wine_fn_config_makefile dlls/ole32/tests enable_tests
21520 wine_fn_config_makefile dlls/oleacc enable_oleacc
21521 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21522 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21523 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21524 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21525 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21526 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21527 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21528 wine_fn_config_makefile dlls/oledlg enable_oledlg
21529 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21530 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21531 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21532 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21533 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21534 wine_fn_config_makefile dlls/opcservices enable_opcservices
21535 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21536 wine_fn_config_makefile dlls/opencl enable_opencl
21537 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21538 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21539 wine_fn_config_makefile dlls/packager enable_packager
21540 wine_fn_config_makefile dlls/packager/tests enable_tests
21541 wine_fn_config_makefile dlls/pdh enable_pdh
21542 wine_fn_config_makefile dlls/pdh/tests enable_tests
21543 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21544 wine_fn_config_makefile dlls/pidgen enable_pidgen
21545 wine_fn_config_makefile dlls/powrprof enable_powrprof
21546 wine_fn_config_makefile dlls/printui enable_printui
21547 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21548 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21549 wine_fn_config_makefile dlls/propsys enable_propsys
21550 wine_fn_config_makefile dlls/propsys/tests enable_tests
21551 wine_fn_config_makefile dlls/psapi enable_psapi
21552 wine_fn_config_makefile dlls/psapi/tests enable_tests
21553 wine_fn_config_makefile dlls/pstorec enable_pstorec
21554 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21555 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21556 wine_fn_config_makefile dlls/qasf enable_qasf
21557 wine_fn_config_makefile dlls/qasf/tests enable_tests
21558 wine_fn_config_makefile dlls/qcap enable_qcap
21559 wine_fn_config_makefile dlls/qcap/tests enable_tests
21560 wine_fn_config_makefile dlls/qdvd enable_qdvd
21561 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21562 wine_fn_config_makefile dlls/qedit enable_qedit
21563 wine_fn_config_makefile dlls/qedit/tests enable_tests
21564 wine_fn_config_makefile dlls/qmgr enable_qmgr
21565 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21566 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21567 wine_fn_config_makefile dlls/quartz enable_quartz
21568 wine_fn_config_makefile dlls/quartz/tests enable_tests
21569 wine_fn_config_makefile dlls/query enable_query
21570 wine_fn_config_makefile dlls/qwave enable_qwave
21571 wine_fn_config_makefile dlls/qwave/tests enable_tests
21572 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21573 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21574 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21575 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21576 wine_fn_config_makefile dlls/regapi enable_regapi
21577 wine_fn_config_makefile dlls/resutils enable_resutils
21578 wine_fn_config_makefile dlls/riched20 enable_riched20
21579 wine_fn_config_makefile dlls/riched20/tests enable_tests
21580 wine_fn_config_makefile dlls/riched32 enable_riched32
21581 wine_fn_config_makefile dlls/riched32/tests enable_tests
21582 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21583 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21584 wine_fn_config_makefile dlls/rsabase enable_rsabase
21585 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21586 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21587 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21588 wine_fn_config_makefile dlls/rtutils enable_rtutils
21589 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21590 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21591 wine_fn_config_makefile dlls/samlib enable_samlib
21592 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21593 wine_fn_config_makefile dlls/sapi enable_sapi
21594 wine_fn_config_makefile dlls/sapi/tests enable_tests
21595 wine_fn_config_makefile dlls/sas enable_sas
21596 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21597 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21598 wine_fn_config_makefile dlls/sccbase enable_sccbase
21599 wine_fn_config_makefile dlls/schannel enable_schannel
21600 wine_fn_config_makefile dlls/schannel/tests enable_tests
21601 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21602 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21603 wine_fn_config_makefile dlls/scrobj enable_scrobj
21604 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21605 wine_fn_config_makefile dlls/scrrun enable_scrrun
21606 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21607 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21608 wine_fn_config_makefile dlls/sechost enable_sechost
21609 wine_fn_config_makefile dlls/secur32 enable_secur32
21610 wine_fn_config_makefile dlls/secur32/tests enable_tests
21611 wine_fn_config_makefile dlls/security enable_security
21612 wine_fn_config_makefile dlls/sensapi enable_sensapi
21613 wine_fn_config_makefile dlls/serialui enable_serialui
21614 wine_fn_config_makefile dlls/serialui/tests enable_tests
21615 wine_fn_config_makefile dlls/setupapi enable_setupapi
21616 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21617 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21618 wine_fn_config_makefile dlls/sfc enable_sfc
21619 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21620 wine_fn_config_makefile dlls/shcore enable_shcore
21621 wine_fn_config_makefile dlls/shcore/tests enable_tests
21622 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21623 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21624 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21625 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21626 wine_fn_config_makefile dlls/shell32 enable_shell32
21627 wine_fn_config_makefile dlls/shell32/tests enable_tests
21628 wine_fn_config_makefile dlls/shfolder enable_shfolder
21629 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21630 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21631 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21632 wine_fn_config_makefile dlls/slc enable_slc
21633 wine_fn_config_makefile dlls/slc/tests enable_tests
21634 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21635 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21636 wine_fn_config_makefile dlls/softpub enable_softpub
21637 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21638 wine_fn_config_makefile dlls/spoolss enable_spoolss
21639 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21640 wine_fn_config_makefile dlls/sppc enable_sppc
21641 wine_fn_config_makefile dlls/srclient enable_srclient
21642 wine_fn_config_makefile dlls/srvcli enable_srvcli
21643 wine_fn_config_makefile dlls/sspicli enable_sspicli
21644 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21645 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21646 wine_fn_config_makefile dlls/sti enable_sti
21647 wine_fn_config_makefile dlls/sti/tests enable_tests
21648 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21649 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21650 wine_fn_config_makefile dlls/strmdll enable_strmdll
21651 wine_fn_config_makefile dlls/svrapi enable_svrapi
21652 wine_fn_config_makefile dlls/sxs enable_sxs
21653 wine_fn_config_makefile dlls/sxs/tests enable_tests
21654 wine_fn_config_makefile dlls/system.drv16 enable_win16
21655 wine_fn_config_makefile dlls/t2embed enable_t2embed
21656 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21657 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21658 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21659 wine_fn_config_makefile dlls/taskschd enable_taskschd
21660 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21661 wine_fn_config_makefile dlls/tbs enable_tbs
21662 wine_fn_config_makefile dlls/tdh enable_tdh
21663 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21664 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21665 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21666 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21667 wine_fn_config_makefile dlls/traffic enable_traffic
21668 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21669 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21670 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21671 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21672 wine_fn_config_makefile dlls/tzres enable_tzres
21673 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21674 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21675 wine_fn_config_makefile dlls/uianimation enable_uianimation
21676 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21677 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21678 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21679 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21680 wine_fn_config_makefile dlls/unicows enable_unicows
21681 wine_fn_config_makefile dlls/updspapi enable_updspapi
21682 wine_fn_config_makefile dlls/url enable_url
21683 wine_fn_config_makefile dlls/urlmon enable_urlmon
21684 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21685 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21686 wine_fn_config_makefile dlls/user.exe16 enable_win16
21687 wine_fn_config_makefile dlls/user32 enable_user32
21688 wine_fn_config_makefile dlls/user32/tests enable_tests
21689 wine_fn_config_makefile dlls/userenv enable_userenv
21690 wine_fn_config_makefile dlls/userenv/tests enable_tests
21691 wine_fn_config_makefile dlls/usp10 enable_usp10
21692 wine_fn_config_makefile dlls/usp10/tests enable_tests
21693 wine_fn_config_makefile dlls/utildll enable_utildll
21694 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21695 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21696 wine_fn_config_makefile dlls/vbscript enable_vbscript
21697 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21698 wine_fn_config_makefile dlls/vcomp enable_vcomp
21699 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21700 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21701 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21702 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21703 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21704 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21705 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21706 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21707 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21708 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21709 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21710 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21711 wine_fn_config_makefile dlls/version enable_version
21712 wine_fn_config_makefile dlls/version/tests enable_tests
21713 wine_fn_config_makefile dlls/vga enable_vga
21714 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21715 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21716 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21717 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21718 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21719 wine_fn_config_makefile dlls/vssapi enable_vssapi
21720 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21721 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21722 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21723 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21724 wine_fn_config_makefile dlls/w32skrnl enable_win16
21725 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21726 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21727 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21728 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21729 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21730 wine_fn_config_makefile dlls/wdscore enable_wdscore
21731 wine_fn_config_makefile dlls/webservices enable_webservices
21732 wine_fn_config_makefile dlls/webservices/tests enable_tests
21733 wine_fn_config_makefile dlls/websocket enable_websocket
21734 wine_fn_config_makefile dlls/wer enable_wer
21735 wine_fn_config_makefile dlls/wer/tests enable_tests
21736 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21737 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21738 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21739 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21740 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21741 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21742 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21743 wine_fn_config_makefile dlls/win32u enable_win32u
21744 wine_fn_config_makefile dlls/win32u/tests enable_tests
21745 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21746 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21747 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21748 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21749 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21750 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21751 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21752 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21753 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21754 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21755 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21756 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21757 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21758 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21759 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21760 wine_fn_config_makefile dlls/windows.media enable_windows_media
21761 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21762 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21763 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21764 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21765 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
21766 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
21767 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21768 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21769 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21770 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21771 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21772 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21773 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21774 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21775 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21776 wine_fn_config_makefile dlls/wined3d enable_wined3d
21777 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21778 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21779 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21780 wine_fn_config_makefile dlls/winemapi enable_winemapi
21781 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21782 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21783 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21784 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21785 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21786 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21787 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21788 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21789 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21790 wine_fn_config_makefile dlls/wing32 enable_wing32
21791 wine_fn_config_makefile dlls/winhttp enable_winhttp
21792 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21793 wine_fn_config_makefile dlls/wininet enable_wininet
21794 wine_fn_config_makefile dlls/wininet/tests enable_tests
21795 wine_fn_config_makefile dlls/winmm enable_winmm
21796 wine_fn_config_makefile dlls/winmm/tests enable_tests
21797 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21798 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21799 wine_fn_config_makefile dlls/winprint enable_winprint
21800 wine_fn_config_makefile dlls/winscard enable_winscard
21801 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21802 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21803 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21804 wine_fn_config_makefile dlls/winsta enable_winsta
21805 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21806 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21807 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21808 wine_fn_config_makefile dlls/wintrust enable_wintrust
21809 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21810 wine_fn_config_makefile dlls/wintypes enable_wintypes
21811 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21812 wine_fn_config_makefile dlls/winusb enable_winusb
21813 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21814 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21815 wine_fn_config_makefile dlls/wlanui enable_wlanui
21816 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21817 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21818 wine_fn_config_makefile dlls/wmasf enable_wmasf
21819 wine_fn_config_makefile dlls/wmi enable_wmi
21820 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21821 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21822 wine_fn_config_makefile dlls/wmp enable_wmp
21823 wine_fn_config_makefile dlls/wmp/tests enable_tests
21824 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21825 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21826 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21827 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21828 wine_fn_config_makefile dlls/wofutil enable_wofutil
21829 wine_fn_config_makefile dlls/wow32 enable_win16
21830 wine_fn_config_makefile dlls/wow64 enable_wow64
21831 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21832 wine_fn_config_makefile dlls/wow64win enable_wow64win
21833 wine_fn_config_makefile dlls/wpc enable_wpc
21834 wine_fn_config_makefile dlls/wpc/tests enable_tests
21835 wine_fn_config_makefile dlls/wpcap enable_wpcap
21836 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21837 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21838 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21839 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21840 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21841 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21842 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21843 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21844 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21845 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21846 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21847 wine_fn_config_makefile dlls/wuapi enable_wuapi
21848 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21849 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21850 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21851 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21852 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21853 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21854 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21855 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21856 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21857 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21858 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21859 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21860 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21861 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21862 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21863 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21864 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21865 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21866 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21867 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21868 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21869 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21870 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21871 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21872 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21873 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21874 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21875 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21876 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21877 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21878 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21879 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21880 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21881 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21882 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21883 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21884 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21885 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21886 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21887 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21888 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21889 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21890 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21891 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21892 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
21893 wine_fn_config_makefile dlls/xmllite enable_xmllite
21894 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21895 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21896 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21897 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21898 wine_fn_config_makefile fonts enable_fonts
21899 wine_fn_config_makefile include enable_include
21900 wine_fn_config_makefile libs/adsiid enable_adsiid
21901 wine_fn_config_makefile libs/dmoguids enable_dmoguids
21902 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
21903 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
21904 wine_fn_config_makefile libs/dxguid enable_dxguid
21905 wine_fn_config_makefile libs/faudio enable_faudio
21906 wine_fn_config_makefile libs/gsm enable_gsm
21907 wine_fn_config_makefile libs/jpeg enable_jpeg
21908 wine_fn_config_makefile libs/jxr enable_jxr
21909 wine_fn_config_makefile libs/lcms2 enable_lcms2
21910 wine_fn_config_makefile libs/ldap enable_ldap
21911 wine_fn_config_makefile libs/mfuuid enable_mfuuid
21912 wine_fn_config_makefile libs/mpg123 enable_mpg123
21913 wine_fn_config_makefile libs/png enable_png
21914 wine_fn_config_makefile libs/strmbase enable_strmbase
21915 wine_fn_config_makefile libs/strmiids enable_strmiids
21916 wine_fn_config_makefile libs/tiff enable_tiff
21917 wine_fn_config_makefile libs/uuid enable_uuid
21918 wine_fn_config_makefile libs/vkd3d enable_vkd3d
21919 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
21920 wine_fn_config_makefile libs/wine enable_wine
21921 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
21922 wine_fn_config_makefile libs/xml2 enable_xml2
21923 wine_fn_config_makefile libs/xslt enable_xslt
21924 wine_fn_config_makefile libs/zlib enable_zlib
21925 wine_fn_config_makefile loader enable_loader
21926 wine_fn_config_makefile nls enable_nls
21927 wine_fn_config_makefile po enable_po
21928 wine_fn_config_makefile programs/arp enable_arp
21929 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21930 wine_fn_config_makefile programs/attrib enable_attrib
21931 wine_fn_config_makefile programs/cabarc enable_cabarc
21932 wine_fn_config_makefile programs/cacls enable_cacls
21933 wine_fn_config_makefile programs/certutil enable_certutil
21934 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21935 wine_fn_config_makefile programs/clock enable_clock
21936 wine_fn_config_makefile programs/cmd enable_cmd
21937 wine_fn_config_makefile programs/cmd/tests enable_tests
21938 wine_fn_config_makefile programs/conhost enable_conhost
21939 wine_fn_config_makefile programs/conhost/tests enable_tests
21940 wine_fn_config_makefile programs/control enable_control
21941 wine_fn_config_makefile programs/cscript enable_cscript
21942 wine_fn_config_makefile programs/dism enable_dism
21943 wine_fn_config_makefile programs/dllhost enable_dllhost
21944 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21945 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21946 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21947 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21948 wine_fn_config_makefile programs/eject enable_eject
21949 wine_fn_config_makefile programs/expand enable_expand
21950 wine_fn_config_makefile programs/explorer enable_explorer
21951 wine_fn_config_makefile programs/explorer/tests enable_tests
21952 wine_fn_config_makefile programs/extrac32 enable_extrac32
21953 wine_fn_config_makefile programs/fc enable_fc
21954 wine_fn_config_makefile programs/find enable_find
21955 wine_fn_config_makefile programs/find/tests enable_tests
21956 wine_fn_config_makefile programs/findstr enable_findstr
21957 wine_fn_config_makefile programs/fsutil enable_fsutil
21958 wine_fn_config_makefile programs/fsutil/tests enable_tests
21959 wine_fn_config_makefile programs/hh enable_hh
21960 wine_fn_config_makefile programs/hostname enable_hostname
21961 wine_fn_config_makefile programs/icacls enable_icacls
21962 wine_fn_config_makefile programs/icinfo enable_icinfo
21963 wine_fn_config_makefile programs/iexplore enable_iexplore
21964 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21965 wine_fn_config_makefile programs/lodctr enable_lodctr
21966 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21967 wine_fn_config_makefile programs/mshta enable_mshta
21968 wine_fn_config_makefile programs/msidb enable_msidb
21969 wine_fn_config_makefile programs/msiexec enable_msiexec
21970 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21971 wine_fn_config_makefile programs/net enable_net
21972 wine_fn_config_makefile programs/netsh enable_netsh
21973 wine_fn_config_makefile programs/netstat enable_netstat
21974 wine_fn_config_makefile programs/ngen enable_ngen
21975 wine_fn_config_makefile programs/notepad enable_notepad
21976 wine_fn_config_makefile programs/oleview enable_oleview
21977 wine_fn_config_makefile programs/ping enable_ping
21978 wine_fn_config_makefile programs/plugplay enable_plugplay
21979 wine_fn_config_makefile programs/powershell enable_powershell
21980 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21981 wine_fn_config_makefile programs/progman enable_progman
21982 wine_fn_config_makefile programs/reg enable_reg
21983 wine_fn_config_makefile programs/reg/tests enable_tests
21984 wine_fn_config_makefile programs/regasm enable_regasm
21985 wine_fn_config_makefile programs/regedit enable_regedit
21986 wine_fn_config_makefile programs/regedit/tests enable_tests
21987 wine_fn_config_makefile programs/regini enable_regini
21988 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21989 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21990 wine_fn_config_makefile programs/robocopy enable_robocopy
21991 wine_fn_config_makefile programs/rpcss enable_rpcss
21992 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21993 wine_fn_config_makefile programs/rundll32 enable_rundll32
21994 wine_fn_config_makefile programs/sc enable_sc
21995 wine_fn_config_makefile programs/sc/tests enable_tests
21996 wine_fn_config_makefile programs/schtasks enable_schtasks
21997 wine_fn_config_makefile programs/schtasks/tests enable_tests
21998 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21999 wine_fn_config_makefile programs/secedit enable_secedit
22000 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22001 wine_fn_config_makefile programs/services enable_services
22002 wine_fn_config_makefile programs/services/tests enable_tests
22003 wine_fn_config_makefile programs/setx enable_setx
22004 wine_fn_config_makefile programs/shutdown enable_shutdown
22005 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22006 wine_fn_config_makefile programs/start enable_start
22007 wine_fn_config_makefile programs/subst enable_subst
22008 wine_fn_config_makefile programs/svchost enable_svchost
22009 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22010 wine_fn_config_makefile programs/taskkill enable_taskkill
22011 wine_fn_config_makefile programs/tasklist enable_tasklist
22012 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22013 wine_fn_config_makefile programs/termsv enable_termsv
22014 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22015 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22016 wine_fn_config_makefile programs/view enable_view
22017 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22018 wine_fn_config_makefile programs/where enable_where
22019 wine_fn_config_makefile programs/whoami enable_whoami
22020 wine_fn_config_makefile programs/wineboot enable_wineboot
22021 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22022 wine_fn_config_makefile programs/winecfg enable_winecfg
22023 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22024 wine_fn_config_makefile programs/winedbg enable_winedbg
22025 wine_fn_config_makefile programs/winedevice enable_winedevice
22026 wine_fn_config_makefile programs/winefile enable_winefile
22027 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22028 wine_fn_config_makefile programs/winemine enable_winemine
22029 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22030 wine_fn_config_makefile programs/winepath enable_winepath
22031 wine_fn_config_makefile programs/winetest enable_winetest
22032 wine_fn_config_makefile programs/winevdm enable_win16
22033 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22034 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22035 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22036 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22037 wine_fn_config_makefile programs/winver enable_winver
22038 wine_fn_config_makefile programs/wmic enable_wmic
22039 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22040 wine_fn_config_makefile programs/wordpad enable_wordpad
22041 wine_fn_config_makefile programs/write enable_write
22042 wine_fn_config_makefile programs/wscript enable_wscript
22043 wine_fn_config_makefile programs/wscript/tests enable_tests
22044 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22045 wine_fn_config_makefile programs/wusa enable_wusa
22046 wine_fn_config_makefile programs/xcopy enable_xcopy
22047 wine_fn_config_makefile programs/xcopy/tests enable_tests
22048 wine_fn_config_makefile server enable_server
22049 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22050 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22051 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22052 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22053 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22054 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22055 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22056 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22057 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22060 as_fn_append CONFIGURE_TARGETS " TAGS"
22061 as_fn_append CONFIGURE_TARGETS " tags"
22062 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22063 as_fn_append CONFIGURE_TARGETS " config.log"
22064 as_fn_append CONFIGURE_TARGETS " config.status"
22065 as_fn_append CONFIGURE_TARGETS " include/config.h"
22066 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22067 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22069 if test "x$enable_tools" != xno
22070 then
22071 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22072 ac_config_commands="$ac_config_commands tools/makedep"
22076 ac_config_commands="$ac_config_commands Makefile"
22080 SHELL=/bin/sh
22083 as_fn_append wine_rules "
22084 all: wine
22085 @echo \"Wine build complete.\"
22086 .INIT: Makefile
22087 .MAKEFILEDEPS:
22088 all: Makefile
22089 Makefile: config.status \$(MAKEDEP)
22090 @./config.status Makefile
22091 depend: \$(MAKEDEP)
22092 \$(MAKEDEP)$makedep_flags"
22095 as_fn_append wine_rules "
22096 config.status: ${wine_srcdir}configure
22097 @./config.status --recheck
22098 include/config.h: include/stamp-h
22099 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22100 @./config.status include/config.h include/stamp-h"
22102 if test "x$enable_maintainer_mode" = xyes
22103 then
22104 as_fn_append wine_rules "
22105 configure: configure.ac aclocal.m4
22106 autoconf --warnings=all
22107 include/config.h.in: include/stamp-h.in
22108 include/stamp-h.in: configure.ac aclocal.m4
22109 autoheader --warnings=all
22110 @echo timestamp > \$@"
22113 if test "x$enable_tools" != xno
22114 then
22115 as_fn_append wine_rules "
22116 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22117 @./config.status tools/makedep
22118 Makefile: tools/makedep$ac_exeext"
22119 else
22120 as_fn_append wine_rules "
22121 \$(MAKEDEP):
22122 @echo \"You need to run make in $toolsdir first\" && false"
22126 if test -n "$with_wine64"
22127 then
22128 case "$with_wine64" in
22129 /*) reldir="" ;;
22130 *) reldir="../" ;;
22131 esac
22132 rm -f fonts server 2>/dev/null
22133 as_fn_append wine_rules "
22134 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22135 loader/wine64 loader/wine64-preloader:
22136 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22137 $with_wine64/loader/wine:
22138 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22139 $with_wine64/loader/wine-preloader:
22140 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22141 clean::
22142 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22143 else
22144 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22145 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22146 fonts \
22147 loader/wine.inf \
22148 nls \
22149 programs/msidb/msidb \
22150 programs/msiexec/msiexec \
22151 programs/notepad/notepad \
22152 programs/regedit/regedit \
22153 programs/regsvr32/regsvr32 \
22154 programs/wineboot/wineboot \
22155 programs/winecfg/winecfg \
22156 programs/wineconsole/wineconsole \
22157 programs/winedbg/winedbg \
22158 programs/winefile/winefile \
22159 programs/winemine/winemine \
22160 programs/winepath/winepath \
22161 server/wineserver"
22163 case $host_os in
22164 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22165 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22166 esac
22170 as_fn_append wine_rules "
22171 distclean:: clean
22172 rm -rf autom4te.cache
22173 maintainer-clean::
22174 rm -f configure include/config.h.in"
22177 as_fn_append wine_rules "
22178 dlls/ntdll/unix/version.c: dummy
22179 @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)
22180 programs/winetest/build.rc: dummy
22181 @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)
22182 programs/winetest/build.nfo:
22183 @-\$(CC) -v 2>\$@
22184 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
22185 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22186 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22189 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22191 as_fn_append wine_rules "
22192 TAGS etags:
22193 rm -f TAGS
22194 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22195 tags ctags:
22196 rm -f tags
22197 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22198 dummy:
22199 .PHONY: depend dummy install-manpages"
22201 printf "%s\n" " done" >&6
22202 cat >confcache <<\_ACEOF
22203 # This file is a shell script that caches the results of configure
22204 # tests run on this system so they can be shared between configure
22205 # scripts and configure runs, see configure's option --config-cache.
22206 # It is not useful on other systems. If it contains results you don't
22207 # want to keep, you may remove or edit it.
22209 # config.status only pays attention to the cache file if you give it
22210 # the --recheck option to rerun configure.
22212 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22213 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22214 # following values.
22216 _ACEOF
22218 # The following way of writing the cache mishandles newlines in values,
22219 # but we know of no workaround that is simple, portable, and efficient.
22220 # So, we kill variables containing newlines.
22221 # Ultrix sh set writes to stderr and can't be redirected directly,
22222 # and sets the high bit in the cache file unless we assign to the vars.
22224 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22225 eval ac_val=\$$ac_var
22226 case $ac_val in #(
22227 *${as_nl}*)
22228 case $ac_var in #(
22229 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22230 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22231 esac
22232 case $ac_var in #(
22233 _ | IFS | as_nl) ;; #(
22234 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22235 *) { eval $ac_var=; unset $ac_var;} ;;
22236 esac ;;
22237 esac
22238 done
22240 (set) 2>&1 |
22241 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22242 *${as_nl}ac_space=\ *)
22243 # `set' does not quote correctly, so add quotes: double-quote
22244 # substitution turns \\\\ into \\, and sed turns \\ into \.
22245 sed -n \
22246 "s/'/'\\\\''/g;
22247 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22248 ;; #(
22250 # `set' quotes correctly as required by POSIX, so do not add quotes.
22251 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22253 esac |
22254 sort
22256 sed '
22257 /^ac_cv_env_/b end
22258 t clear
22259 :clear
22260 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22261 t end
22262 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22263 :end' >>confcache
22264 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22265 if test -w "$cache_file"; then
22266 if test "x$cache_file" != "x/dev/null"; then
22267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22268 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22269 if test ! -f "$cache_file" || test -h "$cache_file"; then
22270 cat confcache >"$cache_file"
22271 else
22272 case $cache_file in #(
22273 */* | ?:*)
22274 mv -f confcache "$cache_file"$$ &&
22275 mv -f "$cache_file"$$ "$cache_file" ;; #(
22277 mv -f confcache "$cache_file" ;;
22278 esac
22281 else
22282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22283 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22286 rm -f confcache
22288 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22289 # Let make expand exec_prefix.
22290 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22292 DEFS=-DHAVE_CONFIG_H
22294 ac_libobjs=
22295 ac_ltlibobjs=
22297 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22298 # 1. Remove the extension, and $U if already installed.
22299 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22300 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22301 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22302 # will be set to the directory where LIBOBJS objects are built.
22303 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22304 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22305 done
22306 LIBOBJS=$ac_libobjs
22308 LTLIBOBJS=$ac_ltlibobjs
22312 : "${CONFIG_STATUS=./config.status}"
22313 ac_write_fail=0
22314 ac_clean_files_save=$ac_clean_files
22315 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22317 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22318 as_write_fail=0
22319 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22320 #! $SHELL
22321 # Generated by $as_me.
22322 # Run this file to recreate the current configuration.
22323 # Compiler output produced by configure, useful for debugging
22324 # configure, is in config.log if it exists.
22326 debug=false
22327 ac_cs_recheck=false
22328 ac_cs_silent=false
22330 SHELL=\${CONFIG_SHELL-$SHELL}
22331 export SHELL
22332 _ASEOF
22333 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22334 ## -------------------- ##
22335 ## M4sh Initialization. ##
22336 ## -------------------- ##
22338 # Be more Bourne compatible
22339 DUALCASE=1; export DUALCASE # for MKS sh
22340 as_nop=:
22341 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22342 then :
22343 emulate sh
22344 NULLCMD=:
22345 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22346 # is contrary to our usage. Disable this feature.
22347 alias -g '${1+"$@"}'='"$@"'
22348 setopt NO_GLOB_SUBST
22349 else $as_nop
22350 case `(set -o) 2>/dev/null` in #(
22351 *posix*) :
22352 set -o posix ;; #(
22353 *) :
22355 esac
22360 # Reset variables that may have inherited troublesome values from
22361 # the environment.
22363 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22364 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22365 # side effect of setting IFS to empty, thus disabling word splitting.)
22366 # Quoting is to prevent editors from complaining about space-tab.
22367 as_nl='
22369 export as_nl
22370 IFS=" "" $as_nl"
22372 PS1='$ '
22373 PS2='> '
22374 PS4='+ '
22376 # Ensure predictable behavior from utilities with locale-dependent output.
22377 LC_ALL=C
22378 export LC_ALL
22379 LANGUAGE=C
22380 export LANGUAGE
22382 # We cannot yet rely on "unset" to work, but we need these variables
22383 # to be unset--not just set to an empty or harmless value--now, to
22384 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22385 # also avoids known problems related to "unset" and subshell syntax
22386 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22387 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22388 do eval test \${$as_var+y} \
22389 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22390 done
22392 # Ensure that fds 0, 1, and 2 are open.
22393 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22394 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22395 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22397 # The user is always right.
22398 if ${PATH_SEPARATOR+false} :; then
22399 PATH_SEPARATOR=:
22400 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22401 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22402 PATH_SEPARATOR=';'
22407 # Find who we are. Look in the path if we contain no directory separator.
22408 as_myself=
22409 case $0 in #((
22410 *[\\/]* ) as_myself=$0 ;;
22411 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22412 for as_dir in $PATH
22414 IFS=$as_save_IFS
22415 case $as_dir in #(((
22416 '') as_dir=./ ;;
22417 */) ;;
22418 *) as_dir=$as_dir/ ;;
22419 esac
22420 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22421 done
22422 IFS=$as_save_IFS
22425 esac
22426 # We did not find ourselves, most probably we were run as `sh COMMAND'
22427 # in which case we are not to be found in the path.
22428 if test "x$as_myself" = x; then
22429 as_myself=$0
22431 if test ! -f "$as_myself"; then
22432 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22433 exit 1
22438 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22439 # ----------------------------------------
22440 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22441 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22442 # script with STATUS, using 1 if that was 0.
22443 as_fn_error ()
22445 as_status=$1; test $as_status -eq 0 && as_status=1
22446 if test "$4"; then
22447 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22450 printf "%s\n" "$as_me: error: $2" >&2
22451 as_fn_exit $as_status
22452 } # as_fn_error
22456 # as_fn_set_status STATUS
22457 # -----------------------
22458 # Set $? to STATUS, without forking.
22459 as_fn_set_status ()
22461 return $1
22462 } # as_fn_set_status
22464 # as_fn_exit STATUS
22465 # -----------------
22466 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22467 as_fn_exit ()
22469 set +e
22470 as_fn_set_status $1
22471 exit $1
22472 } # as_fn_exit
22474 # as_fn_unset VAR
22475 # ---------------
22476 # Portably unset VAR.
22477 as_fn_unset ()
22479 { eval $1=; unset $1;}
22481 as_unset=as_fn_unset
22483 # as_fn_append VAR VALUE
22484 # ----------------------
22485 # Append the text in VALUE to the end of the definition contained in VAR. Take
22486 # advantage of any shell optimizations that allow amortized linear growth over
22487 # repeated appends, instead of the typical quadratic growth present in naive
22488 # implementations.
22489 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22490 then :
22491 eval 'as_fn_append ()
22493 eval $1+=\$2
22495 else $as_nop
22496 as_fn_append ()
22498 eval $1=\$$1\$2
22500 fi # as_fn_append
22502 # as_fn_arith ARG...
22503 # ------------------
22504 # Perform arithmetic evaluation on the ARGs, and store the result in the
22505 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22506 # must be portable across $(()) and expr.
22507 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22508 then :
22509 eval 'as_fn_arith ()
22511 as_val=$(( $* ))
22513 else $as_nop
22514 as_fn_arith ()
22516 as_val=`expr "$@" || test $? -eq 1`
22518 fi # as_fn_arith
22521 if expr a : '\(a\)' >/dev/null 2>&1 &&
22522 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22523 as_expr=expr
22524 else
22525 as_expr=false
22528 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22529 as_basename=basename
22530 else
22531 as_basename=false
22534 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22535 as_dirname=dirname
22536 else
22537 as_dirname=false
22540 as_me=`$as_basename -- "$0" ||
22541 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22542 X"$0" : 'X\(//\)$' \| \
22543 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22544 printf "%s\n" X/"$0" |
22545 sed '/^.*\/\([^/][^/]*\)\/*$/{
22546 s//\1/
22549 /^X\/\(\/\/\)$/{
22550 s//\1/
22553 /^X\/\(\/\).*/{
22554 s//\1/
22557 s/.*/./; q'`
22559 # Avoid depending upon Character Ranges.
22560 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22561 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22562 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22563 as_cr_digits='0123456789'
22564 as_cr_alnum=$as_cr_Letters$as_cr_digits
22567 # Determine whether it's possible to make 'echo' print without a newline.
22568 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22569 # for compatibility with existing Makefiles.
22570 ECHO_C= ECHO_N= ECHO_T=
22571 case `echo -n x` in #(((((
22572 -n*)
22573 case `echo 'xy\c'` in
22574 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22575 xy) ECHO_C='\c';;
22576 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22577 ECHO_T=' ';;
22578 esac;;
22580 ECHO_N='-n';;
22581 esac
22583 # For backward compatibility with old third-party macros, we provide
22584 # the shell variables $as_echo and $as_echo_n. New code should use
22585 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22586 as_echo='printf %s\n'
22587 as_echo_n='printf %s'
22589 rm -f conf$$ conf$$.exe conf$$.file
22590 if test -d conf$$.dir; then
22591 rm -f conf$$.dir/conf$$.file
22592 else
22593 rm -f conf$$.dir
22594 mkdir conf$$.dir 2>/dev/null
22596 if (echo >conf$$.file) 2>/dev/null; then
22597 if ln -s conf$$.file conf$$ 2>/dev/null; then
22598 as_ln_s='ln -s'
22599 # ... but there are two gotchas:
22600 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22601 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22602 # In both cases, we have to default to `cp -pR'.
22603 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22604 as_ln_s='cp -pR'
22605 elif ln conf$$.file conf$$ 2>/dev/null; then
22606 as_ln_s=ln
22607 else
22608 as_ln_s='cp -pR'
22610 else
22611 as_ln_s='cp -pR'
22613 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22614 rmdir conf$$.dir 2>/dev/null
22617 # as_fn_mkdir_p
22618 # -------------
22619 # Create "$as_dir" as a directory, including parents if necessary.
22620 as_fn_mkdir_p ()
22623 case $as_dir in #(
22624 -*) as_dir=./$as_dir;;
22625 esac
22626 test -d "$as_dir" || eval $as_mkdir_p || {
22627 as_dirs=
22628 while :; do
22629 case $as_dir in #(
22630 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22631 *) as_qdir=$as_dir;;
22632 esac
22633 as_dirs="'$as_qdir' $as_dirs"
22634 as_dir=`$as_dirname -- "$as_dir" ||
22635 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22636 X"$as_dir" : 'X\(//\)[^/]' \| \
22637 X"$as_dir" : 'X\(//\)$' \| \
22638 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22639 printf "%s\n" X"$as_dir" |
22640 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22641 s//\1/
22644 /^X\(\/\/\)[^/].*/{
22645 s//\1/
22648 /^X\(\/\/\)$/{
22649 s//\1/
22652 /^X\(\/\).*/{
22653 s//\1/
22656 s/.*/./; q'`
22657 test -d "$as_dir" && break
22658 done
22659 test -z "$as_dirs" || eval "mkdir $as_dirs"
22660 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22663 } # as_fn_mkdir_p
22664 if mkdir -p . 2>/dev/null; then
22665 as_mkdir_p='mkdir -p "$as_dir"'
22666 else
22667 test -d ./-p && rmdir ./-p
22668 as_mkdir_p=false
22672 # as_fn_executable_p FILE
22673 # -----------------------
22674 # Test if FILE is an executable regular file.
22675 as_fn_executable_p ()
22677 test -f "$1" && test -x "$1"
22678 } # as_fn_executable_p
22679 as_test_x='test -x'
22680 as_executable_p=as_fn_executable_p
22682 # Sed expression to map a string onto a valid CPP name.
22683 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22685 # Sed expression to map a string onto a valid variable name.
22686 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22689 exec 6>&1
22690 ## ----------------------------------- ##
22691 ## Main body of $CONFIG_STATUS script. ##
22692 ## ----------------------------------- ##
22693 _ASEOF
22694 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22697 # Save the log message, to keep $0 and so on meaningful, and to
22698 # report actual input values of CONFIG_FILES etc. instead of their
22699 # values after options handling.
22700 ac_log="
22701 This file was extended by Wine $as_me 8.1, which was
22702 generated by GNU Autoconf 2.71. Invocation command line was
22704 CONFIG_FILES = $CONFIG_FILES
22705 CONFIG_HEADERS = $CONFIG_HEADERS
22706 CONFIG_LINKS = $CONFIG_LINKS
22707 CONFIG_COMMANDS = $CONFIG_COMMANDS
22708 $ $0 $@
22710 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22713 _ACEOF
22716 case $ac_config_headers in *"
22717 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22718 esac
22721 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22722 # Files that config.status was made for.
22723 config_headers="$ac_config_headers"
22724 config_links="$ac_config_links"
22725 config_commands="$ac_config_commands"
22727 _ACEOF
22729 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22730 ac_cs_usage="\
22731 \`$as_me' instantiates files and other configuration actions
22732 from templates according to the current configuration. Unless the files
22733 and actions are specified as TAGs, all are instantiated by default.
22735 Usage: $0 [OPTION]... [TAG]...
22737 -h, --help print this help, then exit
22738 -V, --version print version number and configuration settings, then exit
22739 --config print configuration, then exit
22740 -q, --quiet, --silent
22741 do not print progress messages
22742 -d, --debug don't remove temporary files
22743 --recheck update $as_me by reconfiguring in the same conditions
22744 --header=FILE[:TEMPLATE]
22745 instantiate the configuration header FILE
22747 Configuration headers:
22748 $config_headers
22750 Configuration links:
22751 $config_links
22753 Configuration commands:
22754 $config_commands
22756 Report bugs to <wine-devel@winehq.org>.
22757 Wine home page: <https://www.winehq.org>."
22759 _ACEOF
22760 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22761 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22762 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22763 ac_cs_config='$ac_cs_config_escaped'
22764 ac_cs_version="\\
22765 Wine config.status 8.1
22766 configured by $0, generated by GNU Autoconf 2.71,
22767 with options \\"\$ac_cs_config\\"
22769 Copyright (C) 2021 Free Software Foundation, Inc.
22770 This config.status script is free software; the Free Software Foundation
22771 gives unlimited permission to copy, distribute and modify it."
22773 ac_pwd='$ac_pwd'
22774 srcdir='$srcdir'
22775 test -n "\$AWK" || AWK=awk
22776 _ACEOF
22778 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22779 # The default lists apply if the user does not specify any file.
22780 ac_need_defaults=:
22781 while test $# != 0
22783 case $1 in
22784 --*=?*)
22785 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22786 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22787 ac_shift=:
22789 --*=)
22790 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22791 ac_optarg=
22792 ac_shift=:
22795 ac_option=$1
22796 ac_optarg=$2
22797 ac_shift=shift
22799 esac
22801 case $ac_option in
22802 # Handling of the options.
22803 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22804 ac_cs_recheck=: ;;
22805 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22806 printf "%s\n" "$ac_cs_version"; exit ;;
22807 --config | --confi | --conf | --con | --co | --c )
22808 printf "%s\n" "$ac_cs_config"; exit ;;
22809 --debug | --debu | --deb | --de | --d | -d )
22810 debug=: ;;
22811 --header | --heade | --head | --hea )
22812 $ac_shift
22813 case $ac_optarg in
22814 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22815 esac
22816 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22817 ac_need_defaults=false;;
22818 --he | --h)
22819 # Conflict between --help and --header
22820 as_fn_error $? "ambiguous option: \`$1'
22821 Try \`$0 --help' for more information.";;
22822 --help | --hel | -h )
22823 printf "%s\n" "$ac_cs_usage"; exit ;;
22824 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22825 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22826 ac_cs_silent=: ;;
22828 # This is an error.
22829 -*) as_fn_error $? "unrecognized option: \`$1'
22830 Try \`$0 --help' for more information." ;;
22832 *) as_fn_append ac_config_targets " $1"
22833 ac_need_defaults=false ;;
22835 esac
22836 shift
22837 done
22839 ac_configure_extra_args=
22841 if $ac_cs_silent; then
22842 exec 6>/dev/null
22843 ac_configure_extra_args="$ac_configure_extra_args --silent"
22846 _ACEOF
22847 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22848 if \$ac_cs_recheck; then
22849 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22850 shift
22851 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22852 CONFIG_SHELL='$SHELL'
22853 export CONFIG_SHELL
22854 exec "\$@"
22857 _ACEOF
22858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22859 exec 5>>config.log
22861 echo
22862 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22863 ## Running $as_me. ##
22864 _ASBOX
22865 printf "%s\n" "$ac_log"
22866 } >&5
22868 _ACEOF
22869 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22871 # INIT-COMMANDS
22873 wine_fn_output_makedep ()
22875 as_dir=tools; as_fn_mkdir_p
22876 $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
22878 wine_fn_output_makefile ()
22880 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22881 # This Makefile understands the following targets:
22883 # all (default): build wine
22884 # clean: remove all intermediate files
22885 # distclean: also remove all files created by configure
22886 # test: run tests
22887 # testclean: clean test results to force running all tests again
22888 # install-lib: install libraries needed to run applications
22889 # install-dev: install development environment
22890 # install: install everything
22891 # uninstall: uninstall everything
22892 # ctags: create a tags file for vim and others.
22893 # etags: create a TAGS file for Emacs.
22895 SHELL = $SHELL
22896 PATH_SEPARATOR = $PATH_SEPARATOR
22897 PACKAGE_NAME = $PACKAGE_NAME
22898 PACKAGE_TARNAME = $PACKAGE_TARNAME
22899 PACKAGE_VERSION = $PACKAGE_VERSION
22900 PACKAGE_STRING = $PACKAGE_STRING
22901 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22902 PACKAGE_URL = $PACKAGE_URL
22903 exec_prefix = $exec_prefix
22904 prefix = $prefix
22905 program_transform_name = $program_transform_name
22906 bindir = $bindir
22907 sbindir = $sbindir
22908 libexecdir = $libexecdir
22909 datarootdir = $datarootdir
22910 datadir = $datadir
22911 sysconfdir = $sysconfdir
22912 sharedstatedir = $sharedstatedir
22913 localstatedir = $localstatedir
22914 runstatedir = $runstatedir
22915 includedir = $includedir
22916 oldincludedir = $oldincludedir
22917 docdir = $docdir
22918 infodir = $infodir
22919 htmldir = $htmldir
22920 dvidir = $dvidir
22921 pdfdir = $pdfdir
22922 psdir = $psdir
22923 libdir = $libdir
22924 localedir = $localedir
22925 mandir = $mandir
22926 DEFS = $DEFS
22927 ECHO_C = $ECHO_C
22928 ECHO_N = $ECHO_N
22929 ECHO_T = $ECHO_T
22930 LIBS = $LIBS
22931 build_alias = $build_alias
22932 host_alias = $host_alias
22933 target_alias = $target_alias
22934 system_dllpath = $system_dllpath
22935 build = $build
22936 build_cpu = $build_cpu
22937 build_vendor = $build_vendor
22938 build_os = $build_os
22939 host = $host
22940 host_cpu = $host_cpu
22941 host_vendor = $host_vendor
22942 host_os = $host_os
22943 dlldir = $dlldir
22944 fontdir = $fontdir
22945 nlsdir = $nlsdir
22946 srcdir = $srcdir
22947 SET_MAKE = $SET_MAKE
22948 CC = $CC
22949 CFLAGS = $CFLAGS
22950 LDFLAGS = $LDFLAGS
22951 CPPFLAGS = $CPPFLAGS
22952 ac_ct_CC = $ac_ct_CC
22953 EXEEXT = $EXEEXT
22954 OBJEXT = $OBJEXT
22955 CXX = $CXX
22956 CXXFLAGS = $CXXFLAGS
22957 ac_ct_CXX = $ac_ct_CXX
22958 CPPBIN = $CPPBIN
22959 LD = $LD
22960 TARGETFLAGS = $TARGETFLAGS
22961 toolsext = $toolsext
22962 HOST_ARCH = $HOST_ARCH
22963 aarch64_CC = $aarch64_CC
22964 aarch64_CFLAGS = $aarch64_CFLAGS
22965 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
22966 aarch64_LDFLAGS = $aarch64_LDFLAGS
22967 aarch64_DEBUG = $aarch64_DEBUG
22968 aarch64_TARGET = $aarch64_TARGET
22969 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
22970 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
22971 arm_CC = $arm_CC
22972 arm_CFLAGS = $arm_CFLAGS
22973 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
22974 arm_LDFLAGS = $arm_LDFLAGS
22975 arm_DEBUG = $arm_DEBUG
22976 arm_TARGET = $arm_TARGET
22977 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
22978 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
22979 i386_CC = $i386_CC
22980 i386_CFLAGS = $i386_CFLAGS
22981 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
22982 i386_LDFLAGS = $i386_LDFLAGS
22983 i386_DEBUG = $i386_DEBUG
22984 i386_TARGET = $i386_TARGET
22985 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
22986 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
22987 x86_64_CC = $x86_64_CC
22988 x86_64_CFLAGS = $x86_64_CFLAGS
22989 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
22990 x86_64_LDFLAGS = $x86_64_LDFLAGS
22991 x86_64_DEBUG = $x86_64_DEBUG
22992 x86_64_TARGET = $x86_64_TARGET
22993 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
22994 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
22995 toolsdir = $toolsdir
22996 MAKEDEP = $MAKEDEP
22997 RUNTESTFLAGS = $RUNTESTFLAGS
22998 SED_CMD = $SED_CMD
22999 FLEX = $FLEX
23000 BISON = $BISON
23001 AR = $AR
23002 ac_ct_AR = $ac_ct_AR
23003 STRIP = $STRIP
23004 RANLIB = $RANLIB
23005 LN_S = $LN_S
23006 GREP = $GREP
23007 EGREP = $EGREP
23008 LDCONFIG = $LDCONFIG
23009 MSGFMT = $MSGFMT
23010 PKG_CONFIG = $PKG_CONFIG
23011 FONTFORGE = $FONTFORGE
23012 RSVG = $RSVG
23013 CONVERT = $CONVERT
23014 ICOTOOL = $ICOTOOL
23015 I386_LIBS = $I386_LIBS
23016 OPENGL_LIBS = $OPENGL_LIBS
23017 DLLFLAGS = $DLLFLAGS
23018 LDDLLFLAGS = $LDDLLFLAGS
23019 LDEXECFLAGS = $LDEXECFLAGS
23020 EXTRACFLAGS = $EXTRACFLAGS
23021 UNIXDLLFLAGS = $UNIXDLLFLAGS
23022 UNIXLDFLAGS = $UNIXLDFLAGS
23023 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23024 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23025 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23026 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23027 LDD = $LDD
23028 OTOOL = $OTOOL
23029 READELF = $READELF
23030 SUBDIRS = $SUBDIRS
23031 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23032 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23033 CARBON_LIBS = $CARBON_LIBS
23034 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23035 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23036 IOKIT_LIBS = $IOKIT_LIBS
23037 METAL_LIBS = $METAL_LIBS
23038 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23039 CORESERVICES_LIBS = $CORESERVICES_LIBS
23040 APPKIT_LIBS = $APPKIT_LIBS
23041 SECURITY_LIBS = $SECURITY_LIBS
23042 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23043 COREAUDIO_LIBS = $COREAUDIO_LIBS
23044 OPENCL_LIBS = $OPENCL_LIBS
23045 OBJC = $OBJC
23046 OBJCFLAGS = $OBJCFLAGS
23047 ac_ct_OBJC = $ac_ct_OBJC
23048 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23049 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23050 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23051 PRELINK = $PRELINK
23052 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23053 PE_ARCHS = $PE_ARCHS
23054 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23055 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23056 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23057 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23058 GSM_PE_LIBS = $GSM_PE_LIBS
23059 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23060 JPEG_PE_LIBS = $JPEG_PE_LIBS
23061 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23062 JXR_PE_LIBS = $JXR_PE_LIBS
23063 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23064 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23065 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23066 LDAP_PE_LIBS = $LDAP_PE_LIBS
23067 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23068 MPG123_PE_LIBS = $MPG123_PE_LIBS
23069 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23070 PNG_PE_LIBS = $PNG_PE_LIBS
23071 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23072 TIFF_PE_LIBS = $TIFF_PE_LIBS
23073 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23074 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23075 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23076 XML2_PE_LIBS = $XML2_PE_LIBS
23077 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23078 XSLT_PE_LIBS = $XSLT_PE_LIBS
23079 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23080 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23081 PTHREAD_LIBS = $PTHREAD_LIBS
23082 XMKMF = $XMKMF
23083 CPP = $CPP
23084 X_CFLAGS = $X_CFLAGS
23085 X_PRE_LIBS = $X_PRE_LIBS
23086 X_LIBS = $X_LIBS
23087 X_EXTRA_LIBS = $X_EXTRA_LIBS
23088 PCAP_LIBS = $PCAP_LIBS
23089 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23090 INOTIFY_LIBS = $INOTIFY_LIBS
23091 DBUS_CFLAGS = $DBUS_CFLAGS
23092 DBUS_LIBS = $DBUS_LIBS
23093 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23094 GNUTLS_LIBS = $GNUTLS_LIBS
23095 SANE_CFLAGS = $SANE_CFLAGS
23096 SANE_LIBS = $SANE_LIBS
23097 USB_CFLAGS = $USB_CFLAGS
23098 USB_LIBS = $USB_LIBS
23099 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23100 GPHOTO2_LIBS = $GPHOTO2_LIBS
23101 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23102 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23103 RESOLV_LIBS = $RESOLV_LIBS
23104 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23105 FREETYPE_LIBS = $FREETYPE_LIBS
23106 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23107 PULSE_CFLAGS = $PULSE_CFLAGS
23108 PULSE_LIBS = $PULSE_LIBS
23109 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23110 GSTREAMER_LIBS = $GSTREAMER_LIBS
23111 ALSA_LIBS = $ALSA_LIBS
23112 OSS4_CFLAGS = $OSS4_CFLAGS
23113 OSS4_LIBS = $OSS4_LIBS
23114 UDEV_CFLAGS = $UDEV_CFLAGS
23115 UDEV_LIBS = $UDEV_LIBS
23116 UNWIND_CFLAGS = $UNWIND_CFLAGS
23117 UNWIND_LIBS = $UNWIND_LIBS
23118 SDL2_CFLAGS = $SDL2_CFLAGS
23119 SDL2_LIBS = $SDL2_LIBS
23120 CAPI20_CFLAGS = $CAPI20_CFLAGS
23121 CAPI20_LIBS = $CAPI20_LIBS
23122 CUPS_CFLAGS = $CUPS_CFLAGS
23123 CUPS_LIBS = $CUPS_LIBS
23124 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23125 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23126 KRB5_CFLAGS = $KRB5_CFLAGS
23127 KRB5_LIBS = $KRB5_LIBS
23128 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23129 GSSAPI_LIBS = $GSSAPI_LIBS
23130 PROCSTAT_LIBS = $PROCSTAT_LIBS
23131 NETAPI_CFLAGS = $NETAPI_CFLAGS
23132 NETAPI_LIBS = $NETAPI_LIBS
23133 MSVCRTFLAGS = $MSVCRTFLAGS
23134 DELAYLOADFLAG = $DELAYLOADFLAG
23135 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23136 RT_LIBS = $RT_LIBS
23137 TAGSFLAGS = $TAGSFLAGS
23138 LIBOBJS = $LIBOBJS
23139 LTLIBOBJS = $LTLIBOBJS
23140 $SET_MAKE
23141 $wine_rules
23142 _WINE_EOF
23143 as_fn_error $? "could not create Makefile" "$LINENO" 5
23146 _ACEOF
23148 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23150 # Handling of arguments.
23151 for ac_config_target in $ac_config_targets
23153 case $ac_config_target in
23154 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23155 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23156 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23157 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23158 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23159 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23161 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23162 esac
23163 done
23166 # If the user did not use the arguments to specify the items to instantiate,
23167 # then the envvar interface is used. Set only those that are not.
23168 # We use the long form for the default assignment because of an extremely
23169 # bizarre bug on SunOS 4.1.3.
23170 if $ac_need_defaults; then
23171 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23172 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23173 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23176 # Have a temporary directory for convenience. Make it in the build tree
23177 # simply because there is no reason against having it here, and in addition,
23178 # creating and moving files from /tmp can sometimes cause problems.
23179 # Hook for its removal unless debugging.
23180 # Note that there is a small window in which the directory will not be cleaned:
23181 # after its creation but before its name has been assigned to `$tmp'.
23182 $debug ||
23184 tmp= ac_tmp=
23185 trap 'exit_status=$?
23186 : "${ac_tmp:=$tmp}"
23187 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23189 trap 'as_fn_exit 1' 1 2 13 15
23191 # Create a (secure) tmp directory for tmp files.
23194 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23195 test -d "$tmp"
23196 } ||
23198 tmp=./conf$$-$RANDOM
23199 (umask 077 && mkdir "$tmp")
23200 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23201 ac_tmp=$tmp
23203 # Set up the scripts for CONFIG_HEADERS section.
23204 # No need to generate them if there are no CONFIG_HEADERS.
23205 # This happens for instance with `./config.status Makefile'.
23206 if test -n "$CONFIG_HEADERS"; then
23207 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23208 BEGIN {
23209 _ACEOF
23211 # Transform confdefs.h into an awk script `defines.awk', embedded as
23212 # here-document in config.status, that substitutes the proper values into
23213 # config.h.in to produce config.h.
23215 # Create a delimiter string that does not exist in confdefs.h, to ease
23216 # handling of long lines.
23217 ac_delim='%!_!# '
23218 for ac_last_try in false false :; do
23219 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23220 if test -z "$ac_tt"; then
23221 break
23222 elif $ac_last_try; then
23223 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23224 else
23225 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23227 done
23229 # For the awk script, D is an array of macro values keyed by name,
23230 # likewise P contains macro parameters if any. Preserve backslash
23231 # newline sequences.
23233 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23234 sed -n '
23235 s/.\{148\}/&'"$ac_delim"'/g
23236 t rset
23237 :rset
23238 s/^[ ]*#[ ]*define[ ][ ]*/ /
23239 t def
23241 :def
23242 s/\\$//
23243 t bsnl
23244 s/["\\]/\\&/g
23245 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23246 D["\1"]=" \3"/p
23247 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23249 :bsnl
23250 s/["\\]/\\&/g
23251 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23252 D["\1"]=" \3\\\\\\n"\\/p
23253 t cont
23254 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23255 t cont
23257 :cont
23259 s/.\{148\}/&'"$ac_delim"'/g
23260 t clear
23261 :clear
23262 s/\\$//
23263 t bsnlc
23264 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23266 :bsnlc
23267 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23268 b cont
23269 ' <confdefs.h | sed '
23270 s/'"$ac_delim"'/"\\\
23271 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23273 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23274 for (key in D) D_is_set[key] = 1
23275 FS = "\a"
23277 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23278 line = \$ 0
23279 split(line, arg, " ")
23280 if (arg[1] == "#") {
23281 defundef = arg[2]
23282 mac1 = arg[3]
23283 } else {
23284 defundef = substr(arg[1], 2)
23285 mac1 = arg[2]
23287 split(mac1, mac2, "(") #)
23288 macro = mac2[1]
23289 prefix = substr(line, 1, index(line, defundef) - 1)
23290 if (D_is_set[macro]) {
23291 # Preserve the white space surrounding the "#".
23292 print prefix "define", macro P[macro] D[macro]
23293 next
23294 } else {
23295 # Replace #undef with comments. This is necessary, for example,
23296 # in the case of _POSIX_SOURCE, which is predefined and required
23297 # on some systems where configure will not decide to define it.
23298 if (defundef == "undef") {
23299 print "/*", prefix defundef, macro, "*/"
23300 next
23304 { print }
23305 _ACAWK
23306 _ACEOF
23307 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23308 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23309 fi # test -n "$CONFIG_HEADERS"
23312 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23313 shift
23314 for ac_tag
23316 case $ac_tag in
23317 :[FHLC]) ac_mode=$ac_tag; continue;;
23318 esac
23319 case $ac_mode$ac_tag in
23320 :[FHL]*:*);;
23321 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23322 :[FH]-) ac_tag=-:-;;
23323 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23324 esac
23325 ac_save_IFS=$IFS
23326 IFS=:
23327 set x $ac_tag
23328 IFS=$ac_save_IFS
23329 shift
23330 ac_file=$1
23331 shift
23333 case $ac_mode in
23334 :L) ac_source=$1;;
23335 :[FH])
23336 ac_file_inputs=
23337 for ac_f
23339 case $ac_f in
23340 -) ac_f="$ac_tmp/stdin";;
23341 *) # Look for the file first in the build tree, then in the source tree
23342 # (if the path is not absolute). The absolute path cannot be DOS-style,
23343 # because $ac_f cannot contain `:'.
23344 test -f "$ac_f" ||
23345 case $ac_f in
23346 [\\/$]*) false;;
23347 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23348 esac ||
23349 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23350 esac
23351 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23352 as_fn_append ac_file_inputs " '$ac_f'"
23353 done
23355 # Let's still pretend it is `configure' which instantiates (i.e., don't
23356 # use $as_me), people would be surprised to read:
23357 # /* config.h. Generated by config.status. */
23358 configure_input='Generated from '`
23359 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23360 `' by configure.'
23361 if test x"$ac_file" != x-; then
23362 configure_input="$ac_file. $configure_input"
23363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23364 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23366 # Neutralize special characters interpreted by sed in replacement strings.
23367 case $configure_input in #(
23368 *\&* | *\|* | *\\* )
23369 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23370 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23371 *) ac_sed_conf_input=$configure_input;;
23372 esac
23374 case $ac_tag in
23375 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23376 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23377 esac
23379 esac
23381 ac_dir=`$as_dirname -- "$ac_file" ||
23382 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23383 X"$ac_file" : 'X\(//\)[^/]' \| \
23384 X"$ac_file" : 'X\(//\)$' \| \
23385 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23386 printf "%s\n" X"$ac_file" |
23387 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23388 s//\1/
23391 /^X\(\/\/\)[^/].*/{
23392 s//\1/
23395 /^X\(\/\/\)$/{
23396 s//\1/
23399 /^X\(\/\).*/{
23400 s//\1/
23403 s/.*/./; q'`
23404 as_dir="$ac_dir"; as_fn_mkdir_p
23405 ac_builddir=.
23407 case "$ac_dir" in
23408 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23410 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23411 # A ".." for each directory in $ac_dir_suffix.
23412 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23413 case $ac_top_builddir_sub in
23414 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23415 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23416 esac ;;
23417 esac
23418 ac_abs_top_builddir=$ac_pwd
23419 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23420 # for backward compatibility:
23421 ac_top_builddir=$ac_top_build_prefix
23423 case $srcdir in
23424 .) # We are building in place.
23425 ac_srcdir=.
23426 ac_top_srcdir=$ac_top_builddir_sub
23427 ac_abs_top_srcdir=$ac_pwd ;;
23428 [\\/]* | ?:[\\/]* ) # Absolute name.
23429 ac_srcdir=$srcdir$ac_dir_suffix;
23430 ac_top_srcdir=$srcdir
23431 ac_abs_top_srcdir=$srcdir ;;
23432 *) # Relative name.
23433 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23434 ac_top_srcdir=$ac_top_build_prefix$srcdir
23435 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23436 esac
23437 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23440 case $ac_mode in
23444 # CONFIG_HEADER
23446 if test x"$ac_file" != x-; then
23448 printf "%s\n" "/* $configure_input */" >&1 \
23449 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23450 } >"$ac_tmp/config.h" \
23451 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23452 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23454 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23455 else
23456 rm -f "$ac_file"
23457 mv "$ac_tmp/config.h" "$ac_file" \
23458 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23460 else
23461 printf "%s\n" "/* $configure_input */" >&1 \
23462 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23463 || as_fn_error $? "could not create -" "$LINENO" 5
23468 # CONFIG_LINK
23471 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23473 else
23474 # Prefer the file from the source tree if names are identical.
23475 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23476 ac_source=$srcdir/$ac_source
23479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23480 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23482 if test ! -r "$ac_source"; then
23483 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23485 rm -f "$ac_file"
23487 # Try a relative symlink, then a hard link, then a copy.
23488 case $ac_source in
23489 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23490 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23491 esac
23492 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23493 ln "$ac_source" "$ac_file" 2>/dev/null ||
23494 cp -p "$ac_source" "$ac_file" ||
23495 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23498 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23499 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23501 esac
23504 case $ac_file$ac_mode in
23505 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23506 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23507 "Makefile":C) wine_fn_output_makefile Makefile ;;
23509 esac
23510 done # for ac_tag
23513 as_fn_exit 0
23514 _ACEOF
23515 ac_clean_files=$ac_clean_files_save
23517 test $ac_write_fail = 0 ||
23518 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23521 # configure is writing to config.log, and then calls config.status.
23522 # config.status does its own redirection, appending to config.log.
23523 # Unfortunately, on DOS this fails, as config.log is still kept open
23524 # by configure, so config.status won't be able to write to it; its
23525 # output is simply discarded. So we exec the FD to /dev/null,
23526 # effectively closing config.log, so it can be properly (re)opened and
23527 # appended to by config.status. When coming back to configure, we
23528 # need to make the FD available again.
23529 if test "$no_create" != yes; then
23530 ac_cs_success=:
23531 ac_config_status_args=
23532 test "$silent" = yes &&
23533 ac_config_status_args="$ac_config_status_args --quiet"
23534 exec 5>/dev/null
23535 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23536 exec 5>>config.log
23537 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23538 # would make configure fail if this is the last instruction.
23539 $ac_cs_success || as_fn_exit 1
23541 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23543 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23547 if test "$no_create" = "yes"
23548 then
23549 exit 0
23552 ac_save_IFS="$IFS"
23553 if test "x$wine_notices" != x; then
23554 echo >&6
23555 IFS="|"
23556 for msg in $wine_notices; do
23557 IFS="$ac_save_IFS"
23558 if ${msg:+false} :
23559 then :
23561 else $as_nop
23562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23563 printf "%s\n" "$as_me: $msg" >&6;}
23565 done
23567 IFS="|"
23568 for msg in $wine_warnings; do
23569 IFS="$ac_save_IFS"
23570 if ${msg:+false} :
23571 then :
23573 else $as_nop
23574 echo >&2
23575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23576 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23578 done
23579 IFS="$ac_save_IFS"
23581 printf "%s\n" "
23582 $as_me: Finished. Do '${ac_make}' to compile Wine.
23583 " >&6