user32/tests: Test WM_DEVICECHANGE Unicode conversion.
[wine.git] / configure
blobcaa0f30a71c220d4a9092adf22faa5fedd16716d
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_windowscodecs
1458 enable_windowscodecsext
1459 enable_winealsa_drv
1460 enable_wineandroid_drv
1461 enable_winebus_sys
1462 enable_winecoreaudio_drv
1463 enable_winecrt0
1464 enable_wined3d
1465 enable_winegstreamer
1466 enable_winehid_sys
1467 enable_winemac_drv
1468 enable_winemapi
1469 enable_wineoss_drv
1470 enable_wineps_drv
1471 enable_winepulse_drv
1472 enable_wineusb_sys
1473 enable_winevulkan
1474 enable_winex11_drv
1475 enable_winexinput_sys
1476 enable_wing32
1477 enable_winhttp
1478 enable_wininet
1479 enable_winmm
1480 enable_winnls32
1481 enable_winprint
1482 enable_winscard
1483 enable_winspool_drv
1484 enable_winsta
1485 enable_wintab32
1486 enable_wintrust
1487 enable_wintypes
1488 enable_winusb
1489 enable_wlanapi
1490 enable_wlanui
1491 enable_wldap32
1492 enable_wmasf
1493 enable_wmi
1494 enable_wmiutils
1495 enable_wmp
1496 enable_wmphoto
1497 enable_wmvcore
1498 enable_wnaspi32
1499 enable_wofutil
1500 enable_wow64
1501 enable_wow64cpu
1502 enable_wow64win
1503 enable_wpc
1504 enable_wpcap
1505 enable_ws2_32
1506 enable_wsdapi
1507 enable_wshom_ocx
1508 enable_wsnmp32
1509 enable_wsock32
1510 enable_wtsapi32
1511 enable_wuapi
1512 enable_wuaueng
1513 enable_x3daudio1_0
1514 enable_x3daudio1_1
1515 enable_x3daudio1_2
1516 enable_x3daudio1_3
1517 enable_x3daudio1_4
1518 enable_x3daudio1_5
1519 enable_x3daudio1_6
1520 enable_x3daudio1_7
1521 enable_xactengine2_0
1522 enable_xactengine2_4
1523 enable_xactengine2_7
1524 enable_xactengine2_9
1525 enable_xactengine3_0
1526 enable_xactengine3_1
1527 enable_xactengine3_2
1528 enable_xactengine3_3
1529 enable_xactengine3_4
1530 enable_xactengine3_5
1531 enable_xactengine3_6
1532 enable_xactengine3_7
1533 enable_xapofx1_1
1534 enable_xapofx1_2
1535 enable_xapofx1_3
1536 enable_xapofx1_4
1537 enable_xapofx1_5
1538 enable_xaudio2_0
1539 enable_xaudio2_1
1540 enable_xaudio2_2
1541 enable_xaudio2_3
1542 enable_xaudio2_4
1543 enable_xaudio2_5
1544 enable_xaudio2_6
1545 enable_xaudio2_7
1546 enable_xaudio2_8
1547 enable_xaudio2_9
1548 enable_xinput1_1
1549 enable_xinput1_2
1550 enable_xinput1_3
1551 enable_xinput1_4
1552 enable_xinput9_1_0
1553 enable_xinputuap
1554 enable_xmllite
1555 enable_xolehlp
1556 enable_xpsprint
1557 enable_xpssvcs
1558 enable_fonts
1559 enable_include
1560 enable_adsiid
1561 enable_dmoguids
1562 enable_dxerr8
1563 enable_dxerr9
1564 enable_dxguid
1565 enable_faudio
1566 enable_gsm
1567 enable_jpeg
1568 enable_jxr
1569 enable_lcms2
1570 enable_ldap
1571 enable_mfuuid
1572 enable_mpg123
1573 enable_png
1574 enable_strmbase
1575 enable_strmiids
1576 enable_tiff
1577 enable_uuid
1578 enable_vkd3d
1579 enable_wbemuuid
1580 enable_wine
1581 enable_wmcodecdspuuid
1582 enable_xml2
1583 enable_xslt
1584 enable_zlib
1585 enable_loader
1586 enable_nls
1587 enable_po
1588 enable_arp
1589 enable_aspnet_regiis
1590 enable_attrib
1591 enable_cabarc
1592 enable_cacls
1593 enable_certutil
1594 enable_chcp_com
1595 enable_clock
1596 enable_cmd
1597 enable_conhost
1598 enable_control
1599 enable_cscript
1600 enable_dism
1601 enable_dllhost
1602 enable_dplaysvr
1603 enable_dpnsvr
1604 enable_dpvsetup
1605 enable_dxdiag
1606 enable_eject
1607 enable_expand
1608 enable_explorer
1609 enable_extrac32
1610 enable_fc
1611 enable_find
1612 enable_findstr
1613 enable_fsutil
1614 enable_hh
1615 enable_hostname
1616 enable_icacls
1617 enable_icinfo
1618 enable_iexplore
1619 enable_ipconfig
1620 enable_lodctr
1621 enable_mofcomp
1622 enable_mshta
1623 enable_msidb
1624 enable_msiexec
1625 enable_msinfo32
1626 enable_net
1627 enable_netsh
1628 enable_netstat
1629 enable_ngen
1630 enable_notepad
1631 enable_oleview
1632 enable_ping
1633 enable_plugplay
1634 enable_powershell
1635 enable_presentationfontcache
1636 enable_progman
1637 enable_reg
1638 enable_regasm
1639 enable_regedit
1640 enable_regini
1641 enable_regsvcs
1642 enable_regsvr32
1643 enable_robocopy
1644 enable_rpcss
1645 enable_rundll32
1646 enable_sc
1647 enable_schtasks
1648 enable_sdbinst
1649 enable_secedit
1650 enable_servicemodelreg
1651 enable_services
1652 enable_setx
1653 enable_shutdown
1654 enable_spoolsv
1655 enable_start
1656 enable_subst
1657 enable_svchost
1658 enable_systeminfo
1659 enable_taskkill
1660 enable_tasklist
1661 enable_taskmgr
1662 enable_termsv
1663 enable_uninstaller
1664 enable_unlodctr
1665 enable_view
1666 enable_wevtutil
1667 enable_where
1668 enable_whoami
1669 enable_wineboot
1670 enable_winebrowser
1671 enable_winecfg
1672 enable_wineconsole
1673 enable_winedbg
1674 enable_winedevice
1675 enable_winefile
1676 enable_winemenubuilder
1677 enable_winemine
1678 enable_winemsibuilder
1679 enable_winepath
1680 enable_winetest
1681 enable_winhlp32
1682 enable_winmgmt
1683 enable_winver
1684 enable_wmic
1685 enable_wmplayer
1686 enable_wordpad
1687 enable_write
1688 enable_wscript
1689 enable_wuauserv
1690 enable_wusa
1691 enable_xcopy
1692 enable_server
1693 enable_tools
1694 enable_sfnt2fon
1695 enable_widl
1696 enable_winebuild
1697 enable_winedump
1698 enable_winegcc
1699 enable_winemaker
1700 enable_wmc
1701 enable_wrc
1703 ac_precious_vars='build_alias
1704 host_alias
1705 target_alias
1707 CFLAGS
1708 LDFLAGS
1709 LIBS
1710 CPPFLAGS
1712 CXXFLAGS
1714 OBJC
1715 OBJCFLAGS
1716 FAUDIO_PE_CFLAGS
1717 FAUDIO_PE_LIBS
1718 GSM_PE_CFLAGS
1719 GSM_PE_LIBS
1720 JPEG_PE_CFLAGS
1721 JPEG_PE_LIBS
1722 JXR_PE_CFLAGS
1723 JXR_PE_LIBS
1724 LCMS2_PE_CFLAGS
1725 LCMS2_PE_LIBS
1726 LDAP_PE_CFLAGS
1727 LDAP_PE_LIBS
1728 MPG123_PE_CFLAGS
1729 MPG123_PE_LIBS
1730 PNG_PE_CFLAGS
1731 PNG_PE_LIBS
1732 TIFF_PE_CFLAGS
1733 TIFF_PE_LIBS
1734 VKD3D_PE_CFLAGS
1735 VKD3D_PE_LIBS
1736 XML2_PE_CFLAGS
1737 XML2_PE_LIBS
1738 XSLT_PE_CFLAGS
1739 XSLT_PE_LIBS
1740 ZLIB_PE_CFLAGS
1741 ZLIB_PE_LIBS
1742 XMKMF
1744 INOTIFY_CFLAGS
1745 INOTIFY_LIBS
1746 DBUS_CFLAGS
1747 DBUS_LIBS
1748 GNUTLS_CFLAGS
1749 GNUTLS_LIBS
1750 SANE_CFLAGS
1751 SANE_LIBS
1752 USB_CFLAGS
1753 USB_LIBS
1754 GPHOTO2_CFLAGS
1755 GPHOTO2_LIBS
1756 GPHOTO2_PORT_CFLAGS
1757 GPHOTO2_PORT_LIBS
1758 FREETYPE_CFLAGS
1759 FREETYPE_LIBS
1760 PULSE_CFLAGS
1761 PULSE_LIBS
1762 GSTREAMER_CFLAGS
1763 GSTREAMER_LIBS
1764 UDEV_CFLAGS
1765 UDEV_LIBS
1766 UNWIND_CFLAGS
1767 UNWIND_LIBS
1768 SDL2_CFLAGS
1769 SDL2_LIBS
1770 CAPI20_CFLAGS
1771 CAPI20_LIBS
1772 CUPS_CFLAGS
1773 CUPS_LIBS
1774 FONTCONFIG_CFLAGS
1775 FONTCONFIG_LIBS
1776 KRB5_CFLAGS
1777 KRB5_LIBS
1778 GSSAPI_CFLAGS
1779 GSSAPI_LIBS
1780 NETAPI_CFLAGS
1781 NETAPI_LIBS'
1784 # Initialize some variables set by options.
1785 ac_init_help=
1786 ac_init_version=false
1787 ac_unrecognized_opts=
1788 ac_unrecognized_sep=
1789 # The variables have the same names as the options, with
1790 # dashes changed to underlines.
1791 cache_file=/dev/null
1792 exec_prefix=NONE
1793 no_create=
1794 no_recursion=
1795 prefix=NONE
1796 program_prefix=NONE
1797 program_suffix=NONE
1798 program_transform_name=s,x,x,
1799 silent=
1800 site=
1801 srcdir=
1802 verbose=
1803 x_includes=NONE
1804 x_libraries=NONE
1806 # Installation directory options.
1807 # These are left unexpanded so users can "make install exec_prefix=/foo"
1808 # and all the variables that are supposed to be based on exec_prefix
1809 # by default will actually change.
1810 # Use braces instead of parens because sh, perl, etc. also accept them.
1811 # (The list follows the same order as the GNU Coding Standards.)
1812 bindir='${exec_prefix}/bin'
1813 sbindir='${exec_prefix}/sbin'
1814 libexecdir='${exec_prefix}/libexec'
1815 datarootdir='${prefix}/share'
1816 datadir='${datarootdir}'
1817 sysconfdir='${prefix}/etc'
1818 sharedstatedir='${prefix}/com'
1819 localstatedir='${prefix}/var'
1820 runstatedir='${localstatedir}/run'
1821 includedir='${prefix}/include'
1822 oldincludedir='/usr/include'
1823 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1824 infodir='${datarootdir}/info'
1825 htmldir='${docdir}'
1826 dvidir='${docdir}'
1827 pdfdir='${docdir}'
1828 psdir='${docdir}'
1829 libdir='${exec_prefix}/lib'
1830 localedir='${datarootdir}/locale'
1831 mandir='${datarootdir}/man'
1833 ac_prev=
1834 ac_dashdash=
1835 for ac_option
1837 # If the previous option needs an argument, assign it.
1838 if test -n "$ac_prev"; then
1839 eval $ac_prev=\$ac_option
1840 ac_prev=
1841 continue
1844 case $ac_option in
1845 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1846 *=) ac_optarg= ;;
1847 *) ac_optarg=yes ;;
1848 esac
1850 case $ac_dashdash$ac_option in
1852 ac_dashdash=yes ;;
1854 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1855 ac_prev=bindir ;;
1856 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1857 bindir=$ac_optarg ;;
1859 -build | --build | --buil | --bui | --bu)
1860 ac_prev=build_alias ;;
1861 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1862 build_alias=$ac_optarg ;;
1864 -cache-file | --cache-file | --cache-fil | --cache-fi \
1865 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1866 ac_prev=cache_file ;;
1867 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1868 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1869 cache_file=$ac_optarg ;;
1871 --config-cache | -C)
1872 cache_file=config.cache ;;
1874 -datadir | --datadir | --datadi | --datad)
1875 ac_prev=datadir ;;
1876 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1877 datadir=$ac_optarg ;;
1879 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1880 | --dataroo | --dataro | --datar)
1881 ac_prev=datarootdir ;;
1882 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1883 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1884 datarootdir=$ac_optarg ;;
1886 -disable-* | --disable-*)
1887 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1888 # Reject names that are not valid shell variable names.
1889 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1890 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1891 ac_useropt_orig=$ac_useropt
1892 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1893 case $ac_user_opts in
1895 "enable_$ac_useropt"
1896 "*) ;;
1897 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1898 ac_unrecognized_sep=', ';;
1899 esac
1900 eval enable_$ac_useropt=no ;;
1902 -docdir | --docdir | --docdi | --doc | --do)
1903 ac_prev=docdir ;;
1904 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1905 docdir=$ac_optarg ;;
1907 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1908 ac_prev=dvidir ;;
1909 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1910 dvidir=$ac_optarg ;;
1912 -enable-* | --enable-*)
1913 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1914 # Reject names that are not valid shell variable names.
1915 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1916 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1917 ac_useropt_orig=$ac_useropt
1918 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1919 case $ac_user_opts in
1921 "enable_$ac_useropt"
1922 "*) ;;
1923 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1924 ac_unrecognized_sep=', ';;
1925 esac
1926 eval enable_$ac_useropt=\$ac_optarg ;;
1928 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1929 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1930 | --exec | --exe | --ex)
1931 ac_prev=exec_prefix ;;
1932 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1933 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1934 | --exec=* | --exe=* | --ex=*)
1935 exec_prefix=$ac_optarg ;;
1937 -gas | --gas | --ga | --g)
1938 # Obsolete; use --with-gas.
1939 with_gas=yes ;;
1941 -help | --help | --hel | --he | -h)
1942 ac_init_help=long ;;
1943 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1944 ac_init_help=recursive ;;
1945 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1946 ac_init_help=short ;;
1948 -host | --host | --hos | --ho)
1949 ac_prev=host_alias ;;
1950 -host=* | --host=* | --hos=* | --ho=*)
1951 host_alias=$ac_optarg ;;
1953 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1954 ac_prev=htmldir ;;
1955 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1956 | --ht=*)
1957 htmldir=$ac_optarg ;;
1959 -includedir | --includedir | --includedi | --included | --include \
1960 | --includ | --inclu | --incl | --inc)
1961 ac_prev=includedir ;;
1962 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1963 | --includ=* | --inclu=* | --incl=* | --inc=*)
1964 includedir=$ac_optarg ;;
1966 -infodir | --infodir | --infodi | --infod | --info | --inf)
1967 ac_prev=infodir ;;
1968 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1969 infodir=$ac_optarg ;;
1971 -libdir | --libdir | --libdi | --libd)
1972 ac_prev=libdir ;;
1973 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1974 libdir=$ac_optarg ;;
1976 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1977 | --libexe | --libex | --libe)
1978 ac_prev=libexecdir ;;
1979 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1980 | --libexe=* | --libex=* | --libe=*)
1981 libexecdir=$ac_optarg ;;
1983 -localedir | --localedir | --localedi | --localed | --locale)
1984 ac_prev=localedir ;;
1985 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1986 localedir=$ac_optarg ;;
1988 -localstatedir | --localstatedir | --localstatedi | --localstated \
1989 | --localstate | --localstat | --localsta | --localst | --locals)
1990 ac_prev=localstatedir ;;
1991 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1992 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1993 localstatedir=$ac_optarg ;;
1995 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1996 ac_prev=mandir ;;
1997 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1998 mandir=$ac_optarg ;;
2000 -nfp | --nfp | --nf)
2001 # Obsolete; use --without-fp.
2002 with_fp=no ;;
2004 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2005 | --no-cr | --no-c | -n)
2006 no_create=yes ;;
2008 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2009 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2010 no_recursion=yes ;;
2012 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2013 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2014 | --oldin | --oldi | --old | --ol | --o)
2015 ac_prev=oldincludedir ;;
2016 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2017 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2018 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2019 oldincludedir=$ac_optarg ;;
2021 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2022 ac_prev=prefix ;;
2023 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2024 prefix=$ac_optarg ;;
2026 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2027 | --program-pre | --program-pr | --program-p)
2028 ac_prev=program_prefix ;;
2029 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2030 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2031 program_prefix=$ac_optarg ;;
2033 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2034 | --program-suf | --program-su | --program-s)
2035 ac_prev=program_suffix ;;
2036 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2037 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2038 program_suffix=$ac_optarg ;;
2040 -program-transform-name | --program-transform-name \
2041 | --program-transform-nam | --program-transform-na \
2042 | --program-transform-n | --program-transform- \
2043 | --program-transform | --program-transfor \
2044 | --program-transfo | --program-transf \
2045 | --program-trans | --program-tran \
2046 | --progr-tra | --program-tr | --program-t)
2047 ac_prev=program_transform_name ;;
2048 -program-transform-name=* | --program-transform-name=* \
2049 | --program-transform-nam=* | --program-transform-na=* \
2050 | --program-transform-n=* | --program-transform-=* \
2051 | --program-transform=* | --program-transfor=* \
2052 | --program-transfo=* | --program-transf=* \
2053 | --program-trans=* | --program-tran=* \
2054 | --progr-tra=* | --program-tr=* | --program-t=*)
2055 program_transform_name=$ac_optarg ;;
2057 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2058 ac_prev=pdfdir ;;
2059 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2060 pdfdir=$ac_optarg ;;
2062 -psdir | --psdir | --psdi | --psd | --ps)
2063 ac_prev=psdir ;;
2064 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2065 psdir=$ac_optarg ;;
2067 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2068 | -silent | --silent | --silen | --sile | --sil)
2069 silent=yes ;;
2071 -runstatedir | --runstatedir | --runstatedi | --runstated \
2072 | --runstate | --runstat | --runsta | --runst | --runs \
2073 | --run | --ru | --r)
2074 ac_prev=runstatedir ;;
2075 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2076 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2077 | --run=* | --ru=* | --r=*)
2078 runstatedir=$ac_optarg ;;
2080 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2081 ac_prev=sbindir ;;
2082 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2083 | --sbi=* | --sb=*)
2084 sbindir=$ac_optarg ;;
2086 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2087 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2088 | --sharedst | --shareds | --shared | --share | --shar \
2089 | --sha | --sh)
2090 ac_prev=sharedstatedir ;;
2091 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2092 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2093 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2094 | --sha=* | --sh=*)
2095 sharedstatedir=$ac_optarg ;;
2097 -site | --site | --sit)
2098 ac_prev=site ;;
2099 -site=* | --site=* | --sit=*)
2100 site=$ac_optarg ;;
2102 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2103 ac_prev=srcdir ;;
2104 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2105 srcdir=$ac_optarg ;;
2107 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2108 | --syscon | --sysco | --sysc | --sys | --sy)
2109 ac_prev=sysconfdir ;;
2110 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2111 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2112 sysconfdir=$ac_optarg ;;
2114 -target | --target | --targe | --targ | --tar | --ta | --t)
2115 ac_prev=target_alias ;;
2116 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2117 target_alias=$ac_optarg ;;
2119 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2120 verbose=yes ;;
2122 -version | --version | --versio | --versi | --vers | -V)
2123 ac_init_version=: ;;
2125 -with-* | --with-*)
2126 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2127 # Reject names that are not valid shell variable names.
2128 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2129 as_fn_error $? "invalid package name: \`$ac_useropt'"
2130 ac_useropt_orig=$ac_useropt
2131 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2132 case $ac_user_opts in
2134 "with_$ac_useropt"
2135 "*) ;;
2136 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2137 ac_unrecognized_sep=', ';;
2138 esac
2139 eval with_$ac_useropt=\$ac_optarg ;;
2141 -without-* | --without-*)
2142 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2143 # Reject names that are not valid shell variable names.
2144 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2145 as_fn_error $? "invalid package name: \`$ac_useropt'"
2146 ac_useropt_orig=$ac_useropt
2147 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2148 case $ac_user_opts in
2150 "with_$ac_useropt"
2151 "*) ;;
2152 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2153 ac_unrecognized_sep=', ';;
2154 esac
2155 eval with_$ac_useropt=no ;;
2157 --x)
2158 # Obsolete; use --with-x.
2159 with_x=yes ;;
2161 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2162 | --x-incl | --x-inc | --x-in | --x-i)
2163 ac_prev=x_includes ;;
2164 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2165 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2166 x_includes=$ac_optarg ;;
2168 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2169 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2170 ac_prev=x_libraries ;;
2171 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2172 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2173 x_libraries=$ac_optarg ;;
2175 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2176 Try \`$0 --help' for more information"
2179 *=*)
2180 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2181 # Reject names that are not valid shell variable names.
2182 case $ac_envvar in #(
2183 '' | [0-9]* | *[!_$as_cr_alnum]* )
2184 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2185 esac
2186 eval $ac_envvar=\$ac_optarg
2187 export $ac_envvar ;;
2190 # FIXME: should be removed in autoconf 3.0.
2191 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2192 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2193 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2194 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2197 esac
2198 done
2200 if test -n "$ac_prev"; then
2201 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2202 as_fn_error $? "missing argument to $ac_option"
2205 if test -n "$ac_unrecognized_opts"; then
2206 case $enable_option_checking in
2207 no) ;;
2208 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2209 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2210 esac
2213 # Check all directory arguments for consistency.
2214 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2215 datadir sysconfdir sharedstatedir localstatedir includedir \
2216 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2217 libdir localedir mandir runstatedir
2219 eval ac_val=\$$ac_var
2220 # Remove trailing slashes.
2221 case $ac_val in
2222 */ )
2223 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2224 eval $ac_var=\$ac_val;;
2225 esac
2226 # Be sure to have absolute directory names.
2227 case $ac_val in
2228 [\\/$]* | ?:[\\/]* ) continue;;
2229 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2230 esac
2231 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2232 done
2234 # There might be people who depend on the old broken behavior: `$host'
2235 # used to hold the argument of --host etc.
2236 # FIXME: To remove some day.
2237 build=$build_alias
2238 host=$host_alias
2239 target=$target_alias
2241 # FIXME: To remove some day.
2242 if test "x$host_alias" != x; then
2243 if test "x$build_alias" = x; then
2244 cross_compiling=maybe
2245 elif test "x$build_alias" != "x$host_alias"; then
2246 cross_compiling=yes
2250 ac_tool_prefix=
2251 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2253 test "$silent" = yes && exec 6>/dev/null
2256 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2257 ac_ls_di=`ls -di .` &&
2258 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2259 as_fn_error $? "working directory cannot be determined"
2260 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2261 as_fn_error $? "pwd does not report name of working directory"
2264 # Find the source files, if location was not specified.
2265 if test -z "$srcdir"; then
2266 ac_srcdir_defaulted=yes
2267 # Try the directory containing this script, then the parent directory.
2268 ac_confdir=`$as_dirname -- "$as_myself" ||
2269 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2270 X"$as_myself" : 'X\(//\)[^/]' \| \
2271 X"$as_myself" : 'X\(//\)$' \| \
2272 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2273 printf "%s\n" X"$as_myself" |
2274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2275 s//\1/
2278 /^X\(\/\/\)[^/].*/{
2279 s//\1/
2282 /^X\(\/\/\)$/{
2283 s//\1/
2286 /^X\(\/\).*/{
2287 s//\1/
2290 s/.*/./; q'`
2291 srcdir=$ac_confdir
2292 if test ! -r "$srcdir/$ac_unique_file"; then
2293 srcdir=..
2295 else
2296 ac_srcdir_defaulted=no
2298 if test ! -r "$srcdir/$ac_unique_file"; then
2299 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2300 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2302 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2303 ac_abs_confdir=`(
2304 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2305 pwd)`
2306 # When building in place, set srcdir=.
2307 if test "$ac_abs_confdir" = "$ac_pwd"; then
2308 srcdir=.
2310 # Remove unnecessary trailing slashes from srcdir.
2311 # Double slashes in file names in object file debugging info
2312 # mess up M-x gdb in Emacs.
2313 case $srcdir in
2314 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2315 esac
2316 for ac_var in $ac_precious_vars; do
2317 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2318 eval ac_env_${ac_var}_value=\$${ac_var}
2319 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2320 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2321 done
2324 # Report the --help message.
2326 if test "$ac_init_help" = "long"; then
2327 # Omit some internal or obsolete options to make the list less imposing.
2328 # This message is too long to be a string in the A/UX 3.1 sh.
2329 cat <<_ACEOF
2330 \`configure' configures Wine 8.1 to adapt to many kinds of systems.
2332 Usage: $0 [OPTION]... [VAR=VALUE]...
2334 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2335 VAR=VALUE. See below for descriptions of some of the useful variables.
2337 Defaults for the options are specified in brackets.
2339 Configuration:
2340 -h, --help display this help and exit
2341 --help=short display options specific to this package
2342 --help=recursive display the short help of all the included packages
2343 -V, --version display version information and exit
2344 -q, --quiet, --silent do not print \`checking ...' messages
2345 --cache-file=FILE cache test results in FILE [disabled]
2346 -C, --config-cache alias for \`--cache-file=config.cache'
2347 -n, --no-create do not create output files
2348 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2350 Installation directories:
2351 --prefix=PREFIX install architecture-independent files in PREFIX
2352 [$ac_default_prefix]
2353 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2354 [PREFIX]
2356 By default, \`make install' will install all the files in
2357 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2358 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2359 for instance \`--prefix=\$HOME'.
2361 For better control, use the options below.
2363 Fine tuning of the installation directories:
2364 --bindir=DIR user executables [EPREFIX/bin]
2365 --sbindir=DIR system admin executables [EPREFIX/sbin]
2366 --libexecdir=DIR program executables [EPREFIX/libexec]
2367 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2368 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2369 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2370 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2371 --libdir=DIR object code libraries [EPREFIX/lib]
2372 --includedir=DIR C header files [PREFIX/include]
2373 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2374 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2375 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2376 --infodir=DIR info documentation [DATAROOTDIR/info]
2377 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2378 --mandir=DIR man documentation [DATAROOTDIR/man]
2379 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2380 --htmldir=DIR html documentation [DOCDIR]
2381 --dvidir=DIR dvi documentation [DOCDIR]
2382 --pdfdir=DIR pdf documentation [DOCDIR]
2383 --psdir=DIR ps documentation [DOCDIR]
2384 _ACEOF
2386 cat <<\_ACEOF
2388 X features:
2389 --x-includes=DIR X include files are in DIR
2390 --x-libraries=DIR X library files are in DIR
2392 System types:
2393 --build=BUILD configure for building on BUILD [guessed]
2394 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2395 _ACEOF
2398 if test -n "$ac_init_help"; then
2399 case $ac_init_help in
2400 short | recursive ) echo "Configuration of Wine 8.1:";;
2401 esac
2402 cat <<\_ACEOF
2404 Optional Features:
2405 --disable-option-checking ignore unrecognized --enable/--with options
2406 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2407 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2408 --enable-archs={i386,x86_64,arm,aarch64}
2409 enable multiple architectures for PE compilation
2410 --disable-win16 do not include Win16 support
2411 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2412 binaries)
2413 --disable-tests do not build the regression tests
2414 --enable-build-id include .buildid section in output objects
2415 --enable-maintainer-mode
2416 enable maintainer-specific build rules
2417 --enable-silent-rules use silent build rules (override: "make V=1")
2418 --enable-werror treat compilation warnings as errors
2419 --disable-largefile omit support for large files
2421 Optional Packages:
2422 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2423 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2424 --without-alsa do not use the Alsa sound support
2425 --without-capi do not use CAPI (ISDN support)
2426 --without-coreaudio do not use the CoreAudio sound support
2427 --without-cups do not use CUPS
2428 --without-dbus do not use DBus (dynamic device support)
2429 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2430 --without-fontconfig do not use fontconfig
2431 --without-freetype do not use the FreeType library
2432 --without-gettext do not use gettext
2433 --with-gettextpo use the GetTextPO library to rebuild po files
2434 --without-gphoto do not use gphoto (Digital Camera support)
2435 --without-gnutls do not use GnuTLS (schannel support)
2436 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2437 --without-gstreamer do not use GStreamer (codecs support)
2438 --without-inotify do not use inotify (filesystem change notifications)
2439 --without-krb5 do not use krb5 (Kerberos)
2440 --without-mingw do not use the MinGW cross-compiler
2441 --without-netapi do not use the Samba NetAPI library
2442 --without-opencl do not use OpenCL
2443 --without-opengl do not use OpenGL
2444 --without-osmesa do not use the OSMesa library
2445 --without-oss do not use the OSS sound support
2446 --without-pcap do not use the Packet Capture library
2447 --without-pthread do not use the pthread library
2448 --without-pulse do not use PulseAudio sound support
2449 --without-sane do not use SANE (scanner support)
2450 --without-sdl do not use SDL
2451 --without-udev do not use udev (plug and play support)
2452 --without-unwind do not use the libunwind library (exception
2453 handling)
2454 --without-usb do not use the libusb library
2455 --without-v4l2 do not use v4l2 (video capture)
2456 --without-vulkan do not use Vulkan
2457 --without-xcomposite do not use the Xcomposite extension
2458 --without-xcursor do not use the Xcursor extension
2459 --without-xfixes do not use Xfixes for clipboard change notifications
2460 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2461 --without-xinput do not use the Xinput extension
2462 --without-xinput2 do not use the Xinput 2 extension
2463 --without-xrandr do not use Xrandr (multi-monitor support)
2464 --without-xrender do not use the Xrender extension
2465 --without-xshape do not use the Xshape extension
2466 --without-xshm do not use XShm (shared memory extension)
2467 --without-xxf86vm do not use XFree video mode extension
2468 --with-system-dllpath=PATH
2469 load external PE dependencies from colon-separated
2470 path PATH
2471 --with-wine-tools=DIR use Wine tools from directory DIR
2472 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2473 --with-x use the X Window System
2475 Some influential environment variables:
2476 CC C compiler command
2477 CFLAGS C compiler flags
2478 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2479 nonstandard directory <lib dir>
2480 LIBS libraries to pass to the linker, e.g. -l<library>
2481 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2482 you have headers in a nonstandard directory <include dir>
2483 CXX C++ compiler command
2484 CXXFLAGS C++ compiler flags
2485 OBJC Objective C compiler command
2486 OBJCFLAGS Objective C compiler flags
2487 FAUDIO_PE_CFLAGS
2488 C compiler flags for the PE faudio, overriding the bundled
2489 version
2490 FAUDIO_PE_LIBS
2491 Linker flags for the PE faudio, overriding the bundled version
2492 GSM_PE_CFLAGS
2493 C compiler flags for the PE gsm, overriding the bundled version
2494 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2495 JPEG_PE_CFLAGS
2496 C compiler flags for the PE jpeg, overriding the bundled version
2497 JPEG_PE_LIBS
2498 Linker flags for the PE jpeg, overriding the bundled version
2499 JXR_PE_CFLAGS
2500 C compiler flags for the PE jxr, overriding the bundled version
2501 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2502 LCMS2_PE_CFLAGS
2503 C compiler flags for the PE lcms2, overriding the bundled
2504 version
2505 LCMS2_PE_LIBS
2506 Linker flags for the PE lcms2, overriding the bundled version
2507 LDAP_PE_CFLAGS
2508 C compiler flags for the PE ldap, overriding the bundled version
2509 LDAP_PE_LIBS
2510 Linker flags for the PE ldap, overriding the bundled version
2511 MPG123_PE_CFLAGS
2512 C compiler flags for the PE mpg123, overriding the bundled
2513 version
2514 MPG123_PE_LIBS
2515 Linker flags for the PE mpg123, overriding the bundled version
2516 PNG_PE_CFLAGS
2517 C compiler flags for the PE png, overriding the bundled version
2518 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2519 TIFF_PE_CFLAGS
2520 C compiler flags for the PE tiff, overriding the bundled version
2521 TIFF_PE_LIBS
2522 Linker flags for the PE tiff, overriding the bundled version
2523 VKD3D_PE_CFLAGS
2524 C compiler flags for the PE vkd3d, overriding the bundled
2525 version
2526 VKD3D_PE_LIBS
2527 Linker flags for the PE vkd3d, overriding the bundled version
2528 XML2_PE_CFLAGS
2529 C compiler flags for the PE xml2, overriding the bundled version
2530 XML2_PE_LIBS
2531 Linker flags for the PE xml2, overriding the bundled version
2532 XSLT_PE_CFLAGS
2533 C compiler flags for the PE xslt, overriding the bundled version
2534 XSLT_PE_LIBS
2535 Linker flags for the PE xslt, overriding the bundled version
2536 ZLIB_PE_CFLAGS
2537 C compiler flags for the PE zlib, overriding the bundled version
2538 ZLIB_PE_LIBS
2539 Linker flags for the PE zlib, overriding the bundled version
2540 XMKMF Path to xmkmf, Makefile generator for X Window System
2541 CPP C preprocessor
2542 INOTIFY_CFLAGS
2543 C compiler flags for libinotify, overriding pkg-config
2544 INOTIFY_LIBS
2545 Linker flags for libinotify, overriding pkg-config
2546 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2547 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2548 GNUTLS_CFLAGS
2549 C compiler flags for gnutls, overriding pkg-config
2550 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2551 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2552 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2553 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2554 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2555 GPHOTO2_CFLAGS
2556 C compiler flags for libgphoto2, overriding pkg-config
2557 GPHOTO2_LIBS
2558 Linker flags for libgphoto2, overriding pkg-config
2559 GPHOTO2_PORT_CFLAGS
2560 C compiler flags for libgphoto2_port, overriding pkg-config
2561 GPHOTO2_PORT_LIBS
2562 Linker flags for libgphoto2_port, overriding pkg-config
2563 FREETYPE_CFLAGS
2564 C compiler flags for freetype2, overriding pkg-config
2565 FREETYPE_LIBS
2566 Linker flags for freetype2, overriding pkg-config
2567 PULSE_CFLAGS
2568 C compiler flags for libpulse, overriding pkg-config
2569 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2570 GSTREAMER_CFLAGS
2571 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2572 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2573 GSTREAMER_LIBS
2574 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2575 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2576 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2577 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2578 UNWIND_CFLAGS
2579 C compiler flags for libunwind, overriding pkg-config
2580 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2581 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2582 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2583 CAPI20_CFLAGS
2584 C compiler flags for capi20, overriding pkg-config
2585 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2586 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2587 CUPS_LIBS Linker flags for cups, overriding pkg-config
2588 FONTCONFIG_CFLAGS
2589 C compiler flags for fontconfig, overriding pkg-config
2590 FONTCONFIG_LIBS
2591 Linker flags for fontconfig, overriding pkg-config
2592 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2593 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2594 GSSAPI_CFLAGS
2595 C compiler flags for krb5-gssapi, overriding pkg-config
2596 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2597 NETAPI_CFLAGS
2598 C compiler flags for netapi, overriding pkg-config
2599 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2601 Use these variables to override the choices made by `configure' or to help
2602 it to find libraries and programs with nonstandard names/locations.
2604 Report bugs to <wine-devel@winehq.org>.
2605 Wine home page: <https://www.winehq.org>.
2606 _ACEOF
2607 ac_status=$?
2610 if test "$ac_init_help" = "recursive"; then
2611 # If there are subdirs, report their specific --help.
2612 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2613 test -d "$ac_dir" ||
2614 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2615 continue
2616 ac_builddir=.
2618 case "$ac_dir" in
2619 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2621 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2622 # A ".." for each directory in $ac_dir_suffix.
2623 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2624 case $ac_top_builddir_sub in
2625 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2626 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2627 esac ;;
2628 esac
2629 ac_abs_top_builddir=$ac_pwd
2630 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2631 # for backward compatibility:
2632 ac_top_builddir=$ac_top_build_prefix
2634 case $srcdir in
2635 .) # We are building in place.
2636 ac_srcdir=.
2637 ac_top_srcdir=$ac_top_builddir_sub
2638 ac_abs_top_srcdir=$ac_pwd ;;
2639 [\\/]* | ?:[\\/]* ) # Absolute name.
2640 ac_srcdir=$srcdir$ac_dir_suffix;
2641 ac_top_srcdir=$srcdir
2642 ac_abs_top_srcdir=$srcdir ;;
2643 *) # Relative name.
2644 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2645 ac_top_srcdir=$ac_top_build_prefix$srcdir
2646 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2647 esac
2648 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2650 cd "$ac_dir" || { ac_status=$?; continue; }
2651 # Check for configure.gnu first; this name is used for a wrapper for
2652 # Metaconfig's "Configure" on case-insensitive file systems.
2653 if test -f "$ac_srcdir/configure.gnu"; then
2654 echo &&
2655 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2656 elif test -f "$ac_srcdir/configure"; then
2657 echo &&
2658 $SHELL "$ac_srcdir/configure" --help=recursive
2659 else
2660 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2661 fi || ac_status=$?
2662 cd "$ac_pwd" || { ac_status=$?; break; }
2663 done
2666 test -n "$ac_init_help" && exit $ac_status
2667 if $ac_init_version; then
2668 cat <<\_ACEOF
2669 Wine configure 8.1
2670 generated by GNU Autoconf 2.71
2672 Copyright (C) 2021 Free Software Foundation, Inc.
2673 This configure script is free software; the Free Software Foundation
2674 gives unlimited permission to copy, distribute and modify it.
2675 _ACEOF
2676 exit
2679 ## ------------------------ ##
2680 ## Autoconf initialization. ##
2681 ## ------------------------ ##
2683 # ac_fn_c_try_compile LINENO
2684 # --------------------------
2685 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2686 ac_fn_c_try_compile ()
2688 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2689 rm -f conftest.$ac_objext conftest.beam
2690 if { { ac_try="$ac_compile"
2691 case "(($ac_try" in
2692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2693 *) ac_try_echo=$ac_try;;
2694 esac
2695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2696 printf "%s\n" "$ac_try_echo"; } >&5
2697 (eval "$ac_compile") 2>conftest.err
2698 ac_status=$?
2699 if test -s conftest.err; then
2700 grep -v '^ *+' conftest.err >conftest.er1
2701 cat conftest.er1 >&5
2702 mv -f conftest.er1 conftest.err
2704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2705 test $ac_status = 0; } && {
2706 test -z "$ac_c_werror_flag" ||
2707 test ! -s conftest.err
2708 } && test -s conftest.$ac_objext
2709 then :
2710 ac_retval=0
2711 else $as_nop
2712 printf "%s\n" "$as_me: failed program was:" >&5
2713 sed 's/^/| /' conftest.$ac_ext >&5
2715 ac_retval=1
2717 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2718 as_fn_set_status $ac_retval
2720 } # ac_fn_c_try_compile
2722 # ac_fn_cxx_try_compile LINENO
2723 # ----------------------------
2724 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2725 ac_fn_cxx_try_compile ()
2727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2728 rm -f conftest.$ac_objext conftest.beam
2729 if { { ac_try="$ac_compile"
2730 case "(($ac_try" in
2731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2732 *) ac_try_echo=$ac_try;;
2733 esac
2734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2735 printf "%s\n" "$ac_try_echo"; } >&5
2736 (eval "$ac_compile") 2>conftest.err
2737 ac_status=$?
2738 if test -s conftest.err; then
2739 grep -v '^ *+' conftest.err >conftest.er1
2740 cat conftest.er1 >&5
2741 mv -f conftest.er1 conftest.err
2743 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2744 test $ac_status = 0; } && {
2745 test -z "$ac_cxx_werror_flag" ||
2746 test ! -s conftest.err
2747 } && test -s conftest.$ac_objext
2748 then :
2749 ac_retval=0
2750 else $as_nop
2751 printf "%s\n" "$as_me: failed program was:" >&5
2752 sed 's/^/| /' conftest.$ac_ext >&5
2754 ac_retval=1
2756 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2757 as_fn_set_status $ac_retval
2759 } # ac_fn_cxx_try_compile
2761 # ac_fn_c_try_link LINENO
2762 # -----------------------
2763 # Try to link conftest.$ac_ext, and return whether this succeeded.
2764 ac_fn_c_try_link ()
2766 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2767 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2768 if { { ac_try="$ac_link"
2769 case "(($ac_try" in
2770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2771 *) ac_try_echo=$ac_try;;
2772 esac
2773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2774 printf "%s\n" "$ac_try_echo"; } >&5
2775 (eval "$ac_link") 2>conftest.err
2776 ac_status=$?
2777 if test -s conftest.err; then
2778 grep -v '^ *+' conftest.err >conftest.er1
2779 cat conftest.er1 >&5
2780 mv -f conftest.er1 conftest.err
2782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2783 test $ac_status = 0; } && {
2784 test -z "$ac_c_werror_flag" ||
2785 test ! -s conftest.err
2786 } && test -s conftest$ac_exeext && {
2787 test "$cross_compiling" = yes ||
2788 test -x conftest$ac_exeext
2790 then :
2791 ac_retval=0
2792 else $as_nop
2793 printf "%s\n" "$as_me: failed program was:" >&5
2794 sed 's/^/| /' conftest.$ac_ext >&5
2796 ac_retval=1
2798 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2799 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2800 # interfere with the next link command; also delete a directory that is
2801 # left behind by Apple's compiler. We do this before executing the actions.
2802 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2804 as_fn_set_status $ac_retval
2806 } # ac_fn_c_try_link
2808 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2809 # -------------------------------------------------------
2810 # Tests whether HEADER exists and can be compiled using the include files in
2811 # INCLUDES, setting the cache variable VAR accordingly.
2812 ac_fn_c_check_header_compile ()
2814 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2816 printf %s "checking for $2... " >&6; }
2817 if eval test \${$3+y}
2818 then :
2819 printf %s "(cached) " >&6
2820 else $as_nop
2821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2822 /* end confdefs.h. */
2824 #include <$2>
2825 _ACEOF
2826 if ac_fn_c_try_compile "$LINENO"
2827 then :
2828 eval "$3=yes"
2829 else $as_nop
2830 eval "$3=no"
2832 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2834 eval ac_res=\$$3
2835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2836 printf "%s\n" "$ac_res" >&6; }
2837 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2839 } # ac_fn_c_check_header_compile
2841 # ac_fn_objc_try_compile LINENO
2842 # -----------------------------
2843 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2844 ac_fn_objc_try_compile ()
2846 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2847 rm -f conftest.$ac_objext conftest.beam
2848 if { { ac_try="$ac_compile"
2849 case "(($ac_try" in
2850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2851 *) ac_try_echo=$ac_try;;
2852 esac
2853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2854 printf "%s\n" "$ac_try_echo"; } >&5
2855 (eval "$ac_compile") 2>conftest.err
2856 ac_status=$?
2857 if test -s conftest.err; then
2858 grep -v '^ *+' conftest.err >conftest.er1
2859 cat conftest.er1 >&5
2860 mv -f conftest.er1 conftest.err
2862 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2863 test $ac_status = 0; } && {
2864 test -z "$ac_objc_werror_flag" ||
2865 test ! -s conftest.err
2866 } && test -s conftest.$ac_objext
2867 then :
2868 ac_retval=0
2869 else $as_nop
2870 printf "%s\n" "$as_me: failed program was:" >&5
2871 sed 's/^/| /' conftest.$ac_ext >&5
2873 ac_retval=1
2875 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2876 as_fn_set_status $ac_retval
2878 } # ac_fn_objc_try_compile
2880 # ac_fn_c_check_func LINENO FUNC VAR
2881 # ----------------------------------
2882 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2883 ac_fn_c_check_func ()
2885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2887 printf %s "checking for $2... " >&6; }
2888 if eval test \${$3+y}
2889 then :
2890 printf %s "(cached) " >&6
2891 else $as_nop
2892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2893 /* end confdefs.h. */
2894 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2896 #define $2 innocuous_$2
2898 /* System header to define __stub macros and hopefully few prototypes,
2899 which can conflict with char $2 (); below. */
2901 #include <limits.h>
2902 #undef $2
2904 /* Override any GCC internal prototype to avoid an error.
2905 Use char because int might match the return type of a GCC
2906 builtin and then its argument prototype would still apply. */
2907 #ifdef __cplusplus
2908 extern "C"
2909 #endif
2910 char $2 ();
2911 /* The GNU C library defines this for functions which it implements
2912 to always fail with ENOSYS. Some functions are actually named
2913 something starting with __ and the normal name is an alias. */
2914 #if defined __stub_$2 || defined __stub___$2
2915 choke me
2916 #endif
2919 main (void)
2921 return $2 ();
2923 return 0;
2925 _ACEOF
2926 if ac_fn_c_try_link "$LINENO"
2927 then :
2928 eval "$3=yes"
2929 else $as_nop
2930 eval "$3=no"
2932 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2933 conftest$ac_exeext conftest.$ac_ext
2935 eval ac_res=\$$3
2936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2937 printf "%s\n" "$ac_res" >&6; }
2938 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2940 } # ac_fn_c_check_func
2942 # ac_fn_c_try_cpp LINENO
2943 # ----------------------
2944 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2945 ac_fn_c_try_cpp ()
2947 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2948 if { { ac_try="$ac_cpp conftest.$ac_ext"
2949 case "(($ac_try" in
2950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2951 *) ac_try_echo=$ac_try;;
2952 esac
2953 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2954 printf "%s\n" "$ac_try_echo"; } >&5
2955 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2956 ac_status=$?
2957 if test -s conftest.err; then
2958 grep -v '^ *+' conftest.err >conftest.er1
2959 cat conftest.er1 >&5
2960 mv -f conftest.er1 conftest.err
2962 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2963 test $ac_status = 0; } > conftest.i && {
2964 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2965 test ! -s conftest.err
2967 then :
2968 ac_retval=0
2969 else $as_nop
2970 printf "%s\n" "$as_me: failed program was:" >&5
2971 sed 's/^/| /' conftest.$ac_ext >&5
2973 ac_retval=1
2975 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2976 as_fn_set_status $ac_retval
2978 } # ac_fn_c_try_cpp
2980 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2981 # ----------------------------------------------------
2982 # Tries to find if the field MEMBER exists in type AGGR, after including
2983 # INCLUDES, setting cache variable VAR accordingly.
2984 ac_fn_c_check_member ()
2986 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2988 printf %s "checking for $2.$3... " >&6; }
2989 if eval test \${$4+y}
2990 then :
2991 printf %s "(cached) " >&6
2992 else $as_nop
2993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2994 /* end confdefs.h. */
2997 main (void)
2999 static $2 ac_aggr;
3000 if (ac_aggr.$3)
3001 return 0;
3003 return 0;
3005 _ACEOF
3006 if ac_fn_c_try_compile "$LINENO"
3007 then :
3008 eval "$4=yes"
3009 else $as_nop
3010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3011 /* end confdefs.h. */
3014 main (void)
3016 static $2 ac_aggr;
3017 if (sizeof ac_aggr.$3)
3018 return 0;
3020 return 0;
3022 _ACEOF
3023 if ac_fn_c_try_compile "$LINENO"
3024 then :
3025 eval "$4=yes"
3026 else $as_nop
3027 eval "$4=no"
3029 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3031 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3033 eval ac_res=\$$4
3034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3035 printf "%s\n" "$ac_res" >&6; }
3036 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3038 } # ac_fn_c_check_member
3040 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3041 # -------------------------------------------
3042 # Tests whether TYPE exists after having included INCLUDES, setting cache
3043 # variable VAR accordingly.
3044 ac_fn_c_check_type ()
3046 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3048 printf %s "checking for $2... " >&6; }
3049 if eval test \${$3+y}
3050 then :
3051 printf %s "(cached) " >&6
3052 else $as_nop
3053 eval "$3=no"
3054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3055 /* end confdefs.h. */
3058 main (void)
3060 if (sizeof ($2))
3061 return 0;
3063 return 0;
3065 _ACEOF
3066 if ac_fn_c_try_compile "$LINENO"
3067 then :
3068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3069 /* end confdefs.h. */
3072 main (void)
3074 if (sizeof (($2)))
3075 return 0;
3077 return 0;
3079 _ACEOF
3080 if ac_fn_c_try_compile "$LINENO"
3081 then :
3083 else $as_nop
3084 eval "$3=yes"
3086 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3088 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3090 eval ac_res=\$$3
3091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3092 printf "%s\n" "$ac_res" >&6; }
3093 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3095 } # ac_fn_c_check_type
3096 ac_configure_args_raw=
3097 for ac_arg
3099 case $ac_arg in
3100 *\'*)
3101 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3102 esac
3103 as_fn_append ac_configure_args_raw " '$ac_arg'"
3104 done
3106 case $ac_configure_args_raw in
3107 *$as_nl*)
3108 ac_safe_unquote= ;;
3110 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3111 ac_unsafe_a="$ac_unsafe_z#~"
3112 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3113 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3114 esac
3116 cat >config.log <<_ACEOF
3117 This file contains any messages produced by compilers while
3118 running configure, to aid debugging if configure makes a mistake.
3120 It was created by Wine $as_me 8.1, which was
3121 generated by GNU Autoconf 2.71. Invocation command line was
3123 $ $0$ac_configure_args_raw
3125 _ACEOF
3126 exec 5>>config.log
3128 cat <<_ASUNAME
3129 ## --------- ##
3130 ## Platform. ##
3131 ## --------- ##
3133 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3134 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3135 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3136 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3137 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3139 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3140 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3142 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3143 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3144 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3145 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3146 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3147 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3148 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3150 _ASUNAME
3152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3153 for as_dir in $PATH
3155 IFS=$as_save_IFS
3156 case $as_dir in #(((
3157 '') as_dir=./ ;;
3158 */) ;;
3159 *) as_dir=$as_dir/ ;;
3160 esac
3161 printf "%s\n" "PATH: $as_dir"
3162 done
3163 IFS=$as_save_IFS
3165 } >&5
3167 cat >&5 <<_ACEOF
3170 ## ----------- ##
3171 ## Core tests. ##
3172 ## ----------- ##
3174 _ACEOF
3177 # Keep a trace of the command line.
3178 # Strip out --no-create and --no-recursion so they do not pile up.
3179 # Strip out --silent because we don't want to record it for future runs.
3180 # Also quote any args containing shell meta-characters.
3181 # Make two passes to allow for proper duplicate-argument suppression.
3182 ac_configure_args=
3183 ac_configure_args0=
3184 ac_configure_args1=
3185 ac_must_keep_next=false
3186 for ac_pass in 1 2
3188 for ac_arg
3190 case $ac_arg in
3191 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3192 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3193 | -silent | --silent | --silen | --sile | --sil)
3194 continue ;;
3195 *\'*)
3196 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3197 esac
3198 case $ac_pass in
3199 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3201 as_fn_append ac_configure_args1 " '$ac_arg'"
3202 if test $ac_must_keep_next = true; then
3203 ac_must_keep_next=false # Got value, back to normal.
3204 else
3205 case $ac_arg in
3206 *=* | --config-cache | -C | -disable-* | --disable-* \
3207 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3208 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3209 | -with-* | --with-* | -without-* | --without-* | --x)
3210 case "$ac_configure_args0 " in
3211 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3212 esac
3214 -* ) ac_must_keep_next=true ;;
3215 esac
3217 as_fn_append ac_configure_args " '$ac_arg'"
3219 esac
3220 done
3221 done
3222 { ac_configure_args0=; unset ac_configure_args0;}
3223 { ac_configure_args1=; unset ac_configure_args1;}
3225 # When interrupted or exit'd, cleanup temporary files, and complete
3226 # config.log. We remove comments because anyway the quotes in there
3227 # would cause problems or look ugly.
3228 # WARNING: Use '\'' to represent an apostrophe within the trap.
3229 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3230 trap 'exit_status=$?
3231 # Sanitize IFS.
3232 IFS=" "" $as_nl"
3233 # Save into config.log some information that might help in debugging.
3235 echo
3237 printf "%s\n" "## ---------------- ##
3238 ## Cache variables. ##
3239 ## ---------------- ##"
3240 echo
3241 # The following way of writing the cache mishandles newlines in values,
3243 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3244 eval ac_val=\$$ac_var
3245 case $ac_val in #(
3246 *${as_nl}*)
3247 case $ac_var in #(
3248 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3249 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3250 esac
3251 case $ac_var in #(
3252 _ | IFS | as_nl) ;; #(
3253 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3254 *) { eval $ac_var=; unset $ac_var;} ;;
3255 esac ;;
3256 esac
3257 done
3258 (set) 2>&1 |
3259 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3260 *${as_nl}ac_space=\ *)
3261 sed -n \
3262 "s/'\''/'\''\\\\'\'''\''/g;
3263 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3264 ;; #(
3266 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3268 esac |
3269 sort
3271 echo
3273 printf "%s\n" "## ----------------- ##
3274 ## Output variables. ##
3275 ## ----------------- ##"
3276 echo
3277 for ac_var in $ac_subst_vars
3279 eval ac_val=\$$ac_var
3280 case $ac_val in
3281 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3282 esac
3283 printf "%s\n" "$ac_var='\''$ac_val'\''"
3284 done | sort
3285 echo
3287 if test -n "$ac_subst_files"; then
3288 printf "%s\n" "## ------------------- ##
3289 ## File substitutions. ##
3290 ## ------------------- ##"
3291 echo
3292 for ac_var in $ac_subst_files
3294 eval ac_val=\$$ac_var
3295 case $ac_val in
3296 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3297 esac
3298 printf "%s\n" "$ac_var='\''$ac_val'\''"
3299 done | sort
3300 echo
3303 if test -s confdefs.h; then
3304 printf "%s\n" "## ----------- ##
3305 ## confdefs.h. ##
3306 ## ----------- ##"
3307 echo
3308 cat confdefs.h
3309 echo
3311 test "$ac_signal" != 0 &&
3312 printf "%s\n" "$as_me: caught signal $ac_signal"
3313 printf "%s\n" "$as_me: exit $exit_status"
3314 } >&5
3315 rm -f core *.core core.conftest.* &&
3316 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3317 exit $exit_status
3319 for ac_signal in 1 2 13 15; do
3320 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3321 done
3322 ac_signal=0
3324 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3325 rm -f -r conftest* confdefs.h
3327 printf "%s\n" "/* confdefs.h */" > confdefs.h
3329 # Predefined preprocessor variables.
3331 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3333 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3335 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3337 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3339 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3341 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3344 # Let the site file select an alternate cache file if it wants to.
3345 # Prefer an explicitly selected file to automatically selected ones.
3346 if test -n "$CONFIG_SITE"; then
3347 ac_site_files="$CONFIG_SITE"
3348 elif test "x$prefix" != xNONE; then
3349 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3350 else
3351 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3354 for ac_site_file in $ac_site_files
3356 case $ac_site_file in #(
3357 */*) :
3358 ;; #(
3359 *) :
3360 ac_site_file=./$ac_site_file ;;
3361 esac
3362 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3364 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3365 sed 's/^/| /' "$ac_site_file" >&5
3366 . "$ac_site_file" \
3367 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3368 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3369 as_fn_error $? "failed to load site script $ac_site_file
3370 See \`config.log' for more details" "$LINENO" 5; }
3372 done
3374 if test -r "$cache_file"; then
3375 # Some versions of bash will fail to source /dev/null (special files
3376 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3377 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3379 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3380 case $cache_file in
3381 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3382 *) . "./$cache_file";;
3383 esac
3385 else
3386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3387 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3388 >$cache_file
3391 # Test code for whether the C compiler supports C89 (global declarations)
3392 ac_c_conftest_c89_globals='
3393 /* Does the compiler advertise C89 conformance?
3394 Do not test the value of __STDC__, because some compilers set it to 0
3395 while being otherwise adequately conformant. */
3396 #if !defined __STDC__
3397 # error "Compiler does not advertise C89 conformance"
3398 #endif
3400 #include <stddef.h>
3401 #include <stdarg.h>
3402 struct stat;
3403 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3404 struct buf { int x; };
3405 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3406 static char *e (p, i)
3407 char **p;
3408 int i;
3410 return p[i];
3412 static char *f (char * (*g) (char **, int), char **p, ...)
3414 char *s;
3415 va_list v;
3416 va_start (v,p);
3417 s = g (p, va_arg (v,int));
3418 va_end (v);
3419 return s;
3422 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3423 function prototypes and stuff, but not \xHH hex character constants.
3424 These do not provoke an error unfortunately, instead are silently treated
3425 as an "x". The following induces an error, until -std is added to get
3426 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3427 array size at least. It is necessary to write \x00 == 0 to get something
3428 that is true only with -std. */
3429 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3431 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3432 inside strings and character constants. */
3433 #define FOO(x) '\''x'\''
3434 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3436 int test (int i, double x);
3437 struct s1 {int (*f) (int a);};
3438 struct s2 {int (*f) (double a);};
3439 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3440 int, int);'
3442 # Test code for whether the C compiler supports C89 (body of main).
3443 ac_c_conftest_c89_main='
3444 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3447 # Test code for whether the C compiler supports C99 (global declarations)
3448 ac_c_conftest_c99_globals='
3449 // Does the compiler advertise C99 conformance?
3450 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3451 # error "Compiler does not advertise C99 conformance"
3452 #endif
3454 #include <stdbool.h>
3455 extern int puts (const char *);
3456 extern int printf (const char *, ...);
3457 extern int dprintf (int, const char *, ...);
3458 extern void *malloc (size_t);
3460 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3461 // dprintf is used instead of fprintf to avoid needing to declare
3462 // FILE and stderr.
3463 #define debug(...) dprintf (2, __VA_ARGS__)
3464 #define showlist(...) puts (#__VA_ARGS__)
3465 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3466 static void
3467 test_varargs_macros (void)
3469 int x = 1234;
3470 int y = 5678;
3471 debug ("Flag");
3472 debug ("X = %d\n", x);
3473 showlist (The first, second, and third items.);
3474 report (x>y, "x is %d but y is %d", x, y);
3477 // Check long long types.
3478 #define BIG64 18446744073709551615ull
3479 #define BIG32 4294967295ul
3480 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3481 #if !BIG_OK
3482 #error "your preprocessor is broken"
3483 #endif
3484 #if BIG_OK
3485 #else
3486 #error "your preprocessor is broken"
3487 #endif
3488 static long long int bignum = -9223372036854775807LL;
3489 static unsigned long long int ubignum = BIG64;
3491 struct incomplete_array
3493 int datasize;
3494 double data[];
3497 struct named_init {
3498 int number;
3499 const wchar_t *name;
3500 double average;
3503 typedef const char *ccp;
3505 static inline int
3506 test_restrict (ccp restrict text)
3508 // See if C++-style comments work.
3509 // Iterate through items via the restricted pointer.
3510 // Also check for declarations in for loops.
3511 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3512 continue;
3513 return 0;
3516 // Check varargs and va_copy.
3517 static bool
3518 test_varargs (const char *format, ...)
3520 va_list args;
3521 va_start (args, format);
3522 va_list args_copy;
3523 va_copy (args_copy, args);
3525 const char *str = "";
3526 int number = 0;
3527 float fnumber = 0;
3529 while (*format)
3531 switch (*format++)
3533 case '\''s'\'': // string
3534 str = va_arg (args_copy, const char *);
3535 break;
3536 case '\''d'\'': // int
3537 number = va_arg (args_copy, int);
3538 break;
3539 case '\''f'\'': // float
3540 fnumber = va_arg (args_copy, double);
3541 break;
3542 default:
3543 break;
3546 va_end (args_copy);
3547 va_end (args);
3549 return *str && number && fnumber;
3553 # Test code for whether the C compiler supports C99 (body of main).
3554 ac_c_conftest_c99_main='
3555 // Check bool.
3556 _Bool success = false;
3557 success |= (argc != 0);
3559 // Check restrict.
3560 if (test_restrict ("String literal") == 0)
3561 success = true;
3562 char *restrict newvar = "Another string";
3564 // Check varargs.
3565 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3566 test_varargs_macros ();
3568 // Check flexible array members.
3569 struct incomplete_array *ia =
3570 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3571 ia->datasize = 10;
3572 for (int i = 0; i < ia->datasize; ++i)
3573 ia->data[i] = i * 1.234;
3575 // Check named initializers.
3576 struct named_init ni = {
3577 .number = 34,
3578 .name = L"Test wide string",
3579 .average = 543.34343,
3582 ni.number = 58;
3584 int dynamic_array[ni.number];
3585 dynamic_array[0] = argv[0][0];
3586 dynamic_array[ni.number - 1] = 543;
3588 // work around unused variable warnings
3589 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3590 || dynamic_array[ni.number - 1] != 543);
3593 # Test code for whether the C compiler supports C11 (global declarations)
3594 ac_c_conftest_c11_globals='
3595 // Does the compiler advertise C11 conformance?
3596 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3597 # error "Compiler does not advertise C11 conformance"
3598 #endif
3600 // Check _Alignas.
3601 char _Alignas (double) aligned_as_double;
3602 char _Alignas (0) no_special_alignment;
3603 extern char aligned_as_int;
3604 char _Alignas (0) _Alignas (int) aligned_as_int;
3606 // Check _Alignof.
3607 enum
3609 int_alignment = _Alignof (int),
3610 int_array_alignment = _Alignof (int[100]),
3611 char_alignment = _Alignof (char)
3613 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3615 // Check _Noreturn.
3616 int _Noreturn does_not_return (void) { for (;;) continue; }
3618 // Check _Static_assert.
3619 struct test_static_assert
3621 int x;
3622 _Static_assert (sizeof (int) <= sizeof (long int),
3623 "_Static_assert does not work in struct");
3624 long int y;
3627 // Check UTF-8 literals.
3628 #define u8 syntax error!
3629 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3631 // Check duplicate typedefs.
3632 typedef long *long_ptr;
3633 typedef long int *long_ptr;
3634 typedef long_ptr long_ptr;
3636 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3637 struct anonymous
3639 union {
3640 struct { int i; int j; };
3641 struct { int k; long int l; } w;
3643 int m;
3644 } v1;
3647 # Test code for whether the C compiler supports C11 (body of main).
3648 ac_c_conftest_c11_main='
3649 _Static_assert ((offsetof (struct anonymous, i)
3650 == offsetof (struct anonymous, w.k)),
3651 "Anonymous union alignment botch");
3652 v1.i = 2;
3653 v1.w.k = 5;
3654 ok |= v1.i != 5;
3657 # Test code for whether the C compiler supports C11 (complete).
3658 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3659 ${ac_c_conftest_c99_globals}
3660 ${ac_c_conftest_c11_globals}
3663 main (int argc, char **argv)
3665 int ok = 0;
3666 ${ac_c_conftest_c89_main}
3667 ${ac_c_conftest_c99_main}
3668 ${ac_c_conftest_c11_main}
3669 return ok;
3673 # Test code for whether the C compiler supports C99 (complete).
3674 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3675 ${ac_c_conftest_c99_globals}
3678 main (int argc, char **argv)
3680 int ok = 0;
3681 ${ac_c_conftest_c89_main}
3682 ${ac_c_conftest_c99_main}
3683 return ok;
3687 # Test code for whether the C compiler supports C89 (complete).
3688 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3691 main (int argc, char **argv)
3693 int ok = 0;
3694 ${ac_c_conftest_c89_main}
3695 return ok;
3699 # Test code for whether the C++ compiler supports C++98 (global declarations)
3700 ac_cxx_conftest_cxx98_globals='
3701 // Does the compiler advertise C++98 conformance?
3702 #if !defined __cplusplus || __cplusplus < 199711L
3703 # error "Compiler does not advertise C++98 conformance"
3704 #endif
3706 // These inclusions are to reject old compilers that
3707 // lack the unsuffixed header files.
3708 #include <cstdlib>
3709 #include <exception>
3711 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3712 extern void assert (int);
3713 namespace std {
3714 extern int strcmp (const char *, const char *);
3717 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3718 using std::exception;
3719 using std::strcmp;
3721 namespace {
3723 void test_exception_syntax()
3725 try {
3726 throw "test";
3727 } catch (const char *s) {
3728 // Extra parentheses suppress a warning when building autoconf itself,
3729 // due to lint rules shared with more typical C programs.
3730 assert (!(strcmp) (s, "test"));
3734 template <typename T> struct test_template
3736 T const val;
3737 explicit test_template(T t) : val(t) {}
3738 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3741 } // anonymous namespace
3744 # Test code for whether the C++ compiler supports C++98 (body of main)
3745 ac_cxx_conftest_cxx98_main='
3746 assert (argc);
3747 assert (! argv[0]);
3749 test_exception_syntax ();
3750 test_template<double> tt (2.0);
3751 assert (tt.add (4) == 6.0);
3752 assert (true && !false);
3756 # Test code for whether the C++ compiler supports C++11 (global declarations)
3757 ac_cxx_conftest_cxx11_globals='
3758 // Does the compiler advertise C++ 2011 conformance?
3759 #if !defined __cplusplus || __cplusplus < 201103L
3760 # error "Compiler does not advertise C++11 conformance"
3761 #endif
3763 namespace cxx11test
3765 constexpr int get_val() { return 20; }
3767 struct testinit
3769 int i;
3770 double d;
3773 class delegate
3775 public:
3776 delegate(int n) : n(n) {}
3777 delegate(): delegate(2354) {}
3779 virtual int getval() { return this->n; };
3780 protected:
3781 int n;
3784 class overridden : public delegate
3786 public:
3787 overridden(int n): delegate(n) {}
3788 virtual int getval() override final { return this->n * 2; }
3791 class nocopy
3793 public:
3794 nocopy(int i): i(i) {}
3795 nocopy() = default;
3796 nocopy(const nocopy&) = delete;
3797 nocopy & operator=(const nocopy&) = delete;
3798 private:
3799 int i;
3802 // for testing lambda expressions
3803 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3805 return f(v);
3808 // for testing variadic templates and trailing return types
3809 template <typename V> auto sum(V first) -> V
3811 return first;
3813 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3815 return first + sum(rest...);
3820 # Test code for whether the C++ compiler supports C++11 (body of main)
3821 ac_cxx_conftest_cxx11_main='
3823 // Test auto and decltype
3824 auto a1 = 6538;
3825 auto a2 = 48573953.4;
3826 auto a3 = "String literal";
3828 int total = 0;
3829 for (auto i = a3; *i; ++i) { total += *i; }
3831 decltype(a2) a4 = 34895.034;
3834 // Test constexpr
3835 short sa[cxx11test::get_val()] = { 0 };
3838 // Test initializer lists
3839 cxx11test::testinit il = { 4323, 435234.23544 };
3842 // Test range-based for
3843 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3844 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3845 for (auto &x : array) { x += 23; }
3848 // Test lambda expressions
3849 using cxx11test::eval;
3850 assert (eval ([](int x) { return x*2; }, 21) == 42);
3851 double d = 2.0;
3852 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3853 assert (d == 5.0);
3854 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3855 assert (d == 5.0);
3858 // Test use of variadic templates
3859 using cxx11test::sum;
3860 auto a = sum(1);
3861 auto b = sum(1, 2);
3862 auto c = sum(1.0, 2.0, 3.0);
3865 // Test constructor delegation
3866 cxx11test::delegate d1;
3867 cxx11test::delegate d2();
3868 cxx11test::delegate d3(45);
3871 // Test override and final
3872 cxx11test::overridden o1(55464);
3875 // Test nullptr
3876 char *c = nullptr;
3879 // Test template brackets
3880 test_template<::test_template<int>> v(test_template<int>(12));
3883 // Unicode literals
3884 char const *utf8 = u8"UTF-8 string \u2500";
3885 char16_t const *utf16 = u"UTF-8 string \u2500";
3886 char32_t const *utf32 = U"UTF-32 string \u2500";
3890 # Test code for whether the C compiler supports C++11 (complete).
3891 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3892 ${ac_cxx_conftest_cxx11_globals}
3895 main (int argc, char **argv)
3897 int ok = 0;
3898 ${ac_cxx_conftest_cxx98_main}
3899 ${ac_cxx_conftest_cxx11_main}
3900 return ok;
3904 # Test code for whether the C compiler supports C++98 (complete).
3905 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3907 main (int argc, char **argv)
3909 int ok = 0;
3910 ${ac_cxx_conftest_cxx98_main}
3911 return ok;
3915 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3916 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3917 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3918 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3919 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3920 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3921 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3922 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3923 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3925 # Auxiliary files required by this configure script.
3926 ac_aux_files="config.guess config.sub"
3928 # Locations in which to look for auxiliary files.
3929 ac_aux_dir_candidates="${srcdir}/tools"
3931 # Search for a directory containing all of the required auxiliary files,
3932 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3933 # If we don't find one directory that contains all the files we need,
3934 # we report the set of missing files from the *first* directory in
3935 # $ac_aux_dir_candidates and give up.
3936 ac_missing_aux_files=""
3937 ac_first_candidate=:
3938 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3940 as_found=false
3941 for as_dir in $ac_aux_dir_candidates
3943 IFS=$as_save_IFS
3944 case $as_dir in #(((
3945 '') as_dir=./ ;;
3946 */) ;;
3947 *) as_dir=$as_dir/ ;;
3948 esac
3949 as_found=:
3951 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3952 ac_aux_dir_found=yes
3953 ac_install_sh=
3954 for ac_aux in $ac_aux_files
3956 # As a special case, if "install-sh" is required, that requirement
3957 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3958 # and $ac_install_sh is set appropriately for whichever one is found.
3959 if test x"$ac_aux" = x"install-sh"
3960 then
3961 if test -f "${as_dir}install-sh"; then
3962 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3963 ac_install_sh="${as_dir}install-sh -c"
3964 elif test -f "${as_dir}install.sh"; then
3965 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3966 ac_install_sh="${as_dir}install.sh -c"
3967 elif test -f "${as_dir}shtool"; then
3968 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3969 ac_install_sh="${as_dir}shtool install -c"
3970 else
3971 ac_aux_dir_found=no
3972 if $ac_first_candidate; then
3973 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3974 else
3975 break
3978 else
3979 if test -f "${as_dir}${ac_aux}"; then
3980 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3981 else
3982 ac_aux_dir_found=no
3983 if $ac_first_candidate; then
3984 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3985 else
3986 break
3990 done
3991 if test "$ac_aux_dir_found" = yes; then
3992 ac_aux_dir="$as_dir"
3993 break
3995 ac_first_candidate=false
3997 as_found=false
3998 done
3999 IFS=$as_save_IFS
4000 if $as_found
4001 then :
4003 else $as_nop
4004 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4008 # These three variables are undocumented and unsupported,
4009 # and are intended to be withdrawn in a future Autoconf release.
4010 # They can cause serious problems if a builder's source tree is in a directory
4011 # whose full name contains unusual characters.
4012 if test -f "${ac_aux_dir}config.guess"; then
4013 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4015 if test -f "${ac_aux_dir}config.sub"; then
4016 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4018 if test -f "$ac_aux_dir/configure"; then
4019 ac_configure="$SHELL ${ac_aux_dir}configure"
4022 # Check that the precious variables saved in the cache have kept the same
4023 # value.
4024 ac_cache_corrupted=false
4025 for ac_var in $ac_precious_vars; do
4026 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4027 eval ac_new_set=\$ac_env_${ac_var}_set
4028 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4029 eval ac_new_val=\$ac_env_${ac_var}_value
4030 case $ac_old_set,$ac_new_set in
4031 set,)
4032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4033 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4034 ac_cache_corrupted=: ;;
4035 ,set)
4036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4037 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4038 ac_cache_corrupted=: ;;
4039 ,);;
4041 if test "x$ac_old_val" != "x$ac_new_val"; then
4042 # differences in whitespace do not lead to failure.
4043 ac_old_val_w=`echo x $ac_old_val`
4044 ac_new_val_w=`echo x $ac_new_val`
4045 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4047 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4048 ac_cache_corrupted=:
4049 else
4050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4051 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4052 eval $ac_var=\$ac_old_val
4054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4055 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4057 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4058 fi;;
4059 esac
4060 # Pass precious variables to config.status.
4061 if test "$ac_new_set" = set; then
4062 case $ac_new_val in
4063 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4064 *) ac_arg=$ac_var=$ac_new_val ;;
4065 esac
4066 case " $ac_configure_args " in
4067 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4068 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4069 esac
4071 done
4072 if $ac_cache_corrupted; then
4073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4074 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4076 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4077 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4078 and start over" "$LINENO" 5
4080 ## -------------------- ##
4081 ## Main body of script. ##
4082 ## -------------------- ##
4084 ac_ext=c
4085 ac_cpp='$CPP $CPPFLAGS'
4086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4092 ac_config_headers="$ac_config_headers include/config.h"
4096 libwine_version="1.0"
4099 # Check whether --enable-archs was given.
4100 if test ${enable_archs+y}
4101 then :
4102 enableval=$enable_archs;
4105 # Check whether --enable-win16 was given.
4106 if test ${enable_win16+y}
4107 then :
4108 enableval=$enable_win16;
4111 # Check whether --enable-win64 was given.
4112 if test ${enable_win64+y}
4113 then :
4114 enableval=$enable_win64;
4117 # Check whether --enable-tests was given.
4118 if test ${enable_tests+y}
4119 then :
4120 enableval=$enable_tests;
4123 # Check whether --enable-build-id was given.
4124 if test ${enable_build_id+y}
4125 then :
4126 enableval=$enable_build_id;
4129 # Check whether --enable-maintainer-mode was given.
4130 if test ${enable_maintainer_mode+y}
4131 then :
4132 enableval=$enable_maintainer_mode;
4135 # Check whether --enable-silent-rules was given.
4136 if test ${enable_silent_rules+y}
4137 then :
4138 enableval=$enable_silent_rules;
4141 # Check whether --enable-werror was given.
4142 if test ${enable_werror+y}
4143 then :
4144 enableval=$enable_werror;
4149 # Check whether --with-alsa was given.
4150 if test ${with_alsa+y}
4151 then :
4152 withval=$with_alsa;
4156 # Check whether --with-capi was given.
4157 if test ${with_capi+y}
4158 then :
4159 withval=$with_capi;
4163 # Check whether --with-coreaudio was given.
4164 if test ${with_coreaudio+y}
4165 then :
4166 withval=$with_coreaudio;
4170 # Check whether --with-cups was given.
4171 if test ${with_cups+y}
4172 then :
4173 withval=$with_cups;
4177 # Check whether --with-dbus was given.
4178 if test ${with_dbus+y}
4179 then :
4180 withval=$with_dbus;
4184 # Check whether --with-float-abi was given.
4185 if test ${with_float_abi+y}
4186 then :
4187 withval=$with_float_abi;
4191 # Check whether --with-fontconfig was given.
4192 if test ${with_fontconfig+y}
4193 then :
4194 withval=$with_fontconfig;
4198 # Check whether --with-freetype was given.
4199 if test ${with_freetype+y}
4200 then :
4201 withval=$with_freetype;
4205 # Check whether --with-gettext was given.
4206 if test ${with_gettext+y}
4207 then :
4208 withval=$with_gettext;
4212 # Check whether --with-gettextpo was given.
4213 if test ${with_gettextpo+y}
4214 then :
4215 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4219 # Check whether --with-gphoto was given.
4220 if test ${with_gphoto+y}
4221 then :
4222 withval=$with_gphoto;
4226 # Check whether --with-gnutls was given.
4227 if test ${with_gnutls+y}
4228 then :
4229 withval=$with_gnutls;
4233 # Check whether --with-gssapi was given.
4234 if test ${with_gssapi+y}
4235 then :
4236 withval=$with_gssapi;
4240 # Check whether --with-gstreamer was given.
4241 if test ${with_gstreamer+y}
4242 then :
4243 withval=$with_gstreamer;
4247 # Check whether --with-inotify was given.
4248 if test ${with_inotify+y}
4249 then :
4250 withval=$with_inotify;
4254 # Check whether --with-krb5 was given.
4255 if test ${with_krb5+y}
4256 then :
4257 withval=$with_krb5;
4261 # Check whether --with-mingw was given.
4262 if test ${with_mingw+y}
4263 then :
4264 withval=$with_mingw;
4268 # Check whether --with-netapi was given.
4269 if test ${with_netapi+y}
4270 then :
4271 withval=$with_netapi;
4275 # Check whether --with-opencl was given.
4276 if test ${with_opencl+y}
4277 then :
4278 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4282 # Check whether --with-opengl was given.
4283 if test ${with_opengl+y}
4284 then :
4285 withval=$with_opengl;
4289 # Check whether --with-osmesa was given.
4290 if test ${with_osmesa+y}
4291 then :
4292 withval=$with_osmesa;
4296 # Check whether --with-oss was given.
4297 if test ${with_oss+y}
4298 then :
4299 withval=$with_oss;
4303 # Check whether --with-pcap was given.
4304 if test ${with_pcap+y}
4305 then :
4306 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4310 # Check whether --with-pthread was given.
4311 if test ${with_pthread+y}
4312 then :
4313 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4317 # Check whether --with-pulse was given.
4318 if test ${with_pulse+y}
4319 then :
4320 withval=$with_pulse;
4324 # Check whether --with-sane was given.
4325 if test ${with_sane+y}
4326 then :
4327 withval=$with_sane;
4331 # Check whether --with-sdl was given.
4332 if test ${with_sdl+y}
4333 then :
4334 withval=$with_sdl;
4338 # Check whether --with-udev was given.
4339 if test ${with_udev+y}
4340 then :
4341 withval=$with_udev;
4345 # Check whether --with-unwind was given.
4346 if test ${with_unwind+y}
4347 then :
4348 withval=$with_unwind;
4352 # Check whether --with-usb was given.
4353 if test ${with_usb+y}
4354 then :
4355 withval=$with_usb;
4359 # Check whether --with-v4l2 was given.
4360 if test ${with_v4l2+y}
4361 then :
4362 withval=$with_v4l2;
4366 # Check whether --with-vulkan was given.
4367 if test ${with_vulkan+y}
4368 then :
4369 withval=$with_vulkan;
4373 # Check whether --with-xcomposite was given.
4374 if test ${with_xcomposite+y}
4375 then :
4376 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4380 # Check whether --with-xcursor was given.
4381 if test ${with_xcursor+y}
4382 then :
4383 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4387 # Check whether --with-xfixes was given.
4388 if test ${with_xfixes+y}
4389 then :
4390 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4394 # Check whether --with-xinerama was given.
4395 if test ${with_xinerama+y}
4396 then :
4397 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4401 # Check whether --with-xinput was given.
4402 if test ${with_xinput+y}
4403 then :
4404 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4408 # Check whether --with-xinput2 was given.
4409 if test ${with_xinput2+y}
4410 then :
4411 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4415 # Check whether --with-xrandr was given.
4416 if test ${with_xrandr+y}
4417 then :
4418 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4422 # Check whether --with-xrender was given.
4423 if test ${with_xrender+y}
4424 then :
4425 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4429 # Check whether --with-xshape was given.
4430 if test ${with_xshape+y}
4431 then :
4432 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4436 # Check whether --with-xshm was given.
4437 if test ${with_xshm+y}
4438 then :
4439 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4443 # Check whether --with-xxf86vm was given.
4444 if test ${with_xxf86vm+y}
4445 then :
4446 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
4451 # Check whether --with-system-dllpath was given.
4452 if test ${with_system_dllpath+y}
4453 then :
4454 withval=$with_system_dllpath; system_dllpath=$withval
4459 # Check whether --with-wine-tools was given.
4460 if test ${with_wine_tools+y}
4461 then :
4462 withval=$with_wine_tools;
4466 # Check whether --with-wine64 was given.
4467 if test ${with_wine64+y}
4468 then :
4469 withval=$with_wine64;
4476 # Make sure we can run config.sub.
4477 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4478 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4481 printf %s "checking build system type... " >&6; }
4482 if test ${ac_cv_build+y}
4483 then :
4484 printf %s "(cached) " >&6
4485 else $as_nop
4486 ac_build_alias=$build_alias
4487 test "x$ac_build_alias" = x &&
4488 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4489 test "x$ac_build_alias" = x &&
4490 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4491 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4492 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4496 printf "%s\n" "$ac_cv_build" >&6; }
4497 case $ac_cv_build in
4498 *-*-*) ;;
4499 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4500 esac
4501 build=$ac_cv_build
4502 ac_save_IFS=$IFS; IFS='-'
4503 set x $ac_cv_build
4504 shift
4505 build_cpu=$1
4506 build_vendor=$2
4507 shift; shift
4508 # Remember, the first character of IFS is used to create $*,
4509 # except with old shells:
4510 build_os=$*
4511 IFS=$ac_save_IFS
4512 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4516 printf %s "checking host system type... " >&6; }
4517 if test ${ac_cv_host+y}
4518 then :
4519 printf %s "(cached) " >&6
4520 else $as_nop
4521 if test "x$host_alias" = x; then
4522 ac_cv_host=$ac_cv_build
4523 else
4524 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4525 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4530 printf "%s\n" "$ac_cv_host" >&6; }
4531 case $ac_cv_host in
4532 *-*-*) ;;
4533 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4534 esac
4535 host=$ac_cv_host
4536 ac_save_IFS=$IFS; IFS='-'
4537 set x $ac_cv_host
4538 shift
4539 host_cpu=$1
4540 host_vendor=$2
4541 shift; shift
4542 # Remember, the first character of IFS is used to create $*,
4543 # except with old shells:
4544 host_os=$*
4545 IFS=$ac_save_IFS
4546 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4550 dlldir=\${libdir}/wine
4552 fontdir=\${datadir}/wine/fonts
4554 nlsdir=\${datadir}/wine/nls
4559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4560 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4561 set x ${MAKE-make}
4562 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4563 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4564 then :
4565 printf %s "(cached) " >&6
4566 else $as_nop
4567 cat >conftest.make <<\_ACEOF
4568 SHELL = /bin/sh
4569 all:
4570 @echo '@@@%%%=$(MAKE)=@@@%%%'
4571 _ACEOF
4572 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4573 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4574 *@@@%%%=?*=@@@%%%*)
4575 eval ac_cv_prog_make_${ac_make}_set=yes;;
4577 eval ac_cv_prog_make_${ac_make}_set=no;;
4578 esac
4579 rm -f conftest.make
4581 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4583 printf "%s\n" "yes" >&6; }
4584 SET_MAKE=
4585 else
4586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4587 printf "%s\n" "no" >&6; }
4588 SET_MAKE="MAKE=${MAKE-make}"
4600 ac_ext=c
4601 ac_cpp='$CPP $CPPFLAGS'
4602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4605 if test -n "$ac_tool_prefix"; then
4606 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4607 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4609 printf %s "checking for $ac_word... " >&6; }
4610 if test ${ac_cv_prog_CC+y}
4611 then :
4612 printf %s "(cached) " >&6
4613 else $as_nop
4614 if test -n "$CC"; then
4615 ac_cv_prog_CC="$CC" # Let the user override the test.
4616 else
4617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4618 for as_dir in $PATH
4620 IFS=$as_save_IFS
4621 case $as_dir in #(((
4622 '') as_dir=./ ;;
4623 */) ;;
4624 *) as_dir=$as_dir/ ;;
4625 esac
4626 for ac_exec_ext in '' $ac_executable_extensions; do
4627 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4628 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4629 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4630 break 2
4632 done
4633 done
4634 IFS=$as_save_IFS
4638 CC=$ac_cv_prog_CC
4639 if test -n "$CC"; then
4640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4641 printf "%s\n" "$CC" >&6; }
4642 else
4643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4644 printf "%s\n" "no" >&6; }
4649 if test -z "$ac_cv_prog_CC"; then
4650 ac_ct_CC=$CC
4651 # Extract the first word of "gcc", so it can be a program name with args.
4652 set dummy gcc; ac_word=$2
4653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4654 printf %s "checking for $ac_word... " >&6; }
4655 if test ${ac_cv_prog_ac_ct_CC+y}
4656 then :
4657 printf %s "(cached) " >&6
4658 else $as_nop
4659 if test -n "$ac_ct_CC"; then
4660 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4661 else
4662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4663 for as_dir in $PATH
4665 IFS=$as_save_IFS
4666 case $as_dir in #(((
4667 '') as_dir=./ ;;
4668 */) ;;
4669 *) as_dir=$as_dir/ ;;
4670 esac
4671 for ac_exec_ext in '' $ac_executable_extensions; do
4672 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4673 ac_cv_prog_ac_ct_CC="gcc"
4674 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4675 break 2
4677 done
4678 done
4679 IFS=$as_save_IFS
4683 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4684 if test -n "$ac_ct_CC"; then
4685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4686 printf "%s\n" "$ac_ct_CC" >&6; }
4687 else
4688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4689 printf "%s\n" "no" >&6; }
4692 if test "x$ac_ct_CC" = x; then
4693 CC=""
4694 else
4695 case $cross_compiling:$ac_tool_warned in
4696 yes:)
4697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4698 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4699 ac_tool_warned=yes ;;
4700 esac
4701 CC=$ac_ct_CC
4703 else
4704 CC="$ac_cv_prog_CC"
4707 if test -z "$CC"; then
4708 if test -n "$ac_tool_prefix"; then
4709 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4710 set dummy ${ac_tool_prefix}cc; ac_word=$2
4711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4712 printf %s "checking for $ac_word... " >&6; }
4713 if test ${ac_cv_prog_CC+y}
4714 then :
4715 printf %s "(cached) " >&6
4716 else $as_nop
4717 if test -n "$CC"; then
4718 ac_cv_prog_CC="$CC" # Let the user override the test.
4719 else
4720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4721 for as_dir in $PATH
4723 IFS=$as_save_IFS
4724 case $as_dir in #(((
4725 '') as_dir=./ ;;
4726 */) ;;
4727 *) as_dir=$as_dir/ ;;
4728 esac
4729 for ac_exec_ext in '' $ac_executable_extensions; do
4730 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4731 ac_cv_prog_CC="${ac_tool_prefix}cc"
4732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4733 break 2
4735 done
4736 done
4737 IFS=$as_save_IFS
4741 CC=$ac_cv_prog_CC
4742 if test -n "$CC"; then
4743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4744 printf "%s\n" "$CC" >&6; }
4745 else
4746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4747 printf "%s\n" "no" >&6; }
4753 if test -z "$CC"; then
4754 # Extract the first word of "cc", so it can be a program name with args.
4755 set dummy cc; ac_word=$2
4756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4757 printf %s "checking for $ac_word... " >&6; }
4758 if test ${ac_cv_prog_CC+y}
4759 then :
4760 printf %s "(cached) " >&6
4761 else $as_nop
4762 if test -n "$CC"; then
4763 ac_cv_prog_CC="$CC" # Let the user override the test.
4764 else
4765 ac_prog_rejected=no
4766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4767 for as_dir in $PATH
4769 IFS=$as_save_IFS
4770 case $as_dir in #(((
4771 '') as_dir=./ ;;
4772 */) ;;
4773 *) as_dir=$as_dir/ ;;
4774 esac
4775 for ac_exec_ext in '' $ac_executable_extensions; do
4776 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4777 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4778 ac_prog_rejected=yes
4779 continue
4781 ac_cv_prog_CC="cc"
4782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4783 break 2
4785 done
4786 done
4787 IFS=$as_save_IFS
4789 if test $ac_prog_rejected = yes; then
4790 # We found a bogon in the path, so make sure we never use it.
4791 set dummy $ac_cv_prog_CC
4792 shift
4793 if test $# != 0; then
4794 # We chose a different compiler from the bogus one.
4795 # However, it has the same basename, so the bogon will be chosen
4796 # first if we set CC to just the basename; use the full file name.
4797 shift
4798 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4803 CC=$ac_cv_prog_CC
4804 if test -n "$CC"; then
4805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4806 printf "%s\n" "$CC" >&6; }
4807 else
4808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4809 printf "%s\n" "no" >&6; }
4814 if test -z "$CC"; then
4815 if test -n "$ac_tool_prefix"; then
4816 for ac_prog in cl.exe
4818 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4819 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4821 printf %s "checking for $ac_word... " >&6; }
4822 if test ${ac_cv_prog_CC+y}
4823 then :
4824 printf %s "(cached) " >&6
4825 else $as_nop
4826 if test -n "$CC"; then
4827 ac_cv_prog_CC="$CC" # Let the user override the test.
4828 else
4829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4830 for as_dir in $PATH
4832 IFS=$as_save_IFS
4833 case $as_dir in #(((
4834 '') as_dir=./ ;;
4835 */) ;;
4836 *) as_dir=$as_dir/ ;;
4837 esac
4838 for ac_exec_ext in '' $ac_executable_extensions; do
4839 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4840 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4841 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4842 break 2
4844 done
4845 done
4846 IFS=$as_save_IFS
4850 CC=$ac_cv_prog_CC
4851 if test -n "$CC"; then
4852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4853 printf "%s\n" "$CC" >&6; }
4854 else
4855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4856 printf "%s\n" "no" >&6; }
4860 test -n "$CC" && break
4861 done
4863 if test -z "$CC"; then
4864 ac_ct_CC=$CC
4865 for ac_prog in cl.exe
4867 # Extract the first word of "$ac_prog", so it can be a program name with args.
4868 set dummy $ac_prog; ac_word=$2
4869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4870 printf %s "checking for $ac_word... " >&6; }
4871 if test ${ac_cv_prog_ac_ct_CC+y}
4872 then :
4873 printf %s "(cached) " >&6
4874 else $as_nop
4875 if test -n "$ac_ct_CC"; then
4876 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4877 else
4878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4879 for as_dir in $PATH
4881 IFS=$as_save_IFS
4882 case $as_dir in #(((
4883 '') as_dir=./ ;;
4884 */) ;;
4885 *) as_dir=$as_dir/ ;;
4886 esac
4887 for ac_exec_ext in '' $ac_executable_extensions; do
4888 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4889 ac_cv_prog_ac_ct_CC="$ac_prog"
4890 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4891 break 2
4893 done
4894 done
4895 IFS=$as_save_IFS
4899 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4900 if test -n "$ac_ct_CC"; then
4901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4902 printf "%s\n" "$ac_ct_CC" >&6; }
4903 else
4904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4905 printf "%s\n" "no" >&6; }
4909 test -n "$ac_ct_CC" && break
4910 done
4912 if test "x$ac_ct_CC" = x; then
4913 CC=""
4914 else
4915 case $cross_compiling:$ac_tool_warned in
4916 yes:)
4917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4918 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4919 ac_tool_warned=yes ;;
4920 esac
4921 CC=$ac_ct_CC
4926 if test -z "$CC"; then
4927 if test -n "$ac_tool_prefix"; then
4928 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4929 set dummy ${ac_tool_prefix}clang; ac_word=$2
4930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4931 printf %s "checking for $ac_word... " >&6; }
4932 if test ${ac_cv_prog_CC+y}
4933 then :
4934 printf %s "(cached) " >&6
4935 else $as_nop
4936 if test -n "$CC"; then
4937 ac_cv_prog_CC="$CC" # Let the user override the test.
4938 else
4939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4940 for as_dir in $PATH
4942 IFS=$as_save_IFS
4943 case $as_dir in #(((
4944 '') as_dir=./ ;;
4945 */) ;;
4946 *) as_dir=$as_dir/ ;;
4947 esac
4948 for ac_exec_ext in '' $ac_executable_extensions; do
4949 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4950 ac_cv_prog_CC="${ac_tool_prefix}clang"
4951 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4952 break 2
4954 done
4955 done
4956 IFS=$as_save_IFS
4960 CC=$ac_cv_prog_CC
4961 if test -n "$CC"; then
4962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4963 printf "%s\n" "$CC" >&6; }
4964 else
4965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4966 printf "%s\n" "no" >&6; }
4971 if test -z "$ac_cv_prog_CC"; then
4972 ac_ct_CC=$CC
4973 # Extract the first word of "clang", so it can be a program name with args.
4974 set dummy clang; ac_word=$2
4975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4976 printf %s "checking for $ac_word... " >&6; }
4977 if test ${ac_cv_prog_ac_ct_CC+y}
4978 then :
4979 printf %s "(cached) " >&6
4980 else $as_nop
4981 if test -n "$ac_ct_CC"; then
4982 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4983 else
4984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4985 for as_dir in $PATH
4987 IFS=$as_save_IFS
4988 case $as_dir in #(((
4989 '') as_dir=./ ;;
4990 */) ;;
4991 *) as_dir=$as_dir/ ;;
4992 esac
4993 for ac_exec_ext in '' $ac_executable_extensions; do
4994 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4995 ac_cv_prog_ac_ct_CC="clang"
4996 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4997 break 2
4999 done
5000 done
5001 IFS=$as_save_IFS
5005 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5006 if test -n "$ac_ct_CC"; then
5007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5008 printf "%s\n" "$ac_ct_CC" >&6; }
5009 else
5010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5011 printf "%s\n" "no" >&6; }
5014 if test "x$ac_ct_CC" = x; then
5015 CC=""
5016 else
5017 case $cross_compiling:$ac_tool_warned in
5018 yes:)
5019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5020 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5021 ac_tool_warned=yes ;;
5022 esac
5023 CC=$ac_ct_CC
5025 else
5026 CC="$ac_cv_prog_CC"
5032 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5033 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5034 as_fn_error $? "no acceptable C compiler found in \$PATH
5035 See \`config.log' for more details" "$LINENO" 5; }
5037 # Provide some information about the compiler.
5038 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5039 set X $ac_compile
5040 ac_compiler=$2
5041 for ac_option in --version -v -V -qversion -version; do
5042 { { ac_try="$ac_compiler $ac_option >&5"
5043 case "(($ac_try" in
5044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5045 *) ac_try_echo=$ac_try;;
5046 esac
5047 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5048 printf "%s\n" "$ac_try_echo"; } >&5
5049 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5050 ac_status=$?
5051 if test -s conftest.err; then
5052 sed '10a\
5053 ... rest of stderr output deleted ...
5054 10q' conftest.err >conftest.er1
5055 cat conftest.er1 >&5
5057 rm -f conftest.er1 conftest.err
5058 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5059 test $ac_status = 0; }
5060 done
5062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5063 /* end confdefs.h. */
5066 main (void)
5070 return 0;
5072 _ACEOF
5073 ac_clean_files_save=$ac_clean_files
5074 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5075 # Try to create an executable without -o first, disregard a.out.
5076 # It will help us diagnose broken compilers, and finding out an intuition
5077 # of exeext.
5078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5079 printf %s "checking whether the C compiler works... " >&6; }
5080 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5082 # The possible output files:
5083 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5085 ac_rmfiles=
5086 for ac_file in $ac_files
5088 case $ac_file in
5089 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5090 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5091 esac
5092 done
5093 rm -f $ac_rmfiles
5095 if { { ac_try="$ac_link_default"
5096 case "(($ac_try" in
5097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5098 *) ac_try_echo=$ac_try;;
5099 esac
5100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5101 printf "%s\n" "$ac_try_echo"; } >&5
5102 (eval "$ac_link_default") 2>&5
5103 ac_status=$?
5104 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5105 test $ac_status = 0; }
5106 then :
5107 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5108 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5109 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5110 # so that the user can short-circuit this test for compilers unknown to
5111 # Autoconf.
5112 for ac_file in $ac_files ''
5114 test -f "$ac_file" || continue
5115 case $ac_file in
5116 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5118 [ab].out )
5119 # We found the default executable, but exeext='' is most
5120 # certainly right.
5121 break;;
5122 *.* )
5123 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5124 then :; else
5125 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5127 # We set ac_cv_exeext here because the later test for it is not
5128 # safe: cross compilers may not add the suffix if given an `-o'
5129 # argument, so we may need to know it at that point already.
5130 # Even if this section looks crufty: it has the advantage of
5131 # actually working.
5132 break;;
5134 break;;
5135 esac
5136 done
5137 test "$ac_cv_exeext" = no && ac_cv_exeext=
5139 else $as_nop
5140 ac_file=''
5142 if test -z "$ac_file"
5143 then :
5144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5145 printf "%s\n" "no" >&6; }
5146 printf "%s\n" "$as_me: failed program was:" >&5
5147 sed 's/^/| /' conftest.$ac_ext >&5
5149 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5150 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5151 as_fn_error 77 "C compiler cannot create executables
5152 See \`config.log' for more details" "$LINENO" 5; }
5153 else $as_nop
5154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5155 printf "%s\n" "yes" >&6; }
5157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5158 printf %s "checking for C compiler default output file name... " >&6; }
5159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5160 printf "%s\n" "$ac_file" >&6; }
5161 ac_exeext=$ac_cv_exeext
5163 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5164 ac_clean_files=$ac_clean_files_save
5165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5166 printf %s "checking for suffix of executables... " >&6; }
5167 if { { ac_try="$ac_link"
5168 case "(($ac_try" in
5169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5170 *) ac_try_echo=$ac_try;;
5171 esac
5172 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5173 printf "%s\n" "$ac_try_echo"; } >&5
5174 (eval "$ac_link") 2>&5
5175 ac_status=$?
5176 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5177 test $ac_status = 0; }
5178 then :
5179 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5180 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5181 # work properly (i.e., refer to `conftest.exe'), while it won't with
5182 # `rm'.
5183 for ac_file in conftest.exe conftest conftest.*; do
5184 test -f "$ac_file" || continue
5185 case $ac_file in
5186 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5187 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5188 break;;
5189 * ) break;;
5190 esac
5191 done
5192 else $as_nop
5193 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5194 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5195 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5196 See \`config.log' for more details" "$LINENO" 5; }
5198 rm -f conftest conftest$ac_cv_exeext
5199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5200 printf "%s\n" "$ac_cv_exeext" >&6; }
5202 rm -f conftest.$ac_ext
5203 EXEEXT=$ac_cv_exeext
5204 ac_exeext=$EXEEXT
5205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5206 /* end confdefs.h. */
5207 #include <stdio.h>
5209 main (void)
5211 FILE *f = fopen ("conftest.out", "w");
5212 return ferror (f) || fclose (f) != 0;
5215 return 0;
5217 _ACEOF
5218 ac_clean_files="$ac_clean_files conftest.out"
5219 # Check that the compiler produces executables we can run. If not, either
5220 # the compiler is broken, or we cross compile.
5221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5222 printf %s "checking whether we are cross compiling... " >&6; }
5223 if test "$cross_compiling" != yes; then
5224 { { ac_try="$ac_link"
5225 case "(($ac_try" in
5226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5227 *) ac_try_echo=$ac_try;;
5228 esac
5229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5230 printf "%s\n" "$ac_try_echo"; } >&5
5231 (eval "$ac_link") 2>&5
5232 ac_status=$?
5233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5234 test $ac_status = 0; }
5235 if { ac_try='./conftest$ac_cv_exeext'
5236 { { case "(($ac_try" in
5237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5238 *) ac_try_echo=$ac_try;;
5239 esac
5240 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5241 printf "%s\n" "$ac_try_echo"; } >&5
5242 (eval "$ac_try") 2>&5
5243 ac_status=$?
5244 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5245 test $ac_status = 0; }; }; then
5246 cross_compiling=no
5247 else
5248 if test "$cross_compiling" = maybe; then
5249 cross_compiling=yes
5250 else
5251 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5252 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5253 as_fn_error 77 "cannot run C compiled programs.
5254 If you meant to cross compile, use \`--host'.
5255 See \`config.log' for more details" "$LINENO" 5; }
5259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5260 printf "%s\n" "$cross_compiling" >&6; }
5262 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5263 ac_clean_files=$ac_clean_files_save
5264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5265 printf %s "checking for suffix of object files... " >&6; }
5266 if test ${ac_cv_objext+y}
5267 then :
5268 printf %s "(cached) " >&6
5269 else $as_nop
5270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5271 /* end confdefs.h. */
5274 main (void)
5278 return 0;
5280 _ACEOF
5281 rm -f conftest.o conftest.obj
5282 if { { ac_try="$ac_compile"
5283 case "(($ac_try" in
5284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5285 *) ac_try_echo=$ac_try;;
5286 esac
5287 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5288 printf "%s\n" "$ac_try_echo"; } >&5
5289 (eval "$ac_compile") 2>&5
5290 ac_status=$?
5291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5292 test $ac_status = 0; }
5293 then :
5294 for ac_file in conftest.o conftest.obj conftest.*; do
5295 test -f "$ac_file" || continue;
5296 case $ac_file in
5297 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5298 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5299 break;;
5300 esac
5301 done
5302 else $as_nop
5303 printf "%s\n" "$as_me: failed program was:" >&5
5304 sed 's/^/| /' conftest.$ac_ext >&5
5306 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5307 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5308 as_fn_error $? "cannot compute suffix of object files: cannot compile
5309 See \`config.log' for more details" "$LINENO" 5; }
5311 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5314 printf "%s\n" "$ac_cv_objext" >&6; }
5315 OBJEXT=$ac_cv_objext
5316 ac_objext=$OBJEXT
5317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5318 printf %s "checking whether the compiler supports GNU C... " >&6; }
5319 if test ${ac_cv_c_compiler_gnu+y}
5320 then :
5321 printf %s "(cached) " >&6
5322 else $as_nop
5323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5324 /* end confdefs.h. */
5327 main (void)
5329 #ifndef __GNUC__
5330 choke me
5331 #endif
5334 return 0;
5336 _ACEOF
5337 if ac_fn_c_try_compile "$LINENO"
5338 then :
5339 ac_compiler_gnu=yes
5340 else $as_nop
5341 ac_compiler_gnu=no
5343 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5344 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5348 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5351 if test $ac_compiler_gnu = yes; then
5352 GCC=yes
5353 else
5354 GCC=
5356 ac_test_CFLAGS=${CFLAGS+y}
5357 ac_save_CFLAGS=$CFLAGS
5358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5359 printf %s "checking whether $CC accepts -g... " >&6; }
5360 if test ${ac_cv_prog_cc_g+y}
5361 then :
5362 printf %s "(cached) " >&6
5363 else $as_nop
5364 ac_save_c_werror_flag=$ac_c_werror_flag
5365 ac_c_werror_flag=yes
5366 ac_cv_prog_cc_g=no
5367 CFLAGS="-g"
5368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5369 /* end confdefs.h. */
5372 main (void)
5376 return 0;
5378 _ACEOF
5379 if ac_fn_c_try_compile "$LINENO"
5380 then :
5381 ac_cv_prog_cc_g=yes
5382 else $as_nop
5383 CFLAGS=""
5384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5385 /* end confdefs.h. */
5388 main (void)
5392 return 0;
5394 _ACEOF
5395 if ac_fn_c_try_compile "$LINENO"
5396 then :
5398 else $as_nop
5399 ac_c_werror_flag=$ac_save_c_werror_flag
5400 CFLAGS="-g"
5401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5402 /* end confdefs.h. */
5405 main (void)
5409 return 0;
5411 _ACEOF
5412 if ac_fn_c_try_compile "$LINENO"
5413 then :
5414 ac_cv_prog_cc_g=yes
5416 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5418 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5420 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5421 ac_c_werror_flag=$ac_save_c_werror_flag
5423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5424 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5425 if test $ac_test_CFLAGS; then
5426 CFLAGS=$ac_save_CFLAGS
5427 elif test $ac_cv_prog_cc_g = yes; then
5428 if test "$GCC" = yes; then
5429 CFLAGS="-g -O2"
5430 else
5431 CFLAGS="-g"
5433 else
5434 if test "$GCC" = yes; then
5435 CFLAGS="-O2"
5436 else
5437 CFLAGS=
5440 ac_prog_cc_stdc=no
5441 if test x$ac_prog_cc_stdc = xno
5442 then :
5443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5444 printf %s "checking for $CC option to enable C11 features... " >&6; }
5445 if test ${ac_cv_prog_cc_c11+y}
5446 then :
5447 printf %s "(cached) " >&6
5448 else $as_nop
5449 ac_cv_prog_cc_c11=no
5450 ac_save_CC=$CC
5451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5452 /* end confdefs.h. */
5453 $ac_c_conftest_c11_program
5454 _ACEOF
5455 for ac_arg in '' -std=gnu11
5457 CC="$ac_save_CC $ac_arg"
5458 if ac_fn_c_try_compile "$LINENO"
5459 then :
5460 ac_cv_prog_cc_c11=$ac_arg
5462 rm -f core conftest.err conftest.$ac_objext conftest.beam
5463 test "x$ac_cv_prog_cc_c11" != "xno" && break
5464 done
5465 rm -f conftest.$ac_ext
5466 CC=$ac_save_CC
5469 if test "x$ac_cv_prog_cc_c11" = xno
5470 then :
5471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5472 printf "%s\n" "unsupported" >&6; }
5473 else $as_nop
5474 if test "x$ac_cv_prog_cc_c11" = x
5475 then :
5476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5477 printf "%s\n" "none needed" >&6; }
5478 else $as_nop
5479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5480 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5481 CC="$CC $ac_cv_prog_cc_c11"
5483 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5484 ac_prog_cc_stdc=c11
5487 if test x$ac_prog_cc_stdc = xno
5488 then :
5489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5490 printf %s "checking for $CC option to enable C99 features... " >&6; }
5491 if test ${ac_cv_prog_cc_c99+y}
5492 then :
5493 printf %s "(cached) " >&6
5494 else $as_nop
5495 ac_cv_prog_cc_c99=no
5496 ac_save_CC=$CC
5497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5498 /* end confdefs.h. */
5499 $ac_c_conftest_c99_program
5500 _ACEOF
5501 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5503 CC="$ac_save_CC $ac_arg"
5504 if ac_fn_c_try_compile "$LINENO"
5505 then :
5506 ac_cv_prog_cc_c99=$ac_arg
5508 rm -f core conftest.err conftest.$ac_objext conftest.beam
5509 test "x$ac_cv_prog_cc_c99" != "xno" && break
5510 done
5511 rm -f conftest.$ac_ext
5512 CC=$ac_save_CC
5515 if test "x$ac_cv_prog_cc_c99" = xno
5516 then :
5517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5518 printf "%s\n" "unsupported" >&6; }
5519 else $as_nop
5520 if test "x$ac_cv_prog_cc_c99" = x
5521 then :
5522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5523 printf "%s\n" "none needed" >&6; }
5524 else $as_nop
5525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5526 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5527 CC="$CC $ac_cv_prog_cc_c99"
5529 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5530 ac_prog_cc_stdc=c99
5533 if test x$ac_prog_cc_stdc = xno
5534 then :
5535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5536 printf %s "checking for $CC option to enable C89 features... " >&6; }
5537 if test ${ac_cv_prog_cc_c89+y}
5538 then :
5539 printf %s "(cached) " >&6
5540 else $as_nop
5541 ac_cv_prog_cc_c89=no
5542 ac_save_CC=$CC
5543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5544 /* end confdefs.h. */
5545 $ac_c_conftest_c89_program
5546 _ACEOF
5547 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5549 CC="$ac_save_CC $ac_arg"
5550 if ac_fn_c_try_compile "$LINENO"
5551 then :
5552 ac_cv_prog_cc_c89=$ac_arg
5554 rm -f core conftest.err conftest.$ac_objext conftest.beam
5555 test "x$ac_cv_prog_cc_c89" != "xno" && break
5556 done
5557 rm -f conftest.$ac_ext
5558 CC=$ac_save_CC
5561 if test "x$ac_cv_prog_cc_c89" = xno
5562 then :
5563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5564 printf "%s\n" "unsupported" >&6; }
5565 else $as_nop
5566 if test "x$ac_cv_prog_cc_c89" = x
5567 then :
5568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5569 printf "%s\n" "none needed" >&6; }
5570 else $as_nop
5571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5572 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5573 CC="$CC $ac_cv_prog_cc_c89"
5575 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5576 ac_prog_cc_stdc=c89
5580 ac_ext=c
5581 ac_cpp='$CPP $CPPFLAGS'
5582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5592 ac_ext=cpp
5593 ac_cpp='$CXXCPP $CPPFLAGS'
5594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5597 if test -z "$CXX"; then
5598 if test -n "$CCC"; then
5599 CXX=$CCC
5600 else
5601 if test -n "$ac_tool_prefix"; then
5602 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5604 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5605 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5607 printf %s "checking for $ac_word... " >&6; }
5608 if test ${ac_cv_prog_CXX+y}
5609 then :
5610 printf %s "(cached) " >&6
5611 else $as_nop
5612 if test -n "$CXX"; then
5613 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5614 else
5615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5616 for as_dir in $PATH
5618 IFS=$as_save_IFS
5619 case $as_dir in #(((
5620 '') as_dir=./ ;;
5621 */) ;;
5622 *) as_dir=$as_dir/ ;;
5623 esac
5624 for ac_exec_ext in '' $ac_executable_extensions; do
5625 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5626 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5627 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5628 break 2
5630 done
5631 done
5632 IFS=$as_save_IFS
5636 CXX=$ac_cv_prog_CXX
5637 if test -n "$CXX"; then
5638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5639 printf "%s\n" "$CXX" >&6; }
5640 else
5641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5642 printf "%s\n" "no" >&6; }
5646 test -n "$CXX" && break
5647 done
5649 if test -z "$CXX"; then
5650 ac_ct_CXX=$CXX
5651 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5653 # Extract the first word of "$ac_prog", so it can be a program name with args.
5654 set dummy $ac_prog; ac_word=$2
5655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5656 printf %s "checking for $ac_word... " >&6; }
5657 if test ${ac_cv_prog_ac_ct_CXX+y}
5658 then :
5659 printf %s "(cached) " >&6
5660 else $as_nop
5661 if test -n "$ac_ct_CXX"; then
5662 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5663 else
5664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5665 for as_dir in $PATH
5667 IFS=$as_save_IFS
5668 case $as_dir in #(((
5669 '') as_dir=./ ;;
5670 */) ;;
5671 *) as_dir=$as_dir/ ;;
5672 esac
5673 for ac_exec_ext in '' $ac_executable_extensions; do
5674 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5675 ac_cv_prog_ac_ct_CXX="$ac_prog"
5676 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5677 break 2
5679 done
5680 done
5681 IFS=$as_save_IFS
5685 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5686 if test -n "$ac_ct_CXX"; then
5687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5688 printf "%s\n" "$ac_ct_CXX" >&6; }
5689 else
5690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5691 printf "%s\n" "no" >&6; }
5695 test -n "$ac_ct_CXX" && break
5696 done
5698 if test "x$ac_ct_CXX" = x; then
5699 CXX="g++"
5700 else
5701 case $cross_compiling:$ac_tool_warned in
5702 yes:)
5703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5704 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5705 ac_tool_warned=yes ;;
5706 esac
5707 CXX=$ac_ct_CXX
5713 # Provide some information about the compiler.
5714 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5715 set X $ac_compile
5716 ac_compiler=$2
5717 for ac_option in --version -v -V -qversion; do
5718 { { ac_try="$ac_compiler $ac_option >&5"
5719 case "(($ac_try" in
5720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5721 *) ac_try_echo=$ac_try;;
5722 esac
5723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5724 printf "%s\n" "$ac_try_echo"; } >&5
5725 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5726 ac_status=$?
5727 if test -s conftest.err; then
5728 sed '10a\
5729 ... rest of stderr output deleted ...
5730 10q' conftest.err >conftest.er1
5731 cat conftest.er1 >&5
5733 rm -f conftest.er1 conftest.err
5734 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5735 test $ac_status = 0; }
5736 done
5738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5739 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5740 if test ${ac_cv_cxx_compiler_gnu+y}
5741 then :
5742 printf %s "(cached) " >&6
5743 else $as_nop
5744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5745 /* end confdefs.h. */
5748 main (void)
5750 #ifndef __GNUC__
5751 choke me
5752 #endif
5755 return 0;
5757 _ACEOF
5758 if ac_fn_cxx_try_compile "$LINENO"
5759 then :
5760 ac_compiler_gnu=yes
5761 else $as_nop
5762 ac_compiler_gnu=no
5764 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5765 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5769 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5772 if test $ac_compiler_gnu = yes; then
5773 GXX=yes
5774 else
5775 GXX=
5777 ac_test_CXXFLAGS=${CXXFLAGS+y}
5778 ac_save_CXXFLAGS=$CXXFLAGS
5779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5780 printf %s "checking whether $CXX accepts -g... " >&6; }
5781 if test ${ac_cv_prog_cxx_g+y}
5782 then :
5783 printf %s "(cached) " >&6
5784 else $as_nop
5785 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5786 ac_cxx_werror_flag=yes
5787 ac_cv_prog_cxx_g=no
5788 CXXFLAGS="-g"
5789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5790 /* end confdefs.h. */
5793 main (void)
5797 return 0;
5799 _ACEOF
5800 if ac_fn_cxx_try_compile "$LINENO"
5801 then :
5802 ac_cv_prog_cxx_g=yes
5803 else $as_nop
5804 CXXFLAGS=""
5805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5806 /* end confdefs.h. */
5809 main (void)
5813 return 0;
5815 _ACEOF
5816 if ac_fn_cxx_try_compile "$LINENO"
5817 then :
5819 else $as_nop
5820 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5821 CXXFLAGS="-g"
5822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5823 /* end confdefs.h. */
5826 main (void)
5830 return 0;
5832 _ACEOF
5833 if ac_fn_cxx_try_compile "$LINENO"
5834 then :
5835 ac_cv_prog_cxx_g=yes
5837 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5839 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5841 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5842 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5845 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5846 if test $ac_test_CXXFLAGS; then
5847 CXXFLAGS=$ac_save_CXXFLAGS
5848 elif test $ac_cv_prog_cxx_g = yes; then
5849 if test "$GXX" = yes; then
5850 CXXFLAGS="-g -O2"
5851 else
5852 CXXFLAGS="-g"
5854 else
5855 if test "$GXX" = yes; then
5856 CXXFLAGS="-O2"
5857 else
5858 CXXFLAGS=
5861 ac_prog_cxx_stdcxx=no
5862 if test x$ac_prog_cxx_stdcxx = xno
5863 then :
5864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5865 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5866 if test ${ac_cv_prog_cxx_11+y}
5867 then :
5868 printf %s "(cached) " >&6
5869 else $as_nop
5870 ac_cv_prog_cxx_11=no
5871 ac_save_CXX=$CXX
5872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5873 /* end confdefs.h. */
5874 $ac_cxx_conftest_cxx11_program
5875 _ACEOF
5876 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5878 CXX="$ac_save_CXX $ac_arg"
5879 if ac_fn_cxx_try_compile "$LINENO"
5880 then :
5881 ac_cv_prog_cxx_cxx11=$ac_arg
5883 rm -f core conftest.err conftest.$ac_objext conftest.beam
5884 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5885 done
5886 rm -f conftest.$ac_ext
5887 CXX=$ac_save_CXX
5890 if test "x$ac_cv_prog_cxx_cxx11" = xno
5891 then :
5892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5893 printf "%s\n" "unsupported" >&6; }
5894 else $as_nop
5895 if test "x$ac_cv_prog_cxx_cxx11" = x
5896 then :
5897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5898 printf "%s\n" "none needed" >&6; }
5899 else $as_nop
5900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5901 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5902 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5904 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5905 ac_prog_cxx_stdcxx=cxx11
5908 if test x$ac_prog_cxx_stdcxx = xno
5909 then :
5910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5911 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5912 if test ${ac_cv_prog_cxx_98+y}
5913 then :
5914 printf %s "(cached) " >&6
5915 else $as_nop
5916 ac_cv_prog_cxx_98=no
5917 ac_save_CXX=$CXX
5918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5919 /* end confdefs.h. */
5920 $ac_cxx_conftest_cxx98_program
5921 _ACEOF
5922 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5924 CXX="$ac_save_CXX $ac_arg"
5925 if ac_fn_cxx_try_compile "$LINENO"
5926 then :
5927 ac_cv_prog_cxx_cxx98=$ac_arg
5929 rm -f core conftest.err conftest.$ac_objext conftest.beam
5930 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5931 done
5932 rm -f conftest.$ac_ext
5933 CXX=$ac_save_CXX
5936 if test "x$ac_cv_prog_cxx_cxx98" = xno
5937 then :
5938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5939 printf "%s\n" "unsupported" >&6; }
5940 else $as_nop
5941 if test "x$ac_cv_prog_cxx_cxx98" = x
5942 then :
5943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5944 printf "%s\n" "none needed" >&6; }
5945 else $as_nop
5946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5947 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5948 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5950 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5951 ac_prog_cxx_stdcxx=cxx98
5955 ac_ext=c
5956 ac_cpp='$CPP $CPPFLAGS'
5957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5961 if test -n "$ac_tool_prefix"; then
5962 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5963 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5965 printf %s "checking for $ac_word... " >&6; }
5966 if test ${ac_cv_prog_CPPBIN+y}
5967 then :
5968 printf %s "(cached) " >&6
5969 else $as_nop
5970 if test -n "$CPPBIN"; then
5971 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5972 else
5973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5974 for as_dir in $PATH
5976 IFS=$as_save_IFS
5977 case $as_dir in #(((
5978 '') as_dir=./ ;;
5979 */) ;;
5980 *) as_dir=$as_dir/ ;;
5981 esac
5982 for ac_exec_ext in '' $ac_executable_extensions; do
5983 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5984 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5985 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5986 break 2
5988 done
5989 done
5990 IFS=$as_save_IFS
5994 CPPBIN=$ac_cv_prog_CPPBIN
5995 if test -n "$CPPBIN"; then
5996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5997 printf "%s\n" "$CPPBIN" >&6; }
5998 else
5999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6000 printf "%s\n" "no" >&6; }
6005 if test -z "$ac_cv_prog_CPPBIN"; then
6006 ac_ct_CPPBIN=$CPPBIN
6007 # Extract the first word of "cpp", so it can be a program name with args.
6008 set dummy cpp; ac_word=$2
6009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6010 printf %s "checking for $ac_word... " >&6; }
6011 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6012 then :
6013 printf %s "(cached) " >&6
6014 else $as_nop
6015 if test -n "$ac_ct_CPPBIN"; then
6016 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6017 else
6018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6019 for as_dir in $PATH
6021 IFS=$as_save_IFS
6022 case $as_dir in #(((
6023 '') as_dir=./ ;;
6024 */) ;;
6025 *) as_dir=$as_dir/ ;;
6026 esac
6027 for ac_exec_ext in '' $ac_executable_extensions; do
6028 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6029 ac_cv_prog_ac_ct_CPPBIN="cpp"
6030 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6031 break 2
6033 done
6034 done
6035 IFS=$as_save_IFS
6039 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6040 if test -n "$ac_ct_CPPBIN"; then
6041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6042 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6043 else
6044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6045 printf "%s\n" "no" >&6; }
6048 if test "x$ac_ct_CPPBIN" = x; then
6049 CPPBIN="cpp"
6050 else
6051 case $cross_compiling:$ac_tool_warned in
6052 yes:)
6053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6054 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6055 ac_tool_warned=yes ;;
6056 esac
6057 CPPBIN=$ac_ct_CPPBIN
6059 else
6060 CPPBIN="$ac_cv_prog_CPPBIN"
6064 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6066 if test -n "$ac_tool_prefix"; then
6067 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6068 set dummy ${ac_tool_prefix}ld; ac_word=$2
6069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6070 printf %s "checking for $ac_word... " >&6; }
6071 if test ${ac_cv_prog_LD+y}
6072 then :
6073 printf %s "(cached) " >&6
6074 else $as_nop
6075 if test -n "$LD"; then
6076 ac_cv_prog_LD="$LD" # Let the user override the test.
6077 else
6078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6079 for as_dir in $PATH
6081 IFS=$as_save_IFS
6082 case $as_dir in #(((
6083 '') as_dir=./ ;;
6084 */) ;;
6085 *) as_dir=$as_dir/ ;;
6086 esac
6087 for ac_exec_ext in '' $ac_executable_extensions; do
6088 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6089 ac_cv_prog_LD="${ac_tool_prefix}ld"
6090 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6091 break 2
6093 done
6094 done
6095 IFS=$as_save_IFS
6099 LD=$ac_cv_prog_LD
6100 if test -n "$LD"; then
6101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6102 printf "%s\n" "$LD" >&6; }
6103 else
6104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6105 printf "%s\n" "no" >&6; }
6110 if test -z "$ac_cv_prog_LD"; then
6111 ac_ct_LD=$LD
6112 # Extract the first word of "ld", so it can be a program name with args.
6113 set dummy ld; ac_word=$2
6114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6115 printf %s "checking for $ac_word... " >&6; }
6116 if test ${ac_cv_prog_ac_ct_LD+y}
6117 then :
6118 printf %s "(cached) " >&6
6119 else $as_nop
6120 if test -n "$ac_ct_LD"; then
6121 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6122 else
6123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6124 for as_dir in $PATH
6126 IFS=$as_save_IFS
6127 case $as_dir in #(((
6128 '') as_dir=./ ;;
6129 */) ;;
6130 *) as_dir=$as_dir/ ;;
6131 esac
6132 for ac_exec_ext in '' $ac_executable_extensions; do
6133 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6134 ac_cv_prog_ac_ct_LD="ld"
6135 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6136 break 2
6138 done
6139 done
6140 IFS=$as_save_IFS
6144 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6145 if test -n "$ac_ct_LD"; then
6146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6147 printf "%s\n" "$ac_ct_LD" >&6; }
6148 else
6149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6150 printf "%s\n" "no" >&6; }
6153 if test "x$ac_ct_LD" = x; then
6154 LD=""
6155 else
6156 case $cross_compiling:$ac_tool_warned in
6157 yes:)
6158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6159 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6160 ac_tool_warned=yes ;;
6161 esac
6162 LD=$ac_ct_LD
6164 else
6165 LD="$ac_cv_prog_LD"
6169 case $host in
6170 *-darwin*)
6171 with_fontconfig=${with_fontconfig:-no}
6173 *-mingw32*|*-cygwin*)
6174 enable_win16=${enable_win16:-no}
6175 with_mingw=${with_mingw:-no}
6177 esac
6180 case $host in
6181 x86_64*|amd64*)
6182 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6183 then
6184 CC="$CC -m32"
6185 CXX="$CXX -m32"
6187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6188 printf %s "checking whether $CC works... " >&6; }
6189 if test ${wine_cv_cc_m32+y}
6190 then :
6191 printf %s "(cached) " >&6
6192 else $as_nop
6193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6194 /* end confdefs.h. */
6197 main (void)
6201 return 0;
6203 _ACEOF
6204 if ac_fn_c_try_link "$LINENO"
6205 then :
6206 wine_cv_cc_m32=yes
6207 else $as_nop
6208 wine_cv_cc_m32=no
6210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6211 conftest$ac_exeext conftest.$ac_ext
6213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6214 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6215 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
6216 host_cpu="i386"
6217 notice_platform="32-bit "
6218 TARGETFLAGS="$TARGETFLAGS -m32"
6219 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6220 export PKG_CONFIG_LIBDIR
6221 with_unwind=${with_unwind:-no}
6222 else
6223 if test "x${GCC}" = "xyes"
6224 then
6225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6226 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6227 if test ${wine_cv_builtin_ms_va_list+y}
6228 then :
6229 printf %s "(cached) " >&6
6230 else $as_nop
6231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6232 /* end confdefs.h. */
6233 #include <stdarg.h>
6235 main (void)
6237 void func(__builtin_ms_va_list *args);
6239 return 0;
6241 _ACEOF
6242 if ac_fn_c_try_compile "$LINENO"
6243 then :
6244 wine_cv_builtin_ms_va_list=yes
6245 else $as_nop
6246 wine_cv_builtin_ms_va_list=no
6248 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6251 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6252 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
6254 CC="$CC -m64"
6255 CXX="$CXX -m64"
6256 host_cpu="x86_64"
6257 notice_platform="64-bit "
6258 TARGETFLAGS="$TARGETFLAGS -m64"
6261 arm*)
6262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6263 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6264 if test ${wine_cv_thumb2+y}
6265 then :
6266 printf %s "(cached) " >&6
6267 else $as_nop
6268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6269 /* end confdefs.h. */
6272 main (void)
6274 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6276 return 0;
6278 _ACEOF
6279 if ac_fn_c_try_link "$LINENO"
6280 then :
6281 wine_cv_thumb2=yes
6282 else $as_nop
6283 wine_cv_thumb2=no
6285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6286 conftest$ac_exeext conftest.$ac_ext
6288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6289 printf "%s\n" "$wine_cv_thumb2" >&6; }
6290 if test x"$wine_cv_thumb2" = xyes
6291 then
6292 CFLAGS="$CFLAGS -mthumb"
6293 TARGETFLAGS="$TARGETFLAGS -mthumb"
6294 else
6295 CFLAGS="$CFLAGS -marm"
6296 TARGETFLAGS="$TARGETFLAGS -marm"
6298 case $with_float_abi in
6299 soft|softfp|hard)
6300 float_abi=$with_float_abi ;;
6302 case $host_os in
6303 *eabihf)
6304 float_abi=hard ;;
6306 float_abi=softfp
6307 saved_CFLAGS=$CFLAGS
6308 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6310 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6311 if test ${wine_cv_float_abi+y}
6312 then :
6313 printf %s "(cached) " >&6
6314 else $as_nop
6315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6316 /* end confdefs.h. */
6319 main (void)
6321 asm("vmrs r2,fpscr");
6323 return 0;
6325 _ACEOF
6326 if ac_fn_c_try_link "$LINENO"
6327 then :
6328 wine_cv_float_abi=yes
6329 else $as_nop
6330 wine_cv_float_abi=no
6332 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6333 conftest$ac_exeext conftest.$ac_ext
6335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6336 printf "%s\n" "$wine_cv_float_abi" >&6; }
6337 if test $wine_cv_float_abi = no
6338 then
6339 float_abi=soft
6340 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6342 CFLAGS=$saved_CFLAGS
6343 esac
6345 esac
6346 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6347 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6349 i[3456789]86*)
6350 with_unwind=${with_unwind:-no}
6352 esac
6354 enable_win16=${enable_win16:-i386}
6355 enable_win64=${enable_win64:-no}
6356 enable_wow64=${enable_wow64:-aarch64,x86_64}
6357 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6358 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6360 enable_winetest=${enable_winetest:-$enable_tests}
6362 if test "x$enable_win64" = "xyes"
6363 then
6364 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6365 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6368 case $build_os in
6369 cygwin*|mingw32*) toolsext=".exe"
6371 *) toolsext=""
6373 esac
6375 HOST_ARCH=unknown
6376 case "$host_cpu" in
6377 aarch64*) HOST_ARCH=aarch64 ;;
6378 arm*) HOST_ARCH=arm ;;
6379 i[3456789]86*) HOST_ARCH=i386 ;;
6380 x86_64) HOST_ARCH=x86_64 ;;
6381 esac
6384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6385 printf %s "checking for the directory containing the Wine tools... " >&6; }
6386 if test ${wine_cv_toolsdir+y}
6387 then :
6388 printf %s "(cached) " >&6
6389 else $as_nop
6390 wine_cv_toolsdir="$with_wine_tools"
6391 if test -z "$with_wine_tools"; then
6392 if test "$cross_compiling" = "yes"; then
6393 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6394 elif test -n "$with_wine64"; then
6395 wine_cv_toolsdir="$with_wine64"
6399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6400 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6401 if test -z "$wine_cv_toolsdir"; then
6402 wine_makedep=tools/makedep$toolsext
6403 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6404 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6405 enable_tools=${enable_tools:-no}
6406 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6407 else
6408 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6410 toolsdir=$wine_cv_toolsdir
6412 MAKEDEP=$wine_makedep
6414 RUNTESTFLAGS="-q -P wine"
6416 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'"
6419 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6420 then
6421 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6424 for ac_prog in flex
6426 # Extract the first word of "$ac_prog", so it can be a program name with args.
6427 set dummy $ac_prog; ac_word=$2
6428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6429 printf %s "checking for $ac_word... " >&6; }
6430 if test ${ac_cv_prog_FLEX+y}
6431 then :
6432 printf %s "(cached) " >&6
6433 else $as_nop
6434 if test -n "$FLEX"; then
6435 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6436 else
6437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6438 for as_dir in $PATH
6440 IFS=$as_save_IFS
6441 case $as_dir in #(((
6442 '') as_dir=./ ;;
6443 */) ;;
6444 *) as_dir=$as_dir/ ;;
6445 esac
6446 for ac_exec_ext in '' $ac_executable_extensions; do
6447 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6448 ac_cv_prog_FLEX="$ac_prog"
6449 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6450 break 2
6452 done
6453 done
6454 IFS=$as_save_IFS
6458 FLEX=$ac_cv_prog_FLEX
6459 if test -n "$FLEX"; then
6460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6461 printf "%s\n" "$FLEX" >&6; }
6462 else
6463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6464 printf "%s\n" "no" >&6; }
6468 test -n "$FLEX" && break
6469 done
6470 test -n "$FLEX" || FLEX="none"
6472 if test "$FLEX" = "none"
6473 then
6474 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6477 printf %s "checking whether flex is recent enough... " >&6; }
6478 if test ${wine_cv_recent_flex+y}
6479 then :
6480 printf %s "(cached) " >&6
6481 else $as_nop
6482 cat >conftest.l <<EOF
6483 %top{
6484 #include "prediluvian.h"
6488 if $FLEX -t conftest.l >/dev/null 2>&5
6489 then
6490 wine_cv_recent_flex=yes
6491 else
6492 wine_cv_recent_flex=no
6495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6496 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6497 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
6499 for ac_prog in bison
6501 # Extract the first word of "$ac_prog", so it can be a program name with args.
6502 set dummy $ac_prog; ac_word=$2
6503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6504 printf %s "checking for $ac_word... " >&6; }
6505 if test ${ac_cv_prog_BISON+y}
6506 then :
6507 printf %s "(cached) " >&6
6508 else $as_nop
6509 if test -n "$BISON"; then
6510 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6511 else
6512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6513 for as_dir in $PATH
6515 IFS=$as_save_IFS
6516 case $as_dir in #(((
6517 '') as_dir=./ ;;
6518 */) ;;
6519 *) as_dir=$as_dir/ ;;
6520 esac
6521 for ac_exec_ext in '' $ac_executable_extensions; do
6522 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6523 ac_cv_prog_BISON="$ac_prog"
6524 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6525 break 2
6527 done
6528 done
6529 IFS=$as_save_IFS
6533 BISON=$ac_cv_prog_BISON
6534 if test -n "$BISON"; then
6535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6536 printf "%s\n" "$BISON" >&6; }
6537 else
6538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6539 printf "%s\n" "no" >&6; }
6543 test -n "$BISON" && break
6544 done
6545 test -n "$BISON" || BISON="none"
6547 if test "$BISON" = "none"
6548 then
6549 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6552 printf %s "checking whether bison is recent enough... " >&6; }
6553 if test ${wine_cv_recent_bison+y}
6554 then :
6555 printf %s "(cached) " >&6
6556 else $as_nop
6557 cat >conftest.y <<EOF
6558 %define parse.error verbose
6560 empty: ;
6562 if $BISON conftest.y >/dev/null 2>&5
6563 then
6564 wine_cv_recent_bison=yes
6565 else
6566 wine_cv_recent_bison=no
6569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6570 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6571 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
6573 if test -n "$ac_tool_prefix"; then
6574 for ac_prog in ar gar
6576 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6577 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6579 printf %s "checking for $ac_word... " >&6; }
6580 if test ${ac_cv_prog_AR+y}
6581 then :
6582 printf %s "(cached) " >&6
6583 else $as_nop
6584 if test -n "$AR"; then
6585 ac_cv_prog_AR="$AR" # Let the user override the test.
6586 else
6587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6588 for as_dir in $PATH
6590 IFS=$as_save_IFS
6591 case $as_dir in #(((
6592 '') as_dir=./ ;;
6593 */) ;;
6594 *) as_dir=$as_dir/ ;;
6595 esac
6596 for ac_exec_ext in '' $ac_executable_extensions; do
6597 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6598 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6599 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6600 break 2
6602 done
6603 done
6604 IFS=$as_save_IFS
6608 AR=$ac_cv_prog_AR
6609 if test -n "$AR"; then
6610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6611 printf "%s\n" "$AR" >&6; }
6612 else
6613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6614 printf "%s\n" "no" >&6; }
6618 test -n "$AR" && break
6619 done
6621 if test -z "$AR"; then
6622 ac_ct_AR=$AR
6623 for ac_prog in ar gar
6625 # Extract the first word of "$ac_prog", so it can be a program name with args.
6626 set dummy $ac_prog; ac_word=$2
6627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6628 printf %s "checking for $ac_word... " >&6; }
6629 if test ${ac_cv_prog_ac_ct_AR+y}
6630 then :
6631 printf %s "(cached) " >&6
6632 else $as_nop
6633 if test -n "$ac_ct_AR"; then
6634 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6635 else
6636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6637 for as_dir in $PATH
6639 IFS=$as_save_IFS
6640 case $as_dir in #(((
6641 '') as_dir=./ ;;
6642 */) ;;
6643 *) as_dir=$as_dir/ ;;
6644 esac
6645 for ac_exec_ext in '' $ac_executable_extensions; do
6646 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6647 ac_cv_prog_ac_ct_AR="$ac_prog"
6648 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6649 break 2
6651 done
6652 done
6653 IFS=$as_save_IFS
6657 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6658 if test -n "$ac_ct_AR"; then
6659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6660 printf "%s\n" "$ac_ct_AR" >&6; }
6661 else
6662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6663 printf "%s\n" "no" >&6; }
6667 test -n "$ac_ct_AR" && break
6668 done
6670 if test "x$ac_ct_AR" = x; then
6671 AR="ar"
6672 else
6673 case $cross_compiling:$ac_tool_warned in
6674 yes:)
6675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6676 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6677 ac_tool_warned=yes ;;
6678 esac
6679 AR=$ac_ct_AR
6683 if test -n "$ac_tool_prefix"; then
6684 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6685 set dummy ${ac_tool_prefix}strip; ac_word=$2
6686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6687 printf %s "checking for $ac_word... " >&6; }
6688 if test ${ac_cv_prog_STRIP+y}
6689 then :
6690 printf %s "(cached) " >&6
6691 else $as_nop
6692 if test -n "$STRIP"; then
6693 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6694 else
6695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6696 for as_dir in $PATH
6698 IFS=$as_save_IFS
6699 case $as_dir in #(((
6700 '') as_dir=./ ;;
6701 */) ;;
6702 *) as_dir=$as_dir/ ;;
6703 esac
6704 for ac_exec_ext in '' $ac_executable_extensions; do
6705 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6706 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6707 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6708 break 2
6710 done
6711 done
6712 IFS=$as_save_IFS
6716 STRIP=$ac_cv_prog_STRIP
6717 if test -n "$STRIP"; then
6718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6719 printf "%s\n" "$STRIP" >&6; }
6720 else
6721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6722 printf "%s\n" "no" >&6; }
6727 if test -z "$ac_cv_prog_STRIP"; then
6728 ac_ct_STRIP=$STRIP
6729 # Extract the first word of "strip", so it can be a program name with args.
6730 set dummy strip; ac_word=$2
6731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6732 printf %s "checking for $ac_word... " >&6; }
6733 if test ${ac_cv_prog_ac_ct_STRIP+y}
6734 then :
6735 printf %s "(cached) " >&6
6736 else $as_nop
6737 if test -n "$ac_ct_STRIP"; then
6738 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6739 else
6740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6741 for as_dir in $PATH
6743 IFS=$as_save_IFS
6744 case $as_dir in #(((
6745 '') as_dir=./ ;;
6746 */) ;;
6747 *) as_dir=$as_dir/ ;;
6748 esac
6749 for ac_exec_ext in '' $ac_executable_extensions; do
6750 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6751 ac_cv_prog_ac_ct_STRIP="strip"
6752 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6753 break 2
6755 done
6756 done
6757 IFS=$as_save_IFS
6761 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6762 if test -n "$ac_ct_STRIP"; then
6763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6764 printf "%s\n" "$ac_ct_STRIP" >&6; }
6765 else
6766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6767 printf "%s\n" "no" >&6; }
6770 if test "x$ac_ct_STRIP" = x; then
6771 STRIP="strip"
6772 else
6773 case $cross_compiling:$ac_tool_warned in
6774 yes:)
6775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6776 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6777 ac_tool_warned=yes ;;
6778 esac
6779 STRIP=$ac_ct_STRIP
6781 else
6782 STRIP="$ac_cv_prog_STRIP"
6785 if test -n "$ac_tool_prefix"; then
6786 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6787 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6789 printf %s "checking for $ac_word... " >&6; }
6790 if test ${ac_cv_prog_RANLIB+y}
6791 then :
6792 printf %s "(cached) " >&6
6793 else $as_nop
6794 if test -n "$RANLIB"; then
6795 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6796 else
6797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6798 for as_dir in $PATH
6800 IFS=$as_save_IFS
6801 case $as_dir in #(((
6802 '') as_dir=./ ;;
6803 */) ;;
6804 *) as_dir=$as_dir/ ;;
6805 esac
6806 for ac_exec_ext in '' $ac_executable_extensions; do
6807 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6808 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6809 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6810 break 2
6812 done
6813 done
6814 IFS=$as_save_IFS
6818 RANLIB=$ac_cv_prog_RANLIB
6819 if test -n "$RANLIB"; then
6820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6821 printf "%s\n" "$RANLIB" >&6; }
6822 else
6823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6824 printf "%s\n" "no" >&6; }
6829 if test -z "$ac_cv_prog_RANLIB"; then
6830 ac_ct_RANLIB=$RANLIB
6831 # Extract the first word of "ranlib", so it can be a program name with args.
6832 set dummy ranlib; ac_word=$2
6833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6834 printf %s "checking for $ac_word... " >&6; }
6835 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6836 then :
6837 printf %s "(cached) " >&6
6838 else $as_nop
6839 if test -n "$ac_ct_RANLIB"; then
6840 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6841 else
6842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6843 for as_dir in $PATH
6845 IFS=$as_save_IFS
6846 case $as_dir in #(((
6847 '') as_dir=./ ;;
6848 */) ;;
6849 *) as_dir=$as_dir/ ;;
6850 esac
6851 for ac_exec_ext in '' $ac_executable_extensions; do
6852 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6853 ac_cv_prog_ac_ct_RANLIB="ranlib"
6854 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6855 break 2
6857 done
6858 done
6859 IFS=$as_save_IFS
6863 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6864 if test -n "$ac_ct_RANLIB"; then
6865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6866 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6867 else
6868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6869 printf "%s\n" "no" >&6; }
6872 if test "x$ac_ct_RANLIB" = x; then
6873 RANLIB=":"
6874 else
6875 case $cross_compiling:$ac_tool_warned in
6876 yes:)
6877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6878 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6879 ac_tool_warned=yes ;;
6880 esac
6881 RANLIB=$ac_ct_RANLIB
6883 else
6884 RANLIB="$ac_cv_prog_RANLIB"
6887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6888 printf %s "checking whether ln -s works... " >&6; }
6889 LN_S=$as_ln_s
6890 if test "$LN_S" = "ln -s"; then
6891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6892 printf "%s\n" "yes" >&6; }
6893 else
6894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6895 printf "%s\n" "no, using $LN_S" >&6; }
6898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6899 printf %s "checking for grep that handles long lines and -e... " >&6; }
6900 if test ${ac_cv_path_GREP+y}
6901 then :
6902 printf %s "(cached) " >&6
6903 else $as_nop
6904 if test -z "$GREP"; then
6905 ac_path_GREP_found=false
6906 # Loop through the user's path and test for each of PROGNAME-LIST
6907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6908 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6910 IFS=$as_save_IFS
6911 case $as_dir in #(((
6912 '') as_dir=./ ;;
6913 */) ;;
6914 *) as_dir=$as_dir/ ;;
6915 esac
6916 for ac_prog in grep ggrep
6918 for ac_exec_ext in '' $ac_executable_extensions; do
6919 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6920 as_fn_executable_p "$ac_path_GREP" || continue
6921 # Check for GNU ac_path_GREP and select it if it is found.
6922 # Check for GNU $ac_path_GREP
6923 case `"$ac_path_GREP" --version 2>&1` in
6924 *GNU*)
6925 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6927 ac_count=0
6928 printf %s 0123456789 >"conftest.in"
6929 while :
6931 cat "conftest.in" "conftest.in" >"conftest.tmp"
6932 mv "conftest.tmp" "conftest.in"
6933 cp "conftest.in" "conftest.nl"
6934 printf "%s\n" 'GREP' >> "conftest.nl"
6935 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6936 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6937 as_fn_arith $ac_count + 1 && ac_count=$as_val
6938 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6939 # Best one so far, save it but keep looking for a better one
6940 ac_cv_path_GREP="$ac_path_GREP"
6941 ac_path_GREP_max=$ac_count
6943 # 10*(2^10) chars as input seems more than enough
6944 test $ac_count -gt 10 && break
6945 done
6946 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6947 esac
6949 $ac_path_GREP_found && break 3
6950 done
6951 done
6952 done
6953 IFS=$as_save_IFS
6954 if test -z "$ac_cv_path_GREP"; then
6955 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6957 else
6958 ac_cv_path_GREP=$GREP
6962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6963 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6964 GREP="$ac_cv_path_GREP"
6967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6968 printf %s "checking for egrep... " >&6; }
6969 if test ${ac_cv_path_EGREP+y}
6970 then :
6971 printf %s "(cached) " >&6
6972 else $as_nop
6973 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6974 then ac_cv_path_EGREP="$GREP -E"
6975 else
6976 if test -z "$EGREP"; then
6977 ac_path_EGREP_found=false
6978 # Loop through the user's path and test for each of PROGNAME-LIST
6979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6980 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6982 IFS=$as_save_IFS
6983 case $as_dir in #(((
6984 '') as_dir=./ ;;
6985 */) ;;
6986 *) as_dir=$as_dir/ ;;
6987 esac
6988 for ac_prog in egrep
6990 for ac_exec_ext in '' $ac_executable_extensions; do
6991 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
6992 as_fn_executable_p "$ac_path_EGREP" || continue
6993 # Check for GNU ac_path_EGREP and select it if it is found.
6994 # Check for GNU $ac_path_EGREP
6995 case `"$ac_path_EGREP" --version 2>&1` in
6996 *GNU*)
6997 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6999 ac_count=0
7000 printf %s 0123456789 >"conftest.in"
7001 while :
7003 cat "conftest.in" "conftest.in" >"conftest.tmp"
7004 mv "conftest.tmp" "conftest.in"
7005 cp "conftest.in" "conftest.nl"
7006 printf "%s\n" 'EGREP' >> "conftest.nl"
7007 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7008 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7009 as_fn_arith $ac_count + 1 && ac_count=$as_val
7010 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7011 # Best one so far, save it but keep looking for a better one
7012 ac_cv_path_EGREP="$ac_path_EGREP"
7013 ac_path_EGREP_max=$ac_count
7015 # 10*(2^10) chars as input seems more than enough
7016 test $ac_count -gt 10 && break
7017 done
7018 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7019 esac
7021 $ac_path_EGREP_found && break 3
7022 done
7023 done
7024 done
7025 IFS=$as_save_IFS
7026 if test -z "$ac_cv_path_EGREP"; then
7027 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7029 else
7030 ac_cv_path_EGREP=$EGREP
7035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7036 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7037 EGREP="$ac_cv_path_EGREP"
7040 # Extract the first word of "ldconfig", so it can be a program name with args.
7041 set dummy ldconfig; ac_word=$2
7042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7043 printf %s "checking for $ac_word... " >&6; }
7044 if test ${ac_cv_path_LDCONFIG+y}
7045 then :
7046 printf %s "(cached) " >&6
7047 else $as_nop
7048 case $LDCONFIG in
7049 [\\/]* | ?:[\\/]*)
7050 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7054 for as_dir in /sbin /usr/sbin $PATH
7056 IFS=$as_save_IFS
7057 case $as_dir in #(((
7058 '') as_dir=./ ;;
7059 */) ;;
7060 *) as_dir=$as_dir/ ;;
7061 esac
7062 for ac_exec_ext in '' $ac_executable_extensions; do
7063 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7064 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7065 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7066 break 2
7068 done
7069 done
7070 IFS=$as_save_IFS
7072 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7074 esac
7076 LDCONFIG=$ac_cv_path_LDCONFIG
7077 if test -n "$LDCONFIG"; then
7078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7079 printf "%s\n" "$LDCONFIG" >&6; }
7080 else
7081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7082 printf "%s\n" "no" >&6; }
7086 for ac_prog in msgfmt
7088 # Extract the first word of "$ac_prog", so it can be a program name with args.
7089 set dummy $ac_prog; ac_word=$2
7090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7091 printf %s "checking for $ac_word... " >&6; }
7092 if test ${ac_cv_prog_MSGFMT+y}
7093 then :
7094 printf %s "(cached) " >&6
7095 else $as_nop
7096 if test -n "$MSGFMT"; then
7097 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7098 else
7099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7100 for as_dir in $PATH
7102 IFS=$as_save_IFS
7103 case $as_dir in #(((
7104 '') as_dir=./ ;;
7105 */) ;;
7106 *) as_dir=$as_dir/ ;;
7107 esac
7108 for ac_exec_ext in '' $ac_executable_extensions; do
7109 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7110 ac_cv_prog_MSGFMT="$ac_prog"
7111 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7112 break 2
7114 done
7115 done
7116 IFS=$as_save_IFS
7120 MSGFMT=$ac_cv_prog_MSGFMT
7121 if test -n "$MSGFMT"; then
7122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7123 printf "%s\n" "$MSGFMT" >&6; }
7124 else
7125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7126 printf "%s\n" "no" >&6; }
7130 test -n "$MSGFMT" && break
7131 done
7132 test -n "$MSGFMT" || MSGFMT="false"
7134 if test ${ac_tool_prefix+y}
7135 then :
7136 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7137 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7139 printf %s "checking for $ac_word... " >&6; }
7140 if test ${ac_cv_prog_PKG_CONFIG+y}
7141 then :
7142 printf %s "(cached) " >&6
7143 else $as_nop
7144 if test -n "$PKG_CONFIG"; then
7145 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7146 else
7147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7148 for as_dir in $PATH
7150 IFS=$as_save_IFS
7151 case $as_dir in #(((
7152 '') as_dir=./ ;;
7153 */) ;;
7154 *) as_dir=$as_dir/ ;;
7155 esac
7156 for ac_exec_ext in '' $ac_executable_extensions; do
7157 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7158 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7159 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7160 break 2
7162 done
7163 done
7164 IFS=$as_save_IFS
7168 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7169 if test -n "$PKG_CONFIG"; then
7170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7171 printf "%s\n" "$PKG_CONFIG" >&6; }
7172 else
7173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7174 printf "%s\n" "no" >&6; }
7179 if ${ac_cv_prog_PKG_CONFIG:+false} :
7180 then :
7181 if test "x$cross_compiling" = xyes
7182 then :
7184 else $as_nop
7185 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7186 # Extract the first word of "pkg-config", so it can be a program name with args.
7187 set dummy pkg-config; ac_word=$2
7188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7189 printf %s "checking for $ac_word... " >&6; }
7190 if test ${ac_cv_prog_PKG_CONFIG+y}
7191 then :
7192 printf %s "(cached) " >&6
7193 else $as_nop
7194 if test -n "$PKG_CONFIG"; then
7195 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7196 else
7197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7198 for as_dir in $PATH
7200 IFS=$as_save_IFS
7201 case $as_dir in #(((
7202 '') as_dir=./ ;;
7203 */) ;;
7204 *) as_dir=$as_dir/ ;;
7205 esac
7206 for ac_exec_ext in '' $ac_executable_extensions; do
7207 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7208 ac_cv_prog_PKG_CONFIG="pkg-config"
7209 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7210 break 2
7212 done
7213 done
7214 IFS=$as_save_IFS
7218 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7219 if test -n "$PKG_CONFIG"; then
7220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7221 printf "%s\n" "$PKG_CONFIG" >&6; }
7222 else
7223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7224 printf "%s\n" "no" >&6; }
7229 else $as_nop
7230 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7233 if test "x$enable_maintainer_mode" != "xyes"
7234 then
7235 FONTFORGE=""
7236 RSVG=""
7237 CONVERT=""
7238 ICOTOOL=""
7239 else
7240 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7241 for ac_prog in fontforge
7243 # Extract the first word of "$ac_prog", so it can be a program name with args.
7244 set dummy $ac_prog; ac_word=$2
7245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7246 printf %s "checking for $ac_word... " >&6; }
7247 if test ${ac_cv_prog_FONTFORGE+y}
7248 then :
7249 printf %s "(cached) " >&6
7250 else $as_nop
7251 if test -n "$FONTFORGE"; then
7252 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7253 else
7254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7255 for as_dir in $PATH
7257 IFS=$as_save_IFS
7258 case $as_dir in #(((
7259 '') as_dir=./ ;;
7260 */) ;;
7261 *) as_dir=$as_dir/ ;;
7262 esac
7263 for ac_exec_ext in '' $ac_executable_extensions; do
7264 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7265 ac_cv_prog_FONTFORGE="$ac_prog"
7266 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7267 break 2
7269 done
7270 done
7271 IFS=$as_save_IFS
7275 FONTFORGE=$ac_cv_prog_FONTFORGE
7276 if test -n "$FONTFORGE"; then
7277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7278 printf "%s\n" "$FONTFORGE" >&6; }
7279 else
7280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7281 printf "%s\n" "no" >&6; }
7285 test -n "$FONTFORGE" && break
7286 done
7287 test -n "$FONTFORGE" || FONTFORGE="false"
7289 for ac_prog in rsvg-convert rsvg
7291 # Extract the first word of "$ac_prog", so it can be a program name with args.
7292 set dummy $ac_prog; ac_word=$2
7293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7294 printf %s "checking for $ac_word... " >&6; }
7295 if test ${ac_cv_prog_RSVG+y}
7296 then :
7297 printf %s "(cached) " >&6
7298 else $as_nop
7299 if test -n "$RSVG"; then
7300 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7301 else
7302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7303 for as_dir in $PATH
7305 IFS=$as_save_IFS
7306 case $as_dir in #(((
7307 '') as_dir=./ ;;
7308 */) ;;
7309 *) as_dir=$as_dir/ ;;
7310 esac
7311 for ac_exec_ext in '' $ac_executable_extensions; do
7312 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7313 ac_cv_prog_RSVG="$ac_prog"
7314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7315 break 2
7317 done
7318 done
7319 IFS=$as_save_IFS
7323 RSVG=$ac_cv_prog_RSVG
7324 if test -n "$RSVG"; then
7325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7326 printf "%s\n" "$RSVG" >&6; }
7327 else
7328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7329 printf "%s\n" "no" >&6; }
7333 test -n "$RSVG" && break
7334 done
7335 test -n "$RSVG" || RSVG="false"
7337 for ac_prog in convert
7339 # Extract the first word of "$ac_prog", so it can be a program name with args.
7340 set dummy $ac_prog; ac_word=$2
7341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7342 printf %s "checking for $ac_word... " >&6; }
7343 if test ${ac_cv_prog_CONVERT+y}
7344 then :
7345 printf %s "(cached) " >&6
7346 else $as_nop
7347 if test -n "$CONVERT"; then
7348 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7349 else
7350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7351 for as_dir in $PATH
7353 IFS=$as_save_IFS
7354 case $as_dir in #(((
7355 '') as_dir=./ ;;
7356 */) ;;
7357 *) as_dir=$as_dir/ ;;
7358 esac
7359 for ac_exec_ext in '' $ac_executable_extensions; do
7360 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7361 ac_cv_prog_CONVERT="$ac_prog"
7362 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7363 break 2
7365 done
7366 done
7367 IFS=$as_save_IFS
7371 CONVERT=$ac_cv_prog_CONVERT
7372 if test -n "$CONVERT"; then
7373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7374 printf "%s\n" "$CONVERT" >&6; }
7375 else
7376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7377 printf "%s\n" "no" >&6; }
7381 test -n "$CONVERT" && break
7382 done
7383 test -n "$CONVERT" || CONVERT="false"
7385 for ac_prog in icotool
7387 # Extract the first word of "$ac_prog", so it can be a program name with args.
7388 set dummy $ac_prog; ac_word=$2
7389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 printf %s "checking for $ac_word... " >&6; }
7391 if test ${ac_cv_prog_ICOTOOL+y}
7392 then :
7393 printf %s "(cached) " >&6
7394 else $as_nop
7395 if test -n "$ICOTOOL"; then
7396 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7397 else
7398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7399 for as_dir in $PATH
7401 IFS=$as_save_IFS
7402 case $as_dir in #(((
7403 '') as_dir=./ ;;
7404 */) ;;
7405 *) as_dir=$as_dir/ ;;
7406 esac
7407 for ac_exec_ext in '' $ac_executable_extensions; do
7408 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7409 ac_cv_prog_ICOTOOL="$ac_prog"
7410 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7411 break 2
7413 done
7414 done
7415 IFS=$as_save_IFS
7419 ICOTOOL=$ac_cv_prog_ICOTOOL
7420 if test -n "$ICOTOOL"; then
7421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7422 printf "%s\n" "$ICOTOOL" >&6; }
7423 else
7424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7425 printf "%s\n" "no" >&6; }
7429 test -n "$ICOTOOL" && break
7430 done
7431 test -n "$ICOTOOL" || ICOTOOL="false"
7433 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7434 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7436 if test "$CONVERT" = false
7437 then
7438 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7439 else
7440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7441 printf %s "checking for recent enough imagemagick... " >&6; }
7442 convert_version=`convert --version | head -n1`
7443 if test "x$convert_version" != "x"
7444 then
7445 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7446 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7447 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7448 then
7449 CONVERT=false
7452 if test "$CONVERT" = false
7453 then
7454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7455 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7456 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7457 else
7458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7459 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7463 if test "$ICOTOOL" = false
7464 then
7465 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7466 else
7467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7468 printf %s "checking for recent enough icotool... " >&6; }
7469 icotool_version=`icotool --version | head -n1`
7470 if test "x$icotool_version" != "x"
7471 then
7472 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7473 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7474 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7475 then
7476 ICOTOOL=false
7477 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7480 if test "$ICOTOOL" = false
7481 then
7482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7483 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7484 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7485 else
7486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7487 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7491 with_gettext=yes
7492 with_gettextpo=yes
7494 enable_werror=yes
7497 test "x$with_gettext" != xno || MSGFMT=false
7498 if test "$MSGFMT" != "false"
7499 then
7500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7501 printf %s "checking whether msgfmt supports contexts... " >&6; }
7502 if test ${wine_cv_msgfmt_contexts+y}
7503 then :
7504 printf %s "(cached) " >&6
7505 else $as_nop
7506 cat >conftest.po <<EOF
7507 # comment
7508 msgctxt "ctxt"
7509 msgid "id"
7510 msgstr "str"
7512 if $MSGFMT -o /dev/null conftest.po 2>&5
7513 then
7514 wine_cv_msgfmt_contexts=yes
7515 else
7516 wine_cv_msgfmt_contexts=no
7519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7520 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7521 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7523 if test "$MSGFMT" = false
7524 then :
7525 case "x$with_gettext" in
7526 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7527 xno) ;;
7528 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7529 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7530 esac
7531 enable_po=${enable_po:-no}
7535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7536 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7537 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7538 then :
7539 printf %s "(cached) " >&6
7540 else $as_nop
7541 ac_check_lib_save_LIBS=$LIBS
7542 LIBS="-li386 $LIBS"
7543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7544 /* end confdefs.h. */
7546 /* Override any GCC internal prototype to avoid an error.
7547 Use char because int might match the return type of a GCC
7548 builtin and then its argument prototype would still apply. */
7549 char i386_set_ldt ();
7551 main (void)
7553 return i386_set_ldt ();
7555 return 0;
7557 _ACEOF
7558 if ac_fn_c_try_link "$LINENO"
7559 then :
7560 ac_cv_lib_i386_i386_set_ldt=yes
7561 else $as_nop
7562 ac_cv_lib_i386_i386_set_ldt=no
7564 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7565 conftest$ac_exeext conftest.$ac_ext
7566 LIBS=$ac_check_lib_save_LIBS
7568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7569 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7570 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7571 then :
7572 I386_LIBS="-li386"
7577 OPENGL_LIBS=""
7581 # Check whether --enable-largefile was given.
7582 if test ${enable_largefile+y}
7583 then :
7584 enableval=$enable_largefile;
7587 if test "$enable_largefile" != no; then
7589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7590 printf %s "checking for special C compiler options needed for large files... " >&6; }
7591 if test ${ac_cv_sys_largefile_CC+y}
7592 then :
7593 printf %s "(cached) " >&6
7594 else $as_nop
7595 ac_cv_sys_largefile_CC=no
7596 if test "$GCC" != yes; then
7597 ac_save_CC=$CC
7598 while :; do
7599 # IRIX 6.2 and later do not support large files by default,
7600 # so use the C compiler's -n32 option if that helps.
7601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7602 /* end confdefs.h. */
7603 #include <sys/types.h>
7604 /* Check that off_t can represent 2**63 - 1 correctly.
7605 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7606 since some C++ compilers masquerading as C compilers
7607 incorrectly reject 9223372036854775807. */
7608 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7609 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7610 && LARGE_OFF_T % 2147483647 == 1)
7611 ? 1 : -1];
7613 main (void)
7617 return 0;
7619 _ACEOF
7620 if ac_fn_c_try_compile "$LINENO"
7621 then :
7622 break
7624 rm -f core conftest.err conftest.$ac_objext conftest.beam
7625 CC="$CC -n32"
7626 if ac_fn_c_try_compile "$LINENO"
7627 then :
7628 ac_cv_sys_largefile_CC=' -n32'; break
7630 rm -f core conftest.err conftest.$ac_objext conftest.beam
7631 break
7632 done
7633 CC=$ac_save_CC
7634 rm -f conftest.$ac_ext
7637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7638 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7639 if test "$ac_cv_sys_largefile_CC" != no; then
7640 CC=$CC$ac_cv_sys_largefile_CC
7643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7644 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7645 if test ${ac_cv_sys_file_offset_bits+y}
7646 then :
7647 printf %s "(cached) " >&6
7648 else $as_nop
7649 while :; do
7650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7651 /* end confdefs.h. */
7652 #include <sys/types.h>
7653 /* Check that off_t can represent 2**63 - 1 correctly.
7654 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7655 since some C++ compilers masquerading as C compilers
7656 incorrectly reject 9223372036854775807. */
7657 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7658 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7659 && LARGE_OFF_T % 2147483647 == 1)
7660 ? 1 : -1];
7662 main (void)
7666 return 0;
7668 _ACEOF
7669 if ac_fn_c_try_compile "$LINENO"
7670 then :
7671 ac_cv_sys_file_offset_bits=no; break
7673 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7675 /* end confdefs.h. */
7676 #define _FILE_OFFSET_BITS 64
7677 #include <sys/types.h>
7678 /* Check that off_t can represent 2**63 - 1 correctly.
7679 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7680 since some C++ compilers masquerading as C compilers
7681 incorrectly reject 9223372036854775807. */
7682 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7683 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7684 && LARGE_OFF_T % 2147483647 == 1)
7685 ? 1 : -1];
7687 main (void)
7691 return 0;
7693 _ACEOF
7694 if ac_fn_c_try_compile "$LINENO"
7695 then :
7696 ac_cv_sys_file_offset_bits=64; break
7698 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7699 ac_cv_sys_file_offset_bits=unknown
7700 break
7701 done
7703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7704 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7705 case $ac_cv_sys_file_offset_bits in #(
7706 no | unknown) ;;
7708 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7710 esac
7711 rm -rf conftest*
7712 if test $ac_cv_sys_file_offset_bits = unknown; then
7713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7714 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7715 if test ${ac_cv_sys_large_files+y}
7716 then :
7717 printf %s "(cached) " >&6
7718 else $as_nop
7719 while :; do
7720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7721 /* end confdefs.h. */
7722 #include <sys/types.h>
7723 /* Check that off_t can represent 2**63 - 1 correctly.
7724 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7725 since some C++ compilers masquerading as C compilers
7726 incorrectly reject 9223372036854775807. */
7727 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7728 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7729 && LARGE_OFF_T % 2147483647 == 1)
7730 ? 1 : -1];
7732 main (void)
7736 return 0;
7738 _ACEOF
7739 if ac_fn_c_try_compile "$LINENO"
7740 then :
7741 ac_cv_sys_large_files=no; break
7743 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7745 /* end confdefs.h. */
7746 #define _LARGE_FILES 1
7747 #include <sys/types.h>
7748 /* Check that off_t can represent 2**63 - 1 correctly.
7749 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7750 since some C++ compilers masquerading as C compilers
7751 incorrectly reject 9223372036854775807. */
7752 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7753 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7754 && LARGE_OFF_T % 2147483647 == 1)
7755 ? 1 : -1];
7757 main (void)
7761 return 0;
7763 _ACEOF
7764 if ac_fn_c_try_compile "$LINENO"
7765 then :
7766 ac_cv_sys_large_files=1; break
7768 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7769 ac_cv_sys_large_files=unknown
7770 break
7771 done
7773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7774 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7775 case $ac_cv_sys_large_files in #(
7776 no | unknown) ;;
7778 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7780 esac
7781 rm -rf conftest*
7786 ac_header= ac_cache=
7787 for ac_item in $ac_header_c_list
7789 if test $ac_cache; then
7790 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7791 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7792 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7794 ac_header= ac_cache=
7795 elif test $ac_header; then
7796 ac_cache=$ac_item
7797 else
7798 ac_header=$ac_item
7800 done
7809 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7810 then :
7812 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7815 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7816 if test "x$ac_cv_header_CL_cl_h" = xyes
7817 then :
7818 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7821 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7822 if test "x$ac_cv_header_EGL_egl_h" = xyes
7823 then :
7824 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7827 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7828 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7829 then :
7830 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7833 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7834 if test "x$ac_cv_header_arpa_inet_h" = xyes
7835 then :
7836 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7839 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7840 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7841 then :
7842 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7845 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7846 if test "x$ac_cv_header_asm_types_h" = xyes
7847 then :
7848 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7851 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7852 if test "x$ac_cv_header_asm_user_h" = xyes
7853 then :
7854 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7857 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7858 if test "x$ac_cv_header_elf_h" = xyes
7859 then :
7860 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7863 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7864 if test "x$ac_cv_header_float_h" = xyes
7865 then :
7866 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7869 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7870 if test "x$ac_cv_header_gettext_po_h" = xyes
7871 then :
7872 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7875 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7876 if test "x$ac_cv_header_libproc_h" = xyes
7877 then :
7878 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7881 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7882 if test "x$ac_cv_header_link_h" = xyes
7883 then :
7884 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7887 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7888 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7889 then :
7890 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7893 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7894 if test "x$ac_cv_header_linux_filter_h" = xyes
7895 then :
7896 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7899 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7900 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7901 then :
7902 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7905 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7906 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7907 then :
7908 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7911 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7912 if test "x$ac_cv_header_linux_input_h" = xyes
7913 then :
7914 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7917 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7918 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7919 then :
7920 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7923 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7924 if test "x$ac_cv_header_linux_major_h" = xyes
7925 then :
7926 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7929 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7930 if test "x$ac_cv_header_linux_param_h" = xyes
7931 then :
7932 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7935 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7936 if test "x$ac_cv_header_linux_serial_h" = xyes
7937 then :
7938 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7941 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7942 if test "x$ac_cv_header_linux_types_h" = xyes
7943 then :
7944 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7947 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7948 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7949 then :
7950 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7953 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7954 if test "x$ac_cv_header_lwp_h" = xyes
7955 then :
7956 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7959 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7960 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7961 then :
7962 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
7965 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
7966 if test "x$ac_cv_header_mach_mach_h" = xyes
7967 then :
7968 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
7971 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
7972 if test "x$ac_cv_header_machine_cpu_h" = xyes
7973 then :
7974 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
7977 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
7978 if test "x$ac_cv_header_machine_sysarch_h" = xyes
7979 then :
7980 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
7983 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
7984 if test "x$ac_cv_header_mntent_h" = xyes
7985 then :
7986 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
7989 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
7990 if test "x$ac_cv_header_netdb_h" = xyes
7991 then :
7992 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
7995 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
7996 if test "x$ac_cv_header_netinet_in_h" = xyes
7997 then :
7998 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8001 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8002 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8003 then :
8004 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8007 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8008 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8009 then :
8010 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8013 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8014 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8015 then :
8016 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8019 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8020 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8021 then :
8022 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8025 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8026 if test "x$ac_cv_header_port_h" = xyes
8027 then :
8028 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8031 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8032 if test "x$ac_cv_header_pthread_h" = xyes
8033 then :
8034 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8037 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8038 if test "x$ac_cv_header_pwd_h" = xyes
8039 then :
8040 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8043 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8044 if test "x$ac_cv_header_sched_h" = xyes
8045 then :
8046 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8049 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8050 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8051 then :
8052 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8055 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8056 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8057 then :
8058 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8061 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8062 if test "x$ac_cv_header_scsi_sg_h" = xyes
8063 then :
8064 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8067 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8068 if test "x$ac_cv_header_stdint_h" = xyes
8069 then :
8070 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8073 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8074 if test "x$ac_cv_header_sys_attr_h" = xyes
8075 then :
8076 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8079 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8080 if test "x$ac_cv_header_sys_auxv_h" = xyes
8081 then :
8082 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8085 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8086 if test "x$ac_cv_header_sys_cdio_h" = xyes
8087 then :
8088 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8091 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8092 if test "x$ac_cv_header_sys_epoll_h" = xyes
8093 then :
8094 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8097 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8098 if test "x$ac_cv_header_sys_event_h" = xyes
8099 then :
8100 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8103 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8104 if test "x$ac_cv_header_sys_extattr_h" = xyes
8105 then :
8106 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8109 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8110 if test "x$ac_cv_header_sys_filio_h" = xyes
8111 then :
8112 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8115 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8116 if test "x$ac_cv_header_sys_ipc_h" = xyes
8117 then :
8118 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8121 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8122 if test "x$ac_cv_header_sys_link_h" = xyes
8123 then :
8124 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8127 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8128 if test "x$ac_cv_header_sys_modem_h" = xyes
8129 then :
8130 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8133 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8134 if test "x$ac_cv_header_sys_mtio_h" = xyes
8135 then :
8136 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8139 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8140 if test "x$ac_cv_header_sys_param_h" = xyes
8141 then :
8142 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8145 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8146 if test "x$ac_cv_header_sys_prctl_h" = xyes
8147 then :
8148 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8151 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8152 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8153 then :
8154 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8157 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8158 if test "x$ac_cv_header_sys_queue_h" = xyes
8159 then :
8160 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8163 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8164 if test "x$ac_cv_header_sys_random_h" = xyes
8165 then :
8166 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8169 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8170 if test "x$ac_cv_header_sys_resource_h" = xyes
8171 then :
8172 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8175 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8176 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8177 then :
8178 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8181 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8182 if test "x$ac_cv_header_sys_shm_h" = xyes
8183 then :
8184 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8187 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8188 if test "x$ac_cv_header_sys_signal_h" = xyes
8189 then :
8190 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8193 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8194 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8195 then :
8196 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8199 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8200 if test "x$ac_cv_header_sys_sockio_h" = xyes
8201 then :
8202 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8205 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8206 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8207 then :
8208 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8211 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8212 if test "x$ac_cv_header_sys_strtio_h" = xyes
8213 then :
8214 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8217 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8218 if test "x$ac_cv_header_sys_syscall_h" = xyes
8219 then :
8220 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8223 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8224 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8225 then :
8226 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8229 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8230 if test "x$ac_cv_header_sys_times_h" = xyes
8231 then :
8232 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8235 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8236 if test "x$ac_cv_header_sys_uio_h" = xyes
8237 then :
8238 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8241 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8242 if test "x$ac_cv_header_sys_user_h" = xyes
8243 then :
8244 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8247 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8248 if test "x$ac_cv_header_sys_utsname_h" = xyes
8249 then :
8250 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8253 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8254 if test "x$ac_cv_header_sys_vnode_h" = xyes
8255 then :
8256 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8259 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8260 if test "x$ac_cv_header_sys_xattr_h" = xyes
8261 then :
8262 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8265 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8266 if test "x$ac_cv_header_syscall_h" = xyes
8267 then :
8268 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8271 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8272 if test "x$ac_cv_header_utime_h" = xyes
8273 then :
8274 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8277 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8278 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8279 then :
8280 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8283 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8284 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8285 then :
8286 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8290 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8291 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8292 then :
8294 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8298 if test $ac_cv_header_sys_mkdev_h = no; then
8299 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8300 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8301 then :
8303 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8309 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8310 if test ${ac_cv_header_stat_broken+y}
8311 then :
8312 printf %s "(cached) " >&6
8313 else $as_nop
8314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8315 /* end confdefs.h. */
8316 #include <sys/types.h>
8317 #include <sys/stat.h>
8319 #if defined S_ISBLK && defined S_IFDIR
8320 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8321 #endif
8323 #if defined S_ISBLK && defined S_IFCHR
8324 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8325 #endif
8327 #if defined S_ISLNK && defined S_IFREG
8328 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8329 #endif
8331 #if defined S_ISSOCK && defined S_IFREG
8332 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8333 #endif
8335 _ACEOF
8336 if ac_fn_c_try_compile "$LINENO"
8337 then :
8338 ac_cv_header_stat_broken=no
8339 else $as_nop
8340 ac_cv_header_stat_broken=yes
8342 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8345 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8346 if test $ac_cv_header_stat_broken = yes; then
8348 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8354 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8355 #ifdef HAVE_SYS_PARAM_H
8356 # include <sys/param.h>
8357 #endif
8359 if test "x$ac_cv_header_sys_conf_h" = xyes
8360 then :
8361 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8364 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8365 #ifdef HAVE_SYS_PARAM_H
8366 # include <sys/param.h>
8367 #endif
8369 if test "x$ac_cv_header_sys_mount_h" = xyes
8370 then :
8371 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8374 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8375 #ifdef HAVE_SYS_PARAM_H
8376 # include <sys/param.h>
8377 #endif
8379 if test "x$ac_cv_header_sys_statfs_h" = xyes
8380 then :
8381 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8384 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8385 #ifdef HAVE_SYS_PARAM_H
8386 # include <sys/param.h>
8387 #endif
8389 if test "x$ac_cv_header_sys_user_h" = xyes
8390 then :
8391 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8394 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8395 #ifdef HAVE_SYS_PARAM_H
8396 # include <sys/param.h>
8397 #endif
8399 if test "x$ac_cv_header_sys_vfs_h" = xyes
8400 then :
8401 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8406 saved_sysctl_h_CFLAGS=$CFLAGS
8407 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8408 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8409 #ifdef HAVE_SYS_PARAM_H
8410 # include <sys/param.h>
8411 #endif
8413 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8414 then :
8415 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8419 CFLAGS=$saved_sysctl_h_CFLAGS
8421 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8422 #include <sys/socket.h>
8423 #ifdef HAVE_SYS_SOCKETVAR_H
8424 # include <sys/socketvar.h>
8425 #endif
8426 #ifdef HAVE_NET_ROUTE_H
8427 # include <net/route.h>
8428 #endif
8429 #ifdef HAVE_NETINET_IN_H
8430 # include <netinet/in.h>
8431 #endif
8432 #ifdef HAVE_NETINET_IN_SYSTM_H
8433 # include <netinet/in_systm.h>
8434 #endif
8435 #ifdef HAVE_NET_IF_H
8436 # include <net/if.h>
8437 #endif
8438 #ifdef HAVE_NETINET_IP_H
8439 # include <netinet/ip.h>
8440 #endif
8442 if test "x$ac_cv_header_netinet_ip_h" = xyes
8443 then :
8444 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8447 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8448 #include <sys/socket.h>
8449 #ifdef HAVE_SYS_SOCKETVAR_H
8450 # include <sys/socketvar.h>
8451 #endif
8452 #ifdef HAVE_NET_ROUTE_H
8453 # include <net/route.h>
8454 #endif
8455 #ifdef HAVE_NETINET_IN_H
8456 # include <netinet/in.h>
8457 #endif
8458 #ifdef HAVE_NETINET_IN_SYSTM_H
8459 # include <netinet/in_systm.h>
8460 #endif
8461 #ifdef HAVE_NET_IF_H
8462 # include <net/if.h>
8463 #endif
8464 #ifdef HAVE_NETINET_IP_H
8465 # include <netinet/ip.h>
8466 #endif
8468 if test "x$ac_cv_header_net_if_h" = xyes
8469 then :
8470 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8473 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8474 #include <sys/socket.h>
8475 #ifdef HAVE_SYS_SOCKETVAR_H
8476 # include <sys/socketvar.h>
8477 #endif
8478 #ifdef HAVE_NET_ROUTE_H
8479 # include <net/route.h>
8480 #endif
8481 #ifdef HAVE_NETINET_IN_H
8482 # include <netinet/in.h>
8483 #endif
8484 #ifdef HAVE_NETINET_IN_SYSTM_H
8485 # include <netinet/in_systm.h>
8486 #endif
8487 #ifdef HAVE_NET_IF_H
8488 # include <net/if.h>
8489 #endif
8490 #ifdef HAVE_NETINET_IP_H
8491 # include <netinet/ip.h>
8492 #endif
8494 if test "x$ac_cv_header_net_if_arp_h" = xyes
8495 then :
8496 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8499 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8500 #include <sys/socket.h>
8501 #ifdef HAVE_SYS_SOCKETVAR_H
8502 # include <sys/socketvar.h>
8503 #endif
8504 #ifdef HAVE_NET_ROUTE_H
8505 # include <net/route.h>
8506 #endif
8507 #ifdef HAVE_NETINET_IN_H
8508 # include <netinet/in.h>
8509 #endif
8510 #ifdef HAVE_NETINET_IN_SYSTM_H
8511 # include <netinet/in_systm.h>
8512 #endif
8513 #ifdef HAVE_NET_IF_H
8514 # include <net/if.h>
8515 #endif
8516 #ifdef HAVE_NETINET_IP_H
8517 # include <netinet/ip.h>
8518 #endif
8520 if test "x$ac_cv_header_net_if_dl_h" = xyes
8521 then :
8522 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8525 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8526 #include <sys/socket.h>
8527 #ifdef HAVE_SYS_SOCKETVAR_H
8528 # include <sys/socketvar.h>
8529 #endif
8530 #ifdef HAVE_NET_ROUTE_H
8531 # include <net/route.h>
8532 #endif
8533 #ifdef HAVE_NETINET_IN_H
8534 # include <netinet/in.h>
8535 #endif
8536 #ifdef HAVE_NETINET_IN_SYSTM_H
8537 # include <netinet/in_systm.h>
8538 #endif
8539 #ifdef HAVE_NET_IF_H
8540 # include <net/if.h>
8541 #endif
8542 #ifdef HAVE_NETINET_IP_H
8543 # include <netinet/ip.h>
8544 #endif
8546 if test "x$ac_cv_header_net_if_types_h" = xyes
8547 then :
8548 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8551 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8552 #include <sys/socket.h>
8553 #ifdef HAVE_SYS_SOCKETVAR_H
8554 # include <sys/socketvar.h>
8555 #endif
8556 #ifdef HAVE_NET_ROUTE_H
8557 # include <net/route.h>
8558 #endif
8559 #ifdef HAVE_NETINET_IN_H
8560 # include <netinet/in.h>
8561 #endif
8562 #ifdef HAVE_NETINET_IN_SYSTM_H
8563 # include <netinet/in_systm.h>
8564 #endif
8565 #ifdef HAVE_NET_IF_H
8566 # include <net/if.h>
8567 #endif
8568 #ifdef HAVE_NETINET_IP_H
8569 # include <netinet/ip.h>
8570 #endif
8572 if test "x$ac_cv_header_net_route_h" = xyes
8573 then :
8574 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8577 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8578 #include <sys/socket.h>
8579 #ifdef HAVE_SYS_SOCKETVAR_H
8580 # include <sys/socketvar.h>
8581 #endif
8582 #ifdef HAVE_NET_ROUTE_H
8583 # include <net/route.h>
8584 #endif
8585 #ifdef HAVE_NETINET_IN_H
8586 # include <netinet/in.h>
8587 #endif
8588 #ifdef HAVE_NETINET_IN_SYSTM_H
8589 # include <netinet/in_systm.h>
8590 #endif
8591 #ifdef HAVE_NET_IF_H
8592 # include <net/if.h>
8593 #endif
8594 #ifdef HAVE_NETINET_IP_H
8595 # include <netinet/ip.h>
8596 #endif
8598 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8599 then :
8600 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8603 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8604 #include <sys/socket.h>
8605 #ifdef HAVE_SYS_SOCKETVAR_H
8606 # include <sys/socketvar.h>
8607 #endif
8608 #ifdef HAVE_NET_ROUTE_H
8609 # include <net/route.h>
8610 #endif
8611 #ifdef HAVE_NETINET_IN_H
8612 # include <netinet/in.h>
8613 #endif
8614 #ifdef HAVE_NETINET_IN_SYSTM_H
8615 # include <netinet/in_systm.h>
8616 #endif
8617 #ifdef HAVE_NET_IF_H
8618 # include <net/if.h>
8619 #endif
8620 #ifdef HAVE_NETINET_IP_H
8621 # include <netinet/ip.h>
8622 #endif
8624 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8625 then :
8626 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8629 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8630 #include <sys/socket.h>
8631 #ifdef HAVE_SYS_SOCKETVAR_H
8632 # include <sys/socketvar.h>
8633 #endif
8634 #ifdef HAVE_NET_ROUTE_H
8635 # include <net/route.h>
8636 #endif
8637 #ifdef HAVE_NETINET_IN_H
8638 # include <netinet/in.h>
8639 #endif
8640 #ifdef HAVE_NETINET_IN_SYSTM_H
8641 # include <netinet/in_systm.h>
8642 #endif
8643 #ifdef HAVE_NET_IF_H
8644 # include <net/if.h>
8645 #endif
8646 #ifdef HAVE_NETINET_IP_H
8647 # include <netinet/ip.h>
8648 #endif
8650 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8651 then :
8652 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8655 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8656 #include <sys/socket.h>
8657 #ifdef HAVE_SYS_SOCKETVAR_H
8658 # include <sys/socketvar.h>
8659 #endif
8660 #ifdef HAVE_NET_ROUTE_H
8661 # include <net/route.h>
8662 #endif
8663 #ifdef HAVE_NETINET_IN_H
8664 # include <netinet/in.h>
8665 #endif
8666 #ifdef HAVE_NETINET_IN_SYSTM_H
8667 # include <netinet/in_systm.h>
8668 #endif
8669 #ifdef HAVE_NET_IF_H
8670 # include <net/if.h>
8671 #endif
8672 #ifdef HAVE_NETINET_IP_H
8673 # include <netinet/ip.h>
8674 #endif
8676 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8677 then :
8678 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8681 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8682 #include <sys/socket.h>
8683 #ifdef HAVE_SYS_SOCKETVAR_H
8684 # include <sys/socketvar.h>
8685 #endif
8686 #ifdef HAVE_NET_ROUTE_H
8687 # include <net/route.h>
8688 #endif
8689 #ifdef HAVE_NETINET_IN_H
8690 # include <netinet/in.h>
8691 #endif
8692 #ifdef HAVE_NETINET_IN_SYSTM_H
8693 # include <netinet/in_systm.h>
8694 #endif
8695 #ifdef HAVE_NET_IF_H
8696 # include <net/if.h>
8697 #endif
8698 #ifdef HAVE_NETINET_IP_H
8699 # include <netinet/ip.h>
8700 #endif
8702 if test "x$ac_cv_header_netinet_udp_h" = xyes
8703 then :
8704 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8707 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8708 #include <sys/socket.h>
8709 #ifdef HAVE_SYS_SOCKETVAR_H
8710 # include <sys/socketvar.h>
8711 #endif
8712 #ifdef HAVE_NET_ROUTE_H
8713 # include <net/route.h>
8714 #endif
8715 #ifdef HAVE_NETINET_IN_H
8716 # include <netinet/in.h>
8717 #endif
8718 #ifdef HAVE_NETINET_IN_SYSTM_H
8719 # include <netinet/in_systm.h>
8720 #endif
8721 #ifdef HAVE_NET_IF_H
8722 # include <net/if.h>
8723 #endif
8724 #ifdef HAVE_NETINET_IP_H
8725 # include <netinet/ip.h>
8726 #endif
8728 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8729 then :
8730 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8733 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8734 #include <sys/socket.h>
8735 #ifdef HAVE_SYS_SOCKETVAR_H
8736 # include <sys/socketvar.h>
8737 #endif
8738 #ifdef HAVE_NET_ROUTE_H
8739 # include <net/route.h>
8740 #endif
8741 #ifdef HAVE_NETINET_IN_H
8742 # include <netinet/in.h>
8743 #endif
8744 #ifdef HAVE_NETINET_IN_SYSTM_H
8745 # include <netinet/in_systm.h>
8746 #endif
8747 #ifdef HAVE_NET_IF_H
8748 # include <net/if.h>
8749 #endif
8750 #ifdef HAVE_NETINET_IP_H
8751 # include <netinet/ip.h>
8752 #endif
8754 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8755 then :
8756 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8759 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8760 #include <sys/socket.h>
8761 #ifdef HAVE_SYS_SOCKETVAR_H
8762 # include <sys/socketvar.h>
8763 #endif
8764 #ifdef HAVE_NET_ROUTE_H
8765 # include <net/route.h>
8766 #endif
8767 #ifdef HAVE_NETINET_IN_H
8768 # include <netinet/in.h>
8769 #endif
8770 #ifdef HAVE_NETINET_IN_SYSTM_H
8771 # include <netinet/in_systm.h>
8772 #endif
8773 #ifdef HAVE_NET_IF_H
8774 # include <net/if.h>
8775 #endif
8776 #ifdef HAVE_NETINET_IP_H
8777 # include <netinet/ip.h>
8778 #endif
8780 if test "x$ac_cv_header_sys_un_h" = xyes
8781 then :
8782 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8787 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8788 #include <sys/socket.h>
8789 #ifdef HAVE_SYS_SOCKETVAR_H
8790 # include <sys/socketvar.h>
8791 #endif
8792 #ifdef HAVE_NETINET_IN_H
8793 # include <netinet/in.h>
8794 #endif
8795 #ifdef HAVE_NETINET_IN_SYSTM_H
8796 # include <netinet/in_systm.h>
8797 #endif
8798 #ifdef HAVE_NETINET_IP_H
8799 # include <netinet/ip.h>
8800 #endif
8801 #ifdef HAVE_NETINET_IP_VAR_H
8802 # include <netinet/ip_var.h>
8803 #endif
8804 #ifdef HAVE_NETINET_IP_ICMP_H
8805 # include <netinet/ip_icmp.h>
8806 #endif
8807 #ifdef HAVE_NETINET_UDP_H
8808 # include <netinet/udp.h>
8809 #endif
8810 #ifdef HAVE_NETINET_TCP_H
8811 # include <netinet/tcp.h>
8812 #endif
8814 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8815 then :
8816 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8819 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8820 #include <sys/socket.h>
8821 #ifdef HAVE_SYS_SOCKETVAR_H
8822 # include <sys/socketvar.h>
8823 #endif
8824 #ifdef HAVE_NETINET_IN_H
8825 # include <netinet/in.h>
8826 #endif
8827 #ifdef HAVE_NETINET_IN_SYSTM_H
8828 # include <netinet/in_systm.h>
8829 #endif
8830 #ifdef HAVE_NETINET_IP_H
8831 # include <netinet/ip.h>
8832 #endif
8833 #ifdef HAVE_NETINET_IP_VAR_H
8834 # include <netinet/ip_var.h>
8835 #endif
8836 #ifdef HAVE_NETINET_IP_ICMP_H
8837 # include <netinet/ip_icmp.h>
8838 #endif
8839 #ifdef HAVE_NETINET_UDP_H
8840 # include <netinet/udp.h>
8841 #endif
8842 #ifdef HAVE_NETINET_TCP_H
8843 # include <netinet/tcp.h>
8844 #endif
8846 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8847 then :
8848 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8851 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8852 #include <sys/socket.h>
8853 #ifdef HAVE_SYS_SOCKETVAR_H
8854 # include <sys/socketvar.h>
8855 #endif
8856 #ifdef HAVE_NETINET_IN_H
8857 # include <netinet/in.h>
8858 #endif
8859 #ifdef HAVE_NETINET_IN_SYSTM_H
8860 # include <netinet/in_systm.h>
8861 #endif
8862 #ifdef HAVE_NETINET_IP_H
8863 # include <netinet/ip.h>
8864 #endif
8865 #ifdef HAVE_NETINET_IP_VAR_H
8866 # include <netinet/ip_var.h>
8867 #endif
8868 #ifdef HAVE_NETINET_IP_ICMP_H
8869 # include <netinet/ip_icmp.h>
8870 #endif
8871 #ifdef HAVE_NETINET_UDP_H
8872 # include <netinet/udp.h>
8873 #endif
8874 #ifdef HAVE_NETINET_TCP_H
8875 # include <netinet/tcp.h>
8876 #endif
8878 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8879 then :
8880 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8883 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8884 #include <sys/socket.h>
8885 #ifdef HAVE_SYS_SOCKETVAR_H
8886 # include <sys/socketvar.h>
8887 #endif
8888 #ifdef HAVE_NETINET_IN_H
8889 # include <netinet/in.h>
8890 #endif
8891 #ifdef HAVE_NETINET_IN_SYSTM_H
8892 # include <netinet/in_systm.h>
8893 #endif
8894 #ifdef HAVE_NETINET_IP_H
8895 # include <netinet/ip.h>
8896 #endif
8897 #ifdef HAVE_NETINET_IP_VAR_H
8898 # include <netinet/ip_var.h>
8899 #endif
8900 #ifdef HAVE_NETINET_IP_ICMP_H
8901 # include <netinet/ip_icmp.h>
8902 #endif
8903 #ifdef HAVE_NETINET_UDP_H
8904 # include <netinet/udp.h>
8905 #endif
8906 #ifdef HAVE_NETINET_TCP_H
8907 # include <netinet/tcp.h>
8908 #endif
8910 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8911 then :
8912 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8917 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8918 #include <sys/socket.h>
8919 #ifdef HAVE_ASM_TYPES_H
8920 # include <asm/types.h>
8921 #endif
8922 #ifdef HAVE_LINUX_TYPES_H
8923 # include <linux/types.h>
8924 #endif
8926 if test "x$ac_cv_header_linux_ipx_h" = xyes
8927 then :
8928 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8931 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8932 #include <sys/socket.h>
8933 #ifdef HAVE_ASM_TYPES_H
8934 # include <asm/types.h>
8935 #endif
8936 #ifdef HAVE_LINUX_TYPES_H
8937 # include <linux/types.h>
8938 #endif
8940 if test "x$ac_cv_header_linux_irda_h" = xyes
8941 then :
8942 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8945 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8946 #include <sys/socket.h>
8947 #ifdef HAVE_ASM_TYPES_H
8948 # include <asm/types.h>
8949 #endif
8950 #ifdef HAVE_LINUX_TYPES_H
8951 # include <linux/types.h>
8952 #endif
8954 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8955 then :
8956 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8961 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8962 #include <sys/socket.h>
8963 #ifdef HAVE_NETINET_IN_H
8964 # include <netinet/in.h>
8965 #endif
8966 #ifdef HAVE_ARPA_NAMESER_H
8967 # include <arpa/nameser.h>
8968 #endif
8970 if test "x$ac_cv_header_resolv_h" = xyes
8971 then :
8972 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
8977 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
8979 if test "x$ac_cv_header_ifaddrs_h" = xyes
8980 then :
8981 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
8986 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
8988 if test "x$ac_cv_header_sys_ucontext_h" = xyes
8989 then :
8990 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
8995 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
8996 #ifdef HAVE_SYS_UCONTEXT_H
8997 #include <sys/ucontext.h>
8998 #endif
9000 if test "x$ac_cv_header_sys_thr_h" = xyes
9001 then :
9002 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9007 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9008 #include <pthread.h>
9009 #endif
9011 if test "x$ac_cv_header_pthread_np_h" = xyes
9012 then :
9013 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9018 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9019 #include <sys/types.h>
9020 #ifdef HAVE_ASM_TYPES_H
9021 #include <asm/types.h>
9022 #endif
9024 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9025 then :
9026 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9031 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9032 #include <sys/param.h>
9033 #endif
9034 #include <sys/socket.h>
9035 #ifdef HAVE_SYS_QUEUE_H
9036 #include <sys/queue.h>
9037 #endif
9039 if test "x$ac_cv_header_libprocstat_h" = xyes
9040 then :
9041 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9046 if test "x$ac_cv_header_sys_xattr_h" = xyes
9047 then
9048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9049 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9050 if test ${wine_cv_xattr_extra_args+y}
9051 then :
9052 printf %s "(cached) " >&6
9053 else $as_nop
9054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9055 /* end confdefs.h. */
9056 #include <sys/xattr.h>
9058 main (void)
9060 getxattr("", "", "", 0, 0, 0);
9062 return 0;
9064 _ACEOF
9065 if ac_fn_c_try_compile "$LINENO"
9066 then :
9067 wine_cv_xattr_extra_args=yes
9068 else $as_nop
9069 wine_cv_xattr_extra_args=no
9071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9074 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9075 test $wine_cv_xattr_extra_args != yes ||
9076 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9081 DLLFLAGS=""
9083 LDDLLFLAGS=""
9085 LDEXECFLAGS=""
9087 EXTRACFLAGS=""
9089 UNIXDLLFLAGS="-fPIC"
9091 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9093 TOP_INSTALL_LIB=""
9095 TOP_INSTALL_DEV=""
9097 WINELOADER_LDFLAGS=""
9099 WINEPRELOADER_LDFLAGS=""
9101 LIBEXT="so"
9102 # Extract the first word of "ldd", so it can be a program name with args.
9103 set dummy ldd; ac_word=$2
9104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9105 printf %s "checking for $ac_word... " >&6; }
9106 if test ${ac_cv_path_LDD+y}
9107 then :
9108 printf %s "(cached) " >&6
9109 else $as_nop
9110 case $LDD in
9111 [\\/]* | ?:[\\/]*)
9112 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9116 as_dummy="/sbin:/usr/sbin:$PATH"
9117 for as_dir in $as_dummy
9119 IFS=$as_save_IFS
9120 case $as_dir in #(((
9121 '') as_dir=./ ;;
9122 */) ;;
9123 *) as_dir=$as_dir/ ;;
9124 esac
9125 for ac_exec_ext in '' $ac_executable_extensions; do
9126 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9127 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9128 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9129 break 2
9131 done
9132 done
9133 IFS=$as_save_IFS
9135 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9137 esac
9139 LDD=$ac_cv_path_LDD
9140 if test -n "$LDD"; then
9141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9142 printf "%s\n" "$LDD" >&6; }
9143 else
9144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9145 printf "%s\n" "no" >&6; }
9149 if test -n "$ac_tool_prefix"; then
9150 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9151 set dummy ${ac_tool_prefix}otool; ac_word=$2
9152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9153 printf %s "checking for $ac_word... " >&6; }
9154 if test ${ac_cv_prog_OTOOL+y}
9155 then :
9156 printf %s "(cached) " >&6
9157 else $as_nop
9158 if test -n "$OTOOL"; then
9159 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9160 else
9161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9162 for as_dir in $PATH
9164 IFS=$as_save_IFS
9165 case $as_dir in #(((
9166 '') as_dir=./ ;;
9167 */) ;;
9168 *) as_dir=$as_dir/ ;;
9169 esac
9170 for ac_exec_ext in '' $ac_executable_extensions; do
9171 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9172 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9174 break 2
9176 done
9177 done
9178 IFS=$as_save_IFS
9182 OTOOL=$ac_cv_prog_OTOOL
9183 if test -n "$OTOOL"; then
9184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9185 printf "%s\n" "$OTOOL" >&6; }
9186 else
9187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9188 printf "%s\n" "no" >&6; }
9193 if test -z "$ac_cv_prog_OTOOL"; then
9194 ac_ct_OTOOL=$OTOOL
9195 # Extract the first word of "otool", so it can be a program name with args.
9196 set dummy otool; ac_word=$2
9197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9198 printf %s "checking for $ac_word... " >&6; }
9199 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9200 then :
9201 printf %s "(cached) " >&6
9202 else $as_nop
9203 if test -n "$ac_ct_OTOOL"; then
9204 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9205 else
9206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9207 for as_dir in $PATH
9209 IFS=$as_save_IFS
9210 case $as_dir in #(((
9211 '') as_dir=./ ;;
9212 */) ;;
9213 *) as_dir=$as_dir/ ;;
9214 esac
9215 for ac_exec_ext in '' $ac_executable_extensions; do
9216 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9217 ac_cv_prog_ac_ct_OTOOL="otool"
9218 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9219 break 2
9221 done
9222 done
9223 IFS=$as_save_IFS
9227 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9228 if test -n "$ac_ct_OTOOL"; then
9229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9230 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9231 else
9232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9233 printf "%s\n" "no" >&6; }
9236 if test "x$ac_ct_OTOOL" = x; then
9237 OTOOL="otool"
9238 else
9239 case $cross_compiling:$ac_tool_warned in
9240 yes:)
9241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9242 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9243 ac_tool_warned=yes ;;
9244 esac
9245 OTOOL=$ac_ct_OTOOL
9247 else
9248 OTOOL="$ac_cv_prog_OTOOL"
9251 if test -n "$ac_tool_prefix"; then
9252 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9253 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9255 printf %s "checking for $ac_word... " >&6; }
9256 if test ${ac_cv_prog_READELF+y}
9257 then :
9258 printf %s "(cached) " >&6
9259 else $as_nop
9260 if test -n "$READELF"; then
9261 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9262 else
9263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9264 for as_dir in $PATH
9266 IFS=$as_save_IFS
9267 case $as_dir in #(((
9268 '') as_dir=./ ;;
9269 */) ;;
9270 *) as_dir=$as_dir/ ;;
9271 esac
9272 for ac_exec_ext in '' $ac_executable_extensions; do
9273 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9274 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9275 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9276 break 2
9278 done
9279 done
9280 IFS=$as_save_IFS
9284 READELF=$ac_cv_prog_READELF
9285 if test -n "$READELF"; then
9286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9287 printf "%s\n" "$READELF" >&6; }
9288 else
9289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9290 printf "%s\n" "no" >&6; }
9295 if test -z "$ac_cv_prog_READELF"; then
9296 ac_ct_READELF=$READELF
9297 # Extract the first word of "readelf", so it can be a program name with args.
9298 set dummy readelf; ac_word=$2
9299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9300 printf %s "checking for $ac_word... " >&6; }
9301 if test ${ac_cv_prog_ac_ct_READELF+y}
9302 then :
9303 printf %s "(cached) " >&6
9304 else $as_nop
9305 if test -n "$ac_ct_READELF"; then
9306 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9307 else
9308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9309 for as_dir in $PATH
9311 IFS=$as_save_IFS
9312 case $as_dir in #(((
9313 '') as_dir=./ ;;
9314 */) ;;
9315 *) as_dir=$as_dir/ ;;
9316 esac
9317 for ac_exec_ext in '' $ac_executable_extensions; do
9318 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9319 ac_cv_prog_ac_ct_READELF="readelf"
9320 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9321 break 2
9323 done
9324 done
9325 IFS=$as_save_IFS
9329 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9330 if test -n "$ac_ct_READELF"; then
9331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9332 printf "%s\n" "$ac_ct_READELF" >&6; }
9333 else
9334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9335 printf "%s\n" "no" >&6; }
9338 if test "x$ac_ct_READELF" = x; then
9339 READELF="true"
9340 else
9341 case $cross_compiling:$ac_tool_warned in
9342 yes:)
9343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9344 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9345 ac_tool_warned=yes ;;
9346 esac
9347 READELF=$ac_ct_READELF
9349 else
9350 READELF="$ac_cv_prog_READELF"
9353 wine_rules="all:"
9354 SUBDIRS=""
9356 DISABLED_SUBDIRS=""
9358 CONFIGURE_TARGETS=""
9361 wine_fn_config_makefile ()
9363 as_fn_append SUBDIRS " \\$as_nl $1"
9364 eval enable=\$$2
9365 case "$enable" in
9366 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9367 *aarch64*|*arm*|*i386*|*x86_64*)
9368 if test -n "$PE_ARCHS"
9369 then
9370 for i in $PE_ARCHS
9372 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9373 done
9374 else
9375 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9376 fi;;
9377 esac
9380 wine_fn_config_symlink ()
9382 ac_links=$@
9383 as_fn_append wine_rules "
9384 $ac_links:
9385 @./config.status \$@"
9386 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9389 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9391 case $host_os in
9392 cygwin*|mingw32*)
9393 LIBEXT="dll"
9394 EXTRACFLAGS="-D__WINE_PE_BUILD"
9395 case $host_cpu in
9396 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9397 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9398 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9399 then :
9400 printf %s "(cached) " >&6
9401 else $as_nop
9402 ac_wine_try_cflags_saved=$CFLAGS
9403 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9405 /* end confdefs.h. */
9406 int main(int argc, char **argv) { return 0; }
9407 _ACEOF
9408 if ac_fn_c_try_link "$LINENO"
9409 then :
9410 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9411 else $as_nop
9412 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9414 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9415 conftest$ac_exeext conftest.$ac_ext
9416 CFLAGS=$ac_wine_try_cflags_saved
9418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9419 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9420 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9421 then :
9422 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9423 fi ;;
9424 esac
9425 enable_loader=${enable_loader:-no}
9426 enable_server=${enable_server:-no}
9427 with_x=${with_x:-no}
9428 with_pthread=${with_pthread:-no}
9431 darwin*|macosx*)
9432 LIBEXT="dylib"
9433 DLLFLAGS="$DLLFLAGS -fPIC"
9434 LDDLLFLAGS="-fPIC"
9435 enable_winemac_drv=${enable_winemac_drv:-yes}
9436 CARBON_LIBS="-framework Carbon"
9438 COREFOUNDATION_LIBS="-framework CoreFoundation"
9440 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9442 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9444 METAL_LIBS="-framework Metal"
9446 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9448 CORESERVICES_LIBS="-framework CoreServices"
9450 APPKIT_LIBS="-framework AppKit"
9452 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9454 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9457 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9459 wine_can_build_preloader=yes
9460 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"
9461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9462 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9463 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9464 then :
9465 printf %s "(cached) " >&6
9466 else $as_nop
9467 ac_wine_try_cflags_saved=$CFLAGS
9468 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9470 /* end confdefs.h. */
9471 int main(int argc, char **argv) { return 0; }
9472 _ACEOF
9473 if ac_fn_c_try_link "$LINENO"
9474 then :
9475 ac_cv_cflags__Wl__no_new_main__e__main=yes
9476 else $as_nop
9477 ac_cv_cflags__Wl__no_new_main__e__main=no
9479 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9480 conftest$ac_exeext conftest.$ac_ext
9481 CFLAGS=$ac_wine_try_cflags_saved
9483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9484 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9485 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9486 then :
9487 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9488 { 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
9489 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9490 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9491 then :
9492 printf %s "(cached) " >&6
9493 else $as_nop
9494 ac_wine_try_cflags_saved=$CFLAGS
9495 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9497 /* end confdefs.h. */
9498 int main(int argc, char **argv) { return 0; }
9499 _ACEOF
9500 if ac_fn_c_try_link "$LINENO"
9501 then :
9502 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9503 else $as_nop
9504 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9506 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9507 conftest$ac_exeext conftest.$ac_ext
9508 CFLAGS=$ac_wine_try_cflags_saved
9510 { 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
9511 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9512 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9513 then :
9514 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9515 else $as_nop
9516 wine_can_build_preloader=no
9518 else $as_nop
9519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9520 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9521 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9522 then :
9523 printf %s "(cached) " >&6
9524 else $as_nop
9525 ac_wine_try_cflags_saved=$CFLAGS
9526 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9528 /* end confdefs.h. */
9529 int main(int argc, char **argv) { return 0; }
9530 _ACEOF
9531 if ac_fn_c_try_link "$LINENO"
9532 then :
9533 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9534 else $as_nop
9535 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9537 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9538 conftest$ac_exeext conftest.$ac_ext
9539 CFLAGS=$ac_wine_try_cflags_saved
9541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9542 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9543 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9544 then :
9545 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9546 else $as_nop
9547 wine_can_build_preloader=no
9550 if test "$wine_can_build_preloader" = "yes"
9551 then
9552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9553 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9554 if test ${ac_cv_cflags__Wl__no_pie+y}
9555 then :
9556 printf %s "(cached) " >&6
9557 else $as_nop
9558 ac_wine_try_cflags_saved=$CFLAGS
9559 CFLAGS="$CFLAGS -Wl,-no_pie"
9560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9561 /* end confdefs.h. */
9562 int main(int argc, char **argv) { return 0; }
9563 _ACEOF
9564 if ac_fn_c_try_link "$LINENO"
9565 then :
9566 ac_cv_cflags__Wl__no_pie=yes
9567 else $as_nop
9568 ac_cv_cflags__Wl__no_pie=no
9570 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9571 conftest$ac_exeext conftest.$ac_ext
9572 CFLAGS=$ac_wine_try_cflags_saved
9574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9575 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9576 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9577 then :
9578 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9580 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9581 else
9582 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9585 if test "x$with_coreaudio" != "xno";
9586 then
9587 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9589 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9591 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9592 then
9593 OPENCL_LIBS="-framework OpenCL"
9595 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9599 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9600 ac_ext=m
9601 ac_cpp='$OBJCPP $CPPFLAGS'
9602 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9603 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9604 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9606 ac_ext=m
9607 ac_cpp='$OBJCPP $CPPFLAGS'
9608 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9609 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9610 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9611 if test -n "$ac_tool_prefix"; then
9612 for ac_prog in gcc objcc objc cc CC clang
9614 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9615 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9617 printf %s "checking for $ac_word... " >&6; }
9618 if test ${ac_cv_prog_OBJC+y}
9619 then :
9620 printf %s "(cached) " >&6
9621 else $as_nop
9622 if test -n "$OBJC"; then
9623 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9624 else
9625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9626 for as_dir in $PATH
9628 IFS=$as_save_IFS
9629 case $as_dir in #(((
9630 '') as_dir=./ ;;
9631 */) ;;
9632 *) as_dir=$as_dir/ ;;
9633 esac
9634 for ac_exec_ext in '' $ac_executable_extensions; do
9635 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9636 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9637 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9638 break 2
9640 done
9641 done
9642 IFS=$as_save_IFS
9646 OBJC=$ac_cv_prog_OBJC
9647 if test -n "$OBJC"; then
9648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9649 printf "%s\n" "$OBJC" >&6; }
9650 else
9651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9652 printf "%s\n" "no" >&6; }
9656 test -n "$OBJC" && break
9657 done
9659 if test -z "$OBJC"; then
9660 ac_ct_OBJC=$OBJC
9661 for ac_prog in gcc objcc objc cc CC clang
9663 # Extract the first word of "$ac_prog", so it can be a program name with args.
9664 set dummy $ac_prog; ac_word=$2
9665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9666 printf %s "checking for $ac_word... " >&6; }
9667 if test ${ac_cv_prog_ac_ct_OBJC+y}
9668 then :
9669 printf %s "(cached) " >&6
9670 else $as_nop
9671 if test -n "$ac_ct_OBJC"; then
9672 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9673 else
9674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9675 for as_dir in $PATH
9677 IFS=$as_save_IFS
9678 case $as_dir in #(((
9679 '') as_dir=./ ;;
9680 */) ;;
9681 *) as_dir=$as_dir/ ;;
9682 esac
9683 for ac_exec_ext in '' $ac_executable_extensions; do
9684 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9685 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9686 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9687 break 2
9689 done
9690 done
9691 IFS=$as_save_IFS
9695 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9696 if test -n "$ac_ct_OBJC"; then
9697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9698 printf "%s\n" "$ac_ct_OBJC" >&6; }
9699 else
9700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9701 printf "%s\n" "no" >&6; }
9705 test -n "$ac_ct_OBJC" && break
9706 done
9708 if test "x$ac_ct_OBJC" = x; then
9709 OBJC="gcc"
9710 else
9711 case $cross_compiling:$ac_tool_warned in
9712 yes:)
9713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9714 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9715 ac_tool_warned=yes ;;
9716 esac
9717 OBJC=$ac_ct_OBJC
9721 # Provide some information about the compiler.
9722 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9723 set X $ac_compile
9724 ac_compiler=$2
9725 for ac_option in --version -v -V -qversion; do
9726 { { ac_try="$ac_compiler $ac_option >&5"
9727 case "(($ac_try" in
9728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9729 *) ac_try_echo=$ac_try;;
9730 esac
9731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9732 printf "%s\n" "$ac_try_echo"; } >&5
9733 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9734 ac_status=$?
9735 if test -s conftest.err; then
9736 sed '10a\
9737 ... rest of stderr output deleted ...
9738 10q' conftest.err >conftest.er1
9739 cat conftest.er1 >&5
9741 rm -f conftest.er1 conftest.err
9742 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9743 test $ac_status = 0; }
9744 done
9746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9747 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9748 if test ${ac_cv_objc_compiler_gnu+y}
9749 then :
9750 printf %s "(cached) " >&6
9751 else $as_nop
9752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9753 /* end confdefs.h. */
9756 main (void)
9758 #ifndef __GNUC__
9759 choke me
9760 #endif
9763 return 0;
9765 _ACEOF
9766 if ac_fn_objc_try_compile "$LINENO"
9767 then :
9768 ac_compiler_gnu=yes
9769 else $as_nop
9770 ac_compiler_gnu=no
9772 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9773 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9777 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9778 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9780 if test $ac_compiler_gnu = yes; then
9781 GOBJC=yes
9782 else
9783 GOBJC=
9785 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9786 ac_save_OBJCFLAGS=$OBJCFLAGS
9787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9788 printf %s "checking whether $OBJC accepts -g... " >&6; }
9789 if test ${ac_cv_prog_objc_g+y}
9790 then :
9791 printf %s "(cached) " >&6
9792 else $as_nop
9793 ac_save_objc_werror_flag=$ac_objc_werror_flag
9794 ac_objc_werror_flag=yes
9795 ac_cv_prog_objc_g=no
9796 OBJCFLAGS="-g"
9797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9798 /* end confdefs.h. */
9801 main (void)
9805 return 0;
9807 _ACEOF
9808 if ac_fn_objc_try_compile "$LINENO"
9809 then :
9810 ac_cv_prog_objc_g=yes
9811 else $as_nop
9812 OBJCFLAGS=""
9813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9814 /* end confdefs.h. */
9817 main (void)
9821 return 0;
9823 _ACEOF
9824 if ac_fn_objc_try_compile "$LINENO"
9825 then :
9827 else $as_nop
9828 ac_objc_werror_flag=$ac_save_objc_werror_flag
9829 OBJCFLAGS="-g"
9830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9831 /* end confdefs.h. */
9834 main (void)
9838 return 0;
9840 _ACEOF
9841 if ac_fn_objc_try_compile "$LINENO"
9842 then :
9843 ac_cv_prog_objc_g=yes
9845 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9847 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9849 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9850 ac_objc_werror_flag=$ac_save_objc_werror_flag
9852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9853 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9854 if test $ac_test_OBJCFLAGS; then
9855 OBJCFLAGS=$ac_save_OBJCFLAGS
9856 elif test $ac_cv_prog_objc_g = yes; then
9857 if test "$GOBJC" = yes; then
9858 OBJCFLAGS="-g -O2"
9859 else
9860 OBJCFLAGS="-g"
9862 else
9863 if test "$GOBJC" = yes; then
9864 OBJCFLAGS="-O2"
9865 else
9866 OBJCFLAGS=
9869 ac_ext=m
9870 ac_cpp='$OBJCPP $CPPFLAGS'
9871 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9872 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9873 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9877 /* end confdefs.h. */
9878 #include <Metal/Metal.h>
9880 main (void)
9882 id<MTLDevice> device; device.registryID;
9884 return 0;
9886 _ACEOF
9887 if ac_fn_objc_try_compile "$LINENO"
9888 then :
9889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9890 printf "%s\n" "yes" >&6; }
9892 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9894 else $as_nop
9895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9896 printf "%s\n" "no" >&6; }
9898 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9899 ac_ext=c
9900 ac_cpp='$CPP $CPPFLAGS'
9901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9906 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9907 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9909 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9911 WINELOADER_DEPENDS="wine_info.plist"
9913 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9916 linux-android*)
9918 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9920 DLLFLAGS="$DLLFLAGS -fPIC"
9921 LDDLLFLAGS="-fPIC"
9922 LDEXECFLAGS="-Wl,-pie"
9923 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9925 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9926 if test ${ac_cv_cflags__Wl__z_defs+y}
9927 then :
9928 printf %s "(cached) " >&6
9929 else $as_nop
9930 ac_wine_try_cflags_saved=$CFLAGS
9931 CFLAGS="$CFLAGS -Wl,-z,defs"
9932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9933 /* end confdefs.h. */
9934 int main(int argc, char **argv) { return 0; }
9935 _ACEOF
9936 if ac_fn_c_try_link "$LINENO"
9937 then :
9938 ac_cv_cflags__Wl__z_defs=yes
9939 else $as_nop
9940 ac_cv_cflags__Wl__z_defs=no
9942 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9943 conftest$ac_exeext conftest.$ac_ext
9944 CFLAGS=$ac_wine_try_cflags_saved
9946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9947 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9948 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9949 then :
9950 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9953 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9954 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9955 then :
9956 printf %s "(cached) " >&6
9957 else $as_nop
9958 ac_wine_try_cflags_saved=$CFLAGS
9959 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9961 /* end confdefs.h. */
9962 int main(int argc, char **argv) { return 0; }
9963 _ACEOF
9964 if ac_fn_c_try_link "$LINENO"
9965 then :
9966 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9967 else $as_nop
9968 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9970 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9971 conftest$ac_exeext conftest.$ac_ext
9972 CFLAGS=$ac_wine_try_cflags_saved
9974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9975 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9976 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9977 then :
9978 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9980 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9983 printf %s "checking for -lEGL... " >&6; }
9984 if test ${ac_cv_lib_soname_EGL+y}
9985 then :
9986 printf %s "(cached) " >&6
9987 else $as_nop
9988 ac_check_soname_save_LIBS=$LIBS
9989 LIBS="-lEGL $LIBS"
9990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9991 /* end confdefs.h. */
9993 /* Override any GCC internal prototype to avoid an error.
9994 Use char because int might match the return type of a GCC
9995 builtin and then its argument prototype would still apply. */
9996 char eglGetProcAddress ();
9998 main (void)
10000 return eglGetProcAddress ();
10002 return 0;
10004 _ACEOF
10005 if ac_fn_c_try_link "$LINENO"
10006 then :
10007 case "$LIBEXT" in
10008 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10009 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'` ;;
10010 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10011 if ${ac_cv_lib_soname_EGL:+false} :
10012 then :
10013 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10014 fi ;;
10015 esac
10016 else $as_nop
10017 ac_cv_lib_soname_EGL=
10019 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10020 conftest$ac_exeext conftest.$ac_ext
10021 LIBS=$ac_check_soname_save_LIBS
10023 if ${ac_cv_lib_soname_EGL:+false} :
10024 then :
10025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10026 printf "%s\n" "not found" >&6; }
10028 else $as_nop
10029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10030 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10032 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10037 printf %s "checking for -lGLESv2... " >&6; }
10038 if test ${ac_cv_lib_soname_GLESv2+y}
10039 then :
10040 printf %s "(cached) " >&6
10041 else $as_nop
10042 ac_check_soname_save_LIBS=$LIBS
10043 LIBS="-lGLESv2 $LIBS"
10044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10045 /* end confdefs.h. */
10047 /* Override any GCC internal prototype to avoid an error.
10048 Use char because int might match the return type of a GCC
10049 builtin and then its argument prototype would still apply. */
10050 char glFlush ();
10052 main (void)
10054 return glFlush ();
10056 return 0;
10058 _ACEOF
10059 if ac_fn_c_try_link "$LINENO"
10060 then :
10061 case "$LIBEXT" in
10062 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10063 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'` ;;
10064 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10065 if ${ac_cv_lib_soname_GLESv2:+false} :
10066 then :
10067 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10068 fi ;;
10069 esac
10070 else $as_nop
10071 ac_cv_lib_soname_GLESv2=
10073 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10074 conftest$ac_exeext conftest.$ac_ext
10075 LIBS=$ac_check_soname_save_LIBS
10077 if ${ac_cv_lib_soname_GLESv2:+false} :
10078 then :
10079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10080 printf "%s\n" "not found" >&6; }
10082 else $as_nop
10083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10084 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10086 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10091 if test "x$exec_prefix" = xNONE
10092 then
10093 case $host_cpu in
10094 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10095 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10096 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10097 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10098 esac
10104 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10106 test "$ac_cv_sys_file_offset_bits" = 64 &&
10107 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10109 case $host_cpu in
10110 *i[3456789]86*)
10111 DLLFLAGS="$DLLFLAGS -fno-PIC"
10112 LDDLLFLAGS="-fno-PIC"
10113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10114 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10115 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10116 then :
10117 printf %s "(cached) " >&6
10118 else $as_nop
10119 ac_wine_try_cflags_saved=$CFLAGS
10120 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10122 /* end confdefs.h. */
10123 int main(int argc, char **argv) { return 0; }
10124 _ACEOF
10125 if ac_fn_c_try_link "$LINENO"
10126 then :
10127 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10128 else $as_nop
10129 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10132 conftest$ac_exeext conftest.$ac_ext
10133 CFLAGS=$ac_wine_try_cflags_saved
10135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10136 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10137 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10138 then :
10139 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10143 DLLFLAGS="$DLLFLAGS -fPIC"
10144 LDDLLFLAGS="-fPIC" ;;
10145 esac
10146 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10148 echo '{ global: *; };' >conftest.map
10149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10150 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10151 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10152 then :
10153 printf %s "(cached) " >&6
10154 else $as_nop
10155 ac_wine_try_cflags_saved=$CFLAGS
10156 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10158 /* end confdefs.h. */
10159 int main(int argc, char **argv) { return 0; }
10160 _ACEOF
10161 if ac_fn_c_try_link "$LINENO"
10162 then :
10163 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10164 else $as_nop
10165 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10167 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10168 conftest$ac_exeext conftest.$ac_ext
10169 CFLAGS=$ac_wine_try_cflags_saved
10171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10172 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10173 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10174 then :
10175 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10177 rm -f conftest.map
10179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10180 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10181 if test ${ac_cv_cflags__Wl__z_defs+y}
10182 then :
10183 printf %s "(cached) " >&6
10184 else $as_nop
10185 ac_wine_try_cflags_saved=$CFLAGS
10186 CFLAGS="$CFLAGS -Wl,-z,defs"
10187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10188 /* end confdefs.h. */
10189 int main(int argc, char **argv) { return 0; }
10190 _ACEOF
10191 if ac_fn_c_try_link "$LINENO"
10192 then :
10193 ac_cv_cflags__Wl__z_defs=yes
10194 else $as_nop
10195 ac_cv_cflags__Wl__z_defs=no
10197 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10198 conftest$ac_exeext conftest.$ac_ext
10199 CFLAGS=$ac_wine_try_cflags_saved
10201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10202 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10203 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10204 then :
10205 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10208 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10209 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10210 then :
10211 printf %s "(cached) " >&6
10212 else $as_nop
10213 ac_wine_try_cflags_saved=$CFLAGS
10214 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10216 /* end confdefs.h. */
10217 int main(int argc, char **argv) { return 0; }
10218 _ACEOF
10219 if ac_fn_c_try_link "$LINENO"
10220 then :
10221 ac_cv_cflags__Wl___export_dynamic=yes
10222 else $as_nop
10223 ac_cv_cflags__Wl___export_dynamic=no
10225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10226 conftest$ac_exeext conftest.$ac_ext
10227 CFLAGS=$ac_wine_try_cflags_saved
10229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10230 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10231 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10232 then :
10233 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10235 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10237 case $host_cpu in
10238 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10240 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10241 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10242 then :
10243 printf %s "(cached) " >&6
10244 else $as_nop
10245 ac_wine_try_cflags_saved=$CFLAGS
10246 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10248 /* end confdefs.h. */
10249 int main(int argc, char **argv) { return 0; }
10250 _ACEOF
10251 if ac_fn_c_try_link "$LINENO"
10252 then :
10253 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10254 else $as_nop
10255 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10257 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10258 conftest$ac_exeext conftest.$ac_ext
10259 CFLAGS=$ac_wine_try_cflags_saved
10261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10262 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10263 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10264 then :
10265 case $host_os in
10266 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10267 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10268 esac
10269 else $as_nop
10270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10271 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10272 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10273 then :
10274 printf %s "(cached) " >&6
10275 else $as_nop
10276 ac_wine_try_cflags_saved=$CFLAGS
10277 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10279 /* end confdefs.h. */
10280 int main(int argc, char **argv) { return 0; }
10281 _ACEOF
10282 if ac_fn_c_try_link "$LINENO"
10283 then :
10284 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10285 else $as_nop
10286 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10288 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10289 conftest$ac_exeext conftest.$ac_ext
10290 CFLAGS=$ac_wine_try_cflags_saved
10292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10293 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10294 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10295 then :
10296 case $host_os in
10297 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10298 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10299 esac
10301 # Extract the first word of "prelink", so it can be a program name with args.
10302 set dummy prelink; ac_word=$2
10303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10304 printf %s "checking for $ac_word... " >&6; }
10305 if test ${ac_cv_path_PRELINK+y}
10306 then :
10307 printf %s "(cached) " >&6
10308 else $as_nop
10309 case $PRELINK in
10310 [\\/]* | ?:[\\/]*)
10311 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10315 for as_dir in /sbin /usr/sbin $PATH
10317 IFS=$as_save_IFS
10318 case $as_dir in #(((
10319 '') as_dir=./ ;;
10320 */) ;;
10321 *) as_dir=$as_dir/ ;;
10322 esac
10323 for ac_exec_ext in '' $ac_executable_extensions; do
10324 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10325 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10326 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10327 break 2
10329 done
10330 done
10331 IFS=$as_save_IFS
10333 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10335 esac
10337 PRELINK=$ac_cv_path_PRELINK
10338 if test -n "$PRELINK"; then
10339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10340 printf "%s\n" "$PRELINK" >&6; }
10341 else
10342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10343 printf "%s\n" "no" >&6; }
10347 if test "x$PRELINK" = xfalse
10348 then
10349 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10353 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10354 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10355 then :
10356 printf %s "(cached) " >&6
10357 else $as_nop
10358 ac_wine_try_cflags_saved=$CFLAGS
10359 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10361 /* end confdefs.h. */
10362 int main(int argc, char **argv) { return 0; }
10363 _ACEOF
10364 if ac_fn_c_try_link "$LINENO"
10365 then :
10366 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10367 else $as_nop
10368 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10370 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10371 conftest$ac_exeext conftest.$ac_ext
10372 CFLAGS=$ac_wine_try_cflags_saved
10374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10375 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10376 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10377 then :
10378 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10381 esac
10382 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10384 LIBWINE_DEPENDS="wine.map"
10386 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10388 esac
10390 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10391 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10392 enable_winemac_drv=${enable_winemac_drv:-no}
10394 PE_ARCHS=""
10396 cross_archs=
10397 if test ${enable_archs+y}
10398 then :
10399 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10400 ac_save_IFS=$IFS
10401 IFS=' ,'
10402 set x $enable_archs
10403 IFS=$ac_save_IFS
10404 shift
10405 for arch
10407 case $arch in
10408 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10409 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10410 esac
10411 done
10412 else $as_nop
10413 if test "x$with_mingw" != xno
10414 then
10415 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10416 case "x$with_mingw" in
10417 x|xyes) ;;
10418 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10419 esac
10423 for wine_arch in $cross_archs
10425 if eval \${${wine_arch}_CC:+false} :
10426 then :
10427 case $wine_arch in
10428 aarch64)
10429 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10431 # Extract the first word of "$ac_prog", so it can be a program name with args.
10432 set dummy $ac_prog; ac_word=$2
10433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10434 printf %s "checking for $ac_word... " >&6; }
10435 if test ${ac_cv_prog_aarch64_CC+y}
10436 then :
10437 printf %s "(cached) " >&6
10438 else $as_nop
10439 if test -n "$aarch64_CC"; then
10440 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10441 else
10442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10443 for as_dir in $PATH
10445 IFS=$as_save_IFS
10446 case $as_dir in #(((
10447 '') as_dir=./ ;;
10448 */) ;;
10449 *) as_dir=$as_dir/ ;;
10450 esac
10451 for ac_exec_ext in '' $ac_executable_extensions; do
10452 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10453 ac_cv_prog_aarch64_CC="$ac_prog"
10454 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10455 break 2
10457 done
10458 done
10459 IFS=$as_save_IFS
10463 aarch64_CC=$ac_cv_prog_aarch64_CC
10464 if test -n "$aarch64_CC"; then
10465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10466 printf "%s\n" "$aarch64_CC" >&6; }
10467 else
10468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10469 printf "%s\n" "no" >&6; }
10473 test -n "$aarch64_CC" && break
10474 done
10475 test -n "$aarch64_CC" || aarch64_CC="false"
10478 arm)
10479 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10481 # Extract the first word of "$ac_prog", so it can be a program name with args.
10482 set dummy $ac_prog; ac_word=$2
10483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10484 printf %s "checking for $ac_word... " >&6; }
10485 if test ${ac_cv_prog_arm_CC+y}
10486 then :
10487 printf %s "(cached) " >&6
10488 else $as_nop
10489 if test -n "$arm_CC"; then
10490 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10491 else
10492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10493 for as_dir in $PATH
10495 IFS=$as_save_IFS
10496 case $as_dir in #(((
10497 '') as_dir=./ ;;
10498 */) ;;
10499 *) as_dir=$as_dir/ ;;
10500 esac
10501 for ac_exec_ext in '' $ac_executable_extensions; do
10502 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10503 ac_cv_prog_arm_CC="$ac_prog"
10504 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10505 break 2
10507 done
10508 done
10509 IFS=$as_save_IFS
10513 arm_CC=$ac_cv_prog_arm_CC
10514 if test -n "$arm_CC"; then
10515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10516 printf "%s\n" "$arm_CC" >&6; }
10517 else
10518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10519 printf "%s\n" "no" >&6; }
10523 test -n "$arm_CC" && break
10524 done
10525 test -n "$arm_CC" || arm_CC="false"
10528 i386)
10529 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 "
10530 for ac_prog in $ac_prefix_list clang
10532 # Extract the first word of "$ac_prog", so it can be a program name with args.
10533 set dummy $ac_prog; ac_word=$2
10534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10535 printf %s "checking for $ac_word... " >&6; }
10536 if test ${ac_cv_prog_i386_CC+y}
10537 then :
10538 printf %s "(cached) " >&6
10539 else $as_nop
10540 if test -n "$i386_CC"; then
10541 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10542 else
10543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10544 for as_dir in $PATH
10546 IFS=$as_save_IFS
10547 case $as_dir in #(((
10548 '') as_dir=./ ;;
10549 */) ;;
10550 *) as_dir=$as_dir/ ;;
10551 esac
10552 for ac_exec_ext in '' $ac_executable_extensions; do
10553 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10554 ac_cv_prog_i386_CC="$ac_prog"
10555 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10556 break 2
10558 done
10559 done
10560 IFS=$as_save_IFS
10564 i386_CC=$ac_cv_prog_i386_CC
10565 if test -n "$i386_CC"; then
10566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10567 printf "%s\n" "$i386_CC" >&6; }
10568 else
10569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10570 printf "%s\n" "no" >&6; }
10574 test -n "$i386_CC" && break
10575 done
10576 test -n "$i386_CC" || i386_CC="false"
10579 x86_64)
10580 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10581 for ac_prog in $ac_prefix_list clang
10583 # Extract the first word of "$ac_prog", so it can be a program name with args.
10584 set dummy $ac_prog; ac_word=$2
10585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10586 printf %s "checking for $ac_word... " >&6; }
10587 if test ${ac_cv_prog_x86_64_CC+y}
10588 then :
10589 printf %s "(cached) " >&6
10590 else $as_nop
10591 if test -n "$x86_64_CC"; then
10592 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10593 else
10594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10595 for as_dir in $PATH
10597 IFS=$as_save_IFS
10598 case $as_dir in #(((
10599 '') as_dir=./ ;;
10600 */) ;;
10601 *) as_dir=$as_dir/ ;;
10602 esac
10603 for ac_exec_ext in '' $ac_executable_extensions; do
10604 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10605 ac_cv_prog_x86_64_CC="$ac_prog"
10606 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10607 break 2
10609 done
10610 done
10611 IFS=$as_save_IFS
10615 x86_64_CC=$ac_cv_prog_x86_64_CC
10616 if test -n "$x86_64_CC"; then
10617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10618 printf "%s\n" "$x86_64_CC" >&6; }
10619 else
10620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10621 printf "%s\n" "no" >&6; }
10625 test -n "$x86_64_CC" && break
10626 done
10627 test -n "$x86_64_CC" || x86_64_CC="false"
10630 esac
10633 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10634 then :
10635 continue
10638 saved_CC=$CC
10639 saved_CFLAGS=$CFLAGS
10641 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10642 eval CC=\$${wine_arch}_CC
10643 eval ${wine_arch}_CFLAGS=\$CFLAGS
10644 eval ${wine_arch}_LDFLAGS=\$CROSSLDFLAGS
10645 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10647 target=""
10648 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10651 printf %s "checking whether $CC works... " >&6; }
10652 if eval test \${$as_wine_cv_crosscc+y}
10653 then :
10654 printf %s "(cached) " >&6
10655 else $as_nop
10656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10657 /* end confdefs.h. */
10660 main (void)
10664 return 0;
10666 _ACEOF
10667 if ac_fn_c_try_compile "$LINENO"
10668 then :
10669 eval "$as_wine_cv_crosscc=yes"
10670 else $as_nop
10671 eval "$as_wine_cv_crosscc=no"
10673 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10675 eval ac_res=\$$as_wine_cv_crosscc
10676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10677 printf "%s\n" "$ac_res" >&6; }
10678 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10679 then :
10680 set x $CC
10681 shift
10682 while test $# -ge 1
10684 case "$1" in
10685 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10686 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10687 esac
10688 shift
10689 done
10691 llvm_target=$target
10692 if test -z "$llvm_target"
10693 then
10694 case $wine_arch in
10695 i386) llvm_target=i686-windows ;;
10696 arm) llvm_target=armv7-windows ;;
10697 *) llvm_target=$wine_arch-windows ;;
10698 esac
10700 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10701 case $llvm_target in
10702 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10703 esac
10704 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10706 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10707 if eval test \${$as_ac_var+y}
10708 then :
10709 printf %s "(cached) " >&6
10710 else $as_nop
10711 ac_wine_try_cflags_saved=$CFLAGS
10712 ac_wine_try_cflags_saved_exeext=$ac_exeext
10713 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10714 ac_exeext=".exe"
10715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10716 /* end confdefs.h. */
10717 int __cdecl mainCRTStartup(void) { return 0; }
10718 _ACEOF
10719 if ac_fn_c_try_link "$LINENO"
10720 then :
10721 eval "$as_ac_var=yes"
10722 else $as_nop
10723 eval "$as_ac_var=no"
10725 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10726 conftest$ac_exeext conftest.$ac_ext
10727 CFLAGS=$ac_wine_try_cflags_saved
10728 ac_exeext=$ac_wine_try_cflags_saved_exeext
10730 eval ac_res=\$$as_ac_var
10731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10732 printf "%s\n" "$ac_res" >&6; }
10733 if eval test \"x\$"$as_ac_var"\" = x"yes"
10734 then :
10735 target=$llvm_target
10736 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10737 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10738 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10739 fi }
10740 eval "${wine_arch}_TARGET=\$target"
10744 if test -z "$target"
10745 then
10746 CC=$saved_CC
10747 CFLAGS=$saved_CFLAGS
10748 continue
10750 as_fn_append PE_ARCHS " $wine_arch"
10752 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10755 printf %s "checking for $CC option to enable C99 features... " >&6; }
10756 if eval test \${$as_wine_cv_crosscc_c99+y}
10757 then :
10758 printf %s "(cached) " >&6
10759 else $as_nop
10760 eval "$as_wine_cv_crosscc_c99=no"
10761 for arg in '' '-std=gnu99'
10763 test -z "$arg" || CC="$CC $arg"
10764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10765 /* end confdefs.h. */
10766 $ac_c_conftest_c99_program
10767 _ACEOF
10768 if ac_fn_c_try_compile "$LINENO"
10769 then :
10770 eval "$as_wine_cv_crosscc_c99=\$arg"
10771 else $as_nop
10772 eval "$as_wine_cv_crosscc_c99=no"
10774 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10775 eval CC=\$${wine_arch}_CC
10776 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10777 then :
10779 else $as_nop
10780 break
10782 done
10785 eval res=\$$as_wine_cv_crosscc_c99
10786 case "x$res" in
10787 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10788 printf "%s\n" "none needed" >&6; } ;;
10789 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10790 printf "%s\n" "unsupported" >&6; } ;;
10791 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10792 printf "%s\n" "$res" >&6; }
10793 as_fn_append ${wine_arch}_CC " $res" ;;
10794 esac
10797 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10799 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10800 if eval test \${$as_ac_var+y}
10801 then :
10802 printf %s "(cached) " >&6
10803 else $as_nop
10804 ac_wine_try_cflags_saved=$CFLAGS
10805 ac_wine_try_cflags_saved_exeext=$ac_exeext
10806 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10807 ac_exeext=".exe"
10808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10809 /* end confdefs.h. */
10810 int __cdecl mainCRTStartup(void) { return 0; }
10811 _ACEOF
10812 if ac_fn_c_try_link "$LINENO"
10813 then :
10814 eval "$as_ac_var=yes"
10815 else $as_nop
10816 eval "$as_ac_var=no"
10818 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10819 conftest$ac_exeext conftest.$ac_ext
10820 CFLAGS=$ac_wine_try_cflags_saved
10821 ac_exeext=$ac_wine_try_cflags_saved_exeext
10823 eval ac_res=\$$as_ac_var
10824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10825 printf "%s\n" "$ac_res" >&6; }
10826 if eval test \"x\$"$as_ac_var"\" = x"yes"
10827 then :
10828 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10829 fi }
10830 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10832 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10833 if eval test \${$as_ac_var+y}
10834 then :
10835 printf %s "(cached) " >&6
10836 else $as_nop
10837 ac_wine_try_cflags_saved=$CFLAGS
10838 ac_wine_try_cflags_saved_exeext=$ac_exeext
10839 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10840 ac_exeext=".exe"
10841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10842 /* end confdefs.h. */
10843 int __cdecl mainCRTStartup(void) { return 0; }
10844 _ACEOF
10845 if ac_fn_c_try_link "$LINENO"
10846 then :
10847 eval "$as_ac_var=yes"
10848 else $as_nop
10849 eval "$as_ac_var=no"
10851 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10852 conftest$ac_exeext conftest.$ac_ext
10853 CFLAGS=$ac_wine_try_cflags_saved
10854 ac_exeext=$ac_wine_try_cflags_saved_exeext
10856 eval ac_res=\$$as_ac_var
10857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10858 printf "%s\n" "$ac_res" >&6; }
10859 if eval test \"x\$"$as_ac_var"\" = x"yes"
10860 then :
10861 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10862 fi }
10863 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10865 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10866 if eval test \${$as_ac_var+y}
10867 then :
10868 printf %s "(cached) " >&6
10869 else $as_nop
10870 ac_wine_try_cflags_saved=$CFLAGS
10871 ac_wine_try_cflags_saved_exeext=$ac_exeext
10872 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10873 ac_exeext=".exe"
10874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10875 /* end confdefs.h. */
10876 int __cdecl mainCRTStartup(void) { return 0; }
10877 _ACEOF
10878 if ac_fn_c_try_link "$LINENO"
10879 then :
10880 eval "$as_ac_var=yes"
10881 else $as_nop
10882 eval "$as_ac_var=no"
10884 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10885 conftest$ac_exeext conftest.$ac_ext
10886 CFLAGS=$ac_wine_try_cflags_saved
10887 ac_exeext=$ac_wine_try_cflags_saved_exeext
10889 eval ac_res=\$$as_ac_var
10890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10891 printf "%s\n" "$ac_res" >&6; }
10892 if eval test \"x\$"$as_ac_var"\" = x"yes"
10893 then :
10894 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10895 fi }
10896 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10898 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10899 if eval test \${$as_ac_var+y}
10900 then :
10901 printf %s "(cached) " >&6
10902 else $as_nop
10903 ac_wine_try_cflags_saved=$CFLAGS
10904 ac_wine_try_cflags_saved_exeext=$ac_exeext
10905 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10906 ac_exeext=".exe"
10907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10908 /* end confdefs.h. */
10909 int __cdecl mainCRTStartup(void) { return 0; }
10910 _ACEOF
10911 if ac_fn_c_try_link "$LINENO"
10912 then :
10913 eval "$as_ac_var=yes"
10914 else $as_nop
10915 eval "$as_ac_var=no"
10917 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10918 conftest$ac_exeext conftest.$ac_ext
10919 CFLAGS=$ac_wine_try_cflags_saved
10920 ac_exeext=$ac_wine_try_cflags_saved_exeext
10922 eval ac_res=\$$as_ac_var
10923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10924 printf "%s\n" "$ac_res" >&6; }
10925 if eval test \"x\$"$as_ac_var"\" = x"yes"
10926 then :
10927 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10928 fi }
10929 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10931 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10932 if eval test \${$as_ac_var+y}
10933 then :
10934 printf %s "(cached) " >&6
10935 else $as_nop
10936 ac_wine_try_cflags_saved=$CFLAGS
10937 ac_wine_try_cflags_saved_exeext=$ac_exeext
10938 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10939 ac_exeext=".exe"
10940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10941 /* end confdefs.h. */
10942 int __cdecl mainCRTStartup(void) { return 0; }
10943 _ACEOF
10944 if ac_fn_c_try_link "$LINENO"
10945 then :
10946 eval "$as_ac_var=yes"
10947 else $as_nop
10948 eval "$as_ac_var=no"
10950 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10951 conftest$ac_exeext conftest.$ac_ext
10952 CFLAGS=$ac_wine_try_cflags_saved
10953 ac_exeext=$ac_wine_try_cflags_saved_exeext
10955 eval ac_res=\$$as_ac_var
10956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10957 printf "%s\n" "$ac_res" >&6; }
10958 if eval test \"x\$"$as_ac_var"\" = x"yes"
10959 then :
10960 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10961 fi }
10962 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10964 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10965 if eval test \${$as_ac_var+y}
10966 then :
10967 printf %s "(cached) " >&6
10968 else $as_nop
10969 ac_wine_try_cflags_saved=$CFLAGS
10970 ac_wine_try_cflags_saved_exeext=$ac_exeext
10971 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10972 ac_exeext=".exe"
10973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10974 /* end confdefs.h. */
10975 int __cdecl mainCRTStartup(void) { return 0; }
10976 _ACEOF
10977 if ac_fn_c_try_link "$LINENO"
10978 then :
10979 eval "$as_ac_var=yes"
10980 else $as_nop
10981 eval "$as_ac_var=no"
10983 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10984 conftest$ac_exeext conftest.$ac_ext
10985 CFLAGS=$ac_wine_try_cflags_saved
10986 ac_exeext=$ac_wine_try_cflags_saved_exeext
10988 eval ac_res=\$$as_ac_var
10989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10990 printf "%s\n" "$ac_res" >&6; }
10991 if eval test \"x\$"$as_ac_var"\" = x"yes"
10992 then :
10993 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10994 fi }
10995 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10997 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10998 if eval test \${$as_ac_var+y}
10999 then :
11000 printf %s "(cached) " >&6
11001 else $as_nop
11002 ac_wine_try_cflags_saved=$CFLAGS
11003 ac_wine_try_cflags_saved_exeext=$ac_exeext
11004 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
11005 ac_exeext=".exe"
11006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11007 /* end confdefs.h. */
11008 int __cdecl mainCRTStartup(void) { return 0; }
11009 _ACEOF
11010 if ac_fn_c_try_link "$LINENO"
11011 then :
11012 eval "$as_ac_var=yes"
11013 else $as_nop
11014 eval "$as_ac_var=no"
11016 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11017 conftest$ac_exeext conftest.$ac_ext
11018 CFLAGS=$ac_wine_try_cflags_saved
11019 ac_exeext=$ac_wine_try_cflags_saved_exeext
11021 eval ac_res=\$$as_ac_var
11022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11023 printf "%s\n" "$ac_res" >&6; }
11024 if eval test \"x\$"$as_ac_var"\" = x"yes"
11025 then :
11026 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11027 fi }
11028 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
11029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11030 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11031 if eval test \${$as_ac_var+y}
11032 then :
11033 printf %s "(cached) " >&6
11034 else $as_nop
11035 ac_wine_try_cflags_saved=$CFLAGS
11036 ac_wine_try_cflags_saved_exeext=$ac_exeext
11037 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11038 ac_exeext=".exe"
11039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11040 /* end confdefs.h. */
11041 int __cdecl mainCRTStartup(void) { return 0; }
11042 _ACEOF
11043 if ac_fn_c_try_link "$LINENO"
11044 then :
11045 eval "$as_ac_var=yes"
11046 else $as_nop
11047 eval "$as_ac_var=no"
11049 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11050 conftest$ac_exeext conftest.$ac_ext
11051 CFLAGS=$ac_wine_try_cflags_saved
11052 ac_exeext=$ac_wine_try_cflags_saved_exeext
11054 eval ac_res=\$$as_ac_var
11055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11056 printf "%s\n" "$ac_res" >&6; }
11057 if eval test \"x\$"$as_ac_var"\" = x"yes"
11058 then :
11059 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11060 fi }
11061 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11063 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11064 if eval test \${$as_ac_var+y}
11065 then :
11066 printf %s "(cached) " >&6
11067 else $as_nop
11068 ac_wine_try_cflags_saved=$CFLAGS
11069 ac_wine_try_cflags_saved_exeext=$ac_exeext
11070 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11071 ac_exeext=".exe"
11072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11073 /* end confdefs.h. */
11074 int __cdecl mainCRTStartup(void) { return 0; }
11075 _ACEOF
11076 if ac_fn_c_try_link "$LINENO"
11077 then :
11078 eval "$as_ac_var=yes"
11079 else $as_nop
11080 eval "$as_ac_var=no"
11082 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11083 conftest$ac_exeext conftest.$ac_ext
11084 CFLAGS=$ac_wine_try_cflags_saved
11085 ac_exeext=$ac_wine_try_cflags_saved_exeext
11087 eval ac_res=\$$as_ac_var
11088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11089 printf "%s\n" "$ac_res" >&6; }
11090 if eval test \"x\$"$as_ac_var"\" = x"yes"
11091 then :
11092 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11093 fi }
11094 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11096 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11097 if eval test \${$as_ac_var+y}
11098 then :
11099 printf %s "(cached) " >&6
11100 else $as_nop
11101 ac_wine_try_cflags_saved=$CFLAGS
11102 ac_wine_try_cflags_saved_exeext=$ac_exeext
11103 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11104 ac_exeext=".exe"
11105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11106 /* end confdefs.h. */
11107 int __cdecl mainCRTStartup(void) { return 0; }
11108 _ACEOF
11109 if ac_fn_c_try_link "$LINENO"
11110 then :
11111 eval "$as_ac_var=yes"
11112 else $as_nop
11113 eval "$as_ac_var=no"
11115 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11116 conftest$ac_exeext conftest.$ac_ext
11117 CFLAGS=$ac_wine_try_cflags_saved
11118 ac_exeext=$ac_wine_try_cflags_saved_exeext
11120 eval ac_res=\$$as_ac_var
11121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11122 printf "%s\n" "$ac_res" >&6; }
11123 if eval test \"x\$"$as_ac_var"\" = x"yes"
11124 then :
11125 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11126 fi }
11127 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11129 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11130 if eval test \${$as_ac_var+y}
11131 then :
11132 printf %s "(cached) " >&6
11133 else $as_nop
11134 ac_wine_try_cflags_saved=$CFLAGS
11135 ac_wine_try_cflags_saved_exeext=$ac_exeext
11136 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11137 ac_exeext=".exe"
11138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11139 /* end confdefs.h. */
11140 int __cdecl mainCRTStartup(void) { return 0; }
11141 _ACEOF
11142 if ac_fn_c_try_link "$LINENO"
11143 then :
11144 eval "$as_ac_var=yes"
11145 else $as_nop
11146 eval "$as_ac_var=no"
11148 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11149 conftest$ac_exeext conftest.$ac_ext
11150 CFLAGS=$ac_wine_try_cflags_saved
11151 ac_exeext=$ac_wine_try_cflags_saved_exeext
11153 eval ac_res=\$$as_ac_var
11154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11155 printf "%s\n" "$ac_res" >&6; }
11156 if eval test \"x\$"$as_ac_var"\" = x"yes"
11157 then :
11158 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11159 fi }
11160 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11162 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11163 if eval test \${$as_ac_var+y}
11164 then :
11165 printf %s "(cached) " >&6
11166 else $as_nop
11167 ac_wine_try_cflags_saved=$CFLAGS
11168 ac_wine_try_cflags_saved_exeext=$ac_exeext
11169 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11170 ac_exeext=".exe"
11171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11172 /* end confdefs.h. */
11173 int __cdecl mainCRTStartup(void) { return 0; }
11174 _ACEOF
11175 if ac_fn_c_try_link "$LINENO"
11176 then :
11177 eval "$as_ac_var=yes"
11178 else $as_nop
11179 eval "$as_ac_var=no"
11181 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11182 conftest$ac_exeext conftest.$ac_ext
11183 CFLAGS=$ac_wine_try_cflags_saved
11184 ac_exeext=$ac_wine_try_cflags_saved_exeext
11186 eval ac_res=\$$as_ac_var
11187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11188 printf "%s\n" "$ac_res" >&6; }
11189 if eval test \"x\$"$as_ac_var"\" = x"yes"
11190 then :
11191 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11192 fi }
11193 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11195 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11196 if eval test \${$as_ac_var+y}
11197 then :
11198 printf %s "(cached) " >&6
11199 else $as_nop
11200 ac_wine_try_cflags_saved=$CFLAGS
11201 ac_wine_try_cflags_saved_exeext=$ac_exeext
11202 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11203 ac_exeext=".exe"
11204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11205 /* end confdefs.h. */
11206 int __cdecl mainCRTStartup(void) { return 0; }
11207 _ACEOF
11208 if ac_fn_c_try_link "$LINENO"
11209 then :
11210 eval "$as_ac_var=yes"
11211 else $as_nop
11212 eval "$as_ac_var=no"
11214 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11215 conftest$ac_exeext conftest.$ac_ext
11216 CFLAGS=$ac_wine_try_cflags_saved
11217 ac_exeext=$ac_wine_try_cflags_saved_exeext
11219 eval ac_res=\$$as_ac_var
11220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11221 printf "%s\n" "$ac_res" >&6; }
11222 if eval test \"x\$"$as_ac_var"\" = x"yes"
11223 then :
11224 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11225 fi }
11226 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11228 printf %s "checking whether $CC supports -Wvla... " >&6; }
11229 if eval test \${$as_ac_var+y}
11230 then :
11231 printf %s "(cached) " >&6
11232 else $as_nop
11233 ac_wine_try_cflags_saved=$CFLAGS
11234 ac_wine_try_cflags_saved_exeext=$ac_exeext
11235 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11236 ac_exeext=".exe"
11237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11238 /* end confdefs.h. */
11239 int __cdecl mainCRTStartup(void) { return 0; }
11240 _ACEOF
11241 if ac_fn_c_try_link "$LINENO"
11242 then :
11243 eval "$as_ac_var=yes"
11244 else $as_nop
11245 eval "$as_ac_var=no"
11247 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11248 conftest$ac_exeext conftest.$ac_ext
11249 CFLAGS=$ac_wine_try_cflags_saved
11250 ac_exeext=$ac_wine_try_cflags_saved_exeext
11252 eval ac_res=\$$as_ac_var
11253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11254 printf "%s\n" "$ac_res" >&6; }
11255 if eval test \"x\$"$as_ac_var"\" = x"yes"
11256 then :
11257 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11258 fi }
11259 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11261 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11262 if eval test \${$as_ac_var+y}
11263 then :
11264 printf %s "(cached) " >&6
11265 else $as_nop
11266 ac_wine_try_cflags_saved=$CFLAGS
11267 ac_wine_try_cflags_saved_exeext=$ac_exeext
11268 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11269 ac_exeext=".exe"
11270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11271 /* end confdefs.h. */
11272 int __cdecl mainCRTStartup(void) { return 0; }
11273 _ACEOF
11274 if ac_fn_c_try_link "$LINENO"
11275 then :
11276 eval "$as_ac_var=yes"
11277 else $as_nop
11278 eval "$as_ac_var=no"
11280 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11281 conftest$ac_exeext conftest.$ac_ext
11282 CFLAGS=$ac_wine_try_cflags_saved
11283 ac_exeext=$ac_wine_try_cflags_saved_exeext
11285 eval ac_res=\$$as_ac_var
11286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11287 printf "%s\n" "$ac_res" >&6; }
11288 if eval test \"x\$"$as_ac_var"\" = x"yes"
11289 then :
11290 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11291 fi }
11292 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11294 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11295 if eval test \${$as_ac_var+y}
11296 then :
11297 printf %s "(cached) " >&6
11298 else $as_nop
11299 ac_wine_try_cflags_saved=$CFLAGS
11300 ac_wine_try_cflags_saved_exeext=$ac_exeext
11301 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11302 ac_exeext=".exe"
11303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11304 /* end confdefs.h. */
11305 int __cdecl mainCRTStartup(void) { return 0; }
11306 _ACEOF
11307 if ac_fn_c_try_link "$LINENO"
11308 then :
11309 eval "$as_ac_var=yes"
11310 else $as_nop
11311 eval "$as_ac_var=no"
11313 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11314 conftest$ac_exeext conftest.$ac_ext
11315 CFLAGS=$ac_wine_try_cflags_saved
11316 ac_exeext=$ac_wine_try_cflags_saved_exeext
11318 eval ac_res=\$$as_ac_var
11319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11320 printf "%s\n" "$ac_res" >&6; }
11321 if eval test \"x\$"$as_ac_var"\" = x"yes"
11322 then :
11323 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11324 fi }
11325 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11327 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11328 if eval test \${$as_ac_var+y}
11329 then :
11330 printf %s "(cached) " >&6
11331 else $as_nop
11332 ac_wine_try_cflags_saved=$CFLAGS
11333 ac_wine_try_cflags_saved_exeext=$ac_exeext
11334 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11335 ac_exeext=".exe"
11336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11337 /* end confdefs.h. */
11338 int __cdecl mainCRTStartup(void) { return 0; }
11339 _ACEOF
11340 if ac_fn_c_try_link "$LINENO"
11341 then :
11342 eval "$as_ac_var=yes"
11343 else $as_nop
11344 eval "$as_ac_var=no"
11346 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11347 conftest$ac_exeext conftest.$ac_ext
11348 CFLAGS=$ac_wine_try_cflags_saved
11349 ac_exeext=$ac_wine_try_cflags_saved_exeext
11351 eval ac_res=\$$as_ac_var
11352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11353 printf "%s\n" "$ac_res" >&6; }
11354 if eval test \"x\$"$as_ac_var"\" = x"yes"
11355 then :
11356 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11357 fi }
11358 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11360 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11361 if eval test \${$as_ac_var+y}
11362 then :
11363 printf %s "(cached) " >&6
11364 else $as_nop
11365 ac_wine_try_cflags_saved=$CFLAGS
11366 ac_wine_try_cflags_saved_exeext=$ac_exeext
11367 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11368 ac_exeext=".exe"
11369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11370 /* end confdefs.h. */
11371 int __cdecl mainCRTStartup(void) { return 0; }
11372 _ACEOF
11373 if ac_fn_c_try_link "$LINENO"
11374 then :
11375 eval "$as_ac_var=yes"
11376 else $as_nop
11377 eval "$as_ac_var=no"
11379 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11380 conftest$ac_exeext conftest.$ac_ext
11381 CFLAGS=$ac_wine_try_cflags_saved
11382 ac_exeext=$ac_wine_try_cflags_saved_exeext
11384 eval ac_res=\$$as_ac_var
11385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11386 printf "%s\n" "$ac_res" >&6; }
11387 if eval test \"x\$"$as_ac_var"\" = x"yes"
11388 then :
11389 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11390 fi }
11392 case $wine_arch in
11393 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11395 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11396 if eval test \${$as_ac_var+y}
11397 then :
11398 printf %s "(cached) " >&6
11399 else $as_nop
11400 ac_wine_try_cflags_saved=$CFLAGS
11401 ac_wine_try_cflags_saved_exeext=$ac_exeext
11402 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11403 ac_exeext=".exe"
11404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11405 /* end confdefs.h. */
11406 int __cdecl mainCRTStartup(void) { return 0; }
11407 _ACEOF
11408 if ac_fn_c_try_link "$LINENO"
11409 then :
11410 eval "$as_ac_var=yes"
11411 else $as_nop
11412 eval "$as_ac_var=no"
11414 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11415 conftest$ac_exeext conftest.$ac_ext
11416 CFLAGS=$ac_wine_try_cflags_saved
11417 ac_exeext=$ac_wine_try_cflags_saved_exeext
11419 eval ac_res=\$$as_ac_var
11420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11421 printf "%s\n" "$ac_res" >&6; }
11422 if eval test \"x\$"$as_ac_var"\" = x"yes"
11423 then :
11424 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11425 fi }
11426 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11428 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11429 if eval test \${$as_ac_var+y}
11430 then :
11431 printf %s "(cached) " >&6
11432 else $as_nop
11433 ac_wine_try_cflags_saved=$CFLAGS
11434 ac_wine_try_cflags_saved_exeext=$ac_exeext
11435 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11436 ac_exeext=".exe"
11437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11438 /* end confdefs.h. */
11439 int __cdecl mainCRTStartup(void) { return 0; }
11440 _ACEOF
11441 if ac_fn_c_try_link "$LINENO"
11442 then :
11443 eval "$as_ac_var=yes"
11444 else $as_nop
11445 eval "$as_ac_var=no"
11447 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11448 conftest$ac_exeext conftest.$ac_ext
11449 CFLAGS=$ac_wine_try_cflags_saved
11450 ac_exeext=$ac_wine_try_cflags_saved_exeext
11452 eval ac_res=\$$as_ac_var
11453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11454 printf "%s\n" "$ac_res" >&6; }
11455 if eval test \"x\$"$as_ac_var"\" = x"yes"
11456 then :
11457 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11458 fi } ;;
11459 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11461 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11462 if eval test \${$as_ac_var+y}
11463 then :
11464 printf %s "(cached) " >&6
11465 else $as_nop
11466 ac_wine_try_cflags_saved=$CFLAGS
11467 ac_wine_try_cflags_saved_exeext=$ac_exeext
11468 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11469 ac_exeext=".exe"
11470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11471 /* end confdefs.h. */
11472 int __cdecl mainCRTStartup(void) { return 0; }
11473 _ACEOF
11474 if ac_fn_c_try_link "$LINENO"
11475 then :
11476 eval "$as_ac_var=yes"
11477 else $as_nop
11478 eval "$as_ac_var=no"
11480 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11481 conftest$ac_exeext conftest.$ac_ext
11482 CFLAGS=$ac_wine_try_cflags_saved
11483 ac_exeext=$ac_wine_try_cflags_saved_exeext
11485 eval ac_res=\$$as_ac_var
11486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11487 printf "%s\n" "$ac_res" >&6; }
11488 if eval test \"x\$"$as_ac_var"\" = x"yes"
11489 then :
11490 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11491 fi }
11492 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11494 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11495 if eval test \${$as_ac_var+y}
11496 then :
11497 printf %s "(cached) " >&6
11498 else $as_nop
11499 ac_wine_try_cflags_saved=$CFLAGS
11500 ac_wine_try_cflags_saved_exeext=$ac_exeext
11501 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11502 ac_exeext=".exe"
11503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11504 /* end confdefs.h. */
11505 int __cdecl mainCRTStartup(void) { return 0; }
11506 _ACEOF
11507 if ac_fn_c_try_link "$LINENO"
11508 then :
11509 eval "$as_ac_var=yes"
11510 else $as_nop
11511 eval "$as_ac_var=no"
11513 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11514 conftest$ac_exeext conftest.$ac_ext
11515 CFLAGS=$ac_wine_try_cflags_saved
11516 ac_exeext=$ac_wine_try_cflags_saved_exeext
11518 eval ac_res=\$$as_ac_var
11519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11520 printf "%s\n" "$ac_res" >&6; }
11521 if eval test \"x\$"$as_ac_var"\" = x"yes"
11522 then :
11523 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11524 fi }
11525 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11527 printf %s "checking whether $CC supports -mcx16... " >&6; }
11528 if eval test \${$as_ac_var+y}
11529 then :
11530 printf %s "(cached) " >&6
11531 else $as_nop
11532 ac_wine_try_cflags_saved=$CFLAGS
11533 ac_wine_try_cflags_saved_exeext=$ac_exeext
11534 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11535 ac_exeext=".exe"
11536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11537 /* end confdefs.h. */
11538 int __cdecl mainCRTStartup(void) { return 0; }
11539 _ACEOF
11540 if ac_fn_c_try_link "$LINENO"
11541 then :
11542 eval "$as_ac_var=yes"
11543 else $as_nop
11544 eval "$as_ac_var=no"
11546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11547 conftest$ac_exeext conftest.$ac_ext
11548 CFLAGS=$ac_wine_try_cflags_saved
11549 ac_exeext=$ac_wine_try_cflags_saved_exeext
11551 eval ac_res=\$$as_ac_var
11552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11553 printf "%s\n" "$ac_res" >&6; }
11554 if eval test \"x\$"$as_ac_var"\" = x"yes"
11555 then :
11556 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11557 fi } ;;
11558 esac
11560 wine_crossdebug=$CROSSDEBUG
11561 if test -z "$wine_crossdebug"
11562 then
11563 for ac_flag in $CFLAGS; do
11564 case $ac_flag in
11565 -gdwarf*) wine_crossdebug=dwarf ;;
11566 -gcodeview) wine_crossdebug=pdb ;;
11567 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11568 esac
11569 done
11572 ac_debug_format_seen=""
11573 for ac_flag in $CFLAGS; do
11574 case $ac_flag in
11575 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11576 esac
11577 done
11578 if test "x$ac_debug_format_seen" = x
11579 then
11580 case $wine_crossdebug in
11581 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11583 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11584 if eval test \${$as_ac_var+y}
11585 then :
11586 printf %s "(cached) " >&6
11587 else $as_nop
11588 ac_wine_try_cflags_saved=$CFLAGS
11589 ac_wine_try_cflags_saved_exeext=$ac_exeext
11590 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11591 ac_exeext=".exe"
11592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11593 /* end confdefs.h. */
11594 int __cdecl mainCRTStartup(void) { return 0; }
11595 _ACEOF
11596 if ac_fn_c_try_link "$LINENO"
11597 then :
11598 eval "$as_ac_var=yes"
11599 else $as_nop
11600 eval "$as_ac_var=no"
11602 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11603 conftest$ac_exeext conftest.$ac_ext
11604 CFLAGS=$ac_wine_try_cflags_saved
11605 ac_exeext=$ac_wine_try_cflags_saved_exeext
11607 eval ac_res=\$$as_ac_var
11608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11609 printf "%s\n" "$ac_res" >&6; }
11610 if eval test \"x\$"$as_ac_var"\" = x"yes"
11611 then :
11612 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11613 fi } ;;
11614 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11616 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11617 if eval test \${$as_ac_var+y}
11618 then :
11619 printf %s "(cached) " >&6
11620 else $as_nop
11621 ac_wine_try_cflags_saved=$CFLAGS
11622 ac_wine_try_cflags_saved_exeext=$ac_exeext
11623 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11624 ac_exeext=".exe"
11625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11626 /* end confdefs.h. */
11627 int __cdecl mainCRTStartup(void) { return 0; }
11628 _ACEOF
11629 if ac_fn_c_try_link "$LINENO"
11630 then :
11631 eval "$as_ac_var=yes"
11632 else $as_nop
11633 eval "$as_ac_var=no"
11635 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11636 conftest$ac_exeext conftest.$ac_ext
11637 CFLAGS=$ac_wine_try_cflags_saved
11638 ac_exeext=$ac_wine_try_cflags_saved_exeext
11640 eval ac_res=\$$as_ac_var
11641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11642 printf "%s\n" "$ac_res" >&6; }
11643 if eval test \"x\$"$as_ac_var"\" = x"yes"
11644 then :
11645 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11646 fi } ;;
11647 esac
11649 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11651 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11653 printf %s "checking whether $CC supports -Werror... " >&6; }
11654 if eval test \${$as_ac_var+y}
11655 then :
11656 printf %s "(cached) " >&6
11657 else $as_nop
11658 ac_wine_try_cflags_saved=$CFLAGS
11659 ac_wine_try_cflags_saved_exeext=$ac_exeext
11660 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11661 ac_exeext=".exe"
11662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11663 /* end confdefs.h. */
11664 int __cdecl mainCRTStartup(void) { return 0; }
11665 _ACEOF
11666 if ac_fn_c_try_link "$LINENO"
11667 then :
11668 eval "$as_ac_var=yes"
11669 else $as_nop
11670 eval "$as_ac_var=no"
11672 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11673 conftest$ac_exeext conftest.$ac_ext
11674 CFLAGS=$ac_wine_try_cflags_saved
11675 ac_exeext=$ac_wine_try_cflags_saved_exeext
11677 eval ac_res=\$$as_ac_var
11678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11679 printf "%s\n" "$ac_res" >&6; }
11680 if eval test \"x\$"$as_ac_var"\" = x"yes"
11681 then :
11682 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11683 fi }
11684 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11686 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11687 if eval test \${$as_ac_var+y}
11688 then :
11689 printf %s "(cached) " >&6
11690 else $as_nop
11691 ac_wine_try_cflags_saved=$CFLAGS
11692 ac_wine_try_cflags_saved_exeext=$ac_exeext
11693 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11694 ac_exeext=".exe"
11695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11696 /* end confdefs.h. */
11697 int __cdecl mainCRTStartup(void) { return 0; }
11698 _ACEOF
11699 if ac_fn_c_try_link "$LINENO"
11700 then :
11701 eval "$as_ac_var=yes"
11702 else $as_nop
11703 eval "$as_ac_var=no"
11705 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11706 conftest$ac_exeext conftest.$ac_ext
11707 CFLAGS=$ac_wine_try_cflags_saved
11708 ac_exeext=$ac_wine_try_cflags_saved_exeext
11710 eval ac_res=\$$as_ac_var
11711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11712 printf "%s\n" "$ac_res" >&6; }
11713 if eval test \"x\$"$as_ac_var"\" = x"yes"
11714 then :
11715 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11716 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11717 fi }
11719 CC=$saved_CC
11720 CFLAGS=$saved_CFLAGS
11721 done
11723 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11724 then
11725 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11728 if test "x$PE_ARCHS" = "x"
11729 then :
11730 case "x$with_mingw" in
11731 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11732 xno) ;;
11733 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11734 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11735 esac
11740 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11741 then
11742 case "$host_cpu" in
11743 i[3456789]86*)
11744 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11746 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11747 esac
11748 for ac_prog in $ac_prefix_list
11750 # Extract the first word of "$ac_prog", so it can be a program name with args.
11751 set dummy $ac_prog; ac_word=$2
11752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11753 printf %s "checking for $ac_word... " >&6; }
11754 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11755 then :
11756 printf %s "(cached) " >&6
11757 else $as_nop
11758 if test -n "$MINGW_PKG_CONFIG"; then
11759 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11760 else
11761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11762 for as_dir in $PATH
11764 IFS=$as_save_IFS
11765 case $as_dir in #(((
11766 '') as_dir=./ ;;
11767 */) ;;
11768 *) as_dir=$as_dir/ ;;
11769 esac
11770 for ac_exec_ext in '' $ac_executable_extensions; do
11771 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11772 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11773 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11774 break 2
11776 done
11777 done
11778 IFS=$as_save_IFS
11782 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11783 if test -n "$MINGW_PKG_CONFIG"; then
11784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11785 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11786 else
11787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11788 printf "%s\n" "no" >&6; }
11792 test -n "$MINGW_PKG_CONFIG" && break
11793 done
11794 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11796 if ${FAUDIO_PE_CFLAGS:+false} :
11797 then :
11798 if test ${MINGW_PKG_CONFIG+y}
11799 then :
11800 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11803 if ${FAUDIO_PE_LIBS:+false} :
11804 then :
11805 if test ${MINGW_PKG_CONFIG+y}
11806 then :
11807 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11810 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11811 ac_save_CPPFLAGS=$CPPFLAGS
11812 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11814 printf %s "checking for MinGW FAudio.h... " >&6; }
11815 if test ${ac_cv_mingw_header_FAudio_h+y}
11816 then :
11817 printf %s "(cached) " >&6
11818 else $as_nop
11819 ac_wine_check_headers_saved_cc=$CC
11820 ac_wine_check_headers_saved_exeext=$ac_exeext
11821 eval CC=\$${wine_arch}_CC
11822 ac_exeext=".exe"
11823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11824 /* end confdefs.h. */
11826 #include <FAudio.h>
11828 main (void)
11832 return 0;
11834 _ACEOF
11835 if ac_fn_c_try_compile "$LINENO"
11836 then :
11837 ac_cv_mingw_header_FAudio_h=yes
11838 else $as_nop
11839 ac_cv_mingw_header_FAudio_h=no
11841 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11842 CC=$ac_wine_check_headers_saved_cc
11843 ac_exeext=$ac_wine_check_headers_saved_exeext
11845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11846 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11847 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11848 then :
11849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11850 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11851 if test ${ac_cv_mingw_lib_FAudio+y}
11852 then :
11853 printf %s "(cached) " >&6
11854 else $as_nop
11855 ac_wine_check_headers_saved_cc=$CC
11856 ac_wine_check_headers_saved_exeext=$ac_exeext
11857 ac_wine_check_headers_saved_libs=$LIBS
11858 eval CC=\$${wine_arch}_CC
11859 ac_exeext=".exe"
11860 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11862 /* end confdefs.h. */
11864 /* Override any GCC internal prototype to avoid an error.
11865 Use char because int might match the return type of a GCC
11866 builtin and then its argument prototype would still apply. */
11867 char FAudio_CommitOperationSet ();
11869 main (void)
11871 return FAudio_CommitOperationSet ();
11873 return 0;
11875 _ACEOF
11876 if ac_fn_c_try_link "$LINENO"
11877 then :
11878 ac_cv_mingw_lib_FAudio=yes
11879 else $as_nop
11880 ac_cv_mingw_lib_FAudio=no
11882 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11883 conftest$ac_exeext conftest.$ac_ext
11884 CC=$ac_wine_check_headers_saved_cc
11885 ac_exeext=$ac_wine_check_headers_saved_exeext
11886 LIBS=$ac_wine_check_headers_saved_libs
11888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11889 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11890 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11891 then :
11893 else $as_nop
11894 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11896 else $as_nop
11897 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11899 CPPFLAGS=$ac_save_CPPFLAGS
11901 if test "x$FAUDIO_PE_LIBS" = "x"
11902 then
11903 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11906 if ${JPEG_PE_CFLAGS:+false} :
11907 then :
11908 if test ${MINGW_PKG_CONFIG+y}
11909 then :
11910 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11913 if ${JPEG_PE_LIBS:+false} :
11914 then :
11915 if test ${MINGW_PKG_CONFIG+y}
11916 then :
11917 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11921 ac_save_CPPFLAGS=$CPPFLAGS
11922 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11924 printf %s "checking for MinGW jpeglib.h... " >&6; }
11925 if test ${ac_cv_mingw_header_jpeglib_h+y}
11926 then :
11927 printf %s "(cached) " >&6
11928 else $as_nop
11929 ac_wine_check_headers_saved_cc=$CC
11930 ac_wine_check_headers_saved_exeext=$ac_exeext
11931 eval CC=\$${wine_arch}_CC
11932 ac_exeext=".exe"
11933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11934 /* end confdefs.h. */
11935 #include <stddef.h>
11936 #include <stdio.h>
11937 #include <jpeglib.h>
11939 main (void)
11943 return 0;
11945 _ACEOF
11946 if ac_fn_c_try_compile "$LINENO"
11947 then :
11948 ac_cv_mingw_header_jpeglib_h=yes
11949 else $as_nop
11950 ac_cv_mingw_header_jpeglib_h=no
11952 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11953 CC=$ac_wine_check_headers_saved_cc
11954 ac_exeext=$ac_wine_check_headers_saved_exeext
11956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11957 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11958 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11959 then :
11960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11961 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11962 if test ${ac_cv_mingw_lib_jpeg+y}
11963 then :
11964 printf %s "(cached) " >&6
11965 else $as_nop
11966 ac_wine_check_headers_saved_cc=$CC
11967 ac_wine_check_headers_saved_exeext=$ac_exeext
11968 ac_wine_check_headers_saved_libs=$LIBS
11969 eval CC=\$${wine_arch}_CC
11970 ac_exeext=".exe"
11971 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11973 /* end confdefs.h. */
11975 /* Override any GCC internal prototype to avoid an error.
11976 Use char because int might match the return type of a GCC
11977 builtin and then its argument prototype would still apply. */
11978 char jpeg_start_decompress ();
11980 main (void)
11982 return jpeg_start_decompress ();
11984 return 0;
11986 _ACEOF
11987 if ac_fn_c_try_link "$LINENO"
11988 then :
11989 ac_cv_mingw_lib_jpeg=yes
11990 else $as_nop
11991 ac_cv_mingw_lib_jpeg=no
11993 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11994 conftest$ac_exeext conftest.$ac_ext
11995 CC=$ac_wine_check_headers_saved_cc
11996 ac_exeext=$ac_wine_check_headers_saved_exeext
11997 LIBS=$ac_wine_check_headers_saved_libs
11999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12000 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12001 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12002 then :
12004 else $as_nop
12005 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12007 else $as_nop
12008 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12010 CPPFLAGS=$ac_save_CPPFLAGS
12012 if test "x$JPEG_PE_LIBS" = "x"
12013 then
12014 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12017 if ${LCMS2_PE_CFLAGS:+false} :
12018 then :
12019 if test ${MINGW_PKG_CONFIG+y}
12020 then :
12021 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12024 if ${LCMS2_PE_LIBS:+false} :
12025 then :
12026 if test ${MINGW_PKG_CONFIG+y}
12027 then :
12028 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12031 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12032 ac_save_CPPFLAGS=$CPPFLAGS
12033 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12035 printf %s "checking for MinGW lcms2.h... " >&6; }
12036 if test ${ac_cv_mingw_header_lcms2_h+y}
12037 then :
12038 printf %s "(cached) " >&6
12039 else $as_nop
12040 ac_wine_check_headers_saved_cc=$CC
12041 ac_wine_check_headers_saved_exeext=$ac_exeext
12042 eval CC=\$${wine_arch}_CC
12043 ac_exeext=".exe"
12044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12045 /* end confdefs.h. */
12047 #include <lcms2.h>
12049 main (void)
12053 return 0;
12055 _ACEOF
12056 if ac_fn_c_try_compile "$LINENO"
12057 then :
12058 ac_cv_mingw_header_lcms2_h=yes
12059 else $as_nop
12060 ac_cv_mingw_header_lcms2_h=no
12062 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12063 CC=$ac_wine_check_headers_saved_cc
12064 ac_exeext=$ac_wine_check_headers_saved_exeext
12066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12067 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12068 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12069 then :
12070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12071 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12072 if test ${ac_cv_mingw_lib_lcms2+y}
12073 then :
12074 printf %s "(cached) " >&6
12075 else $as_nop
12076 ac_wine_check_headers_saved_cc=$CC
12077 ac_wine_check_headers_saved_exeext=$ac_exeext
12078 ac_wine_check_headers_saved_libs=$LIBS
12079 eval CC=\$${wine_arch}_CC
12080 ac_exeext=".exe"
12081 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12083 /* end confdefs.h. */
12085 /* Override any GCC internal prototype to avoid an error.
12086 Use char because int might match the return type of a GCC
12087 builtin and then its argument prototype would still apply. */
12088 char cmsOpenProfileFromFile ();
12090 main (void)
12092 return cmsOpenProfileFromFile ();
12094 return 0;
12096 _ACEOF
12097 if ac_fn_c_try_link "$LINENO"
12098 then :
12099 ac_cv_mingw_lib_lcms2=yes
12100 else $as_nop
12101 ac_cv_mingw_lib_lcms2=no
12103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12104 conftest$ac_exeext conftest.$ac_ext
12105 CC=$ac_wine_check_headers_saved_cc
12106 ac_exeext=$ac_wine_check_headers_saved_exeext
12107 LIBS=$ac_wine_check_headers_saved_libs
12109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12110 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12111 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12112 then :
12114 else $as_nop
12115 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12117 else $as_nop
12118 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12120 CPPFLAGS=$ac_save_CPPFLAGS
12122 if test "x$LCMS2_PE_LIBS" = "x"
12123 then
12124 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12127 if ${MPG123_PE_CFLAGS:+false} :
12128 then :
12129 if test ${MINGW_PKG_CONFIG+y}
12130 then :
12131 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12134 if ${MPG123_PE_LIBS:+false} :
12135 then :
12136 if test ${MINGW_PKG_CONFIG+y}
12137 then :
12138 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12141 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12142 ac_save_CPPFLAGS=$CPPFLAGS
12143 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12145 printf %s "checking for MinGW mpg123.h... " >&6; }
12146 if test ${ac_cv_mingw_header_mpg123_h+y}
12147 then :
12148 printf %s "(cached) " >&6
12149 else $as_nop
12150 ac_wine_check_headers_saved_cc=$CC
12151 ac_wine_check_headers_saved_exeext=$ac_exeext
12152 eval CC=\$${wine_arch}_CC
12153 ac_exeext=".exe"
12154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12155 /* end confdefs.h. */
12157 #include <mpg123.h>
12159 main (void)
12163 return 0;
12165 _ACEOF
12166 if ac_fn_c_try_compile "$LINENO"
12167 then :
12168 ac_cv_mingw_header_mpg123_h=yes
12169 else $as_nop
12170 ac_cv_mingw_header_mpg123_h=no
12172 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12173 CC=$ac_wine_check_headers_saved_cc
12174 ac_exeext=$ac_wine_check_headers_saved_exeext
12176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12177 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12178 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12179 then :
12180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12181 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12182 if test ${ac_cv_mingw_lib_mpg123+y}
12183 then :
12184 printf %s "(cached) " >&6
12185 else $as_nop
12186 ac_wine_check_headers_saved_cc=$CC
12187 ac_wine_check_headers_saved_exeext=$ac_exeext
12188 ac_wine_check_headers_saved_libs=$LIBS
12189 eval CC=\$${wine_arch}_CC
12190 ac_exeext=".exe"
12191 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12193 /* end confdefs.h. */
12195 /* Override any GCC internal prototype to avoid an error.
12196 Use char because int might match the return type of a GCC
12197 builtin and then its argument prototype would still apply. */
12198 char mpg123_feed ();
12200 main (void)
12202 return mpg123_feed ();
12204 return 0;
12206 _ACEOF
12207 if ac_fn_c_try_link "$LINENO"
12208 then :
12209 ac_cv_mingw_lib_mpg123=yes
12210 else $as_nop
12211 ac_cv_mingw_lib_mpg123=no
12213 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12214 conftest$ac_exeext conftest.$ac_ext
12215 CC=$ac_wine_check_headers_saved_cc
12216 ac_exeext=$ac_wine_check_headers_saved_exeext
12217 LIBS=$ac_wine_check_headers_saved_libs
12219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12220 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12221 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12222 then :
12224 else $as_nop
12225 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12227 else $as_nop
12228 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12230 CPPFLAGS=$ac_save_CPPFLAGS
12232 if test "x$MPG123_PE_LIBS" = "x"
12233 then
12234 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12237 if ${PNG_PE_CFLAGS:+false} :
12238 then :
12239 if test ${MINGW_PKG_CONFIG+y}
12240 then :
12241 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12244 if ${PNG_PE_LIBS:+false} :
12245 then :
12246 if test ${MINGW_PKG_CONFIG+y}
12247 then :
12248 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12252 ac_save_CPPFLAGS=$CPPFLAGS
12253 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12255 printf %s "checking for MinGW png.h... " >&6; }
12256 if test ${ac_cv_mingw_header_png_h+y}
12257 then :
12258 printf %s "(cached) " >&6
12259 else $as_nop
12260 ac_wine_check_headers_saved_cc=$CC
12261 ac_wine_check_headers_saved_exeext=$ac_exeext
12262 eval CC=\$${wine_arch}_CC
12263 ac_exeext=".exe"
12264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12265 /* end confdefs.h. */
12267 #include <png.h>
12269 main (void)
12273 return 0;
12275 _ACEOF
12276 if ac_fn_c_try_compile "$LINENO"
12277 then :
12278 ac_cv_mingw_header_png_h=yes
12279 else $as_nop
12280 ac_cv_mingw_header_png_h=no
12282 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12283 CC=$ac_wine_check_headers_saved_cc
12284 ac_exeext=$ac_wine_check_headers_saved_exeext
12286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12287 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12288 if test "x$ac_cv_mingw_header_png_h" = xyes
12289 then :
12290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12291 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12292 if test ${ac_cv_mingw_lib_png+y}
12293 then :
12294 printf %s "(cached) " >&6
12295 else $as_nop
12296 ac_wine_check_headers_saved_cc=$CC
12297 ac_wine_check_headers_saved_exeext=$ac_exeext
12298 ac_wine_check_headers_saved_libs=$LIBS
12299 eval CC=\$${wine_arch}_CC
12300 ac_exeext=".exe"
12301 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12303 /* end confdefs.h. */
12305 /* Override any GCC internal prototype to avoid an error.
12306 Use char because int might match the return type of a GCC
12307 builtin and then its argument prototype would still apply. */
12308 char png_create_read_struct ();
12310 main (void)
12312 return png_create_read_struct ();
12314 return 0;
12316 _ACEOF
12317 if ac_fn_c_try_link "$LINENO"
12318 then :
12319 ac_cv_mingw_lib_png=yes
12320 else $as_nop
12321 ac_cv_mingw_lib_png=no
12323 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12324 conftest$ac_exeext conftest.$ac_ext
12325 CC=$ac_wine_check_headers_saved_cc
12326 ac_exeext=$ac_wine_check_headers_saved_exeext
12327 LIBS=$ac_wine_check_headers_saved_libs
12329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12330 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12331 if test "x$ac_cv_mingw_lib_png" = xyes
12332 then :
12334 else $as_nop
12335 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12337 else $as_nop
12338 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12340 CPPFLAGS=$ac_save_CPPFLAGS
12342 if test "x$PNG_PE_LIBS" = "x"
12343 then
12344 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12347 if ${TIFF_PE_CFLAGS:+false} :
12348 then :
12349 if test ${MINGW_PKG_CONFIG+y}
12350 then :
12351 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12354 if ${TIFF_PE_LIBS:+false} :
12355 then :
12356 if test ${MINGW_PKG_CONFIG+y}
12357 then :
12358 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12362 ac_save_CPPFLAGS=$CPPFLAGS
12363 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12365 printf %s "checking for MinGW tiffio.h... " >&6; }
12366 if test ${ac_cv_mingw_header_tiffio_h+y}
12367 then :
12368 printf %s "(cached) " >&6
12369 else $as_nop
12370 ac_wine_check_headers_saved_cc=$CC
12371 ac_wine_check_headers_saved_exeext=$ac_exeext
12372 eval CC=\$${wine_arch}_CC
12373 ac_exeext=".exe"
12374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12375 /* end confdefs.h. */
12377 #include <tiffio.h>
12379 main (void)
12383 return 0;
12385 _ACEOF
12386 if ac_fn_c_try_compile "$LINENO"
12387 then :
12388 ac_cv_mingw_header_tiffio_h=yes
12389 else $as_nop
12390 ac_cv_mingw_header_tiffio_h=no
12392 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12393 CC=$ac_wine_check_headers_saved_cc
12394 ac_exeext=$ac_wine_check_headers_saved_exeext
12396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12397 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12398 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12399 then :
12400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12401 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12402 if test ${ac_cv_mingw_lib_tiff+y}
12403 then :
12404 printf %s "(cached) " >&6
12405 else $as_nop
12406 ac_wine_check_headers_saved_cc=$CC
12407 ac_wine_check_headers_saved_exeext=$ac_exeext
12408 ac_wine_check_headers_saved_libs=$LIBS
12409 eval CC=\$${wine_arch}_CC
12410 ac_exeext=".exe"
12411 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12413 /* end confdefs.h. */
12415 /* Override any GCC internal prototype to avoid an error.
12416 Use char because int might match the return type of a GCC
12417 builtin and then its argument prototype would still apply. */
12418 char TIFFClientOpen ();
12420 main (void)
12422 return TIFFClientOpen ();
12424 return 0;
12426 _ACEOF
12427 if ac_fn_c_try_link "$LINENO"
12428 then :
12429 ac_cv_mingw_lib_tiff=yes
12430 else $as_nop
12431 ac_cv_mingw_lib_tiff=no
12433 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12434 conftest$ac_exeext conftest.$ac_ext
12435 CC=$ac_wine_check_headers_saved_cc
12436 ac_exeext=$ac_wine_check_headers_saved_exeext
12437 LIBS=$ac_wine_check_headers_saved_libs
12439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12440 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12441 if test "x$ac_cv_mingw_lib_tiff" = xyes
12442 then :
12444 else $as_nop
12445 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12447 else $as_nop
12448 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12450 CPPFLAGS=$ac_save_CPPFLAGS
12452 if test "x$TIFF_PE_LIBS" = "x"
12453 then
12454 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12457 if ${XML2_PE_CFLAGS:+false} :
12458 then :
12459 if test ${MINGW_PKG_CONFIG+y}
12460 then :
12461 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12464 if ${XML2_PE_LIBS:+false} :
12465 then :
12466 if test ${MINGW_PKG_CONFIG+y}
12467 then :
12468 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12471 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12472 ac_save_CPPFLAGS=$CPPFLAGS
12473 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12475 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12476 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12477 then :
12478 printf %s "(cached) " >&6
12479 else $as_nop
12480 ac_wine_check_headers_saved_cc=$CC
12481 ac_wine_check_headers_saved_exeext=$ac_exeext
12482 eval CC=\$${wine_arch}_CC
12483 ac_exeext=".exe"
12484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12485 /* end confdefs.h. */
12487 #include <libxml/parser.h>
12489 main (void)
12493 return 0;
12495 _ACEOF
12496 if ac_fn_c_try_compile "$LINENO"
12497 then :
12498 ac_cv_mingw_header_libxml_parser_h=yes
12499 else $as_nop
12500 ac_cv_mingw_header_libxml_parser_h=no
12502 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12503 CC=$ac_wine_check_headers_saved_cc
12504 ac_exeext=$ac_wine_check_headers_saved_exeext
12506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12507 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12508 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12509 then :
12512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12513 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12514 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12515 then :
12516 printf %s "(cached) " >&6
12517 else $as_nop
12518 ac_wine_check_headers_saved_cc=$CC
12519 ac_wine_check_headers_saved_exeext=$ac_exeext
12520 eval CC=\$${wine_arch}_CC
12521 ac_exeext=".exe"
12522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12523 /* end confdefs.h. */
12525 #include <libxml/xmlsave.h>
12527 main (void)
12531 return 0;
12533 _ACEOF
12534 if ac_fn_c_try_compile "$LINENO"
12535 then :
12536 ac_cv_mingw_header_libxml_xmlsave_h=yes
12537 else $as_nop
12538 ac_cv_mingw_header_libxml_xmlsave_h=no
12540 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12541 CC=$ac_wine_check_headers_saved_cc
12542 ac_exeext=$ac_wine_check_headers_saved_exeext
12544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12545 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12546 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12547 then :
12550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12551 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12552 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12553 then :
12554 printf %s "(cached) " >&6
12555 else $as_nop
12556 ac_wine_check_headers_saved_cc=$CC
12557 ac_wine_check_headers_saved_exeext=$ac_exeext
12558 eval CC=\$${wine_arch}_CC
12559 ac_exeext=".exe"
12560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12561 /* end confdefs.h. */
12563 #include <libxml/SAX2.h>
12565 main (void)
12569 return 0;
12571 _ACEOF
12572 if ac_fn_c_try_compile "$LINENO"
12573 then :
12574 ac_cv_mingw_header_libxml_SAX2_h=yes
12575 else $as_nop
12576 ac_cv_mingw_header_libxml_SAX2_h=no
12578 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12579 CC=$ac_wine_check_headers_saved_cc
12580 ac_exeext=$ac_wine_check_headers_saved_exeext
12582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12583 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12584 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12585 then :
12588 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"
12589 then
12590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12591 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12592 if test ${ac_cv_mingw_lib_xml2+y}
12593 then :
12594 printf %s "(cached) " >&6
12595 else $as_nop
12596 ac_wine_check_headers_saved_cc=$CC
12597 ac_wine_check_headers_saved_exeext=$ac_exeext
12598 ac_wine_check_headers_saved_libs=$LIBS
12599 eval CC=\$${wine_arch}_CC
12600 ac_exeext=".exe"
12601 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12603 /* end confdefs.h. */
12605 /* Override any GCC internal prototype to avoid an error.
12606 Use char because int might match the return type of a GCC
12607 builtin and then its argument prototype would still apply. */
12608 char xmlFirstElementChild ();
12610 main (void)
12612 return xmlFirstElementChild ();
12614 return 0;
12616 _ACEOF
12617 if ac_fn_c_try_link "$LINENO"
12618 then :
12619 ac_cv_mingw_lib_xml2=yes
12620 else $as_nop
12621 ac_cv_mingw_lib_xml2=no
12623 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12624 conftest$ac_exeext conftest.$ac_ext
12625 CC=$ac_wine_check_headers_saved_cc
12626 ac_exeext=$ac_wine_check_headers_saved_exeext
12627 LIBS=$ac_wine_check_headers_saved_libs
12629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12630 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12631 if test "x$ac_cv_mingw_lib_xml2" = xyes
12632 then :
12634 else $as_nop
12635 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12637 else
12638 XML2_PE_CFLAGS=""
12639 XML2_PE_LIBS=""
12641 CPPFLAGS=$ac_save_CPPFLAGS
12643 if test "x$XML2_PE_LIBS" = "x"
12644 then
12645 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12648 if ${XSLT_PE_CFLAGS:+false} :
12649 then :
12650 if test ${MINGW_PKG_CONFIG+y}
12651 then :
12652 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12655 if ${XSLT_PE_LIBS:+false} :
12656 then :
12657 if test ${MINGW_PKG_CONFIG+y}
12658 then :
12659 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12662 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12663 ac_save_CPPFLAGS=$CPPFLAGS
12664 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12666 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12667 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12668 then :
12669 printf %s "(cached) " >&6
12670 else $as_nop
12671 ac_wine_check_headers_saved_cc=$CC
12672 ac_wine_check_headers_saved_exeext=$ac_exeext
12673 eval CC=\$${wine_arch}_CC
12674 ac_exeext=".exe"
12675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12676 /* end confdefs.h. */
12678 #include <libxslt/pattern.h>
12680 main (void)
12684 return 0;
12686 _ACEOF
12687 if ac_fn_c_try_compile "$LINENO"
12688 then :
12689 ac_cv_mingw_header_libxslt_pattern_h=yes
12690 else $as_nop
12691 ac_cv_mingw_header_libxslt_pattern_h=no
12693 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12694 CC=$ac_wine_check_headers_saved_cc
12695 ac_exeext=$ac_wine_check_headers_saved_exeext
12697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12698 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12699 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12700 then :
12703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12704 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12705 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12706 then :
12707 printf %s "(cached) " >&6
12708 else $as_nop
12709 ac_wine_check_headers_saved_cc=$CC
12710 ac_wine_check_headers_saved_exeext=$ac_exeext
12711 eval CC=\$${wine_arch}_CC
12712 ac_exeext=".exe"
12713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12714 /* end confdefs.h. */
12716 #include <libxslt/transform.h>
12718 main (void)
12722 return 0;
12724 _ACEOF
12725 if ac_fn_c_try_compile "$LINENO"
12726 then :
12727 ac_cv_mingw_header_libxslt_transform_h=yes
12728 else $as_nop
12729 ac_cv_mingw_header_libxslt_transform_h=no
12731 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12732 CC=$ac_wine_check_headers_saved_cc
12733 ac_exeext=$ac_wine_check_headers_saved_exeext
12735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12736 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12737 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12738 then :
12741 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12742 then
12743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12744 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12745 if test ${ac_cv_mingw_lib_xslt+y}
12746 then :
12747 printf %s "(cached) " >&6
12748 else $as_nop
12749 ac_wine_check_headers_saved_cc=$CC
12750 ac_wine_check_headers_saved_exeext=$ac_exeext
12751 ac_wine_check_headers_saved_libs=$LIBS
12752 eval CC=\$${wine_arch}_CC
12753 ac_exeext=".exe"
12754 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12756 /* end confdefs.h. */
12758 /* Override any GCC internal prototype to avoid an error.
12759 Use char because int might match the return type of a GCC
12760 builtin and then its argument prototype would still apply. */
12761 char xsltCompilePattern ();
12763 main (void)
12765 return xsltCompilePattern ();
12767 return 0;
12769 _ACEOF
12770 if ac_fn_c_try_link "$LINENO"
12771 then :
12772 ac_cv_mingw_lib_xslt=yes
12773 else $as_nop
12774 ac_cv_mingw_lib_xslt=no
12776 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12777 conftest$ac_exeext conftest.$ac_ext
12778 CC=$ac_wine_check_headers_saved_cc
12779 ac_exeext=$ac_wine_check_headers_saved_exeext
12780 LIBS=$ac_wine_check_headers_saved_libs
12782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12783 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12784 if test "x$ac_cv_mingw_lib_xslt" = xyes
12785 then :
12787 else $as_nop
12788 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12790 else
12791 XSLT_PE_CFLAGS=""
12792 XSLT_PE_LIBS=""
12794 CPPFLAGS=$ac_save_CPPFLAGS
12796 if test "x$XSLT_PE_LIBS" = "x"
12797 then
12798 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12801 if ${VKD3D_PE_CFLAGS:+false} :
12802 then :
12803 if test ${MINGW_PKG_CONFIG+y}
12804 then :
12805 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12808 if ${VKD3D_PE_LIBS:+false} :
12809 then :
12810 if test ${MINGW_PKG_CONFIG+y}
12811 then :
12812 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12815 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12816 ac_save_CPPFLAGS=$CPPFLAGS
12817 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12819 printf %s "checking for MinGW vkd3d.h... " >&6; }
12820 if test ${ac_cv_mingw_header_vkd3d_h+y}
12821 then :
12822 printf %s "(cached) " >&6
12823 else $as_nop
12824 ac_wine_check_headers_saved_cc=$CC
12825 ac_wine_check_headers_saved_exeext=$ac_exeext
12826 eval CC=\$${wine_arch}_CC
12827 ac_exeext=".exe"
12828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12829 /* end confdefs.h. */
12831 #include <vkd3d.h>
12833 main (void)
12837 return 0;
12839 _ACEOF
12840 if ac_fn_c_try_compile "$LINENO"
12841 then :
12842 ac_cv_mingw_header_vkd3d_h=yes
12843 else $as_nop
12844 ac_cv_mingw_header_vkd3d_h=no
12846 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12847 CC=$ac_wine_check_headers_saved_cc
12848 ac_exeext=$ac_wine_check_headers_saved_exeext
12850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12851 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12852 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12853 then :
12856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12857 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12858 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12859 then :
12860 printf %s "(cached) " >&6
12861 else $as_nop
12862 ac_wine_check_headers_saved_cc=$CC
12863 ac_wine_check_headers_saved_exeext=$ac_exeext
12864 eval CC=\$${wine_arch}_CC
12865 ac_exeext=".exe"
12866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12867 /* end confdefs.h. */
12869 #include <vkd3d_shader.h>
12871 main (void)
12875 return 0;
12877 _ACEOF
12878 if ac_fn_c_try_compile "$LINENO"
12879 then :
12880 ac_cv_mingw_header_vkd3d_shader_h=yes
12881 else $as_nop
12882 ac_cv_mingw_header_vkd3d_shader_h=no
12884 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12885 CC=$ac_wine_check_headers_saved_cc
12886 ac_exeext=$ac_wine_check_headers_saved_exeext
12888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12889 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12890 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12891 then :
12894 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12895 then
12896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12897 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12898 if test ${ac_cv_mingw_lib_vkd3d+y}
12899 then :
12900 printf %s "(cached) " >&6
12901 else $as_nop
12902 ac_wine_check_headers_saved_cc=$CC
12903 ac_wine_check_headers_saved_exeext=$ac_exeext
12904 ac_wine_check_headers_saved_libs=$LIBS
12905 eval CC=\$${wine_arch}_CC
12906 ac_exeext=".exe"
12907 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12909 /* end confdefs.h. */
12911 /* Override any GCC internal prototype to avoid an error.
12912 Use char because int might match the return type of a GCC
12913 builtin and then its argument prototype would still apply. */
12914 char vkd3d_set_log_callback ();
12916 main (void)
12918 return vkd3d_set_log_callback ();
12920 return 0;
12922 _ACEOF
12923 if ac_fn_c_try_link "$LINENO"
12924 then :
12925 ac_cv_mingw_lib_vkd3d=yes
12926 else $as_nop
12927 ac_cv_mingw_lib_vkd3d=no
12929 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12930 conftest$ac_exeext conftest.$ac_ext
12931 CC=$ac_wine_check_headers_saved_cc
12932 ac_exeext=$ac_wine_check_headers_saved_exeext
12933 LIBS=$ac_wine_check_headers_saved_libs
12935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12936 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12937 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12938 then :
12940 else $as_nop
12943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
12944 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
12945 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12946 then :
12947 printf %s "(cached) " >&6
12948 else $as_nop
12949 ac_wine_check_headers_saved_cc=$CC
12950 ac_wine_check_headers_saved_exeext=$ac_exeext
12951 ac_wine_check_headers_saved_libs=$LIBS
12952 eval CC=\$${wine_arch}_CC
12953 ac_exeext=".exe"
12954 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12956 /* end confdefs.h. */
12958 /* Override any GCC internal prototype to avoid an error.
12959 Use char because int might match the return type of a GCC
12960 builtin and then its argument prototype would still apply. */
12961 char vkd3d_shader_compile ();
12963 main (void)
12965 return vkd3d_shader_compile ();
12967 return 0;
12969 _ACEOF
12970 if ac_fn_c_try_link "$LINENO"
12971 then :
12972 ac_cv_mingw_lib_vkd3d_shader=yes
12973 else $as_nop
12974 ac_cv_mingw_lib_vkd3d_shader=no
12976 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12977 conftest$ac_exeext conftest.$ac_ext
12978 CC=$ac_wine_check_headers_saved_cc
12979 ac_exeext=$ac_wine_check_headers_saved_exeext
12980 LIBS=$ac_wine_check_headers_saved_libs
12982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12983 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12984 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12985 then :
12987 else $as_nop
12990 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12991 then
12992 VKD3D_PE_CFLAGS=""
12993 VKD3D_PE_LIBS=""
12995 else
12996 VKD3D_PE_CFLAGS=""
12997 VKD3D_PE_LIBS=""
12999 CPPFLAGS=$ac_save_CPPFLAGS
13001 if test "x$VKD3D_PE_LIBS" = "x"
13002 then
13003 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13006 if ${ZLIB_PE_CFLAGS:+false} :
13007 then :
13008 if test ${MINGW_PKG_CONFIG+y}
13009 then :
13010 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13013 if ${ZLIB_PE_LIBS:+false} :
13014 then :
13015 if test ${MINGW_PKG_CONFIG+y}
13016 then :
13017 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13020 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13021 ac_save_CPPFLAGS=$CPPFLAGS
13022 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13024 printf %s "checking for MinGW zlib.h... " >&6; }
13025 if test ${ac_cv_mingw_header_zlib_h+y}
13026 then :
13027 printf %s "(cached) " >&6
13028 else $as_nop
13029 ac_wine_check_headers_saved_cc=$CC
13030 ac_wine_check_headers_saved_exeext=$ac_exeext
13031 eval CC=\$${wine_arch}_CC
13032 ac_exeext=".exe"
13033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13034 /* end confdefs.h. */
13036 #include <zlib.h>
13038 main (void)
13042 return 0;
13044 _ACEOF
13045 if ac_fn_c_try_compile "$LINENO"
13046 then :
13047 ac_cv_mingw_header_zlib_h=yes
13048 else $as_nop
13049 ac_cv_mingw_header_zlib_h=no
13051 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13052 CC=$ac_wine_check_headers_saved_cc
13053 ac_exeext=$ac_wine_check_headers_saved_exeext
13055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13056 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13057 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13058 then :
13059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13060 printf %s "checking for inflate in MinGW -lz... " >&6; }
13061 if test ${ac_cv_mingw_lib_z+y}
13062 then :
13063 printf %s "(cached) " >&6
13064 else $as_nop
13065 ac_wine_check_headers_saved_cc=$CC
13066 ac_wine_check_headers_saved_exeext=$ac_exeext
13067 ac_wine_check_headers_saved_libs=$LIBS
13068 eval CC=\$${wine_arch}_CC
13069 ac_exeext=".exe"
13070 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13072 /* end confdefs.h. */
13074 /* Override any GCC internal prototype to avoid an error.
13075 Use char because int might match the return type of a GCC
13076 builtin and then its argument prototype would still apply. */
13077 char inflate ();
13079 main (void)
13081 return inflate ();
13083 return 0;
13085 _ACEOF
13086 if ac_fn_c_try_link "$LINENO"
13087 then :
13088 ac_cv_mingw_lib_z=yes
13089 else $as_nop
13090 ac_cv_mingw_lib_z=no
13092 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13093 conftest$ac_exeext conftest.$ac_ext
13094 CC=$ac_wine_check_headers_saved_cc
13095 ac_exeext=$ac_wine_check_headers_saved_exeext
13096 LIBS=$ac_wine_check_headers_saved_libs
13098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13099 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13100 if test "x$ac_cv_mingw_lib_z" = xyes
13101 then :
13103 else $as_nop
13104 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13106 else $as_nop
13107 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13109 CPPFLAGS=$ac_save_CPPFLAGS
13111 if test "x$ZLIB_PE_LIBS" = "x"
13112 then
13113 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13117 if ${FAUDIO_PE_LIBS:+false} :
13118 then :
13119 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13120 if ${FAUDIO_PE_CFLAGS:+false} :
13121 then :
13122 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13123 else $as_nop
13124 enable_faudio=no
13126 else $as_nop
13127 enable_faudio=no
13129 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13130 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13132 if ${GSM_PE_LIBS:+false} :
13133 then :
13134 GSM_PE_LIBS=gsm
13135 if ${GSM_PE_CFLAGS:+false} :
13136 then :
13137 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13138 else $as_nop
13139 enable_gsm=no
13141 else $as_nop
13142 enable_gsm=no
13144 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13145 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13147 if ${JPEG_PE_LIBS:+false} :
13148 then :
13149 JPEG_PE_LIBS=jpeg
13150 if ${JPEG_PE_CFLAGS:+false} :
13151 then :
13152 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13153 else $as_nop
13154 enable_jpeg=no
13156 else $as_nop
13157 enable_jpeg=no
13159 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13160 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13162 if ${JXR_PE_LIBS:+false} :
13163 then :
13164 JXR_PE_LIBS=jxr
13165 if ${JXR_PE_CFLAGS:+false} :
13166 then :
13167 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13168 else $as_nop
13169 enable_jxr=no
13171 else $as_nop
13172 enable_jxr=no
13174 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13175 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13177 if ${LCMS2_PE_LIBS:+false} :
13178 then :
13179 LCMS2_PE_LIBS=lcms2
13180 if ${LCMS2_PE_CFLAGS:+false} :
13181 then :
13182 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13183 else $as_nop
13184 enable_lcms2=no
13186 else $as_nop
13187 enable_lcms2=no
13189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13190 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13192 if ${LDAP_PE_LIBS:+false} :
13193 then :
13194 LDAP_PE_LIBS=ldap
13195 if ${LDAP_PE_CFLAGS:+false} :
13196 then :
13197 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13198 else $as_nop
13199 enable_ldap=no
13201 else $as_nop
13202 enable_ldap=no
13204 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13205 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13207 if ${MPG123_PE_LIBS:+false} :
13208 then :
13209 MPG123_PE_LIBS=mpg123
13210 if ${MPG123_PE_CFLAGS:+false} :
13211 then :
13212 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13213 else $as_nop
13214 enable_mpg123=no
13216 else $as_nop
13217 enable_mpg123=no
13219 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13220 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13222 if ${PNG_PE_LIBS:+false} :
13223 then :
13224 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13225 if ${PNG_PE_CFLAGS:+false} :
13226 then :
13227 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13228 else $as_nop
13229 enable_png=no
13231 else $as_nop
13232 enable_png=no
13234 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13235 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13237 if ${TIFF_PE_LIBS:+false} :
13238 then :
13239 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13240 if ${TIFF_PE_CFLAGS:+false} :
13241 then :
13242 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13243 else $as_nop
13244 enable_tiff=no
13246 else $as_nop
13247 enable_tiff=no
13249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13250 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13252 if ${VKD3D_PE_LIBS:+false} :
13253 then :
13254 VKD3D_PE_LIBS=vkd3d
13255 if ${VKD3D_PE_CFLAGS:+false} :
13256 then :
13257 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13258 else $as_nop
13259 enable_vkd3d=no
13261 else $as_nop
13262 enable_vkd3d=no
13264 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13267 if ${XML2_PE_LIBS:+false} :
13268 then :
13269 XML2_PE_LIBS=xml2
13270 if ${XML2_PE_CFLAGS:+false} :
13271 then :
13272 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13273 else $as_nop
13274 enable_xml2=no
13276 else $as_nop
13277 enable_xml2=no
13279 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13280 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13282 if ${XSLT_PE_LIBS:+false} :
13283 then :
13284 XSLT_PE_LIBS=xslt
13285 if ${XSLT_PE_CFLAGS:+false} :
13286 then :
13287 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13288 else $as_nop
13289 enable_xslt=no
13291 else $as_nop
13292 enable_xslt=no
13294 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13295 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13297 if ${ZLIB_PE_LIBS:+false} :
13298 then :
13299 ZLIB_PE_LIBS=z
13300 if ${ZLIB_PE_CFLAGS:+false} :
13301 then :
13302 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13303 else $as_nop
13304 enable_zlib=no
13306 else $as_nop
13307 enable_zlib=no
13309 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13310 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13314 if test "$ac_cv_header_pthread_h" = "yes"
13315 then
13316 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13317 if test "x$ac_cv_func_pthread_create" = xyes
13318 then :
13320 else $as_nop
13321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13322 printf %s "checking for pthread_create in -lpthread... " >&6; }
13323 if test ${ac_cv_lib_pthread_pthread_create+y}
13324 then :
13325 printf %s "(cached) " >&6
13326 else $as_nop
13327 ac_check_lib_save_LIBS=$LIBS
13328 LIBS="-lpthread $LIBS"
13329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13330 /* end confdefs.h. */
13332 /* Override any GCC internal prototype to avoid an error.
13333 Use char because int might match the return type of a GCC
13334 builtin and then its argument prototype would still apply. */
13335 char pthread_create ();
13337 main (void)
13339 return pthread_create ();
13341 return 0;
13343 _ACEOF
13344 if ac_fn_c_try_link "$LINENO"
13345 then :
13346 ac_cv_lib_pthread_pthread_create=yes
13347 else $as_nop
13348 ac_cv_lib_pthread_pthread_create=no
13350 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13351 conftest$ac_exeext conftest.$ac_ext
13352 LIBS=$ac_check_lib_save_LIBS
13354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13355 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13356 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13357 then :
13358 PTHREAD_LIBS="-lpthread"
13365 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13366 then :
13367 case "x$with_pthread" in
13368 xno) ;;
13369 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13370 Wine cannot support threads without libpthread.
13371 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13372 esac
13377 ac_ext=c
13378 ac_cpp='$CPP $CPPFLAGS'
13379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13383 printf %s "checking how to run the C preprocessor... " >&6; }
13384 # On Suns, sometimes $CPP names a directory.
13385 if test -n "$CPP" && test -d "$CPP"; then
13386 CPP=
13388 if test -z "$CPP"; then
13389 if test ${ac_cv_prog_CPP+y}
13390 then :
13391 printf %s "(cached) " >&6
13392 else $as_nop
13393 # Double quotes because $CC needs to be expanded
13394 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13396 ac_preproc_ok=false
13397 for ac_c_preproc_warn_flag in '' yes
13399 # Use a header file that comes with gcc, so configuring glibc
13400 # with a fresh cross-compiler works.
13401 # On the NeXT, cc -E runs the code through the compiler's parser,
13402 # not just through cpp. "Syntax error" is here to catch this case.
13403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13404 /* end confdefs.h. */
13405 #include <limits.h>
13406 Syntax error
13407 _ACEOF
13408 if ac_fn_c_try_cpp "$LINENO"
13409 then :
13411 else $as_nop
13412 # Broken: fails on valid input.
13413 continue
13415 rm -f conftest.err conftest.i conftest.$ac_ext
13417 # OK, works on sane cases. Now check whether nonexistent headers
13418 # can be detected and how.
13419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13420 /* end confdefs.h. */
13421 #include <ac_nonexistent.h>
13422 _ACEOF
13423 if ac_fn_c_try_cpp "$LINENO"
13424 then :
13425 # Broken: success on invalid input.
13426 continue
13427 else $as_nop
13428 # Passes both tests.
13429 ac_preproc_ok=:
13430 break
13432 rm -f conftest.err conftest.i conftest.$ac_ext
13434 done
13435 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13436 rm -f conftest.i conftest.err conftest.$ac_ext
13437 if $ac_preproc_ok
13438 then :
13439 break
13442 done
13443 ac_cv_prog_CPP=$CPP
13446 CPP=$ac_cv_prog_CPP
13447 else
13448 ac_cv_prog_CPP=$CPP
13450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13451 printf "%s\n" "$CPP" >&6; }
13452 ac_preproc_ok=false
13453 for ac_c_preproc_warn_flag in '' yes
13455 # Use a header file that comes with gcc, so configuring glibc
13456 # with a fresh cross-compiler works.
13457 # On the NeXT, cc -E runs the code through the compiler's parser,
13458 # not just through cpp. "Syntax error" is here to catch this case.
13459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13460 /* end confdefs.h. */
13461 #include <limits.h>
13462 Syntax error
13463 _ACEOF
13464 if ac_fn_c_try_cpp "$LINENO"
13465 then :
13467 else $as_nop
13468 # Broken: fails on valid input.
13469 continue
13471 rm -f conftest.err conftest.i conftest.$ac_ext
13473 # OK, works on sane cases. Now check whether nonexistent headers
13474 # can be detected and how.
13475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13476 /* end confdefs.h. */
13477 #include <ac_nonexistent.h>
13478 _ACEOF
13479 if ac_fn_c_try_cpp "$LINENO"
13480 then :
13481 # Broken: success on invalid input.
13482 continue
13483 else $as_nop
13484 # Passes both tests.
13485 ac_preproc_ok=:
13486 break
13488 rm -f conftest.err conftest.i conftest.$ac_ext
13490 done
13491 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13492 rm -f conftest.i conftest.err conftest.$ac_ext
13493 if $ac_preproc_ok
13494 then :
13496 else $as_nop
13497 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13498 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13499 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13500 See \`config.log' for more details" "$LINENO" 5; }
13503 ac_ext=c
13504 ac_cpp='$CPP $CPPFLAGS'
13505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13511 printf %s "checking for X... " >&6; }
13514 # Check whether --with-x was given.
13515 if test ${with_x+y}
13516 then :
13517 withval=$with_x;
13520 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13521 if test "x$with_x" = xno; then
13522 # The user explicitly disabled X.
13523 have_x=disabled
13524 else
13525 case $x_includes,$x_libraries in #(
13526 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13527 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13528 then :
13529 printf %s "(cached) " >&6
13530 else $as_nop
13531 # One or both of the vars are not set, and there is no cached value.
13532 ac_x_includes=no
13533 ac_x_libraries=no
13534 # Do we need to do anything special at all?
13535 ac_save_LIBS=$LIBS
13536 LIBS="-lX11 $LIBS"
13537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13538 /* end confdefs.h. */
13539 #include <X11/Xlib.h>
13541 main (void)
13543 XrmInitialize ()
13545 return 0;
13547 _ACEOF
13548 if ac_fn_c_try_link "$LINENO"
13549 then :
13550 # We can compile and link X programs with no special options.
13551 ac_x_includes=
13552 ac_x_libraries=
13554 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13555 conftest$ac_exeext conftest.$ac_ext
13556 LIBS="$ac_save_LIBS"
13557 # If that didn't work, only try xmkmf and file system searches
13558 # for native compilation.
13559 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13560 then :
13561 rm -f -r conftest.dir
13562 if mkdir conftest.dir; then
13563 cd conftest.dir
13564 cat >Imakefile <<'_ACEOF'
13565 incroot:
13566 @echo incroot='${INCROOT}'
13567 usrlibdir:
13568 @echo usrlibdir='${USRLIBDIR}'
13569 libdir:
13570 @echo libdir='${LIBDIR}'
13571 _ACEOF
13572 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13573 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13574 for ac_var in incroot usrlibdir libdir; do
13575 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13576 done
13577 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13578 for ac_extension in a so sl dylib la dll; do
13579 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13580 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13581 ac_im_usrlibdir=$ac_im_libdir; break
13583 done
13584 # Screen out bogus values from the imake configuration. They are
13585 # bogus both because they are the default anyway, and because
13586 # using them would break gcc on systems where it needs fixed includes.
13587 case $ac_im_incroot in
13588 /usr/include) ac_x_includes= ;;
13589 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13590 esac
13591 case $ac_im_usrlibdir in
13592 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13593 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13594 esac
13596 cd ..
13597 rm -f -r conftest.dir
13600 # Standard set of common directories for X headers.
13601 # Check X11 before X11Rn because it is often a symlink to the current release.
13602 ac_x_header_dirs='
13603 /usr/X11/include
13604 /usr/X11R7/include
13605 /usr/X11R6/include
13606 /usr/X11R5/include
13607 /usr/X11R4/include
13609 /usr/include/X11
13610 /usr/include/X11R7
13611 /usr/include/X11R6
13612 /usr/include/X11R5
13613 /usr/include/X11R4
13615 /usr/local/X11/include
13616 /usr/local/X11R7/include
13617 /usr/local/X11R6/include
13618 /usr/local/X11R5/include
13619 /usr/local/X11R4/include
13621 /usr/local/include/X11
13622 /usr/local/include/X11R7
13623 /usr/local/include/X11R6
13624 /usr/local/include/X11R5
13625 /usr/local/include/X11R4
13627 /opt/X11/include
13629 /usr/X386/include
13630 /usr/x386/include
13631 /usr/XFree86/include/X11
13633 /usr/include
13634 /usr/local/include
13635 /usr/unsupported/include
13636 /usr/athena/include
13637 /usr/local/x11r5/include
13638 /usr/lpp/Xamples/include
13640 /usr/openwin/include
13641 /usr/openwin/share/include'
13643 if test "$ac_x_includes" = no; then
13644 # Guess where to find include files, by looking for Xlib.h.
13645 # First, try using that file with no special directory specified.
13646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13647 /* end confdefs.h. */
13648 #include <X11/Xlib.h>
13649 _ACEOF
13650 if ac_fn_c_try_cpp "$LINENO"
13651 then :
13652 # We can compile using X headers with no special include directory.
13653 ac_x_includes=
13654 else $as_nop
13655 for ac_dir in $ac_x_header_dirs; do
13656 if test -r "$ac_dir/X11/Xlib.h"; then
13657 ac_x_includes=$ac_dir
13658 break
13660 done
13662 rm -f conftest.err conftest.i conftest.$ac_ext
13663 fi # $ac_x_includes = no
13665 if test "$ac_x_libraries" = no; then
13666 # Check for the libraries.
13667 # See if we find them without any special options.
13668 # Don't add to $LIBS permanently.
13669 ac_save_LIBS=$LIBS
13670 LIBS="-lX11 $LIBS"
13671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13672 /* end confdefs.h. */
13673 #include <X11/Xlib.h>
13675 main (void)
13677 XrmInitialize ()
13679 return 0;
13681 _ACEOF
13682 if ac_fn_c_try_link "$LINENO"
13683 then :
13684 LIBS=$ac_save_LIBS
13685 # We can link X programs with no special library path.
13686 ac_x_libraries=
13687 else $as_nop
13688 LIBS=$ac_save_LIBS
13689 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13691 # Don't even attempt the hair of trying to link an X program!
13692 for ac_extension in a so sl dylib la dll; do
13693 if test -r "$ac_dir/libX11.$ac_extension"; then
13694 ac_x_libraries=$ac_dir
13695 break 2
13697 done
13698 done
13700 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13701 conftest$ac_exeext conftest.$ac_ext
13702 fi # $ac_x_libraries = no
13705 # Record the results.
13706 case $ac_x_includes,$ac_x_libraries in #(
13707 no,* | *,no | *\'*) :
13708 # Didn't find X, or a directory has "'" in its name.
13709 ac_cv_have_x="have_x=no" ;; #(
13710 *) :
13711 # Record where we found X for the cache.
13712 ac_cv_have_x="have_x=yes\
13713 ac_x_includes='$ac_x_includes'\
13714 ac_x_libraries='$ac_x_libraries'" ;;
13715 esac
13717 ;; #(
13718 *) have_x=yes;;
13719 esac
13720 eval "$ac_cv_have_x"
13721 fi # $with_x != no
13723 if test "$have_x" != yes; then
13724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13725 printf "%s\n" "$have_x" >&6; }
13726 no_x=yes
13727 else
13728 # If each of the values was on the command line, it overrides each guess.
13729 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13730 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13731 # Update the cache value to reflect the command line values.
13732 ac_cv_have_x="have_x=yes\
13733 ac_x_includes='$x_includes'\
13734 ac_x_libraries='$x_libraries'"
13735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13736 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13739 if test "$no_x" = yes; then
13740 # Not all programs may use this symbol, but it does not hurt to define it.
13742 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13744 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13745 else
13746 if test -n "$x_includes"; then
13747 X_CFLAGS="$X_CFLAGS -I$x_includes"
13750 # It would also be nice to do this for all -L options, not just this one.
13751 if test -n "$x_libraries"; then
13752 X_LIBS="$X_LIBS -L$x_libraries"
13753 # For Solaris; some versions of Sun CC require a space after -R and
13754 # others require no space. Words are not sufficient . . . .
13755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13756 printf %s "checking whether -R must be followed by a space... " >&6; }
13757 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13758 ac_xsave_c_werror_flag=$ac_c_werror_flag
13759 ac_c_werror_flag=yes
13760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13761 /* end confdefs.h. */
13764 main (void)
13768 return 0;
13770 _ACEOF
13771 if ac_fn_c_try_link "$LINENO"
13772 then :
13773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13774 printf "%s\n" "no" >&6; }
13775 X_LIBS="$X_LIBS -R$x_libraries"
13776 else $as_nop
13777 LIBS="$ac_xsave_LIBS -R $x_libraries"
13778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13779 /* end confdefs.h. */
13782 main (void)
13786 return 0;
13788 _ACEOF
13789 if ac_fn_c_try_link "$LINENO"
13790 then :
13791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13792 printf "%s\n" "yes" >&6; }
13793 X_LIBS="$X_LIBS -R $x_libraries"
13794 else $as_nop
13795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13796 printf "%s\n" "neither works" >&6; }
13798 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13799 conftest$ac_exeext conftest.$ac_ext
13801 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13802 conftest$ac_exeext conftest.$ac_ext
13803 ac_c_werror_flag=$ac_xsave_c_werror_flag
13804 LIBS=$ac_xsave_LIBS
13807 # Check for system-dependent libraries X programs must link with.
13808 # Do this before checking for the system-independent R6 libraries
13809 # (-lICE), since we may need -lsocket or whatever for X linking.
13811 if test "$ISC" = yes; then
13812 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13813 else
13814 # Martyn Johnson says this is needed for Ultrix, if the X
13815 # libraries were built with DECnet support. And Karl Berry says
13816 # the Alpha needs dnet_stub (dnet does not exist).
13817 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13819 /* end confdefs.h. */
13821 /* Override any GCC internal prototype to avoid an error.
13822 Use char because int might match the return type of a GCC
13823 builtin and then its argument prototype would still apply. */
13824 char XOpenDisplay ();
13826 main (void)
13828 return XOpenDisplay ();
13830 return 0;
13832 _ACEOF
13833 if ac_fn_c_try_link "$LINENO"
13834 then :
13836 else $as_nop
13837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13838 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13839 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13840 then :
13841 printf %s "(cached) " >&6
13842 else $as_nop
13843 ac_check_lib_save_LIBS=$LIBS
13844 LIBS="-ldnet $LIBS"
13845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13846 /* end confdefs.h. */
13848 /* Override any GCC internal prototype to avoid an error.
13849 Use char because int might match the return type of a GCC
13850 builtin and then its argument prototype would still apply. */
13851 char dnet_ntoa ();
13853 main (void)
13855 return dnet_ntoa ();
13857 return 0;
13859 _ACEOF
13860 if ac_fn_c_try_link "$LINENO"
13861 then :
13862 ac_cv_lib_dnet_dnet_ntoa=yes
13863 else $as_nop
13864 ac_cv_lib_dnet_dnet_ntoa=no
13866 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13867 conftest$ac_exeext conftest.$ac_ext
13868 LIBS=$ac_check_lib_save_LIBS
13870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13871 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13872 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13873 then :
13874 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13877 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13879 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13880 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13881 then :
13882 printf %s "(cached) " >&6
13883 else $as_nop
13884 ac_check_lib_save_LIBS=$LIBS
13885 LIBS="-ldnet_stub $LIBS"
13886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13887 /* end confdefs.h. */
13889 /* Override any GCC internal prototype to avoid an error.
13890 Use char because int might match the return type of a GCC
13891 builtin and then its argument prototype would still apply. */
13892 char dnet_ntoa ();
13894 main (void)
13896 return dnet_ntoa ();
13898 return 0;
13900 _ACEOF
13901 if ac_fn_c_try_link "$LINENO"
13902 then :
13903 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13904 else $as_nop
13905 ac_cv_lib_dnet_stub_dnet_ntoa=no
13907 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13908 conftest$ac_exeext conftest.$ac_ext
13909 LIBS=$ac_check_lib_save_LIBS
13911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13912 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13913 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13914 then :
13915 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13920 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13921 conftest$ac_exeext conftest.$ac_ext
13922 LIBS="$ac_xsave_LIBS"
13924 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13925 # to get the SysV transport functions.
13926 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13927 # needs -lnsl.
13928 # The nsl library prevents programs from opening the X display
13929 # on Irix 5.2, according to T.E. Dickey.
13930 # The functions gethostbyname, getservbyname, and inet_addr are
13931 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13932 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13933 if test "x$ac_cv_func_gethostbyname" = xyes
13934 then :
13938 if test $ac_cv_func_gethostbyname = no; then
13939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13940 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13941 if test ${ac_cv_lib_nsl_gethostbyname+y}
13942 then :
13943 printf %s "(cached) " >&6
13944 else $as_nop
13945 ac_check_lib_save_LIBS=$LIBS
13946 LIBS="-lnsl $LIBS"
13947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13948 /* end confdefs.h. */
13950 /* Override any GCC internal prototype to avoid an error.
13951 Use char because int might match the return type of a GCC
13952 builtin and then its argument prototype would still apply. */
13953 char gethostbyname ();
13955 main (void)
13957 return gethostbyname ();
13959 return 0;
13961 _ACEOF
13962 if ac_fn_c_try_link "$LINENO"
13963 then :
13964 ac_cv_lib_nsl_gethostbyname=yes
13965 else $as_nop
13966 ac_cv_lib_nsl_gethostbyname=no
13968 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13969 conftest$ac_exeext conftest.$ac_ext
13970 LIBS=$ac_check_lib_save_LIBS
13972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13973 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13974 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13975 then :
13976 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13979 if test $ac_cv_lib_nsl_gethostbyname = no; then
13980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13981 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13982 if test ${ac_cv_lib_bsd_gethostbyname+y}
13983 then :
13984 printf %s "(cached) " >&6
13985 else $as_nop
13986 ac_check_lib_save_LIBS=$LIBS
13987 LIBS="-lbsd $LIBS"
13988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13989 /* end confdefs.h. */
13991 /* Override any GCC internal prototype to avoid an error.
13992 Use char because int might match the return type of a GCC
13993 builtin and then its argument prototype would still apply. */
13994 char gethostbyname ();
13996 main (void)
13998 return gethostbyname ();
14000 return 0;
14002 _ACEOF
14003 if ac_fn_c_try_link "$LINENO"
14004 then :
14005 ac_cv_lib_bsd_gethostbyname=yes
14006 else $as_nop
14007 ac_cv_lib_bsd_gethostbyname=no
14009 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14010 conftest$ac_exeext conftest.$ac_ext
14011 LIBS=$ac_check_lib_save_LIBS
14013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14014 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14015 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14016 then :
14017 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14023 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14024 # socket/setsockopt and other routines are undefined under SCO ODT
14025 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14026 # on later versions), says Simon Leinen: it contains gethostby*
14027 # variants that don't use the name server (or something). -lsocket
14028 # must be given before -lnsl if both are needed. We assume that
14029 # if connect needs -lnsl, so does gethostbyname.
14030 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14031 if test "x$ac_cv_func_connect" = xyes
14032 then :
14036 if test $ac_cv_func_connect = no; then
14037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14038 printf %s "checking for connect in -lsocket... " >&6; }
14039 if test ${ac_cv_lib_socket_connect+y}
14040 then :
14041 printf %s "(cached) " >&6
14042 else $as_nop
14043 ac_check_lib_save_LIBS=$LIBS
14044 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14046 /* end confdefs.h. */
14048 /* Override any GCC internal prototype to avoid an error.
14049 Use char because int might match the return type of a GCC
14050 builtin and then its argument prototype would still apply. */
14051 char connect ();
14053 main (void)
14055 return connect ();
14057 return 0;
14059 _ACEOF
14060 if ac_fn_c_try_link "$LINENO"
14061 then :
14062 ac_cv_lib_socket_connect=yes
14063 else $as_nop
14064 ac_cv_lib_socket_connect=no
14066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14067 conftest$ac_exeext conftest.$ac_ext
14068 LIBS=$ac_check_lib_save_LIBS
14070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14071 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14072 if test "x$ac_cv_lib_socket_connect" = xyes
14073 then :
14074 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14079 # Guillermo Gomez says -lposix is necessary on A/UX.
14080 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14081 if test "x$ac_cv_func_remove" = xyes
14082 then :
14086 if test $ac_cv_func_remove = no; then
14087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14088 printf %s "checking for remove in -lposix... " >&6; }
14089 if test ${ac_cv_lib_posix_remove+y}
14090 then :
14091 printf %s "(cached) " >&6
14092 else $as_nop
14093 ac_check_lib_save_LIBS=$LIBS
14094 LIBS="-lposix $LIBS"
14095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14096 /* end confdefs.h. */
14098 /* Override any GCC internal prototype to avoid an error.
14099 Use char because int might match the return type of a GCC
14100 builtin and then its argument prototype would still apply. */
14101 char remove ();
14103 main (void)
14105 return remove ();
14107 return 0;
14109 _ACEOF
14110 if ac_fn_c_try_link "$LINENO"
14111 then :
14112 ac_cv_lib_posix_remove=yes
14113 else $as_nop
14114 ac_cv_lib_posix_remove=no
14116 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14117 conftest$ac_exeext conftest.$ac_ext
14118 LIBS=$ac_check_lib_save_LIBS
14120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14121 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14122 if test "x$ac_cv_lib_posix_remove" = xyes
14123 then :
14124 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14129 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14130 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14131 if test "x$ac_cv_func_shmat" = xyes
14132 then :
14136 if test $ac_cv_func_shmat = no; then
14137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14138 printf %s "checking for shmat in -lipc... " >&6; }
14139 if test ${ac_cv_lib_ipc_shmat+y}
14140 then :
14141 printf %s "(cached) " >&6
14142 else $as_nop
14143 ac_check_lib_save_LIBS=$LIBS
14144 LIBS="-lipc $LIBS"
14145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14146 /* end confdefs.h. */
14148 /* Override any GCC internal prototype to avoid an error.
14149 Use char because int might match the return type of a GCC
14150 builtin and then its argument prototype would still apply. */
14151 char shmat ();
14153 main (void)
14155 return shmat ();
14157 return 0;
14159 _ACEOF
14160 if ac_fn_c_try_link "$LINENO"
14161 then :
14162 ac_cv_lib_ipc_shmat=yes
14163 else $as_nop
14164 ac_cv_lib_ipc_shmat=no
14166 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14167 conftest$ac_exeext conftest.$ac_ext
14168 LIBS=$ac_check_lib_save_LIBS
14170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14171 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14172 if test "x$ac_cv_lib_ipc_shmat" = xyes
14173 then :
14174 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14180 # Check for libraries that X11R6 Xt/Xaw programs need.
14181 ac_save_LDFLAGS=$LDFLAGS
14182 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14183 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14184 # check for ICE first), but we must link in the order -lSM -lICE or
14185 # we get undefined symbols. So assume we have SM if we have ICE.
14186 # These have to be linked with before -lX11, unlike the other
14187 # libraries we check for below, so use a different variable.
14188 # John Interrante, Karl Berry
14189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14190 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14191 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14192 then :
14193 printf %s "(cached) " >&6
14194 else $as_nop
14195 ac_check_lib_save_LIBS=$LIBS
14196 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14198 /* end confdefs.h. */
14200 /* Override any GCC internal prototype to avoid an error.
14201 Use char because int might match the return type of a GCC
14202 builtin and then its argument prototype would still apply. */
14203 char IceConnectionNumber ();
14205 main (void)
14207 return IceConnectionNumber ();
14209 return 0;
14211 _ACEOF
14212 if ac_fn_c_try_link "$LINENO"
14213 then :
14214 ac_cv_lib_ICE_IceConnectionNumber=yes
14215 else $as_nop
14216 ac_cv_lib_ICE_IceConnectionNumber=no
14218 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14219 conftest$ac_exeext conftest.$ac_ext
14220 LIBS=$ac_check_lib_save_LIBS
14222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14223 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14224 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14225 then :
14226 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14229 LDFLAGS=$ac_save_LDFLAGS
14234 if test "$have_x" = "yes"
14235 then
14236 ac_save_CPPFLAGS="$CPPFLAGS"
14237 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14240 printf %s "checking for -lX11... " >&6; }
14241 if test ${ac_cv_lib_soname_X11+y}
14242 then :
14243 printf %s "(cached) " >&6
14244 else $as_nop
14245 ac_check_soname_save_LIBS=$LIBS
14246 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14248 /* end confdefs.h. */
14250 /* Override any GCC internal prototype to avoid an error.
14251 Use char because int might match the return type of a GCC
14252 builtin and then its argument prototype would still apply. */
14253 char XCreateWindow ();
14255 main (void)
14257 return XCreateWindow ();
14259 return 0;
14261 _ACEOF
14262 if ac_fn_c_try_link "$LINENO"
14263 then :
14264 case "$LIBEXT" in
14265 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14266 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'` ;;
14267 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14268 if ${ac_cv_lib_soname_X11:+false} :
14269 then :
14270 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14271 fi ;;
14272 esac
14273 else $as_nop
14274 ac_cv_lib_soname_X11=
14276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14277 conftest$ac_exeext conftest.$ac_ext
14278 LIBS=$ac_check_soname_save_LIBS
14280 if ${ac_cv_lib_soname_X11:+false} :
14281 then :
14282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14283 printf "%s\n" "not found" >&6; }
14285 else $as_nop
14286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14287 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14289 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14294 printf %s "checking for -lXext... " >&6; }
14295 if test ${ac_cv_lib_soname_Xext+y}
14296 then :
14297 printf %s "(cached) " >&6
14298 else $as_nop
14299 ac_check_soname_save_LIBS=$LIBS
14300 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14302 /* end confdefs.h. */
14304 /* Override any GCC internal prototype to avoid an error.
14305 Use char because int might match the return type of a GCC
14306 builtin and then its argument prototype would still apply. */
14307 char XextCreateExtension ();
14309 main (void)
14311 return XextCreateExtension ();
14313 return 0;
14315 _ACEOF
14316 if ac_fn_c_try_link "$LINENO"
14317 then :
14318 case "$LIBEXT" in
14319 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14320 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'` ;;
14321 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14322 if ${ac_cv_lib_soname_Xext:+false} :
14323 then :
14324 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14325 fi ;;
14326 esac
14327 else $as_nop
14328 ac_cv_lib_soname_Xext=
14330 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14331 conftest$ac_exeext conftest.$ac_ext
14332 LIBS=$ac_check_soname_save_LIBS
14334 if ${ac_cv_lib_soname_Xext:+false} :
14335 then :
14336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14337 printf "%s\n" "not found" >&6; }
14339 else $as_nop
14340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14341 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14343 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14345 X_LIBS="$X_LIBS -lXext"
14347 X_LIBS="$X_LIBS -lX11"
14349 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14350 # include <X11/Xlib.h>
14351 #endif
14352 #ifdef HAVE_X11_XUTIL_H
14353 # include <X11/Xutil.h>
14354 #endif
14356 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14357 then :
14358 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14361 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14362 # include <X11/Xlib.h>
14363 #endif
14364 #ifdef HAVE_X11_XUTIL_H
14365 # include <X11/Xutil.h>
14366 #endif
14368 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14369 then :
14370 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14373 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14374 # include <X11/Xlib.h>
14375 #endif
14376 #ifdef HAVE_X11_XUTIL_H
14377 # include <X11/Xutil.h>
14378 #endif
14380 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14381 then :
14382 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14385 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14386 # include <X11/Xlib.h>
14387 #endif
14388 #ifdef HAVE_X11_XUTIL_H
14389 # include <X11/Xutil.h>
14390 #endif
14392 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14393 then :
14394 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14397 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14398 # include <X11/Xlib.h>
14399 #endif
14400 #ifdef HAVE_X11_XUTIL_H
14401 # include <X11/Xutil.h>
14402 #endif
14404 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14405 then :
14406 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14409 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14410 # include <X11/Xlib.h>
14411 #endif
14412 #ifdef HAVE_X11_XUTIL_H
14413 # include <X11/Xutil.h>
14414 #endif
14416 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14417 then :
14418 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14421 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14422 # include <X11/Xlib.h>
14423 #endif
14424 #ifdef HAVE_X11_XUTIL_H
14425 # include <X11/Xutil.h>
14426 #endif
14428 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14429 then :
14430 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14433 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14434 # include <X11/Xlib.h>
14435 #endif
14436 #ifdef HAVE_X11_XUTIL_H
14437 # include <X11/Xutil.h>
14438 #endif
14440 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14441 then :
14442 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14445 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14446 # include <X11/Xlib.h>
14447 #endif
14448 #ifdef HAVE_X11_XUTIL_H
14449 # include <X11/Xutil.h>
14450 #endif
14452 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14453 then :
14454 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14457 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14458 # include <X11/Xlib.h>
14459 #endif
14460 #ifdef HAVE_X11_XUTIL_H
14461 # include <X11/Xutil.h>
14462 #endif
14464 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14465 then :
14466 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14469 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14470 # include <X11/Xlib.h>
14471 #endif
14472 #ifdef HAVE_X11_XUTIL_H
14473 # include <X11/Xutil.h>
14474 #endif
14476 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14477 then :
14478 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14481 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14482 # include <X11/Xlib.h>
14483 #endif
14484 #ifdef HAVE_X11_XUTIL_H
14485 # include <X11/Xutil.h>
14486 #endif
14488 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14489 then :
14490 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14493 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14494 # include <X11/Xlib.h>
14495 #endif
14496 #ifdef HAVE_X11_XUTIL_H
14497 # include <X11/Xutil.h>
14498 #endif
14500 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14501 then :
14502 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14505 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14506 # include <X11/Xlib.h>
14507 #endif
14508 #ifdef HAVE_X11_XUTIL_H
14509 # include <X11/Xutil.h>
14510 #endif
14512 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14513 then :
14514 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14517 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14518 # include <X11/Xlib.h>
14519 #endif
14520 #ifdef HAVE_X11_XUTIL_H
14521 # include <X11/Xutil.h>
14522 #endif
14524 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14525 then :
14526 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14531 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14532 then
14533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14534 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14535 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14536 then :
14537 printf %s "(cached) " >&6
14538 else $as_nop
14539 ac_check_lib_save_LIBS=$LIBS
14540 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14542 /* end confdefs.h. */
14544 /* Override any GCC internal prototype to avoid an error.
14545 Use char because int might match the return type of a GCC
14546 builtin and then its argument prototype would still apply. */
14547 char XkbQueryExtension ();
14549 main (void)
14551 return XkbQueryExtension ();
14553 return 0;
14555 _ACEOF
14556 if ac_fn_c_try_link "$LINENO"
14557 then :
14558 ac_cv_lib_X11_XkbQueryExtension=yes
14559 else $as_nop
14560 ac_cv_lib_X11_XkbQueryExtension=no
14562 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14563 conftest$ac_exeext conftest.$ac_ext
14564 LIBS=$ac_check_lib_save_LIBS
14566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14567 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14568 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14569 then :
14571 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14577 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14578 then
14579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14580 printf %s "checking for -lXcursor... " >&6; }
14581 if test ${ac_cv_lib_soname_Xcursor+y}
14582 then :
14583 printf %s "(cached) " >&6
14584 else $as_nop
14585 ac_check_soname_save_LIBS=$LIBS
14586 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14588 /* end confdefs.h. */
14590 /* Override any GCC internal prototype to avoid an error.
14591 Use char because int might match the return type of a GCC
14592 builtin and then its argument prototype would still apply. */
14593 char XcursorImageLoadCursor ();
14595 main (void)
14597 return XcursorImageLoadCursor ();
14599 return 0;
14601 _ACEOF
14602 if ac_fn_c_try_link "$LINENO"
14603 then :
14604 case "$LIBEXT" in
14605 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14606 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'` ;;
14607 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14608 if ${ac_cv_lib_soname_Xcursor:+false} :
14609 then :
14610 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14611 fi ;;
14612 esac
14613 else $as_nop
14614 ac_cv_lib_soname_Xcursor=
14616 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14617 conftest$ac_exeext conftest.$ac_ext
14618 LIBS=$ac_check_soname_save_LIBS
14620 if ${ac_cv_lib_soname_Xcursor:+false} :
14621 then :
14622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14623 printf "%s\n" "not found" >&6; }
14625 else $as_nop
14626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14627 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14629 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14634 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14635 then :
14636 case "x$with_xcursor" in
14637 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14638 xno) ;;
14639 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14640 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14641 esac
14645 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14646 then
14647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14648 printf %s "checking for -lXi... " >&6; }
14649 if test ${ac_cv_lib_soname_Xi+y}
14650 then :
14651 printf %s "(cached) " >&6
14652 else $as_nop
14653 ac_check_soname_save_LIBS=$LIBS
14654 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14656 /* end confdefs.h. */
14658 /* Override any GCC internal prototype to avoid an error.
14659 Use char because int might match the return type of a GCC
14660 builtin and then its argument prototype would still apply. */
14661 char XOpenDevice ();
14663 main (void)
14665 return XOpenDevice ();
14667 return 0;
14669 _ACEOF
14670 if ac_fn_c_try_link "$LINENO"
14671 then :
14672 case "$LIBEXT" in
14673 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14674 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'` ;;
14675 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14676 if ${ac_cv_lib_soname_Xi:+false} :
14677 then :
14678 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14679 fi ;;
14680 esac
14681 else $as_nop
14682 ac_cv_lib_soname_Xi=
14684 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14685 conftest$ac_exeext conftest.$ac_ext
14686 LIBS=$ac_check_soname_save_LIBS
14688 if ${ac_cv_lib_soname_Xi:+false} :
14689 then :
14690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14691 printf "%s\n" "not found" >&6; }
14693 else $as_nop
14694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14695 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14697 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14702 if test "x$ac_cv_lib_soname_Xi" = "x"
14703 then :
14704 case "x$with_xinput" in
14705 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14706 xno) ;;
14707 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14708 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14709 esac
14713 if test "x$ac_cv_lib_soname_Xi" != x
14714 then
14715 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14716 then :
14717 case "x$with_xinput2" in
14718 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14719 xno) ;;
14720 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14721 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14722 esac
14727 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14728 then
14729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14730 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14731 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14732 then :
14733 printf %s "(cached) " >&6
14734 else $as_nop
14735 ac_check_lib_save_LIBS=$LIBS
14736 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14738 /* end confdefs.h. */
14740 /* Override any GCC internal prototype to avoid an error.
14741 Use char because int might match the return type of a GCC
14742 builtin and then its argument prototype would still apply. */
14743 char XShmQueryExtension ();
14745 main (void)
14747 return XShmQueryExtension ();
14749 return 0;
14751 _ACEOF
14752 if ac_fn_c_try_link "$LINENO"
14753 then :
14754 ac_cv_lib_Xext_XShmQueryExtension=yes
14755 else $as_nop
14756 ac_cv_lib_Xext_XShmQueryExtension=no
14758 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14759 conftest$ac_exeext conftest.$ac_ext
14760 LIBS=$ac_check_lib_save_LIBS
14762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14763 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14764 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14765 then :
14767 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14772 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14773 then :
14774 case "x$with_xshm" in
14775 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14776 xno) ;;
14777 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14778 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14779 esac
14783 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14784 then
14785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14786 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14787 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14788 then :
14789 printf %s "(cached) " >&6
14790 else $as_nop
14791 ac_check_lib_save_LIBS=$LIBS
14792 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14794 /* end confdefs.h. */
14796 /* Override any GCC internal prototype to avoid an error.
14797 Use char because int might match the return type of a GCC
14798 builtin and then its argument prototype would still apply. */
14799 char XShapeQueryExtension ();
14801 main (void)
14803 return XShapeQueryExtension ();
14805 return 0;
14807 _ACEOF
14808 if ac_fn_c_try_link "$LINENO"
14809 then :
14810 ac_cv_lib_Xext_XShapeQueryExtension=yes
14811 else $as_nop
14812 ac_cv_lib_Xext_XShapeQueryExtension=no
14814 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14815 conftest$ac_exeext conftest.$ac_ext
14816 LIBS=$ac_check_lib_save_LIBS
14818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14819 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14820 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14821 then :
14823 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14828 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14829 then :
14830 case "x$with_xshape" in
14831 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14832 xno) ;;
14833 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14834 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14835 esac
14839 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14840 then
14841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14842 printf %s "checking for -lXxf86vm... " >&6; }
14843 if test ${ac_cv_lib_soname_Xxf86vm+y}
14844 then :
14845 printf %s "(cached) " >&6
14846 else $as_nop
14847 ac_check_soname_save_LIBS=$LIBS
14848 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14850 /* end confdefs.h. */
14852 /* Override any GCC internal prototype to avoid an error.
14853 Use char because int might match the return type of a GCC
14854 builtin and then its argument prototype would still apply. */
14855 char XF86VidModeQueryExtension ();
14857 main (void)
14859 return XF86VidModeQueryExtension ();
14861 return 0;
14863 _ACEOF
14864 if ac_fn_c_try_link "$LINENO"
14865 then :
14866 case "$LIBEXT" in
14867 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14868 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'` ;;
14869 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14870 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14871 then :
14872 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14873 fi ;;
14874 esac
14875 else $as_nop
14876 ac_cv_lib_soname_Xxf86vm=
14878 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14879 conftest$ac_exeext conftest.$ac_ext
14880 LIBS=$ac_check_soname_save_LIBS
14882 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14883 then :
14884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14885 printf "%s\n" "not found" >&6; }
14887 else $as_nop
14888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14889 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14891 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14896 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14897 then :
14898 case "x$with_xxf86vm" in
14899 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14900 xno) ;;
14901 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14902 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14903 esac
14907 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14908 then
14909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14910 printf %s "checking for -lXrender... " >&6; }
14911 if test ${ac_cv_lib_soname_Xrender+y}
14912 then :
14913 printf %s "(cached) " >&6
14914 else $as_nop
14915 ac_check_soname_save_LIBS=$LIBS
14916 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14918 /* end confdefs.h. */
14920 /* Override any GCC internal prototype to avoid an error.
14921 Use char because int might match the return type of a GCC
14922 builtin and then its argument prototype would still apply. */
14923 char XRenderQueryExtension ();
14925 main (void)
14927 return XRenderQueryExtension ();
14929 return 0;
14931 _ACEOF
14932 if ac_fn_c_try_link "$LINENO"
14933 then :
14934 case "$LIBEXT" in
14935 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14936 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'` ;;
14937 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14938 if ${ac_cv_lib_soname_Xrender:+false} :
14939 then :
14940 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14941 fi ;;
14942 esac
14943 else $as_nop
14944 ac_cv_lib_soname_Xrender=
14946 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14947 conftest$ac_exeext conftest.$ac_ext
14948 LIBS=$ac_check_soname_save_LIBS
14950 if ${ac_cv_lib_soname_Xrender:+false} :
14951 then :
14952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14953 printf "%s\n" "not found" >&6; }
14955 else $as_nop
14956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14957 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14959 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14962 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14963 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14964 then :
14965 printf %s "(cached) " >&6
14966 else $as_nop
14967 ac_check_lib_save_LIBS=$LIBS
14968 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14970 /* end confdefs.h. */
14972 /* Override any GCC internal prototype to avoid an error.
14973 Use char because int might match the return type of a GCC
14974 builtin and then its argument prototype would still apply. */
14975 char XRenderSetPictureTransform ();
14977 main (void)
14979 return XRenderSetPictureTransform ();
14981 return 0;
14983 _ACEOF
14984 if ac_fn_c_try_link "$LINENO"
14985 then :
14986 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14987 else $as_nop
14988 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14990 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14991 conftest$ac_exeext conftest.$ac_ext
14992 LIBS=$ac_check_lib_save_LIBS
14994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14995 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14996 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14997 then :
14999 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15004 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15005 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15006 then :
15007 printf %s "(cached) " >&6
15008 else $as_nop
15009 ac_check_lib_save_LIBS=$LIBS
15010 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15012 /* end confdefs.h. */
15014 /* Override any GCC internal prototype to avoid an error.
15015 Use char because int might match the return type of a GCC
15016 builtin and then its argument prototype would still apply. */
15017 char XRenderCreateLinearGradient ();
15019 main (void)
15021 return XRenderCreateLinearGradient ();
15023 return 0;
15025 _ACEOF
15026 if ac_fn_c_try_link "$LINENO"
15027 then :
15028 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15029 else $as_nop
15030 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15032 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15033 conftest$ac_exeext conftest.$ac_ext
15034 LIBS=$ac_check_lib_save_LIBS
15036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15037 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15038 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15039 then :
15041 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15048 if test "x$ac_cv_lib_soname_Xrender" = "x"
15049 then :
15050 case "x$with_xrender" in
15051 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15052 xno) ;;
15053 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15054 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15055 esac
15059 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15060 then
15061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15062 /* end confdefs.h. */
15063 #include <X11/Xlib.h>
15064 #include <X11/extensions/Xrandr.h>
15066 main (void)
15068 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15070 return 0;
15072 _ACEOF
15073 if ac_fn_c_try_compile "$LINENO"
15074 then :
15075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15076 printf %s "checking for -lXrandr... " >&6; }
15077 if test ${ac_cv_lib_soname_Xrandr+y}
15078 then :
15079 printf %s "(cached) " >&6
15080 else $as_nop
15081 ac_check_soname_save_LIBS=$LIBS
15082 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15084 /* end confdefs.h. */
15086 /* Override any GCC internal prototype to avoid an error.
15087 Use char because int might match the return type of a GCC
15088 builtin and then its argument prototype would still apply. */
15089 char XRRQueryExtension ();
15091 main (void)
15093 return XRRQueryExtension ();
15095 return 0;
15097 _ACEOF
15098 if ac_fn_c_try_link "$LINENO"
15099 then :
15100 case "$LIBEXT" in
15101 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15102 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'` ;;
15103 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15104 if ${ac_cv_lib_soname_Xrandr:+false} :
15105 then :
15106 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15107 fi ;;
15108 esac
15109 else $as_nop
15110 ac_cv_lib_soname_Xrandr=
15112 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15113 conftest$ac_exeext conftest.$ac_ext
15114 LIBS=$ac_check_soname_save_LIBS
15116 if ${ac_cv_lib_soname_Xrandr:+false} :
15117 then :
15118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15119 printf "%s\n" "not found" >&6; }
15121 else $as_nop
15122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15123 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15125 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15128 /* end confdefs.h. */
15129 #include <X11/Xlib.h>
15130 #include <X11/extensions/Xrandr.h>
15132 main (void)
15134 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15136 return 0;
15138 _ACEOF
15139 if ac_fn_c_try_compile "$LINENO"
15140 then :
15142 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15144 else $as_nop
15145 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15147 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15150 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15152 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15153 then :
15154 case "x$with_xrandr" in
15155 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15156 xno) ;;
15157 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15158 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15159 esac
15163 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15164 then
15165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15166 /* end confdefs.h. */
15167 #include <X11/Xlib.h>
15168 #include <X11/extensions/Xfixes.h>
15170 main (void)
15172 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15174 return 0;
15176 _ACEOF
15177 if ac_fn_c_try_compile "$LINENO"
15178 then :
15179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15180 printf %s "checking for -lXfixes... " >&6; }
15181 if test ${ac_cv_lib_soname_Xfixes+y}
15182 then :
15183 printf %s "(cached) " >&6
15184 else $as_nop
15185 ac_check_soname_save_LIBS=$LIBS
15186 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15188 /* end confdefs.h. */
15190 /* Override any GCC internal prototype to avoid an error.
15191 Use char because int might match the return type of a GCC
15192 builtin and then its argument prototype would still apply. */
15193 char XFixesQueryVersion ();
15195 main (void)
15197 return XFixesQueryVersion ();
15199 return 0;
15201 _ACEOF
15202 if ac_fn_c_try_link "$LINENO"
15203 then :
15204 case "$LIBEXT" in
15205 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15206 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'` ;;
15207 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15208 if ${ac_cv_lib_soname_Xfixes:+false} :
15209 then :
15210 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15211 fi ;;
15212 esac
15213 else $as_nop
15214 ac_cv_lib_soname_Xfixes=
15216 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15217 conftest$ac_exeext conftest.$ac_ext
15218 LIBS=$ac_check_soname_save_LIBS
15220 if ${ac_cv_lib_soname_Xfixes:+false} :
15221 then :
15222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15223 printf "%s\n" "not found" >&6; }
15225 else $as_nop
15226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15227 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15229 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15234 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15236 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15237 then :
15238 case "x$with_xfixes" in
15239 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15240 xno) ;;
15241 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15242 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15243 esac
15247 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15248 then
15249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15250 /* end confdefs.h. */
15251 #include <X11/Xlib.h>
15252 #include <X11/extensions/Xinerama.h>
15254 main (void)
15256 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15258 return 0;
15260 _ACEOF
15261 if ac_fn_c_try_compile "$LINENO"
15262 then :
15263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15264 printf %s "checking for -lXinerama... " >&6; }
15265 if test ${ac_cv_lib_soname_Xinerama+y}
15266 then :
15267 printf %s "(cached) " >&6
15268 else $as_nop
15269 ac_check_soname_save_LIBS=$LIBS
15270 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15272 /* end confdefs.h. */
15274 /* Override any GCC internal prototype to avoid an error.
15275 Use char because int might match the return type of a GCC
15276 builtin and then its argument prototype would still apply. */
15277 char XineramaQueryScreens ();
15279 main (void)
15281 return XineramaQueryScreens ();
15283 return 0;
15285 _ACEOF
15286 if ac_fn_c_try_link "$LINENO"
15287 then :
15288 case "$LIBEXT" in
15289 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15290 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'` ;;
15291 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15292 if ${ac_cv_lib_soname_Xinerama:+false} :
15293 then :
15294 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15295 fi ;;
15296 esac
15297 else $as_nop
15298 ac_cv_lib_soname_Xinerama=
15300 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15301 conftest$ac_exeext conftest.$ac_ext
15302 LIBS=$ac_check_soname_save_LIBS
15304 if ${ac_cv_lib_soname_Xinerama:+false} :
15305 then :
15306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15307 printf "%s\n" "not found" >&6; }
15309 else $as_nop
15310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15311 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15313 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15318 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15320 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15321 then :
15322 case "x$with_xinerama" in
15323 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15324 xno) ;;
15325 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15326 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15327 esac
15331 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15332 then
15333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15334 printf %s "checking for -lXcomposite... " >&6; }
15335 if test ${ac_cv_lib_soname_Xcomposite+y}
15336 then :
15337 printf %s "(cached) " >&6
15338 else $as_nop
15339 ac_check_soname_save_LIBS=$LIBS
15340 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15342 /* end confdefs.h. */
15344 /* Override any GCC internal prototype to avoid an error.
15345 Use char because int might match the return type of a GCC
15346 builtin and then its argument prototype would still apply. */
15347 char XCompositeRedirectWindow ();
15349 main (void)
15351 return XCompositeRedirectWindow ();
15353 return 0;
15355 _ACEOF
15356 if ac_fn_c_try_link "$LINENO"
15357 then :
15358 case "$LIBEXT" in
15359 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15360 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'` ;;
15361 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15362 if ${ac_cv_lib_soname_Xcomposite:+false} :
15363 then :
15364 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15365 fi ;;
15366 esac
15367 else $as_nop
15368 ac_cv_lib_soname_Xcomposite=
15370 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15371 conftest$ac_exeext conftest.$ac_ext
15372 LIBS=$ac_check_soname_save_LIBS
15374 if ${ac_cv_lib_soname_Xcomposite:+false} :
15375 then :
15376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15377 printf "%s\n" "not found" >&6; }
15379 else $as_nop
15380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15381 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15383 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15388 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15389 then :
15390 case "x$with_xcomposite" in
15391 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15392 xno) ;;
15393 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15394 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15395 esac
15399 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15400 #include <X11/Xlib.h>
15401 #endif
15403 if test "x$ac_cv_member_XICCallback_callback" = xyes
15404 then :
15406 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15410 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15411 #include <X11/Xlib.h>
15412 #endif
15414 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15415 then :
15417 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15424 opengl_msg=""
15425 if test "x$with_opengl" != "xno"
15426 then
15427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15428 printf %s "checking for -lGL... " >&6; }
15429 if test ${ac_cv_lib_soname_GL+y}
15430 then :
15431 printf %s "(cached) " >&6
15432 else $as_nop
15433 ac_check_soname_save_LIBS=$LIBS
15434 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15436 /* end confdefs.h. */
15438 /* Override any GCC internal prototype to avoid an error.
15439 Use char because int might match the return type of a GCC
15440 builtin and then its argument prototype would still apply. */
15441 char glXCreateContext ();
15443 main (void)
15445 return glXCreateContext ();
15447 return 0;
15449 _ACEOF
15450 if ac_fn_c_try_link "$LINENO"
15451 then :
15452 case "$LIBEXT" in
15453 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15454 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'` ;;
15455 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15456 if ${ac_cv_lib_soname_GL:+false} :
15457 then :
15458 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15459 fi ;;
15460 esac
15461 else $as_nop
15462 ac_cv_lib_soname_GL=
15464 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15465 conftest$ac_exeext conftest.$ac_ext
15466 LIBS=$ac_check_soname_save_LIBS
15468 if ${ac_cv_lib_soname_GL:+false} :
15469 then :
15470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15471 printf "%s\n" "not found" >&6; }
15472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15473 printf %s "checking for -lGL... " >&6; }
15474 if test ${ac_cv_lib_soname_GL+y}
15475 then :
15476 printf %s "(cached) " >&6
15477 else $as_nop
15478 ac_check_soname_save_LIBS=$LIBS
15479 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"
15480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15481 /* end confdefs.h. */
15483 /* Override any GCC internal prototype to avoid an error.
15484 Use char because int might match the return type of a GCC
15485 builtin and then its argument prototype would still apply. */
15486 char glXCreateContext ();
15488 main (void)
15490 return glXCreateContext ();
15492 return 0;
15494 _ACEOF
15495 if ac_fn_c_try_link "$LINENO"
15496 then :
15497 case "$LIBEXT" in
15498 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15499 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'` ;;
15500 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15501 if ${ac_cv_lib_soname_GL:+false} :
15502 then :
15503 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15504 fi ;;
15505 esac
15506 else $as_nop
15507 ac_cv_lib_soname_GL=
15509 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15510 conftest$ac_exeext conftest.$ac_ext
15511 LIBS=$ac_check_soname_save_LIBS
15513 if ${ac_cv_lib_soname_GL:+false} :
15514 then :
15515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15516 printf "%s\n" "not found" >&6; }
15517 if test -f /usr/X11R6/lib/libGL.a
15518 then
15519 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15520 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15521 else
15522 opengl_msg="No OpenGL library found on this system."
15524 else $as_nop
15525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15526 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15528 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15530 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"
15532 else $as_nop
15533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15534 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15536 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15538 OPENGL_LIBS="-lGL"
15540 if test "x$with_osmesa" != "xno"
15541 then
15542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15543 printf %s "checking for -lOSMesa... " >&6; }
15544 if test ${ac_cv_lib_soname_OSMesa+y}
15545 then :
15546 printf %s "(cached) " >&6
15547 else $as_nop
15548 ac_check_soname_save_LIBS=$LIBS
15549 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15551 /* end confdefs.h. */
15553 /* Override any GCC internal prototype to avoid an error.
15554 Use char because int might match the return type of a GCC
15555 builtin and then its argument prototype would still apply. */
15556 char OSMesaGetProcAddress ();
15558 main (void)
15560 return OSMesaGetProcAddress ();
15562 return 0;
15564 _ACEOF
15565 if ac_fn_c_try_link "$LINENO"
15566 then :
15567 case "$LIBEXT" in
15568 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15569 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'` ;;
15570 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15571 if ${ac_cv_lib_soname_OSMesa:+false} :
15572 then :
15573 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15574 fi ;;
15575 esac
15576 else $as_nop
15577 ac_cv_lib_soname_OSMesa=
15579 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15580 conftest$ac_exeext conftest.$ac_ext
15581 LIBS=$ac_check_soname_save_LIBS
15583 if ${ac_cv_lib_soname_OSMesa:+false} :
15584 then :
15585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15586 printf "%s\n" "not found" >&6; }
15588 else $as_nop
15589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15590 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15592 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15596 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15597 then :
15598 case "x$with_osmesa" in
15599 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15600 xno) ;;
15601 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15602 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15603 esac
15608 if test -n "$opengl_msg"
15609 then :
15610 case "x$with_opengl" in
15611 x) as_fn_append wine_warnings "|$opengl_msg
15612 OpenGL and Direct3D won't be supported." ;;
15613 xno) ;;
15614 *) as_fn_error $? "$opengl_msg
15615 OpenGL and Direct3D won't be supported.
15616 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15617 esac
15621 CPPFLAGS="$ac_save_CPPFLAGS"
15622 else
15623 X_CFLAGS=""
15624 X_LIBS=""
15627 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15628 then
15629 if test "x$X_LIBS" = "x"
15630 then :
15631 case "x$with_x" in
15632 xno) ;;
15633 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15634 without X support, which probably isn't what you want. You will need
15635 to install ${notice_platform}development packages of Xlib at the very least.
15636 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15637 esac
15638 enable_winex11_drv=${enable_winex11_drv:-no}
15640 else
15641 if test "x$X_LIBS" = "x"
15642 then :
15643 case "x$with_x" in
15644 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15645 xno) ;;
15646 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15647 This is an error since --with-x was requested." "$LINENO" 5 ;;
15648 esac
15649 enable_winex11_drv=${enable_winex11_drv:-no}
15653 if test "$ac_cv_header_CL_cl_h" = "yes"
15654 then
15655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15656 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15657 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15658 then :
15659 printf %s "(cached) " >&6
15660 else $as_nop
15661 ac_check_lib_save_LIBS=$LIBS
15662 LIBS="-lOpenCL $LIBS"
15663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15664 /* end confdefs.h. */
15666 /* Override any GCC internal prototype to avoid an error.
15667 Use char because int might match the return type of a GCC
15668 builtin and then its argument prototype would still apply. */
15669 char clGetPlatformInfo ();
15671 main (void)
15673 return clGetPlatformInfo ();
15675 return 0;
15677 _ACEOF
15678 if ac_fn_c_try_link "$LINENO"
15679 then :
15680 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15681 else $as_nop
15682 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15684 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15685 conftest$ac_exeext conftest.$ac_ext
15686 LIBS=$ac_check_lib_save_LIBS
15688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15689 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15690 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15691 then :
15692 OPENCL_LIBS="-lOpenCL"
15697 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15698 then :
15699 case "x$with_opencl" in
15700 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15701 xno) ;;
15702 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15703 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15704 esac
15705 enable_opencl=${enable_opencl:-no}
15708 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15709 then
15710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15711 printf %s "checking for pcap_create in -lpcap... " >&6; }
15712 if test ${ac_cv_lib_pcap_pcap_create+y}
15713 then :
15714 printf %s "(cached) " >&6
15715 else $as_nop
15716 ac_check_lib_save_LIBS=$LIBS
15717 LIBS="-lpcap $LIBS"
15718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15719 /* end confdefs.h. */
15721 /* Override any GCC internal prototype to avoid an error.
15722 Use char because int might match the return type of a GCC
15723 builtin and then its argument prototype would still apply. */
15724 char pcap_create ();
15726 main (void)
15728 return pcap_create ();
15730 return 0;
15732 _ACEOF
15733 if ac_fn_c_try_link "$LINENO"
15734 then :
15735 ac_cv_lib_pcap_pcap_create=yes
15736 else $as_nop
15737 ac_cv_lib_pcap_pcap_create=no
15739 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15740 conftest$ac_exeext conftest.$ac_ext
15741 LIBS=$ac_check_lib_save_LIBS
15743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15744 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15745 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15746 then :
15747 PCAP_LIBS="-lpcap"
15752 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15753 then :
15754 case "x$with_pcap" in
15755 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15756 xno) ;;
15757 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15758 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15759 esac
15760 enable_wpcap=${enable_wpcap:-no}
15763 if test "x$with_inotify" != "xno"
15764 then
15765 rm -f conftest.err
15766 if ${INOTIFY_CFLAGS:+false} :
15767 then :
15768 if test ${PKG_CONFIG+y}
15769 then :
15770 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15774 if ${INOTIFY_LIBS:+false} :
15775 then :
15776 if test ${PKG_CONFIG+y}
15777 then :
15778 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15783 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15784 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15785 if test -s conftest.err; then
15786 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15787 cat conftest.err >&5
15789 rm -f conftest.err
15790 ac_save_CPPFLAGS=$CPPFLAGS
15791 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15792 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15793 if test "x$ac_cv_header_sys_inotify_h" = xyes
15794 then :
15795 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15800 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15801 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15802 then :
15803 printf %s "(cached) " >&6
15804 else $as_nop
15805 ac_check_lib_save_LIBS=$LIBS
15806 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15808 /* end confdefs.h. */
15810 /* Override any GCC internal prototype to avoid an error.
15811 Use char because int might match the return type of a GCC
15812 builtin and then its argument prototype would still apply. */
15813 char inotify_add_watch ();
15815 main (void)
15817 return inotify_add_watch ();
15819 return 0;
15821 _ACEOF
15822 if ac_fn_c_try_link "$LINENO"
15823 then :
15824 ac_cv_lib_inotify_inotify_add_watch=yes
15825 else $as_nop
15826 ac_cv_lib_inotify_inotify_add_watch=no
15828 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15829 conftest$ac_exeext conftest.$ac_ext
15830 LIBS=$ac_check_lib_save_LIBS
15832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15833 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15834 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15835 then :
15837 else $as_nop
15838 INOTIFY_LIBS=""
15841 CPPFLAGS=$ac_save_CPPFLAGS
15844 if test "$ac_cv_header_sys_inotify_h" != "yes"
15845 then :
15846 case "x$with_inotify" in
15847 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15848 xno) ;;
15849 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15850 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15851 esac
15855 if test "x$with_dbus" != "xno"
15856 then
15857 rm -f conftest.err
15858 if ${DBUS_CFLAGS:+false} :
15859 then :
15860 if test ${PKG_CONFIG+y}
15861 then :
15862 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15866 if ${DBUS_LIBS:+false} :
15867 then :
15868 if test ${PKG_CONFIG+y}
15869 then :
15870 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15875 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15876 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15877 if test -s conftest.err; then
15878 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15879 cat conftest.err >&5
15881 rm -f conftest.err
15882 ac_save_CPPFLAGS=$CPPFLAGS
15883 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15884 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15885 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15886 then :
15887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15888 printf %s "checking for -ldbus-1... " >&6; }
15889 if test ${ac_cv_lib_soname_dbus_1+y}
15890 then :
15891 printf %s "(cached) " >&6
15892 else $as_nop
15893 ac_check_soname_save_LIBS=$LIBS
15894 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15896 /* end confdefs.h. */
15898 /* Override any GCC internal prototype to avoid an error.
15899 Use char because int might match the return type of a GCC
15900 builtin and then its argument prototype would still apply. */
15901 char dbus_connection_close ();
15903 main (void)
15905 return dbus_connection_close ();
15907 return 0;
15909 _ACEOF
15910 if ac_fn_c_try_link "$LINENO"
15911 then :
15912 case "$LIBEXT" in
15913 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15914 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'` ;;
15915 *) 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'`
15916 if ${ac_cv_lib_soname_dbus_1:+false} :
15917 then :
15918 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15919 fi ;;
15920 esac
15921 else $as_nop
15922 ac_cv_lib_soname_dbus_1=
15924 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15925 conftest$ac_exeext conftest.$ac_ext
15926 LIBS=$ac_check_soname_save_LIBS
15928 if ${ac_cv_lib_soname_dbus_1:+false} :
15929 then :
15930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15931 printf "%s\n" "not found" >&6; }
15932 DBUS_CFLAGS=""
15933 else $as_nop
15934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15935 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15937 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15941 else $as_nop
15942 DBUS_CFLAGS=""
15945 CPPFLAGS=$ac_save_CPPFLAGS
15948 case $host_os in
15949 darwin*|macosx*) ;;
15950 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
15951 then :
15952 case "x$with_dbus" in
15953 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
15954 xno) ;;
15955 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
15956 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
15957 esac
15959 fi ;;
15960 esac
15962 if test "x$with_gnutls" != "xno"
15963 then
15964 rm -f conftest.err
15965 if ${GNUTLS_CFLAGS:+false} :
15966 then :
15967 if test ${PKG_CONFIG+y}
15968 then :
15969 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
15973 if ${GNUTLS_LIBS:+false} :
15974 then :
15975 if test ${PKG_CONFIG+y}
15976 then :
15977 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
15981 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
15982 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
15983 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
15984 if test -s conftest.err; then
15985 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
15986 cat conftest.err >&5
15988 rm -f conftest.err
15989 ac_save_CPPFLAGS=$CPPFLAGS
15990 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
15991 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
15992 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
15993 then :
15994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15995 /* end confdefs.h. */
15996 #include <gnutls/gnutls.h>
15997 #include <gnutls/crypto.h>
15999 main (void)
16001 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16003 return 0;
16005 _ACEOF
16006 if ac_fn_c_try_compile "$LINENO"
16007 then :
16008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16009 printf %s "checking for -lgnutls... " >&6; }
16010 if test ${ac_cv_lib_soname_gnutls+y}
16011 then :
16012 printf %s "(cached) " >&6
16013 else $as_nop
16014 ac_check_soname_save_LIBS=$LIBS
16015 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16017 /* end confdefs.h. */
16019 /* Override any GCC internal prototype to avoid an error.
16020 Use char because int might match the return type of a GCC
16021 builtin and then its argument prototype would still apply. */
16022 char gnutls_global_init ();
16024 main (void)
16026 return gnutls_global_init ();
16028 return 0;
16030 _ACEOF
16031 if ac_fn_c_try_link "$LINENO"
16032 then :
16033 case "$LIBEXT" in
16034 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16035 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'` ;;
16036 *) 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'`
16037 if ${ac_cv_lib_soname_gnutls:+false} :
16038 then :
16039 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'`
16040 fi ;;
16041 esac
16042 else $as_nop
16043 ac_cv_lib_soname_gnutls=
16045 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16046 conftest$ac_exeext conftest.$ac_ext
16047 LIBS=$ac_check_soname_save_LIBS
16049 if ${ac_cv_lib_soname_gnutls:+false} :
16050 then :
16051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16052 printf "%s\n" "not found" >&6; }
16053 GNUTLS_CFLAGS=""
16054 else $as_nop
16055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16056 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16058 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16062 ac_wine_check_funcs_save_LIBS="$LIBS"
16063 LIBS="$LIBS $GNUTLS_LIBS"
16065 for ac_func in gnutls_cipher_init
16066 do :
16067 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16068 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16069 then :
16070 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16072 else $as_nop
16073 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16076 done
16077 LIBS="$ac_wine_check_funcs_save_LIBS"
16079 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16080 else $as_nop
16081 GNUTLS_CFLAGS=""
16084 CPPFLAGS=$ac_save_CPPFLAGS
16087 if test "x$ac_cv_lib_soname_gnutls" = "x"
16088 then :
16089 case "x$with_gnutls" in
16090 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16091 xno) ;;
16092 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16093 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16094 esac
16098 if test "x$with_sane" != "xno"
16099 then
16100 rm -f conftest.err
16101 if ${SANE_CFLAGS:+false} :
16102 then :
16103 if test ${PKG_CONFIG+y}
16104 then :
16105 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16108 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16109 if ${SANE_LIBS:+false} :
16110 then :
16111 if test ${PKG_CONFIG+y}
16112 then :
16113 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16116 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16118 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16119 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16120 if test -s conftest.err; then
16121 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16122 cat conftest.err >&5
16124 rm -f conftest.err
16125 ac_save_CPPFLAGS=$CPPFLAGS
16126 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16127 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16128 if test "x$ac_cv_header_sane_sane_h" = xyes
16129 then :
16130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16131 printf %s "checking for sane_init in -lsane... " >&6; }
16132 if test ${ac_cv_lib_sane_sane_init+y}
16133 then :
16134 printf %s "(cached) " >&6
16135 else $as_nop
16136 ac_check_lib_save_LIBS=$LIBS
16137 LIBS="-lsane $SANE_LIBS $LIBS"
16138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16139 /* end confdefs.h. */
16141 /* Override any GCC internal prototype to avoid an error.
16142 Use char because int might match the return type of a GCC
16143 builtin and then its argument prototype would still apply. */
16144 char sane_init ();
16146 main (void)
16148 return sane_init ();
16150 return 0;
16152 _ACEOF
16153 if ac_fn_c_try_link "$LINENO"
16154 then :
16155 ac_cv_lib_sane_sane_init=yes
16156 else $as_nop
16157 ac_cv_lib_sane_sane_init=no
16159 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16160 conftest$ac_exeext conftest.$ac_ext
16161 LIBS=$ac_check_lib_save_LIBS
16163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16164 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16165 if test "x$ac_cv_lib_sane_sane_init" = xyes
16166 then :
16172 CPPFLAGS=$ac_save_CPPFLAGS
16175 if test "$ac_cv_lib_sane_sane_init" != "yes"
16176 then :
16177 case "x$with_sane" in
16178 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16179 xno) ;;
16180 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16181 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16182 esac
16183 enable_sane_ds=${enable_sane_ds:-no}
16186 if test "x$with_usb" != "xno"
16187 then
16188 rm -f conftest.err
16189 if ${USB_CFLAGS:+false} :
16190 then :
16191 if test ${PKG_CONFIG+y}
16192 then :
16193 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16197 if ${USB_LIBS:+false} :
16198 then :
16199 if test ${PKG_CONFIG+y}
16200 then :
16201 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16205 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16206 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16207 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16208 if test -s conftest.err; then
16209 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16210 cat conftest.err >&5
16212 rm -f conftest.err
16213 ac_save_CPPFLAGS=$CPPFLAGS
16214 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16215 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16216 if test "x$ac_cv_header_libusb_h" = xyes
16217 then :
16218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16219 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16220 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16221 then :
16222 printf %s "(cached) " >&6
16223 else $as_nop
16224 ac_check_lib_save_LIBS=$LIBS
16225 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16227 /* end confdefs.h. */
16229 /* Override any GCC internal prototype to avoid an error.
16230 Use char because int might match the return type of a GCC
16231 builtin and then its argument prototype would still apply. */
16232 char libusb_interrupt_event_handler ();
16234 main (void)
16236 return libusb_interrupt_event_handler ();
16238 return 0;
16240 _ACEOF
16241 if ac_fn_c_try_link "$LINENO"
16242 then :
16243 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16244 else $as_nop
16245 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16247 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16248 conftest$ac_exeext conftest.$ac_ext
16249 LIBS=$ac_check_lib_save_LIBS
16251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16252 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16253 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16254 then :
16256 else $as_nop
16257 USB_LIBS=""
16260 else $as_nop
16261 USB_LIBS=""
16264 CPPFLAGS=$ac_save_CPPFLAGS
16267 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16268 then :
16269 case "x$with_usb" in
16270 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16271 xno) ;;
16272 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16273 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16274 esac
16275 enable_wineusb_sys=${enable_wineusb_sys:-no}
16278 if test "x$with_v4l2" != "xno"
16279 then
16280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16281 printf %s "checking for -lv4l2... " >&6; }
16282 if test ${ac_cv_lib_soname_v4l2+y}
16283 then :
16284 printf %s "(cached) " >&6
16285 else $as_nop
16286 ac_check_soname_save_LIBS=$LIBS
16287 LIBS="-lv4l2 $LIBS"
16288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16289 /* end confdefs.h. */
16291 /* Override any GCC internal prototype to avoid an error.
16292 Use char because int might match the return type of a GCC
16293 builtin and then its argument prototype would still apply. */
16294 char v4l2_open ();
16296 main (void)
16298 return v4l2_open ();
16300 return 0;
16302 _ACEOF
16303 if ac_fn_c_try_link "$LINENO"
16304 then :
16305 case "$LIBEXT" in
16306 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16307 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'` ;;
16308 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16309 if ${ac_cv_lib_soname_v4l2:+false} :
16310 then :
16311 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16312 fi ;;
16313 esac
16314 else $as_nop
16315 ac_cv_lib_soname_v4l2=
16317 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16318 conftest$ac_exeext conftest.$ac_ext
16319 LIBS=$ac_check_soname_save_LIBS
16321 if ${ac_cv_lib_soname_v4l2:+false} :
16322 then :
16323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16324 printf "%s\n" "not found" >&6; }
16326 else $as_nop
16327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16328 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16330 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16335 if test "x$ac_cv_lib_soname_v4l2" = "x"
16336 then :
16337 case "x$with_v4l2" in
16338 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16339 xno) ;;
16340 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16341 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16342 esac
16346 if test "x$with_gphoto" != "xno"
16347 then
16348 rm -f conftest.err
16349 if ${GPHOTO2_CFLAGS:+false} :
16350 then :
16351 if test ${PKG_CONFIG+y}
16352 then :
16353 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16356 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16357 if ${GPHOTO2_LIBS:+false} :
16358 then :
16359 if test ${PKG_CONFIG+y}
16360 then :
16361 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16364 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16365 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16366 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16367 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16368 if test -s conftest.err; then
16369 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16370 cat conftest.err >&5
16372 rm -f conftest.err
16373 ac_save_CPPFLAGS=$CPPFLAGS
16374 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16375 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16376 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16377 then :
16378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16379 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16380 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16381 then :
16382 printf %s "(cached) " >&6
16383 else $as_nop
16384 ac_check_lib_save_LIBS=$LIBS
16385 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16387 /* end confdefs.h. */
16389 /* Override any GCC internal prototype to avoid an error.
16390 Use char because int might match the return type of a GCC
16391 builtin and then its argument prototype would still apply. */
16392 char gp_camera_new ();
16394 main (void)
16396 return gp_camera_new ();
16398 return 0;
16400 _ACEOF
16401 if ac_fn_c_try_link "$LINENO"
16402 then :
16403 ac_cv_lib_gphoto2_gp_camera_new=yes
16404 else $as_nop
16405 ac_cv_lib_gphoto2_gp_camera_new=no
16407 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16408 conftest$ac_exeext conftest.$ac_ext
16409 LIBS=$ac_check_lib_save_LIBS
16411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16412 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16413 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16414 then :
16420 CPPFLAGS=$ac_save_CPPFLAGS
16422 rm -f conftest.err
16423 if ${GPHOTO2_PORT_CFLAGS:+false} :
16424 then :
16425 if test ${PKG_CONFIG+y}
16426 then :
16427 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16430 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16431 if ${GPHOTO2_PORT_LIBS:+false} :
16432 then :
16433 if test ${PKG_CONFIG+y}
16434 then :
16435 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16438 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16439 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16440 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16441 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16442 if test -s conftest.err; then
16443 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16444 cat conftest.err >&5
16446 rm -f conftest.err
16447 ac_save_CPPFLAGS=$CPPFLAGS
16448 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16449 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16450 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16451 then :
16452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16453 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16454 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16455 then :
16456 printf %s "(cached) " >&6
16457 else $as_nop
16458 ac_check_lib_save_LIBS=$LIBS
16459 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16461 /* end confdefs.h. */
16463 /* Override any GCC internal prototype to avoid an error.
16464 Use char because int might match the return type of a GCC
16465 builtin and then its argument prototype would still apply. */
16466 char gp_port_info_list_new ();
16468 main (void)
16470 return gp_port_info_list_new ();
16472 return 0;
16474 _ACEOF
16475 if ac_fn_c_try_link "$LINENO"
16476 then :
16477 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16478 else $as_nop
16479 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16481 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16482 conftest$ac_exeext conftest.$ac_ext
16483 LIBS=$ac_check_lib_save_LIBS
16485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16486 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16487 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16488 then :
16490 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16492 else $as_nop
16493 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16496 else $as_nop
16497 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16500 CPPFLAGS=$ac_save_CPPFLAGS
16503 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16504 then :
16505 case "x$with_gphoto" in
16506 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16507 xno) ;;
16508 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16509 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16510 esac
16511 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16513 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16514 then :
16515 case "x$with_gphoto" in
16516 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16517 xno) ;;
16518 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16519 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16520 esac
16525 if test "$ac_cv_header_resolv_h" = "yes"
16526 then
16527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16528 printf %s "checking for resolver library... " >&6; }
16529 if test ${ac_cv_have_resolv+y}
16530 then :
16531 printf %s "(cached) " >&6
16532 else $as_nop
16533 ac_save_LIBS="$LIBS"
16534 for lib in '' -lresolv
16536 LIBS="$lib $ac_save_LIBS"
16537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16538 /* end confdefs.h. */
16539 #ifdef HAVE_NETINET_IN_H
16540 #include <netinet/in.h>
16541 #endif
16542 #include <resolv.h>
16544 main (void)
16546 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16548 return 0;
16550 _ACEOF
16551 if ac_fn_c_try_link "$LINENO"
16552 then :
16553 ac_cv_have_resolv=${lib:-"none required"}
16554 else $as_nop
16555 ac_cv_have_resolv="not found"
16557 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16558 conftest$ac_exeext conftest.$ac_ext
16559 test "x$ac_cv_have_resolv" = "xnot found" || break
16560 done
16561 LIBS="$ac_save_LIBS"
16563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16564 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16566 case "$ac_cv_have_resolv" in
16567 "not found") ;;
16568 "none required")
16570 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16573 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16575 RESOLV_LIBS=$ac_cv_have_resolv
16577 esac
16579 if test "x$ac_cv_have_resolv" != "xnot found"
16580 then
16581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16582 printf %s "checking for res_getservers... " >&6; }
16583 if test ${ac_cv_have_res_getservers+y}
16584 then :
16585 printf %s "(cached) " >&6
16586 else $as_nop
16587 ac_save_LIBS="$LIBS"
16588 LIBS="$RESOLV_LIBS $LIBS"
16589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16590 /* end confdefs.h. */
16591 #include <resolv.h>
16593 main (void)
16595 res_getservers(NULL, NULL, 0);
16597 return 0;
16599 _ACEOF
16600 if ac_fn_c_try_link "$LINENO"
16601 then :
16602 ac_cv_have_res_getservers=yes
16603 else $as_nop
16604 ac_cv_have_res_getservers=no
16606 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16607 conftest$ac_exeext conftest.$ac_ext
16608 LIBS="$ac_save_LIBS"
16610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16611 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16612 if test "$ac_cv_have_res_getservers" = "yes"
16613 then
16615 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16621 if test "x$with_freetype" != "xno"
16622 then
16623 rm -f conftest.err
16624 if ${FREETYPE_CFLAGS:+false} :
16625 then :
16626 if test ${PKG_CONFIG+y}
16627 then :
16628 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16631 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16632 if ${FREETYPE_LIBS:+false} :
16633 then :
16634 if test ${PKG_CONFIG+y}
16635 then :
16636 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16639 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16640 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16641 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16642 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16643 if test -s conftest.err; then
16644 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16645 cat conftest.err >&5
16647 rm -f conftest.err
16648 ac_save_CPPFLAGS=$CPPFLAGS
16649 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16650 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16651 if test "x$ac_cv_header_ft2build_h" = xyes
16652 then :
16653 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16657 if test "$ac_cv_header_ft2build_h" = "yes"
16658 then
16659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16660 printf %s "checking for -lfreetype... " >&6; }
16661 if test ${ac_cv_lib_soname_freetype+y}
16662 then :
16663 printf %s "(cached) " >&6
16664 else $as_nop
16665 ac_check_soname_save_LIBS=$LIBS
16666 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16668 /* end confdefs.h. */
16670 /* Override any GCC internal prototype to avoid an error.
16671 Use char because int might match the return type of a GCC
16672 builtin and then its argument prototype would still apply. */
16673 char FT_Init_FreeType ();
16675 main (void)
16677 return FT_Init_FreeType ();
16679 return 0;
16681 _ACEOF
16682 if ac_fn_c_try_link "$LINENO"
16683 then :
16684 case "$LIBEXT" in
16685 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16686 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'` ;;
16687 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16688 if ${ac_cv_lib_soname_freetype:+false} :
16689 then :
16690 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16691 fi ;;
16692 esac
16693 else $as_nop
16694 ac_cv_lib_soname_freetype=
16696 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16697 conftest$ac_exeext conftest.$ac_ext
16698 LIBS=$ac_check_soname_save_LIBS
16700 if ${ac_cv_lib_soname_freetype:+false} :
16701 then :
16702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16703 printf "%s\n" "not found" >&6; }
16704 FREETYPE_LIBS=""
16705 else $as_nop
16706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16707 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16709 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16712 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16714 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16715 #include FT_MODULE_H
16717 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16718 then :
16720 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16726 else
16727 FREETYPE_CFLAGS=""
16728 FREETYPE_LIBS=""
16730 CPPFLAGS=$ac_save_CPPFLAGS
16733 if test "x$ac_cv_lib_soname_freetype" = x
16734 then :
16735 case "x$with_freetype" in
16736 xno) ;;
16737 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16738 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16739 esac
16740 enable_fonts=${enable_fonts:-no}
16743 ac_wine_check_funcs_save_LIBS="$LIBS"
16744 LIBS="$LIBS $PTHREAD_LIBS"
16745 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16746 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16747 then :
16748 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16752 LIBS="$ac_wine_check_funcs_save_LIBS"
16754 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16755 then
16756 if test "$ac_cv_header_gettext_po_h" = "yes"
16757 then
16758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16759 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16760 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16761 then :
16762 printf %s "(cached) " >&6
16763 else $as_nop
16764 ac_check_lib_save_LIBS=$LIBS
16765 LIBS="-lgettextpo $LIBS"
16766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16767 /* end confdefs.h. */
16769 /* Override any GCC internal prototype to avoid an error.
16770 Use char because int might match the return type of a GCC
16771 builtin and then its argument prototype would still apply. */
16772 char po_message_msgctxt ();
16774 main (void)
16776 return po_message_msgctxt ();
16778 return 0;
16780 _ACEOF
16781 if ac_fn_c_try_link "$LINENO"
16782 then :
16783 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16784 else $as_nop
16785 ac_cv_lib_gettextpo_po_message_msgctxt=no
16787 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16788 conftest$ac_exeext conftest.$ac_ext
16789 LIBS=$ac_check_lib_save_LIBS
16791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16792 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16793 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16794 then :
16796 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16798 GETTEXTPO_LIBS="-lgettextpo"
16803 if test "x$GETTEXTPO_LIBS" = "x"
16804 then :
16805 case "x$with_gettextpo" in
16806 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16807 xno) ;;
16808 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16809 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16810 esac
16813 if test "$srcdir" != .
16814 then :
16815 case "x$with_gettextpo" in
16816 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16817 xno) ;;
16818 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16819 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16820 esac
16825 if test "x$with_pulse" != "xno";
16826 then
16827 rm -f conftest.err
16828 if ${PULSE_CFLAGS:+false} :
16829 then :
16830 if test ${PKG_CONFIG+y}
16831 then :
16832 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16836 if ${PULSE_LIBS:+false} :
16837 then :
16838 if test ${PKG_CONFIG+y}
16839 then :
16840 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16845 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16846 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16847 if test -s conftest.err; then
16848 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16849 cat conftest.err >&5
16851 rm -f conftest.err
16852 ac_save_CPPFLAGS=$CPPFLAGS
16853 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16854 for ac_header in pulse/pulseaudio.h
16855 do :
16856 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16857 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16858 then :
16859 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16861 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16862 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16863 then :
16864 printf %s "(cached) " >&6
16865 else $as_nop
16866 ac_check_lib_save_LIBS=$LIBS
16867 LIBS="-lpulse $PULSE_LIBS $LIBS"
16868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16869 /* end confdefs.h. */
16871 /* Override any GCC internal prototype to avoid an error.
16872 Use char because int might match the return type of a GCC
16873 builtin and then its argument prototype would still apply. */
16874 char pa_stream_is_corked ();
16876 main (void)
16878 return pa_stream_is_corked ();
16880 return 0;
16882 _ACEOF
16883 if ac_fn_c_try_link "$LINENO"
16884 then :
16885 ac_cv_lib_pulse_pa_stream_is_corked=yes
16886 else $as_nop
16887 ac_cv_lib_pulse_pa_stream_is_corked=no
16889 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16890 conftest$ac_exeext conftest.$ac_ext
16891 LIBS=$ac_check_lib_save_LIBS
16893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16894 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16895 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16896 then :
16898 else $as_nop
16899 PULSE_LIBS=""
16902 else $as_nop
16903 PULSE_LIBS=""
16906 done
16907 CPPFLAGS=$ac_save_CPPFLAGS
16910 if test -z "$PULSE_LIBS"
16911 then :
16912 case "x$with_pulse" in
16913 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16914 xno) ;;
16915 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16916 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16917 esac
16918 enable_winepulse_drv=${enable_winepulse_drv:-no}
16921 if test "x$with_gstreamer" != "xno"
16922 then
16923 rm -f conftest.err
16924 if ${GSTREAMER_CFLAGS:+false} :
16925 then :
16926 if test ${PKG_CONFIG+y}
16927 then :
16928 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
16932 if ${GSTREAMER_LIBS:+false} :
16933 then :
16934 if test ${PKG_CONFIG+y}
16935 then :
16936 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
16941 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
16942 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
16943 if test -s conftest.err; then
16944 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
16945 cat conftest.err >&5
16947 rm -f conftest.err
16948 ac_save_CPPFLAGS=$CPPFLAGS
16949 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16950 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16951 if test "x$ac_cv_header_gst_gst_h" = xyes
16952 then :
16953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16954 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16956 /* end confdefs.h. */
16957 #include <gst/gst.h>
16959 main (void)
16961 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16963 return 0;
16965 _ACEOF
16966 if ac_fn_c_try_compile "$LINENO"
16967 then :
16968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16969 printf "%s\n" "yes" >&6; }
16970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
16971 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
16972 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
16973 then :
16974 printf %s "(cached) " >&6
16975 else $as_nop
16976 ac_check_lib_save_LIBS=$LIBS
16977 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
16978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16979 /* end confdefs.h. */
16981 /* Override any GCC internal prototype to avoid an error.
16982 Use char because int might match the return type of a GCC
16983 builtin and then its argument prototype would still apply. */
16984 char gst_pad_new ();
16986 main (void)
16988 return gst_pad_new ();
16990 return 0;
16992 _ACEOF
16993 if ac_fn_c_try_link "$LINENO"
16994 then :
16995 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
16996 else $as_nop
16997 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
16999 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17000 conftest$ac_exeext conftest.$ac_ext
17001 LIBS=$ac_check_lib_save_LIBS
17003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17004 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17005 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17006 then :
17010 else $as_nop
17011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17012 printf "%s\n" "no" >&6; }
17013 ac_glib2_broken=yes
17014 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17016 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17019 CPPFLAGS=$ac_save_CPPFLAGS
17022 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17023 then :
17024 case "x$with_gstreamer" in
17025 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17026 xno) ;;
17027 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17028 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17029 esac
17030 enable_winegstreamer=${enable_winegstreamer:-no}
17033 ALSA_LIBS=""
17035 if test "x$with_alsa" != "xno"
17036 then
17037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17038 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17039 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17040 then :
17041 printf %s "(cached) " >&6
17042 else $as_nop
17043 ac_check_lib_save_LIBS=$LIBS
17044 LIBS="-lasound $LIBS"
17045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17046 /* end confdefs.h. */
17048 /* Override any GCC internal prototype to avoid an error.
17049 Use char because int might match the return type of a GCC
17050 builtin and then its argument prototype would still apply. */
17051 char snd_pcm_hw_params_get_access_mask ();
17053 main (void)
17055 return snd_pcm_hw_params_get_access_mask ();
17057 return 0;
17059 _ACEOF
17060 if ac_fn_c_try_link "$LINENO"
17061 then :
17062 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17063 else $as_nop
17064 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17067 conftest$ac_exeext conftest.$ac_ext
17068 LIBS=$ac_check_lib_save_LIBS
17070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17071 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17072 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17073 then :
17074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17075 /* end confdefs.h. */
17076 #include <alsa/asoundlib.h>
17078 main (void)
17080 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17082 return 0;
17084 _ACEOF
17085 if ac_fn_c_try_compile "$LINENO"
17086 then :
17087 ALSA_LIBS="-lasound"
17089 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17093 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17095 if test "x$with_oss" != xno
17096 then
17097 ac_save_CPPFLAGS="$CPPFLAGS"
17098 if test -f /etc/oss.conf
17099 then
17100 . /etc/oss.conf
17102 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17103 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17104 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17105 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17106 then :
17107 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17109 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17110 then :
17112 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17114 OSS4_CFLAGS="$ac_oss_incl"
17116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17117 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17118 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17119 then :
17120 printf %s "(cached) " >&6
17121 else $as_nop
17122 ac_check_lib_save_LIBS=$LIBS
17123 LIBS="-lossaudio $LIBS"
17124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17125 /* end confdefs.h. */
17127 /* Override any GCC internal prototype to avoid an error.
17128 Use char because int might match the return type of a GCC
17129 builtin and then its argument prototype would still apply. */
17130 char _oss_ioctl ();
17132 main (void)
17134 return _oss_ioctl ();
17136 return 0;
17138 _ACEOF
17139 if ac_fn_c_try_link "$LINENO"
17140 then :
17141 ac_cv_lib_ossaudio__oss_ioctl=yes
17142 else $as_nop
17143 ac_cv_lib_ossaudio__oss_ioctl=no
17145 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17146 conftest$ac_exeext conftest.$ac_ext
17147 LIBS=$ac_check_lib_save_LIBS
17149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17150 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17151 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17152 then :
17153 OSS4_LIBS="-lossaudio"
17161 CPPFLAGS="$ac_save_CPPFLAGS"
17163 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17164 then :
17165 case "x$with_oss" in
17166 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17167 xno) ;;
17168 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17169 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17170 esac
17171 enable_wineoss_drv=${enable_wineoss_drv:-no}
17174 if test "x$with_udev" != "xno"
17175 then
17176 rm -f conftest.err
17177 if ${UDEV_CFLAGS:+false} :
17178 then :
17179 if test ${PKG_CONFIG+y}
17180 then :
17181 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17185 if ${UDEV_LIBS:+false} :
17186 then :
17187 if test ${PKG_CONFIG+y}
17188 then :
17189 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17193 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17194 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17195 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17196 if test -s conftest.err; then
17197 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17198 cat conftest.err >&5
17200 rm -f conftest.err
17201 ac_save_CPPFLAGS=$CPPFLAGS
17202 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17203 for ac_header in libudev.h
17204 do :
17205 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17206 if test "x$ac_cv_header_libudev_h" = xyes
17207 then :
17208 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17210 printf %s "checking for udev_new in -ludev... " >&6; }
17211 if test ${ac_cv_lib_udev_udev_new+y}
17212 then :
17213 printf %s "(cached) " >&6
17214 else $as_nop
17215 ac_check_lib_save_LIBS=$LIBS
17216 LIBS="-ludev $UDEV_LIBS $LIBS"
17217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17218 /* end confdefs.h. */
17220 /* Override any GCC internal prototype to avoid an error.
17221 Use char because int might match the return type of a GCC
17222 builtin and then its argument prototype would still apply. */
17223 char udev_new ();
17225 main (void)
17227 return udev_new ();
17229 return 0;
17231 _ACEOF
17232 if ac_fn_c_try_link "$LINENO"
17233 then :
17234 ac_cv_lib_udev_udev_new=yes
17235 else $as_nop
17236 ac_cv_lib_udev_udev_new=no
17238 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17239 conftest$ac_exeext conftest.$ac_ext
17240 LIBS=$ac_check_lib_save_LIBS
17242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17243 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17244 if test "x$ac_cv_lib_udev_udev_new" = xyes
17245 then :
17247 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17249 else $as_nop
17250 UDEV_LIBS=""
17253 else $as_nop
17254 UDEV_LIBS=""
17257 done
17258 CPPFLAGS=$ac_save_CPPFLAGS
17261 if test "x$UDEV_LIBS" = "x"
17262 then :
17263 case "x$with_udev" in
17264 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17265 xno) ;;
17266 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17267 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17268 esac
17272 if test "x$with_unwind" != xno
17273 then
17274 rm -f conftest.err
17275 if ${UNWIND_CFLAGS:+false} :
17276 then :
17277 if test ${PKG_CONFIG+y}
17278 then :
17279 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17283 if ${UNWIND_LIBS:+false} :
17284 then :
17285 if test ${PKG_CONFIG+y}
17286 then :
17287 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17291 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17293 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17294 if test -s conftest.err; then
17295 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17296 cat conftest.err >&5
17298 rm -f conftest.err
17299 ac_save_CPPFLAGS=$CPPFLAGS
17300 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17302 printf %s "checking for unw_step... " >&6; }
17303 if test ${wine_cv_have_unw_step+y}
17304 then :
17305 printf %s "(cached) " >&6
17306 else $as_nop
17307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17308 /* end confdefs.h. */
17309 #define UNW_LOCAL_ONLY
17310 #include <libunwind.h>
17312 main (void)
17314 unw_cursor_t cursor; unw_step( &cursor );
17316 return 0;
17318 _ACEOF
17319 if ac_fn_c_try_link "$LINENO"
17320 then :
17321 wine_cv_have_unw_step="yes"
17322 else $as_nop
17323 wine_cv_have_unw_step="no"
17325 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17326 conftest$ac_exeext conftest.$ac_ext
17328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17329 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17330 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17331 then
17332 save_libs=$LIBS
17333 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17334 LIBS="$UNWIND_LIBS $LIBS"
17335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17336 printf %s "checking for unw_step in libunwind... " >&6; }
17337 if test ${wine_cv_have_libunwind_unw_step+y}
17338 then :
17339 printf %s "(cached) " >&6
17340 else $as_nop
17341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17342 /* end confdefs.h. */
17343 #define UNW_LOCAL_ONLY
17344 #include <libunwind.h>
17346 main (void)
17348 unw_cursor_t cursor; unw_step( &cursor );
17350 return 0;
17352 _ACEOF
17353 if ac_fn_c_try_link "$LINENO"
17354 then :
17355 wine_cv_have_libunwind_unw_step="yes"
17356 else $as_nop
17357 wine_cv_have_libunwind_unw_step="no"
17359 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17360 conftest$ac_exeext conftest.$ac_ext
17362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17363 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17364 LIBS=$save_libs
17366 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17367 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17368 then
17370 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17373 CPPFLAGS=$ac_save_CPPFLAGS
17376 case $host in
17377 aarch64*|*-darwin*)
17378 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17379 then :
17380 case "x$with_unwind" in
17381 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17382 xno) ;;
17383 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17384 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17385 esac
17387 fi ;;
17388 esac
17390 if test "x$with_sdl" != "xno"
17391 then
17392 rm -f conftest.err
17393 if ${SDL2_CFLAGS:+false} :
17394 then :
17395 if test ${PKG_CONFIG+y}
17396 then :
17397 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17401 if ${SDL2_LIBS:+false} :
17402 then :
17403 if test ${PKG_CONFIG+y}
17404 then :
17405 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17409 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17410 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17411 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17412 if test -s conftest.err; then
17413 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17414 cat conftest.err >&5
17416 rm -f conftest.err
17417 ac_save_CPPFLAGS=$CPPFLAGS
17418 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17419 for ac_header in SDL.h
17420 do :
17421 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17422 if test "x$ac_cv_header_SDL_h" = xyes
17423 then :
17424 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17426 printf %s "checking for -lSDL2... " >&6; }
17427 if test ${ac_cv_lib_soname_SDL2+y}
17428 then :
17429 printf %s "(cached) " >&6
17430 else $as_nop
17431 ac_check_soname_save_LIBS=$LIBS
17432 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17434 /* end confdefs.h. */
17436 /* Override any GCC internal prototype to avoid an error.
17437 Use char because int might match the return type of a GCC
17438 builtin and then its argument prototype would still apply. */
17439 char SDL_Init ();
17441 main (void)
17443 return SDL_Init ();
17445 return 0;
17447 _ACEOF
17448 if ac_fn_c_try_link "$LINENO"
17449 then :
17450 case "$LIBEXT" in
17451 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17452 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'` ;;
17453 *) 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'`
17454 if ${ac_cv_lib_soname_SDL2:+false} :
17455 then :
17456 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17457 fi ;;
17458 esac
17459 else $as_nop
17460 ac_cv_lib_soname_SDL2=
17462 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17463 conftest$ac_exeext conftest.$ac_ext
17464 LIBS=$ac_check_soname_save_LIBS
17466 if ${ac_cv_lib_soname_SDL2:+false} :
17467 then :
17468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17469 printf "%s\n" "not found" >&6; }
17471 else $as_nop
17472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17473 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17475 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17481 done
17482 CPPFLAGS=$ac_save_CPPFLAGS
17485 if test "x$ac_cv_lib_soname_SDL2" = "x"
17486 then :
17487 case "x$with_sdl" in
17488 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17489 xno) ;;
17490 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17491 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17492 esac
17496 if test "x$with_capi" != "xno"
17497 then
17498 rm -f conftest.err
17499 if ${CAPI20_CFLAGS:+false} :
17500 then :
17501 if test ${PKG_CONFIG+y}
17502 then :
17503 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17507 if ${CAPI20_LIBS:+false} :
17508 then :
17509 if test ${PKG_CONFIG+y}
17510 then :
17511 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17516 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17517 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17518 if test -s conftest.err; then
17519 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17520 cat conftest.err >&5
17522 rm -f conftest.err
17523 ac_save_CPPFLAGS=$CPPFLAGS
17524 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17525 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17527 if test "x$ac_cv_header_capi20_h" = xyes
17528 then :
17529 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17532 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17534 if test "x$ac_cv_header_linux_capi_h" = xyes
17535 then :
17536 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17540 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17541 then
17542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17543 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17544 if test ${ac_cv_lib_capi20_capi20_register+y}
17545 then :
17546 printf %s "(cached) " >&6
17547 else $as_nop
17548 ac_check_lib_save_LIBS=$LIBS
17549 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17551 /* end confdefs.h. */
17553 /* Override any GCC internal prototype to avoid an error.
17554 Use char because int might match the return type of a GCC
17555 builtin and then its argument prototype would still apply. */
17556 char capi20_register ();
17558 main (void)
17560 return capi20_register ();
17562 return 0;
17564 _ACEOF
17565 if ac_fn_c_try_link "$LINENO"
17566 then :
17567 ac_cv_lib_capi20_capi20_register=yes
17568 else $as_nop
17569 ac_cv_lib_capi20_capi20_register=no
17571 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17572 conftest$ac_exeext conftest.$ac_ext
17573 LIBS=$ac_check_lib_save_LIBS
17575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17576 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17577 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17578 then :
17580 else $as_nop
17581 CAPI20_LIBS=""
17585 CPPFLAGS=$ac_save_CPPFLAGS
17588 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17589 then :
17590 case "x$with_capi" in
17591 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17592 xno) ;;
17593 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17594 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17595 esac
17596 enable_capi2032=${enable_capi2032:-no}
17599 if test "x$with_cups" != "xno"
17600 then
17601 rm -f conftest.err
17602 if ${CUPS_CFLAGS:+false} :
17603 then :
17604 if test ${PKG_CONFIG+y}
17605 then :
17606 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17609 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17610 if ${CUPS_LIBS:+false} :
17611 then :
17612 if test ${PKG_CONFIG+y}
17613 then :
17614 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17617 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17618 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17619 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17620 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17621 if test -s conftest.err; then
17622 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17623 cat conftest.err >&5
17625 rm -f conftest.err
17626 ac_save_CPPFLAGS=$CPPFLAGS
17627 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17628 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17629 if test "x$ac_cv_header_cups_cups_h" = xyes
17630 then :
17631 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17634 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17635 if test "x$ac_cv_header_cups_ppd_h" = xyes
17636 then :
17637 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17641 if test "$ac_cv_header_cups_cups_h" = "yes"
17642 then
17643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17644 printf %s "checking for -lcups... " >&6; }
17645 if test ${ac_cv_lib_soname_cups+y}
17646 then :
17647 printf %s "(cached) " >&6
17648 else $as_nop
17649 ac_check_soname_save_LIBS=$LIBS
17650 LIBS="-lcups $CUPS_LIBS $LIBS"
17651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17652 /* end confdefs.h. */
17654 /* Override any GCC internal prototype to avoid an error.
17655 Use char because int might match the return type of a GCC
17656 builtin and then its argument prototype would still apply. */
17657 char cupsGetDefault ();
17659 main (void)
17661 return cupsGetDefault ();
17663 return 0;
17665 _ACEOF
17666 if ac_fn_c_try_link "$LINENO"
17667 then :
17668 case "$LIBEXT" in
17669 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17670 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'` ;;
17671 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17672 if ${ac_cv_lib_soname_cups:+false} :
17673 then :
17674 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17675 fi ;;
17676 esac
17677 else $as_nop
17678 ac_cv_lib_soname_cups=
17680 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17681 conftest$ac_exeext conftest.$ac_ext
17682 LIBS=$ac_check_soname_save_LIBS
17684 if ${ac_cv_lib_soname_cups:+false} :
17685 then :
17686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17687 printf "%s\n" "not found" >&6; }
17688 CUPS_LIBS=""
17689 else $as_nop
17690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17691 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17693 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17697 else
17698 CUPS_CFLAGS=""
17699 CUPS_LIBS=""
17701 CPPFLAGS=$ac_save_CPPFLAGS
17704 if test "x$ac_cv_lib_soname_cups" = "x"
17705 then :
17706 case "x$with_cups" in
17707 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17708 xno) ;;
17709 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17710 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17711 esac
17715 if test "x$with_fontconfig" != "xno"
17716 then
17717 rm -f conftest.err
17718 if ${FONTCONFIG_CFLAGS:+false} :
17719 then :
17720 if test ${PKG_CONFIG+y}
17721 then :
17722 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17725 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17726 if ${FONTCONFIG_LIBS:+false} :
17727 then :
17728 if test ${PKG_CONFIG+y}
17729 then :
17730 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17733 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17735 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17737 if test -s conftest.err; then
17738 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17739 cat conftest.err >&5
17741 rm -f conftest.err
17742 ac_save_CPPFLAGS=$CPPFLAGS
17743 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17744 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17745 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17746 then :
17747 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17751 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17752 then
17753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17754 printf %s "checking for -lfontconfig... " >&6; }
17755 if test ${ac_cv_lib_soname_fontconfig+y}
17756 then :
17757 printf %s "(cached) " >&6
17758 else $as_nop
17759 ac_check_soname_save_LIBS=$LIBS
17760 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17762 /* end confdefs.h. */
17764 /* Override any GCC internal prototype to avoid an error.
17765 Use char because int might match the return type of a GCC
17766 builtin and then its argument prototype would still apply. */
17767 char FcInit ();
17769 main (void)
17771 return FcInit ();
17773 return 0;
17775 _ACEOF
17776 if ac_fn_c_try_link "$LINENO"
17777 then :
17778 case "$LIBEXT" in
17779 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17780 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'` ;;
17781 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17782 if ${ac_cv_lib_soname_fontconfig:+false} :
17783 then :
17784 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17785 fi ;;
17786 esac
17787 else $as_nop
17788 ac_cv_lib_soname_fontconfig=
17790 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17791 conftest$ac_exeext conftest.$ac_ext
17792 LIBS=$ac_check_soname_save_LIBS
17794 if ${ac_cv_lib_soname_fontconfig:+false} :
17795 then :
17796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17797 printf "%s\n" "not found" >&6; }
17798 FONTCONFIG_CFLAGS=""
17799 else $as_nop
17800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17801 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17803 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17807 else
17808 FONTCONFIG_CFLAGS=""
17810 CPPFLAGS=$ac_save_CPPFLAGS
17813 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17814 then :
17815 case "x$with_fontconfig" in
17816 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17817 xno) ;;
17818 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17819 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17820 esac
17824 if test "x$with_krb5" != "xno"
17825 then
17826 rm -f conftest.err
17827 if ${KRB5_CFLAGS:+false} :
17828 then :
17829 if test ${PKG_CONFIG+y}
17830 then :
17831 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17834 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17835 if ${KRB5_LIBS:+false} :
17836 then :
17837 if test ${PKG_CONFIG+y}
17838 then :
17839 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17842 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17844 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17845 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17846 if test -s conftest.err; then
17847 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17848 cat conftest.err >&5
17850 rm -f conftest.err
17851 ac_save_CPPFLAGS=$CPPFLAGS
17852 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17853 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17854 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17855 then :
17856 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17860 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17861 then
17862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17863 printf %s "checking for -lkrb5... " >&6; }
17864 if test ${ac_cv_lib_soname_krb5+y}
17865 then :
17866 printf %s "(cached) " >&6
17867 else $as_nop
17868 ac_check_soname_save_LIBS=$LIBS
17869 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17871 /* end confdefs.h. */
17873 /* Override any GCC internal prototype to avoid an error.
17874 Use char because int might match the return type of a GCC
17875 builtin and then its argument prototype would still apply. */
17876 char krb5_is_config_principal ();
17878 main (void)
17880 return krb5_is_config_principal ();
17882 return 0;
17884 _ACEOF
17885 if ac_fn_c_try_link "$LINENO"
17886 then :
17887 case "$LIBEXT" in
17888 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17889 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'` ;;
17890 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17891 if ${ac_cv_lib_soname_krb5:+false} :
17892 then :
17893 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17894 fi ;;
17895 esac
17896 else $as_nop
17897 ac_cv_lib_soname_krb5=
17899 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17900 conftest$ac_exeext conftest.$ac_ext
17901 LIBS=$ac_check_soname_save_LIBS
17903 if ${ac_cv_lib_soname_krb5:+false} :
17904 then :
17905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17906 printf "%s\n" "not found" >&6; }
17907 KRB5_CFLAGS=""
17908 else $as_nop
17909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17910 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17912 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17916 else
17917 KRB5_CFLAGS=""
17919 CPPFLAGS=$ac_save_CPPFLAGS
17922 if test "x$ac_cv_lib_soname_krb5" = "x"
17923 then :
17924 case "x$with_krb5" in
17925 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17926 xno) ;;
17927 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17928 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17929 esac
17932 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17934 if test "x$with_gssapi" != "xno"
17935 then
17936 rm -f conftest.err
17937 if ${GSSAPI_CFLAGS:+false} :
17938 then :
17939 if test ${PKG_CONFIG+y}
17940 then :
17941 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
17944 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17945 if ${GSSAPI_LIBS:+false} :
17946 then :
17947 if test ${PKG_CONFIG+y}
17948 then :
17949 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17952 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17954 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17956 if test -s conftest.err; then
17957 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
17958 cat conftest.err >&5
17960 rm -f conftest.err
17961 ac_save_CPPFLAGS=$CPPFLAGS
17962 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17963 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17964 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17965 then :
17966 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17969 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17970 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17971 then :
17972 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17976 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17977 then
17978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17979 printf %s "checking for -lgssapi_krb5... " >&6; }
17980 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17981 then :
17982 printf %s "(cached) " >&6
17983 else $as_nop
17984 ac_check_soname_save_LIBS=$LIBS
17985 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17987 /* end confdefs.h. */
17989 /* Override any GCC internal prototype to avoid an error.
17990 Use char because int might match the return type of a GCC
17991 builtin and then its argument prototype would still apply. */
17992 char gss_init_sec_context ();
17994 main (void)
17996 return gss_init_sec_context ();
17998 return 0;
18000 _ACEOF
18001 if ac_fn_c_try_link "$LINENO"
18002 then :
18003 case "$LIBEXT" in
18004 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18005 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'` ;;
18006 *) 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'`
18007 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18008 then :
18009 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18010 fi ;;
18011 esac
18012 else $as_nop
18013 ac_cv_lib_soname_gssapi_krb5=
18015 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18016 conftest$ac_exeext conftest.$ac_ext
18017 LIBS=$ac_check_soname_save_LIBS
18019 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18020 then :
18021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18022 printf "%s\n" "not found" >&6; }
18023 GSSAPI_CFLAGS=""
18024 else $as_nop
18025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18026 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18028 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18032 else
18033 GSSAPI_CFLAGS=""
18035 CPPFLAGS=$ac_save_CPPFLAGS
18038 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18039 then :
18040 case "x$with_gssapi" in
18041 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18042 xno) ;;
18043 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18044 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18045 esac
18049 if test "$ac_cv_header_libprocstat_h" = "yes"
18050 then
18051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18052 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18053 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18054 then :
18055 printf %s "(cached) " >&6
18056 else $as_nop
18057 ac_check_lib_save_LIBS=$LIBS
18058 LIBS="-lprocstat $LIBS"
18059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18060 /* end confdefs.h. */
18062 /* Override any GCC internal prototype to avoid an error.
18063 Use char because int might match the return type of a GCC
18064 builtin and then its argument prototype would still apply. */
18065 char procstat_open_sysctl ();
18067 main (void)
18069 return procstat_open_sysctl ();
18071 return 0;
18073 _ACEOF
18074 if ac_fn_c_try_link "$LINENO"
18075 then :
18076 ac_cv_lib_procstat_procstat_open_sysctl=yes
18077 else $as_nop
18078 ac_cv_lib_procstat_procstat_open_sysctl=no
18080 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18081 conftest$ac_exeext conftest.$ac_ext
18082 LIBS=$ac_check_lib_save_LIBS
18084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18085 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18086 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18087 then :
18089 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18091 PROCSTAT_LIBS="-lprocstat"
18097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18098 printf %s "checking for -lodbc... " >&6; }
18099 if test ${ac_cv_lib_soname_odbc+y}
18100 then :
18101 printf %s "(cached) " >&6
18102 else $as_nop
18103 ac_check_soname_save_LIBS=$LIBS
18104 LIBS="-lodbc $LIBS"
18105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18106 /* end confdefs.h. */
18108 /* Override any GCC internal prototype to avoid an error.
18109 Use char because int might match the return type of a GCC
18110 builtin and then its argument prototype would still apply. */
18111 char SQLConnect ();
18113 main (void)
18115 return SQLConnect ();
18117 return 0;
18119 _ACEOF
18120 if ac_fn_c_try_link "$LINENO"
18121 then :
18122 case "$LIBEXT" in
18123 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18124 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'` ;;
18125 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18126 if ${ac_cv_lib_soname_odbc:+false} :
18127 then :
18128 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18129 fi ;;
18130 esac
18131 else $as_nop
18132 ac_cv_lib_soname_odbc=
18134 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18135 conftest$ac_exeext conftest.$ac_ext
18136 LIBS=$ac_check_soname_save_LIBS
18138 if ${ac_cv_lib_soname_odbc:+false} :
18139 then :
18140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18141 printf "%s\n" "not found" >&6; }
18142 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18144 else $as_nop
18145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18146 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18148 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18153 if test "x$with_netapi" != "xno"
18154 then
18155 rm -f conftest.err
18156 if ${NETAPI_CFLAGS:+false} :
18157 then :
18158 if test ${PKG_CONFIG+y}
18159 then :
18160 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18164 if ${NETAPI_LIBS:+false} :
18165 then :
18166 if test ${PKG_CONFIG+y}
18167 then :
18168 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18174 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18175 if test -s conftest.err; then
18176 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18177 cat conftest.err >&5
18179 rm -f conftest.err
18180 ac_save_CPPFLAGS=$CPPFLAGS
18181 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18183 printf %s "checking for -lnetapi... " >&6; }
18184 if test ${ac_cv_lib_soname_netapi+y}
18185 then :
18186 printf %s "(cached) " >&6
18187 else $as_nop
18188 ac_check_soname_save_LIBS=$LIBS
18189 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18191 /* end confdefs.h. */
18193 /* Override any GCC internal prototype to avoid an error.
18194 Use char because int might match the return type of a GCC
18195 builtin and then its argument prototype would still apply. */
18196 char libnetapi_init ();
18198 main (void)
18200 return libnetapi_init ();
18202 return 0;
18204 _ACEOF
18205 if ac_fn_c_try_link "$LINENO"
18206 then :
18207 case "$LIBEXT" in
18208 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18209 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'` ;;
18210 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18211 if ${ac_cv_lib_soname_netapi:+false} :
18212 then :
18213 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18214 fi ;;
18215 esac
18216 else $as_nop
18217 ac_cv_lib_soname_netapi=
18219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18220 conftest$ac_exeext conftest.$ac_ext
18221 LIBS=$ac_check_soname_save_LIBS
18223 if ${ac_cv_lib_soname_netapi:+false} :
18224 then :
18225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18226 printf "%s\n" "not found" >&6; }
18227 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18229 else $as_nop
18230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18231 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18233 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18237 CPPFLAGS=$ac_save_CPPFLAGS
18240 if test "x$ac_cv_lib_soname_netapi" = "x"
18241 then :
18242 case "x$with_netapi" in
18243 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18244 xno) ;;
18245 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18246 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18247 esac
18248 enable_netapi=${enable_netapi:-no}
18252 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18253 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18254 then
18255 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18258 if test "x$with_vulkan" != "xno"
18259 then
18260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18261 printf %s "checking for -lvulkan... " >&6; }
18262 if test ${ac_cv_lib_soname_vulkan+y}
18263 then :
18264 printf %s "(cached) " >&6
18265 else $as_nop
18266 ac_check_soname_save_LIBS=$LIBS
18267 LIBS="-lvulkan $LIBS"
18268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18269 /* end confdefs.h. */
18271 /* Override any GCC internal prototype to avoid an error.
18272 Use char because int might match the return type of a GCC
18273 builtin and then its argument prototype would still apply. */
18274 char vkGetInstanceProcAddr ();
18276 main (void)
18278 return vkGetInstanceProcAddr ();
18280 return 0;
18282 _ACEOF
18283 if ac_fn_c_try_link "$LINENO"
18284 then :
18285 case "$LIBEXT" in
18286 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18287 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'` ;;
18288 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18289 if ${ac_cv_lib_soname_vulkan:+false} :
18290 then :
18291 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18292 fi ;;
18293 esac
18294 else $as_nop
18295 ac_cv_lib_soname_vulkan=
18297 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18298 conftest$ac_exeext conftest.$ac_ext
18299 LIBS=$ac_check_soname_save_LIBS
18301 if ${ac_cv_lib_soname_vulkan:+false} :
18302 then :
18303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18304 printf "%s\n" "not found" >&6; }
18306 else $as_nop
18307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18308 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18310 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18314 if test "x$ac_cv_lib_soname_vulkan" = "x"
18315 then
18316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18317 printf %s "checking for -lMoltenVK... " >&6; }
18318 if test ${ac_cv_lib_soname_MoltenVK+y}
18319 then :
18320 printf %s "(cached) " >&6
18321 else $as_nop
18322 ac_check_soname_save_LIBS=$LIBS
18323 LIBS="-lMoltenVK $LIBS"
18324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18325 /* end confdefs.h. */
18327 /* Override any GCC internal prototype to avoid an error.
18328 Use char because int might match the return type of a GCC
18329 builtin and then its argument prototype would still apply. */
18330 char vkGetInstanceProcAddr ();
18332 main (void)
18334 return vkGetInstanceProcAddr ();
18336 return 0;
18338 _ACEOF
18339 if ac_fn_c_try_link "$LINENO"
18340 then :
18341 case "$LIBEXT" in
18342 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18343 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'` ;;
18344 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18345 if ${ac_cv_lib_soname_MoltenVK:+false} :
18346 then :
18347 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18348 fi ;;
18349 esac
18350 else $as_nop
18351 ac_cv_lib_soname_MoltenVK=
18353 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18354 conftest$ac_exeext conftest.$ac_ext
18355 LIBS=$ac_check_soname_save_LIBS
18357 if ${ac_cv_lib_soname_MoltenVK:+false} :
18358 then :
18359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18360 printf "%s\n" "not found" >&6; }
18362 else $as_nop
18363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18364 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18366 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18372 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18373 then :
18374 case "x$with_vulkan" in
18375 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18376 xno) ;;
18377 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18378 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18379 esac
18384 if test "x${GCC}" = "xyes"
18385 then
18386 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18388 saved_CFLAGS=$CFLAGS
18389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18390 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18391 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18392 then :
18393 printf %s "(cached) " >&6
18394 else $as_nop
18395 ac_wine_try_cflags_saved=$CFLAGS
18396 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18398 /* end confdefs.h. */
18399 int main(int argc, char **argv) { return 0; }
18400 _ACEOF
18401 if ac_fn_c_try_link "$LINENO"
18402 then :
18403 ac_cv_cflags__Werror_unknown_warning_option=yes
18404 else $as_nop
18405 ac_cv_cflags__Werror_unknown_warning_option=no
18407 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18408 conftest$ac_exeext conftest.$ac_ext
18409 CFLAGS=$ac_wine_try_cflags_saved
18411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18412 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18413 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18414 then :
18415 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18418 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18419 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18420 then :
18421 printf %s "(cached) " >&6
18422 else $as_nop
18423 ac_wine_try_cflags_saved=$CFLAGS
18424 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18426 /* end confdefs.h. */
18427 int main(int argc, char **argv) { return 0; }
18428 _ACEOF
18429 if ac_fn_c_try_link "$LINENO"
18430 then :
18431 ac_cv_cflags__Werror_unused_command_line_argument=yes
18432 else $as_nop
18433 ac_cv_cflags__Werror_unused_command_line_argument=no
18435 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18436 conftest$ac_exeext conftest.$ac_ext
18437 CFLAGS=$ac_wine_try_cflags_saved
18439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18440 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18441 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18442 then :
18443 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18446 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18447 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18448 then :
18449 printf %s "(cached) " >&6
18450 else $as_nop
18451 ac_wine_try_cflags_saved=$CFLAGS
18452 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18454 /* end confdefs.h. */
18455 int main(int argc, char **argv) { return 0; }
18456 _ACEOF
18457 if ac_fn_c_try_link "$LINENO"
18458 then :
18459 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18460 else $as_nop
18461 ac_cv_cflags__Werror_ignored_optimization_argument=no
18463 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18464 conftest$ac_exeext conftest.$ac_ext
18465 CFLAGS=$ac_wine_try_cflags_saved
18467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18468 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18469 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18470 then :
18471 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18474 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18475 if test ${ac_cv_cflags__fcf_protection_none+y}
18476 then :
18477 printf %s "(cached) " >&6
18478 else $as_nop
18479 ac_wine_try_cflags_saved=$CFLAGS
18480 CFLAGS="$CFLAGS -fcf-protection=none"
18481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18482 /* end confdefs.h. */
18483 int main(int argc, char **argv) { return 0; }
18484 _ACEOF
18485 if ac_fn_c_try_link "$LINENO"
18486 then :
18487 ac_cv_cflags__fcf_protection_none=yes
18488 else $as_nop
18489 ac_cv_cflags__fcf_protection_none=no
18491 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18492 conftest$ac_exeext conftest.$ac_ext
18493 CFLAGS=$ac_wine_try_cflags_saved
18495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18496 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18497 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18498 then :
18499 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18502 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18503 if test ${ac_cv_cflags__fno_stack_protector+y}
18504 then :
18505 printf %s "(cached) " >&6
18506 else $as_nop
18507 ac_wine_try_cflags_saved=$CFLAGS
18508 CFLAGS="$CFLAGS -fno-stack-protector"
18509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18510 /* end confdefs.h. */
18511 int main(int argc, char **argv) { return 0; }
18512 _ACEOF
18513 if ac_fn_c_try_link "$LINENO"
18514 then :
18515 ac_cv_cflags__fno_stack_protector=yes
18516 else $as_nop
18517 ac_cv_cflags__fno_stack_protector=no
18519 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18520 conftest$ac_exeext conftest.$ac_ext
18521 CFLAGS=$ac_wine_try_cflags_saved
18523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18524 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18525 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18526 then :
18527 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18530 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18531 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18532 then :
18533 printf %s "(cached) " >&6
18534 else $as_nop
18535 ac_wine_try_cflags_saved=$CFLAGS
18536 CFLAGS="$CFLAGS -fno-strict-aliasing"
18537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18538 /* end confdefs.h. */
18539 int main(int argc, char **argv) { return 0; }
18540 _ACEOF
18541 if ac_fn_c_try_link "$LINENO"
18542 then :
18543 ac_cv_cflags__fno_strict_aliasing=yes
18544 else $as_nop
18545 ac_cv_cflags__fno_strict_aliasing=no
18547 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18548 conftest$ac_exeext conftest.$ac_ext
18549 CFLAGS=$ac_wine_try_cflags_saved
18551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18552 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18553 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18554 then :
18555 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18558 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18559 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18560 then :
18561 printf %s "(cached) " >&6
18562 else $as_nop
18563 ac_wine_try_cflags_saved=$CFLAGS
18564 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18566 /* end confdefs.h. */
18567 int main(int argc, char **argv) { return 0; }
18568 _ACEOF
18569 if ac_fn_c_try_link "$LINENO"
18570 then :
18571 ac_cv_cflags__Wdeclaration_after_statement=yes
18572 else $as_nop
18573 ac_cv_cflags__Wdeclaration_after_statement=no
18575 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18576 conftest$ac_exeext conftest.$ac_ext
18577 CFLAGS=$ac_wine_try_cflags_saved
18579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18580 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18581 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18582 then :
18583 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18586 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18587 if test ${ac_cv_cflags__Wempty_body+y}
18588 then :
18589 printf %s "(cached) " >&6
18590 else $as_nop
18591 ac_wine_try_cflags_saved=$CFLAGS
18592 CFLAGS="$CFLAGS -Wempty-body"
18593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18594 /* end confdefs.h. */
18595 int main(int argc, char **argv) { return 0; }
18596 _ACEOF
18597 if ac_fn_c_try_link "$LINENO"
18598 then :
18599 ac_cv_cflags__Wempty_body=yes
18600 else $as_nop
18601 ac_cv_cflags__Wempty_body=no
18603 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18604 conftest$ac_exeext conftest.$ac_ext
18605 CFLAGS=$ac_wine_try_cflags_saved
18607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18608 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18609 if test "x$ac_cv_cflags__Wempty_body" = xyes
18610 then :
18611 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18614 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18615 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18616 then :
18617 printf %s "(cached) " >&6
18618 else $as_nop
18619 ac_wine_try_cflags_saved=$CFLAGS
18620 CFLAGS="$CFLAGS -Wignored-qualifiers"
18621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18622 /* end confdefs.h. */
18623 int main(int argc, char **argv) { return 0; }
18624 _ACEOF
18625 if ac_fn_c_try_link "$LINENO"
18626 then :
18627 ac_cv_cflags__Wignored_qualifiers=yes
18628 else $as_nop
18629 ac_cv_cflags__Wignored_qualifiers=no
18631 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18632 conftest$ac_exeext conftest.$ac_ext
18633 CFLAGS=$ac_wine_try_cflags_saved
18635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18636 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18637 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18638 then :
18639 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18642 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18643 if test ${ac_cv_cflags__Winit_self+y}
18644 then :
18645 printf %s "(cached) " >&6
18646 else $as_nop
18647 ac_wine_try_cflags_saved=$CFLAGS
18648 CFLAGS="$CFLAGS -Winit-self"
18649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18650 /* end confdefs.h. */
18651 int main(int argc, char **argv) { return 0; }
18652 _ACEOF
18653 if ac_fn_c_try_link "$LINENO"
18654 then :
18655 ac_cv_cflags__Winit_self=yes
18656 else $as_nop
18657 ac_cv_cflags__Winit_self=no
18659 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18660 conftest$ac_exeext conftest.$ac_ext
18661 CFLAGS=$ac_wine_try_cflags_saved
18663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18664 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18665 if test "x$ac_cv_cflags__Winit_self" = xyes
18666 then :
18667 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18670 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18671 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18672 then :
18673 printf %s "(cached) " >&6
18674 else $as_nop
18675 ac_wine_try_cflags_saved=$CFLAGS
18676 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18678 /* end confdefs.h. */
18679 int main(int argc, char **argv) { return 0; }
18680 _ACEOF
18681 if ac_fn_c_try_link "$LINENO"
18682 then :
18683 ac_cv_cflags__Wpacked_not_aligned=yes
18684 else $as_nop
18685 ac_cv_cflags__Wpacked_not_aligned=no
18687 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18688 conftest$ac_exeext conftest.$ac_ext
18689 CFLAGS=$ac_wine_try_cflags_saved
18691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18692 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18693 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18694 then :
18695 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18698 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18699 if test ${ac_cv_cflags__Wpragma_pack+y}
18700 then :
18701 printf %s "(cached) " >&6
18702 else $as_nop
18703 ac_wine_try_cflags_saved=$CFLAGS
18704 CFLAGS="$CFLAGS -Wpragma-pack"
18705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18706 /* end confdefs.h. */
18707 int main(int argc, char **argv) { return 0; }
18708 _ACEOF
18709 if ac_fn_c_try_link "$LINENO"
18710 then :
18711 ac_cv_cflags__Wpragma_pack=yes
18712 else $as_nop
18713 ac_cv_cflags__Wpragma_pack=no
18715 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18716 conftest$ac_exeext conftest.$ac_ext
18717 CFLAGS=$ac_wine_try_cflags_saved
18719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18720 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18721 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18722 then :
18723 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18726 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18727 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18728 then :
18729 printf %s "(cached) " >&6
18730 else $as_nop
18731 ac_wine_try_cflags_saved=$CFLAGS
18732 CFLAGS="$CFLAGS -Wshift-overflow=2"
18733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18734 /* end confdefs.h. */
18735 int main(int argc, char **argv) { return 0; }
18736 _ACEOF
18737 if ac_fn_c_try_link "$LINENO"
18738 then :
18739 ac_cv_cflags__Wshift_overflow_2=yes
18740 else $as_nop
18741 ac_cv_cflags__Wshift_overflow_2=no
18743 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18744 conftest$ac_exeext conftest.$ac_ext
18745 CFLAGS=$ac_wine_try_cflags_saved
18747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18748 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18749 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18750 then :
18751 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18754 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18755 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18756 then :
18757 printf %s "(cached) " >&6
18758 else $as_nop
18759 ac_wine_try_cflags_saved=$CFLAGS
18760 CFLAGS="$CFLAGS -Wstrict-prototypes"
18761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18762 /* end confdefs.h. */
18763 int main(int argc, char **argv) { return 0; }
18764 _ACEOF
18765 if ac_fn_c_try_link "$LINENO"
18766 then :
18767 ac_cv_cflags__Wstrict_prototypes=yes
18768 else $as_nop
18769 ac_cv_cflags__Wstrict_prototypes=no
18771 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18772 conftest$ac_exeext conftest.$ac_ext
18773 CFLAGS=$ac_wine_try_cflags_saved
18775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18776 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18777 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18778 then :
18779 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18782 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18783 if test ${ac_cv_cflags__Wtype_limits+y}
18784 then :
18785 printf %s "(cached) " >&6
18786 else $as_nop
18787 ac_wine_try_cflags_saved=$CFLAGS
18788 CFLAGS="$CFLAGS -Wtype-limits"
18789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18790 /* end confdefs.h. */
18791 int main(int argc, char **argv) { return 0; }
18792 _ACEOF
18793 if ac_fn_c_try_link "$LINENO"
18794 then :
18795 ac_cv_cflags__Wtype_limits=yes
18796 else $as_nop
18797 ac_cv_cflags__Wtype_limits=no
18799 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18800 conftest$ac_exeext conftest.$ac_ext
18801 CFLAGS=$ac_wine_try_cflags_saved
18803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18804 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18805 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18806 then :
18807 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18810 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18811 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18812 then :
18813 printf %s "(cached) " >&6
18814 else $as_nop
18815 ac_wine_try_cflags_saved=$CFLAGS
18816 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18818 /* end confdefs.h. */
18819 int main(int argc, char **argv) { return 0; }
18820 _ACEOF
18821 if ac_fn_c_try_link "$LINENO"
18822 then :
18823 ac_cv_cflags__Wunused_but_set_parameter=yes
18824 else $as_nop
18825 ac_cv_cflags__Wunused_but_set_parameter=no
18827 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18828 conftest$ac_exeext conftest.$ac_ext
18829 CFLAGS=$ac_wine_try_cflags_saved
18831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18832 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18833 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18834 then :
18835 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18838 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18839 if test ${ac_cv_cflags__Wvla+y}
18840 then :
18841 printf %s "(cached) " >&6
18842 else $as_nop
18843 ac_wine_try_cflags_saved=$CFLAGS
18844 CFLAGS="$CFLAGS -Wvla"
18845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18846 /* end confdefs.h. */
18847 int main(int argc, char **argv) { return 0; }
18848 _ACEOF
18849 if ac_fn_c_try_link "$LINENO"
18850 then :
18851 ac_cv_cflags__Wvla=yes
18852 else $as_nop
18853 ac_cv_cflags__Wvla=no
18855 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18856 conftest$ac_exeext conftest.$ac_ext
18857 CFLAGS=$ac_wine_try_cflags_saved
18859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18860 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18861 if test "x$ac_cv_cflags__Wvla" = xyes
18862 then :
18863 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18866 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18867 if test ${ac_cv_cflags__Wwrite_strings+y}
18868 then :
18869 printf %s "(cached) " >&6
18870 else $as_nop
18871 ac_wine_try_cflags_saved=$CFLAGS
18872 CFLAGS="$CFLAGS -Wwrite-strings"
18873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18874 /* end confdefs.h. */
18875 int main(int argc, char **argv) { return 0; }
18876 _ACEOF
18877 if ac_fn_c_try_link "$LINENO"
18878 then :
18879 ac_cv_cflags__Wwrite_strings=yes
18880 else $as_nop
18881 ac_cv_cflags__Wwrite_strings=no
18883 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18884 conftest$ac_exeext conftest.$ac_ext
18885 CFLAGS=$ac_wine_try_cflags_saved
18887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18888 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18889 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18890 then :
18891 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18895 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18896 if test ${ac_cv_cflags__Wpointer_arith+y}
18897 then :
18898 printf %s "(cached) " >&6
18899 else $as_nop
18900 ac_wine_try_cflags_saved=$CFLAGS
18901 CFLAGS="$CFLAGS -Wpointer-arith"
18902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18903 /* end confdefs.h. */
18904 int main(int argc, char **argv) { return 0; }
18905 _ACEOF
18906 if ac_fn_c_try_link "$LINENO"
18907 then :
18908 ac_cv_cflags__Wpointer_arith=yes
18909 else $as_nop
18910 ac_cv_cflags__Wpointer_arith=no
18912 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18913 conftest$ac_exeext conftest.$ac_ext
18914 CFLAGS=$ac_wine_try_cflags_saved
18916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18917 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18918 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18919 then :
18920 saved_string_h_CFLAGS=$CFLAGS
18921 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
18922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18923 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18924 if test ${ac_cv_c_string_h_warnings+y}
18925 then :
18926 printf %s "(cached) " >&6
18927 else $as_nop
18928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18929 /* end confdefs.h. */
18930 #include <string.h>
18932 main (void)
18936 return 0;
18938 _ACEOF
18939 if ac_fn_c_try_compile "$LINENO"
18940 then :
18941 ac_cv_c_string_h_warnings=no
18942 else $as_nop
18943 ac_cv_c_string_h_warnings=yes
18945 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
18948 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
18949 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
18950 CFLAGS=$saved_string_h_CFLAGS
18953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
18954 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
18955 if test ${ac_cv_cflags__Wlogical_op+y}
18956 then :
18957 printf %s "(cached) " >&6
18958 else $as_nop
18959 ac_wine_try_cflags_saved=$CFLAGS
18960 CFLAGS="$CFLAGS -Wlogical-op"
18961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18962 /* end confdefs.h. */
18963 int main(int argc, char **argv) { return 0; }
18964 _ACEOF
18965 if ac_fn_c_try_link "$LINENO"
18966 then :
18967 ac_cv_cflags__Wlogical_op=yes
18968 else $as_nop
18969 ac_cv_cflags__Wlogical_op=no
18971 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18972 conftest$ac_exeext conftest.$ac_ext
18973 CFLAGS=$ac_wine_try_cflags_saved
18975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
18976 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
18977 if test "x$ac_cv_cflags__Wlogical_op" = xyes
18978 then :
18979 saved_string_h_CFLAGS=$CFLAGS
18980 CFLAGS="$CFLAGS -Wlogical-op -Werror"
18981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
18982 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
18983 if test ${ac_cv_c_logicalop_noisy+y}
18984 then :
18985 printf %s "(cached) " >&6
18986 else $as_nop
18987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18988 /* end confdefs.h. */
18989 #include <string.h>
18990 char*f(const char *h,char n) {return strchr(h,n);}
18992 main (void)
18996 return 0;
18998 _ACEOF
18999 if ac_fn_c_try_compile "$LINENO"
19000 then :
19001 ac_cv_c_logicalop_noisy=no
19002 else $as_nop
19003 ac_cv_c_logicalop_noisy=yes
19005 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19008 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19009 CFLAGS=$saved_string_h_CFLAGS
19010 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19014 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19015 if test ${wine_cv_64bit_compare_swap+y}
19016 then :
19017 printf %s "(cached) " >&6
19018 else $as_nop
19019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19020 /* end confdefs.h. */
19021 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19022 #error no
19023 #endif
19025 main (void)
19029 return 0;
19031 _ACEOF
19032 if ac_fn_c_try_compile "$LINENO"
19033 then :
19034 wine_cv_64bit_compare_swap="none needed"
19035 else $as_nop
19036 case $host_cpu in
19037 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19038 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19039 *) wine_cv_64bit_compare_swap="unknown" ;;
19040 esac
19041 if test "x$wine_cv_64bit_compare_swap" != xunknown
19042 then
19043 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19045 /* end confdefs.h. */
19046 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19047 #error no
19048 #endif
19050 main (void)
19054 return 0;
19056 _ACEOF
19057 if ac_fn_c_try_compile "$LINENO"
19058 then :
19060 else $as_nop
19061 wine_cv_64bit_compare_swap="unknown"
19063 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19064 CFLAGS=$saved_CFLAGS
19067 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19070 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19071 case "$wine_cv_64bit_compare_swap" in
19072 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19073 "none needed") ;;
19074 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19075 esac
19077 ac_debug_format_seen=""
19078 for ac_flag in $CFLAGS; do
19079 case $ac_flag in
19080 -gdwarf*) ac_debug_format_seen=yes ;;
19081 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19082 esac
19083 done
19084 if test "x$ac_debug_format_seen" = xdefault
19085 then
19086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19087 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19088 if test ${ac_cv_cflags__gdwarf_4+y}
19089 then :
19090 printf %s "(cached) " >&6
19091 else $as_nop
19092 ac_wine_try_cflags_saved=$CFLAGS
19093 CFLAGS="$CFLAGS -gdwarf-4"
19094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19095 /* end confdefs.h. */
19096 int main(int argc, char **argv) { return 0; }
19097 _ACEOF
19098 if ac_fn_c_try_link "$LINENO"
19099 then :
19100 ac_cv_cflags__gdwarf_4=yes
19101 else $as_nop
19102 ac_cv_cflags__gdwarf_4=no
19104 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19105 conftest$ac_exeext conftest.$ac_ext
19106 CFLAGS=$ac_wine_try_cflags_saved
19108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19109 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19110 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19111 then :
19112 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19116 MSVCRTFLAGS=""
19118 case $host_os in
19119 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19120 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19121 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19122 then :
19123 printf %s "(cached) " >&6
19124 else $as_nop
19125 ac_wine_try_cflags_saved=$CFLAGS
19126 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19128 /* end confdefs.h. */
19129 int main(int argc, char **argv) { return 0; }
19130 _ACEOF
19131 if ac_fn_c_try_link "$LINENO"
19132 then :
19133 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19134 else $as_nop
19135 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19137 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19138 conftest$ac_exeext conftest.$ac_ext
19139 CFLAGS=$ac_wine_try_cflags_saved
19141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19142 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19143 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19144 then :
19145 DELAYLOADFLAG="-Wl,-delayload,"
19147 fi ;;
19148 *) MSVCRTFLAGS="-D_WIN32"
19149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19150 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19151 if test ${ac_cv_cflags__fno_builtin+y}
19152 then :
19153 printf %s "(cached) " >&6
19154 else $as_nop
19155 ac_wine_try_cflags_saved=$CFLAGS
19156 CFLAGS="$CFLAGS -fno-builtin"
19157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19158 /* end confdefs.h. */
19159 int main(int argc, char **argv) { return 0; }
19160 _ACEOF
19161 if ac_fn_c_try_link "$LINENO"
19162 then :
19163 ac_cv_cflags__fno_builtin=yes
19164 else $as_nop
19165 ac_cv_cflags__fno_builtin=no
19167 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19168 conftest$ac_exeext conftest.$ac_ext
19169 CFLAGS=$ac_wine_try_cflags_saved
19171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19172 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19173 if test "x$ac_cv_cflags__fno_builtin" = xyes
19174 then :
19175 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19178 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19179 if test ${ac_cv_cflags__fshort_wchar+y}
19180 then :
19181 printf %s "(cached) " >&6
19182 else $as_nop
19183 ac_wine_try_cflags_saved=$CFLAGS
19184 CFLAGS="$CFLAGS -fshort-wchar"
19185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19186 /* end confdefs.h. */
19187 int main(int argc, char **argv) { return 0; }
19188 _ACEOF
19189 if ac_fn_c_try_link "$LINENO"
19190 then :
19191 ac_cv_cflags__fshort_wchar=yes
19192 else $as_nop
19193 ac_cv_cflags__fshort_wchar=no
19195 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19196 conftest$ac_exeext conftest.$ac_ext
19197 CFLAGS=$ac_wine_try_cflags_saved
19199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19200 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19201 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19202 then :
19203 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19206 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19207 if test ${ac_cv_cflags__Wno_format+y}
19208 then :
19209 printf %s "(cached) " >&6
19210 else $as_nop
19211 ac_wine_try_cflags_saved=$CFLAGS
19212 CFLAGS="$CFLAGS -Wno-format"
19213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19214 /* end confdefs.h. */
19215 int main(int argc, char **argv) { return 0; }
19216 _ACEOF
19217 if ac_fn_c_try_link "$LINENO"
19218 then :
19219 ac_cv_cflags__Wno_format=yes
19220 else $as_nop
19221 ac_cv_cflags__Wno_format=no
19223 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19224 conftest$ac_exeext conftest.$ac_ext
19225 CFLAGS=$ac_wine_try_cflags_saved
19227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19228 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19229 if test "x$ac_cv_cflags__Wno_format" = xyes
19230 then :
19231 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19232 fi ;;
19233 esac
19235 case $host_cpu in
19236 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19237 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19238 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19239 then :
19240 printf %s "(cached) " >&6
19241 else $as_nop
19242 ac_wine_try_cflags_saved=$CFLAGS
19243 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19245 /* end confdefs.h. */
19246 int main(int argc, char **argv) { return 0; }
19247 _ACEOF
19248 if ac_fn_c_try_link "$LINENO"
19249 then :
19250 ac_cv_cflags__fno_omit_frame_pointer=yes
19251 else $as_nop
19252 ac_cv_cflags__fno_omit_frame_pointer=no
19254 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19255 conftest$ac_exeext conftest.$ac_ext
19256 CFLAGS=$ac_wine_try_cflags_saved
19258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19259 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19260 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19261 then :
19262 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19263 fi ;;
19264 *x86_64*)
19265 case $host_os in
19266 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19267 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19268 if test ${ac_cv_cflags__Wno_format+y}
19269 then :
19270 printf %s "(cached) " >&6
19271 else $as_nop
19272 ac_wine_try_cflags_saved=$CFLAGS
19273 CFLAGS="$CFLAGS -Wno-format"
19274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19275 /* end confdefs.h. */
19276 int main(int argc, char **argv) { return 0; }
19277 _ACEOF
19278 if ac_fn_c_try_link "$LINENO"
19279 then :
19280 ac_cv_cflags__Wno_format=yes
19281 else $as_nop
19282 ac_cv_cflags__Wno_format=no
19284 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19285 conftest$ac_exeext conftest.$ac_ext
19286 CFLAGS=$ac_wine_try_cflags_saved
19288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19289 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19290 if test "x$ac_cv_cflags__Wno_format" = xyes
19291 then :
19292 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19293 fi ;;
19294 *) if test -z "$PE_ARCHS"
19295 then
19296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19297 printf %s "checking for working -mabi=ms... " >&6; }
19298 if test ${ac_cv_mabi_ms+y}
19299 then :
19300 printf %s "(cached) " >&6
19301 else $as_nop
19302 CFLAGS="$CFLAGS -mabi=ms"
19303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19304 /* end confdefs.h. */
19305 #include <stdarg.h>
19306 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19308 main (void)
19312 return 0;
19314 _ACEOF
19315 if ac_fn_c_try_compile "$LINENO"
19316 then :
19317 ac_cv_mabi_ms=yes
19318 else $as_nop
19319 ac_cv_mabi_ms=no
19321 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19322 CFLAGS=$saved_CFLAGS
19324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19325 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19326 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
19328 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19329 esac ;;
19330 arm*)
19331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19332 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19333 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19334 then :
19335 printf %s "(cached) " >&6
19336 else $as_nop
19337 ac_wine_try_cflags_saved=$CFLAGS
19338 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19340 /* end confdefs.h. */
19341 int main(int argc, char **argv) { return 0; }
19342 _ACEOF
19343 if ac_fn_c_try_link "$LINENO"
19344 then :
19345 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19346 else $as_nop
19347 ac_cv_cflags__Wincompatible_function_pointer_types=no
19349 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19350 conftest$ac_exeext conftest.$ac_ext
19351 CFLAGS=$ac_wine_try_cflags_saved
19353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19354 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19355 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19356 then :
19357 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19358 fi ;;
19359 esac
19361 CFLAGS=$saved_CFLAGS
19363 if test "x$enable_werror" = "xyes"
19364 then
19365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19366 printf %s "checking whether the compiler supports -Werror... " >&6; }
19367 if test ${ac_cv_cflags__Werror+y}
19368 then :
19369 printf %s "(cached) " >&6
19370 else $as_nop
19371 ac_wine_try_cflags_saved=$CFLAGS
19372 CFLAGS="$CFLAGS -Werror"
19373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19374 /* end confdefs.h. */
19375 int main(int argc, char **argv) { return 0; }
19376 _ACEOF
19377 if ac_fn_c_try_link "$LINENO"
19378 then :
19379 ac_cv_cflags__Werror=yes
19380 else $as_nop
19381 ac_cv_cflags__Werror=no
19383 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19384 conftest$ac_exeext conftest.$ac_ext
19385 CFLAGS=$ac_wine_try_cflags_saved
19387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19388 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19389 if test "x$ac_cv_cflags__Werror" = xyes
19390 then :
19391 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19394 if test "x$enable_build_id" = "xyes"
19395 then
19396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19397 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19398 if test ${ac_cv_cflags__Wl___build_id+y}
19399 then :
19400 printf %s "(cached) " >&6
19401 else $as_nop
19402 ac_wine_try_cflags_saved=$CFLAGS
19403 CFLAGS="$CFLAGS -Wl,--build-id"
19404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19405 /* end confdefs.h. */
19406 int main(int argc, char **argv) { return 0; }
19407 _ACEOF
19408 if ac_fn_c_try_link "$LINENO"
19409 then :
19410 ac_cv_cflags__Wl___build_id=yes
19411 else $as_nop
19412 ac_cv_cflags__Wl___build_id=no
19414 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19415 conftest$ac_exeext conftest.$ac_ext
19416 CFLAGS=$ac_wine_try_cflags_saved
19418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19419 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19420 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19421 then :
19422 CFLAGS="$CFLAGS -Wl,--build-id"
19423 LDFLAGS="$LDFLAGS -Wl,--build-id"
19429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19430 printf %s "checking for the need to disable Fortify... " >&6; }
19431 if test ${ac_cv_c_fortify_enabled+y}
19432 then :
19433 printf %s "(cached) " >&6
19434 else $as_nop
19435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19436 /* end confdefs.h. */
19437 #include <string.h>
19439 main (void)
19441 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19442 #error Fortify enabled
19443 #endif
19445 return 0;
19447 _ACEOF
19448 if ac_fn_c_try_compile "$LINENO"
19449 then :
19450 ac_cv_c_fortify_enabled=no
19451 else $as_nop
19452 ac_cv_c_fortify_enabled=yes
19454 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19457 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19458 if test "$ac_cv_c_fortify_enabled" = yes
19459 then
19460 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19465 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19466 if test ${ac_cv_c_cfi_support+y}
19467 then :
19468 printf %s "(cached) " >&6
19469 else $as_nop
19470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19471 /* end confdefs.h. */
19472 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19474 main (void)
19478 return 0;
19480 _ACEOF
19481 if ac_fn_c_try_compile "$LINENO"
19482 then :
19483 ac_cv_c_cfi_support="yes"
19484 else $as_nop
19485 ac_cv_c_cfi_support="no"
19487 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19490 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19491 if test "$ac_cv_c_cfi_support" = "yes"
19492 then
19493 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19494 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19495 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19496 elif test $HOST_ARCH = x86_64
19497 then
19498 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19502 case "$HOST_ARCH,$PE_ARCHS" in
19503 x86_64,*i386*) wine_binary="wine" ;;
19504 x86_64,*) wine_binary="wine64" ;;
19505 *) wine_binary="wine" ;;
19506 esac
19507 WINELOADER_PROGRAMS="$wine_binary"
19510 case $host_os in
19511 linux*)
19512 case $host_cpu in
19513 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19514 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19515 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19517 esac
19519 darwin*|macosx*)
19520 if test "$wine_can_build_preloader" = "yes"
19521 then
19522 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19523 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19526 esac
19529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19530 printf %s "checking for library containing dlopen... " >&6; }
19531 if test ${ac_cv_search_dlopen+y}
19532 then :
19533 printf %s "(cached) " >&6
19534 else $as_nop
19535 ac_func_search_save_LIBS=$LIBS
19536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19537 /* end confdefs.h. */
19539 /* Override any GCC internal prototype to avoid an error.
19540 Use char because int might match the return type of a GCC
19541 builtin and then its argument prototype would still apply. */
19542 char dlopen ();
19544 main (void)
19546 return dlopen ();
19548 return 0;
19550 _ACEOF
19551 for ac_lib in '' dl
19553 if test -z "$ac_lib"; then
19554 ac_res="none required"
19555 else
19556 ac_res=-l$ac_lib
19557 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19559 if ac_fn_c_try_link "$LINENO"
19560 then :
19561 ac_cv_search_dlopen=$ac_res
19563 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19564 conftest$ac_exeext
19565 if test ${ac_cv_search_dlopen+y}
19566 then :
19567 break
19569 done
19570 if test ${ac_cv_search_dlopen+y}
19571 then :
19573 else $as_nop
19574 ac_cv_search_dlopen=no
19576 rm conftest.$ac_ext
19577 LIBS=$ac_func_search_save_LIBS
19579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19580 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19581 ac_res=$ac_cv_search_dlopen
19582 if test "$ac_res" != no
19583 then :
19584 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19590 printf %s "checking for library containing gethostbyname... " >&6; }
19591 if test ${ac_cv_search_gethostbyname+y}
19592 then :
19593 printf %s "(cached) " >&6
19594 else $as_nop
19595 ac_func_search_save_LIBS=$LIBS
19596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19597 /* end confdefs.h. */
19599 /* Override any GCC internal prototype to avoid an error.
19600 Use char because int might match the return type of a GCC
19601 builtin and then its argument prototype would still apply. */
19602 char gethostbyname ();
19604 main (void)
19606 return gethostbyname ();
19608 return 0;
19610 _ACEOF
19611 for ac_lib in '' nsl
19613 if test -z "$ac_lib"; then
19614 ac_res="none required"
19615 else
19616 ac_res=-l$ac_lib
19617 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19619 if ac_fn_c_try_link "$LINENO"
19620 then :
19621 ac_cv_search_gethostbyname=$ac_res
19623 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19624 conftest$ac_exeext
19625 if test ${ac_cv_search_gethostbyname+y}
19626 then :
19627 break
19629 done
19630 if test ${ac_cv_search_gethostbyname+y}
19631 then :
19633 else $as_nop
19634 ac_cv_search_gethostbyname=no
19636 rm conftest.$ac_ext
19637 LIBS=$ac_func_search_save_LIBS
19639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19640 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19641 ac_res=$ac_cv_search_gethostbyname
19642 if test "$ac_res" != no
19643 then :
19644 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19650 printf %s "checking for library containing connect... " >&6; }
19651 if test ${ac_cv_search_connect+y}
19652 then :
19653 printf %s "(cached) " >&6
19654 else $as_nop
19655 ac_func_search_save_LIBS=$LIBS
19656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19657 /* end confdefs.h. */
19659 /* Override any GCC internal prototype to avoid an error.
19660 Use char because int might match the return type of a GCC
19661 builtin and then its argument prototype would still apply. */
19662 char connect ();
19664 main (void)
19666 return connect ();
19668 return 0;
19670 _ACEOF
19671 for ac_lib in '' socket
19673 if test -z "$ac_lib"; then
19674 ac_res="none required"
19675 else
19676 ac_res=-l$ac_lib
19677 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19679 if ac_fn_c_try_link "$LINENO"
19680 then :
19681 ac_cv_search_connect=$ac_res
19683 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19684 conftest$ac_exeext
19685 if test ${ac_cv_search_connect+y}
19686 then :
19687 break
19689 done
19690 if test ${ac_cv_search_connect+y}
19691 then :
19693 else $as_nop
19694 ac_cv_search_connect=no
19696 rm conftest.$ac_ext
19697 LIBS=$ac_func_search_save_LIBS
19699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19700 printf "%s\n" "$ac_cv_search_connect" >&6; }
19701 ac_res=$ac_cv_search_connect
19702 if test "$ac_res" != no
19703 then :
19704 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19710 printf %s "checking for library containing inet_aton... " >&6; }
19711 if test ${ac_cv_search_inet_aton+y}
19712 then :
19713 printf %s "(cached) " >&6
19714 else $as_nop
19715 ac_func_search_save_LIBS=$LIBS
19716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19717 /* end confdefs.h. */
19719 /* Override any GCC internal prototype to avoid an error.
19720 Use char because int might match the return type of a GCC
19721 builtin and then its argument prototype would still apply. */
19722 char inet_aton ();
19724 main (void)
19726 return inet_aton ();
19728 return 0;
19730 _ACEOF
19731 for ac_lib in '' resolv
19733 if test -z "$ac_lib"; then
19734 ac_res="none required"
19735 else
19736 ac_res=-l$ac_lib
19737 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19739 if ac_fn_c_try_link "$LINENO"
19740 then :
19741 ac_cv_search_inet_aton=$ac_res
19743 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19744 conftest$ac_exeext
19745 if test ${ac_cv_search_inet_aton+y}
19746 then :
19747 break
19749 done
19750 if test ${ac_cv_search_inet_aton+y}
19751 then :
19753 else $as_nop
19754 ac_cv_search_inet_aton=no
19756 rm conftest.$ac_ext
19757 LIBS=$ac_func_search_save_LIBS
19759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19760 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19761 ac_res=$ac_cv_search_inet_aton
19762 if test "$ac_res" != no
19763 then :
19764 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19769 ac_save_CFLAGS="$CFLAGS"
19770 CFLAGS="$CFLAGS $BUILTINFLAG"
19771 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19772 if test "x$ac_cv_func_dladdr1" = xyes
19773 then :
19774 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19777 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19778 if test "x$ac_cv_func_dlinfo" = xyes
19779 then :
19780 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19783 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19784 if test "x$ac_cv_func_epoll_create" = xyes
19785 then :
19786 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19789 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19790 if test "x$ac_cv_func_fstatfs" = xyes
19791 then :
19792 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19795 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19796 if test "x$ac_cv_func_futimens" = xyes
19797 then :
19798 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19801 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19802 if test "x$ac_cv_func_futimes" = xyes
19803 then :
19804 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19807 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19808 if test "x$ac_cv_func_futimesat" = xyes
19809 then :
19810 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19813 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19814 if test "x$ac_cv_func_getaddrinfo" = xyes
19815 then :
19816 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19819 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19820 if test "x$ac_cv_func_getattrlist" = xyes
19821 then :
19822 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19825 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19826 if test "x$ac_cv_func_getauxval" = xyes
19827 then :
19828 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19831 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19832 if test "x$ac_cv_func_getifaddrs" = xyes
19833 then :
19834 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19837 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19838 if test "x$ac_cv_func_getrandom" = xyes
19839 then :
19840 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19843 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19844 if test "x$ac_cv_func_kqueue" = xyes
19845 then :
19846 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19849 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19850 if test "x$ac_cv_func_mach_continuous_time" = xyes
19851 then :
19852 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19855 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19856 if test "x$ac_cv_func_pipe2" = xyes
19857 then :
19858 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19861 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19862 if test "x$ac_cv_func_port_create" = xyes
19863 then :
19864 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19867 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19868 if test "x$ac_cv_func_posix_fadvise" = xyes
19869 then :
19870 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19873 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19874 if test "x$ac_cv_func_posix_fallocate" = xyes
19875 then :
19876 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19879 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19880 if test "x$ac_cv_func_prctl" = xyes
19881 then :
19882 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19885 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19886 if test "x$ac_cv_func_proc_pidinfo" = xyes
19887 then :
19888 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19891 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19892 if test "x$ac_cv_func_sched_yield" = xyes
19893 then :
19894 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19897 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19898 if test "x$ac_cv_func_setproctitle" = xyes
19899 then :
19900 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19903 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19904 if test "x$ac_cv_func_setprogname" = xyes
19905 then :
19906 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19909 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19910 if test "x$ac_cv_func_sigprocmask" = xyes
19911 then :
19912 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19915 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19916 if test "x$ac_cv_func_sysinfo" = xyes
19917 then :
19918 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19921 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19922 if test "x$ac_cv_func_tcdrain" = xyes
19923 then :
19924 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19927 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19928 if test "x$ac_cv_func_thr_kill2" = xyes
19929 then :
19930 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19934 CFLAGS="$ac_save_CFLAGS"
19936 case $host_os in
19937 darwin*|macosx*) ;;
19938 *) ac_save_LIBS=$LIBS
19939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19940 printf %s "checking for library containing clock_gettime... " >&6; }
19941 if test ${ac_cv_search_clock_gettime+y}
19942 then :
19943 printf %s "(cached) " >&6
19944 else $as_nop
19945 ac_func_search_save_LIBS=$LIBS
19946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19947 /* end confdefs.h. */
19949 /* Override any GCC internal prototype to avoid an error.
19950 Use char because int might match the return type of a GCC
19951 builtin and then its argument prototype would still apply. */
19952 char clock_gettime ();
19954 main (void)
19956 return clock_gettime ();
19958 return 0;
19960 _ACEOF
19961 for ac_lib in '' rt
19963 if test -z "$ac_lib"; then
19964 ac_res="none required"
19965 else
19966 ac_res=-l$ac_lib
19967 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19969 if ac_fn_c_try_link "$LINENO"
19970 then :
19971 ac_cv_search_clock_gettime=$ac_res
19973 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19974 conftest$ac_exeext
19975 if test ${ac_cv_search_clock_gettime+y}
19976 then :
19977 break
19979 done
19980 if test ${ac_cv_search_clock_gettime+y}
19981 then :
19983 else $as_nop
19984 ac_cv_search_clock_gettime=no
19986 rm conftest.$ac_ext
19987 LIBS=$ac_func_search_save_LIBS
19989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19990 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
19991 ac_res=$ac_cv_search_clock_gettime
19992 if test "$ac_res" != no
19993 then :
19994 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19996 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
19998 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20002 LIBS=$ac_save_LIBS
20004 esac
20006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20007 printf %s "checking for sched_setaffinity... " >&6; }
20008 if test ${wine_cv_have_sched_setaffinity+y}
20009 then :
20010 printf %s "(cached) " >&6
20011 else $as_nop
20012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20013 /* end confdefs.h. */
20014 #include <sched.h>
20016 main (void)
20018 sched_setaffinity(0, 0, 0);
20020 return 0;
20022 _ACEOF
20023 if ac_fn_c_try_link "$LINENO"
20024 then :
20025 wine_cv_have_sched_setaffinity=yes
20026 else $as_nop
20027 wine_cv_have_sched_setaffinity=no
20029 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20030 conftest$ac_exeext conftest.$ac_ext
20032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20033 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20034 if test "$wine_cv_have_sched_setaffinity" = "yes"
20035 then
20037 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20043 printf %s "checking for inline... " >&6; }
20044 if test ${ac_cv_c_inline+y}
20045 then :
20046 printf %s "(cached) " >&6
20047 else $as_nop
20048 ac_cv_c_inline=no
20049 for ac_kw in inline __inline__ __inline; do
20050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20051 /* end confdefs.h. */
20052 #ifndef __cplusplus
20053 typedef int foo_t;
20054 static $ac_kw foo_t static_foo (void) {return 0; }
20055 $ac_kw foo_t foo (void) {return 0; }
20056 #endif
20058 _ACEOF
20059 if ac_fn_c_try_compile "$LINENO"
20060 then :
20061 ac_cv_c_inline=$ac_kw
20063 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20064 test "$ac_cv_c_inline" != no && break
20065 done
20068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20069 printf "%s\n" "$ac_cv_c_inline" >&6; }
20071 case $ac_cv_c_inline in
20072 inline | yes) ;;
20074 case $ac_cv_c_inline in
20075 no) ac_val=;;
20076 *) ac_val=$ac_cv_c_inline;;
20077 esac
20078 cat >>confdefs.h <<_ACEOF
20079 #ifndef __cplusplus
20080 #define inline $ac_val
20081 #endif
20082 _ACEOF
20084 esac
20086 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20088 if test "x$ac_cv_type_request_sense" = xyes
20089 then :
20091 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20097 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20098 #include <sys/socket.h>
20099 #ifdef HAVE_SYS_SOCKETVAR_H
20100 #include <sys/socketvar.h>
20101 #endif
20102 #ifdef HAVE_NET_ROUTE_H
20103 #include <net/route.h>
20104 #endif
20105 #ifdef HAVE_NETINET_IN_H
20106 #include <netinet/in.h>
20107 #endif
20108 #ifdef HAVE_NETINET_IN_SYSTM_H
20109 #include <netinet/in_systm.h>
20110 #endif
20111 #ifdef HAVE_NETINET_IP_H
20112 #include <netinet/ip.h>
20113 #endif
20114 #ifdef HAVE_NETINET_IN_PCB_H
20115 #include <netinet/in_pcb.h>
20116 #endif
20118 if test "x$ac_cv_type_struct_xinpgen" = xyes
20119 then :
20121 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20128 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20129 if test ${wine_cv_linux_gethostbyname_r_6+y}
20130 then :
20131 printf %s "(cached) " >&6
20132 else $as_nop
20133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20134 /* end confdefs.h. */
20135 #include <netdb.h>
20137 main (void)
20140 char *name=0;
20141 struct hostent he;
20142 struct hostent *result;
20143 char *buf=0;
20144 int bufsize=0;
20145 int errnr;
20146 char *addr=0;
20147 int addrlen=0;
20148 int addrtype=0;
20149 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20150 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20153 return 0;
20155 _ACEOF
20156 if ac_fn_c_try_link "$LINENO"
20157 then :
20158 wine_cv_linux_gethostbyname_r_6=yes
20159 else $as_nop
20160 wine_cv_linux_gethostbyname_r_6=no
20163 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20164 conftest$ac_exeext conftest.$ac_ext
20167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20168 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20169 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20170 then
20172 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20176 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20177 #include <sys/socket.h>
20178 #ifdef HAVE_SYS_UN_H
20179 # include <sys/un.h>
20180 #endif
20182 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20183 then :
20185 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20189 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20190 #include <sys/socket.h>
20191 #ifdef HAVE_SYS_UN_H
20192 # include <sys/un.h>
20193 #endif
20195 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20196 then :
20198 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20204 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20205 #ifdef HAVE_SCSI_SG_H
20206 #include <scsi/sg.h>
20207 #endif
20209 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20210 then :
20212 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20216 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>
20217 #ifdef HAVE_SCSI_SG_H
20218 #include <scsi/sg.h>
20219 #endif
20221 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20222 then :
20224 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20230 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20232 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20233 then :
20235 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20241 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20242 #ifdef HAVE_SYS_MTIO_H
20243 #include <sys/mtio.h>
20244 #endif
20246 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20247 then :
20249 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20253 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20254 #ifdef HAVE_SYS_MTIO_H
20255 #include <sys/mtio.h>
20256 #endif
20258 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20259 then :
20261 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20265 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20266 #ifdef HAVE_SYS_MTIO_H
20267 #include <sys/mtio.h>
20268 #endif
20270 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20271 then :
20273 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20279 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20280 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20281 then :
20283 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20287 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20288 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20289 then :
20291 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20295 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20296 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20297 then :
20299 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20303 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20304 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20305 then :
20307 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20311 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20312 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20313 then :
20315 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20319 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20320 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20321 then :
20323 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20327 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20328 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20329 then :
20331 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20335 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20336 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20337 then :
20339 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20343 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20344 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20345 then :
20347 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20351 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20352 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20353 then :
20355 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20359 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20360 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20361 then :
20363 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20369 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>
20370 #ifdef HAVE_NETINET_IN_H
20371 #include <netinet/in.h>
20372 #endif
20374 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20375 then :
20377 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20383 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
20384 #include <resolv.h>
20385 #endif
20387 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20388 then :
20390 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20396 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20397 #include <netinet/in.h>
20398 #endif
20400 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20401 then :
20403 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20409 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20410 #ifdef HAVE_SYS_SOCKETVAR_H
20411 #include <sys/socketvar.h>
20412 #endif
20413 #ifdef HAVE_NETINET_IN_H
20414 #include <netinet/in.h>
20415 #endif
20416 #ifdef HAVE_NETINET_IP_VAR_H
20417 #include <netinet/ip_var.h>
20418 #endif
20420 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20421 then :
20423 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20429 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
20430 #include <netinet/ip_var.h>
20431 #endif
20433 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20434 then :
20436 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20442 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20443 #ifdef HAVE_SYS_SOCKETVAR_H
20444 #include <sys/socketvar.h>
20445 #endif
20446 #ifdef HAVE_NETINET_IN_H
20447 #include <netinet/in.h>
20448 #endif
20449 #ifdef HAVE_NETINET6_IP6_VAR_H
20450 #include <netinet6/ip6_var.h>
20451 #endif
20453 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20454 then :
20456 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20462 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20463 #ifdef HAVE_SYS_SOCKETVAR_H
20464 #include <sys/socketvar.h>
20465 #endif
20466 #ifdef HAVE_NETINET_IN_H
20467 #include <netinet/in.h>
20468 #endif
20469 #ifdef HAVE_NETINET_IP_H
20470 #include <netinet/ip.h>
20471 #endif
20472 #ifdef HAVE_NETINET_IP_ICMP_H
20473 #include <netinet/ip_icmp.h>
20474 #endif
20475 #ifdef HAVE_NETINET_ICMP_VAR_H
20476 #include <netinet/icmp_var.h>
20477 #endif
20479 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20480 then :
20482 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20488 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20489 #ifdef HAVE_SYS_SOCKETVAR_H
20490 #include <sys/socketvar.h>
20491 #endif
20492 #ifdef HAVE_NETINET_IN_H
20493 #include <netinet/in.h>
20494 #endif
20495 #ifdef HAVE_NETINET_ICMP6_H
20496 #include <netinet/icmp6.h>
20497 #endif
20499 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20500 then :
20502 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20508 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20509 #ifdef HAVE_SYS_SOCKETVAR_H
20510 #include <sys/socketvar.h>
20511 #endif
20512 #ifdef HAVE_NETINET_IN_H
20513 #include <netinet/in.h>
20514 #endif
20515 #ifdef HAVE_NETINET_TCP_H
20516 #include <netinet/tcp.h>
20517 #endif
20518 #ifdef HAVE_NETINET_TCP_VAR_H
20519 #include <netinet/tcp_var.h>
20520 #endif
20522 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20523 then :
20525 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20531 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
20532 #include <netinet/tcp_var.h>
20533 #endif
20535 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20536 then :
20538 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20544 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20545 #ifdef HAVE_NETINET_IN_H
20546 #include <netinet/in.h>
20547 #endif
20548 #ifdef HAVE_NETINET_IP_VAR_H
20549 #include <netinet/ip_var.h>
20550 #endif
20551 #ifdef HAVE_NETINET_UDP_H
20552 #include <netinet/udp.h>
20553 #endif
20554 #ifdef HAVE_NETINET_UDP_VAR_H
20555 #include <netinet/udp_var.h>
20556 #endif
20558 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20559 then :
20561 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20567 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20568 #ifdef HAVE_NET_IF_H
20569 # include <net/if.h>
20570 #endif
20572 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20573 then :
20575 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20581 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20582 # include <sys/sysinfo.h>
20583 #endif
20585 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20586 then :
20588 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20592 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20593 # include <sys/sysinfo.h>
20594 #endif
20596 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20597 then :
20599 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20605 LIBS="$ac_save_LIBS"
20607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20608 printf %s "checking for __builtin_popcount... " >&6; }
20609 if test ${ac_cv_have___builtin_popcount+y}
20610 then :
20611 printf %s "(cached) " >&6
20612 else $as_nop
20613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20614 /* end confdefs.h. */
20617 main (void)
20619 return __builtin_popcount(1)
20621 return 0;
20623 _ACEOF
20624 if ac_fn_c_try_link "$LINENO"
20625 then :
20626 ac_cv_have___builtin_popcount="yes"
20627 else $as_nop
20628 ac_cv_have___builtin_popcount="no"
20630 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20631 conftest$ac_exeext conftest.$ac_ext
20633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20634 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20635 if test "$ac_cv_have___builtin_popcount" = "yes"
20636 then
20638 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20643 printf %s "checking for __clear_cache... " >&6; }
20644 if test ${ac_cv_have___clear_cache+y}
20645 then :
20646 printf %s "(cached) " >&6
20647 else $as_nop
20648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20649 /* end confdefs.h. */
20652 main (void)
20654 __clear_cache((void*)0, (void*)0); return 0;
20656 return 0;
20658 _ACEOF
20659 if ac_fn_c_try_link "$LINENO"
20660 then :
20661 ac_cv_have___clear_cache="yes"
20662 else $as_nop
20663 ac_cv_have___clear_cache="no"
20665 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20666 conftest$ac_exeext conftest.$ac_ext
20668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20669 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20670 if test "$ac_cv_have___clear_cache" = "yes"
20671 then
20673 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20678 case $host_cpu in
20679 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20680 printf %s "checking whether we need to define __i386__... " >&6; }
20681 if test ${ac_cv_cpp_def___i386__+y}
20682 then :
20683 printf %s "(cached) " >&6
20684 else $as_nop
20685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20686 /* end confdefs.h. */
20687 #ifndef __i386__
20689 #endif
20690 _ACEOF
20691 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20692 $EGREP "yes" >/dev/null 2>&1
20693 then :
20694 ac_cv_cpp_def___i386__=yes
20695 else $as_nop
20696 ac_cv_cpp_def___i386__=no
20698 rm -rf conftest*
20701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20702 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20703 if test "x$ac_cv_cpp_def___i386__" = xyes
20704 then :
20705 CFLAGS="$CFLAGS -D__i386__"
20706 LINTFLAGS="$LINTFLAGS -D__i386__"
20707 fi ;;
20708 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20709 printf %s "checking whether we need to define __x86_64__... " >&6; }
20710 if test ${ac_cv_cpp_def___x86_64__+y}
20711 then :
20712 printf %s "(cached) " >&6
20713 else $as_nop
20714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20715 /* end confdefs.h. */
20716 #ifndef __x86_64__
20718 #endif
20719 _ACEOF
20720 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20721 $EGREP "yes" >/dev/null 2>&1
20722 then :
20723 ac_cv_cpp_def___x86_64__=yes
20724 else $as_nop
20725 ac_cv_cpp_def___x86_64__=no
20727 rm -rf conftest*
20730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20731 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20732 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20733 then :
20734 CFLAGS="$CFLAGS -D__x86_64__"
20735 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20736 fi ;;
20737 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20738 printf %s "checking whether we need to define __sparc64__... " >&6; }
20739 if test ${ac_cv_cpp_def___sparc64__+y}
20740 then :
20741 printf %s "(cached) " >&6
20742 else $as_nop
20743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20744 /* end confdefs.h. */
20745 #ifndef __sparc64__
20747 #endif
20748 _ACEOF
20749 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20750 $EGREP "yes" >/dev/null 2>&1
20751 then :
20752 ac_cv_cpp_def___sparc64__=yes
20753 else $as_nop
20754 ac_cv_cpp_def___sparc64__=no
20756 rm -rf conftest*
20759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20760 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20761 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20762 then :
20763 CFLAGS="$CFLAGS -D__sparc64__"
20764 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20765 fi ;;
20766 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20767 printf %s "checking whether we need to define __sparc__... " >&6; }
20768 if test ${ac_cv_cpp_def___sparc__+y}
20769 then :
20770 printf %s "(cached) " >&6
20771 else $as_nop
20772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20773 /* end confdefs.h. */
20774 #ifndef __sparc__
20776 #endif
20777 _ACEOF
20778 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20779 $EGREP "yes" >/dev/null 2>&1
20780 then :
20781 ac_cv_cpp_def___sparc__=yes
20782 else $as_nop
20783 ac_cv_cpp_def___sparc__=no
20785 rm -rf conftest*
20788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20789 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20790 if test "x$ac_cv_cpp_def___sparc__" = xyes
20791 then :
20792 CFLAGS="$CFLAGS -D__sparc__"
20793 LINTFLAGS="$LINTFLAGS -D__sparc__"
20794 fi ;;
20795 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20796 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20797 if test ${ac_cv_cpp_def___powerpc64__+y}
20798 then :
20799 printf %s "(cached) " >&6
20800 else $as_nop
20801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20802 /* end confdefs.h. */
20803 #ifndef __powerpc64__
20805 #endif
20806 _ACEOF
20807 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20808 $EGREP "yes" >/dev/null 2>&1
20809 then :
20810 ac_cv_cpp_def___powerpc64__=yes
20811 else $as_nop
20812 ac_cv_cpp_def___powerpc64__=no
20814 rm -rf conftest*
20817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20818 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20819 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20820 then :
20821 CFLAGS="$CFLAGS -D__powerpc64__"
20822 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20823 fi ;;
20824 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20825 printf %s "checking whether we need to define __powerpc__... " >&6; }
20826 if test ${ac_cv_cpp_def___powerpc__+y}
20827 then :
20828 printf %s "(cached) " >&6
20829 else $as_nop
20830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20831 /* end confdefs.h. */
20832 #ifndef __powerpc__
20834 #endif
20835 _ACEOF
20836 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20837 $EGREP "yes" >/dev/null 2>&1
20838 then :
20839 ac_cv_cpp_def___powerpc__=yes
20840 else $as_nop
20841 ac_cv_cpp_def___powerpc__=no
20843 rm -rf conftest*
20846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20847 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20848 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20849 then :
20850 CFLAGS="$CFLAGS -D__powerpc__"
20851 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20852 fi ;;
20853 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20854 printf %s "checking whether we need to define __aarch64__... " >&6; }
20855 if test ${ac_cv_cpp_def___aarch64__+y}
20856 then :
20857 printf %s "(cached) " >&6
20858 else $as_nop
20859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20860 /* end confdefs.h. */
20861 #ifndef __aarch64__
20863 #endif
20864 _ACEOF
20865 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20866 $EGREP "yes" >/dev/null 2>&1
20867 then :
20868 ac_cv_cpp_def___aarch64__=yes
20869 else $as_nop
20870 ac_cv_cpp_def___aarch64__=no
20872 rm -rf conftest*
20875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20876 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20877 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20878 then :
20879 CFLAGS="$CFLAGS -D__aarch64__"
20880 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20881 fi ;;
20882 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20883 printf %s "checking whether we need to define __arm__... " >&6; }
20884 if test ${ac_cv_cpp_def___arm__+y}
20885 then :
20886 printf %s "(cached) " >&6
20887 else $as_nop
20888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20889 /* end confdefs.h. */
20890 #ifndef __arm__
20892 #endif
20893 _ACEOF
20894 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20895 $EGREP "yes" >/dev/null 2>&1
20896 then :
20897 ac_cv_cpp_def___arm__=yes
20898 else $as_nop
20899 ac_cv_cpp_def___arm__=no
20901 rm -rf conftest*
20904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20905 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20906 if test "x$ac_cv_cpp_def___arm__" = xyes
20907 then :
20908 CFLAGS="$CFLAGS -D__arm__"
20909 LINTFLAGS="$LINTFLAGS -D__arm__"
20910 fi ;;
20911 esac
20913 case $host_vendor in
20914 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20915 printf %s "checking whether we need to define __sun__... " >&6; }
20916 if test ${ac_cv_cpp_def___sun__+y}
20917 then :
20918 printf %s "(cached) " >&6
20919 else $as_nop
20920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20921 /* end confdefs.h. */
20922 #ifndef __sun__
20924 #endif
20925 _ACEOF
20926 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20927 $EGREP "yes" >/dev/null 2>&1
20928 then :
20929 ac_cv_cpp_def___sun__=yes
20930 else $as_nop
20931 ac_cv_cpp_def___sun__=no
20933 rm -rf conftest*
20936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20937 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
20938 if test "x$ac_cv_cpp_def___sun__" = xyes
20939 then :
20940 CFLAGS="$CFLAGS -D__sun__"
20941 LINTFLAGS="$LINTFLAGS -D__sun__"
20942 fi ;;
20943 esac
20949 ac_config_commands="$ac_config_commands include/stamp-h"
20951 printf %s "creating Makefile rules..." >&6
20953 makedep_flags=""
20954 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20956 wine_srcdir=
20957 test "$srcdir" = . || wine_srcdir="$srcdir/"
20959 ac_config_links="$ac_config_links wine:tools/winewrapper"
20960 wine_fn_config_symlink wine
20961 if test "$HOST_ARCH" = x86_64 -o -n "$with_wine64"; then
20962 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20963 wine_fn_config_symlink wine64
20966 wine_fn_config_makefile dlls/acledit enable_acledit
20967 wine_fn_config_makefile dlls/aclui enable_aclui
20968 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20969 wine_fn_config_makefile dlls/activeds enable_activeds
20970 wine_fn_config_makefile dlls/activeds/tests enable_tests
20971 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20972 wine_fn_config_makefile dlls/adsldp enable_adsldp
20973 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20974 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20975 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20976 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20977 wine_fn_config_makefile dlls/advpack enable_advpack
20978 wine_fn_config_makefile dlls/advpack/tests enable_tests
20979 wine_fn_config_makefile dlls/amsi enable_amsi
20980 wine_fn_config_makefile dlls/amstream enable_amstream
20981 wine_fn_config_makefile dlls/amstream/tests enable_tests
20982 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
20983 wine_fn_config_makefile dlls/apphelp enable_apphelp
20984 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20985 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20986 wine_fn_config_makefile dlls/atl enable_atl
20987 wine_fn_config_makefile dlls/atl/tests enable_tests
20988 wine_fn_config_makefile dlls/atl100 enable_atl100
20989 wine_fn_config_makefile dlls/atl100/tests enable_tests
20990 wine_fn_config_makefile dlls/atl110 enable_atl110
20991 wine_fn_config_makefile dlls/atl110/tests enable_tests
20992 wine_fn_config_makefile dlls/atl80 enable_atl80
20993 wine_fn_config_makefile dlls/atl80/tests enable_tests
20994 wine_fn_config_makefile dlls/atl90 enable_atl90
20995 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20996 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20997 wine_fn_config_makefile dlls/atmlib enable_atmlib
20998 wine_fn_config_makefile dlls/authz enable_authz
20999 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21000 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21001 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21002 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21003 wine_fn_config_makefile dlls/avrt enable_avrt
21004 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21005 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21006 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21007 wine_fn_config_makefile dlls/browseui enable_browseui
21008 wine_fn_config_makefile dlls/browseui/tests enable_tests
21009 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21010 wine_fn_config_makefile dlls/cabinet enable_cabinet
21011 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21012 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21013 wine_fn_config_makefile dlls/cards enable_cards
21014 wine_fn_config_makefile dlls/cdosys enable_cdosys
21015 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21016 wine_fn_config_makefile dlls/clusapi enable_clusapi
21017 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21018 wine_fn_config_makefile dlls/combase enable_combase
21019 wine_fn_config_makefile dlls/combase/tests enable_tests
21020 wine_fn_config_makefile dlls/comcat enable_comcat
21021 wine_fn_config_makefile dlls/comcat/tests enable_tests
21022 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21023 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21024 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21025 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21026 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21027 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21028 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21029 wine_fn_config_makefile dlls/compstui enable_compstui
21030 wine_fn_config_makefile dlls/compstui/tests enable_tests
21031 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21032 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21033 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21034 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21035 wine_fn_config_makefile dlls/connect enable_connect
21036 wine_fn_config_makefile dlls/credui enable_credui
21037 wine_fn_config_makefile dlls/credui/tests enable_tests
21038 wine_fn_config_makefile dlls/crtdll enable_crtdll
21039 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21040 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21041 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21042 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21043 wine_fn_config_makefile dlls/cryptext enable_cryptext
21044 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21045 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21046 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21047 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21048 wine_fn_config_makefile dlls/cryptui enable_cryptui
21049 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21050 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21051 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21052 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21053 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21054 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21055 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21056 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21057 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21058 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21059 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21060 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21061 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21062 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21063 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21064 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21065 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21066 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21067 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21068 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21069 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21070 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21071 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21072 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21073 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21074 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21075 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21076 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21077 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21078 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21079 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21080 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21081 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21082 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21083 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21084 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21085 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21086 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21087 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21088 wine_fn_config_makefile dlls/d3dim enable_d3dim
21089 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21090 wine_fn_config_makefile dlls/d3drm enable_d3drm
21091 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21092 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21093 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21094 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21095 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21096 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21097 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21098 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21099 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21100 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21101 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21102 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21103 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21104 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21105 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21106 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21107 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21108 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21109 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21110 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21111 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21112 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21113 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21114 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21115 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21116 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21117 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21118 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21119 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21120 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21121 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21122 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21123 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21124 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21125 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21126 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21127 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21128 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21129 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21130 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21131 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21132 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21133 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21134 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21135 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21136 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21137 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21138 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21139 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21140 wine_fn_config_makefile dlls/davclnt enable_davclnt
21141 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21142 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21143 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21144 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21145 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21146 wine_fn_config_makefile dlls/dcomp enable_dcomp
21147 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21148 wine_fn_config_makefile dlls/ddraw enable_ddraw
21149 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21150 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21151 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21152 wine_fn_config_makefile dlls/devenum enable_devenum
21153 wine_fn_config_makefile dlls/devenum/tests enable_tests
21154 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21155 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21156 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21157 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21158 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21159 wine_fn_config_makefile dlls/difxapi enable_difxapi
21160 wine_fn_config_makefile dlls/dinput enable_dinput
21161 wine_fn_config_makefile dlls/dinput/tests enable_tests
21162 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21163 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21164 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21165 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21166 wine_fn_config_makefile dlls/dispex enable_dispex
21167 wine_fn_config_makefile dlls/dispex/tests enable_tests
21168 wine_fn_config_makefile dlls/display.drv16 enable_win16
21169 wine_fn_config_makefile dlls/dmband enable_dmband
21170 wine_fn_config_makefile dlls/dmband/tests enable_tests
21171 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21172 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21173 wine_fn_config_makefile dlls/dmime enable_dmime
21174 wine_fn_config_makefile dlls/dmime/tests enable_tests
21175 wine_fn_config_makefile dlls/dmloader enable_dmloader
21176 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21177 wine_fn_config_makefile dlls/dmscript enable_dmscript
21178 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21179 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21180 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21181 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21182 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21183 wine_fn_config_makefile dlls/dmusic enable_dmusic
21184 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21185 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21186 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21187 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21188 wine_fn_config_makefile dlls/dplay enable_dplay
21189 wine_fn_config_makefile dlls/dplayx enable_dplayx
21190 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21191 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21192 wine_fn_config_makefile dlls/dpnet enable_dpnet
21193 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21194 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21195 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21196 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21197 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21198 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21199 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21200 wine_fn_config_makefile dlls/drmclien enable_drmclien
21201 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21202 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21203 wine_fn_config_makefile dlls/dsound enable_dsound
21204 wine_fn_config_makefile dlls/dsound/tests enable_tests
21205 wine_fn_config_makefile dlls/dsquery enable_dsquery
21206 wine_fn_config_makefile dlls/dssenh enable_dssenh
21207 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21208 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21209 wine_fn_config_makefile dlls/dswave enable_dswave
21210 wine_fn_config_makefile dlls/dswave/tests enable_tests
21211 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21212 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21213 wine_fn_config_makefile dlls/dwrite enable_dwrite
21214 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21215 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21216 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21217 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21218 wine_fn_config_makefile dlls/dxgi enable_dxgi
21219 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21220 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21221 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21222 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21223 wine_fn_config_makefile dlls/esent enable_esent
21224 wine_fn_config_makefile dlls/evr enable_evr
21225 wine_fn_config_makefile dlls/evr/tests enable_tests
21226 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21227 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21228 wine_fn_config_makefile dlls/faultrep enable_faultrep
21229 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21230 wine_fn_config_makefile dlls/feclient enable_feclient
21231 wine_fn_config_makefile dlls/fltlib enable_fltlib
21232 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21233 wine_fn_config_makefile dlls/fntcache enable_fntcache
21234 wine_fn_config_makefile dlls/fontsub enable_fontsub
21235 wine_fn_config_makefile dlls/fusion enable_fusion
21236 wine_fn_config_makefile dlls/fusion/tests enable_tests
21237 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21238 wine_fn_config_makefile dlls/gameux enable_gameux
21239 wine_fn_config_makefile dlls/gameux/tests enable_tests
21240 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21241 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21242 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21243 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21244 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21245 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21246 wine_fn_config_makefile dlls/glu32 enable_glu32
21247 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21248 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21249 wine_fn_config_makefile dlls/hal enable_hal
21250 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21251 wine_fn_config_makefile dlls/hid enable_hid
21252 wine_fn_config_makefile dlls/hid/tests enable_tests
21253 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21254 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21255 wine_fn_config_makefile dlls/hlink enable_hlink
21256 wine_fn_config_makefile dlls/hlink/tests enable_tests
21257 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21258 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21259 wine_fn_config_makefile dlls/http.sys enable_http_sys
21260 wine_fn_config_makefile dlls/httpapi enable_httpapi
21261 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21262 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21263 wine_fn_config_makefile dlls/iccvid enable_iccvid
21264 wine_fn_config_makefile dlls/icmp enable_icmp
21265 wine_fn_config_makefile dlls/ieframe enable_ieframe
21266 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21267 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21268 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21269 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21270 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21271 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21272 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21273 wine_fn_config_makefile dlls/imm32 enable_imm32
21274 wine_fn_config_makefile dlls/imm32/tests enable_tests
21275 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21276 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21277 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21278 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21279 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21280 wine_fn_config_makefile dlls/infosoft enable_infosoft
21281 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21282 wine_fn_config_makefile dlls/initpki enable_initpki
21283 wine_fn_config_makefile dlls/inkobj enable_inkobj
21284 wine_fn_config_makefile dlls/inseng enable_inseng
21285 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21286 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21287 wine_fn_config_makefile dlls/iprop enable_iprop
21288 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21289 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21290 wine_fn_config_makefile dlls/itircl enable_itircl
21291 wine_fn_config_makefile dlls/itss enable_itss
21292 wine_fn_config_makefile dlls/itss/tests enable_tests
21293 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21294 wine_fn_config_makefile dlls/jscript enable_jscript
21295 wine_fn_config_makefile dlls/jscript/tests enable_tests
21296 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21297 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21298 wine_fn_config_makefile dlls/kerberos enable_kerberos
21299 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21300 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21301 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21302 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21303 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21304 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21305 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21306 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21307 wine_fn_config_makefile dlls/ksuser enable_ksuser
21308 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21309 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21310 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21311 wine_fn_config_makefile dlls/loadperf enable_loadperf
21312 wine_fn_config_makefile dlls/localspl enable_localspl
21313 wine_fn_config_makefile dlls/localspl/tests enable_tests
21314 wine_fn_config_makefile dlls/localui enable_localui
21315 wine_fn_config_makefile dlls/localui/tests enable_tests
21316 wine_fn_config_makefile dlls/lz32 enable_lz32
21317 wine_fn_config_makefile dlls/lz32/tests enable_tests
21318 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21319 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21320 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21321 wine_fn_config_makefile dlls/mapistub enable_mapistub
21322 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21323 wine_fn_config_makefile dlls/mcicda enable_mcicda
21324 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21325 wine_fn_config_makefile dlls/mciseq enable_mciseq
21326 wine_fn_config_makefile dlls/mciwave enable_mciwave
21327 wine_fn_config_makefile dlls/mf enable_mf
21328 wine_fn_config_makefile dlls/mf/tests enable_tests
21329 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21330 wine_fn_config_makefile dlls/mferror enable_mferror
21331 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21332 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21333 wine_fn_config_makefile dlls/mfplat enable_mfplat
21334 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21335 wine_fn_config_makefile dlls/mfplay enable_mfplay
21336 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21337 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21338 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21339 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21340 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21341 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21342 wine_fn_config_makefile dlls/midimap enable_midimap
21343 wine_fn_config_makefile dlls/mlang enable_mlang
21344 wine_fn_config_makefile dlls/mlang/tests enable_tests
21345 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21346 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21347 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21348 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21349 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21350 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21351 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21352 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21353 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21354 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21355 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21356 wine_fn_config_makefile dlls/mpr enable_mpr
21357 wine_fn_config_makefile dlls/mpr/tests enable_tests
21358 wine_fn_config_makefile dlls/mprapi enable_mprapi
21359 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21360 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21361 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21362 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21363 wine_fn_config_makefile dlls/msado15 enable_msado15
21364 wine_fn_config_makefile dlls/msado15/tests enable_tests
21365 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21366 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21367 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21368 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21369 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21370 wine_fn_config_makefile dlls/mscms enable_mscms
21371 wine_fn_config_makefile dlls/mscms/tests enable_tests
21372 wine_fn_config_makefile dlls/mscoree enable_mscoree
21373 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21374 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21375 wine_fn_config_makefile dlls/msctf enable_msctf
21376 wine_fn_config_makefile dlls/msctf/tests enable_tests
21377 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21378 wine_fn_config_makefile dlls/msctfp enable_msctfp
21379 wine_fn_config_makefile dlls/msdaps enable_msdaps
21380 wine_fn_config_makefile dlls/msdasql enable_msdasql
21381 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21382 wine_fn_config_makefile dlls/msdelta enable_msdelta
21383 wine_fn_config_makefile dlls/msdmo enable_msdmo
21384 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21385 wine_fn_config_makefile dlls/msdrm enable_msdrm
21386 wine_fn_config_makefile dlls/msftedit enable_msftedit
21387 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21388 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21389 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21390 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21391 wine_fn_config_makefile dlls/mshtml enable_mshtml
21392 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21393 wine_fn_config_makefile dlls/msi enable_msi
21394 wine_fn_config_makefile dlls/msi/tests enable_tests
21395 wine_fn_config_makefile dlls/msident enable_msident
21396 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21397 wine_fn_config_makefile dlls/msimsg enable_msimsg
21398 wine_fn_config_makefile dlls/msimtf enable_msimtf
21399 wine_fn_config_makefile dlls/msisip enable_msisip
21400 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21401 wine_fn_config_makefile dlls/msls31 enable_msls31
21402 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21403 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21404 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21405 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21406 wine_fn_config_makefile dlls/msports enable_msports
21407 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21408 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21409 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21410 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21411 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21412 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21413 wine_fn_config_makefile dlls/mstask enable_mstask
21414 wine_fn_config_makefile dlls/mstask/tests enable_tests
21415 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21416 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21417 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21418 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21419 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21420 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21421 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21422 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21423 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21424 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21425 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21426 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21427 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21428 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21429 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21430 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21431 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21432 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21433 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21434 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21435 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21436 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21437 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21438 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21439 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21440 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21441 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21442 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21443 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21444 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21445 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21446 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21447 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21448 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21449 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21450 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21451 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21452 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21453 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21454 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21455 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21456 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21457 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21458 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21459 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21460 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21461 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21462 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21463 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21464 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21465 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21466 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21467 wine_fn_config_makefile dlls/mswsock enable_mswsock
21468 wine_fn_config_makefile dlls/msxml enable_msxml
21469 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21470 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21471 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21472 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21473 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21474 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21475 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21476 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21477 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21478 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21479 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21480 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21481 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21482 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21483 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21484 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21485 wine_fn_config_makefile dlls/netprofm enable_netprofm
21486 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21487 wine_fn_config_makefile dlls/netutils enable_netutils
21488 wine_fn_config_makefile dlls/newdev enable_newdev
21489 wine_fn_config_makefile dlls/ninput enable_ninput
21490 wine_fn_config_makefile dlls/ninput/tests enable_tests
21491 wine_fn_config_makefile dlls/normaliz enable_normaliz
21492 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21493 wine_fn_config_makefile dlls/npptools enable_npptools
21494 wine_fn_config_makefile dlls/nsi enable_nsi
21495 wine_fn_config_makefile dlls/nsi/tests enable_tests
21496 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21497 wine_fn_config_makefile dlls/ntdll enable_ntdll
21498 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21499 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21500 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21501 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21502 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21503 wine_fn_config_makefile dlls/ntprint enable_ntprint
21504 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21505 wine_fn_config_makefile dlls/objsel enable_objsel
21506 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21507 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21508 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21509 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21510 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21511 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21512 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21513 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21514 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21515 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21516 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21517 wine_fn_config_makefile dlls/ole32 enable_ole32
21518 wine_fn_config_makefile dlls/ole32/tests enable_tests
21519 wine_fn_config_makefile dlls/oleacc enable_oleacc
21520 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21521 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21522 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21523 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21524 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21525 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21526 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21527 wine_fn_config_makefile dlls/oledlg enable_oledlg
21528 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21529 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21530 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21531 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21532 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21533 wine_fn_config_makefile dlls/opcservices enable_opcservices
21534 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21535 wine_fn_config_makefile dlls/opencl enable_opencl
21536 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21537 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21538 wine_fn_config_makefile dlls/packager enable_packager
21539 wine_fn_config_makefile dlls/packager/tests enable_tests
21540 wine_fn_config_makefile dlls/pdh enable_pdh
21541 wine_fn_config_makefile dlls/pdh/tests enable_tests
21542 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21543 wine_fn_config_makefile dlls/pidgen enable_pidgen
21544 wine_fn_config_makefile dlls/powrprof enable_powrprof
21545 wine_fn_config_makefile dlls/printui enable_printui
21546 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21547 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21548 wine_fn_config_makefile dlls/propsys enable_propsys
21549 wine_fn_config_makefile dlls/propsys/tests enable_tests
21550 wine_fn_config_makefile dlls/psapi enable_psapi
21551 wine_fn_config_makefile dlls/psapi/tests enable_tests
21552 wine_fn_config_makefile dlls/pstorec enable_pstorec
21553 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21554 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21555 wine_fn_config_makefile dlls/qasf enable_qasf
21556 wine_fn_config_makefile dlls/qasf/tests enable_tests
21557 wine_fn_config_makefile dlls/qcap enable_qcap
21558 wine_fn_config_makefile dlls/qcap/tests enable_tests
21559 wine_fn_config_makefile dlls/qdvd enable_qdvd
21560 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21561 wine_fn_config_makefile dlls/qedit enable_qedit
21562 wine_fn_config_makefile dlls/qedit/tests enable_tests
21563 wine_fn_config_makefile dlls/qmgr enable_qmgr
21564 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21565 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21566 wine_fn_config_makefile dlls/quartz enable_quartz
21567 wine_fn_config_makefile dlls/quartz/tests enable_tests
21568 wine_fn_config_makefile dlls/query enable_query
21569 wine_fn_config_makefile dlls/qwave enable_qwave
21570 wine_fn_config_makefile dlls/qwave/tests enable_tests
21571 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21572 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21573 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21574 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21575 wine_fn_config_makefile dlls/regapi enable_regapi
21576 wine_fn_config_makefile dlls/resutils enable_resutils
21577 wine_fn_config_makefile dlls/riched20 enable_riched20
21578 wine_fn_config_makefile dlls/riched20/tests enable_tests
21579 wine_fn_config_makefile dlls/riched32 enable_riched32
21580 wine_fn_config_makefile dlls/riched32/tests enable_tests
21581 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21582 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21583 wine_fn_config_makefile dlls/rsabase enable_rsabase
21584 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21585 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21586 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21587 wine_fn_config_makefile dlls/rtutils enable_rtutils
21588 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21589 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21590 wine_fn_config_makefile dlls/samlib enable_samlib
21591 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21592 wine_fn_config_makefile dlls/sapi enable_sapi
21593 wine_fn_config_makefile dlls/sapi/tests enable_tests
21594 wine_fn_config_makefile dlls/sas enable_sas
21595 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21596 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21597 wine_fn_config_makefile dlls/sccbase enable_sccbase
21598 wine_fn_config_makefile dlls/schannel enable_schannel
21599 wine_fn_config_makefile dlls/schannel/tests enable_tests
21600 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21601 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21602 wine_fn_config_makefile dlls/scrobj enable_scrobj
21603 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21604 wine_fn_config_makefile dlls/scrrun enable_scrrun
21605 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21606 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21607 wine_fn_config_makefile dlls/sechost enable_sechost
21608 wine_fn_config_makefile dlls/secur32 enable_secur32
21609 wine_fn_config_makefile dlls/secur32/tests enable_tests
21610 wine_fn_config_makefile dlls/security enable_security
21611 wine_fn_config_makefile dlls/sensapi enable_sensapi
21612 wine_fn_config_makefile dlls/serialui enable_serialui
21613 wine_fn_config_makefile dlls/serialui/tests enable_tests
21614 wine_fn_config_makefile dlls/setupapi enable_setupapi
21615 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21616 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21617 wine_fn_config_makefile dlls/sfc enable_sfc
21618 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21619 wine_fn_config_makefile dlls/shcore enable_shcore
21620 wine_fn_config_makefile dlls/shcore/tests enable_tests
21621 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21622 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21623 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21624 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21625 wine_fn_config_makefile dlls/shell32 enable_shell32
21626 wine_fn_config_makefile dlls/shell32/tests enable_tests
21627 wine_fn_config_makefile dlls/shfolder enable_shfolder
21628 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21629 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21630 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21631 wine_fn_config_makefile dlls/slc enable_slc
21632 wine_fn_config_makefile dlls/slc/tests enable_tests
21633 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21634 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21635 wine_fn_config_makefile dlls/softpub enable_softpub
21636 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21637 wine_fn_config_makefile dlls/spoolss enable_spoolss
21638 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21639 wine_fn_config_makefile dlls/sppc enable_sppc
21640 wine_fn_config_makefile dlls/srclient enable_srclient
21641 wine_fn_config_makefile dlls/srvcli enable_srvcli
21642 wine_fn_config_makefile dlls/sspicli enable_sspicli
21643 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21644 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21645 wine_fn_config_makefile dlls/sti enable_sti
21646 wine_fn_config_makefile dlls/sti/tests enable_tests
21647 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21648 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21649 wine_fn_config_makefile dlls/strmdll enable_strmdll
21650 wine_fn_config_makefile dlls/svrapi enable_svrapi
21651 wine_fn_config_makefile dlls/sxs enable_sxs
21652 wine_fn_config_makefile dlls/sxs/tests enable_tests
21653 wine_fn_config_makefile dlls/system.drv16 enable_win16
21654 wine_fn_config_makefile dlls/t2embed enable_t2embed
21655 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21656 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21657 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21658 wine_fn_config_makefile dlls/taskschd enable_taskschd
21659 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21660 wine_fn_config_makefile dlls/tbs enable_tbs
21661 wine_fn_config_makefile dlls/tdh enable_tdh
21662 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21663 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21664 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21665 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21666 wine_fn_config_makefile dlls/traffic enable_traffic
21667 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21668 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21669 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21670 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21671 wine_fn_config_makefile dlls/tzres enable_tzres
21672 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21673 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21674 wine_fn_config_makefile dlls/uianimation enable_uianimation
21675 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21676 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21677 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21678 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21679 wine_fn_config_makefile dlls/unicows enable_unicows
21680 wine_fn_config_makefile dlls/updspapi enable_updspapi
21681 wine_fn_config_makefile dlls/url enable_url
21682 wine_fn_config_makefile dlls/urlmon enable_urlmon
21683 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21684 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21685 wine_fn_config_makefile dlls/user.exe16 enable_win16
21686 wine_fn_config_makefile dlls/user32 enable_user32
21687 wine_fn_config_makefile dlls/user32/tests enable_tests
21688 wine_fn_config_makefile dlls/userenv enable_userenv
21689 wine_fn_config_makefile dlls/userenv/tests enable_tests
21690 wine_fn_config_makefile dlls/usp10 enable_usp10
21691 wine_fn_config_makefile dlls/usp10/tests enable_tests
21692 wine_fn_config_makefile dlls/utildll enable_utildll
21693 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21694 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21695 wine_fn_config_makefile dlls/vbscript enable_vbscript
21696 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21697 wine_fn_config_makefile dlls/vcomp enable_vcomp
21698 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21699 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21700 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21701 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21702 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21703 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21704 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21705 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21706 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21707 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21708 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21709 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21710 wine_fn_config_makefile dlls/version enable_version
21711 wine_fn_config_makefile dlls/version/tests enable_tests
21712 wine_fn_config_makefile dlls/vga enable_vga
21713 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21714 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21715 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21716 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21717 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21718 wine_fn_config_makefile dlls/vssapi enable_vssapi
21719 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21720 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21721 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21722 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21723 wine_fn_config_makefile dlls/w32skrnl enable_win16
21724 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21725 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21726 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21727 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21728 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21729 wine_fn_config_makefile dlls/wdscore enable_wdscore
21730 wine_fn_config_makefile dlls/webservices enable_webservices
21731 wine_fn_config_makefile dlls/webservices/tests enable_tests
21732 wine_fn_config_makefile dlls/websocket enable_websocket
21733 wine_fn_config_makefile dlls/wer enable_wer
21734 wine_fn_config_makefile dlls/wer/tests enable_tests
21735 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21736 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21737 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21738 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21739 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21740 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21741 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21742 wine_fn_config_makefile dlls/win32u enable_win32u
21743 wine_fn_config_makefile dlls/win32u/tests enable_tests
21744 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21745 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21746 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21747 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21748 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21749 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21750 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21751 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21752 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21753 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21754 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21755 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21756 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21757 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21758 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21759 wine_fn_config_makefile dlls/windows.media enable_windows_media
21760 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21761 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21762 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21763 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21764 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21765 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21766 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21767 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21768 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21769 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21770 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21771 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21772 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21773 wine_fn_config_makefile dlls/wined3d enable_wined3d
21774 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21775 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21776 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21777 wine_fn_config_makefile dlls/winemapi enable_winemapi
21778 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21779 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21780 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21781 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21782 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21783 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21784 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21785 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21786 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21787 wine_fn_config_makefile dlls/wing32 enable_wing32
21788 wine_fn_config_makefile dlls/winhttp enable_winhttp
21789 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21790 wine_fn_config_makefile dlls/wininet enable_wininet
21791 wine_fn_config_makefile dlls/wininet/tests enable_tests
21792 wine_fn_config_makefile dlls/winmm enable_winmm
21793 wine_fn_config_makefile dlls/winmm/tests enable_tests
21794 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21795 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21796 wine_fn_config_makefile dlls/winprint enable_winprint
21797 wine_fn_config_makefile dlls/winscard enable_winscard
21798 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21799 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21800 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21801 wine_fn_config_makefile dlls/winsta enable_winsta
21802 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21803 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21804 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21805 wine_fn_config_makefile dlls/wintrust enable_wintrust
21806 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21807 wine_fn_config_makefile dlls/wintypes enable_wintypes
21808 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21809 wine_fn_config_makefile dlls/winusb enable_winusb
21810 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21811 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21812 wine_fn_config_makefile dlls/wlanui enable_wlanui
21813 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21814 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21815 wine_fn_config_makefile dlls/wmasf enable_wmasf
21816 wine_fn_config_makefile dlls/wmi enable_wmi
21817 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21818 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21819 wine_fn_config_makefile dlls/wmp enable_wmp
21820 wine_fn_config_makefile dlls/wmp/tests enable_tests
21821 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21822 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21823 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21824 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21825 wine_fn_config_makefile dlls/wofutil enable_wofutil
21826 wine_fn_config_makefile dlls/wow32 enable_win16
21827 wine_fn_config_makefile dlls/wow64 enable_wow64
21828 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21829 wine_fn_config_makefile dlls/wow64win enable_wow64win
21830 wine_fn_config_makefile dlls/wpc enable_wpc
21831 wine_fn_config_makefile dlls/wpc/tests enable_tests
21832 wine_fn_config_makefile dlls/wpcap enable_wpcap
21833 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21834 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21835 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21836 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21837 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21838 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21839 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21840 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21841 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21842 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21843 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21844 wine_fn_config_makefile dlls/wuapi enable_wuapi
21845 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21846 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21847 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21848 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21849 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21850 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21851 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21852 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21853 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21854 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21855 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21856 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21857 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21858 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21859 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21860 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21861 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21862 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21863 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21864 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21865 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21866 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21867 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21868 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21869 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21870 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21871 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21872 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21873 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21874 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21875 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21876 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21877 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21878 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21879 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21880 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21881 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21882 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21883 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21884 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21885 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21886 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21887 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21888 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21889 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
21890 wine_fn_config_makefile dlls/xmllite enable_xmllite
21891 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21892 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21893 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21894 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21895 wine_fn_config_makefile fonts enable_fonts
21896 wine_fn_config_makefile include enable_include
21897 wine_fn_config_makefile libs/adsiid enable_adsiid
21898 wine_fn_config_makefile libs/dmoguids enable_dmoguids
21899 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
21900 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
21901 wine_fn_config_makefile libs/dxguid enable_dxguid
21902 wine_fn_config_makefile libs/faudio enable_faudio
21903 wine_fn_config_makefile libs/gsm enable_gsm
21904 wine_fn_config_makefile libs/jpeg enable_jpeg
21905 wine_fn_config_makefile libs/jxr enable_jxr
21906 wine_fn_config_makefile libs/lcms2 enable_lcms2
21907 wine_fn_config_makefile libs/ldap enable_ldap
21908 wine_fn_config_makefile libs/mfuuid enable_mfuuid
21909 wine_fn_config_makefile libs/mpg123 enable_mpg123
21910 wine_fn_config_makefile libs/png enable_png
21911 wine_fn_config_makefile libs/strmbase enable_strmbase
21912 wine_fn_config_makefile libs/strmiids enable_strmiids
21913 wine_fn_config_makefile libs/tiff enable_tiff
21914 wine_fn_config_makefile libs/uuid enable_uuid
21915 wine_fn_config_makefile libs/vkd3d enable_vkd3d
21916 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
21917 wine_fn_config_makefile libs/wine enable_wine
21918 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
21919 wine_fn_config_makefile libs/xml2 enable_xml2
21920 wine_fn_config_makefile libs/xslt enable_xslt
21921 wine_fn_config_makefile libs/zlib enable_zlib
21922 wine_fn_config_makefile loader enable_loader
21923 wine_fn_config_makefile nls enable_nls
21924 wine_fn_config_makefile po enable_po
21925 wine_fn_config_makefile programs/arp enable_arp
21926 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21927 wine_fn_config_makefile programs/attrib enable_attrib
21928 wine_fn_config_makefile programs/cabarc enable_cabarc
21929 wine_fn_config_makefile programs/cacls enable_cacls
21930 wine_fn_config_makefile programs/certutil enable_certutil
21931 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21932 wine_fn_config_makefile programs/clock enable_clock
21933 wine_fn_config_makefile programs/cmd enable_cmd
21934 wine_fn_config_makefile programs/cmd/tests enable_tests
21935 wine_fn_config_makefile programs/conhost enable_conhost
21936 wine_fn_config_makefile programs/conhost/tests enable_tests
21937 wine_fn_config_makefile programs/control enable_control
21938 wine_fn_config_makefile programs/cscript enable_cscript
21939 wine_fn_config_makefile programs/dism enable_dism
21940 wine_fn_config_makefile programs/dllhost enable_dllhost
21941 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21942 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21943 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21944 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21945 wine_fn_config_makefile programs/eject enable_eject
21946 wine_fn_config_makefile programs/expand enable_expand
21947 wine_fn_config_makefile programs/explorer enable_explorer
21948 wine_fn_config_makefile programs/explorer/tests enable_tests
21949 wine_fn_config_makefile programs/extrac32 enable_extrac32
21950 wine_fn_config_makefile programs/fc enable_fc
21951 wine_fn_config_makefile programs/find enable_find
21952 wine_fn_config_makefile programs/find/tests enable_tests
21953 wine_fn_config_makefile programs/findstr enable_findstr
21954 wine_fn_config_makefile programs/fsutil enable_fsutil
21955 wine_fn_config_makefile programs/fsutil/tests enable_tests
21956 wine_fn_config_makefile programs/hh enable_hh
21957 wine_fn_config_makefile programs/hostname enable_hostname
21958 wine_fn_config_makefile programs/icacls enable_icacls
21959 wine_fn_config_makefile programs/icinfo enable_icinfo
21960 wine_fn_config_makefile programs/iexplore enable_iexplore
21961 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21962 wine_fn_config_makefile programs/lodctr enable_lodctr
21963 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21964 wine_fn_config_makefile programs/mshta enable_mshta
21965 wine_fn_config_makefile programs/msidb enable_msidb
21966 wine_fn_config_makefile programs/msiexec enable_msiexec
21967 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21968 wine_fn_config_makefile programs/net enable_net
21969 wine_fn_config_makefile programs/netsh enable_netsh
21970 wine_fn_config_makefile programs/netstat enable_netstat
21971 wine_fn_config_makefile programs/ngen enable_ngen
21972 wine_fn_config_makefile programs/notepad enable_notepad
21973 wine_fn_config_makefile programs/oleview enable_oleview
21974 wine_fn_config_makefile programs/ping enable_ping
21975 wine_fn_config_makefile programs/plugplay enable_plugplay
21976 wine_fn_config_makefile programs/powershell enable_powershell
21977 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21978 wine_fn_config_makefile programs/progman enable_progman
21979 wine_fn_config_makefile programs/reg enable_reg
21980 wine_fn_config_makefile programs/reg/tests enable_tests
21981 wine_fn_config_makefile programs/regasm enable_regasm
21982 wine_fn_config_makefile programs/regedit enable_regedit
21983 wine_fn_config_makefile programs/regedit/tests enable_tests
21984 wine_fn_config_makefile programs/regini enable_regini
21985 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21986 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21987 wine_fn_config_makefile programs/robocopy enable_robocopy
21988 wine_fn_config_makefile programs/rpcss enable_rpcss
21989 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21990 wine_fn_config_makefile programs/rundll32 enable_rundll32
21991 wine_fn_config_makefile programs/sc enable_sc
21992 wine_fn_config_makefile programs/sc/tests enable_tests
21993 wine_fn_config_makefile programs/schtasks enable_schtasks
21994 wine_fn_config_makefile programs/schtasks/tests enable_tests
21995 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21996 wine_fn_config_makefile programs/secedit enable_secedit
21997 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21998 wine_fn_config_makefile programs/services enable_services
21999 wine_fn_config_makefile programs/services/tests enable_tests
22000 wine_fn_config_makefile programs/setx enable_setx
22001 wine_fn_config_makefile programs/shutdown enable_shutdown
22002 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22003 wine_fn_config_makefile programs/start enable_start
22004 wine_fn_config_makefile programs/subst enable_subst
22005 wine_fn_config_makefile programs/svchost enable_svchost
22006 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22007 wine_fn_config_makefile programs/taskkill enable_taskkill
22008 wine_fn_config_makefile programs/tasklist enable_tasklist
22009 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22010 wine_fn_config_makefile programs/termsv enable_termsv
22011 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22012 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22013 wine_fn_config_makefile programs/view enable_view
22014 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22015 wine_fn_config_makefile programs/where enable_where
22016 wine_fn_config_makefile programs/whoami enable_whoami
22017 wine_fn_config_makefile programs/wineboot enable_wineboot
22018 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22019 wine_fn_config_makefile programs/winecfg enable_winecfg
22020 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22021 wine_fn_config_makefile programs/winedbg enable_winedbg
22022 wine_fn_config_makefile programs/winedevice enable_winedevice
22023 wine_fn_config_makefile programs/winefile enable_winefile
22024 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22025 wine_fn_config_makefile programs/winemine enable_winemine
22026 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22027 wine_fn_config_makefile programs/winepath enable_winepath
22028 wine_fn_config_makefile programs/winetest enable_winetest
22029 wine_fn_config_makefile programs/winevdm enable_win16
22030 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22031 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22032 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22033 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22034 wine_fn_config_makefile programs/winver enable_winver
22035 wine_fn_config_makefile programs/wmic enable_wmic
22036 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22037 wine_fn_config_makefile programs/wordpad enable_wordpad
22038 wine_fn_config_makefile programs/write enable_write
22039 wine_fn_config_makefile programs/wscript enable_wscript
22040 wine_fn_config_makefile programs/wscript/tests enable_tests
22041 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22042 wine_fn_config_makefile programs/wusa enable_wusa
22043 wine_fn_config_makefile programs/xcopy enable_xcopy
22044 wine_fn_config_makefile programs/xcopy/tests enable_tests
22045 wine_fn_config_makefile server enable_server
22046 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22047 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22048 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22049 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22050 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22051 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22052 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22053 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22054 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22057 as_fn_append CONFIGURE_TARGETS " TAGS"
22058 as_fn_append CONFIGURE_TARGETS " tags"
22059 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22060 as_fn_append CONFIGURE_TARGETS " config.log"
22061 as_fn_append CONFIGURE_TARGETS " config.status"
22062 as_fn_append CONFIGURE_TARGETS " include/config.h"
22063 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22064 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22066 if test "x$enable_tools" != xno
22067 then
22068 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22069 ac_config_commands="$ac_config_commands tools/makedep"
22073 ac_config_commands="$ac_config_commands Makefile"
22077 SHELL=/bin/sh
22080 as_fn_append wine_rules "
22081 all: wine
22082 @echo \"Wine build complete.\"
22083 .INIT: Makefile
22084 .MAKEFILEDEPS:
22085 all: Makefile
22086 Makefile: config.status \$(MAKEDEP)
22087 @./config.status Makefile
22088 depend: \$(MAKEDEP)
22089 \$(MAKEDEP)$makedep_flags"
22092 as_fn_append wine_rules "
22093 config.status: ${wine_srcdir}configure
22094 @./config.status --recheck
22095 include/config.h: include/stamp-h
22096 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22097 @./config.status include/config.h include/stamp-h"
22099 if test "x$enable_maintainer_mode" = xyes
22100 then
22101 as_fn_append wine_rules "
22102 configure: configure.ac aclocal.m4
22103 autoconf --warnings=all
22104 include/config.h.in: include/stamp-h.in
22105 include/stamp-h.in: configure.ac aclocal.m4
22106 autoheader --warnings=all
22107 @echo timestamp > \$@"
22110 if test "x$enable_tools" != xno
22111 then
22112 as_fn_append wine_rules "
22113 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22114 @./config.status tools/makedep
22115 Makefile: tools/makedep$ac_exeext"
22116 else
22117 as_fn_append wine_rules "
22118 \$(MAKEDEP):
22119 @echo \"You need to run make in $toolsdir first\" && false"
22123 if test -n "$with_wine64"
22124 then
22125 case "$with_wine64" in
22126 /*) reldir="" ;;
22127 *) reldir="../" ;;
22128 esac
22129 rm -f fonts server 2>/dev/null
22130 as_fn_append wine_rules "
22131 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22132 loader/wine64 loader/wine64-preloader:
22133 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22134 $with_wine64/loader/wine:
22135 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22136 $with_wine64/loader/wine-preloader:
22137 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22138 clean::
22139 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22140 else
22141 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22142 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22143 fonts \
22144 loader/wine.inf \
22145 nls \
22146 programs/msidb/msidb \
22147 programs/msiexec/msiexec \
22148 programs/notepad/notepad \
22149 programs/regedit/regedit \
22150 programs/regsvr32/regsvr32 \
22151 programs/wineboot/wineboot \
22152 programs/winecfg/winecfg \
22153 programs/wineconsole/wineconsole \
22154 programs/winedbg/winedbg \
22155 programs/winefile/winefile \
22156 programs/winemine/winemine \
22157 programs/winepath/winepath \
22158 server/wineserver"
22160 case $host_os in
22161 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22162 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22163 esac
22167 as_fn_append wine_rules "
22168 distclean:: clean
22169 rm -rf autom4te.cache
22170 maintainer-clean::
22171 rm -f configure include/config.h.in"
22174 as_fn_append wine_rules "
22175 dlls/ntdll/unix/version.c: dummy
22176 @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)
22177 programs/winetest/build.rc: dummy
22178 @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)
22179 programs/winetest/build.nfo:
22180 @-\$(CC) -v 2>\$@
22181 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
22182 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22183 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22186 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22188 as_fn_append wine_rules "
22189 TAGS etags:
22190 rm -f TAGS
22191 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22192 tags ctags:
22193 rm -f tags
22194 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22195 dummy:
22196 .PHONY: depend dummy install-manpages"
22198 printf "%s\n" " done" >&6
22199 cat >confcache <<\_ACEOF
22200 # This file is a shell script that caches the results of configure
22201 # tests run on this system so they can be shared between configure
22202 # scripts and configure runs, see configure's option --config-cache.
22203 # It is not useful on other systems. If it contains results you don't
22204 # want to keep, you may remove or edit it.
22206 # config.status only pays attention to the cache file if you give it
22207 # the --recheck option to rerun configure.
22209 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22210 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22211 # following values.
22213 _ACEOF
22215 # The following way of writing the cache mishandles newlines in values,
22216 # but we know of no workaround that is simple, portable, and efficient.
22217 # So, we kill variables containing newlines.
22218 # Ultrix sh set writes to stderr and can't be redirected directly,
22219 # and sets the high bit in the cache file unless we assign to the vars.
22221 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22222 eval ac_val=\$$ac_var
22223 case $ac_val in #(
22224 *${as_nl}*)
22225 case $ac_var in #(
22226 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22227 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22228 esac
22229 case $ac_var in #(
22230 _ | IFS | as_nl) ;; #(
22231 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22232 *) { eval $ac_var=; unset $ac_var;} ;;
22233 esac ;;
22234 esac
22235 done
22237 (set) 2>&1 |
22238 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22239 *${as_nl}ac_space=\ *)
22240 # `set' does not quote correctly, so add quotes: double-quote
22241 # substitution turns \\\\ into \\, and sed turns \\ into \.
22242 sed -n \
22243 "s/'/'\\\\''/g;
22244 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22245 ;; #(
22247 # `set' quotes correctly as required by POSIX, so do not add quotes.
22248 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22250 esac |
22251 sort
22253 sed '
22254 /^ac_cv_env_/b end
22255 t clear
22256 :clear
22257 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22258 t end
22259 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22260 :end' >>confcache
22261 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22262 if test -w "$cache_file"; then
22263 if test "x$cache_file" != "x/dev/null"; then
22264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22265 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22266 if test ! -f "$cache_file" || test -h "$cache_file"; then
22267 cat confcache >"$cache_file"
22268 else
22269 case $cache_file in #(
22270 */* | ?:*)
22271 mv -f confcache "$cache_file"$$ &&
22272 mv -f "$cache_file"$$ "$cache_file" ;; #(
22274 mv -f confcache "$cache_file" ;;
22275 esac
22278 else
22279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22280 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22283 rm -f confcache
22285 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22286 # Let make expand exec_prefix.
22287 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22289 DEFS=-DHAVE_CONFIG_H
22291 ac_libobjs=
22292 ac_ltlibobjs=
22294 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22295 # 1. Remove the extension, and $U if already installed.
22296 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22297 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22298 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22299 # will be set to the directory where LIBOBJS objects are built.
22300 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22301 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22302 done
22303 LIBOBJS=$ac_libobjs
22305 LTLIBOBJS=$ac_ltlibobjs
22309 : "${CONFIG_STATUS=./config.status}"
22310 ac_write_fail=0
22311 ac_clean_files_save=$ac_clean_files
22312 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22314 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22315 as_write_fail=0
22316 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22317 #! $SHELL
22318 # Generated by $as_me.
22319 # Run this file to recreate the current configuration.
22320 # Compiler output produced by configure, useful for debugging
22321 # configure, is in config.log if it exists.
22323 debug=false
22324 ac_cs_recheck=false
22325 ac_cs_silent=false
22327 SHELL=\${CONFIG_SHELL-$SHELL}
22328 export SHELL
22329 _ASEOF
22330 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22331 ## -------------------- ##
22332 ## M4sh Initialization. ##
22333 ## -------------------- ##
22335 # Be more Bourne compatible
22336 DUALCASE=1; export DUALCASE # for MKS sh
22337 as_nop=:
22338 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22339 then :
22340 emulate sh
22341 NULLCMD=:
22342 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22343 # is contrary to our usage. Disable this feature.
22344 alias -g '${1+"$@"}'='"$@"'
22345 setopt NO_GLOB_SUBST
22346 else $as_nop
22347 case `(set -o) 2>/dev/null` in #(
22348 *posix*) :
22349 set -o posix ;; #(
22350 *) :
22352 esac
22357 # Reset variables that may have inherited troublesome values from
22358 # the environment.
22360 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22361 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22362 # side effect of setting IFS to empty, thus disabling word splitting.)
22363 # Quoting is to prevent editors from complaining about space-tab.
22364 as_nl='
22366 export as_nl
22367 IFS=" "" $as_nl"
22369 PS1='$ '
22370 PS2='> '
22371 PS4='+ '
22373 # Ensure predictable behavior from utilities with locale-dependent output.
22374 LC_ALL=C
22375 export LC_ALL
22376 LANGUAGE=C
22377 export LANGUAGE
22379 # We cannot yet rely on "unset" to work, but we need these variables
22380 # to be unset--not just set to an empty or harmless value--now, to
22381 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22382 # also avoids known problems related to "unset" and subshell syntax
22383 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22384 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22385 do eval test \${$as_var+y} \
22386 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22387 done
22389 # Ensure that fds 0, 1, and 2 are open.
22390 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22391 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22392 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22394 # The user is always right.
22395 if ${PATH_SEPARATOR+false} :; then
22396 PATH_SEPARATOR=:
22397 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22398 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22399 PATH_SEPARATOR=';'
22404 # Find who we are. Look in the path if we contain no directory separator.
22405 as_myself=
22406 case $0 in #((
22407 *[\\/]* ) as_myself=$0 ;;
22408 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22409 for as_dir in $PATH
22411 IFS=$as_save_IFS
22412 case $as_dir in #(((
22413 '') as_dir=./ ;;
22414 */) ;;
22415 *) as_dir=$as_dir/ ;;
22416 esac
22417 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22418 done
22419 IFS=$as_save_IFS
22422 esac
22423 # We did not find ourselves, most probably we were run as `sh COMMAND'
22424 # in which case we are not to be found in the path.
22425 if test "x$as_myself" = x; then
22426 as_myself=$0
22428 if test ! -f "$as_myself"; then
22429 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22430 exit 1
22435 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22436 # ----------------------------------------
22437 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22438 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22439 # script with STATUS, using 1 if that was 0.
22440 as_fn_error ()
22442 as_status=$1; test $as_status -eq 0 && as_status=1
22443 if test "$4"; then
22444 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22445 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22447 printf "%s\n" "$as_me: error: $2" >&2
22448 as_fn_exit $as_status
22449 } # as_fn_error
22453 # as_fn_set_status STATUS
22454 # -----------------------
22455 # Set $? to STATUS, without forking.
22456 as_fn_set_status ()
22458 return $1
22459 } # as_fn_set_status
22461 # as_fn_exit STATUS
22462 # -----------------
22463 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22464 as_fn_exit ()
22466 set +e
22467 as_fn_set_status $1
22468 exit $1
22469 } # as_fn_exit
22471 # as_fn_unset VAR
22472 # ---------------
22473 # Portably unset VAR.
22474 as_fn_unset ()
22476 { eval $1=; unset $1;}
22478 as_unset=as_fn_unset
22480 # as_fn_append VAR VALUE
22481 # ----------------------
22482 # Append the text in VALUE to the end of the definition contained in VAR. Take
22483 # advantage of any shell optimizations that allow amortized linear growth over
22484 # repeated appends, instead of the typical quadratic growth present in naive
22485 # implementations.
22486 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22487 then :
22488 eval 'as_fn_append ()
22490 eval $1+=\$2
22492 else $as_nop
22493 as_fn_append ()
22495 eval $1=\$$1\$2
22497 fi # as_fn_append
22499 # as_fn_arith ARG...
22500 # ------------------
22501 # Perform arithmetic evaluation on the ARGs, and store the result in the
22502 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22503 # must be portable across $(()) and expr.
22504 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22505 then :
22506 eval 'as_fn_arith ()
22508 as_val=$(( $* ))
22510 else $as_nop
22511 as_fn_arith ()
22513 as_val=`expr "$@" || test $? -eq 1`
22515 fi # as_fn_arith
22518 if expr a : '\(a\)' >/dev/null 2>&1 &&
22519 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22520 as_expr=expr
22521 else
22522 as_expr=false
22525 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22526 as_basename=basename
22527 else
22528 as_basename=false
22531 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22532 as_dirname=dirname
22533 else
22534 as_dirname=false
22537 as_me=`$as_basename -- "$0" ||
22538 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22539 X"$0" : 'X\(//\)$' \| \
22540 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22541 printf "%s\n" X/"$0" |
22542 sed '/^.*\/\([^/][^/]*\)\/*$/{
22543 s//\1/
22546 /^X\/\(\/\/\)$/{
22547 s//\1/
22550 /^X\/\(\/\).*/{
22551 s//\1/
22554 s/.*/./; q'`
22556 # Avoid depending upon Character Ranges.
22557 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22558 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22559 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22560 as_cr_digits='0123456789'
22561 as_cr_alnum=$as_cr_Letters$as_cr_digits
22564 # Determine whether it's possible to make 'echo' print without a newline.
22565 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22566 # for compatibility with existing Makefiles.
22567 ECHO_C= ECHO_N= ECHO_T=
22568 case `echo -n x` in #(((((
22569 -n*)
22570 case `echo 'xy\c'` in
22571 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22572 xy) ECHO_C='\c';;
22573 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22574 ECHO_T=' ';;
22575 esac;;
22577 ECHO_N='-n';;
22578 esac
22580 # For backward compatibility with old third-party macros, we provide
22581 # the shell variables $as_echo and $as_echo_n. New code should use
22582 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22583 as_echo='printf %s\n'
22584 as_echo_n='printf %s'
22586 rm -f conf$$ conf$$.exe conf$$.file
22587 if test -d conf$$.dir; then
22588 rm -f conf$$.dir/conf$$.file
22589 else
22590 rm -f conf$$.dir
22591 mkdir conf$$.dir 2>/dev/null
22593 if (echo >conf$$.file) 2>/dev/null; then
22594 if ln -s conf$$.file conf$$ 2>/dev/null; then
22595 as_ln_s='ln -s'
22596 # ... but there are two gotchas:
22597 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22598 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22599 # In both cases, we have to default to `cp -pR'.
22600 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22601 as_ln_s='cp -pR'
22602 elif ln conf$$.file conf$$ 2>/dev/null; then
22603 as_ln_s=ln
22604 else
22605 as_ln_s='cp -pR'
22607 else
22608 as_ln_s='cp -pR'
22610 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22611 rmdir conf$$.dir 2>/dev/null
22614 # as_fn_mkdir_p
22615 # -------------
22616 # Create "$as_dir" as a directory, including parents if necessary.
22617 as_fn_mkdir_p ()
22620 case $as_dir in #(
22621 -*) as_dir=./$as_dir;;
22622 esac
22623 test -d "$as_dir" || eval $as_mkdir_p || {
22624 as_dirs=
22625 while :; do
22626 case $as_dir in #(
22627 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22628 *) as_qdir=$as_dir;;
22629 esac
22630 as_dirs="'$as_qdir' $as_dirs"
22631 as_dir=`$as_dirname -- "$as_dir" ||
22632 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22633 X"$as_dir" : 'X\(//\)[^/]' \| \
22634 X"$as_dir" : 'X\(//\)$' \| \
22635 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22636 printf "%s\n" X"$as_dir" |
22637 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22638 s//\1/
22641 /^X\(\/\/\)[^/].*/{
22642 s//\1/
22645 /^X\(\/\/\)$/{
22646 s//\1/
22649 /^X\(\/\).*/{
22650 s//\1/
22653 s/.*/./; q'`
22654 test -d "$as_dir" && break
22655 done
22656 test -z "$as_dirs" || eval "mkdir $as_dirs"
22657 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22660 } # as_fn_mkdir_p
22661 if mkdir -p . 2>/dev/null; then
22662 as_mkdir_p='mkdir -p "$as_dir"'
22663 else
22664 test -d ./-p && rmdir ./-p
22665 as_mkdir_p=false
22669 # as_fn_executable_p FILE
22670 # -----------------------
22671 # Test if FILE is an executable regular file.
22672 as_fn_executable_p ()
22674 test -f "$1" && test -x "$1"
22675 } # as_fn_executable_p
22676 as_test_x='test -x'
22677 as_executable_p=as_fn_executable_p
22679 # Sed expression to map a string onto a valid CPP name.
22680 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22682 # Sed expression to map a string onto a valid variable name.
22683 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22686 exec 6>&1
22687 ## ----------------------------------- ##
22688 ## Main body of $CONFIG_STATUS script. ##
22689 ## ----------------------------------- ##
22690 _ASEOF
22691 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22693 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22694 # Save the log message, to keep $0 and so on meaningful, and to
22695 # report actual input values of CONFIG_FILES etc. instead of their
22696 # values after options handling.
22697 ac_log="
22698 This file was extended by Wine $as_me 8.1, which was
22699 generated by GNU Autoconf 2.71. Invocation command line was
22701 CONFIG_FILES = $CONFIG_FILES
22702 CONFIG_HEADERS = $CONFIG_HEADERS
22703 CONFIG_LINKS = $CONFIG_LINKS
22704 CONFIG_COMMANDS = $CONFIG_COMMANDS
22705 $ $0 $@
22707 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22710 _ACEOF
22713 case $ac_config_headers in *"
22714 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22715 esac
22718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22719 # Files that config.status was made for.
22720 config_headers="$ac_config_headers"
22721 config_links="$ac_config_links"
22722 config_commands="$ac_config_commands"
22724 _ACEOF
22726 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22727 ac_cs_usage="\
22728 \`$as_me' instantiates files and other configuration actions
22729 from templates according to the current configuration. Unless the files
22730 and actions are specified as TAGs, all are instantiated by default.
22732 Usage: $0 [OPTION]... [TAG]...
22734 -h, --help print this help, then exit
22735 -V, --version print version number and configuration settings, then exit
22736 --config print configuration, then exit
22737 -q, --quiet, --silent
22738 do not print progress messages
22739 -d, --debug don't remove temporary files
22740 --recheck update $as_me by reconfiguring in the same conditions
22741 --header=FILE[:TEMPLATE]
22742 instantiate the configuration header FILE
22744 Configuration headers:
22745 $config_headers
22747 Configuration links:
22748 $config_links
22750 Configuration commands:
22751 $config_commands
22753 Report bugs to <wine-devel@winehq.org>.
22754 Wine home page: <https://www.winehq.org>."
22756 _ACEOF
22757 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22758 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22760 ac_cs_config='$ac_cs_config_escaped'
22761 ac_cs_version="\\
22762 Wine config.status 8.1
22763 configured by $0, generated by GNU Autoconf 2.71,
22764 with options \\"\$ac_cs_config\\"
22766 Copyright (C) 2021 Free Software Foundation, Inc.
22767 This config.status script is free software; the Free Software Foundation
22768 gives unlimited permission to copy, distribute and modify it."
22770 ac_pwd='$ac_pwd'
22771 srcdir='$srcdir'
22772 test -n "\$AWK" || AWK=awk
22773 _ACEOF
22775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22776 # The default lists apply if the user does not specify any file.
22777 ac_need_defaults=:
22778 while test $# != 0
22780 case $1 in
22781 --*=?*)
22782 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22783 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22784 ac_shift=:
22786 --*=)
22787 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22788 ac_optarg=
22789 ac_shift=:
22792 ac_option=$1
22793 ac_optarg=$2
22794 ac_shift=shift
22796 esac
22798 case $ac_option in
22799 # Handling of the options.
22800 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22801 ac_cs_recheck=: ;;
22802 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22803 printf "%s\n" "$ac_cs_version"; exit ;;
22804 --config | --confi | --conf | --con | --co | --c )
22805 printf "%s\n" "$ac_cs_config"; exit ;;
22806 --debug | --debu | --deb | --de | --d | -d )
22807 debug=: ;;
22808 --header | --heade | --head | --hea )
22809 $ac_shift
22810 case $ac_optarg in
22811 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22812 esac
22813 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22814 ac_need_defaults=false;;
22815 --he | --h)
22816 # Conflict between --help and --header
22817 as_fn_error $? "ambiguous option: \`$1'
22818 Try \`$0 --help' for more information.";;
22819 --help | --hel | -h )
22820 printf "%s\n" "$ac_cs_usage"; exit ;;
22821 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22822 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22823 ac_cs_silent=: ;;
22825 # This is an error.
22826 -*) as_fn_error $? "unrecognized option: \`$1'
22827 Try \`$0 --help' for more information." ;;
22829 *) as_fn_append ac_config_targets " $1"
22830 ac_need_defaults=false ;;
22832 esac
22833 shift
22834 done
22836 ac_configure_extra_args=
22838 if $ac_cs_silent; then
22839 exec 6>/dev/null
22840 ac_configure_extra_args="$ac_configure_extra_args --silent"
22843 _ACEOF
22844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22845 if \$ac_cs_recheck; then
22846 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22847 shift
22848 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22849 CONFIG_SHELL='$SHELL'
22850 export CONFIG_SHELL
22851 exec "\$@"
22854 _ACEOF
22855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22856 exec 5>>config.log
22858 echo
22859 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22860 ## Running $as_me. ##
22861 _ASBOX
22862 printf "%s\n" "$ac_log"
22863 } >&5
22865 _ACEOF
22866 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22868 # INIT-COMMANDS
22870 wine_fn_output_makedep ()
22872 as_dir=tools; as_fn_mkdir_p
22873 $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
22875 wine_fn_output_makefile ()
22877 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22878 # This Makefile understands the following targets:
22880 # all (default): build wine
22881 # clean: remove all intermediate files
22882 # distclean: also remove all files created by configure
22883 # test: run tests
22884 # testclean: clean test results to force running all tests again
22885 # install-lib: install libraries needed to run applications
22886 # install-dev: install development environment
22887 # install: install everything
22888 # uninstall: uninstall everything
22889 # ctags: create a tags file for vim and others.
22890 # etags: create a TAGS file for Emacs.
22892 SHELL = $SHELL
22893 PATH_SEPARATOR = $PATH_SEPARATOR
22894 PACKAGE_NAME = $PACKAGE_NAME
22895 PACKAGE_TARNAME = $PACKAGE_TARNAME
22896 PACKAGE_VERSION = $PACKAGE_VERSION
22897 PACKAGE_STRING = $PACKAGE_STRING
22898 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22899 PACKAGE_URL = $PACKAGE_URL
22900 exec_prefix = $exec_prefix
22901 prefix = $prefix
22902 program_transform_name = $program_transform_name
22903 bindir = $bindir
22904 sbindir = $sbindir
22905 libexecdir = $libexecdir
22906 datarootdir = $datarootdir
22907 datadir = $datadir
22908 sysconfdir = $sysconfdir
22909 sharedstatedir = $sharedstatedir
22910 localstatedir = $localstatedir
22911 runstatedir = $runstatedir
22912 includedir = $includedir
22913 oldincludedir = $oldincludedir
22914 docdir = $docdir
22915 infodir = $infodir
22916 htmldir = $htmldir
22917 dvidir = $dvidir
22918 pdfdir = $pdfdir
22919 psdir = $psdir
22920 libdir = $libdir
22921 localedir = $localedir
22922 mandir = $mandir
22923 DEFS = $DEFS
22924 ECHO_C = $ECHO_C
22925 ECHO_N = $ECHO_N
22926 ECHO_T = $ECHO_T
22927 LIBS = $LIBS
22928 build_alias = $build_alias
22929 host_alias = $host_alias
22930 target_alias = $target_alias
22931 system_dllpath = $system_dllpath
22932 build = $build
22933 build_cpu = $build_cpu
22934 build_vendor = $build_vendor
22935 build_os = $build_os
22936 host = $host
22937 host_cpu = $host_cpu
22938 host_vendor = $host_vendor
22939 host_os = $host_os
22940 dlldir = $dlldir
22941 fontdir = $fontdir
22942 nlsdir = $nlsdir
22943 srcdir = $srcdir
22944 SET_MAKE = $SET_MAKE
22945 CC = $CC
22946 CFLAGS = $CFLAGS
22947 LDFLAGS = $LDFLAGS
22948 CPPFLAGS = $CPPFLAGS
22949 ac_ct_CC = $ac_ct_CC
22950 EXEEXT = $EXEEXT
22951 OBJEXT = $OBJEXT
22952 CXX = $CXX
22953 CXXFLAGS = $CXXFLAGS
22954 ac_ct_CXX = $ac_ct_CXX
22955 CPPBIN = $CPPBIN
22956 LD = $LD
22957 TARGETFLAGS = $TARGETFLAGS
22958 toolsext = $toolsext
22959 HOST_ARCH = $HOST_ARCH
22960 aarch64_CC = $aarch64_CC
22961 aarch64_CFLAGS = $aarch64_CFLAGS
22962 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
22963 aarch64_LDFLAGS = $aarch64_LDFLAGS
22964 aarch64_DEBUG = $aarch64_DEBUG
22965 aarch64_TARGET = $aarch64_TARGET
22966 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
22967 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
22968 arm_CC = $arm_CC
22969 arm_CFLAGS = $arm_CFLAGS
22970 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
22971 arm_LDFLAGS = $arm_LDFLAGS
22972 arm_DEBUG = $arm_DEBUG
22973 arm_TARGET = $arm_TARGET
22974 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
22975 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
22976 i386_CC = $i386_CC
22977 i386_CFLAGS = $i386_CFLAGS
22978 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
22979 i386_LDFLAGS = $i386_LDFLAGS
22980 i386_DEBUG = $i386_DEBUG
22981 i386_TARGET = $i386_TARGET
22982 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
22983 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
22984 x86_64_CC = $x86_64_CC
22985 x86_64_CFLAGS = $x86_64_CFLAGS
22986 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
22987 x86_64_LDFLAGS = $x86_64_LDFLAGS
22988 x86_64_DEBUG = $x86_64_DEBUG
22989 x86_64_TARGET = $x86_64_TARGET
22990 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
22991 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
22992 toolsdir = $toolsdir
22993 MAKEDEP = $MAKEDEP
22994 RUNTESTFLAGS = $RUNTESTFLAGS
22995 SED_CMD = $SED_CMD
22996 FLEX = $FLEX
22997 BISON = $BISON
22998 AR = $AR
22999 ac_ct_AR = $ac_ct_AR
23000 STRIP = $STRIP
23001 RANLIB = $RANLIB
23002 LN_S = $LN_S
23003 GREP = $GREP
23004 EGREP = $EGREP
23005 LDCONFIG = $LDCONFIG
23006 MSGFMT = $MSGFMT
23007 PKG_CONFIG = $PKG_CONFIG
23008 FONTFORGE = $FONTFORGE
23009 RSVG = $RSVG
23010 CONVERT = $CONVERT
23011 ICOTOOL = $ICOTOOL
23012 I386_LIBS = $I386_LIBS
23013 OPENGL_LIBS = $OPENGL_LIBS
23014 DLLFLAGS = $DLLFLAGS
23015 LDDLLFLAGS = $LDDLLFLAGS
23016 LDEXECFLAGS = $LDEXECFLAGS
23017 EXTRACFLAGS = $EXTRACFLAGS
23018 UNIXDLLFLAGS = $UNIXDLLFLAGS
23019 UNIXLDFLAGS = $UNIXLDFLAGS
23020 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23021 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23022 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23023 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23024 LDD = $LDD
23025 OTOOL = $OTOOL
23026 READELF = $READELF
23027 SUBDIRS = $SUBDIRS
23028 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23029 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23030 CARBON_LIBS = $CARBON_LIBS
23031 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23032 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23033 IOKIT_LIBS = $IOKIT_LIBS
23034 METAL_LIBS = $METAL_LIBS
23035 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23036 CORESERVICES_LIBS = $CORESERVICES_LIBS
23037 APPKIT_LIBS = $APPKIT_LIBS
23038 SECURITY_LIBS = $SECURITY_LIBS
23039 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23040 COREAUDIO_LIBS = $COREAUDIO_LIBS
23041 OPENCL_LIBS = $OPENCL_LIBS
23042 OBJC = $OBJC
23043 OBJCFLAGS = $OBJCFLAGS
23044 ac_ct_OBJC = $ac_ct_OBJC
23045 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23046 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23047 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23048 PRELINK = $PRELINK
23049 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23050 PE_ARCHS = $PE_ARCHS
23051 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23052 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23053 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23054 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23055 GSM_PE_LIBS = $GSM_PE_LIBS
23056 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23057 JPEG_PE_LIBS = $JPEG_PE_LIBS
23058 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23059 JXR_PE_LIBS = $JXR_PE_LIBS
23060 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23061 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23062 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23063 LDAP_PE_LIBS = $LDAP_PE_LIBS
23064 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23065 MPG123_PE_LIBS = $MPG123_PE_LIBS
23066 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23067 PNG_PE_LIBS = $PNG_PE_LIBS
23068 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23069 TIFF_PE_LIBS = $TIFF_PE_LIBS
23070 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23071 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23072 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23073 XML2_PE_LIBS = $XML2_PE_LIBS
23074 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23075 XSLT_PE_LIBS = $XSLT_PE_LIBS
23076 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23077 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23078 PTHREAD_LIBS = $PTHREAD_LIBS
23079 XMKMF = $XMKMF
23080 CPP = $CPP
23081 X_CFLAGS = $X_CFLAGS
23082 X_PRE_LIBS = $X_PRE_LIBS
23083 X_LIBS = $X_LIBS
23084 X_EXTRA_LIBS = $X_EXTRA_LIBS
23085 PCAP_LIBS = $PCAP_LIBS
23086 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23087 INOTIFY_LIBS = $INOTIFY_LIBS
23088 DBUS_CFLAGS = $DBUS_CFLAGS
23089 DBUS_LIBS = $DBUS_LIBS
23090 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23091 GNUTLS_LIBS = $GNUTLS_LIBS
23092 SANE_CFLAGS = $SANE_CFLAGS
23093 SANE_LIBS = $SANE_LIBS
23094 USB_CFLAGS = $USB_CFLAGS
23095 USB_LIBS = $USB_LIBS
23096 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23097 GPHOTO2_LIBS = $GPHOTO2_LIBS
23098 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23099 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23100 RESOLV_LIBS = $RESOLV_LIBS
23101 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23102 FREETYPE_LIBS = $FREETYPE_LIBS
23103 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23104 PULSE_CFLAGS = $PULSE_CFLAGS
23105 PULSE_LIBS = $PULSE_LIBS
23106 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23107 GSTREAMER_LIBS = $GSTREAMER_LIBS
23108 ALSA_LIBS = $ALSA_LIBS
23109 OSS4_CFLAGS = $OSS4_CFLAGS
23110 OSS4_LIBS = $OSS4_LIBS
23111 UDEV_CFLAGS = $UDEV_CFLAGS
23112 UDEV_LIBS = $UDEV_LIBS
23113 UNWIND_CFLAGS = $UNWIND_CFLAGS
23114 UNWIND_LIBS = $UNWIND_LIBS
23115 SDL2_CFLAGS = $SDL2_CFLAGS
23116 SDL2_LIBS = $SDL2_LIBS
23117 CAPI20_CFLAGS = $CAPI20_CFLAGS
23118 CAPI20_LIBS = $CAPI20_LIBS
23119 CUPS_CFLAGS = $CUPS_CFLAGS
23120 CUPS_LIBS = $CUPS_LIBS
23121 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23122 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23123 KRB5_CFLAGS = $KRB5_CFLAGS
23124 KRB5_LIBS = $KRB5_LIBS
23125 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23126 GSSAPI_LIBS = $GSSAPI_LIBS
23127 PROCSTAT_LIBS = $PROCSTAT_LIBS
23128 NETAPI_CFLAGS = $NETAPI_CFLAGS
23129 NETAPI_LIBS = $NETAPI_LIBS
23130 MSVCRTFLAGS = $MSVCRTFLAGS
23131 DELAYLOADFLAG = $DELAYLOADFLAG
23132 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23133 RT_LIBS = $RT_LIBS
23134 TAGSFLAGS = $TAGSFLAGS
23135 LIBOBJS = $LIBOBJS
23136 LTLIBOBJS = $LTLIBOBJS
23137 $SET_MAKE
23138 $wine_rules
23139 _WINE_EOF
23140 as_fn_error $? "could not create Makefile" "$LINENO" 5
23143 _ACEOF
23145 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23147 # Handling of arguments.
23148 for ac_config_target in $ac_config_targets
23150 case $ac_config_target in
23151 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23152 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23153 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23154 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23155 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23156 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23158 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23159 esac
23160 done
23163 # If the user did not use the arguments to specify the items to instantiate,
23164 # then the envvar interface is used. Set only those that are not.
23165 # We use the long form for the default assignment because of an extremely
23166 # bizarre bug on SunOS 4.1.3.
23167 if $ac_need_defaults; then
23168 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23169 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23170 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23173 # Have a temporary directory for convenience. Make it in the build tree
23174 # simply because there is no reason against having it here, and in addition,
23175 # creating and moving files from /tmp can sometimes cause problems.
23176 # Hook for its removal unless debugging.
23177 # Note that there is a small window in which the directory will not be cleaned:
23178 # after its creation but before its name has been assigned to `$tmp'.
23179 $debug ||
23181 tmp= ac_tmp=
23182 trap 'exit_status=$?
23183 : "${ac_tmp:=$tmp}"
23184 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23186 trap 'as_fn_exit 1' 1 2 13 15
23188 # Create a (secure) tmp directory for tmp files.
23191 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23192 test -d "$tmp"
23193 } ||
23195 tmp=./conf$$-$RANDOM
23196 (umask 077 && mkdir "$tmp")
23197 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23198 ac_tmp=$tmp
23200 # Set up the scripts for CONFIG_HEADERS section.
23201 # No need to generate them if there are no CONFIG_HEADERS.
23202 # This happens for instance with `./config.status Makefile'.
23203 if test -n "$CONFIG_HEADERS"; then
23204 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23205 BEGIN {
23206 _ACEOF
23208 # Transform confdefs.h into an awk script `defines.awk', embedded as
23209 # here-document in config.status, that substitutes the proper values into
23210 # config.h.in to produce config.h.
23212 # Create a delimiter string that does not exist in confdefs.h, to ease
23213 # handling of long lines.
23214 ac_delim='%!_!# '
23215 for ac_last_try in false false :; do
23216 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23217 if test -z "$ac_tt"; then
23218 break
23219 elif $ac_last_try; then
23220 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23221 else
23222 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23224 done
23226 # For the awk script, D is an array of macro values keyed by name,
23227 # likewise P contains macro parameters if any. Preserve backslash
23228 # newline sequences.
23230 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23231 sed -n '
23232 s/.\{148\}/&'"$ac_delim"'/g
23233 t rset
23234 :rset
23235 s/^[ ]*#[ ]*define[ ][ ]*/ /
23236 t def
23238 :def
23239 s/\\$//
23240 t bsnl
23241 s/["\\]/\\&/g
23242 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23243 D["\1"]=" \3"/p
23244 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23246 :bsnl
23247 s/["\\]/\\&/g
23248 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23249 D["\1"]=" \3\\\\\\n"\\/p
23250 t cont
23251 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23252 t cont
23254 :cont
23256 s/.\{148\}/&'"$ac_delim"'/g
23257 t clear
23258 :clear
23259 s/\\$//
23260 t bsnlc
23261 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23263 :bsnlc
23264 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23265 b cont
23266 ' <confdefs.h | sed '
23267 s/'"$ac_delim"'/"\\\
23268 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23270 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23271 for (key in D) D_is_set[key] = 1
23272 FS = "\a"
23274 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23275 line = \$ 0
23276 split(line, arg, " ")
23277 if (arg[1] == "#") {
23278 defundef = arg[2]
23279 mac1 = arg[3]
23280 } else {
23281 defundef = substr(arg[1], 2)
23282 mac1 = arg[2]
23284 split(mac1, mac2, "(") #)
23285 macro = mac2[1]
23286 prefix = substr(line, 1, index(line, defundef) - 1)
23287 if (D_is_set[macro]) {
23288 # Preserve the white space surrounding the "#".
23289 print prefix "define", macro P[macro] D[macro]
23290 next
23291 } else {
23292 # Replace #undef with comments. This is necessary, for example,
23293 # in the case of _POSIX_SOURCE, which is predefined and required
23294 # on some systems where configure will not decide to define it.
23295 if (defundef == "undef") {
23296 print "/*", prefix defundef, macro, "*/"
23297 next
23301 { print }
23302 _ACAWK
23303 _ACEOF
23304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23305 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23306 fi # test -n "$CONFIG_HEADERS"
23309 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23310 shift
23311 for ac_tag
23313 case $ac_tag in
23314 :[FHLC]) ac_mode=$ac_tag; continue;;
23315 esac
23316 case $ac_mode$ac_tag in
23317 :[FHL]*:*);;
23318 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23319 :[FH]-) ac_tag=-:-;;
23320 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23321 esac
23322 ac_save_IFS=$IFS
23323 IFS=:
23324 set x $ac_tag
23325 IFS=$ac_save_IFS
23326 shift
23327 ac_file=$1
23328 shift
23330 case $ac_mode in
23331 :L) ac_source=$1;;
23332 :[FH])
23333 ac_file_inputs=
23334 for ac_f
23336 case $ac_f in
23337 -) ac_f="$ac_tmp/stdin";;
23338 *) # Look for the file first in the build tree, then in the source tree
23339 # (if the path is not absolute). The absolute path cannot be DOS-style,
23340 # because $ac_f cannot contain `:'.
23341 test -f "$ac_f" ||
23342 case $ac_f in
23343 [\\/$]*) false;;
23344 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23345 esac ||
23346 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23347 esac
23348 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23349 as_fn_append ac_file_inputs " '$ac_f'"
23350 done
23352 # Let's still pretend it is `configure' which instantiates (i.e., don't
23353 # use $as_me), people would be surprised to read:
23354 # /* config.h. Generated by config.status. */
23355 configure_input='Generated from '`
23356 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23357 `' by configure.'
23358 if test x"$ac_file" != x-; then
23359 configure_input="$ac_file. $configure_input"
23360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23361 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23363 # Neutralize special characters interpreted by sed in replacement strings.
23364 case $configure_input in #(
23365 *\&* | *\|* | *\\* )
23366 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23367 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23368 *) ac_sed_conf_input=$configure_input;;
23369 esac
23371 case $ac_tag in
23372 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23373 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23374 esac
23376 esac
23378 ac_dir=`$as_dirname -- "$ac_file" ||
23379 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23380 X"$ac_file" : 'X\(//\)[^/]' \| \
23381 X"$ac_file" : 'X\(//\)$' \| \
23382 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23383 printf "%s\n" X"$ac_file" |
23384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23385 s//\1/
23388 /^X\(\/\/\)[^/].*/{
23389 s//\1/
23392 /^X\(\/\/\)$/{
23393 s//\1/
23396 /^X\(\/\).*/{
23397 s//\1/
23400 s/.*/./; q'`
23401 as_dir="$ac_dir"; as_fn_mkdir_p
23402 ac_builddir=.
23404 case "$ac_dir" in
23405 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23407 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23408 # A ".." for each directory in $ac_dir_suffix.
23409 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23410 case $ac_top_builddir_sub in
23411 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23412 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23413 esac ;;
23414 esac
23415 ac_abs_top_builddir=$ac_pwd
23416 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23417 # for backward compatibility:
23418 ac_top_builddir=$ac_top_build_prefix
23420 case $srcdir in
23421 .) # We are building in place.
23422 ac_srcdir=.
23423 ac_top_srcdir=$ac_top_builddir_sub
23424 ac_abs_top_srcdir=$ac_pwd ;;
23425 [\\/]* | ?:[\\/]* ) # Absolute name.
23426 ac_srcdir=$srcdir$ac_dir_suffix;
23427 ac_top_srcdir=$srcdir
23428 ac_abs_top_srcdir=$srcdir ;;
23429 *) # Relative name.
23430 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23431 ac_top_srcdir=$ac_top_build_prefix$srcdir
23432 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23433 esac
23434 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23437 case $ac_mode in
23441 # CONFIG_HEADER
23443 if test x"$ac_file" != x-; then
23445 printf "%s\n" "/* $configure_input */" >&1 \
23446 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23447 } >"$ac_tmp/config.h" \
23448 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23449 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23451 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23452 else
23453 rm -f "$ac_file"
23454 mv "$ac_tmp/config.h" "$ac_file" \
23455 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23457 else
23458 printf "%s\n" "/* $configure_input */" >&1 \
23459 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23460 || as_fn_error $? "could not create -" "$LINENO" 5
23465 # CONFIG_LINK
23468 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23470 else
23471 # Prefer the file from the source tree if names are identical.
23472 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23473 ac_source=$srcdir/$ac_source
23476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23477 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23479 if test ! -r "$ac_source"; then
23480 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23482 rm -f "$ac_file"
23484 # Try a relative symlink, then a hard link, then a copy.
23485 case $ac_source in
23486 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23487 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23488 esac
23489 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23490 ln "$ac_source" "$ac_file" 2>/dev/null ||
23491 cp -p "$ac_source" "$ac_file" ||
23492 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23495 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23496 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23498 esac
23501 case $ac_file$ac_mode in
23502 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23503 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23504 "Makefile":C) wine_fn_output_makefile Makefile ;;
23506 esac
23507 done # for ac_tag
23510 as_fn_exit 0
23511 _ACEOF
23512 ac_clean_files=$ac_clean_files_save
23514 test $ac_write_fail = 0 ||
23515 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23518 # configure is writing to config.log, and then calls config.status.
23519 # config.status does its own redirection, appending to config.log.
23520 # Unfortunately, on DOS this fails, as config.log is still kept open
23521 # by configure, so config.status won't be able to write to it; its
23522 # output is simply discarded. So we exec the FD to /dev/null,
23523 # effectively closing config.log, so it can be properly (re)opened and
23524 # appended to by config.status. When coming back to configure, we
23525 # need to make the FD available again.
23526 if test "$no_create" != yes; then
23527 ac_cs_success=:
23528 ac_config_status_args=
23529 test "$silent" = yes &&
23530 ac_config_status_args="$ac_config_status_args --quiet"
23531 exec 5>/dev/null
23532 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23533 exec 5>>config.log
23534 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23535 # would make configure fail if this is the last instruction.
23536 $ac_cs_success || as_fn_exit 1
23538 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23540 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23544 if test "$no_create" = "yes"
23545 then
23546 exit 0
23549 ac_save_IFS="$IFS"
23550 if test "x$wine_notices" != x; then
23551 echo >&6
23552 IFS="|"
23553 for msg in $wine_notices; do
23554 IFS="$ac_save_IFS"
23555 if ${msg:+false} :
23556 then :
23558 else $as_nop
23559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23560 printf "%s\n" "$as_me: $msg" >&6;}
23562 done
23564 IFS="|"
23565 for msg in $wine_warnings; do
23566 IFS="$ac_save_IFS"
23567 if ${msg:+false} :
23568 then :
23570 else $as_nop
23571 echo >&2
23572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23573 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23575 done
23576 IFS="$ac_save_IFS"
23578 printf "%s\n" "
23579 $as_me: Finished. Do '${ac_make}' to compile Wine.
23580 " >&6