winevulkan: Use generated thunks for VkPipelineCreationFeedback conversion.
[wine.git] / configure
blobdd9dc2df17b355464f06483819e935789f520b49
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.20.
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='7.20'
615 PACKAGE_STRING='Wine 7.20'
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 LDAP_LIBS
656 LDAP_CFLAGS
657 RT_LIBS
658 DELAYLOADFLAG
659 MSVCRTFLAGS
660 NETAPI_LIBS
661 NETAPI_CFLAGS
662 PROCSTAT_LIBS
663 GSSAPI_LIBS
664 GSSAPI_CFLAGS
665 KRB5_LIBS
666 KRB5_CFLAGS
667 FONTCONFIG_LIBS
668 FONTCONFIG_CFLAGS
669 CUPS_LIBS
670 CUPS_CFLAGS
671 CAPI20_LIBS
672 CAPI20_CFLAGS
673 SDL2_LIBS
674 SDL2_CFLAGS
675 UNWIND_LIBS
676 UNWIND_CFLAGS
677 UDEV_LIBS
678 UDEV_CFLAGS
679 OSS4_LIBS
680 OSS4_CFLAGS
681 ALSA_LIBS
682 GSTREAMER_LIBS
683 GSTREAMER_CFLAGS
684 PULSE_LIBS
685 PULSE_CFLAGS
686 GETTEXTPO_LIBS
687 FREETYPE_LIBS
688 FREETYPE_CFLAGS
689 RESOLV_LIBS
690 GPHOTO2_PORT_LIBS
691 GPHOTO2_PORT_CFLAGS
692 GPHOTO2_LIBS
693 GPHOTO2_CFLAGS
694 USB_LIBS
695 USB_CFLAGS
696 SANE_LIBS
697 SANE_CFLAGS
698 GNUTLS_LIBS
699 GNUTLS_CFLAGS
700 DBUS_LIBS
701 DBUS_CFLAGS
702 INOTIFY_LIBS
703 INOTIFY_CFLAGS
704 PCAP_LIBS
705 X_EXTRA_LIBS
706 X_LIBS
707 X_PRE_LIBS
708 X_CFLAGS
710 XMKMF
711 PTHREAD_LIBS
712 ZLIB_PE_LIBS
713 ZLIB_PE_CFLAGS
714 XSLT_PE_LIBS
715 XSLT_PE_CFLAGS
716 XML2_PE_LIBS
717 XML2_PE_CFLAGS
718 VKD3D_PE_LIBS
719 VKD3D_PE_CFLAGS
720 TIFF_PE_LIBS
721 TIFF_PE_CFLAGS
722 PNG_PE_LIBS
723 PNG_PE_CFLAGS
724 MPG123_PE_LIBS
725 MPG123_PE_CFLAGS
726 LCMS2_PE_LIBS
727 LCMS2_PE_CFLAGS
728 JXR_PE_LIBS
729 JXR_PE_CFLAGS
730 JPEG_PE_LIBS
731 JPEG_PE_CFLAGS
732 GSM_PE_LIBS
733 GSM_PE_CFLAGS
734 FAUDIO_PE_LIBS
735 FAUDIO_PE_CFLAGS
736 MINGW_PKG_CONFIG
737 PE_ARCHS
738 LIBWINE_DEPENDS
739 PRELINK
740 WINELOADER_DEPENDS
741 LIBWINE_LDFLAGS
742 LIBWINE_SHAREDLIB
743 METAL_LIBS
744 CARBON_LIBS
745 OPENCL_LIBS
746 COREAUDIO_LIBS
747 SECURITY_LIBS
748 DISKARBITRATION_LIBS
749 SYSTEMCONFIGURATION_LIBS
750 APPKIT_LIBS
751 CORESERVICES_LIBS
752 APPLICATIONSERVICES_LIBS
753 IOKIT_LIBS
754 COREFOUNDATION_LIBS
755 ac_ct_OBJC
756 OBJCFLAGS
757 OBJC
758 WINELOADER_PROGRAMS
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_ldap
925 with_mingw
926 with_netapi
927 with_opencl
928 with_opengl
929 with_osmesa
930 with_oss
931 with_pcap
932 with_pthread
933 with_pulse
934 with_sane
935 with_sdl
936 with_udev
937 with_unwind
938 with_usb
939 with_v4l2
940 with_vulkan
941 with_xcomposite
942 with_xcursor
943 with_xfixes
944 with_xinerama
945 with_xinput
946 with_xinput2
947 with_xrandr
948 with_xrender
949 with_xshape
950 with_xshm
951 with_xxf86vm
952 with_system_dllpath
953 with_wine_tools
954 with_wine64
955 enable_largefile
956 with_x
957 enable_acledit
958 enable_aclui
959 enable_activeds_tlb
960 enable_activeds
961 enable_actxprxy
962 enable_adsldp
963 enable_adsldpc
964 enable_advapi32
965 enable_advpack
966 enable_amsi
967 enable_amstream
968 enable_apisetschema
969 enable_apphelp
970 enable_appwiz_cpl
971 enable_atl
972 enable_atl100
973 enable_atl110
974 enable_atl80
975 enable_atl90
976 enable_atlthunk
977 enable_atmlib
978 enable_authz
979 enable_avicap32
980 enable_avifil32
981 enable_avrt
982 enable_bcrypt
983 enable_bluetoothapis
984 enable_browseui
985 enable_bthprops_cpl
986 enable_cabinet
987 enable_capi2032
988 enable_cards
989 enable_cdosys
990 enable_cfgmgr32
991 enable_clusapi
992 enable_cng_sys
993 enable_combase
994 enable_comcat
995 enable_comctl32
996 enable_comdlg32
997 enable_compstui
998 enable_comsvcs
999 enable_concrt140
1000 enable_connect
1001 enable_credui
1002 enable_crtdll
1003 enable_crypt32
1004 enable_cryptdlg
1005 enable_cryptdll
1006 enable_cryptext
1007 enable_cryptnet
1008 enable_cryptowinrt
1009 enable_cryptsp
1010 enable_cryptui
1011 enable_ctapi32
1012 enable_ctl3d32
1013 enable_d2d1
1014 enable_d3d10
1015 enable_d3d10_1
1016 enable_d3d10core
1017 enable_d3d11
1018 enable_d3d12
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_irprops_cpl
1167 enable_itircl
1168 enable_itss
1169 enable_joy_cpl
1170 enable_jscript
1171 enable_jsproxy
1172 enable_kerberos
1173 enable_kernel32
1174 enable_kernelbase
1175 enable_ksecdd_sys
1176 enable_ksproxy_ax
1177 enable_ksuser
1178 enable_ktmw32
1179 enable_l3codeca_acm
1180 enable_light_msstyles
1181 enable_loadperf
1182 enable_localspl
1183 enable_localui
1184 enable_lz32
1185 enable_mapi32
1186 enable_mapistub
1187 enable_mciavi32
1188 enable_mcicda
1189 enable_mciqtz32
1190 enable_mciseq
1191 enable_mciwave
1192 enable_mf
1193 enable_mf3216
1194 enable_mferror
1195 enable_mfmediaengine
1196 enable_mfplat
1197 enable_mfplay
1198 enable_mfreadwrite
1199 enable_mfsrcsnk
1200 enable_mgmtapi
1201 enable_midimap
1202 enable_mlang
1203 enable_mmcndmgr
1204 enable_mmdevapi
1205 enable_mountmgr_sys
1206 enable_mp3dmod
1207 enable_mpr
1208 enable_mprapi
1209 enable_msacm32_drv
1210 enable_msacm32
1211 enable_msado15
1212 enable_msadp32_acm
1213 enable_msasn1
1214 enable_mscat32
1215 enable_mscms
1216 enable_mscoree
1217 enable_mscorwks
1218 enable_msctf
1219 enable_msctfmonitor
1220 enable_msctfp
1221 enable_msdaps
1222 enable_msdasql
1223 enable_msdelta
1224 enable_msdmo
1225 enable_msdrm
1226 enable_msftedit
1227 enable_msg711_acm
1228 enable_msgsm32_acm
1229 enable_mshtml_tlb
1230 enable_mshtml
1231 enable_msi
1232 enable_msident
1233 enable_msimg32
1234 enable_msimsg
1235 enable_msimtf
1236 enable_msisip
1237 enable_msisys_ocx
1238 enable_msls31
1239 enable_msnet32
1240 enable_mspatcha
1241 enable_msports
1242 enable_msrle32
1243 enable_msscript_ocx
1244 enable_mssign32
1245 enable_mssip32
1246 enable_mstask
1247 enable_msv1_0
1248 enable_msvcirt
1249 enable_msvcm80
1250 enable_msvcm90
1251 enable_msvcp100
1252 enable_msvcp110
1253 enable_msvcp120
1254 enable_msvcp120_app
1255 enable_msvcp140
1256 enable_msvcp140_1
1257 enable_msvcp140_2
1258 enable_msvcp140_atomic_wait
1259 enable_msvcp60
1260 enable_msvcp70
1261 enable_msvcp71
1262 enable_msvcp80
1263 enable_msvcp90
1264 enable_msvcp_win
1265 enable_msvcr100
1266 enable_msvcr110
1267 enable_msvcr120
1268 enable_msvcr120_app
1269 enable_msvcr70
1270 enable_msvcr71
1271 enable_msvcr80
1272 enable_msvcr90
1273 enable_msvcrt
1274 enable_msvcrt20
1275 enable_msvcrt40
1276 enable_msvcrtd
1277 enable_msvfw32
1278 enable_msvidc32
1279 enable_mswsock
1280 enable_msxml
1281 enable_msxml2
1282 enable_msxml3
1283 enable_msxml4
1284 enable_msxml6
1285 enable_mtxdm
1286 enable_ncrypt
1287 enable_nddeapi
1288 enable_ndis_sys
1289 enable_netapi32
1290 enable_netcfgx
1291 enable_netio_sys
1292 enable_netprofm
1293 enable_netutils
1294 enable_newdev
1295 enable_ninput
1296 enable_normaliz
1297 enable_npmshtml
1298 enable_npptools
1299 enable_nsi
1300 enable_nsiproxy_sys
1301 enable_ntdll
1302 enable_ntdsapi
1303 enable_ntoskrnl_exe
1304 enable_ntprint
1305 enable_objsel
1306 enable_odbc32
1307 enable_odbcbcp
1308 enable_odbccp32
1309 enable_odbccu32
1310 enable_ole32
1311 enable_oleacc
1312 enable_oleaut32
1313 enable_olecli32
1314 enable_oledb32
1315 enable_oledlg
1316 enable_olepro32
1317 enable_olesvr32
1318 enable_olethk32
1319 enable_opcservices
1320 enable_opencl
1321 enable_opengl32
1322 enable_packager
1323 enable_pdh
1324 enable_photometadatahandler
1325 enable_pidgen
1326 enable_powrprof
1327 enable_printui
1328 enable_prntvpt
1329 enable_propsys
1330 enable_psapi
1331 enable_pstorec
1332 enable_pwrshplugin
1333 enable_qasf
1334 enable_qcap
1335 enable_qdvd
1336 enable_qedit
1337 enable_qmgr
1338 enable_qmgrprxy
1339 enable_quartz
1340 enable_query
1341 enable_qwave
1342 enable_rasapi32
1343 enable_rasdlg
1344 enable_regapi
1345 enable_resutils
1346 enable_riched20
1347 enable_riched32
1348 enable_rpcrt4
1349 enable_rsabase
1350 enable_rsaenh
1351 enable_rstrtmgr
1352 enable_rtutils
1353 enable_rtworkq
1354 enable_samlib
1355 enable_sane_ds
1356 enable_sapi
1357 enable_sas
1358 enable_scarddlg
1359 enable_sccbase
1360 enable_schannel
1361 enable_schedsvc
1362 enable_scrobj
1363 enable_scrrun
1364 enable_scsiport_sys
1365 enable_sechost
1366 enable_secur32
1367 enable_security
1368 enable_sensapi
1369 enable_serialui
1370 enable_setupapi
1371 enable_sfc
1372 enable_sfc_os
1373 enable_shcore
1374 enable_shdoclc
1375 enable_shdocvw
1376 enable_shell32
1377 enable_shfolder
1378 enable_shlwapi
1379 enable_slbcsp
1380 enable_slc
1381 enable_snmpapi
1382 enable_softpub
1383 enable_spoolss
1384 enable_sppc
1385 enable_srclient
1386 enable_srvcli
1387 enable_sspicli
1388 enable_stdole2_tlb
1389 enable_stdole32_tlb
1390 enable_sti
1391 enable_strmdll
1392 enable_svrapi
1393 enable_sxs
1394 enable_t2embed
1395 enable_tapi32
1396 enable_taskschd
1397 enable_tbs
1398 enable_tdh
1399 enable_tdi_sys
1400 enable_threadpoolwinrt
1401 enable_traffic
1402 enable_twain_32
1403 enable_tzres
1404 enable_ucrtbase
1405 enable_uianimation
1406 enable_uiautomationcore
1407 enable_uiribbon
1408 enable_unicows
1409 enable_updspapi
1410 enable_url
1411 enable_urlmon
1412 enable_usbd_sys
1413 enable_user32
1414 enable_userenv
1415 enable_usp10
1416 enable_utildll
1417 enable_uxtheme
1418 enable_vbscript
1419 enable_vcomp
1420 enable_vcomp100
1421 enable_vcomp110
1422 enable_vcomp120
1423 enable_vcomp140
1424 enable_vcomp90
1425 enable_vcruntime140
1426 enable_vcruntime140_1
1427 enable_vdmdbg
1428 enable_version
1429 enable_vga
1430 enable_virtdisk
1431 enable_vssapi
1432 enable_vulkan_1
1433 enable_wbemdisp
1434 enable_wbemprox
1435 enable_wdscore
1436 enable_webservices
1437 enable_websocket
1438 enable_wer
1439 enable_wevtapi
1440 enable_wevtsvc
1441 enable_wiaservc
1442 enable_wimgapi
1443 enable_win32u
1444 enable_windows_devices_enumeration
1445 enable_windows_gaming_input
1446 enable_windows_gaming_ui_gamebar
1447 enable_windows_globalization
1448 enable_windows_media_devices
1449 enable_windows_media_speech
1450 enable_windows_networking
1451 enable_windowscodecs
1452 enable_windowscodecsext
1453 enable_winealsa_drv
1454 enable_wineandroid_drv
1455 enable_winebus_sys
1456 enable_winecoreaudio_drv
1457 enable_winecrt0
1458 enable_wined3d
1459 enable_winegstreamer
1460 enable_winehid_sys
1461 enable_winemac_drv
1462 enable_winemapi
1463 enable_wineoss_drv
1464 enable_wineps_drv
1465 enable_winepulse_drv
1466 enable_wineusb_sys
1467 enable_winevulkan
1468 enable_winex11_drv
1469 enable_winexinput_sys
1470 enable_wing32
1471 enable_winhttp
1472 enable_wininet
1473 enable_winmm
1474 enable_winnls32
1475 enable_winscard
1476 enable_winspool_drv
1477 enable_winsta
1478 enable_wintab32
1479 enable_wintrust
1480 enable_wintypes
1481 enable_winusb
1482 enable_wlanapi
1483 enable_wlanui
1484 enable_wldap32
1485 enable_wmasf
1486 enable_wmi
1487 enable_wmiutils
1488 enable_wmp
1489 enable_wmphoto
1490 enable_wmvcore
1491 enable_wnaspi32
1492 enable_wow64
1493 enable_wow64cpu
1494 enable_wow64win
1495 enable_wpc
1496 enable_wpcap
1497 enable_ws2_32
1498 enable_wsdapi
1499 enable_wshom_ocx
1500 enable_wsnmp32
1501 enable_wsock32
1502 enable_wtsapi32
1503 enable_wuapi
1504 enable_wuaueng
1505 enable_x3daudio1_0
1506 enable_x3daudio1_1
1507 enable_x3daudio1_2
1508 enable_x3daudio1_3
1509 enable_x3daudio1_4
1510 enable_x3daudio1_5
1511 enable_x3daudio1_6
1512 enable_x3daudio1_7
1513 enable_xactengine2_0
1514 enable_xactengine2_4
1515 enable_xactengine2_7
1516 enable_xactengine2_9
1517 enable_xactengine3_0
1518 enable_xactengine3_1
1519 enable_xactengine3_2
1520 enable_xactengine3_3
1521 enable_xactengine3_4
1522 enable_xactengine3_5
1523 enable_xactengine3_6
1524 enable_xactengine3_7
1525 enable_xapofx1_1
1526 enable_xapofx1_2
1527 enable_xapofx1_3
1528 enable_xapofx1_4
1529 enable_xapofx1_5
1530 enable_xaudio2_0
1531 enable_xaudio2_1
1532 enable_xaudio2_2
1533 enable_xaudio2_3
1534 enable_xaudio2_4
1535 enable_xaudio2_5
1536 enable_xaudio2_6
1537 enable_xaudio2_7
1538 enable_xaudio2_8
1539 enable_xaudio2_9
1540 enable_xinput1_1
1541 enable_xinput1_2
1542 enable_xinput1_3
1543 enable_xinput1_4
1544 enable_xinput9_1_0
1545 enable_xmllite
1546 enable_xolehlp
1547 enable_xpsprint
1548 enable_xpssvcs
1549 enable_fonts
1550 enable_include
1551 enable_adsiid
1552 enable_dmoguids
1553 enable_dxerr8
1554 enable_dxerr9
1555 enable_dxguid
1556 enable_faudio
1557 enable_gsm
1558 enable_jpeg
1559 enable_jxr
1560 enable_lcms2
1561 enable_mfuuid
1562 enable_mpg123
1563 enable_png
1564 enable_strmbase
1565 enable_strmiids
1566 enable_tiff
1567 enable_uuid
1568 enable_vkd3d
1569 enable_wbemuuid
1570 enable_wine
1571 enable_wmcodecdspuuid
1572 enable_xml2
1573 enable_xslt
1574 enable_zlib
1575 enable_loader
1576 enable_nls
1577 enable_po
1578 enable_arp
1579 enable_aspnet_regiis
1580 enable_attrib
1581 enable_cabarc
1582 enable_cacls
1583 enable_certutil
1584 enable_chcp_com
1585 enable_clock
1586 enable_cmd
1587 enable_conhost
1588 enable_control
1589 enable_cscript
1590 enable_dism
1591 enable_dllhost
1592 enable_dplaysvr
1593 enable_dpnsvr
1594 enable_dpvsetup
1595 enable_dxdiag
1596 enable_eject
1597 enable_expand
1598 enable_explorer
1599 enable_extrac32
1600 enable_fc
1601 enable_find
1602 enable_findstr
1603 enable_fsutil
1604 enable_hh
1605 enable_hostname
1606 enable_icacls
1607 enable_icinfo
1608 enable_iexplore
1609 enable_ipconfig
1610 enable_lodctr
1611 enable_mofcomp
1612 enable_mshta
1613 enable_msidb
1614 enable_msiexec
1615 enable_msinfo32
1616 enable_net
1617 enable_netsh
1618 enable_netstat
1619 enable_ngen
1620 enable_notepad
1621 enable_oleview
1622 enable_ping
1623 enable_plugplay
1624 enable_powershell
1625 enable_presentationfontcache
1626 enable_progman
1627 enable_reg
1628 enable_regasm
1629 enable_regedit
1630 enable_regini
1631 enable_regsvcs
1632 enable_regsvr32
1633 enable_robocopy
1634 enable_rpcss
1635 enable_rundll32
1636 enable_sc
1637 enable_schtasks
1638 enable_sdbinst
1639 enable_secedit
1640 enable_servicemodelreg
1641 enable_services
1642 enable_setx
1643 enable_shutdown
1644 enable_spoolsv
1645 enable_start
1646 enable_subst
1647 enable_svchost
1648 enable_systeminfo
1649 enable_taskkill
1650 enable_tasklist
1651 enable_taskmgr
1652 enable_termsv
1653 enable_uninstaller
1654 enable_unlodctr
1655 enable_view
1656 enable_wevtutil
1657 enable_where
1658 enable_whoami
1659 enable_wineboot
1660 enable_winebrowser
1661 enable_winecfg
1662 enable_wineconsole
1663 enable_winedbg
1664 enable_winedevice
1665 enable_winefile
1666 enable_winemenubuilder
1667 enable_winemine
1668 enable_winemsibuilder
1669 enable_winepath
1670 enable_winetest
1671 enable_winhlp32
1672 enable_winmgmt
1673 enable_winver
1674 enable_wmic
1675 enable_wmplayer
1676 enable_wordpad
1677 enable_write
1678 enable_wscript
1679 enable_wuauserv
1680 enable_wusa
1681 enable_xcopy
1682 enable_server
1683 enable_tools
1684 enable_sfnt2fon
1685 enable_widl
1686 enable_winebuild
1687 enable_winedump
1688 enable_winegcc
1689 enable_winemaker
1690 enable_wmc
1691 enable_wrc
1693 ac_precious_vars='build_alias
1694 host_alias
1695 target_alias
1697 CFLAGS
1698 LDFLAGS
1699 LIBS
1700 CPPFLAGS
1702 CXXFLAGS
1704 OBJC
1705 OBJCFLAGS
1706 FAUDIO_PE_CFLAGS
1707 FAUDIO_PE_LIBS
1708 GSM_PE_CFLAGS
1709 GSM_PE_LIBS
1710 JPEG_PE_CFLAGS
1711 JPEG_PE_LIBS
1712 JXR_PE_CFLAGS
1713 JXR_PE_LIBS
1714 LCMS2_PE_CFLAGS
1715 LCMS2_PE_LIBS
1716 MPG123_PE_CFLAGS
1717 MPG123_PE_LIBS
1718 PNG_PE_CFLAGS
1719 PNG_PE_LIBS
1720 TIFF_PE_CFLAGS
1721 TIFF_PE_LIBS
1722 VKD3D_PE_CFLAGS
1723 VKD3D_PE_LIBS
1724 XML2_PE_CFLAGS
1725 XML2_PE_LIBS
1726 XSLT_PE_CFLAGS
1727 XSLT_PE_LIBS
1728 ZLIB_PE_CFLAGS
1729 ZLIB_PE_LIBS
1730 XMKMF
1732 INOTIFY_CFLAGS
1733 INOTIFY_LIBS
1734 DBUS_CFLAGS
1735 DBUS_LIBS
1736 GNUTLS_CFLAGS
1737 GNUTLS_LIBS
1738 SANE_CFLAGS
1739 SANE_LIBS
1740 USB_CFLAGS
1741 USB_LIBS
1742 GPHOTO2_CFLAGS
1743 GPHOTO2_LIBS
1744 GPHOTO2_PORT_CFLAGS
1745 GPHOTO2_PORT_LIBS
1746 FREETYPE_CFLAGS
1747 FREETYPE_LIBS
1748 PULSE_CFLAGS
1749 PULSE_LIBS
1750 GSTREAMER_CFLAGS
1751 GSTREAMER_LIBS
1752 UDEV_CFLAGS
1753 UDEV_LIBS
1754 UNWIND_CFLAGS
1755 UNWIND_LIBS
1756 SDL2_CFLAGS
1757 SDL2_LIBS
1758 CAPI20_CFLAGS
1759 CAPI20_LIBS
1760 CUPS_CFLAGS
1761 CUPS_LIBS
1762 FONTCONFIG_CFLAGS
1763 FONTCONFIG_LIBS
1764 KRB5_CFLAGS
1765 KRB5_LIBS
1766 GSSAPI_CFLAGS
1767 GSSAPI_LIBS
1768 NETAPI_CFLAGS
1769 NETAPI_LIBS
1770 LDAP_CFLAGS
1771 LDAP_LIBS'
1774 # Initialize some variables set by options.
1775 ac_init_help=
1776 ac_init_version=false
1777 ac_unrecognized_opts=
1778 ac_unrecognized_sep=
1779 # The variables have the same names as the options, with
1780 # dashes changed to underlines.
1781 cache_file=/dev/null
1782 exec_prefix=NONE
1783 no_create=
1784 no_recursion=
1785 prefix=NONE
1786 program_prefix=NONE
1787 program_suffix=NONE
1788 program_transform_name=s,x,x,
1789 silent=
1790 site=
1791 srcdir=
1792 verbose=
1793 x_includes=NONE
1794 x_libraries=NONE
1796 # Installation directory options.
1797 # These are left unexpanded so users can "make install exec_prefix=/foo"
1798 # and all the variables that are supposed to be based on exec_prefix
1799 # by default will actually change.
1800 # Use braces instead of parens because sh, perl, etc. also accept them.
1801 # (The list follows the same order as the GNU Coding Standards.)
1802 bindir='${exec_prefix}/bin'
1803 sbindir='${exec_prefix}/sbin'
1804 libexecdir='${exec_prefix}/libexec'
1805 datarootdir='${prefix}/share'
1806 datadir='${datarootdir}'
1807 sysconfdir='${prefix}/etc'
1808 sharedstatedir='${prefix}/com'
1809 localstatedir='${prefix}/var'
1810 runstatedir='${localstatedir}/run'
1811 includedir='${prefix}/include'
1812 oldincludedir='/usr/include'
1813 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1814 infodir='${datarootdir}/info'
1815 htmldir='${docdir}'
1816 dvidir='${docdir}'
1817 pdfdir='${docdir}'
1818 psdir='${docdir}'
1819 libdir='${exec_prefix}/lib'
1820 localedir='${datarootdir}/locale'
1821 mandir='${datarootdir}/man'
1823 ac_prev=
1824 ac_dashdash=
1825 for ac_option
1827 # If the previous option needs an argument, assign it.
1828 if test -n "$ac_prev"; then
1829 eval $ac_prev=\$ac_option
1830 ac_prev=
1831 continue
1834 case $ac_option in
1835 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1836 *=) ac_optarg= ;;
1837 *) ac_optarg=yes ;;
1838 esac
1840 case $ac_dashdash$ac_option in
1842 ac_dashdash=yes ;;
1844 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1845 ac_prev=bindir ;;
1846 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1847 bindir=$ac_optarg ;;
1849 -build | --build | --buil | --bui | --bu)
1850 ac_prev=build_alias ;;
1851 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1852 build_alias=$ac_optarg ;;
1854 -cache-file | --cache-file | --cache-fil | --cache-fi \
1855 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1856 ac_prev=cache_file ;;
1857 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1858 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1859 cache_file=$ac_optarg ;;
1861 --config-cache | -C)
1862 cache_file=config.cache ;;
1864 -datadir | --datadir | --datadi | --datad)
1865 ac_prev=datadir ;;
1866 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1867 datadir=$ac_optarg ;;
1869 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1870 | --dataroo | --dataro | --datar)
1871 ac_prev=datarootdir ;;
1872 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1873 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1874 datarootdir=$ac_optarg ;;
1876 -disable-* | --disable-*)
1877 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1878 # Reject names that are not valid shell variable names.
1879 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1880 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1881 ac_useropt_orig=$ac_useropt
1882 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1883 case $ac_user_opts in
1885 "enable_$ac_useropt"
1886 "*) ;;
1887 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1888 ac_unrecognized_sep=', ';;
1889 esac
1890 eval enable_$ac_useropt=no ;;
1892 -docdir | --docdir | --docdi | --doc | --do)
1893 ac_prev=docdir ;;
1894 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1895 docdir=$ac_optarg ;;
1897 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1898 ac_prev=dvidir ;;
1899 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1900 dvidir=$ac_optarg ;;
1902 -enable-* | --enable-*)
1903 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1904 # Reject names that are not valid shell variable names.
1905 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1906 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1907 ac_useropt_orig=$ac_useropt
1908 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1909 case $ac_user_opts in
1911 "enable_$ac_useropt"
1912 "*) ;;
1913 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1914 ac_unrecognized_sep=', ';;
1915 esac
1916 eval enable_$ac_useropt=\$ac_optarg ;;
1918 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1919 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1920 | --exec | --exe | --ex)
1921 ac_prev=exec_prefix ;;
1922 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1923 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1924 | --exec=* | --exe=* | --ex=*)
1925 exec_prefix=$ac_optarg ;;
1927 -gas | --gas | --ga | --g)
1928 # Obsolete; use --with-gas.
1929 with_gas=yes ;;
1931 -help | --help | --hel | --he | -h)
1932 ac_init_help=long ;;
1933 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1934 ac_init_help=recursive ;;
1935 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1936 ac_init_help=short ;;
1938 -host | --host | --hos | --ho)
1939 ac_prev=host_alias ;;
1940 -host=* | --host=* | --hos=* | --ho=*)
1941 host_alias=$ac_optarg ;;
1943 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1944 ac_prev=htmldir ;;
1945 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1946 | --ht=*)
1947 htmldir=$ac_optarg ;;
1949 -includedir | --includedir | --includedi | --included | --include \
1950 | --includ | --inclu | --incl | --inc)
1951 ac_prev=includedir ;;
1952 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1953 | --includ=* | --inclu=* | --incl=* | --inc=*)
1954 includedir=$ac_optarg ;;
1956 -infodir | --infodir | --infodi | --infod | --info | --inf)
1957 ac_prev=infodir ;;
1958 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1959 infodir=$ac_optarg ;;
1961 -libdir | --libdir | --libdi | --libd)
1962 ac_prev=libdir ;;
1963 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1964 libdir=$ac_optarg ;;
1966 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1967 | --libexe | --libex | --libe)
1968 ac_prev=libexecdir ;;
1969 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1970 | --libexe=* | --libex=* | --libe=*)
1971 libexecdir=$ac_optarg ;;
1973 -localedir | --localedir | --localedi | --localed | --locale)
1974 ac_prev=localedir ;;
1975 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1976 localedir=$ac_optarg ;;
1978 -localstatedir | --localstatedir | --localstatedi | --localstated \
1979 | --localstate | --localstat | --localsta | --localst | --locals)
1980 ac_prev=localstatedir ;;
1981 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1982 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1983 localstatedir=$ac_optarg ;;
1985 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1986 ac_prev=mandir ;;
1987 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1988 mandir=$ac_optarg ;;
1990 -nfp | --nfp | --nf)
1991 # Obsolete; use --without-fp.
1992 with_fp=no ;;
1994 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1995 | --no-cr | --no-c | -n)
1996 no_create=yes ;;
1998 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1999 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2000 no_recursion=yes ;;
2002 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2003 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2004 | --oldin | --oldi | --old | --ol | --o)
2005 ac_prev=oldincludedir ;;
2006 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2007 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2008 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2009 oldincludedir=$ac_optarg ;;
2011 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2012 ac_prev=prefix ;;
2013 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2014 prefix=$ac_optarg ;;
2016 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2017 | --program-pre | --program-pr | --program-p)
2018 ac_prev=program_prefix ;;
2019 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2020 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2021 program_prefix=$ac_optarg ;;
2023 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2024 | --program-suf | --program-su | --program-s)
2025 ac_prev=program_suffix ;;
2026 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2027 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2028 program_suffix=$ac_optarg ;;
2030 -program-transform-name | --program-transform-name \
2031 | --program-transform-nam | --program-transform-na \
2032 | --program-transform-n | --program-transform- \
2033 | --program-transform | --program-transfor \
2034 | --program-transfo | --program-transf \
2035 | --program-trans | --program-tran \
2036 | --progr-tra | --program-tr | --program-t)
2037 ac_prev=program_transform_name ;;
2038 -program-transform-name=* | --program-transform-name=* \
2039 | --program-transform-nam=* | --program-transform-na=* \
2040 | --program-transform-n=* | --program-transform-=* \
2041 | --program-transform=* | --program-transfor=* \
2042 | --program-transfo=* | --program-transf=* \
2043 | --program-trans=* | --program-tran=* \
2044 | --progr-tra=* | --program-tr=* | --program-t=*)
2045 program_transform_name=$ac_optarg ;;
2047 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2048 ac_prev=pdfdir ;;
2049 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2050 pdfdir=$ac_optarg ;;
2052 -psdir | --psdir | --psdi | --psd | --ps)
2053 ac_prev=psdir ;;
2054 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2055 psdir=$ac_optarg ;;
2057 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2058 | -silent | --silent | --silen | --sile | --sil)
2059 silent=yes ;;
2061 -runstatedir | --runstatedir | --runstatedi | --runstated \
2062 | --runstate | --runstat | --runsta | --runst | --runs \
2063 | --run | --ru | --r)
2064 ac_prev=runstatedir ;;
2065 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2066 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2067 | --run=* | --ru=* | --r=*)
2068 runstatedir=$ac_optarg ;;
2070 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2071 ac_prev=sbindir ;;
2072 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2073 | --sbi=* | --sb=*)
2074 sbindir=$ac_optarg ;;
2076 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2077 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2078 | --sharedst | --shareds | --shared | --share | --shar \
2079 | --sha | --sh)
2080 ac_prev=sharedstatedir ;;
2081 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2082 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2083 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2084 | --sha=* | --sh=*)
2085 sharedstatedir=$ac_optarg ;;
2087 -site | --site | --sit)
2088 ac_prev=site ;;
2089 -site=* | --site=* | --sit=*)
2090 site=$ac_optarg ;;
2092 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2093 ac_prev=srcdir ;;
2094 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2095 srcdir=$ac_optarg ;;
2097 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2098 | --syscon | --sysco | --sysc | --sys | --sy)
2099 ac_prev=sysconfdir ;;
2100 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2101 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2102 sysconfdir=$ac_optarg ;;
2104 -target | --target | --targe | --targ | --tar | --ta | --t)
2105 ac_prev=target_alias ;;
2106 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2107 target_alias=$ac_optarg ;;
2109 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2110 verbose=yes ;;
2112 -version | --version | --versio | --versi | --vers | -V)
2113 ac_init_version=: ;;
2115 -with-* | --with-*)
2116 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2117 # Reject names that are not valid shell variable names.
2118 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2119 as_fn_error $? "invalid package name: \`$ac_useropt'"
2120 ac_useropt_orig=$ac_useropt
2121 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2122 case $ac_user_opts in
2124 "with_$ac_useropt"
2125 "*) ;;
2126 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2127 ac_unrecognized_sep=', ';;
2128 esac
2129 eval with_$ac_useropt=\$ac_optarg ;;
2131 -without-* | --without-*)
2132 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2133 # Reject names that are not valid shell variable names.
2134 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2135 as_fn_error $? "invalid package name: \`$ac_useropt'"
2136 ac_useropt_orig=$ac_useropt
2137 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2138 case $ac_user_opts in
2140 "with_$ac_useropt"
2141 "*) ;;
2142 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2143 ac_unrecognized_sep=', ';;
2144 esac
2145 eval with_$ac_useropt=no ;;
2147 --x)
2148 # Obsolete; use --with-x.
2149 with_x=yes ;;
2151 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2152 | --x-incl | --x-inc | --x-in | --x-i)
2153 ac_prev=x_includes ;;
2154 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2155 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2156 x_includes=$ac_optarg ;;
2158 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2159 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2160 ac_prev=x_libraries ;;
2161 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2162 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2163 x_libraries=$ac_optarg ;;
2165 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2166 Try \`$0 --help' for more information"
2169 *=*)
2170 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2171 # Reject names that are not valid shell variable names.
2172 case $ac_envvar in #(
2173 '' | [0-9]* | *[!_$as_cr_alnum]* )
2174 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2175 esac
2176 eval $ac_envvar=\$ac_optarg
2177 export $ac_envvar ;;
2180 # FIXME: should be removed in autoconf 3.0.
2181 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2182 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2183 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2184 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2187 esac
2188 done
2190 if test -n "$ac_prev"; then
2191 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2192 as_fn_error $? "missing argument to $ac_option"
2195 if test -n "$ac_unrecognized_opts"; then
2196 case $enable_option_checking in
2197 no) ;;
2198 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2199 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2200 esac
2203 # Check all directory arguments for consistency.
2204 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2205 datadir sysconfdir sharedstatedir localstatedir includedir \
2206 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2207 libdir localedir mandir runstatedir
2209 eval ac_val=\$$ac_var
2210 # Remove trailing slashes.
2211 case $ac_val in
2212 */ )
2213 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2214 eval $ac_var=\$ac_val;;
2215 esac
2216 # Be sure to have absolute directory names.
2217 case $ac_val in
2218 [\\/$]* | ?:[\\/]* ) continue;;
2219 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2220 esac
2221 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2222 done
2224 # There might be people who depend on the old broken behavior: `$host'
2225 # used to hold the argument of --host etc.
2226 # FIXME: To remove some day.
2227 build=$build_alias
2228 host=$host_alias
2229 target=$target_alias
2231 # FIXME: To remove some day.
2232 if test "x$host_alias" != x; then
2233 if test "x$build_alias" = x; then
2234 cross_compiling=maybe
2235 elif test "x$build_alias" != "x$host_alias"; then
2236 cross_compiling=yes
2240 ac_tool_prefix=
2241 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2243 test "$silent" = yes && exec 6>/dev/null
2246 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2247 ac_ls_di=`ls -di .` &&
2248 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2249 as_fn_error $? "working directory cannot be determined"
2250 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2251 as_fn_error $? "pwd does not report name of working directory"
2254 # Find the source files, if location was not specified.
2255 if test -z "$srcdir"; then
2256 ac_srcdir_defaulted=yes
2257 # Try the directory containing this script, then the parent directory.
2258 ac_confdir=`$as_dirname -- "$as_myself" ||
2259 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2260 X"$as_myself" : 'X\(//\)[^/]' \| \
2261 X"$as_myself" : 'X\(//\)$' \| \
2262 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2263 printf "%s\n" X"$as_myself" |
2264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2265 s//\1/
2268 /^X\(\/\/\)[^/].*/{
2269 s//\1/
2272 /^X\(\/\/\)$/{
2273 s//\1/
2276 /^X\(\/\).*/{
2277 s//\1/
2280 s/.*/./; q'`
2281 srcdir=$ac_confdir
2282 if test ! -r "$srcdir/$ac_unique_file"; then
2283 srcdir=..
2285 else
2286 ac_srcdir_defaulted=no
2288 if test ! -r "$srcdir/$ac_unique_file"; then
2289 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2290 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2292 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2293 ac_abs_confdir=`(
2294 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2295 pwd)`
2296 # When building in place, set srcdir=.
2297 if test "$ac_abs_confdir" = "$ac_pwd"; then
2298 srcdir=.
2300 # Remove unnecessary trailing slashes from srcdir.
2301 # Double slashes in file names in object file debugging info
2302 # mess up M-x gdb in Emacs.
2303 case $srcdir in
2304 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2305 esac
2306 for ac_var in $ac_precious_vars; do
2307 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2308 eval ac_env_${ac_var}_value=\$${ac_var}
2309 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2310 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2311 done
2314 # Report the --help message.
2316 if test "$ac_init_help" = "long"; then
2317 # Omit some internal or obsolete options to make the list less imposing.
2318 # This message is too long to be a string in the A/UX 3.1 sh.
2319 cat <<_ACEOF
2320 \`configure' configures Wine 7.20 to adapt to many kinds of systems.
2322 Usage: $0 [OPTION]... [VAR=VALUE]...
2324 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2325 VAR=VALUE. See below for descriptions of some of the useful variables.
2327 Defaults for the options are specified in brackets.
2329 Configuration:
2330 -h, --help display this help and exit
2331 --help=short display options specific to this package
2332 --help=recursive display the short help of all the included packages
2333 -V, --version display version information and exit
2334 -q, --quiet, --silent do not print \`checking ...' messages
2335 --cache-file=FILE cache test results in FILE [disabled]
2336 -C, --config-cache alias for \`--cache-file=config.cache'
2337 -n, --no-create do not create output files
2338 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2340 Installation directories:
2341 --prefix=PREFIX install architecture-independent files in PREFIX
2342 [$ac_default_prefix]
2343 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2344 [PREFIX]
2346 By default, \`make install' will install all the files in
2347 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2348 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2349 for instance \`--prefix=\$HOME'.
2351 For better control, use the options below.
2353 Fine tuning of the installation directories:
2354 --bindir=DIR user executables [EPREFIX/bin]
2355 --sbindir=DIR system admin executables [EPREFIX/sbin]
2356 --libexecdir=DIR program executables [EPREFIX/libexec]
2357 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2358 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2359 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2360 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2361 --libdir=DIR object code libraries [EPREFIX/lib]
2362 --includedir=DIR C header files [PREFIX/include]
2363 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2364 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2365 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2366 --infodir=DIR info documentation [DATAROOTDIR/info]
2367 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2368 --mandir=DIR man documentation [DATAROOTDIR/man]
2369 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2370 --htmldir=DIR html documentation [DOCDIR]
2371 --dvidir=DIR dvi documentation [DOCDIR]
2372 --pdfdir=DIR pdf documentation [DOCDIR]
2373 --psdir=DIR ps documentation [DOCDIR]
2374 _ACEOF
2376 cat <<\_ACEOF
2378 X features:
2379 --x-includes=DIR X include files are in DIR
2380 --x-libraries=DIR X library files are in DIR
2382 System types:
2383 --build=BUILD configure for building on BUILD [guessed]
2384 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2385 _ACEOF
2388 if test -n "$ac_init_help"; then
2389 case $ac_init_help in
2390 short | recursive ) echo "Configuration of Wine 7.20:";;
2391 esac
2392 cat <<\_ACEOF
2394 Optional Features:
2395 --disable-option-checking ignore unrecognized --enable/--with options
2396 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2397 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2398 --enable-archs={i386,x86_64,arm,aarch64}
2399 enable multiple architectures for PE compilation
2400 --disable-win16 do not include Win16 support
2401 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2402 binaries)
2403 --disable-tests do not build the regression tests
2404 --enable-build-id include .buildid section in output objects
2405 --enable-maintainer-mode
2406 enable maintainer-specific build rules
2407 --enable-silent-rules use silent build rules (override: "make V=1")
2408 --enable-werror treat compilation warnings as errors
2409 --disable-largefile omit support for large files
2411 Optional Packages:
2412 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2413 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2414 --without-alsa do not use the Alsa sound support
2415 --without-capi do not use CAPI (ISDN support)
2416 --without-coreaudio do not use the CoreAudio sound support
2417 --without-cups do not use CUPS
2418 --without-dbus do not use DBus (dynamic device support)
2419 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2420 --without-fontconfig do not use fontconfig
2421 --without-freetype do not use the FreeType library
2422 --without-gettext do not use gettext
2423 --with-gettextpo use the GetTextPO library to rebuild po files
2424 --without-gphoto do not use gphoto (Digital Camera support)
2425 --without-gnutls do not use GnuTLS (schannel support)
2426 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2427 --without-gstreamer do not use GStreamer (codecs support)
2428 --without-inotify do not use inotify (filesystem change notifications)
2429 --without-krb5 do not use krb5 (Kerberos)
2430 --without-ldap do not use LDAP
2431 --without-mingw do not use the MinGW cross-compiler
2432 --without-netapi do not use the Samba NetAPI library
2433 --without-opencl do not use OpenCL
2434 --without-opengl do not use OpenGL
2435 --without-osmesa do not use the OSMesa library
2436 --without-oss do not use the OSS sound support
2437 --without-pcap do not use the Packet Capture library
2438 --without-pthread do not use the pthread library
2439 --without-pulse do not use PulseAudio sound support
2440 --without-sane do not use SANE (scanner support)
2441 --without-sdl do not use SDL
2442 --without-udev do not use udev (plug and play support)
2443 --without-unwind do not use the libunwind library (exception
2444 handling)
2445 --without-usb do not use the libusb library
2446 --without-v4l2 do not use v4l2 (video capture)
2447 --without-vulkan do not use Vulkan
2448 --without-xcomposite do not use the Xcomposite extension
2449 --without-xcursor do not use the Xcursor extension
2450 --without-xfixes do not use Xfixes for clipboard change notifications
2451 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2452 --without-xinput do not use the Xinput extension
2453 --without-xinput2 do not use the Xinput 2 extension
2454 --without-xrandr do not use Xrandr (multi-monitor support)
2455 --without-xrender do not use the Xrender extension
2456 --without-xshape do not use the Xshape extension
2457 --without-xshm do not use XShm (shared memory extension)
2458 --without-xxf86vm do not use XFree video mode extension
2459 --with-system-dllpath=PATH
2460 load external PE dependencies from colon-separated
2461 path PATH
2462 --with-wine-tools=DIR use Wine tools from directory DIR
2463 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2464 --with-x use the X Window System
2466 Some influential environment variables:
2467 CC C compiler command
2468 CFLAGS C compiler flags
2469 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2470 nonstandard directory <lib dir>
2471 LIBS libraries to pass to the linker, e.g. -l<library>
2472 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2473 you have headers in a nonstandard directory <include dir>
2474 CXX C++ compiler command
2475 CXXFLAGS C++ compiler flags
2476 OBJC Objective C compiler command
2477 OBJCFLAGS Objective C compiler flags
2478 FAUDIO_PE_CFLAGS
2479 C compiler flags for the PE faudio, overriding the bundled
2480 version
2481 FAUDIO_PE_LIBS
2482 Linker flags for the PE faudio, overriding the bundled version
2483 GSM_PE_CFLAGS
2484 C compiler flags for the PE gsm, overriding the bundled version
2485 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2486 JPEG_PE_CFLAGS
2487 C compiler flags for the PE jpeg, overriding the bundled version
2488 JPEG_PE_LIBS
2489 Linker flags for the PE jpeg, overriding the bundled version
2490 JXR_PE_CFLAGS
2491 C compiler flags for the PE jxr, overriding the bundled version
2492 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2493 LCMS2_PE_CFLAGS
2494 C compiler flags for the PE lcms2, overriding the bundled
2495 version
2496 LCMS2_PE_LIBS
2497 Linker flags for the PE lcms2, overriding the bundled version
2498 MPG123_PE_CFLAGS
2499 C compiler flags for the PE mpg123, overriding the bundled
2500 version
2501 MPG123_PE_LIBS
2502 Linker flags for the PE mpg123, overriding the bundled version
2503 PNG_PE_CFLAGS
2504 C compiler flags for the PE png, overriding the bundled version
2505 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2506 TIFF_PE_CFLAGS
2507 C compiler flags for the PE tiff, overriding the bundled version
2508 TIFF_PE_LIBS
2509 Linker flags for the PE tiff, overriding the bundled version
2510 VKD3D_PE_CFLAGS
2511 C compiler flags for the PE vkd3d, overriding the bundled
2512 version
2513 VKD3D_PE_LIBS
2514 Linker flags for the PE vkd3d, overriding the bundled version
2515 XML2_PE_CFLAGS
2516 C compiler flags for the PE xml2, overriding the bundled version
2517 XML2_PE_LIBS
2518 Linker flags for the PE xml2, overriding the bundled version
2519 XSLT_PE_CFLAGS
2520 C compiler flags for the PE xslt, overriding the bundled version
2521 XSLT_PE_LIBS
2522 Linker flags for the PE xslt, overriding the bundled version
2523 ZLIB_PE_CFLAGS
2524 C compiler flags for the PE zlib, overriding the bundled version
2525 ZLIB_PE_LIBS
2526 Linker flags for the PE zlib, overriding the bundled version
2527 XMKMF Path to xmkmf, Makefile generator for X Window System
2528 CPP C preprocessor
2529 INOTIFY_CFLAGS
2530 C compiler flags for libinotify, overriding pkg-config
2531 INOTIFY_LIBS
2532 Linker flags for libinotify, overriding pkg-config
2533 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2534 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2535 GNUTLS_CFLAGS
2536 C compiler flags for gnutls, overriding pkg-config
2537 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2538 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2539 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2540 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2541 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2542 GPHOTO2_CFLAGS
2543 C compiler flags for libgphoto2, overriding pkg-config
2544 GPHOTO2_LIBS
2545 Linker flags for libgphoto2, overriding pkg-config
2546 GPHOTO2_PORT_CFLAGS
2547 C compiler flags for libgphoto2_port, overriding pkg-config
2548 GPHOTO2_PORT_LIBS
2549 Linker flags for libgphoto2_port, overriding pkg-config
2550 FREETYPE_CFLAGS
2551 C compiler flags for freetype2, overriding pkg-config
2552 FREETYPE_LIBS
2553 Linker flags for freetype2, overriding pkg-config
2554 PULSE_CFLAGS
2555 C compiler flags for libpulse, overriding pkg-config
2556 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2557 GSTREAMER_CFLAGS
2558 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2559 gstreamer-audio-1.0, overriding pkg-config
2560 GSTREAMER_LIBS
2561 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2562 gstreamer-audio-1.0, overriding pkg-config
2563 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2564 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2565 UNWIND_CFLAGS
2566 C compiler flags for libunwind, overriding pkg-config
2567 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2568 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2569 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2570 CAPI20_CFLAGS
2571 C compiler flags for capi20, overriding pkg-config
2572 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2573 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2574 CUPS_LIBS Linker flags for cups, overriding pkg-config
2575 FONTCONFIG_CFLAGS
2576 C compiler flags for fontconfig, overriding pkg-config
2577 FONTCONFIG_LIBS
2578 Linker flags for fontconfig, overriding pkg-config
2579 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2580 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2581 GSSAPI_CFLAGS
2582 C compiler flags for krb5-gssapi, overriding pkg-config
2583 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2584 NETAPI_CFLAGS
2585 C compiler flags for netapi, overriding pkg-config
2586 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2587 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2588 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2590 Use these variables to override the choices made by `configure' or to help
2591 it to find libraries and programs with nonstandard names/locations.
2593 Report bugs to <wine-devel@winehq.org>.
2594 Wine home page: <https://www.winehq.org>.
2595 _ACEOF
2596 ac_status=$?
2599 if test "$ac_init_help" = "recursive"; then
2600 # If there are subdirs, report their specific --help.
2601 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2602 test -d "$ac_dir" ||
2603 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2604 continue
2605 ac_builddir=.
2607 case "$ac_dir" in
2608 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2610 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2611 # A ".." for each directory in $ac_dir_suffix.
2612 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2613 case $ac_top_builddir_sub in
2614 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2615 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2616 esac ;;
2617 esac
2618 ac_abs_top_builddir=$ac_pwd
2619 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2620 # for backward compatibility:
2621 ac_top_builddir=$ac_top_build_prefix
2623 case $srcdir in
2624 .) # We are building in place.
2625 ac_srcdir=.
2626 ac_top_srcdir=$ac_top_builddir_sub
2627 ac_abs_top_srcdir=$ac_pwd ;;
2628 [\\/]* | ?:[\\/]* ) # Absolute name.
2629 ac_srcdir=$srcdir$ac_dir_suffix;
2630 ac_top_srcdir=$srcdir
2631 ac_abs_top_srcdir=$srcdir ;;
2632 *) # Relative name.
2633 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2634 ac_top_srcdir=$ac_top_build_prefix$srcdir
2635 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2636 esac
2637 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2639 cd "$ac_dir" || { ac_status=$?; continue; }
2640 # Check for configure.gnu first; this name is used for a wrapper for
2641 # Metaconfig's "Configure" on case-insensitive file systems.
2642 if test -f "$ac_srcdir/configure.gnu"; then
2643 echo &&
2644 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2645 elif test -f "$ac_srcdir/configure"; then
2646 echo &&
2647 $SHELL "$ac_srcdir/configure" --help=recursive
2648 else
2649 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2650 fi || ac_status=$?
2651 cd "$ac_pwd" || { ac_status=$?; break; }
2652 done
2655 test -n "$ac_init_help" && exit $ac_status
2656 if $ac_init_version; then
2657 cat <<\_ACEOF
2658 Wine configure 7.20
2659 generated by GNU Autoconf 2.71
2661 Copyright (C) 2021 Free Software Foundation, Inc.
2662 This configure script is free software; the Free Software Foundation
2663 gives unlimited permission to copy, distribute and modify it.
2664 _ACEOF
2665 exit
2668 ## ------------------------ ##
2669 ## Autoconf initialization. ##
2670 ## ------------------------ ##
2672 # ac_fn_c_try_compile LINENO
2673 # --------------------------
2674 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2675 ac_fn_c_try_compile ()
2677 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2678 rm -f conftest.$ac_objext conftest.beam
2679 if { { ac_try="$ac_compile"
2680 case "(($ac_try" in
2681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2682 *) ac_try_echo=$ac_try;;
2683 esac
2684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2685 printf "%s\n" "$ac_try_echo"; } >&5
2686 (eval "$ac_compile") 2>conftest.err
2687 ac_status=$?
2688 if test -s conftest.err; then
2689 grep -v '^ *+' conftest.err >conftest.er1
2690 cat conftest.er1 >&5
2691 mv -f conftest.er1 conftest.err
2693 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2694 test $ac_status = 0; } && {
2695 test -z "$ac_c_werror_flag" ||
2696 test ! -s conftest.err
2697 } && test -s conftest.$ac_objext
2698 then :
2699 ac_retval=0
2700 else $as_nop
2701 printf "%s\n" "$as_me: failed program was:" >&5
2702 sed 's/^/| /' conftest.$ac_ext >&5
2704 ac_retval=1
2706 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2707 as_fn_set_status $ac_retval
2709 } # ac_fn_c_try_compile
2711 # ac_fn_cxx_try_compile LINENO
2712 # ----------------------------
2713 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2714 ac_fn_cxx_try_compile ()
2716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2717 rm -f conftest.$ac_objext conftest.beam
2718 if { { ac_try="$ac_compile"
2719 case "(($ac_try" in
2720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2721 *) ac_try_echo=$ac_try;;
2722 esac
2723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2724 printf "%s\n" "$ac_try_echo"; } >&5
2725 (eval "$ac_compile") 2>conftest.err
2726 ac_status=$?
2727 if test -s conftest.err; then
2728 grep -v '^ *+' conftest.err >conftest.er1
2729 cat conftest.er1 >&5
2730 mv -f conftest.er1 conftest.err
2732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2733 test $ac_status = 0; } && {
2734 test -z "$ac_cxx_werror_flag" ||
2735 test ! -s conftest.err
2736 } && test -s conftest.$ac_objext
2737 then :
2738 ac_retval=0
2739 else $as_nop
2740 printf "%s\n" "$as_me: failed program was:" >&5
2741 sed 's/^/| /' conftest.$ac_ext >&5
2743 ac_retval=1
2745 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2746 as_fn_set_status $ac_retval
2748 } # ac_fn_cxx_try_compile
2750 # ac_fn_c_try_link LINENO
2751 # -----------------------
2752 # Try to link conftest.$ac_ext, and return whether this succeeded.
2753 ac_fn_c_try_link ()
2755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2756 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2757 if { { ac_try="$ac_link"
2758 case "(($ac_try" in
2759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2760 *) ac_try_echo=$ac_try;;
2761 esac
2762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2763 printf "%s\n" "$ac_try_echo"; } >&5
2764 (eval "$ac_link") 2>conftest.err
2765 ac_status=$?
2766 if test -s conftest.err; then
2767 grep -v '^ *+' conftest.err >conftest.er1
2768 cat conftest.er1 >&5
2769 mv -f conftest.er1 conftest.err
2771 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2772 test $ac_status = 0; } && {
2773 test -z "$ac_c_werror_flag" ||
2774 test ! -s conftest.err
2775 } && test -s conftest$ac_exeext && {
2776 test "$cross_compiling" = yes ||
2777 test -x conftest$ac_exeext
2779 then :
2780 ac_retval=0
2781 else $as_nop
2782 printf "%s\n" "$as_me: failed program was:" >&5
2783 sed 's/^/| /' conftest.$ac_ext >&5
2785 ac_retval=1
2787 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2788 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2789 # interfere with the next link command; also delete a directory that is
2790 # left behind by Apple's compiler. We do this before executing the actions.
2791 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2792 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2793 as_fn_set_status $ac_retval
2795 } # ac_fn_c_try_link
2797 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2798 # -------------------------------------------------------
2799 # Tests whether HEADER exists and can be compiled using the include files in
2800 # INCLUDES, setting the cache variable VAR accordingly.
2801 ac_fn_c_check_header_compile ()
2803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2805 printf %s "checking for $2... " >&6; }
2806 if eval test \${$3+y}
2807 then :
2808 printf %s "(cached) " >&6
2809 else $as_nop
2810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2811 /* end confdefs.h. */
2813 #include <$2>
2814 _ACEOF
2815 if ac_fn_c_try_compile "$LINENO"
2816 then :
2817 eval "$3=yes"
2818 else $as_nop
2819 eval "$3=no"
2821 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2823 eval ac_res=\$$3
2824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2825 printf "%s\n" "$ac_res" >&6; }
2826 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2828 } # ac_fn_c_check_header_compile
2830 # ac_fn_objc_try_compile LINENO
2831 # -----------------------------
2832 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2833 ac_fn_objc_try_compile ()
2835 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2836 rm -f conftest.$ac_objext conftest.beam
2837 if { { ac_try="$ac_compile"
2838 case "(($ac_try" in
2839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2840 *) ac_try_echo=$ac_try;;
2841 esac
2842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2843 printf "%s\n" "$ac_try_echo"; } >&5
2844 (eval "$ac_compile") 2>conftest.err
2845 ac_status=$?
2846 if test -s conftest.err; then
2847 grep -v '^ *+' conftest.err >conftest.er1
2848 cat conftest.er1 >&5
2849 mv -f conftest.er1 conftest.err
2851 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2852 test $ac_status = 0; } && {
2853 test -z "$ac_objc_werror_flag" ||
2854 test ! -s conftest.err
2855 } && test -s conftest.$ac_objext
2856 then :
2857 ac_retval=0
2858 else $as_nop
2859 printf "%s\n" "$as_me: failed program was:" >&5
2860 sed 's/^/| /' conftest.$ac_ext >&5
2862 ac_retval=1
2864 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2865 as_fn_set_status $ac_retval
2867 } # ac_fn_objc_try_compile
2869 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
2870 # ----------------------------------------------------------
2871 # Tests whether HEADER exists and can be compiled using the include files in
2872 # INCLUDES, setting the cache variable VAR accordingly.
2873 ac_fn_objc_check_header_compile ()
2875 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2877 printf %s "checking for $2... " >&6; }
2878 if eval test \${$3+y}
2879 then :
2880 printf %s "(cached) " >&6
2881 else $as_nop
2882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2883 /* end confdefs.h. */
2885 #include <$2>
2886 _ACEOF
2887 if ac_fn_objc_try_compile "$LINENO"
2888 then :
2889 eval "$3=yes"
2890 else $as_nop
2891 eval "$3=no"
2893 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2895 eval ac_res=\$$3
2896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2897 printf "%s\n" "$ac_res" >&6; }
2898 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2900 } # ac_fn_objc_check_header_compile
2902 # ac_fn_c_check_func LINENO FUNC VAR
2903 # ----------------------------------
2904 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2905 ac_fn_c_check_func ()
2907 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2909 printf %s "checking for $2... " >&6; }
2910 if eval test \${$3+y}
2911 then :
2912 printf %s "(cached) " >&6
2913 else $as_nop
2914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2915 /* end confdefs.h. */
2916 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2918 #define $2 innocuous_$2
2920 /* System header to define __stub macros and hopefully few prototypes,
2921 which can conflict with char $2 (); below. */
2923 #include <limits.h>
2924 #undef $2
2926 /* Override any GCC internal prototype to avoid an error.
2927 Use char because int might match the return type of a GCC
2928 builtin and then its argument prototype would still apply. */
2929 #ifdef __cplusplus
2930 extern "C"
2931 #endif
2932 char $2 ();
2933 /* The GNU C library defines this for functions which it implements
2934 to always fail with ENOSYS. Some functions are actually named
2935 something starting with __ and the normal name is an alias. */
2936 #if defined __stub_$2 || defined __stub___$2
2937 choke me
2938 #endif
2941 main (void)
2943 return $2 ();
2945 return 0;
2947 _ACEOF
2948 if ac_fn_c_try_link "$LINENO"
2949 then :
2950 eval "$3=yes"
2951 else $as_nop
2952 eval "$3=no"
2954 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2955 conftest$ac_exeext conftest.$ac_ext
2957 eval ac_res=\$$3
2958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2959 printf "%s\n" "$ac_res" >&6; }
2960 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2962 } # ac_fn_c_check_func
2964 # ac_fn_c_try_cpp LINENO
2965 # ----------------------
2966 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2967 ac_fn_c_try_cpp ()
2969 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2970 if { { ac_try="$ac_cpp conftest.$ac_ext"
2971 case "(($ac_try" in
2972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2973 *) ac_try_echo=$ac_try;;
2974 esac
2975 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2976 printf "%s\n" "$ac_try_echo"; } >&5
2977 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2978 ac_status=$?
2979 if test -s conftest.err; then
2980 grep -v '^ *+' conftest.err >conftest.er1
2981 cat conftest.er1 >&5
2982 mv -f conftest.er1 conftest.err
2984 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2985 test $ac_status = 0; } > conftest.i && {
2986 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2987 test ! -s conftest.err
2989 then :
2990 ac_retval=0
2991 else $as_nop
2992 printf "%s\n" "$as_me: failed program was:" >&5
2993 sed 's/^/| /' conftest.$ac_ext >&5
2995 ac_retval=1
2997 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2998 as_fn_set_status $ac_retval
3000 } # ac_fn_c_try_cpp
3002 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3003 # ----------------------------------------------------
3004 # Tries to find if the field MEMBER exists in type AGGR, after including
3005 # INCLUDES, setting cache variable VAR accordingly.
3006 ac_fn_c_check_member ()
3008 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3010 printf %s "checking for $2.$3... " >&6; }
3011 if eval test \${$4+y}
3012 then :
3013 printf %s "(cached) " >&6
3014 else $as_nop
3015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3016 /* end confdefs.h. */
3019 main (void)
3021 static $2 ac_aggr;
3022 if (ac_aggr.$3)
3023 return 0;
3025 return 0;
3027 _ACEOF
3028 if ac_fn_c_try_compile "$LINENO"
3029 then :
3030 eval "$4=yes"
3031 else $as_nop
3032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3033 /* end confdefs.h. */
3036 main (void)
3038 static $2 ac_aggr;
3039 if (sizeof ac_aggr.$3)
3040 return 0;
3042 return 0;
3044 _ACEOF
3045 if ac_fn_c_try_compile "$LINENO"
3046 then :
3047 eval "$4=yes"
3048 else $as_nop
3049 eval "$4=no"
3051 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3053 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3055 eval ac_res=\$$4
3056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3057 printf "%s\n" "$ac_res" >&6; }
3058 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3060 } # ac_fn_c_check_member
3062 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3063 # -------------------------------------------
3064 # Tests whether TYPE exists after having included INCLUDES, setting cache
3065 # variable VAR accordingly.
3066 ac_fn_c_check_type ()
3068 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3070 printf %s "checking for $2... " >&6; }
3071 if eval test \${$3+y}
3072 then :
3073 printf %s "(cached) " >&6
3074 else $as_nop
3075 eval "$3=no"
3076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3077 /* end confdefs.h. */
3080 main (void)
3082 if (sizeof ($2))
3083 return 0;
3085 return 0;
3087 _ACEOF
3088 if ac_fn_c_try_compile "$LINENO"
3089 then :
3090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3091 /* end confdefs.h. */
3094 main (void)
3096 if (sizeof (($2)))
3097 return 0;
3099 return 0;
3101 _ACEOF
3102 if ac_fn_c_try_compile "$LINENO"
3103 then :
3105 else $as_nop
3106 eval "$3=yes"
3108 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3110 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3112 eval ac_res=\$$3
3113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3114 printf "%s\n" "$ac_res" >&6; }
3115 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3117 } # ac_fn_c_check_type
3118 ac_configure_args_raw=
3119 for ac_arg
3121 case $ac_arg in
3122 *\'*)
3123 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3124 esac
3125 as_fn_append ac_configure_args_raw " '$ac_arg'"
3126 done
3128 case $ac_configure_args_raw in
3129 *$as_nl*)
3130 ac_safe_unquote= ;;
3132 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3133 ac_unsafe_a="$ac_unsafe_z#~"
3134 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3135 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3136 esac
3138 cat >config.log <<_ACEOF
3139 This file contains any messages produced by compilers while
3140 running configure, to aid debugging if configure makes a mistake.
3142 It was created by Wine $as_me 7.20, which was
3143 generated by GNU Autoconf 2.71. Invocation command line was
3145 $ $0$ac_configure_args_raw
3147 _ACEOF
3148 exec 5>>config.log
3150 cat <<_ASUNAME
3151 ## --------- ##
3152 ## Platform. ##
3153 ## --------- ##
3155 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3156 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3157 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3158 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3159 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3161 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3162 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3164 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3165 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3166 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3167 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3168 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3169 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3170 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3172 _ASUNAME
3174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3175 for as_dir in $PATH
3177 IFS=$as_save_IFS
3178 case $as_dir in #(((
3179 '') as_dir=./ ;;
3180 */) ;;
3181 *) as_dir=$as_dir/ ;;
3182 esac
3183 printf "%s\n" "PATH: $as_dir"
3184 done
3185 IFS=$as_save_IFS
3187 } >&5
3189 cat >&5 <<_ACEOF
3192 ## ----------- ##
3193 ## Core tests. ##
3194 ## ----------- ##
3196 _ACEOF
3199 # Keep a trace of the command line.
3200 # Strip out --no-create and --no-recursion so they do not pile up.
3201 # Strip out --silent because we don't want to record it for future runs.
3202 # Also quote any args containing shell meta-characters.
3203 # Make two passes to allow for proper duplicate-argument suppression.
3204 ac_configure_args=
3205 ac_configure_args0=
3206 ac_configure_args1=
3207 ac_must_keep_next=false
3208 for ac_pass in 1 2
3210 for ac_arg
3212 case $ac_arg in
3213 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3214 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3215 | -silent | --silent | --silen | --sile | --sil)
3216 continue ;;
3217 *\'*)
3218 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3219 esac
3220 case $ac_pass in
3221 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3223 as_fn_append ac_configure_args1 " '$ac_arg'"
3224 if test $ac_must_keep_next = true; then
3225 ac_must_keep_next=false # Got value, back to normal.
3226 else
3227 case $ac_arg in
3228 *=* | --config-cache | -C | -disable-* | --disable-* \
3229 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3230 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3231 | -with-* | --with-* | -without-* | --without-* | --x)
3232 case "$ac_configure_args0 " in
3233 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3234 esac
3236 -* ) ac_must_keep_next=true ;;
3237 esac
3239 as_fn_append ac_configure_args " '$ac_arg'"
3241 esac
3242 done
3243 done
3244 { ac_configure_args0=; unset ac_configure_args0;}
3245 { ac_configure_args1=; unset ac_configure_args1;}
3247 # When interrupted or exit'd, cleanup temporary files, and complete
3248 # config.log. We remove comments because anyway the quotes in there
3249 # would cause problems or look ugly.
3250 # WARNING: Use '\'' to represent an apostrophe within the trap.
3251 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3252 trap 'exit_status=$?
3253 # Sanitize IFS.
3254 IFS=" "" $as_nl"
3255 # Save into config.log some information that might help in debugging.
3257 echo
3259 printf "%s\n" "## ---------------- ##
3260 ## Cache variables. ##
3261 ## ---------------- ##"
3262 echo
3263 # The following way of writing the cache mishandles newlines in values,
3265 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3266 eval ac_val=\$$ac_var
3267 case $ac_val in #(
3268 *${as_nl}*)
3269 case $ac_var in #(
3270 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3271 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3272 esac
3273 case $ac_var in #(
3274 _ | IFS | as_nl) ;; #(
3275 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3276 *) { eval $ac_var=; unset $ac_var;} ;;
3277 esac ;;
3278 esac
3279 done
3280 (set) 2>&1 |
3281 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3282 *${as_nl}ac_space=\ *)
3283 sed -n \
3284 "s/'\''/'\''\\\\'\'''\''/g;
3285 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3286 ;; #(
3288 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3290 esac |
3291 sort
3293 echo
3295 printf "%s\n" "## ----------------- ##
3296 ## Output variables. ##
3297 ## ----------------- ##"
3298 echo
3299 for ac_var in $ac_subst_vars
3301 eval ac_val=\$$ac_var
3302 case $ac_val in
3303 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3304 esac
3305 printf "%s\n" "$ac_var='\''$ac_val'\''"
3306 done | sort
3307 echo
3309 if test -n "$ac_subst_files"; then
3310 printf "%s\n" "## ------------------- ##
3311 ## File substitutions. ##
3312 ## ------------------- ##"
3313 echo
3314 for ac_var in $ac_subst_files
3316 eval ac_val=\$$ac_var
3317 case $ac_val in
3318 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3319 esac
3320 printf "%s\n" "$ac_var='\''$ac_val'\''"
3321 done | sort
3322 echo
3325 if test -s confdefs.h; then
3326 printf "%s\n" "## ----------- ##
3327 ## confdefs.h. ##
3328 ## ----------- ##"
3329 echo
3330 cat confdefs.h
3331 echo
3333 test "$ac_signal" != 0 &&
3334 printf "%s\n" "$as_me: caught signal $ac_signal"
3335 printf "%s\n" "$as_me: exit $exit_status"
3336 } >&5
3337 rm -f core *.core core.conftest.* &&
3338 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3339 exit $exit_status
3341 for ac_signal in 1 2 13 15; do
3342 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3343 done
3344 ac_signal=0
3346 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3347 rm -f -r conftest* confdefs.h
3349 printf "%s\n" "/* confdefs.h */" > confdefs.h
3351 # Predefined preprocessor variables.
3353 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3355 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3357 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3359 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3361 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3363 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3366 # Let the site file select an alternate cache file if it wants to.
3367 # Prefer an explicitly selected file to automatically selected ones.
3368 if test -n "$CONFIG_SITE"; then
3369 ac_site_files="$CONFIG_SITE"
3370 elif test "x$prefix" != xNONE; then
3371 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3372 else
3373 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3376 for ac_site_file in $ac_site_files
3378 case $ac_site_file in #(
3379 */*) :
3380 ;; #(
3381 *) :
3382 ac_site_file=./$ac_site_file ;;
3383 esac
3384 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3386 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3387 sed 's/^/| /' "$ac_site_file" >&5
3388 . "$ac_site_file" \
3389 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3390 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3391 as_fn_error $? "failed to load site script $ac_site_file
3392 See \`config.log' for more details" "$LINENO" 5; }
3394 done
3396 if test -r "$cache_file"; then
3397 # Some versions of bash will fail to source /dev/null (special files
3398 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3399 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3401 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3402 case $cache_file in
3403 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3404 *) . "./$cache_file";;
3405 esac
3407 else
3408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3409 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3410 >$cache_file
3413 # Test code for whether the C compiler supports C89 (global declarations)
3414 ac_c_conftest_c89_globals='
3415 /* Does the compiler advertise C89 conformance?
3416 Do not test the value of __STDC__, because some compilers set it to 0
3417 while being otherwise adequately conformant. */
3418 #if !defined __STDC__
3419 # error "Compiler does not advertise C89 conformance"
3420 #endif
3422 #include <stddef.h>
3423 #include <stdarg.h>
3424 struct stat;
3425 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3426 struct buf { int x; };
3427 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3428 static char *e (p, i)
3429 char **p;
3430 int i;
3432 return p[i];
3434 static char *f (char * (*g) (char **, int), char **p, ...)
3436 char *s;
3437 va_list v;
3438 va_start (v,p);
3439 s = g (p, va_arg (v,int));
3440 va_end (v);
3441 return s;
3444 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3445 function prototypes and stuff, but not \xHH hex character constants.
3446 These do not provoke an error unfortunately, instead are silently treated
3447 as an "x". The following induces an error, until -std is added to get
3448 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3449 array size at least. It is necessary to write \x00 == 0 to get something
3450 that is true only with -std. */
3451 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3453 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3454 inside strings and character constants. */
3455 #define FOO(x) '\''x'\''
3456 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3458 int test (int i, double x);
3459 struct s1 {int (*f) (int a);};
3460 struct s2 {int (*f) (double a);};
3461 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3462 int, int);'
3464 # Test code for whether the C compiler supports C89 (body of main).
3465 ac_c_conftest_c89_main='
3466 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3469 # Test code for whether the C compiler supports C99 (global declarations)
3470 ac_c_conftest_c99_globals='
3471 // Does the compiler advertise C99 conformance?
3472 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3473 # error "Compiler does not advertise C99 conformance"
3474 #endif
3476 #include <stdbool.h>
3477 extern int puts (const char *);
3478 extern int printf (const char *, ...);
3479 extern int dprintf (int, const char *, ...);
3480 extern void *malloc (size_t);
3482 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3483 // dprintf is used instead of fprintf to avoid needing to declare
3484 // FILE and stderr.
3485 #define debug(...) dprintf (2, __VA_ARGS__)
3486 #define showlist(...) puts (#__VA_ARGS__)
3487 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3488 static void
3489 test_varargs_macros (void)
3491 int x = 1234;
3492 int y = 5678;
3493 debug ("Flag");
3494 debug ("X = %d\n", x);
3495 showlist (The first, second, and third items.);
3496 report (x>y, "x is %d but y is %d", x, y);
3499 // Check long long types.
3500 #define BIG64 18446744073709551615ull
3501 #define BIG32 4294967295ul
3502 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3503 #if !BIG_OK
3504 #error "your preprocessor is broken"
3505 #endif
3506 #if BIG_OK
3507 #else
3508 #error "your preprocessor is broken"
3509 #endif
3510 static long long int bignum = -9223372036854775807LL;
3511 static unsigned long long int ubignum = BIG64;
3513 struct incomplete_array
3515 int datasize;
3516 double data[];
3519 struct named_init {
3520 int number;
3521 const wchar_t *name;
3522 double average;
3525 typedef const char *ccp;
3527 static inline int
3528 test_restrict (ccp restrict text)
3530 // See if C++-style comments work.
3531 // Iterate through items via the restricted pointer.
3532 // Also check for declarations in for loops.
3533 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3534 continue;
3535 return 0;
3538 // Check varargs and va_copy.
3539 static bool
3540 test_varargs (const char *format, ...)
3542 va_list args;
3543 va_start (args, format);
3544 va_list args_copy;
3545 va_copy (args_copy, args);
3547 const char *str = "";
3548 int number = 0;
3549 float fnumber = 0;
3551 while (*format)
3553 switch (*format++)
3555 case '\''s'\'': // string
3556 str = va_arg (args_copy, const char *);
3557 break;
3558 case '\''d'\'': // int
3559 number = va_arg (args_copy, int);
3560 break;
3561 case '\''f'\'': // float
3562 fnumber = va_arg (args_copy, double);
3563 break;
3564 default:
3565 break;
3568 va_end (args_copy);
3569 va_end (args);
3571 return *str && number && fnumber;
3575 # Test code for whether the C compiler supports C99 (body of main).
3576 ac_c_conftest_c99_main='
3577 // Check bool.
3578 _Bool success = false;
3579 success |= (argc != 0);
3581 // Check restrict.
3582 if (test_restrict ("String literal") == 0)
3583 success = true;
3584 char *restrict newvar = "Another string";
3586 // Check varargs.
3587 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3588 test_varargs_macros ();
3590 // Check flexible array members.
3591 struct incomplete_array *ia =
3592 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3593 ia->datasize = 10;
3594 for (int i = 0; i < ia->datasize; ++i)
3595 ia->data[i] = i * 1.234;
3597 // Check named initializers.
3598 struct named_init ni = {
3599 .number = 34,
3600 .name = L"Test wide string",
3601 .average = 543.34343,
3604 ni.number = 58;
3606 int dynamic_array[ni.number];
3607 dynamic_array[0] = argv[0][0];
3608 dynamic_array[ni.number - 1] = 543;
3610 // work around unused variable warnings
3611 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3612 || dynamic_array[ni.number - 1] != 543);
3615 # Test code for whether the C compiler supports C11 (global declarations)
3616 ac_c_conftest_c11_globals='
3617 // Does the compiler advertise C11 conformance?
3618 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3619 # error "Compiler does not advertise C11 conformance"
3620 #endif
3622 // Check _Alignas.
3623 char _Alignas (double) aligned_as_double;
3624 char _Alignas (0) no_special_alignment;
3625 extern char aligned_as_int;
3626 char _Alignas (0) _Alignas (int) aligned_as_int;
3628 // Check _Alignof.
3629 enum
3631 int_alignment = _Alignof (int),
3632 int_array_alignment = _Alignof (int[100]),
3633 char_alignment = _Alignof (char)
3635 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3637 // Check _Noreturn.
3638 int _Noreturn does_not_return (void) { for (;;) continue; }
3640 // Check _Static_assert.
3641 struct test_static_assert
3643 int x;
3644 _Static_assert (sizeof (int) <= sizeof (long int),
3645 "_Static_assert does not work in struct");
3646 long int y;
3649 // Check UTF-8 literals.
3650 #define u8 syntax error!
3651 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3653 // Check duplicate typedefs.
3654 typedef long *long_ptr;
3655 typedef long int *long_ptr;
3656 typedef long_ptr long_ptr;
3658 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3659 struct anonymous
3661 union {
3662 struct { int i; int j; };
3663 struct { int k; long int l; } w;
3665 int m;
3666 } v1;
3669 # Test code for whether the C compiler supports C11 (body of main).
3670 ac_c_conftest_c11_main='
3671 _Static_assert ((offsetof (struct anonymous, i)
3672 == offsetof (struct anonymous, w.k)),
3673 "Anonymous union alignment botch");
3674 v1.i = 2;
3675 v1.w.k = 5;
3676 ok |= v1.i != 5;
3679 # Test code for whether the C compiler supports C11 (complete).
3680 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3681 ${ac_c_conftest_c99_globals}
3682 ${ac_c_conftest_c11_globals}
3685 main (int argc, char **argv)
3687 int ok = 0;
3688 ${ac_c_conftest_c89_main}
3689 ${ac_c_conftest_c99_main}
3690 ${ac_c_conftest_c11_main}
3691 return ok;
3695 # Test code for whether the C compiler supports C99 (complete).
3696 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3697 ${ac_c_conftest_c99_globals}
3700 main (int argc, char **argv)
3702 int ok = 0;
3703 ${ac_c_conftest_c89_main}
3704 ${ac_c_conftest_c99_main}
3705 return ok;
3709 # Test code for whether the C compiler supports C89 (complete).
3710 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3713 main (int argc, char **argv)
3715 int ok = 0;
3716 ${ac_c_conftest_c89_main}
3717 return ok;
3721 # Test code for whether the C++ compiler supports C++98 (global declarations)
3722 ac_cxx_conftest_cxx98_globals='
3723 // Does the compiler advertise C++98 conformance?
3724 #if !defined __cplusplus || __cplusplus < 199711L
3725 # error "Compiler does not advertise C++98 conformance"
3726 #endif
3728 // These inclusions are to reject old compilers that
3729 // lack the unsuffixed header files.
3730 #include <cstdlib>
3731 #include <exception>
3733 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3734 extern void assert (int);
3735 namespace std {
3736 extern int strcmp (const char *, const char *);
3739 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3740 using std::exception;
3741 using std::strcmp;
3743 namespace {
3745 void test_exception_syntax()
3747 try {
3748 throw "test";
3749 } catch (const char *s) {
3750 // Extra parentheses suppress a warning when building autoconf itself,
3751 // due to lint rules shared with more typical C programs.
3752 assert (!(strcmp) (s, "test"));
3756 template <typename T> struct test_template
3758 T const val;
3759 explicit test_template(T t) : val(t) {}
3760 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3763 } // anonymous namespace
3766 # Test code for whether the C++ compiler supports C++98 (body of main)
3767 ac_cxx_conftest_cxx98_main='
3768 assert (argc);
3769 assert (! argv[0]);
3771 test_exception_syntax ();
3772 test_template<double> tt (2.0);
3773 assert (tt.add (4) == 6.0);
3774 assert (true && !false);
3778 # Test code for whether the C++ compiler supports C++11 (global declarations)
3779 ac_cxx_conftest_cxx11_globals='
3780 // Does the compiler advertise C++ 2011 conformance?
3781 #if !defined __cplusplus || __cplusplus < 201103L
3782 # error "Compiler does not advertise C++11 conformance"
3783 #endif
3785 namespace cxx11test
3787 constexpr int get_val() { return 20; }
3789 struct testinit
3791 int i;
3792 double d;
3795 class delegate
3797 public:
3798 delegate(int n) : n(n) {}
3799 delegate(): delegate(2354) {}
3801 virtual int getval() { return this->n; };
3802 protected:
3803 int n;
3806 class overridden : public delegate
3808 public:
3809 overridden(int n): delegate(n) {}
3810 virtual int getval() override final { return this->n * 2; }
3813 class nocopy
3815 public:
3816 nocopy(int i): i(i) {}
3817 nocopy() = default;
3818 nocopy(const nocopy&) = delete;
3819 nocopy & operator=(const nocopy&) = delete;
3820 private:
3821 int i;
3824 // for testing lambda expressions
3825 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3827 return f(v);
3830 // for testing variadic templates and trailing return types
3831 template <typename V> auto sum(V first) -> V
3833 return first;
3835 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3837 return first + sum(rest...);
3842 # Test code for whether the C++ compiler supports C++11 (body of main)
3843 ac_cxx_conftest_cxx11_main='
3845 // Test auto and decltype
3846 auto a1 = 6538;
3847 auto a2 = 48573953.4;
3848 auto a3 = "String literal";
3850 int total = 0;
3851 for (auto i = a3; *i; ++i) { total += *i; }
3853 decltype(a2) a4 = 34895.034;
3856 // Test constexpr
3857 short sa[cxx11test::get_val()] = { 0 };
3860 // Test initializer lists
3861 cxx11test::testinit il = { 4323, 435234.23544 };
3864 // Test range-based for
3865 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3866 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3867 for (auto &x : array) { x += 23; }
3870 // Test lambda expressions
3871 using cxx11test::eval;
3872 assert (eval ([](int x) { return x*2; }, 21) == 42);
3873 double d = 2.0;
3874 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3875 assert (d == 5.0);
3876 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3877 assert (d == 5.0);
3880 // Test use of variadic templates
3881 using cxx11test::sum;
3882 auto a = sum(1);
3883 auto b = sum(1, 2);
3884 auto c = sum(1.0, 2.0, 3.0);
3887 // Test constructor delegation
3888 cxx11test::delegate d1;
3889 cxx11test::delegate d2();
3890 cxx11test::delegate d3(45);
3893 // Test override and final
3894 cxx11test::overridden o1(55464);
3897 // Test nullptr
3898 char *c = nullptr;
3901 // Test template brackets
3902 test_template<::test_template<int>> v(test_template<int>(12));
3905 // Unicode literals
3906 char const *utf8 = u8"UTF-8 string \u2500";
3907 char16_t const *utf16 = u"UTF-8 string \u2500";
3908 char32_t const *utf32 = U"UTF-32 string \u2500";
3912 # Test code for whether the C compiler supports C++11 (complete).
3913 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3914 ${ac_cxx_conftest_cxx11_globals}
3917 main (int argc, char **argv)
3919 int ok = 0;
3920 ${ac_cxx_conftest_cxx98_main}
3921 ${ac_cxx_conftest_cxx11_main}
3922 return ok;
3926 # Test code for whether the C compiler supports C++98 (complete).
3927 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3929 main (int argc, char **argv)
3931 int ok = 0;
3932 ${ac_cxx_conftest_cxx98_main}
3933 return ok;
3937 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3938 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3939 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3940 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3941 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3942 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3943 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3944 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3945 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3947 # Auxiliary files required by this configure script.
3948 ac_aux_files="config.guess config.sub"
3950 # Locations in which to look for auxiliary files.
3951 ac_aux_dir_candidates="${srcdir}/tools"
3953 # Search for a directory containing all of the required auxiliary files,
3954 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3955 # If we don't find one directory that contains all the files we need,
3956 # we report the set of missing files from the *first* directory in
3957 # $ac_aux_dir_candidates and give up.
3958 ac_missing_aux_files=""
3959 ac_first_candidate=:
3960 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3962 as_found=false
3963 for as_dir in $ac_aux_dir_candidates
3965 IFS=$as_save_IFS
3966 case $as_dir in #(((
3967 '') as_dir=./ ;;
3968 */) ;;
3969 *) as_dir=$as_dir/ ;;
3970 esac
3971 as_found=:
3973 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3974 ac_aux_dir_found=yes
3975 ac_install_sh=
3976 for ac_aux in $ac_aux_files
3978 # As a special case, if "install-sh" is required, that requirement
3979 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3980 # and $ac_install_sh is set appropriately for whichever one is found.
3981 if test x"$ac_aux" = x"install-sh"
3982 then
3983 if test -f "${as_dir}install-sh"; then
3984 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3985 ac_install_sh="${as_dir}install-sh -c"
3986 elif test -f "${as_dir}install.sh"; then
3987 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3988 ac_install_sh="${as_dir}install.sh -c"
3989 elif test -f "${as_dir}shtool"; then
3990 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3991 ac_install_sh="${as_dir}shtool install -c"
3992 else
3993 ac_aux_dir_found=no
3994 if $ac_first_candidate; then
3995 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3996 else
3997 break
4000 else
4001 if test -f "${as_dir}${ac_aux}"; then
4002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4003 else
4004 ac_aux_dir_found=no
4005 if $ac_first_candidate; then
4006 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4007 else
4008 break
4012 done
4013 if test "$ac_aux_dir_found" = yes; then
4014 ac_aux_dir="$as_dir"
4015 break
4017 ac_first_candidate=false
4019 as_found=false
4020 done
4021 IFS=$as_save_IFS
4022 if $as_found
4023 then :
4025 else $as_nop
4026 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4030 # These three variables are undocumented and unsupported,
4031 # and are intended to be withdrawn in a future Autoconf release.
4032 # They can cause serious problems if a builder's source tree is in a directory
4033 # whose full name contains unusual characters.
4034 if test -f "${ac_aux_dir}config.guess"; then
4035 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4037 if test -f "${ac_aux_dir}config.sub"; then
4038 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4040 if test -f "$ac_aux_dir/configure"; then
4041 ac_configure="$SHELL ${ac_aux_dir}configure"
4044 # Check that the precious variables saved in the cache have kept the same
4045 # value.
4046 ac_cache_corrupted=false
4047 for ac_var in $ac_precious_vars; do
4048 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4049 eval ac_new_set=\$ac_env_${ac_var}_set
4050 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4051 eval ac_new_val=\$ac_env_${ac_var}_value
4052 case $ac_old_set,$ac_new_set in
4053 set,)
4054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4055 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4056 ac_cache_corrupted=: ;;
4057 ,set)
4058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4059 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4060 ac_cache_corrupted=: ;;
4061 ,);;
4063 if test "x$ac_old_val" != "x$ac_new_val"; then
4064 # differences in whitespace do not lead to failure.
4065 ac_old_val_w=`echo x $ac_old_val`
4066 ac_new_val_w=`echo x $ac_new_val`
4067 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4069 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4070 ac_cache_corrupted=:
4071 else
4072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4073 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4074 eval $ac_var=\$ac_old_val
4076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4077 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4079 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4080 fi;;
4081 esac
4082 # Pass precious variables to config.status.
4083 if test "$ac_new_set" = set; then
4084 case $ac_new_val in
4085 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4086 *) ac_arg=$ac_var=$ac_new_val ;;
4087 esac
4088 case " $ac_configure_args " in
4089 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4090 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4091 esac
4093 done
4094 if $ac_cache_corrupted; then
4095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4096 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4098 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4099 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4100 and start over" "$LINENO" 5
4102 ## -------------------- ##
4103 ## Main body of script. ##
4104 ## -------------------- ##
4106 ac_ext=c
4107 ac_cpp='$CPP $CPPFLAGS'
4108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4114 ac_config_headers="$ac_config_headers include/config.h"
4118 libwine_version="1.0"
4121 # Check whether --enable-archs was given.
4122 if test ${enable_archs+y}
4123 then :
4124 enableval=$enable_archs;
4127 # Check whether --enable-win16 was given.
4128 if test ${enable_win16+y}
4129 then :
4130 enableval=$enable_win16;
4133 # Check whether --enable-win64 was given.
4134 if test ${enable_win64+y}
4135 then :
4136 enableval=$enable_win64;
4139 # Check whether --enable-tests was given.
4140 if test ${enable_tests+y}
4141 then :
4142 enableval=$enable_tests;
4145 # Check whether --enable-build-id was given.
4146 if test ${enable_build_id+y}
4147 then :
4148 enableval=$enable_build_id;
4151 # Check whether --enable-maintainer-mode was given.
4152 if test ${enable_maintainer_mode+y}
4153 then :
4154 enableval=$enable_maintainer_mode;
4157 # Check whether --enable-silent-rules was given.
4158 if test ${enable_silent_rules+y}
4159 then :
4160 enableval=$enable_silent_rules;
4163 # Check whether --enable-werror was given.
4164 if test ${enable_werror+y}
4165 then :
4166 enableval=$enable_werror;
4171 # Check whether --with-alsa was given.
4172 if test ${with_alsa+y}
4173 then :
4174 withval=$with_alsa;
4178 # Check whether --with-capi was given.
4179 if test ${with_capi+y}
4180 then :
4181 withval=$with_capi;
4185 # Check whether --with-coreaudio was given.
4186 if test ${with_coreaudio+y}
4187 then :
4188 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4192 # Check whether --with-cups was given.
4193 if test ${with_cups+y}
4194 then :
4195 withval=$with_cups;
4199 # Check whether --with-dbus was given.
4200 if test ${with_dbus+y}
4201 then :
4202 withval=$with_dbus;
4206 # Check whether --with-float-abi was given.
4207 if test ${with_float_abi+y}
4208 then :
4209 withval=$with_float_abi;
4213 # Check whether --with-fontconfig was given.
4214 if test ${with_fontconfig+y}
4215 then :
4216 withval=$with_fontconfig;
4220 # Check whether --with-freetype was given.
4221 if test ${with_freetype+y}
4222 then :
4223 withval=$with_freetype;
4227 # Check whether --with-gettext was given.
4228 if test ${with_gettext+y}
4229 then :
4230 withval=$with_gettext;
4234 # Check whether --with-gettextpo was given.
4235 if test ${with_gettextpo+y}
4236 then :
4237 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4241 # Check whether --with-gphoto was given.
4242 if test ${with_gphoto+y}
4243 then :
4244 withval=$with_gphoto;
4248 # Check whether --with-gnutls was given.
4249 if test ${with_gnutls+y}
4250 then :
4251 withval=$with_gnutls;
4255 # Check whether --with-gssapi was given.
4256 if test ${with_gssapi+y}
4257 then :
4258 withval=$with_gssapi;
4262 # Check whether --with-gstreamer was given.
4263 if test ${with_gstreamer+y}
4264 then :
4265 withval=$with_gstreamer;
4269 # Check whether --with-inotify was given.
4270 if test ${with_inotify+y}
4271 then :
4272 withval=$with_inotify;
4276 # Check whether --with-krb5 was given.
4277 if test ${with_krb5+y}
4278 then :
4279 withval=$with_krb5;
4283 # Check whether --with-ldap was given.
4284 if test ${with_ldap+y}
4285 then :
4286 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4290 # Check whether --with-mingw was given.
4291 if test ${with_mingw+y}
4292 then :
4293 withval=$with_mingw;
4297 # Check whether --with-netapi was given.
4298 if test ${with_netapi+y}
4299 then :
4300 withval=$with_netapi;
4304 # Check whether --with-opencl was given.
4305 if test ${with_opencl+y}
4306 then :
4307 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4311 # Check whether --with-opengl was given.
4312 if test ${with_opengl+y}
4313 then :
4314 withval=$with_opengl;
4318 # Check whether --with-osmesa was given.
4319 if test ${with_osmesa+y}
4320 then :
4321 withval=$with_osmesa;
4325 # Check whether --with-oss was given.
4326 if test ${with_oss+y}
4327 then :
4328 withval=$with_oss;
4332 # Check whether --with-pcap was given.
4333 if test ${with_pcap+y}
4334 then :
4335 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4339 # Check whether --with-pthread was given.
4340 if test ${with_pthread+y}
4341 then :
4342 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4346 # Check whether --with-pulse was given.
4347 if test ${with_pulse+y}
4348 then :
4349 withval=$with_pulse;
4353 # Check whether --with-sane was given.
4354 if test ${with_sane+y}
4355 then :
4356 withval=$with_sane;
4360 # Check whether --with-sdl was given.
4361 if test ${with_sdl+y}
4362 then :
4363 withval=$with_sdl;
4367 # Check whether --with-udev was given.
4368 if test ${with_udev+y}
4369 then :
4370 withval=$with_udev;
4374 # Check whether --with-unwind was given.
4375 if test ${with_unwind+y}
4376 then :
4377 withval=$with_unwind;
4381 # Check whether --with-usb was given.
4382 if test ${with_usb+y}
4383 then :
4384 withval=$with_usb;
4388 # Check whether --with-v4l2 was given.
4389 if test ${with_v4l2+y}
4390 then :
4391 withval=$with_v4l2;
4395 # Check whether --with-vulkan was given.
4396 if test ${with_vulkan+y}
4397 then :
4398 withval=$with_vulkan;
4402 # Check whether --with-xcomposite was given.
4403 if test ${with_xcomposite+y}
4404 then :
4405 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4409 # Check whether --with-xcursor was given.
4410 if test ${with_xcursor+y}
4411 then :
4412 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4416 # Check whether --with-xfixes was given.
4417 if test ${with_xfixes+y}
4418 then :
4419 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4423 # Check whether --with-xinerama was given.
4424 if test ${with_xinerama+y}
4425 then :
4426 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4430 # Check whether --with-xinput was given.
4431 if test ${with_xinput+y}
4432 then :
4433 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4437 # Check whether --with-xinput2 was given.
4438 if test ${with_xinput2+y}
4439 then :
4440 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4444 # Check whether --with-xrandr was given.
4445 if test ${with_xrandr+y}
4446 then :
4447 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4451 # Check whether --with-xrender was given.
4452 if test ${with_xrender+y}
4453 then :
4454 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4458 # Check whether --with-xshape was given.
4459 if test ${with_xshape+y}
4460 then :
4461 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4465 # Check whether --with-xshm was given.
4466 if test ${with_xshm+y}
4467 then :
4468 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4472 # Check whether --with-xxf86vm was given.
4473 if test ${with_xxf86vm+y}
4474 then :
4475 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
4480 # Check whether --with-system-dllpath was given.
4481 if test ${with_system_dllpath+y}
4482 then :
4483 withval=$with_system_dllpath; system_dllpath=$withval
4488 # Check whether --with-wine-tools was given.
4489 if test ${with_wine_tools+y}
4490 then :
4491 withval=$with_wine_tools;
4495 # Check whether --with-wine64 was given.
4496 if test ${with_wine64+y}
4497 then :
4498 withval=$with_wine64;
4505 # Make sure we can run config.sub.
4506 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4507 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4510 printf %s "checking build system type... " >&6; }
4511 if test ${ac_cv_build+y}
4512 then :
4513 printf %s "(cached) " >&6
4514 else $as_nop
4515 ac_build_alias=$build_alias
4516 test "x$ac_build_alias" = x &&
4517 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4518 test "x$ac_build_alias" = x &&
4519 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4520 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4521 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4525 printf "%s\n" "$ac_cv_build" >&6; }
4526 case $ac_cv_build in
4527 *-*-*) ;;
4528 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4529 esac
4530 build=$ac_cv_build
4531 ac_save_IFS=$IFS; IFS='-'
4532 set x $ac_cv_build
4533 shift
4534 build_cpu=$1
4535 build_vendor=$2
4536 shift; shift
4537 # Remember, the first character of IFS is used to create $*,
4538 # except with old shells:
4539 build_os=$*
4540 IFS=$ac_save_IFS
4541 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4545 printf %s "checking host system type... " >&6; }
4546 if test ${ac_cv_host+y}
4547 then :
4548 printf %s "(cached) " >&6
4549 else $as_nop
4550 if test "x$host_alias" = x; then
4551 ac_cv_host=$ac_cv_build
4552 else
4553 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4554 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4559 printf "%s\n" "$ac_cv_host" >&6; }
4560 case $ac_cv_host in
4561 *-*-*) ;;
4562 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4563 esac
4564 host=$ac_cv_host
4565 ac_save_IFS=$IFS; IFS='-'
4566 set x $ac_cv_host
4567 shift
4568 host_cpu=$1
4569 host_vendor=$2
4570 shift; shift
4571 # Remember, the first character of IFS is used to create $*,
4572 # except with old shells:
4573 host_os=$*
4574 IFS=$ac_save_IFS
4575 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4579 dlldir=\${libdir}/wine
4581 fontdir=\${datadir}/wine/fonts
4583 nlsdir=\${datadir}/wine/nls
4588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4589 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4590 set x ${MAKE-make}
4591 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4592 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4593 then :
4594 printf %s "(cached) " >&6
4595 else $as_nop
4596 cat >conftest.make <<\_ACEOF
4597 SHELL = /bin/sh
4598 all:
4599 @echo '@@@%%%=$(MAKE)=@@@%%%'
4600 _ACEOF
4601 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4602 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4603 *@@@%%%=?*=@@@%%%*)
4604 eval ac_cv_prog_make_${ac_make}_set=yes;;
4606 eval ac_cv_prog_make_${ac_make}_set=no;;
4607 esac
4608 rm -f conftest.make
4610 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4612 printf "%s\n" "yes" >&6; }
4613 SET_MAKE=
4614 else
4615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4616 printf "%s\n" "no" >&6; }
4617 SET_MAKE="MAKE=${MAKE-make}"
4629 ac_ext=c
4630 ac_cpp='$CPP $CPPFLAGS'
4631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4634 if test -n "$ac_tool_prefix"; then
4635 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4636 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4638 printf %s "checking for $ac_word... " >&6; }
4639 if test ${ac_cv_prog_CC+y}
4640 then :
4641 printf %s "(cached) " >&6
4642 else $as_nop
4643 if test -n "$CC"; then
4644 ac_cv_prog_CC="$CC" # Let the user override the test.
4645 else
4646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4647 for as_dir in $PATH
4649 IFS=$as_save_IFS
4650 case $as_dir in #(((
4651 '') as_dir=./ ;;
4652 */) ;;
4653 *) as_dir=$as_dir/ ;;
4654 esac
4655 for ac_exec_ext in '' $ac_executable_extensions; do
4656 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4657 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4658 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4659 break 2
4661 done
4662 done
4663 IFS=$as_save_IFS
4667 CC=$ac_cv_prog_CC
4668 if test -n "$CC"; then
4669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4670 printf "%s\n" "$CC" >&6; }
4671 else
4672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4673 printf "%s\n" "no" >&6; }
4678 if test -z "$ac_cv_prog_CC"; then
4679 ac_ct_CC=$CC
4680 # Extract the first word of "gcc", so it can be a program name with args.
4681 set dummy gcc; ac_word=$2
4682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4683 printf %s "checking for $ac_word... " >&6; }
4684 if test ${ac_cv_prog_ac_ct_CC+y}
4685 then :
4686 printf %s "(cached) " >&6
4687 else $as_nop
4688 if test -n "$ac_ct_CC"; then
4689 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4690 else
4691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4692 for as_dir in $PATH
4694 IFS=$as_save_IFS
4695 case $as_dir in #(((
4696 '') as_dir=./ ;;
4697 */) ;;
4698 *) as_dir=$as_dir/ ;;
4699 esac
4700 for ac_exec_ext in '' $ac_executable_extensions; do
4701 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4702 ac_cv_prog_ac_ct_CC="gcc"
4703 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4704 break 2
4706 done
4707 done
4708 IFS=$as_save_IFS
4712 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4713 if test -n "$ac_ct_CC"; then
4714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4715 printf "%s\n" "$ac_ct_CC" >&6; }
4716 else
4717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4718 printf "%s\n" "no" >&6; }
4721 if test "x$ac_ct_CC" = x; then
4722 CC=""
4723 else
4724 case $cross_compiling:$ac_tool_warned in
4725 yes:)
4726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4727 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4728 ac_tool_warned=yes ;;
4729 esac
4730 CC=$ac_ct_CC
4732 else
4733 CC="$ac_cv_prog_CC"
4736 if test -z "$CC"; then
4737 if test -n "$ac_tool_prefix"; then
4738 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4739 set dummy ${ac_tool_prefix}cc; ac_word=$2
4740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4741 printf %s "checking for $ac_word... " >&6; }
4742 if test ${ac_cv_prog_CC+y}
4743 then :
4744 printf %s "(cached) " >&6
4745 else $as_nop
4746 if test -n "$CC"; then
4747 ac_cv_prog_CC="$CC" # Let the user override the test.
4748 else
4749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4750 for as_dir in $PATH
4752 IFS=$as_save_IFS
4753 case $as_dir in #(((
4754 '') as_dir=./ ;;
4755 */) ;;
4756 *) as_dir=$as_dir/ ;;
4757 esac
4758 for ac_exec_ext in '' $ac_executable_extensions; do
4759 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4760 ac_cv_prog_CC="${ac_tool_prefix}cc"
4761 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4762 break 2
4764 done
4765 done
4766 IFS=$as_save_IFS
4770 CC=$ac_cv_prog_CC
4771 if test -n "$CC"; then
4772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4773 printf "%s\n" "$CC" >&6; }
4774 else
4775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4776 printf "%s\n" "no" >&6; }
4782 if test -z "$CC"; then
4783 # Extract the first word of "cc", so it can be a program name with args.
4784 set dummy cc; ac_word=$2
4785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4786 printf %s "checking for $ac_word... " >&6; }
4787 if test ${ac_cv_prog_CC+y}
4788 then :
4789 printf %s "(cached) " >&6
4790 else $as_nop
4791 if test -n "$CC"; then
4792 ac_cv_prog_CC="$CC" # Let the user override the test.
4793 else
4794 ac_prog_rejected=no
4795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4796 for as_dir in $PATH
4798 IFS=$as_save_IFS
4799 case $as_dir in #(((
4800 '') as_dir=./ ;;
4801 */) ;;
4802 *) as_dir=$as_dir/ ;;
4803 esac
4804 for ac_exec_ext in '' $ac_executable_extensions; do
4805 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4806 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4807 ac_prog_rejected=yes
4808 continue
4810 ac_cv_prog_CC="cc"
4811 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4812 break 2
4814 done
4815 done
4816 IFS=$as_save_IFS
4818 if test $ac_prog_rejected = yes; then
4819 # We found a bogon in the path, so make sure we never use it.
4820 set dummy $ac_cv_prog_CC
4821 shift
4822 if test $# != 0; then
4823 # We chose a different compiler from the bogus one.
4824 # However, it has the same basename, so the bogon will be chosen
4825 # first if we set CC to just the basename; use the full file name.
4826 shift
4827 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4832 CC=$ac_cv_prog_CC
4833 if test -n "$CC"; then
4834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4835 printf "%s\n" "$CC" >&6; }
4836 else
4837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4838 printf "%s\n" "no" >&6; }
4843 if test -z "$CC"; then
4844 if test -n "$ac_tool_prefix"; then
4845 for ac_prog in cl.exe
4847 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4848 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4850 printf %s "checking for $ac_word... " >&6; }
4851 if test ${ac_cv_prog_CC+y}
4852 then :
4853 printf %s "(cached) " >&6
4854 else $as_nop
4855 if test -n "$CC"; then
4856 ac_cv_prog_CC="$CC" # Let the user override the test.
4857 else
4858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4859 for as_dir in $PATH
4861 IFS=$as_save_IFS
4862 case $as_dir in #(((
4863 '') as_dir=./ ;;
4864 */) ;;
4865 *) as_dir=$as_dir/ ;;
4866 esac
4867 for ac_exec_ext in '' $ac_executable_extensions; do
4868 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4869 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4870 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4871 break 2
4873 done
4874 done
4875 IFS=$as_save_IFS
4879 CC=$ac_cv_prog_CC
4880 if test -n "$CC"; then
4881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4882 printf "%s\n" "$CC" >&6; }
4883 else
4884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4885 printf "%s\n" "no" >&6; }
4889 test -n "$CC" && break
4890 done
4892 if test -z "$CC"; then
4893 ac_ct_CC=$CC
4894 for ac_prog in cl.exe
4896 # Extract the first word of "$ac_prog", so it can be a program name with args.
4897 set dummy $ac_prog; ac_word=$2
4898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4899 printf %s "checking for $ac_word... " >&6; }
4900 if test ${ac_cv_prog_ac_ct_CC+y}
4901 then :
4902 printf %s "(cached) " >&6
4903 else $as_nop
4904 if test -n "$ac_ct_CC"; then
4905 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4906 else
4907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4908 for as_dir in $PATH
4910 IFS=$as_save_IFS
4911 case $as_dir in #(((
4912 '') as_dir=./ ;;
4913 */) ;;
4914 *) as_dir=$as_dir/ ;;
4915 esac
4916 for ac_exec_ext in '' $ac_executable_extensions; do
4917 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4918 ac_cv_prog_ac_ct_CC="$ac_prog"
4919 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4920 break 2
4922 done
4923 done
4924 IFS=$as_save_IFS
4928 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4929 if test -n "$ac_ct_CC"; then
4930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4931 printf "%s\n" "$ac_ct_CC" >&6; }
4932 else
4933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4934 printf "%s\n" "no" >&6; }
4938 test -n "$ac_ct_CC" && break
4939 done
4941 if test "x$ac_ct_CC" = x; then
4942 CC=""
4943 else
4944 case $cross_compiling:$ac_tool_warned in
4945 yes:)
4946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4947 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4948 ac_tool_warned=yes ;;
4949 esac
4950 CC=$ac_ct_CC
4955 if test -z "$CC"; then
4956 if test -n "$ac_tool_prefix"; then
4957 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4958 set dummy ${ac_tool_prefix}clang; ac_word=$2
4959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4960 printf %s "checking for $ac_word... " >&6; }
4961 if test ${ac_cv_prog_CC+y}
4962 then :
4963 printf %s "(cached) " >&6
4964 else $as_nop
4965 if test -n "$CC"; then
4966 ac_cv_prog_CC="$CC" # Let the user override the test.
4967 else
4968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4969 for as_dir in $PATH
4971 IFS=$as_save_IFS
4972 case $as_dir in #(((
4973 '') as_dir=./ ;;
4974 */) ;;
4975 *) as_dir=$as_dir/ ;;
4976 esac
4977 for ac_exec_ext in '' $ac_executable_extensions; do
4978 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4979 ac_cv_prog_CC="${ac_tool_prefix}clang"
4980 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4981 break 2
4983 done
4984 done
4985 IFS=$as_save_IFS
4989 CC=$ac_cv_prog_CC
4990 if test -n "$CC"; then
4991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4992 printf "%s\n" "$CC" >&6; }
4993 else
4994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4995 printf "%s\n" "no" >&6; }
5000 if test -z "$ac_cv_prog_CC"; then
5001 ac_ct_CC=$CC
5002 # Extract the first word of "clang", so it can be a program name with args.
5003 set dummy clang; ac_word=$2
5004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5005 printf %s "checking for $ac_word... " >&6; }
5006 if test ${ac_cv_prog_ac_ct_CC+y}
5007 then :
5008 printf %s "(cached) " >&6
5009 else $as_nop
5010 if test -n "$ac_ct_CC"; then
5011 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5012 else
5013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5014 for as_dir in $PATH
5016 IFS=$as_save_IFS
5017 case $as_dir in #(((
5018 '') as_dir=./ ;;
5019 */) ;;
5020 *) as_dir=$as_dir/ ;;
5021 esac
5022 for ac_exec_ext in '' $ac_executable_extensions; do
5023 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5024 ac_cv_prog_ac_ct_CC="clang"
5025 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5026 break 2
5028 done
5029 done
5030 IFS=$as_save_IFS
5034 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5035 if test -n "$ac_ct_CC"; then
5036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5037 printf "%s\n" "$ac_ct_CC" >&6; }
5038 else
5039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5040 printf "%s\n" "no" >&6; }
5043 if test "x$ac_ct_CC" = x; then
5044 CC=""
5045 else
5046 case $cross_compiling:$ac_tool_warned in
5047 yes:)
5048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5049 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5050 ac_tool_warned=yes ;;
5051 esac
5052 CC=$ac_ct_CC
5054 else
5055 CC="$ac_cv_prog_CC"
5061 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5062 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5063 as_fn_error $? "no acceptable C compiler found in \$PATH
5064 See \`config.log' for more details" "$LINENO" 5; }
5066 # Provide some information about the compiler.
5067 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5068 set X $ac_compile
5069 ac_compiler=$2
5070 for ac_option in --version -v -V -qversion -version; do
5071 { { ac_try="$ac_compiler $ac_option >&5"
5072 case "(($ac_try" in
5073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5074 *) ac_try_echo=$ac_try;;
5075 esac
5076 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5077 printf "%s\n" "$ac_try_echo"; } >&5
5078 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5079 ac_status=$?
5080 if test -s conftest.err; then
5081 sed '10a\
5082 ... rest of stderr output deleted ...
5083 10q' conftest.err >conftest.er1
5084 cat conftest.er1 >&5
5086 rm -f conftest.er1 conftest.err
5087 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5088 test $ac_status = 0; }
5089 done
5091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5092 /* end confdefs.h. */
5095 main (void)
5099 return 0;
5101 _ACEOF
5102 ac_clean_files_save=$ac_clean_files
5103 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5104 # Try to create an executable without -o first, disregard a.out.
5105 # It will help us diagnose broken compilers, and finding out an intuition
5106 # of exeext.
5107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5108 printf %s "checking whether the C compiler works... " >&6; }
5109 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5111 # The possible output files:
5112 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5114 ac_rmfiles=
5115 for ac_file in $ac_files
5117 case $ac_file in
5118 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5119 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5120 esac
5121 done
5122 rm -f $ac_rmfiles
5124 if { { ac_try="$ac_link_default"
5125 case "(($ac_try" in
5126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5127 *) ac_try_echo=$ac_try;;
5128 esac
5129 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5130 printf "%s\n" "$ac_try_echo"; } >&5
5131 (eval "$ac_link_default") 2>&5
5132 ac_status=$?
5133 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5134 test $ac_status = 0; }
5135 then :
5136 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5137 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5138 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5139 # so that the user can short-circuit this test for compilers unknown to
5140 # Autoconf.
5141 for ac_file in $ac_files ''
5143 test -f "$ac_file" || continue
5144 case $ac_file in
5145 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5147 [ab].out )
5148 # We found the default executable, but exeext='' is most
5149 # certainly right.
5150 break;;
5151 *.* )
5152 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5153 then :; else
5154 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5156 # We set ac_cv_exeext here because the later test for it is not
5157 # safe: cross compilers may not add the suffix if given an `-o'
5158 # argument, so we may need to know it at that point already.
5159 # Even if this section looks crufty: it has the advantage of
5160 # actually working.
5161 break;;
5163 break;;
5164 esac
5165 done
5166 test "$ac_cv_exeext" = no && ac_cv_exeext=
5168 else $as_nop
5169 ac_file=''
5171 if test -z "$ac_file"
5172 then :
5173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5174 printf "%s\n" "no" >&6; }
5175 printf "%s\n" "$as_me: failed program was:" >&5
5176 sed 's/^/| /' conftest.$ac_ext >&5
5178 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5179 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5180 as_fn_error 77 "C compiler cannot create executables
5181 See \`config.log' for more details" "$LINENO" 5; }
5182 else $as_nop
5183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5184 printf "%s\n" "yes" >&6; }
5186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5187 printf %s "checking for C compiler default output file name... " >&6; }
5188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5189 printf "%s\n" "$ac_file" >&6; }
5190 ac_exeext=$ac_cv_exeext
5192 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5193 ac_clean_files=$ac_clean_files_save
5194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5195 printf %s "checking for suffix of executables... " >&6; }
5196 if { { ac_try="$ac_link"
5197 case "(($ac_try" in
5198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5199 *) ac_try_echo=$ac_try;;
5200 esac
5201 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5202 printf "%s\n" "$ac_try_echo"; } >&5
5203 (eval "$ac_link") 2>&5
5204 ac_status=$?
5205 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5206 test $ac_status = 0; }
5207 then :
5208 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5209 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5210 # work properly (i.e., refer to `conftest.exe'), while it won't with
5211 # `rm'.
5212 for ac_file in conftest.exe conftest conftest.*; do
5213 test -f "$ac_file" || continue
5214 case $ac_file in
5215 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5216 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5217 break;;
5218 * ) break;;
5219 esac
5220 done
5221 else $as_nop
5222 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5223 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5224 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5225 See \`config.log' for more details" "$LINENO" 5; }
5227 rm -f conftest conftest$ac_cv_exeext
5228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5229 printf "%s\n" "$ac_cv_exeext" >&6; }
5231 rm -f conftest.$ac_ext
5232 EXEEXT=$ac_cv_exeext
5233 ac_exeext=$EXEEXT
5234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5235 /* end confdefs.h. */
5236 #include <stdio.h>
5238 main (void)
5240 FILE *f = fopen ("conftest.out", "w");
5241 return ferror (f) || fclose (f) != 0;
5244 return 0;
5246 _ACEOF
5247 ac_clean_files="$ac_clean_files conftest.out"
5248 # Check that the compiler produces executables we can run. If not, either
5249 # the compiler is broken, or we cross compile.
5250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5251 printf %s "checking whether we are cross compiling... " >&6; }
5252 if test "$cross_compiling" != yes; then
5253 { { ac_try="$ac_link"
5254 case "(($ac_try" in
5255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5256 *) ac_try_echo=$ac_try;;
5257 esac
5258 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5259 printf "%s\n" "$ac_try_echo"; } >&5
5260 (eval "$ac_link") 2>&5
5261 ac_status=$?
5262 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5263 test $ac_status = 0; }
5264 if { ac_try='./conftest$ac_cv_exeext'
5265 { { case "(($ac_try" in
5266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5267 *) ac_try_echo=$ac_try;;
5268 esac
5269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5270 printf "%s\n" "$ac_try_echo"; } >&5
5271 (eval "$ac_try") 2>&5
5272 ac_status=$?
5273 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5274 test $ac_status = 0; }; }; then
5275 cross_compiling=no
5276 else
5277 if test "$cross_compiling" = maybe; then
5278 cross_compiling=yes
5279 else
5280 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5281 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5282 as_fn_error 77 "cannot run C compiled programs.
5283 If you meant to cross compile, use \`--host'.
5284 See \`config.log' for more details" "$LINENO" 5; }
5288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5289 printf "%s\n" "$cross_compiling" >&6; }
5291 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5292 ac_clean_files=$ac_clean_files_save
5293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5294 printf %s "checking for suffix of object files... " >&6; }
5295 if test ${ac_cv_objext+y}
5296 then :
5297 printf %s "(cached) " >&6
5298 else $as_nop
5299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5300 /* end confdefs.h. */
5303 main (void)
5307 return 0;
5309 _ACEOF
5310 rm -f conftest.o conftest.obj
5311 if { { ac_try="$ac_compile"
5312 case "(($ac_try" in
5313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5314 *) ac_try_echo=$ac_try;;
5315 esac
5316 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5317 printf "%s\n" "$ac_try_echo"; } >&5
5318 (eval "$ac_compile") 2>&5
5319 ac_status=$?
5320 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5321 test $ac_status = 0; }
5322 then :
5323 for ac_file in conftest.o conftest.obj conftest.*; do
5324 test -f "$ac_file" || continue;
5325 case $ac_file in
5326 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5327 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5328 break;;
5329 esac
5330 done
5331 else $as_nop
5332 printf "%s\n" "$as_me: failed program was:" >&5
5333 sed 's/^/| /' conftest.$ac_ext >&5
5335 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5336 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5337 as_fn_error $? "cannot compute suffix of object files: cannot compile
5338 See \`config.log' for more details" "$LINENO" 5; }
5340 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5343 printf "%s\n" "$ac_cv_objext" >&6; }
5344 OBJEXT=$ac_cv_objext
5345 ac_objext=$OBJEXT
5346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5347 printf %s "checking whether the compiler supports GNU C... " >&6; }
5348 if test ${ac_cv_c_compiler_gnu+y}
5349 then :
5350 printf %s "(cached) " >&6
5351 else $as_nop
5352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5353 /* end confdefs.h. */
5356 main (void)
5358 #ifndef __GNUC__
5359 choke me
5360 #endif
5363 return 0;
5365 _ACEOF
5366 if ac_fn_c_try_compile "$LINENO"
5367 then :
5368 ac_compiler_gnu=yes
5369 else $as_nop
5370 ac_compiler_gnu=no
5372 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5373 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5377 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5380 if test $ac_compiler_gnu = yes; then
5381 GCC=yes
5382 else
5383 GCC=
5385 ac_test_CFLAGS=${CFLAGS+y}
5386 ac_save_CFLAGS=$CFLAGS
5387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5388 printf %s "checking whether $CC accepts -g... " >&6; }
5389 if test ${ac_cv_prog_cc_g+y}
5390 then :
5391 printf %s "(cached) " >&6
5392 else $as_nop
5393 ac_save_c_werror_flag=$ac_c_werror_flag
5394 ac_c_werror_flag=yes
5395 ac_cv_prog_cc_g=no
5396 CFLAGS="-g"
5397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5398 /* end confdefs.h. */
5401 main (void)
5405 return 0;
5407 _ACEOF
5408 if ac_fn_c_try_compile "$LINENO"
5409 then :
5410 ac_cv_prog_cc_g=yes
5411 else $as_nop
5412 CFLAGS=""
5413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5414 /* end confdefs.h. */
5417 main (void)
5421 return 0;
5423 _ACEOF
5424 if ac_fn_c_try_compile "$LINENO"
5425 then :
5427 else $as_nop
5428 ac_c_werror_flag=$ac_save_c_werror_flag
5429 CFLAGS="-g"
5430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5431 /* end confdefs.h. */
5434 main (void)
5438 return 0;
5440 _ACEOF
5441 if ac_fn_c_try_compile "$LINENO"
5442 then :
5443 ac_cv_prog_cc_g=yes
5445 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5447 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5449 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5450 ac_c_werror_flag=$ac_save_c_werror_flag
5452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5453 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5454 if test $ac_test_CFLAGS; then
5455 CFLAGS=$ac_save_CFLAGS
5456 elif test $ac_cv_prog_cc_g = yes; then
5457 if test "$GCC" = yes; then
5458 CFLAGS="-g -O2"
5459 else
5460 CFLAGS="-g"
5462 else
5463 if test "$GCC" = yes; then
5464 CFLAGS="-O2"
5465 else
5466 CFLAGS=
5469 ac_prog_cc_stdc=no
5470 if test x$ac_prog_cc_stdc = xno
5471 then :
5472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5473 printf %s "checking for $CC option to enable C11 features... " >&6; }
5474 if test ${ac_cv_prog_cc_c11+y}
5475 then :
5476 printf %s "(cached) " >&6
5477 else $as_nop
5478 ac_cv_prog_cc_c11=no
5479 ac_save_CC=$CC
5480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5481 /* end confdefs.h. */
5482 $ac_c_conftest_c11_program
5483 _ACEOF
5484 for ac_arg in '' -std=gnu11
5486 CC="$ac_save_CC $ac_arg"
5487 if ac_fn_c_try_compile "$LINENO"
5488 then :
5489 ac_cv_prog_cc_c11=$ac_arg
5491 rm -f core conftest.err conftest.$ac_objext conftest.beam
5492 test "x$ac_cv_prog_cc_c11" != "xno" && break
5493 done
5494 rm -f conftest.$ac_ext
5495 CC=$ac_save_CC
5498 if test "x$ac_cv_prog_cc_c11" = xno
5499 then :
5500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5501 printf "%s\n" "unsupported" >&6; }
5502 else $as_nop
5503 if test "x$ac_cv_prog_cc_c11" = x
5504 then :
5505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5506 printf "%s\n" "none needed" >&6; }
5507 else $as_nop
5508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5509 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5510 CC="$CC $ac_cv_prog_cc_c11"
5512 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5513 ac_prog_cc_stdc=c11
5516 if test x$ac_prog_cc_stdc = xno
5517 then :
5518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5519 printf %s "checking for $CC option to enable C99 features... " >&6; }
5520 if test ${ac_cv_prog_cc_c99+y}
5521 then :
5522 printf %s "(cached) " >&6
5523 else $as_nop
5524 ac_cv_prog_cc_c99=no
5525 ac_save_CC=$CC
5526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5527 /* end confdefs.h. */
5528 $ac_c_conftest_c99_program
5529 _ACEOF
5530 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5532 CC="$ac_save_CC $ac_arg"
5533 if ac_fn_c_try_compile "$LINENO"
5534 then :
5535 ac_cv_prog_cc_c99=$ac_arg
5537 rm -f core conftest.err conftest.$ac_objext conftest.beam
5538 test "x$ac_cv_prog_cc_c99" != "xno" && break
5539 done
5540 rm -f conftest.$ac_ext
5541 CC=$ac_save_CC
5544 if test "x$ac_cv_prog_cc_c99" = xno
5545 then :
5546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5547 printf "%s\n" "unsupported" >&6; }
5548 else $as_nop
5549 if test "x$ac_cv_prog_cc_c99" = x
5550 then :
5551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5552 printf "%s\n" "none needed" >&6; }
5553 else $as_nop
5554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5555 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5556 CC="$CC $ac_cv_prog_cc_c99"
5558 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5559 ac_prog_cc_stdc=c99
5562 if test x$ac_prog_cc_stdc = xno
5563 then :
5564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5565 printf %s "checking for $CC option to enable C89 features... " >&6; }
5566 if test ${ac_cv_prog_cc_c89+y}
5567 then :
5568 printf %s "(cached) " >&6
5569 else $as_nop
5570 ac_cv_prog_cc_c89=no
5571 ac_save_CC=$CC
5572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5573 /* end confdefs.h. */
5574 $ac_c_conftest_c89_program
5575 _ACEOF
5576 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5578 CC="$ac_save_CC $ac_arg"
5579 if ac_fn_c_try_compile "$LINENO"
5580 then :
5581 ac_cv_prog_cc_c89=$ac_arg
5583 rm -f core conftest.err conftest.$ac_objext conftest.beam
5584 test "x$ac_cv_prog_cc_c89" != "xno" && break
5585 done
5586 rm -f conftest.$ac_ext
5587 CC=$ac_save_CC
5590 if test "x$ac_cv_prog_cc_c89" = xno
5591 then :
5592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5593 printf "%s\n" "unsupported" >&6; }
5594 else $as_nop
5595 if test "x$ac_cv_prog_cc_c89" = x
5596 then :
5597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5598 printf "%s\n" "none needed" >&6; }
5599 else $as_nop
5600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5601 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5602 CC="$CC $ac_cv_prog_cc_c89"
5604 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5605 ac_prog_cc_stdc=c89
5609 ac_ext=c
5610 ac_cpp='$CPP $CPPFLAGS'
5611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5621 ac_ext=cpp
5622 ac_cpp='$CXXCPP $CPPFLAGS'
5623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5626 if test -z "$CXX"; then
5627 if test -n "$CCC"; then
5628 CXX=$CCC
5629 else
5630 if test -n "$ac_tool_prefix"; then
5631 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5633 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5634 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5636 printf %s "checking for $ac_word... " >&6; }
5637 if test ${ac_cv_prog_CXX+y}
5638 then :
5639 printf %s "(cached) " >&6
5640 else $as_nop
5641 if test -n "$CXX"; then
5642 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5643 else
5644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5645 for as_dir in $PATH
5647 IFS=$as_save_IFS
5648 case $as_dir in #(((
5649 '') as_dir=./ ;;
5650 */) ;;
5651 *) as_dir=$as_dir/ ;;
5652 esac
5653 for ac_exec_ext in '' $ac_executable_extensions; do
5654 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5655 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5656 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5657 break 2
5659 done
5660 done
5661 IFS=$as_save_IFS
5665 CXX=$ac_cv_prog_CXX
5666 if test -n "$CXX"; then
5667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5668 printf "%s\n" "$CXX" >&6; }
5669 else
5670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5671 printf "%s\n" "no" >&6; }
5675 test -n "$CXX" && break
5676 done
5678 if test -z "$CXX"; then
5679 ac_ct_CXX=$CXX
5680 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5682 # Extract the first word of "$ac_prog", so it can be a program name with args.
5683 set dummy $ac_prog; ac_word=$2
5684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5685 printf %s "checking for $ac_word... " >&6; }
5686 if test ${ac_cv_prog_ac_ct_CXX+y}
5687 then :
5688 printf %s "(cached) " >&6
5689 else $as_nop
5690 if test -n "$ac_ct_CXX"; then
5691 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5692 else
5693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5694 for as_dir in $PATH
5696 IFS=$as_save_IFS
5697 case $as_dir in #(((
5698 '') as_dir=./ ;;
5699 */) ;;
5700 *) as_dir=$as_dir/ ;;
5701 esac
5702 for ac_exec_ext in '' $ac_executable_extensions; do
5703 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5704 ac_cv_prog_ac_ct_CXX="$ac_prog"
5705 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5706 break 2
5708 done
5709 done
5710 IFS=$as_save_IFS
5714 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5715 if test -n "$ac_ct_CXX"; then
5716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5717 printf "%s\n" "$ac_ct_CXX" >&6; }
5718 else
5719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5720 printf "%s\n" "no" >&6; }
5724 test -n "$ac_ct_CXX" && break
5725 done
5727 if test "x$ac_ct_CXX" = x; then
5728 CXX="g++"
5729 else
5730 case $cross_compiling:$ac_tool_warned in
5731 yes:)
5732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5733 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5734 ac_tool_warned=yes ;;
5735 esac
5736 CXX=$ac_ct_CXX
5742 # Provide some information about the compiler.
5743 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5744 set X $ac_compile
5745 ac_compiler=$2
5746 for ac_option in --version -v -V -qversion; do
5747 { { ac_try="$ac_compiler $ac_option >&5"
5748 case "(($ac_try" in
5749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5750 *) ac_try_echo=$ac_try;;
5751 esac
5752 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5753 printf "%s\n" "$ac_try_echo"; } >&5
5754 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5755 ac_status=$?
5756 if test -s conftest.err; then
5757 sed '10a\
5758 ... rest of stderr output deleted ...
5759 10q' conftest.err >conftest.er1
5760 cat conftest.er1 >&5
5762 rm -f conftest.er1 conftest.err
5763 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5764 test $ac_status = 0; }
5765 done
5767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5768 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5769 if test ${ac_cv_cxx_compiler_gnu+y}
5770 then :
5771 printf %s "(cached) " >&6
5772 else $as_nop
5773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5774 /* end confdefs.h. */
5777 main (void)
5779 #ifndef __GNUC__
5780 choke me
5781 #endif
5784 return 0;
5786 _ACEOF
5787 if ac_fn_cxx_try_compile "$LINENO"
5788 then :
5789 ac_compiler_gnu=yes
5790 else $as_nop
5791 ac_compiler_gnu=no
5793 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5794 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5798 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5801 if test $ac_compiler_gnu = yes; then
5802 GXX=yes
5803 else
5804 GXX=
5806 ac_test_CXXFLAGS=${CXXFLAGS+y}
5807 ac_save_CXXFLAGS=$CXXFLAGS
5808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5809 printf %s "checking whether $CXX accepts -g... " >&6; }
5810 if test ${ac_cv_prog_cxx_g+y}
5811 then :
5812 printf %s "(cached) " >&6
5813 else $as_nop
5814 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5815 ac_cxx_werror_flag=yes
5816 ac_cv_prog_cxx_g=no
5817 CXXFLAGS="-g"
5818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5819 /* end confdefs.h. */
5822 main (void)
5826 return 0;
5828 _ACEOF
5829 if ac_fn_cxx_try_compile "$LINENO"
5830 then :
5831 ac_cv_prog_cxx_g=yes
5832 else $as_nop
5833 CXXFLAGS=""
5834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5835 /* end confdefs.h. */
5838 main (void)
5842 return 0;
5844 _ACEOF
5845 if ac_fn_cxx_try_compile "$LINENO"
5846 then :
5848 else $as_nop
5849 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5850 CXXFLAGS="-g"
5851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5852 /* end confdefs.h. */
5855 main (void)
5859 return 0;
5861 _ACEOF
5862 if ac_fn_cxx_try_compile "$LINENO"
5863 then :
5864 ac_cv_prog_cxx_g=yes
5866 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5868 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5870 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5871 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5874 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5875 if test $ac_test_CXXFLAGS; then
5876 CXXFLAGS=$ac_save_CXXFLAGS
5877 elif test $ac_cv_prog_cxx_g = yes; then
5878 if test "$GXX" = yes; then
5879 CXXFLAGS="-g -O2"
5880 else
5881 CXXFLAGS="-g"
5883 else
5884 if test "$GXX" = yes; then
5885 CXXFLAGS="-O2"
5886 else
5887 CXXFLAGS=
5890 ac_prog_cxx_stdcxx=no
5891 if test x$ac_prog_cxx_stdcxx = xno
5892 then :
5893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5894 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5895 if test ${ac_cv_prog_cxx_11+y}
5896 then :
5897 printf %s "(cached) " >&6
5898 else $as_nop
5899 ac_cv_prog_cxx_11=no
5900 ac_save_CXX=$CXX
5901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5902 /* end confdefs.h. */
5903 $ac_cxx_conftest_cxx11_program
5904 _ACEOF
5905 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5907 CXX="$ac_save_CXX $ac_arg"
5908 if ac_fn_cxx_try_compile "$LINENO"
5909 then :
5910 ac_cv_prog_cxx_cxx11=$ac_arg
5912 rm -f core conftest.err conftest.$ac_objext conftest.beam
5913 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5914 done
5915 rm -f conftest.$ac_ext
5916 CXX=$ac_save_CXX
5919 if test "x$ac_cv_prog_cxx_cxx11" = xno
5920 then :
5921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5922 printf "%s\n" "unsupported" >&6; }
5923 else $as_nop
5924 if test "x$ac_cv_prog_cxx_cxx11" = x
5925 then :
5926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5927 printf "%s\n" "none needed" >&6; }
5928 else $as_nop
5929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5930 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5931 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5933 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5934 ac_prog_cxx_stdcxx=cxx11
5937 if test x$ac_prog_cxx_stdcxx = xno
5938 then :
5939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5940 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5941 if test ${ac_cv_prog_cxx_98+y}
5942 then :
5943 printf %s "(cached) " >&6
5944 else $as_nop
5945 ac_cv_prog_cxx_98=no
5946 ac_save_CXX=$CXX
5947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5948 /* end confdefs.h. */
5949 $ac_cxx_conftest_cxx98_program
5950 _ACEOF
5951 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5953 CXX="$ac_save_CXX $ac_arg"
5954 if ac_fn_cxx_try_compile "$LINENO"
5955 then :
5956 ac_cv_prog_cxx_cxx98=$ac_arg
5958 rm -f core conftest.err conftest.$ac_objext conftest.beam
5959 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5960 done
5961 rm -f conftest.$ac_ext
5962 CXX=$ac_save_CXX
5965 if test "x$ac_cv_prog_cxx_cxx98" = xno
5966 then :
5967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5968 printf "%s\n" "unsupported" >&6; }
5969 else $as_nop
5970 if test "x$ac_cv_prog_cxx_cxx98" = x
5971 then :
5972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5973 printf "%s\n" "none needed" >&6; }
5974 else $as_nop
5975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5976 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5977 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5979 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5980 ac_prog_cxx_stdcxx=cxx98
5984 ac_ext=c
5985 ac_cpp='$CPP $CPPFLAGS'
5986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5990 if test -n "$ac_tool_prefix"; then
5991 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5992 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5994 printf %s "checking for $ac_word... " >&6; }
5995 if test ${ac_cv_prog_CPPBIN+y}
5996 then :
5997 printf %s "(cached) " >&6
5998 else $as_nop
5999 if test -n "$CPPBIN"; then
6000 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6001 else
6002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6003 for as_dir in $PATH
6005 IFS=$as_save_IFS
6006 case $as_dir in #(((
6007 '') as_dir=./ ;;
6008 */) ;;
6009 *) as_dir=$as_dir/ ;;
6010 esac
6011 for ac_exec_ext in '' $ac_executable_extensions; do
6012 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6013 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6014 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6015 break 2
6017 done
6018 done
6019 IFS=$as_save_IFS
6023 CPPBIN=$ac_cv_prog_CPPBIN
6024 if test -n "$CPPBIN"; then
6025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6026 printf "%s\n" "$CPPBIN" >&6; }
6027 else
6028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6029 printf "%s\n" "no" >&6; }
6034 if test -z "$ac_cv_prog_CPPBIN"; then
6035 ac_ct_CPPBIN=$CPPBIN
6036 # Extract the first word of "cpp", so it can be a program name with args.
6037 set dummy cpp; ac_word=$2
6038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6039 printf %s "checking for $ac_word... " >&6; }
6040 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6041 then :
6042 printf %s "(cached) " >&6
6043 else $as_nop
6044 if test -n "$ac_ct_CPPBIN"; then
6045 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6046 else
6047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6048 for as_dir in $PATH
6050 IFS=$as_save_IFS
6051 case $as_dir in #(((
6052 '') as_dir=./ ;;
6053 */) ;;
6054 *) as_dir=$as_dir/ ;;
6055 esac
6056 for ac_exec_ext in '' $ac_executable_extensions; do
6057 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6058 ac_cv_prog_ac_ct_CPPBIN="cpp"
6059 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6060 break 2
6062 done
6063 done
6064 IFS=$as_save_IFS
6068 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6069 if test -n "$ac_ct_CPPBIN"; then
6070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6071 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6072 else
6073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6074 printf "%s\n" "no" >&6; }
6077 if test "x$ac_ct_CPPBIN" = x; then
6078 CPPBIN="cpp"
6079 else
6080 case $cross_compiling:$ac_tool_warned in
6081 yes:)
6082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6083 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6084 ac_tool_warned=yes ;;
6085 esac
6086 CPPBIN=$ac_ct_CPPBIN
6088 else
6089 CPPBIN="$ac_cv_prog_CPPBIN"
6093 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6095 if test -n "$ac_tool_prefix"; then
6096 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6097 set dummy ${ac_tool_prefix}ld; ac_word=$2
6098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6099 printf %s "checking for $ac_word... " >&6; }
6100 if test ${ac_cv_prog_LD+y}
6101 then :
6102 printf %s "(cached) " >&6
6103 else $as_nop
6104 if test -n "$LD"; then
6105 ac_cv_prog_LD="$LD" # Let the user override the test.
6106 else
6107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6108 for as_dir in $PATH
6110 IFS=$as_save_IFS
6111 case $as_dir in #(((
6112 '') as_dir=./ ;;
6113 */) ;;
6114 *) as_dir=$as_dir/ ;;
6115 esac
6116 for ac_exec_ext in '' $ac_executable_extensions; do
6117 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6118 ac_cv_prog_LD="${ac_tool_prefix}ld"
6119 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6120 break 2
6122 done
6123 done
6124 IFS=$as_save_IFS
6128 LD=$ac_cv_prog_LD
6129 if test -n "$LD"; then
6130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6131 printf "%s\n" "$LD" >&6; }
6132 else
6133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6134 printf "%s\n" "no" >&6; }
6139 if test -z "$ac_cv_prog_LD"; then
6140 ac_ct_LD=$LD
6141 # Extract the first word of "ld", so it can be a program name with args.
6142 set dummy ld; ac_word=$2
6143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6144 printf %s "checking for $ac_word... " >&6; }
6145 if test ${ac_cv_prog_ac_ct_LD+y}
6146 then :
6147 printf %s "(cached) " >&6
6148 else $as_nop
6149 if test -n "$ac_ct_LD"; then
6150 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6151 else
6152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6153 for as_dir in $PATH
6155 IFS=$as_save_IFS
6156 case $as_dir in #(((
6157 '') as_dir=./ ;;
6158 */) ;;
6159 *) as_dir=$as_dir/ ;;
6160 esac
6161 for ac_exec_ext in '' $ac_executable_extensions; do
6162 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6163 ac_cv_prog_ac_ct_LD="ld"
6164 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6165 break 2
6167 done
6168 done
6169 IFS=$as_save_IFS
6173 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6174 if test -n "$ac_ct_LD"; then
6175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6176 printf "%s\n" "$ac_ct_LD" >&6; }
6177 else
6178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6179 printf "%s\n" "no" >&6; }
6182 if test "x$ac_ct_LD" = x; then
6183 LD=""
6184 else
6185 case $cross_compiling:$ac_tool_warned in
6186 yes:)
6187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6188 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6189 ac_tool_warned=yes ;;
6190 esac
6191 LD=$ac_ct_LD
6193 else
6194 LD="$ac_cv_prog_LD"
6198 case $host in
6199 *-darwin*)
6200 with_fontconfig=${with_fontconfig:-no}
6202 *-mingw32*|*-cygwin*)
6203 enable_win16=${enable_win16:-no}
6204 with_mingw=${with_mingw:-no}
6206 esac
6209 case $host in
6210 x86_64*|amd64*)
6211 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6212 then
6213 CC="$CC -m32"
6214 CXX="$CXX -m32"
6216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6217 printf %s "checking whether $CC works... " >&6; }
6218 if test ${wine_cv_cc_m32+y}
6219 then :
6220 printf %s "(cached) " >&6
6221 else $as_nop
6222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6223 /* end confdefs.h. */
6226 main (void)
6230 return 0;
6232 _ACEOF
6233 if ac_fn_c_try_link "$LINENO"
6234 then :
6235 wine_cv_cc_m32=yes
6236 else $as_nop
6237 wine_cv_cc_m32=no
6239 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6240 conftest$ac_exeext conftest.$ac_ext
6242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6243 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6244 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
6245 host_cpu="i386"
6246 notice_platform="32-bit "
6247 TARGETFLAGS="$TARGETFLAGS -m32"
6248 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6249 export PKG_CONFIG_PATH
6250 with_unwind=${with_unwind:-no}
6251 else
6252 if test "x${GCC}" = "xyes"
6253 then
6254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6255 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6256 if test ${wine_cv_builtin_ms_va_list+y}
6257 then :
6258 printf %s "(cached) " >&6
6259 else $as_nop
6260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6261 /* end confdefs.h. */
6262 #include <stdarg.h>
6264 main (void)
6266 void func(__builtin_ms_va_list *args);
6268 return 0;
6270 _ACEOF
6271 if ac_fn_c_try_compile "$LINENO"
6272 then :
6273 wine_cv_builtin_ms_va_list=yes
6274 else $as_nop
6275 wine_cv_builtin_ms_va_list=no
6277 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6280 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6281 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
6283 CC="$CC -m64"
6284 CXX="$CXX -m64"
6285 host_cpu="x86_64"
6286 notice_platform="64-bit "
6287 TARGETFLAGS="$TARGETFLAGS -m64"
6290 arm*)
6291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6292 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6293 if test ${wine_cv_thumb2+y}
6294 then :
6295 printf %s "(cached) " >&6
6296 else $as_nop
6297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6298 /* end confdefs.h. */
6301 main (void)
6303 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6305 return 0;
6307 _ACEOF
6308 if ac_fn_c_try_link "$LINENO"
6309 then :
6310 wine_cv_thumb2=yes
6311 else $as_nop
6312 wine_cv_thumb2=no
6314 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6315 conftest$ac_exeext conftest.$ac_ext
6317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6318 printf "%s\n" "$wine_cv_thumb2" >&6; }
6319 if test x"$wine_cv_thumb2" = xyes
6320 then
6321 CFLAGS="$CFLAGS -mthumb"
6322 TARGETFLAGS="$TARGETFLAGS -mthumb"
6323 else
6324 CFLAGS="$CFLAGS -marm"
6325 TARGETFLAGS="$TARGETFLAGS -marm"
6327 case $with_float_abi in
6328 soft|softfp|hard)
6329 float_abi=$with_float_abi ;;
6331 case $host_os in
6332 *eabihf)
6333 float_abi=hard ;;
6335 float_abi=softfp
6336 saved_CFLAGS=$CFLAGS
6337 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6339 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6340 if test ${wine_cv_float_abi+y}
6341 then :
6342 printf %s "(cached) " >&6
6343 else $as_nop
6344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6345 /* end confdefs.h. */
6348 main (void)
6350 asm("vmrs r2,fpscr");
6352 return 0;
6354 _ACEOF
6355 if ac_fn_c_try_link "$LINENO"
6356 then :
6357 wine_cv_float_abi=yes
6358 else $as_nop
6359 wine_cv_float_abi=no
6361 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6362 conftest$ac_exeext conftest.$ac_ext
6364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6365 printf "%s\n" "$wine_cv_float_abi" >&6; }
6366 if test $wine_cv_float_abi = no
6367 then
6368 float_abi=soft
6369 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6371 CFLAGS=$saved_CFLAGS
6372 esac
6374 esac
6375 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6376 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6378 i[3456789]86*)
6379 with_unwind=${with_unwind:-no}
6381 esac
6383 enable_win16=${enable_win16:-i386}
6384 enable_win64=${enable_win64:-no}
6385 enable_wow64=${enable_wow64:-aarch64,x86_64}
6386 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6387 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6389 enable_winetest=${enable_winetest:-$enable_tests}
6391 if test "x$enable_win64" = "xyes"
6392 then
6393 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6394 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6397 case $build_os in
6398 cygwin*|mingw32*) toolsext=".exe"
6400 *) toolsext=""
6402 esac
6404 HOST_ARCH=unknown
6405 case "$host_cpu" in
6406 aarch64*) HOST_ARCH=aarch64 ;;
6407 arm*) HOST_ARCH=arm ;;
6408 i[3456789]86*) HOST_ARCH=i386 ;;
6409 x86_64) HOST_ARCH=x86_64 ;;
6410 esac
6413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6414 printf %s "checking for the directory containing the Wine tools... " >&6; }
6415 if test ${wine_cv_toolsdir+y}
6416 then :
6417 printf %s "(cached) " >&6
6418 else $as_nop
6419 wine_cv_toolsdir="$with_wine_tools"
6420 if test -z "$with_wine_tools"; then
6421 if test "$cross_compiling" = "yes"; then
6422 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6423 elif test -n "$with_wine64"; then
6424 wine_cv_toolsdir="$with_wine64"
6428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6429 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6430 if test -z "$wine_cv_toolsdir"; then
6431 wine_makedep=tools/makedep$toolsext
6432 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6433 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6434 enable_tools=${enable_tools:-no}
6435 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6436 else
6437 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6439 toolsdir=$wine_cv_toolsdir
6441 MAKEDEP=$wine_makedep
6443 RUNTESTFLAGS="-q -P wine"
6445 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'"
6448 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6449 then
6450 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6453 for ac_prog in flex
6455 # Extract the first word of "$ac_prog", so it can be a program name with args.
6456 set dummy $ac_prog; ac_word=$2
6457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6458 printf %s "checking for $ac_word... " >&6; }
6459 if test ${ac_cv_prog_FLEX+y}
6460 then :
6461 printf %s "(cached) " >&6
6462 else $as_nop
6463 if test -n "$FLEX"; then
6464 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6465 else
6466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6467 for as_dir in $PATH
6469 IFS=$as_save_IFS
6470 case $as_dir in #(((
6471 '') as_dir=./ ;;
6472 */) ;;
6473 *) as_dir=$as_dir/ ;;
6474 esac
6475 for ac_exec_ext in '' $ac_executable_extensions; do
6476 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6477 ac_cv_prog_FLEX="$ac_prog"
6478 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6479 break 2
6481 done
6482 done
6483 IFS=$as_save_IFS
6487 FLEX=$ac_cv_prog_FLEX
6488 if test -n "$FLEX"; then
6489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6490 printf "%s\n" "$FLEX" >&6; }
6491 else
6492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6493 printf "%s\n" "no" >&6; }
6497 test -n "$FLEX" && break
6498 done
6499 test -n "$FLEX" || FLEX="none"
6501 if test "$FLEX" = "none"
6502 then
6503 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6506 printf %s "checking whether flex is recent enough... " >&6; }
6507 if test ${wine_cv_recent_flex+y}
6508 then :
6509 printf %s "(cached) " >&6
6510 else $as_nop
6511 cat >conftest.l <<EOF
6512 %top{
6513 #include "prediluvian.h"
6517 if $FLEX -t conftest.l >/dev/null 2>&5
6518 then
6519 wine_cv_recent_flex=yes
6520 else
6521 wine_cv_recent_flex=no
6524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6525 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6526 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
6528 for ac_prog in bison
6530 # Extract the first word of "$ac_prog", so it can be a program name with args.
6531 set dummy $ac_prog; ac_word=$2
6532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6533 printf %s "checking for $ac_word... " >&6; }
6534 if test ${ac_cv_prog_BISON+y}
6535 then :
6536 printf %s "(cached) " >&6
6537 else $as_nop
6538 if test -n "$BISON"; then
6539 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6540 else
6541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6542 for as_dir in $PATH
6544 IFS=$as_save_IFS
6545 case $as_dir in #(((
6546 '') as_dir=./ ;;
6547 */) ;;
6548 *) as_dir=$as_dir/ ;;
6549 esac
6550 for ac_exec_ext in '' $ac_executable_extensions; do
6551 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6552 ac_cv_prog_BISON="$ac_prog"
6553 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6554 break 2
6556 done
6557 done
6558 IFS=$as_save_IFS
6562 BISON=$ac_cv_prog_BISON
6563 if test -n "$BISON"; then
6564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6565 printf "%s\n" "$BISON" >&6; }
6566 else
6567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6568 printf "%s\n" "no" >&6; }
6572 test -n "$BISON" && break
6573 done
6574 test -n "$BISON" || BISON="none"
6576 if test "$BISON" = "none"
6577 then
6578 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6581 printf %s "checking whether bison is recent enough... " >&6; }
6582 if test ${wine_cv_recent_bison+y}
6583 then :
6584 printf %s "(cached) " >&6
6585 else $as_nop
6586 cat >conftest.y <<EOF
6587 %define parse.error verbose
6589 empty: ;
6591 if $BISON conftest.y >/dev/null 2>&5
6592 then
6593 wine_cv_recent_bison=yes
6594 else
6595 wine_cv_recent_bison=no
6598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6599 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6600 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
6602 if test -n "$ac_tool_prefix"; then
6603 for ac_prog in ar gar
6605 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6606 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6608 printf %s "checking for $ac_word... " >&6; }
6609 if test ${ac_cv_prog_AR+y}
6610 then :
6611 printf %s "(cached) " >&6
6612 else $as_nop
6613 if test -n "$AR"; then
6614 ac_cv_prog_AR="$AR" # Let the user override the test.
6615 else
6616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6617 for as_dir in $PATH
6619 IFS=$as_save_IFS
6620 case $as_dir in #(((
6621 '') as_dir=./ ;;
6622 */) ;;
6623 *) as_dir=$as_dir/ ;;
6624 esac
6625 for ac_exec_ext in '' $ac_executable_extensions; do
6626 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6627 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6628 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6629 break 2
6631 done
6632 done
6633 IFS=$as_save_IFS
6637 AR=$ac_cv_prog_AR
6638 if test -n "$AR"; then
6639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6640 printf "%s\n" "$AR" >&6; }
6641 else
6642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6643 printf "%s\n" "no" >&6; }
6647 test -n "$AR" && break
6648 done
6650 if test -z "$AR"; then
6651 ac_ct_AR=$AR
6652 for ac_prog in ar gar
6654 # Extract the first word of "$ac_prog", so it can be a program name with args.
6655 set dummy $ac_prog; ac_word=$2
6656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6657 printf %s "checking for $ac_word... " >&6; }
6658 if test ${ac_cv_prog_ac_ct_AR+y}
6659 then :
6660 printf %s "(cached) " >&6
6661 else $as_nop
6662 if test -n "$ac_ct_AR"; then
6663 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6664 else
6665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6666 for as_dir in $PATH
6668 IFS=$as_save_IFS
6669 case $as_dir in #(((
6670 '') as_dir=./ ;;
6671 */) ;;
6672 *) as_dir=$as_dir/ ;;
6673 esac
6674 for ac_exec_ext in '' $ac_executable_extensions; do
6675 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6676 ac_cv_prog_ac_ct_AR="$ac_prog"
6677 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6678 break 2
6680 done
6681 done
6682 IFS=$as_save_IFS
6686 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6687 if test -n "$ac_ct_AR"; then
6688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6689 printf "%s\n" "$ac_ct_AR" >&6; }
6690 else
6691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6692 printf "%s\n" "no" >&6; }
6696 test -n "$ac_ct_AR" && break
6697 done
6699 if test "x$ac_ct_AR" = x; then
6700 AR="ar"
6701 else
6702 case $cross_compiling:$ac_tool_warned in
6703 yes:)
6704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6705 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6706 ac_tool_warned=yes ;;
6707 esac
6708 AR=$ac_ct_AR
6712 if test -n "$ac_tool_prefix"; then
6713 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6714 set dummy ${ac_tool_prefix}strip; ac_word=$2
6715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6716 printf %s "checking for $ac_word... " >&6; }
6717 if test ${ac_cv_prog_STRIP+y}
6718 then :
6719 printf %s "(cached) " >&6
6720 else $as_nop
6721 if test -n "$STRIP"; then
6722 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6723 else
6724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6725 for as_dir in $PATH
6727 IFS=$as_save_IFS
6728 case $as_dir in #(((
6729 '') as_dir=./ ;;
6730 */) ;;
6731 *) as_dir=$as_dir/ ;;
6732 esac
6733 for ac_exec_ext in '' $ac_executable_extensions; do
6734 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6735 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6737 break 2
6739 done
6740 done
6741 IFS=$as_save_IFS
6745 STRIP=$ac_cv_prog_STRIP
6746 if test -n "$STRIP"; then
6747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6748 printf "%s\n" "$STRIP" >&6; }
6749 else
6750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6751 printf "%s\n" "no" >&6; }
6756 if test -z "$ac_cv_prog_STRIP"; then
6757 ac_ct_STRIP=$STRIP
6758 # Extract the first word of "strip", so it can be a program name with args.
6759 set dummy strip; ac_word=$2
6760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6761 printf %s "checking for $ac_word... " >&6; }
6762 if test ${ac_cv_prog_ac_ct_STRIP+y}
6763 then :
6764 printf %s "(cached) " >&6
6765 else $as_nop
6766 if test -n "$ac_ct_STRIP"; then
6767 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6768 else
6769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6770 for as_dir in $PATH
6772 IFS=$as_save_IFS
6773 case $as_dir in #(((
6774 '') as_dir=./ ;;
6775 */) ;;
6776 *) as_dir=$as_dir/ ;;
6777 esac
6778 for ac_exec_ext in '' $ac_executable_extensions; do
6779 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6780 ac_cv_prog_ac_ct_STRIP="strip"
6781 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6782 break 2
6784 done
6785 done
6786 IFS=$as_save_IFS
6790 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6791 if test -n "$ac_ct_STRIP"; then
6792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6793 printf "%s\n" "$ac_ct_STRIP" >&6; }
6794 else
6795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6796 printf "%s\n" "no" >&6; }
6799 if test "x$ac_ct_STRIP" = x; then
6800 STRIP="strip"
6801 else
6802 case $cross_compiling:$ac_tool_warned in
6803 yes:)
6804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6805 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6806 ac_tool_warned=yes ;;
6807 esac
6808 STRIP=$ac_ct_STRIP
6810 else
6811 STRIP="$ac_cv_prog_STRIP"
6814 if test -n "$ac_tool_prefix"; then
6815 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6816 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6818 printf %s "checking for $ac_word... " >&6; }
6819 if test ${ac_cv_prog_RANLIB+y}
6820 then :
6821 printf %s "(cached) " >&6
6822 else $as_nop
6823 if test -n "$RANLIB"; then
6824 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6825 else
6826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6827 for as_dir in $PATH
6829 IFS=$as_save_IFS
6830 case $as_dir in #(((
6831 '') as_dir=./ ;;
6832 */) ;;
6833 *) as_dir=$as_dir/ ;;
6834 esac
6835 for ac_exec_ext in '' $ac_executable_extensions; do
6836 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6837 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6838 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6839 break 2
6841 done
6842 done
6843 IFS=$as_save_IFS
6847 RANLIB=$ac_cv_prog_RANLIB
6848 if test -n "$RANLIB"; then
6849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6850 printf "%s\n" "$RANLIB" >&6; }
6851 else
6852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6853 printf "%s\n" "no" >&6; }
6858 if test -z "$ac_cv_prog_RANLIB"; then
6859 ac_ct_RANLIB=$RANLIB
6860 # Extract the first word of "ranlib", so it can be a program name with args.
6861 set dummy ranlib; ac_word=$2
6862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6863 printf %s "checking for $ac_word... " >&6; }
6864 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6865 then :
6866 printf %s "(cached) " >&6
6867 else $as_nop
6868 if test -n "$ac_ct_RANLIB"; then
6869 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6870 else
6871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6872 for as_dir in $PATH
6874 IFS=$as_save_IFS
6875 case $as_dir in #(((
6876 '') as_dir=./ ;;
6877 */) ;;
6878 *) as_dir=$as_dir/ ;;
6879 esac
6880 for ac_exec_ext in '' $ac_executable_extensions; do
6881 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6882 ac_cv_prog_ac_ct_RANLIB="ranlib"
6883 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6884 break 2
6886 done
6887 done
6888 IFS=$as_save_IFS
6892 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6893 if test -n "$ac_ct_RANLIB"; then
6894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6895 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6896 else
6897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6898 printf "%s\n" "no" >&6; }
6901 if test "x$ac_ct_RANLIB" = x; then
6902 RANLIB=":"
6903 else
6904 case $cross_compiling:$ac_tool_warned in
6905 yes:)
6906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6907 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6908 ac_tool_warned=yes ;;
6909 esac
6910 RANLIB=$ac_ct_RANLIB
6912 else
6913 RANLIB="$ac_cv_prog_RANLIB"
6916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6917 printf %s "checking whether ln -s works... " >&6; }
6918 LN_S=$as_ln_s
6919 if test "$LN_S" = "ln -s"; then
6920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6921 printf "%s\n" "yes" >&6; }
6922 else
6923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6924 printf "%s\n" "no, using $LN_S" >&6; }
6927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6928 printf %s "checking for grep that handles long lines and -e... " >&6; }
6929 if test ${ac_cv_path_GREP+y}
6930 then :
6931 printf %s "(cached) " >&6
6932 else $as_nop
6933 if test -z "$GREP"; then
6934 ac_path_GREP_found=false
6935 # Loop through the user's path and test for each of PROGNAME-LIST
6936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6937 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6939 IFS=$as_save_IFS
6940 case $as_dir in #(((
6941 '') as_dir=./ ;;
6942 */) ;;
6943 *) as_dir=$as_dir/ ;;
6944 esac
6945 for ac_prog in grep ggrep
6947 for ac_exec_ext in '' $ac_executable_extensions; do
6948 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6949 as_fn_executable_p "$ac_path_GREP" || continue
6950 # Check for GNU ac_path_GREP and select it if it is found.
6951 # Check for GNU $ac_path_GREP
6952 case `"$ac_path_GREP" --version 2>&1` in
6953 *GNU*)
6954 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6956 ac_count=0
6957 printf %s 0123456789 >"conftest.in"
6958 while :
6960 cat "conftest.in" "conftest.in" >"conftest.tmp"
6961 mv "conftest.tmp" "conftest.in"
6962 cp "conftest.in" "conftest.nl"
6963 printf "%s\n" 'GREP' >> "conftest.nl"
6964 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6965 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6966 as_fn_arith $ac_count + 1 && ac_count=$as_val
6967 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6968 # Best one so far, save it but keep looking for a better one
6969 ac_cv_path_GREP="$ac_path_GREP"
6970 ac_path_GREP_max=$ac_count
6972 # 10*(2^10) chars as input seems more than enough
6973 test $ac_count -gt 10 && break
6974 done
6975 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6976 esac
6978 $ac_path_GREP_found && break 3
6979 done
6980 done
6981 done
6982 IFS=$as_save_IFS
6983 if test -z "$ac_cv_path_GREP"; then
6984 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6986 else
6987 ac_cv_path_GREP=$GREP
6991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6992 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6993 GREP="$ac_cv_path_GREP"
6996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6997 printf %s "checking for egrep... " >&6; }
6998 if test ${ac_cv_path_EGREP+y}
6999 then :
7000 printf %s "(cached) " >&6
7001 else $as_nop
7002 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7003 then ac_cv_path_EGREP="$GREP -E"
7004 else
7005 if test -z "$EGREP"; then
7006 ac_path_EGREP_found=false
7007 # Loop through the user's path and test for each of PROGNAME-LIST
7008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7009 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7011 IFS=$as_save_IFS
7012 case $as_dir in #(((
7013 '') as_dir=./ ;;
7014 */) ;;
7015 *) as_dir=$as_dir/ ;;
7016 esac
7017 for ac_prog in egrep
7019 for ac_exec_ext in '' $ac_executable_extensions; do
7020 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7021 as_fn_executable_p "$ac_path_EGREP" || continue
7022 # Check for GNU ac_path_EGREP and select it if it is found.
7023 # Check for GNU $ac_path_EGREP
7024 case `"$ac_path_EGREP" --version 2>&1` in
7025 *GNU*)
7026 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7028 ac_count=0
7029 printf %s 0123456789 >"conftest.in"
7030 while :
7032 cat "conftest.in" "conftest.in" >"conftest.tmp"
7033 mv "conftest.tmp" "conftest.in"
7034 cp "conftest.in" "conftest.nl"
7035 printf "%s\n" 'EGREP' >> "conftest.nl"
7036 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7037 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7038 as_fn_arith $ac_count + 1 && ac_count=$as_val
7039 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7040 # Best one so far, save it but keep looking for a better one
7041 ac_cv_path_EGREP="$ac_path_EGREP"
7042 ac_path_EGREP_max=$ac_count
7044 # 10*(2^10) chars as input seems more than enough
7045 test $ac_count -gt 10 && break
7046 done
7047 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7048 esac
7050 $ac_path_EGREP_found && break 3
7051 done
7052 done
7053 done
7054 IFS=$as_save_IFS
7055 if test -z "$ac_cv_path_EGREP"; then
7056 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7058 else
7059 ac_cv_path_EGREP=$EGREP
7064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7065 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7066 EGREP="$ac_cv_path_EGREP"
7069 # Extract the first word of "ldconfig", so it can be a program name with args.
7070 set dummy ldconfig; ac_word=$2
7071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7072 printf %s "checking for $ac_word... " >&6; }
7073 if test ${ac_cv_path_LDCONFIG+y}
7074 then :
7075 printf %s "(cached) " >&6
7076 else $as_nop
7077 case $LDCONFIG in
7078 [\\/]* | ?:[\\/]*)
7079 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7083 for as_dir in /sbin /usr/sbin $PATH
7085 IFS=$as_save_IFS
7086 case $as_dir in #(((
7087 '') as_dir=./ ;;
7088 */) ;;
7089 *) as_dir=$as_dir/ ;;
7090 esac
7091 for ac_exec_ext in '' $ac_executable_extensions; do
7092 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7093 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7094 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7095 break 2
7097 done
7098 done
7099 IFS=$as_save_IFS
7101 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7103 esac
7105 LDCONFIG=$ac_cv_path_LDCONFIG
7106 if test -n "$LDCONFIG"; then
7107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7108 printf "%s\n" "$LDCONFIG" >&6; }
7109 else
7110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7111 printf "%s\n" "no" >&6; }
7115 for ac_prog in msgfmt
7117 # Extract the first word of "$ac_prog", so it can be a program name with args.
7118 set dummy $ac_prog; ac_word=$2
7119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7120 printf %s "checking for $ac_word... " >&6; }
7121 if test ${ac_cv_prog_MSGFMT+y}
7122 then :
7123 printf %s "(cached) " >&6
7124 else $as_nop
7125 if test -n "$MSGFMT"; then
7126 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7127 else
7128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7129 for as_dir in $PATH
7131 IFS=$as_save_IFS
7132 case $as_dir in #(((
7133 '') as_dir=./ ;;
7134 */) ;;
7135 *) as_dir=$as_dir/ ;;
7136 esac
7137 for ac_exec_ext in '' $ac_executable_extensions; do
7138 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7139 ac_cv_prog_MSGFMT="$ac_prog"
7140 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7141 break 2
7143 done
7144 done
7145 IFS=$as_save_IFS
7149 MSGFMT=$ac_cv_prog_MSGFMT
7150 if test -n "$MSGFMT"; then
7151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7152 printf "%s\n" "$MSGFMT" >&6; }
7153 else
7154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7155 printf "%s\n" "no" >&6; }
7159 test -n "$MSGFMT" && break
7160 done
7161 test -n "$MSGFMT" || MSGFMT="false"
7163 if test ${ac_tool_prefix+y}
7164 then :
7165 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7166 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7168 printf %s "checking for $ac_word... " >&6; }
7169 if test ${ac_cv_prog_PKG_CONFIG+y}
7170 then :
7171 printf %s "(cached) " >&6
7172 else $as_nop
7173 if test -n "$PKG_CONFIG"; then
7174 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7175 else
7176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7177 for as_dir in $PATH
7179 IFS=$as_save_IFS
7180 case $as_dir in #(((
7181 '') as_dir=./ ;;
7182 */) ;;
7183 *) as_dir=$as_dir/ ;;
7184 esac
7185 for ac_exec_ext in '' $ac_executable_extensions; do
7186 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7187 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7188 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7189 break 2
7191 done
7192 done
7193 IFS=$as_save_IFS
7197 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7198 if test -n "$PKG_CONFIG"; then
7199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7200 printf "%s\n" "$PKG_CONFIG" >&6; }
7201 else
7202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7203 printf "%s\n" "no" >&6; }
7208 if ${ac_cv_prog_PKG_CONFIG:+false} :
7209 then :
7210 if test "x$cross_compiling" = xyes
7211 then :
7213 else $as_nop
7214 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7215 # Extract the first word of "pkg-config", so it can be a program name with args.
7216 set dummy pkg-config; ac_word=$2
7217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7218 printf %s "checking for $ac_word... " >&6; }
7219 if test ${ac_cv_prog_PKG_CONFIG+y}
7220 then :
7221 printf %s "(cached) " >&6
7222 else $as_nop
7223 if test -n "$PKG_CONFIG"; then
7224 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7225 else
7226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7227 for as_dir in $PATH
7229 IFS=$as_save_IFS
7230 case $as_dir in #(((
7231 '') as_dir=./ ;;
7232 */) ;;
7233 *) as_dir=$as_dir/ ;;
7234 esac
7235 for ac_exec_ext in '' $ac_executable_extensions; do
7236 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7237 ac_cv_prog_PKG_CONFIG="pkg-config"
7238 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7239 break 2
7241 done
7242 done
7243 IFS=$as_save_IFS
7247 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7248 if test -n "$PKG_CONFIG"; then
7249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7250 printf "%s\n" "$PKG_CONFIG" >&6; }
7251 else
7252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7253 printf "%s\n" "no" >&6; }
7258 else $as_nop
7259 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7262 if test "x$enable_maintainer_mode" != "xyes"
7263 then
7264 FONTFORGE=""
7265 RSVG=""
7266 CONVERT=""
7267 ICOTOOL=""
7268 else
7269 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7270 for ac_prog in fontforge
7272 # Extract the first word of "$ac_prog", so it can be a program name with args.
7273 set dummy $ac_prog; ac_word=$2
7274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7275 printf %s "checking for $ac_word... " >&6; }
7276 if test ${ac_cv_prog_FONTFORGE+y}
7277 then :
7278 printf %s "(cached) " >&6
7279 else $as_nop
7280 if test -n "$FONTFORGE"; then
7281 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7282 else
7283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7284 for as_dir in $PATH
7286 IFS=$as_save_IFS
7287 case $as_dir in #(((
7288 '') as_dir=./ ;;
7289 */) ;;
7290 *) as_dir=$as_dir/ ;;
7291 esac
7292 for ac_exec_ext in '' $ac_executable_extensions; do
7293 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7294 ac_cv_prog_FONTFORGE="$ac_prog"
7295 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7296 break 2
7298 done
7299 done
7300 IFS=$as_save_IFS
7304 FONTFORGE=$ac_cv_prog_FONTFORGE
7305 if test -n "$FONTFORGE"; then
7306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7307 printf "%s\n" "$FONTFORGE" >&6; }
7308 else
7309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7310 printf "%s\n" "no" >&6; }
7314 test -n "$FONTFORGE" && break
7315 done
7316 test -n "$FONTFORGE" || FONTFORGE="false"
7318 for ac_prog in rsvg-convert rsvg
7320 # Extract the first word of "$ac_prog", so it can be a program name with args.
7321 set dummy $ac_prog; ac_word=$2
7322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7323 printf %s "checking for $ac_word... " >&6; }
7324 if test ${ac_cv_prog_RSVG+y}
7325 then :
7326 printf %s "(cached) " >&6
7327 else $as_nop
7328 if test -n "$RSVG"; then
7329 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7330 else
7331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7332 for as_dir in $PATH
7334 IFS=$as_save_IFS
7335 case $as_dir in #(((
7336 '') as_dir=./ ;;
7337 */) ;;
7338 *) as_dir=$as_dir/ ;;
7339 esac
7340 for ac_exec_ext in '' $ac_executable_extensions; do
7341 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7342 ac_cv_prog_RSVG="$ac_prog"
7343 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7344 break 2
7346 done
7347 done
7348 IFS=$as_save_IFS
7352 RSVG=$ac_cv_prog_RSVG
7353 if test -n "$RSVG"; then
7354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7355 printf "%s\n" "$RSVG" >&6; }
7356 else
7357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7358 printf "%s\n" "no" >&6; }
7362 test -n "$RSVG" && break
7363 done
7364 test -n "$RSVG" || RSVG="false"
7366 for ac_prog in convert
7368 # Extract the first word of "$ac_prog", so it can be a program name with args.
7369 set dummy $ac_prog; ac_word=$2
7370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7371 printf %s "checking for $ac_word... " >&6; }
7372 if test ${ac_cv_prog_CONVERT+y}
7373 then :
7374 printf %s "(cached) " >&6
7375 else $as_nop
7376 if test -n "$CONVERT"; then
7377 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7378 else
7379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7380 for as_dir in $PATH
7382 IFS=$as_save_IFS
7383 case $as_dir in #(((
7384 '') as_dir=./ ;;
7385 */) ;;
7386 *) as_dir=$as_dir/ ;;
7387 esac
7388 for ac_exec_ext in '' $ac_executable_extensions; do
7389 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7390 ac_cv_prog_CONVERT="$ac_prog"
7391 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7392 break 2
7394 done
7395 done
7396 IFS=$as_save_IFS
7400 CONVERT=$ac_cv_prog_CONVERT
7401 if test -n "$CONVERT"; then
7402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7403 printf "%s\n" "$CONVERT" >&6; }
7404 else
7405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7406 printf "%s\n" "no" >&6; }
7410 test -n "$CONVERT" && break
7411 done
7412 test -n "$CONVERT" || CONVERT="false"
7414 for ac_prog in icotool
7416 # Extract the first word of "$ac_prog", so it can be a program name with args.
7417 set dummy $ac_prog; ac_word=$2
7418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7419 printf %s "checking for $ac_word... " >&6; }
7420 if test ${ac_cv_prog_ICOTOOL+y}
7421 then :
7422 printf %s "(cached) " >&6
7423 else $as_nop
7424 if test -n "$ICOTOOL"; then
7425 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7426 else
7427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7428 for as_dir in $PATH
7430 IFS=$as_save_IFS
7431 case $as_dir in #(((
7432 '') as_dir=./ ;;
7433 */) ;;
7434 *) as_dir=$as_dir/ ;;
7435 esac
7436 for ac_exec_ext in '' $ac_executable_extensions; do
7437 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7438 ac_cv_prog_ICOTOOL="$ac_prog"
7439 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7440 break 2
7442 done
7443 done
7444 IFS=$as_save_IFS
7448 ICOTOOL=$ac_cv_prog_ICOTOOL
7449 if test -n "$ICOTOOL"; then
7450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7451 printf "%s\n" "$ICOTOOL" >&6; }
7452 else
7453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7454 printf "%s\n" "no" >&6; }
7458 test -n "$ICOTOOL" && break
7459 done
7460 test -n "$ICOTOOL" || ICOTOOL="false"
7462 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7463 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7465 if test "$CONVERT" = false
7466 then
7467 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7468 else
7469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7470 printf %s "checking for recent enough imagemagick... " >&6; }
7471 convert_version=`convert --version | head -n1`
7472 if test "x$convert_version" != "x"
7473 then
7474 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7475 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7476 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7477 then
7478 CONVERT=false
7481 if test "$CONVERT" = false
7482 then
7483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7484 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7485 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7486 else
7487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7488 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7492 if test "$ICOTOOL" = false
7493 then
7494 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7495 else
7496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7497 printf %s "checking for recent enough icotool... " >&6; }
7498 icotool_version=`icotool --version | head -n1`
7499 if test "x$icotool_version" != "x"
7500 then
7501 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7502 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7503 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7504 then
7505 ICOTOOL=false
7506 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7509 if test "$ICOTOOL" = false
7510 then
7511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7512 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7513 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7514 else
7515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7516 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7520 with_gettext=yes
7521 with_gettextpo=yes
7523 enable_werror=yes
7526 test "x$with_gettext" != xno || MSGFMT=false
7527 if test "$MSGFMT" != "false"
7528 then
7529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7530 printf %s "checking whether msgfmt supports contexts... " >&6; }
7531 if test ${wine_cv_msgfmt_contexts+y}
7532 then :
7533 printf %s "(cached) " >&6
7534 else $as_nop
7535 cat >conftest.po <<EOF
7536 # comment
7537 msgctxt "ctxt"
7538 msgid "id"
7539 msgstr "str"
7541 if $MSGFMT -o /dev/null conftest.po 2>&5
7542 then
7543 wine_cv_msgfmt_contexts=yes
7544 else
7545 wine_cv_msgfmt_contexts=no
7548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7549 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7550 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7552 if test "$MSGFMT" = false
7553 then :
7554 case "x$with_gettext" in
7555 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7556 xno) ;;
7557 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7558 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7559 esac
7560 enable_po=${enable_po:-no}
7564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7565 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7566 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7567 then :
7568 printf %s "(cached) " >&6
7569 else $as_nop
7570 ac_check_lib_save_LIBS=$LIBS
7571 LIBS="-li386 $LIBS"
7572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7573 /* end confdefs.h. */
7575 /* Override any GCC internal prototype to avoid an error.
7576 Use char because int might match the return type of a GCC
7577 builtin and then its argument prototype would still apply. */
7578 char i386_set_ldt ();
7580 main (void)
7582 return i386_set_ldt ();
7584 return 0;
7586 _ACEOF
7587 if ac_fn_c_try_link "$LINENO"
7588 then :
7589 ac_cv_lib_i386_i386_set_ldt=yes
7590 else $as_nop
7591 ac_cv_lib_i386_i386_set_ldt=no
7593 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7594 conftest$ac_exeext conftest.$ac_ext
7595 LIBS=$ac_check_lib_save_LIBS
7597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7598 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7599 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7600 then :
7601 I386_LIBS="-li386"
7606 OPENGL_LIBS=""
7610 # Check whether --enable-largefile was given.
7611 if test ${enable_largefile+y}
7612 then :
7613 enableval=$enable_largefile;
7616 if test "$enable_largefile" != no; then
7618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7619 printf %s "checking for special C compiler options needed for large files... " >&6; }
7620 if test ${ac_cv_sys_largefile_CC+y}
7621 then :
7622 printf %s "(cached) " >&6
7623 else $as_nop
7624 ac_cv_sys_largefile_CC=no
7625 if test "$GCC" != yes; then
7626 ac_save_CC=$CC
7627 while :; do
7628 # IRIX 6.2 and later do not support large files by default,
7629 # so use the C compiler's -n32 option if that helps.
7630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7631 /* end confdefs.h. */
7632 #include <sys/types.h>
7633 /* Check that off_t can represent 2**63 - 1 correctly.
7634 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7635 since some C++ compilers masquerading as C compilers
7636 incorrectly reject 9223372036854775807. */
7637 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7638 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7639 && LARGE_OFF_T % 2147483647 == 1)
7640 ? 1 : -1];
7642 main (void)
7646 return 0;
7648 _ACEOF
7649 if ac_fn_c_try_compile "$LINENO"
7650 then :
7651 break
7653 rm -f core conftest.err conftest.$ac_objext conftest.beam
7654 CC="$CC -n32"
7655 if ac_fn_c_try_compile "$LINENO"
7656 then :
7657 ac_cv_sys_largefile_CC=' -n32'; break
7659 rm -f core conftest.err conftest.$ac_objext conftest.beam
7660 break
7661 done
7662 CC=$ac_save_CC
7663 rm -f conftest.$ac_ext
7666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7667 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7668 if test "$ac_cv_sys_largefile_CC" != no; then
7669 CC=$CC$ac_cv_sys_largefile_CC
7672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7673 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7674 if test ${ac_cv_sys_file_offset_bits+y}
7675 then :
7676 printf %s "(cached) " >&6
7677 else $as_nop
7678 while :; do
7679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7680 /* end confdefs.h. */
7681 #include <sys/types.h>
7682 /* Check that off_t can represent 2**63 - 1 correctly.
7683 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7684 since some C++ compilers masquerading as C compilers
7685 incorrectly reject 9223372036854775807. */
7686 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7687 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7688 && LARGE_OFF_T % 2147483647 == 1)
7689 ? 1 : -1];
7691 main (void)
7695 return 0;
7697 _ACEOF
7698 if ac_fn_c_try_compile "$LINENO"
7699 then :
7700 ac_cv_sys_file_offset_bits=no; break
7702 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7704 /* end confdefs.h. */
7705 #define _FILE_OFFSET_BITS 64
7706 #include <sys/types.h>
7707 /* Check that off_t can represent 2**63 - 1 correctly.
7708 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7709 since some C++ compilers masquerading as C compilers
7710 incorrectly reject 9223372036854775807. */
7711 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7712 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7713 && LARGE_OFF_T % 2147483647 == 1)
7714 ? 1 : -1];
7716 main (void)
7720 return 0;
7722 _ACEOF
7723 if ac_fn_c_try_compile "$LINENO"
7724 then :
7725 ac_cv_sys_file_offset_bits=64; break
7727 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7728 ac_cv_sys_file_offset_bits=unknown
7729 break
7730 done
7732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7733 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7734 case $ac_cv_sys_file_offset_bits in #(
7735 no | unknown) ;;
7737 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7739 esac
7740 rm -rf conftest*
7741 if test $ac_cv_sys_file_offset_bits = unknown; then
7742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7743 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7744 if test ${ac_cv_sys_large_files+y}
7745 then :
7746 printf %s "(cached) " >&6
7747 else $as_nop
7748 while :; do
7749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7750 /* end confdefs.h. */
7751 #include <sys/types.h>
7752 /* Check that off_t can represent 2**63 - 1 correctly.
7753 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7754 since some C++ compilers masquerading as C compilers
7755 incorrectly reject 9223372036854775807. */
7756 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7757 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7758 && LARGE_OFF_T % 2147483647 == 1)
7759 ? 1 : -1];
7761 main (void)
7765 return 0;
7767 _ACEOF
7768 if ac_fn_c_try_compile "$LINENO"
7769 then :
7770 ac_cv_sys_large_files=no; break
7772 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7774 /* end confdefs.h. */
7775 #define _LARGE_FILES 1
7776 #include <sys/types.h>
7777 /* Check that off_t can represent 2**63 - 1 correctly.
7778 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7779 since some C++ compilers masquerading as C compilers
7780 incorrectly reject 9223372036854775807. */
7781 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7782 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7783 && LARGE_OFF_T % 2147483647 == 1)
7784 ? 1 : -1];
7786 main (void)
7790 return 0;
7792 _ACEOF
7793 if ac_fn_c_try_compile "$LINENO"
7794 then :
7795 ac_cv_sys_large_files=1; break
7797 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7798 ac_cv_sys_large_files=unknown
7799 break
7800 done
7802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7803 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7804 case $ac_cv_sys_large_files in #(
7805 no | unknown) ;;
7807 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7809 esac
7810 rm -rf conftest*
7815 ac_header= ac_cache=
7816 for ac_item in $ac_header_c_list
7818 if test $ac_cache; then
7819 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7820 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7821 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7823 ac_header= ac_cache=
7824 elif test $ac_header; then
7825 ac_cache=$ac_item
7826 else
7827 ac_header=$ac_item
7829 done
7838 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7839 then :
7841 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7844 ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
7845 if test "x$ac_cv_header_AL_al_h" = xyes
7846 then :
7847 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
7850 ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
7851 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
7852 then :
7853 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
7856 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7857 if test "x$ac_cv_header_CL_cl_h" = xyes
7858 then :
7859 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7862 ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
7863 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
7864 then :
7865 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
7868 ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
7869 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
7870 then :
7871 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
7874 ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
7875 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
7876 then :
7877 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
7880 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7881 if test "x$ac_cv_header_EGL_egl_h" = xyes
7882 then :
7883 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7886 ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
7887 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
7888 then :
7889 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
7892 ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
7893 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
7894 then :
7895 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
7898 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7899 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7900 then :
7901 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7904 ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
7905 if test "x$ac_cv_header_Security_Security_h" = xyes
7906 then :
7907 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
7910 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
7911 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
7912 then :
7913 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
7916 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
7917 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
7918 then :
7919 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
7922 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7923 if test "x$ac_cv_header_arpa_inet_h" = xyes
7924 then :
7925 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7928 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7929 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7930 then :
7931 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7934 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7935 if test "x$ac_cv_header_asm_types_h" = xyes
7936 then :
7937 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7940 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7941 if test "x$ac_cv_header_asm_user_h" = xyes
7942 then :
7943 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7946 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7947 if test "x$ac_cv_header_elf_h" = xyes
7948 then :
7949 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7952 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7953 if test "x$ac_cv_header_float_h" = xyes
7954 then :
7955 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7958 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7959 if test "x$ac_cv_header_gettext_po_h" = xyes
7960 then :
7961 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7964 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7965 if test "x$ac_cv_header_libproc_h" = xyes
7966 then :
7967 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7970 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7971 if test "x$ac_cv_header_link_h" = xyes
7972 then :
7973 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7976 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7977 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7978 then :
7979 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7982 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7983 if test "x$ac_cv_header_linux_filter_h" = xyes
7984 then :
7985 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7988 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7989 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7990 then :
7991 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7994 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7995 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7996 then :
7997 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
8000 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
8001 if test "x$ac_cv_header_linux_input_h" = xyes
8002 then :
8003 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
8006 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
8007 if test "x$ac_cv_header_linux_ioctl_h" = xyes
8008 then :
8009 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
8012 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
8013 if test "x$ac_cv_header_linux_major_h" = xyes
8014 then :
8015 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
8018 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8019 if test "x$ac_cv_header_linux_param_h" = xyes
8020 then :
8021 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8024 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8025 if test "x$ac_cv_header_linux_serial_h" = xyes
8026 then :
8027 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8030 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8031 if test "x$ac_cv_header_linux_types_h" = xyes
8032 then :
8033 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8036 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8037 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8038 then :
8039 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8042 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8043 if test "x$ac_cv_header_lwp_h" = xyes
8044 then :
8045 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8048 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8049 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8050 then :
8051 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8054 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8055 if test "x$ac_cv_header_mach_mach_h" = xyes
8056 then :
8057 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8060 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8061 if test "x$ac_cv_header_machine_cpu_h" = xyes
8062 then :
8063 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8066 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8067 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8068 then :
8069 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8072 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8073 if test "x$ac_cv_header_mntent_h" = xyes
8074 then :
8075 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8078 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8079 if test "x$ac_cv_header_netdb_h" = xyes
8080 then :
8081 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8084 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8085 if test "x$ac_cv_header_netinet_in_h" = xyes
8086 then :
8087 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8090 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8091 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8092 then :
8093 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8096 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8097 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8098 then :
8099 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8102 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8103 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8104 then :
8105 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8108 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8109 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8110 then :
8111 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8114 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8115 if test "x$ac_cv_header_port_h" = xyes
8116 then :
8117 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8120 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8121 if test "x$ac_cv_header_pthread_h" = xyes
8122 then :
8123 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8126 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8127 if test "x$ac_cv_header_pwd_h" = xyes
8128 then :
8129 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8132 ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8133 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8134 then :
8135 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8138 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8139 if test "x$ac_cv_header_sched_h" = xyes
8140 then :
8141 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8144 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8145 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8146 then :
8147 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8150 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8151 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8152 then :
8153 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8156 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8157 if test "x$ac_cv_header_scsi_sg_h" = xyes
8158 then :
8159 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8162 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8163 if test "x$ac_cv_header_stdint_h" = xyes
8164 then :
8165 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8168 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8169 if test "x$ac_cv_header_sys_attr_h" = xyes
8170 then :
8171 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8174 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8175 if test "x$ac_cv_header_sys_auxv_h" = xyes
8176 then :
8177 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8180 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8181 if test "x$ac_cv_header_sys_cdio_h" = xyes
8182 then :
8183 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8186 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8187 if test "x$ac_cv_header_sys_epoll_h" = xyes
8188 then :
8189 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8192 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8193 if test "x$ac_cv_header_sys_event_h" = xyes
8194 then :
8195 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8198 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8199 if test "x$ac_cv_header_sys_filio_h" = xyes
8200 then :
8201 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8204 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8205 if test "x$ac_cv_header_sys_ipc_h" = xyes
8206 then :
8207 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8210 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8211 if test "x$ac_cv_header_sys_link_h" = xyes
8212 then :
8213 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8216 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8217 if test "x$ac_cv_header_sys_modem_h" = xyes
8218 then :
8219 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8222 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8223 if test "x$ac_cv_header_sys_mtio_h" = xyes
8224 then :
8225 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8228 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8229 if test "x$ac_cv_header_sys_param_h" = xyes
8230 then :
8231 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8234 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8235 if test "x$ac_cv_header_sys_prctl_h" = xyes
8236 then :
8237 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8240 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8241 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8242 then :
8243 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8246 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8247 if test "x$ac_cv_header_sys_queue_h" = xyes
8248 then :
8249 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8252 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8253 if test "x$ac_cv_header_sys_random_h" = xyes
8254 then :
8255 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8258 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8259 if test "x$ac_cv_header_sys_resource_h" = xyes
8260 then :
8261 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8264 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8265 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8266 then :
8267 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8270 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8271 if test "x$ac_cv_header_sys_shm_h" = xyes
8272 then :
8273 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8276 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8277 if test "x$ac_cv_header_sys_signal_h" = xyes
8278 then :
8279 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8282 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8283 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8284 then :
8285 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8288 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8289 if test "x$ac_cv_header_sys_sockio_h" = xyes
8290 then :
8291 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8294 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8295 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8296 then :
8297 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8300 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8301 if test "x$ac_cv_header_sys_strtio_h" = xyes
8302 then :
8303 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8306 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8307 if test "x$ac_cv_header_sys_syscall_h" = xyes
8308 then :
8309 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8312 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8313 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8314 then :
8315 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8318 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8319 if test "x$ac_cv_header_sys_times_h" = xyes
8320 then :
8321 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8324 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8325 if test "x$ac_cv_header_sys_uio_h" = xyes
8326 then :
8327 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8330 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8331 if test "x$ac_cv_header_sys_user_h" = xyes
8332 then :
8333 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8336 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8337 if test "x$ac_cv_header_sys_utsname_h" = xyes
8338 then :
8339 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8342 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8343 if test "x$ac_cv_header_sys_vnode_h" = xyes
8344 then :
8345 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8348 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8349 if test "x$ac_cv_header_sys_xattr_h" = xyes
8350 then :
8351 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8354 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8355 if test "x$ac_cv_header_syscall_h" = xyes
8356 then :
8357 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8360 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8361 if test "x$ac_cv_header_utime_h" = xyes
8362 then :
8363 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8366 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8367 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8368 then :
8369 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8372 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8373 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8374 then :
8375 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8379 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8380 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8381 then :
8383 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8387 if test $ac_cv_header_sys_mkdev_h = no; then
8388 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8389 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8390 then :
8392 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8398 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8399 if test ${ac_cv_header_stat_broken+y}
8400 then :
8401 printf %s "(cached) " >&6
8402 else $as_nop
8403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8404 /* end confdefs.h. */
8405 #include <sys/types.h>
8406 #include <sys/stat.h>
8408 #if defined S_ISBLK && defined S_IFDIR
8409 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8410 #endif
8412 #if defined S_ISBLK && defined S_IFCHR
8413 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8414 #endif
8416 #if defined S_ISLNK && defined S_IFREG
8417 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8418 #endif
8420 #if defined S_ISSOCK && defined S_IFREG
8421 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8422 #endif
8424 _ACEOF
8425 if ac_fn_c_try_compile "$LINENO"
8426 then :
8427 ac_cv_header_stat_broken=no
8428 else $as_nop
8429 ac_cv_header_stat_broken=yes
8431 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8434 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8435 if test $ac_cv_header_stat_broken = yes; then
8437 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8443 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8444 #ifdef HAVE_SYS_PARAM_H
8445 # include <sys/param.h>
8446 #endif
8448 if test "x$ac_cv_header_sys_conf_h" = xyes
8449 then :
8450 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8453 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8454 #ifdef HAVE_SYS_PARAM_H
8455 # include <sys/param.h>
8456 #endif
8458 if test "x$ac_cv_header_sys_mount_h" = xyes
8459 then :
8460 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8463 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8464 #ifdef HAVE_SYS_PARAM_H
8465 # include <sys/param.h>
8466 #endif
8468 if test "x$ac_cv_header_sys_statfs_h" = xyes
8469 then :
8470 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8473 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8474 #ifdef HAVE_SYS_PARAM_H
8475 # include <sys/param.h>
8476 #endif
8478 if test "x$ac_cv_header_sys_user_h" = xyes
8479 then :
8480 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8483 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8484 #ifdef HAVE_SYS_PARAM_H
8485 # include <sys/param.h>
8486 #endif
8488 if test "x$ac_cv_header_sys_vfs_h" = xyes
8489 then :
8490 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8495 saved_sysctl_h_CFLAGS=$CFLAGS
8496 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8497 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8498 #ifdef HAVE_SYS_PARAM_H
8499 # include <sys/param.h>
8500 #endif
8502 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8503 then :
8504 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8508 CFLAGS=$saved_sysctl_h_CFLAGS
8510 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8511 #include <sys/socket.h>
8512 #ifdef HAVE_SYS_SOCKETVAR_H
8513 # include <sys/socketvar.h>
8514 #endif
8515 #ifdef HAVE_NET_ROUTE_H
8516 # include <net/route.h>
8517 #endif
8518 #ifdef HAVE_NETINET_IN_H
8519 # include <netinet/in.h>
8520 #endif
8521 #ifdef HAVE_NETINET_IN_SYSTM_H
8522 # include <netinet/in_systm.h>
8523 #endif
8524 #ifdef HAVE_NET_IF_H
8525 # include <net/if.h>
8526 #endif
8527 #ifdef HAVE_NETINET_IP_H
8528 # include <netinet/ip.h>
8529 #endif
8531 if test "x$ac_cv_header_netinet_ip_h" = xyes
8532 then :
8533 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8536 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8537 #include <sys/socket.h>
8538 #ifdef HAVE_SYS_SOCKETVAR_H
8539 # include <sys/socketvar.h>
8540 #endif
8541 #ifdef HAVE_NET_ROUTE_H
8542 # include <net/route.h>
8543 #endif
8544 #ifdef HAVE_NETINET_IN_H
8545 # include <netinet/in.h>
8546 #endif
8547 #ifdef HAVE_NETINET_IN_SYSTM_H
8548 # include <netinet/in_systm.h>
8549 #endif
8550 #ifdef HAVE_NET_IF_H
8551 # include <net/if.h>
8552 #endif
8553 #ifdef HAVE_NETINET_IP_H
8554 # include <netinet/ip.h>
8555 #endif
8557 if test "x$ac_cv_header_net_if_h" = xyes
8558 then :
8559 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8562 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8563 #include <sys/socket.h>
8564 #ifdef HAVE_SYS_SOCKETVAR_H
8565 # include <sys/socketvar.h>
8566 #endif
8567 #ifdef HAVE_NET_ROUTE_H
8568 # include <net/route.h>
8569 #endif
8570 #ifdef HAVE_NETINET_IN_H
8571 # include <netinet/in.h>
8572 #endif
8573 #ifdef HAVE_NETINET_IN_SYSTM_H
8574 # include <netinet/in_systm.h>
8575 #endif
8576 #ifdef HAVE_NET_IF_H
8577 # include <net/if.h>
8578 #endif
8579 #ifdef HAVE_NETINET_IP_H
8580 # include <netinet/ip.h>
8581 #endif
8583 if test "x$ac_cv_header_net_if_arp_h" = xyes
8584 then :
8585 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8588 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8589 #include <sys/socket.h>
8590 #ifdef HAVE_SYS_SOCKETVAR_H
8591 # include <sys/socketvar.h>
8592 #endif
8593 #ifdef HAVE_NET_ROUTE_H
8594 # include <net/route.h>
8595 #endif
8596 #ifdef HAVE_NETINET_IN_H
8597 # include <netinet/in.h>
8598 #endif
8599 #ifdef HAVE_NETINET_IN_SYSTM_H
8600 # include <netinet/in_systm.h>
8601 #endif
8602 #ifdef HAVE_NET_IF_H
8603 # include <net/if.h>
8604 #endif
8605 #ifdef HAVE_NETINET_IP_H
8606 # include <netinet/ip.h>
8607 #endif
8609 if test "x$ac_cv_header_net_if_dl_h" = xyes
8610 then :
8611 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8614 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8615 #include <sys/socket.h>
8616 #ifdef HAVE_SYS_SOCKETVAR_H
8617 # include <sys/socketvar.h>
8618 #endif
8619 #ifdef HAVE_NET_ROUTE_H
8620 # include <net/route.h>
8621 #endif
8622 #ifdef HAVE_NETINET_IN_H
8623 # include <netinet/in.h>
8624 #endif
8625 #ifdef HAVE_NETINET_IN_SYSTM_H
8626 # include <netinet/in_systm.h>
8627 #endif
8628 #ifdef HAVE_NET_IF_H
8629 # include <net/if.h>
8630 #endif
8631 #ifdef HAVE_NETINET_IP_H
8632 # include <netinet/ip.h>
8633 #endif
8635 if test "x$ac_cv_header_net_if_types_h" = xyes
8636 then :
8637 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8640 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8641 #include <sys/socket.h>
8642 #ifdef HAVE_SYS_SOCKETVAR_H
8643 # include <sys/socketvar.h>
8644 #endif
8645 #ifdef HAVE_NET_ROUTE_H
8646 # include <net/route.h>
8647 #endif
8648 #ifdef HAVE_NETINET_IN_H
8649 # include <netinet/in.h>
8650 #endif
8651 #ifdef HAVE_NETINET_IN_SYSTM_H
8652 # include <netinet/in_systm.h>
8653 #endif
8654 #ifdef HAVE_NET_IF_H
8655 # include <net/if.h>
8656 #endif
8657 #ifdef HAVE_NETINET_IP_H
8658 # include <netinet/ip.h>
8659 #endif
8661 if test "x$ac_cv_header_net_route_h" = xyes
8662 then :
8663 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8666 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8667 #include <sys/socket.h>
8668 #ifdef HAVE_SYS_SOCKETVAR_H
8669 # include <sys/socketvar.h>
8670 #endif
8671 #ifdef HAVE_NET_ROUTE_H
8672 # include <net/route.h>
8673 #endif
8674 #ifdef HAVE_NETINET_IN_H
8675 # include <netinet/in.h>
8676 #endif
8677 #ifdef HAVE_NETINET_IN_SYSTM_H
8678 # include <netinet/in_systm.h>
8679 #endif
8680 #ifdef HAVE_NET_IF_H
8681 # include <net/if.h>
8682 #endif
8683 #ifdef HAVE_NETINET_IP_H
8684 # include <netinet/ip.h>
8685 #endif
8687 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8688 then :
8689 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8692 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8693 #include <sys/socket.h>
8694 #ifdef HAVE_SYS_SOCKETVAR_H
8695 # include <sys/socketvar.h>
8696 #endif
8697 #ifdef HAVE_NET_ROUTE_H
8698 # include <net/route.h>
8699 #endif
8700 #ifdef HAVE_NETINET_IN_H
8701 # include <netinet/in.h>
8702 #endif
8703 #ifdef HAVE_NETINET_IN_SYSTM_H
8704 # include <netinet/in_systm.h>
8705 #endif
8706 #ifdef HAVE_NET_IF_H
8707 # include <net/if.h>
8708 #endif
8709 #ifdef HAVE_NETINET_IP_H
8710 # include <netinet/ip.h>
8711 #endif
8713 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8714 then :
8715 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8718 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8719 #include <sys/socket.h>
8720 #ifdef HAVE_SYS_SOCKETVAR_H
8721 # include <sys/socketvar.h>
8722 #endif
8723 #ifdef HAVE_NET_ROUTE_H
8724 # include <net/route.h>
8725 #endif
8726 #ifdef HAVE_NETINET_IN_H
8727 # include <netinet/in.h>
8728 #endif
8729 #ifdef HAVE_NETINET_IN_SYSTM_H
8730 # include <netinet/in_systm.h>
8731 #endif
8732 #ifdef HAVE_NET_IF_H
8733 # include <net/if.h>
8734 #endif
8735 #ifdef HAVE_NETINET_IP_H
8736 # include <netinet/ip.h>
8737 #endif
8739 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8740 then :
8741 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8744 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8745 #include <sys/socket.h>
8746 #ifdef HAVE_SYS_SOCKETVAR_H
8747 # include <sys/socketvar.h>
8748 #endif
8749 #ifdef HAVE_NET_ROUTE_H
8750 # include <net/route.h>
8751 #endif
8752 #ifdef HAVE_NETINET_IN_H
8753 # include <netinet/in.h>
8754 #endif
8755 #ifdef HAVE_NETINET_IN_SYSTM_H
8756 # include <netinet/in_systm.h>
8757 #endif
8758 #ifdef HAVE_NET_IF_H
8759 # include <net/if.h>
8760 #endif
8761 #ifdef HAVE_NETINET_IP_H
8762 # include <netinet/ip.h>
8763 #endif
8765 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8766 then :
8767 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8770 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8771 #include <sys/socket.h>
8772 #ifdef HAVE_SYS_SOCKETVAR_H
8773 # include <sys/socketvar.h>
8774 #endif
8775 #ifdef HAVE_NET_ROUTE_H
8776 # include <net/route.h>
8777 #endif
8778 #ifdef HAVE_NETINET_IN_H
8779 # include <netinet/in.h>
8780 #endif
8781 #ifdef HAVE_NETINET_IN_SYSTM_H
8782 # include <netinet/in_systm.h>
8783 #endif
8784 #ifdef HAVE_NET_IF_H
8785 # include <net/if.h>
8786 #endif
8787 #ifdef HAVE_NETINET_IP_H
8788 # include <netinet/ip.h>
8789 #endif
8791 if test "x$ac_cv_header_netinet_udp_h" = xyes
8792 then :
8793 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8796 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8797 #include <sys/socket.h>
8798 #ifdef HAVE_SYS_SOCKETVAR_H
8799 # include <sys/socketvar.h>
8800 #endif
8801 #ifdef HAVE_NET_ROUTE_H
8802 # include <net/route.h>
8803 #endif
8804 #ifdef HAVE_NETINET_IN_H
8805 # include <netinet/in.h>
8806 #endif
8807 #ifdef HAVE_NETINET_IN_SYSTM_H
8808 # include <netinet/in_systm.h>
8809 #endif
8810 #ifdef HAVE_NET_IF_H
8811 # include <net/if.h>
8812 #endif
8813 #ifdef HAVE_NETINET_IP_H
8814 # include <netinet/ip.h>
8815 #endif
8817 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8818 then :
8819 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8822 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8823 #include <sys/socket.h>
8824 #ifdef HAVE_SYS_SOCKETVAR_H
8825 # include <sys/socketvar.h>
8826 #endif
8827 #ifdef HAVE_NET_ROUTE_H
8828 # include <net/route.h>
8829 #endif
8830 #ifdef HAVE_NETINET_IN_H
8831 # include <netinet/in.h>
8832 #endif
8833 #ifdef HAVE_NETINET_IN_SYSTM_H
8834 # include <netinet/in_systm.h>
8835 #endif
8836 #ifdef HAVE_NET_IF_H
8837 # include <net/if.h>
8838 #endif
8839 #ifdef HAVE_NETINET_IP_H
8840 # include <netinet/ip.h>
8841 #endif
8843 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8844 then :
8845 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8848 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8849 #include <sys/socket.h>
8850 #ifdef HAVE_SYS_SOCKETVAR_H
8851 # include <sys/socketvar.h>
8852 #endif
8853 #ifdef HAVE_NET_ROUTE_H
8854 # include <net/route.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_NET_IF_H
8863 # include <net/if.h>
8864 #endif
8865 #ifdef HAVE_NETINET_IP_H
8866 # include <netinet/ip.h>
8867 #endif
8869 if test "x$ac_cv_header_sys_un_h" = xyes
8870 then :
8871 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8876 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8877 #include <sys/socket.h>
8878 #ifdef HAVE_SYS_SOCKETVAR_H
8879 # include <sys/socketvar.h>
8880 #endif
8881 #ifdef HAVE_NETINET_IN_H
8882 # include <netinet/in.h>
8883 #endif
8884 #ifdef HAVE_NETINET_IN_SYSTM_H
8885 # include <netinet/in_systm.h>
8886 #endif
8887 #ifdef HAVE_NETINET_IP_H
8888 # include <netinet/ip.h>
8889 #endif
8890 #ifdef HAVE_NETINET_IP_VAR_H
8891 # include <netinet/ip_var.h>
8892 #endif
8893 #ifdef HAVE_NETINET_IP_ICMP_H
8894 # include <netinet/ip_icmp.h>
8895 #endif
8896 #ifdef HAVE_NETINET_UDP_H
8897 # include <netinet/udp.h>
8898 #endif
8899 #ifdef HAVE_NETINET_TCP_H
8900 # include <netinet/tcp.h>
8901 #endif
8903 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8904 then :
8905 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8908 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8909 #include <sys/socket.h>
8910 #ifdef HAVE_SYS_SOCKETVAR_H
8911 # include <sys/socketvar.h>
8912 #endif
8913 #ifdef HAVE_NETINET_IN_H
8914 # include <netinet/in.h>
8915 #endif
8916 #ifdef HAVE_NETINET_IN_SYSTM_H
8917 # include <netinet/in_systm.h>
8918 #endif
8919 #ifdef HAVE_NETINET_IP_H
8920 # include <netinet/ip.h>
8921 #endif
8922 #ifdef HAVE_NETINET_IP_VAR_H
8923 # include <netinet/ip_var.h>
8924 #endif
8925 #ifdef HAVE_NETINET_IP_ICMP_H
8926 # include <netinet/ip_icmp.h>
8927 #endif
8928 #ifdef HAVE_NETINET_UDP_H
8929 # include <netinet/udp.h>
8930 #endif
8931 #ifdef HAVE_NETINET_TCP_H
8932 # include <netinet/tcp.h>
8933 #endif
8935 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8936 then :
8937 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8940 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8941 #include <sys/socket.h>
8942 #ifdef HAVE_SYS_SOCKETVAR_H
8943 # include <sys/socketvar.h>
8944 #endif
8945 #ifdef HAVE_NETINET_IN_H
8946 # include <netinet/in.h>
8947 #endif
8948 #ifdef HAVE_NETINET_IN_SYSTM_H
8949 # include <netinet/in_systm.h>
8950 #endif
8951 #ifdef HAVE_NETINET_IP_H
8952 # include <netinet/ip.h>
8953 #endif
8954 #ifdef HAVE_NETINET_IP_VAR_H
8955 # include <netinet/ip_var.h>
8956 #endif
8957 #ifdef HAVE_NETINET_IP_ICMP_H
8958 # include <netinet/ip_icmp.h>
8959 #endif
8960 #ifdef HAVE_NETINET_UDP_H
8961 # include <netinet/udp.h>
8962 #endif
8963 #ifdef HAVE_NETINET_TCP_H
8964 # include <netinet/tcp.h>
8965 #endif
8967 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8968 then :
8969 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8972 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8973 #include <sys/socket.h>
8974 #ifdef HAVE_SYS_SOCKETVAR_H
8975 # include <sys/socketvar.h>
8976 #endif
8977 #ifdef HAVE_NETINET_IN_H
8978 # include <netinet/in.h>
8979 #endif
8980 #ifdef HAVE_NETINET_IN_SYSTM_H
8981 # include <netinet/in_systm.h>
8982 #endif
8983 #ifdef HAVE_NETINET_IP_H
8984 # include <netinet/ip.h>
8985 #endif
8986 #ifdef HAVE_NETINET_IP_VAR_H
8987 # include <netinet/ip_var.h>
8988 #endif
8989 #ifdef HAVE_NETINET_IP_ICMP_H
8990 # include <netinet/ip_icmp.h>
8991 #endif
8992 #ifdef HAVE_NETINET_UDP_H
8993 # include <netinet/udp.h>
8994 #endif
8995 #ifdef HAVE_NETINET_TCP_H
8996 # include <netinet/tcp.h>
8997 #endif
8999 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
9000 then :
9001 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
9006 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
9007 #include <sys/socket.h>
9008 #ifdef HAVE_ASM_TYPES_H
9009 # include <asm/types.h>
9010 #endif
9011 #ifdef HAVE_LINUX_TYPES_H
9012 # include <linux/types.h>
9013 #endif
9015 if test "x$ac_cv_header_linux_ipx_h" = xyes
9016 then :
9017 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9020 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9021 #include <sys/socket.h>
9022 #ifdef HAVE_ASM_TYPES_H
9023 # include <asm/types.h>
9024 #endif
9025 #ifdef HAVE_LINUX_TYPES_H
9026 # include <linux/types.h>
9027 #endif
9029 if test "x$ac_cv_header_linux_irda_h" = xyes
9030 then :
9031 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9034 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9035 #include <sys/socket.h>
9036 #ifdef HAVE_ASM_TYPES_H
9037 # include <asm/types.h>
9038 #endif
9039 #ifdef HAVE_LINUX_TYPES_H
9040 # include <linux/types.h>
9041 #endif
9043 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9044 then :
9045 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9050 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9051 #include <sys/socket.h>
9052 #ifdef HAVE_NETINET_IN_H
9053 # include <netinet/in.h>
9054 #endif
9055 #ifdef HAVE_ARPA_NAMESER_H
9056 # include <arpa/nameser.h>
9057 #endif
9059 if test "x$ac_cv_header_resolv_h" = xyes
9060 then :
9061 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9066 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9068 if test "x$ac_cv_header_ifaddrs_h" = xyes
9069 then :
9070 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9075 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9077 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9078 then :
9079 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9084 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9085 #ifdef HAVE_SYS_UCONTEXT_H
9086 #include <sys/ucontext.h>
9087 #endif
9089 if test "x$ac_cv_header_sys_thr_h" = xyes
9090 then :
9091 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9096 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9097 #include <pthread.h>
9098 #endif
9100 if test "x$ac_cv_header_pthread_np_h" = xyes
9101 then :
9102 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9107 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9108 #include <sys/types.h>
9109 #ifdef HAVE_ASM_TYPES_H
9110 #include <asm/types.h>
9111 #endif
9113 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9114 then :
9115 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9120 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9121 #include <sys/param.h>
9122 #endif
9123 #include <sys/socket.h>
9124 #ifdef HAVE_SYS_QUEUE_H
9125 #include <sys/queue.h>
9126 #endif
9128 if test "x$ac_cv_header_libprocstat_h" = xyes
9129 then :
9130 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9135 if test "x$ac_cv_header_sys_xattr_h" = xyes
9136 then
9137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9138 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9139 if test ${wine_cv_xattr_extra_args+y}
9140 then :
9141 printf %s "(cached) " >&6
9142 else $as_nop
9143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9144 /* end confdefs.h. */
9145 #include <sys/xattr.h>
9147 main (void)
9149 getxattr("", "", "", 0, 0, 0);
9151 return 0;
9153 _ACEOF
9154 if ac_fn_c_try_compile "$LINENO"
9155 then :
9156 wine_cv_xattr_extra_args=yes
9157 else $as_nop
9158 wine_cv_xattr_extra_args=no
9160 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9163 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9164 test $wine_cv_xattr_extra_args != yes ||
9165 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9170 DLLFLAGS=""
9172 LDDLLFLAGS=""
9174 LDEXECFLAGS=""
9176 EXTRACFLAGS=""
9178 UNIXDLLFLAGS="-fPIC"
9180 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9182 TOP_INSTALL_LIB=""
9184 TOP_INSTALL_DEV=""
9186 WINELOADER_LDFLAGS=""
9188 WINEPRELOADER_LDFLAGS=""
9190 LIBEXT="so"
9191 # Extract the first word of "ldd", so it can be a program name with args.
9192 set dummy ldd; ac_word=$2
9193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9194 printf %s "checking for $ac_word... " >&6; }
9195 if test ${ac_cv_path_LDD+y}
9196 then :
9197 printf %s "(cached) " >&6
9198 else $as_nop
9199 case $LDD in
9200 [\\/]* | ?:[\\/]*)
9201 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9205 as_dummy="/sbin:/usr/sbin:$PATH"
9206 for as_dir in $as_dummy
9208 IFS=$as_save_IFS
9209 case $as_dir in #(((
9210 '') as_dir=./ ;;
9211 */) ;;
9212 *) as_dir=$as_dir/ ;;
9213 esac
9214 for ac_exec_ext in '' $ac_executable_extensions; do
9215 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9216 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9217 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9218 break 2
9220 done
9221 done
9222 IFS=$as_save_IFS
9224 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9226 esac
9228 LDD=$ac_cv_path_LDD
9229 if test -n "$LDD"; then
9230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9231 printf "%s\n" "$LDD" >&6; }
9232 else
9233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9234 printf "%s\n" "no" >&6; }
9238 if test -n "$ac_tool_prefix"; then
9239 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9240 set dummy ${ac_tool_prefix}otool; ac_word=$2
9241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9242 printf %s "checking for $ac_word... " >&6; }
9243 if test ${ac_cv_prog_OTOOL+y}
9244 then :
9245 printf %s "(cached) " >&6
9246 else $as_nop
9247 if test -n "$OTOOL"; then
9248 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9249 else
9250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9251 for as_dir in $PATH
9253 IFS=$as_save_IFS
9254 case $as_dir in #(((
9255 '') as_dir=./ ;;
9256 */) ;;
9257 *) as_dir=$as_dir/ ;;
9258 esac
9259 for ac_exec_ext in '' $ac_executable_extensions; do
9260 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9261 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9262 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9263 break 2
9265 done
9266 done
9267 IFS=$as_save_IFS
9271 OTOOL=$ac_cv_prog_OTOOL
9272 if test -n "$OTOOL"; then
9273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9274 printf "%s\n" "$OTOOL" >&6; }
9275 else
9276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9277 printf "%s\n" "no" >&6; }
9282 if test -z "$ac_cv_prog_OTOOL"; then
9283 ac_ct_OTOOL=$OTOOL
9284 # Extract the first word of "otool", so it can be a program name with args.
9285 set dummy otool; ac_word=$2
9286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9287 printf %s "checking for $ac_word... " >&6; }
9288 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9289 then :
9290 printf %s "(cached) " >&6
9291 else $as_nop
9292 if test -n "$ac_ct_OTOOL"; then
9293 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9294 else
9295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9296 for as_dir in $PATH
9298 IFS=$as_save_IFS
9299 case $as_dir in #(((
9300 '') as_dir=./ ;;
9301 */) ;;
9302 *) as_dir=$as_dir/ ;;
9303 esac
9304 for ac_exec_ext in '' $ac_executable_extensions; do
9305 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9306 ac_cv_prog_ac_ct_OTOOL="otool"
9307 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9308 break 2
9310 done
9311 done
9312 IFS=$as_save_IFS
9316 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9317 if test -n "$ac_ct_OTOOL"; then
9318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9319 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9320 else
9321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9322 printf "%s\n" "no" >&6; }
9325 if test "x$ac_ct_OTOOL" = x; then
9326 OTOOL="otool"
9327 else
9328 case $cross_compiling:$ac_tool_warned in
9329 yes:)
9330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9331 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9332 ac_tool_warned=yes ;;
9333 esac
9334 OTOOL=$ac_ct_OTOOL
9336 else
9337 OTOOL="$ac_cv_prog_OTOOL"
9340 if test -n "$ac_tool_prefix"; then
9341 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9342 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9344 printf %s "checking for $ac_word... " >&6; }
9345 if test ${ac_cv_prog_READELF+y}
9346 then :
9347 printf %s "(cached) " >&6
9348 else $as_nop
9349 if test -n "$READELF"; then
9350 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9351 else
9352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9353 for as_dir in $PATH
9355 IFS=$as_save_IFS
9356 case $as_dir in #(((
9357 '') as_dir=./ ;;
9358 */) ;;
9359 *) as_dir=$as_dir/ ;;
9360 esac
9361 for ac_exec_ext in '' $ac_executable_extensions; do
9362 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9363 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9364 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9365 break 2
9367 done
9368 done
9369 IFS=$as_save_IFS
9373 READELF=$ac_cv_prog_READELF
9374 if test -n "$READELF"; then
9375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9376 printf "%s\n" "$READELF" >&6; }
9377 else
9378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9379 printf "%s\n" "no" >&6; }
9384 if test -z "$ac_cv_prog_READELF"; then
9385 ac_ct_READELF=$READELF
9386 # Extract the first word of "readelf", so it can be a program name with args.
9387 set dummy readelf; ac_word=$2
9388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9389 printf %s "checking for $ac_word... " >&6; }
9390 if test ${ac_cv_prog_ac_ct_READELF+y}
9391 then :
9392 printf %s "(cached) " >&6
9393 else $as_nop
9394 if test -n "$ac_ct_READELF"; then
9395 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9396 else
9397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9398 for as_dir in $PATH
9400 IFS=$as_save_IFS
9401 case $as_dir in #(((
9402 '') as_dir=./ ;;
9403 */) ;;
9404 *) as_dir=$as_dir/ ;;
9405 esac
9406 for ac_exec_ext in '' $ac_executable_extensions; do
9407 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9408 ac_cv_prog_ac_ct_READELF="readelf"
9409 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9410 break 2
9412 done
9413 done
9414 IFS=$as_save_IFS
9418 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9419 if test -n "$ac_ct_READELF"; then
9420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9421 printf "%s\n" "$ac_ct_READELF" >&6; }
9422 else
9423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9424 printf "%s\n" "no" >&6; }
9427 if test "x$ac_ct_READELF" = x; then
9428 READELF="true"
9429 else
9430 case $cross_compiling:$ac_tool_warned in
9431 yes:)
9432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9433 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9434 ac_tool_warned=yes ;;
9435 esac
9436 READELF=$ac_ct_READELF
9438 else
9439 READELF="$ac_cv_prog_READELF"
9442 wine_rules="all:"
9443 SUBDIRS=""
9445 DISABLED_SUBDIRS=""
9447 CONFIGURE_TARGETS=""
9450 wine_fn_config_makefile ()
9452 as_fn_append SUBDIRS " \\$as_nl $1"
9453 eval enable=\$$2
9454 case "$enable" in
9455 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9456 *aarch64*|*arm*|*i386*|*x86_64*)
9457 if test -n "$PE_ARCHS"
9458 then
9459 for i in $PE_ARCHS
9461 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9462 done
9463 else
9464 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9465 fi;;
9466 esac
9469 wine_fn_config_symlink ()
9471 ac_links=$@
9472 as_fn_append wine_rules "
9473 $ac_links:
9474 @./config.status \$@"
9475 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9478 wine_binary="wine"
9479 test "$HOST_ARCH" != x86_64 || wine_binary="wine64"
9480 WINELOADER_PROGRAMS="$wine_binary"
9482 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9484 case $host_os in
9485 cygwin*|mingw32*)
9486 LIBEXT="dll"
9487 EXTRACFLAGS="-D__WINE_PE_BUILD"
9488 case $host_cpu in
9489 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9490 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9491 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9492 then :
9493 printf %s "(cached) " >&6
9494 else $as_nop
9495 ac_wine_try_cflags_saved=$CFLAGS
9496 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9498 /* end confdefs.h. */
9499 int main(int argc, char **argv) { return 0; }
9500 _ACEOF
9501 if ac_fn_c_try_link "$LINENO"
9502 then :
9503 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9504 else $as_nop
9505 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9507 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9508 conftest$ac_exeext conftest.$ac_ext
9509 CFLAGS=$ac_wine_try_cflags_saved
9511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9512 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9513 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9514 then :
9515 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9516 fi ;;
9517 esac
9518 enable_loader=${enable_loader:-no}
9519 enable_server=${enable_server:-no}
9520 with_x=${with_x:-no}
9521 with_pthread=${with_pthread:-no}
9524 darwin*|macosx*)
9525 ac_ext=m
9526 ac_cpp='$OBJCPP $CPPFLAGS'
9527 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9528 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9529 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9531 ac_ext=m
9532 ac_cpp='$OBJCPP $CPPFLAGS'
9533 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9534 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9535 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9536 if test -n "$ac_tool_prefix"; then
9537 for ac_prog in gcc objcc objc cc CC clang
9539 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9540 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9542 printf %s "checking for $ac_word... " >&6; }
9543 if test ${ac_cv_prog_OBJC+y}
9544 then :
9545 printf %s "(cached) " >&6
9546 else $as_nop
9547 if test -n "$OBJC"; then
9548 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9549 else
9550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9551 for as_dir in $PATH
9553 IFS=$as_save_IFS
9554 case $as_dir in #(((
9555 '') as_dir=./ ;;
9556 */) ;;
9557 *) as_dir=$as_dir/ ;;
9558 esac
9559 for ac_exec_ext in '' $ac_executable_extensions; do
9560 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9561 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9562 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9563 break 2
9565 done
9566 done
9567 IFS=$as_save_IFS
9571 OBJC=$ac_cv_prog_OBJC
9572 if test -n "$OBJC"; then
9573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9574 printf "%s\n" "$OBJC" >&6; }
9575 else
9576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9577 printf "%s\n" "no" >&6; }
9581 test -n "$OBJC" && break
9582 done
9584 if test -z "$OBJC"; then
9585 ac_ct_OBJC=$OBJC
9586 for ac_prog in gcc objcc objc cc CC clang
9588 # Extract the first word of "$ac_prog", so it can be a program name with args.
9589 set dummy $ac_prog; ac_word=$2
9590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9591 printf %s "checking for $ac_word... " >&6; }
9592 if test ${ac_cv_prog_ac_ct_OBJC+y}
9593 then :
9594 printf %s "(cached) " >&6
9595 else $as_nop
9596 if test -n "$ac_ct_OBJC"; then
9597 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9598 else
9599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9600 for as_dir in $PATH
9602 IFS=$as_save_IFS
9603 case $as_dir in #(((
9604 '') as_dir=./ ;;
9605 */) ;;
9606 *) as_dir=$as_dir/ ;;
9607 esac
9608 for ac_exec_ext in '' $ac_executable_extensions; do
9609 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9610 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9611 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9612 break 2
9614 done
9615 done
9616 IFS=$as_save_IFS
9620 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9621 if test -n "$ac_ct_OBJC"; then
9622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9623 printf "%s\n" "$ac_ct_OBJC" >&6; }
9624 else
9625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9626 printf "%s\n" "no" >&6; }
9630 test -n "$ac_ct_OBJC" && break
9631 done
9633 if test "x$ac_ct_OBJC" = x; then
9634 OBJC="gcc"
9635 else
9636 case $cross_compiling:$ac_tool_warned in
9637 yes:)
9638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9639 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9640 ac_tool_warned=yes ;;
9641 esac
9642 OBJC=$ac_ct_OBJC
9646 # Provide some information about the compiler.
9647 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9648 set X $ac_compile
9649 ac_compiler=$2
9650 for ac_option in --version -v -V -qversion; do
9651 { { ac_try="$ac_compiler $ac_option >&5"
9652 case "(($ac_try" in
9653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9654 *) ac_try_echo=$ac_try;;
9655 esac
9656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9657 printf "%s\n" "$ac_try_echo"; } >&5
9658 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9659 ac_status=$?
9660 if test -s conftest.err; then
9661 sed '10a\
9662 ... rest of stderr output deleted ...
9663 10q' conftest.err >conftest.er1
9664 cat conftest.er1 >&5
9666 rm -f conftest.er1 conftest.err
9667 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9668 test $ac_status = 0; }
9669 done
9671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9672 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9673 if test ${ac_cv_objc_compiler_gnu+y}
9674 then :
9675 printf %s "(cached) " >&6
9676 else $as_nop
9677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9678 /* end confdefs.h. */
9681 main (void)
9683 #ifndef __GNUC__
9684 choke me
9685 #endif
9688 return 0;
9690 _ACEOF
9691 if ac_fn_objc_try_compile "$LINENO"
9692 then :
9693 ac_compiler_gnu=yes
9694 else $as_nop
9695 ac_compiler_gnu=no
9697 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9698 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9702 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9703 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9705 if test $ac_compiler_gnu = yes; then
9706 GOBJC=yes
9707 else
9708 GOBJC=
9710 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9711 ac_save_OBJCFLAGS=$OBJCFLAGS
9712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9713 printf %s "checking whether $OBJC accepts -g... " >&6; }
9714 if test ${ac_cv_prog_objc_g+y}
9715 then :
9716 printf %s "(cached) " >&6
9717 else $as_nop
9718 ac_save_objc_werror_flag=$ac_objc_werror_flag
9719 ac_objc_werror_flag=yes
9720 ac_cv_prog_objc_g=no
9721 OBJCFLAGS="-g"
9722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9723 /* end confdefs.h. */
9726 main (void)
9730 return 0;
9732 _ACEOF
9733 if ac_fn_objc_try_compile "$LINENO"
9734 then :
9735 ac_cv_prog_objc_g=yes
9736 else $as_nop
9737 OBJCFLAGS=""
9738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9739 /* end confdefs.h. */
9742 main (void)
9746 return 0;
9748 _ACEOF
9749 if ac_fn_objc_try_compile "$LINENO"
9750 then :
9752 else $as_nop
9753 ac_objc_werror_flag=$ac_save_objc_werror_flag
9754 OBJCFLAGS="-g"
9755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9756 /* end confdefs.h. */
9759 main (void)
9763 return 0;
9765 _ACEOF
9766 if ac_fn_objc_try_compile "$LINENO"
9767 then :
9768 ac_cv_prog_objc_g=yes
9770 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9772 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9774 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9775 ac_objc_werror_flag=$ac_save_objc_werror_flag
9777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9778 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9779 if test $ac_test_OBJCFLAGS; then
9780 OBJCFLAGS=$ac_save_OBJCFLAGS
9781 elif test $ac_cv_prog_objc_g = yes; then
9782 if test "$GOBJC" = yes; then
9783 OBJCFLAGS="-g -O2"
9784 else
9785 OBJCFLAGS="-g"
9787 else
9788 if test "$GOBJC" = yes; then
9789 OBJCFLAGS="-O2"
9790 else
9791 OBJCFLAGS=
9794 ac_ext=m
9795 ac_cpp='$OBJCPP $CPPFLAGS'
9796 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9797 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9798 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9801 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
9802 if test "x$ac_cv_header_Metal_Metal_h" = xyes
9803 then :
9804 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
9808 ac_ext=c
9809 ac_cpp='$CPP $CPPFLAGS'
9810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9814 LIBEXT="dylib"
9815 DLLFLAGS="$DLLFLAGS -fPIC"
9816 LDDLLFLAGS="-fPIC"
9817 COREFOUNDATION_LIBS="-framework CoreFoundation"
9819 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9821 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9823 CORESERVICES_LIBS="-framework CoreServices"
9825 APPKIT_LIBS="-framework AppKit"
9827 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9830 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9832 wine_can_build_preloader=yes
9833 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"
9834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9835 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9836 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9837 then :
9838 printf %s "(cached) " >&6
9839 else $as_nop
9840 ac_wine_try_cflags_saved=$CFLAGS
9841 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9843 /* end confdefs.h. */
9844 int main(int argc, char **argv) { return 0; }
9845 _ACEOF
9846 if ac_fn_c_try_link "$LINENO"
9847 then :
9848 ac_cv_cflags__Wl__no_new_main__e__main=yes
9849 else $as_nop
9850 ac_cv_cflags__Wl__no_new_main__e__main=no
9852 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9853 conftest$ac_exeext conftest.$ac_ext
9854 CFLAGS=$ac_wine_try_cflags_saved
9856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9857 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9858 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9859 then :
9860 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9861 { 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
9862 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9863 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9864 then :
9865 printf %s "(cached) " >&6
9866 else $as_nop
9867 ac_wine_try_cflags_saved=$CFLAGS
9868 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9870 /* end confdefs.h. */
9871 int main(int argc, char **argv) { return 0; }
9872 _ACEOF
9873 if ac_fn_c_try_link "$LINENO"
9874 then :
9875 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9876 else $as_nop
9877 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9879 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9880 conftest$ac_exeext conftest.$ac_ext
9881 CFLAGS=$ac_wine_try_cflags_saved
9883 { 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
9884 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9885 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9886 then :
9887 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9888 else $as_nop
9889 wine_can_build_preloader=no
9891 else $as_nop
9892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9893 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9894 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9895 then :
9896 printf %s "(cached) " >&6
9897 else $as_nop
9898 ac_wine_try_cflags_saved=$CFLAGS
9899 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9901 /* end confdefs.h. */
9902 int main(int argc, char **argv) { return 0; }
9903 _ACEOF
9904 if ac_fn_c_try_link "$LINENO"
9905 then :
9906 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9907 else $as_nop
9908 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9910 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9911 conftest$ac_exeext conftest.$ac_ext
9912 CFLAGS=$ac_wine_try_cflags_saved
9914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9915 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9916 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9917 then :
9918 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9919 else $as_nop
9920 wine_can_build_preloader=no
9923 if test "$wine_can_build_preloader" = "yes"
9924 then
9925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9926 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9927 if test ${ac_cv_cflags__Wl__no_pie+y}
9928 then :
9929 printf %s "(cached) " >&6
9930 else $as_nop
9931 ac_wine_try_cflags_saved=$CFLAGS
9932 CFLAGS="$CFLAGS -Wl,-no_pie"
9933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9934 /* end confdefs.h. */
9935 int main(int argc, char **argv) { return 0; }
9936 _ACEOF
9937 if ac_fn_c_try_link "$LINENO"
9938 then :
9939 ac_cv_cflags__Wl__no_pie=yes
9940 else $as_nop
9941 ac_cv_cflags__Wl__no_pie=no
9943 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9944 conftest$ac_exeext conftest.$ac_ext
9945 CFLAGS=$ac_wine_try_cflags_saved
9947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9948 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9949 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9950 then :
9951 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9953 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
9954 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
9955 else
9956 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9959 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
9960 then
9961 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9964 if test "$ac_cv_header_Security_Security_h" = "yes"
9965 then
9966 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9969 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
9970 then
9971 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9973 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9975 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9976 then
9977 OPENCL_LIBS="-framework OpenCL"
9979 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9981 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
9982 then
9983 ac_save_LIBS="$LIBS"
9984 LIBS="$LIBS $IOKIT_LIBS"
9985 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9986 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
9987 then :
9988 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
9992 LIBS="$ac_save_LIBS"
9995 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9996 then
9997 CARBON_LIBS="-framework Carbon"
10000 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10001 then
10002 METAL_LIBS="-framework Metal"
10006 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10007 then
10008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10009 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10010 ac_ext=m
10011 ac_cpp='$OBJCPP $CPPFLAGS'
10012 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10013 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10014 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10017 /* end confdefs.h. */
10018 #include <Metal/Metal.h>
10020 main (void)
10022 id<MTLDevice> device; device.registryID;
10024 return 0;
10026 _ACEOF
10027 if ac_fn_objc_try_compile "$LINENO"
10028 then :
10029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10030 printf "%s\n" "yes" >&6; }
10032 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10034 else $as_nop
10035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10036 printf "%s\n" "no" >&6; }
10038 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10039 ac_ext=c
10040 ac_cpp='$CPP $CPPFLAGS'
10041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10047 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10048 then
10049 ac_save_LIBS="$LIBS"
10050 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10051 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10052 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10053 then :
10054 enable_winemac_drv=${enable_winemac_drv:-yes}
10057 LIBS="$ac_save_LIBS"
10060 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
10061 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10063 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10065 WINELOADER_DEPENDS="wine_info.plist"
10067 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10070 linux-android*)
10072 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10074 DLLFLAGS="$DLLFLAGS -fPIC"
10075 LDDLLFLAGS="-fPIC"
10076 LDEXECFLAGS="-Wl,-pie"
10077 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10079 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10080 if test ${ac_cv_cflags__Wl__z_defs+y}
10081 then :
10082 printf %s "(cached) " >&6
10083 else $as_nop
10084 ac_wine_try_cflags_saved=$CFLAGS
10085 CFLAGS="$CFLAGS -Wl,-z,defs"
10086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10087 /* end confdefs.h. */
10088 int main(int argc, char **argv) { return 0; }
10089 _ACEOF
10090 if ac_fn_c_try_link "$LINENO"
10091 then :
10092 ac_cv_cflags__Wl__z_defs=yes
10093 else $as_nop
10094 ac_cv_cflags__Wl__z_defs=no
10096 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10097 conftest$ac_exeext conftest.$ac_ext
10098 CFLAGS=$ac_wine_try_cflags_saved
10100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10101 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10102 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10103 then :
10104 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10107 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10108 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10109 then :
10110 printf %s "(cached) " >&6
10111 else $as_nop
10112 ac_wine_try_cflags_saved=$CFLAGS
10113 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10115 /* end confdefs.h. */
10116 int main(int argc, char **argv) { return 0; }
10117 _ACEOF
10118 if ac_fn_c_try_link "$LINENO"
10119 then :
10120 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10121 else $as_nop
10122 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10124 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10125 conftest$ac_exeext conftest.$ac_ext
10126 CFLAGS=$ac_wine_try_cflags_saved
10128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10129 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10130 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10131 then :
10132 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10134 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10137 printf %s "checking for -lEGL... " >&6; }
10138 if test ${ac_cv_lib_soname_EGL+y}
10139 then :
10140 printf %s "(cached) " >&6
10141 else $as_nop
10142 ac_check_soname_save_LIBS=$LIBS
10143 LIBS="-lEGL $LIBS"
10144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10145 /* end confdefs.h. */
10147 /* Override any GCC internal prototype to avoid an error.
10148 Use char because int might match the return type of a GCC
10149 builtin and then its argument prototype would still apply. */
10150 char eglGetProcAddress ();
10152 main (void)
10154 return eglGetProcAddress ();
10156 return 0;
10158 _ACEOF
10159 if ac_fn_c_try_link "$LINENO"
10160 then :
10161 case "$LIBEXT" in
10162 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10163 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'` ;;
10164 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10165 if ${ac_cv_lib_soname_EGL:+false} :
10166 then :
10167 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10168 fi ;;
10169 esac
10170 else $as_nop
10171 ac_cv_lib_soname_EGL=
10173 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10174 conftest$ac_exeext conftest.$ac_ext
10175 LIBS=$ac_check_soname_save_LIBS
10177 if ${ac_cv_lib_soname_EGL:+false} :
10178 then :
10179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10180 printf "%s\n" "not found" >&6; }
10182 else $as_nop
10183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10184 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10186 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10191 printf %s "checking for -lGLESv2... " >&6; }
10192 if test ${ac_cv_lib_soname_GLESv2+y}
10193 then :
10194 printf %s "(cached) " >&6
10195 else $as_nop
10196 ac_check_soname_save_LIBS=$LIBS
10197 LIBS="-lGLESv2 $LIBS"
10198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10199 /* end confdefs.h. */
10201 /* Override any GCC internal prototype to avoid an error.
10202 Use char because int might match the return type of a GCC
10203 builtin and then its argument prototype would still apply. */
10204 char glFlush ();
10206 main (void)
10208 return glFlush ();
10210 return 0;
10212 _ACEOF
10213 if ac_fn_c_try_link "$LINENO"
10214 then :
10215 case "$LIBEXT" in
10216 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10217 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'` ;;
10218 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10219 if ${ac_cv_lib_soname_GLESv2:+false} :
10220 then :
10221 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10222 fi ;;
10223 esac
10224 else $as_nop
10225 ac_cv_lib_soname_GLESv2=
10227 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10228 conftest$ac_exeext conftest.$ac_ext
10229 LIBS=$ac_check_soname_save_LIBS
10231 if ${ac_cv_lib_soname_GLESv2:+false} :
10232 then :
10233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10234 printf "%s\n" "not found" >&6; }
10236 else $as_nop
10237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10238 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10240 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10245 if test "x$exec_prefix" = xNONE
10246 then
10247 case $host_cpu in
10248 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10249 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10250 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10251 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10252 esac
10258 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10260 test "$ac_cv_sys_file_offset_bits" = 64 &&
10261 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10263 case $host_cpu in
10264 *i[3456789]86*)
10265 DLLFLAGS="$DLLFLAGS -fno-PIC"
10266 LDDLLFLAGS="-fno-PIC"
10267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10268 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10269 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10270 then :
10271 printf %s "(cached) " >&6
10272 else $as_nop
10273 ac_wine_try_cflags_saved=$CFLAGS
10274 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10276 /* end confdefs.h. */
10277 int main(int argc, char **argv) { return 0; }
10278 _ACEOF
10279 if ac_fn_c_try_link "$LINENO"
10280 then :
10281 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10282 else $as_nop
10283 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10286 conftest$ac_exeext conftest.$ac_ext
10287 CFLAGS=$ac_wine_try_cflags_saved
10289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10290 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10291 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10292 then :
10293 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10297 DLLFLAGS="$DLLFLAGS -fPIC"
10298 LDDLLFLAGS="-fPIC" ;;
10299 esac
10300 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10302 echo '{ global: *; };' >conftest.map
10303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10304 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10305 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10306 then :
10307 printf %s "(cached) " >&6
10308 else $as_nop
10309 ac_wine_try_cflags_saved=$CFLAGS
10310 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10312 /* end confdefs.h. */
10313 int main(int argc, char **argv) { return 0; }
10314 _ACEOF
10315 if ac_fn_c_try_link "$LINENO"
10316 then :
10317 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10318 else $as_nop
10319 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10321 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10322 conftest$ac_exeext conftest.$ac_ext
10323 CFLAGS=$ac_wine_try_cflags_saved
10325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10326 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10327 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10328 then :
10329 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10331 rm -f conftest.map
10333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10334 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10335 if test ${ac_cv_cflags__Wl__z_defs+y}
10336 then :
10337 printf %s "(cached) " >&6
10338 else $as_nop
10339 ac_wine_try_cflags_saved=$CFLAGS
10340 CFLAGS="$CFLAGS -Wl,-z,defs"
10341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10342 /* end confdefs.h. */
10343 int main(int argc, char **argv) { return 0; }
10344 _ACEOF
10345 if ac_fn_c_try_link "$LINENO"
10346 then :
10347 ac_cv_cflags__Wl__z_defs=yes
10348 else $as_nop
10349 ac_cv_cflags__Wl__z_defs=no
10351 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10352 conftest$ac_exeext conftest.$ac_ext
10353 CFLAGS=$ac_wine_try_cflags_saved
10355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10356 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10357 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10358 then :
10359 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10362 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10363 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10364 then :
10365 printf %s "(cached) " >&6
10366 else $as_nop
10367 ac_wine_try_cflags_saved=$CFLAGS
10368 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10370 /* end confdefs.h. */
10371 int main(int argc, char **argv) { return 0; }
10372 _ACEOF
10373 if ac_fn_c_try_link "$LINENO"
10374 then :
10375 ac_cv_cflags__Wl___export_dynamic=yes
10376 else $as_nop
10377 ac_cv_cflags__Wl___export_dynamic=no
10379 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10380 conftest$ac_exeext conftest.$ac_ext
10381 CFLAGS=$ac_wine_try_cflags_saved
10383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10384 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10385 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10386 then :
10387 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10389 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10391 case $host_cpu in
10392 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10394 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10395 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10396 then :
10397 printf %s "(cached) " >&6
10398 else $as_nop
10399 ac_wine_try_cflags_saved=$CFLAGS
10400 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10402 /* end confdefs.h. */
10403 int main(int argc, char **argv) { return 0; }
10404 _ACEOF
10405 if ac_fn_c_try_link "$LINENO"
10406 then :
10407 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10408 else $as_nop
10409 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10411 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10412 conftest$ac_exeext conftest.$ac_ext
10413 CFLAGS=$ac_wine_try_cflags_saved
10415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10416 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10417 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10418 then :
10419 case $host_os in
10420 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10421 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10422 esac
10423 else $as_nop
10424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10425 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10426 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10427 then :
10428 printf %s "(cached) " >&6
10429 else $as_nop
10430 ac_wine_try_cflags_saved=$CFLAGS
10431 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10433 /* end confdefs.h. */
10434 int main(int argc, char **argv) { return 0; }
10435 _ACEOF
10436 if ac_fn_c_try_link "$LINENO"
10437 then :
10438 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10439 else $as_nop
10440 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10442 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10443 conftest$ac_exeext conftest.$ac_ext
10444 CFLAGS=$ac_wine_try_cflags_saved
10446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10447 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10448 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10449 then :
10450 case $host_os in
10451 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10452 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10453 esac
10455 # Extract the first word of "prelink", so it can be a program name with args.
10456 set dummy prelink; ac_word=$2
10457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10458 printf %s "checking for $ac_word... " >&6; }
10459 if test ${ac_cv_path_PRELINK+y}
10460 then :
10461 printf %s "(cached) " >&6
10462 else $as_nop
10463 case $PRELINK in
10464 [\\/]* | ?:[\\/]*)
10465 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10469 for as_dir in /sbin /usr/sbin $PATH
10471 IFS=$as_save_IFS
10472 case $as_dir in #(((
10473 '') as_dir=./ ;;
10474 */) ;;
10475 *) as_dir=$as_dir/ ;;
10476 esac
10477 for ac_exec_ext in '' $ac_executable_extensions; do
10478 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10479 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10480 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10481 break 2
10483 done
10484 done
10485 IFS=$as_save_IFS
10487 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10489 esac
10491 PRELINK=$ac_cv_path_PRELINK
10492 if test -n "$PRELINK"; then
10493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10494 printf "%s\n" "$PRELINK" >&6; }
10495 else
10496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10497 printf "%s\n" "no" >&6; }
10501 if test "x$PRELINK" = xfalse
10502 then
10503 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10507 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10508 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10509 then :
10510 printf %s "(cached) " >&6
10511 else $as_nop
10512 ac_wine_try_cflags_saved=$CFLAGS
10513 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10515 /* end confdefs.h. */
10516 int main(int argc, char **argv) { return 0; }
10517 _ACEOF
10518 if ac_fn_c_try_link "$LINENO"
10519 then :
10520 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10521 else $as_nop
10522 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10524 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10525 conftest$ac_exeext conftest.$ac_ext
10526 CFLAGS=$ac_wine_try_cflags_saved
10528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10529 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10530 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10531 then :
10532 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10535 esac
10536 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10538 LIBWINE_DEPENDS="wine.map"
10540 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10542 esac
10544 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10545 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10546 enable_winemac_drv=${enable_winemac_drv:-no}
10548 PE_ARCHS=""
10550 cross_archs=
10551 if test ${enable_archs+y}
10552 then :
10553 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10554 ac_save_IFS=$IFS
10555 IFS=' ,'
10556 set x $enable_archs
10557 IFS=$ac_save_IFS
10558 shift
10559 for arch
10561 case $arch in
10562 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10563 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10564 esac
10565 done
10566 else $as_nop
10567 if test "x$with_mingw" != xno
10568 then
10569 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10570 case "x$with_mingw" in
10571 x|xyes) ;;
10572 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10573 esac
10577 for wine_arch in $cross_archs
10579 if eval \${${wine_arch}_CC:+false} :
10580 then :
10581 case $wine_arch in
10582 aarch64)
10583 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10585 # Extract the first word of "$ac_prog", so it can be a program name with args.
10586 set dummy $ac_prog; ac_word=$2
10587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10588 printf %s "checking for $ac_word... " >&6; }
10589 if test ${ac_cv_prog_aarch64_CC+y}
10590 then :
10591 printf %s "(cached) " >&6
10592 else $as_nop
10593 if test -n "$aarch64_CC"; then
10594 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10595 else
10596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10597 for as_dir in $PATH
10599 IFS=$as_save_IFS
10600 case $as_dir in #(((
10601 '') as_dir=./ ;;
10602 */) ;;
10603 *) as_dir=$as_dir/ ;;
10604 esac
10605 for ac_exec_ext in '' $ac_executable_extensions; do
10606 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10607 ac_cv_prog_aarch64_CC="$ac_prog"
10608 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10609 break 2
10611 done
10612 done
10613 IFS=$as_save_IFS
10617 aarch64_CC=$ac_cv_prog_aarch64_CC
10618 if test -n "$aarch64_CC"; then
10619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10620 printf "%s\n" "$aarch64_CC" >&6; }
10621 else
10622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10623 printf "%s\n" "no" >&6; }
10627 test -n "$aarch64_CC" && break
10628 done
10629 test -n "$aarch64_CC" || aarch64_CC="false"
10632 arm)
10633 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10635 # Extract the first word of "$ac_prog", so it can be a program name with args.
10636 set dummy $ac_prog; ac_word=$2
10637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10638 printf %s "checking for $ac_word... " >&6; }
10639 if test ${ac_cv_prog_arm_CC+y}
10640 then :
10641 printf %s "(cached) " >&6
10642 else $as_nop
10643 if test -n "$arm_CC"; then
10644 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10645 else
10646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10647 for as_dir in $PATH
10649 IFS=$as_save_IFS
10650 case $as_dir in #(((
10651 '') as_dir=./ ;;
10652 */) ;;
10653 *) as_dir=$as_dir/ ;;
10654 esac
10655 for ac_exec_ext in '' $ac_executable_extensions; do
10656 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10657 ac_cv_prog_arm_CC="$ac_prog"
10658 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10659 break 2
10661 done
10662 done
10663 IFS=$as_save_IFS
10667 arm_CC=$ac_cv_prog_arm_CC
10668 if test -n "$arm_CC"; then
10669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10670 printf "%s\n" "$arm_CC" >&6; }
10671 else
10672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10673 printf "%s\n" "no" >&6; }
10677 test -n "$arm_CC" && break
10678 done
10679 test -n "$arm_CC" || arm_CC="false"
10682 i386)
10683 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 "
10684 for ac_prog in $ac_prefix_list clang
10686 # Extract the first word of "$ac_prog", so it can be a program name with args.
10687 set dummy $ac_prog; ac_word=$2
10688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10689 printf %s "checking for $ac_word... " >&6; }
10690 if test ${ac_cv_prog_i386_CC+y}
10691 then :
10692 printf %s "(cached) " >&6
10693 else $as_nop
10694 if test -n "$i386_CC"; then
10695 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10696 else
10697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10698 for as_dir in $PATH
10700 IFS=$as_save_IFS
10701 case $as_dir in #(((
10702 '') as_dir=./ ;;
10703 */) ;;
10704 *) as_dir=$as_dir/ ;;
10705 esac
10706 for ac_exec_ext in '' $ac_executable_extensions; do
10707 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10708 ac_cv_prog_i386_CC="$ac_prog"
10709 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10710 break 2
10712 done
10713 done
10714 IFS=$as_save_IFS
10718 i386_CC=$ac_cv_prog_i386_CC
10719 if test -n "$i386_CC"; then
10720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10721 printf "%s\n" "$i386_CC" >&6; }
10722 else
10723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10724 printf "%s\n" "no" >&6; }
10728 test -n "$i386_CC" && break
10729 done
10730 test -n "$i386_CC" || i386_CC="false"
10733 x86_64)
10734 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10735 for ac_prog in $ac_prefix_list clang
10737 # Extract the first word of "$ac_prog", so it can be a program name with args.
10738 set dummy $ac_prog; ac_word=$2
10739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10740 printf %s "checking for $ac_word... " >&6; }
10741 if test ${ac_cv_prog_x86_64_CC+y}
10742 then :
10743 printf %s "(cached) " >&6
10744 else $as_nop
10745 if test -n "$x86_64_CC"; then
10746 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10747 else
10748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10749 for as_dir in $PATH
10751 IFS=$as_save_IFS
10752 case $as_dir in #(((
10753 '') as_dir=./ ;;
10754 */) ;;
10755 *) as_dir=$as_dir/ ;;
10756 esac
10757 for ac_exec_ext in '' $ac_executable_extensions; do
10758 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10759 ac_cv_prog_x86_64_CC="$ac_prog"
10760 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10761 break 2
10763 done
10764 done
10765 IFS=$as_save_IFS
10769 x86_64_CC=$ac_cv_prog_x86_64_CC
10770 if test -n "$x86_64_CC"; then
10771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10772 printf "%s\n" "$x86_64_CC" >&6; }
10773 else
10774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10775 printf "%s\n" "no" >&6; }
10779 test -n "$x86_64_CC" && break
10780 done
10781 test -n "$x86_64_CC" || x86_64_CC="false"
10784 esac
10787 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10788 then :
10789 continue
10792 saved_CC=$CC
10793 saved_CFLAGS=$CFLAGS
10795 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10796 eval CC=\$${wine_arch}_CC
10797 eval ${wine_arch}_CFLAGS=\$CFLAGS
10798 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10799 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10801 target=""
10802 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10805 printf %s "checking whether $CC works... " >&6; }
10806 if eval test \${$as_wine_cv_crosscc+y}
10807 then :
10808 printf %s "(cached) " >&6
10809 else $as_nop
10810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10811 /* end confdefs.h. */
10814 main (void)
10818 return 0;
10820 _ACEOF
10821 if ac_fn_c_try_compile "$LINENO"
10822 then :
10823 eval "$as_wine_cv_crosscc=yes"
10824 else $as_nop
10825 eval "$as_wine_cv_crosscc=no"
10827 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10829 eval ac_res=\$$as_wine_cv_crosscc
10830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10831 printf "%s\n" "$ac_res" >&6; }
10832 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10833 then :
10834 set x $CC
10835 shift
10836 while test $# -ge 1
10838 case "$1" in
10839 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10840 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10841 esac
10842 shift
10843 done
10845 llvm_target=$target
10846 llvm_cflags="-fuse-ld=lld"
10847 if test -z "$llvm_target"
10848 then
10849 case $wine_arch in
10850 i386) llvm_target=i686-windows ;;
10851 arm) llvm_target=armv7-windows ;;
10852 *) llvm_target=$wine_arch-windows ;;
10853 esac
10855 case $llvm_target in
10856 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
10857 esac
10858 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
10859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -target $llvm_target $llvm_cflags" >&5
10860 printf %s "checking whether $CC supports -target $llvm_target $llvm_cflags... " >&6; }
10861 if eval test \${$as_ac_var+y}
10862 then :
10863 printf %s "(cached) " >&6
10864 else $as_nop
10865 ac_wine_try_cflags_saved=$CFLAGS
10866 ac_wine_try_cflags_saved_exeext=$ac_exeext
10867 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
10868 ac_exeext=".exe"
10869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10870 /* end confdefs.h. */
10871 int __cdecl mainCRTStartup(void) { return 0; }
10872 _ACEOF
10873 if ac_fn_c_try_link "$LINENO"
10874 then :
10875 eval "$as_ac_var=yes"
10876 else $as_nop
10877 eval "$as_ac_var=no"
10879 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10880 conftest$ac_exeext conftest.$ac_ext
10881 CFLAGS=$ac_wine_try_cflags_saved
10882 ac_exeext=$ac_wine_try_cflags_saved_exeext
10884 eval ac_res=\$$as_ac_var
10885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10886 printf "%s\n" "$ac_res" >&6; }
10887 if eval test \"x\$"$as_ac_var"\" = x"yes"
10888 then :
10889 target=$llvm_target
10890 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10891 as_fn_append ${wine_arch}_EXTRACFLAGS " -target $target"
10892 CFLAGS="$CFLAGS -target $target $llvm_cflags"
10893 fi }
10894 eval "${wine_arch}_TARGET=\$target"
10895 PE_ARCHS="$PE_ARCHS $wine_arch"
10899 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10902 printf %s "checking for $CC option to enable C99 features... " >&6; }
10903 if eval test \${$as_wine_cv_crosscc_c99+y}
10904 then :
10905 printf %s "(cached) " >&6
10906 else $as_nop
10907 eval "$as_wine_cv_crosscc_c99=no"
10908 for arg in '' '-std=gnu99'
10910 test -z "$arg" || CC="$CC $arg"
10911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10912 /* end confdefs.h. */
10913 $ac_c_conftest_c99_program
10914 _ACEOF
10915 if ac_fn_c_try_compile "$LINENO"
10916 then :
10917 eval "$as_wine_cv_crosscc_c99=\$arg"
10918 else $as_nop
10919 eval "$as_wine_cv_crosscc_c99=no"
10921 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10922 eval CC=\$${wine_arch}_CC
10923 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10924 then :
10926 else $as_nop
10927 break
10929 done
10932 eval res=\$$as_wine_cv_crosscc_c99
10933 case "x$res" in
10934 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10935 printf "%s\n" "none needed" >&6; } ;;
10936 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10937 printf "%s\n" "unsupported" >&6; } ;;
10938 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10939 printf "%s\n" "$res" >&6; }
10940 as_fn_append ${wine_arch}_CC " $res" ;;
10941 esac
10944 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10946 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10947 if eval test \${$as_ac_var+y}
10948 then :
10949 printf %s "(cached) " >&6
10950 else $as_nop
10951 ac_wine_try_cflags_saved=$CFLAGS
10952 ac_wine_try_cflags_saved_exeext=$ac_exeext
10953 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
10954 ac_exeext=".exe"
10955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10956 /* end confdefs.h. */
10957 int __cdecl mainCRTStartup(void) { return 0; }
10958 _ACEOF
10959 if ac_fn_c_try_link "$LINENO"
10960 then :
10961 eval "$as_ac_var=yes"
10962 else $as_nop
10963 eval "$as_ac_var=no"
10965 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10966 conftest$ac_exeext conftest.$ac_ext
10967 CFLAGS=$ac_wine_try_cflags_saved
10968 ac_exeext=$ac_wine_try_cflags_saved_exeext
10970 eval ac_res=\$$as_ac_var
10971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10972 printf "%s\n" "$ac_res" >&6; }
10973 if eval test \"x\$"$as_ac_var"\" = x"yes"
10974 then :
10975 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10976 fi }
10977 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10979 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10980 if eval test \${$as_ac_var+y}
10981 then :
10982 printf %s "(cached) " >&6
10983 else $as_nop
10984 ac_wine_try_cflags_saved=$CFLAGS
10985 ac_wine_try_cflags_saved_exeext=$ac_exeext
10986 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
10987 ac_exeext=".exe"
10988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10989 /* end confdefs.h. */
10990 int __cdecl mainCRTStartup(void) { return 0; }
10991 _ACEOF
10992 if ac_fn_c_try_link "$LINENO"
10993 then :
10994 eval "$as_ac_var=yes"
10995 else $as_nop
10996 eval "$as_ac_var=no"
10998 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10999 conftest$ac_exeext conftest.$ac_ext
11000 CFLAGS=$ac_wine_try_cflags_saved
11001 ac_exeext=$ac_wine_try_cflags_saved_exeext
11003 eval ac_res=\$$as_ac_var
11004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11005 printf "%s\n" "$ac_res" >&6; }
11006 if eval test \"x\$"$as_ac_var"\" = x"yes"
11007 then :
11008 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11009 fi }
11010 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
11011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
11012 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
11013 if eval test \${$as_ac_var+y}
11014 then :
11015 printf %s "(cached) " >&6
11016 else $as_nop
11017 ac_wine_try_cflags_saved=$CFLAGS
11018 ac_wine_try_cflags_saved_exeext=$ac_exeext
11019 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
11020 ac_exeext=".exe"
11021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11022 /* end confdefs.h. */
11023 int __cdecl mainCRTStartup(void) { return 0; }
11024 _ACEOF
11025 if ac_fn_c_try_link "$LINENO"
11026 then :
11027 eval "$as_ac_var=yes"
11028 else $as_nop
11029 eval "$as_ac_var=no"
11031 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11032 conftest$ac_exeext conftest.$ac_ext
11033 CFLAGS=$ac_wine_try_cflags_saved
11034 ac_exeext=$ac_wine_try_cflags_saved_exeext
11036 eval ac_res=\$$as_ac_var
11037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11038 printf "%s\n" "$ac_res" >&6; }
11039 if eval test \"x\$"$as_ac_var"\" = x"yes"
11040 then :
11041 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
11042 fi }
11043 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
11044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
11045 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
11046 if eval test \${$as_ac_var+y}
11047 then :
11048 printf %s "(cached) " >&6
11049 else $as_nop
11050 ac_wine_try_cflags_saved=$CFLAGS
11051 ac_wine_try_cflags_saved_exeext=$ac_exeext
11052 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
11053 ac_exeext=".exe"
11054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11055 /* end confdefs.h. */
11056 int __cdecl mainCRTStartup(void) { return 0; }
11057 _ACEOF
11058 if ac_fn_c_try_link "$LINENO"
11059 then :
11060 eval "$as_ac_var=yes"
11061 else $as_nop
11062 eval "$as_ac_var=no"
11064 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11065 conftest$ac_exeext conftest.$ac_ext
11066 CFLAGS=$ac_wine_try_cflags_saved
11067 ac_exeext=$ac_wine_try_cflags_saved_exeext
11069 eval ac_res=\$$as_ac_var
11070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11071 printf "%s\n" "$ac_res" >&6; }
11072 if eval test \"x\$"$as_ac_var"\" = x"yes"
11073 then :
11074 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
11075 fi }
11076 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
11077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
11078 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
11079 if eval test \${$as_ac_var+y}
11080 then :
11081 printf %s "(cached) " >&6
11082 else $as_nop
11083 ac_wine_try_cflags_saved=$CFLAGS
11084 ac_wine_try_cflags_saved_exeext=$ac_exeext
11085 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
11086 ac_exeext=".exe"
11087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11088 /* end confdefs.h. */
11089 int __cdecl mainCRTStartup(void) { return 0; }
11090 _ACEOF
11091 if ac_fn_c_try_link "$LINENO"
11092 then :
11093 eval "$as_ac_var=yes"
11094 else $as_nop
11095 eval "$as_ac_var=no"
11097 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11098 conftest$ac_exeext conftest.$ac_ext
11099 CFLAGS=$ac_wine_try_cflags_saved
11100 ac_exeext=$ac_wine_try_cflags_saved_exeext
11102 eval ac_res=\$$as_ac_var
11103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11104 printf "%s\n" "$ac_res" >&6; }
11105 if eval test \"x\$"$as_ac_var"\" = x"yes"
11106 then :
11107 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
11108 fi }
11109 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
11110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
11111 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
11112 if eval test \${$as_ac_var+y}
11113 then :
11114 printf %s "(cached) " >&6
11115 else $as_nop
11116 ac_wine_try_cflags_saved=$CFLAGS
11117 ac_wine_try_cflags_saved_exeext=$ac_exeext
11118 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
11119 ac_exeext=".exe"
11120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11121 /* end confdefs.h. */
11122 int __cdecl mainCRTStartup(void) { return 0; }
11123 _ACEOF
11124 if ac_fn_c_try_link "$LINENO"
11125 then :
11126 eval "$as_ac_var=yes"
11127 else $as_nop
11128 eval "$as_ac_var=no"
11130 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11131 conftest$ac_exeext conftest.$ac_ext
11132 CFLAGS=$ac_wine_try_cflags_saved
11133 ac_exeext=$ac_wine_try_cflags_saved_exeext
11135 eval ac_res=\$$as_ac_var
11136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11137 printf "%s\n" "$ac_res" >&6; }
11138 if eval test \"x\$"$as_ac_var"\" = x"yes"
11139 then :
11140 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
11141 fi }
11142 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
11143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
11144 printf %s "checking whether $CC supports -Winit-self... " >&6; }
11145 if eval test \${$as_ac_var+y}
11146 then :
11147 printf %s "(cached) " >&6
11148 else $as_nop
11149 ac_wine_try_cflags_saved=$CFLAGS
11150 ac_wine_try_cflags_saved_exeext=$ac_exeext
11151 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11152 ac_exeext=".exe"
11153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11154 /* end confdefs.h. */
11155 int __cdecl mainCRTStartup(void) { return 0; }
11156 _ACEOF
11157 if ac_fn_c_try_link "$LINENO"
11158 then :
11159 eval "$as_ac_var=yes"
11160 else $as_nop
11161 eval "$as_ac_var=no"
11163 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11164 conftest$ac_exeext conftest.$ac_ext
11165 CFLAGS=$ac_wine_try_cflags_saved
11166 ac_exeext=$ac_wine_try_cflags_saved_exeext
11168 eval ac_res=\$$as_ac_var
11169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11170 printf "%s\n" "$ac_res" >&6; }
11171 if eval test \"x\$"$as_ac_var"\" = x"yes"
11172 then :
11173 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11174 fi }
11175 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
11176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11177 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11178 if eval test \${$as_ac_var+y}
11179 then :
11180 printf %s "(cached) " >&6
11181 else $as_nop
11182 ac_wine_try_cflags_saved=$CFLAGS
11183 ac_wine_try_cflags_saved_exeext=$ac_exeext
11184 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11185 ac_exeext=".exe"
11186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11187 /* end confdefs.h. */
11188 int __cdecl mainCRTStartup(void) { return 0; }
11189 _ACEOF
11190 if ac_fn_c_try_link "$LINENO"
11191 then :
11192 eval "$as_ac_var=yes"
11193 else $as_nop
11194 eval "$as_ac_var=no"
11196 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11197 conftest$ac_exeext conftest.$ac_ext
11198 CFLAGS=$ac_wine_try_cflags_saved
11199 ac_exeext=$ac_wine_try_cflags_saved_exeext
11201 eval ac_res=\$$as_ac_var
11202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11203 printf "%s\n" "$ac_res" >&6; }
11204 if eval test \"x\$"$as_ac_var"\" = x"yes"
11205 then :
11206 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11207 fi }
11208 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11210 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11211 if eval test \${$as_ac_var+y}
11212 then :
11213 printf %s "(cached) " >&6
11214 else $as_nop
11215 ac_wine_try_cflags_saved=$CFLAGS
11216 ac_wine_try_cflags_saved_exeext=$ac_exeext
11217 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11218 ac_exeext=".exe"
11219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11220 /* end confdefs.h. */
11221 int __cdecl mainCRTStartup(void) { return 0; }
11222 _ACEOF
11223 if ac_fn_c_try_link "$LINENO"
11224 then :
11225 eval "$as_ac_var=yes"
11226 else $as_nop
11227 eval "$as_ac_var=no"
11229 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11230 conftest$ac_exeext conftest.$ac_ext
11231 CFLAGS=$ac_wine_try_cflags_saved
11232 ac_exeext=$ac_wine_try_cflags_saved_exeext
11234 eval ac_res=\$$as_ac_var
11235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11236 printf "%s\n" "$ac_res" >&6; }
11237 if eval test \"x\$"$as_ac_var"\" = x"yes"
11238 then :
11239 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11240 fi }
11241 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11243 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11244 if eval test \${$as_ac_var+y}
11245 then :
11246 printf %s "(cached) " >&6
11247 else $as_nop
11248 ac_wine_try_cflags_saved=$CFLAGS
11249 ac_wine_try_cflags_saved_exeext=$ac_exeext
11250 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11251 ac_exeext=".exe"
11252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11253 /* end confdefs.h. */
11254 int __cdecl mainCRTStartup(void) { return 0; }
11255 _ACEOF
11256 if ac_fn_c_try_link "$LINENO"
11257 then :
11258 eval "$as_ac_var=yes"
11259 else $as_nop
11260 eval "$as_ac_var=no"
11262 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11263 conftest$ac_exeext conftest.$ac_ext
11264 CFLAGS=$ac_wine_try_cflags_saved
11265 ac_exeext=$ac_wine_try_cflags_saved_exeext
11267 eval ac_res=\$$as_ac_var
11268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11269 printf "%s\n" "$ac_res" >&6; }
11270 if eval test \"x\$"$as_ac_var"\" = x"yes"
11271 then :
11272 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11273 fi }
11274 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11276 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11277 if eval test \${$as_ac_var+y}
11278 then :
11279 printf %s "(cached) " >&6
11280 else $as_nop
11281 ac_wine_try_cflags_saved=$CFLAGS
11282 ac_wine_try_cflags_saved_exeext=$ac_exeext
11283 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11284 ac_exeext=".exe"
11285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11286 /* end confdefs.h. */
11287 int __cdecl mainCRTStartup(void) { return 0; }
11288 _ACEOF
11289 if ac_fn_c_try_link "$LINENO"
11290 then :
11291 eval "$as_ac_var=yes"
11292 else $as_nop
11293 eval "$as_ac_var=no"
11295 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11296 conftest$ac_exeext conftest.$ac_ext
11297 CFLAGS=$ac_wine_try_cflags_saved
11298 ac_exeext=$ac_wine_try_cflags_saved_exeext
11300 eval ac_res=\$$as_ac_var
11301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11302 printf "%s\n" "$ac_res" >&6; }
11303 if eval test \"x\$"$as_ac_var"\" = x"yes"
11304 then :
11305 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11306 fi }
11307 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11309 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11310 if eval test \${$as_ac_var+y}
11311 then :
11312 printf %s "(cached) " >&6
11313 else $as_nop
11314 ac_wine_try_cflags_saved=$CFLAGS
11315 ac_wine_try_cflags_saved_exeext=$ac_exeext
11316 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11317 ac_exeext=".exe"
11318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11319 /* end confdefs.h. */
11320 int __cdecl mainCRTStartup(void) { return 0; }
11321 _ACEOF
11322 if ac_fn_c_try_link "$LINENO"
11323 then :
11324 eval "$as_ac_var=yes"
11325 else $as_nop
11326 eval "$as_ac_var=no"
11328 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11329 conftest$ac_exeext conftest.$ac_ext
11330 CFLAGS=$ac_wine_try_cflags_saved
11331 ac_exeext=$ac_wine_try_cflags_saved_exeext
11333 eval ac_res=\$$as_ac_var
11334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11335 printf "%s\n" "$ac_res" >&6; }
11336 if eval test \"x\$"$as_ac_var"\" = x"yes"
11337 then :
11338 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11339 fi }
11340 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11342 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11343 if eval test \${$as_ac_var+y}
11344 then :
11345 printf %s "(cached) " >&6
11346 else $as_nop
11347 ac_wine_try_cflags_saved=$CFLAGS
11348 ac_wine_try_cflags_saved_exeext=$ac_exeext
11349 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11350 ac_exeext=".exe"
11351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11352 /* end confdefs.h. */
11353 int __cdecl mainCRTStartup(void) { return 0; }
11354 _ACEOF
11355 if ac_fn_c_try_link "$LINENO"
11356 then :
11357 eval "$as_ac_var=yes"
11358 else $as_nop
11359 eval "$as_ac_var=no"
11361 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11362 conftest$ac_exeext conftest.$ac_ext
11363 CFLAGS=$ac_wine_try_cflags_saved
11364 ac_exeext=$ac_wine_try_cflags_saved_exeext
11366 eval ac_res=\$$as_ac_var
11367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11368 printf "%s\n" "$ac_res" >&6; }
11369 if eval test \"x\$"$as_ac_var"\" = x"yes"
11370 then :
11371 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11372 fi }
11373 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11375 printf %s "checking whether $CC supports -Wvla... " >&6; }
11376 if eval test \${$as_ac_var+y}
11377 then :
11378 printf %s "(cached) " >&6
11379 else $as_nop
11380 ac_wine_try_cflags_saved=$CFLAGS
11381 ac_wine_try_cflags_saved_exeext=$ac_exeext
11382 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wvla"
11383 ac_exeext=".exe"
11384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11385 /* end confdefs.h. */
11386 int __cdecl mainCRTStartup(void) { return 0; }
11387 _ACEOF
11388 if ac_fn_c_try_link "$LINENO"
11389 then :
11390 eval "$as_ac_var=yes"
11391 else $as_nop
11392 eval "$as_ac_var=no"
11394 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11395 conftest$ac_exeext conftest.$ac_ext
11396 CFLAGS=$ac_wine_try_cflags_saved
11397 ac_exeext=$ac_wine_try_cflags_saved_exeext
11399 eval ac_res=\$$as_ac_var
11400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11401 printf "%s\n" "$ac_res" >&6; }
11402 if eval test \"x\$"$as_ac_var"\" = x"yes"
11403 then :
11404 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11405 fi }
11406 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11408 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11409 if eval test \${$as_ac_var+y}
11410 then :
11411 printf %s "(cached) " >&6
11412 else $as_nop
11413 ac_wine_try_cflags_saved=$CFLAGS
11414 ac_wine_try_cflags_saved_exeext=$ac_exeext
11415 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11416 ac_exeext=".exe"
11417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11418 /* end confdefs.h. */
11419 int __cdecl mainCRTStartup(void) { return 0; }
11420 _ACEOF
11421 if ac_fn_c_try_link "$LINENO"
11422 then :
11423 eval "$as_ac_var=yes"
11424 else $as_nop
11425 eval "$as_ac_var=no"
11427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11428 conftest$ac_exeext conftest.$ac_ext
11429 CFLAGS=$ac_wine_try_cflags_saved
11430 ac_exeext=$ac_wine_try_cflags_saved_exeext
11432 eval ac_res=\$$as_ac_var
11433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11434 printf "%s\n" "$ac_res" >&6; }
11435 if eval test \"x\$"$as_ac_var"\" = x"yes"
11436 then :
11437 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11438 fi }
11439 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11441 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11442 if eval test \${$as_ac_var+y}
11443 then :
11444 printf %s "(cached) " >&6
11445 else $as_nop
11446 ac_wine_try_cflags_saved=$CFLAGS
11447 ac_wine_try_cflags_saved_exeext=$ac_exeext
11448 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11449 ac_exeext=".exe"
11450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11451 /* end confdefs.h. */
11452 int __cdecl mainCRTStartup(void) { return 0; }
11453 _ACEOF
11454 if ac_fn_c_try_link "$LINENO"
11455 then :
11456 eval "$as_ac_var=yes"
11457 else $as_nop
11458 eval "$as_ac_var=no"
11460 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11461 conftest$ac_exeext conftest.$ac_ext
11462 CFLAGS=$ac_wine_try_cflags_saved
11463 ac_exeext=$ac_wine_try_cflags_saved_exeext
11465 eval ac_res=\$$as_ac_var
11466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11467 printf "%s\n" "$ac_res" >&6; }
11468 if eval test \"x\$"$as_ac_var"\" = x"yes"
11469 then :
11470 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11471 fi }
11472 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11474 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11475 if eval test \${$as_ac_var+y}
11476 then :
11477 printf %s "(cached) " >&6
11478 else $as_nop
11479 ac_wine_try_cflags_saved=$CFLAGS
11480 ac_wine_try_cflags_saved_exeext=$ac_exeext
11481 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11482 ac_exeext=".exe"
11483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11484 /* end confdefs.h. */
11485 int __cdecl mainCRTStartup(void) { return 0; }
11486 _ACEOF
11487 if ac_fn_c_try_link "$LINENO"
11488 then :
11489 eval "$as_ac_var=yes"
11490 else $as_nop
11491 eval "$as_ac_var=no"
11493 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11494 conftest$ac_exeext conftest.$ac_ext
11495 CFLAGS=$ac_wine_try_cflags_saved
11496 ac_exeext=$ac_wine_try_cflags_saved_exeext
11498 eval ac_res=\$$as_ac_var
11499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11500 printf "%s\n" "$ac_res" >&6; }
11501 if eval test \"x\$"$as_ac_var"\" = x"yes"
11502 then :
11503 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11504 fi }
11505 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11507 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11508 if eval test \${$as_ac_var+y}
11509 then :
11510 printf %s "(cached) " >&6
11511 else $as_nop
11512 ac_wine_try_cflags_saved=$CFLAGS
11513 ac_wine_try_cflags_saved_exeext=$ac_exeext
11514 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11515 ac_exeext=".exe"
11516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11517 /* end confdefs.h. */
11518 int __cdecl mainCRTStartup(void) { return 0; }
11519 _ACEOF
11520 if ac_fn_c_try_link "$LINENO"
11521 then :
11522 eval "$as_ac_var=yes"
11523 else $as_nop
11524 eval "$as_ac_var=no"
11526 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11527 conftest$ac_exeext conftest.$ac_ext
11528 CFLAGS=$ac_wine_try_cflags_saved
11529 ac_exeext=$ac_wine_try_cflags_saved_exeext
11531 eval ac_res=\$$as_ac_var
11532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11533 printf "%s\n" "$ac_res" >&6; }
11534 if eval test \"x\$"$as_ac_var"\" = x"yes"
11535 then :
11536 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11537 fi }
11539 case $wine_arch in
11540 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11542 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11543 if eval test \${$as_ac_var+y}
11544 then :
11545 printf %s "(cached) " >&6
11546 else $as_nop
11547 ac_wine_try_cflags_saved=$CFLAGS
11548 ac_wine_try_cflags_saved_exeext=$ac_exeext
11549 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11550 ac_exeext=".exe"
11551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11552 /* end confdefs.h. */
11553 int __cdecl mainCRTStartup(void) { return 0; }
11554 _ACEOF
11555 if ac_fn_c_try_link "$LINENO"
11556 then :
11557 eval "$as_ac_var=yes"
11558 else $as_nop
11559 eval "$as_ac_var=no"
11561 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11562 conftest$ac_exeext conftest.$ac_ext
11563 CFLAGS=$ac_wine_try_cflags_saved
11564 ac_exeext=$ac_wine_try_cflags_saved_exeext
11566 eval ac_res=\$$as_ac_var
11567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11568 printf "%s\n" "$ac_res" >&6; }
11569 if eval test \"x\$"$as_ac_var"\" = x"yes"
11570 then :
11571 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11572 fi }
11573 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11575 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11576 if eval test \${$as_ac_var+y}
11577 then :
11578 printf %s "(cached) " >&6
11579 else $as_nop
11580 ac_wine_try_cflags_saved=$CFLAGS
11581 ac_wine_try_cflags_saved_exeext=$ac_exeext
11582 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wl,--disable-stdcall-fixup"
11583 ac_exeext=".exe"
11584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11585 /* end confdefs.h. */
11586 int __cdecl mainCRTStartup(void) { return 0; }
11587 _ACEOF
11588 if ac_fn_c_try_link "$LINENO"
11589 then :
11590 eval "$as_ac_var=yes"
11591 else $as_nop
11592 eval "$as_ac_var=no"
11594 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11595 conftest$ac_exeext conftest.$ac_ext
11596 CFLAGS=$ac_wine_try_cflags_saved
11597 ac_exeext=$ac_wine_try_cflags_saved_exeext
11599 eval ac_res=\$$as_ac_var
11600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11601 printf "%s\n" "$ac_res" >&6; }
11602 if eval test \"x\$"$as_ac_var"\" = x"yes"
11603 then :
11604 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11605 fi } ;;
11606 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wno-format" | $as_tr_sh`
11607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-format" >&5
11608 printf %s "checking whether $CC supports -Wno-format... " >&6; }
11609 if eval test \${$as_ac_var+y}
11610 then :
11611 printf %s "(cached) " >&6
11612 else $as_nop
11613 ac_wine_try_cflags_saved=$CFLAGS
11614 ac_wine_try_cflags_saved_exeext=$ac_exeext
11615 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11616 ac_exeext=".exe"
11617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11618 /* end confdefs.h. */
11619 int __cdecl mainCRTStartup(void) { return 0; }
11620 _ACEOF
11621 if ac_fn_c_try_link "$LINENO"
11622 then :
11623 eval "$as_ac_var=yes"
11624 else $as_nop
11625 eval "$as_ac_var=no"
11627 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11628 conftest$ac_exeext conftest.$ac_ext
11629 CFLAGS=$ac_wine_try_cflags_saved
11630 ac_exeext=$ac_wine_try_cflags_saved_exeext
11632 eval ac_res=\$$as_ac_var
11633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11634 printf "%s\n" "$ac_res" >&6; }
11635 if eval test \"x\$"$as_ac_var"\" = x"yes"
11636 then :
11637 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-format"
11638 fi }
11639 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11641 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11642 if eval test \${$as_ac_var+y}
11643 then :
11644 printf %s "(cached) " >&6
11645 else $as_nop
11646 ac_wine_try_cflags_saved=$CFLAGS
11647 ac_wine_try_cflags_saved_exeext=$ac_exeext
11648 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11649 ac_exeext=".exe"
11650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11651 /* end confdefs.h. */
11652 int __cdecl mainCRTStartup(void) { return 0; }
11653 _ACEOF
11654 if ac_fn_c_try_link "$LINENO"
11655 then :
11656 eval "$as_ac_var=yes"
11657 else $as_nop
11658 eval "$as_ac_var=no"
11660 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11661 conftest$ac_exeext conftest.$ac_ext
11662 CFLAGS=$ac_wine_try_cflags_saved
11663 ac_exeext=$ac_wine_try_cflags_saved_exeext
11665 eval ac_res=\$$as_ac_var
11666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11667 printf "%s\n" "$ac_res" >&6; }
11668 if eval test \"x\$"$as_ac_var"\" = x"yes"
11669 then :
11670 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11671 fi }
11672 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11674 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11675 if eval test \${$as_ac_var+y}
11676 then :
11677 printf %s "(cached) " >&6
11678 else $as_nop
11679 ac_wine_try_cflags_saved=$CFLAGS
11680 ac_wine_try_cflags_saved_exeext=$ac_exeext
11681 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11682 ac_exeext=".exe"
11683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11684 /* end confdefs.h. */
11685 int __cdecl mainCRTStartup(void) { return 0; }
11686 _ACEOF
11687 if ac_fn_c_try_link "$LINENO"
11688 then :
11689 eval "$as_ac_var=yes"
11690 else $as_nop
11691 eval "$as_ac_var=no"
11693 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11694 conftest$ac_exeext conftest.$ac_ext
11695 CFLAGS=$ac_wine_try_cflags_saved
11696 ac_exeext=$ac_wine_try_cflags_saved_exeext
11698 eval ac_res=\$$as_ac_var
11699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11700 printf "%s\n" "$ac_res" >&6; }
11701 if eval test \"x\$"$as_ac_var"\" = x"yes"
11702 then :
11703 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11704 fi }
11705 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11707 printf %s "checking whether $CC supports -mcx16... " >&6; }
11708 if eval test \${$as_ac_var+y}
11709 then :
11710 printf %s "(cached) " >&6
11711 else $as_nop
11712 ac_wine_try_cflags_saved=$CFLAGS
11713 ac_wine_try_cflags_saved_exeext=$ac_exeext
11714 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -mcx16"
11715 ac_exeext=".exe"
11716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11717 /* end confdefs.h. */
11718 int __cdecl mainCRTStartup(void) { return 0; }
11719 _ACEOF
11720 if ac_fn_c_try_link "$LINENO"
11721 then :
11722 eval "$as_ac_var=yes"
11723 else $as_nop
11724 eval "$as_ac_var=no"
11726 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11727 conftest$ac_exeext conftest.$ac_ext
11728 CFLAGS=$ac_wine_try_cflags_saved
11729 ac_exeext=$ac_wine_try_cflags_saved_exeext
11731 eval ac_res=\$$as_ac_var
11732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11733 printf "%s\n" "$ac_res" >&6; }
11734 if eval test \"x\$"$as_ac_var"\" = x"yes"
11735 then :
11736 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11737 fi } ;;
11738 aarch64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wno-format" | $as_tr_sh`
11739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-format" >&5
11740 printf %s "checking whether $CC supports -Wno-format... " >&6; }
11741 if eval test \${$as_ac_var+y}
11742 then :
11743 printf %s "(cached) " >&6
11744 else $as_nop
11745 ac_wine_try_cflags_saved=$CFLAGS
11746 ac_wine_try_cflags_saved_exeext=$ac_exeext
11747 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11748 ac_exeext=".exe"
11749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11750 /* end confdefs.h. */
11751 int __cdecl mainCRTStartup(void) { return 0; }
11752 _ACEOF
11753 if ac_fn_c_try_link "$LINENO"
11754 then :
11755 eval "$as_ac_var=yes"
11756 else $as_nop
11757 eval "$as_ac_var=no"
11759 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11760 conftest$ac_exeext conftest.$ac_ext
11761 CFLAGS=$ac_wine_try_cflags_saved
11762 ac_exeext=$ac_wine_try_cflags_saved_exeext
11764 eval ac_res=\$$as_ac_var
11765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11766 printf "%s\n" "$ac_res" >&6; }
11767 if eval test \"x\$"$as_ac_var"\" = x"yes"
11768 then :
11769 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-format"
11770 fi } ;;
11771 esac
11773 wine_crossdebug=$CROSSDEBUG
11774 if test -z "$wine_crossdebug"
11775 then
11776 for ac_flag in $CFLAGS; do
11777 case $ac_flag in
11778 -gdwarf*) wine_crossdebug=dwarf ;;
11779 -gcodeview) wine_crossdebug=pdb ;;
11780 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11781 esac
11782 done
11785 ac_debug_format_seen=""
11786 for ac_flag in $CFLAGS; do
11787 case $ac_flag in
11788 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11789 esac
11790 done
11791 if test "x$ac_debug_format_seen" = x
11792 then
11793 case $wine_crossdebug in
11794 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11796 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11797 if eval test \${$as_ac_var+y}
11798 then :
11799 printf %s "(cached) " >&6
11800 else $as_nop
11801 ac_wine_try_cflags_saved=$CFLAGS
11802 ac_wine_try_cflags_saved_exeext=$ac_exeext
11803 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11804 ac_exeext=".exe"
11805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11806 /* end confdefs.h. */
11807 int __cdecl mainCRTStartup(void) { return 0; }
11808 _ACEOF
11809 if ac_fn_c_try_link "$LINENO"
11810 then :
11811 eval "$as_ac_var=yes"
11812 else $as_nop
11813 eval "$as_ac_var=no"
11815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11816 conftest$ac_exeext conftest.$ac_ext
11817 CFLAGS=$ac_wine_try_cflags_saved
11818 ac_exeext=$ac_wine_try_cflags_saved_exeext
11820 eval ac_res=\$$as_ac_var
11821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11822 printf "%s\n" "$ac_res" >&6; }
11823 if eval test \"x\$"$as_ac_var"\" = x"yes"
11824 then :
11825 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11826 fi } ;;
11827 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11829 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11830 if eval test \${$as_ac_var+y}
11831 then :
11832 printf %s "(cached) " >&6
11833 else $as_nop
11834 ac_wine_try_cflags_saved=$CFLAGS
11835 ac_wine_try_cflags_saved_exeext=$ac_exeext
11836 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11837 ac_exeext=".exe"
11838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11839 /* end confdefs.h. */
11840 int __cdecl mainCRTStartup(void) { return 0; }
11841 _ACEOF
11842 if ac_fn_c_try_link "$LINENO"
11843 then :
11844 eval "$as_ac_var=yes"
11845 else $as_nop
11846 eval "$as_ac_var=no"
11848 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11849 conftest$ac_exeext conftest.$ac_ext
11850 CFLAGS=$ac_wine_try_cflags_saved
11851 ac_exeext=$ac_wine_try_cflags_saved_exeext
11853 eval ac_res=\$$as_ac_var
11854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11855 printf "%s\n" "$ac_res" >&6; }
11856 if eval test \"x\$"$as_ac_var"\" = x"yes"
11857 then :
11858 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11859 fi } ;;
11860 esac
11862 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11864 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11866 printf %s "checking whether $CC supports -Werror... " >&6; }
11867 if eval test \${$as_ac_var+y}
11868 then :
11869 printf %s "(cached) " >&6
11870 else $as_nop
11871 ac_wine_try_cflags_saved=$CFLAGS
11872 ac_wine_try_cflags_saved_exeext=$ac_exeext
11873 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror"
11874 ac_exeext=".exe"
11875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11876 /* end confdefs.h. */
11877 int __cdecl mainCRTStartup(void) { return 0; }
11878 _ACEOF
11879 if ac_fn_c_try_link "$LINENO"
11880 then :
11881 eval "$as_ac_var=yes"
11882 else $as_nop
11883 eval "$as_ac_var=no"
11885 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11886 conftest$ac_exeext conftest.$ac_ext
11887 CFLAGS=$ac_wine_try_cflags_saved
11888 ac_exeext=$ac_wine_try_cflags_saved_exeext
11890 eval ac_res=\$$as_ac_var
11891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11892 printf "%s\n" "$ac_res" >&6; }
11893 if eval test \"x\$"$as_ac_var"\" = x"yes"
11894 then :
11895 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11896 fi }
11897 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11899 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11900 if eval test \${$as_ac_var+y}
11901 then :
11902 printf %s "(cached) " >&6
11903 else $as_nop
11904 ac_wine_try_cflags_saved=$CFLAGS
11905 ac_wine_try_cflags_saved_exeext=$ac_exeext
11906 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
11907 ac_exeext=".exe"
11908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11909 /* end confdefs.h. */
11910 int __cdecl mainCRTStartup(void) { return 0; }
11911 _ACEOF
11912 if ac_fn_c_try_link "$LINENO"
11913 then :
11914 eval "$as_ac_var=yes"
11915 else $as_nop
11916 eval "$as_ac_var=no"
11918 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11919 conftest$ac_exeext conftest.$ac_ext
11920 CFLAGS=$ac_wine_try_cflags_saved
11921 ac_exeext=$ac_wine_try_cflags_saved_exeext
11923 eval ac_res=\$$as_ac_var
11924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11925 printf "%s\n" "$ac_res" >&6; }
11926 if eval test \"x\$"$as_ac_var"\" = x"yes"
11927 then :
11928 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11929 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11930 fi }
11932 CC=$saved_CC
11933 CFLAGS=$saved_CFLAGS
11934 done
11936 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11937 then
11938 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11941 if test "x$PE_ARCHS" = "x"
11942 then :
11943 case "x$with_mingw" in
11944 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11945 xno) ;;
11946 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11947 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11948 esac
11953 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11954 then
11955 case "$host_cpu" in
11956 i[3456789]86*)
11957 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11959 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11960 esac
11961 for ac_prog in $ac_prefix_list
11963 # Extract the first word of "$ac_prog", so it can be a program name with args.
11964 set dummy $ac_prog; ac_word=$2
11965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11966 printf %s "checking for $ac_word... " >&6; }
11967 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11968 then :
11969 printf %s "(cached) " >&6
11970 else $as_nop
11971 if test -n "$MINGW_PKG_CONFIG"; then
11972 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11973 else
11974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11975 for as_dir in $PATH
11977 IFS=$as_save_IFS
11978 case $as_dir in #(((
11979 '') as_dir=./ ;;
11980 */) ;;
11981 *) as_dir=$as_dir/ ;;
11982 esac
11983 for ac_exec_ext in '' $ac_executable_extensions; do
11984 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11985 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11986 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11987 break 2
11989 done
11990 done
11991 IFS=$as_save_IFS
11995 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11996 if test -n "$MINGW_PKG_CONFIG"; then
11997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11998 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11999 else
12000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12001 printf "%s\n" "no" >&6; }
12005 test -n "$MINGW_PKG_CONFIG" && break
12006 done
12007 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12009 if ${FAUDIO_PE_CFLAGS:+false} :
12010 then :
12011 if test ${MINGW_PKG_CONFIG+y}
12012 then :
12013 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
12016 if ${FAUDIO_PE_LIBS:+false} :
12017 then :
12018 if test ${MINGW_PKG_CONFIG+y}
12019 then :
12020 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
12023 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12024 ac_save_CPPFLAGS=$CPPFLAGS
12025 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12027 printf %s "checking for MinGW FAudio.h... " >&6; }
12028 if test ${ac_cv_mingw_header_FAudio_h+y}
12029 then :
12030 printf %s "(cached) " >&6
12031 else $as_nop
12032 ac_wine_check_headers_saved_cc=$CC
12033 ac_wine_check_headers_saved_exeext=$ac_exeext
12034 eval CC=\$${wine_arch}_CC
12035 ac_exeext=".exe"
12036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12037 /* end confdefs.h. */
12039 #include <FAudio.h>
12041 main (void)
12045 return 0;
12047 _ACEOF
12048 if ac_fn_c_try_compile "$LINENO"
12049 then :
12050 ac_cv_mingw_header_FAudio_h=yes
12051 else $as_nop
12052 ac_cv_mingw_header_FAudio_h=no
12054 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12055 CC=$ac_wine_check_headers_saved_cc
12056 ac_exeext=$ac_wine_check_headers_saved_exeext
12058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12059 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12060 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12061 then :
12062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12063 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12064 if test ${ac_cv_mingw_lib_FAudio+y}
12065 then :
12066 printf %s "(cached) " >&6
12067 else $as_nop
12068 ac_wine_check_headers_saved_cc=$CC
12069 ac_wine_check_headers_saved_exeext=$ac_exeext
12070 ac_wine_check_headers_saved_libs=$LIBS
12071 eval CC=\$${wine_arch}_CC
12072 ac_exeext=".exe"
12073 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12075 /* end confdefs.h. */
12077 /* Override any GCC internal prototype to avoid an error.
12078 Use char because int might match the return type of a GCC
12079 builtin and then its argument prototype would still apply. */
12080 char FAudio_CommitOperationSet ();
12082 main (void)
12084 return FAudio_CommitOperationSet ();
12086 return 0;
12088 _ACEOF
12089 if ac_fn_c_try_link "$LINENO"
12090 then :
12091 ac_cv_mingw_lib_FAudio=yes
12092 else $as_nop
12093 ac_cv_mingw_lib_FAudio=no
12095 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12096 conftest$ac_exeext conftest.$ac_ext
12097 CC=$ac_wine_check_headers_saved_cc
12098 ac_exeext=$ac_wine_check_headers_saved_exeext
12099 LIBS=$ac_wine_check_headers_saved_libs
12101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12102 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12103 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12104 then :
12106 else $as_nop
12107 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12109 else $as_nop
12110 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12112 CPPFLAGS=$ac_save_CPPFLAGS
12114 if test "x$FAUDIO_PE_LIBS" = "x"
12115 then
12116 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12119 if ${JPEG_PE_CFLAGS:+false} :
12120 then :
12121 if test ${MINGW_PKG_CONFIG+y}
12122 then :
12123 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12126 if ${JPEG_PE_LIBS:+false} :
12127 then :
12128 if test ${MINGW_PKG_CONFIG+y}
12129 then :
12130 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12134 ac_save_CPPFLAGS=$CPPFLAGS
12135 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12137 printf %s "checking for MinGW jpeglib.h... " >&6; }
12138 if test ${ac_cv_mingw_header_jpeglib_h+y}
12139 then :
12140 printf %s "(cached) " >&6
12141 else $as_nop
12142 ac_wine_check_headers_saved_cc=$CC
12143 ac_wine_check_headers_saved_exeext=$ac_exeext
12144 eval CC=\$${wine_arch}_CC
12145 ac_exeext=".exe"
12146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12147 /* end confdefs.h. */
12148 #include <stddef.h>
12149 #include <stdio.h>
12150 #include <jpeglib.h>
12152 main (void)
12156 return 0;
12158 _ACEOF
12159 if ac_fn_c_try_compile "$LINENO"
12160 then :
12161 ac_cv_mingw_header_jpeglib_h=yes
12162 else $as_nop
12163 ac_cv_mingw_header_jpeglib_h=no
12165 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12166 CC=$ac_wine_check_headers_saved_cc
12167 ac_exeext=$ac_wine_check_headers_saved_exeext
12169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12170 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12171 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12172 then :
12173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12174 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12175 if test ${ac_cv_mingw_lib_jpeg+y}
12176 then :
12177 printf %s "(cached) " >&6
12178 else $as_nop
12179 ac_wine_check_headers_saved_cc=$CC
12180 ac_wine_check_headers_saved_exeext=$ac_exeext
12181 ac_wine_check_headers_saved_libs=$LIBS
12182 eval CC=\$${wine_arch}_CC
12183 ac_exeext=".exe"
12184 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12186 /* end confdefs.h. */
12188 /* Override any GCC internal prototype to avoid an error.
12189 Use char because int might match the return type of a GCC
12190 builtin and then its argument prototype would still apply. */
12191 char jpeg_start_decompress ();
12193 main (void)
12195 return jpeg_start_decompress ();
12197 return 0;
12199 _ACEOF
12200 if ac_fn_c_try_link "$LINENO"
12201 then :
12202 ac_cv_mingw_lib_jpeg=yes
12203 else $as_nop
12204 ac_cv_mingw_lib_jpeg=no
12206 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12207 conftest$ac_exeext conftest.$ac_ext
12208 CC=$ac_wine_check_headers_saved_cc
12209 ac_exeext=$ac_wine_check_headers_saved_exeext
12210 LIBS=$ac_wine_check_headers_saved_libs
12212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12213 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12214 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12215 then :
12217 else $as_nop
12218 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12220 else $as_nop
12221 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12223 CPPFLAGS=$ac_save_CPPFLAGS
12225 if test "x$JPEG_PE_LIBS" = "x"
12226 then
12227 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12230 if ${LCMS2_PE_CFLAGS:+false} :
12231 then :
12232 if test ${MINGW_PKG_CONFIG+y}
12233 then :
12234 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12237 if ${LCMS2_PE_LIBS:+false} :
12238 then :
12239 if test ${MINGW_PKG_CONFIG+y}
12240 then :
12241 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12244 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12245 ac_save_CPPFLAGS=$CPPFLAGS
12246 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12248 printf %s "checking for MinGW lcms2.h... " >&6; }
12249 if test ${ac_cv_mingw_header_lcms2_h+y}
12250 then :
12251 printf %s "(cached) " >&6
12252 else $as_nop
12253 ac_wine_check_headers_saved_cc=$CC
12254 ac_wine_check_headers_saved_exeext=$ac_exeext
12255 eval CC=\$${wine_arch}_CC
12256 ac_exeext=".exe"
12257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12258 /* end confdefs.h. */
12260 #include <lcms2.h>
12262 main (void)
12266 return 0;
12268 _ACEOF
12269 if ac_fn_c_try_compile "$LINENO"
12270 then :
12271 ac_cv_mingw_header_lcms2_h=yes
12272 else $as_nop
12273 ac_cv_mingw_header_lcms2_h=no
12275 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12276 CC=$ac_wine_check_headers_saved_cc
12277 ac_exeext=$ac_wine_check_headers_saved_exeext
12279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12280 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12281 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12282 then :
12283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12284 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12285 if test ${ac_cv_mingw_lib_lcms2+y}
12286 then :
12287 printf %s "(cached) " >&6
12288 else $as_nop
12289 ac_wine_check_headers_saved_cc=$CC
12290 ac_wine_check_headers_saved_exeext=$ac_exeext
12291 ac_wine_check_headers_saved_libs=$LIBS
12292 eval CC=\$${wine_arch}_CC
12293 ac_exeext=".exe"
12294 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12296 /* end confdefs.h. */
12298 /* Override any GCC internal prototype to avoid an error.
12299 Use char because int might match the return type of a GCC
12300 builtin and then its argument prototype would still apply. */
12301 char cmsOpenProfileFromFile ();
12303 main (void)
12305 return cmsOpenProfileFromFile ();
12307 return 0;
12309 _ACEOF
12310 if ac_fn_c_try_link "$LINENO"
12311 then :
12312 ac_cv_mingw_lib_lcms2=yes
12313 else $as_nop
12314 ac_cv_mingw_lib_lcms2=no
12316 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12317 conftest$ac_exeext conftest.$ac_ext
12318 CC=$ac_wine_check_headers_saved_cc
12319 ac_exeext=$ac_wine_check_headers_saved_exeext
12320 LIBS=$ac_wine_check_headers_saved_libs
12322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12323 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12324 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12325 then :
12327 else $as_nop
12328 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12330 else $as_nop
12331 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12333 CPPFLAGS=$ac_save_CPPFLAGS
12335 if test "x$LCMS2_PE_LIBS" = "x"
12336 then
12337 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12340 if ${MPG123_PE_CFLAGS:+false} :
12341 then :
12342 if test ${MINGW_PKG_CONFIG+y}
12343 then :
12344 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12347 if ${MPG123_PE_LIBS:+false} :
12348 then :
12349 if test ${MINGW_PKG_CONFIG+y}
12350 then :
12351 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12354 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12355 ac_save_CPPFLAGS=$CPPFLAGS
12356 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12358 printf %s "checking for MinGW mpg123.h... " >&6; }
12359 if test ${ac_cv_mingw_header_mpg123_h+y}
12360 then :
12361 printf %s "(cached) " >&6
12362 else $as_nop
12363 ac_wine_check_headers_saved_cc=$CC
12364 ac_wine_check_headers_saved_exeext=$ac_exeext
12365 eval CC=\$${wine_arch}_CC
12366 ac_exeext=".exe"
12367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12368 /* end confdefs.h. */
12370 #include <mpg123.h>
12372 main (void)
12376 return 0;
12378 _ACEOF
12379 if ac_fn_c_try_compile "$LINENO"
12380 then :
12381 ac_cv_mingw_header_mpg123_h=yes
12382 else $as_nop
12383 ac_cv_mingw_header_mpg123_h=no
12385 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12386 CC=$ac_wine_check_headers_saved_cc
12387 ac_exeext=$ac_wine_check_headers_saved_exeext
12389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12390 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12391 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12392 then :
12393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12394 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12395 if test ${ac_cv_mingw_lib_mpg123+y}
12396 then :
12397 printf %s "(cached) " >&6
12398 else $as_nop
12399 ac_wine_check_headers_saved_cc=$CC
12400 ac_wine_check_headers_saved_exeext=$ac_exeext
12401 ac_wine_check_headers_saved_libs=$LIBS
12402 eval CC=\$${wine_arch}_CC
12403 ac_exeext=".exe"
12404 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12406 /* end confdefs.h. */
12408 /* Override any GCC internal prototype to avoid an error.
12409 Use char because int might match the return type of a GCC
12410 builtin and then its argument prototype would still apply. */
12411 char mpg123_feed ();
12413 main (void)
12415 return mpg123_feed ();
12417 return 0;
12419 _ACEOF
12420 if ac_fn_c_try_link "$LINENO"
12421 then :
12422 ac_cv_mingw_lib_mpg123=yes
12423 else $as_nop
12424 ac_cv_mingw_lib_mpg123=no
12426 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12427 conftest$ac_exeext conftest.$ac_ext
12428 CC=$ac_wine_check_headers_saved_cc
12429 ac_exeext=$ac_wine_check_headers_saved_exeext
12430 LIBS=$ac_wine_check_headers_saved_libs
12432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12433 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12434 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12435 then :
12437 else $as_nop
12438 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12440 else $as_nop
12441 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12443 CPPFLAGS=$ac_save_CPPFLAGS
12445 if test "x$MPG123_PE_LIBS" = "x"
12446 then
12447 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12450 if ${PNG_PE_CFLAGS:+false} :
12451 then :
12452 if test ${MINGW_PKG_CONFIG+y}
12453 then :
12454 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12457 if ${PNG_PE_LIBS:+false} :
12458 then :
12459 if test ${MINGW_PKG_CONFIG+y}
12460 then :
12461 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12465 ac_save_CPPFLAGS=$CPPFLAGS
12466 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12468 printf %s "checking for MinGW png.h... " >&6; }
12469 if test ${ac_cv_mingw_header_png_h+y}
12470 then :
12471 printf %s "(cached) " >&6
12472 else $as_nop
12473 ac_wine_check_headers_saved_cc=$CC
12474 ac_wine_check_headers_saved_exeext=$ac_exeext
12475 eval CC=\$${wine_arch}_CC
12476 ac_exeext=".exe"
12477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12478 /* end confdefs.h. */
12480 #include <png.h>
12482 main (void)
12486 return 0;
12488 _ACEOF
12489 if ac_fn_c_try_compile "$LINENO"
12490 then :
12491 ac_cv_mingw_header_png_h=yes
12492 else $as_nop
12493 ac_cv_mingw_header_png_h=no
12495 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12496 CC=$ac_wine_check_headers_saved_cc
12497 ac_exeext=$ac_wine_check_headers_saved_exeext
12499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12500 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12501 if test "x$ac_cv_mingw_header_png_h" = xyes
12502 then :
12503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12504 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12505 if test ${ac_cv_mingw_lib_png+y}
12506 then :
12507 printf %s "(cached) " >&6
12508 else $as_nop
12509 ac_wine_check_headers_saved_cc=$CC
12510 ac_wine_check_headers_saved_exeext=$ac_exeext
12511 ac_wine_check_headers_saved_libs=$LIBS
12512 eval CC=\$${wine_arch}_CC
12513 ac_exeext=".exe"
12514 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12516 /* end confdefs.h. */
12518 /* Override any GCC internal prototype to avoid an error.
12519 Use char because int might match the return type of a GCC
12520 builtin and then its argument prototype would still apply. */
12521 char png_create_read_struct ();
12523 main (void)
12525 return png_create_read_struct ();
12527 return 0;
12529 _ACEOF
12530 if ac_fn_c_try_link "$LINENO"
12531 then :
12532 ac_cv_mingw_lib_png=yes
12533 else $as_nop
12534 ac_cv_mingw_lib_png=no
12536 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12537 conftest$ac_exeext conftest.$ac_ext
12538 CC=$ac_wine_check_headers_saved_cc
12539 ac_exeext=$ac_wine_check_headers_saved_exeext
12540 LIBS=$ac_wine_check_headers_saved_libs
12542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12543 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12544 if test "x$ac_cv_mingw_lib_png" = xyes
12545 then :
12547 else $as_nop
12548 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12550 else $as_nop
12551 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12553 CPPFLAGS=$ac_save_CPPFLAGS
12555 if test "x$PNG_PE_LIBS" = "x"
12556 then
12557 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12560 if ${TIFF_PE_CFLAGS:+false} :
12561 then :
12562 if test ${MINGW_PKG_CONFIG+y}
12563 then :
12564 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12567 if ${TIFF_PE_LIBS:+false} :
12568 then :
12569 if test ${MINGW_PKG_CONFIG+y}
12570 then :
12571 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12575 ac_save_CPPFLAGS=$CPPFLAGS
12576 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12578 printf %s "checking for MinGW tiffio.h... " >&6; }
12579 if test ${ac_cv_mingw_header_tiffio_h+y}
12580 then :
12581 printf %s "(cached) " >&6
12582 else $as_nop
12583 ac_wine_check_headers_saved_cc=$CC
12584 ac_wine_check_headers_saved_exeext=$ac_exeext
12585 eval CC=\$${wine_arch}_CC
12586 ac_exeext=".exe"
12587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12588 /* end confdefs.h. */
12590 #include <tiffio.h>
12592 main (void)
12596 return 0;
12598 _ACEOF
12599 if ac_fn_c_try_compile "$LINENO"
12600 then :
12601 ac_cv_mingw_header_tiffio_h=yes
12602 else $as_nop
12603 ac_cv_mingw_header_tiffio_h=no
12605 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12606 CC=$ac_wine_check_headers_saved_cc
12607 ac_exeext=$ac_wine_check_headers_saved_exeext
12609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12610 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12611 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12612 then :
12613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12614 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12615 if test ${ac_cv_mingw_lib_tiff+y}
12616 then :
12617 printf %s "(cached) " >&6
12618 else $as_nop
12619 ac_wine_check_headers_saved_cc=$CC
12620 ac_wine_check_headers_saved_exeext=$ac_exeext
12621 ac_wine_check_headers_saved_libs=$LIBS
12622 eval CC=\$${wine_arch}_CC
12623 ac_exeext=".exe"
12624 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12626 /* end confdefs.h. */
12628 /* Override any GCC internal prototype to avoid an error.
12629 Use char because int might match the return type of a GCC
12630 builtin and then its argument prototype would still apply. */
12631 char TIFFClientOpen ();
12633 main (void)
12635 return TIFFClientOpen ();
12637 return 0;
12639 _ACEOF
12640 if ac_fn_c_try_link "$LINENO"
12641 then :
12642 ac_cv_mingw_lib_tiff=yes
12643 else $as_nop
12644 ac_cv_mingw_lib_tiff=no
12646 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12647 conftest$ac_exeext conftest.$ac_ext
12648 CC=$ac_wine_check_headers_saved_cc
12649 ac_exeext=$ac_wine_check_headers_saved_exeext
12650 LIBS=$ac_wine_check_headers_saved_libs
12652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12653 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12654 if test "x$ac_cv_mingw_lib_tiff" = xyes
12655 then :
12657 else $as_nop
12658 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12660 else $as_nop
12661 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12663 CPPFLAGS=$ac_save_CPPFLAGS
12665 if test "x$TIFF_PE_LIBS" = "x"
12666 then
12667 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12670 if ${XML2_PE_CFLAGS:+false} :
12671 then :
12672 if test ${MINGW_PKG_CONFIG+y}
12673 then :
12674 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12677 if ${XML2_PE_LIBS:+false} :
12678 then :
12679 if test ${MINGW_PKG_CONFIG+y}
12680 then :
12681 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12684 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12685 ac_save_CPPFLAGS=$CPPFLAGS
12686 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12688 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12689 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12690 then :
12691 printf %s "(cached) " >&6
12692 else $as_nop
12693 ac_wine_check_headers_saved_cc=$CC
12694 ac_wine_check_headers_saved_exeext=$ac_exeext
12695 eval CC=\$${wine_arch}_CC
12696 ac_exeext=".exe"
12697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12698 /* end confdefs.h. */
12700 #include <libxml/parser.h>
12702 main (void)
12706 return 0;
12708 _ACEOF
12709 if ac_fn_c_try_compile "$LINENO"
12710 then :
12711 ac_cv_mingw_header_libxml_parser_h=yes
12712 else $as_nop
12713 ac_cv_mingw_header_libxml_parser_h=no
12715 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12716 CC=$ac_wine_check_headers_saved_cc
12717 ac_exeext=$ac_wine_check_headers_saved_exeext
12719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12720 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12721 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12722 then :
12725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12726 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12727 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12728 then :
12729 printf %s "(cached) " >&6
12730 else $as_nop
12731 ac_wine_check_headers_saved_cc=$CC
12732 ac_wine_check_headers_saved_exeext=$ac_exeext
12733 eval CC=\$${wine_arch}_CC
12734 ac_exeext=".exe"
12735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12736 /* end confdefs.h. */
12738 #include <libxml/xmlsave.h>
12740 main (void)
12744 return 0;
12746 _ACEOF
12747 if ac_fn_c_try_compile "$LINENO"
12748 then :
12749 ac_cv_mingw_header_libxml_xmlsave_h=yes
12750 else $as_nop
12751 ac_cv_mingw_header_libxml_xmlsave_h=no
12753 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12754 CC=$ac_wine_check_headers_saved_cc
12755 ac_exeext=$ac_wine_check_headers_saved_exeext
12757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12758 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12759 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12760 then :
12763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12764 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12765 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12766 then :
12767 printf %s "(cached) " >&6
12768 else $as_nop
12769 ac_wine_check_headers_saved_cc=$CC
12770 ac_wine_check_headers_saved_exeext=$ac_exeext
12771 eval CC=\$${wine_arch}_CC
12772 ac_exeext=".exe"
12773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12774 /* end confdefs.h. */
12776 #include <libxml/SAX2.h>
12778 main (void)
12782 return 0;
12784 _ACEOF
12785 if ac_fn_c_try_compile "$LINENO"
12786 then :
12787 ac_cv_mingw_header_libxml_SAX2_h=yes
12788 else $as_nop
12789 ac_cv_mingw_header_libxml_SAX2_h=no
12791 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12792 CC=$ac_wine_check_headers_saved_cc
12793 ac_exeext=$ac_wine_check_headers_saved_exeext
12795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12796 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12797 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12798 then :
12801 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"
12802 then
12803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12804 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12805 if test ${ac_cv_mingw_lib_xml2+y}
12806 then :
12807 printf %s "(cached) " >&6
12808 else $as_nop
12809 ac_wine_check_headers_saved_cc=$CC
12810 ac_wine_check_headers_saved_exeext=$ac_exeext
12811 ac_wine_check_headers_saved_libs=$LIBS
12812 eval CC=\$${wine_arch}_CC
12813 ac_exeext=".exe"
12814 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12816 /* end confdefs.h. */
12818 /* Override any GCC internal prototype to avoid an error.
12819 Use char because int might match the return type of a GCC
12820 builtin and then its argument prototype would still apply. */
12821 char xmlFirstElementChild ();
12823 main (void)
12825 return xmlFirstElementChild ();
12827 return 0;
12829 _ACEOF
12830 if ac_fn_c_try_link "$LINENO"
12831 then :
12832 ac_cv_mingw_lib_xml2=yes
12833 else $as_nop
12834 ac_cv_mingw_lib_xml2=no
12836 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12837 conftest$ac_exeext conftest.$ac_ext
12838 CC=$ac_wine_check_headers_saved_cc
12839 ac_exeext=$ac_wine_check_headers_saved_exeext
12840 LIBS=$ac_wine_check_headers_saved_libs
12842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12843 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12844 if test "x$ac_cv_mingw_lib_xml2" = xyes
12845 then :
12847 else $as_nop
12848 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12850 else
12851 XML2_PE_CFLAGS=""
12852 XML2_PE_LIBS=""
12854 CPPFLAGS=$ac_save_CPPFLAGS
12856 if test "x$XML2_PE_LIBS" = "x"
12857 then
12858 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12861 if ${XSLT_PE_CFLAGS:+false} :
12862 then :
12863 if test ${MINGW_PKG_CONFIG+y}
12864 then :
12865 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12868 if ${XSLT_PE_LIBS:+false} :
12869 then :
12870 if test ${MINGW_PKG_CONFIG+y}
12871 then :
12872 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12875 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12876 ac_save_CPPFLAGS=$CPPFLAGS
12877 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12879 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12880 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12881 then :
12882 printf %s "(cached) " >&6
12883 else $as_nop
12884 ac_wine_check_headers_saved_cc=$CC
12885 ac_wine_check_headers_saved_exeext=$ac_exeext
12886 eval CC=\$${wine_arch}_CC
12887 ac_exeext=".exe"
12888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12889 /* end confdefs.h. */
12891 #include <libxslt/pattern.h>
12893 main (void)
12897 return 0;
12899 _ACEOF
12900 if ac_fn_c_try_compile "$LINENO"
12901 then :
12902 ac_cv_mingw_header_libxslt_pattern_h=yes
12903 else $as_nop
12904 ac_cv_mingw_header_libxslt_pattern_h=no
12906 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12907 CC=$ac_wine_check_headers_saved_cc
12908 ac_exeext=$ac_wine_check_headers_saved_exeext
12910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12911 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12912 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12913 then :
12916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12917 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12918 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12919 then :
12920 printf %s "(cached) " >&6
12921 else $as_nop
12922 ac_wine_check_headers_saved_cc=$CC
12923 ac_wine_check_headers_saved_exeext=$ac_exeext
12924 eval CC=\$${wine_arch}_CC
12925 ac_exeext=".exe"
12926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12927 /* end confdefs.h. */
12929 #include <libxslt/transform.h>
12931 main (void)
12935 return 0;
12937 _ACEOF
12938 if ac_fn_c_try_compile "$LINENO"
12939 then :
12940 ac_cv_mingw_header_libxslt_transform_h=yes
12941 else $as_nop
12942 ac_cv_mingw_header_libxslt_transform_h=no
12944 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12945 CC=$ac_wine_check_headers_saved_cc
12946 ac_exeext=$ac_wine_check_headers_saved_exeext
12948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12949 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12950 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12951 then :
12954 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12955 then
12956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12957 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12958 if test ${ac_cv_mingw_lib_xslt+y}
12959 then :
12960 printf %s "(cached) " >&6
12961 else $as_nop
12962 ac_wine_check_headers_saved_cc=$CC
12963 ac_wine_check_headers_saved_exeext=$ac_exeext
12964 ac_wine_check_headers_saved_libs=$LIBS
12965 eval CC=\$${wine_arch}_CC
12966 ac_exeext=".exe"
12967 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12969 /* end confdefs.h. */
12971 /* Override any GCC internal prototype to avoid an error.
12972 Use char because int might match the return type of a GCC
12973 builtin and then its argument prototype would still apply. */
12974 char xsltCompilePattern ();
12976 main (void)
12978 return xsltCompilePattern ();
12980 return 0;
12982 _ACEOF
12983 if ac_fn_c_try_link "$LINENO"
12984 then :
12985 ac_cv_mingw_lib_xslt=yes
12986 else $as_nop
12987 ac_cv_mingw_lib_xslt=no
12989 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12990 conftest$ac_exeext conftest.$ac_ext
12991 CC=$ac_wine_check_headers_saved_cc
12992 ac_exeext=$ac_wine_check_headers_saved_exeext
12993 LIBS=$ac_wine_check_headers_saved_libs
12995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12996 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12997 if test "x$ac_cv_mingw_lib_xslt" = xyes
12998 then :
13000 else $as_nop
13001 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13003 else
13004 XSLT_PE_CFLAGS=""
13005 XSLT_PE_LIBS=""
13007 CPPFLAGS=$ac_save_CPPFLAGS
13009 if test "x$XSLT_PE_LIBS" = "x"
13010 then
13011 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13014 if ${VKD3D_PE_CFLAGS:+false} :
13015 then :
13016 if test ${MINGW_PKG_CONFIG+y}
13017 then :
13018 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
13021 if ${VKD3D_PE_LIBS:+false} :
13022 then :
13023 if test ${MINGW_PKG_CONFIG+y}
13024 then :
13025 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
13028 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
13029 ac_save_CPPFLAGS=$CPPFLAGS
13030 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
13031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
13032 printf %s "checking for MinGW vkd3d.h... " >&6; }
13033 if test ${ac_cv_mingw_header_vkd3d_h+y}
13034 then :
13035 printf %s "(cached) " >&6
13036 else $as_nop
13037 ac_wine_check_headers_saved_cc=$CC
13038 ac_wine_check_headers_saved_exeext=$ac_exeext
13039 eval CC=\$${wine_arch}_CC
13040 ac_exeext=".exe"
13041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13042 /* end confdefs.h. */
13044 #include <vkd3d.h>
13046 main (void)
13050 return 0;
13052 _ACEOF
13053 if ac_fn_c_try_compile "$LINENO"
13054 then :
13055 ac_cv_mingw_header_vkd3d_h=yes
13056 else $as_nop
13057 ac_cv_mingw_header_vkd3d_h=no
13059 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13060 CC=$ac_wine_check_headers_saved_cc
13061 ac_exeext=$ac_wine_check_headers_saved_exeext
13063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13064 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13065 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13066 then :
13069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13070 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13071 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13072 then :
13073 printf %s "(cached) " >&6
13074 else $as_nop
13075 ac_wine_check_headers_saved_cc=$CC
13076 ac_wine_check_headers_saved_exeext=$ac_exeext
13077 eval CC=\$${wine_arch}_CC
13078 ac_exeext=".exe"
13079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13080 /* end confdefs.h. */
13082 #include <vkd3d_shader.h>
13084 main (void)
13088 return 0;
13090 _ACEOF
13091 if ac_fn_c_try_compile "$LINENO"
13092 then :
13093 ac_cv_mingw_header_vkd3d_shader_h=yes
13094 else $as_nop
13095 ac_cv_mingw_header_vkd3d_shader_h=no
13097 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13098 CC=$ac_wine_check_headers_saved_cc
13099 ac_exeext=$ac_wine_check_headers_saved_exeext
13101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13102 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13103 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13104 then :
13107 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13108 then
13109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13110 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13111 if test ${ac_cv_mingw_lib_vkd3d+y}
13112 then :
13113 printf %s "(cached) " >&6
13114 else $as_nop
13115 ac_wine_check_headers_saved_cc=$CC
13116 ac_wine_check_headers_saved_exeext=$ac_exeext
13117 ac_wine_check_headers_saved_libs=$LIBS
13118 eval CC=\$${wine_arch}_CC
13119 ac_exeext=".exe"
13120 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13122 /* end confdefs.h. */
13124 /* Override any GCC internal prototype to avoid an error.
13125 Use char because int might match the return type of a GCC
13126 builtin and then its argument prototype would still apply. */
13127 char vkd3d_set_log_callback ();
13129 main (void)
13131 return vkd3d_set_log_callback ();
13133 return 0;
13135 _ACEOF
13136 if ac_fn_c_try_link "$LINENO"
13137 then :
13138 ac_cv_mingw_lib_vkd3d=yes
13139 else $as_nop
13140 ac_cv_mingw_lib_vkd3d=no
13142 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13143 conftest$ac_exeext conftest.$ac_ext
13144 CC=$ac_wine_check_headers_saved_cc
13145 ac_exeext=$ac_wine_check_headers_saved_exeext
13146 LIBS=$ac_wine_check_headers_saved_libs
13148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13149 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13150 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13151 then :
13153 else $as_nop
13156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
13157 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
13158 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13159 then :
13160 printf %s "(cached) " >&6
13161 else $as_nop
13162 ac_wine_check_headers_saved_cc=$CC
13163 ac_wine_check_headers_saved_exeext=$ac_exeext
13164 ac_wine_check_headers_saved_libs=$LIBS
13165 eval CC=\$${wine_arch}_CC
13166 ac_exeext=".exe"
13167 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13169 /* end confdefs.h. */
13171 /* Override any GCC internal prototype to avoid an error.
13172 Use char because int might match the return type of a GCC
13173 builtin and then its argument prototype would still apply. */
13174 char vkd3d_shader_compile ();
13176 main (void)
13178 return vkd3d_shader_compile ();
13180 return 0;
13182 _ACEOF
13183 if ac_fn_c_try_link "$LINENO"
13184 then :
13185 ac_cv_mingw_lib_vkd3d_shader=yes
13186 else $as_nop
13187 ac_cv_mingw_lib_vkd3d_shader=no
13189 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13190 conftest$ac_exeext conftest.$ac_ext
13191 CC=$ac_wine_check_headers_saved_cc
13192 ac_exeext=$ac_wine_check_headers_saved_exeext
13193 LIBS=$ac_wine_check_headers_saved_libs
13195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13196 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13197 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13198 then :
13200 else $as_nop
13203 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13204 then
13205 VKD3D_PE_CFLAGS=""
13206 VKD3D_PE_LIBS=""
13208 else
13209 VKD3D_PE_CFLAGS=""
13210 VKD3D_PE_LIBS=""
13212 CPPFLAGS=$ac_save_CPPFLAGS
13214 if test "x$VKD3D_PE_LIBS" = "x"
13215 then
13216 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13219 if ${ZLIB_PE_CFLAGS:+false} :
13220 then :
13221 if test ${MINGW_PKG_CONFIG+y}
13222 then :
13223 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13226 if ${ZLIB_PE_LIBS:+false} :
13227 then :
13228 if test ${MINGW_PKG_CONFIG+y}
13229 then :
13230 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13233 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13234 ac_save_CPPFLAGS=$CPPFLAGS
13235 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13237 printf %s "checking for MinGW zlib.h... " >&6; }
13238 if test ${ac_cv_mingw_header_zlib_h+y}
13239 then :
13240 printf %s "(cached) " >&6
13241 else $as_nop
13242 ac_wine_check_headers_saved_cc=$CC
13243 ac_wine_check_headers_saved_exeext=$ac_exeext
13244 eval CC=\$${wine_arch}_CC
13245 ac_exeext=".exe"
13246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13247 /* end confdefs.h. */
13249 #include <zlib.h>
13251 main (void)
13255 return 0;
13257 _ACEOF
13258 if ac_fn_c_try_compile "$LINENO"
13259 then :
13260 ac_cv_mingw_header_zlib_h=yes
13261 else $as_nop
13262 ac_cv_mingw_header_zlib_h=no
13264 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13265 CC=$ac_wine_check_headers_saved_cc
13266 ac_exeext=$ac_wine_check_headers_saved_exeext
13268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13269 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13270 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13271 then :
13272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13273 printf %s "checking for inflate in MinGW -lz... " >&6; }
13274 if test ${ac_cv_mingw_lib_z+y}
13275 then :
13276 printf %s "(cached) " >&6
13277 else $as_nop
13278 ac_wine_check_headers_saved_cc=$CC
13279 ac_wine_check_headers_saved_exeext=$ac_exeext
13280 ac_wine_check_headers_saved_libs=$LIBS
13281 eval CC=\$${wine_arch}_CC
13282 ac_exeext=".exe"
13283 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13285 /* end confdefs.h. */
13287 /* Override any GCC internal prototype to avoid an error.
13288 Use char because int might match the return type of a GCC
13289 builtin and then its argument prototype would still apply. */
13290 char inflate ();
13292 main (void)
13294 return inflate ();
13296 return 0;
13298 _ACEOF
13299 if ac_fn_c_try_link "$LINENO"
13300 then :
13301 ac_cv_mingw_lib_z=yes
13302 else $as_nop
13303 ac_cv_mingw_lib_z=no
13305 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13306 conftest$ac_exeext conftest.$ac_ext
13307 CC=$ac_wine_check_headers_saved_cc
13308 ac_exeext=$ac_wine_check_headers_saved_exeext
13309 LIBS=$ac_wine_check_headers_saved_libs
13311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13312 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13313 if test "x$ac_cv_mingw_lib_z" = xyes
13314 then :
13316 else $as_nop
13317 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13319 else $as_nop
13320 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13322 CPPFLAGS=$ac_save_CPPFLAGS
13324 if test "x$ZLIB_PE_LIBS" = "x"
13325 then
13326 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13330 if ${FAUDIO_PE_LIBS:+false} :
13331 then :
13332 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13333 if ${FAUDIO_PE_CFLAGS:+false} :
13334 then :
13335 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13336 else $as_nop
13337 enable_faudio=no
13339 else $as_nop
13340 enable_faudio=no
13342 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13343 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13345 if ${GSM_PE_LIBS:+false} :
13346 then :
13347 GSM_PE_LIBS=gsm
13348 if ${GSM_PE_CFLAGS:+false} :
13349 then :
13350 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13351 else $as_nop
13352 enable_gsm=no
13354 else $as_nop
13355 enable_gsm=no
13357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13360 if ${JPEG_PE_LIBS:+false} :
13361 then :
13362 JPEG_PE_LIBS=jpeg
13363 if ${JPEG_PE_CFLAGS:+false} :
13364 then :
13365 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13366 else $as_nop
13367 enable_jpeg=no
13369 else $as_nop
13370 enable_jpeg=no
13372 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13373 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13375 if ${JXR_PE_LIBS:+false} :
13376 then :
13377 JXR_PE_LIBS=jxr
13378 if ${JXR_PE_CFLAGS:+false} :
13379 then :
13380 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13381 else $as_nop
13382 enable_jxr=no
13384 else $as_nop
13385 enable_jxr=no
13387 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13388 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13390 if ${LCMS2_PE_LIBS:+false} :
13391 then :
13392 LCMS2_PE_LIBS=lcms2
13393 if ${LCMS2_PE_CFLAGS:+false} :
13394 then :
13395 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13396 else $as_nop
13397 enable_lcms2=no
13399 else $as_nop
13400 enable_lcms2=no
13402 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13403 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13405 if ${MPG123_PE_LIBS:+false} :
13406 then :
13407 MPG123_PE_LIBS=mpg123
13408 if ${MPG123_PE_CFLAGS:+false} :
13409 then :
13410 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13411 else $as_nop
13412 enable_mpg123=no
13414 else $as_nop
13415 enable_mpg123=no
13417 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13418 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13420 if ${PNG_PE_LIBS:+false} :
13421 then :
13422 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13423 if ${PNG_PE_CFLAGS:+false} :
13424 then :
13425 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13426 else $as_nop
13427 enable_png=no
13429 else $as_nop
13430 enable_png=no
13432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13435 if ${TIFF_PE_LIBS:+false} :
13436 then :
13437 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13438 if ${TIFF_PE_CFLAGS:+false} :
13439 then :
13440 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13441 else $as_nop
13442 enable_tiff=no
13444 else $as_nop
13445 enable_tiff=no
13447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13450 if ${VKD3D_PE_LIBS:+false} :
13451 then :
13452 VKD3D_PE_LIBS=vkd3d
13453 if ${VKD3D_PE_CFLAGS:+false} :
13454 then :
13455 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13456 else $as_nop
13457 enable_vkd3d=no
13459 else $as_nop
13460 enable_vkd3d=no
13462 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13463 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13465 if ${XML2_PE_LIBS:+false} :
13466 then :
13467 XML2_PE_LIBS=xml2
13468 if ${XML2_PE_CFLAGS:+false} :
13469 then :
13470 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13471 else $as_nop
13472 enable_xml2=no
13474 else $as_nop
13475 enable_xml2=no
13477 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13478 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13480 if ${XSLT_PE_LIBS:+false} :
13481 then :
13482 XSLT_PE_LIBS=xslt
13483 if ${XSLT_PE_CFLAGS:+false} :
13484 then :
13485 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13486 else $as_nop
13487 enable_xslt=no
13489 else $as_nop
13490 enable_xslt=no
13492 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13493 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13495 if ${ZLIB_PE_LIBS:+false} :
13496 then :
13497 ZLIB_PE_LIBS=z
13498 if ${ZLIB_PE_CFLAGS:+false} :
13499 then :
13500 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13501 else $as_nop
13502 enable_zlib=no
13504 else $as_nop
13505 enable_zlib=no
13507 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13508 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13512 if test "$ac_cv_header_pthread_h" = "yes"
13513 then
13514 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13515 if test "x$ac_cv_func_pthread_create" = xyes
13516 then :
13518 else $as_nop
13519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13520 printf %s "checking for pthread_create in -lpthread... " >&6; }
13521 if test ${ac_cv_lib_pthread_pthread_create+y}
13522 then :
13523 printf %s "(cached) " >&6
13524 else $as_nop
13525 ac_check_lib_save_LIBS=$LIBS
13526 LIBS="-lpthread $LIBS"
13527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13528 /* end confdefs.h. */
13530 /* Override any GCC internal prototype to avoid an error.
13531 Use char because int might match the return type of a GCC
13532 builtin and then its argument prototype would still apply. */
13533 char pthread_create ();
13535 main (void)
13537 return pthread_create ();
13539 return 0;
13541 _ACEOF
13542 if ac_fn_c_try_link "$LINENO"
13543 then :
13544 ac_cv_lib_pthread_pthread_create=yes
13545 else $as_nop
13546 ac_cv_lib_pthread_pthread_create=no
13548 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13549 conftest$ac_exeext conftest.$ac_ext
13550 LIBS=$ac_check_lib_save_LIBS
13552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13553 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13554 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13555 then :
13556 PTHREAD_LIBS="-lpthread"
13563 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13564 then :
13565 case "x$with_pthread" in
13566 xno) ;;
13567 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13568 Wine cannot support threads without libpthread.
13569 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13570 esac
13575 ac_ext=c
13576 ac_cpp='$CPP $CPPFLAGS'
13577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13581 printf %s "checking how to run the C preprocessor... " >&6; }
13582 # On Suns, sometimes $CPP names a directory.
13583 if test -n "$CPP" && test -d "$CPP"; then
13584 CPP=
13586 if test -z "$CPP"; then
13587 if test ${ac_cv_prog_CPP+y}
13588 then :
13589 printf %s "(cached) " >&6
13590 else $as_nop
13591 # Double quotes because $CC needs to be expanded
13592 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13594 ac_preproc_ok=false
13595 for ac_c_preproc_warn_flag in '' yes
13597 # Use a header file that comes with gcc, so configuring glibc
13598 # with a fresh cross-compiler works.
13599 # On the NeXT, cc -E runs the code through the compiler's parser,
13600 # not just through cpp. "Syntax error" is here to catch this case.
13601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13602 /* end confdefs.h. */
13603 #include <limits.h>
13604 Syntax error
13605 _ACEOF
13606 if ac_fn_c_try_cpp "$LINENO"
13607 then :
13609 else $as_nop
13610 # Broken: fails on valid input.
13611 continue
13613 rm -f conftest.err conftest.i conftest.$ac_ext
13615 # OK, works on sane cases. Now check whether nonexistent headers
13616 # can be detected and how.
13617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13618 /* end confdefs.h. */
13619 #include <ac_nonexistent.h>
13620 _ACEOF
13621 if ac_fn_c_try_cpp "$LINENO"
13622 then :
13623 # Broken: success on invalid input.
13624 continue
13625 else $as_nop
13626 # Passes both tests.
13627 ac_preproc_ok=:
13628 break
13630 rm -f conftest.err conftest.i conftest.$ac_ext
13632 done
13633 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13634 rm -f conftest.i conftest.err conftest.$ac_ext
13635 if $ac_preproc_ok
13636 then :
13637 break
13640 done
13641 ac_cv_prog_CPP=$CPP
13644 CPP=$ac_cv_prog_CPP
13645 else
13646 ac_cv_prog_CPP=$CPP
13648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13649 printf "%s\n" "$CPP" >&6; }
13650 ac_preproc_ok=false
13651 for ac_c_preproc_warn_flag in '' yes
13653 # Use a header file that comes with gcc, so configuring glibc
13654 # with a fresh cross-compiler works.
13655 # On the NeXT, cc -E runs the code through the compiler's parser,
13656 # not just through cpp. "Syntax error" is here to catch this case.
13657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13658 /* end confdefs.h. */
13659 #include <limits.h>
13660 Syntax error
13661 _ACEOF
13662 if ac_fn_c_try_cpp "$LINENO"
13663 then :
13665 else $as_nop
13666 # Broken: fails on valid input.
13667 continue
13669 rm -f conftest.err conftest.i conftest.$ac_ext
13671 # OK, works on sane cases. Now check whether nonexistent headers
13672 # can be detected and how.
13673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13674 /* end confdefs.h. */
13675 #include <ac_nonexistent.h>
13676 _ACEOF
13677 if ac_fn_c_try_cpp "$LINENO"
13678 then :
13679 # Broken: success on invalid input.
13680 continue
13681 else $as_nop
13682 # Passes both tests.
13683 ac_preproc_ok=:
13684 break
13686 rm -f conftest.err conftest.i conftest.$ac_ext
13688 done
13689 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13690 rm -f conftest.i conftest.err conftest.$ac_ext
13691 if $ac_preproc_ok
13692 then :
13694 else $as_nop
13695 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13696 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13697 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13698 See \`config.log' for more details" "$LINENO" 5; }
13701 ac_ext=c
13702 ac_cpp='$CPP $CPPFLAGS'
13703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13709 printf %s "checking for X... " >&6; }
13712 # Check whether --with-x was given.
13713 if test ${with_x+y}
13714 then :
13715 withval=$with_x;
13718 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13719 if test "x$with_x" = xno; then
13720 # The user explicitly disabled X.
13721 have_x=disabled
13722 else
13723 case $x_includes,$x_libraries in #(
13724 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13725 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13726 then :
13727 printf %s "(cached) " >&6
13728 else $as_nop
13729 # One or both of the vars are not set, and there is no cached value.
13730 ac_x_includes=no
13731 ac_x_libraries=no
13732 # Do we need to do anything special at all?
13733 ac_save_LIBS=$LIBS
13734 LIBS="-lX11 $LIBS"
13735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13736 /* end confdefs.h. */
13737 #include <X11/Xlib.h>
13739 main (void)
13741 XrmInitialize ()
13743 return 0;
13745 _ACEOF
13746 if ac_fn_c_try_link "$LINENO"
13747 then :
13748 # We can compile and link X programs with no special options.
13749 ac_x_includes=
13750 ac_x_libraries=
13752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13753 conftest$ac_exeext conftest.$ac_ext
13754 LIBS="$ac_save_LIBS"
13755 # If that didn't work, only try xmkmf and file system searches
13756 # for native compilation.
13757 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13758 then :
13759 rm -f -r conftest.dir
13760 if mkdir conftest.dir; then
13761 cd conftest.dir
13762 cat >Imakefile <<'_ACEOF'
13763 incroot:
13764 @echo incroot='${INCROOT}'
13765 usrlibdir:
13766 @echo usrlibdir='${USRLIBDIR}'
13767 libdir:
13768 @echo libdir='${LIBDIR}'
13769 _ACEOF
13770 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13771 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13772 for ac_var in incroot usrlibdir libdir; do
13773 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13774 done
13775 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13776 for ac_extension in a so sl dylib la dll; do
13777 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13778 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13779 ac_im_usrlibdir=$ac_im_libdir; break
13781 done
13782 # Screen out bogus values from the imake configuration. They are
13783 # bogus both because they are the default anyway, and because
13784 # using them would break gcc on systems where it needs fixed includes.
13785 case $ac_im_incroot in
13786 /usr/include) ac_x_includes= ;;
13787 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13788 esac
13789 case $ac_im_usrlibdir in
13790 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13791 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13792 esac
13794 cd ..
13795 rm -f -r conftest.dir
13798 # Standard set of common directories for X headers.
13799 # Check X11 before X11Rn because it is often a symlink to the current release.
13800 ac_x_header_dirs='
13801 /usr/X11/include
13802 /usr/X11R7/include
13803 /usr/X11R6/include
13804 /usr/X11R5/include
13805 /usr/X11R4/include
13807 /usr/include/X11
13808 /usr/include/X11R7
13809 /usr/include/X11R6
13810 /usr/include/X11R5
13811 /usr/include/X11R4
13813 /usr/local/X11/include
13814 /usr/local/X11R7/include
13815 /usr/local/X11R6/include
13816 /usr/local/X11R5/include
13817 /usr/local/X11R4/include
13819 /usr/local/include/X11
13820 /usr/local/include/X11R7
13821 /usr/local/include/X11R6
13822 /usr/local/include/X11R5
13823 /usr/local/include/X11R4
13825 /opt/X11/include
13827 /usr/X386/include
13828 /usr/x386/include
13829 /usr/XFree86/include/X11
13831 /usr/include
13832 /usr/local/include
13833 /usr/unsupported/include
13834 /usr/athena/include
13835 /usr/local/x11r5/include
13836 /usr/lpp/Xamples/include
13838 /usr/openwin/include
13839 /usr/openwin/share/include'
13841 if test "$ac_x_includes" = no; then
13842 # Guess where to find include files, by looking for Xlib.h.
13843 # First, try using that file with no special directory specified.
13844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13845 /* end confdefs.h. */
13846 #include <X11/Xlib.h>
13847 _ACEOF
13848 if ac_fn_c_try_cpp "$LINENO"
13849 then :
13850 # We can compile using X headers with no special include directory.
13851 ac_x_includes=
13852 else $as_nop
13853 for ac_dir in $ac_x_header_dirs; do
13854 if test -r "$ac_dir/X11/Xlib.h"; then
13855 ac_x_includes=$ac_dir
13856 break
13858 done
13860 rm -f conftest.err conftest.i conftest.$ac_ext
13861 fi # $ac_x_includes = no
13863 if test "$ac_x_libraries" = no; then
13864 # Check for the libraries.
13865 # See if we find them without any special options.
13866 # Don't add to $LIBS permanently.
13867 ac_save_LIBS=$LIBS
13868 LIBS="-lX11 $LIBS"
13869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13870 /* end confdefs.h. */
13871 #include <X11/Xlib.h>
13873 main (void)
13875 XrmInitialize ()
13877 return 0;
13879 _ACEOF
13880 if ac_fn_c_try_link "$LINENO"
13881 then :
13882 LIBS=$ac_save_LIBS
13883 # We can link X programs with no special library path.
13884 ac_x_libraries=
13885 else $as_nop
13886 LIBS=$ac_save_LIBS
13887 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13889 # Don't even attempt the hair of trying to link an X program!
13890 for ac_extension in a so sl dylib la dll; do
13891 if test -r "$ac_dir/libX11.$ac_extension"; then
13892 ac_x_libraries=$ac_dir
13893 break 2
13895 done
13896 done
13898 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13899 conftest$ac_exeext conftest.$ac_ext
13900 fi # $ac_x_libraries = no
13903 # Record the results.
13904 case $ac_x_includes,$ac_x_libraries in #(
13905 no,* | *,no | *\'*) :
13906 # Didn't find X, or a directory has "'" in its name.
13907 ac_cv_have_x="have_x=no" ;; #(
13908 *) :
13909 # Record where we found X for the cache.
13910 ac_cv_have_x="have_x=yes\
13911 ac_x_includes='$ac_x_includes'\
13912 ac_x_libraries='$ac_x_libraries'" ;;
13913 esac
13915 ;; #(
13916 *) have_x=yes;;
13917 esac
13918 eval "$ac_cv_have_x"
13919 fi # $with_x != no
13921 if test "$have_x" != yes; then
13922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13923 printf "%s\n" "$have_x" >&6; }
13924 no_x=yes
13925 else
13926 # If each of the values was on the command line, it overrides each guess.
13927 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13928 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13929 # Update the cache value to reflect the command line values.
13930 ac_cv_have_x="have_x=yes\
13931 ac_x_includes='$x_includes'\
13932 ac_x_libraries='$x_libraries'"
13933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13934 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13937 if test "$no_x" = yes; then
13938 # Not all programs may use this symbol, but it does not hurt to define it.
13940 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13942 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13943 else
13944 if test -n "$x_includes"; then
13945 X_CFLAGS="$X_CFLAGS -I$x_includes"
13948 # It would also be nice to do this for all -L options, not just this one.
13949 if test -n "$x_libraries"; then
13950 X_LIBS="$X_LIBS -L$x_libraries"
13951 # For Solaris; some versions of Sun CC require a space after -R and
13952 # others require no space. Words are not sufficient . . . .
13953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13954 printf %s "checking whether -R must be followed by a space... " >&6; }
13955 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13956 ac_xsave_c_werror_flag=$ac_c_werror_flag
13957 ac_c_werror_flag=yes
13958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13959 /* end confdefs.h. */
13962 main (void)
13966 return 0;
13968 _ACEOF
13969 if ac_fn_c_try_link "$LINENO"
13970 then :
13971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13972 printf "%s\n" "no" >&6; }
13973 X_LIBS="$X_LIBS -R$x_libraries"
13974 else $as_nop
13975 LIBS="$ac_xsave_LIBS -R $x_libraries"
13976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13977 /* end confdefs.h. */
13980 main (void)
13984 return 0;
13986 _ACEOF
13987 if ac_fn_c_try_link "$LINENO"
13988 then :
13989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13990 printf "%s\n" "yes" >&6; }
13991 X_LIBS="$X_LIBS -R $x_libraries"
13992 else $as_nop
13993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13994 printf "%s\n" "neither works" >&6; }
13996 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13997 conftest$ac_exeext conftest.$ac_ext
13999 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14000 conftest$ac_exeext conftest.$ac_ext
14001 ac_c_werror_flag=$ac_xsave_c_werror_flag
14002 LIBS=$ac_xsave_LIBS
14005 # Check for system-dependent libraries X programs must link with.
14006 # Do this before checking for the system-independent R6 libraries
14007 # (-lICE), since we may need -lsocket or whatever for X linking.
14009 if test "$ISC" = yes; then
14010 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
14011 else
14012 # Martyn Johnson says this is needed for Ultrix, if the X
14013 # libraries were built with DECnet support. And Karl Berry says
14014 # the Alpha needs dnet_stub (dnet does not exist).
14015 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
14016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14017 /* end confdefs.h. */
14019 /* Override any GCC internal prototype to avoid an error.
14020 Use char because int might match the return type of a GCC
14021 builtin and then its argument prototype would still apply. */
14022 char XOpenDisplay ();
14024 main (void)
14026 return XOpenDisplay ();
14028 return 0;
14030 _ACEOF
14031 if ac_fn_c_try_link "$LINENO"
14032 then :
14034 else $as_nop
14035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14036 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
14037 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
14038 then :
14039 printf %s "(cached) " >&6
14040 else $as_nop
14041 ac_check_lib_save_LIBS=$LIBS
14042 LIBS="-ldnet $LIBS"
14043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14044 /* end confdefs.h. */
14046 /* Override any GCC internal prototype to avoid an error.
14047 Use char because int might match the return type of a GCC
14048 builtin and then its argument prototype would still apply. */
14049 char dnet_ntoa ();
14051 main (void)
14053 return dnet_ntoa ();
14055 return 0;
14057 _ACEOF
14058 if ac_fn_c_try_link "$LINENO"
14059 then :
14060 ac_cv_lib_dnet_dnet_ntoa=yes
14061 else $as_nop
14062 ac_cv_lib_dnet_dnet_ntoa=no
14064 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14065 conftest$ac_exeext conftest.$ac_ext
14066 LIBS=$ac_check_lib_save_LIBS
14068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14069 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14070 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14071 then :
14072 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
14075 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
14076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14077 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
14078 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14079 then :
14080 printf %s "(cached) " >&6
14081 else $as_nop
14082 ac_check_lib_save_LIBS=$LIBS
14083 LIBS="-ldnet_stub $LIBS"
14084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14085 /* end confdefs.h. */
14087 /* Override any GCC internal prototype to avoid an error.
14088 Use char because int might match the return type of a GCC
14089 builtin and then its argument prototype would still apply. */
14090 char dnet_ntoa ();
14092 main (void)
14094 return dnet_ntoa ();
14096 return 0;
14098 _ACEOF
14099 if ac_fn_c_try_link "$LINENO"
14100 then :
14101 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14102 else $as_nop
14103 ac_cv_lib_dnet_stub_dnet_ntoa=no
14105 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14106 conftest$ac_exeext conftest.$ac_ext
14107 LIBS=$ac_check_lib_save_LIBS
14109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14110 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14111 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14112 then :
14113 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14118 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14119 conftest$ac_exeext conftest.$ac_ext
14120 LIBS="$ac_xsave_LIBS"
14122 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14123 # to get the SysV transport functions.
14124 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14125 # needs -lnsl.
14126 # The nsl library prevents programs from opening the X display
14127 # on Irix 5.2, according to T.E. Dickey.
14128 # The functions gethostbyname, getservbyname, and inet_addr are
14129 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14130 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14131 if test "x$ac_cv_func_gethostbyname" = xyes
14132 then :
14136 if test $ac_cv_func_gethostbyname = no; then
14137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14138 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14139 if test ${ac_cv_lib_nsl_gethostbyname+y}
14140 then :
14141 printf %s "(cached) " >&6
14142 else $as_nop
14143 ac_check_lib_save_LIBS=$LIBS
14144 LIBS="-lnsl $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 gethostbyname ();
14153 main (void)
14155 return gethostbyname ();
14157 return 0;
14159 _ACEOF
14160 if ac_fn_c_try_link "$LINENO"
14161 then :
14162 ac_cv_lib_nsl_gethostbyname=yes
14163 else $as_nop
14164 ac_cv_lib_nsl_gethostbyname=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_nsl_gethostbyname" >&5
14171 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14172 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14173 then :
14174 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14177 if test $ac_cv_lib_nsl_gethostbyname = no; then
14178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14179 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14180 if test ${ac_cv_lib_bsd_gethostbyname+y}
14181 then :
14182 printf %s "(cached) " >&6
14183 else $as_nop
14184 ac_check_lib_save_LIBS=$LIBS
14185 LIBS="-lbsd $LIBS"
14186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14187 /* end confdefs.h. */
14189 /* Override any GCC internal prototype to avoid an error.
14190 Use char because int might match the return type of a GCC
14191 builtin and then its argument prototype would still apply. */
14192 char gethostbyname ();
14194 main (void)
14196 return gethostbyname ();
14198 return 0;
14200 _ACEOF
14201 if ac_fn_c_try_link "$LINENO"
14202 then :
14203 ac_cv_lib_bsd_gethostbyname=yes
14204 else $as_nop
14205 ac_cv_lib_bsd_gethostbyname=no
14207 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14208 conftest$ac_exeext conftest.$ac_ext
14209 LIBS=$ac_check_lib_save_LIBS
14211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14212 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14213 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14214 then :
14215 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14221 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14222 # socket/setsockopt and other routines are undefined under SCO ODT
14223 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14224 # on later versions), says Simon Leinen: it contains gethostby*
14225 # variants that don't use the name server (or something). -lsocket
14226 # must be given before -lnsl if both are needed. We assume that
14227 # if connect needs -lnsl, so does gethostbyname.
14228 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14229 if test "x$ac_cv_func_connect" = xyes
14230 then :
14234 if test $ac_cv_func_connect = no; then
14235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14236 printf %s "checking for connect in -lsocket... " >&6; }
14237 if test ${ac_cv_lib_socket_connect+y}
14238 then :
14239 printf %s "(cached) " >&6
14240 else $as_nop
14241 ac_check_lib_save_LIBS=$LIBS
14242 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14244 /* end confdefs.h. */
14246 /* Override any GCC internal prototype to avoid an error.
14247 Use char because int might match the return type of a GCC
14248 builtin and then its argument prototype would still apply. */
14249 char connect ();
14251 main (void)
14253 return connect ();
14255 return 0;
14257 _ACEOF
14258 if ac_fn_c_try_link "$LINENO"
14259 then :
14260 ac_cv_lib_socket_connect=yes
14261 else $as_nop
14262 ac_cv_lib_socket_connect=no
14264 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14265 conftest$ac_exeext conftest.$ac_ext
14266 LIBS=$ac_check_lib_save_LIBS
14268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14269 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14270 if test "x$ac_cv_lib_socket_connect" = xyes
14271 then :
14272 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14277 # Guillermo Gomez says -lposix is necessary on A/UX.
14278 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14279 if test "x$ac_cv_func_remove" = xyes
14280 then :
14284 if test $ac_cv_func_remove = no; then
14285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14286 printf %s "checking for remove in -lposix... " >&6; }
14287 if test ${ac_cv_lib_posix_remove+y}
14288 then :
14289 printf %s "(cached) " >&6
14290 else $as_nop
14291 ac_check_lib_save_LIBS=$LIBS
14292 LIBS="-lposix $LIBS"
14293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14294 /* end confdefs.h. */
14296 /* Override any GCC internal prototype to avoid an error.
14297 Use char because int might match the return type of a GCC
14298 builtin and then its argument prototype would still apply. */
14299 char remove ();
14301 main (void)
14303 return remove ();
14305 return 0;
14307 _ACEOF
14308 if ac_fn_c_try_link "$LINENO"
14309 then :
14310 ac_cv_lib_posix_remove=yes
14311 else $as_nop
14312 ac_cv_lib_posix_remove=no
14314 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14315 conftest$ac_exeext conftest.$ac_ext
14316 LIBS=$ac_check_lib_save_LIBS
14318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14319 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14320 if test "x$ac_cv_lib_posix_remove" = xyes
14321 then :
14322 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14327 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14328 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14329 if test "x$ac_cv_func_shmat" = xyes
14330 then :
14334 if test $ac_cv_func_shmat = no; then
14335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14336 printf %s "checking for shmat in -lipc... " >&6; }
14337 if test ${ac_cv_lib_ipc_shmat+y}
14338 then :
14339 printf %s "(cached) " >&6
14340 else $as_nop
14341 ac_check_lib_save_LIBS=$LIBS
14342 LIBS="-lipc $LIBS"
14343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14344 /* end confdefs.h. */
14346 /* Override any GCC internal prototype to avoid an error.
14347 Use char because int might match the return type of a GCC
14348 builtin and then its argument prototype would still apply. */
14349 char shmat ();
14351 main (void)
14353 return shmat ();
14355 return 0;
14357 _ACEOF
14358 if ac_fn_c_try_link "$LINENO"
14359 then :
14360 ac_cv_lib_ipc_shmat=yes
14361 else $as_nop
14362 ac_cv_lib_ipc_shmat=no
14364 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14365 conftest$ac_exeext conftest.$ac_ext
14366 LIBS=$ac_check_lib_save_LIBS
14368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14369 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14370 if test "x$ac_cv_lib_ipc_shmat" = xyes
14371 then :
14372 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14378 # Check for libraries that X11R6 Xt/Xaw programs need.
14379 ac_save_LDFLAGS=$LDFLAGS
14380 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14381 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14382 # check for ICE first), but we must link in the order -lSM -lICE or
14383 # we get undefined symbols. So assume we have SM if we have ICE.
14384 # These have to be linked with before -lX11, unlike the other
14385 # libraries we check for below, so use a different variable.
14386 # John Interrante, Karl Berry
14387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14388 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14389 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14390 then :
14391 printf %s "(cached) " >&6
14392 else $as_nop
14393 ac_check_lib_save_LIBS=$LIBS
14394 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14396 /* end confdefs.h. */
14398 /* Override any GCC internal prototype to avoid an error.
14399 Use char because int might match the return type of a GCC
14400 builtin and then its argument prototype would still apply. */
14401 char IceConnectionNumber ();
14403 main (void)
14405 return IceConnectionNumber ();
14407 return 0;
14409 _ACEOF
14410 if ac_fn_c_try_link "$LINENO"
14411 then :
14412 ac_cv_lib_ICE_IceConnectionNumber=yes
14413 else $as_nop
14414 ac_cv_lib_ICE_IceConnectionNumber=no
14416 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14417 conftest$ac_exeext conftest.$ac_ext
14418 LIBS=$ac_check_lib_save_LIBS
14420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14421 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14422 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14423 then :
14424 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14427 LDFLAGS=$ac_save_LDFLAGS
14432 if test "$have_x" = "yes"
14433 then
14434 ac_save_CPPFLAGS="$CPPFLAGS"
14435 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14438 printf %s "checking for -lX11... " >&6; }
14439 if test ${ac_cv_lib_soname_X11+y}
14440 then :
14441 printf %s "(cached) " >&6
14442 else $as_nop
14443 ac_check_soname_save_LIBS=$LIBS
14444 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14446 /* end confdefs.h. */
14448 /* Override any GCC internal prototype to avoid an error.
14449 Use char because int might match the return type of a GCC
14450 builtin and then its argument prototype would still apply. */
14451 char XCreateWindow ();
14453 main (void)
14455 return XCreateWindow ();
14457 return 0;
14459 _ACEOF
14460 if ac_fn_c_try_link "$LINENO"
14461 then :
14462 case "$LIBEXT" in
14463 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14464 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'` ;;
14465 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14466 if ${ac_cv_lib_soname_X11:+false} :
14467 then :
14468 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14469 fi ;;
14470 esac
14471 else $as_nop
14472 ac_cv_lib_soname_X11=
14474 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14475 conftest$ac_exeext conftest.$ac_ext
14476 LIBS=$ac_check_soname_save_LIBS
14478 if ${ac_cv_lib_soname_X11:+false} :
14479 then :
14480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14481 printf "%s\n" "not found" >&6; }
14483 else $as_nop
14484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14485 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14487 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14492 printf %s "checking for -lXext... " >&6; }
14493 if test ${ac_cv_lib_soname_Xext+y}
14494 then :
14495 printf %s "(cached) " >&6
14496 else $as_nop
14497 ac_check_soname_save_LIBS=$LIBS
14498 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14500 /* end confdefs.h. */
14502 /* Override any GCC internal prototype to avoid an error.
14503 Use char because int might match the return type of a GCC
14504 builtin and then its argument prototype would still apply. */
14505 char XextCreateExtension ();
14507 main (void)
14509 return XextCreateExtension ();
14511 return 0;
14513 _ACEOF
14514 if ac_fn_c_try_link "$LINENO"
14515 then :
14516 case "$LIBEXT" in
14517 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14518 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'` ;;
14519 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14520 if ${ac_cv_lib_soname_Xext:+false} :
14521 then :
14522 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14523 fi ;;
14524 esac
14525 else $as_nop
14526 ac_cv_lib_soname_Xext=
14528 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14529 conftest$ac_exeext conftest.$ac_ext
14530 LIBS=$ac_check_soname_save_LIBS
14532 if ${ac_cv_lib_soname_Xext:+false} :
14533 then :
14534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14535 printf "%s\n" "not found" >&6; }
14537 else $as_nop
14538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14539 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14541 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14543 X_LIBS="$X_LIBS -lXext"
14545 X_LIBS="$X_LIBS -lX11"
14547 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14548 # include <X11/Xlib.h>
14549 #endif
14550 #ifdef HAVE_X11_XUTIL_H
14551 # include <X11/Xutil.h>
14552 #endif
14554 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14555 then :
14556 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14559 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14560 # include <X11/Xlib.h>
14561 #endif
14562 #ifdef HAVE_X11_XUTIL_H
14563 # include <X11/Xutil.h>
14564 #endif
14566 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14567 then :
14568 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14571 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14572 # include <X11/Xlib.h>
14573 #endif
14574 #ifdef HAVE_X11_XUTIL_H
14575 # include <X11/Xutil.h>
14576 #endif
14578 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14579 then :
14580 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14583 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14584 # include <X11/Xlib.h>
14585 #endif
14586 #ifdef HAVE_X11_XUTIL_H
14587 # include <X11/Xutil.h>
14588 #endif
14590 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14591 then :
14592 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14595 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14596 # include <X11/Xlib.h>
14597 #endif
14598 #ifdef HAVE_X11_XUTIL_H
14599 # include <X11/Xutil.h>
14600 #endif
14602 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14603 then :
14604 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14607 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14608 # include <X11/Xlib.h>
14609 #endif
14610 #ifdef HAVE_X11_XUTIL_H
14611 # include <X11/Xutil.h>
14612 #endif
14614 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14615 then :
14616 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14619 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14620 # include <X11/Xlib.h>
14621 #endif
14622 #ifdef HAVE_X11_XUTIL_H
14623 # include <X11/Xutil.h>
14624 #endif
14626 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14627 then :
14628 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14631 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14632 # include <X11/Xlib.h>
14633 #endif
14634 #ifdef HAVE_X11_XUTIL_H
14635 # include <X11/Xutil.h>
14636 #endif
14638 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14639 then :
14640 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14643 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14644 # include <X11/Xlib.h>
14645 #endif
14646 #ifdef HAVE_X11_XUTIL_H
14647 # include <X11/Xutil.h>
14648 #endif
14650 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14651 then :
14652 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14655 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14656 # include <X11/Xlib.h>
14657 #endif
14658 #ifdef HAVE_X11_XUTIL_H
14659 # include <X11/Xutil.h>
14660 #endif
14662 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14663 then :
14664 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14667 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14668 # include <X11/Xlib.h>
14669 #endif
14670 #ifdef HAVE_X11_XUTIL_H
14671 # include <X11/Xutil.h>
14672 #endif
14674 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14675 then :
14676 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14679 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14680 # include <X11/Xlib.h>
14681 #endif
14682 #ifdef HAVE_X11_XUTIL_H
14683 # include <X11/Xutil.h>
14684 #endif
14686 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14687 then :
14688 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14691 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14692 # include <X11/Xlib.h>
14693 #endif
14694 #ifdef HAVE_X11_XUTIL_H
14695 # include <X11/Xutil.h>
14696 #endif
14698 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14699 then :
14700 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14703 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14704 # include <X11/Xlib.h>
14705 #endif
14706 #ifdef HAVE_X11_XUTIL_H
14707 # include <X11/Xutil.h>
14708 #endif
14710 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14711 then :
14712 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14715 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14716 # include <X11/Xlib.h>
14717 #endif
14718 #ifdef HAVE_X11_XUTIL_H
14719 # include <X11/Xutil.h>
14720 #endif
14722 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14723 then :
14724 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14729 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14730 then
14731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14732 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14733 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14734 then :
14735 printf %s "(cached) " >&6
14736 else $as_nop
14737 ac_check_lib_save_LIBS=$LIBS
14738 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14740 /* end confdefs.h. */
14742 /* Override any GCC internal prototype to avoid an error.
14743 Use char because int might match the return type of a GCC
14744 builtin and then its argument prototype would still apply. */
14745 char XkbQueryExtension ();
14747 main (void)
14749 return XkbQueryExtension ();
14751 return 0;
14753 _ACEOF
14754 if ac_fn_c_try_link "$LINENO"
14755 then :
14756 ac_cv_lib_X11_XkbQueryExtension=yes
14757 else $as_nop
14758 ac_cv_lib_X11_XkbQueryExtension=no
14760 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14761 conftest$ac_exeext conftest.$ac_ext
14762 LIBS=$ac_check_lib_save_LIBS
14764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14765 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14766 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14767 then :
14769 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14775 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14776 then
14777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14778 printf %s "checking for -lXcursor... " >&6; }
14779 if test ${ac_cv_lib_soname_Xcursor+y}
14780 then :
14781 printf %s "(cached) " >&6
14782 else $as_nop
14783 ac_check_soname_save_LIBS=$LIBS
14784 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14786 /* end confdefs.h. */
14788 /* Override any GCC internal prototype to avoid an error.
14789 Use char because int might match the return type of a GCC
14790 builtin and then its argument prototype would still apply. */
14791 char XcursorImageLoadCursor ();
14793 main (void)
14795 return XcursorImageLoadCursor ();
14797 return 0;
14799 _ACEOF
14800 if ac_fn_c_try_link "$LINENO"
14801 then :
14802 case "$LIBEXT" in
14803 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14804 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'` ;;
14805 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14806 if ${ac_cv_lib_soname_Xcursor:+false} :
14807 then :
14808 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14809 fi ;;
14810 esac
14811 else $as_nop
14812 ac_cv_lib_soname_Xcursor=
14814 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14815 conftest$ac_exeext conftest.$ac_ext
14816 LIBS=$ac_check_soname_save_LIBS
14818 if ${ac_cv_lib_soname_Xcursor:+false} :
14819 then :
14820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14821 printf "%s\n" "not found" >&6; }
14823 else $as_nop
14824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14825 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14827 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14832 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14833 then :
14834 case "x$with_xcursor" in
14835 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14836 xno) ;;
14837 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14838 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14839 esac
14843 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14844 then
14845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14846 printf %s "checking for -lXi... " >&6; }
14847 if test ${ac_cv_lib_soname_Xi+y}
14848 then :
14849 printf %s "(cached) " >&6
14850 else $as_nop
14851 ac_check_soname_save_LIBS=$LIBS
14852 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14854 /* end confdefs.h. */
14856 /* Override any GCC internal prototype to avoid an error.
14857 Use char because int might match the return type of a GCC
14858 builtin and then its argument prototype would still apply. */
14859 char XOpenDevice ();
14861 main (void)
14863 return XOpenDevice ();
14865 return 0;
14867 _ACEOF
14868 if ac_fn_c_try_link "$LINENO"
14869 then :
14870 case "$LIBEXT" in
14871 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14872 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'` ;;
14873 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14874 if ${ac_cv_lib_soname_Xi:+false} :
14875 then :
14876 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14877 fi ;;
14878 esac
14879 else $as_nop
14880 ac_cv_lib_soname_Xi=
14882 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14883 conftest$ac_exeext conftest.$ac_ext
14884 LIBS=$ac_check_soname_save_LIBS
14886 if ${ac_cv_lib_soname_Xi:+false} :
14887 then :
14888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14889 printf "%s\n" "not found" >&6; }
14891 else $as_nop
14892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14893 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14895 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14900 if test "x$ac_cv_lib_soname_Xi" = "x"
14901 then :
14902 case "x$with_xinput" in
14903 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14904 xno) ;;
14905 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14906 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14907 esac
14911 if test "x$ac_cv_lib_soname_Xi" != x
14912 then
14913 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14914 then :
14915 case "x$with_xinput2" in
14916 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14917 xno) ;;
14918 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14919 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14920 esac
14925 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14926 then
14927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14928 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14929 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14930 then :
14931 printf %s "(cached) " >&6
14932 else $as_nop
14933 ac_check_lib_save_LIBS=$LIBS
14934 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14936 /* end confdefs.h. */
14938 /* Override any GCC internal prototype to avoid an error.
14939 Use char because int might match the return type of a GCC
14940 builtin and then its argument prototype would still apply. */
14941 char XShmQueryExtension ();
14943 main (void)
14945 return XShmQueryExtension ();
14947 return 0;
14949 _ACEOF
14950 if ac_fn_c_try_link "$LINENO"
14951 then :
14952 ac_cv_lib_Xext_XShmQueryExtension=yes
14953 else $as_nop
14954 ac_cv_lib_Xext_XShmQueryExtension=no
14956 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14957 conftest$ac_exeext conftest.$ac_ext
14958 LIBS=$ac_check_lib_save_LIBS
14960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14961 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14962 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14963 then :
14965 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14970 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14971 then :
14972 case "x$with_xshm" in
14973 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14974 xno) ;;
14975 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14976 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14977 esac
14981 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14982 then
14983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14984 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14985 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14986 then :
14987 printf %s "(cached) " >&6
14988 else $as_nop
14989 ac_check_lib_save_LIBS=$LIBS
14990 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14992 /* end confdefs.h. */
14994 /* Override any GCC internal prototype to avoid an error.
14995 Use char because int might match the return type of a GCC
14996 builtin and then its argument prototype would still apply. */
14997 char XShapeQueryExtension ();
14999 main (void)
15001 return XShapeQueryExtension ();
15003 return 0;
15005 _ACEOF
15006 if ac_fn_c_try_link "$LINENO"
15007 then :
15008 ac_cv_lib_Xext_XShapeQueryExtension=yes
15009 else $as_nop
15010 ac_cv_lib_Xext_XShapeQueryExtension=no
15012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15013 conftest$ac_exeext conftest.$ac_ext
15014 LIBS=$ac_check_lib_save_LIBS
15016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
15017 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
15018 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
15019 then :
15021 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
15026 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
15027 then :
15028 case "x$with_xshape" in
15029 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
15030 xno) ;;
15031 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
15032 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
15033 esac
15037 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
15038 then
15039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
15040 printf %s "checking for -lXxf86vm... " >&6; }
15041 if test ${ac_cv_lib_soname_Xxf86vm+y}
15042 then :
15043 printf %s "(cached) " >&6
15044 else $as_nop
15045 ac_check_soname_save_LIBS=$LIBS
15046 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
15047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15048 /* end confdefs.h. */
15050 /* Override any GCC internal prototype to avoid an error.
15051 Use char because int might match the return type of a GCC
15052 builtin and then its argument prototype would still apply. */
15053 char XF86VidModeQueryExtension ();
15055 main (void)
15057 return XF86VidModeQueryExtension ();
15059 return 0;
15061 _ACEOF
15062 if ac_fn_c_try_link "$LINENO"
15063 then :
15064 case "$LIBEXT" in
15065 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15066 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'` ;;
15067 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15068 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15069 then :
15070 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15071 fi ;;
15072 esac
15073 else $as_nop
15074 ac_cv_lib_soname_Xxf86vm=
15076 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15077 conftest$ac_exeext conftest.$ac_ext
15078 LIBS=$ac_check_soname_save_LIBS
15080 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15081 then :
15082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15083 printf "%s\n" "not found" >&6; }
15085 else $as_nop
15086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15087 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15089 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15094 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15095 then :
15096 case "x$with_xxf86vm" in
15097 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15098 xno) ;;
15099 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15100 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15101 esac
15105 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15106 then
15107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15108 printf %s "checking for -lXrender... " >&6; }
15109 if test ${ac_cv_lib_soname_Xrender+y}
15110 then :
15111 printf %s "(cached) " >&6
15112 else $as_nop
15113 ac_check_soname_save_LIBS=$LIBS
15114 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15116 /* end confdefs.h. */
15118 /* Override any GCC internal prototype to avoid an error.
15119 Use char because int might match the return type of a GCC
15120 builtin and then its argument prototype would still apply. */
15121 char XRenderQueryExtension ();
15123 main (void)
15125 return XRenderQueryExtension ();
15127 return 0;
15129 _ACEOF
15130 if ac_fn_c_try_link "$LINENO"
15131 then :
15132 case "$LIBEXT" in
15133 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15134 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'` ;;
15135 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15136 if ${ac_cv_lib_soname_Xrender:+false} :
15137 then :
15138 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15139 fi ;;
15140 esac
15141 else $as_nop
15142 ac_cv_lib_soname_Xrender=
15144 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15145 conftest$ac_exeext conftest.$ac_ext
15146 LIBS=$ac_check_soname_save_LIBS
15148 if ${ac_cv_lib_soname_Xrender:+false} :
15149 then :
15150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15151 printf "%s\n" "not found" >&6; }
15153 else $as_nop
15154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15155 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15157 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15160 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15161 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15162 then :
15163 printf %s "(cached) " >&6
15164 else $as_nop
15165 ac_check_lib_save_LIBS=$LIBS
15166 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15168 /* end confdefs.h. */
15170 /* Override any GCC internal prototype to avoid an error.
15171 Use char because int might match the return type of a GCC
15172 builtin and then its argument prototype would still apply. */
15173 char XRenderSetPictureTransform ();
15175 main (void)
15177 return XRenderSetPictureTransform ();
15179 return 0;
15181 _ACEOF
15182 if ac_fn_c_try_link "$LINENO"
15183 then :
15184 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15185 else $as_nop
15186 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15188 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15189 conftest$ac_exeext conftest.$ac_ext
15190 LIBS=$ac_check_lib_save_LIBS
15192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15193 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15194 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15195 then :
15197 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15202 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15203 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15204 then :
15205 printf %s "(cached) " >&6
15206 else $as_nop
15207 ac_check_lib_save_LIBS=$LIBS
15208 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15210 /* end confdefs.h. */
15212 /* Override any GCC internal prototype to avoid an error.
15213 Use char because int might match the return type of a GCC
15214 builtin and then its argument prototype would still apply. */
15215 char XRenderCreateLinearGradient ();
15217 main (void)
15219 return XRenderCreateLinearGradient ();
15221 return 0;
15223 _ACEOF
15224 if ac_fn_c_try_link "$LINENO"
15225 then :
15226 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15227 else $as_nop
15228 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15231 conftest$ac_exeext conftest.$ac_ext
15232 LIBS=$ac_check_lib_save_LIBS
15234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15235 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15236 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15237 then :
15239 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15246 if test "x$ac_cv_lib_soname_Xrender" = "x"
15247 then :
15248 case "x$with_xrender" in
15249 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15250 xno) ;;
15251 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15252 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15253 esac
15257 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15258 then
15259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15260 /* end confdefs.h. */
15261 #include <X11/Xlib.h>
15262 #include <X11/extensions/Xrandr.h>
15264 main (void)
15266 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15268 return 0;
15270 _ACEOF
15271 if ac_fn_c_try_compile "$LINENO"
15272 then :
15273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15274 printf %s "checking for -lXrandr... " >&6; }
15275 if test ${ac_cv_lib_soname_Xrandr+y}
15276 then :
15277 printf %s "(cached) " >&6
15278 else $as_nop
15279 ac_check_soname_save_LIBS=$LIBS
15280 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15282 /* end confdefs.h. */
15284 /* Override any GCC internal prototype to avoid an error.
15285 Use char because int might match the return type of a GCC
15286 builtin and then its argument prototype would still apply. */
15287 char XRRQueryExtension ();
15289 main (void)
15291 return XRRQueryExtension ();
15293 return 0;
15295 _ACEOF
15296 if ac_fn_c_try_link "$LINENO"
15297 then :
15298 case "$LIBEXT" in
15299 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15300 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'` ;;
15301 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15302 if ${ac_cv_lib_soname_Xrandr:+false} :
15303 then :
15304 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15305 fi ;;
15306 esac
15307 else $as_nop
15308 ac_cv_lib_soname_Xrandr=
15310 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15311 conftest$ac_exeext conftest.$ac_ext
15312 LIBS=$ac_check_soname_save_LIBS
15314 if ${ac_cv_lib_soname_Xrandr:+false} :
15315 then :
15316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15317 printf "%s\n" "not found" >&6; }
15319 else $as_nop
15320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15321 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15323 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15326 /* end confdefs.h. */
15327 #include <X11/Xlib.h>
15328 #include <X11/extensions/Xrandr.h>
15330 main (void)
15332 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15334 return 0;
15336 _ACEOF
15337 if ac_fn_c_try_compile "$LINENO"
15338 then :
15340 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15342 else $as_nop
15343 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15345 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15348 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15350 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15351 then :
15352 case "x$with_xrandr" in
15353 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15354 xno) ;;
15355 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15356 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15357 esac
15361 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15362 then
15363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15364 /* end confdefs.h. */
15365 #include <X11/Xlib.h>
15366 #include <X11/extensions/Xfixes.h>
15368 main (void)
15370 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15372 return 0;
15374 _ACEOF
15375 if ac_fn_c_try_compile "$LINENO"
15376 then :
15377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15378 printf %s "checking for -lXfixes... " >&6; }
15379 if test ${ac_cv_lib_soname_Xfixes+y}
15380 then :
15381 printf %s "(cached) " >&6
15382 else $as_nop
15383 ac_check_soname_save_LIBS=$LIBS
15384 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15386 /* end confdefs.h. */
15388 /* Override any GCC internal prototype to avoid an error.
15389 Use char because int might match the return type of a GCC
15390 builtin and then its argument prototype would still apply. */
15391 char XFixesQueryVersion ();
15393 main (void)
15395 return XFixesQueryVersion ();
15397 return 0;
15399 _ACEOF
15400 if ac_fn_c_try_link "$LINENO"
15401 then :
15402 case "$LIBEXT" in
15403 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15404 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'` ;;
15405 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15406 if ${ac_cv_lib_soname_Xfixes:+false} :
15407 then :
15408 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15409 fi ;;
15410 esac
15411 else $as_nop
15412 ac_cv_lib_soname_Xfixes=
15414 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15415 conftest$ac_exeext conftest.$ac_ext
15416 LIBS=$ac_check_soname_save_LIBS
15418 if ${ac_cv_lib_soname_Xfixes:+false} :
15419 then :
15420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15421 printf "%s\n" "not found" >&6; }
15423 else $as_nop
15424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15425 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15427 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15432 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15434 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15435 then :
15436 case "x$with_xfixes" in
15437 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15438 xno) ;;
15439 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15440 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15441 esac
15445 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15446 then
15447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15448 /* end confdefs.h. */
15449 #include <X11/Xlib.h>
15450 #include <X11/extensions/Xinerama.h>
15452 main (void)
15454 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15456 return 0;
15458 _ACEOF
15459 if ac_fn_c_try_compile "$LINENO"
15460 then :
15461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15462 printf %s "checking for -lXinerama... " >&6; }
15463 if test ${ac_cv_lib_soname_Xinerama+y}
15464 then :
15465 printf %s "(cached) " >&6
15466 else $as_nop
15467 ac_check_soname_save_LIBS=$LIBS
15468 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15470 /* end confdefs.h. */
15472 /* Override any GCC internal prototype to avoid an error.
15473 Use char because int might match the return type of a GCC
15474 builtin and then its argument prototype would still apply. */
15475 char XineramaQueryScreens ();
15477 main (void)
15479 return XineramaQueryScreens ();
15481 return 0;
15483 _ACEOF
15484 if ac_fn_c_try_link "$LINENO"
15485 then :
15486 case "$LIBEXT" in
15487 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15488 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'` ;;
15489 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15490 if ${ac_cv_lib_soname_Xinerama:+false} :
15491 then :
15492 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15493 fi ;;
15494 esac
15495 else $as_nop
15496 ac_cv_lib_soname_Xinerama=
15498 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15499 conftest$ac_exeext conftest.$ac_ext
15500 LIBS=$ac_check_soname_save_LIBS
15502 if ${ac_cv_lib_soname_Xinerama:+false} :
15503 then :
15504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15505 printf "%s\n" "not found" >&6; }
15507 else $as_nop
15508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15509 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15511 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15516 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15518 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15519 then :
15520 case "x$with_xinerama" in
15521 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15522 xno) ;;
15523 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15524 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15525 esac
15529 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15530 then
15531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15532 printf %s "checking for -lXcomposite... " >&6; }
15533 if test ${ac_cv_lib_soname_Xcomposite+y}
15534 then :
15535 printf %s "(cached) " >&6
15536 else $as_nop
15537 ac_check_soname_save_LIBS=$LIBS
15538 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15540 /* end confdefs.h. */
15542 /* Override any GCC internal prototype to avoid an error.
15543 Use char because int might match the return type of a GCC
15544 builtin and then its argument prototype would still apply. */
15545 char XCompositeRedirectWindow ();
15547 main (void)
15549 return XCompositeRedirectWindow ();
15551 return 0;
15553 _ACEOF
15554 if ac_fn_c_try_link "$LINENO"
15555 then :
15556 case "$LIBEXT" in
15557 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15558 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'` ;;
15559 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15560 if ${ac_cv_lib_soname_Xcomposite:+false} :
15561 then :
15562 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15563 fi ;;
15564 esac
15565 else $as_nop
15566 ac_cv_lib_soname_Xcomposite=
15568 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15569 conftest$ac_exeext conftest.$ac_ext
15570 LIBS=$ac_check_soname_save_LIBS
15572 if ${ac_cv_lib_soname_Xcomposite:+false} :
15573 then :
15574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15575 printf "%s\n" "not found" >&6; }
15577 else $as_nop
15578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15579 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15581 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15586 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15587 then :
15588 case "x$with_xcomposite" in
15589 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15590 xno) ;;
15591 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15592 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15593 esac
15597 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15598 #include <X11/Xlib.h>
15599 #endif
15601 if test "x$ac_cv_member_XICCallback_callback" = xyes
15602 then :
15604 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15608 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15609 #include <X11/Xlib.h>
15610 #endif
15612 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15613 then :
15615 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15622 opengl_msg=""
15623 if test "x$with_opengl" != "xno"
15624 then
15625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15626 printf %s "checking for -lGL... " >&6; }
15627 if test ${ac_cv_lib_soname_GL+y}
15628 then :
15629 printf %s "(cached) " >&6
15630 else $as_nop
15631 ac_check_soname_save_LIBS=$LIBS
15632 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15634 /* end confdefs.h. */
15636 /* Override any GCC internal prototype to avoid an error.
15637 Use char because int might match the return type of a GCC
15638 builtin and then its argument prototype would still apply. */
15639 char glXCreateContext ();
15641 main (void)
15643 return glXCreateContext ();
15645 return 0;
15647 _ACEOF
15648 if ac_fn_c_try_link "$LINENO"
15649 then :
15650 case "$LIBEXT" in
15651 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15652 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'` ;;
15653 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15654 if ${ac_cv_lib_soname_GL:+false} :
15655 then :
15656 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15657 fi ;;
15658 esac
15659 else $as_nop
15660 ac_cv_lib_soname_GL=
15662 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15663 conftest$ac_exeext conftest.$ac_ext
15664 LIBS=$ac_check_soname_save_LIBS
15666 if ${ac_cv_lib_soname_GL:+false} :
15667 then :
15668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15669 printf "%s\n" "not found" >&6; }
15670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15671 printf %s "checking for -lGL... " >&6; }
15672 if test ${ac_cv_lib_soname_GL+y}
15673 then :
15674 printf %s "(cached) " >&6
15675 else $as_nop
15676 ac_check_soname_save_LIBS=$LIBS
15677 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"
15678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15679 /* end confdefs.h. */
15681 /* Override any GCC internal prototype to avoid an error.
15682 Use char because int might match the return type of a GCC
15683 builtin and then its argument prototype would still apply. */
15684 char glXCreateContext ();
15686 main (void)
15688 return glXCreateContext ();
15690 return 0;
15692 _ACEOF
15693 if ac_fn_c_try_link "$LINENO"
15694 then :
15695 case "$LIBEXT" in
15696 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15697 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'` ;;
15698 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15699 if ${ac_cv_lib_soname_GL:+false} :
15700 then :
15701 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15702 fi ;;
15703 esac
15704 else $as_nop
15705 ac_cv_lib_soname_GL=
15707 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15708 conftest$ac_exeext conftest.$ac_ext
15709 LIBS=$ac_check_soname_save_LIBS
15711 if ${ac_cv_lib_soname_GL:+false} :
15712 then :
15713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15714 printf "%s\n" "not found" >&6; }
15715 if test -f /usr/X11R6/lib/libGL.a
15716 then
15717 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15718 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15719 else
15720 opengl_msg="No OpenGL library found on this system."
15722 else $as_nop
15723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15724 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15726 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15728 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"
15730 else $as_nop
15731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15732 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15734 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15736 OPENGL_LIBS="-lGL"
15738 if test "x$with_osmesa" != "xno"
15739 then
15740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15741 printf %s "checking for -lOSMesa... " >&6; }
15742 if test ${ac_cv_lib_soname_OSMesa+y}
15743 then :
15744 printf %s "(cached) " >&6
15745 else $as_nop
15746 ac_check_soname_save_LIBS=$LIBS
15747 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15749 /* end confdefs.h. */
15751 /* Override any GCC internal prototype to avoid an error.
15752 Use char because int might match the return type of a GCC
15753 builtin and then its argument prototype would still apply. */
15754 char OSMesaGetProcAddress ();
15756 main (void)
15758 return OSMesaGetProcAddress ();
15760 return 0;
15762 _ACEOF
15763 if ac_fn_c_try_link "$LINENO"
15764 then :
15765 case "$LIBEXT" in
15766 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15767 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'` ;;
15768 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15769 if ${ac_cv_lib_soname_OSMesa:+false} :
15770 then :
15771 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15772 fi ;;
15773 esac
15774 else $as_nop
15775 ac_cv_lib_soname_OSMesa=
15777 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15778 conftest$ac_exeext conftest.$ac_ext
15779 LIBS=$ac_check_soname_save_LIBS
15781 if ${ac_cv_lib_soname_OSMesa:+false} :
15782 then :
15783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15784 printf "%s\n" "not found" >&6; }
15786 else $as_nop
15787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15788 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15790 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15794 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15795 then :
15796 case "x$with_osmesa" in
15797 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15798 xno) ;;
15799 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15800 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15801 esac
15806 if test -n "$opengl_msg"
15807 then :
15808 case "x$with_opengl" in
15809 x) as_fn_append wine_warnings "|$opengl_msg
15810 OpenGL and Direct3D won't be supported." ;;
15811 xno) ;;
15812 *) as_fn_error $? "$opengl_msg
15813 OpenGL and Direct3D won't be supported.
15814 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15815 esac
15819 CPPFLAGS="$ac_save_CPPFLAGS"
15820 else
15821 X_CFLAGS=""
15822 X_LIBS=""
15825 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15826 then
15827 if test "x$X_LIBS" = "x"
15828 then :
15829 case "x$with_x" in
15830 xno) ;;
15831 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15832 without X support, which probably isn't what you want. You will need
15833 to install ${notice_platform}development packages of Xlib at the very least.
15834 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15835 esac
15836 enable_winex11_drv=${enable_winex11_drv:-no}
15838 else
15839 if test "x$X_LIBS" = "x"
15840 then :
15841 case "x$with_x" in
15842 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15843 xno) ;;
15844 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15845 This is an error since --with-x was requested." "$LINENO" 5 ;;
15846 esac
15847 enable_winex11_drv=${enable_winex11_drv:-no}
15851 if test "$ac_cv_header_CL_cl_h" = "yes"
15852 then
15853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15854 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15855 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15856 then :
15857 printf %s "(cached) " >&6
15858 else $as_nop
15859 ac_check_lib_save_LIBS=$LIBS
15860 LIBS="-lOpenCL $LIBS"
15861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15862 /* end confdefs.h. */
15864 /* Override any GCC internal prototype to avoid an error.
15865 Use char because int might match the return type of a GCC
15866 builtin and then its argument prototype would still apply. */
15867 char clGetPlatformInfo ();
15869 main (void)
15871 return clGetPlatformInfo ();
15873 return 0;
15875 _ACEOF
15876 if ac_fn_c_try_link "$LINENO"
15877 then :
15878 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15879 else $as_nop
15880 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15882 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15883 conftest$ac_exeext conftest.$ac_ext
15884 LIBS=$ac_check_lib_save_LIBS
15886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15887 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15888 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15889 then :
15890 OPENCL_LIBS="-lOpenCL"
15895 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15896 then :
15897 case "x$with_opencl" in
15898 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15899 xno) ;;
15900 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15901 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15902 esac
15903 enable_opencl=${enable_opencl:-no}
15906 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15907 then
15908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15909 printf %s "checking for pcap_create in -lpcap... " >&6; }
15910 if test ${ac_cv_lib_pcap_pcap_create+y}
15911 then :
15912 printf %s "(cached) " >&6
15913 else $as_nop
15914 ac_check_lib_save_LIBS=$LIBS
15915 LIBS="-lpcap $LIBS"
15916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15917 /* end confdefs.h. */
15919 /* Override any GCC internal prototype to avoid an error.
15920 Use char because int might match the return type of a GCC
15921 builtin and then its argument prototype would still apply. */
15922 char pcap_create ();
15924 main (void)
15926 return pcap_create ();
15928 return 0;
15930 _ACEOF
15931 if ac_fn_c_try_link "$LINENO"
15932 then :
15933 ac_cv_lib_pcap_pcap_create=yes
15934 else $as_nop
15935 ac_cv_lib_pcap_pcap_create=no
15937 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15938 conftest$ac_exeext conftest.$ac_ext
15939 LIBS=$ac_check_lib_save_LIBS
15941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15942 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15943 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15944 then :
15945 PCAP_LIBS="-lpcap"
15950 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15951 then :
15952 case "x$with_pcap" in
15953 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15954 xno) ;;
15955 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15956 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15957 esac
15958 enable_wpcap=${enable_wpcap:-no}
15961 if test "x$with_inotify" != "xno"
15962 then
15963 if ${INOTIFY_CFLAGS:+false} :
15964 then :
15965 if test ${PKG_CONFIG+y}
15966 then :
15967 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15971 if ${INOTIFY_LIBS:+false} :
15972 then :
15973 if test ${PKG_CONFIG+y}
15974 then :
15975 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15980 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15981 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15982 ac_save_CPPFLAGS=$CPPFLAGS
15983 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15984 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15985 if test "x$ac_cv_header_sys_inotify_h" = xyes
15986 then :
15987 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15992 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15993 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15994 then :
15995 printf %s "(cached) " >&6
15996 else $as_nop
15997 ac_check_lib_save_LIBS=$LIBS
15998 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16000 /* end confdefs.h. */
16002 /* Override any GCC internal prototype to avoid an error.
16003 Use char because int might match the return type of a GCC
16004 builtin and then its argument prototype would still apply. */
16005 char inotify_add_watch ();
16007 main (void)
16009 return inotify_add_watch ();
16011 return 0;
16013 _ACEOF
16014 if ac_fn_c_try_link "$LINENO"
16015 then :
16016 ac_cv_lib_inotify_inotify_add_watch=yes
16017 else $as_nop
16018 ac_cv_lib_inotify_inotify_add_watch=no
16020 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16021 conftest$ac_exeext conftest.$ac_ext
16022 LIBS=$ac_check_lib_save_LIBS
16024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16025 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16026 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16027 then :
16029 else $as_nop
16030 INOTIFY_LIBS=""
16033 CPPFLAGS=$ac_save_CPPFLAGS
16036 if test "$ac_cv_header_sys_inotify_h" != "yes"
16037 then :
16038 case "x$with_inotify" in
16039 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16040 xno) ;;
16041 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16042 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16043 esac
16047 if test "x$with_dbus" != "xno"
16048 then
16049 if ${DBUS_CFLAGS:+false} :
16050 then :
16051 if test ${PKG_CONFIG+y}
16052 then :
16053 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
16057 if ${DBUS_LIBS:+false} :
16058 then :
16059 if test ${PKG_CONFIG+y}
16060 then :
16061 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16066 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16067 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16068 ac_save_CPPFLAGS=$CPPFLAGS
16069 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16070 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16071 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16072 then :
16073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16074 printf %s "checking for -ldbus-1... " >&6; }
16075 if test ${ac_cv_lib_soname_dbus_1+y}
16076 then :
16077 printf %s "(cached) " >&6
16078 else $as_nop
16079 ac_check_soname_save_LIBS=$LIBS
16080 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16082 /* end confdefs.h. */
16084 /* Override any GCC internal prototype to avoid an error.
16085 Use char because int might match the return type of a GCC
16086 builtin and then its argument prototype would still apply. */
16087 char dbus_connection_close ();
16089 main (void)
16091 return dbus_connection_close ();
16093 return 0;
16095 _ACEOF
16096 if ac_fn_c_try_link "$LINENO"
16097 then :
16098 case "$LIBEXT" in
16099 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16100 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'` ;;
16101 *) 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'`
16102 if ${ac_cv_lib_soname_dbus_1:+false} :
16103 then :
16104 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16105 fi ;;
16106 esac
16107 else $as_nop
16108 ac_cv_lib_soname_dbus_1=
16110 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16111 conftest$ac_exeext conftest.$ac_ext
16112 LIBS=$ac_check_soname_save_LIBS
16114 if ${ac_cv_lib_soname_dbus_1:+false} :
16115 then :
16116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16117 printf "%s\n" "not found" >&6; }
16118 DBUS_CFLAGS=""
16119 else $as_nop
16120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16121 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16123 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16127 else $as_nop
16128 DBUS_CFLAGS=""
16131 CPPFLAGS=$ac_save_CPPFLAGS
16134 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
16135 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
16136 then :
16137 case "x$with_dbus" in
16138 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16139 xno) ;;
16140 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16141 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16142 esac
16146 if test "x$with_gnutls" != "xno"
16147 then
16148 if ${GNUTLS_CFLAGS:+false} :
16149 then :
16150 if test ${PKG_CONFIG+y}
16151 then :
16152 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
16156 if ${GNUTLS_LIBS:+false} :
16157 then :
16158 if test ${PKG_CONFIG+y}
16159 then :
16160 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16164 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16165 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16166 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16167 ac_save_CPPFLAGS=$CPPFLAGS
16168 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16169 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16170 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16171 then :
16172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16173 /* end confdefs.h. */
16174 #include <gnutls/gnutls.h>
16175 #include <gnutls/crypto.h>
16177 main (void)
16179 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16181 return 0;
16183 _ACEOF
16184 if ac_fn_c_try_compile "$LINENO"
16185 then :
16186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16187 printf %s "checking for -lgnutls... " >&6; }
16188 if test ${ac_cv_lib_soname_gnutls+y}
16189 then :
16190 printf %s "(cached) " >&6
16191 else $as_nop
16192 ac_check_soname_save_LIBS=$LIBS
16193 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16195 /* end confdefs.h. */
16197 /* Override any GCC internal prototype to avoid an error.
16198 Use char because int might match the return type of a GCC
16199 builtin and then its argument prototype would still apply. */
16200 char gnutls_global_init ();
16202 main (void)
16204 return gnutls_global_init ();
16206 return 0;
16208 _ACEOF
16209 if ac_fn_c_try_link "$LINENO"
16210 then :
16211 case "$LIBEXT" in
16212 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16213 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'` ;;
16214 *) 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'`
16215 if ${ac_cv_lib_soname_gnutls:+false} :
16216 then :
16217 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'`
16218 fi ;;
16219 esac
16220 else $as_nop
16221 ac_cv_lib_soname_gnutls=
16223 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16224 conftest$ac_exeext conftest.$ac_ext
16225 LIBS=$ac_check_soname_save_LIBS
16227 if ${ac_cv_lib_soname_gnutls:+false} :
16228 then :
16229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16230 printf "%s\n" "not found" >&6; }
16231 GNUTLS_CFLAGS=""
16232 else $as_nop
16233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16234 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16236 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16240 ac_wine_check_funcs_save_LIBS="$LIBS"
16241 LIBS="$LIBS $GNUTLS_LIBS"
16243 for ac_func in gnutls_cipher_init
16244 do :
16245 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16246 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16247 then :
16248 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16250 else $as_nop
16251 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16254 done
16255 LIBS="$ac_wine_check_funcs_save_LIBS"
16257 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16258 else $as_nop
16259 GNUTLS_CFLAGS=""
16262 CPPFLAGS=$ac_save_CPPFLAGS
16265 if test "x$ac_cv_lib_soname_gnutls" = "x"
16266 then :
16267 case "x$with_gnutls" in
16268 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16269 xno) ;;
16270 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16271 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16272 esac
16276 if test "x$with_sane" != "xno"
16277 then
16278 if ${SANE_CFLAGS:+false} :
16279 then :
16280 if test ${PKG_CONFIG+y}
16281 then :
16282 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16285 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16286 if ${SANE_LIBS:+false} :
16287 then :
16288 if test ${PKG_CONFIG+y}
16289 then :
16290 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16293 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16295 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16296 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16297 ac_save_CPPFLAGS=$CPPFLAGS
16298 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16299 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16300 if test "x$ac_cv_header_sane_sane_h" = xyes
16301 then :
16302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16303 printf %s "checking for sane_init in -lsane... " >&6; }
16304 if test ${ac_cv_lib_sane_sane_init+y}
16305 then :
16306 printf %s "(cached) " >&6
16307 else $as_nop
16308 ac_check_lib_save_LIBS=$LIBS
16309 LIBS="-lsane $SANE_LIBS $LIBS"
16310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16311 /* end confdefs.h. */
16313 /* Override any GCC internal prototype to avoid an error.
16314 Use char because int might match the return type of a GCC
16315 builtin and then its argument prototype would still apply. */
16316 char sane_init ();
16318 main (void)
16320 return sane_init ();
16322 return 0;
16324 _ACEOF
16325 if ac_fn_c_try_link "$LINENO"
16326 then :
16327 ac_cv_lib_sane_sane_init=yes
16328 else $as_nop
16329 ac_cv_lib_sane_sane_init=no
16331 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16332 conftest$ac_exeext conftest.$ac_ext
16333 LIBS=$ac_check_lib_save_LIBS
16335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16336 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16337 if test "x$ac_cv_lib_sane_sane_init" = xyes
16338 then :
16344 CPPFLAGS=$ac_save_CPPFLAGS
16347 if test "$ac_cv_lib_sane_sane_init" != "yes"
16348 then :
16349 case "x$with_sane" in
16350 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16351 xno) ;;
16352 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16353 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16354 esac
16355 enable_sane_ds=${enable_sane_ds:-no}
16358 if test "x$with_usb" != "xno"
16359 then
16360 if ${USB_CFLAGS:+false} :
16361 then :
16362 if test ${PKG_CONFIG+y}
16363 then :
16364 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16368 if ${USB_LIBS:+false} :
16369 then :
16370 if test ${PKG_CONFIG+y}
16371 then :
16372 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16376 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16377 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16378 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16379 ac_save_CPPFLAGS=$CPPFLAGS
16380 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16381 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16382 if test "x$ac_cv_header_libusb_h" = xyes
16383 then :
16384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16385 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16386 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16387 then :
16388 printf %s "(cached) " >&6
16389 else $as_nop
16390 ac_check_lib_save_LIBS=$LIBS
16391 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16393 /* end confdefs.h. */
16395 /* Override any GCC internal prototype to avoid an error.
16396 Use char because int might match the return type of a GCC
16397 builtin and then its argument prototype would still apply. */
16398 char libusb_interrupt_event_handler ();
16400 main (void)
16402 return libusb_interrupt_event_handler ();
16404 return 0;
16406 _ACEOF
16407 if ac_fn_c_try_link "$LINENO"
16408 then :
16409 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16410 else $as_nop
16411 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16413 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16414 conftest$ac_exeext conftest.$ac_ext
16415 LIBS=$ac_check_lib_save_LIBS
16417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16418 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16419 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16420 then :
16422 else $as_nop
16423 USB_LIBS=""
16426 else $as_nop
16427 USB_LIBS=""
16430 CPPFLAGS=$ac_save_CPPFLAGS
16433 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16434 then :
16435 case "x$with_usb" in
16436 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16437 xno) ;;
16438 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16439 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16440 esac
16441 enable_wineusb_sys=${enable_wineusb_sys:-no}
16444 if test "x$with_v4l2" != "xno"
16445 then
16446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16447 printf %s "checking for -lv4l2... " >&6; }
16448 if test ${ac_cv_lib_soname_v4l2+y}
16449 then :
16450 printf %s "(cached) " >&6
16451 else $as_nop
16452 ac_check_soname_save_LIBS=$LIBS
16453 LIBS="-lv4l2 $LIBS"
16454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16455 /* end confdefs.h. */
16457 /* Override any GCC internal prototype to avoid an error.
16458 Use char because int might match the return type of a GCC
16459 builtin and then its argument prototype would still apply. */
16460 char v4l2_open ();
16462 main (void)
16464 return v4l2_open ();
16466 return 0;
16468 _ACEOF
16469 if ac_fn_c_try_link "$LINENO"
16470 then :
16471 case "$LIBEXT" in
16472 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16473 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'` ;;
16474 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16475 if ${ac_cv_lib_soname_v4l2:+false} :
16476 then :
16477 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16478 fi ;;
16479 esac
16480 else $as_nop
16481 ac_cv_lib_soname_v4l2=
16483 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16484 conftest$ac_exeext conftest.$ac_ext
16485 LIBS=$ac_check_soname_save_LIBS
16487 if ${ac_cv_lib_soname_v4l2:+false} :
16488 then :
16489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16490 printf "%s\n" "not found" >&6; }
16492 else $as_nop
16493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16494 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16496 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16501 if test "x$ac_cv_lib_soname_v4l2" = "x"
16502 then :
16503 case "x$with_v4l2" in
16504 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16505 xno) ;;
16506 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16507 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16508 esac
16512 if test "x$with_gphoto" != "xno"
16513 then
16514 if ${GPHOTO2_CFLAGS:+false} :
16515 then :
16516 if test ${PKG_CONFIG+y}
16517 then :
16518 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16521 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16522 if ${GPHOTO2_LIBS:+false} :
16523 then :
16524 if test ${PKG_CONFIG+y}
16525 then :
16526 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16529 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16530 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16531 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16532 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16533 ac_save_CPPFLAGS=$CPPFLAGS
16534 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16535 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16536 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16537 then :
16538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16539 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16540 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16541 then :
16542 printf %s "(cached) " >&6
16543 else $as_nop
16544 ac_check_lib_save_LIBS=$LIBS
16545 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16547 /* end confdefs.h. */
16549 /* Override any GCC internal prototype to avoid an error.
16550 Use char because int might match the return type of a GCC
16551 builtin and then its argument prototype would still apply. */
16552 char gp_camera_new ();
16554 main (void)
16556 return gp_camera_new ();
16558 return 0;
16560 _ACEOF
16561 if ac_fn_c_try_link "$LINENO"
16562 then :
16563 ac_cv_lib_gphoto2_gp_camera_new=yes
16564 else $as_nop
16565 ac_cv_lib_gphoto2_gp_camera_new=no
16567 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16568 conftest$ac_exeext conftest.$ac_ext
16569 LIBS=$ac_check_lib_save_LIBS
16571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16572 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16573 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16574 then :
16580 CPPFLAGS=$ac_save_CPPFLAGS
16582 if ${GPHOTO2_PORT_CFLAGS:+false} :
16583 then :
16584 if test ${PKG_CONFIG+y}
16585 then :
16586 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16589 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16590 if ${GPHOTO2_PORT_LIBS:+false} :
16591 then :
16592 if test ${PKG_CONFIG+y}
16593 then :
16594 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16597 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16598 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16599 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16600 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16601 ac_save_CPPFLAGS=$CPPFLAGS
16602 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16603 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16604 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16605 then :
16606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16607 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16608 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16609 then :
16610 printf %s "(cached) " >&6
16611 else $as_nop
16612 ac_check_lib_save_LIBS=$LIBS
16613 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16615 /* end confdefs.h. */
16617 /* Override any GCC internal prototype to avoid an error.
16618 Use char because int might match the return type of a GCC
16619 builtin and then its argument prototype would still apply. */
16620 char gp_port_info_list_new ();
16622 main (void)
16624 return gp_port_info_list_new ();
16626 return 0;
16628 _ACEOF
16629 if ac_fn_c_try_link "$LINENO"
16630 then :
16631 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16632 else $as_nop
16633 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16635 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16636 conftest$ac_exeext conftest.$ac_ext
16637 LIBS=$ac_check_lib_save_LIBS
16639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16640 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16641 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16642 then :
16644 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16646 else $as_nop
16647 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16650 else $as_nop
16651 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16654 CPPFLAGS=$ac_save_CPPFLAGS
16657 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16658 then :
16659 case "x$with_gphoto" in
16660 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16661 xno) ;;
16662 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16663 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16664 esac
16665 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16667 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16668 then :
16669 case "x$with_gphoto" in
16670 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16671 xno) ;;
16672 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16673 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16674 esac
16679 if test "$ac_cv_header_resolv_h" = "yes"
16680 then
16681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16682 printf %s "checking for resolver library... " >&6; }
16683 if test ${ac_cv_have_resolv+y}
16684 then :
16685 printf %s "(cached) " >&6
16686 else $as_nop
16687 ac_save_LIBS="$LIBS"
16688 for lib in '' -lresolv
16690 LIBS="$lib $ac_save_LIBS"
16691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16692 /* end confdefs.h. */
16693 #ifdef HAVE_NETINET_IN_H
16694 #include <netinet/in.h>
16695 #endif
16696 #include <resolv.h>
16698 main (void)
16700 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16702 return 0;
16704 _ACEOF
16705 if ac_fn_c_try_link "$LINENO"
16706 then :
16707 ac_cv_have_resolv=${lib:-"none required"}
16708 else $as_nop
16709 ac_cv_have_resolv="not found"
16711 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16712 conftest$ac_exeext conftest.$ac_ext
16713 test "x$ac_cv_have_resolv" = "xnot found" || break
16714 done
16715 LIBS="$ac_save_LIBS"
16717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16718 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16720 case "$ac_cv_have_resolv" in
16721 "not found") ;;
16722 "none required")
16724 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16727 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16729 RESOLV_LIBS=$ac_cv_have_resolv
16731 esac
16733 if test "x$ac_cv_have_resolv" != "xnot found"
16734 then
16735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16736 printf %s "checking for res_getservers... " >&6; }
16737 if test ${ac_cv_have_res_getservers+y}
16738 then :
16739 printf %s "(cached) " >&6
16740 else $as_nop
16741 ac_save_LIBS="$LIBS"
16742 LIBS="$RESOLV_LIBS $LIBS"
16743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16744 /* end confdefs.h. */
16745 #include <resolv.h>
16747 main (void)
16749 res_getservers(NULL, NULL, 0);
16751 return 0;
16753 _ACEOF
16754 if ac_fn_c_try_link "$LINENO"
16755 then :
16756 ac_cv_have_res_getservers=yes
16757 else $as_nop
16758 ac_cv_have_res_getservers=no
16760 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16761 conftest$ac_exeext conftest.$ac_ext
16762 LIBS="$ac_save_LIBS"
16764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16765 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16766 if test "$ac_cv_have_res_getservers" = "yes"
16767 then
16769 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16775 if test "x$with_freetype" != "xno"
16776 then
16777 if ${FREETYPE_CFLAGS:+false} :
16778 then :
16779 if test ${PKG_CONFIG+y}
16780 then :
16781 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16784 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16785 if ${FREETYPE_LIBS:+false} :
16786 then :
16787 if test ${PKG_CONFIG+y}
16788 then :
16789 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16792 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16793 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16794 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16795 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16796 ac_save_CPPFLAGS=$CPPFLAGS
16797 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16798 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16799 if test "x$ac_cv_header_ft2build_h" = xyes
16800 then :
16801 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16805 if test "$ac_cv_header_ft2build_h" = "yes"
16806 then
16807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16808 printf %s "checking for -lfreetype... " >&6; }
16809 if test ${ac_cv_lib_soname_freetype+y}
16810 then :
16811 printf %s "(cached) " >&6
16812 else $as_nop
16813 ac_check_soname_save_LIBS=$LIBS
16814 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16816 /* end confdefs.h. */
16818 /* Override any GCC internal prototype to avoid an error.
16819 Use char because int might match the return type of a GCC
16820 builtin and then its argument prototype would still apply. */
16821 char FT_Init_FreeType ();
16823 main (void)
16825 return FT_Init_FreeType ();
16827 return 0;
16829 _ACEOF
16830 if ac_fn_c_try_link "$LINENO"
16831 then :
16832 case "$LIBEXT" in
16833 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16834 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'` ;;
16835 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16836 if ${ac_cv_lib_soname_freetype:+false} :
16837 then :
16838 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16839 fi ;;
16840 esac
16841 else $as_nop
16842 ac_cv_lib_soname_freetype=
16844 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16845 conftest$ac_exeext conftest.$ac_ext
16846 LIBS=$ac_check_soname_save_LIBS
16848 if ${ac_cv_lib_soname_freetype:+false} :
16849 then :
16850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16851 printf "%s\n" "not found" >&6; }
16852 FREETYPE_LIBS=""
16853 else $as_nop
16854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16855 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16857 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16860 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16862 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16863 #include FT_MODULE_H
16865 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16866 then :
16868 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16874 else
16875 FREETYPE_CFLAGS=""
16876 FREETYPE_LIBS=""
16878 CPPFLAGS=$ac_save_CPPFLAGS
16881 if test "x$ac_cv_lib_soname_freetype" = x
16882 then :
16883 case "x$with_freetype" in
16884 xno) ;;
16885 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16886 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16887 esac
16888 enable_fonts=${enable_fonts:-no}
16891 ac_wine_check_funcs_save_LIBS="$LIBS"
16892 LIBS="$LIBS $PTHREAD_LIBS"
16893 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16894 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16895 then :
16896 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16900 LIBS="$ac_wine_check_funcs_save_LIBS"
16902 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16903 then
16904 if test "$ac_cv_header_gettext_po_h" = "yes"
16905 then
16906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16907 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16908 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16909 then :
16910 printf %s "(cached) " >&6
16911 else $as_nop
16912 ac_check_lib_save_LIBS=$LIBS
16913 LIBS="-lgettextpo $LIBS"
16914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16915 /* end confdefs.h. */
16917 /* Override any GCC internal prototype to avoid an error.
16918 Use char because int might match the return type of a GCC
16919 builtin and then its argument prototype would still apply. */
16920 char po_message_msgctxt ();
16922 main (void)
16924 return po_message_msgctxt ();
16926 return 0;
16928 _ACEOF
16929 if ac_fn_c_try_link "$LINENO"
16930 then :
16931 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16932 else $as_nop
16933 ac_cv_lib_gettextpo_po_message_msgctxt=no
16935 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16936 conftest$ac_exeext conftest.$ac_ext
16937 LIBS=$ac_check_lib_save_LIBS
16939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16940 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16941 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16942 then :
16944 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16946 GETTEXTPO_LIBS="-lgettextpo"
16951 if test "x$GETTEXTPO_LIBS" = "x"
16952 then :
16953 case "x$with_gettextpo" in
16954 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16955 xno) ;;
16956 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16957 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16958 esac
16961 if test "$srcdir" != .
16962 then :
16963 case "x$with_gettextpo" in
16964 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16965 xno) ;;
16966 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16967 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16968 esac
16973 if test "x$with_pulse" != "xno";
16974 then
16975 if ${PULSE_CFLAGS:+false} :
16976 then :
16977 if test ${PKG_CONFIG+y}
16978 then :
16979 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16983 if ${PULSE_LIBS:+false} :
16984 then :
16985 if test ${PKG_CONFIG+y}
16986 then :
16987 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16992 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16993 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16994 ac_save_CPPFLAGS=$CPPFLAGS
16995 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16996 for ac_header in pulse/pulseaudio.h
16997 do :
16998 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16999 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17000 then :
17001 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
17002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17003 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
17004 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17005 then :
17006 printf %s "(cached) " >&6
17007 else $as_nop
17008 ac_check_lib_save_LIBS=$LIBS
17009 LIBS="-lpulse $PULSE_LIBS $LIBS"
17010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17011 /* end confdefs.h. */
17013 /* Override any GCC internal prototype to avoid an error.
17014 Use char because int might match the return type of a GCC
17015 builtin and then its argument prototype would still apply. */
17016 char pa_stream_is_corked ();
17018 main (void)
17020 return pa_stream_is_corked ();
17022 return 0;
17024 _ACEOF
17025 if ac_fn_c_try_link "$LINENO"
17026 then :
17027 ac_cv_lib_pulse_pa_stream_is_corked=yes
17028 else $as_nop
17029 ac_cv_lib_pulse_pa_stream_is_corked=no
17031 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17032 conftest$ac_exeext conftest.$ac_ext
17033 LIBS=$ac_check_lib_save_LIBS
17035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17036 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17037 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17038 then :
17040 else $as_nop
17041 PULSE_LIBS=""
17044 else $as_nop
17045 PULSE_LIBS=""
17048 done
17049 CPPFLAGS=$ac_save_CPPFLAGS
17052 if test -z "$PULSE_LIBS"
17053 then :
17054 case "x$with_pulse" in
17055 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17056 xno) ;;
17057 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17058 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17059 esac
17060 enable_winepulse_drv=${enable_winepulse_drv:-no}
17063 if test "x$with_gstreamer" != "xno"
17064 then
17065 if ${GSTREAMER_CFLAGS:+false} :
17066 then :
17067 if test ${PKG_CONFIG+y}
17068 then :
17069 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17073 if ${GSTREAMER_LIBS:+false} :
17074 then :
17075 if test ${PKG_CONFIG+y}
17076 then :
17077 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17082 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
17083 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
17084 ac_save_CPPFLAGS=$CPPFLAGS
17085 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17086 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17087 if test "x$ac_cv_header_gst_gst_h" = xyes
17088 then :
17089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17090 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17092 /* end confdefs.h. */
17093 #include <gst/gst.h>
17095 main (void)
17097 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17099 return 0;
17101 _ACEOF
17102 if ac_fn_c_try_compile "$LINENO"
17103 then :
17104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17105 printf "%s\n" "yes" >&6; }
17106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17107 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17108 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17109 then :
17110 printf %s "(cached) " >&6
17111 else $as_nop
17112 ac_check_lib_save_LIBS=$LIBS
17113 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17115 /* end confdefs.h. */
17117 /* Override any GCC internal prototype to avoid an error.
17118 Use char because int might match the return type of a GCC
17119 builtin and then its argument prototype would still apply. */
17120 char gst_pad_new ();
17122 main (void)
17124 return gst_pad_new ();
17126 return 0;
17128 _ACEOF
17129 if ac_fn_c_try_link "$LINENO"
17130 then :
17131 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17132 else $as_nop
17133 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17136 conftest$ac_exeext conftest.$ac_ext
17137 LIBS=$ac_check_lib_save_LIBS
17139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17140 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17141 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17142 then :
17146 else $as_nop
17147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17148 printf "%s\n" "no" >&6; }
17149 ac_glib2_broken=yes
17150 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17152 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17155 CPPFLAGS=$ac_save_CPPFLAGS
17158 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17159 then :
17160 case "x$with_gstreamer" in
17161 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17162 xno) ;;
17163 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17164 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17165 esac
17166 enable_winegstreamer=${enable_winegstreamer:-no}
17169 ALSA_LIBS=""
17171 if test "x$with_alsa" != "xno"
17172 then
17173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17174 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17175 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17176 then :
17177 printf %s "(cached) " >&6
17178 else $as_nop
17179 ac_check_lib_save_LIBS=$LIBS
17180 LIBS="-lasound $LIBS"
17181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17182 /* end confdefs.h. */
17184 /* Override any GCC internal prototype to avoid an error.
17185 Use char because int might match the return type of a GCC
17186 builtin and then its argument prototype would still apply. */
17187 char snd_pcm_hw_params_get_access_mask ();
17189 main (void)
17191 return snd_pcm_hw_params_get_access_mask ();
17193 return 0;
17195 _ACEOF
17196 if ac_fn_c_try_link "$LINENO"
17197 then :
17198 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17199 else $as_nop
17200 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17203 conftest$ac_exeext conftest.$ac_ext
17204 LIBS=$ac_check_lib_save_LIBS
17206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17207 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17208 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17209 then :
17210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17211 /* end confdefs.h. */
17212 #include <alsa/asoundlib.h>
17214 main (void)
17216 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17218 return 0;
17220 _ACEOF
17221 if ac_fn_c_try_compile "$LINENO"
17222 then :
17223 ALSA_LIBS="-lasound"
17225 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17229 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17231 if test "x$with_oss" != xno
17232 then
17233 ac_save_CPPFLAGS="$CPPFLAGS"
17234 if test -f /etc/oss.conf
17235 then
17236 . /etc/oss.conf
17238 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17239 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17240 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17241 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17242 then :
17243 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17245 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17246 then :
17248 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17250 OSS4_CFLAGS="$ac_oss_incl"
17252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17253 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17254 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17255 then :
17256 printf %s "(cached) " >&6
17257 else $as_nop
17258 ac_check_lib_save_LIBS=$LIBS
17259 LIBS="-lossaudio $LIBS"
17260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17261 /* end confdefs.h. */
17263 /* Override any GCC internal prototype to avoid an error.
17264 Use char because int might match the return type of a GCC
17265 builtin and then its argument prototype would still apply. */
17266 char _oss_ioctl ();
17268 main (void)
17270 return _oss_ioctl ();
17272 return 0;
17274 _ACEOF
17275 if ac_fn_c_try_link "$LINENO"
17276 then :
17277 ac_cv_lib_ossaudio__oss_ioctl=yes
17278 else $as_nop
17279 ac_cv_lib_ossaudio__oss_ioctl=no
17281 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17282 conftest$ac_exeext conftest.$ac_ext
17283 LIBS=$ac_check_lib_save_LIBS
17285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17286 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17287 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17288 then :
17289 OSS4_LIBS="-lossaudio"
17297 CPPFLAGS="$ac_save_CPPFLAGS"
17299 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17300 then :
17301 case "x$with_oss" in
17302 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17303 xno) ;;
17304 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17305 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17306 esac
17307 enable_wineoss_drv=${enable_wineoss_drv:-no}
17310 if test "x$with_udev" != "xno"
17311 then
17312 if ${UDEV_CFLAGS:+false} :
17313 then :
17314 if test ${PKG_CONFIG+y}
17315 then :
17316 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17320 if ${UDEV_LIBS:+false} :
17321 then :
17322 if test ${PKG_CONFIG+y}
17323 then :
17324 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17328 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17329 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17330 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17331 ac_save_CPPFLAGS=$CPPFLAGS
17332 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17333 for ac_header in libudev.h
17334 do :
17335 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17336 if test "x$ac_cv_header_libudev_h" = xyes
17337 then :
17338 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17340 printf %s "checking for udev_new in -ludev... " >&6; }
17341 if test ${ac_cv_lib_udev_udev_new+y}
17342 then :
17343 printf %s "(cached) " >&6
17344 else $as_nop
17345 ac_check_lib_save_LIBS=$LIBS
17346 LIBS="-ludev $UDEV_LIBS $LIBS"
17347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17348 /* end confdefs.h. */
17350 /* Override any GCC internal prototype to avoid an error.
17351 Use char because int might match the return type of a GCC
17352 builtin and then its argument prototype would still apply. */
17353 char udev_new ();
17355 main (void)
17357 return udev_new ();
17359 return 0;
17361 _ACEOF
17362 if ac_fn_c_try_link "$LINENO"
17363 then :
17364 ac_cv_lib_udev_udev_new=yes
17365 else $as_nop
17366 ac_cv_lib_udev_udev_new=no
17368 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17369 conftest$ac_exeext conftest.$ac_ext
17370 LIBS=$ac_check_lib_save_LIBS
17372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17373 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17374 if test "x$ac_cv_lib_udev_udev_new" = xyes
17375 then :
17377 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17379 else $as_nop
17380 UDEV_LIBS=""
17383 else $as_nop
17384 UDEV_LIBS=""
17387 done
17388 CPPFLAGS=$ac_save_CPPFLAGS
17391 if test "x$UDEV_LIBS" = "x"
17392 then :
17393 case "x$with_udev" in
17394 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17395 xno) ;;
17396 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17397 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17398 esac
17402 if test "x$with_unwind" != xno
17403 then
17404 if ${UNWIND_CFLAGS:+false} :
17405 then :
17406 if test ${PKG_CONFIG+y}
17407 then :
17408 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17412 if ${UNWIND_LIBS:+false} :
17413 then :
17414 if test ${PKG_CONFIG+y}
17415 then :
17416 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17420 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17421 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17422 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17423 ac_save_CPPFLAGS=$CPPFLAGS
17424 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17426 printf %s "checking for unw_step... " >&6; }
17427 if test ${wine_cv_have_unw_step+y}
17428 then :
17429 printf %s "(cached) " >&6
17430 else $as_nop
17431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17432 /* end confdefs.h. */
17433 #define UNW_LOCAL_ONLY
17434 #include <libunwind.h>
17436 main (void)
17438 unw_cursor_t cursor; unw_step( &cursor );
17440 return 0;
17442 _ACEOF
17443 if ac_fn_c_try_link "$LINENO"
17444 then :
17445 wine_cv_have_unw_step="yes"
17446 else $as_nop
17447 wine_cv_have_unw_step="no"
17449 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17450 conftest$ac_exeext conftest.$ac_ext
17452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17453 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17454 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17455 then
17456 save_libs=$LIBS
17457 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17458 LIBS="$UNWIND_LIBS $LIBS"
17459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17460 printf %s "checking for unw_step in libunwind... " >&6; }
17461 if test ${wine_cv_have_libunwind_unw_step+y}
17462 then :
17463 printf %s "(cached) " >&6
17464 else $as_nop
17465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17466 /* end confdefs.h. */
17467 #define UNW_LOCAL_ONLY
17468 #include <libunwind.h>
17470 main (void)
17472 unw_cursor_t cursor; unw_step( &cursor );
17474 return 0;
17476 _ACEOF
17477 if ac_fn_c_try_link "$LINENO"
17478 then :
17479 wine_cv_have_libunwind_unw_step="yes"
17480 else $as_nop
17481 wine_cv_have_libunwind_unw_step="no"
17483 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17484 conftest$ac_exeext conftest.$ac_ext
17486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17487 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17488 LIBS=$save_libs
17490 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17491 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17492 then
17494 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17497 CPPFLAGS=$ac_save_CPPFLAGS
17500 case $host in
17501 aarch64*|*-darwin*)
17502 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17503 then :
17504 case "x$with_unwind" in
17505 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17506 xno) ;;
17507 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17508 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17509 esac
17511 fi ;;
17512 esac
17514 if test "x$with_sdl" != "xno"
17515 then
17516 if ${SDL2_CFLAGS:+false} :
17517 then :
17518 if test ${PKG_CONFIG+y}
17519 then :
17520 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17524 if ${SDL2_LIBS:+false} :
17525 then :
17526 if test ${PKG_CONFIG+y}
17527 then :
17528 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17532 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17533 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17534 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17535 ac_save_CPPFLAGS=$CPPFLAGS
17536 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17537 for ac_header in SDL.h
17538 do :
17539 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17540 if test "x$ac_cv_header_SDL_h" = xyes
17541 then :
17542 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17544 printf %s "checking for -lSDL2... " >&6; }
17545 if test ${ac_cv_lib_soname_SDL2+y}
17546 then :
17547 printf %s "(cached) " >&6
17548 else $as_nop
17549 ac_check_soname_save_LIBS=$LIBS
17550 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17552 /* end confdefs.h. */
17554 /* Override any GCC internal prototype to avoid an error.
17555 Use char because int might match the return type of a GCC
17556 builtin and then its argument prototype would still apply. */
17557 char SDL_Init ();
17559 main (void)
17561 return SDL_Init ();
17563 return 0;
17565 _ACEOF
17566 if ac_fn_c_try_link "$LINENO"
17567 then :
17568 case "$LIBEXT" in
17569 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17570 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'` ;;
17571 *) 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'`
17572 if ${ac_cv_lib_soname_SDL2:+false} :
17573 then :
17574 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17575 fi ;;
17576 esac
17577 else $as_nop
17578 ac_cv_lib_soname_SDL2=
17580 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17581 conftest$ac_exeext conftest.$ac_ext
17582 LIBS=$ac_check_soname_save_LIBS
17584 if ${ac_cv_lib_soname_SDL2:+false} :
17585 then :
17586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17587 printf "%s\n" "not found" >&6; }
17589 else $as_nop
17590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17591 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17593 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17599 done
17600 CPPFLAGS=$ac_save_CPPFLAGS
17603 if test "x$ac_cv_lib_soname_SDL2" = "x"
17604 then :
17605 case "x$with_sdl" in
17606 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17607 xno) ;;
17608 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17609 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17610 esac
17614 if test "x$with_capi" != "xno"
17615 then
17616 if ${CAPI20_CFLAGS:+false} :
17617 then :
17618 if test ${PKG_CONFIG+y}
17619 then :
17620 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17624 if ${CAPI20_LIBS:+false} :
17625 then :
17626 if test ${PKG_CONFIG+y}
17627 then :
17628 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17633 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17634 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17635 ac_save_CPPFLAGS=$CPPFLAGS
17636 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17637 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17639 if test "x$ac_cv_header_capi20_h" = xyes
17640 then :
17641 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17644 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17646 if test "x$ac_cv_header_linux_capi_h" = xyes
17647 then :
17648 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17652 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17653 then
17654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17655 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17656 if test ${ac_cv_lib_capi20_capi20_register+y}
17657 then :
17658 printf %s "(cached) " >&6
17659 else $as_nop
17660 ac_check_lib_save_LIBS=$LIBS
17661 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17663 /* end confdefs.h. */
17665 /* Override any GCC internal prototype to avoid an error.
17666 Use char because int might match the return type of a GCC
17667 builtin and then its argument prototype would still apply. */
17668 char capi20_register ();
17670 main (void)
17672 return capi20_register ();
17674 return 0;
17676 _ACEOF
17677 if ac_fn_c_try_link "$LINENO"
17678 then :
17679 ac_cv_lib_capi20_capi20_register=yes
17680 else $as_nop
17681 ac_cv_lib_capi20_capi20_register=no
17683 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17684 conftest$ac_exeext conftest.$ac_ext
17685 LIBS=$ac_check_lib_save_LIBS
17687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17688 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17689 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17690 then :
17692 else $as_nop
17693 CAPI20_LIBS=""
17697 CPPFLAGS=$ac_save_CPPFLAGS
17700 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17701 then :
17702 case "x$with_capi" in
17703 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17704 xno) ;;
17705 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17706 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17707 esac
17708 enable_capi2032=${enable_capi2032:-no}
17711 if test "x$with_cups" != "xno"
17712 then
17713 if ${CUPS_CFLAGS:+false} :
17714 then :
17715 if test ${PKG_CONFIG+y}
17716 then :
17717 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
17720 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17721 if ${CUPS_LIBS:+false} :
17722 then :
17723 if test ${PKG_CONFIG+y}
17724 then :
17725 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17728 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17729 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17731 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17732 ac_save_CPPFLAGS=$CPPFLAGS
17733 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17734 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17735 if test "x$ac_cv_header_cups_cups_h" = xyes
17736 then :
17737 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17740 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17741 if test "x$ac_cv_header_cups_ppd_h" = xyes
17742 then :
17743 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17747 if test "$ac_cv_header_cups_cups_h" = "yes"
17748 then
17749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17750 printf %s "checking for -lcups... " >&6; }
17751 if test ${ac_cv_lib_soname_cups+y}
17752 then :
17753 printf %s "(cached) " >&6
17754 else $as_nop
17755 ac_check_soname_save_LIBS=$LIBS
17756 LIBS="-lcups $CUPS_LIBS $LIBS"
17757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17758 /* end confdefs.h. */
17760 /* Override any GCC internal prototype to avoid an error.
17761 Use char because int might match the return type of a GCC
17762 builtin and then its argument prototype would still apply. */
17763 char cupsGetDefault ();
17765 main (void)
17767 return cupsGetDefault ();
17769 return 0;
17771 _ACEOF
17772 if ac_fn_c_try_link "$LINENO"
17773 then :
17774 case "$LIBEXT" in
17775 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17776 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'` ;;
17777 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17778 if ${ac_cv_lib_soname_cups:+false} :
17779 then :
17780 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17781 fi ;;
17782 esac
17783 else $as_nop
17784 ac_cv_lib_soname_cups=
17786 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17787 conftest$ac_exeext conftest.$ac_ext
17788 LIBS=$ac_check_soname_save_LIBS
17790 if ${ac_cv_lib_soname_cups:+false} :
17791 then :
17792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17793 printf "%s\n" "not found" >&6; }
17794 CUPS_LIBS=""
17795 else $as_nop
17796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17797 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17799 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17803 else
17804 CUPS_CFLAGS=""
17805 CUPS_LIBS=""
17807 CPPFLAGS=$ac_save_CPPFLAGS
17810 if test "x$ac_cv_lib_soname_cups" = "x"
17811 then :
17812 case "x$with_cups" in
17813 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17814 xno) ;;
17815 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17816 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17817 esac
17821 if test "x$with_fontconfig" != "xno"
17822 then
17823 if ${FONTCONFIG_CFLAGS:+false} :
17824 then :
17825 if test ${PKG_CONFIG+y}
17826 then :
17827 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17830 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17831 if ${FONTCONFIG_LIBS:+false} :
17832 then :
17833 if test ${PKG_CONFIG+y}
17834 then :
17835 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17838 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17840 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17841 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17842 ac_save_CPPFLAGS=$CPPFLAGS
17843 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17844 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17845 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17846 then :
17847 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17851 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17852 then
17853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17854 printf %s "checking for -lfontconfig... " >&6; }
17855 if test ${ac_cv_lib_soname_fontconfig+y}
17856 then :
17857 printf %s "(cached) " >&6
17858 else $as_nop
17859 ac_check_soname_save_LIBS=$LIBS
17860 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17862 /* end confdefs.h. */
17864 /* Override any GCC internal prototype to avoid an error.
17865 Use char because int might match the return type of a GCC
17866 builtin and then its argument prototype would still apply. */
17867 char FcInit ();
17869 main (void)
17871 return FcInit ();
17873 return 0;
17875 _ACEOF
17876 if ac_fn_c_try_link "$LINENO"
17877 then :
17878 case "$LIBEXT" in
17879 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17880 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'` ;;
17881 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17882 if ${ac_cv_lib_soname_fontconfig:+false} :
17883 then :
17884 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17885 fi ;;
17886 esac
17887 else $as_nop
17888 ac_cv_lib_soname_fontconfig=
17890 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17891 conftest$ac_exeext conftest.$ac_ext
17892 LIBS=$ac_check_soname_save_LIBS
17894 if ${ac_cv_lib_soname_fontconfig:+false} :
17895 then :
17896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17897 printf "%s\n" "not found" >&6; }
17898 FONTCONFIG_CFLAGS=""
17899 else $as_nop
17900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17901 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17903 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17907 else
17908 FONTCONFIG_CFLAGS=""
17910 CPPFLAGS=$ac_save_CPPFLAGS
17913 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17914 then :
17915 case "x$with_fontconfig" in
17916 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17917 xno) ;;
17918 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17919 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17920 esac
17924 if test "x$with_krb5" != "xno"
17925 then
17926 if ${KRB5_CFLAGS:+false} :
17927 then :
17928 if test ${PKG_CONFIG+y}
17929 then :
17930 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17933 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17934 if ${KRB5_LIBS:+false} :
17935 then :
17936 if test ${PKG_CONFIG+y}
17937 then :
17938 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17941 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17943 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17944 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17945 ac_save_CPPFLAGS=$CPPFLAGS
17946 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17947 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17948 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17949 then :
17950 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17954 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17955 then
17956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17957 printf %s "checking for -lkrb5... " >&6; }
17958 if test ${ac_cv_lib_soname_krb5+y}
17959 then :
17960 printf %s "(cached) " >&6
17961 else $as_nop
17962 ac_check_soname_save_LIBS=$LIBS
17963 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17965 /* end confdefs.h. */
17967 /* Override any GCC internal prototype to avoid an error.
17968 Use char because int might match the return type of a GCC
17969 builtin and then its argument prototype would still apply. */
17970 char krb5_is_config_principal ();
17972 main (void)
17974 return krb5_is_config_principal ();
17976 return 0;
17978 _ACEOF
17979 if ac_fn_c_try_link "$LINENO"
17980 then :
17981 case "$LIBEXT" in
17982 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17983 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'` ;;
17984 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17985 if ${ac_cv_lib_soname_krb5:+false} :
17986 then :
17987 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17988 fi ;;
17989 esac
17990 else $as_nop
17991 ac_cv_lib_soname_krb5=
17993 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17994 conftest$ac_exeext conftest.$ac_ext
17995 LIBS=$ac_check_soname_save_LIBS
17997 if ${ac_cv_lib_soname_krb5:+false} :
17998 then :
17999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18000 printf "%s\n" "not found" >&6; }
18001 KRB5_CFLAGS=""
18002 else $as_nop
18003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18004 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18006 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18010 else
18011 KRB5_CFLAGS=""
18013 CPPFLAGS=$ac_save_CPPFLAGS
18016 if test "x$ac_cv_lib_soname_krb5" = "x"
18017 then :
18018 case "x$with_krb5" in
18019 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18020 xno) ;;
18021 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18022 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18023 esac
18026 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18028 if test "x$with_gssapi" != "xno"
18029 then
18030 if ${GSSAPI_CFLAGS:+false} :
18031 then :
18032 if test ${PKG_CONFIG+y}
18033 then :
18034 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
18037 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18038 if ${GSSAPI_LIBS:+false} :
18039 then :
18040 if test ${PKG_CONFIG+y}
18041 then :
18042 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18045 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18047 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18048 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18049 ac_save_CPPFLAGS=$CPPFLAGS
18050 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18051 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18052 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18053 then :
18054 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18057 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18058 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18059 then :
18060 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18064 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18065 then
18066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18067 printf %s "checking for -lgssapi_krb5... " >&6; }
18068 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18069 then :
18070 printf %s "(cached) " >&6
18071 else $as_nop
18072 ac_check_soname_save_LIBS=$LIBS
18073 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18075 /* end confdefs.h. */
18077 /* Override any GCC internal prototype to avoid an error.
18078 Use char because int might match the return type of a GCC
18079 builtin and then its argument prototype would still apply. */
18080 char gss_init_sec_context ();
18082 main (void)
18084 return gss_init_sec_context ();
18086 return 0;
18088 _ACEOF
18089 if ac_fn_c_try_link "$LINENO"
18090 then :
18091 case "$LIBEXT" in
18092 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18093 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'` ;;
18094 *) 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'`
18095 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18096 then :
18097 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18098 fi ;;
18099 esac
18100 else $as_nop
18101 ac_cv_lib_soname_gssapi_krb5=
18103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18104 conftest$ac_exeext conftest.$ac_ext
18105 LIBS=$ac_check_soname_save_LIBS
18107 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18108 then :
18109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18110 printf "%s\n" "not found" >&6; }
18111 GSSAPI_CFLAGS=""
18112 else $as_nop
18113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18114 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18116 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18120 else
18121 GSSAPI_CFLAGS=""
18123 CPPFLAGS=$ac_save_CPPFLAGS
18126 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18127 then :
18128 case "x$with_gssapi" in
18129 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18130 xno) ;;
18131 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18132 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18133 esac
18137 if test "$ac_cv_header_libprocstat_h" = "yes"
18138 then
18139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18140 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18141 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18142 then :
18143 printf %s "(cached) " >&6
18144 else $as_nop
18145 ac_check_lib_save_LIBS=$LIBS
18146 LIBS="-lprocstat $LIBS"
18147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18148 /* end confdefs.h. */
18150 /* Override any GCC internal prototype to avoid an error.
18151 Use char because int might match the return type of a GCC
18152 builtin and then its argument prototype would still apply. */
18153 char procstat_open_sysctl ();
18155 main (void)
18157 return procstat_open_sysctl ();
18159 return 0;
18161 _ACEOF
18162 if ac_fn_c_try_link "$LINENO"
18163 then :
18164 ac_cv_lib_procstat_procstat_open_sysctl=yes
18165 else $as_nop
18166 ac_cv_lib_procstat_procstat_open_sysctl=no
18168 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18169 conftest$ac_exeext conftest.$ac_ext
18170 LIBS=$ac_check_lib_save_LIBS
18172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18173 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18174 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18175 then :
18177 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18179 PROCSTAT_LIBS="-lprocstat"
18185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18186 printf %s "checking for -lodbc... " >&6; }
18187 if test ${ac_cv_lib_soname_odbc+y}
18188 then :
18189 printf %s "(cached) " >&6
18190 else $as_nop
18191 ac_check_soname_save_LIBS=$LIBS
18192 LIBS="-lodbc $LIBS"
18193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18194 /* end confdefs.h. */
18196 /* Override any GCC internal prototype to avoid an error.
18197 Use char because int might match the return type of a GCC
18198 builtin and then its argument prototype would still apply. */
18199 char SQLConnect ();
18201 main (void)
18203 return SQLConnect ();
18205 return 0;
18207 _ACEOF
18208 if ac_fn_c_try_link "$LINENO"
18209 then :
18210 case "$LIBEXT" in
18211 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18212 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'` ;;
18213 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18214 if ${ac_cv_lib_soname_odbc:+false} :
18215 then :
18216 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18217 fi ;;
18218 esac
18219 else $as_nop
18220 ac_cv_lib_soname_odbc=
18222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18223 conftest$ac_exeext conftest.$ac_ext
18224 LIBS=$ac_check_soname_save_LIBS
18226 if ${ac_cv_lib_soname_odbc:+false} :
18227 then :
18228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18229 printf "%s\n" "not found" >&6; }
18230 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18232 else $as_nop
18233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18234 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18236 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18241 if test "x$with_netapi" != "xno"
18242 then
18243 if ${NETAPI_CFLAGS:+false} :
18244 then :
18245 if test ${PKG_CONFIG+y}
18246 then :
18247 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18251 if ${NETAPI_LIBS:+false} :
18252 then :
18253 if test ${PKG_CONFIG+y}
18254 then :
18255 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18260 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18261 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18262 ac_save_CPPFLAGS=$CPPFLAGS
18263 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18265 printf %s "checking for -lnetapi... " >&6; }
18266 if test ${ac_cv_lib_soname_netapi+y}
18267 then :
18268 printf %s "(cached) " >&6
18269 else $as_nop
18270 ac_check_soname_save_LIBS=$LIBS
18271 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18273 /* end confdefs.h. */
18275 /* Override any GCC internal prototype to avoid an error.
18276 Use char because int might match the return type of a GCC
18277 builtin and then its argument prototype would still apply. */
18278 char libnetapi_init ();
18280 main (void)
18282 return libnetapi_init ();
18284 return 0;
18286 _ACEOF
18287 if ac_fn_c_try_link "$LINENO"
18288 then :
18289 case "$LIBEXT" in
18290 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18291 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'` ;;
18292 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18293 if ${ac_cv_lib_soname_netapi:+false} :
18294 then :
18295 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18296 fi ;;
18297 esac
18298 else $as_nop
18299 ac_cv_lib_soname_netapi=
18301 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18302 conftest$ac_exeext conftest.$ac_ext
18303 LIBS=$ac_check_soname_save_LIBS
18305 if ${ac_cv_lib_soname_netapi:+false} :
18306 then :
18307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18308 printf "%s\n" "not found" >&6; }
18309 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18311 else $as_nop
18312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18313 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18315 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18319 CPPFLAGS=$ac_save_CPPFLAGS
18322 if test "x$ac_cv_lib_soname_netapi" = "x"
18323 then :
18324 case "x$with_netapi" in
18325 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18326 xno) ;;
18327 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18328 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18329 esac
18330 enable_netapi=${enable_netapi:-no}
18334 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18335 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18336 then
18337 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18340 if test "x$with_vulkan" != "xno"
18341 then
18342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18343 printf %s "checking for -lvulkan... " >&6; }
18344 if test ${ac_cv_lib_soname_vulkan+y}
18345 then :
18346 printf %s "(cached) " >&6
18347 else $as_nop
18348 ac_check_soname_save_LIBS=$LIBS
18349 LIBS="-lvulkan $LIBS"
18350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18351 /* end confdefs.h. */
18353 /* Override any GCC internal prototype to avoid an error.
18354 Use char because int might match the return type of a GCC
18355 builtin and then its argument prototype would still apply. */
18356 char vkGetInstanceProcAddr ();
18358 main (void)
18360 return vkGetInstanceProcAddr ();
18362 return 0;
18364 _ACEOF
18365 if ac_fn_c_try_link "$LINENO"
18366 then :
18367 case "$LIBEXT" in
18368 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18369 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'` ;;
18370 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18371 if ${ac_cv_lib_soname_vulkan:+false} :
18372 then :
18373 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18374 fi ;;
18375 esac
18376 else $as_nop
18377 ac_cv_lib_soname_vulkan=
18379 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18380 conftest$ac_exeext conftest.$ac_ext
18381 LIBS=$ac_check_soname_save_LIBS
18383 if ${ac_cv_lib_soname_vulkan:+false} :
18384 then :
18385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18386 printf "%s\n" "not found" >&6; }
18388 else $as_nop
18389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18390 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18392 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18396 if test "x$ac_cv_lib_soname_vulkan" = "x"
18397 then
18398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18399 printf %s "checking for -lMoltenVK... " >&6; }
18400 if test ${ac_cv_lib_soname_MoltenVK+y}
18401 then :
18402 printf %s "(cached) " >&6
18403 else $as_nop
18404 ac_check_soname_save_LIBS=$LIBS
18405 LIBS="-lMoltenVK $LIBS"
18406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18407 /* end confdefs.h. */
18409 /* Override any GCC internal prototype to avoid an error.
18410 Use char because int might match the return type of a GCC
18411 builtin and then its argument prototype would still apply. */
18412 char vkGetInstanceProcAddr ();
18414 main (void)
18416 return vkGetInstanceProcAddr ();
18418 return 0;
18420 _ACEOF
18421 if ac_fn_c_try_link "$LINENO"
18422 then :
18423 case "$LIBEXT" in
18424 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18425 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'` ;;
18426 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18427 if ${ac_cv_lib_soname_MoltenVK:+false} :
18428 then :
18429 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18430 fi ;;
18431 esac
18432 else $as_nop
18433 ac_cv_lib_soname_MoltenVK=
18435 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18436 conftest$ac_exeext conftest.$ac_ext
18437 LIBS=$ac_check_soname_save_LIBS
18439 if ${ac_cv_lib_soname_MoltenVK:+false} :
18440 then :
18441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18442 printf "%s\n" "not found" >&6; }
18444 else $as_nop
18445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18446 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18448 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18454 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18455 then :
18456 case "x$with_vulkan" in
18457 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18458 xno) ;;
18459 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18460 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18461 esac
18466 if test "x${GCC}" = "xyes"
18467 then
18468 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18470 saved_CFLAGS=$CFLAGS
18471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18472 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18473 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18474 then :
18475 printf %s "(cached) " >&6
18476 else $as_nop
18477 ac_wine_try_cflags_saved=$CFLAGS
18478 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18480 /* end confdefs.h. */
18481 int main(int argc, char **argv) { return 0; }
18482 _ACEOF
18483 if ac_fn_c_try_link "$LINENO"
18484 then :
18485 ac_cv_cflags__Werror_unknown_warning_option=yes
18486 else $as_nop
18487 ac_cv_cflags__Werror_unknown_warning_option=no
18489 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18490 conftest$ac_exeext conftest.$ac_ext
18491 CFLAGS=$ac_wine_try_cflags_saved
18493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18494 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18495 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18496 then :
18497 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18500 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18501 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18502 then :
18503 printf %s "(cached) " >&6
18504 else $as_nop
18505 ac_wine_try_cflags_saved=$CFLAGS
18506 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18508 /* end confdefs.h. */
18509 int main(int argc, char **argv) { return 0; }
18510 _ACEOF
18511 if ac_fn_c_try_link "$LINENO"
18512 then :
18513 ac_cv_cflags__Werror_unused_command_line_argument=yes
18514 else $as_nop
18515 ac_cv_cflags__Werror_unused_command_line_argument=no
18517 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18518 conftest$ac_exeext conftest.$ac_ext
18519 CFLAGS=$ac_wine_try_cflags_saved
18521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18522 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18523 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18524 then :
18525 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18528 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18529 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18530 then :
18531 printf %s "(cached) " >&6
18532 else $as_nop
18533 ac_wine_try_cflags_saved=$CFLAGS
18534 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18536 /* end confdefs.h. */
18537 int main(int argc, char **argv) { return 0; }
18538 _ACEOF
18539 if ac_fn_c_try_link "$LINENO"
18540 then :
18541 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18542 else $as_nop
18543 ac_cv_cflags__Werror_ignored_optimization_argument=no
18545 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18546 conftest$ac_exeext conftest.$ac_ext
18547 CFLAGS=$ac_wine_try_cflags_saved
18549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18550 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18551 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18552 then :
18553 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18556 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18557 if test ${ac_cv_cflags__fcf_protection_none+y}
18558 then :
18559 printf %s "(cached) " >&6
18560 else $as_nop
18561 ac_wine_try_cflags_saved=$CFLAGS
18562 CFLAGS="$CFLAGS -fcf-protection=none"
18563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18564 /* end confdefs.h. */
18565 int main(int argc, char **argv) { return 0; }
18566 _ACEOF
18567 if ac_fn_c_try_link "$LINENO"
18568 then :
18569 ac_cv_cflags__fcf_protection_none=yes
18570 else $as_nop
18571 ac_cv_cflags__fcf_protection_none=no
18573 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18574 conftest$ac_exeext conftest.$ac_ext
18575 CFLAGS=$ac_wine_try_cflags_saved
18577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18578 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18579 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18580 then :
18581 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18584 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18585 if test ${ac_cv_cflags__fno_stack_protector+y}
18586 then :
18587 printf %s "(cached) " >&6
18588 else $as_nop
18589 ac_wine_try_cflags_saved=$CFLAGS
18590 CFLAGS="$CFLAGS -fno-stack-protector"
18591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18592 /* end confdefs.h. */
18593 int main(int argc, char **argv) { return 0; }
18594 _ACEOF
18595 if ac_fn_c_try_link "$LINENO"
18596 then :
18597 ac_cv_cflags__fno_stack_protector=yes
18598 else $as_nop
18599 ac_cv_cflags__fno_stack_protector=no
18601 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18602 conftest$ac_exeext conftest.$ac_ext
18603 CFLAGS=$ac_wine_try_cflags_saved
18605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18606 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18607 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18608 then :
18609 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18612 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18613 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18614 then :
18615 printf %s "(cached) " >&6
18616 else $as_nop
18617 ac_wine_try_cflags_saved=$CFLAGS
18618 CFLAGS="$CFLAGS -fno-strict-aliasing"
18619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18620 /* end confdefs.h. */
18621 int main(int argc, char **argv) { return 0; }
18622 _ACEOF
18623 if ac_fn_c_try_link "$LINENO"
18624 then :
18625 ac_cv_cflags__fno_strict_aliasing=yes
18626 else $as_nop
18627 ac_cv_cflags__fno_strict_aliasing=no
18629 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18630 conftest$ac_exeext conftest.$ac_ext
18631 CFLAGS=$ac_wine_try_cflags_saved
18633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18634 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18635 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18636 then :
18637 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18640 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18641 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18642 then :
18643 printf %s "(cached) " >&6
18644 else $as_nop
18645 ac_wine_try_cflags_saved=$CFLAGS
18646 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18648 /* end confdefs.h. */
18649 int main(int argc, char **argv) { return 0; }
18650 _ACEOF
18651 if ac_fn_c_try_link "$LINENO"
18652 then :
18653 ac_cv_cflags__Wdeclaration_after_statement=yes
18654 else $as_nop
18655 ac_cv_cflags__Wdeclaration_after_statement=no
18657 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18658 conftest$ac_exeext conftest.$ac_ext
18659 CFLAGS=$ac_wine_try_cflags_saved
18661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18662 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18663 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18664 then :
18665 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18668 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18669 if test ${ac_cv_cflags__Wempty_body+y}
18670 then :
18671 printf %s "(cached) " >&6
18672 else $as_nop
18673 ac_wine_try_cflags_saved=$CFLAGS
18674 CFLAGS="$CFLAGS -Wempty-body"
18675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18676 /* end confdefs.h. */
18677 int main(int argc, char **argv) { return 0; }
18678 _ACEOF
18679 if ac_fn_c_try_link "$LINENO"
18680 then :
18681 ac_cv_cflags__Wempty_body=yes
18682 else $as_nop
18683 ac_cv_cflags__Wempty_body=no
18685 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18686 conftest$ac_exeext conftest.$ac_ext
18687 CFLAGS=$ac_wine_try_cflags_saved
18689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18690 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18691 if test "x$ac_cv_cflags__Wempty_body" = xyes
18692 then :
18693 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18696 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18697 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18698 then :
18699 printf %s "(cached) " >&6
18700 else $as_nop
18701 ac_wine_try_cflags_saved=$CFLAGS
18702 CFLAGS="$CFLAGS -Wignored-qualifiers"
18703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18704 /* end confdefs.h. */
18705 int main(int argc, char **argv) { return 0; }
18706 _ACEOF
18707 if ac_fn_c_try_link "$LINENO"
18708 then :
18709 ac_cv_cflags__Wignored_qualifiers=yes
18710 else $as_nop
18711 ac_cv_cflags__Wignored_qualifiers=no
18713 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18714 conftest$ac_exeext conftest.$ac_ext
18715 CFLAGS=$ac_wine_try_cflags_saved
18717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18718 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18719 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18720 then :
18721 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18724 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18725 if test ${ac_cv_cflags__Winit_self+y}
18726 then :
18727 printf %s "(cached) " >&6
18728 else $as_nop
18729 ac_wine_try_cflags_saved=$CFLAGS
18730 CFLAGS="$CFLAGS -Winit-self"
18731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18732 /* end confdefs.h. */
18733 int main(int argc, char **argv) { return 0; }
18734 _ACEOF
18735 if ac_fn_c_try_link "$LINENO"
18736 then :
18737 ac_cv_cflags__Winit_self=yes
18738 else $as_nop
18739 ac_cv_cflags__Winit_self=no
18741 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18742 conftest$ac_exeext conftest.$ac_ext
18743 CFLAGS=$ac_wine_try_cflags_saved
18745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18746 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18747 if test "x$ac_cv_cflags__Winit_self" = xyes
18748 then :
18749 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18752 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18753 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18754 then :
18755 printf %s "(cached) " >&6
18756 else $as_nop
18757 ac_wine_try_cflags_saved=$CFLAGS
18758 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18760 /* end confdefs.h. */
18761 int main(int argc, char **argv) { return 0; }
18762 _ACEOF
18763 if ac_fn_c_try_link "$LINENO"
18764 then :
18765 ac_cv_cflags__Wpacked_not_aligned=yes
18766 else $as_nop
18767 ac_cv_cflags__Wpacked_not_aligned=no
18769 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18770 conftest$ac_exeext conftest.$ac_ext
18771 CFLAGS=$ac_wine_try_cflags_saved
18773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18774 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18775 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18776 then :
18777 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18780 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18781 if test ${ac_cv_cflags__Wpragma_pack+y}
18782 then :
18783 printf %s "(cached) " >&6
18784 else $as_nop
18785 ac_wine_try_cflags_saved=$CFLAGS
18786 CFLAGS="$CFLAGS -Wpragma-pack"
18787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18788 /* end confdefs.h. */
18789 int main(int argc, char **argv) { return 0; }
18790 _ACEOF
18791 if ac_fn_c_try_link "$LINENO"
18792 then :
18793 ac_cv_cflags__Wpragma_pack=yes
18794 else $as_nop
18795 ac_cv_cflags__Wpragma_pack=no
18797 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18798 conftest$ac_exeext conftest.$ac_ext
18799 CFLAGS=$ac_wine_try_cflags_saved
18801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18802 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18803 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18804 then :
18805 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18808 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18809 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18810 then :
18811 printf %s "(cached) " >&6
18812 else $as_nop
18813 ac_wine_try_cflags_saved=$CFLAGS
18814 CFLAGS="$CFLAGS -Wshift-overflow=2"
18815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18816 /* end confdefs.h. */
18817 int main(int argc, char **argv) { return 0; }
18818 _ACEOF
18819 if ac_fn_c_try_link "$LINENO"
18820 then :
18821 ac_cv_cflags__Wshift_overflow_2=yes
18822 else $as_nop
18823 ac_cv_cflags__Wshift_overflow_2=no
18825 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18826 conftest$ac_exeext conftest.$ac_ext
18827 CFLAGS=$ac_wine_try_cflags_saved
18829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18830 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18831 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18832 then :
18833 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18836 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18837 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18838 then :
18839 printf %s "(cached) " >&6
18840 else $as_nop
18841 ac_wine_try_cflags_saved=$CFLAGS
18842 CFLAGS="$CFLAGS -Wstrict-prototypes"
18843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18844 /* end confdefs.h. */
18845 int main(int argc, char **argv) { return 0; }
18846 _ACEOF
18847 if ac_fn_c_try_link "$LINENO"
18848 then :
18849 ac_cv_cflags__Wstrict_prototypes=yes
18850 else $as_nop
18851 ac_cv_cflags__Wstrict_prototypes=no
18853 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18854 conftest$ac_exeext conftest.$ac_ext
18855 CFLAGS=$ac_wine_try_cflags_saved
18857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18858 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18859 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18860 then :
18861 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18864 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18865 if test ${ac_cv_cflags__Wtype_limits+y}
18866 then :
18867 printf %s "(cached) " >&6
18868 else $as_nop
18869 ac_wine_try_cflags_saved=$CFLAGS
18870 CFLAGS="$CFLAGS -Wtype-limits"
18871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18872 /* end confdefs.h. */
18873 int main(int argc, char **argv) { return 0; }
18874 _ACEOF
18875 if ac_fn_c_try_link "$LINENO"
18876 then :
18877 ac_cv_cflags__Wtype_limits=yes
18878 else $as_nop
18879 ac_cv_cflags__Wtype_limits=no
18881 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18882 conftest$ac_exeext conftest.$ac_ext
18883 CFLAGS=$ac_wine_try_cflags_saved
18885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18886 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18887 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18888 then :
18889 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18892 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18893 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18894 then :
18895 printf %s "(cached) " >&6
18896 else $as_nop
18897 ac_wine_try_cflags_saved=$CFLAGS
18898 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18900 /* end confdefs.h. */
18901 int main(int argc, char **argv) { return 0; }
18902 _ACEOF
18903 if ac_fn_c_try_link "$LINENO"
18904 then :
18905 ac_cv_cflags__Wunused_but_set_parameter=yes
18906 else $as_nop
18907 ac_cv_cflags__Wunused_but_set_parameter=no
18909 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18910 conftest$ac_exeext conftest.$ac_ext
18911 CFLAGS=$ac_wine_try_cflags_saved
18913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18914 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18915 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18916 then :
18917 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18920 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18921 if test ${ac_cv_cflags__Wvla+y}
18922 then :
18923 printf %s "(cached) " >&6
18924 else $as_nop
18925 ac_wine_try_cflags_saved=$CFLAGS
18926 CFLAGS="$CFLAGS -Wvla"
18927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18928 /* end confdefs.h. */
18929 int main(int argc, char **argv) { return 0; }
18930 _ACEOF
18931 if ac_fn_c_try_link "$LINENO"
18932 then :
18933 ac_cv_cflags__Wvla=yes
18934 else $as_nop
18935 ac_cv_cflags__Wvla=no
18937 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18938 conftest$ac_exeext conftest.$ac_ext
18939 CFLAGS=$ac_wine_try_cflags_saved
18941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18942 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18943 if test "x$ac_cv_cflags__Wvla" = xyes
18944 then :
18945 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18948 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18949 if test ${ac_cv_cflags__Wwrite_strings+y}
18950 then :
18951 printf %s "(cached) " >&6
18952 else $as_nop
18953 ac_wine_try_cflags_saved=$CFLAGS
18954 CFLAGS="$CFLAGS -Wwrite-strings"
18955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18956 /* end confdefs.h. */
18957 int main(int argc, char **argv) { return 0; }
18958 _ACEOF
18959 if ac_fn_c_try_link "$LINENO"
18960 then :
18961 ac_cv_cflags__Wwrite_strings=yes
18962 else $as_nop
18963 ac_cv_cflags__Wwrite_strings=no
18965 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18966 conftest$ac_exeext conftest.$ac_ext
18967 CFLAGS=$ac_wine_try_cflags_saved
18969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18970 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18971 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18972 then :
18973 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18977 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18978 if test ${ac_cv_cflags__Wpointer_arith+y}
18979 then :
18980 printf %s "(cached) " >&6
18981 else $as_nop
18982 ac_wine_try_cflags_saved=$CFLAGS
18983 CFLAGS="$CFLAGS -Wpointer-arith"
18984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18985 /* end confdefs.h. */
18986 int main(int argc, char **argv) { return 0; }
18987 _ACEOF
18988 if ac_fn_c_try_link "$LINENO"
18989 then :
18990 ac_cv_cflags__Wpointer_arith=yes
18991 else $as_nop
18992 ac_cv_cflags__Wpointer_arith=no
18994 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18995 conftest$ac_exeext conftest.$ac_ext
18996 CFLAGS=$ac_wine_try_cflags_saved
18998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18999 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19000 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19001 then :
19002 saved_string_h_CFLAGS=$CFLAGS
19003 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19005 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19006 if test ${ac_cv_c_string_h_warnings+y}
19007 then :
19008 printf %s "(cached) " >&6
19009 else $as_nop
19010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19011 /* end confdefs.h. */
19012 #include <string.h>
19014 main (void)
19018 return 0;
19020 _ACEOF
19021 if ac_fn_c_try_compile "$LINENO"
19022 then :
19023 ac_cv_c_string_h_warnings=no
19024 else $as_nop
19025 ac_cv_c_string_h_warnings=yes
19027 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19030 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19031 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19032 CFLAGS=$saved_string_h_CFLAGS
19035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19036 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19037 if test ${ac_cv_cflags__Wlogical_op+y}
19038 then :
19039 printf %s "(cached) " >&6
19040 else $as_nop
19041 ac_wine_try_cflags_saved=$CFLAGS
19042 CFLAGS="$CFLAGS -Wlogical-op"
19043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19044 /* end confdefs.h. */
19045 int main(int argc, char **argv) { return 0; }
19046 _ACEOF
19047 if ac_fn_c_try_link "$LINENO"
19048 then :
19049 ac_cv_cflags__Wlogical_op=yes
19050 else $as_nop
19051 ac_cv_cflags__Wlogical_op=no
19053 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19054 conftest$ac_exeext conftest.$ac_ext
19055 CFLAGS=$ac_wine_try_cflags_saved
19057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19058 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19059 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19060 then :
19061 saved_string_h_CFLAGS=$CFLAGS
19062 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19064 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19065 if test ${ac_cv_c_logicalop_noisy+y}
19066 then :
19067 printf %s "(cached) " >&6
19068 else $as_nop
19069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19070 /* end confdefs.h. */
19071 #include <string.h>
19072 char*f(const char *h,char n) {return strchr(h,n);}
19074 main (void)
19078 return 0;
19080 _ACEOF
19081 if ac_fn_c_try_compile "$LINENO"
19082 then :
19083 ac_cv_c_logicalop_noisy=no
19084 else $as_nop
19085 ac_cv_c_logicalop_noisy=yes
19087 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19090 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19091 CFLAGS=$saved_string_h_CFLAGS
19092 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19096 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19097 if test ${wine_cv_64bit_compare_swap+y}
19098 then :
19099 printf %s "(cached) " >&6
19100 else $as_nop
19101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19102 /* end confdefs.h. */
19103 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19104 #error no
19105 #endif
19107 main (void)
19111 return 0;
19113 _ACEOF
19114 if ac_fn_c_try_compile "$LINENO"
19115 then :
19116 wine_cv_64bit_compare_swap="none needed"
19117 else $as_nop
19118 case $host_cpu in
19119 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19120 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19121 *) wine_cv_64bit_compare_swap="unknown" ;;
19122 esac
19123 if test "x$wine_cv_64bit_compare_swap" != xunknown
19124 then
19125 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19127 /* end confdefs.h. */
19128 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19129 #error no
19130 #endif
19132 main (void)
19136 return 0;
19138 _ACEOF
19139 if ac_fn_c_try_compile "$LINENO"
19140 then :
19142 else $as_nop
19143 wine_cv_64bit_compare_swap="unknown"
19145 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19146 CFLAGS=$saved_CFLAGS
19149 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19152 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19153 case "$wine_cv_64bit_compare_swap" in
19154 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19155 "none needed") ;;
19156 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19157 esac
19159 ac_debug_format_seen=""
19160 for ac_flag in $CFLAGS; do
19161 case $ac_flag in
19162 -gdwarf*) ac_debug_format_seen=yes ;;
19163 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19164 esac
19165 done
19166 if test "x$ac_debug_format_seen" = xdefault
19167 then
19168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19169 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19170 if test ${ac_cv_cflags__gdwarf_4+y}
19171 then :
19172 printf %s "(cached) " >&6
19173 else $as_nop
19174 ac_wine_try_cflags_saved=$CFLAGS
19175 CFLAGS="$CFLAGS -gdwarf-4"
19176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19177 /* end confdefs.h. */
19178 int main(int argc, char **argv) { return 0; }
19179 _ACEOF
19180 if ac_fn_c_try_link "$LINENO"
19181 then :
19182 ac_cv_cflags__gdwarf_4=yes
19183 else $as_nop
19184 ac_cv_cflags__gdwarf_4=no
19186 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19187 conftest$ac_exeext conftest.$ac_ext
19188 CFLAGS=$ac_wine_try_cflags_saved
19190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19191 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19192 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19193 then :
19194 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19198 MSVCRTFLAGS=""
19200 case $host_os in
19201 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19202 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19203 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19204 then :
19205 printf %s "(cached) " >&6
19206 else $as_nop
19207 ac_wine_try_cflags_saved=$CFLAGS
19208 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19210 /* end confdefs.h. */
19211 int main(int argc, char **argv) { return 0; }
19212 _ACEOF
19213 if ac_fn_c_try_link "$LINENO"
19214 then :
19215 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19216 else $as_nop
19217 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19220 conftest$ac_exeext conftest.$ac_ext
19221 CFLAGS=$ac_wine_try_cflags_saved
19223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19224 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19225 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19226 then :
19227 DELAYLOADFLAG="-Wl,-delayload,"
19229 fi ;;
19230 *) MSVCRTFLAGS="-D_WIN32"
19231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19232 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19233 if test ${ac_cv_cflags__fno_builtin+y}
19234 then :
19235 printf %s "(cached) " >&6
19236 else $as_nop
19237 ac_wine_try_cflags_saved=$CFLAGS
19238 CFLAGS="$CFLAGS -fno-builtin"
19239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19240 /* end confdefs.h. */
19241 int main(int argc, char **argv) { return 0; }
19242 _ACEOF
19243 if ac_fn_c_try_link "$LINENO"
19244 then :
19245 ac_cv_cflags__fno_builtin=yes
19246 else $as_nop
19247 ac_cv_cflags__fno_builtin=no
19249 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19250 conftest$ac_exeext conftest.$ac_ext
19251 CFLAGS=$ac_wine_try_cflags_saved
19253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19254 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19255 if test "x$ac_cv_cflags__fno_builtin" = xyes
19256 then :
19257 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19260 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19261 if test ${ac_cv_cflags__fshort_wchar+y}
19262 then :
19263 printf %s "(cached) " >&6
19264 else $as_nop
19265 ac_wine_try_cflags_saved=$CFLAGS
19266 CFLAGS="$CFLAGS -fshort-wchar"
19267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19268 /* end confdefs.h. */
19269 int main(int argc, char **argv) { return 0; }
19270 _ACEOF
19271 if ac_fn_c_try_link "$LINENO"
19272 then :
19273 ac_cv_cflags__fshort_wchar=yes
19274 else $as_nop
19275 ac_cv_cflags__fshort_wchar=no
19277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19278 conftest$ac_exeext conftest.$ac_ext
19279 CFLAGS=$ac_wine_try_cflags_saved
19281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19282 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19283 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19284 then :
19285 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19288 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19289 if test ${ac_cv_cflags__Wno_format+y}
19290 then :
19291 printf %s "(cached) " >&6
19292 else $as_nop
19293 ac_wine_try_cflags_saved=$CFLAGS
19294 CFLAGS="$CFLAGS -Wno-format"
19295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19296 /* end confdefs.h. */
19297 int main(int argc, char **argv) { return 0; }
19298 _ACEOF
19299 if ac_fn_c_try_link "$LINENO"
19300 then :
19301 ac_cv_cflags__Wno_format=yes
19302 else $as_nop
19303 ac_cv_cflags__Wno_format=no
19305 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19306 conftest$ac_exeext conftest.$ac_ext
19307 CFLAGS=$ac_wine_try_cflags_saved
19309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19310 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19311 if test "x$ac_cv_cflags__Wno_format" = xyes
19312 then :
19313 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19314 fi ;;
19315 esac
19317 case $host_cpu in
19318 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19319 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19320 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19321 then :
19322 printf %s "(cached) " >&6
19323 else $as_nop
19324 ac_wine_try_cflags_saved=$CFLAGS
19325 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19327 /* end confdefs.h. */
19328 int main(int argc, char **argv) { return 0; }
19329 _ACEOF
19330 if ac_fn_c_try_link "$LINENO"
19331 then :
19332 ac_cv_cflags__fno_omit_frame_pointer=yes
19333 else $as_nop
19334 ac_cv_cflags__fno_omit_frame_pointer=no
19336 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19337 conftest$ac_exeext conftest.$ac_ext
19338 CFLAGS=$ac_wine_try_cflags_saved
19340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19341 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19342 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19343 then :
19344 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
19345 fi ;;
19346 *x86_64*)
19347 case $host_os in
19348 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19349 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19350 if test ${ac_cv_cflags__Wno_format+y}
19351 then :
19352 printf %s "(cached) " >&6
19353 else $as_nop
19354 ac_wine_try_cflags_saved=$CFLAGS
19355 CFLAGS="$CFLAGS -Wno-format"
19356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19357 /* end confdefs.h. */
19358 int main(int argc, char **argv) { return 0; }
19359 _ACEOF
19360 if ac_fn_c_try_link "$LINENO"
19361 then :
19362 ac_cv_cflags__Wno_format=yes
19363 else $as_nop
19364 ac_cv_cflags__Wno_format=no
19366 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19367 conftest$ac_exeext conftest.$ac_ext
19368 CFLAGS=$ac_wine_try_cflags_saved
19370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19371 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19372 if test "x$ac_cv_cflags__Wno_format" = xyes
19373 then :
19374 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19375 fi ;;
19376 *) if test -z "$PE_ARCHS"
19377 then
19378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19379 printf %s "checking for working -mabi=ms... " >&6; }
19380 if test ${ac_cv_mabi_ms+y}
19381 then :
19382 printf %s "(cached) " >&6
19383 else $as_nop
19384 CFLAGS="$CFLAGS -mabi=ms"
19385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19386 /* end confdefs.h. */
19387 #include <stdarg.h>
19388 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19390 main (void)
19394 return 0;
19396 _ACEOF
19397 if ac_fn_c_try_compile "$LINENO"
19398 then :
19399 ac_cv_mabi_ms=yes
19400 else $as_nop
19401 ac_cv_mabi_ms=no
19403 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19404 CFLAGS=$saved_CFLAGS
19406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19407 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19408 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
19410 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19411 esac ;;
19412 arm*)
19413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19414 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19415 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19416 then :
19417 printf %s "(cached) " >&6
19418 else $as_nop
19419 ac_wine_try_cflags_saved=$CFLAGS
19420 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19422 /* end confdefs.h. */
19423 int main(int argc, char **argv) { return 0; }
19424 _ACEOF
19425 if ac_fn_c_try_link "$LINENO"
19426 then :
19427 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19428 else $as_nop
19429 ac_cv_cflags__Wincompatible_function_pointer_types=no
19431 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19432 conftest$ac_exeext conftest.$ac_ext
19433 CFLAGS=$ac_wine_try_cflags_saved
19435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19436 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19437 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19438 then :
19439 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19440 fi ;;
19441 esac
19443 CFLAGS=$saved_CFLAGS
19445 if test "x$enable_werror" = "xyes"
19446 then
19447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19448 printf %s "checking whether the compiler supports -Werror... " >&6; }
19449 if test ${ac_cv_cflags__Werror+y}
19450 then :
19451 printf %s "(cached) " >&6
19452 else $as_nop
19453 ac_wine_try_cflags_saved=$CFLAGS
19454 CFLAGS="$CFLAGS -Werror"
19455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19456 /* end confdefs.h. */
19457 int main(int argc, char **argv) { return 0; }
19458 _ACEOF
19459 if ac_fn_c_try_link "$LINENO"
19460 then :
19461 ac_cv_cflags__Werror=yes
19462 else $as_nop
19463 ac_cv_cflags__Werror=no
19465 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19466 conftest$ac_exeext conftest.$ac_ext
19467 CFLAGS=$ac_wine_try_cflags_saved
19469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19470 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19471 if test "x$ac_cv_cflags__Werror" = xyes
19472 then :
19473 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19476 if test "x$enable_build_id" = "xyes"
19477 then
19478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19479 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19480 if test ${ac_cv_cflags__Wl___build_id+y}
19481 then :
19482 printf %s "(cached) " >&6
19483 else $as_nop
19484 ac_wine_try_cflags_saved=$CFLAGS
19485 CFLAGS="$CFLAGS -Wl,--build-id"
19486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19487 /* end confdefs.h. */
19488 int main(int argc, char **argv) { return 0; }
19489 _ACEOF
19490 if ac_fn_c_try_link "$LINENO"
19491 then :
19492 ac_cv_cflags__Wl___build_id=yes
19493 else $as_nop
19494 ac_cv_cflags__Wl___build_id=no
19496 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19497 conftest$ac_exeext conftest.$ac_ext
19498 CFLAGS=$ac_wine_try_cflags_saved
19500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19501 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19502 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19503 then :
19504 CFLAGS="$CFLAGS -Wl,--build-id"
19505 LDFLAGS="$LDFLAGS -Wl,--build-id"
19511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19512 printf %s "checking for the need to disable Fortify... " >&6; }
19513 if test ${ac_cv_c_fortify_enabled+y}
19514 then :
19515 printf %s "(cached) " >&6
19516 else $as_nop
19517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19518 /* end confdefs.h. */
19519 #include <string.h>
19521 main (void)
19523 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19524 #error Fortify enabled
19525 #endif
19527 return 0;
19529 _ACEOF
19530 if ac_fn_c_try_compile "$LINENO"
19531 then :
19532 ac_cv_c_fortify_enabled=no
19533 else $as_nop
19534 ac_cv_c_fortify_enabled=yes
19536 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19539 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19540 if test "$ac_cv_c_fortify_enabled" = yes
19541 then
19542 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19547 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19548 if test ${ac_cv_c_cfi_support+y}
19549 then :
19550 printf %s "(cached) " >&6
19551 else $as_nop
19552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19553 /* end confdefs.h. */
19554 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19556 main (void)
19560 return 0;
19562 _ACEOF
19563 if ac_fn_c_try_compile "$LINENO"
19564 then :
19565 ac_cv_c_cfi_support="yes"
19566 else $as_nop
19567 ac_cv_c_cfi_support="no"
19569 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19572 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19573 if test "$ac_cv_c_cfi_support" = "yes"
19574 then
19575 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19576 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19577 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19578 elif test $HOST_ARCH = x86_64
19579 then
19580 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19584 case $host_os in
19585 linux*)
19586 case $host_cpu in
19587 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19588 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19589 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19591 esac
19593 esac
19596 ac_save_CFLAGS="$CFLAGS"
19597 CFLAGS="$CFLAGS $BUILTINFLAG"
19598 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19599 if test "x$ac_cv_func_epoll_create" = xyes
19600 then :
19601 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19604 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19605 if test "x$ac_cv_func_fstatfs" = xyes
19606 then :
19607 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19610 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19611 if test "x$ac_cv_func_futimens" = xyes
19612 then :
19613 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19616 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19617 if test "x$ac_cv_func_futimes" = xyes
19618 then :
19619 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19622 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19623 if test "x$ac_cv_func_futimesat" = xyes
19624 then :
19625 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19628 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19629 if test "x$ac_cv_func_getattrlist" = xyes
19630 then :
19631 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19634 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19635 if test "x$ac_cv_func_getauxval" = xyes
19636 then :
19637 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19640 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19641 if test "x$ac_cv_func_getifaddrs" = xyes
19642 then :
19643 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19646 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19647 if test "x$ac_cv_func_getrandom" = xyes
19648 then :
19649 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19652 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19653 if test "x$ac_cv_func_kqueue" = xyes
19654 then :
19655 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19658 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19659 if test "x$ac_cv_func_mach_continuous_time" = xyes
19660 then :
19661 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19664 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19665 if test "x$ac_cv_func_pipe2" = xyes
19666 then :
19667 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19670 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19671 if test "x$ac_cv_func_port_create" = xyes
19672 then :
19673 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19676 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19677 if test "x$ac_cv_func_posix_fadvise" = xyes
19678 then :
19679 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19682 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19683 if test "x$ac_cv_func_posix_fallocate" = xyes
19684 then :
19685 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19688 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19689 if test "x$ac_cv_func_prctl" = xyes
19690 then :
19691 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19694 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19695 if test "x$ac_cv_func_proc_pidinfo" = xyes
19696 then :
19697 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19700 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19701 if test "x$ac_cv_func_sched_yield" = xyes
19702 then :
19703 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19706 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19707 if test "x$ac_cv_func_setproctitle" = xyes
19708 then :
19709 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19712 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19713 if test "x$ac_cv_func_setprogname" = xyes
19714 then :
19715 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19718 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19719 if test "x$ac_cv_func_sigprocmask" = xyes
19720 then :
19721 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19724 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19725 if test "x$ac_cv_func_sysinfo" = xyes
19726 then :
19727 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19730 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19731 if test "x$ac_cv_func_tcdrain" = xyes
19732 then :
19733 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19736 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19737 if test "x$ac_cv_func_thr_kill2" = xyes
19738 then :
19739 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19743 CFLAGS="$ac_save_CFLAGS"
19745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19746 printf %s "checking for library containing dlopen... " >&6; }
19747 if test ${ac_cv_search_dlopen+y}
19748 then :
19749 printf %s "(cached) " >&6
19750 else $as_nop
19751 ac_func_search_save_LIBS=$LIBS
19752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19753 /* end confdefs.h. */
19755 /* Override any GCC internal prototype to avoid an error.
19756 Use char because int might match the return type of a GCC
19757 builtin and then its argument prototype would still apply. */
19758 char dlopen ();
19760 main (void)
19762 return dlopen ();
19764 return 0;
19766 _ACEOF
19767 for ac_lib in '' dl
19769 if test -z "$ac_lib"; then
19770 ac_res="none required"
19771 else
19772 ac_res=-l$ac_lib
19773 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19775 if ac_fn_c_try_link "$LINENO"
19776 then :
19777 ac_cv_search_dlopen=$ac_res
19779 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19780 conftest$ac_exeext
19781 if test ${ac_cv_search_dlopen+y}
19782 then :
19783 break
19785 done
19786 if test ${ac_cv_search_dlopen+y}
19787 then :
19789 else $as_nop
19790 ac_cv_search_dlopen=no
19792 rm conftest.$ac_ext
19793 LIBS=$ac_func_search_save_LIBS
19795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19796 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19797 ac_res=$ac_cv_search_dlopen
19798 if test "$ac_res" != no
19799 then :
19800 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19804 ac_wine_check_funcs_save_LIBS="$LIBS"
19805 LIBS="$LIBS $DL_LIBS"
19806 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19807 if test "x$ac_cv_func_dlinfo" = xyes
19808 then :
19809 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19813 LIBS="$ac_wine_check_funcs_save_LIBS"
19815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19816 printf %s "checking for library containing gethostbyname... " >&6; }
19817 if test ${ac_cv_search_gethostbyname+y}
19818 then :
19819 printf %s "(cached) " >&6
19820 else $as_nop
19821 ac_func_search_save_LIBS=$LIBS
19822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19823 /* end confdefs.h. */
19825 /* Override any GCC internal prototype to avoid an error.
19826 Use char because int might match the return type of a GCC
19827 builtin and then its argument prototype would still apply. */
19828 char gethostbyname ();
19830 main (void)
19832 return gethostbyname ();
19834 return 0;
19836 _ACEOF
19837 for ac_lib in '' nsl
19839 if test -z "$ac_lib"; then
19840 ac_res="none required"
19841 else
19842 ac_res=-l$ac_lib
19843 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19845 if ac_fn_c_try_link "$LINENO"
19846 then :
19847 ac_cv_search_gethostbyname=$ac_res
19849 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19850 conftest$ac_exeext
19851 if test ${ac_cv_search_gethostbyname+y}
19852 then :
19853 break
19855 done
19856 if test ${ac_cv_search_gethostbyname+y}
19857 then :
19859 else $as_nop
19860 ac_cv_search_gethostbyname=no
19862 rm conftest.$ac_ext
19863 LIBS=$ac_func_search_save_LIBS
19865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19866 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19867 ac_res=$ac_cv_search_gethostbyname
19868 if test "$ac_res" != no
19869 then :
19870 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19876 printf %s "checking for library containing connect... " >&6; }
19877 if test ${ac_cv_search_connect+y}
19878 then :
19879 printf %s "(cached) " >&6
19880 else $as_nop
19881 ac_func_search_save_LIBS=$LIBS
19882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19883 /* end confdefs.h. */
19885 /* Override any GCC internal prototype to avoid an error.
19886 Use char because int might match the return type of a GCC
19887 builtin and then its argument prototype would still apply. */
19888 char connect ();
19890 main (void)
19892 return connect ();
19894 return 0;
19896 _ACEOF
19897 for ac_lib in '' socket
19899 if test -z "$ac_lib"; then
19900 ac_res="none required"
19901 else
19902 ac_res=-l$ac_lib
19903 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19905 if ac_fn_c_try_link "$LINENO"
19906 then :
19907 ac_cv_search_connect=$ac_res
19909 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19910 conftest$ac_exeext
19911 if test ${ac_cv_search_connect+y}
19912 then :
19913 break
19915 done
19916 if test ${ac_cv_search_connect+y}
19917 then :
19919 else $as_nop
19920 ac_cv_search_connect=no
19922 rm conftest.$ac_ext
19923 LIBS=$ac_func_search_save_LIBS
19925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19926 printf "%s\n" "$ac_cv_search_connect" >&6; }
19927 ac_res=$ac_cv_search_connect
19928 if test "$ac_res" != no
19929 then :
19930 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19936 printf %s "checking for library containing inet_aton... " >&6; }
19937 if test ${ac_cv_search_inet_aton+y}
19938 then :
19939 printf %s "(cached) " >&6
19940 else $as_nop
19941 ac_func_search_save_LIBS=$LIBS
19942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19943 /* end confdefs.h. */
19945 /* Override any GCC internal prototype to avoid an error.
19946 Use char because int might match the return type of a GCC
19947 builtin and then its argument prototype would still apply. */
19948 char inet_aton ();
19950 main (void)
19952 return inet_aton ();
19954 return 0;
19956 _ACEOF
19957 for ac_lib in '' resolv
19959 if test -z "$ac_lib"; then
19960 ac_res="none required"
19961 else
19962 ac_res=-l$ac_lib
19963 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19965 if ac_fn_c_try_link "$LINENO"
19966 then :
19967 ac_cv_search_inet_aton=$ac_res
19969 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19970 conftest$ac_exeext
19971 if test ${ac_cv_search_inet_aton+y}
19972 then :
19973 break
19975 done
19976 if test ${ac_cv_search_inet_aton+y}
19977 then :
19979 else $as_nop
19980 ac_cv_search_inet_aton=no
19982 rm conftest.$ac_ext
19983 LIBS=$ac_func_search_save_LIBS
19985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19986 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19987 ac_res=$ac_cv_search_inet_aton
19988 if test "$ac_res" != no
19989 then :
19990 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19995 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19996 if test "x$ac_cv_func_getaddrinfo" = xyes
19997 then :
19998 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20003 case $host_os in
20004 darwin*|macosx*) ;;
20005 *) ac_save_LIBS=$LIBS
20006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20007 printf %s "checking for library containing clock_gettime... " >&6; }
20008 if test ${ac_cv_search_clock_gettime+y}
20009 then :
20010 printf %s "(cached) " >&6
20011 else $as_nop
20012 ac_func_search_save_LIBS=$LIBS
20013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20014 /* end confdefs.h. */
20016 /* Override any GCC internal prototype to avoid an error.
20017 Use char because int might match the return type of a GCC
20018 builtin and then its argument prototype would still apply. */
20019 char clock_gettime ();
20021 main (void)
20023 return clock_gettime ();
20025 return 0;
20027 _ACEOF
20028 for ac_lib in '' rt
20030 if test -z "$ac_lib"; then
20031 ac_res="none required"
20032 else
20033 ac_res=-l$ac_lib
20034 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20036 if ac_fn_c_try_link "$LINENO"
20037 then :
20038 ac_cv_search_clock_gettime=$ac_res
20040 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20041 conftest$ac_exeext
20042 if test ${ac_cv_search_clock_gettime+y}
20043 then :
20044 break
20046 done
20047 if test ${ac_cv_search_clock_gettime+y}
20048 then :
20050 else $as_nop
20051 ac_cv_search_clock_gettime=no
20053 rm conftest.$ac_ext
20054 LIBS=$ac_func_search_save_LIBS
20056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20057 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20058 ac_res=$ac_cv_search_clock_gettime
20059 if test "$ac_res" != no
20060 then :
20061 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20063 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20065 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20069 LIBS=$ac_save_LIBS
20071 esac
20073 if test "x$with_ldap" != "xno"
20074 then
20075 if ${LDAP_CFLAGS:+false} :
20076 then :
20077 if test ${PKG_CONFIG+y}
20078 then :
20079 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
20083 if ${LDAP_LIBS:+false} :
20084 then :
20085 if test ${PKG_CONFIG+y}
20086 then :
20087 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
20091 LDAP_LIBS=${LDAP_LIBS:-"-lldap -llber"}
20092 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
20093 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
20094 ac_save_CPPFLAGS=$CPPFLAGS
20095 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
20096 ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
20097 if test "x$ac_cv_header_ldap_h" = xyes
20098 then :
20099 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
20102 ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
20103 if test "x$ac_cv_header_lber_h" = xyes
20104 then :
20105 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
20109 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
20110 then
20111 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
20113 if test "x$ac_cv_type_LDAPSortKey" = xyes
20114 then :
20115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
20116 printf %s "checking for ldap_initialize in -lldap... " >&6; }
20117 if test ${ac_cv_lib_ldap_ldap_initialize+y}
20118 then :
20119 printf %s "(cached) " >&6
20120 else $as_nop
20121 ac_check_lib_save_LIBS=$LIBS
20122 LIBS="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20124 /* end confdefs.h. */
20126 /* Override any GCC internal prototype to avoid an error.
20127 Use char because int might match the return type of a GCC
20128 builtin and then its argument prototype would still apply. */
20129 char ldap_initialize ();
20131 main (void)
20133 return ldap_initialize ();
20135 return 0;
20137 _ACEOF
20138 if ac_fn_c_try_link "$LINENO"
20139 then :
20140 ac_cv_lib_ldap_ldap_initialize=yes
20141 else $as_nop
20142 ac_cv_lib_ldap_ldap_initialize=no
20144 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20145 conftest$ac_exeext conftest.$ac_ext
20146 LIBS=$ac_check_lib_save_LIBS
20148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
20149 printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
20150 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
20151 then :
20152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20153 printf %s "checking for ber_init in -llber... " >&6; }
20154 if test ${ac_cv_lib_lber_ber_init+y}
20155 then :
20156 printf %s "(cached) " >&6
20157 else $as_nop
20158 ac_check_lib_save_LIBS=$LIBS
20159 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20161 /* end confdefs.h. */
20163 /* Override any GCC internal prototype to avoid an error.
20164 Use char because int might match the return type of a GCC
20165 builtin and then its argument prototype would still apply. */
20166 char ber_init ();
20168 main (void)
20170 return ber_init ();
20172 return 0;
20174 _ACEOF
20175 if ac_fn_c_try_link "$LINENO"
20176 then :
20177 ac_cv_lib_lber_ber_init=yes
20178 else $as_nop
20179 ac_cv_lib_lber_ber_init=no
20181 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20182 conftest$ac_exeext conftest.$ac_ext
20183 LIBS=$ac_check_lib_save_LIBS
20185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20186 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20187 if test "x$ac_cv_lib_lber_ber_init" = xyes
20188 then :
20190 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20192 else $as_nop
20193 LDAP_LIBS=""
20196 else $as_nop
20197 LDAP_LIBS=""
20200 else $as_nop
20201 LDAP_LIBS=""
20204 else
20205 LDAP_LIBS=""
20207 CPPFLAGS=$ac_save_CPPFLAGS
20210 if test "x$LDAP_LIBS" = "x"
20211 then :
20212 case "x$with_ldap" in
20213 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20214 xno) ;;
20215 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20216 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20217 esac
20221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20222 printf %s "checking for sched_setaffinity... " >&6; }
20223 if test ${wine_cv_have_sched_setaffinity+y}
20224 then :
20225 printf %s "(cached) " >&6
20226 else $as_nop
20227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20228 /* end confdefs.h. */
20229 #include <sched.h>
20231 main (void)
20233 sched_setaffinity(0, 0, 0);
20235 return 0;
20237 _ACEOF
20238 if ac_fn_c_try_link "$LINENO"
20239 then :
20240 wine_cv_have_sched_setaffinity=yes
20241 else $as_nop
20242 wine_cv_have_sched_setaffinity=no
20244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20245 conftest$ac_exeext conftest.$ac_ext
20247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20248 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20249 if test "$wine_cv_have_sched_setaffinity" = "yes"
20250 then
20252 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20258 printf %s "checking for inline... " >&6; }
20259 if test ${ac_cv_c_inline+y}
20260 then :
20261 printf %s "(cached) " >&6
20262 else $as_nop
20263 ac_cv_c_inline=no
20264 for ac_kw in inline __inline__ __inline; do
20265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20266 /* end confdefs.h. */
20267 #ifndef __cplusplus
20268 typedef int foo_t;
20269 static $ac_kw foo_t static_foo (void) {return 0; }
20270 $ac_kw foo_t foo (void) {return 0; }
20271 #endif
20273 _ACEOF
20274 if ac_fn_c_try_compile "$LINENO"
20275 then :
20276 ac_cv_c_inline=$ac_kw
20278 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20279 test "$ac_cv_c_inline" != no && break
20280 done
20283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20284 printf "%s\n" "$ac_cv_c_inline" >&6; }
20286 case $ac_cv_c_inline in
20287 inline | yes) ;;
20289 case $ac_cv_c_inline in
20290 no) ac_val=;;
20291 *) ac_val=$ac_cv_c_inline;;
20292 esac
20293 cat >>confdefs.h <<_ACEOF
20294 #ifndef __cplusplus
20295 #define inline $ac_val
20296 #endif
20297 _ACEOF
20299 esac
20301 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20302 #include <signal.h>
20304 if test "x$ac_cv_type_sigset_t" = xyes
20305 then :
20307 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20312 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20314 if test "x$ac_cv_type_request_sense" = xyes
20315 then :
20317 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20323 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20324 #include <sys/socket.h>
20325 #ifdef HAVE_SYS_SOCKETVAR_H
20326 #include <sys/socketvar.h>
20327 #endif
20328 #ifdef HAVE_NET_ROUTE_H
20329 #include <net/route.h>
20330 #endif
20331 #ifdef HAVE_NETINET_IN_H
20332 #include <netinet/in.h>
20333 #endif
20334 #ifdef HAVE_NETINET_IN_SYSTM_H
20335 #include <netinet/in_systm.h>
20336 #endif
20337 #ifdef HAVE_NETINET_IP_H
20338 #include <netinet/ip.h>
20339 #endif
20340 #ifdef HAVE_NETINET_IN_PCB_H
20341 #include <netinet/in_pcb.h>
20342 #endif
20344 if test "x$ac_cv_type_struct_xinpgen" = xyes
20345 then :
20347 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20354 printf %s "checking for sigaddset... " >&6; }
20355 if test ${wine_cv_have_sigaddset+y}
20356 then :
20357 printf %s "(cached) " >&6
20358 else $as_nop
20359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20360 /* end confdefs.h. */
20361 #include <signal.h>
20363 main (void)
20365 sigset_t set; sigaddset(&set,SIGTERM);
20367 return 0;
20369 _ACEOF
20370 if ac_fn_c_try_link "$LINENO"
20371 then :
20372 wine_cv_have_sigaddset=yes
20373 else $as_nop
20374 wine_cv_have_sigaddset=no
20376 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20377 conftest$ac_exeext conftest.$ac_ext
20379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20380 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20381 if test "$wine_cv_have_sigaddset" = "yes"
20382 then
20384 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20390 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20391 if test ${wine_cv_linux_gethostbyname_r_6+y}
20392 then :
20393 printf %s "(cached) " >&6
20394 else $as_nop
20395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20396 /* end confdefs.h. */
20397 #include <netdb.h>
20399 main (void)
20402 char *name=0;
20403 struct hostent he;
20404 struct hostent *result;
20405 char *buf=0;
20406 int bufsize=0;
20407 int errnr;
20408 char *addr=0;
20409 int addrlen=0;
20410 int addrtype=0;
20411 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20412 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20415 return 0;
20417 _ACEOF
20418 if ac_fn_c_try_link "$LINENO"
20419 then :
20420 wine_cv_linux_gethostbyname_r_6=yes
20421 else $as_nop
20422 wine_cv_linux_gethostbyname_r_6=no
20425 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20426 conftest$ac_exeext conftest.$ac_ext
20429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20430 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20431 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20432 then
20434 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20438 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20439 #include <sys/socket.h>
20440 #ifdef HAVE_SYS_UN_H
20441 # include <sys/un.h>
20442 #endif
20444 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20445 then :
20447 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20451 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20452 #include <sys/socket.h>
20453 #ifdef HAVE_SYS_UN_H
20454 # include <sys/un.h>
20455 #endif
20457 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20458 then :
20460 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20466 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20467 #ifdef HAVE_SCSI_SG_H
20468 #include <scsi/sg.h>
20469 #endif
20471 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20472 then :
20474 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20478 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>
20479 #ifdef HAVE_SCSI_SG_H
20480 #include <scsi/sg.h>
20481 #endif
20483 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20484 then :
20486 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20492 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20494 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20495 then :
20497 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20503 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20504 #ifdef HAVE_SYS_MTIO_H
20505 #include <sys/mtio.h>
20506 #endif
20508 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20509 then :
20511 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20515 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20516 #ifdef HAVE_SYS_MTIO_H
20517 #include <sys/mtio.h>
20518 #endif
20520 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20521 then :
20523 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20527 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20528 #ifdef HAVE_SYS_MTIO_H
20529 #include <sys/mtio.h>
20530 #endif
20532 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20533 then :
20535 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20541 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20542 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20543 then :
20545 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20549 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20550 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20551 then :
20553 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20557 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20558 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20559 then :
20561 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20565 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20566 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20567 then :
20569 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20573 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20574 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20575 then :
20577 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20581 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20582 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20583 then :
20585 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20589 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20590 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20591 then :
20593 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20597 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20598 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20599 then :
20601 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20605 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20606 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20607 then :
20609 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20613 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20614 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20615 then :
20617 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20621 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20622 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20623 then :
20625 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20631 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>
20632 #ifdef HAVE_NETINET_IN_H
20633 #include <netinet/in.h>
20634 #endif
20636 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20637 then :
20639 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20645 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
20646 #include <resolv.h>
20647 #endif
20649 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20650 then :
20652 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20658 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20659 #include <netinet/in.h>
20660 #endif
20662 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20663 then :
20665 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20671 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20672 #ifdef HAVE_SYS_SOCKETVAR_H
20673 #include <sys/socketvar.h>
20674 #endif
20675 #ifdef HAVE_NETINET_IN_H
20676 #include <netinet/in.h>
20677 #endif
20678 #ifdef HAVE_NETINET_IP_VAR_H
20679 #include <netinet/ip_var.h>
20680 #endif
20682 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20683 then :
20685 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20691 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
20692 #include <netinet/ip_var.h>
20693 #endif
20695 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20696 then :
20698 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20704 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20705 #ifdef HAVE_SYS_SOCKETVAR_H
20706 #include <sys/socketvar.h>
20707 #endif
20708 #ifdef HAVE_NETINET_IN_H
20709 #include <netinet/in.h>
20710 #endif
20711 #ifdef HAVE_NETINET6_IP6_VAR_H
20712 #include <netinet6/ip6_var.h>
20713 #endif
20715 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20716 then :
20718 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20724 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20725 #ifdef HAVE_SYS_SOCKETVAR_H
20726 #include <sys/socketvar.h>
20727 #endif
20728 #ifdef HAVE_NETINET_IN_H
20729 #include <netinet/in.h>
20730 #endif
20731 #ifdef HAVE_NETINET_IP_H
20732 #include <netinet/ip.h>
20733 #endif
20734 #ifdef HAVE_NETINET_IP_ICMP_H
20735 #include <netinet/ip_icmp.h>
20736 #endif
20737 #ifdef HAVE_NETINET_ICMP_VAR_H
20738 #include <netinet/icmp_var.h>
20739 #endif
20741 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20742 then :
20744 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20750 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20751 #ifdef HAVE_SYS_SOCKETVAR_H
20752 #include <sys/socketvar.h>
20753 #endif
20754 #ifdef HAVE_NETINET_IN_H
20755 #include <netinet/in.h>
20756 #endif
20757 #ifdef HAVE_NETINET_ICMP6_H
20758 #include <netinet/icmp6.h>
20759 #endif
20761 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20762 then :
20764 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20770 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20771 #ifdef HAVE_SYS_SOCKETVAR_H
20772 #include <sys/socketvar.h>
20773 #endif
20774 #ifdef HAVE_NETINET_IN_H
20775 #include <netinet/in.h>
20776 #endif
20777 #ifdef HAVE_NETINET_TCP_H
20778 #include <netinet/tcp.h>
20779 #endif
20780 #ifdef HAVE_NETINET_TCP_VAR_H
20781 #include <netinet/tcp_var.h>
20782 #endif
20784 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20785 then :
20787 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20793 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
20794 #include <netinet/tcp_var.h>
20795 #endif
20797 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20798 then :
20800 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20806 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20807 #ifdef HAVE_NETINET_IN_H
20808 #include <netinet/in.h>
20809 #endif
20810 #ifdef HAVE_NETINET_IP_VAR_H
20811 #include <netinet/ip_var.h>
20812 #endif
20813 #ifdef HAVE_NETINET_UDP_H
20814 #include <netinet/udp.h>
20815 #endif
20816 #ifdef HAVE_NETINET_UDP_VAR_H
20817 #include <netinet/udp_var.h>
20818 #endif
20820 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20821 then :
20823 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20829 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20830 #ifdef HAVE_NET_IF_H
20831 # include <net/if.h>
20832 #endif
20834 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20835 then :
20837 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20843 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20844 # include <sys/sysinfo.h>
20845 #endif
20847 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20848 then :
20850 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20854 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20855 # include <sys/sysinfo.h>
20856 #endif
20858 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20859 then :
20861 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20867 LIBS="$ac_save_LIBS"
20869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20870 printf %s "checking for __builtin_popcount... " >&6; }
20871 if test ${ac_cv_have___builtin_popcount+y}
20872 then :
20873 printf %s "(cached) " >&6
20874 else $as_nop
20875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20876 /* end confdefs.h. */
20879 main (void)
20881 return __builtin_popcount(1)
20883 return 0;
20885 _ACEOF
20886 if ac_fn_c_try_link "$LINENO"
20887 then :
20888 ac_cv_have___builtin_popcount="yes"
20889 else $as_nop
20890 ac_cv_have___builtin_popcount="no"
20892 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20893 conftest$ac_exeext conftest.$ac_ext
20895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20896 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20897 if test "$ac_cv_have___builtin_popcount" = "yes"
20898 then
20900 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20905 printf %s "checking for __clear_cache... " >&6; }
20906 if test ${ac_cv_have___clear_cache+y}
20907 then :
20908 printf %s "(cached) " >&6
20909 else $as_nop
20910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20911 /* end confdefs.h. */
20914 main (void)
20916 __clear_cache((void*)0, (void*)0); return 0;
20918 return 0;
20920 _ACEOF
20921 if ac_fn_c_try_link "$LINENO"
20922 then :
20923 ac_cv_have___clear_cache="yes"
20924 else $as_nop
20925 ac_cv_have___clear_cache="no"
20927 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20928 conftest$ac_exeext conftest.$ac_ext
20930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20931 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20932 if test "$ac_cv_have___clear_cache" = "yes"
20933 then
20935 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20940 case $host_cpu in
20941 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20942 printf %s "checking whether we need to define __i386__... " >&6; }
20943 if test ${ac_cv_cpp_def___i386__+y}
20944 then :
20945 printf %s "(cached) " >&6
20946 else $as_nop
20947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20948 /* end confdefs.h. */
20949 #ifndef __i386__
20951 #endif
20952 _ACEOF
20953 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20954 $EGREP "yes" >/dev/null 2>&1
20955 then :
20956 ac_cv_cpp_def___i386__=yes
20957 else $as_nop
20958 ac_cv_cpp_def___i386__=no
20960 rm -rf conftest*
20963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20964 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20965 if test "x$ac_cv_cpp_def___i386__" = xyes
20966 then :
20967 CFLAGS="$CFLAGS -D__i386__"
20968 LINTFLAGS="$LINTFLAGS -D__i386__"
20969 fi ;;
20970 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20971 printf %s "checking whether we need to define __x86_64__... " >&6; }
20972 if test ${ac_cv_cpp_def___x86_64__+y}
20973 then :
20974 printf %s "(cached) " >&6
20975 else $as_nop
20976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20977 /* end confdefs.h. */
20978 #ifndef __x86_64__
20980 #endif
20981 _ACEOF
20982 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20983 $EGREP "yes" >/dev/null 2>&1
20984 then :
20985 ac_cv_cpp_def___x86_64__=yes
20986 else $as_nop
20987 ac_cv_cpp_def___x86_64__=no
20989 rm -rf conftest*
20992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20993 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20994 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20995 then :
20996 CFLAGS="$CFLAGS -D__x86_64__"
20997 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20998 fi ;;
20999 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21000 printf %s "checking whether we need to define __sparc64__... " >&6; }
21001 if test ${ac_cv_cpp_def___sparc64__+y}
21002 then :
21003 printf %s "(cached) " >&6
21004 else $as_nop
21005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21006 /* end confdefs.h. */
21007 #ifndef __sparc64__
21009 #endif
21010 _ACEOF
21011 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21012 $EGREP "yes" >/dev/null 2>&1
21013 then :
21014 ac_cv_cpp_def___sparc64__=yes
21015 else $as_nop
21016 ac_cv_cpp_def___sparc64__=no
21018 rm -rf conftest*
21021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21022 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21023 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21024 then :
21025 CFLAGS="$CFLAGS -D__sparc64__"
21026 LINTFLAGS="$LINTFLAGS -D__sparc64__"
21027 fi ;;
21028 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21029 printf %s "checking whether we need to define __sparc__... " >&6; }
21030 if test ${ac_cv_cpp_def___sparc__+y}
21031 then :
21032 printf %s "(cached) " >&6
21033 else $as_nop
21034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21035 /* end confdefs.h. */
21036 #ifndef __sparc__
21038 #endif
21039 _ACEOF
21040 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21041 $EGREP "yes" >/dev/null 2>&1
21042 then :
21043 ac_cv_cpp_def___sparc__=yes
21044 else $as_nop
21045 ac_cv_cpp_def___sparc__=no
21047 rm -rf conftest*
21050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21051 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21052 if test "x$ac_cv_cpp_def___sparc__" = xyes
21053 then :
21054 CFLAGS="$CFLAGS -D__sparc__"
21055 LINTFLAGS="$LINTFLAGS -D__sparc__"
21056 fi ;;
21057 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21058 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21059 if test ${ac_cv_cpp_def___powerpc64__+y}
21060 then :
21061 printf %s "(cached) " >&6
21062 else $as_nop
21063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21064 /* end confdefs.h. */
21065 #ifndef __powerpc64__
21067 #endif
21068 _ACEOF
21069 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21070 $EGREP "yes" >/dev/null 2>&1
21071 then :
21072 ac_cv_cpp_def___powerpc64__=yes
21073 else $as_nop
21074 ac_cv_cpp_def___powerpc64__=no
21076 rm -rf conftest*
21079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21080 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21081 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21082 then :
21083 CFLAGS="$CFLAGS -D__powerpc64__"
21084 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21085 fi ;;
21086 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21087 printf %s "checking whether we need to define __powerpc__... " >&6; }
21088 if test ${ac_cv_cpp_def___powerpc__+y}
21089 then :
21090 printf %s "(cached) " >&6
21091 else $as_nop
21092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21093 /* end confdefs.h. */
21094 #ifndef __powerpc__
21096 #endif
21097 _ACEOF
21098 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21099 $EGREP "yes" >/dev/null 2>&1
21100 then :
21101 ac_cv_cpp_def___powerpc__=yes
21102 else $as_nop
21103 ac_cv_cpp_def___powerpc__=no
21105 rm -rf conftest*
21108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21109 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21110 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21111 then :
21112 CFLAGS="$CFLAGS -D__powerpc__"
21113 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21114 fi ;;
21115 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21116 printf %s "checking whether we need to define __aarch64__... " >&6; }
21117 if test ${ac_cv_cpp_def___aarch64__+y}
21118 then :
21119 printf %s "(cached) " >&6
21120 else $as_nop
21121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21122 /* end confdefs.h. */
21123 #ifndef __aarch64__
21125 #endif
21126 _ACEOF
21127 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21128 $EGREP "yes" >/dev/null 2>&1
21129 then :
21130 ac_cv_cpp_def___aarch64__=yes
21131 else $as_nop
21132 ac_cv_cpp_def___aarch64__=no
21134 rm -rf conftest*
21137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21138 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21139 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21140 then :
21141 CFLAGS="$CFLAGS -D__aarch64__"
21142 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21143 fi ;;
21144 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21145 printf %s "checking whether we need to define __arm__... " >&6; }
21146 if test ${ac_cv_cpp_def___arm__+y}
21147 then :
21148 printf %s "(cached) " >&6
21149 else $as_nop
21150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21151 /* end confdefs.h. */
21152 #ifndef __arm__
21154 #endif
21155 _ACEOF
21156 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21157 $EGREP "yes" >/dev/null 2>&1
21158 then :
21159 ac_cv_cpp_def___arm__=yes
21160 else $as_nop
21161 ac_cv_cpp_def___arm__=no
21163 rm -rf conftest*
21166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21167 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21168 if test "x$ac_cv_cpp_def___arm__" = xyes
21169 then :
21170 CFLAGS="$CFLAGS -D__arm__"
21171 LINTFLAGS="$LINTFLAGS -D__arm__"
21172 fi ;;
21173 esac
21175 case $host_vendor in
21176 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21177 printf %s "checking whether we need to define __sun__... " >&6; }
21178 if test ${ac_cv_cpp_def___sun__+y}
21179 then :
21180 printf %s "(cached) " >&6
21181 else $as_nop
21182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21183 /* end confdefs.h. */
21184 #ifndef __sun__
21186 #endif
21187 _ACEOF
21188 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21189 $EGREP "yes" >/dev/null 2>&1
21190 then :
21191 ac_cv_cpp_def___sun__=yes
21192 else $as_nop
21193 ac_cv_cpp_def___sun__=no
21195 rm -rf conftest*
21198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21199 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21200 if test "x$ac_cv_cpp_def___sun__" = xyes
21201 then :
21202 CFLAGS="$CFLAGS -D__sun__"
21203 LINTFLAGS="$LINTFLAGS -D__sun__"
21204 fi ;;
21205 esac
21211 ac_config_commands="$ac_config_commands include/stamp-h"
21213 printf %s "creating Makefile rules..." >&6
21215 makedep_flags=""
21216 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21218 wine_srcdir=
21219 test "$srcdir" = . || wine_srcdir="$srcdir/"
21221 ac_config_links="$ac_config_links wine:tools/winewrapper"
21222 wine_fn_config_symlink wine
21223 if test "$HOST_ARCH" = x86_64 -o -n "$with_wine64"; then
21224 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21225 wine_fn_config_symlink wine64
21228 wine_fn_config_makefile dlls/acledit enable_acledit
21229 wine_fn_config_makefile dlls/aclui enable_aclui
21230 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21231 wine_fn_config_makefile dlls/activeds enable_activeds
21232 wine_fn_config_makefile dlls/activeds/tests enable_tests
21233 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21234 wine_fn_config_makefile dlls/adsldp enable_adsldp
21235 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21236 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21237 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21238 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21239 wine_fn_config_makefile dlls/advpack enable_advpack
21240 wine_fn_config_makefile dlls/advpack/tests enable_tests
21241 wine_fn_config_makefile dlls/amsi enable_amsi
21242 wine_fn_config_makefile dlls/amstream enable_amstream
21243 wine_fn_config_makefile dlls/amstream/tests enable_tests
21244 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21245 wine_fn_config_makefile dlls/apphelp enable_apphelp
21246 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21247 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21248 wine_fn_config_makefile dlls/atl enable_atl
21249 wine_fn_config_makefile dlls/atl/tests enable_tests
21250 wine_fn_config_makefile dlls/atl100 enable_atl100
21251 wine_fn_config_makefile dlls/atl100/tests enable_tests
21252 wine_fn_config_makefile dlls/atl110 enable_atl110
21253 wine_fn_config_makefile dlls/atl110/tests enable_tests
21254 wine_fn_config_makefile dlls/atl80 enable_atl80
21255 wine_fn_config_makefile dlls/atl80/tests enable_tests
21256 wine_fn_config_makefile dlls/atl90 enable_atl90
21257 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21258 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21259 wine_fn_config_makefile dlls/atmlib enable_atmlib
21260 wine_fn_config_makefile dlls/authz enable_authz
21261 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21262 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21263 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21264 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21265 wine_fn_config_makefile dlls/avrt enable_avrt
21266 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21267 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21268 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21269 wine_fn_config_makefile dlls/browseui enable_browseui
21270 wine_fn_config_makefile dlls/browseui/tests enable_tests
21271 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21272 wine_fn_config_makefile dlls/cabinet enable_cabinet
21273 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21274 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21275 wine_fn_config_makefile dlls/cards enable_cards
21276 wine_fn_config_makefile dlls/cdosys enable_cdosys
21277 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21278 wine_fn_config_makefile dlls/clusapi enable_clusapi
21279 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21280 wine_fn_config_makefile dlls/combase enable_combase
21281 wine_fn_config_makefile dlls/combase/tests enable_tests
21282 wine_fn_config_makefile dlls/comcat enable_comcat
21283 wine_fn_config_makefile dlls/comcat/tests enable_tests
21284 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21285 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21286 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21287 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21288 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21289 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21290 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21291 wine_fn_config_makefile dlls/compstui enable_compstui
21292 wine_fn_config_makefile dlls/compstui/tests enable_tests
21293 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21294 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21295 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21296 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21297 wine_fn_config_makefile dlls/connect enable_connect
21298 wine_fn_config_makefile dlls/credui enable_credui
21299 wine_fn_config_makefile dlls/credui/tests enable_tests
21300 wine_fn_config_makefile dlls/crtdll enable_crtdll
21301 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21302 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21303 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21304 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21305 wine_fn_config_makefile dlls/cryptext enable_cryptext
21306 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21307 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21308 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21309 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21310 wine_fn_config_makefile dlls/cryptui enable_cryptui
21311 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21312 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21313 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21314 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21315 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21316 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21317 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21318 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21319 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21320 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21321 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21322 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21323 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21324 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21325 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21326 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21327 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21328 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21329 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21330 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21331 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21332 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21333 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21334 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21335 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21336 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21337 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21338 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21339 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21340 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21341 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21342 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21343 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21344 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21345 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21346 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21347 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21348 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21349 wine_fn_config_makefile dlls/d3dim enable_d3dim
21350 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21351 wine_fn_config_makefile dlls/d3drm enable_d3drm
21352 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21353 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21354 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21355 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21356 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21357 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21358 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21359 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21360 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21361 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21362 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21363 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21364 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21365 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21366 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21367 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21368 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21369 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21370 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21371 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21372 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21373 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21374 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21375 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21376 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21377 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21378 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21379 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21380 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21381 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21382 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21383 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21384 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21385 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21386 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21387 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21388 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21389 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21390 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21391 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21392 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21393 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21394 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21395 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21396 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21397 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21398 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21399 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21400 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21401 wine_fn_config_makefile dlls/davclnt enable_davclnt
21402 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21403 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21404 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21405 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21406 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21407 wine_fn_config_makefile dlls/dcomp enable_dcomp
21408 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21409 wine_fn_config_makefile dlls/ddraw enable_ddraw
21410 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21411 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21412 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21413 wine_fn_config_makefile dlls/devenum enable_devenum
21414 wine_fn_config_makefile dlls/devenum/tests enable_tests
21415 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21416 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21417 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21418 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21419 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21420 wine_fn_config_makefile dlls/difxapi enable_difxapi
21421 wine_fn_config_makefile dlls/dinput enable_dinput
21422 wine_fn_config_makefile dlls/dinput/tests enable_tests
21423 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21424 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21425 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21426 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21427 wine_fn_config_makefile dlls/dispex enable_dispex
21428 wine_fn_config_makefile dlls/dispex/tests enable_tests
21429 wine_fn_config_makefile dlls/display.drv16 enable_win16
21430 wine_fn_config_makefile dlls/dmband enable_dmband
21431 wine_fn_config_makefile dlls/dmband/tests enable_tests
21432 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21433 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21434 wine_fn_config_makefile dlls/dmime enable_dmime
21435 wine_fn_config_makefile dlls/dmime/tests enable_tests
21436 wine_fn_config_makefile dlls/dmloader enable_dmloader
21437 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21438 wine_fn_config_makefile dlls/dmscript enable_dmscript
21439 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21440 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21441 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21442 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21443 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21444 wine_fn_config_makefile dlls/dmusic enable_dmusic
21445 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21446 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21447 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21448 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21449 wine_fn_config_makefile dlls/dplay enable_dplay
21450 wine_fn_config_makefile dlls/dplayx enable_dplayx
21451 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21452 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21453 wine_fn_config_makefile dlls/dpnet enable_dpnet
21454 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21455 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21456 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21457 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21458 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21459 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21460 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21461 wine_fn_config_makefile dlls/drmclien enable_drmclien
21462 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21463 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21464 wine_fn_config_makefile dlls/dsound enable_dsound
21465 wine_fn_config_makefile dlls/dsound/tests enable_tests
21466 wine_fn_config_makefile dlls/dsquery enable_dsquery
21467 wine_fn_config_makefile dlls/dssenh enable_dssenh
21468 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21469 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21470 wine_fn_config_makefile dlls/dswave enable_dswave
21471 wine_fn_config_makefile dlls/dswave/tests enable_tests
21472 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21473 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21474 wine_fn_config_makefile dlls/dwrite enable_dwrite
21475 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21476 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21477 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21478 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21479 wine_fn_config_makefile dlls/dxgi enable_dxgi
21480 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21481 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21482 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21483 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21484 wine_fn_config_makefile dlls/esent enable_esent
21485 wine_fn_config_makefile dlls/evr enable_evr
21486 wine_fn_config_makefile dlls/evr/tests enable_tests
21487 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21488 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21489 wine_fn_config_makefile dlls/faultrep enable_faultrep
21490 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21491 wine_fn_config_makefile dlls/feclient enable_feclient
21492 wine_fn_config_makefile dlls/fltlib enable_fltlib
21493 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21494 wine_fn_config_makefile dlls/fntcache enable_fntcache
21495 wine_fn_config_makefile dlls/fontsub enable_fontsub
21496 wine_fn_config_makefile dlls/fusion enable_fusion
21497 wine_fn_config_makefile dlls/fusion/tests enable_tests
21498 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21499 wine_fn_config_makefile dlls/gameux enable_gameux
21500 wine_fn_config_makefile dlls/gameux/tests enable_tests
21501 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21502 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21503 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21504 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21505 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21506 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21507 wine_fn_config_makefile dlls/glu32 enable_glu32
21508 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21509 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21510 wine_fn_config_makefile dlls/hal enable_hal
21511 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21512 wine_fn_config_makefile dlls/hid enable_hid
21513 wine_fn_config_makefile dlls/hid/tests enable_tests
21514 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21515 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21516 wine_fn_config_makefile dlls/hlink enable_hlink
21517 wine_fn_config_makefile dlls/hlink/tests enable_tests
21518 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21519 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21520 wine_fn_config_makefile dlls/http.sys enable_http_sys
21521 wine_fn_config_makefile dlls/httpapi enable_httpapi
21522 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21523 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21524 wine_fn_config_makefile dlls/iccvid enable_iccvid
21525 wine_fn_config_makefile dlls/icmp enable_icmp
21526 wine_fn_config_makefile dlls/ieframe enable_ieframe
21527 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21528 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21529 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21530 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21531 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21532 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21533 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21534 wine_fn_config_makefile dlls/imm32 enable_imm32
21535 wine_fn_config_makefile dlls/imm32/tests enable_tests
21536 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21537 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21538 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21539 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21540 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21541 wine_fn_config_makefile dlls/infosoft enable_infosoft
21542 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21543 wine_fn_config_makefile dlls/initpki enable_initpki
21544 wine_fn_config_makefile dlls/inkobj enable_inkobj
21545 wine_fn_config_makefile dlls/inseng enable_inseng
21546 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21547 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21548 wine_fn_config_makefile dlls/iprop enable_iprop
21549 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21550 wine_fn_config_makefile dlls/itircl enable_itircl
21551 wine_fn_config_makefile dlls/itss enable_itss
21552 wine_fn_config_makefile dlls/itss/tests enable_tests
21553 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21554 wine_fn_config_makefile dlls/jscript enable_jscript
21555 wine_fn_config_makefile dlls/jscript/tests enable_tests
21556 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21557 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21558 wine_fn_config_makefile dlls/kerberos enable_kerberos
21559 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21560 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21561 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21562 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21563 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21564 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21565 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21566 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21567 wine_fn_config_makefile dlls/ksuser enable_ksuser
21568 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21569 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21570 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21571 wine_fn_config_makefile dlls/loadperf enable_loadperf
21572 wine_fn_config_makefile dlls/localspl enable_localspl
21573 wine_fn_config_makefile dlls/localspl/tests enable_tests
21574 wine_fn_config_makefile dlls/localui enable_localui
21575 wine_fn_config_makefile dlls/localui/tests enable_tests
21576 wine_fn_config_makefile dlls/lz32 enable_lz32
21577 wine_fn_config_makefile dlls/lz32/tests enable_tests
21578 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21579 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21580 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21581 wine_fn_config_makefile dlls/mapistub enable_mapistub
21582 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21583 wine_fn_config_makefile dlls/mcicda enable_mcicda
21584 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21585 wine_fn_config_makefile dlls/mciseq enable_mciseq
21586 wine_fn_config_makefile dlls/mciwave enable_mciwave
21587 wine_fn_config_makefile dlls/mf enable_mf
21588 wine_fn_config_makefile dlls/mf/tests enable_tests
21589 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21590 wine_fn_config_makefile dlls/mferror enable_mferror
21591 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21592 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21593 wine_fn_config_makefile dlls/mfplat enable_mfplat
21594 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21595 wine_fn_config_makefile dlls/mfplay enable_mfplay
21596 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21597 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21598 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21599 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21600 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21601 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21602 wine_fn_config_makefile dlls/midimap enable_midimap
21603 wine_fn_config_makefile dlls/mlang enable_mlang
21604 wine_fn_config_makefile dlls/mlang/tests enable_tests
21605 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21606 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21607 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21608 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21609 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21610 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21611 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21612 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21613 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21614 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21615 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21616 wine_fn_config_makefile dlls/mpr enable_mpr
21617 wine_fn_config_makefile dlls/mpr/tests enable_tests
21618 wine_fn_config_makefile dlls/mprapi enable_mprapi
21619 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21620 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21621 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21622 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21623 wine_fn_config_makefile dlls/msado15 enable_msado15
21624 wine_fn_config_makefile dlls/msado15/tests enable_tests
21625 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21626 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21627 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21628 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21629 wine_fn_config_makefile dlls/mscms enable_mscms
21630 wine_fn_config_makefile dlls/mscms/tests enable_tests
21631 wine_fn_config_makefile dlls/mscoree enable_mscoree
21632 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21633 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21634 wine_fn_config_makefile dlls/msctf enable_msctf
21635 wine_fn_config_makefile dlls/msctf/tests enable_tests
21636 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21637 wine_fn_config_makefile dlls/msctfp enable_msctfp
21638 wine_fn_config_makefile dlls/msdaps enable_msdaps
21639 wine_fn_config_makefile dlls/msdasql enable_msdasql
21640 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21641 wine_fn_config_makefile dlls/msdelta enable_msdelta
21642 wine_fn_config_makefile dlls/msdmo enable_msdmo
21643 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21644 wine_fn_config_makefile dlls/msdrm enable_msdrm
21645 wine_fn_config_makefile dlls/msftedit enable_msftedit
21646 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21647 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21648 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21649 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21650 wine_fn_config_makefile dlls/mshtml enable_mshtml
21651 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21652 wine_fn_config_makefile dlls/msi enable_msi
21653 wine_fn_config_makefile dlls/msi/tests enable_tests
21654 wine_fn_config_makefile dlls/msident enable_msident
21655 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21656 wine_fn_config_makefile dlls/msimsg enable_msimsg
21657 wine_fn_config_makefile dlls/msimtf enable_msimtf
21658 wine_fn_config_makefile dlls/msisip enable_msisip
21659 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21660 wine_fn_config_makefile dlls/msls31 enable_msls31
21661 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21662 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21663 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21664 wine_fn_config_makefile dlls/msports enable_msports
21665 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21666 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21667 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21668 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21669 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21670 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21671 wine_fn_config_makefile dlls/mstask enable_mstask
21672 wine_fn_config_makefile dlls/mstask/tests enable_tests
21673 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21674 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21675 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21676 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21677 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21678 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21679 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21680 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21681 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21682 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21683 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21684 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21685 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21686 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21687 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21688 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21689 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21690 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21691 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21692 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21693 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21694 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21695 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21696 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21697 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21698 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21699 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21700 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21701 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21702 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21703 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21704 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21705 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21706 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21707 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21708 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21709 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21710 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21711 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21712 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21713 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21714 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21715 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21716 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21717 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21718 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21719 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21720 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21721 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21722 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21723 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21724 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21725 wine_fn_config_makefile dlls/mswsock enable_mswsock
21726 wine_fn_config_makefile dlls/msxml enable_msxml
21727 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21728 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21729 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21730 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21731 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21732 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21733 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21734 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21735 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21736 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21737 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21738 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21739 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21740 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21741 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21742 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21743 wine_fn_config_makefile dlls/netprofm enable_netprofm
21744 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21745 wine_fn_config_makefile dlls/netutils enable_netutils
21746 wine_fn_config_makefile dlls/newdev enable_newdev
21747 wine_fn_config_makefile dlls/ninput enable_ninput
21748 wine_fn_config_makefile dlls/ninput/tests enable_tests
21749 wine_fn_config_makefile dlls/normaliz enable_normaliz
21750 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21751 wine_fn_config_makefile dlls/npptools enable_npptools
21752 wine_fn_config_makefile dlls/nsi enable_nsi
21753 wine_fn_config_makefile dlls/nsi/tests enable_tests
21754 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21755 wine_fn_config_makefile dlls/ntdll enable_ntdll
21756 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21757 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21758 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21759 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21760 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21761 wine_fn_config_makefile dlls/ntprint enable_ntprint
21762 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21763 wine_fn_config_makefile dlls/objsel enable_objsel
21764 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21765 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21766 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21767 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21768 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21769 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21770 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21771 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21772 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21773 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21774 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21775 wine_fn_config_makefile dlls/ole32 enable_ole32
21776 wine_fn_config_makefile dlls/ole32/tests enable_tests
21777 wine_fn_config_makefile dlls/oleacc enable_oleacc
21778 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21779 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21780 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21781 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21782 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21783 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21784 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21785 wine_fn_config_makefile dlls/oledlg enable_oledlg
21786 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21787 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21788 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21789 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21790 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21791 wine_fn_config_makefile dlls/opcservices enable_opcservices
21792 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21793 wine_fn_config_makefile dlls/opencl enable_opencl
21794 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21795 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21796 wine_fn_config_makefile dlls/packager enable_packager
21797 wine_fn_config_makefile dlls/packager/tests enable_tests
21798 wine_fn_config_makefile dlls/pdh enable_pdh
21799 wine_fn_config_makefile dlls/pdh/tests enable_tests
21800 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21801 wine_fn_config_makefile dlls/pidgen enable_pidgen
21802 wine_fn_config_makefile dlls/powrprof enable_powrprof
21803 wine_fn_config_makefile dlls/printui enable_printui
21804 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21805 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21806 wine_fn_config_makefile dlls/propsys enable_propsys
21807 wine_fn_config_makefile dlls/propsys/tests enable_tests
21808 wine_fn_config_makefile dlls/psapi enable_psapi
21809 wine_fn_config_makefile dlls/psapi/tests enable_tests
21810 wine_fn_config_makefile dlls/pstorec enable_pstorec
21811 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21812 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21813 wine_fn_config_makefile dlls/qasf enable_qasf
21814 wine_fn_config_makefile dlls/qasf/tests enable_tests
21815 wine_fn_config_makefile dlls/qcap enable_qcap
21816 wine_fn_config_makefile dlls/qcap/tests enable_tests
21817 wine_fn_config_makefile dlls/qdvd enable_qdvd
21818 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21819 wine_fn_config_makefile dlls/qedit enable_qedit
21820 wine_fn_config_makefile dlls/qedit/tests enable_tests
21821 wine_fn_config_makefile dlls/qmgr enable_qmgr
21822 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21823 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21824 wine_fn_config_makefile dlls/quartz enable_quartz
21825 wine_fn_config_makefile dlls/quartz/tests enable_tests
21826 wine_fn_config_makefile dlls/query enable_query
21827 wine_fn_config_makefile dlls/qwave enable_qwave
21828 wine_fn_config_makefile dlls/qwave/tests enable_tests
21829 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21830 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21831 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21832 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21833 wine_fn_config_makefile dlls/regapi enable_regapi
21834 wine_fn_config_makefile dlls/resutils enable_resutils
21835 wine_fn_config_makefile dlls/riched20 enable_riched20
21836 wine_fn_config_makefile dlls/riched20/tests enable_tests
21837 wine_fn_config_makefile dlls/riched32 enable_riched32
21838 wine_fn_config_makefile dlls/riched32/tests enable_tests
21839 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21840 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21841 wine_fn_config_makefile dlls/rsabase enable_rsabase
21842 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21843 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21844 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21845 wine_fn_config_makefile dlls/rtutils enable_rtutils
21846 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21847 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21848 wine_fn_config_makefile dlls/samlib enable_samlib
21849 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21850 wine_fn_config_makefile dlls/sapi enable_sapi
21851 wine_fn_config_makefile dlls/sapi/tests enable_tests
21852 wine_fn_config_makefile dlls/sas enable_sas
21853 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21854 wine_fn_config_makefile dlls/sccbase enable_sccbase
21855 wine_fn_config_makefile dlls/schannel enable_schannel
21856 wine_fn_config_makefile dlls/schannel/tests enable_tests
21857 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21858 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21859 wine_fn_config_makefile dlls/scrobj enable_scrobj
21860 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21861 wine_fn_config_makefile dlls/scrrun enable_scrrun
21862 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21863 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21864 wine_fn_config_makefile dlls/sechost enable_sechost
21865 wine_fn_config_makefile dlls/secur32 enable_secur32
21866 wine_fn_config_makefile dlls/secur32/tests enable_tests
21867 wine_fn_config_makefile dlls/security enable_security
21868 wine_fn_config_makefile dlls/sensapi enable_sensapi
21869 wine_fn_config_makefile dlls/serialui enable_serialui
21870 wine_fn_config_makefile dlls/serialui/tests enable_tests
21871 wine_fn_config_makefile dlls/setupapi enable_setupapi
21872 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21873 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21874 wine_fn_config_makefile dlls/sfc enable_sfc
21875 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21876 wine_fn_config_makefile dlls/shcore enable_shcore
21877 wine_fn_config_makefile dlls/shcore/tests enable_tests
21878 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21879 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21880 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21881 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21882 wine_fn_config_makefile dlls/shell32 enable_shell32
21883 wine_fn_config_makefile dlls/shell32/tests enable_tests
21884 wine_fn_config_makefile dlls/shfolder enable_shfolder
21885 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21886 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21887 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21888 wine_fn_config_makefile dlls/slc enable_slc
21889 wine_fn_config_makefile dlls/slc/tests enable_tests
21890 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21891 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21892 wine_fn_config_makefile dlls/softpub enable_softpub
21893 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21894 wine_fn_config_makefile dlls/spoolss enable_spoolss
21895 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21896 wine_fn_config_makefile dlls/sppc enable_sppc
21897 wine_fn_config_makefile dlls/srclient enable_srclient
21898 wine_fn_config_makefile dlls/srvcli enable_srvcli
21899 wine_fn_config_makefile dlls/sspicli enable_sspicli
21900 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21901 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21902 wine_fn_config_makefile dlls/sti enable_sti
21903 wine_fn_config_makefile dlls/sti/tests enable_tests
21904 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21905 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21906 wine_fn_config_makefile dlls/strmdll enable_strmdll
21907 wine_fn_config_makefile dlls/svrapi enable_svrapi
21908 wine_fn_config_makefile dlls/sxs enable_sxs
21909 wine_fn_config_makefile dlls/sxs/tests enable_tests
21910 wine_fn_config_makefile dlls/system.drv16 enable_win16
21911 wine_fn_config_makefile dlls/t2embed enable_t2embed
21912 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21913 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21914 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21915 wine_fn_config_makefile dlls/taskschd enable_taskschd
21916 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21917 wine_fn_config_makefile dlls/tbs enable_tbs
21918 wine_fn_config_makefile dlls/tdh enable_tdh
21919 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21920 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21921 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21922 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21923 wine_fn_config_makefile dlls/traffic enable_traffic
21924 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21925 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21926 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21927 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21928 wine_fn_config_makefile dlls/tzres enable_tzres
21929 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21930 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21931 wine_fn_config_makefile dlls/uianimation enable_uianimation
21932 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21933 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21934 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21935 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21936 wine_fn_config_makefile dlls/unicows enable_unicows
21937 wine_fn_config_makefile dlls/updspapi enable_updspapi
21938 wine_fn_config_makefile dlls/url enable_url
21939 wine_fn_config_makefile dlls/urlmon enable_urlmon
21940 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21941 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21942 wine_fn_config_makefile dlls/user.exe16 enable_win16
21943 wine_fn_config_makefile dlls/user32 enable_user32
21944 wine_fn_config_makefile dlls/user32/tests enable_tests
21945 wine_fn_config_makefile dlls/userenv enable_userenv
21946 wine_fn_config_makefile dlls/userenv/tests enable_tests
21947 wine_fn_config_makefile dlls/usp10 enable_usp10
21948 wine_fn_config_makefile dlls/usp10/tests enable_tests
21949 wine_fn_config_makefile dlls/utildll enable_utildll
21950 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21951 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21952 wine_fn_config_makefile dlls/vbscript enable_vbscript
21953 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21954 wine_fn_config_makefile dlls/vcomp enable_vcomp
21955 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21956 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21957 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21958 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21959 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21960 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21961 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21962 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21963 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21964 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21965 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21966 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21967 wine_fn_config_makefile dlls/version enable_version
21968 wine_fn_config_makefile dlls/version/tests enable_tests
21969 wine_fn_config_makefile dlls/vga enable_vga
21970 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21971 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21972 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21973 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21974 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21975 wine_fn_config_makefile dlls/vssapi enable_vssapi
21976 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21977 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21978 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21979 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21980 wine_fn_config_makefile dlls/w32skrnl enable_win16
21981 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21982 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21983 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21984 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21985 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21986 wine_fn_config_makefile dlls/wdscore enable_wdscore
21987 wine_fn_config_makefile dlls/webservices enable_webservices
21988 wine_fn_config_makefile dlls/webservices/tests enable_tests
21989 wine_fn_config_makefile dlls/websocket enable_websocket
21990 wine_fn_config_makefile dlls/wer enable_wer
21991 wine_fn_config_makefile dlls/wer/tests enable_tests
21992 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21993 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21994 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21995 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21996 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21997 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21998 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21999 wine_fn_config_makefile dlls/win32u enable_win32u
22000 wine_fn_config_makefile dlls/win32u/tests enable_tests
22001 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
22002 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
22003 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
22004 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
22005 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
22006 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
22007 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
22008 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
22009 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
22010 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
22011 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
22012 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
22013 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
22014 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
22015 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
22016 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
22017 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
22018 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
22019 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
22020 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
22021 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
22022 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
22023 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
22024 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
22025 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
22026 wine_fn_config_makefile dlls/wined3d enable_wined3d
22027 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
22028 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
22029 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
22030 wine_fn_config_makefile dlls/winemapi enable_winemapi
22031 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
22032 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
22033 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22034 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22035 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22036 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22037 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22038 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22039 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22040 wine_fn_config_makefile dlls/wing32 enable_wing32
22041 wine_fn_config_makefile dlls/winhttp enable_winhttp
22042 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22043 wine_fn_config_makefile dlls/wininet enable_wininet
22044 wine_fn_config_makefile dlls/wininet/tests enable_tests
22045 wine_fn_config_makefile dlls/winmm enable_winmm
22046 wine_fn_config_makefile dlls/winmm/tests enable_tests
22047 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22048 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22049 wine_fn_config_makefile dlls/winscard enable_winscard
22050 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22051 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22052 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22053 wine_fn_config_makefile dlls/winsta enable_winsta
22054 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22055 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22056 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22057 wine_fn_config_makefile dlls/wintrust enable_wintrust
22058 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22059 wine_fn_config_makefile dlls/wintypes enable_wintypes
22060 wine_fn_config_makefile dlls/wintypes/tests enable_tests
22061 wine_fn_config_makefile dlls/winusb enable_winusb
22062 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22063 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22064 wine_fn_config_makefile dlls/wlanui enable_wlanui
22065 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22066 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22067 wine_fn_config_makefile dlls/wmasf enable_wmasf
22068 wine_fn_config_makefile dlls/wmi enable_wmi
22069 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22070 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22071 wine_fn_config_makefile dlls/wmp enable_wmp
22072 wine_fn_config_makefile dlls/wmp/tests enable_tests
22073 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22074 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22075 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22076 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22077 wine_fn_config_makefile dlls/wow32 enable_win16
22078 wine_fn_config_makefile dlls/wow64 enable_wow64
22079 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22080 wine_fn_config_makefile dlls/wow64win enable_wow64win
22081 wine_fn_config_makefile dlls/wpc enable_wpc
22082 wine_fn_config_makefile dlls/wpc/tests enable_tests
22083 wine_fn_config_makefile dlls/wpcap enable_wpcap
22084 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22085 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22086 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22087 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22088 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22089 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22090 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22091 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22092 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22093 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22094 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22095 wine_fn_config_makefile dlls/wuapi enable_wuapi
22096 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22097 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22098 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22099 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22100 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22101 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22102 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22103 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22104 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22105 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22106 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22107 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22108 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22109 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22110 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22111 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22112 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22113 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22114 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22115 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22116 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22117 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22118 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22119 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22120 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22121 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22122 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22123 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22124 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22125 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22126 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22127 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22128 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22129 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22130 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22131 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22132 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22133 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22134 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22135 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22136 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22137 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22138 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22139 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22140 wine_fn_config_makefile dlls/xmllite enable_xmllite
22141 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22142 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22143 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22144 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22145 wine_fn_config_makefile fonts enable_fonts
22146 wine_fn_config_makefile include enable_include
22147 wine_fn_config_makefile libs/adsiid enable_adsiid
22148 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22149 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22150 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22151 wine_fn_config_makefile libs/dxguid enable_dxguid
22152 wine_fn_config_makefile libs/faudio enable_faudio
22153 wine_fn_config_makefile libs/gsm enable_gsm
22154 wine_fn_config_makefile libs/jpeg enable_jpeg
22155 wine_fn_config_makefile libs/jxr enable_jxr
22156 wine_fn_config_makefile libs/lcms2 enable_lcms2
22157 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22158 wine_fn_config_makefile libs/mpg123 enable_mpg123
22159 wine_fn_config_makefile libs/png enable_png
22160 wine_fn_config_makefile libs/strmbase enable_strmbase
22161 wine_fn_config_makefile libs/strmiids enable_strmiids
22162 wine_fn_config_makefile libs/tiff enable_tiff
22163 wine_fn_config_makefile libs/uuid enable_uuid
22164 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22165 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22166 wine_fn_config_makefile libs/wine enable_wine
22167 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22168 wine_fn_config_makefile libs/xml2 enable_xml2
22169 wine_fn_config_makefile libs/xslt enable_xslt
22170 wine_fn_config_makefile libs/zlib enable_zlib
22171 wine_fn_config_makefile loader enable_loader
22172 wine_fn_config_makefile nls enable_nls
22173 wine_fn_config_makefile po enable_po
22174 wine_fn_config_makefile programs/arp enable_arp
22175 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22176 wine_fn_config_makefile programs/attrib enable_attrib
22177 wine_fn_config_makefile programs/cabarc enable_cabarc
22178 wine_fn_config_makefile programs/cacls enable_cacls
22179 wine_fn_config_makefile programs/certutil enable_certutil
22180 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22181 wine_fn_config_makefile programs/clock enable_clock
22182 wine_fn_config_makefile programs/cmd enable_cmd
22183 wine_fn_config_makefile programs/cmd/tests enable_tests
22184 wine_fn_config_makefile programs/conhost enable_conhost
22185 wine_fn_config_makefile programs/conhost/tests enable_tests
22186 wine_fn_config_makefile programs/control enable_control
22187 wine_fn_config_makefile programs/cscript enable_cscript
22188 wine_fn_config_makefile programs/dism enable_dism
22189 wine_fn_config_makefile programs/dllhost enable_dllhost
22190 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22191 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22192 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22193 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22194 wine_fn_config_makefile programs/eject enable_eject
22195 wine_fn_config_makefile programs/expand enable_expand
22196 wine_fn_config_makefile programs/explorer enable_explorer
22197 wine_fn_config_makefile programs/extrac32 enable_extrac32
22198 wine_fn_config_makefile programs/fc enable_fc
22199 wine_fn_config_makefile programs/find enable_find
22200 wine_fn_config_makefile programs/find/tests enable_tests
22201 wine_fn_config_makefile programs/findstr enable_findstr
22202 wine_fn_config_makefile programs/fsutil enable_fsutil
22203 wine_fn_config_makefile programs/fsutil/tests enable_tests
22204 wine_fn_config_makefile programs/hh enable_hh
22205 wine_fn_config_makefile programs/hostname enable_hostname
22206 wine_fn_config_makefile programs/icacls enable_icacls
22207 wine_fn_config_makefile programs/icinfo enable_icinfo
22208 wine_fn_config_makefile programs/iexplore enable_iexplore
22209 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22210 wine_fn_config_makefile programs/lodctr enable_lodctr
22211 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22212 wine_fn_config_makefile programs/mshta enable_mshta
22213 wine_fn_config_makefile programs/msidb enable_msidb
22214 wine_fn_config_makefile programs/msiexec enable_msiexec
22215 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22216 wine_fn_config_makefile programs/net enable_net
22217 wine_fn_config_makefile programs/netsh enable_netsh
22218 wine_fn_config_makefile programs/netstat enable_netstat
22219 wine_fn_config_makefile programs/ngen enable_ngen
22220 wine_fn_config_makefile programs/notepad enable_notepad
22221 wine_fn_config_makefile programs/oleview enable_oleview
22222 wine_fn_config_makefile programs/ping enable_ping
22223 wine_fn_config_makefile programs/plugplay enable_plugplay
22224 wine_fn_config_makefile programs/powershell enable_powershell
22225 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22226 wine_fn_config_makefile programs/progman enable_progman
22227 wine_fn_config_makefile programs/reg enable_reg
22228 wine_fn_config_makefile programs/reg/tests enable_tests
22229 wine_fn_config_makefile programs/regasm enable_regasm
22230 wine_fn_config_makefile programs/regedit enable_regedit
22231 wine_fn_config_makefile programs/regedit/tests enable_tests
22232 wine_fn_config_makefile programs/regini enable_regini
22233 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22234 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22235 wine_fn_config_makefile programs/robocopy enable_robocopy
22236 wine_fn_config_makefile programs/rpcss enable_rpcss
22237 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22238 wine_fn_config_makefile programs/rundll32 enable_rundll32
22239 wine_fn_config_makefile programs/sc enable_sc
22240 wine_fn_config_makefile programs/sc/tests enable_tests
22241 wine_fn_config_makefile programs/schtasks enable_schtasks
22242 wine_fn_config_makefile programs/schtasks/tests enable_tests
22243 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22244 wine_fn_config_makefile programs/secedit enable_secedit
22245 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22246 wine_fn_config_makefile programs/services enable_services
22247 wine_fn_config_makefile programs/services/tests enable_tests
22248 wine_fn_config_makefile programs/setx enable_setx
22249 wine_fn_config_makefile programs/shutdown enable_shutdown
22250 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22251 wine_fn_config_makefile programs/start enable_start
22252 wine_fn_config_makefile programs/subst enable_subst
22253 wine_fn_config_makefile programs/svchost enable_svchost
22254 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22255 wine_fn_config_makefile programs/taskkill enable_taskkill
22256 wine_fn_config_makefile programs/tasklist enable_tasklist
22257 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22258 wine_fn_config_makefile programs/termsv enable_termsv
22259 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22260 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22261 wine_fn_config_makefile programs/view enable_view
22262 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22263 wine_fn_config_makefile programs/where enable_where
22264 wine_fn_config_makefile programs/whoami enable_whoami
22265 wine_fn_config_makefile programs/wineboot enable_wineboot
22266 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22267 wine_fn_config_makefile programs/winecfg enable_winecfg
22268 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22269 wine_fn_config_makefile programs/winedbg enable_winedbg
22270 wine_fn_config_makefile programs/winedevice enable_winedevice
22271 wine_fn_config_makefile programs/winefile enable_winefile
22272 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22273 wine_fn_config_makefile programs/winemine enable_winemine
22274 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22275 wine_fn_config_makefile programs/winepath enable_winepath
22276 wine_fn_config_makefile programs/winetest enable_winetest
22277 wine_fn_config_makefile programs/winevdm enable_win16
22278 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22279 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22280 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22281 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22282 wine_fn_config_makefile programs/winver enable_winver
22283 wine_fn_config_makefile programs/wmic enable_wmic
22284 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22285 wine_fn_config_makefile programs/wordpad enable_wordpad
22286 wine_fn_config_makefile programs/write enable_write
22287 wine_fn_config_makefile programs/wscript enable_wscript
22288 wine_fn_config_makefile programs/wscript/tests enable_tests
22289 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22290 wine_fn_config_makefile programs/wusa enable_wusa
22291 wine_fn_config_makefile programs/xcopy enable_xcopy
22292 wine_fn_config_makefile programs/xcopy/tests enable_tests
22293 wine_fn_config_makefile server enable_server
22294 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22295 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22296 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22297 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22298 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22299 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22300 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22301 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22302 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22305 as_fn_append CONFIGURE_TARGETS " TAGS"
22306 as_fn_append CONFIGURE_TARGETS " tags"
22307 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22308 as_fn_append CONFIGURE_TARGETS " config.log"
22309 as_fn_append CONFIGURE_TARGETS " config.status"
22310 as_fn_append CONFIGURE_TARGETS " include/config.h"
22311 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22312 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22314 if test "x$enable_tools" != xno
22315 then
22316 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22317 ac_config_commands="$ac_config_commands tools/makedep"
22321 ac_config_commands="$ac_config_commands Makefile"
22325 SHELL=/bin/sh
22328 as_fn_append wine_rules "
22329 all: wine
22330 @echo \"Wine build complete.\"
22331 .INIT: Makefile
22332 .MAKEFILEDEPS:
22333 all: Makefile
22334 Makefile: config.status \$(MAKEDEP)
22335 @./config.status Makefile
22336 depend: \$(MAKEDEP)
22337 \$(MAKEDEP)$makedep_flags"
22340 as_fn_append wine_rules "
22341 config.status: ${wine_srcdir}configure
22342 @./config.status --recheck
22343 include/config.h: include/stamp-h
22344 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22345 @./config.status include/config.h include/stamp-h"
22347 if test "x$enable_maintainer_mode" = xyes
22348 then
22349 as_fn_append wine_rules "
22350 configure: configure.ac aclocal.m4
22351 autoconf --warnings=all
22352 include/config.h.in: include/stamp-h.in
22353 include/stamp-h.in: configure.ac aclocal.m4
22354 autoheader --warnings=all
22355 @echo timestamp > \$@"
22358 if test "x$enable_tools" != xno
22359 then
22360 as_fn_append wine_rules "
22361 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22362 @./config.status tools/makedep
22363 Makefile: tools/makedep$ac_exeext"
22364 else
22365 as_fn_append wine_rules "
22366 \$(MAKEDEP):
22367 @echo \"You need to run make in $toolsdir first\" && false"
22371 if test -n "$with_wine64"
22372 then
22373 case "$with_wine64" in
22374 /*) reldir="" ;;
22375 *) reldir="../" ;;
22376 esac
22377 rm -f fonts server 2>/dev/null
22378 as_fn_append wine_rules "
22379 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22380 loader/wine64 loader/wine64-preloader:
22381 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22382 $with_wine64/loader/wine:
22383 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22384 $with_wine64/loader/wine-preloader:
22385 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22386 clean::
22387 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22388 else
22389 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22390 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22391 fonts \
22392 loader/wine.inf \
22393 nls \
22394 programs/msidb/msidb \
22395 programs/msiexec/msiexec \
22396 programs/notepad/notepad \
22397 programs/regedit/regedit \
22398 programs/regsvr32/regsvr32 \
22399 programs/wineboot/wineboot \
22400 programs/winecfg/winecfg \
22401 programs/wineconsole/wineconsole \
22402 programs/winedbg/winedbg \
22403 programs/winefile/winefile \
22404 programs/winemine/winemine \
22405 programs/winepath/winepath \
22406 server/wineserver"
22408 case $host_os in
22409 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22410 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22411 esac
22415 as_fn_append wine_rules "
22416 distclean:: clean
22417 rm -rf autom4te.cache
22418 maintainer-clean::
22419 rm -f configure include/config.h.in"
22422 as_fn_append wine_rules "
22423 dlls/ntdll/unix/version.c: dummy
22424 @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)
22425 programs/winetest/build.rc: dummy
22426 @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)
22427 programs/winetest/build.nfo:
22428 @-\$(CC) -v 2>\$@
22429 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
22430 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22431 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22434 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22436 as_fn_append wine_rules "
22437 TAGS etags:
22438 rm -f TAGS
22439 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22440 tags ctags:
22441 rm -f tags
22442 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22443 dummy:
22444 .PHONY: depend dummy install-manpages"
22446 printf "%s\n" " done" >&6
22447 cat >confcache <<\_ACEOF
22448 # This file is a shell script that caches the results of configure
22449 # tests run on this system so they can be shared between configure
22450 # scripts and configure runs, see configure's option --config-cache.
22451 # It is not useful on other systems. If it contains results you don't
22452 # want to keep, you may remove or edit it.
22454 # config.status only pays attention to the cache file if you give it
22455 # the --recheck option to rerun configure.
22457 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22458 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22459 # following values.
22461 _ACEOF
22463 # The following way of writing the cache mishandles newlines in values,
22464 # but we know of no workaround that is simple, portable, and efficient.
22465 # So, we kill variables containing newlines.
22466 # Ultrix sh set writes to stderr and can't be redirected directly,
22467 # and sets the high bit in the cache file unless we assign to the vars.
22469 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22470 eval ac_val=\$$ac_var
22471 case $ac_val in #(
22472 *${as_nl}*)
22473 case $ac_var in #(
22474 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22475 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22476 esac
22477 case $ac_var in #(
22478 _ | IFS | as_nl) ;; #(
22479 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22480 *) { eval $ac_var=; unset $ac_var;} ;;
22481 esac ;;
22482 esac
22483 done
22485 (set) 2>&1 |
22486 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22487 *${as_nl}ac_space=\ *)
22488 # `set' does not quote correctly, so add quotes: double-quote
22489 # substitution turns \\\\ into \\, and sed turns \\ into \.
22490 sed -n \
22491 "s/'/'\\\\''/g;
22492 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22493 ;; #(
22495 # `set' quotes correctly as required by POSIX, so do not add quotes.
22496 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22498 esac |
22499 sort
22501 sed '
22502 /^ac_cv_env_/b end
22503 t clear
22504 :clear
22505 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22506 t end
22507 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22508 :end' >>confcache
22509 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22510 if test -w "$cache_file"; then
22511 if test "x$cache_file" != "x/dev/null"; then
22512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22513 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22514 if test ! -f "$cache_file" || test -h "$cache_file"; then
22515 cat confcache >"$cache_file"
22516 else
22517 case $cache_file in #(
22518 */* | ?:*)
22519 mv -f confcache "$cache_file"$$ &&
22520 mv -f "$cache_file"$$ "$cache_file" ;; #(
22522 mv -f confcache "$cache_file" ;;
22523 esac
22526 else
22527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22528 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22531 rm -f confcache
22533 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22534 # Let make expand exec_prefix.
22535 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22537 DEFS=-DHAVE_CONFIG_H
22539 ac_libobjs=
22540 ac_ltlibobjs=
22542 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22543 # 1. Remove the extension, and $U if already installed.
22544 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22545 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22546 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22547 # will be set to the directory where LIBOBJS objects are built.
22548 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22549 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22550 done
22551 LIBOBJS=$ac_libobjs
22553 LTLIBOBJS=$ac_ltlibobjs
22557 : "${CONFIG_STATUS=./config.status}"
22558 ac_write_fail=0
22559 ac_clean_files_save=$ac_clean_files
22560 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22562 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22563 as_write_fail=0
22564 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22565 #! $SHELL
22566 # Generated by $as_me.
22567 # Run this file to recreate the current configuration.
22568 # Compiler output produced by configure, useful for debugging
22569 # configure, is in config.log if it exists.
22571 debug=false
22572 ac_cs_recheck=false
22573 ac_cs_silent=false
22575 SHELL=\${CONFIG_SHELL-$SHELL}
22576 export SHELL
22577 _ASEOF
22578 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22579 ## -------------------- ##
22580 ## M4sh Initialization. ##
22581 ## -------------------- ##
22583 # Be more Bourne compatible
22584 DUALCASE=1; export DUALCASE # for MKS sh
22585 as_nop=:
22586 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22587 then :
22588 emulate sh
22589 NULLCMD=:
22590 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22591 # is contrary to our usage. Disable this feature.
22592 alias -g '${1+"$@"}'='"$@"'
22593 setopt NO_GLOB_SUBST
22594 else $as_nop
22595 case `(set -o) 2>/dev/null` in #(
22596 *posix*) :
22597 set -o posix ;; #(
22598 *) :
22600 esac
22605 # Reset variables that may have inherited troublesome values from
22606 # the environment.
22608 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22609 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22610 # side effect of setting IFS to empty, thus disabling word splitting.)
22611 # Quoting is to prevent editors from complaining about space-tab.
22612 as_nl='
22614 export as_nl
22615 IFS=" "" $as_nl"
22617 PS1='$ '
22618 PS2='> '
22619 PS4='+ '
22621 # Ensure predictable behavior from utilities with locale-dependent output.
22622 LC_ALL=C
22623 export LC_ALL
22624 LANGUAGE=C
22625 export LANGUAGE
22627 # We cannot yet rely on "unset" to work, but we need these variables
22628 # to be unset--not just set to an empty or harmless value--now, to
22629 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22630 # also avoids known problems related to "unset" and subshell syntax
22631 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22632 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22633 do eval test \${$as_var+y} \
22634 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22635 done
22637 # Ensure that fds 0, 1, and 2 are open.
22638 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22639 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22640 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22642 # The user is always right.
22643 if ${PATH_SEPARATOR+false} :; then
22644 PATH_SEPARATOR=:
22645 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22646 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22647 PATH_SEPARATOR=';'
22652 # Find who we are. Look in the path if we contain no directory separator.
22653 as_myself=
22654 case $0 in #((
22655 *[\\/]* ) as_myself=$0 ;;
22656 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22657 for as_dir in $PATH
22659 IFS=$as_save_IFS
22660 case $as_dir in #(((
22661 '') as_dir=./ ;;
22662 */) ;;
22663 *) as_dir=$as_dir/ ;;
22664 esac
22665 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22666 done
22667 IFS=$as_save_IFS
22670 esac
22671 # We did not find ourselves, most probably we were run as `sh COMMAND'
22672 # in which case we are not to be found in the path.
22673 if test "x$as_myself" = x; then
22674 as_myself=$0
22676 if test ! -f "$as_myself"; then
22677 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22678 exit 1
22683 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22684 # ----------------------------------------
22685 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22686 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22687 # script with STATUS, using 1 if that was 0.
22688 as_fn_error ()
22690 as_status=$1; test $as_status -eq 0 && as_status=1
22691 if test "$4"; then
22692 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22693 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22695 printf "%s\n" "$as_me: error: $2" >&2
22696 as_fn_exit $as_status
22697 } # as_fn_error
22701 # as_fn_set_status STATUS
22702 # -----------------------
22703 # Set $? to STATUS, without forking.
22704 as_fn_set_status ()
22706 return $1
22707 } # as_fn_set_status
22709 # as_fn_exit STATUS
22710 # -----------------
22711 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22712 as_fn_exit ()
22714 set +e
22715 as_fn_set_status $1
22716 exit $1
22717 } # as_fn_exit
22719 # as_fn_unset VAR
22720 # ---------------
22721 # Portably unset VAR.
22722 as_fn_unset ()
22724 { eval $1=; unset $1;}
22726 as_unset=as_fn_unset
22728 # as_fn_append VAR VALUE
22729 # ----------------------
22730 # Append the text in VALUE to the end of the definition contained in VAR. Take
22731 # advantage of any shell optimizations that allow amortized linear growth over
22732 # repeated appends, instead of the typical quadratic growth present in naive
22733 # implementations.
22734 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22735 then :
22736 eval 'as_fn_append ()
22738 eval $1+=\$2
22740 else $as_nop
22741 as_fn_append ()
22743 eval $1=\$$1\$2
22745 fi # as_fn_append
22747 # as_fn_arith ARG...
22748 # ------------------
22749 # Perform arithmetic evaluation on the ARGs, and store the result in the
22750 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22751 # must be portable across $(()) and expr.
22752 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22753 then :
22754 eval 'as_fn_arith ()
22756 as_val=$(( $* ))
22758 else $as_nop
22759 as_fn_arith ()
22761 as_val=`expr "$@" || test $? -eq 1`
22763 fi # as_fn_arith
22766 if expr a : '\(a\)' >/dev/null 2>&1 &&
22767 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22768 as_expr=expr
22769 else
22770 as_expr=false
22773 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22774 as_basename=basename
22775 else
22776 as_basename=false
22779 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22780 as_dirname=dirname
22781 else
22782 as_dirname=false
22785 as_me=`$as_basename -- "$0" ||
22786 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22787 X"$0" : 'X\(//\)$' \| \
22788 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22789 printf "%s\n" X/"$0" |
22790 sed '/^.*\/\([^/][^/]*\)\/*$/{
22791 s//\1/
22794 /^X\/\(\/\/\)$/{
22795 s//\1/
22798 /^X\/\(\/\).*/{
22799 s//\1/
22802 s/.*/./; q'`
22804 # Avoid depending upon Character Ranges.
22805 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22806 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22807 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22808 as_cr_digits='0123456789'
22809 as_cr_alnum=$as_cr_Letters$as_cr_digits
22812 # Determine whether it's possible to make 'echo' print without a newline.
22813 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22814 # for compatibility with existing Makefiles.
22815 ECHO_C= ECHO_N= ECHO_T=
22816 case `echo -n x` in #(((((
22817 -n*)
22818 case `echo 'xy\c'` in
22819 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22820 xy) ECHO_C='\c';;
22821 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22822 ECHO_T=' ';;
22823 esac;;
22825 ECHO_N='-n';;
22826 esac
22828 # For backward compatibility with old third-party macros, we provide
22829 # the shell variables $as_echo and $as_echo_n. New code should use
22830 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22831 as_echo='printf %s\n'
22832 as_echo_n='printf %s'
22834 rm -f conf$$ conf$$.exe conf$$.file
22835 if test -d conf$$.dir; then
22836 rm -f conf$$.dir/conf$$.file
22837 else
22838 rm -f conf$$.dir
22839 mkdir conf$$.dir 2>/dev/null
22841 if (echo >conf$$.file) 2>/dev/null; then
22842 if ln -s conf$$.file conf$$ 2>/dev/null; then
22843 as_ln_s='ln -s'
22844 # ... but there are two gotchas:
22845 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22846 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22847 # In both cases, we have to default to `cp -pR'.
22848 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22849 as_ln_s='cp -pR'
22850 elif ln conf$$.file conf$$ 2>/dev/null; then
22851 as_ln_s=ln
22852 else
22853 as_ln_s='cp -pR'
22855 else
22856 as_ln_s='cp -pR'
22858 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22859 rmdir conf$$.dir 2>/dev/null
22862 # as_fn_mkdir_p
22863 # -------------
22864 # Create "$as_dir" as a directory, including parents if necessary.
22865 as_fn_mkdir_p ()
22868 case $as_dir in #(
22869 -*) as_dir=./$as_dir;;
22870 esac
22871 test -d "$as_dir" || eval $as_mkdir_p || {
22872 as_dirs=
22873 while :; do
22874 case $as_dir in #(
22875 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22876 *) as_qdir=$as_dir;;
22877 esac
22878 as_dirs="'$as_qdir' $as_dirs"
22879 as_dir=`$as_dirname -- "$as_dir" ||
22880 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22881 X"$as_dir" : 'X\(//\)[^/]' \| \
22882 X"$as_dir" : 'X\(//\)$' \| \
22883 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22884 printf "%s\n" X"$as_dir" |
22885 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22886 s//\1/
22889 /^X\(\/\/\)[^/].*/{
22890 s//\1/
22893 /^X\(\/\/\)$/{
22894 s//\1/
22897 /^X\(\/\).*/{
22898 s//\1/
22901 s/.*/./; q'`
22902 test -d "$as_dir" && break
22903 done
22904 test -z "$as_dirs" || eval "mkdir $as_dirs"
22905 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22908 } # as_fn_mkdir_p
22909 if mkdir -p . 2>/dev/null; then
22910 as_mkdir_p='mkdir -p "$as_dir"'
22911 else
22912 test -d ./-p && rmdir ./-p
22913 as_mkdir_p=false
22917 # as_fn_executable_p FILE
22918 # -----------------------
22919 # Test if FILE is an executable regular file.
22920 as_fn_executable_p ()
22922 test -f "$1" && test -x "$1"
22923 } # as_fn_executable_p
22924 as_test_x='test -x'
22925 as_executable_p=as_fn_executable_p
22927 # Sed expression to map a string onto a valid CPP name.
22928 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22930 # Sed expression to map a string onto a valid variable name.
22931 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22934 exec 6>&1
22935 ## ----------------------------------- ##
22936 ## Main body of $CONFIG_STATUS script. ##
22937 ## ----------------------------------- ##
22938 _ASEOF
22939 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22942 # Save the log message, to keep $0 and so on meaningful, and to
22943 # report actual input values of CONFIG_FILES etc. instead of their
22944 # values after options handling.
22945 ac_log="
22946 This file was extended by Wine $as_me 7.20, which was
22947 generated by GNU Autoconf 2.71. Invocation command line was
22949 CONFIG_FILES = $CONFIG_FILES
22950 CONFIG_HEADERS = $CONFIG_HEADERS
22951 CONFIG_LINKS = $CONFIG_LINKS
22952 CONFIG_COMMANDS = $CONFIG_COMMANDS
22953 $ $0 $@
22955 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22958 _ACEOF
22961 case $ac_config_headers in *"
22962 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22963 esac
22966 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22967 # Files that config.status was made for.
22968 config_headers="$ac_config_headers"
22969 config_links="$ac_config_links"
22970 config_commands="$ac_config_commands"
22972 _ACEOF
22974 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22975 ac_cs_usage="\
22976 \`$as_me' instantiates files and other configuration actions
22977 from templates according to the current configuration. Unless the files
22978 and actions are specified as TAGs, all are instantiated by default.
22980 Usage: $0 [OPTION]... [TAG]...
22982 -h, --help print this help, then exit
22983 -V, --version print version number and configuration settings, then exit
22984 --config print configuration, then exit
22985 -q, --quiet, --silent
22986 do not print progress messages
22987 -d, --debug don't remove temporary files
22988 --recheck update $as_me by reconfiguring in the same conditions
22989 --header=FILE[:TEMPLATE]
22990 instantiate the configuration header FILE
22992 Configuration headers:
22993 $config_headers
22995 Configuration links:
22996 $config_links
22998 Configuration commands:
22999 $config_commands
23001 Report bugs to <wine-devel@winehq.org>.
23002 Wine home page: <https://www.winehq.org>."
23004 _ACEOF
23005 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23006 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23007 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23008 ac_cs_config='$ac_cs_config_escaped'
23009 ac_cs_version="\\
23010 Wine config.status 7.20
23011 configured by $0, generated by GNU Autoconf 2.71,
23012 with options \\"\$ac_cs_config\\"
23014 Copyright (C) 2021 Free Software Foundation, Inc.
23015 This config.status script is free software; the Free Software Foundation
23016 gives unlimited permission to copy, distribute and modify it."
23018 ac_pwd='$ac_pwd'
23019 srcdir='$srcdir'
23020 test -n "\$AWK" || AWK=awk
23021 _ACEOF
23023 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23024 # The default lists apply if the user does not specify any file.
23025 ac_need_defaults=:
23026 while test $# != 0
23028 case $1 in
23029 --*=?*)
23030 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23031 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23032 ac_shift=:
23034 --*=)
23035 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23036 ac_optarg=
23037 ac_shift=:
23040 ac_option=$1
23041 ac_optarg=$2
23042 ac_shift=shift
23044 esac
23046 case $ac_option in
23047 # Handling of the options.
23048 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23049 ac_cs_recheck=: ;;
23050 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23051 printf "%s\n" "$ac_cs_version"; exit ;;
23052 --config | --confi | --conf | --con | --co | --c )
23053 printf "%s\n" "$ac_cs_config"; exit ;;
23054 --debug | --debu | --deb | --de | --d | -d )
23055 debug=: ;;
23056 --header | --heade | --head | --hea )
23057 $ac_shift
23058 case $ac_optarg in
23059 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23060 esac
23061 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23062 ac_need_defaults=false;;
23063 --he | --h)
23064 # Conflict between --help and --header
23065 as_fn_error $? "ambiguous option: \`$1'
23066 Try \`$0 --help' for more information.";;
23067 --help | --hel | -h )
23068 printf "%s\n" "$ac_cs_usage"; exit ;;
23069 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23070 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23071 ac_cs_silent=: ;;
23073 # This is an error.
23074 -*) as_fn_error $? "unrecognized option: \`$1'
23075 Try \`$0 --help' for more information." ;;
23077 *) as_fn_append ac_config_targets " $1"
23078 ac_need_defaults=false ;;
23080 esac
23081 shift
23082 done
23084 ac_configure_extra_args=
23086 if $ac_cs_silent; then
23087 exec 6>/dev/null
23088 ac_configure_extra_args="$ac_configure_extra_args --silent"
23091 _ACEOF
23092 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23093 if \$ac_cs_recheck; then
23094 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23095 shift
23096 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23097 CONFIG_SHELL='$SHELL'
23098 export CONFIG_SHELL
23099 exec "\$@"
23102 _ACEOF
23103 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23104 exec 5>>config.log
23106 echo
23107 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23108 ## Running $as_me. ##
23109 _ASBOX
23110 printf "%s\n" "$ac_log"
23111 } >&5
23113 _ACEOF
23114 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23116 # INIT-COMMANDS
23118 wine_fn_output_makedep ()
23120 as_dir=tools; as_fn_mkdir_p
23121 $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
23123 wine_fn_output_makefile ()
23125 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23126 # This Makefile understands the following targets:
23128 # all (default): build wine
23129 # clean: remove all intermediate files
23130 # distclean: also remove all files created by configure
23131 # test: run tests
23132 # testclean: clean test results to force running all tests again
23133 # install-lib: install libraries needed to run applications
23134 # install-dev: install development environment
23135 # install: install everything
23136 # uninstall: uninstall everything
23137 # ctags: create a tags file for vim and others.
23138 # etags: create a TAGS file for Emacs.
23140 SHELL = $SHELL
23141 PATH_SEPARATOR = $PATH_SEPARATOR
23142 PACKAGE_NAME = $PACKAGE_NAME
23143 PACKAGE_TARNAME = $PACKAGE_TARNAME
23144 PACKAGE_VERSION = $PACKAGE_VERSION
23145 PACKAGE_STRING = $PACKAGE_STRING
23146 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23147 PACKAGE_URL = $PACKAGE_URL
23148 exec_prefix = $exec_prefix
23149 prefix = $prefix
23150 program_transform_name = $program_transform_name
23151 bindir = $bindir
23152 sbindir = $sbindir
23153 libexecdir = $libexecdir
23154 datarootdir = $datarootdir
23155 datadir = $datadir
23156 sysconfdir = $sysconfdir
23157 sharedstatedir = $sharedstatedir
23158 localstatedir = $localstatedir
23159 runstatedir = $runstatedir
23160 includedir = $includedir
23161 oldincludedir = $oldincludedir
23162 docdir = $docdir
23163 infodir = $infodir
23164 htmldir = $htmldir
23165 dvidir = $dvidir
23166 pdfdir = $pdfdir
23167 psdir = $psdir
23168 libdir = $libdir
23169 localedir = $localedir
23170 mandir = $mandir
23171 DEFS = $DEFS
23172 ECHO_C = $ECHO_C
23173 ECHO_N = $ECHO_N
23174 ECHO_T = $ECHO_T
23175 LIBS = $LIBS
23176 build_alias = $build_alias
23177 host_alias = $host_alias
23178 target_alias = $target_alias
23179 system_dllpath = $system_dllpath
23180 build = $build
23181 build_cpu = $build_cpu
23182 build_vendor = $build_vendor
23183 build_os = $build_os
23184 host = $host
23185 host_cpu = $host_cpu
23186 host_vendor = $host_vendor
23187 host_os = $host_os
23188 dlldir = $dlldir
23189 fontdir = $fontdir
23190 nlsdir = $nlsdir
23191 srcdir = $srcdir
23192 SET_MAKE = $SET_MAKE
23193 CC = $CC
23194 CFLAGS = $CFLAGS
23195 LDFLAGS = $LDFLAGS
23196 CPPFLAGS = $CPPFLAGS
23197 ac_ct_CC = $ac_ct_CC
23198 EXEEXT = $EXEEXT
23199 OBJEXT = $OBJEXT
23200 CXX = $CXX
23201 CXXFLAGS = $CXXFLAGS
23202 ac_ct_CXX = $ac_ct_CXX
23203 CPPBIN = $CPPBIN
23204 LD = $LD
23205 TARGETFLAGS = $TARGETFLAGS
23206 toolsext = $toolsext
23207 HOST_ARCH = $HOST_ARCH
23208 aarch64_CC = $aarch64_CC
23209 aarch64_CFLAGS = $aarch64_CFLAGS
23210 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23211 aarch64_LDFLAGS = $aarch64_LDFLAGS
23212 aarch64_DEBUG = $aarch64_DEBUG
23213 aarch64_TARGET = $aarch64_TARGET
23214 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23215 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23216 arm_CC = $arm_CC
23217 arm_CFLAGS = $arm_CFLAGS
23218 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23219 arm_LDFLAGS = $arm_LDFLAGS
23220 arm_DEBUG = $arm_DEBUG
23221 arm_TARGET = $arm_TARGET
23222 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23223 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23224 i386_CC = $i386_CC
23225 i386_CFLAGS = $i386_CFLAGS
23226 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23227 i386_LDFLAGS = $i386_LDFLAGS
23228 i386_DEBUG = $i386_DEBUG
23229 i386_TARGET = $i386_TARGET
23230 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23231 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23232 x86_64_CC = $x86_64_CC
23233 x86_64_CFLAGS = $x86_64_CFLAGS
23234 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23235 x86_64_LDFLAGS = $x86_64_LDFLAGS
23236 x86_64_DEBUG = $x86_64_DEBUG
23237 x86_64_TARGET = $x86_64_TARGET
23238 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23239 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23240 toolsdir = $toolsdir
23241 MAKEDEP = $MAKEDEP
23242 RUNTESTFLAGS = $RUNTESTFLAGS
23243 SED_CMD = $SED_CMD
23244 FLEX = $FLEX
23245 BISON = $BISON
23246 AR = $AR
23247 ac_ct_AR = $ac_ct_AR
23248 STRIP = $STRIP
23249 RANLIB = $RANLIB
23250 LN_S = $LN_S
23251 GREP = $GREP
23252 EGREP = $EGREP
23253 LDCONFIG = $LDCONFIG
23254 MSGFMT = $MSGFMT
23255 PKG_CONFIG = $PKG_CONFIG
23256 FONTFORGE = $FONTFORGE
23257 RSVG = $RSVG
23258 CONVERT = $CONVERT
23259 ICOTOOL = $ICOTOOL
23260 I386_LIBS = $I386_LIBS
23261 OPENGL_LIBS = $OPENGL_LIBS
23262 DLLFLAGS = $DLLFLAGS
23263 LDDLLFLAGS = $LDDLLFLAGS
23264 LDEXECFLAGS = $LDEXECFLAGS
23265 EXTRACFLAGS = $EXTRACFLAGS
23266 UNIXDLLFLAGS = $UNIXDLLFLAGS
23267 UNIXLDFLAGS = $UNIXLDFLAGS
23268 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23269 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23270 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23271 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23272 LDD = $LDD
23273 OTOOL = $OTOOL
23274 READELF = $READELF
23275 SUBDIRS = $SUBDIRS
23276 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23277 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23278 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23279 OBJC = $OBJC
23280 OBJCFLAGS = $OBJCFLAGS
23281 ac_ct_OBJC = $ac_ct_OBJC
23282 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23283 IOKIT_LIBS = $IOKIT_LIBS
23284 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23285 CORESERVICES_LIBS = $CORESERVICES_LIBS
23286 APPKIT_LIBS = $APPKIT_LIBS
23287 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23288 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23289 SECURITY_LIBS = $SECURITY_LIBS
23290 COREAUDIO_LIBS = $COREAUDIO_LIBS
23291 OPENCL_LIBS = $OPENCL_LIBS
23292 CARBON_LIBS = $CARBON_LIBS
23293 METAL_LIBS = $METAL_LIBS
23294 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23295 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23296 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23297 PRELINK = $PRELINK
23298 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23299 PE_ARCHS = $PE_ARCHS
23300 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23301 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23302 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23303 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23304 GSM_PE_LIBS = $GSM_PE_LIBS
23305 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23306 JPEG_PE_LIBS = $JPEG_PE_LIBS
23307 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23308 JXR_PE_LIBS = $JXR_PE_LIBS
23309 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23310 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23311 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23312 MPG123_PE_LIBS = $MPG123_PE_LIBS
23313 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23314 PNG_PE_LIBS = $PNG_PE_LIBS
23315 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23316 TIFF_PE_LIBS = $TIFF_PE_LIBS
23317 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23318 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23319 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23320 XML2_PE_LIBS = $XML2_PE_LIBS
23321 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23322 XSLT_PE_LIBS = $XSLT_PE_LIBS
23323 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23324 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23325 PTHREAD_LIBS = $PTHREAD_LIBS
23326 XMKMF = $XMKMF
23327 CPP = $CPP
23328 X_CFLAGS = $X_CFLAGS
23329 X_PRE_LIBS = $X_PRE_LIBS
23330 X_LIBS = $X_LIBS
23331 X_EXTRA_LIBS = $X_EXTRA_LIBS
23332 PCAP_LIBS = $PCAP_LIBS
23333 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23334 INOTIFY_LIBS = $INOTIFY_LIBS
23335 DBUS_CFLAGS = $DBUS_CFLAGS
23336 DBUS_LIBS = $DBUS_LIBS
23337 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23338 GNUTLS_LIBS = $GNUTLS_LIBS
23339 SANE_CFLAGS = $SANE_CFLAGS
23340 SANE_LIBS = $SANE_LIBS
23341 USB_CFLAGS = $USB_CFLAGS
23342 USB_LIBS = $USB_LIBS
23343 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23344 GPHOTO2_LIBS = $GPHOTO2_LIBS
23345 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23346 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23347 RESOLV_LIBS = $RESOLV_LIBS
23348 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23349 FREETYPE_LIBS = $FREETYPE_LIBS
23350 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23351 PULSE_CFLAGS = $PULSE_CFLAGS
23352 PULSE_LIBS = $PULSE_LIBS
23353 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23354 GSTREAMER_LIBS = $GSTREAMER_LIBS
23355 ALSA_LIBS = $ALSA_LIBS
23356 OSS4_CFLAGS = $OSS4_CFLAGS
23357 OSS4_LIBS = $OSS4_LIBS
23358 UDEV_CFLAGS = $UDEV_CFLAGS
23359 UDEV_LIBS = $UDEV_LIBS
23360 UNWIND_CFLAGS = $UNWIND_CFLAGS
23361 UNWIND_LIBS = $UNWIND_LIBS
23362 SDL2_CFLAGS = $SDL2_CFLAGS
23363 SDL2_LIBS = $SDL2_LIBS
23364 CAPI20_CFLAGS = $CAPI20_CFLAGS
23365 CAPI20_LIBS = $CAPI20_LIBS
23366 CUPS_CFLAGS = $CUPS_CFLAGS
23367 CUPS_LIBS = $CUPS_LIBS
23368 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23369 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23370 KRB5_CFLAGS = $KRB5_CFLAGS
23371 KRB5_LIBS = $KRB5_LIBS
23372 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23373 GSSAPI_LIBS = $GSSAPI_LIBS
23374 PROCSTAT_LIBS = $PROCSTAT_LIBS
23375 NETAPI_CFLAGS = $NETAPI_CFLAGS
23376 NETAPI_LIBS = $NETAPI_LIBS
23377 MSVCRTFLAGS = $MSVCRTFLAGS
23378 DELAYLOADFLAG = $DELAYLOADFLAG
23379 RT_LIBS = $RT_LIBS
23380 LDAP_CFLAGS = $LDAP_CFLAGS
23381 LDAP_LIBS = $LDAP_LIBS
23382 TAGSFLAGS = $TAGSFLAGS
23383 LIBOBJS = $LIBOBJS
23384 LTLIBOBJS = $LTLIBOBJS
23385 $SET_MAKE
23386 $wine_rules
23387 _WINE_EOF
23388 as_fn_error $? "could not create Makefile" "$LINENO" 5
23391 _ACEOF
23393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23395 # Handling of arguments.
23396 for ac_config_target in $ac_config_targets
23398 case $ac_config_target in
23399 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23400 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23401 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23402 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23403 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23404 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23406 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23407 esac
23408 done
23411 # If the user did not use the arguments to specify the items to instantiate,
23412 # then the envvar interface is used. Set only those that are not.
23413 # We use the long form for the default assignment because of an extremely
23414 # bizarre bug on SunOS 4.1.3.
23415 if $ac_need_defaults; then
23416 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23417 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23418 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23421 # Have a temporary directory for convenience. Make it in the build tree
23422 # simply because there is no reason against having it here, and in addition,
23423 # creating and moving files from /tmp can sometimes cause problems.
23424 # Hook for its removal unless debugging.
23425 # Note that there is a small window in which the directory will not be cleaned:
23426 # after its creation but before its name has been assigned to `$tmp'.
23427 $debug ||
23429 tmp= ac_tmp=
23430 trap 'exit_status=$?
23431 : "${ac_tmp:=$tmp}"
23432 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23434 trap 'as_fn_exit 1' 1 2 13 15
23436 # Create a (secure) tmp directory for tmp files.
23439 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23440 test -d "$tmp"
23441 } ||
23443 tmp=./conf$$-$RANDOM
23444 (umask 077 && mkdir "$tmp")
23445 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23446 ac_tmp=$tmp
23448 # Set up the scripts for CONFIG_HEADERS section.
23449 # No need to generate them if there are no CONFIG_HEADERS.
23450 # This happens for instance with `./config.status Makefile'.
23451 if test -n "$CONFIG_HEADERS"; then
23452 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23453 BEGIN {
23454 _ACEOF
23456 # Transform confdefs.h into an awk script `defines.awk', embedded as
23457 # here-document in config.status, that substitutes the proper values into
23458 # config.h.in to produce config.h.
23460 # Create a delimiter string that does not exist in confdefs.h, to ease
23461 # handling of long lines.
23462 ac_delim='%!_!# '
23463 for ac_last_try in false false :; do
23464 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23465 if test -z "$ac_tt"; then
23466 break
23467 elif $ac_last_try; then
23468 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23469 else
23470 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23472 done
23474 # For the awk script, D is an array of macro values keyed by name,
23475 # likewise P contains macro parameters if any. Preserve backslash
23476 # newline sequences.
23478 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23479 sed -n '
23480 s/.\{148\}/&'"$ac_delim"'/g
23481 t rset
23482 :rset
23483 s/^[ ]*#[ ]*define[ ][ ]*/ /
23484 t def
23486 :def
23487 s/\\$//
23488 t bsnl
23489 s/["\\]/\\&/g
23490 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23491 D["\1"]=" \3"/p
23492 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23494 :bsnl
23495 s/["\\]/\\&/g
23496 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23497 D["\1"]=" \3\\\\\\n"\\/p
23498 t cont
23499 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23500 t cont
23502 :cont
23504 s/.\{148\}/&'"$ac_delim"'/g
23505 t clear
23506 :clear
23507 s/\\$//
23508 t bsnlc
23509 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23511 :bsnlc
23512 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23513 b cont
23514 ' <confdefs.h | sed '
23515 s/'"$ac_delim"'/"\\\
23516 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23518 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23519 for (key in D) D_is_set[key] = 1
23520 FS = "\a"
23522 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23523 line = \$ 0
23524 split(line, arg, " ")
23525 if (arg[1] == "#") {
23526 defundef = arg[2]
23527 mac1 = arg[3]
23528 } else {
23529 defundef = substr(arg[1], 2)
23530 mac1 = arg[2]
23532 split(mac1, mac2, "(") #)
23533 macro = mac2[1]
23534 prefix = substr(line, 1, index(line, defundef) - 1)
23535 if (D_is_set[macro]) {
23536 # Preserve the white space surrounding the "#".
23537 print prefix "define", macro P[macro] D[macro]
23538 next
23539 } else {
23540 # Replace #undef with comments. This is necessary, for example,
23541 # in the case of _POSIX_SOURCE, which is predefined and required
23542 # on some systems where configure will not decide to define it.
23543 if (defundef == "undef") {
23544 print "/*", prefix defundef, macro, "*/"
23545 next
23549 { print }
23550 _ACAWK
23551 _ACEOF
23552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23553 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23554 fi # test -n "$CONFIG_HEADERS"
23557 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23558 shift
23559 for ac_tag
23561 case $ac_tag in
23562 :[FHLC]) ac_mode=$ac_tag; continue;;
23563 esac
23564 case $ac_mode$ac_tag in
23565 :[FHL]*:*);;
23566 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23567 :[FH]-) ac_tag=-:-;;
23568 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23569 esac
23570 ac_save_IFS=$IFS
23571 IFS=:
23572 set x $ac_tag
23573 IFS=$ac_save_IFS
23574 shift
23575 ac_file=$1
23576 shift
23578 case $ac_mode in
23579 :L) ac_source=$1;;
23580 :[FH])
23581 ac_file_inputs=
23582 for ac_f
23584 case $ac_f in
23585 -) ac_f="$ac_tmp/stdin";;
23586 *) # Look for the file first in the build tree, then in the source tree
23587 # (if the path is not absolute). The absolute path cannot be DOS-style,
23588 # because $ac_f cannot contain `:'.
23589 test -f "$ac_f" ||
23590 case $ac_f in
23591 [\\/$]*) false;;
23592 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23593 esac ||
23594 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23595 esac
23596 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23597 as_fn_append ac_file_inputs " '$ac_f'"
23598 done
23600 # Let's still pretend it is `configure' which instantiates (i.e., don't
23601 # use $as_me), people would be surprised to read:
23602 # /* config.h. Generated by config.status. */
23603 configure_input='Generated from '`
23604 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23605 `' by configure.'
23606 if test x"$ac_file" != x-; then
23607 configure_input="$ac_file. $configure_input"
23608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23609 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23611 # Neutralize special characters interpreted by sed in replacement strings.
23612 case $configure_input in #(
23613 *\&* | *\|* | *\\* )
23614 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23615 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23616 *) ac_sed_conf_input=$configure_input;;
23617 esac
23619 case $ac_tag in
23620 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23621 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23622 esac
23624 esac
23626 ac_dir=`$as_dirname -- "$ac_file" ||
23627 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23628 X"$ac_file" : 'X\(//\)[^/]' \| \
23629 X"$ac_file" : 'X\(//\)$' \| \
23630 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23631 printf "%s\n" X"$ac_file" |
23632 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23633 s//\1/
23636 /^X\(\/\/\)[^/].*/{
23637 s//\1/
23640 /^X\(\/\/\)$/{
23641 s//\1/
23644 /^X\(\/\).*/{
23645 s//\1/
23648 s/.*/./; q'`
23649 as_dir="$ac_dir"; as_fn_mkdir_p
23650 ac_builddir=.
23652 case "$ac_dir" in
23653 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23655 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23656 # A ".." for each directory in $ac_dir_suffix.
23657 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23658 case $ac_top_builddir_sub in
23659 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23660 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23661 esac ;;
23662 esac
23663 ac_abs_top_builddir=$ac_pwd
23664 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23665 # for backward compatibility:
23666 ac_top_builddir=$ac_top_build_prefix
23668 case $srcdir in
23669 .) # We are building in place.
23670 ac_srcdir=.
23671 ac_top_srcdir=$ac_top_builddir_sub
23672 ac_abs_top_srcdir=$ac_pwd ;;
23673 [\\/]* | ?:[\\/]* ) # Absolute name.
23674 ac_srcdir=$srcdir$ac_dir_suffix;
23675 ac_top_srcdir=$srcdir
23676 ac_abs_top_srcdir=$srcdir ;;
23677 *) # Relative name.
23678 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23679 ac_top_srcdir=$ac_top_build_prefix$srcdir
23680 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23681 esac
23682 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23685 case $ac_mode in
23689 # CONFIG_HEADER
23691 if test x"$ac_file" != x-; then
23693 printf "%s\n" "/* $configure_input */" >&1 \
23694 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23695 } >"$ac_tmp/config.h" \
23696 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23697 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23699 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23700 else
23701 rm -f "$ac_file"
23702 mv "$ac_tmp/config.h" "$ac_file" \
23703 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23705 else
23706 printf "%s\n" "/* $configure_input */" >&1 \
23707 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23708 || as_fn_error $? "could not create -" "$LINENO" 5
23713 # CONFIG_LINK
23716 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23718 else
23719 # Prefer the file from the source tree if names are identical.
23720 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23721 ac_source=$srcdir/$ac_source
23724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23725 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23727 if test ! -r "$ac_source"; then
23728 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23730 rm -f "$ac_file"
23732 # Try a relative symlink, then a hard link, then a copy.
23733 case $ac_source in
23734 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23735 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23736 esac
23737 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23738 ln "$ac_source" "$ac_file" 2>/dev/null ||
23739 cp -p "$ac_source" "$ac_file" ||
23740 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23743 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23744 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23746 esac
23749 case $ac_file$ac_mode in
23750 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23751 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23752 "Makefile":C) wine_fn_output_makefile Makefile ;;
23754 esac
23755 done # for ac_tag
23758 as_fn_exit 0
23759 _ACEOF
23760 ac_clean_files=$ac_clean_files_save
23762 test $ac_write_fail = 0 ||
23763 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23766 # configure is writing to config.log, and then calls config.status.
23767 # config.status does its own redirection, appending to config.log.
23768 # Unfortunately, on DOS this fails, as config.log is still kept open
23769 # by configure, so config.status won't be able to write to it; its
23770 # output is simply discarded. So we exec the FD to /dev/null,
23771 # effectively closing config.log, so it can be properly (re)opened and
23772 # appended to by config.status. When coming back to configure, we
23773 # need to make the FD available again.
23774 if test "$no_create" != yes; then
23775 ac_cs_success=:
23776 ac_config_status_args=
23777 test "$silent" = yes &&
23778 ac_config_status_args="$ac_config_status_args --quiet"
23779 exec 5>/dev/null
23780 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23781 exec 5>>config.log
23782 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23783 # would make configure fail if this is the last instruction.
23784 $ac_cs_success || as_fn_exit 1
23786 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23788 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23792 if test "$no_create" = "yes"
23793 then
23794 exit 0
23797 ac_save_IFS="$IFS"
23798 if test "x$wine_notices" != x; then
23799 echo >&6
23800 IFS="|"
23801 for msg in $wine_notices; do
23802 IFS="$ac_save_IFS"
23803 if ${msg:+false} :
23804 then :
23806 else $as_nop
23807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23808 printf "%s\n" "$as_me: $msg" >&6;}
23810 done
23812 IFS="|"
23813 for msg in $wine_warnings; do
23814 IFS="$ac_save_IFS"
23815 if ${msg:+false} :
23816 then :
23818 else $as_nop
23819 echo >&2
23820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23821 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23823 done
23824 IFS="$ac_save_IFS"
23826 printf "%s\n" "
23827 $as_me: Finished. Do '${ac_make}' to compile Wine.
23828 " >&6