httpapi/tests: Build without -DWINE_NO_LONG_TYPES.
[wine.git] / configure
blob2597bc0e79109484514532861ec7e7a4e76fb5f9
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.3.
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.3'
615 PACKAGE_STRING='Wine 7.3'
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 MSVCRTFLAGS
659 VKD3D_SHADER_LIBS
660 VKD3D_SHADER_CFLAGS
661 VKD3D_LIBS
662 VKD3D_CFLAGS
663 NETAPI_LIBS
664 NETAPI_CFLAGS
665 PROCSTAT_LIBS
666 GSSAPI_LIBS
667 GSSAPI_CFLAGS
668 KRB5_LIBS
669 KRB5_CFLAGS
670 FONTCONFIG_LIBS
671 FONTCONFIG_CFLAGS
672 CUPS_LIBS
673 CUPS_CFLAGS
674 CAPI20_LIBS
675 CAPI20_CFLAGS
676 SDL2_LIBS
677 SDL2_CFLAGS
678 UNWIND_LIBS
679 UNWIND_CFLAGS
680 UDEV_LIBS
681 UDEV_CFLAGS
682 OSS4_LIBS
683 OSS4_CFLAGS
684 ALSA_LIBS
685 GSTREAMER_LIBS
686 GSTREAMER_CFLAGS
687 PULSE_LIBS
688 PULSE_CFLAGS
689 GETTEXTPO_LIBS
690 FREETYPE_LIBS
691 FREETYPE_CFLAGS
692 RESOLV_LIBS
693 GPHOTO2_PORT_LIBS
694 GPHOTO2_PORT_CFLAGS
695 GPHOTO2_LIBS
696 GPHOTO2_CFLAGS
697 USB_LIBS
698 USB_CFLAGS
699 SANE_LIBS
700 SANE_CFLAGS
701 GNUTLS_LIBS
702 GNUTLS_CFLAGS
703 DBUS_LIBS
704 DBUS_CFLAGS
705 INOTIFY_LIBS
706 INOTIFY_CFLAGS
707 PCAP_LIBS
708 X_EXTRA_LIBS
709 X_LIBS
710 X_PRE_LIBS
711 X_CFLAGS
713 XMKMF
714 PTHREAD_LIBS
715 ZLIB_PE_LIBS
716 ZLIB_PE_CFLAGS
717 XSLT_PE_LIBS
718 XSLT_PE_CFLAGS
719 XML2_PE_LIBS
720 XML2_PE_CFLAGS
721 TIFF_PE_LIBS
722 TIFF_PE_CFLAGS
723 PNG_PE_LIBS
724 PNG_PE_CFLAGS
725 MPG123_PE_LIBS
726 MPG123_PE_CFLAGS
727 LCMS2_PE_LIBS
728 LCMS2_PE_CFLAGS
729 JXR_PE_LIBS
730 JXR_PE_CFLAGS
731 JPEG_PE_LIBS
732 JPEG_PE_CFLAGS
733 GSM_PE_LIBS
734 GSM_PE_CFLAGS
735 FAUDIO_PE_LIBS
736 FAUDIO_PE_CFLAGS
737 MINGW_PKG_CONFIG
738 EXCESS_PRECISION_CFLAGS
739 CROSSDEBUG
740 DELAYLOADFLAG
741 CROSSLDFLAGS
742 EXTRACROSSCFLAGS
743 CROSSCFLAGS
744 CROSSCC
745 CROSSTARGET
746 LIBWINE_DEPENDS
747 PRELINK
748 WINELOADER_DEPENDS
749 LIBWINE_LDFLAGS
750 LIBWINE_SHAREDLIB
751 METAL_LIBS
752 CARBON_LIBS
753 OPENCL_LIBS
754 OPENAL_LIBS
755 COREAUDIO_LIBS
756 SECURITY_LIBS
757 DISKARBITRATION_LIBS
758 SYSTEMCONFIGURATION_LIBS
759 APPKIT_LIBS
760 CORESERVICES_LIBS
761 APPLICATIONSERVICES_LIBS
762 IOKIT_LIBS
763 COREFOUNDATION_LIBS
764 ac_ct_OBJC
765 OBJCFLAGS
766 OBJC
767 DLLTOOL
768 WINELOADER_PROGRAMS
769 CONFIGURE_TARGETS
770 DISABLED_SUBDIRS
771 SUBDIRS
772 READELF
773 OTOOL
775 WINEPRELOADER_LDFLAGS
776 WINELOADER_LDFLAGS
777 TOP_INSTALL_DEV
778 TOP_INSTALL_LIB
779 UNIXLDFLAGS
780 UNIXDLLFLAGS
781 EXTRACFLAGS
782 LDEXECFLAGS
783 LDDLLFLAGS
784 DLLFLAGS
785 OPENGL_LIBS
786 I386_LIBS
787 ICOTOOL
788 CONVERT
789 RSVG
790 FONTFORGE
791 PKG_CONFIG
792 MSGFMT
793 LDCONFIG
794 EGREP
795 GREP
796 LN_S
797 RANLIB
798 STRIP
799 ac_ct_AR
801 BISON
802 FLEX
803 SED_CMD
804 RUNTESTFLAGS
805 MAKEDEP
806 toolsdir
807 toolsext
808 TARGETFLAGS
810 CPPBIN
811 ac_ct_CXX
812 CXXFLAGS
814 OBJEXT
815 EXEEXT
816 ac_ct_CC
817 CPPFLAGS
818 LDFLAGS
819 CFLAGS
821 SET_MAKE
822 srcdir
823 nlsdir
824 fontdir
825 dlldir
826 host_os
827 host_vendor
828 host_cpu
829 host
830 build_os
831 build_vendor
832 build_cpu
833 build
834 system_dllpath
835 target_alias
836 host_alias
837 build_alias
838 LIBS
839 ECHO_T
840 ECHO_N
841 ECHO_C
842 DEFS
843 mandir
844 localedir
845 libdir
846 psdir
847 pdfdir
848 dvidir
849 htmldir
850 infodir
851 docdir
852 oldincludedir
853 includedir
854 runstatedir
855 localstatedir
856 sharedstatedir
857 sysconfdir
858 datadir
859 datarootdir
860 libexecdir
861 sbindir
862 bindir
863 program_transform_name
864 prefix
865 exec_prefix
866 PACKAGE_URL
867 PACKAGE_BUGREPORT
868 PACKAGE_STRING
869 PACKAGE_VERSION
870 PACKAGE_TARNAME
871 PACKAGE_NAME
872 PATH_SEPARATOR
873 SHELL'
874 ac_subst_files=''
875 ac_user_opts='
876 enable_option_checking
877 enable_win16
878 enable_win64
879 enable_tests
880 enable_build_id
881 enable_maintainer_mode
882 enable_silent_rules
883 enable_werror
884 with_alsa
885 with_capi
886 with_coreaudio
887 with_cups
888 with_dbus
889 with_float_abi
890 with_fontconfig
891 with_freetype
892 with_gettext
893 with_gettextpo
894 with_gphoto
895 with_gnutls
896 with_gssapi
897 with_gstreamer
898 with_inotify
899 with_krb5
900 with_ldap
901 with_mingw
902 with_netapi
903 with_openal
904 with_opencl
905 with_opengl
906 with_osmesa
907 with_oss
908 with_pcap
909 with_pthread
910 with_pulse
911 with_sane
912 with_sdl
913 with_udev
914 with_unwind
915 with_usb
916 with_v4l2
917 with_vkd3d
918 with_vulkan
919 with_xcomposite
920 with_xcursor
921 with_xfixes
922 with_xinerama
923 with_xinput
924 with_xinput2
925 with_xrandr
926 with_xrender
927 with_xshape
928 with_xshm
929 with_xxf86vm
930 with_system_dllpath
931 with_wine_tools
932 with_wine64
933 enable_largefile
934 with_x
935 enable_acledit
936 enable_aclui
937 enable_activeds_tlb
938 enable_activeds
939 enable_actxprxy
940 enable_adsldp
941 enable_adsldpc
942 enable_advapi32
943 enable_advpack
944 enable_amsi
945 enable_amstream
946 enable_apisetschema
947 enable_apphelp
948 enable_appwiz_cpl
949 enable_atl
950 enable_atl100
951 enable_atl110
952 enable_atl80
953 enable_atl90
954 enable_atlthunk
955 enable_atmlib
956 enable_authz
957 enable_avicap32
958 enable_avifil32
959 enable_avrt
960 enable_bcrypt
961 enable_bluetoothapis
962 enable_browseui
963 enable_bthprops_cpl
964 enable_cabinet
965 enable_capi2032
966 enable_cards
967 enable_cdosys
968 enable_cfgmgr32
969 enable_clusapi
970 enable_cng_sys
971 enable_combase
972 enable_comcat
973 enable_comctl32
974 enable_comdlg32
975 enable_compstui
976 enable_comsvcs
977 enable_concrt140
978 enable_connect
979 enable_credui
980 enable_crtdll
981 enable_crypt32
982 enable_cryptdlg
983 enable_cryptdll
984 enable_cryptext
985 enable_cryptnet
986 enable_cryptsp
987 enable_cryptui
988 enable_ctapi32
989 enable_ctl3d32
990 enable_d2d1
991 enable_d3d10
992 enable_d3d10_1
993 enable_d3d10core
994 enable_d3d11
995 enable_d3d12
996 enable_d3d8
997 enable_d3d8thk
998 enable_d3d9
999 enable_d3dcompiler_33
1000 enable_d3dcompiler_34
1001 enable_d3dcompiler_35
1002 enable_d3dcompiler_36
1003 enable_d3dcompiler_37
1004 enable_d3dcompiler_38
1005 enable_d3dcompiler_39
1006 enable_d3dcompiler_40
1007 enable_d3dcompiler_41
1008 enable_d3dcompiler_42
1009 enable_d3dcompiler_43
1010 enable_d3dcompiler_46
1011 enable_d3dcompiler_47
1012 enable_d3dim
1013 enable_d3dim700
1014 enable_d3drm
1015 enable_d3dx10_33
1016 enable_d3dx10_34
1017 enable_d3dx10_35
1018 enable_d3dx10_36
1019 enable_d3dx10_37
1020 enable_d3dx10_38
1021 enable_d3dx10_39
1022 enable_d3dx10_40
1023 enable_d3dx10_41
1024 enable_d3dx10_42
1025 enable_d3dx10_43
1026 enable_d3dx11_42
1027 enable_d3dx11_43
1028 enable_d3dx9_24
1029 enable_d3dx9_25
1030 enable_d3dx9_26
1031 enable_d3dx9_27
1032 enable_d3dx9_28
1033 enable_d3dx9_29
1034 enable_d3dx9_30
1035 enable_d3dx9_31
1036 enable_d3dx9_32
1037 enable_d3dx9_33
1038 enable_d3dx9_34
1039 enable_d3dx9_35
1040 enable_d3dx9_36
1041 enable_d3dx9_37
1042 enable_d3dx9_38
1043 enable_d3dx9_39
1044 enable_d3dx9_40
1045 enable_d3dx9_41
1046 enable_d3dx9_42
1047 enable_d3dx9_43
1048 enable_d3dxof
1049 enable_davclnt
1050 enable_dbgeng
1051 enable_dbghelp
1052 enable_dciman32
1053 enable_dcomp
1054 enable_ddraw
1055 enable_ddrawex
1056 enable_devenum
1057 enable_dhcpcsvc
1058 enable_dhcpcsvc6
1059 enable_dhtmled_ocx
1060 enable_diasymreader
1061 enable_difxapi
1062 enable_dinput
1063 enable_dinput8
1064 enable_directmanipulation
1065 enable_dispex
1066 enable_dmband
1067 enable_dmcompos
1068 enable_dmime
1069 enable_dmloader
1070 enable_dmscript
1071 enable_dmstyle
1072 enable_dmsynth
1073 enable_dmusic
1074 enable_dmusic32
1075 enable_dnsapi
1076 enable_dplay
1077 enable_dplayx
1078 enable_dpnaddr
1079 enable_dpnet
1080 enable_dpnhpast
1081 enable_dpnhupnp
1082 enable_dpnlobby
1083 enable_dpvoice
1084 enable_dpwsockx
1085 enable_drmclien
1086 enable_dsdmo
1087 enable_dsound
1088 enable_dsquery
1089 enable_dssenh
1090 enable_dsuiext
1091 enable_dswave
1092 enable_dwmapi
1093 enable_dwrite
1094 enable_dx8vb
1095 enable_dxdiagn
1096 enable_dxgi
1097 enable_dxtrans
1098 enable_dxva2
1099 enable_esent
1100 enable_evr
1101 enable_explorerframe
1102 enable_faultrep
1103 enable_feclient
1104 enable_fltlib
1105 enable_fltmgr_sys
1106 enable_fntcache
1107 enable_fontsub
1108 enable_fusion
1109 enable_fwpuclnt
1110 enable_gameux
1111 enable_gamingtcui
1112 enable_gdi32
1113 enable_gdiplus
1114 enable_glu32
1115 enable_gphoto2_ds
1116 enable_gpkcsp
1117 enable_hal
1118 enable_hhctrl_ocx
1119 enable_hid
1120 enable_hidclass_sys
1121 enable_hidparse_sys
1122 enable_hlink
1123 enable_hnetcfg
1124 enable_http_sys
1125 enable_httpapi
1126 enable_iccvid
1127 enable_icmp
1128 enable_ieframe
1129 enable_ieproxy
1130 enable_imaadp32_acm
1131 enable_imagehlp
1132 enable_imm32
1133 enable_inetcomm
1134 enable_inetcpl_cpl
1135 enable_inetmib1
1136 enable_infosoft
1137 enable_initpki
1138 enable_inkobj
1139 enable_inseng
1140 enable_iphlpapi
1141 enable_iprop
1142 enable_irprops_cpl
1143 enable_itircl
1144 enable_itss
1145 enable_joy_cpl
1146 enable_jscript
1147 enable_jsproxy
1148 enable_kerberos
1149 enable_kernel32
1150 enable_kernelbase
1151 enable_ksecdd_sys
1152 enable_ksproxy_ax
1153 enable_ksuser
1154 enable_ktmw32
1155 enable_l3codeca_acm
1156 enable_light_msstyles
1157 enable_loadperf
1158 enable_localspl
1159 enable_localui
1160 enable_lz32
1161 enable_mapi32
1162 enable_mapistub
1163 enable_mciavi32
1164 enable_mcicda
1165 enable_mciqtz32
1166 enable_mciseq
1167 enable_mciwave
1168 enable_mf
1169 enable_mf3216
1170 enable_mferror
1171 enable_mfmediaengine
1172 enable_mfplat
1173 enable_mfplay
1174 enable_mfreadwrite
1175 enable_mgmtapi
1176 enable_midimap
1177 enable_mlang
1178 enable_mmcndmgr
1179 enable_mmdevapi
1180 enable_mountmgr_sys
1181 enable_mp3dmod
1182 enable_mpr
1183 enable_mprapi
1184 enable_msacm32_drv
1185 enable_msacm32
1186 enable_msado15
1187 enable_msadp32_acm
1188 enable_msasn1
1189 enable_mscat32
1190 enable_mscms
1191 enable_mscoree
1192 enable_mscorwks
1193 enable_msctf
1194 enable_msctfmonitor
1195 enable_msctfp
1196 enable_msdaps
1197 enable_msdasql
1198 enable_msdelta
1199 enable_msdmo
1200 enable_msdrm
1201 enable_msftedit
1202 enable_msg711_acm
1203 enable_msgsm32_acm
1204 enable_mshtml_tlb
1205 enable_mshtml
1206 enable_msi
1207 enable_msident
1208 enable_msimg32
1209 enable_msimsg
1210 enable_msimtf
1211 enable_msisip
1212 enable_msisys_ocx
1213 enable_msls31
1214 enable_msnet32
1215 enable_mspatcha
1216 enable_msports
1217 enable_msrle32
1218 enable_msscript_ocx
1219 enable_mssign32
1220 enable_mssip32
1221 enable_mstask
1222 enable_msv1_0
1223 enable_msvcirt
1224 enable_msvcm80
1225 enable_msvcm90
1226 enable_msvcp100
1227 enable_msvcp110
1228 enable_msvcp120
1229 enable_msvcp120_app
1230 enable_msvcp140
1231 enable_msvcp140_1
1232 enable_msvcp140_atomic_wait
1233 enable_msvcp60
1234 enable_msvcp70
1235 enable_msvcp71
1236 enable_msvcp80
1237 enable_msvcp90
1238 enable_msvcp_win
1239 enable_msvcr100
1240 enable_msvcr110
1241 enable_msvcr120
1242 enable_msvcr120_app
1243 enable_msvcr70
1244 enable_msvcr71
1245 enable_msvcr80
1246 enable_msvcr90
1247 enable_msvcrt
1248 enable_msvcrt20
1249 enable_msvcrt40
1250 enable_msvcrtd
1251 enable_msvfw32
1252 enable_msvidc32
1253 enable_mswsock
1254 enable_msxml
1255 enable_msxml2
1256 enable_msxml3
1257 enable_msxml4
1258 enable_msxml6
1259 enable_mtxdm
1260 enable_ncrypt
1261 enable_nddeapi
1262 enable_ndis_sys
1263 enable_netapi32
1264 enable_netcfgx
1265 enable_netio_sys
1266 enable_netprofm
1267 enable_netutils
1268 enable_newdev
1269 enable_ninput
1270 enable_normaliz
1271 enable_npmshtml
1272 enable_npptools
1273 enable_nsi
1274 enable_nsiproxy_sys
1275 enable_ntdll
1276 enable_ntdsapi
1277 enable_ntoskrnl_exe
1278 enable_ntprint
1279 enable_objsel
1280 enable_odbc32
1281 enable_odbcbcp
1282 enable_odbccp32
1283 enable_odbccu32
1284 enable_ole32
1285 enable_oleacc
1286 enable_oleaut32
1287 enable_olecli32
1288 enable_oledb32
1289 enable_oledlg
1290 enable_olepro32
1291 enable_olesvr32
1292 enable_olethk32
1293 enable_opcservices
1294 enable_openal32
1295 enable_opencl
1296 enable_opengl32
1297 enable_packager
1298 enable_pdh
1299 enable_photometadatahandler
1300 enable_pidgen
1301 enable_powrprof
1302 enable_printui
1303 enable_prntvpt
1304 enable_propsys
1305 enable_psapi
1306 enable_pstorec
1307 enable_pwrshplugin
1308 enable_qasf
1309 enable_qcap
1310 enable_qdvd
1311 enable_qedit
1312 enable_qmgr
1313 enable_qmgrprxy
1314 enable_quartz
1315 enable_query
1316 enable_qwave
1317 enable_rasapi32
1318 enable_rasdlg
1319 enable_regapi
1320 enable_resutils
1321 enable_riched20
1322 enable_riched32
1323 enable_rpcrt4
1324 enable_rsabase
1325 enable_rsaenh
1326 enable_rstrtmgr
1327 enable_rtutils
1328 enable_rtworkq
1329 enable_samlib
1330 enable_sane_ds
1331 enable_sapi
1332 enable_sas
1333 enable_scarddlg
1334 enable_sccbase
1335 enable_schannel
1336 enable_schedsvc
1337 enable_scrobj
1338 enable_scrrun
1339 enable_scsiport_sys
1340 enable_sechost
1341 enable_secur32
1342 enable_security
1343 enable_sensapi
1344 enable_serialui
1345 enable_setupapi
1346 enable_sfc
1347 enable_sfc_os
1348 enable_shcore
1349 enable_shdoclc
1350 enable_shdocvw
1351 enable_shell32
1352 enable_shfolder
1353 enable_shlwapi
1354 enable_slbcsp
1355 enable_slc
1356 enable_snmpapi
1357 enable_softpub
1358 enable_spoolss
1359 enable_sppc
1360 enable_srclient
1361 enable_srvcli
1362 enable_sspicli
1363 enable_stdole2_tlb
1364 enable_stdole32_tlb
1365 enable_sti
1366 enable_strmdll
1367 enable_svrapi
1368 enable_sxs
1369 enable_t2embed
1370 enable_tapi32
1371 enable_taskschd
1372 enable_tbs
1373 enable_tdh
1374 enable_tdi_sys
1375 enable_traffic
1376 enable_twain_32
1377 enable_tzres
1378 enable_ucrtbase
1379 enable_uianimation
1380 enable_uiautomationcore
1381 enable_uiribbon
1382 enable_unicows
1383 enable_updspapi
1384 enable_url
1385 enable_urlmon
1386 enable_usbd_sys
1387 enable_user32
1388 enable_userenv
1389 enable_usp10
1390 enable_utildll
1391 enable_uxtheme
1392 enable_vbscript
1393 enable_vcomp
1394 enable_vcomp100
1395 enable_vcomp110
1396 enable_vcomp120
1397 enable_vcomp140
1398 enable_vcomp90
1399 enable_vcruntime140
1400 enable_vcruntime140_1
1401 enable_vdmdbg
1402 enable_version
1403 enable_vga
1404 enable_virtdisk
1405 enable_vssapi
1406 enable_vulkan_1
1407 enable_wbemdisp
1408 enable_wbemprox
1409 enable_wdscore
1410 enable_webservices
1411 enable_websocket
1412 enable_wer
1413 enable_wevtapi
1414 enable_wevtsvc
1415 enable_wiaservc
1416 enable_wimgapi
1417 enable_win32u
1418 enable_windows_devices_enumeration
1419 enable_windows_gaming_input
1420 enable_windows_globalization
1421 enable_windows_media_devices
1422 enable_windows_media_speech
1423 enable_windowscodecs
1424 enable_windowscodecsext
1425 enable_winealsa_drv
1426 enable_wineandroid_drv
1427 enable_winebus_sys
1428 enable_winecoreaudio_drv
1429 enable_winecrt0
1430 enable_wined3d
1431 enable_winegstreamer
1432 enable_winehid_sys
1433 enable_winemac_drv
1434 enable_winemapi
1435 enable_wineoss_drv
1436 enable_wineps_drv
1437 enable_winepulse_drv
1438 enable_wineusb_sys
1439 enable_winevulkan
1440 enable_winex11_drv
1441 enable_winexinput_sys
1442 enable_wing32
1443 enable_winhttp
1444 enable_wininet
1445 enable_winmm
1446 enable_winnls32
1447 enable_winscard
1448 enable_winspool_drv
1449 enable_winsta
1450 enable_wintab32
1451 enable_wintrust
1452 enable_winusb
1453 enable_wlanapi
1454 enable_wlanui
1455 enable_wldap32
1456 enable_wmadmod
1457 enable_wmasf
1458 enable_wmi
1459 enable_wmiutils
1460 enable_wmp
1461 enable_wmphoto
1462 enable_wmvcore
1463 enable_wnaspi32
1464 enable_wow64
1465 enable_wow64cpu
1466 enable_wow64win
1467 enable_wpc
1468 enable_wpcap
1469 enable_ws2_32
1470 enable_wsdapi
1471 enable_wshom_ocx
1472 enable_wsnmp32
1473 enable_wsock32
1474 enable_wtsapi32
1475 enable_wuapi
1476 enable_wuaueng
1477 enable_x3daudio1_0
1478 enable_x3daudio1_1
1479 enable_x3daudio1_2
1480 enable_x3daudio1_3
1481 enable_x3daudio1_4
1482 enable_x3daudio1_5
1483 enable_x3daudio1_6
1484 enable_x3daudio1_7
1485 enable_xactengine2_0
1486 enable_xactengine2_4
1487 enable_xactengine2_7
1488 enable_xactengine2_9
1489 enable_xactengine3_0
1490 enable_xactengine3_1
1491 enable_xactengine3_2
1492 enable_xactengine3_3
1493 enable_xactengine3_4
1494 enable_xactengine3_5
1495 enable_xactengine3_6
1496 enable_xactengine3_7
1497 enable_xapofx1_1
1498 enable_xapofx1_2
1499 enable_xapofx1_3
1500 enable_xapofx1_4
1501 enable_xapofx1_5
1502 enable_xaudio2_0
1503 enable_xaudio2_1
1504 enable_xaudio2_2
1505 enable_xaudio2_3
1506 enable_xaudio2_4
1507 enable_xaudio2_5
1508 enable_xaudio2_6
1509 enable_xaudio2_7
1510 enable_xaudio2_8
1511 enable_xaudio2_9
1512 enable_xinput1_1
1513 enable_xinput1_2
1514 enable_xinput1_3
1515 enable_xinput1_4
1516 enable_xinput9_1_0
1517 enable_xmllite
1518 enable_xolehlp
1519 enable_xpsprint
1520 enable_xpssvcs
1521 enable_fonts
1522 enable_include
1523 enable_adsiid
1524 enable_dmoguids
1525 enable_dxerr8
1526 enable_dxerr9
1527 enable_dxguid
1528 enable_faudio
1529 enable_gsm
1530 enable_jpeg
1531 enable_jxr
1532 enable_lcms2
1533 enable_mfuuid
1534 enable_mpg123
1535 enable_png
1536 enable_strmbase
1537 enable_strmiids
1538 enable_tiff
1539 enable_uuid
1540 enable_wbemuuid
1541 enable_wine
1542 enable_wmcodecdspuuid
1543 enable_xml2
1544 enable_xslt
1545 enable_zlib
1546 enable_loader
1547 enable_nls
1548 enable_po
1549 enable_arp
1550 enable_aspnet_regiis
1551 enable_attrib
1552 enable_cabarc
1553 enable_cacls
1554 enable_chcp_com
1555 enable_clock
1556 enable_cmd
1557 enable_conhost
1558 enable_control
1559 enable_cscript
1560 enable_dism
1561 enable_dplaysvr
1562 enable_dpnsvr
1563 enable_dpvsetup
1564 enable_dxdiag
1565 enable_eject
1566 enable_expand
1567 enable_explorer
1568 enable_extrac32
1569 enable_fc
1570 enable_find
1571 enable_findstr
1572 enable_fsutil
1573 enable_hh
1574 enable_hostname
1575 enable_icacls
1576 enable_icinfo
1577 enable_iexplore
1578 enable_ipconfig
1579 enable_lodctr
1580 enable_mofcomp
1581 enable_mshta
1582 enable_msidb
1583 enable_msiexec
1584 enable_msinfo32
1585 enable_net
1586 enable_netsh
1587 enable_netstat
1588 enable_ngen
1589 enable_notepad
1590 enable_oleview
1591 enable_ping
1592 enable_plugplay
1593 enable_powershell
1594 enable_presentationfontcache
1595 enable_progman
1596 enable_reg
1597 enable_regasm
1598 enable_regedit
1599 enable_regini
1600 enable_regsvcs
1601 enable_regsvr32
1602 enable_robocopy
1603 enable_rpcss
1604 enable_rundll32
1605 enable_sc
1606 enable_schtasks
1607 enable_sdbinst
1608 enable_secedit
1609 enable_servicemodelreg
1610 enable_services
1611 enable_shutdown
1612 enable_spoolsv
1613 enable_start
1614 enable_subst
1615 enable_svchost
1616 enable_systeminfo
1617 enable_taskkill
1618 enable_tasklist
1619 enable_taskmgr
1620 enable_termsv
1621 enable_uninstaller
1622 enable_unlodctr
1623 enable_view
1624 enable_wevtutil
1625 enable_where
1626 enable_whoami
1627 enable_wineboot
1628 enable_winebrowser
1629 enable_winecfg
1630 enable_wineconsole
1631 enable_winedbg
1632 enable_winedevice
1633 enable_winefile
1634 enable_winemenubuilder
1635 enable_winemine
1636 enable_winemsibuilder
1637 enable_winepath
1638 enable_winetest
1639 enable_winhlp32
1640 enable_winmgmt
1641 enable_winver
1642 enable_wmic
1643 enable_wmplayer
1644 enable_wordpad
1645 enable_write
1646 enable_wscript
1647 enable_wuauserv
1648 enable_wusa
1649 enable_xcopy
1650 enable_server
1651 enable_tools
1652 enable_sfnt2fon
1653 enable_widl
1654 enable_winebuild
1655 enable_winedump
1656 enable_winegcc
1657 enable_winemaker
1658 enable_wmc
1659 enable_wrc
1661 ac_precious_vars='build_alias
1662 host_alias
1663 target_alias
1665 CFLAGS
1666 LDFLAGS
1667 LIBS
1668 CPPFLAGS
1670 CXXFLAGS
1672 OBJC
1673 OBJCFLAGS
1674 FAUDIO_PE_CFLAGS
1675 FAUDIO_PE_LIBS
1676 GSM_PE_CFLAGS
1677 GSM_PE_LIBS
1678 JPEG_PE_CFLAGS
1679 JPEG_PE_LIBS
1680 JXR_PE_CFLAGS
1681 JXR_PE_LIBS
1682 LCMS2_PE_CFLAGS
1683 LCMS2_PE_LIBS
1684 MPG123_PE_CFLAGS
1685 MPG123_PE_LIBS
1686 PNG_PE_CFLAGS
1687 PNG_PE_LIBS
1688 TIFF_PE_CFLAGS
1689 TIFF_PE_LIBS
1690 XML2_PE_CFLAGS
1691 XML2_PE_LIBS
1692 XSLT_PE_CFLAGS
1693 XSLT_PE_LIBS
1694 ZLIB_PE_CFLAGS
1695 ZLIB_PE_LIBS
1696 XMKMF
1698 INOTIFY_CFLAGS
1699 INOTIFY_LIBS
1700 DBUS_CFLAGS
1701 DBUS_LIBS
1702 GNUTLS_CFLAGS
1703 GNUTLS_LIBS
1704 SANE_CFLAGS
1705 SANE_LIBS
1706 USB_CFLAGS
1707 USB_LIBS
1708 GPHOTO2_CFLAGS
1709 GPHOTO2_LIBS
1710 GPHOTO2_PORT_CFLAGS
1711 GPHOTO2_PORT_LIBS
1712 FREETYPE_CFLAGS
1713 FREETYPE_LIBS
1714 PULSE_CFLAGS
1715 PULSE_LIBS
1716 GSTREAMER_CFLAGS
1717 GSTREAMER_LIBS
1718 UDEV_CFLAGS
1719 UDEV_LIBS
1720 UNWIND_CFLAGS
1721 UNWIND_LIBS
1722 SDL2_CFLAGS
1723 SDL2_LIBS
1724 CAPI20_CFLAGS
1725 CAPI20_LIBS
1726 CUPS_CFLAGS
1727 CUPS_LIBS
1728 FONTCONFIG_CFLAGS
1729 FONTCONFIG_LIBS
1730 KRB5_CFLAGS
1731 KRB5_LIBS
1732 GSSAPI_CFLAGS
1733 GSSAPI_LIBS
1734 NETAPI_CFLAGS
1735 NETAPI_LIBS
1736 VKD3D_CFLAGS
1737 VKD3D_LIBS
1738 VKD3D_SHADER_CFLAGS
1739 VKD3D_SHADER_LIBS
1740 LDAP_CFLAGS
1741 LDAP_LIBS'
1744 # Initialize some variables set by options.
1745 ac_init_help=
1746 ac_init_version=false
1747 ac_unrecognized_opts=
1748 ac_unrecognized_sep=
1749 # The variables have the same names as the options, with
1750 # dashes changed to underlines.
1751 cache_file=/dev/null
1752 exec_prefix=NONE
1753 no_create=
1754 no_recursion=
1755 prefix=NONE
1756 program_prefix=NONE
1757 program_suffix=NONE
1758 program_transform_name=s,x,x,
1759 silent=
1760 site=
1761 srcdir=
1762 verbose=
1763 x_includes=NONE
1764 x_libraries=NONE
1766 # Installation directory options.
1767 # These are left unexpanded so users can "make install exec_prefix=/foo"
1768 # and all the variables that are supposed to be based on exec_prefix
1769 # by default will actually change.
1770 # Use braces instead of parens because sh, perl, etc. also accept them.
1771 # (The list follows the same order as the GNU Coding Standards.)
1772 bindir='${exec_prefix}/bin'
1773 sbindir='${exec_prefix}/sbin'
1774 libexecdir='${exec_prefix}/libexec'
1775 datarootdir='${prefix}/share'
1776 datadir='${datarootdir}'
1777 sysconfdir='${prefix}/etc'
1778 sharedstatedir='${prefix}/com'
1779 localstatedir='${prefix}/var'
1780 runstatedir='${localstatedir}/run'
1781 includedir='${prefix}/include'
1782 oldincludedir='/usr/include'
1783 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1784 infodir='${datarootdir}/info'
1785 htmldir='${docdir}'
1786 dvidir='${docdir}'
1787 pdfdir='${docdir}'
1788 psdir='${docdir}'
1789 libdir='${exec_prefix}/lib'
1790 localedir='${datarootdir}/locale'
1791 mandir='${datarootdir}/man'
1793 ac_prev=
1794 ac_dashdash=
1795 for ac_option
1797 # If the previous option needs an argument, assign it.
1798 if test -n "$ac_prev"; then
1799 eval $ac_prev=\$ac_option
1800 ac_prev=
1801 continue
1804 case $ac_option in
1805 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1806 *=) ac_optarg= ;;
1807 *) ac_optarg=yes ;;
1808 esac
1810 case $ac_dashdash$ac_option in
1812 ac_dashdash=yes ;;
1814 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1815 ac_prev=bindir ;;
1816 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1817 bindir=$ac_optarg ;;
1819 -build | --build | --buil | --bui | --bu)
1820 ac_prev=build_alias ;;
1821 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1822 build_alias=$ac_optarg ;;
1824 -cache-file | --cache-file | --cache-fil | --cache-fi \
1825 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1826 ac_prev=cache_file ;;
1827 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1828 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1829 cache_file=$ac_optarg ;;
1831 --config-cache | -C)
1832 cache_file=config.cache ;;
1834 -datadir | --datadir | --datadi | --datad)
1835 ac_prev=datadir ;;
1836 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1837 datadir=$ac_optarg ;;
1839 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1840 | --dataroo | --dataro | --datar)
1841 ac_prev=datarootdir ;;
1842 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1843 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1844 datarootdir=$ac_optarg ;;
1846 -disable-* | --disable-*)
1847 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1848 # Reject names that are not valid shell variable names.
1849 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1850 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1851 ac_useropt_orig=$ac_useropt
1852 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1853 case $ac_user_opts in
1855 "enable_$ac_useropt"
1856 "*) ;;
1857 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1858 ac_unrecognized_sep=', ';;
1859 esac
1860 eval enable_$ac_useropt=no ;;
1862 -docdir | --docdir | --docdi | --doc | --do)
1863 ac_prev=docdir ;;
1864 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1865 docdir=$ac_optarg ;;
1867 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1868 ac_prev=dvidir ;;
1869 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1870 dvidir=$ac_optarg ;;
1872 -enable-* | --enable-*)
1873 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1874 # Reject names that are not valid shell variable names.
1875 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1876 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1877 ac_useropt_orig=$ac_useropt
1878 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1879 case $ac_user_opts in
1881 "enable_$ac_useropt"
1882 "*) ;;
1883 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1884 ac_unrecognized_sep=', ';;
1885 esac
1886 eval enable_$ac_useropt=\$ac_optarg ;;
1888 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1889 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1890 | --exec | --exe | --ex)
1891 ac_prev=exec_prefix ;;
1892 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1893 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1894 | --exec=* | --exe=* | --ex=*)
1895 exec_prefix=$ac_optarg ;;
1897 -gas | --gas | --ga | --g)
1898 # Obsolete; use --with-gas.
1899 with_gas=yes ;;
1901 -help | --help | --hel | --he | -h)
1902 ac_init_help=long ;;
1903 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1904 ac_init_help=recursive ;;
1905 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1906 ac_init_help=short ;;
1908 -host | --host | --hos | --ho)
1909 ac_prev=host_alias ;;
1910 -host=* | --host=* | --hos=* | --ho=*)
1911 host_alias=$ac_optarg ;;
1913 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1914 ac_prev=htmldir ;;
1915 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1916 | --ht=*)
1917 htmldir=$ac_optarg ;;
1919 -includedir | --includedir | --includedi | --included | --include \
1920 | --includ | --inclu | --incl | --inc)
1921 ac_prev=includedir ;;
1922 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1923 | --includ=* | --inclu=* | --incl=* | --inc=*)
1924 includedir=$ac_optarg ;;
1926 -infodir | --infodir | --infodi | --infod | --info | --inf)
1927 ac_prev=infodir ;;
1928 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1929 infodir=$ac_optarg ;;
1931 -libdir | --libdir | --libdi | --libd)
1932 ac_prev=libdir ;;
1933 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1934 libdir=$ac_optarg ;;
1936 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1937 | --libexe | --libex | --libe)
1938 ac_prev=libexecdir ;;
1939 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1940 | --libexe=* | --libex=* | --libe=*)
1941 libexecdir=$ac_optarg ;;
1943 -localedir | --localedir | --localedi | --localed | --locale)
1944 ac_prev=localedir ;;
1945 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1946 localedir=$ac_optarg ;;
1948 -localstatedir | --localstatedir | --localstatedi | --localstated \
1949 | --localstate | --localstat | --localsta | --localst | --locals)
1950 ac_prev=localstatedir ;;
1951 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1952 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1953 localstatedir=$ac_optarg ;;
1955 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1956 ac_prev=mandir ;;
1957 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1958 mandir=$ac_optarg ;;
1960 -nfp | --nfp | --nf)
1961 # Obsolete; use --without-fp.
1962 with_fp=no ;;
1964 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1965 | --no-cr | --no-c | -n)
1966 no_create=yes ;;
1968 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1969 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1970 no_recursion=yes ;;
1972 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1973 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1974 | --oldin | --oldi | --old | --ol | --o)
1975 ac_prev=oldincludedir ;;
1976 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1977 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1978 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1979 oldincludedir=$ac_optarg ;;
1981 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1982 ac_prev=prefix ;;
1983 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1984 prefix=$ac_optarg ;;
1986 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1987 | --program-pre | --program-pr | --program-p)
1988 ac_prev=program_prefix ;;
1989 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1990 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1991 program_prefix=$ac_optarg ;;
1993 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1994 | --program-suf | --program-su | --program-s)
1995 ac_prev=program_suffix ;;
1996 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1997 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1998 program_suffix=$ac_optarg ;;
2000 -program-transform-name | --program-transform-name \
2001 | --program-transform-nam | --program-transform-na \
2002 | --program-transform-n | --program-transform- \
2003 | --program-transform | --program-transfor \
2004 | --program-transfo | --program-transf \
2005 | --program-trans | --program-tran \
2006 | --progr-tra | --program-tr | --program-t)
2007 ac_prev=program_transform_name ;;
2008 -program-transform-name=* | --program-transform-name=* \
2009 | --program-transform-nam=* | --program-transform-na=* \
2010 | --program-transform-n=* | --program-transform-=* \
2011 | --program-transform=* | --program-transfor=* \
2012 | --program-transfo=* | --program-transf=* \
2013 | --program-trans=* | --program-tran=* \
2014 | --progr-tra=* | --program-tr=* | --program-t=*)
2015 program_transform_name=$ac_optarg ;;
2017 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2018 ac_prev=pdfdir ;;
2019 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2020 pdfdir=$ac_optarg ;;
2022 -psdir | --psdir | --psdi | --psd | --ps)
2023 ac_prev=psdir ;;
2024 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2025 psdir=$ac_optarg ;;
2027 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2028 | -silent | --silent | --silen | --sile | --sil)
2029 silent=yes ;;
2031 -runstatedir | --runstatedir | --runstatedi | --runstated \
2032 | --runstate | --runstat | --runsta | --runst | --runs \
2033 | --run | --ru | --r)
2034 ac_prev=runstatedir ;;
2035 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2036 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2037 | --run=* | --ru=* | --r=*)
2038 runstatedir=$ac_optarg ;;
2040 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2041 ac_prev=sbindir ;;
2042 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2043 | --sbi=* | --sb=*)
2044 sbindir=$ac_optarg ;;
2046 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2047 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2048 | --sharedst | --shareds | --shared | --share | --shar \
2049 | --sha | --sh)
2050 ac_prev=sharedstatedir ;;
2051 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2052 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2053 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2054 | --sha=* | --sh=*)
2055 sharedstatedir=$ac_optarg ;;
2057 -site | --site | --sit)
2058 ac_prev=site ;;
2059 -site=* | --site=* | --sit=*)
2060 site=$ac_optarg ;;
2062 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2063 ac_prev=srcdir ;;
2064 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2065 srcdir=$ac_optarg ;;
2067 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2068 | --syscon | --sysco | --sysc | --sys | --sy)
2069 ac_prev=sysconfdir ;;
2070 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2071 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2072 sysconfdir=$ac_optarg ;;
2074 -target | --target | --targe | --targ | --tar | --ta | --t)
2075 ac_prev=target_alias ;;
2076 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2077 target_alias=$ac_optarg ;;
2079 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2080 verbose=yes ;;
2082 -version | --version | --versio | --versi | --vers | -V)
2083 ac_init_version=: ;;
2085 -with-* | --with-*)
2086 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2087 # Reject names that are not valid shell variable names.
2088 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2089 as_fn_error $? "invalid package name: \`$ac_useropt'"
2090 ac_useropt_orig=$ac_useropt
2091 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2092 case $ac_user_opts in
2094 "with_$ac_useropt"
2095 "*) ;;
2096 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2097 ac_unrecognized_sep=', ';;
2098 esac
2099 eval with_$ac_useropt=\$ac_optarg ;;
2101 -without-* | --without-*)
2102 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2103 # Reject names that are not valid shell variable names.
2104 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2105 as_fn_error $? "invalid package name: \`$ac_useropt'"
2106 ac_useropt_orig=$ac_useropt
2107 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2108 case $ac_user_opts in
2110 "with_$ac_useropt"
2111 "*) ;;
2112 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2113 ac_unrecognized_sep=', ';;
2114 esac
2115 eval with_$ac_useropt=no ;;
2117 --x)
2118 # Obsolete; use --with-x.
2119 with_x=yes ;;
2121 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2122 | --x-incl | --x-inc | --x-in | --x-i)
2123 ac_prev=x_includes ;;
2124 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2125 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2126 x_includes=$ac_optarg ;;
2128 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2129 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2130 ac_prev=x_libraries ;;
2131 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2132 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2133 x_libraries=$ac_optarg ;;
2135 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2136 Try \`$0 --help' for more information"
2139 *=*)
2140 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2141 # Reject names that are not valid shell variable names.
2142 case $ac_envvar in #(
2143 '' | [0-9]* | *[!_$as_cr_alnum]* )
2144 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2145 esac
2146 eval $ac_envvar=\$ac_optarg
2147 export $ac_envvar ;;
2150 # FIXME: should be removed in autoconf 3.0.
2151 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2152 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2153 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2154 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2157 esac
2158 done
2160 if test -n "$ac_prev"; then
2161 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2162 as_fn_error $? "missing argument to $ac_option"
2165 if test -n "$ac_unrecognized_opts"; then
2166 case $enable_option_checking in
2167 no) ;;
2168 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2169 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2170 esac
2173 # Check all directory arguments for consistency.
2174 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2175 datadir sysconfdir sharedstatedir localstatedir includedir \
2176 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2177 libdir localedir mandir runstatedir
2179 eval ac_val=\$$ac_var
2180 # Remove trailing slashes.
2181 case $ac_val in
2182 */ )
2183 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2184 eval $ac_var=\$ac_val;;
2185 esac
2186 # Be sure to have absolute directory names.
2187 case $ac_val in
2188 [\\/$]* | ?:[\\/]* ) continue;;
2189 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2190 esac
2191 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2192 done
2194 # There might be people who depend on the old broken behavior: `$host'
2195 # used to hold the argument of --host etc.
2196 # FIXME: To remove some day.
2197 build=$build_alias
2198 host=$host_alias
2199 target=$target_alias
2201 # FIXME: To remove some day.
2202 if test "x$host_alias" != x; then
2203 if test "x$build_alias" = x; then
2204 cross_compiling=maybe
2205 elif test "x$build_alias" != "x$host_alias"; then
2206 cross_compiling=yes
2210 ac_tool_prefix=
2211 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2213 test "$silent" = yes && exec 6>/dev/null
2216 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2217 ac_ls_di=`ls -di .` &&
2218 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2219 as_fn_error $? "working directory cannot be determined"
2220 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2221 as_fn_error $? "pwd does not report name of working directory"
2224 # Find the source files, if location was not specified.
2225 if test -z "$srcdir"; then
2226 ac_srcdir_defaulted=yes
2227 # Try the directory containing this script, then the parent directory.
2228 ac_confdir=`$as_dirname -- "$as_myself" ||
2229 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2230 X"$as_myself" : 'X\(//\)[^/]' \| \
2231 X"$as_myself" : 'X\(//\)$' \| \
2232 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2233 printf "%s\n" X"$as_myself" |
2234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2235 s//\1/
2238 /^X\(\/\/\)[^/].*/{
2239 s//\1/
2242 /^X\(\/\/\)$/{
2243 s//\1/
2246 /^X\(\/\).*/{
2247 s//\1/
2250 s/.*/./; q'`
2251 srcdir=$ac_confdir
2252 if test ! -r "$srcdir/$ac_unique_file"; then
2253 srcdir=..
2255 else
2256 ac_srcdir_defaulted=no
2258 if test ! -r "$srcdir/$ac_unique_file"; then
2259 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2260 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2262 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2263 ac_abs_confdir=`(
2264 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2265 pwd)`
2266 # When building in place, set srcdir=.
2267 if test "$ac_abs_confdir" = "$ac_pwd"; then
2268 srcdir=.
2270 # Remove unnecessary trailing slashes from srcdir.
2271 # Double slashes in file names in object file debugging info
2272 # mess up M-x gdb in Emacs.
2273 case $srcdir in
2274 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2275 esac
2276 for ac_var in $ac_precious_vars; do
2277 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2278 eval ac_env_${ac_var}_value=\$${ac_var}
2279 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2280 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2281 done
2284 # Report the --help message.
2286 if test "$ac_init_help" = "long"; then
2287 # Omit some internal or obsolete options to make the list less imposing.
2288 # This message is too long to be a string in the A/UX 3.1 sh.
2289 cat <<_ACEOF
2290 \`configure' configures Wine 7.3 to adapt to many kinds of systems.
2292 Usage: $0 [OPTION]... [VAR=VALUE]...
2294 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2295 VAR=VALUE. See below for descriptions of some of the useful variables.
2297 Defaults for the options are specified in brackets.
2299 Configuration:
2300 -h, --help display this help and exit
2301 --help=short display options specific to this package
2302 --help=recursive display the short help of all the included packages
2303 -V, --version display version information and exit
2304 -q, --quiet, --silent do not print \`checking ...' messages
2305 --cache-file=FILE cache test results in FILE [disabled]
2306 -C, --config-cache alias for \`--cache-file=config.cache'
2307 -n, --no-create do not create output files
2308 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2310 Installation directories:
2311 --prefix=PREFIX install architecture-independent files in PREFIX
2312 [$ac_default_prefix]
2313 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2314 [PREFIX]
2316 By default, \`make install' will install all the files in
2317 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2318 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2319 for instance \`--prefix=\$HOME'.
2321 For better control, use the options below.
2323 Fine tuning of the installation directories:
2324 --bindir=DIR user executables [EPREFIX/bin]
2325 --sbindir=DIR system admin executables [EPREFIX/sbin]
2326 --libexecdir=DIR program executables [EPREFIX/libexec]
2327 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2328 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2329 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2330 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2331 --libdir=DIR object code libraries [EPREFIX/lib]
2332 --includedir=DIR C header files [PREFIX/include]
2333 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2334 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2335 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2336 --infodir=DIR info documentation [DATAROOTDIR/info]
2337 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2338 --mandir=DIR man documentation [DATAROOTDIR/man]
2339 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2340 --htmldir=DIR html documentation [DOCDIR]
2341 --dvidir=DIR dvi documentation [DOCDIR]
2342 --pdfdir=DIR pdf documentation [DOCDIR]
2343 --psdir=DIR ps documentation [DOCDIR]
2344 _ACEOF
2346 cat <<\_ACEOF
2348 X features:
2349 --x-includes=DIR X include files are in DIR
2350 --x-libraries=DIR X library files are in DIR
2352 System types:
2353 --build=BUILD configure for building on BUILD [guessed]
2354 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2355 _ACEOF
2358 if test -n "$ac_init_help"; then
2359 case $ac_init_help in
2360 short | recursive ) echo "Configuration of Wine 7.3:";;
2361 esac
2362 cat <<\_ACEOF
2364 Optional Features:
2365 --disable-option-checking ignore unrecognized --enable/--with options
2366 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2367 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2368 --disable-win16 do not include Win16 support
2369 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2370 binaries)
2371 --disable-tests do not build the regression tests
2372 --enable-build-id include .buildid section in output objects
2373 --enable-maintainer-mode
2374 enable maintainer-specific build rules
2375 --enable-silent-rules use silent build rules (override: "make V=1")
2376 --enable-werror treat compilation warnings as errors
2377 --disable-largefile omit support for large files
2379 Optional Packages:
2380 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2381 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2382 --without-alsa do not use the Alsa sound support
2383 --without-capi do not use CAPI (ISDN support)
2384 --without-coreaudio do not use the CoreAudio sound support
2385 --without-cups do not use CUPS
2386 --without-dbus do not use DBus (dynamic device support)
2387 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2388 --without-fontconfig do not use fontconfig
2389 --without-freetype do not use the FreeType library
2390 --without-gettext do not use gettext
2391 --with-gettextpo use the GetTextPO library to rebuild po files
2392 --without-gphoto do not use gphoto (Digital Camera support)
2393 --without-gnutls do not use GnuTLS (schannel support)
2394 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2395 --without-gstreamer do not use GStreamer (codecs support)
2396 --without-inotify do not use inotify (filesystem change notifications)
2397 --without-krb5 do not use krb5 (Kerberos)
2398 --without-ldap do not use LDAP
2399 --without-mingw do not use the MinGW cross-compiler
2400 --without-netapi do not use the Samba NetAPI library
2401 --without-openal do not use OpenAL
2402 --without-opencl do not use OpenCL
2403 --without-opengl do not use OpenGL
2404 --without-osmesa do not use the OSMesa library
2405 --without-oss do not use the OSS sound support
2406 --without-pcap do not use the Packet Capture library
2407 --without-pthread do not use the pthread library
2408 --without-pulse do not use PulseAudio sound support
2409 --without-sane do not use SANE (scanner support)
2410 --without-sdl do not use SDL
2411 --without-udev do not use udev (plug and play support)
2412 --without-unwind do not use the libunwind library (exception
2413 handling)
2414 --without-usb do not use the libusb library
2415 --without-v4l2 do not use v4l2 (video capture)
2416 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2417 --without-vulkan do not use Vulkan
2418 --without-xcomposite do not use the Xcomposite extension
2419 --without-xcursor do not use the Xcursor extension
2420 --without-xfixes do not use Xfixes for clipboard change notifications
2421 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2422 --without-xinput do not use the Xinput extension
2423 --without-xinput2 do not use the Xinput 2 extension
2424 --without-xrandr do not use Xrandr (multi-monitor support)
2425 --without-xrender do not use the Xrender extension
2426 --without-xshape do not use the Xshape extension
2427 --without-xshm do not use XShm (shared memory extension)
2428 --without-xxf86vm do not use XFree video mode extension
2429 --with-system-dllpath=PATH
2430 load external PE dependencies from colon-separated
2431 path PATH
2432 --with-wine-tools=DIR use Wine tools from directory DIR
2433 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2434 --with-x use the X Window System
2436 Some influential environment variables:
2437 CC C compiler command
2438 CFLAGS C compiler flags
2439 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2440 nonstandard directory <lib dir>
2441 LIBS libraries to pass to the linker, e.g. -l<library>
2442 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2443 you have headers in a nonstandard directory <include dir>
2444 CXX C++ compiler command
2445 CXXFLAGS C++ compiler flags
2446 OBJC Objective C compiler command
2447 OBJCFLAGS Objective C compiler flags
2448 FAUDIO_PE_CFLAGS
2449 C compiler flags for the PE faudio, overriding the bundled
2450 version
2451 FAUDIO_PE_LIBS
2452 Linker flags for the PE faudio, overriding the bundled version
2453 GSM_PE_CFLAGS
2454 C compiler flags for the PE gsm, overriding the bundled version
2455 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2456 JPEG_PE_CFLAGS
2457 C compiler flags for the PE jpeg, overriding the bundled version
2458 JPEG_PE_LIBS
2459 Linker flags for the PE jpeg, overriding the bundled version
2460 JXR_PE_CFLAGS
2461 C compiler flags for the PE jxr, overriding the bundled version
2462 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2463 LCMS2_PE_CFLAGS
2464 C compiler flags for the PE lcms2, overriding the bundled
2465 version
2466 LCMS2_PE_LIBS
2467 Linker flags for the PE lcms2, overriding the bundled version
2468 MPG123_PE_CFLAGS
2469 C compiler flags for the PE mpg123, overriding the bundled
2470 version
2471 MPG123_PE_LIBS
2472 Linker flags for the PE mpg123, overriding the bundled version
2473 PNG_PE_CFLAGS
2474 C compiler flags for the PE png, overriding the bundled version
2475 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2476 TIFF_PE_CFLAGS
2477 C compiler flags for the PE tiff, overriding the bundled version
2478 TIFF_PE_LIBS
2479 Linker flags for the PE tiff, overriding the bundled version
2480 XML2_PE_CFLAGS
2481 C compiler flags for the PE xml2, overriding the bundled version
2482 XML2_PE_LIBS
2483 Linker flags for the PE xml2, overriding the bundled version
2484 XSLT_PE_CFLAGS
2485 C compiler flags for the PE xslt, overriding the bundled version
2486 XSLT_PE_LIBS
2487 Linker flags for the PE xslt, overriding the bundled version
2488 ZLIB_PE_CFLAGS
2489 C compiler flags for the PE zlib, overriding the bundled version
2490 ZLIB_PE_LIBS
2491 Linker flags for the PE zlib, overriding the bundled version
2492 XMKMF Path to xmkmf, Makefile generator for X Window System
2493 CPP C preprocessor
2494 INOTIFY_CFLAGS
2495 C compiler flags for libinotify, overriding pkg-config
2496 INOTIFY_LIBS
2497 Linker flags for libinotify, overriding pkg-config
2498 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2499 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2500 GNUTLS_CFLAGS
2501 C compiler flags for gnutls, overriding pkg-config
2502 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2503 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2504 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2505 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2506 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2507 GPHOTO2_CFLAGS
2508 C compiler flags for libgphoto2, overriding pkg-config
2509 GPHOTO2_LIBS
2510 Linker flags for libgphoto2, overriding pkg-config
2511 GPHOTO2_PORT_CFLAGS
2512 C compiler flags for libgphoto2_port, overriding pkg-config
2513 GPHOTO2_PORT_LIBS
2514 Linker flags for libgphoto2_port, overriding pkg-config
2515 FREETYPE_CFLAGS
2516 C compiler flags for freetype2, overriding pkg-config
2517 FREETYPE_LIBS
2518 Linker flags for freetype2, overriding pkg-config
2519 PULSE_CFLAGS
2520 C compiler flags for libpulse, overriding pkg-config
2521 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2522 GSTREAMER_CFLAGS
2523 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2524 gstreamer-audio-1.0, overriding pkg-config
2525 GSTREAMER_LIBS
2526 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2527 gstreamer-audio-1.0, overriding pkg-config
2528 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2529 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2530 UNWIND_CFLAGS
2531 C compiler flags for libunwind, overriding pkg-config
2532 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2533 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2534 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2535 CAPI20_CFLAGS
2536 C compiler flags for capi20, overriding pkg-config
2537 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2538 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2539 CUPS_LIBS Linker flags for cups, overriding pkg-config
2540 FONTCONFIG_CFLAGS
2541 C compiler flags for fontconfig, overriding pkg-config
2542 FONTCONFIG_LIBS
2543 Linker flags for fontconfig, overriding pkg-config
2544 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2545 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2546 GSSAPI_CFLAGS
2547 C compiler flags for krb5-gssapi, overriding pkg-config
2548 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2549 NETAPI_CFLAGS
2550 C compiler flags for netapi, overriding pkg-config
2551 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2552 VKD3D_CFLAGS
2553 C compiler flags for libvkd3d, overriding pkg-config
2554 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2555 VKD3D_SHADER_CFLAGS
2556 C compiler flags for libvkd3d-shader, overriding pkg-config
2557 VKD3D_SHADER_LIBS
2558 Linker flags for libvkd3d-shader, overriding pkg-config
2559 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2560 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2562 Use these variables to override the choices made by `configure' or to help
2563 it to find libraries and programs with nonstandard names/locations.
2565 Report bugs to <wine-devel@winehq.org>.
2566 Wine home page: <https://www.winehq.org>.
2567 _ACEOF
2568 ac_status=$?
2571 if test "$ac_init_help" = "recursive"; then
2572 # If there are subdirs, report their specific --help.
2573 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2574 test -d "$ac_dir" ||
2575 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2576 continue
2577 ac_builddir=.
2579 case "$ac_dir" in
2580 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2582 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2583 # A ".." for each directory in $ac_dir_suffix.
2584 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2585 case $ac_top_builddir_sub in
2586 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2587 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2588 esac ;;
2589 esac
2590 ac_abs_top_builddir=$ac_pwd
2591 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2592 # for backward compatibility:
2593 ac_top_builddir=$ac_top_build_prefix
2595 case $srcdir in
2596 .) # We are building in place.
2597 ac_srcdir=.
2598 ac_top_srcdir=$ac_top_builddir_sub
2599 ac_abs_top_srcdir=$ac_pwd ;;
2600 [\\/]* | ?:[\\/]* ) # Absolute name.
2601 ac_srcdir=$srcdir$ac_dir_suffix;
2602 ac_top_srcdir=$srcdir
2603 ac_abs_top_srcdir=$srcdir ;;
2604 *) # Relative name.
2605 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2606 ac_top_srcdir=$ac_top_build_prefix$srcdir
2607 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2608 esac
2609 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2611 cd "$ac_dir" || { ac_status=$?; continue; }
2612 # Check for configure.gnu first; this name is used for a wrapper for
2613 # Metaconfig's "Configure" on case-insensitive file systems.
2614 if test -f "$ac_srcdir/configure.gnu"; then
2615 echo &&
2616 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2617 elif test -f "$ac_srcdir/configure"; then
2618 echo &&
2619 $SHELL "$ac_srcdir/configure" --help=recursive
2620 else
2621 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2622 fi || ac_status=$?
2623 cd "$ac_pwd" || { ac_status=$?; break; }
2624 done
2627 test -n "$ac_init_help" && exit $ac_status
2628 if $ac_init_version; then
2629 cat <<\_ACEOF
2630 Wine configure 7.3
2631 generated by GNU Autoconf 2.71
2633 Copyright (C) 2021 Free Software Foundation, Inc.
2634 This configure script is free software; the Free Software Foundation
2635 gives unlimited permission to copy, distribute and modify it.
2636 _ACEOF
2637 exit
2640 ## ------------------------ ##
2641 ## Autoconf initialization. ##
2642 ## ------------------------ ##
2644 # ac_fn_c_try_compile LINENO
2645 # --------------------------
2646 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2647 ac_fn_c_try_compile ()
2649 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2650 rm -f conftest.$ac_objext conftest.beam
2651 if { { ac_try="$ac_compile"
2652 case "(($ac_try" in
2653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2654 *) ac_try_echo=$ac_try;;
2655 esac
2656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2657 printf "%s\n" "$ac_try_echo"; } >&5
2658 (eval "$ac_compile") 2>conftest.err
2659 ac_status=$?
2660 if test -s conftest.err; then
2661 grep -v '^ *+' conftest.err >conftest.er1
2662 cat conftest.er1 >&5
2663 mv -f conftest.er1 conftest.err
2665 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2666 test $ac_status = 0; } && {
2667 test -z "$ac_c_werror_flag" ||
2668 test ! -s conftest.err
2669 } && test -s conftest.$ac_objext
2670 then :
2671 ac_retval=0
2672 else $as_nop
2673 printf "%s\n" "$as_me: failed program was:" >&5
2674 sed 's/^/| /' conftest.$ac_ext >&5
2676 ac_retval=1
2678 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2679 as_fn_set_status $ac_retval
2681 } # ac_fn_c_try_compile
2683 # ac_fn_cxx_try_compile LINENO
2684 # ----------------------------
2685 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2686 ac_fn_cxx_try_compile ()
2688 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2689 rm -f conftest.$ac_objext conftest.beam
2690 if { { ac_try="$ac_compile"
2691 case "(($ac_try" in
2692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2693 *) ac_try_echo=$ac_try;;
2694 esac
2695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2696 printf "%s\n" "$ac_try_echo"; } >&5
2697 (eval "$ac_compile") 2>conftest.err
2698 ac_status=$?
2699 if test -s conftest.err; then
2700 grep -v '^ *+' conftest.err >conftest.er1
2701 cat conftest.er1 >&5
2702 mv -f conftest.er1 conftest.err
2704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2705 test $ac_status = 0; } && {
2706 test -z "$ac_cxx_werror_flag" ||
2707 test ! -s conftest.err
2708 } && test -s conftest.$ac_objext
2709 then :
2710 ac_retval=0
2711 else $as_nop
2712 printf "%s\n" "$as_me: failed program was:" >&5
2713 sed 's/^/| /' conftest.$ac_ext >&5
2715 ac_retval=1
2717 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2718 as_fn_set_status $ac_retval
2720 } # ac_fn_cxx_try_compile
2722 # ac_fn_c_try_link LINENO
2723 # -----------------------
2724 # Try to link conftest.$ac_ext, and return whether this succeeded.
2725 ac_fn_c_try_link ()
2727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2728 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2729 if { { ac_try="$ac_link"
2730 case "(($ac_try" in
2731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2732 *) ac_try_echo=$ac_try;;
2733 esac
2734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2735 printf "%s\n" "$ac_try_echo"; } >&5
2736 (eval "$ac_link") 2>conftest.err
2737 ac_status=$?
2738 if test -s conftest.err; then
2739 grep -v '^ *+' conftest.err >conftest.er1
2740 cat conftest.er1 >&5
2741 mv -f conftest.er1 conftest.err
2743 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2744 test $ac_status = 0; } && {
2745 test -z "$ac_c_werror_flag" ||
2746 test ! -s conftest.err
2747 } && test -s conftest$ac_exeext && {
2748 test "$cross_compiling" = yes ||
2749 test -x conftest$ac_exeext
2751 then :
2752 ac_retval=0
2753 else $as_nop
2754 printf "%s\n" "$as_me: failed program was:" >&5
2755 sed 's/^/| /' conftest.$ac_ext >&5
2757 ac_retval=1
2759 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2760 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2761 # interfere with the next link command; also delete a directory that is
2762 # left behind by Apple's compiler. We do this before executing the actions.
2763 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2764 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2765 as_fn_set_status $ac_retval
2767 } # ac_fn_c_try_link
2769 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2770 # -------------------------------------------------------
2771 # Tests whether HEADER exists and can be compiled using the include files in
2772 # INCLUDES, setting the cache variable VAR accordingly.
2773 ac_fn_c_check_header_compile ()
2775 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2777 printf %s "checking for $2... " >&6; }
2778 if eval test \${$3+y}
2779 then :
2780 printf %s "(cached) " >&6
2781 else $as_nop
2782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2783 /* end confdefs.h. */
2785 #include <$2>
2786 _ACEOF
2787 if ac_fn_c_try_compile "$LINENO"
2788 then :
2789 eval "$3=yes"
2790 else $as_nop
2791 eval "$3=no"
2793 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2795 eval ac_res=\$$3
2796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2797 printf "%s\n" "$ac_res" >&6; }
2798 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2800 } # ac_fn_c_check_header_compile
2802 # ac_fn_objc_try_compile LINENO
2803 # -----------------------------
2804 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2805 ac_fn_objc_try_compile ()
2807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2808 rm -f conftest.$ac_objext conftest.beam
2809 if { { ac_try="$ac_compile"
2810 case "(($ac_try" in
2811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2812 *) ac_try_echo=$ac_try;;
2813 esac
2814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2815 printf "%s\n" "$ac_try_echo"; } >&5
2816 (eval "$ac_compile") 2>conftest.err
2817 ac_status=$?
2818 if test -s conftest.err; then
2819 grep -v '^ *+' conftest.err >conftest.er1
2820 cat conftest.er1 >&5
2821 mv -f conftest.er1 conftest.err
2823 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2824 test $ac_status = 0; } && {
2825 test -z "$ac_objc_werror_flag" ||
2826 test ! -s conftest.err
2827 } && test -s conftest.$ac_objext
2828 then :
2829 ac_retval=0
2830 else $as_nop
2831 printf "%s\n" "$as_me: failed program was:" >&5
2832 sed 's/^/| /' conftest.$ac_ext >&5
2834 ac_retval=1
2836 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2837 as_fn_set_status $ac_retval
2839 } # ac_fn_objc_try_compile
2841 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
2842 # ----------------------------------------------------------
2843 # Tests whether HEADER exists and can be compiled using the include files in
2844 # INCLUDES, setting the cache variable VAR accordingly.
2845 ac_fn_objc_check_header_compile ()
2847 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2849 printf %s "checking for $2... " >&6; }
2850 if eval test \${$3+y}
2851 then :
2852 printf %s "(cached) " >&6
2853 else $as_nop
2854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2855 /* end confdefs.h. */
2857 #include <$2>
2858 _ACEOF
2859 if ac_fn_objc_try_compile "$LINENO"
2860 then :
2861 eval "$3=yes"
2862 else $as_nop
2863 eval "$3=no"
2865 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2867 eval ac_res=\$$3
2868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2869 printf "%s\n" "$ac_res" >&6; }
2870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2872 } # ac_fn_objc_check_header_compile
2874 # ac_fn_c_check_func LINENO FUNC VAR
2875 # ----------------------------------
2876 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2877 ac_fn_c_check_func ()
2879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2881 printf %s "checking for $2... " >&6; }
2882 if eval test \${$3+y}
2883 then :
2884 printf %s "(cached) " >&6
2885 else $as_nop
2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2887 /* end confdefs.h. */
2888 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2890 #define $2 innocuous_$2
2892 /* System header to define __stub macros and hopefully few prototypes,
2893 which can conflict with char $2 (); below. */
2895 #include <limits.h>
2896 #undef $2
2898 /* Override any GCC internal prototype to avoid an error.
2899 Use char because int might match the return type of a GCC
2900 builtin and then its argument prototype would still apply. */
2901 #ifdef __cplusplus
2902 extern "C"
2903 #endif
2904 char $2 ();
2905 /* The GNU C library defines this for functions which it implements
2906 to always fail with ENOSYS. Some functions are actually named
2907 something starting with __ and the normal name is an alias. */
2908 #if defined __stub_$2 || defined __stub___$2
2909 choke me
2910 #endif
2913 main (void)
2915 return $2 ();
2917 return 0;
2919 _ACEOF
2920 if ac_fn_c_try_link "$LINENO"
2921 then :
2922 eval "$3=yes"
2923 else $as_nop
2924 eval "$3=no"
2926 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2927 conftest$ac_exeext conftest.$ac_ext
2929 eval ac_res=\$$3
2930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2931 printf "%s\n" "$ac_res" >&6; }
2932 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2934 } # ac_fn_c_check_func
2936 # ac_fn_c_try_cpp LINENO
2937 # ----------------------
2938 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2939 ac_fn_c_try_cpp ()
2941 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2942 if { { ac_try="$ac_cpp conftest.$ac_ext"
2943 case "(($ac_try" in
2944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2945 *) ac_try_echo=$ac_try;;
2946 esac
2947 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2948 printf "%s\n" "$ac_try_echo"; } >&5
2949 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2950 ac_status=$?
2951 if test -s conftest.err; then
2952 grep -v '^ *+' conftest.err >conftest.er1
2953 cat conftest.er1 >&5
2954 mv -f conftest.er1 conftest.err
2956 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2957 test $ac_status = 0; } > conftest.i && {
2958 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2959 test ! -s conftest.err
2961 then :
2962 ac_retval=0
2963 else $as_nop
2964 printf "%s\n" "$as_me: failed program was:" >&5
2965 sed 's/^/| /' conftest.$ac_ext >&5
2967 ac_retval=1
2969 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2970 as_fn_set_status $ac_retval
2972 } # ac_fn_c_try_cpp
2974 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2975 # ----------------------------------------------------
2976 # Tries to find if the field MEMBER exists in type AGGR, after including
2977 # INCLUDES, setting cache variable VAR accordingly.
2978 ac_fn_c_check_member ()
2980 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2982 printf %s "checking for $2.$3... " >&6; }
2983 if eval test \${$4+y}
2984 then :
2985 printf %s "(cached) " >&6
2986 else $as_nop
2987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2988 /* end confdefs.h. */
2991 main (void)
2993 static $2 ac_aggr;
2994 if (ac_aggr.$3)
2995 return 0;
2997 return 0;
2999 _ACEOF
3000 if ac_fn_c_try_compile "$LINENO"
3001 then :
3002 eval "$4=yes"
3003 else $as_nop
3004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3005 /* end confdefs.h. */
3008 main (void)
3010 static $2 ac_aggr;
3011 if (sizeof ac_aggr.$3)
3012 return 0;
3014 return 0;
3016 _ACEOF
3017 if ac_fn_c_try_compile "$LINENO"
3018 then :
3019 eval "$4=yes"
3020 else $as_nop
3021 eval "$4=no"
3023 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3025 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3027 eval ac_res=\$$4
3028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3029 printf "%s\n" "$ac_res" >&6; }
3030 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3032 } # ac_fn_c_check_member
3034 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3035 # -------------------------------------------
3036 # Tests whether TYPE exists after having included INCLUDES, setting cache
3037 # variable VAR accordingly.
3038 ac_fn_c_check_type ()
3040 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3042 printf %s "checking for $2... " >&6; }
3043 if eval test \${$3+y}
3044 then :
3045 printf %s "(cached) " >&6
3046 else $as_nop
3047 eval "$3=no"
3048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3049 /* end confdefs.h. */
3052 main (void)
3054 if (sizeof ($2))
3055 return 0;
3057 return 0;
3059 _ACEOF
3060 if ac_fn_c_try_compile "$LINENO"
3061 then :
3062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3063 /* end confdefs.h. */
3066 main (void)
3068 if (sizeof (($2)))
3069 return 0;
3071 return 0;
3073 _ACEOF
3074 if ac_fn_c_try_compile "$LINENO"
3075 then :
3077 else $as_nop
3078 eval "$3=yes"
3080 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3082 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3084 eval ac_res=\$$3
3085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3086 printf "%s\n" "$ac_res" >&6; }
3087 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3089 } # ac_fn_c_check_type
3090 ac_configure_args_raw=
3091 for ac_arg
3093 case $ac_arg in
3094 *\'*)
3095 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3096 esac
3097 as_fn_append ac_configure_args_raw " '$ac_arg'"
3098 done
3100 case $ac_configure_args_raw in
3101 *$as_nl*)
3102 ac_safe_unquote= ;;
3104 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3105 ac_unsafe_a="$ac_unsafe_z#~"
3106 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3107 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3108 esac
3110 cat >config.log <<_ACEOF
3111 This file contains any messages produced by compilers while
3112 running configure, to aid debugging if configure makes a mistake.
3114 It was created by Wine $as_me 7.3, which was
3115 generated by GNU Autoconf 2.71. Invocation command line was
3117 $ $0$ac_configure_args_raw
3119 _ACEOF
3120 exec 5>>config.log
3122 cat <<_ASUNAME
3123 ## --------- ##
3124 ## Platform. ##
3125 ## --------- ##
3127 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3128 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3129 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3130 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3131 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3133 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3134 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3136 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3137 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3138 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3139 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3140 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3141 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3142 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3144 _ASUNAME
3146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3147 for as_dir in $PATH
3149 IFS=$as_save_IFS
3150 case $as_dir in #(((
3151 '') as_dir=./ ;;
3152 */) ;;
3153 *) as_dir=$as_dir/ ;;
3154 esac
3155 printf "%s\n" "PATH: $as_dir"
3156 done
3157 IFS=$as_save_IFS
3159 } >&5
3161 cat >&5 <<_ACEOF
3164 ## ----------- ##
3165 ## Core tests. ##
3166 ## ----------- ##
3168 _ACEOF
3171 # Keep a trace of the command line.
3172 # Strip out --no-create and --no-recursion so they do not pile up.
3173 # Strip out --silent because we don't want to record it for future runs.
3174 # Also quote any args containing shell meta-characters.
3175 # Make two passes to allow for proper duplicate-argument suppression.
3176 ac_configure_args=
3177 ac_configure_args0=
3178 ac_configure_args1=
3179 ac_must_keep_next=false
3180 for ac_pass in 1 2
3182 for ac_arg
3184 case $ac_arg in
3185 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3186 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3187 | -silent | --silent | --silen | --sile | --sil)
3188 continue ;;
3189 *\'*)
3190 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3191 esac
3192 case $ac_pass in
3193 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3195 as_fn_append ac_configure_args1 " '$ac_arg'"
3196 if test $ac_must_keep_next = true; then
3197 ac_must_keep_next=false # Got value, back to normal.
3198 else
3199 case $ac_arg in
3200 *=* | --config-cache | -C | -disable-* | --disable-* \
3201 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3202 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3203 | -with-* | --with-* | -without-* | --without-* | --x)
3204 case "$ac_configure_args0 " in
3205 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3206 esac
3208 -* ) ac_must_keep_next=true ;;
3209 esac
3211 as_fn_append ac_configure_args " '$ac_arg'"
3213 esac
3214 done
3215 done
3216 { ac_configure_args0=; unset ac_configure_args0;}
3217 { ac_configure_args1=; unset ac_configure_args1;}
3219 # When interrupted or exit'd, cleanup temporary files, and complete
3220 # config.log. We remove comments because anyway the quotes in there
3221 # would cause problems or look ugly.
3222 # WARNING: Use '\'' to represent an apostrophe within the trap.
3223 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3224 trap 'exit_status=$?
3225 # Sanitize IFS.
3226 IFS=" "" $as_nl"
3227 # Save into config.log some information that might help in debugging.
3229 echo
3231 printf "%s\n" "## ---------------- ##
3232 ## Cache variables. ##
3233 ## ---------------- ##"
3234 echo
3235 # The following way of writing the cache mishandles newlines in values,
3237 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3238 eval ac_val=\$$ac_var
3239 case $ac_val in #(
3240 *${as_nl}*)
3241 case $ac_var in #(
3242 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3243 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3244 esac
3245 case $ac_var in #(
3246 _ | IFS | as_nl) ;; #(
3247 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3248 *) { eval $ac_var=; unset $ac_var;} ;;
3249 esac ;;
3250 esac
3251 done
3252 (set) 2>&1 |
3253 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3254 *${as_nl}ac_space=\ *)
3255 sed -n \
3256 "s/'\''/'\''\\\\'\'''\''/g;
3257 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3258 ;; #(
3260 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3262 esac |
3263 sort
3265 echo
3267 printf "%s\n" "## ----------------- ##
3268 ## Output variables. ##
3269 ## ----------------- ##"
3270 echo
3271 for ac_var in $ac_subst_vars
3273 eval ac_val=\$$ac_var
3274 case $ac_val in
3275 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3276 esac
3277 printf "%s\n" "$ac_var='\''$ac_val'\''"
3278 done | sort
3279 echo
3281 if test -n "$ac_subst_files"; then
3282 printf "%s\n" "## ------------------- ##
3283 ## File substitutions. ##
3284 ## ------------------- ##"
3285 echo
3286 for ac_var in $ac_subst_files
3288 eval ac_val=\$$ac_var
3289 case $ac_val in
3290 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3291 esac
3292 printf "%s\n" "$ac_var='\''$ac_val'\''"
3293 done | sort
3294 echo
3297 if test -s confdefs.h; then
3298 printf "%s\n" "## ----------- ##
3299 ## confdefs.h. ##
3300 ## ----------- ##"
3301 echo
3302 cat confdefs.h
3303 echo
3305 test "$ac_signal" != 0 &&
3306 printf "%s\n" "$as_me: caught signal $ac_signal"
3307 printf "%s\n" "$as_me: exit $exit_status"
3308 } >&5
3309 rm -f core *.core core.conftest.* &&
3310 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3311 exit $exit_status
3313 for ac_signal in 1 2 13 15; do
3314 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3315 done
3316 ac_signal=0
3318 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3319 rm -f -r conftest* confdefs.h
3321 printf "%s\n" "/* confdefs.h */" > confdefs.h
3323 # Predefined preprocessor variables.
3325 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3327 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3329 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3331 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3333 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3335 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3338 # Let the site file select an alternate cache file if it wants to.
3339 # Prefer an explicitly selected file to automatically selected ones.
3340 if test -n "$CONFIG_SITE"; then
3341 ac_site_files="$CONFIG_SITE"
3342 elif test "x$prefix" != xNONE; then
3343 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3344 else
3345 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3348 for ac_site_file in $ac_site_files
3350 case $ac_site_file in #(
3351 */*) :
3352 ;; #(
3353 *) :
3354 ac_site_file=./$ac_site_file ;;
3355 esac
3356 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3358 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3359 sed 's/^/| /' "$ac_site_file" >&5
3360 . "$ac_site_file" \
3361 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3362 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3363 as_fn_error $? "failed to load site script $ac_site_file
3364 See \`config.log' for more details" "$LINENO" 5; }
3366 done
3368 if test -r "$cache_file"; then
3369 # Some versions of bash will fail to source /dev/null (special files
3370 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3371 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3373 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3374 case $cache_file in
3375 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3376 *) . "./$cache_file";;
3377 esac
3379 else
3380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3381 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3382 >$cache_file
3385 # Test code for whether the C compiler supports C89 (global declarations)
3386 ac_c_conftest_c89_globals='
3387 /* Does the compiler advertise C89 conformance?
3388 Do not test the value of __STDC__, because some compilers set it to 0
3389 while being otherwise adequately conformant. */
3390 #if !defined __STDC__
3391 # error "Compiler does not advertise C89 conformance"
3392 #endif
3394 #include <stddef.h>
3395 #include <stdarg.h>
3396 struct stat;
3397 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3398 struct buf { int x; };
3399 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3400 static char *e (p, i)
3401 char **p;
3402 int i;
3404 return p[i];
3406 static char *f (char * (*g) (char **, int), char **p, ...)
3408 char *s;
3409 va_list v;
3410 va_start (v,p);
3411 s = g (p, va_arg (v,int));
3412 va_end (v);
3413 return s;
3416 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3417 function prototypes and stuff, but not \xHH hex character constants.
3418 These do not provoke an error unfortunately, instead are silently treated
3419 as an "x". The following induces an error, until -std is added to get
3420 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3421 array size at least. It is necessary to write \x00 == 0 to get something
3422 that is true only with -std. */
3423 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3425 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3426 inside strings and character constants. */
3427 #define FOO(x) '\''x'\''
3428 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3430 int test (int i, double x);
3431 struct s1 {int (*f) (int a);};
3432 struct s2 {int (*f) (double a);};
3433 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3434 int, int);'
3436 # Test code for whether the C compiler supports C89 (body of main).
3437 ac_c_conftest_c89_main='
3438 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3441 # Test code for whether the C compiler supports C99 (global declarations)
3442 ac_c_conftest_c99_globals='
3443 // Does the compiler advertise C99 conformance?
3444 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3445 # error "Compiler does not advertise C99 conformance"
3446 #endif
3448 #include <stdbool.h>
3449 extern int puts (const char *);
3450 extern int printf (const char *, ...);
3451 extern int dprintf (int, const char *, ...);
3452 extern void *malloc (size_t);
3454 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3455 // dprintf is used instead of fprintf to avoid needing to declare
3456 // FILE and stderr.
3457 #define debug(...) dprintf (2, __VA_ARGS__)
3458 #define showlist(...) puts (#__VA_ARGS__)
3459 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3460 static void
3461 test_varargs_macros (void)
3463 int x = 1234;
3464 int y = 5678;
3465 debug ("Flag");
3466 debug ("X = %d\n", x);
3467 showlist (The first, second, and third items.);
3468 report (x>y, "x is %d but y is %d", x, y);
3471 // Check long long types.
3472 #define BIG64 18446744073709551615ull
3473 #define BIG32 4294967295ul
3474 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3475 #if !BIG_OK
3476 #error "your preprocessor is broken"
3477 #endif
3478 #if BIG_OK
3479 #else
3480 #error "your preprocessor is broken"
3481 #endif
3482 static long long int bignum = -9223372036854775807LL;
3483 static unsigned long long int ubignum = BIG64;
3485 struct incomplete_array
3487 int datasize;
3488 double data[];
3491 struct named_init {
3492 int number;
3493 const wchar_t *name;
3494 double average;
3497 typedef const char *ccp;
3499 static inline int
3500 test_restrict (ccp restrict text)
3502 // See if C++-style comments work.
3503 // Iterate through items via the restricted pointer.
3504 // Also check for declarations in for loops.
3505 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3506 continue;
3507 return 0;
3510 // Check varargs and va_copy.
3511 static bool
3512 test_varargs (const char *format, ...)
3514 va_list args;
3515 va_start (args, format);
3516 va_list args_copy;
3517 va_copy (args_copy, args);
3519 const char *str = "";
3520 int number = 0;
3521 float fnumber = 0;
3523 while (*format)
3525 switch (*format++)
3527 case '\''s'\'': // string
3528 str = va_arg (args_copy, const char *);
3529 break;
3530 case '\''d'\'': // int
3531 number = va_arg (args_copy, int);
3532 break;
3533 case '\''f'\'': // float
3534 fnumber = va_arg (args_copy, double);
3535 break;
3536 default:
3537 break;
3540 va_end (args_copy);
3541 va_end (args);
3543 return *str && number && fnumber;
3547 # Test code for whether the C compiler supports C99 (body of main).
3548 ac_c_conftest_c99_main='
3549 // Check bool.
3550 _Bool success = false;
3551 success |= (argc != 0);
3553 // Check restrict.
3554 if (test_restrict ("String literal") == 0)
3555 success = true;
3556 char *restrict newvar = "Another string";
3558 // Check varargs.
3559 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3560 test_varargs_macros ();
3562 // Check flexible array members.
3563 struct incomplete_array *ia =
3564 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3565 ia->datasize = 10;
3566 for (int i = 0; i < ia->datasize; ++i)
3567 ia->data[i] = i * 1.234;
3569 // Check named initializers.
3570 struct named_init ni = {
3571 .number = 34,
3572 .name = L"Test wide string",
3573 .average = 543.34343,
3576 ni.number = 58;
3578 int dynamic_array[ni.number];
3579 dynamic_array[0] = argv[0][0];
3580 dynamic_array[ni.number - 1] = 543;
3582 // work around unused variable warnings
3583 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3584 || dynamic_array[ni.number - 1] != 543);
3587 # Test code for whether the C compiler supports C11 (global declarations)
3588 ac_c_conftest_c11_globals='
3589 // Does the compiler advertise C11 conformance?
3590 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3591 # error "Compiler does not advertise C11 conformance"
3592 #endif
3594 // Check _Alignas.
3595 char _Alignas (double) aligned_as_double;
3596 char _Alignas (0) no_special_alignment;
3597 extern char aligned_as_int;
3598 char _Alignas (0) _Alignas (int) aligned_as_int;
3600 // Check _Alignof.
3601 enum
3603 int_alignment = _Alignof (int),
3604 int_array_alignment = _Alignof (int[100]),
3605 char_alignment = _Alignof (char)
3607 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3609 // Check _Noreturn.
3610 int _Noreturn does_not_return (void) { for (;;) continue; }
3612 // Check _Static_assert.
3613 struct test_static_assert
3615 int x;
3616 _Static_assert (sizeof (int) <= sizeof (long int),
3617 "_Static_assert does not work in struct");
3618 long int y;
3621 // Check UTF-8 literals.
3622 #define u8 syntax error!
3623 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3625 // Check duplicate typedefs.
3626 typedef long *long_ptr;
3627 typedef long int *long_ptr;
3628 typedef long_ptr long_ptr;
3630 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3631 struct anonymous
3633 union {
3634 struct { int i; int j; };
3635 struct { int k; long int l; } w;
3637 int m;
3638 } v1;
3641 # Test code for whether the C compiler supports C11 (body of main).
3642 ac_c_conftest_c11_main='
3643 _Static_assert ((offsetof (struct anonymous, i)
3644 == offsetof (struct anonymous, w.k)),
3645 "Anonymous union alignment botch");
3646 v1.i = 2;
3647 v1.w.k = 5;
3648 ok |= v1.i != 5;
3651 # Test code for whether the C compiler supports C11 (complete).
3652 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3653 ${ac_c_conftest_c99_globals}
3654 ${ac_c_conftest_c11_globals}
3657 main (int argc, char **argv)
3659 int ok = 0;
3660 ${ac_c_conftest_c89_main}
3661 ${ac_c_conftest_c99_main}
3662 ${ac_c_conftest_c11_main}
3663 return ok;
3667 # Test code for whether the C compiler supports C99 (complete).
3668 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3669 ${ac_c_conftest_c99_globals}
3672 main (int argc, char **argv)
3674 int ok = 0;
3675 ${ac_c_conftest_c89_main}
3676 ${ac_c_conftest_c99_main}
3677 return ok;
3681 # Test code for whether the C compiler supports C89 (complete).
3682 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3685 main (int argc, char **argv)
3687 int ok = 0;
3688 ${ac_c_conftest_c89_main}
3689 return ok;
3693 # Test code for whether the C++ compiler supports C++98 (global declarations)
3694 ac_cxx_conftest_cxx98_globals='
3695 // Does the compiler advertise C++98 conformance?
3696 #if !defined __cplusplus || __cplusplus < 199711L
3697 # error "Compiler does not advertise C++98 conformance"
3698 #endif
3700 // These inclusions are to reject old compilers that
3701 // lack the unsuffixed header files.
3702 #include <cstdlib>
3703 #include <exception>
3705 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3706 extern void assert (int);
3707 namespace std {
3708 extern int strcmp (const char *, const char *);
3711 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3712 using std::exception;
3713 using std::strcmp;
3715 namespace {
3717 void test_exception_syntax()
3719 try {
3720 throw "test";
3721 } catch (const char *s) {
3722 // Extra parentheses suppress a warning when building autoconf itself,
3723 // due to lint rules shared with more typical C programs.
3724 assert (!(strcmp) (s, "test"));
3728 template <typename T> struct test_template
3730 T const val;
3731 explicit test_template(T t) : val(t) {}
3732 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3735 } // anonymous namespace
3738 # Test code for whether the C++ compiler supports C++98 (body of main)
3739 ac_cxx_conftest_cxx98_main='
3740 assert (argc);
3741 assert (! argv[0]);
3743 test_exception_syntax ();
3744 test_template<double> tt (2.0);
3745 assert (tt.add (4) == 6.0);
3746 assert (true && !false);
3750 # Test code for whether the C++ compiler supports C++11 (global declarations)
3751 ac_cxx_conftest_cxx11_globals='
3752 // Does the compiler advertise C++ 2011 conformance?
3753 #if !defined __cplusplus || __cplusplus < 201103L
3754 # error "Compiler does not advertise C++11 conformance"
3755 #endif
3757 namespace cxx11test
3759 constexpr int get_val() { return 20; }
3761 struct testinit
3763 int i;
3764 double d;
3767 class delegate
3769 public:
3770 delegate(int n) : n(n) {}
3771 delegate(): delegate(2354) {}
3773 virtual int getval() { return this->n; };
3774 protected:
3775 int n;
3778 class overridden : public delegate
3780 public:
3781 overridden(int n): delegate(n) {}
3782 virtual int getval() override final { return this->n * 2; }
3785 class nocopy
3787 public:
3788 nocopy(int i): i(i) {}
3789 nocopy() = default;
3790 nocopy(const nocopy&) = delete;
3791 nocopy & operator=(const nocopy&) = delete;
3792 private:
3793 int i;
3796 // for testing lambda expressions
3797 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3799 return f(v);
3802 // for testing variadic templates and trailing return types
3803 template <typename V> auto sum(V first) -> V
3805 return first;
3807 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3809 return first + sum(rest...);
3814 # Test code for whether the C++ compiler supports C++11 (body of main)
3815 ac_cxx_conftest_cxx11_main='
3817 // Test auto and decltype
3818 auto a1 = 6538;
3819 auto a2 = 48573953.4;
3820 auto a3 = "String literal";
3822 int total = 0;
3823 for (auto i = a3; *i; ++i) { total += *i; }
3825 decltype(a2) a4 = 34895.034;
3828 // Test constexpr
3829 short sa[cxx11test::get_val()] = { 0 };
3832 // Test initializer lists
3833 cxx11test::testinit il = { 4323, 435234.23544 };
3836 // Test range-based for
3837 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3838 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3839 for (auto &x : array) { x += 23; }
3842 // Test lambda expressions
3843 using cxx11test::eval;
3844 assert (eval ([](int x) { return x*2; }, 21) == 42);
3845 double d = 2.0;
3846 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3847 assert (d == 5.0);
3848 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3849 assert (d == 5.0);
3852 // Test use of variadic templates
3853 using cxx11test::sum;
3854 auto a = sum(1);
3855 auto b = sum(1, 2);
3856 auto c = sum(1.0, 2.0, 3.0);
3859 // Test constructor delegation
3860 cxx11test::delegate d1;
3861 cxx11test::delegate d2();
3862 cxx11test::delegate d3(45);
3865 // Test override and final
3866 cxx11test::overridden o1(55464);
3869 // Test nullptr
3870 char *c = nullptr;
3873 // Test template brackets
3874 test_template<::test_template<int>> v(test_template<int>(12));
3877 // Unicode literals
3878 char const *utf8 = u8"UTF-8 string \u2500";
3879 char16_t const *utf16 = u"UTF-8 string \u2500";
3880 char32_t const *utf32 = U"UTF-32 string \u2500";
3884 # Test code for whether the C compiler supports C++11 (complete).
3885 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3886 ${ac_cxx_conftest_cxx11_globals}
3889 main (int argc, char **argv)
3891 int ok = 0;
3892 ${ac_cxx_conftest_cxx98_main}
3893 ${ac_cxx_conftest_cxx11_main}
3894 return ok;
3898 # Test code for whether the C compiler supports C++98 (complete).
3899 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3901 main (int argc, char **argv)
3903 int ok = 0;
3904 ${ac_cxx_conftest_cxx98_main}
3905 return ok;
3909 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3910 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3911 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3912 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3913 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3914 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3915 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3916 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3917 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3919 # Auxiliary files required by this configure script.
3920 ac_aux_files="config.guess config.sub"
3922 # Locations in which to look for auxiliary files.
3923 ac_aux_dir_candidates="${srcdir}/tools"
3925 # Search for a directory containing all of the required auxiliary files,
3926 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3927 # If we don't find one directory that contains all the files we need,
3928 # we report the set of missing files from the *first* directory in
3929 # $ac_aux_dir_candidates and give up.
3930 ac_missing_aux_files=""
3931 ac_first_candidate=:
3932 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3934 as_found=false
3935 for as_dir in $ac_aux_dir_candidates
3937 IFS=$as_save_IFS
3938 case $as_dir in #(((
3939 '') as_dir=./ ;;
3940 */) ;;
3941 *) as_dir=$as_dir/ ;;
3942 esac
3943 as_found=:
3945 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3946 ac_aux_dir_found=yes
3947 ac_install_sh=
3948 for ac_aux in $ac_aux_files
3950 # As a special case, if "install-sh" is required, that requirement
3951 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3952 # and $ac_install_sh is set appropriately for whichever one is found.
3953 if test x"$ac_aux" = x"install-sh"
3954 then
3955 if test -f "${as_dir}install-sh"; then
3956 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3957 ac_install_sh="${as_dir}install-sh -c"
3958 elif test -f "${as_dir}install.sh"; then
3959 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3960 ac_install_sh="${as_dir}install.sh -c"
3961 elif test -f "${as_dir}shtool"; then
3962 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3963 ac_install_sh="${as_dir}shtool install -c"
3964 else
3965 ac_aux_dir_found=no
3966 if $ac_first_candidate; then
3967 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3968 else
3969 break
3972 else
3973 if test -f "${as_dir}${ac_aux}"; then
3974 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3975 else
3976 ac_aux_dir_found=no
3977 if $ac_first_candidate; then
3978 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3979 else
3980 break
3984 done
3985 if test "$ac_aux_dir_found" = yes; then
3986 ac_aux_dir="$as_dir"
3987 break
3989 ac_first_candidate=false
3991 as_found=false
3992 done
3993 IFS=$as_save_IFS
3994 if $as_found
3995 then :
3997 else $as_nop
3998 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4002 # These three variables are undocumented and unsupported,
4003 # and are intended to be withdrawn in a future Autoconf release.
4004 # They can cause serious problems if a builder's source tree is in a directory
4005 # whose full name contains unusual characters.
4006 if test -f "${ac_aux_dir}config.guess"; then
4007 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4009 if test -f "${ac_aux_dir}config.sub"; then
4010 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4012 if test -f "$ac_aux_dir/configure"; then
4013 ac_configure="$SHELL ${ac_aux_dir}configure"
4016 # Check that the precious variables saved in the cache have kept the same
4017 # value.
4018 ac_cache_corrupted=false
4019 for ac_var in $ac_precious_vars; do
4020 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4021 eval ac_new_set=\$ac_env_${ac_var}_set
4022 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4023 eval ac_new_val=\$ac_env_${ac_var}_value
4024 case $ac_old_set,$ac_new_set in
4025 set,)
4026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4027 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4028 ac_cache_corrupted=: ;;
4029 ,set)
4030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4031 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4032 ac_cache_corrupted=: ;;
4033 ,);;
4035 if test "x$ac_old_val" != "x$ac_new_val"; then
4036 # differences in whitespace do not lead to failure.
4037 ac_old_val_w=`echo x $ac_old_val`
4038 ac_new_val_w=`echo x $ac_new_val`
4039 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4041 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4042 ac_cache_corrupted=:
4043 else
4044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4045 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4046 eval $ac_var=\$ac_old_val
4048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4049 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4051 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4052 fi;;
4053 esac
4054 # Pass precious variables to config.status.
4055 if test "$ac_new_set" = set; then
4056 case $ac_new_val in
4057 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4058 *) ac_arg=$ac_var=$ac_new_val ;;
4059 esac
4060 case " $ac_configure_args " in
4061 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4062 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4063 esac
4065 done
4066 if $ac_cache_corrupted; then
4067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4068 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4070 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4071 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4072 and start over" "$LINENO" 5
4074 ## -------------------- ##
4075 ## Main body of script. ##
4076 ## -------------------- ##
4078 ac_ext=c
4079 ac_cpp='$CPP $CPPFLAGS'
4080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4086 ac_config_headers="$ac_config_headers include/config.h"
4090 libwine_version="1.0"
4093 # Check whether --enable-win16 was given.
4094 if test ${enable_win16+y}
4095 then :
4096 enableval=$enable_win16;
4099 # Check whether --enable-win64 was given.
4100 if test ${enable_win64+y}
4101 then :
4102 enableval=$enable_win64;
4105 # Check whether --enable-tests was given.
4106 if test ${enable_tests+y}
4107 then :
4108 enableval=$enable_tests;
4111 # Check whether --enable-build-id was given.
4112 if test ${enable_build_id+y}
4113 then :
4114 enableval=$enable_build_id;
4117 # Check whether --enable-maintainer-mode was given.
4118 if test ${enable_maintainer_mode+y}
4119 then :
4120 enableval=$enable_maintainer_mode;
4123 # Check whether --enable-silent-rules was given.
4124 if test ${enable_silent_rules+y}
4125 then :
4126 enableval=$enable_silent_rules;
4129 # Check whether --enable-werror was given.
4130 if test ${enable_werror+y}
4131 then :
4132 enableval=$enable_werror;
4137 # Check whether --with-alsa was given.
4138 if test ${with_alsa+y}
4139 then :
4140 withval=$with_alsa;
4144 # Check whether --with-capi was given.
4145 if test ${with_capi+y}
4146 then :
4147 withval=$with_capi;
4151 # Check whether --with-coreaudio was given.
4152 if test ${with_coreaudio+y}
4153 then :
4154 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4158 # Check whether --with-cups was given.
4159 if test ${with_cups+y}
4160 then :
4161 withval=$with_cups;
4165 # Check whether --with-dbus was given.
4166 if test ${with_dbus+y}
4167 then :
4168 withval=$with_dbus;
4172 # Check whether --with-float-abi was given.
4173 if test ${with_float_abi+y}
4174 then :
4175 withval=$with_float_abi;
4179 # Check whether --with-fontconfig was given.
4180 if test ${with_fontconfig+y}
4181 then :
4182 withval=$with_fontconfig;
4186 # Check whether --with-freetype was given.
4187 if test ${with_freetype+y}
4188 then :
4189 withval=$with_freetype;
4193 # Check whether --with-gettext was given.
4194 if test ${with_gettext+y}
4195 then :
4196 withval=$with_gettext;
4200 # Check whether --with-gettextpo was given.
4201 if test ${with_gettextpo+y}
4202 then :
4203 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4207 # Check whether --with-gphoto was given.
4208 if test ${with_gphoto+y}
4209 then :
4210 withval=$with_gphoto;
4214 # Check whether --with-gnutls was given.
4215 if test ${with_gnutls+y}
4216 then :
4217 withval=$with_gnutls;
4221 # Check whether --with-gssapi was given.
4222 if test ${with_gssapi+y}
4223 then :
4224 withval=$with_gssapi;
4228 # Check whether --with-gstreamer was given.
4229 if test ${with_gstreamer+y}
4230 then :
4231 withval=$with_gstreamer;
4235 # Check whether --with-inotify was given.
4236 if test ${with_inotify+y}
4237 then :
4238 withval=$with_inotify;
4242 # Check whether --with-krb5 was given.
4243 if test ${with_krb5+y}
4244 then :
4245 withval=$with_krb5;
4249 # Check whether --with-ldap was given.
4250 if test ${with_ldap+y}
4251 then :
4252 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4256 # Check whether --with-mingw was given.
4257 if test ${with_mingw+y}
4258 then :
4259 withval=$with_mingw;
4263 # Check whether --with-netapi was given.
4264 if test ${with_netapi+y}
4265 then :
4266 withval=$with_netapi;
4270 # Check whether --with-openal was given.
4271 if test ${with_openal+y}
4272 then :
4273 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4277 # Check whether --with-opencl was given.
4278 if test ${with_opencl+y}
4279 then :
4280 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4284 # Check whether --with-opengl was given.
4285 if test ${with_opengl+y}
4286 then :
4287 withval=$with_opengl;
4291 # Check whether --with-osmesa was given.
4292 if test ${with_osmesa+y}
4293 then :
4294 withval=$with_osmesa;
4298 # Check whether --with-oss was given.
4299 if test ${with_oss+y}
4300 then :
4301 withval=$with_oss;
4305 # Check whether --with-pcap was given.
4306 if test ${with_pcap+y}
4307 then :
4308 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4312 # Check whether --with-pthread was given.
4313 if test ${with_pthread+y}
4314 then :
4315 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4319 # Check whether --with-pulse was given.
4320 if test ${with_pulse+y}
4321 then :
4322 withval=$with_pulse;
4326 # Check whether --with-sane was given.
4327 if test ${with_sane+y}
4328 then :
4329 withval=$with_sane;
4333 # Check whether --with-sdl was given.
4334 if test ${with_sdl+y}
4335 then :
4336 withval=$with_sdl;
4340 # Check whether --with-udev was given.
4341 if test ${with_udev+y}
4342 then :
4343 withval=$with_udev;
4347 # Check whether --with-unwind was given.
4348 if test ${with_unwind+y}
4349 then :
4350 withval=$with_unwind;
4354 # Check whether --with-usb was given.
4355 if test ${with_usb+y}
4356 then :
4357 withval=$with_usb;
4361 # Check whether --with-v4l2 was given.
4362 if test ${with_v4l2+y}
4363 then :
4364 withval=$with_v4l2;
4368 # Check whether --with-vkd3d was given.
4369 if test ${with_vkd3d+y}
4370 then :
4371 withval=$with_vkd3d;
4375 # Check whether --with-vulkan was given.
4376 if test ${with_vulkan+y}
4377 then :
4378 withval=$with_vulkan;
4382 # Check whether --with-xcomposite was given.
4383 if test ${with_xcomposite+y}
4384 then :
4385 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4389 # Check whether --with-xcursor was given.
4390 if test ${with_xcursor+y}
4391 then :
4392 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4396 # Check whether --with-xfixes was given.
4397 if test ${with_xfixes+y}
4398 then :
4399 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4403 # Check whether --with-xinerama was given.
4404 if test ${with_xinerama+y}
4405 then :
4406 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4410 # Check whether --with-xinput was given.
4411 if test ${with_xinput+y}
4412 then :
4413 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4417 # Check whether --with-xinput2 was given.
4418 if test ${with_xinput2+y}
4419 then :
4420 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4424 # Check whether --with-xrandr was given.
4425 if test ${with_xrandr+y}
4426 then :
4427 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4431 # Check whether --with-xrender was given.
4432 if test ${with_xrender+y}
4433 then :
4434 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4438 # Check whether --with-xshape was given.
4439 if test ${with_xshape+y}
4440 then :
4441 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4445 # Check whether --with-xshm was given.
4446 if test ${with_xshm+y}
4447 then :
4448 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4452 # Check whether --with-xxf86vm was given.
4453 if test ${with_xxf86vm+y}
4454 then :
4455 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
4460 # Check whether --with-system-dllpath was given.
4461 if test ${with_system_dllpath+y}
4462 then :
4463 withval=$with_system_dllpath; system_dllpath=$withval
4468 # Check whether --with-wine-tools was given.
4469 if test ${with_wine_tools+y}
4470 then :
4471 withval=$with_wine_tools;
4475 # Check whether --with-wine64 was given.
4476 if test ${with_wine64+y}
4477 then :
4478 withval=$with_wine64;
4485 # Make sure we can run config.sub.
4486 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4487 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4490 printf %s "checking build system type... " >&6; }
4491 if test ${ac_cv_build+y}
4492 then :
4493 printf %s "(cached) " >&6
4494 else $as_nop
4495 ac_build_alias=$build_alias
4496 test "x$ac_build_alias" = x &&
4497 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4498 test "x$ac_build_alias" = x &&
4499 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4500 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4501 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4505 printf "%s\n" "$ac_cv_build" >&6; }
4506 case $ac_cv_build in
4507 *-*-*) ;;
4508 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4509 esac
4510 build=$ac_cv_build
4511 ac_save_IFS=$IFS; IFS='-'
4512 set x $ac_cv_build
4513 shift
4514 build_cpu=$1
4515 build_vendor=$2
4516 shift; shift
4517 # Remember, the first character of IFS is used to create $*,
4518 # except with old shells:
4519 build_os=$*
4520 IFS=$ac_save_IFS
4521 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4525 printf %s "checking host system type... " >&6; }
4526 if test ${ac_cv_host+y}
4527 then :
4528 printf %s "(cached) " >&6
4529 else $as_nop
4530 if test "x$host_alias" = x; then
4531 ac_cv_host=$ac_cv_build
4532 else
4533 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4534 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4539 printf "%s\n" "$ac_cv_host" >&6; }
4540 case $ac_cv_host in
4541 *-*-*) ;;
4542 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4543 esac
4544 host=$ac_cv_host
4545 ac_save_IFS=$IFS; IFS='-'
4546 set x $ac_cv_host
4547 shift
4548 host_cpu=$1
4549 host_vendor=$2
4550 shift; shift
4551 # Remember, the first character of IFS is used to create $*,
4552 # except with old shells:
4553 host_os=$*
4554 IFS=$ac_save_IFS
4555 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4559 dlldir=\${libdir}/wine
4561 fontdir=\${datadir}/wine/fonts
4563 nlsdir=\${datadir}/wine/nls
4568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4569 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4570 set x ${MAKE-make}
4571 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4572 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4573 then :
4574 printf %s "(cached) " >&6
4575 else $as_nop
4576 cat >conftest.make <<\_ACEOF
4577 SHELL = /bin/sh
4578 all:
4579 @echo '@@@%%%=$(MAKE)=@@@%%%'
4580 _ACEOF
4581 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4582 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4583 *@@@%%%=?*=@@@%%%*)
4584 eval ac_cv_prog_make_${ac_make}_set=yes;;
4586 eval ac_cv_prog_make_${ac_make}_set=no;;
4587 esac
4588 rm -f conftest.make
4590 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4592 printf "%s\n" "yes" >&6; }
4593 SET_MAKE=
4594 else
4595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4596 printf "%s\n" "no" >&6; }
4597 SET_MAKE="MAKE=${MAKE-make}"
4609 ac_ext=c
4610 ac_cpp='$CPP $CPPFLAGS'
4611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4614 if test -n "$ac_tool_prefix"; then
4615 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4616 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4618 printf %s "checking for $ac_word... " >&6; }
4619 if test ${ac_cv_prog_CC+y}
4620 then :
4621 printf %s "(cached) " >&6
4622 else $as_nop
4623 if test -n "$CC"; then
4624 ac_cv_prog_CC="$CC" # Let the user override the test.
4625 else
4626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4627 for as_dir in $PATH
4629 IFS=$as_save_IFS
4630 case $as_dir in #(((
4631 '') as_dir=./ ;;
4632 */) ;;
4633 *) as_dir=$as_dir/ ;;
4634 esac
4635 for ac_exec_ext in '' $ac_executable_extensions; do
4636 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4637 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4638 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4639 break 2
4641 done
4642 done
4643 IFS=$as_save_IFS
4647 CC=$ac_cv_prog_CC
4648 if test -n "$CC"; then
4649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4650 printf "%s\n" "$CC" >&6; }
4651 else
4652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4653 printf "%s\n" "no" >&6; }
4658 if test -z "$ac_cv_prog_CC"; then
4659 ac_ct_CC=$CC
4660 # Extract the first word of "gcc", so it can be a program name with args.
4661 set dummy gcc; ac_word=$2
4662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4663 printf %s "checking for $ac_word... " >&6; }
4664 if test ${ac_cv_prog_ac_ct_CC+y}
4665 then :
4666 printf %s "(cached) " >&6
4667 else $as_nop
4668 if test -n "$ac_ct_CC"; then
4669 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4670 else
4671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4672 for as_dir in $PATH
4674 IFS=$as_save_IFS
4675 case $as_dir in #(((
4676 '') as_dir=./ ;;
4677 */) ;;
4678 *) as_dir=$as_dir/ ;;
4679 esac
4680 for ac_exec_ext in '' $ac_executable_extensions; do
4681 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4682 ac_cv_prog_ac_ct_CC="gcc"
4683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4684 break 2
4686 done
4687 done
4688 IFS=$as_save_IFS
4692 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4693 if test -n "$ac_ct_CC"; then
4694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4695 printf "%s\n" "$ac_ct_CC" >&6; }
4696 else
4697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4698 printf "%s\n" "no" >&6; }
4701 if test "x$ac_ct_CC" = x; then
4702 CC=""
4703 else
4704 case $cross_compiling:$ac_tool_warned in
4705 yes:)
4706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4707 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4708 ac_tool_warned=yes ;;
4709 esac
4710 CC=$ac_ct_CC
4712 else
4713 CC="$ac_cv_prog_CC"
4716 if test -z "$CC"; then
4717 if test -n "$ac_tool_prefix"; then
4718 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4719 set dummy ${ac_tool_prefix}cc; ac_word=$2
4720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4721 printf %s "checking for $ac_word... " >&6; }
4722 if test ${ac_cv_prog_CC+y}
4723 then :
4724 printf %s "(cached) " >&6
4725 else $as_nop
4726 if test -n "$CC"; then
4727 ac_cv_prog_CC="$CC" # Let the user override the test.
4728 else
4729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4730 for as_dir in $PATH
4732 IFS=$as_save_IFS
4733 case $as_dir in #(((
4734 '') as_dir=./ ;;
4735 */) ;;
4736 *) as_dir=$as_dir/ ;;
4737 esac
4738 for ac_exec_ext in '' $ac_executable_extensions; do
4739 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4740 ac_cv_prog_CC="${ac_tool_prefix}cc"
4741 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4742 break 2
4744 done
4745 done
4746 IFS=$as_save_IFS
4750 CC=$ac_cv_prog_CC
4751 if test -n "$CC"; then
4752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4753 printf "%s\n" "$CC" >&6; }
4754 else
4755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4756 printf "%s\n" "no" >&6; }
4762 if test -z "$CC"; then
4763 # Extract the first word of "cc", so it can be a program name with args.
4764 set dummy cc; ac_word=$2
4765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4766 printf %s "checking for $ac_word... " >&6; }
4767 if test ${ac_cv_prog_CC+y}
4768 then :
4769 printf %s "(cached) " >&6
4770 else $as_nop
4771 if test -n "$CC"; then
4772 ac_cv_prog_CC="$CC" # Let the user override the test.
4773 else
4774 ac_prog_rejected=no
4775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4776 for as_dir in $PATH
4778 IFS=$as_save_IFS
4779 case $as_dir in #(((
4780 '') as_dir=./ ;;
4781 */) ;;
4782 *) as_dir=$as_dir/ ;;
4783 esac
4784 for ac_exec_ext in '' $ac_executable_extensions; do
4785 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4786 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4787 ac_prog_rejected=yes
4788 continue
4790 ac_cv_prog_CC="cc"
4791 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4792 break 2
4794 done
4795 done
4796 IFS=$as_save_IFS
4798 if test $ac_prog_rejected = yes; then
4799 # We found a bogon in the path, so make sure we never use it.
4800 set dummy $ac_cv_prog_CC
4801 shift
4802 if test $# != 0; then
4803 # We chose a different compiler from the bogus one.
4804 # However, it has the same basename, so the bogon will be chosen
4805 # first if we set CC to just the basename; use the full file name.
4806 shift
4807 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4812 CC=$ac_cv_prog_CC
4813 if test -n "$CC"; then
4814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4815 printf "%s\n" "$CC" >&6; }
4816 else
4817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4818 printf "%s\n" "no" >&6; }
4823 if test -z "$CC"; then
4824 if test -n "$ac_tool_prefix"; then
4825 for ac_prog in cl.exe
4827 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4828 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4830 printf %s "checking for $ac_word... " >&6; }
4831 if test ${ac_cv_prog_CC+y}
4832 then :
4833 printf %s "(cached) " >&6
4834 else $as_nop
4835 if test -n "$CC"; then
4836 ac_cv_prog_CC="$CC" # Let the user override the test.
4837 else
4838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4839 for as_dir in $PATH
4841 IFS=$as_save_IFS
4842 case $as_dir in #(((
4843 '') as_dir=./ ;;
4844 */) ;;
4845 *) as_dir=$as_dir/ ;;
4846 esac
4847 for ac_exec_ext in '' $ac_executable_extensions; do
4848 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4849 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4850 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4851 break 2
4853 done
4854 done
4855 IFS=$as_save_IFS
4859 CC=$ac_cv_prog_CC
4860 if test -n "$CC"; then
4861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4862 printf "%s\n" "$CC" >&6; }
4863 else
4864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4865 printf "%s\n" "no" >&6; }
4869 test -n "$CC" && break
4870 done
4872 if test -z "$CC"; then
4873 ac_ct_CC=$CC
4874 for ac_prog in cl.exe
4876 # Extract the first word of "$ac_prog", so it can be a program name with args.
4877 set dummy $ac_prog; ac_word=$2
4878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4879 printf %s "checking for $ac_word... " >&6; }
4880 if test ${ac_cv_prog_ac_ct_CC+y}
4881 then :
4882 printf %s "(cached) " >&6
4883 else $as_nop
4884 if test -n "$ac_ct_CC"; then
4885 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4886 else
4887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4888 for as_dir in $PATH
4890 IFS=$as_save_IFS
4891 case $as_dir in #(((
4892 '') as_dir=./ ;;
4893 */) ;;
4894 *) as_dir=$as_dir/ ;;
4895 esac
4896 for ac_exec_ext in '' $ac_executable_extensions; do
4897 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4898 ac_cv_prog_ac_ct_CC="$ac_prog"
4899 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4900 break 2
4902 done
4903 done
4904 IFS=$as_save_IFS
4908 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4909 if test -n "$ac_ct_CC"; then
4910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4911 printf "%s\n" "$ac_ct_CC" >&6; }
4912 else
4913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4914 printf "%s\n" "no" >&6; }
4918 test -n "$ac_ct_CC" && break
4919 done
4921 if test "x$ac_ct_CC" = x; then
4922 CC=""
4923 else
4924 case $cross_compiling:$ac_tool_warned in
4925 yes:)
4926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4927 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4928 ac_tool_warned=yes ;;
4929 esac
4930 CC=$ac_ct_CC
4935 if test -z "$CC"; then
4936 if test -n "$ac_tool_prefix"; then
4937 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4938 set dummy ${ac_tool_prefix}clang; ac_word=$2
4939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4940 printf %s "checking for $ac_word... " >&6; }
4941 if test ${ac_cv_prog_CC+y}
4942 then :
4943 printf %s "(cached) " >&6
4944 else $as_nop
4945 if test -n "$CC"; then
4946 ac_cv_prog_CC="$CC" # Let the user override the test.
4947 else
4948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4949 for as_dir in $PATH
4951 IFS=$as_save_IFS
4952 case $as_dir in #(((
4953 '') as_dir=./ ;;
4954 */) ;;
4955 *) as_dir=$as_dir/ ;;
4956 esac
4957 for ac_exec_ext in '' $ac_executable_extensions; do
4958 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4959 ac_cv_prog_CC="${ac_tool_prefix}clang"
4960 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4961 break 2
4963 done
4964 done
4965 IFS=$as_save_IFS
4969 CC=$ac_cv_prog_CC
4970 if test -n "$CC"; then
4971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4972 printf "%s\n" "$CC" >&6; }
4973 else
4974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4975 printf "%s\n" "no" >&6; }
4980 if test -z "$ac_cv_prog_CC"; then
4981 ac_ct_CC=$CC
4982 # Extract the first word of "clang", so it can be a program name with args.
4983 set dummy clang; ac_word=$2
4984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4985 printf %s "checking for $ac_word... " >&6; }
4986 if test ${ac_cv_prog_ac_ct_CC+y}
4987 then :
4988 printf %s "(cached) " >&6
4989 else $as_nop
4990 if test -n "$ac_ct_CC"; then
4991 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4992 else
4993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4994 for as_dir in $PATH
4996 IFS=$as_save_IFS
4997 case $as_dir in #(((
4998 '') as_dir=./ ;;
4999 */) ;;
5000 *) as_dir=$as_dir/ ;;
5001 esac
5002 for ac_exec_ext in '' $ac_executable_extensions; do
5003 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5004 ac_cv_prog_ac_ct_CC="clang"
5005 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5006 break 2
5008 done
5009 done
5010 IFS=$as_save_IFS
5014 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5015 if test -n "$ac_ct_CC"; then
5016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5017 printf "%s\n" "$ac_ct_CC" >&6; }
5018 else
5019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5020 printf "%s\n" "no" >&6; }
5023 if test "x$ac_ct_CC" = x; then
5024 CC=""
5025 else
5026 case $cross_compiling:$ac_tool_warned in
5027 yes:)
5028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5029 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5030 ac_tool_warned=yes ;;
5031 esac
5032 CC=$ac_ct_CC
5034 else
5035 CC="$ac_cv_prog_CC"
5041 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5042 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5043 as_fn_error $? "no acceptable C compiler found in \$PATH
5044 See \`config.log' for more details" "$LINENO" 5; }
5046 # Provide some information about the compiler.
5047 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5048 set X $ac_compile
5049 ac_compiler=$2
5050 for ac_option in --version -v -V -qversion -version; do
5051 { { ac_try="$ac_compiler $ac_option >&5"
5052 case "(($ac_try" in
5053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5054 *) ac_try_echo=$ac_try;;
5055 esac
5056 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5057 printf "%s\n" "$ac_try_echo"; } >&5
5058 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5059 ac_status=$?
5060 if test -s conftest.err; then
5061 sed '10a\
5062 ... rest of stderr output deleted ...
5063 10q' conftest.err >conftest.er1
5064 cat conftest.er1 >&5
5066 rm -f conftest.er1 conftest.err
5067 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5068 test $ac_status = 0; }
5069 done
5071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5072 /* end confdefs.h. */
5075 main (void)
5079 return 0;
5081 _ACEOF
5082 ac_clean_files_save=$ac_clean_files
5083 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5084 # Try to create an executable without -o first, disregard a.out.
5085 # It will help us diagnose broken compilers, and finding out an intuition
5086 # of exeext.
5087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5088 printf %s "checking whether the C compiler works... " >&6; }
5089 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5091 # The possible output files:
5092 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5094 ac_rmfiles=
5095 for ac_file in $ac_files
5097 case $ac_file in
5098 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5099 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5100 esac
5101 done
5102 rm -f $ac_rmfiles
5104 if { { ac_try="$ac_link_default"
5105 case "(($ac_try" in
5106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5107 *) ac_try_echo=$ac_try;;
5108 esac
5109 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5110 printf "%s\n" "$ac_try_echo"; } >&5
5111 (eval "$ac_link_default") 2>&5
5112 ac_status=$?
5113 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5114 test $ac_status = 0; }
5115 then :
5116 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5117 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5118 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5119 # so that the user can short-circuit this test for compilers unknown to
5120 # Autoconf.
5121 for ac_file in $ac_files ''
5123 test -f "$ac_file" || continue
5124 case $ac_file in
5125 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5127 [ab].out )
5128 # We found the default executable, but exeext='' is most
5129 # certainly right.
5130 break;;
5131 *.* )
5132 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5133 then :; else
5134 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5136 # We set ac_cv_exeext here because the later test for it is not
5137 # safe: cross compilers may not add the suffix if given an `-o'
5138 # argument, so we may need to know it at that point already.
5139 # Even if this section looks crufty: it has the advantage of
5140 # actually working.
5141 break;;
5143 break;;
5144 esac
5145 done
5146 test "$ac_cv_exeext" = no && ac_cv_exeext=
5148 else $as_nop
5149 ac_file=''
5151 if test -z "$ac_file"
5152 then :
5153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5154 printf "%s\n" "no" >&6; }
5155 printf "%s\n" "$as_me: failed program was:" >&5
5156 sed 's/^/| /' conftest.$ac_ext >&5
5158 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5159 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5160 as_fn_error 77 "C compiler cannot create executables
5161 See \`config.log' for more details" "$LINENO" 5; }
5162 else $as_nop
5163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5164 printf "%s\n" "yes" >&6; }
5166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5167 printf %s "checking for C compiler default output file name... " >&6; }
5168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5169 printf "%s\n" "$ac_file" >&6; }
5170 ac_exeext=$ac_cv_exeext
5172 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5173 ac_clean_files=$ac_clean_files_save
5174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5175 printf %s "checking for suffix of executables... " >&6; }
5176 if { { ac_try="$ac_link"
5177 case "(($ac_try" in
5178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5179 *) ac_try_echo=$ac_try;;
5180 esac
5181 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5182 printf "%s\n" "$ac_try_echo"; } >&5
5183 (eval "$ac_link") 2>&5
5184 ac_status=$?
5185 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5186 test $ac_status = 0; }
5187 then :
5188 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5189 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5190 # work properly (i.e., refer to `conftest.exe'), while it won't with
5191 # `rm'.
5192 for ac_file in conftest.exe conftest conftest.*; do
5193 test -f "$ac_file" || continue
5194 case $ac_file in
5195 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5196 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5197 break;;
5198 * ) break;;
5199 esac
5200 done
5201 else $as_nop
5202 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5203 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5204 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5205 See \`config.log' for more details" "$LINENO" 5; }
5207 rm -f conftest conftest$ac_cv_exeext
5208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5209 printf "%s\n" "$ac_cv_exeext" >&6; }
5211 rm -f conftest.$ac_ext
5212 EXEEXT=$ac_cv_exeext
5213 ac_exeext=$EXEEXT
5214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5215 /* end confdefs.h. */
5216 #include <stdio.h>
5218 main (void)
5220 FILE *f = fopen ("conftest.out", "w");
5221 return ferror (f) || fclose (f) != 0;
5224 return 0;
5226 _ACEOF
5227 ac_clean_files="$ac_clean_files conftest.out"
5228 # Check that the compiler produces executables we can run. If not, either
5229 # the compiler is broken, or we cross compile.
5230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5231 printf %s "checking whether we are cross compiling... " >&6; }
5232 if test "$cross_compiling" != yes; then
5233 { { ac_try="$ac_link"
5234 case "(($ac_try" in
5235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5236 *) ac_try_echo=$ac_try;;
5237 esac
5238 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5239 printf "%s\n" "$ac_try_echo"; } >&5
5240 (eval "$ac_link") 2>&5
5241 ac_status=$?
5242 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5243 test $ac_status = 0; }
5244 if { ac_try='./conftest$ac_cv_exeext'
5245 { { case "(($ac_try" in
5246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5247 *) ac_try_echo=$ac_try;;
5248 esac
5249 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5250 printf "%s\n" "$ac_try_echo"; } >&5
5251 (eval "$ac_try") 2>&5
5252 ac_status=$?
5253 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5254 test $ac_status = 0; }; }; then
5255 cross_compiling=no
5256 else
5257 if test "$cross_compiling" = maybe; then
5258 cross_compiling=yes
5259 else
5260 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5261 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5262 as_fn_error 77 "cannot run C compiled programs.
5263 If you meant to cross compile, use \`--host'.
5264 See \`config.log' for more details" "$LINENO" 5; }
5268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5269 printf "%s\n" "$cross_compiling" >&6; }
5271 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5272 ac_clean_files=$ac_clean_files_save
5273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5274 printf %s "checking for suffix of object files... " >&6; }
5275 if test ${ac_cv_objext+y}
5276 then :
5277 printf %s "(cached) " >&6
5278 else $as_nop
5279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5280 /* end confdefs.h. */
5283 main (void)
5287 return 0;
5289 _ACEOF
5290 rm -f conftest.o conftest.obj
5291 if { { ac_try="$ac_compile"
5292 case "(($ac_try" in
5293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5294 *) ac_try_echo=$ac_try;;
5295 esac
5296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5297 printf "%s\n" "$ac_try_echo"; } >&5
5298 (eval "$ac_compile") 2>&5
5299 ac_status=$?
5300 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5301 test $ac_status = 0; }
5302 then :
5303 for ac_file in conftest.o conftest.obj conftest.*; do
5304 test -f "$ac_file" || continue;
5305 case $ac_file in
5306 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5307 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5308 break;;
5309 esac
5310 done
5311 else $as_nop
5312 printf "%s\n" "$as_me: failed program was:" >&5
5313 sed 's/^/| /' conftest.$ac_ext >&5
5315 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5316 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5317 as_fn_error $? "cannot compute suffix of object files: cannot compile
5318 See \`config.log' for more details" "$LINENO" 5; }
5320 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5323 printf "%s\n" "$ac_cv_objext" >&6; }
5324 OBJEXT=$ac_cv_objext
5325 ac_objext=$OBJEXT
5326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5327 printf %s "checking whether the compiler supports GNU C... " >&6; }
5328 if test ${ac_cv_c_compiler_gnu+y}
5329 then :
5330 printf %s "(cached) " >&6
5331 else $as_nop
5332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5333 /* end confdefs.h. */
5336 main (void)
5338 #ifndef __GNUC__
5339 choke me
5340 #endif
5343 return 0;
5345 _ACEOF
5346 if ac_fn_c_try_compile "$LINENO"
5347 then :
5348 ac_compiler_gnu=yes
5349 else $as_nop
5350 ac_compiler_gnu=no
5352 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5353 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5357 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5360 if test $ac_compiler_gnu = yes; then
5361 GCC=yes
5362 else
5363 GCC=
5365 ac_test_CFLAGS=${CFLAGS+y}
5366 ac_save_CFLAGS=$CFLAGS
5367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5368 printf %s "checking whether $CC accepts -g... " >&6; }
5369 if test ${ac_cv_prog_cc_g+y}
5370 then :
5371 printf %s "(cached) " >&6
5372 else $as_nop
5373 ac_save_c_werror_flag=$ac_c_werror_flag
5374 ac_c_werror_flag=yes
5375 ac_cv_prog_cc_g=no
5376 CFLAGS="-g"
5377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5378 /* end confdefs.h. */
5381 main (void)
5385 return 0;
5387 _ACEOF
5388 if ac_fn_c_try_compile "$LINENO"
5389 then :
5390 ac_cv_prog_cc_g=yes
5391 else $as_nop
5392 CFLAGS=""
5393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5394 /* end confdefs.h. */
5397 main (void)
5401 return 0;
5403 _ACEOF
5404 if ac_fn_c_try_compile "$LINENO"
5405 then :
5407 else $as_nop
5408 ac_c_werror_flag=$ac_save_c_werror_flag
5409 CFLAGS="-g"
5410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5411 /* end confdefs.h. */
5414 main (void)
5418 return 0;
5420 _ACEOF
5421 if ac_fn_c_try_compile "$LINENO"
5422 then :
5423 ac_cv_prog_cc_g=yes
5425 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5427 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5429 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5430 ac_c_werror_flag=$ac_save_c_werror_flag
5432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5433 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5434 if test $ac_test_CFLAGS; then
5435 CFLAGS=$ac_save_CFLAGS
5436 elif test $ac_cv_prog_cc_g = yes; then
5437 if test "$GCC" = yes; then
5438 CFLAGS="-g -O2"
5439 else
5440 CFLAGS="-g"
5442 else
5443 if test "$GCC" = yes; then
5444 CFLAGS="-O2"
5445 else
5446 CFLAGS=
5449 ac_prog_cc_stdc=no
5450 if test x$ac_prog_cc_stdc = xno
5451 then :
5452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5453 printf %s "checking for $CC option to enable C11 features... " >&6; }
5454 if test ${ac_cv_prog_cc_c11+y}
5455 then :
5456 printf %s "(cached) " >&6
5457 else $as_nop
5458 ac_cv_prog_cc_c11=no
5459 ac_save_CC=$CC
5460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5461 /* end confdefs.h. */
5462 $ac_c_conftest_c11_program
5463 _ACEOF
5464 for ac_arg in '' -std=gnu11
5466 CC="$ac_save_CC $ac_arg"
5467 if ac_fn_c_try_compile "$LINENO"
5468 then :
5469 ac_cv_prog_cc_c11=$ac_arg
5471 rm -f core conftest.err conftest.$ac_objext conftest.beam
5472 test "x$ac_cv_prog_cc_c11" != "xno" && break
5473 done
5474 rm -f conftest.$ac_ext
5475 CC=$ac_save_CC
5478 if test "x$ac_cv_prog_cc_c11" = xno
5479 then :
5480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5481 printf "%s\n" "unsupported" >&6; }
5482 else $as_nop
5483 if test "x$ac_cv_prog_cc_c11" = x
5484 then :
5485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5486 printf "%s\n" "none needed" >&6; }
5487 else $as_nop
5488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5489 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5490 CC="$CC $ac_cv_prog_cc_c11"
5492 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5493 ac_prog_cc_stdc=c11
5496 if test x$ac_prog_cc_stdc = xno
5497 then :
5498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5499 printf %s "checking for $CC option to enable C99 features... " >&6; }
5500 if test ${ac_cv_prog_cc_c99+y}
5501 then :
5502 printf %s "(cached) " >&6
5503 else $as_nop
5504 ac_cv_prog_cc_c99=no
5505 ac_save_CC=$CC
5506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5507 /* end confdefs.h. */
5508 $ac_c_conftest_c99_program
5509 _ACEOF
5510 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5512 CC="$ac_save_CC $ac_arg"
5513 if ac_fn_c_try_compile "$LINENO"
5514 then :
5515 ac_cv_prog_cc_c99=$ac_arg
5517 rm -f core conftest.err conftest.$ac_objext conftest.beam
5518 test "x$ac_cv_prog_cc_c99" != "xno" && break
5519 done
5520 rm -f conftest.$ac_ext
5521 CC=$ac_save_CC
5524 if test "x$ac_cv_prog_cc_c99" = xno
5525 then :
5526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5527 printf "%s\n" "unsupported" >&6; }
5528 else $as_nop
5529 if test "x$ac_cv_prog_cc_c99" = x
5530 then :
5531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5532 printf "%s\n" "none needed" >&6; }
5533 else $as_nop
5534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5535 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5536 CC="$CC $ac_cv_prog_cc_c99"
5538 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5539 ac_prog_cc_stdc=c99
5542 if test x$ac_prog_cc_stdc = xno
5543 then :
5544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5545 printf %s "checking for $CC option to enable C89 features... " >&6; }
5546 if test ${ac_cv_prog_cc_c89+y}
5547 then :
5548 printf %s "(cached) " >&6
5549 else $as_nop
5550 ac_cv_prog_cc_c89=no
5551 ac_save_CC=$CC
5552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5553 /* end confdefs.h. */
5554 $ac_c_conftest_c89_program
5555 _ACEOF
5556 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5558 CC="$ac_save_CC $ac_arg"
5559 if ac_fn_c_try_compile "$LINENO"
5560 then :
5561 ac_cv_prog_cc_c89=$ac_arg
5563 rm -f core conftest.err conftest.$ac_objext conftest.beam
5564 test "x$ac_cv_prog_cc_c89" != "xno" && break
5565 done
5566 rm -f conftest.$ac_ext
5567 CC=$ac_save_CC
5570 if test "x$ac_cv_prog_cc_c89" = xno
5571 then :
5572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5573 printf "%s\n" "unsupported" >&6; }
5574 else $as_nop
5575 if test "x$ac_cv_prog_cc_c89" = x
5576 then :
5577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5578 printf "%s\n" "none needed" >&6; }
5579 else $as_nop
5580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5581 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5582 CC="$CC $ac_cv_prog_cc_c89"
5584 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5585 ac_prog_cc_stdc=c89
5589 ac_ext=c
5590 ac_cpp='$CPP $CPPFLAGS'
5591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5601 ac_ext=cpp
5602 ac_cpp='$CXXCPP $CPPFLAGS'
5603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5606 if test -z "$CXX"; then
5607 if test -n "$CCC"; then
5608 CXX=$CCC
5609 else
5610 if test -n "$ac_tool_prefix"; then
5611 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5613 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5614 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5616 printf %s "checking for $ac_word... " >&6; }
5617 if test ${ac_cv_prog_CXX+y}
5618 then :
5619 printf %s "(cached) " >&6
5620 else $as_nop
5621 if test -n "$CXX"; then
5622 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5623 else
5624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5625 for as_dir in $PATH
5627 IFS=$as_save_IFS
5628 case $as_dir in #(((
5629 '') as_dir=./ ;;
5630 */) ;;
5631 *) as_dir=$as_dir/ ;;
5632 esac
5633 for ac_exec_ext in '' $ac_executable_extensions; do
5634 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5635 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5636 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5637 break 2
5639 done
5640 done
5641 IFS=$as_save_IFS
5645 CXX=$ac_cv_prog_CXX
5646 if test -n "$CXX"; then
5647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5648 printf "%s\n" "$CXX" >&6; }
5649 else
5650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5651 printf "%s\n" "no" >&6; }
5655 test -n "$CXX" && break
5656 done
5658 if test -z "$CXX"; then
5659 ac_ct_CXX=$CXX
5660 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5662 # Extract the first word of "$ac_prog", so it can be a program name with args.
5663 set dummy $ac_prog; ac_word=$2
5664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5665 printf %s "checking for $ac_word... " >&6; }
5666 if test ${ac_cv_prog_ac_ct_CXX+y}
5667 then :
5668 printf %s "(cached) " >&6
5669 else $as_nop
5670 if test -n "$ac_ct_CXX"; then
5671 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5672 else
5673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5674 for as_dir in $PATH
5676 IFS=$as_save_IFS
5677 case $as_dir in #(((
5678 '') as_dir=./ ;;
5679 */) ;;
5680 *) as_dir=$as_dir/ ;;
5681 esac
5682 for ac_exec_ext in '' $ac_executable_extensions; do
5683 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5684 ac_cv_prog_ac_ct_CXX="$ac_prog"
5685 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5686 break 2
5688 done
5689 done
5690 IFS=$as_save_IFS
5694 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5695 if test -n "$ac_ct_CXX"; then
5696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5697 printf "%s\n" "$ac_ct_CXX" >&6; }
5698 else
5699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5700 printf "%s\n" "no" >&6; }
5704 test -n "$ac_ct_CXX" && break
5705 done
5707 if test "x$ac_ct_CXX" = x; then
5708 CXX="g++"
5709 else
5710 case $cross_compiling:$ac_tool_warned in
5711 yes:)
5712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5713 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5714 ac_tool_warned=yes ;;
5715 esac
5716 CXX=$ac_ct_CXX
5722 # Provide some information about the compiler.
5723 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5724 set X $ac_compile
5725 ac_compiler=$2
5726 for ac_option in --version -v -V -qversion; do
5727 { { ac_try="$ac_compiler $ac_option >&5"
5728 case "(($ac_try" in
5729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5730 *) ac_try_echo=$ac_try;;
5731 esac
5732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5733 printf "%s\n" "$ac_try_echo"; } >&5
5734 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5735 ac_status=$?
5736 if test -s conftest.err; then
5737 sed '10a\
5738 ... rest of stderr output deleted ...
5739 10q' conftest.err >conftest.er1
5740 cat conftest.er1 >&5
5742 rm -f conftest.er1 conftest.err
5743 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5744 test $ac_status = 0; }
5745 done
5747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5748 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5749 if test ${ac_cv_cxx_compiler_gnu+y}
5750 then :
5751 printf %s "(cached) " >&6
5752 else $as_nop
5753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5754 /* end confdefs.h. */
5757 main (void)
5759 #ifndef __GNUC__
5760 choke me
5761 #endif
5764 return 0;
5766 _ACEOF
5767 if ac_fn_cxx_try_compile "$LINENO"
5768 then :
5769 ac_compiler_gnu=yes
5770 else $as_nop
5771 ac_compiler_gnu=no
5773 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5774 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5778 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5781 if test $ac_compiler_gnu = yes; then
5782 GXX=yes
5783 else
5784 GXX=
5786 ac_test_CXXFLAGS=${CXXFLAGS+y}
5787 ac_save_CXXFLAGS=$CXXFLAGS
5788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5789 printf %s "checking whether $CXX accepts -g... " >&6; }
5790 if test ${ac_cv_prog_cxx_g+y}
5791 then :
5792 printf %s "(cached) " >&6
5793 else $as_nop
5794 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5795 ac_cxx_werror_flag=yes
5796 ac_cv_prog_cxx_g=no
5797 CXXFLAGS="-g"
5798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5799 /* end confdefs.h. */
5802 main (void)
5806 return 0;
5808 _ACEOF
5809 if ac_fn_cxx_try_compile "$LINENO"
5810 then :
5811 ac_cv_prog_cxx_g=yes
5812 else $as_nop
5813 CXXFLAGS=""
5814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5815 /* end confdefs.h. */
5818 main (void)
5822 return 0;
5824 _ACEOF
5825 if ac_fn_cxx_try_compile "$LINENO"
5826 then :
5828 else $as_nop
5829 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5830 CXXFLAGS="-g"
5831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5832 /* end confdefs.h. */
5835 main (void)
5839 return 0;
5841 _ACEOF
5842 if ac_fn_cxx_try_compile "$LINENO"
5843 then :
5844 ac_cv_prog_cxx_g=yes
5846 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5848 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5850 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5851 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5854 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5855 if test $ac_test_CXXFLAGS; then
5856 CXXFLAGS=$ac_save_CXXFLAGS
5857 elif test $ac_cv_prog_cxx_g = yes; then
5858 if test "$GXX" = yes; then
5859 CXXFLAGS="-g -O2"
5860 else
5861 CXXFLAGS="-g"
5863 else
5864 if test "$GXX" = yes; then
5865 CXXFLAGS="-O2"
5866 else
5867 CXXFLAGS=
5870 ac_prog_cxx_stdcxx=no
5871 if test x$ac_prog_cxx_stdcxx = xno
5872 then :
5873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5874 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5875 if test ${ac_cv_prog_cxx_11+y}
5876 then :
5877 printf %s "(cached) " >&6
5878 else $as_nop
5879 ac_cv_prog_cxx_11=no
5880 ac_save_CXX=$CXX
5881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5882 /* end confdefs.h. */
5883 $ac_cxx_conftest_cxx11_program
5884 _ACEOF
5885 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5887 CXX="$ac_save_CXX $ac_arg"
5888 if ac_fn_cxx_try_compile "$LINENO"
5889 then :
5890 ac_cv_prog_cxx_cxx11=$ac_arg
5892 rm -f core conftest.err conftest.$ac_objext conftest.beam
5893 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5894 done
5895 rm -f conftest.$ac_ext
5896 CXX=$ac_save_CXX
5899 if test "x$ac_cv_prog_cxx_cxx11" = xno
5900 then :
5901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5902 printf "%s\n" "unsupported" >&6; }
5903 else $as_nop
5904 if test "x$ac_cv_prog_cxx_cxx11" = x
5905 then :
5906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5907 printf "%s\n" "none needed" >&6; }
5908 else $as_nop
5909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5910 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5911 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5913 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5914 ac_prog_cxx_stdcxx=cxx11
5917 if test x$ac_prog_cxx_stdcxx = xno
5918 then :
5919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5920 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5921 if test ${ac_cv_prog_cxx_98+y}
5922 then :
5923 printf %s "(cached) " >&6
5924 else $as_nop
5925 ac_cv_prog_cxx_98=no
5926 ac_save_CXX=$CXX
5927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5928 /* end confdefs.h. */
5929 $ac_cxx_conftest_cxx98_program
5930 _ACEOF
5931 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5933 CXX="$ac_save_CXX $ac_arg"
5934 if ac_fn_cxx_try_compile "$LINENO"
5935 then :
5936 ac_cv_prog_cxx_cxx98=$ac_arg
5938 rm -f core conftest.err conftest.$ac_objext conftest.beam
5939 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5940 done
5941 rm -f conftest.$ac_ext
5942 CXX=$ac_save_CXX
5945 if test "x$ac_cv_prog_cxx_cxx98" = xno
5946 then :
5947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5948 printf "%s\n" "unsupported" >&6; }
5949 else $as_nop
5950 if test "x$ac_cv_prog_cxx_cxx98" = x
5951 then :
5952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5953 printf "%s\n" "none needed" >&6; }
5954 else $as_nop
5955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5956 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5957 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5959 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5960 ac_prog_cxx_stdcxx=cxx98
5964 ac_ext=c
5965 ac_cpp='$CPP $CPPFLAGS'
5966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5970 if test -n "$ac_tool_prefix"; then
5971 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5972 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5974 printf %s "checking for $ac_word... " >&6; }
5975 if test ${ac_cv_prog_CPPBIN+y}
5976 then :
5977 printf %s "(cached) " >&6
5978 else $as_nop
5979 if test -n "$CPPBIN"; then
5980 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5981 else
5982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5983 for as_dir in $PATH
5985 IFS=$as_save_IFS
5986 case $as_dir in #(((
5987 '') as_dir=./ ;;
5988 */) ;;
5989 *) as_dir=$as_dir/ ;;
5990 esac
5991 for ac_exec_ext in '' $ac_executable_extensions; do
5992 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5993 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5994 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5995 break 2
5997 done
5998 done
5999 IFS=$as_save_IFS
6003 CPPBIN=$ac_cv_prog_CPPBIN
6004 if test -n "$CPPBIN"; then
6005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6006 printf "%s\n" "$CPPBIN" >&6; }
6007 else
6008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6009 printf "%s\n" "no" >&6; }
6014 if test -z "$ac_cv_prog_CPPBIN"; then
6015 ac_ct_CPPBIN=$CPPBIN
6016 # Extract the first word of "cpp", so it can be a program name with args.
6017 set dummy cpp; ac_word=$2
6018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6019 printf %s "checking for $ac_word... " >&6; }
6020 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6021 then :
6022 printf %s "(cached) " >&6
6023 else $as_nop
6024 if test -n "$ac_ct_CPPBIN"; then
6025 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6026 else
6027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6028 for as_dir in $PATH
6030 IFS=$as_save_IFS
6031 case $as_dir in #(((
6032 '') as_dir=./ ;;
6033 */) ;;
6034 *) as_dir=$as_dir/ ;;
6035 esac
6036 for ac_exec_ext in '' $ac_executable_extensions; do
6037 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6038 ac_cv_prog_ac_ct_CPPBIN="cpp"
6039 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6040 break 2
6042 done
6043 done
6044 IFS=$as_save_IFS
6048 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6049 if test -n "$ac_ct_CPPBIN"; then
6050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6051 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6052 else
6053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6054 printf "%s\n" "no" >&6; }
6057 if test "x$ac_ct_CPPBIN" = x; then
6058 CPPBIN="cpp"
6059 else
6060 case $cross_compiling:$ac_tool_warned in
6061 yes:)
6062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6063 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6064 ac_tool_warned=yes ;;
6065 esac
6066 CPPBIN=$ac_ct_CPPBIN
6068 else
6069 CPPBIN="$ac_cv_prog_CPPBIN"
6073 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6075 if test -n "$ac_tool_prefix"; then
6076 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6077 set dummy ${ac_tool_prefix}ld; ac_word=$2
6078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6079 printf %s "checking for $ac_word... " >&6; }
6080 if test ${ac_cv_prog_LD+y}
6081 then :
6082 printf %s "(cached) " >&6
6083 else $as_nop
6084 if test -n "$LD"; then
6085 ac_cv_prog_LD="$LD" # Let the user override the test.
6086 else
6087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6088 for as_dir in $PATH
6090 IFS=$as_save_IFS
6091 case $as_dir in #(((
6092 '') as_dir=./ ;;
6093 */) ;;
6094 *) as_dir=$as_dir/ ;;
6095 esac
6096 for ac_exec_ext in '' $ac_executable_extensions; do
6097 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6098 ac_cv_prog_LD="${ac_tool_prefix}ld"
6099 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6100 break 2
6102 done
6103 done
6104 IFS=$as_save_IFS
6108 LD=$ac_cv_prog_LD
6109 if test -n "$LD"; then
6110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6111 printf "%s\n" "$LD" >&6; }
6112 else
6113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6114 printf "%s\n" "no" >&6; }
6119 if test -z "$ac_cv_prog_LD"; then
6120 ac_ct_LD=$LD
6121 # Extract the first word of "ld", so it can be a program name with args.
6122 set dummy ld; ac_word=$2
6123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6124 printf %s "checking for $ac_word... " >&6; }
6125 if test ${ac_cv_prog_ac_ct_LD+y}
6126 then :
6127 printf %s "(cached) " >&6
6128 else $as_nop
6129 if test -n "$ac_ct_LD"; then
6130 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6131 else
6132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6133 for as_dir in $PATH
6135 IFS=$as_save_IFS
6136 case $as_dir in #(((
6137 '') as_dir=./ ;;
6138 */) ;;
6139 *) as_dir=$as_dir/ ;;
6140 esac
6141 for ac_exec_ext in '' $ac_executable_extensions; do
6142 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6143 ac_cv_prog_ac_ct_LD="ld"
6144 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6145 break 2
6147 done
6148 done
6149 IFS=$as_save_IFS
6153 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6154 if test -n "$ac_ct_LD"; then
6155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6156 printf "%s\n" "$ac_ct_LD" >&6; }
6157 else
6158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6159 printf "%s\n" "no" >&6; }
6162 if test "x$ac_ct_LD" = x; then
6163 LD=""
6164 else
6165 case $cross_compiling:$ac_tool_warned in
6166 yes:)
6167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6168 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6169 ac_tool_warned=yes ;;
6170 esac
6171 LD=$ac_ct_LD
6173 else
6174 LD="$ac_cv_prog_LD"
6178 case $host in
6179 *-darwin*)
6180 with_fontconfig=${with_fontconfig:-no}
6182 *-mingw32*|*-cygwin*)
6183 enable_win16=${enable_win16:-no}
6184 with_mingw=${with_mingw:-no}
6186 esac
6189 case $host in
6190 x86_64*|amd64*)
6191 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
6192 then
6193 CC="$CC -m32"
6194 CXX="$CXX -m32"
6196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6197 printf %s "checking whether $CC works... " >&6; }
6198 if test ${wine_cv_cc_m32+y}
6199 then :
6200 printf %s "(cached) " >&6
6201 else $as_nop
6202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6203 /* end confdefs.h. */
6206 main (void)
6210 return 0;
6212 _ACEOF
6213 if ac_fn_c_try_link "$LINENO"
6214 then :
6215 wine_cv_cc_m32=yes
6216 else $as_nop
6217 wine_cv_cc_m32=no
6219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6220 conftest$ac_exeext conftest.$ac_ext
6222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6223 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6224 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
6225 host_cpu="i386"
6226 notice_platform="32-bit "
6227 TARGETFLAGS="$TARGETFLAGS -m32"
6228 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6229 export PKG_CONFIG_PATH
6230 enable_win16=${enable_win16:-yes}
6231 with_unwind=${with_unwind:-no}
6232 else
6233 if test "x${GCC}" = "xyes"
6234 then
6235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6236 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6237 if test ${wine_cv_builtin_ms_va_list+y}
6238 then :
6239 printf %s "(cached) " >&6
6240 else $as_nop
6241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6242 /* end confdefs.h. */
6243 #include <stdarg.h>
6245 main (void)
6247 void func(__builtin_ms_va_list *args);
6249 return 0;
6251 _ACEOF
6252 if ac_fn_c_try_compile "$LINENO"
6253 then :
6254 wine_cv_builtin_ms_va_list=yes
6255 else $as_nop
6256 wine_cv_builtin_ms_va_list=no
6258 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6261 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6262 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
6264 CC="$CC -m64"
6265 CXX="$CXX -m64"
6266 host_cpu="x86_64"
6267 notice_platform="64-bit "
6268 TARGETFLAGS="$TARGETFLAGS -m64"
6269 enable_wow64=${enable_wow64:-yes}
6270 enable_wow64win=${enable_wow64win:-yes}
6271 enable_wow64cpu=${enable_wow64cpu:-yes}
6274 arm*)
6275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6276 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6277 if test ${wine_cv_thumb2+y}
6278 then :
6279 printf %s "(cached) " >&6
6280 else $as_nop
6281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6282 /* end confdefs.h. */
6285 main (void)
6287 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6289 return 0;
6291 _ACEOF
6292 if ac_fn_c_try_link "$LINENO"
6293 then :
6294 wine_cv_thumb2=yes
6295 else $as_nop
6296 wine_cv_thumb2=no
6298 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6299 conftest$ac_exeext conftest.$ac_ext
6301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6302 printf "%s\n" "$wine_cv_thumb2" >&6; }
6303 if test x"$wine_cv_thumb2" = xyes
6304 then
6305 CFLAGS="$CFLAGS -mthumb"
6306 TARGETFLAGS="$TARGETFLAGS -mthumb"
6307 else
6308 CFLAGS="$CFLAGS -marm"
6309 TARGETFLAGS="$TARGETFLAGS -marm"
6311 case $with_float_abi in
6312 soft|softfp|hard)
6313 float_abi=$with_float_abi ;;
6315 case $host_os in
6316 *eabihf)
6317 float_abi=hard ;;
6319 float_abi=softfp
6320 saved_CFLAGS=$CFLAGS
6321 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6323 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6324 if test ${wine_cv_float_abi+y}
6325 then :
6326 printf %s "(cached) " >&6
6327 else $as_nop
6328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6329 /* end confdefs.h. */
6332 main (void)
6334 asm("vmrs r2,fpscr");
6336 return 0;
6338 _ACEOF
6339 if ac_fn_c_try_link "$LINENO"
6340 then :
6341 wine_cv_float_abi=yes
6342 else $as_nop
6343 wine_cv_float_abi=no
6345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6346 conftest$ac_exeext conftest.$ac_ext
6348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6349 printf "%s\n" "$wine_cv_float_abi" >&6; }
6350 if test $wine_cv_float_abi = no
6351 then
6352 float_abi=soft
6353 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6355 CFLAGS=$saved_CFLAGS
6356 esac
6358 esac
6359 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6360 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6362 aarch64*)
6363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6364 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6365 if test ${wine_cv_builtin_ms_va_list+y}
6366 then :
6367 printf %s "(cached) " >&6
6368 else $as_nop
6369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6370 /* end confdefs.h. */
6371 #include <stdarg.h>
6373 main (void)
6375 void func(__builtin_ms_va_list *args);
6377 return 0;
6379 _ACEOF
6380 if ac_fn_c_try_compile "$LINENO"
6381 then :
6382 wine_cv_builtin_ms_va_list=yes
6383 else $as_nop
6384 wine_cv_builtin_ms_va_list=no
6386 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6389 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6390 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
6391 enable_wow64=${enable_wow64:-yes}
6392 enable_wow64win=${enable_wow64win:-yes}
6394 i[3456789]86*)
6395 enable_win16=${enable_win16:-yes}
6396 with_unwind=${with_unwind:-no}
6398 esac
6400 enable_win16=${enable_win16:-no}
6401 enable_win64=${enable_win64:-no}
6402 enable_wow64=${enable_wow64:-no}
6403 enable_wow64win=${enable_wow64win:-no}
6404 enable_wow64cpu=${enable_wow64cpu:-no}
6406 enable_winetest=${enable_winetest:-$enable_tests}
6408 if test "x$enable_win64" = "xyes"
6409 then
6410 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6411 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6414 case $build_os in
6415 cygwin*|mingw32*) toolsext=".exe"
6417 *) toolsext=""
6419 esac
6421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6422 printf %s "checking for the directory containing the Wine tools... " >&6; }
6423 if test ${wine_cv_toolsdir+y}
6424 then :
6425 printf %s "(cached) " >&6
6426 else $as_nop
6427 wine_cv_toolsdir="$with_wine_tools"
6428 if test -z "$with_wine_tools"; then
6429 if test "$cross_compiling" = "yes"; then
6430 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6431 elif test -n "$with_wine64"; then
6432 wine_cv_toolsdir="$with_wine64"
6436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6437 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6438 if test -z "$wine_cv_toolsdir"; then
6439 wine_makedep=tools/makedep$toolsext
6440 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6441 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6442 enable_tools=${enable_tools:-no}
6443 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6444 else
6445 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6447 toolsdir=$wine_cv_toolsdir
6449 MAKEDEP=$wine_makedep
6451 RUNTESTFLAGS="-q -P wine"
6453 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'"
6456 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6457 then
6458 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6461 for ac_prog in flex
6463 # Extract the first word of "$ac_prog", so it can be a program name with args.
6464 set dummy $ac_prog; ac_word=$2
6465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6466 printf %s "checking for $ac_word... " >&6; }
6467 if test ${ac_cv_prog_FLEX+y}
6468 then :
6469 printf %s "(cached) " >&6
6470 else $as_nop
6471 if test -n "$FLEX"; then
6472 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6473 else
6474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6475 for as_dir in $PATH
6477 IFS=$as_save_IFS
6478 case $as_dir in #(((
6479 '') as_dir=./ ;;
6480 */) ;;
6481 *) as_dir=$as_dir/ ;;
6482 esac
6483 for ac_exec_ext in '' $ac_executable_extensions; do
6484 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6485 ac_cv_prog_FLEX="$ac_prog"
6486 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6487 break 2
6489 done
6490 done
6491 IFS=$as_save_IFS
6495 FLEX=$ac_cv_prog_FLEX
6496 if test -n "$FLEX"; then
6497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6498 printf "%s\n" "$FLEX" >&6; }
6499 else
6500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6501 printf "%s\n" "no" >&6; }
6505 test -n "$FLEX" && break
6506 done
6507 test -n "$FLEX" || FLEX="none"
6509 if test "$FLEX" = "none"
6510 then
6511 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6514 printf %s "checking whether flex is recent enough... " >&6; }
6515 if test ${wine_cv_recent_flex+y}
6516 then :
6517 printf %s "(cached) " >&6
6518 else $as_nop
6519 cat >conftest.l <<EOF
6520 %top{
6521 #include "prediluvian.h"
6525 if $FLEX -t conftest.l >/dev/null 2>&5
6526 then
6527 wine_cv_recent_flex=yes
6528 else
6529 wine_cv_recent_flex=no
6532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6533 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6534 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
6536 for ac_prog in bison
6538 # Extract the first word of "$ac_prog", so it can be a program name with args.
6539 set dummy $ac_prog; ac_word=$2
6540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6541 printf %s "checking for $ac_word... " >&6; }
6542 if test ${ac_cv_prog_BISON+y}
6543 then :
6544 printf %s "(cached) " >&6
6545 else $as_nop
6546 if test -n "$BISON"; then
6547 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6548 else
6549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6550 for as_dir in $PATH
6552 IFS=$as_save_IFS
6553 case $as_dir in #(((
6554 '') as_dir=./ ;;
6555 */) ;;
6556 *) as_dir=$as_dir/ ;;
6557 esac
6558 for ac_exec_ext in '' $ac_executable_extensions; do
6559 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6560 ac_cv_prog_BISON="$ac_prog"
6561 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6562 break 2
6564 done
6565 done
6566 IFS=$as_save_IFS
6570 BISON=$ac_cv_prog_BISON
6571 if test -n "$BISON"; then
6572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6573 printf "%s\n" "$BISON" >&6; }
6574 else
6575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6576 printf "%s\n" "no" >&6; }
6580 test -n "$BISON" && break
6581 done
6582 test -n "$BISON" || BISON="none"
6584 if test "$BISON" = "none"
6585 then
6586 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6589 printf %s "checking whether bison is recent enough... " >&6; }
6590 if test ${wine_cv_recent_bison+y}
6591 then :
6592 printf %s "(cached) " >&6
6593 else $as_nop
6594 cat >conftest.y <<EOF
6595 %define parse.error verbose
6597 empty: ;
6599 if $BISON conftest.y >/dev/null 2>&5
6600 then
6601 wine_cv_recent_bison=yes
6602 else
6603 wine_cv_recent_bison=no
6606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6607 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6608 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
6610 if test -n "$ac_tool_prefix"; then
6611 for ac_prog in ar gar
6613 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6614 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6616 printf %s "checking for $ac_word... " >&6; }
6617 if test ${ac_cv_prog_AR+y}
6618 then :
6619 printf %s "(cached) " >&6
6620 else $as_nop
6621 if test -n "$AR"; then
6622 ac_cv_prog_AR="$AR" # Let the user override the test.
6623 else
6624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6625 for as_dir in $PATH
6627 IFS=$as_save_IFS
6628 case $as_dir in #(((
6629 '') as_dir=./ ;;
6630 */) ;;
6631 *) as_dir=$as_dir/ ;;
6632 esac
6633 for ac_exec_ext in '' $ac_executable_extensions; do
6634 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6635 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6636 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6637 break 2
6639 done
6640 done
6641 IFS=$as_save_IFS
6645 AR=$ac_cv_prog_AR
6646 if test -n "$AR"; then
6647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6648 printf "%s\n" "$AR" >&6; }
6649 else
6650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6651 printf "%s\n" "no" >&6; }
6655 test -n "$AR" && break
6656 done
6658 if test -z "$AR"; then
6659 ac_ct_AR=$AR
6660 for ac_prog in ar gar
6662 # Extract the first word of "$ac_prog", so it can be a program name with args.
6663 set dummy $ac_prog; ac_word=$2
6664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6665 printf %s "checking for $ac_word... " >&6; }
6666 if test ${ac_cv_prog_ac_ct_AR+y}
6667 then :
6668 printf %s "(cached) " >&6
6669 else $as_nop
6670 if test -n "$ac_ct_AR"; then
6671 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6672 else
6673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6674 for as_dir in $PATH
6676 IFS=$as_save_IFS
6677 case $as_dir in #(((
6678 '') as_dir=./ ;;
6679 */) ;;
6680 *) as_dir=$as_dir/ ;;
6681 esac
6682 for ac_exec_ext in '' $ac_executable_extensions; do
6683 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6684 ac_cv_prog_ac_ct_AR="$ac_prog"
6685 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6686 break 2
6688 done
6689 done
6690 IFS=$as_save_IFS
6694 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6695 if test -n "$ac_ct_AR"; then
6696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6697 printf "%s\n" "$ac_ct_AR" >&6; }
6698 else
6699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6700 printf "%s\n" "no" >&6; }
6704 test -n "$ac_ct_AR" && break
6705 done
6707 if test "x$ac_ct_AR" = x; then
6708 AR="ar"
6709 else
6710 case $cross_compiling:$ac_tool_warned in
6711 yes:)
6712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6713 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6714 ac_tool_warned=yes ;;
6715 esac
6716 AR=$ac_ct_AR
6720 if test -n "$ac_tool_prefix"; then
6721 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6722 set dummy ${ac_tool_prefix}strip; ac_word=$2
6723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6724 printf %s "checking for $ac_word... " >&6; }
6725 if test ${ac_cv_prog_STRIP+y}
6726 then :
6727 printf %s "(cached) " >&6
6728 else $as_nop
6729 if test -n "$STRIP"; then
6730 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6731 else
6732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6733 for as_dir in $PATH
6735 IFS=$as_save_IFS
6736 case $as_dir in #(((
6737 '') as_dir=./ ;;
6738 */) ;;
6739 *) as_dir=$as_dir/ ;;
6740 esac
6741 for ac_exec_ext in '' $ac_executable_extensions; do
6742 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6743 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6744 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6745 break 2
6747 done
6748 done
6749 IFS=$as_save_IFS
6753 STRIP=$ac_cv_prog_STRIP
6754 if test -n "$STRIP"; then
6755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6756 printf "%s\n" "$STRIP" >&6; }
6757 else
6758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6759 printf "%s\n" "no" >&6; }
6764 if test -z "$ac_cv_prog_STRIP"; then
6765 ac_ct_STRIP=$STRIP
6766 # Extract the first word of "strip", so it can be a program name with args.
6767 set dummy strip; ac_word=$2
6768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6769 printf %s "checking for $ac_word... " >&6; }
6770 if test ${ac_cv_prog_ac_ct_STRIP+y}
6771 then :
6772 printf %s "(cached) " >&6
6773 else $as_nop
6774 if test -n "$ac_ct_STRIP"; then
6775 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6776 else
6777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6778 for as_dir in $PATH
6780 IFS=$as_save_IFS
6781 case $as_dir in #(((
6782 '') as_dir=./ ;;
6783 */) ;;
6784 *) as_dir=$as_dir/ ;;
6785 esac
6786 for ac_exec_ext in '' $ac_executable_extensions; do
6787 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6788 ac_cv_prog_ac_ct_STRIP="strip"
6789 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6790 break 2
6792 done
6793 done
6794 IFS=$as_save_IFS
6798 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6799 if test -n "$ac_ct_STRIP"; then
6800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6801 printf "%s\n" "$ac_ct_STRIP" >&6; }
6802 else
6803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6804 printf "%s\n" "no" >&6; }
6807 if test "x$ac_ct_STRIP" = x; then
6808 STRIP="strip"
6809 else
6810 case $cross_compiling:$ac_tool_warned in
6811 yes:)
6812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6813 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6814 ac_tool_warned=yes ;;
6815 esac
6816 STRIP=$ac_ct_STRIP
6818 else
6819 STRIP="$ac_cv_prog_STRIP"
6822 if test -n "$ac_tool_prefix"; then
6823 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6824 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6826 printf %s "checking for $ac_word... " >&6; }
6827 if test ${ac_cv_prog_RANLIB+y}
6828 then :
6829 printf %s "(cached) " >&6
6830 else $as_nop
6831 if test -n "$RANLIB"; then
6832 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6833 else
6834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6835 for as_dir in $PATH
6837 IFS=$as_save_IFS
6838 case $as_dir in #(((
6839 '') as_dir=./ ;;
6840 */) ;;
6841 *) as_dir=$as_dir/ ;;
6842 esac
6843 for ac_exec_ext in '' $ac_executable_extensions; do
6844 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6845 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6846 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6847 break 2
6849 done
6850 done
6851 IFS=$as_save_IFS
6855 RANLIB=$ac_cv_prog_RANLIB
6856 if test -n "$RANLIB"; then
6857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6858 printf "%s\n" "$RANLIB" >&6; }
6859 else
6860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6861 printf "%s\n" "no" >&6; }
6866 if test -z "$ac_cv_prog_RANLIB"; then
6867 ac_ct_RANLIB=$RANLIB
6868 # Extract the first word of "ranlib", so it can be a program name with args.
6869 set dummy ranlib; ac_word=$2
6870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6871 printf %s "checking for $ac_word... " >&6; }
6872 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6873 then :
6874 printf %s "(cached) " >&6
6875 else $as_nop
6876 if test -n "$ac_ct_RANLIB"; then
6877 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6878 else
6879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6880 for as_dir in $PATH
6882 IFS=$as_save_IFS
6883 case $as_dir in #(((
6884 '') as_dir=./ ;;
6885 */) ;;
6886 *) as_dir=$as_dir/ ;;
6887 esac
6888 for ac_exec_ext in '' $ac_executable_extensions; do
6889 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6890 ac_cv_prog_ac_ct_RANLIB="ranlib"
6891 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6892 break 2
6894 done
6895 done
6896 IFS=$as_save_IFS
6900 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6901 if test -n "$ac_ct_RANLIB"; then
6902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6903 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6904 else
6905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6906 printf "%s\n" "no" >&6; }
6909 if test "x$ac_ct_RANLIB" = x; then
6910 RANLIB=":"
6911 else
6912 case $cross_compiling:$ac_tool_warned in
6913 yes:)
6914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6915 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6916 ac_tool_warned=yes ;;
6917 esac
6918 RANLIB=$ac_ct_RANLIB
6920 else
6921 RANLIB="$ac_cv_prog_RANLIB"
6924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6925 printf %s "checking whether ln -s works... " >&6; }
6926 LN_S=$as_ln_s
6927 if test "$LN_S" = "ln -s"; then
6928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6929 printf "%s\n" "yes" >&6; }
6930 else
6931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6932 printf "%s\n" "no, using $LN_S" >&6; }
6935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6936 printf %s "checking for grep that handles long lines and -e... " >&6; }
6937 if test ${ac_cv_path_GREP+y}
6938 then :
6939 printf %s "(cached) " >&6
6940 else $as_nop
6941 if test -z "$GREP"; then
6942 ac_path_GREP_found=false
6943 # Loop through the user's path and test for each of PROGNAME-LIST
6944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6945 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6947 IFS=$as_save_IFS
6948 case $as_dir in #(((
6949 '') as_dir=./ ;;
6950 */) ;;
6951 *) as_dir=$as_dir/ ;;
6952 esac
6953 for ac_prog in grep ggrep
6955 for ac_exec_ext in '' $ac_executable_extensions; do
6956 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6957 as_fn_executable_p "$ac_path_GREP" || continue
6958 # Check for GNU ac_path_GREP and select it if it is found.
6959 # Check for GNU $ac_path_GREP
6960 case `"$ac_path_GREP" --version 2>&1` in
6961 *GNU*)
6962 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6964 ac_count=0
6965 printf %s 0123456789 >"conftest.in"
6966 while :
6968 cat "conftest.in" "conftest.in" >"conftest.tmp"
6969 mv "conftest.tmp" "conftest.in"
6970 cp "conftest.in" "conftest.nl"
6971 printf "%s\n" 'GREP' >> "conftest.nl"
6972 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6973 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6974 as_fn_arith $ac_count + 1 && ac_count=$as_val
6975 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6976 # Best one so far, save it but keep looking for a better one
6977 ac_cv_path_GREP="$ac_path_GREP"
6978 ac_path_GREP_max=$ac_count
6980 # 10*(2^10) chars as input seems more than enough
6981 test $ac_count -gt 10 && break
6982 done
6983 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6984 esac
6986 $ac_path_GREP_found && break 3
6987 done
6988 done
6989 done
6990 IFS=$as_save_IFS
6991 if test -z "$ac_cv_path_GREP"; then
6992 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6994 else
6995 ac_cv_path_GREP=$GREP
6999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7000 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7001 GREP="$ac_cv_path_GREP"
7004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7005 printf %s "checking for egrep... " >&6; }
7006 if test ${ac_cv_path_EGREP+y}
7007 then :
7008 printf %s "(cached) " >&6
7009 else $as_nop
7010 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7011 then ac_cv_path_EGREP="$GREP -E"
7012 else
7013 if test -z "$EGREP"; then
7014 ac_path_EGREP_found=false
7015 # Loop through the user's path and test for each of PROGNAME-LIST
7016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7017 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7019 IFS=$as_save_IFS
7020 case $as_dir in #(((
7021 '') as_dir=./ ;;
7022 */) ;;
7023 *) as_dir=$as_dir/ ;;
7024 esac
7025 for ac_prog in egrep
7027 for ac_exec_ext in '' $ac_executable_extensions; do
7028 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7029 as_fn_executable_p "$ac_path_EGREP" || continue
7030 # Check for GNU ac_path_EGREP and select it if it is found.
7031 # Check for GNU $ac_path_EGREP
7032 case `"$ac_path_EGREP" --version 2>&1` in
7033 *GNU*)
7034 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7036 ac_count=0
7037 printf %s 0123456789 >"conftest.in"
7038 while :
7040 cat "conftest.in" "conftest.in" >"conftest.tmp"
7041 mv "conftest.tmp" "conftest.in"
7042 cp "conftest.in" "conftest.nl"
7043 printf "%s\n" 'EGREP' >> "conftest.nl"
7044 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7045 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7046 as_fn_arith $ac_count + 1 && ac_count=$as_val
7047 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7048 # Best one so far, save it but keep looking for a better one
7049 ac_cv_path_EGREP="$ac_path_EGREP"
7050 ac_path_EGREP_max=$ac_count
7052 # 10*(2^10) chars as input seems more than enough
7053 test $ac_count -gt 10 && break
7054 done
7055 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7056 esac
7058 $ac_path_EGREP_found && break 3
7059 done
7060 done
7061 done
7062 IFS=$as_save_IFS
7063 if test -z "$ac_cv_path_EGREP"; then
7064 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7066 else
7067 ac_cv_path_EGREP=$EGREP
7072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7073 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7074 EGREP="$ac_cv_path_EGREP"
7077 # Extract the first word of "ldconfig", so it can be a program name with args.
7078 set dummy ldconfig; ac_word=$2
7079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7080 printf %s "checking for $ac_word... " >&6; }
7081 if test ${ac_cv_path_LDCONFIG+y}
7082 then :
7083 printf %s "(cached) " >&6
7084 else $as_nop
7085 case $LDCONFIG in
7086 [\\/]* | ?:[\\/]*)
7087 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7091 for as_dir in /sbin /usr/sbin $PATH
7093 IFS=$as_save_IFS
7094 case $as_dir in #(((
7095 '') as_dir=./ ;;
7096 */) ;;
7097 *) as_dir=$as_dir/ ;;
7098 esac
7099 for ac_exec_ext in '' $ac_executable_extensions; do
7100 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7101 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7102 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7103 break 2
7105 done
7106 done
7107 IFS=$as_save_IFS
7109 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7111 esac
7113 LDCONFIG=$ac_cv_path_LDCONFIG
7114 if test -n "$LDCONFIG"; then
7115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7116 printf "%s\n" "$LDCONFIG" >&6; }
7117 else
7118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7119 printf "%s\n" "no" >&6; }
7123 for ac_prog in msgfmt
7125 # Extract the first word of "$ac_prog", so it can be a program name with args.
7126 set dummy $ac_prog; ac_word=$2
7127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7128 printf %s "checking for $ac_word... " >&6; }
7129 if test ${ac_cv_prog_MSGFMT+y}
7130 then :
7131 printf %s "(cached) " >&6
7132 else $as_nop
7133 if test -n "$MSGFMT"; then
7134 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7135 else
7136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7137 for as_dir in $PATH
7139 IFS=$as_save_IFS
7140 case $as_dir in #(((
7141 '') as_dir=./ ;;
7142 */) ;;
7143 *) as_dir=$as_dir/ ;;
7144 esac
7145 for ac_exec_ext in '' $ac_executable_extensions; do
7146 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7147 ac_cv_prog_MSGFMT="$ac_prog"
7148 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7149 break 2
7151 done
7152 done
7153 IFS=$as_save_IFS
7157 MSGFMT=$ac_cv_prog_MSGFMT
7158 if test -n "$MSGFMT"; then
7159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7160 printf "%s\n" "$MSGFMT" >&6; }
7161 else
7162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7163 printf "%s\n" "no" >&6; }
7167 test -n "$MSGFMT" && break
7168 done
7169 test -n "$MSGFMT" || MSGFMT="false"
7171 if test ${ac_tool_prefix+y}
7172 then :
7173 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7174 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7176 printf %s "checking for $ac_word... " >&6; }
7177 if test ${ac_cv_prog_PKG_CONFIG+y}
7178 then :
7179 printf %s "(cached) " >&6
7180 else $as_nop
7181 if test -n "$PKG_CONFIG"; then
7182 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7183 else
7184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7185 for as_dir in $PATH
7187 IFS=$as_save_IFS
7188 case $as_dir in #(((
7189 '') as_dir=./ ;;
7190 */) ;;
7191 *) as_dir=$as_dir/ ;;
7192 esac
7193 for ac_exec_ext in '' $ac_executable_extensions; do
7194 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7195 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7196 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7197 break 2
7199 done
7200 done
7201 IFS=$as_save_IFS
7205 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7206 if test -n "$PKG_CONFIG"; then
7207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7208 printf "%s\n" "$PKG_CONFIG" >&6; }
7209 else
7210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7211 printf "%s\n" "no" >&6; }
7216 if ${ac_cv_prog_PKG_CONFIG:+false} :
7217 then :
7218 if test "x$cross_compiling" = xyes
7219 then :
7221 else $as_nop
7222 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7223 # Extract the first word of "pkg-config", so it can be a program name with args.
7224 set dummy pkg-config; ac_word=$2
7225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7226 printf %s "checking for $ac_word... " >&6; }
7227 if test ${ac_cv_prog_PKG_CONFIG+y}
7228 then :
7229 printf %s "(cached) " >&6
7230 else $as_nop
7231 if test -n "$PKG_CONFIG"; then
7232 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7233 else
7234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7235 for as_dir in $PATH
7237 IFS=$as_save_IFS
7238 case $as_dir in #(((
7239 '') as_dir=./ ;;
7240 */) ;;
7241 *) as_dir=$as_dir/ ;;
7242 esac
7243 for ac_exec_ext in '' $ac_executable_extensions; do
7244 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7245 ac_cv_prog_PKG_CONFIG="pkg-config"
7246 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7247 break 2
7249 done
7250 done
7251 IFS=$as_save_IFS
7255 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7256 if test -n "$PKG_CONFIG"; then
7257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7258 printf "%s\n" "$PKG_CONFIG" >&6; }
7259 else
7260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7261 printf "%s\n" "no" >&6; }
7266 else $as_nop
7267 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7270 if test "x$enable_maintainer_mode" != "xyes"
7271 then
7272 FONTFORGE=""
7273 RSVG=""
7274 CONVERT=""
7275 ICOTOOL=""
7276 else
7277 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7278 for ac_prog in fontforge
7280 # Extract the first word of "$ac_prog", so it can be a program name with args.
7281 set dummy $ac_prog; ac_word=$2
7282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7283 printf %s "checking for $ac_word... " >&6; }
7284 if test ${ac_cv_prog_FONTFORGE+y}
7285 then :
7286 printf %s "(cached) " >&6
7287 else $as_nop
7288 if test -n "$FONTFORGE"; then
7289 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7290 else
7291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7292 for as_dir in $PATH
7294 IFS=$as_save_IFS
7295 case $as_dir in #(((
7296 '') as_dir=./ ;;
7297 */) ;;
7298 *) as_dir=$as_dir/ ;;
7299 esac
7300 for ac_exec_ext in '' $ac_executable_extensions; do
7301 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7302 ac_cv_prog_FONTFORGE="$ac_prog"
7303 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7304 break 2
7306 done
7307 done
7308 IFS=$as_save_IFS
7312 FONTFORGE=$ac_cv_prog_FONTFORGE
7313 if test -n "$FONTFORGE"; then
7314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7315 printf "%s\n" "$FONTFORGE" >&6; }
7316 else
7317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7318 printf "%s\n" "no" >&6; }
7322 test -n "$FONTFORGE" && break
7323 done
7324 test -n "$FONTFORGE" || FONTFORGE="false"
7326 for ac_prog in rsvg-convert rsvg
7328 # Extract the first word of "$ac_prog", so it can be a program name with args.
7329 set dummy $ac_prog; ac_word=$2
7330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7331 printf %s "checking for $ac_word... " >&6; }
7332 if test ${ac_cv_prog_RSVG+y}
7333 then :
7334 printf %s "(cached) " >&6
7335 else $as_nop
7336 if test -n "$RSVG"; then
7337 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7338 else
7339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7340 for as_dir in $PATH
7342 IFS=$as_save_IFS
7343 case $as_dir in #(((
7344 '') as_dir=./ ;;
7345 */) ;;
7346 *) as_dir=$as_dir/ ;;
7347 esac
7348 for ac_exec_ext in '' $ac_executable_extensions; do
7349 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7350 ac_cv_prog_RSVG="$ac_prog"
7351 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7352 break 2
7354 done
7355 done
7356 IFS=$as_save_IFS
7360 RSVG=$ac_cv_prog_RSVG
7361 if test -n "$RSVG"; then
7362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7363 printf "%s\n" "$RSVG" >&6; }
7364 else
7365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7366 printf "%s\n" "no" >&6; }
7370 test -n "$RSVG" && break
7371 done
7372 test -n "$RSVG" || RSVG="false"
7374 for ac_prog in convert
7376 # Extract the first word of "$ac_prog", so it can be a program name with args.
7377 set dummy $ac_prog; ac_word=$2
7378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7379 printf %s "checking for $ac_word... " >&6; }
7380 if test ${ac_cv_prog_CONVERT+y}
7381 then :
7382 printf %s "(cached) " >&6
7383 else $as_nop
7384 if test -n "$CONVERT"; then
7385 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7386 else
7387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7388 for as_dir in $PATH
7390 IFS=$as_save_IFS
7391 case $as_dir in #(((
7392 '') as_dir=./ ;;
7393 */) ;;
7394 *) as_dir=$as_dir/ ;;
7395 esac
7396 for ac_exec_ext in '' $ac_executable_extensions; do
7397 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7398 ac_cv_prog_CONVERT="$ac_prog"
7399 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7400 break 2
7402 done
7403 done
7404 IFS=$as_save_IFS
7408 CONVERT=$ac_cv_prog_CONVERT
7409 if test -n "$CONVERT"; then
7410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7411 printf "%s\n" "$CONVERT" >&6; }
7412 else
7413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7414 printf "%s\n" "no" >&6; }
7418 test -n "$CONVERT" && break
7419 done
7420 test -n "$CONVERT" || CONVERT="false"
7422 for ac_prog in icotool
7424 # Extract the first word of "$ac_prog", so it can be a program name with args.
7425 set dummy $ac_prog; ac_word=$2
7426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7427 printf %s "checking for $ac_word... " >&6; }
7428 if test ${ac_cv_prog_ICOTOOL+y}
7429 then :
7430 printf %s "(cached) " >&6
7431 else $as_nop
7432 if test -n "$ICOTOOL"; then
7433 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7434 else
7435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7436 for as_dir in $PATH
7438 IFS=$as_save_IFS
7439 case $as_dir in #(((
7440 '') as_dir=./ ;;
7441 */) ;;
7442 *) as_dir=$as_dir/ ;;
7443 esac
7444 for ac_exec_ext in '' $ac_executable_extensions; do
7445 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7446 ac_cv_prog_ICOTOOL="$ac_prog"
7447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7448 break 2
7450 done
7451 done
7452 IFS=$as_save_IFS
7456 ICOTOOL=$ac_cv_prog_ICOTOOL
7457 if test -n "$ICOTOOL"; then
7458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7459 printf "%s\n" "$ICOTOOL" >&6; }
7460 else
7461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7462 printf "%s\n" "no" >&6; }
7466 test -n "$ICOTOOL" && break
7467 done
7468 test -n "$ICOTOOL" || ICOTOOL="false"
7470 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7471 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7473 if test "$CONVERT" = false
7474 then
7475 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7476 else
7477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7478 printf %s "checking for recent enough imagemagick... " >&6; }
7479 convert_version=`convert --version | head -n1`
7480 if test "x$convert_version" != "x"
7481 then
7482 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7483 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7484 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7485 then
7486 CONVERT=false
7489 if test "$CONVERT" = false
7490 then
7491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7492 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7493 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7494 else
7495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7496 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7500 if test "$ICOTOOL" = false
7501 then
7502 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7503 else
7504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7505 printf %s "checking for recent enough icotool... " >&6; }
7506 icotool_version=`icotool --version | head -n1`
7507 if test "x$icotool_version" != "x"
7508 then
7509 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7510 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7511 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7512 then
7513 ICOTOOL=false
7514 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7517 if test "$ICOTOOL" = false
7518 then
7519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7520 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7521 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7522 else
7523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7524 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7528 with_gettext=yes
7529 with_gettextpo=yes
7531 enable_werror=yes
7534 test "x$with_gettext" != xno || MSGFMT=false
7535 if test "$MSGFMT" != "false"
7536 then
7537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7538 printf %s "checking whether msgfmt supports contexts... " >&6; }
7539 if test ${wine_cv_msgfmt_contexts+y}
7540 then :
7541 printf %s "(cached) " >&6
7542 else $as_nop
7543 cat >conftest.po <<EOF
7544 # comment
7545 msgctxt "ctxt"
7546 msgid "id"
7547 msgstr "str"
7549 if $MSGFMT -o /dev/null conftest.po 2>&5
7550 then
7551 wine_cv_msgfmt_contexts=yes
7552 else
7553 wine_cv_msgfmt_contexts=no
7556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7557 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7558 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7560 if test "$MSGFMT" = false
7561 then :
7562 case "x$with_gettext" in
7563 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7564 xno) ;;
7565 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7566 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7567 esac
7568 enable_po=${enable_po:-no}
7572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7573 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7574 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7575 then :
7576 printf %s "(cached) " >&6
7577 else $as_nop
7578 ac_check_lib_save_LIBS=$LIBS
7579 LIBS="-li386 $LIBS"
7580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7581 /* end confdefs.h. */
7583 /* Override any GCC internal prototype to avoid an error.
7584 Use char because int might match the return type of a GCC
7585 builtin and then its argument prototype would still apply. */
7586 char i386_set_ldt ();
7588 main (void)
7590 return i386_set_ldt ();
7592 return 0;
7594 _ACEOF
7595 if ac_fn_c_try_link "$LINENO"
7596 then :
7597 ac_cv_lib_i386_i386_set_ldt=yes
7598 else $as_nop
7599 ac_cv_lib_i386_i386_set_ldt=no
7601 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7602 conftest$ac_exeext conftest.$ac_ext
7603 LIBS=$ac_check_lib_save_LIBS
7605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7606 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7607 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7608 then :
7609 I386_LIBS="-li386"
7614 OPENGL_LIBS=""
7618 # Check whether --enable-largefile was given.
7619 if test ${enable_largefile+y}
7620 then :
7621 enableval=$enable_largefile;
7624 if test "$enable_largefile" != no; then
7626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7627 printf %s "checking for special C compiler options needed for large files... " >&6; }
7628 if test ${ac_cv_sys_largefile_CC+y}
7629 then :
7630 printf %s "(cached) " >&6
7631 else $as_nop
7632 ac_cv_sys_largefile_CC=no
7633 if test "$GCC" != yes; then
7634 ac_save_CC=$CC
7635 while :; do
7636 # IRIX 6.2 and later do not support large files by default,
7637 # so use the C compiler's -n32 option if that helps.
7638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7639 /* end confdefs.h. */
7640 #include <sys/types.h>
7641 /* Check that off_t can represent 2**63 - 1 correctly.
7642 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7643 since some C++ compilers masquerading as C compilers
7644 incorrectly reject 9223372036854775807. */
7645 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7646 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7647 && LARGE_OFF_T % 2147483647 == 1)
7648 ? 1 : -1];
7650 main (void)
7654 return 0;
7656 _ACEOF
7657 if ac_fn_c_try_compile "$LINENO"
7658 then :
7659 break
7661 rm -f core conftest.err conftest.$ac_objext conftest.beam
7662 CC="$CC -n32"
7663 if ac_fn_c_try_compile "$LINENO"
7664 then :
7665 ac_cv_sys_largefile_CC=' -n32'; break
7667 rm -f core conftest.err conftest.$ac_objext conftest.beam
7668 break
7669 done
7670 CC=$ac_save_CC
7671 rm -f conftest.$ac_ext
7674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7675 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7676 if test "$ac_cv_sys_largefile_CC" != no; then
7677 CC=$CC$ac_cv_sys_largefile_CC
7680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7681 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7682 if test ${ac_cv_sys_file_offset_bits+y}
7683 then :
7684 printf %s "(cached) " >&6
7685 else $as_nop
7686 while :; do
7687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7688 /* end confdefs.h. */
7689 #include <sys/types.h>
7690 /* Check that off_t can represent 2**63 - 1 correctly.
7691 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7692 since some C++ compilers masquerading as C compilers
7693 incorrectly reject 9223372036854775807. */
7694 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7695 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7696 && LARGE_OFF_T % 2147483647 == 1)
7697 ? 1 : -1];
7699 main (void)
7703 return 0;
7705 _ACEOF
7706 if ac_fn_c_try_compile "$LINENO"
7707 then :
7708 ac_cv_sys_file_offset_bits=no; break
7710 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7712 /* end confdefs.h. */
7713 #define _FILE_OFFSET_BITS 64
7714 #include <sys/types.h>
7715 /* Check that off_t can represent 2**63 - 1 correctly.
7716 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7717 since some C++ compilers masquerading as C compilers
7718 incorrectly reject 9223372036854775807. */
7719 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7720 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7721 && LARGE_OFF_T % 2147483647 == 1)
7722 ? 1 : -1];
7724 main (void)
7728 return 0;
7730 _ACEOF
7731 if ac_fn_c_try_compile "$LINENO"
7732 then :
7733 ac_cv_sys_file_offset_bits=64; break
7735 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7736 ac_cv_sys_file_offset_bits=unknown
7737 break
7738 done
7740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7741 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7742 case $ac_cv_sys_file_offset_bits in #(
7743 no | unknown) ;;
7745 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7747 esac
7748 rm -rf conftest*
7749 if test $ac_cv_sys_file_offset_bits = unknown; then
7750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7751 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7752 if test ${ac_cv_sys_large_files+y}
7753 then :
7754 printf %s "(cached) " >&6
7755 else $as_nop
7756 while :; do
7757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7758 /* end confdefs.h. */
7759 #include <sys/types.h>
7760 /* Check that off_t can represent 2**63 - 1 correctly.
7761 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7762 since some C++ compilers masquerading as C compilers
7763 incorrectly reject 9223372036854775807. */
7764 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7765 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7766 && LARGE_OFF_T % 2147483647 == 1)
7767 ? 1 : -1];
7769 main (void)
7773 return 0;
7775 _ACEOF
7776 if ac_fn_c_try_compile "$LINENO"
7777 then :
7778 ac_cv_sys_large_files=no; break
7780 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7782 /* end confdefs.h. */
7783 #define _LARGE_FILES 1
7784 #include <sys/types.h>
7785 /* Check that off_t can represent 2**63 - 1 correctly.
7786 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7787 since some C++ compilers masquerading as C compilers
7788 incorrectly reject 9223372036854775807. */
7789 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7790 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7791 && LARGE_OFF_T % 2147483647 == 1)
7792 ? 1 : -1];
7794 main (void)
7798 return 0;
7800 _ACEOF
7801 if ac_fn_c_try_compile "$LINENO"
7802 then :
7803 ac_cv_sys_large_files=1; break
7805 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7806 ac_cv_sys_large_files=unknown
7807 break
7808 done
7810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7811 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7812 case $ac_cv_sys_large_files in #(
7813 no | unknown) ;;
7815 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7817 esac
7818 rm -rf conftest*
7823 ac_header= ac_cache=
7824 for ac_item in $ac_header_c_list
7826 if test $ac_cache; then
7827 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7828 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7829 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7831 ac_header= ac_cache=
7832 elif test $ac_header; then
7833 ac_cache=$ac_item
7834 else
7835 ac_header=$ac_item
7837 done
7846 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7847 then :
7849 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7852 ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
7853 if test "x$ac_cv_header_AL_al_h" = xyes
7854 then :
7855 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
7858 ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
7859 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
7860 then :
7861 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
7864 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7865 if test "x$ac_cv_header_CL_cl_h" = xyes
7866 then :
7867 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7870 ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
7871 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
7872 then :
7873 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
7876 ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
7877 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
7878 then :
7879 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
7882 ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
7883 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
7884 then :
7885 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
7888 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7889 if test "x$ac_cv_header_EGL_egl_h" = xyes
7890 then :
7891 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7894 ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
7895 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
7896 then :
7897 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
7900 ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
7901 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
7902 then :
7903 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
7906 ac_fn_c_check_header_compile "$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
7907 if test "x$ac_cv_header_OpenAL_al_h" = xyes
7908 then :
7909 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
7912 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7913 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7914 then :
7915 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7918 ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
7919 if test "x$ac_cv_header_Security_Security_h" = xyes
7920 then :
7921 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
7924 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
7925 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
7926 then :
7927 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
7930 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
7931 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
7932 then :
7933 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
7936 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7937 if test "x$ac_cv_header_arpa_inet_h" = xyes
7938 then :
7939 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7942 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7943 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7944 then :
7945 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7948 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7949 if test "x$ac_cv_header_asm_types_h" = xyes
7950 then :
7951 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7954 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7955 if test "x$ac_cv_header_asm_user_h" = xyes
7956 then :
7957 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7960 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7961 if test "x$ac_cv_header_elf_h" = xyes
7962 then :
7963 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7966 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7967 if test "x$ac_cv_header_float_h" = xyes
7968 then :
7969 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7972 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7973 if test "x$ac_cv_header_gettext_po_h" = xyes
7974 then :
7975 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7978 ac_fn_c_check_header_compile "$LINENO" "ieeefp.h" "ac_cv_header_ieeefp_h" "$ac_includes_default"
7979 if test "x$ac_cv_header_ieeefp_h" = xyes
7980 then :
7981 printf "%s\n" "#define HAVE_IEEEFP_H 1" >>confdefs.h
7984 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7985 if test "x$ac_cv_header_libproc_h" = xyes
7986 then :
7987 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7990 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7991 if test "x$ac_cv_header_link_h" = xyes
7992 then :
7993 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7996 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7997 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7998 then :
7999 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
8002 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
8003 if test "x$ac_cv_header_linux_filter_h" = xyes
8004 then :
8005 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
8008 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
8009 if test "x$ac_cv_header_linux_hdreg_h" = xyes
8010 then :
8011 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
8014 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
8015 if test "x$ac_cv_header_linux_hidraw_h" = xyes
8016 then :
8017 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
8020 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
8021 if test "x$ac_cv_header_linux_input_h" = xyes
8022 then :
8023 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
8026 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
8027 if test "x$ac_cv_header_linux_ioctl_h" = xyes
8028 then :
8029 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
8032 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
8033 if test "x$ac_cv_header_linux_major_h" = xyes
8034 then :
8035 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
8038 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8039 if test "x$ac_cv_header_linux_param_h" = xyes
8040 then :
8041 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8044 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8045 if test "x$ac_cv_header_linux_serial_h" = xyes
8046 then :
8047 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8050 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8051 if test "x$ac_cv_header_linux_types_h" = xyes
8052 then :
8053 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8056 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8057 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8058 then :
8059 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8062 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8063 if test "x$ac_cv_header_lwp_h" = xyes
8064 then :
8065 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8068 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8069 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8070 then :
8071 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8074 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8075 if test "x$ac_cv_header_mach_mach_h" = xyes
8076 then :
8077 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8080 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8081 if test "x$ac_cv_header_machine_cpu_h" = xyes
8082 then :
8083 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8086 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8087 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8088 then :
8089 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8092 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8093 if test "x$ac_cv_header_mntent_h" = xyes
8094 then :
8095 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8098 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8099 if test "x$ac_cv_header_netdb_h" = xyes
8100 then :
8101 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8104 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8105 if test "x$ac_cv_header_netinet_in_h" = xyes
8106 then :
8107 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8110 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8111 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8112 then :
8113 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8116 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8117 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8118 then :
8119 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8122 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8123 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8124 then :
8125 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8128 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8129 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8130 then :
8131 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8134 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8135 if test "x$ac_cv_header_port_h" = xyes
8136 then :
8137 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8140 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8141 if test "x$ac_cv_header_pthread_h" = xyes
8142 then :
8143 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8146 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8147 if test "x$ac_cv_header_pwd_h" = xyes
8148 then :
8149 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8152 ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8153 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8154 then :
8155 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8158 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8159 if test "x$ac_cv_header_sched_h" = xyes
8160 then :
8161 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8164 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8165 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8166 then :
8167 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8170 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8171 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8172 then :
8173 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8176 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8177 if test "x$ac_cv_header_scsi_sg_h" = xyes
8178 then :
8179 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8182 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8183 if test "x$ac_cv_header_stdint_h" = xyes
8184 then :
8185 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8188 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8189 if test "x$ac_cv_header_sys_attr_h" = xyes
8190 then :
8191 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8194 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8195 if test "x$ac_cv_header_sys_auxv_h" = xyes
8196 then :
8197 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8200 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8201 if test "x$ac_cv_header_sys_cdio_h" = xyes
8202 then :
8203 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8206 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8207 if test "x$ac_cv_header_sys_epoll_h" = xyes
8208 then :
8209 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8212 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8213 if test "x$ac_cv_header_sys_event_h" = xyes
8214 then :
8215 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8218 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8219 if test "x$ac_cv_header_sys_filio_h" = xyes
8220 then :
8221 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8224 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8225 if test "x$ac_cv_header_sys_ipc_h" = xyes
8226 then :
8227 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8230 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8231 if test "x$ac_cv_header_sys_link_h" = xyes
8232 then :
8233 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8236 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8237 if test "x$ac_cv_header_sys_modem_h" = xyes
8238 then :
8239 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8242 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8243 if test "x$ac_cv_header_sys_mtio_h" = xyes
8244 then :
8245 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8248 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8249 if test "x$ac_cv_header_sys_param_h" = xyes
8250 then :
8251 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8254 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8255 if test "x$ac_cv_header_sys_prctl_h" = xyes
8256 then :
8257 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8260 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8261 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8262 then :
8263 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8266 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8267 if test "x$ac_cv_header_sys_queue_h" = xyes
8268 then :
8269 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8272 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8273 if test "x$ac_cv_header_sys_random_h" = xyes
8274 then :
8275 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8278 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8279 if test "x$ac_cv_header_sys_resource_h" = xyes
8280 then :
8281 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8284 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8285 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8286 then :
8287 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8290 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8291 if test "x$ac_cv_header_sys_shm_h" = xyes
8292 then :
8293 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8296 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8297 if test "x$ac_cv_header_sys_signal_h" = xyes
8298 then :
8299 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8302 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8303 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8304 then :
8305 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8308 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8309 if test "x$ac_cv_header_sys_sockio_h" = xyes
8310 then :
8311 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8314 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8315 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8316 then :
8317 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8320 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8321 if test "x$ac_cv_header_sys_strtio_h" = xyes
8322 then :
8323 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8326 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8327 if test "x$ac_cv_header_sys_syscall_h" = xyes
8328 then :
8329 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8332 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8333 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8334 then :
8335 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8338 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8339 if test "x$ac_cv_header_sys_times_h" = xyes
8340 then :
8341 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8344 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8345 if test "x$ac_cv_header_sys_uio_h" = xyes
8346 then :
8347 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8350 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8351 if test "x$ac_cv_header_sys_user_h" = xyes
8352 then :
8353 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8356 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8357 if test "x$ac_cv_header_sys_utsname_h" = xyes
8358 then :
8359 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8362 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8363 if test "x$ac_cv_header_sys_vnode_h" = xyes
8364 then :
8365 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8368 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8369 if test "x$ac_cv_header_syscall_h" = xyes
8370 then :
8371 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8374 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8375 if test "x$ac_cv_header_utime_h" = xyes
8376 then :
8377 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8380 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8381 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8382 then :
8383 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8386 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8387 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8388 then :
8389 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8393 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8394 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8395 then :
8397 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8401 if test $ac_cv_header_sys_mkdev_h = no; then
8402 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8403 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8404 then :
8406 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8412 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8413 if test ${ac_cv_header_stat_broken+y}
8414 then :
8415 printf %s "(cached) " >&6
8416 else $as_nop
8417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8418 /* end confdefs.h. */
8419 #include <sys/types.h>
8420 #include <sys/stat.h>
8422 #if defined S_ISBLK && defined S_IFDIR
8423 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8424 #endif
8426 #if defined S_ISBLK && defined S_IFCHR
8427 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8428 #endif
8430 #if defined S_ISLNK && defined S_IFREG
8431 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8432 #endif
8434 #if defined S_ISSOCK && defined S_IFREG
8435 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8436 #endif
8438 _ACEOF
8439 if ac_fn_c_try_compile "$LINENO"
8440 then :
8441 ac_cv_header_stat_broken=no
8442 else $as_nop
8443 ac_cv_header_stat_broken=yes
8445 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8448 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8449 if test $ac_cv_header_stat_broken = yes; then
8451 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8457 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8458 #ifdef HAVE_SYS_PARAM_H
8459 # include <sys/param.h>
8460 #endif
8462 if test "x$ac_cv_header_sys_conf_h" = xyes
8463 then :
8464 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8467 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8468 #ifdef HAVE_SYS_PARAM_H
8469 # include <sys/param.h>
8470 #endif
8472 if test "x$ac_cv_header_sys_mount_h" = xyes
8473 then :
8474 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8477 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8478 #ifdef HAVE_SYS_PARAM_H
8479 # include <sys/param.h>
8480 #endif
8482 if test "x$ac_cv_header_sys_statfs_h" = xyes
8483 then :
8484 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8487 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8488 #ifdef HAVE_SYS_PARAM_H
8489 # include <sys/param.h>
8490 #endif
8492 if test "x$ac_cv_header_sys_user_h" = xyes
8493 then :
8494 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8497 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_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_vfs_h" = xyes
8503 then :
8504 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8509 saved_sysctl_h_CFLAGS=$CFLAGS
8510 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8511 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8512 #ifdef HAVE_SYS_PARAM_H
8513 # include <sys/param.h>
8514 #endif
8516 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8517 then :
8518 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8522 CFLAGS=$saved_sysctl_h_CFLAGS
8524 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8525 #include <sys/socket.h>
8526 #ifdef HAVE_SYS_SOCKETVAR_H
8527 # include <sys/socketvar.h>
8528 #endif
8529 #ifdef HAVE_NET_ROUTE_H
8530 # include <net/route.h>
8531 #endif
8532 #ifdef HAVE_NETINET_IN_H
8533 # include <netinet/in.h>
8534 #endif
8535 #ifdef HAVE_NETINET_IN_SYSTM_H
8536 # include <netinet/in_systm.h>
8537 #endif
8538 #ifdef HAVE_NET_IF_H
8539 # include <net/if.h>
8540 #endif
8541 #ifdef HAVE_NETINET_IP_H
8542 # include <netinet/ip.h>
8543 #endif
8545 if test "x$ac_cv_header_netinet_ip_h" = xyes
8546 then :
8547 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8550 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8551 #include <sys/socket.h>
8552 #ifdef HAVE_SYS_SOCKETVAR_H
8553 # include <sys/socketvar.h>
8554 #endif
8555 #ifdef HAVE_NET_ROUTE_H
8556 # include <net/route.h>
8557 #endif
8558 #ifdef HAVE_NETINET_IN_H
8559 # include <netinet/in.h>
8560 #endif
8561 #ifdef HAVE_NETINET_IN_SYSTM_H
8562 # include <netinet/in_systm.h>
8563 #endif
8564 #ifdef HAVE_NET_IF_H
8565 # include <net/if.h>
8566 #endif
8567 #ifdef HAVE_NETINET_IP_H
8568 # include <netinet/ip.h>
8569 #endif
8571 if test "x$ac_cv_header_net_if_h" = xyes
8572 then :
8573 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8576 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8577 #include <sys/socket.h>
8578 #ifdef HAVE_SYS_SOCKETVAR_H
8579 # include <sys/socketvar.h>
8580 #endif
8581 #ifdef HAVE_NET_ROUTE_H
8582 # include <net/route.h>
8583 #endif
8584 #ifdef HAVE_NETINET_IN_H
8585 # include <netinet/in.h>
8586 #endif
8587 #ifdef HAVE_NETINET_IN_SYSTM_H
8588 # include <netinet/in_systm.h>
8589 #endif
8590 #ifdef HAVE_NET_IF_H
8591 # include <net/if.h>
8592 #endif
8593 #ifdef HAVE_NETINET_IP_H
8594 # include <netinet/ip.h>
8595 #endif
8597 if test "x$ac_cv_header_net_if_arp_h" = xyes
8598 then :
8599 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8602 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8603 #include <sys/socket.h>
8604 #ifdef HAVE_SYS_SOCKETVAR_H
8605 # include <sys/socketvar.h>
8606 #endif
8607 #ifdef HAVE_NET_ROUTE_H
8608 # include <net/route.h>
8609 #endif
8610 #ifdef HAVE_NETINET_IN_H
8611 # include <netinet/in.h>
8612 #endif
8613 #ifdef HAVE_NETINET_IN_SYSTM_H
8614 # include <netinet/in_systm.h>
8615 #endif
8616 #ifdef HAVE_NET_IF_H
8617 # include <net/if.h>
8618 #endif
8619 #ifdef HAVE_NETINET_IP_H
8620 # include <netinet/ip.h>
8621 #endif
8623 if test "x$ac_cv_header_net_if_dl_h" = xyes
8624 then :
8625 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8628 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8629 #include <sys/socket.h>
8630 #ifdef HAVE_SYS_SOCKETVAR_H
8631 # include <sys/socketvar.h>
8632 #endif
8633 #ifdef HAVE_NET_ROUTE_H
8634 # include <net/route.h>
8635 #endif
8636 #ifdef HAVE_NETINET_IN_H
8637 # include <netinet/in.h>
8638 #endif
8639 #ifdef HAVE_NETINET_IN_SYSTM_H
8640 # include <netinet/in_systm.h>
8641 #endif
8642 #ifdef HAVE_NET_IF_H
8643 # include <net/if.h>
8644 #endif
8645 #ifdef HAVE_NETINET_IP_H
8646 # include <netinet/ip.h>
8647 #endif
8649 if test "x$ac_cv_header_net_if_types_h" = xyes
8650 then :
8651 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8654 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8655 #include <sys/socket.h>
8656 #ifdef HAVE_SYS_SOCKETVAR_H
8657 # include <sys/socketvar.h>
8658 #endif
8659 #ifdef HAVE_NET_ROUTE_H
8660 # include <net/route.h>
8661 #endif
8662 #ifdef HAVE_NETINET_IN_H
8663 # include <netinet/in.h>
8664 #endif
8665 #ifdef HAVE_NETINET_IN_SYSTM_H
8666 # include <netinet/in_systm.h>
8667 #endif
8668 #ifdef HAVE_NET_IF_H
8669 # include <net/if.h>
8670 #endif
8671 #ifdef HAVE_NETINET_IP_H
8672 # include <netinet/ip.h>
8673 #endif
8675 if test "x$ac_cv_header_net_route_h" = xyes
8676 then :
8677 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8680 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8681 #include <sys/socket.h>
8682 #ifdef HAVE_SYS_SOCKETVAR_H
8683 # include <sys/socketvar.h>
8684 #endif
8685 #ifdef HAVE_NET_ROUTE_H
8686 # include <net/route.h>
8687 #endif
8688 #ifdef HAVE_NETINET_IN_H
8689 # include <netinet/in.h>
8690 #endif
8691 #ifdef HAVE_NETINET_IN_SYSTM_H
8692 # include <netinet/in_systm.h>
8693 #endif
8694 #ifdef HAVE_NET_IF_H
8695 # include <net/if.h>
8696 #endif
8697 #ifdef HAVE_NETINET_IP_H
8698 # include <netinet/ip.h>
8699 #endif
8701 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8702 then :
8703 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8706 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8707 #include <sys/socket.h>
8708 #ifdef HAVE_SYS_SOCKETVAR_H
8709 # include <sys/socketvar.h>
8710 #endif
8711 #ifdef HAVE_NET_ROUTE_H
8712 # include <net/route.h>
8713 #endif
8714 #ifdef HAVE_NETINET_IN_H
8715 # include <netinet/in.h>
8716 #endif
8717 #ifdef HAVE_NETINET_IN_SYSTM_H
8718 # include <netinet/in_systm.h>
8719 #endif
8720 #ifdef HAVE_NET_IF_H
8721 # include <net/if.h>
8722 #endif
8723 #ifdef HAVE_NETINET_IP_H
8724 # include <netinet/ip.h>
8725 #endif
8727 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8728 then :
8729 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8732 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8733 #include <sys/socket.h>
8734 #ifdef HAVE_SYS_SOCKETVAR_H
8735 # include <sys/socketvar.h>
8736 #endif
8737 #ifdef HAVE_NET_ROUTE_H
8738 # include <net/route.h>
8739 #endif
8740 #ifdef HAVE_NETINET_IN_H
8741 # include <netinet/in.h>
8742 #endif
8743 #ifdef HAVE_NETINET_IN_SYSTM_H
8744 # include <netinet/in_systm.h>
8745 #endif
8746 #ifdef HAVE_NET_IF_H
8747 # include <net/if.h>
8748 #endif
8749 #ifdef HAVE_NETINET_IP_H
8750 # include <netinet/ip.h>
8751 #endif
8753 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8754 then :
8755 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8758 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8759 #include <sys/socket.h>
8760 #ifdef HAVE_SYS_SOCKETVAR_H
8761 # include <sys/socketvar.h>
8762 #endif
8763 #ifdef HAVE_NET_ROUTE_H
8764 # include <net/route.h>
8765 #endif
8766 #ifdef HAVE_NETINET_IN_H
8767 # include <netinet/in.h>
8768 #endif
8769 #ifdef HAVE_NETINET_IN_SYSTM_H
8770 # include <netinet/in_systm.h>
8771 #endif
8772 #ifdef HAVE_NET_IF_H
8773 # include <net/if.h>
8774 #endif
8775 #ifdef HAVE_NETINET_IP_H
8776 # include <netinet/ip.h>
8777 #endif
8779 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8780 then :
8781 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8784 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8785 #include <sys/socket.h>
8786 #ifdef HAVE_SYS_SOCKETVAR_H
8787 # include <sys/socketvar.h>
8788 #endif
8789 #ifdef HAVE_NET_ROUTE_H
8790 # include <net/route.h>
8791 #endif
8792 #ifdef HAVE_NETINET_IN_H
8793 # include <netinet/in.h>
8794 #endif
8795 #ifdef HAVE_NETINET_IN_SYSTM_H
8796 # include <netinet/in_systm.h>
8797 #endif
8798 #ifdef HAVE_NET_IF_H
8799 # include <net/if.h>
8800 #endif
8801 #ifdef HAVE_NETINET_IP_H
8802 # include <netinet/ip.h>
8803 #endif
8805 if test "x$ac_cv_header_netinet_udp_h" = xyes
8806 then :
8807 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8810 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8811 #include <sys/socket.h>
8812 #ifdef HAVE_SYS_SOCKETVAR_H
8813 # include <sys/socketvar.h>
8814 #endif
8815 #ifdef HAVE_NET_ROUTE_H
8816 # include <net/route.h>
8817 #endif
8818 #ifdef HAVE_NETINET_IN_H
8819 # include <netinet/in.h>
8820 #endif
8821 #ifdef HAVE_NETINET_IN_SYSTM_H
8822 # include <netinet/in_systm.h>
8823 #endif
8824 #ifdef HAVE_NET_IF_H
8825 # include <net/if.h>
8826 #endif
8827 #ifdef HAVE_NETINET_IP_H
8828 # include <netinet/ip.h>
8829 #endif
8831 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8832 then :
8833 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8836 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8837 #include <sys/socket.h>
8838 #ifdef HAVE_SYS_SOCKETVAR_H
8839 # include <sys/socketvar.h>
8840 #endif
8841 #ifdef HAVE_NET_ROUTE_H
8842 # include <net/route.h>
8843 #endif
8844 #ifdef HAVE_NETINET_IN_H
8845 # include <netinet/in.h>
8846 #endif
8847 #ifdef HAVE_NETINET_IN_SYSTM_H
8848 # include <netinet/in_systm.h>
8849 #endif
8850 #ifdef HAVE_NET_IF_H
8851 # include <net/if.h>
8852 #endif
8853 #ifdef HAVE_NETINET_IP_H
8854 # include <netinet/ip.h>
8855 #endif
8857 if test "x$ac_cv_header_sys_un_h" = xyes
8858 then :
8859 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8864 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8865 #include <sys/socket.h>
8866 #ifdef HAVE_SYS_SOCKETVAR_H
8867 # include <sys/socketvar.h>
8868 #endif
8869 #ifdef HAVE_NETINET_IN_H
8870 # include <netinet/in.h>
8871 #endif
8872 #ifdef HAVE_NETINET_IN_SYSTM_H
8873 # include <netinet/in_systm.h>
8874 #endif
8875 #ifdef HAVE_NETINET_IP_H
8876 # include <netinet/ip.h>
8877 #endif
8878 #ifdef HAVE_NETINET_IP_VAR_H
8879 # include <netinet/ip_var.h>
8880 #endif
8881 #ifdef HAVE_NETINET_IP_ICMP_H
8882 # include <netinet/ip_icmp.h>
8883 #endif
8884 #ifdef HAVE_NETINET_UDP_H
8885 # include <netinet/udp.h>
8886 #endif
8887 #ifdef HAVE_NETINET_TCP_H
8888 # include <netinet/tcp.h>
8889 #endif
8891 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8892 then :
8893 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8896 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8897 #include <sys/socket.h>
8898 #ifdef HAVE_SYS_SOCKETVAR_H
8899 # include <sys/socketvar.h>
8900 #endif
8901 #ifdef HAVE_NETINET_IN_H
8902 # include <netinet/in.h>
8903 #endif
8904 #ifdef HAVE_NETINET_IN_SYSTM_H
8905 # include <netinet/in_systm.h>
8906 #endif
8907 #ifdef HAVE_NETINET_IP_H
8908 # include <netinet/ip.h>
8909 #endif
8910 #ifdef HAVE_NETINET_IP_VAR_H
8911 # include <netinet/ip_var.h>
8912 #endif
8913 #ifdef HAVE_NETINET_IP_ICMP_H
8914 # include <netinet/ip_icmp.h>
8915 #endif
8916 #ifdef HAVE_NETINET_UDP_H
8917 # include <netinet/udp.h>
8918 #endif
8919 #ifdef HAVE_NETINET_TCP_H
8920 # include <netinet/tcp.h>
8921 #endif
8923 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8924 then :
8925 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8928 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8929 #include <sys/socket.h>
8930 #ifdef HAVE_SYS_SOCKETVAR_H
8931 # include <sys/socketvar.h>
8932 #endif
8933 #ifdef HAVE_NETINET_IN_H
8934 # include <netinet/in.h>
8935 #endif
8936 #ifdef HAVE_NETINET_IN_SYSTM_H
8937 # include <netinet/in_systm.h>
8938 #endif
8939 #ifdef HAVE_NETINET_IP_H
8940 # include <netinet/ip.h>
8941 #endif
8942 #ifdef HAVE_NETINET_IP_VAR_H
8943 # include <netinet/ip_var.h>
8944 #endif
8945 #ifdef HAVE_NETINET_IP_ICMP_H
8946 # include <netinet/ip_icmp.h>
8947 #endif
8948 #ifdef HAVE_NETINET_UDP_H
8949 # include <netinet/udp.h>
8950 #endif
8951 #ifdef HAVE_NETINET_TCP_H
8952 # include <netinet/tcp.h>
8953 #endif
8955 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8956 then :
8957 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8962 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8963 #include <sys/socket.h>
8964 #ifdef HAVE_ASM_TYPES_H
8965 # include <asm/types.h>
8966 #endif
8967 #ifdef HAVE_LINUX_TYPES_H
8968 # include <linux/types.h>
8969 #endif
8971 if test "x$ac_cv_header_linux_ipx_h" = xyes
8972 then :
8973 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8976 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8977 #include <sys/socket.h>
8978 #ifdef HAVE_ASM_TYPES_H
8979 # include <asm/types.h>
8980 #endif
8981 #ifdef HAVE_LINUX_TYPES_H
8982 # include <linux/types.h>
8983 #endif
8985 if test "x$ac_cv_header_linux_irda_h" = xyes
8986 then :
8987 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8990 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8991 #include <sys/socket.h>
8992 #ifdef HAVE_ASM_TYPES_H
8993 # include <asm/types.h>
8994 #endif
8995 #ifdef HAVE_LINUX_TYPES_H
8996 # include <linux/types.h>
8997 #endif
8999 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9000 then :
9001 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9006 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9007 #include <sys/socket.h>
9008 #ifdef HAVE_NETINET_IN_H
9009 # include <netinet/in.h>
9010 #endif
9011 #ifdef HAVE_ARPA_NAMESER_H
9012 # include <arpa/nameser.h>
9013 #endif
9015 if test "x$ac_cv_header_resolv_h" = xyes
9016 then :
9017 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9022 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9024 if test "x$ac_cv_header_ifaddrs_h" = xyes
9025 then :
9026 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9031 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9033 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9034 then :
9035 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9040 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9041 #ifdef HAVE_SYS_UCONTEXT_H
9042 #include <sys/ucontext.h>
9043 #endif
9045 if test "x$ac_cv_header_sys_thr_h" = xyes
9046 then :
9047 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9052 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9053 #include <pthread.h>
9054 #endif
9056 if test "x$ac_cv_header_pthread_np_h" = xyes
9057 then :
9058 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9063 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9064 #include <sys/types.h>
9065 #ifdef HAVE_ASM_TYPES_H
9066 #include <asm/types.h>
9067 #endif
9069 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9070 then :
9071 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9076 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9077 #include <sys/param.h>
9078 #endif
9079 #include <sys/socket.h>
9080 #ifdef HAVE_SYS_QUEUE_H
9081 #include <sys/queue.h>
9082 #endif
9084 if test "x$ac_cv_header_libprocstat_h" = xyes
9085 then :
9086 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9092 DLLFLAGS=""
9094 LDDLLFLAGS=""
9096 LDEXECFLAGS=""
9098 EXTRACFLAGS=""
9100 UNIXDLLFLAGS="-fPIC"
9102 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9104 TOP_INSTALL_LIB=""
9106 TOP_INSTALL_DEV=""
9108 WINELOADER_LDFLAGS=""
9110 WINEPRELOADER_LDFLAGS=""
9112 LIBEXT="so"
9113 # Extract the first word of "ldd", so it can be a program name with args.
9114 set dummy ldd; ac_word=$2
9115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9116 printf %s "checking for $ac_word... " >&6; }
9117 if test ${ac_cv_path_LDD+y}
9118 then :
9119 printf %s "(cached) " >&6
9120 else $as_nop
9121 case $LDD in
9122 [\\/]* | ?:[\\/]*)
9123 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9127 as_dummy="/sbin:/usr/sbin:$PATH"
9128 for as_dir in $as_dummy
9130 IFS=$as_save_IFS
9131 case $as_dir in #(((
9132 '') as_dir=./ ;;
9133 */) ;;
9134 *) as_dir=$as_dir/ ;;
9135 esac
9136 for ac_exec_ext in '' $ac_executable_extensions; do
9137 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9138 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9139 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9140 break 2
9142 done
9143 done
9144 IFS=$as_save_IFS
9146 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9148 esac
9150 LDD=$ac_cv_path_LDD
9151 if test -n "$LDD"; then
9152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9153 printf "%s\n" "$LDD" >&6; }
9154 else
9155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9156 printf "%s\n" "no" >&6; }
9160 if test -n "$ac_tool_prefix"; then
9161 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9162 set dummy ${ac_tool_prefix}otool; ac_word=$2
9163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9164 printf %s "checking for $ac_word... " >&6; }
9165 if test ${ac_cv_prog_OTOOL+y}
9166 then :
9167 printf %s "(cached) " >&6
9168 else $as_nop
9169 if test -n "$OTOOL"; then
9170 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9171 else
9172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9173 for as_dir in $PATH
9175 IFS=$as_save_IFS
9176 case $as_dir in #(((
9177 '') as_dir=./ ;;
9178 */) ;;
9179 *) as_dir=$as_dir/ ;;
9180 esac
9181 for ac_exec_ext in '' $ac_executable_extensions; do
9182 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9183 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9184 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9185 break 2
9187 done
9188 done
9189 IFS=$as_save_IFS
9193 OTOOL=$ac_cv_prog_OTOOL
9194 if test -n "$OTOOL"; then
9195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9196 printf "%s\n" "$OTOOL" >&6; }
9197 else
9198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9199 printf "%s\n" "no" >&6; }
9204 if test -z "$ac_cv_prog_OTOOL"; then
9205 ac_ct_OTOOL=$OTOOL
9206 # Extract the first word of "otool", so it can be a program name with args.
9207 set dummy otool; ac_word=$2
9208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9209 printf %s "checking for $ac_word... " >&6; }
9210 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9211 then :
9212 printf %s "(cached) " >&6
9213 else $as_nop
9214 if test -n "$ac_ct_OTOOL"; then
9215 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9216 else
9217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9218 for as_dir in $PATH
9220 IFS=$as_save_IFS
9221 case $as_dir in #(((
9222 '') as_dir=./ ;;
9223 */) ;;
9224 *) as_dir=$as_dir/ ;;
9225 esac
9226 for ac_exec_ext in '' $ac_executable_extensions; do
9227 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9228 ac_cv_prog_ac_ct_OTOOL="otool"
9229 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9230 break 2
9232 done
9233 done
9234 IFS=$as_save_IFS
9238 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9239 if test -n "$ac_ct_OTOOL"; then
9240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9241 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9242 else
9243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9244 printf "%s\n" "no" >&6; }
9247 if test "x$ac_ct_OTOOL" = x; then
9248 OTOOL="otool"
9249 else
9250 case $cross_compiling:$ac_tool_warned in
9251 yes:)
9252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9253 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9254 ac_tool_warned=yes ;;
9255 esac
9256 OTOOL=$ac_ct_OTOOL
9258 else
9259 OTOOL="$ac_cv_prog_OTOOL"
9262 if test -n "$ac_tool_prefix"; then
9263 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9264 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9266 printf %s "checking for $ac_word... " >&6; }
9267 if test ${ac_cv_prog_READELF+y}
9268 then :
9269 printf %s "(cached) " >&6
9270 else $as_nop
9271 if test -n "$READELF"; then
9272 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9273 else
9274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9275 for as_dir in $PATH
9277 IFS=$as_save_IFS
9278 case $as_dir in #(((
9279 '') as_dir=./ ;;
9280 */) ;;
9281 *) as_dir=$as_dir/ ;;
9282 esac
9283 for ac_exec_ext in '' $ac_executable_extensions; do
9284 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9285 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9286 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9287 break 2
9289 done
9290 done
9291 IFS=$as_save_IFS
9295 READELF=$ac_cv_prog_READELF
9296 if test -n "$READELF"; then
9297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9298 printf "%s\n" "$READELF" >&6; }
9299 else
9300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9301 printf "%s\n" "no" >&6; }
9306 if test -z "$ac_cv_prog_READELF"; then
9307 ac_ct_READELF=$READELF
9308 # Extract the first word of "readelf", so it can be a program name with args.
9309 set dummy readelf; ac_word=$2
9310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9311 printf %s "checking for $ac_word... " >&6; }
9312 if test ${ac_cv_prog_ac_ct_READELF+y}
9313 then :
9314 printf %s "(cached) " >&6
9315 else $as_nop
9316 if test -n "$ac_ct_READELF"; then
9317 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9318 else
9319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9320 for as_dir in $PATH
9322 IFS=$as_save_IFS
9323 case $as_dir in #(((
9324 '') as_dir=./ ;;
9325 */) ;;
9326 *) as_dir=$as_dir/ ;;
9327 esac
9328 for ac_exec_ext in '' $ac_executable_extensions; do
9329 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9330 ac_cv_prog_ac_ct_READELF="readelf"
9331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9332 break 2
9334 done
9335 done
9336 IFS=$as_save_IFS
9340 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9341 if test -n "$ac_ct_READELF"; then
9342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9343 printf "%s\n" "$ac_ct_READELF" >&6; }
9344 else
9345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9346 printf "%s\n" "no" >&6; }
9349 if test "x$ac_ct_READELF" = x; then
9350 READELF="true"
9351 else
9352 case $cross_compiling:$ac_tool_warned in
9353 yes:)
9354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9355 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9356 ac_tool_warned=yes ;;
9357 esac
9358 READELF=$ac_ct_READELF
9360 else
9361 READELF="$ac_cv_prog_READELF"
9364 wine_rules="all:"
9365 SUBDIRS=""
9367 DISABLED_SUBDIRS=""
9369 CONFIGURE_TARGETS=""
9372 wine_fn_append_file ()
9374 as_fn_append $1 " \\$as_nl $2"
9377 wine_fn_append_rule ()
9379 as_fn_append wine_rules "$as_nl$1"
9382 wine_fn_config_makefile ()
9384 wine_fn_append_file SUBDIRS $1
9385 if eval test \"x\$"$2"\" = x"no"
9386 then :
9387 wine_fn_append_file DISABLED_SUBDIRS $1
9391 wine_fn_config_symlink ()
9393 ac_links=$@
9394 wine_fn_append_rule \
9395 "$ac_links:
9396 @./config.status \$@"
9397 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
9400 wine_binary="wine"
9401 test "x$enable_win64" != "xyes" || wine_binary="wine64"
9402 WINELOADER_PROGRAMS="$wine_binary"
9404 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9406 case $host_os in
9407 cygwin*|mingw32*)
9408 if test -n "$ac_tool_prefix"; then
9409 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9410 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9412 printf %s "checking for $ac_word... " >&6; }
9413 if test ${ac_cv_prog_DLLTOOL+y}
9414 then :
9415 printf %s "(cached) " >&6
9416 else $as_nop
9417 if test -n "$DLLTOOL"; then
9418 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9419 else
9420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9421 for as_dir in $PATH
9423 IFS=$as_save_IFS
9424 case $as_dir in #(((
9425 '') as_dir=./ ;;
9426 */) ;;
9427 *) as_dir=$as_dir/ ;;
9428 esac
9429 for ac_exec_ext in '' $ac_executable_extensions; do
9430 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9431 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9433 break 2
9435 done
9436 done
9437 IFS=$as_save_IFS
9441 DLLTOOL=$ac_cv_prog_DLLTOOL
9442 if test -n "$DLLTOOL"; then
9443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9444 printf "%s\n" "$DLLTOOL" >&6; }
9445 else
9446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9447 printf "%s\n" "no" >&6; }
9452 if test -z "$ac_cv_prog_DLLTOOL"; then
9453 ac_ct_DLLTOOL=$DLLTOOL
9454 # Extract the first word of "dlltool", so it can be a program name with args.
9455 set dummy dlltool; ac_word=$2
9456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9457 printf %s "checking for $ac_word... " >&6; }
9458 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9459 then :
9460 printf %s "(cached) " >&6
9461 else $as_nop
9462 if test -n "$ac_ct_DLLTOOL"; then
9463 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9464 else
9465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9466 for as_dir in $PATH
9468 IFS=$as_save_IFS
9469 case $as_dir in #(((
9470 '') as_dir=./ ;;
9471 */) ;;
9472 *) as_dir=$as_dir/ ;;
9473 esac
9474 for ac_exec_ext in '' $ac_executable_extensions; do
9475 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9476 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9477 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9478 break 2
9480 done
9481 done
9482 IFS=$as_save_IFS
9486 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9487 if test -n "$ac_ct_DLLTOOL"; then
9488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9489 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9490 else
9491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9492 printf "%s\n" "no" >&6; }
9495 if test "x$ac_ct_DLLTOOL" = x; then
9496 DLLTOOL="false"
9497 else
9498 case $cross_compiling:$ac_tool_warned in
9499 yes:)
9500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9501 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9502 ac_tool_warned=yes ;;
9503 esac
9504 DLLTOOL=$ac_ct_DLLTOOL
9506 else
9507 DLLTOOL="$ac_cv_prog_DLLTOOL"
9510 LIBEXT="dll"
9511 EXTRACFLAGS="-D__WINE_PE_BUILD"
9512 case $host_cpu in
9513 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9514 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9515 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9516 then :
9517 printf %s "(cached) " >&6
9518 else $as_nop
9519 ac_wine_try_cflags_saved=$CFLAGS
9520 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9522 /* end confdefs.h. */
9523 int main(int argc, char **argv) { return 0; }
9524 _ACEOF
9525 if ac_fn_c_try_link "$LINENO"
9526 then :
9527 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9528 else $as_nop
9529 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9531 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9532 conftest$ac_exeext conftest.$ac_ext
9533 CFLAGS=$ac_wine_try_cflags_saved
9535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9536 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9537 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9538 then :
9539 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9540 fi ;;
9541 esac
9542 enable_loader=${enable_loader:-no}
9543 enable_server=${enable_server:-no}
9544 with_x=${with_x:-no}
9545 with_pthread=${with_pthread:-no}
9548 darwin*|macosx*)
9549 ac_ext=m
9550 ac_cpp='$OBJCPP $CPPFLAGS'
9551 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9552 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9553 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9555 ac_ext=m
9556 ac_cpp='$OBJCPP $CPPFLAGS'
9557 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9558 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9559 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9560 if test -n "$ac_tool_prefix"; then
9561 for ac_prog in gcc objcc objc cc CC clang
9563 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9564 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9566 printf %s "checking for $ac_word... " >&6; }
9567 if test ${ac_cv_prog_OBJC+y}
9568 then :
9569 printf %s "(cached) " >&6
9570 else $as_nop
9571 if test -n "$OBJC"; then
9572 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9573 else
9574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9575 for as_dir in $PATH
9577 IFS=$as_save_IFS
9578 case $as_dir in #(((
9579 '') as_dir=./ ;;
9580 */) ;;
9581 *) as_dir=$as_dir/ ;;
9582 esac
9583 for ac_exec_ext in '' $ac_executable_extensions; do
9584 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9585 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9586 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9587 break 2
9589 done
9590 done
9591 IFS=$as_save_IFS
9595 OBJC=$ac_cv_prog_OBJC
9596 if test -n "$OBJC"; then
9597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9598 printf "%s\n" "$OBJC" >&6; }
9599 else
9600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9601 printf "%s\n" "no" >&6; }
9605 test -n "$OBJC" && break
9606 done
9608 if test -z "$OBJC"; then
9609 ac_ct_OBJC=$OBJC
9610 for ac_prog in gcc objcc objc cc CC clang
9612 # Extract the first word of "$ac_prog", so it can be a program name with args.
9613 set dummy $ac_prog; ac_word=$2
9614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9615 printf %s "checking for $ac_word... " >&6; }
9616 if test ${ac_cv_prog_ac_ct_OBJC+y}
9617 then :
9618 printf %s "(cached) " >&6
9619 else $as_nop
9620 if test -n "$ac_ct_OBJC"; then
9621 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9622 else
9623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9624 for as_dir in $PATH
9626 IFS=$as_save_IFS
9627 case $as_dir in #(((
9628 '') as_dir=./ ;;
9629 */) ;;
9630 *) as_dir=$as_dir/ ;;
9631 esac
9632 for ac_exec_ext in '' $ac_executable_extensions; do
9633 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9634 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9635 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9636 break 2
9638 done
9639 done
9640 IFS=$as_save_IFS
9644 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9645 if test -n "$ac_ct_OBJC"; then
9646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9647 printf "%s\n" "$ac_ct_OBJC" >&6; }
9648 else
9649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9650 printf "%s\n" "no" >&6; }
9654 test -n "$ac_ct_OBJC" && break
9655 done
9657 if test "x$ac_ct_OBJC" = x; then
9658 OBJC="gcc"
9659 else
9660 case $cross_compiling:$ac_tool_warned in
9661 yes:)
9662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9663 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9664 ac_tool_warned=yes ;;
9665 esac
9666 OBJC=$ac_ct_OBJC
9670 # Provide some information about the compiler.
9671 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9672 set X $ac_compile
9673 ac_compiler=$2
9674 for ac_option in --version -v -V -qversion; do
9675 { { ac_try="$ac_compiler $ac_option >&5"
9676 case "(($ac_try" in
9677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9678 *) ac_try_echo=$ac_try;;
9679 esac
9680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9681 printf "%s\n" "$ac_try_echo"; } >&5
9682 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9683 ac_status=$?
9684 if test -s conftest.err; then
9685 sed '10a\
9686 ... rest of stderr output deleted ...
9687 10q' conftest.err >conftest.er1
9688 cat conftest.er1 >&5
9690 rm -f conftest.er1 conftest.err
9691 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9692 test $ac_status = 0; }
9693 done
9695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9696 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9697 if test ${ac_cv_objc_compiler_gnu+y}
9698 then :
9699 printf %s "(cached) " >&6
9700 else $as_nop
9701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9702 /* end confdefs.h. */
9705 main (void)
9707 #ifndef __GNUC__
9708 choke me
9709 #endif
9712 return 0;
9714 _ACEOF
9715 if ac_fn_objc_try_compile "$LINENO"
9716 then :
9717 ac_compiler_gnu=yes
9718 else $as_nop
9719 ac_compiler_gnu=no
9721 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9722 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9726 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9727 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9729 if test $ac_compiler_gnu = yes; then
9730 GOBJC=yes
9731 else
9732 GOBJC=
9734 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9735 ac_save_OBJCFLAGS=$OBJCFLAGS
9736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9737 printf %s "checking whether $OBJC accepts -g... " >&6; }
9738 if test ${ac_cv_prog_objc_g+y}
9739 then :
9740 printf %s "(cached) " >&6
9741 else $as_nop
9742 ac_save_objc_werror_flag=$ac_objc_werror_flag
9743 ac_objc_werror_flag=yes
9744 ac_cv_prog_objc_g=no
9745 OBJCFLAGS="-g"
9746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9747 /* end confdefs.h. */
9750 main (void)
9754 return 0;
9756 _ACEOF
9757 if ac_fn_objc_try_compile "$LINENO"
9758 then :
9759 ac_cv_prog_objc_g=yes
9760 else $as_nop
9761 OBJCFLAGS=""
9762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9763 /* end confdefs.h. */
9766 main (void)
9770 return 0;
9772 _ACEOF
9773 if ac_fn_objc_try_compile "$LINENO"
9774 then :
9776 else $as_nop
9777 ac_objc_werror_flag=$ac_save_objc_werror_flag
9778 OBJCFLAGS="-g"
9779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9780 /* end confdefs.h. */
9783 main (void)
9787 return 0;
9789 _ACEOF
9790 if ac_fn_objc_try_compile "$LINENO"
9791 then :
9792 ac_cv_prog_objc_g=yes
9794 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9796 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9798 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9799 ac_objc_werror_flag=$ac_save_objc_werror_flag
9801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9802 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9803 if test $ac_test_OBJCFLAGS; then
9804 OBJCFLAGS=$ac_save_OBJCFLAGS
9805 elif test $ac_cv_prog_objc_g = yes; then
9806 if test "$GOBJC" = yes; then
9807 OBJCFLAGS="-g -O2"
9808 else
9809 OBJCFLAGS="-g"
9811 else
9812 if test "$GOBJC" = yes; then
9813 OBJCFLAGS="-O2"
9814 else
9815 OBJCFLAGS=
9818 ac_ext=m
9819 ac_cpp='$OBJCPP $CPPFLAGS'
9820 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9821 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9822 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9825 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
9826 if test "x$ac_cv_header_Metal_Metal_h" = xyes
9827 then :
9828 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
9832 ac_ext=c
9833 ac_cpp='$CPP $CPPFLAGS'
9834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9838 LIBEXT="dylib"
9839 DLLFLAGS="$DLLFLAGS -fPIC"
9840 LDDLLFLAGS="-fPIC"
9841 COREFOUNDATION_LIBS="-framework CoreFoundation"
9843 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9845 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9847 CORESERVICES_LIBS="-framework CoreServices"
9849 APPKIT_LIBS="-framework AppKit"
9851 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9854 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9856 wine_can_build_preloader=yes
9857 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"
9858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9859 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9860 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9861 then :
9862 printf %s "(cached) " >&6
9863 else $as_nop
9864 ac_wine_try_cflags_saved=$CFLAGS
9865 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9867 /* end confdefs.h. */
9868 int main(int argc, char **argv) { return 0; }
9869 _ACEOF
9870 if ac_fn_c_try_link "$LINENO"
9871 then :
9872 ac_cv_cflags__Wl__no_new_main__e__main=yes
9873 else $as_nop
9874 ac_cv_cflags__Wl__no_new_main__e__main=no
9876 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9877 conftest$ac_exeext conftest.$ac_ext
9878 CFLAGS=$ac_wine_try_cflags_saved
9880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9881 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9882 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9883 then :
9884 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9885 { 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
9886 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9887 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9888 then :
9889 printf %s "(cached) " >&6
9890 else $as_nop
9891 ac_wine_try_cflags_saved=$CFLAGS
9892 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9894 /* end confdefs.h. */
9895 int main(int argc, char **argv) { return 0; }
9896 _ACEOF
9897 if ac_fn_c_try_link "$LINENO"
9898 then :
9899 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9900 else $as_nop
9901 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9903 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9904 conftest$ac_exeext conftest.$ac_ext
9905 CFLAGS=$ac_wine_try_cflags_saved
9907 { 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
9908 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9909 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9910 then :
9911 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9912 else $as_nop
9913 wine_can_build_preloader=no
9915 else $as_nop
9916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9917 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9918 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9919 then :
9920 printf %s "(cached) " >&6
9921 else $as_nop
9922 ac_wine_try_cflags_saved=$CFLAGS
9923 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9925 /* end confdefs.h. */
9926 int main(int argc, char **argv) { return 0; }
9927 _ACEOF
9928 if ac_fn_c_try_link "$LINENO"
9929 then :
9930 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9931 else $as_nop
9932 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9934 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9935 conftest$ac_exeext conftest.$ac_ext
9936 CFLAGS=$ac_wine_try_cflags_saved
9938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9939 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9940 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9941 then :
9942 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9943 else $as_nop
9944 wine_can_build_preloader=no
9947 if test "$wine_can_build_preloader" = "yes"
9948 then
9949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9950 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9951 if test ${ac_cv_cflags__Wl__no_pie+y}
9952 then :
9953 printf %s "(cached) " >&6
9954 else $as_nop
9955 ac_wine_try_cflags_saved=$CFLAGS
9956 CFLAGS="$CFLAGS -Wl,-no_pie"
9957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9958 /* end confdefs.h. */
9959 int main(int argc, char **argv) { return 0; }
9960 _ACEOF
9961 if ac_fn_c_try_link "$LINENO"
9962 then :
9963 ac_cv_cflags__Wl__no_pie=yes
9964 else $as_nop
9965 ac_cv_cflags__Wl__no_pie=no
9967 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9968 conftest$ac_exeext conftest.$ac_ext
9969 CFLAGS=$ac_wine_try_cflags_saved
9971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9972 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9973 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9974 then :
9975 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9977 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
9978 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
9979 else
9980 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9983 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
9984 then
9985 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9988 if test "$ac_cv_header_Security_Security_h" = "yes"
9989 then
9990 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9993 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
9994 then
9995 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9997 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9999 if test "$ac_cv_header_OpenAL_al_h" = "yes"
10000 then
10001 OPENAL_LIBS="-framework OpenAL"
10004 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
10006 ac_cv_lib_openal=yes
10008 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
10009 then
10010 OPENCL_LIBS="-framework OpenCL"
10012 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10014 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
10015 then
10016 ac_save_LIBS="$LIBS"
10017 LIBS="$LIBS $IOKIT_LIBS"
10018 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
10019 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
10020 then :
10021 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
10025 LIBS="$ac_save_LIBS"
10028 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
10029 then
10030 CARBON_LIBS="-framework Carbon"
10033 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10034 then
10035 METAL_LIBS="-framework Metal"
10039 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10040 then
10041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10042 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10043 ac_ext=m
10044 ac_cpp='$OBJCPP $CPPFLAGS'
10045 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10046 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10047 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10050 /* end confdefs.h. */
10051 #include <Metal/Metal.h>
10053 main (void)
10055 id<MTLDevice> device; device.registryID;
10057 return 0;
10059 _ACEOF
10060 if ac_fn_objc_try_compile "$LINENO"
10061 then :
10062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10063 printf "%s\n" "yes" >&6; }
10065 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10067 else $as_nop
10068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10069 printf "%s\n" "no" >&6; }
10071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10072 ac_ext=c
10073 ac_cpp='$CPP $CPPFLAGS'
10074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10080 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10081 then
10082 ac_save_LIBS="$LIBS"
10083 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10084 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10085 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10086 then :
10087 enable_winemac_drv=${enable_winemac_drv:-yes}
10090 LIBS="$ac_save_LIBS"
10093 UNIXLDFLAGS="-dynamiclib -install_name @loader_path/\$(UNIXLIB)"
10094 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10096 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10098 WINELOADER_DEPENDS="wine_info.plist"
10100 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10103 linux-android*)
10105 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10107 DLLFLAGS="$DLLFLAGS -fPIC"
10108 LDDLLFLAGS="-fPIC"
10109 LDEXECFLAGS="-Wl,-pie"
10110 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10112 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10113 if test ${ac_cv_cflags__Wl__z_defs+y}
10114 then :
10115 printf %s "(cached) " >&6
10116 else $as_nop
10117 ac_wine_try_cflags_saved=$CFLAGS
10118 CFLAGS="$CFLAGS -Wl,-z,defs"
10119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10120 /* end confdefs.h. */
10121 int main(int argc, char **argv) { return 0; }
10122 _ACEOF
10123 if ac_fn_c_try_link "$LINENO"
10124 then :
10125 ac_cv_cflags__Wl__z_defs=yes
10126 else $as_nop
10127 ac_cv_cflags__Wl__z_defs=no
10129 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10130 conftest$ac_exeext conftest.$ac_ext
10131 CFLAGS=$ac_wine_try_cflags_saved
10133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10134 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10135 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10136 then :
10137 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10140 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10141 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10142 then :
10143 printf %s "(cached) " >&6
10144 else $as_nop
10145 ac_wine_try_cflags_saved=$CFLAGS
10146 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10148 /* end confdefs.h. */
10149 int main(int argc, char **argv) { return 0; }
10150 _ACEOF
10151 if ac_fn_c_try_link "$LINENO"
10152 then :
10153 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10154 else $as_nop
10155 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10157 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10158 conftest$ac_exeext conftest.$ac_ext
10159 CFLAGS=$ac_wine_try_cflags_saved
10161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10162 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10163 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10164 then :
10165 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10167 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10170 printf %s "checking for -lEGL... " >&6; }
10171 if test ${ac_cv_lib_soname_EGL+y}
10172 then :
10173 printf %s "(cached) " >&6
10174 else $as_nop
10175 ac_check_soname_save_LIBS=$LIBS
10176 LIBS="-lEGL $LIBS"
10177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10178 /* end confdefs.h. */
10180 /* Override any GCC internal prototype to avoid an error.
10181 Use char because int might match the return type of a GCC
10182 builtin and then its argument prototype would still apply. */
10183 char eglGetProcAddress ();
10185 main (void)
10187 return eglGetProcAddress ();
10189 return 0;
10191 _ACEOF
10192 if ac_fn_c_try_link "$LINENO"
10193 then :
10194 case "$LIBEXT" in
10195 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10196 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'` ;;
10197 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10198 if ${ac_cv_lib_soname_EGL:+false} :
10199 then :
10200 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10201 fi ;;
10202 esac
10203 else $as_nop
10204 ac_cv_lib_soname_EGL=
10206 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10207 conftest$ac_exeext conftest.$ac_ext
10208 LIBS=$ac_check_soname_save_LIBS
10210 if ${ac_cv_lib_soname_EGL:+false} :
10211 then :
10212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10213 printf "%s\n" "not found" >&6; }
10215 else $as_nop
10216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10217 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10219 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10224 printf %s "checking for -lGLESv2... " >&6; }
10225 if test ${ac_cv_lib_soname_GLESv2+y}
10226 then :
10227 printf %s "(cached) " >&6
10228 else $as_nop
10229 ac_check_soname_save_LIBS=$LIBS
10230 LIBS="-lGLESv2 $LIBS"
10231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10232 /* end confdefs.h. */
10234 /* Override any GCC internal prototype to avoid an error.
10235 Use char because int might match the return type of a GCC
10236 builtin and then its argument prototype would still apply. */
10237 char glFlush ();
10239 main (void)
10241 return glFlush ();
10243 return 0;
10245 _ACEOF
10246 if ac_fn_c_try_link "$LINENO"
10247 then :
10248 case "$LIBEXT" in
10249 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10250 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'` ;;
10251 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10252 if ${ac_cv_lib_soname_GLESv2:+false} :
10253 then :
10254 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10255 fi ;;
10256 esac
10257 else $as_nop
10258 ac_cv_lib_soname_GLESv2=
10260 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10261 conftest$ac_exeext conftest.$ac_ext
10262 LIBS=$ac_check_soname_save_LIBS
10264 if ${ac_cv_lib_soname_GLESv2:+false} :
10265 then :
10266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10267 printf "%s\n" "not found" >&6; }
10269 else $as_nop
10270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10271 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10273 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10278 if test "x$exec_prefix" = xNONE
10279 then
10280 case $host_cpu in
10281 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10282 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10283 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10284 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10285 esac
10291 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10293 test "$ac_cv_sys_file_offset_bits" = 64 &&
10294 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10296 case $host_cpu in
10297 *i[3456789]86*)
10298 DLLFLAGS="$DLLFLAGS -fno-PIC"
10299 LDDLLFLAGS="-fno-PIC"
10300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10301 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10302 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10303 then :
10304 printf %s "(cached) " >&6
10305 else $as_nop
10306 ac_wine_try_cflags_saved=$CFLAGS
10307 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10309 /* end confdefs.h. */
10310 int main(int argc, char **argv) { return 0; }
10311 _ACEOF
10312 if ac_fn_c_try_link "$LINENO"
10313 then :
10314 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10315 else $as_nop
10316 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10318 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10319 conftest$ac_exeext conftest.$ac_ext
10320 CFLAGS=$ac_wine_try_cflags_saved
10322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10323 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10324 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10325 then :
10326 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10330 DLLFLAGS="$DLLFLAGS -fPIC"
10331 LDDLLFLAGS="-fPIC" ;;
10332 esac
10333 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10335 echo '{ global: *; };' >conftest.map
10336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10337 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10338 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10339 then :
10340 printf %s "(cached) " >&6
10341 else $as_nop
10342 ac_wine_try_cflags_saved=$CFLAGS
10343 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10345 /* end confdefs.h. */
10346 int main(int argc, char **argv) { return 0; }
10347 _ACEOF
10348 if ac_fn_c_try_link "$LINENO"
10349 then :
10350 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10351 else $as_nop
10352 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10354 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10355 conftest$ac_exeext conftest.$ac_ext
10356 CFLAGS=$ac_wine_try_cflags_saved
10358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10359 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10360 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10361 then :
10362 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10364 rm -f conftest.map
10366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10367 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10368 if test ${ac_cv_cflags__Wl__z_defs+y}
10369 then :
10370 printf %s "(cached) " >&6
10371 else $as_nop
10372 ac_wine_try_cflags_saved=$CFLAGS
10373 CFLAGS="$CFLAGS -Wl,-z,defs"
10374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10375 /* end confdefs.h. */
10376 int main(int argc, char **argv) { return 0; }
10377 _ACEOF
10378 if ac_fn_c_try_link "$LINENO"
10379 then :
10380 ac_cv_cflags__Wl__z_defs=yes
10381 else $as_nop
10382 ac_cv_cflags__Wl__z_defs=no
10384 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10385 conftest$ac_exeext conftest.$ac_ext
10386 CFLAGS=$ac_wine_try_cflags_saved
10388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10389 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10390 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10391 then :
10392 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10395 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10396 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10397 then :
10398 printf %s "(cached) " >&6
10399 else $as_nop
10400 ac_wine_try_cflags_saved=$CFLAGS
10401 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10403 /* end confdefs.h. */
10404 int main(int argc, char **argv) { return 0; }
10405 _ACEOF
10406 if ac_fn_c_try_link "$LINENO"
10407 then :
10408 ac_cv_cflags__Wl___export_dynamic=yes
10409 else $as_nop
10410 ac_cv_cflags__Wl___export_dynamic=no
10412 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10413 conftest$ac_exeext conftest.$ac_ext
10414 CFLAGS=$ac_wine_try_cflags_saved
10416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10417 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10418 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10419 then :
10420 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10422 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10424 case $host_cpu in
10425 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10427 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10428 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10429 then :
10430 printf %s "(cached) " >&6
10431 else $as_nop
10432 ac_wine_try_cflags_saved=$CFLAGS
10433 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10435 /* end confdefs.h. */
10436 int main(int argc, char **argv) { return 0; }
10437 _ACEOF
10438 if ac_fn_c_try_link "$LINENO"
10439 then :
10440 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10441 else $as_nop
10442 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10444 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10445 conftest$ac_exeext conftest.$ac_ext
10446 CFLAGS=$ac_wine_try_cflags_saved
10448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10449 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10450 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10451 then :
10452 case $host_os in
10453 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10454 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10455 esac
10456 else $as_nop
10457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10458 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10459 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10460 then :
10461 printf %s "(cached) " >&6
10462 else $as_nop
10463 ac_wine_try_cflags_saved=$CFLAGS
10464 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10466 /* end confdefs.h. */
10467 int main(int argc, char **argv) { return 0; }
10468 _ACEOF
10469 if ac_fn_c_try_link "$LINENO"
10470 then :
10471 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10472 else $as_nop
10473 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10475 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10476 conftest$ac_exeext conftest.$ac_ext
10477 CFLAGS=$ac_wine_try_cflags_saved
10479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10480 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10481 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10482 then :
10483 case $host_os in
10484 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10485 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10486 esac
10488 # Extract the first word of "prelink", so it can be a program name with args.
10489 set dummy prelink; ac_word=$2
10490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10491 printf %s "checking for $ac_word... " >&6; }
10492 if test ${ac_cv_path_PRELINK+y}
10493 then :
10494 printf %s "(cached) " >&6
10495 else $as_nop
10496 case $PRELINK in
10497 [\\/]* | ?:[\\/]*)
10498 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10502 for as_dir in /sbin /usr/sbin $PATH
10504 IFS=$as_save_IFS
10505 case $as_dir in #(((
10506 '') as_dir=./ ;;
10507 */) ;;
10508 *) as_dir=$as_dir/ ;;
10509 esac
10510 for ac_exec_ext in '' $ac_executable_extensions; do
10511 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10512 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10513 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10514 break 2
10516 done
10517 done
10518 IFS=$as_save_IFS
10520 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10522 esac
10524 PRELINK=$ac_cv_path_PRELINK
10525 if test -n "$PRELINK"; then
10526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10527 printf "%s\n" "$PRELINK" >&6; }
10528 else
10529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10530 printf "%s\n" "no" >&6; }
10534 if test "x$PRELINK" = xfalse
10535 then
10536 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10540 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10541 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10542 then :
10543 printf %s "(cached) " >&6
10544 else $as_nop
10545 ac_wine_try_cflags_saved=$CFLAGS
10546 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10548 /* end confdefs.h. */
10549 int main(int argc, char **argv) { return 0; }
10550 _ACEOF
10551 if ac_fn_c_try_link "$LINENO"
10552 then :
10553 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10554 else $as_nop
10555 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10557 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10558 conftest$ac_exeext conftest.$ac_ext
10559 CFLAGS=$ac_wine_try_cflags_saved
10561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10562 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10563 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10564 then :
10565 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10568 esac
10569 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10571 LIBWINE_DEPENDS="wine.map"
10573 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10575 esac
10577 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10578 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10579 enable_winemac_drv=${enable_winemac_drv:-no}
10582 if test "x$with_mingw" != xno
10583 then
10584 case "x$with_mingw" in
10585 x|xyes) case "$host_cpu" in
10586 aarch64*)
10587 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
10588 arm*)
10589 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
10590 i[3456789]86*)
10591 ac_prefix_list="i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc i686-pc-mingw32-gcc i586-pc-mingw32-gcc i486-pc-mingw32-gcc i386-pc-mingw32-gcc i686-mingw32msvc-gcc i586-mingw32msvc-gcc i486-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i486-mingw32-gcc i386-mingw32-gcc
10592 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
10593 mingw32-gcc clang" ;;
10594 x86_64)
10595 ac_prefix_list="x86_64-pc-mingw32-gcc amd64-pc-mingw32-gcc x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-mingw32msvc-gcc amd64-mingw32msvc-gcc
10596 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
10598 ac_prefix_list="" ;;
10599 esac
10600 for ac_prog in $ac_prefix_list
10602 # Extract the first word of "$ac_prog", so it can be a program name with args.
10603 set dummy $ac_prog; ac_word=$2
10604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10605 printf %s "checking for $ac_word... " >&6; }
10606 if test ${ac_cv_prog_CROSSCC+y}
10607 then :
10608 printf %s "(cached) " >&6
10609 else $as_nop
10610 if test -n "$CROSSCC"; then
10611 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
10612 else
10613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10614 for as_dir in $PATH
10616 IFS=$as_save_IFS
10617 case $as_dir in #(((
10618 '') as_dir=./ ;;
10619 */) ;;
10620 *) as_dir=$as_dir/ ;;
10621 esac
10622 for ac_exec_ext in '' $ac_executable_extensions; do
10623 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10624 ac_cv_prog_CROSSCC="$ac_prog"
10625 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10626 break 2
10628 done
10629 done
10630 IFS=$as_save_IFS
10634 CROSSCC=$ac_cv_prog_CROSSCC
10635 if test -n "$CROSSCC"; then
10636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
10637 printf "%s\n" "$CROSSCC" >&6; }
10638 else
10639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10640 printf "%s\n" "no" >&6; }
10644 test -n "$CROSSCC" && break
10645 done
10646 test -n "$CROSSCC" || CROSSCC="false"
10648 *) CROSSCC=$with_mingw ;;
10649 esac
10650 if test "$CROSSCC" != "false"
10651 then
10652 ac_save_CC="$CC"
10653 saved_CFLAGS=$CFLAGS
10654 saved_LDFLAGS=$LDFLAGS
10655 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
10657 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
10661 CC="$CROSSCC"
10662 CFLAGS=$CROSSCFLAGS
10663 LDFLAGS=$CROSSLDFLAGS
10664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
10665 printf %s "checking whether $CROSSCC works... " >&6; }
10666 if test ${wine_cv_crosscc+y}
10667 then :
10668 printf %s "(cached) " >&6
10669 else $as_nop
10670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10671 /* end confdefs.h. */
10674 main (void)
10678 return 0;
10680 _ACEOF
10681 if ac_fn_c_try_compile "$LINENO"
10682 then :
10683 wine_cv_crosscc=yes
10684 else $as_nop
10685 wine_cv_crosscc=no
10687 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
10690 printf "%s\n" "$wine_cv_crosscc" >&6; }
10691 if test $wine_cv_crosscc = yes
10692 then
10693 set x $CROSSCC
10694 shift
10695 while test $# -ge 1
10697 case "$1" in
10698 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
10699 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
10700 esac
10701 shift
10702 done
10704 llvm_target=$CROSSTARGET
10705 llvm_cflags="-fuse-ld=lld"
10706 if test -z "$llvm_target"
10707 then
10708 case $host_cpu in
10709 *i[3456789]86*) llvm_target=i686-windows ;;
10710 *) llvm_target=$host_cpu-windows ;;
10711 esac
10713 case $llvm_target in
10714 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
10715 esac
10716 as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
10717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
10718 printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
10719 if eval test \${$as_ac_var+y}
10720 then :
10721 printf %s "(cached) " >&6
10722 else $as_nop
10723 ac_wine_try_cflags_saved=$CFLAGS
10724 ac_wine_try_cflags_saved_cc=$CC
10725 ac_wine_try_cflags_saved_exeext=$ac_exeext
10726 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
10727 CC="$CROSSCC"
10728 ac_exeext=".exe"
10729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10730 /* end confdefs.h. */
10731 int __cdecl mainCRTStartup(void) { return 0; }
10732 _ACEOF
10733 if ac_fn_c_try_link "$LINENO"
10734 then :
10735 eval "$as_ac_var=yes"
10736 else $as_nop
10737 eval "$as_ac_var=no"
10739 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10740 conftest$ac_exeext conftest.$ac_ext
10741 CFLAGS=$ac_wine_try_cflags_saved
10742 CC=$ac_wine_try_cflags_saved_cc
10743 ac_exeext=$ac_wine_try_cflags_saved_exeext
10745 eval ac_res=\$$as_ac_var
10746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10747 printf "%s\n" "$ac_res" >&6; }
10748 if eval test \"x\$"$as_ac_var"\" = x"yes"
10749 then :
10750 CROSSTARGET=$llvm_target
10751 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
10752 DELAYLOADFLAG="-Wl,-delayload,"
10754 CFLAGS="$CFLAGS $llvm_cflags"
10757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
10758 printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
10759 if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
10760 then :
10761 printf %s "(cached) " >&6
10762 else $as_nop
10763 ac_wine_try_cflags_saved=$CFLAGS
10764 ac_wine_try_cflags_saved_cc=$CC
10765 ac_wine_try_cflags_saved_exeext=$ac_exeext
10766 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
10767 CC="$CROSSCC"
10768 ac_exeext=".exe"
10769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10770 /* end confdefs.h. */
10771 int __cdecl mainCRTStartup(void) { return 0; }
10772 _ACEOF
10773 if ac_fn_c_try_link "$LINENO"
10774 then :
10775 ac_cv_crosscflags__fno_strict_aliasing=yes
10776 else $as_nop
10777 ac_cv_crosscflags__fno_strict_aliasing=no
10779 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10780 conftest$ac_exeext conftest.$ac_ext
10781 CFLAGS=$ac_wine_try_cflags_saved
10782 CC=$ac_wine_try_cflags_saved_cc
10783 ac_exeext=$ac_wine_try_cflags_saved_exeext
10785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
10786 printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
10787 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
10788 then :
10789 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
10791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
10792 printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
10793 if test ${ac_cv_crosscflags__Werror_unknown_warning_option+y}
10794 then :
10795 printf %s "(cached) " >&6
10796 else $as_nop
10797 ac_wine_try_cflags_saved=$CFLAGS
10798 ac_wine_try_cflags_saved_cc=$CC
10799 ac_wine_try_cflags_saved_exeext=$ac_exeext
10800 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
10801 CC="$CROSSCC"
10802 ac_exeext=".exe"
10803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10804 /* end confdefs.h. */
10805 int __cdecl mainCRTStartup(void) { return 0; }
10806 _ACEOF
10807 if ac_fn_c_try_link "$LINENO"
10808 then :
10809 ac_cv_crosscflags__Werror_unknown_warning_option=yes
10810 else $as_nop
10811 ac_cv_crosscflags__Werror_unknown_warning_option=no
10813 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10814 conftest$ac_exeext conftest.$ac_ext
10815 CFLAGS=$ac_wine_try_cflags_saved
10816 CC=$ac_wine_try_cflags_saved_cc
10817 ac_exeext=$ac_wine_try_cflags_saved_exeext
10819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
10820 printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
10821 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
10822 then :
10823 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
10826 printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
10827 if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
10828 then :
10829 printf %s "(cached) " >&6
10830 else $as_nop
10831 ac_wine_try_cflags_saved=$CFLAGS
10832 ac_wine_try_cflags_saved_cc=$CC
10833 ac_wine_try_cflags_saved_exeext=$ac_exeext
10834 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
10835 CC="$CROSSCC"
10836 ac_exeext=".exe"
10837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10838 /* end confdefs.h. */
10839 int __cdecl mainCRTStartup(void) { return 0; }
10840 _ACEOF
10841 if ac_fn_c_try_link "$LINENO"
10842 then :
10843 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
10844 else $as_nop
10845 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
10847 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10848 conftest$ac_exeext conftest.$ac_ext
10849 CFLAGS=$ac_wine_try_cflags_saved
10850 CC=$ac_wine_try_cflags_saved_cc
10851 ac_exeext=$ac_wine_try_cflags_saved_exeext
10853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
10854 printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
10855 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
10856 then :
10857 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
10860 printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
10861 if test ${ac_cv_crosscflags__Wdeclaration_after_statement+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_cc=$CC
10867 ac_wine_try_cflags_saved_exeext=$ac_exeext
10868 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
10869 CC="$CROSSCC"
10870 ac_exeext=".exe"
10871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10872 /* end confdefs.h. */
10873 int __cdecl mainCRTStartup(void) { return 0; }
10874 _ACEOF
10875 if ac_fn_c_try_link "$LINENO"
10876 then :
10877 ac_cv_crosscflags__Wdeclaration_after_statement=yes
10878 else $as_nop
10879 ac_cv_crosscflags__Wdeclaration_after_statement=no
10881 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10882 conftest$ac_exeext conftest.$ac_ext
10883 CFLAGS=$ac_wine_try_cflags_saved
10884 CC=$ac_wine_try_cflags_saved_cc
10885 ac_exeext=$ac_wine_try_cflags_saved_exeext
10887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
10888 printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
10889 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
10890 then :
10891 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
10893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
10894 printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
10895 if test ${ac_cv_crosscflags__Wempty_body+y}
10896 then :
10897 printf %s "(cached) " >&6
10898 else $as_nop
10899 ac_wine_try_cflags_saved=$CFLAGS
10900 ac_wine_try_cflags_saved_cc=$CC
10901 ac_wine_try_cflags_saved_exeext=$ac_exeext
10902 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
10903 CC="$CROSSCC"
10904 ac_exeext=".exe"
10905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10906 /* end confdefs.h. */
10907 int __cdecl mainCRTStartup(void) { return 0; }
10908 _ACEOF
10909 if ac_fn_c_try_link "$LINENO"
10910 then :
10911 ac_cv_crosscflags__Wempty_body=yes
10912 else $as_nop
10913 ac_cv_crosscflags__Wempty_body=no
10915 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10916 conftest$ac_exeext conftest.$ac_ext
10917 CFLAGS=$ac_wine_try_cflags_saved
10918 CC=$ac_wine_try_cflags_saved_cc
10919 ac_exeext=$ac_wine_try_cflags_saved_exeext
10921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
10922 printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
10923 if test "x$ac_cv_crosscflags__Wempty_body" = xyes
10924 then :
10925 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
10927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
10928 printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
10929 if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
10930 then :
10931 printf %s "(cached) " >&6
10932 else $as_nop
10933 ac_wine_try_cflags_saved=$CFLAGS
10934 ac_wine_try_cflags_saved_cc=$CC
10935 ac_wine_try_cflags_saved_exeext=$ac_exeext
10936 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10937 CC="$CROSSCC"
10938 ac_exeext=".exe"
10939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10940 /* end confdefs.h. */
10941 int __cdecl mainCRTStartup(void) { return 0; }
10942 _ACEOF
10943 if ac_fn_c_try_link "$LINENO"
10944 then :
10945 ac_cv_crosscflags__Wignored_qualifiers=yes
10946 else $as_nop
10947 ac_cv_crosscflags__Wignored_qualifiers=no
10949 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10950 conftest$ac_exeext conftest.$ac_ext
10951 CFLAGS=$ac_wine_try_cflags_saved
10952 CC=$ac_wine_try_cflags_saved_cc
10953 ac_exeext=$ac_wine_try_cflags_saved_exeext
10955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10956 printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10957 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
10958 then :
10959 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
10962 printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
10963 if test ${ac_cv_crosscflags__Winit_self+y}
10964 then :
10965 printf %s "(cached) " >&6
10966 else $as_nop
10967 ac_wine_try_cflags_saved=$CFLAGS
10968 ac_wine_try_cflags_saved_cc=$CC
10969 ac_wine_try_cflags_saved_exeext=$ac_exeext
10970 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
10971 CC="$CROSSCC"
10972 ac_exeext=".exe"
10973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10974 /* end confdefs.h. */
10975 int __cdecl mainCRTStartup(void) { return 0; }
10976 _ACEOF
10977 if ac_fn_c_try_link "$LINENO"
10978 then :
10979 ac_cv_crosscflags__Winit_self=yes
10980 else $as_nop
10981 ac_cv_crosscflags__Winit_self=no
10983 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10984 conftest$ac_exeext conftest.$ac_ext
10985 CFLAGS=$ac_wine_try_cflags_saved
10986 CC=$ac_wine_try_cflags_saved_cc
10987 ac_exeext=$ac_wine_try_cflags_saved_exeext
10989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
10990 printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
10991 if test "x$ac_cv_crosscflags__Winit_self" = xyes
10992 then :
10993 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
10995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10996 printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10997 if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
10998 then :
10999 printf %s "(cached) " >&6
11000 else $as_nop
11001 ac_wine_try_cflags_saved=$CFLAGS
11002 ac_wine_try_cflags_saved_cc=$CC
11003 ac_wine_try_cflags_saved_exeext=$ac_exeext
11004 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11005 CC="$CROSSCC"
11006 ac_exeext=".exe"
11007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11008 /* end confdefs.h. */
11009 int __cdecl mainCRTStartup(void) { return 0; }
11010 _ACEOF
11011 if ac_fn_c_try_link "$LINENO"
11012 then :
11013 ac_cv_crosscflags__Wpacked_not_aligned=yes
11014 else $as_nop
11015 ac_cv_crosscflags__Wpacked_not_aligned=no
11017 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11018 conftest$ac_exeext conftest.$ac_ext
11019 CFLAGS=$ac_wine_try_cflags_saved
11020 CC=$ac_wine_try_cflags_saved_cc
11021 ac_exeext=$ac_wine_try_cflags_saved_exeext
11023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
11024 printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
11025 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
11026 then :
11027 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
11029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
11030 printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
11031 if test ${ac_cv_crosscflags__Wpragma_pack+y}
11032 then :
11033 printf %s "(cached) " >&6
11034 else $as_nop
11035 ac_wine_try_cflags_saved=$CFLAGS
11036 ac_wine_try_cflags_saved_cc=$CC
11037 ac_wine_try_cflags_saved_exeext=$ac_exeext
11038 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11039 CC="$CROSSCC"
11040 ac_exeext=".exe"
11041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11042 /* end confdefs.h. */
11043 int __cdecl mainCRTStartup(void) { return 0; }
11044 _ACEOF
11045 if ac_fn_c_try_link "$LINENO"
11046 then :
11047 ac_cv_crosscflags__Wpragma_pack=yes
11048 else $as_nop
11049 ac_cv_crosscflags__Wpragma_pack=no
11051 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11052 conftest$ac_exeext conftest.$ac_ext
11053 CFLAGS=$ac_wine_try_cflags_saved
11054 CC=$ac_wine_try_cflags_saved_cc
11055 ac_exeext=$ac_wine_try_cflags_saved_exeext
11057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
11058 printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
11059 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
11060 then :
11061 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
11063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
11064 printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
11065 if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
11066 then :
11067 printf %s "(cached) " >&6
11068 else $as_nop
11069 ac_wine_try_cflags_saved=$CFLAGS
11070 ac_wine_try_cflags_saved_cc=$CC
11071 ac_wine_try_cflags_saved_exeext=$ac_exeext
11072 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11073 CC="$CROSSCC"
11074 ac_exeext=".exe"
11075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11076 /* end confdefs.h. */
11077 int __cdecl mainCRTStartup(void) { return 0; }
11078 _ACEOF
11079 if ac_fn_c_try_link "$LINENO"
11080 then :
11081 ac_cv_crosscflags__Wshift_overflow_2=yes
11082 else $as_nop
11083 ac_cv_crosscflags__Wshift_overflow_2=no
11085 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11086 conftest$ac_exeext conftest.$ac_ext
11087 CFLAGS=$ac_wine_try_cflags_saved
11088 CC=$ac_wine_try_cflags_saved_cc
11089 ac_exeext=$ac_wine_try_cflags_saved_exeext
11091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
11092 printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
11093 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
11094 then :
11095 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
11097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
11098 printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
11099 if test ${ac_cv_crosscflags__Wstrict_prototypes+y}
11100 then :
11101 printf %s "(cached) " >&6
11102 else $as_nop
11103 ac_wine_try_cflags_saved=$CFLAGS
11104 ac_wine_try_cflags_saved_cc=$CC
11105 ac_wine_try_cflags_saved_exeext=$ac_exeext
11106 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11107 CC="$CROSSCC"
11108 ac_exeext=".exe"
11109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11110 /* end confdefs.h. */
11111 int __cdecl mainCRTStartup(void) { return 0; }
11112 _ACEOF
11113 if ac_fn_c_try_link "$LINENO"
11114 then :
11115 ac_cv_crosscflags__Wstrict_prototypes=yes
11116 else $as_nop
11117 ac_cv_crosscflags__Wstrict_prototypes=no
11119 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11120 conftest$ac_exeext conftest.$ac_ext
11121 CFLAGS=$ac_wine_try_cflags_saved
11122 CC=$ac_wine_try_cflags_saved_cc
11123 ac_exeext=$ac_wine_try_cflags_saved_exeext
11125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
11126 printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
11127 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
11128 then :
11129 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
11131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
11132 printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
11133 if test ${ac_cv_crosscflags__Wtype_limits+y}
11134 then :
11135 printf %s "(cached) " >&6
11136 else $as_nop
11137 ac_wine_try_cflags_saved=$CFLAGS
11138 ac_wine_try_cflags_saved_cc=$CC
11139 ac_wine_try_cflags_saved_exeext=$ac_exeext
11140 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11141 CC="$CROSSCC"
11142 ac_exeext=".exe"
11143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11144 /* end confdefs.h. */
11145 int __cdecl mainCRTStartup(void) { return 0; }
11146 _ACEOF
11147 if ac_fn_c_try_link "$LINENO"
11148 then :
11149 ac_cv_crosscflags__Wtype_limits=yes
11150 else $as_nop
11151 ac_cv_crosscflags__Wtype_limits=no
11153 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11154 conftest$ac_exeext conftest.$ac_ext
11155 CFLAGS=$ac_wine_try_cflags_saved
11156 CC=$ac_wine_try_cflags_saved_cc
11157 ac_exeext=$ac_wine_try_cflags_saved_exeext
11159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
11160 printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
11161 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
11162 then :
11163 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
11165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
11166 printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
11167 if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
11168 then :
11169 printf %s "(cached) " >&6
11170 else $as_nop
11171 ac_wine_try_cflags_saved=$CFLAGS
11172 ac_wine_try_cflags_saved_cc=$CC
11173 ac_wine_try_cflags_saved_exeext=$ac_exeext
11174 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11175 CC="$CROSSCC"
11176 ac_exeext=".exe"
11177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11178 /* end confdefs.h. */
11179 int __cdecl mainCRTStartup(void) { return 0; }
11180 _ACEOF
11181 if ac_fn_c_try_link "$LINENO"
11182 then :
11183 ac_cv_crosscflags__Wunused_but_set_parameter=yes
11184 else $as_nop
11185 ac_cv_crosscflags__Wunused_but_set_parameter=no
11187 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11188 conftest$ac_exeext conftest.$ac_ext
11189 CFLAGS=$ac_wine_try_cflags_saved
11190 CC=$ac_wine_try_cflags_saved_cc
11191 ac_exeext=$ac_wine_try_cflags_saved_exeext
11193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
11194 printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
11195 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
11196 then :
11197 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
11199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
11200 printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
11201 if test ${ac_cv_crosscflags__Wvla+y}
11202 then :
11203 printf %s "(cached) " >&6
11204 else $as_nop
11205 ac_wine_try_cflags_saved=$CFLAGS
11206 ac_wine_try_cflags_saved_cc=$CC
11207 ac_wine_try_cflags_saved_exeext=$ac_exeext
11208 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
11209 CC="$CROSSCC"
11210 ac_exeext=".exe"
11211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11212 /* end confdefs.h. */
11213 int __cdecl mainCRTStartup(void) { return 0; }
11214 _ACEOF
11215 if ac_fn_c_try_link "$LINENO"
11216 then :
11217 ac_cv_crosscflags__Wvla=yes
11218 else $as_nop
11219 ac_cv_crosscflags__Wvla=no
11221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11222 conftest$ac_exeext conftest.$ac_ext
11223 CFLAGS=$ac_wine_try_cflags_saved
11224 CC=$ac_wine_try_cflags_saved_cc
11225 ac_exeext=$ac_wine_try_cflags_saved_exeext
11227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
11228 printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
11229 if test "x$ac_cv_crosscflags__Wvla" = xyes
11230 then :
11231 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
11233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
11234 printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
11235 if test ${ac_cv_crosscflags__Wwrite_strings+y}
11236 then :
11237 printf %s "(cached) " >&6
11238 else $as_nop
11239 ac_wine_try_cflags_saved=$CFLAGS
11240 ac_wine_try_cflags_saved_cc=$CC
11241 ac_wine_try_cflags_saved_exeext=$ac_exeext
11242 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11243 CC="$CROSSCC"
11244 ac_exeext=".exe"
11245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11246 /* end confdefs.h. */
11247 int __cdecl mainCRTStartup(void) { return 0; }
11248 _ACEOF
11249 if ac_fn_c_try_link "$LINENO"
11250 then :
11251 ac_cv_crosscflags__Wwrite_strings=yes
11252 else $as_nop
11253 ac_cv_crosscflags__Wwrite_strings=no
11255 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11256 conftest$ac_exeext conftest.$ac_ext
11257 CFLAGS=$ac_wine_try_cflags_saved
11258 CC=$ac_wine_try_cflags_saved_cc
11259 ac_exeext=$ac_wine_try_cflags_saved_exeext
11261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
11262 printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
11263 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
11264 then :
11265 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
11267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
11268 printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
11269 if test ${ac_cv_crosscflags__Wpointer_arith+y}
11270 then :
11271 printf %s "(cached) " >&6
11272 else $as_nop
11273 ac_wine_try_cflags_saved=$CFLAGS
11274 ac_wine_try_cflags_saved_cc=$CC
11275 ac_wine_try_cflags_saved_exeext=$ac_exeext
11276 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11277 CC="$CROSSCC"
11278 ac_exeext=".exe"
11279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11280 /* end confdefs.h. */
11281 int __cdecl mainCRTStartup(void) { return 0; }
11282 _ACEOF
11283 if ac_fn_c_try_link "$LINENO"
11284 then :
11285 ac_cv_crosscflags__Wpointer_arith=yes
11286 else $as_nop
11287 ac_cv_crosscflags__Wpointer_arith=no
11289 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11290 conftest$ac_exeext conftest.$ac_ext
11291 CFLAGS=$ac_wine_try_cflags_saved
11292 CC=$ac_wine_try_cflags_saved_cc
11293 ac_exeext=$ac_wine_try_cflags_saved_exeext
11295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
11296 printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
11297 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
11298 then :
11299 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
11301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
11302 printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
11303 if test ${ac_cv_crosscflags__Wlogical_op+y}
11304 then :
11305 printf %s "(cached) " >&6
11306 else $as_nop
11307 ac_wine_try_cflags_saved=$CFLAGS
11308 ac_wine_try_cflags_saved_cc=$CC
11309 ac_wine_try_cflags_saved_exeext=$ac_exeext
11310 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11311 CC="$CROSSCC"
11312 ac_exeext=".exe"
11313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11314 /* end confdefs.h. */
11315 int __cdecl mainCRTStartup(void) { return 0; }
11316 _ACEOF
11317 if ac_fn_c_try_link "$LINENO"
11318 then :
11319 ac_cv_crosscflags__Wlogical_op=yes
11320 else $as_nop
11321 ac_cv_crosscflags__Wlogical_op=no
11323 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11324 conftest$ac_exeext conftest.$ac_ext
11325 CFLAGS=$ac_wine_try_cflags_saved
11326 CC=$ac_wine_try_cflags_saved_cc
11327 ac_exeext=$ac_wine_try_cflags_saved_exeext
11329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
11330 printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
11331 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
11332 then :
11333 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
11335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
11336 printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
11337 if test ${ac_cv_crosscflags__Wabsolute_value+y}
11338 then :
11339 printf %s "(cached) " >&6
11340 else $as_nop
11341 ac_wine_try_cflags_saved=$CFLAGS
11342 ac_wine_try_cflags_saved_cc=$CC
11343 ac_wine_try_cflags_saved_exeext=$ac_exeext
11344 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11345 CC="$CROSSCC"
11346 ac_exeext=".exe"
11347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11348 /* end confdefs.h. */
11349 int __cdecl mainCRTStartup(void) { return 0; }
11350 _ACEOF
11351 if ac_fn_c_try_link "$LINENO"
11352 then :
11353 ac_cv_crosscflags__Wabsolute_value=yes
11354 else $as_nop
11355 ac_cv_crosscflags__Wabsolute_value=no
11357 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11358 conftest$ac_exeext conftest.$ac_ext
11359 CFLAGS=$ac_wine_try_cflags_saved
11360 CC=$ac_wine_try_cflags_saved_cc
11361 ac_exeext=$ac_wine_try_cflags_saved_exeext
11363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
11364 printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
11365 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
11366 then :
11367 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
11370 case $host_cpu in
11371 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
11372 printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
11373 if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
11374 then :
11375 printf %s "(cached) " >&6
11376 else $as_nop
11377 ac_wine_try_cflags_saved=$CFLAGS
11378 ac_wine_try_cflags_saved_cc=$CC
11379 ac_wine_try_cflags_saved_exeext=$ac_exeext
11380 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11381 CC="$CROSSCC"
11382 ac_exeext=".exe"
11383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11384 /* end confdefs.h. */
11385 int __cdecl mainCRTStartup(void) { return 0; }
11386 _ACEOF
11387 if ac_fn_c_try_link "$LINENO"
11388 then :
11389 ac_cv_crosscflags__fno_omit_frame_pointer=yes
11390 else $as_nop
11391 ac_cv_crosscflags__fno_omit_frame_pointer=no
11393 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11394 conftest$ac_exeext conftest.$ac_ext
11395 CFLAGS=$ac_wine_try_cflags_saved
11396 CC=$ac_wine_try_cflags_saved_cc
11397 ac_exeext=$ac_wine_try_cflags_saved_exeext
11399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
11400 printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
11401 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
11402 then :
11403 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
11404 fi ;;
11405 x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11406 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11407 if test ${ac_cv_crosscflags__Wno_format+y}
11408 then :
11409 printf %s "(cached) " >&6
11410 else $as_nop
11411 ac_wine_try_cflags_saved=$CFLAGS
11412 ac_wine_try_cflags_saved_cc=$CC
11413 ac_wine_try_cflags_saved_exeext=$ac_exeext
11414 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11415 CC="$CROSSCC"
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 ac_cv_crosscflags__Wno_format=yes
11424 else $as_nop
11425 ac_cv_crosscflags__Wno_format=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 CC=$ac_wine_try_cflags_saved_cc
11431 ac_exeext=$ac_wine_try_cflags_saved_exeext
11433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11434 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11435 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11436 then :
11437 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
11440 printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
11441 if test ${ac_cv_crosscflags__Wformat_overflow+y}
11442 then :
11443 printf %s "(cached) " >&6
11444 else $as_nop
11445 ac_wine_try_cflags_saved=$CFLAGS
11446 ac_wine_try_cflags_saved_cc=$CC
11447 ac_wine_try_cflags_saved_exeext=$ac_exeext
11448 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11449 CC="$CROSSCC"
11450 ac_exeext=".exe"
11451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11452 /* end confdefs.h. */
11453 int __cdecl mainCRTStartup(void) { return 0; }
11454 _ACEOF
11455 if ac_fn_c_try_link "$LINENO"
11456 then :
11457 ac_cv_crosscflags__Wformat_overflow=yes
11458 else $as_nop
11459 ac_cv_crosscflags__Wformat_overflow=no
11461 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11462 conftest$ac_exeext conftest.$ac_ext
11463 CFLAGS=$ac_wine_try_cflags_saved
11464 CC=$ac_wine_try_cflags_saved_cc
11465 ac_exeext=$ac_wine_try_cflags_saved_exeext
11467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
11468 printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
11469 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
11470 then :
11471 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
11473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
11474 printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
11475 if test ${ac_cv_crosscflags__Wnonnull+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_cc=$CC
11481 ac_wine_try_cflags_saved_exeext=$ac_exeext
11482 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11483 CC="$CROSSCC"
11484 ac_exeext=".exe"
11485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11486 /* end confdefs.h. */
11487 int __cdecl mainCRTStartup(void) { return 0; }
11488 _ACEOF
11489 if ac_fn_c_try_link "$LINENO"
11490 then :
11491 ac_cv_crosscflags__Wnonnull=yes
11492 else $as_nop
11493 ac_cv_crosscflags__Wnonnull=no
11495 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11496 conftest$ac_exeext conftest.$ac_ext
11497 CFLAGS=$ac_wine_try_cflags_saved
11498 CC=$ac_wine_try_cflags_saved_cc
11499 ac_exeext=$ac_wine_try_cflags_saved_exeext
11501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
11502 printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
11503 if test "x$ac_cv_crosscflags__Wnonnull" = xyes
11504 then :
11505 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
11507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
11508 printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
11509 if test ${ac_cv_crosscflags__mcx16+y}
11510 then :
11511 printf %s "(cached) " >&6
11512 else $as_nop
11513 ac_wine_try_cflags_saved=$CFLAGS
11514 ac_wine_try_cflags_saved_cc=$CC
11515 ac_wine_try_cflags_saved_exeext=$ac_exeext
11516 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
11517 CC="$CROSSCC"
11518 ac_exeext=".exe"
11519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11520 /* end confdefs.h. */
11521 int __cdecl mainCRTStartup(void) { return 0; }
11522 _ACEOF
11523 if ac_fn_c_try_link "$LINENO"
11524 then :
11525 ac_cv_crosscflags__mcx16=yes
11526 else $as_nop
11527 ac_cv_crosscflags__mcx16=no
11529 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11530 conftest$ac_exeext conftest.$ac_ext
11531 CFLAGS=$ac_wine_try_cflags_saved
11532 CC=$ac_wine_try_cflags_saved_cc
11533 ac_exeext=$ac_wine_try_cflags_saved_exeext
11535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
11536 printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
11537 if test "x$ac_cv_crosscflags__mcx16" = xyes
11538 then :
11539 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
11540 fi ;;
11541 aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11542 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11543 if test ${ac_cv_crosscflags__Wno_format+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_cc=$CC
11549 ac_wine_try_cflags_saved_exeext=$ac_exeext
11550 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11551 CC="$CROSSCC"
11552 ac_exeext=".exe"
11553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11554 /* end confdefs.h. */
11555 int __cdecl mainCRTStartup(void) { return 0; }
11556 _ACEOF
11557 if ac_fn_c_try_link "$LINENO"
11558 then :
11559 ac_cv_crosscflags__Wno_format=yes
11560 else $as_nop
11561 ac_cv_crosscflags__Wno_format=no
11563 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11564 conftest$ac_exeext conftest.$ac_ext
11565 CFLAGS=$ac_wine_try_cflags_saved
11566 CC=$ac_wine_try_cflags_saved_cc
11567 ac_exeext=$ac_wine_try_cflags_saved_exeext
11569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11570 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11571 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11572 then :
11573 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11574 fi ;;
11575 esac
11578 if test -z "$CROSSDEBUG"
11579 then
11580 for ac_flag in $CROSSCFLAGS; do
11581 case $ac_flag in
11582 -gdwarf*) CROSSDEBUG=dwarf ;;
11583 -gcodeview) CROSSDEBUG=pdb ;;
11584 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
11585 esac
11586 done
11589 ac_debug_format_seen=""
11590 for ac_flag in $CROSSCFLAGS; do
11591 case $ac_flag in
11592 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11593 esac
11594 done
11595 if test "x$ac_debug_format_seen" = x
11596 then
11597 case $CROSSDEBUG in
11598 *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-4" >&5
11599 printf %s "checking whether the cross-compiler supports -gdwarf-4... " >&6; }
11600 if test ${ac_cv_crosscflags__gdwarf_4+y}
11601 then :
11602 printf %s "(cached) " >&6
11603 else $as_nop
11604 ac_wine_try_cflags_saved=$CFLAGS
11605 ac_wine_try_cflags_saved_cc=$CC
11606 ac_wine_try_cflags_saved_exeext=$ac_exeext
11607 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11608 CC="$CROSSCC"
11609 ac_exeext=".exe"
11610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11611 /* end confdefs.h. */
11612 int __cdecl mainCRTStartup(void) { return 0; }
11613 _ACEOF
11614 if ac_fn_c_try_link "$LINENO"
11615 then :
11616 ac_cv_crosscflags__gdwarf_4=yes
11617 else $as_nop
11618 ac_cv_crosscflags__gdwarf_4=no
11620 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11621 conftest$ac_exeext conftest.$ac_ext
11622 CFLAGS=$ac_wine_try_cflags_saved
11623 CC=$ac_wine_try_cflags_saved_cc
11624 ac_exeext=$ac_wine_try_cflags_saved_exeext
11626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_4" >&5
11627 printf "%s\n" "$ac_cv_crosscflags__gdwarf_4" >&6; }
11628 if test "x$ac_cv_crosscflags__gdwarf_4" = xyes
11629 then :
11630 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-4"
11631 fi ;;
11632 pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
11633 printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
11634 if test ${ac_cv_crosscflags__gcodeview+y}
11635 then :
11636 printf %s "(cached) " >&6
11637 else $as_nop
11638 ac_wine_try_cflags_saved=$CFLAGS
11639 ac_wine_try_cflags_saved_cc=$CC
11640 ac_wine_try_cflags_saved_exeext=$ac_exeext
11641 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11642 CC="$CROSSCC"
11643 ac_exeext=".exe"
11644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11645 /* end confdefs.h. */
11646 int __cdecl mainCRTStartup(void) { return 0; }
11647 _ACEOF
11648 if ac_fn_c_try_link "$LINENO"
11649 then :
11650 ac_cv_crosscflags__gcodeview=yes
11651 else $as_nop
11652 ac_cv_crosscflags__gcodeview=no
11654 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11655 conftest$ac_exeext conftest.$ac_ext
11656 CFLAGS=$ac_wine_try_cflags_saved
11657 CC=$ac_wine_try_cflags_saved_cc
11658 ac_exeext=$ac_wine_try_cflags_saved_exeext
11660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
11661 printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
11662 if test "x$ac_cv_crosscflags__gcodeview" = xyes
11663 then :
11664 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
11665 fi ;;
11666 esac
11669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
11670 printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
11671 if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
11672 then :
11673 printf %s "(cached) " >&6
11674 else $as_nop
11675 ac_wine_try_cflags_saved=$CFLAGS
11676 ac_wine_try_cflags_saved_cc=$CC
11677 ac_wine_try_cflags_saved_exeext=$ac_exeext
11678 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
11679 CC="$CROSSCC"
11680 ac_exeext=".exe"
11681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11682 /* end confdefs.h. */
11683 int __cdecl mainCRTStartup(void) { return 0; }
11684 _ACEOF
11685 if ac_fn_c_try_link "$LINENO"
11686 then :
11687 ac_cv_crosscflags__fexcess_precision_standard=yes
11688 else $as_nop
11689 ac_cv_crosscflags__fexcess_precision_standard=no
11691 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11692 conftest$ac_exeext conftest.$ac_ext
11693 CFLAGS=$ac_wine_try_cflags_saved
11694 CC=$ac_wine_try_cflags_saved_cc
11695 ac_exeext=$ac_wine_try_cflags_saved_exeext
11697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
11698 printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
11699 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
11700 then :
11701 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
11705 if test "x$enable_werror" = "xyes"
11706 then
11707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
11708 printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
11709 if test ${ac_cv_crosscflags__Werror+y}
11710 then :
11711 printf %s "(cached) " >&6
11712 else $as_nop
11713 ac_wine_try_cflags_saved=$CFLAGS
11714 ac_wine_try_cflags_saved_cc=$CC
11715 ac_wine_try_cflags_saved_exeext=$ac_exeext
11716 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
11717 CC="$CROSSCC"
11718 ac_exeext=".exe"
11719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11720 /* end confdefs.h. */
11721 int __cdecl mainCRTStartup(void) { return 0; }
11722 _ACEOF
11723 if ac_fn_c_try_link "$LINENO"
11724 then :
11725 ac_cv_crosscflags__Werror=yes
11726 else $as_nop
11727 ac_cv_crosscflags__Werror=no
11729 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11730 conftest$ac_exeext conftest.$ac_ext
11731 CFLAGS=$ac_wine_try_cflags_saved
11732 CC=$ac_wine_try_cflags_saved_cc
11733 ac_exeext=$ac_wine_try_cflags_saved_exeext
11735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
11736 printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
11737 if test "x$ac_cv_crosscflags__Werror" = xyes
11738 then :
11739 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
11742 if test "x$enable_build_id" = "xyes"
11743 then
11744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
11745 printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
11746 if test ${ac_cv_crosscflags__Wl___build_id+y}
11747 then :
11748 printf %s "(cached) " >&6
11749 else $as_nop
11750 ac_wine_try_cflags_saved=$CFLAGS
11751 ac_wine_try_cflags_saved_cc=$CC
11752 ac_wine_try_cflags_saved_exeext=$ac_exeext
11753 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
11754 CC="$CROSSCC"
11755 ac_exeext=".exe"
11756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11757 /* end confdefs.h. */
11758 int __cdecl mainCRTStartup(void) { return 0; }
11759 _ACEOF
11760 if ac_fn_c_try_link "$LINENO"
11761 then :
11762 ac_cv_crosscflags__Wl___build_id=yes
11763 else $as_nop
11764 ac_cv_crosscflags__Wl___build_id=no
11766 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11767 conftest$ac_exeext conftest.$ac_ext
11768 CFLAGS=$ac_wine_try_cflags_saved
11769 CC=$ac_wine_try_cflags_saved_cc
11770 ac_exeext=$ac_wine_try_cflags_saved_exeext
11772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
11773 printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
11774 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
11775 then :
11776 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
11777 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
11781 CFLAGS=$saved_CFLAGS
11782 LDFLAGS=$saved_LDFLAGS
11783 CC="$ac_save_CC"
11786 if test "x$CROSSTARGET" = "x"
11787 then :
11788 case "x$with_mingw" in
11789 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11790 xno) ;;
11791 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11792 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11793 esac
11798 if test "x$with_system_dllpath" != "x" -a "$CROSSCC" != "false"
11799 then
11800 case "$host_cpu" in
11801 i[3456789]86*)
11802 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11804 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11805 esac
11806 for ac_prog in $ac_prefix_list
11808 # Extract the first word of "$ac_prog", so it can be a program name with args.
11809 set dummy $ac_prog; ac_word=$2
11810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11811 printf %s "checking for $ac_word... " >&6; }
11812 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11813 then :
11814 printf %s "(cached) " >&6
11815 else $as_nop
11816 if test -n "$MINGW_PKG_CONFIG"; then
11817 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11818 else
11819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11820 for as_dir in $PATH
11822 IFS=$as_save_IFS
11823 case $as_dir in #(((
11824 '') as_dir=./ ;;
11825 */) ;;
11826 *) as_dir=$as_dir/ ;;
11827 esac
11828 for ac_exec_ext in '' $ac_executable_extensions; do
11829 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11830 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11831 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11832 break 2
11834 done
11835 done
11836 IFS=$as_save_IFS
11840 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11841 if test -n "$MINGW_PKG_CONFIG"; then
11842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11843 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11844 else
11845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11846 printf "%s\n" "no" >&6; }
11850 test -n "$MINGW_PKG_CONFIG" && break
11851 done
11852 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11854 if ${FAUDIO_PE_CFLAGS:+false} :
11855 then :
11856 if test ${MINGW_PKG_CONFIG+y}
11857 then :
11858 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11861 if ${FAUDIO_PE_LIBS:+false} :
11862 then :
11863 if test ${MINGW_PKG_CONFIG+y}
11864 then :
11865 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11868 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11869 ac_save_CPPFLAGS=$CPPFLAGS
11870 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11872 printf %s "checking for MinGW FAudio.h... " >&6; }
11873 if test ${ac_cv_mingw_header_FAudio_h+y}
11874 then :
11875 printf %s "(cached) " >&6
11876 else $as_nop
11877 ac_wine_check_headers_saved_cc=$CC
11878 ac_wine_check_headers_saved_exeext=$ac_exeext
11879 CC="$CROSSCC"
11880 ac_exeext=".exe"
11881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11882 /* end confdefs.h. */
11884 #include <FAudio.h>
11886 main (void)
11890 return 0;
11892 _ACEOF
11893 if ac_fn_c_try_compile "$LINENO"
11894 then :
11895 ac_cv_mingw_header_FAudio_h=yes
11896 else $as_nop
11897 ac_cv_mingw_header_FAudio_h=no
11899 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11900 CC=$ac_wine_check_headers_saved_cc
11901 ac_exeext=$ac_wine_check_headers_saved_exeext
11903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11904 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11905 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11906 then :
11907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11908 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11909 if test ${ac_cv_mingw_lib_FAudio+y}
11910 then :
11911 printf %s "(cached) " >&6
11912 else $as_nop
11913 ac_wine_check_headers_saved_cc=$CC
11914 ac_wine_check_headers_saved_exeext=$ac_exeext
11915 ac_wine_check_headers_saved_libs=$LIBS
11916 CC="$CROSSCC"
11917 ac_exeext=".exe"
11918 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11920 /* end confdefs.h. */
11922 /* Override any GCC internal prototype to avoid an error.
11923 Use char because int might match the return type of a GCC
11924 builtin and then its argument prototype would still apply. */
11925 char FAudio_CommitOperationSet ();
11927 main (void)
11929 return FAudio_CommitOperationSet ();
11931 return 0;
11933 _ACEOF
11934 if ac_fn_c_try_link "$LINENO"
11935 then :
11936 ac_cv_mingw_lib_FAudio=yes
11937 else $as_nop
11938 ac_cv_mingw_lib_FAudio=no
11940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11941 conftest$ac_exeext conftest.$ac_ext
11942 CC=$ac_wine_check_headers_saved_cc
11943 ac_exeext=$ac_wine_check_headers_saved_exeext
11944 LIBS=$ac_wine_check_headers_saved_libs
11946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11947 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11948 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11949 then :
11951 else $as_nop
11952 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11954 else $as_nop
11955 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11957 CPPFLAGS=$ac_save_CPPFLAGS
11959 if test "x$FAUDIO_PE_LIBS" = "x"
11960 then
11961 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11964 if ${JPEG_PE_CFLAGS:+false} :
11965 then :
11966 if test ${MINGW_PKG_CONFIG+y}
11967 then :
11968 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11971 if ${JPEG_PE_LIBS:+false} :
11972 then :
11973 if test ${MINGW_PKG_CONFIG+y}
11974 then :
11975 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11979 ac_save_CPPFLAGS=$CPPFLAGS
11980 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11982 printf %s "checking for MinGW jpeglib.h... " >&6; }
11983 if test ${ac_cv_mingw_header_jpeglib_h+y}
11984 then :
11985 printf %s "(cached) " >&6
11986 else $as_nop
11987 ac_wine_check_headers_saved_cc=$CC
11988 ac_wine_check_headers_saved_exeext=$ac_exeext
11989 CC="$CROSSCC"
11990 ac_exeext=".exe"
11991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11992 /* end confdefs.h. */
11993 #include <stddef.h>
11994 #include <stdio.h>
11995 #include <jpeglib.h>
11997 main (void)
12001 return 0;
12003 _ACEOF
12004 if ac_fn_c_try_compile "$LINENO"
12005 then :
12006 ac_cv_mingw_header_jpeglib_h=yes
12007 else $as_nop
12008 ac_cv_mingw_header_jpeglib_h=no
12010 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12011 CC=$ac_wine_check_headers_saved_cc
12012 ac_exeext=$ac_wine_check_headers_saved_exeext
12014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12015 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12016 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12017 then :
12018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12019 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12020 if test ${ac_cv_mingw_lib_jpeg+y}
12021 then :
12022 printf %s "(cached) " >&6
12023 else $as_nop
12024 ac_wine_check_headers_saved_cc=$CC
12025 ac_wine_check_headers_saved_exeext=$ac_exeext
12026 ac_wine_check_headers_saved_libs=$LIBS
12027 CC="$CROSSCC"
12028 ac_exeext=".exe"
12029 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12031 /* end confdefs.h. */
12033 /* Override any GCC internal prototype to avoid an error.
12034 Use char because int might match the return type of a GCC
12035 builtin and then its argument prototype would still apply. */
12036 char jpeg_start_decompress ();
12038 main (void)
12040 return jpeg_start_decompress ();
12042 return 0;
12044 _ACEOF
12045 if ac_fn_c_try_link "$LINENO"
12046 then :
12047 ac_cv_mingw_lib_jpeg=yes
12048 else $as_nop
12049 ac_cv_mingw_lib_jpeg=no
12051 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12052 conftest$ac_exeext conftest.$ac_ext
12053 CC=$ac_wine_check_headers_saved_cc
12054 ac_exeext=$ac_wine_check_headers_saved_exeext
12055 LIBS=$ac_wine_check_headers_saved_libs
12057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12058 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12059 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12060 then :
12062 else $as_nop
12063 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12065 else $as_nop
12066 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12068 CPPFLAGS=$ac_save_CPPFLAGS
12070 if test "x$JPEG_PE_LIBS" = "x"
12071 then
12072 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12075 if ${LCMS2_PE_CFLAGS:+false} :
12076 then :
12077 if test ${MINGW_PKG_CONFIG+y}
12078 then :
12079 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12082 if ${LCMS2_PE_LIBS:+false} :
12083 then :
12084 if test ${MINGW_PKG_CONFIG+y}
12085 then :
12086 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12089 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12090 ac_save_CPPFLAGS=$CPPFLAGS
12091 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12093 printf %s "checking for MinGW lcms2.h... " >&6; }
12094 if test ${ac_cv_mingw_header_lcms2_h+y}
12095 then :
12096 printf %s "(cached) " >&6
12097 else $as_nop
12098 ac_wine_check_headers_saved_cc=$CC
12099 ac_wine_check_headers_saved_exeext=$ac_exeext
12100 CC="$CROSSCC"
12101 ac_exeext=".exe"
12102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12103 /* end confdefs.h. */
12105 #include <lcms2.h>
12107 main (void)
12111 return 0;
12113 _ACEOF
12114 if ac_fn_c_try_compile "$LINENO"
12115 then :
12116 ac_cv_mingw_header_lcms2_h=yes
12117 else $as_nop
12118 ac_cv_mingw_header_lcms2_h=no
12120 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12121 CC=$ac_wine_check_headers_saved_cc
12122 ac_exeext=$ac_wine_check_headers_saved_exeext
12124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12125 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12126 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12127 then :
12128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12129 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12130 if test ${ac_cv_mingw_lib_lcms2+y}
12131 then :
12132 printf %s "(cached) " >&6
12133 else $as_nop
12134 ac_wine_check_headers_saved_cc=$CC
12135 ac_wine_check_headers_saved_exeext=$ac_exeext
12136 ac_wine_check_headers_saved_libs=$LIBS
12137 CC="$CROSSCC"
12138 ac_exeext=".exe"
12139 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12141 /* end confdefs.h. */
12143 /* Override any GCC internal prototype to avoid an error.
12144 Use char because int might match the return type of a GCC
12145 builtin and then its argument prototype would still apply. */
12146 char cmsOpenProfileFromFile ();
12148 main (void)
12150 return cmsOpenProfileFromFile ();
12152 return 0;
12154 _ACEOF
12155 if ac_fn_c_try_link "$LINENO"
12156 then :
12157 ac_cv_mingw_lib_lcms2=yes
12158 else $as_nop
12159 ac_cv_mingw_lib_lcms2=no
12161 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12162 conftest$ac_exeext conftest.$ac_ext
12163 CC=$ac_wine_check_headers_saved_cc
12164 ac_exeext=$ac_wine_check_headers_saved_exeext
12165 LIBS=$ac_wine_check_headers_saved_libs
12167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12168 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12169 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12170 then :
12172 else $as_nop
12173 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12175 else $as_nop
12176 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12178 CPPFLAGS=$ac_save_CPPFLAGS
12180 if test "x$LCMS2_PE_LIBS" = "x"
12181 then
12182 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12185 if ${MPG123_PE_CFLAGS:+false} :
12186 then :
12187 if test ${MINGW_PKG_CONFIG+y}
12188 then :
12189 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12192 if ${MPG123_PE_LIBS:+false} :
12193 then :
12194 if test ${MINGW_PKG_CONFIG+y}
12195 then :
12196 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12199 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12200 ac_save_CPPFLAGS=$CPPFLAGS
12201 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12203 printf %s "checking for MinGW mpg123.h... " >&6; }
12204 if test ${ac_cv_mingw_header_mpg123_h+y}
12205 then :
12206 printf %s "(cached) " >&6
12207 else $as_nop
12208 ac_wine_check_headers_saved_cc=$CC
12209 ac_wine_check_headers_saved_exeext=$ac_exeext
12210 CC="$CROSSCC"
12211 ac_exeext=".exe"
12212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12213 /* end confdefs.h. */
12215 #include <mpg123.h>
12217 main (void)
12221 return 0;
12223 _ACEOF
12224 if ac_fn_c_try_compile "$LINENO"
12225 then :
12226 ac_cv_mingw_header_mpg123_h=yes
12227 else $as_nop
12228 ac_cv_mingw_header_mpg123_h=no
12230 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12231 CC=$ac_wine_check_headers_saved_cc
12232 ac_exeext=$ac_wine_check_headers_saved_exeext
12234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12235 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12236 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12237 then :
12238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12239 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12240 if test ${ac_cv_mingw_lib_mpg123+y}
12241 then :
12242 printf %s "(cached) " >&6
12243 else $as_nop
12244 ac_wine_check_headers_saved_cc=$CC
12245 ac_wine_check_headers_saved_exeext=$ac_exeext
12246 ac_wine_check_headers_saved_libs=$LIBS
12247 CC="$CROSSCC"
12248 ac_exeext=".exe"
12249 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12251 /* end confdefs.h. */
12253 /* Override any GCC internal prototype to avoid an error.
12254 Use char because int might match the return type of a GCC
12255 builtin and then its argument prototype would still apply. */
12256 char mpg123_feed ();
12258 main (void)
12260 return mpg123_feed ();
12262 return 0;
12264 _ACEOF
12265 if ac_fn_c_try_link "$LINENO"
12266 then :
12267 ac_cv_mingw_lib_mpg123=yes
12268 else $as_nop
12269 ac_cv_mingw_lib_mpg123=no
12271 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12272 conftest$ac_exeext conftest.$ac_ext
12273 CC=$ac_wine_check_headers_saved_cc
12274 ac_exeext=$ac_wine_check_headers_saved_exeext
12275 LIBS=$ac_wine_check_headers_saved_libs
12277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12278 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12279 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12280 then :
12282 else $as_nop
12283 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12285 else $as_nop
12286 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12288 CPPFLAGS=$ac_save_CPPFLAGS
12290 if test "x$MPG123_PE_LIBS" = "x"
12291 then
12292 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12295 if ${PNG_PE_CFLAGS:+false} :
12296 then :
12297 if test ${MINGW_PKG_CONFIG+y}
12298 then :
12299 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12302 if ${PNG_PE_LIBS:+false} :
12303 then :
12304 if test ${MINGW_PKG_CONFIG+y}
12305 then :
12306 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12310 ac_save_CPPFLAGS=$CPPFLAGS
12311 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12313 printf %s "checking for MinGW png.h... " >&6; }
12314 if test ${ac_cv_mingw_header_png_h+y}
12315 then :
12316 printf %s "(cached) " >&6
12317 else $as_nop
12318 ac_wine_check_headers_saved_cc=$CC
12319 ac_wine_check_headers_saved_exeext=$ac_exeext
12320 CC="$CROSSCC"
12321 ac_exeext=".exe"
12322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12323 /* end confdefs.h. */
12325 #include <png.h>
12327 main (void)
12331 return 0;
12333 _ACEOF
12334 if ac_fn_c_try_compile "$LINENO"
12335 then :
12336 ac_cv_mingw_header_png_h=yes
12337 else $as_nop
12338 ac_cv_mingw_header_png_h=no
12340 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12341 CC=$ac_wine_check_headers_saved_cc
12342 ac_exeext=$ac_wine_check_headers_saved_exeext
12344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12345 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12346 if test "x$ac_cv_mingw_header_png_h" = xyes
12347 then :
12348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12349 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12350 if test ${ac_cv_mingw_lib_png+y}
12351 then :
12352 printf %s "(cached) " >&6
12353 else $as_nop
12354 ac_wine_check_headers_saved_cc=$CC
12355 ac_wine_check_headers_saved_exeext=$ac_exeext
12356 ac_wine_check_headers_saved_libs=$LIBS
12357 CC="$CROSSCC"
12358 ac_exeext=".exe"
12359 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12361 /* end confdefs.h. */
12363 /* Override any GCC internal prototype to avoid an error.
12364 Use char because int might match the return type of a GCC
12365 builtin and then its argument prototype would still apply. */
12366 char png_create_read_struct ();
12368 main (void)
12370 return png_create_read_struct ();
12372 return 0;
12374 _ACEOF
12375 if ac_fn_c_try_link "$LINENO"
12376 then :
12377 ac_cv_mingw_lib_png=yes
12378 else $as_nop
12379 ac_cv_mingw_lib_png=no
12381 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12382 conftest$ac_exeext conftest.$ac_ext
12383 CC=$ac_wine_check_headers_saved_cc
12384 ac_exeext=$ac_wine_check_headers_saved_exeext
12385 LIBS=$ac_wine_check_headers_saved_libs
12387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12388 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12389 if test "x$ac_cv_mingw_lib_png" = xyes
12390 then :
12392 else $as_nop
12393 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12395 else $as_nop
12396 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12398 CPPFLAGS=$ac_save_CPPFLAGS
12400 if test "x$PNG_PE_LIBS" = "x"
12401 then
12402 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12405 if ${TIFF_PE_CFLAGS:+false} :
12406 then :
12407 if test ${MINGW_PKG_CONFIG+y}
12408 then :
12409 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12412 if ${TIFF_PE_LIBS:+false} :
12413 then :
12414 if test ${MINGW_PKG_CONFIG+y}
12415 then :
12416 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12420 ac_save_CPPFLAGS=$CPPFLAGS
12421 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12423 printf %s "checking for MinGW tiffio.h... " >&6; }
12424 if test ${ac_cv_mingw_header_tiffio_h+y}
12425 then :
12426 printf %s "(cached) " >&6
12427 else $as_nop
12428 ac_wine_check_headers_saved_cc=$CC
12429 ac_wine_check_headers_saved_exeext=$ac_exeext
12430 CC="$CROSSCC"
12431 ac_exeext=".exe"
12432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12433 /* end confdefs.h. */
12435 #include <tiffio.h>
12437 main (void)
12441 return 0;
12443 _ACEOF
12444 if ac_fn_c_try_compile "$LINENO"
12445 then :
12446 ac_cv_mingw_header_tiffio_h=yes
12447 else $as_nop
12448 ac_cv_mingw_header_tiffio_h=no
12450 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12451 CC=$ac_wine_check_headers_saved_cc
12452 ac_exeext=$ac_wine_check_headers_saved_exeext
12454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12455 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12456 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12457 then :
12458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12459 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12460 if test ${ac_cv_mingw_lib_tiff+y}
12461 then :
12462 printf %s "(cached) " >&6
12463 else $as_nop
12464 ac_wine_check_headers_saved_cc=$CC
12465 ac_wine_check_headers_saved_exeext=$ac_exeext
12466 ac_wine_check_headers_saved_libs=$LIBS
12467 CC="$CROSSCC"
12468 ac_exeext=".exe"
12469 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12471 /* end confdefs.h. */
12473 /* Override any GCC internal prototype to avoid an error.
12474 Use char because int might match the return type of a GCC
12475 builtin and then its argument prototype would still apply. */
12476 char TIFFClientOpen ();
12478 main (void)
12480 return TIFFClientOpen ();
12482 return 0;
12484 _ACEOF
12485 if ac_fn_c_try_link "$LINENO"
12486 then :
12487 ac_cv_mingw_lib_tiff=yes
12488 else $as_nop
12489 ac_cv_mingw_lib_tiff=no
12491 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12492 conftest$ac_exeext conftest.$ac_ext
12493 CC=$ac_wine_check_headers_saved_cc
12494 ac_exeext=$ac_wine_check_headers_saved_exeext
12495 LIBS=$ac_wine_check_headers_saved_libs
12497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12498 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12499 if test "x$ac_cv_mingw_lib_tiff" = xyes
12500 then :
12502 else $as_nop
12503 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12505 else $as_nop
12506 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12508 CPPFLAGS=$ac_save_CPPFLAGS
12510 if test "x$TIFF_PE_LIBS" = "x"
12511 then
12512 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12515 if ${XML2_PE_CFLAGS:+false} :
12516 then :
12517 if test ${MINGW_PKG_CONFIG+y}
12518 then :
12519 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12522 if ${XML2_PE_LIBS:+false} :
12523 then :
12524 if test ${MINGW_PKG_CONFIG+y}
12525 then :
12526 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12529 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12530 ac_save_CPPFLAGS=$CPPFLAGS
12531 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12533 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12534 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12535 then :
12536 printf %s "(cached) " >&6
12537 else $as_nop
12538 ac_wine_check_headers_saved_cc=$CC
12539 ac_wine_check_headers_saved_exeext=$ac_exeext
12540 CC="$CROSSCC"
12541 ac_exeext=".exe"
12542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12543 /* end confdefs.h. */
12545 #include <libxml/parser.h>
12547 main (void)
12551 return 0;
12553 _ACEOF
12554 if ac_fn_c_try_compile "$LINENO"
12555 then :
12556 ac_cv_mingw_header_libxml_parser_h=yes
12557 else $as_nop
12558 ac_cv_mingw_header_libxml_parser_h=no
12560 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12561 CC=$ac_wine_check_headers_saved_cc
12562 ac_exeext=$ac_wine_check_headers_saved_exeext
12564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12565 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12566 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12567 then :
12570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12571 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12572 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12573 then :
12574 printf %s "(cached) " >&6
12575 else $as_nop
12576 ac_wine_check_headers_saved_cc=$CC
12577 ac_wine_check_headers_saved_exeext=$ac_exeext
12578 CC="$CROSSCC"
12579 ac_exeext=".exe"
12580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12581 /* end confdefs.h. */
12583 #include <libxml/xmlsave.h>
12585 main (void)
12589 return 0;
12591 _ACEOF
12592 if ac_fn_c_try_compile "$LINENO"
12593 then :
12594 ac_cv_mingw_header_libxml_xmlsave_h=yes
12595 else $as_nop
12596 ac_cv_mingw_header_libxml_xmlsave_h=no
12598 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12599 CC=$ac_wine_check_headers_saved_cc
12600 ac_exeext=$ac_wine_check_headers_saved_exeext
12602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12603 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12604 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12605 then :
12608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12609 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12610 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12611 then :
12612 printf %s "(cached) " >&6
12613 else $as_nop
12614 ac_wine_check_headers_saved_cc=$CC
12615 ac_wine_check_headers_saved_exeext=$ac_exeext
12616 CC="$CROSSCC"
12617 ac_exeext=".exe"
12618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12619 /* end confdefs.h. */
12621 #include <libxml/SAX2.h>
12623 main (void)
12627 return 0;
12629 _ACEOF
12630 if ac_fn_c_try_compile "$LINENO"
12631 then :
12632 ac_cv_mingw_header_libxml_SAX2_h=yes
12633 else $as_nop
12634 ac_cv_mingw_header_libxml_SAX2_h=no
12636 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12637 CC=$ac_wine_check_headers_saved_cc
12638 ac_exeext=$ac_wine_check_headers_saved_exeext
12640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12641 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12642 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12643 then :
12646 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"
12647 then
12648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12649 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12650 if test ${ac_cv_mingw_lib_xml2+y}
12651 then :
12652 printf %s "(cached) " >&6
12653 else $as_nop
12654 ac_wine_check_headers_saved_cc=$CC
12655 ac_wine_check_headers_saved_exeext=$ac_exeext
12656 ac_wine_check_headers_saved_libs=$LIBS
12657 CC="$CROSSCC"
12658 ac_exeext=".exe"
12659 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12661 /* end confdefs.h. */
12663 /* Override any GCC internal prototype to avoid an error.
12664 Use char because int might match the return type of a GCC
12665 builtin and then its argument prototype would still apply. */
12666 char xmlFirstElementChild ();
12668 main (void)
12670 return xmlFirstElementChild ();
12672 return 0;
12674 _ACEOF
12675 if ac_fn_c_try_link "$LINENO"
12676 then :
12677 ac_cv_mingw_lib_xml2=yes
12678 else $as_nop
12679 ac_cv_mingw_lib_xml2=no
12681 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12682 conftest$ac_exeext conftest.$ac_ext
12683 CC=$ac_wine_check_headers_saved_cc
12684 ac_exeext=$ac_wine_check_headers_saved_exeext
12685 LIBS=$ac_wine_check_headers_saved_libs
12687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12688 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12689 if test "x$ac_cv_mingw_lib_xml2" = xyes
12690 then :
12692 else $as_nop
12693 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12695 else
12696 XML2_PE_CFLAGS=""
12697 XML2_PE_LIBS=""
12699 CPPFLAGS=$ac_save_CPPFLAGS
12701 if test "x$XML2_PE_LIBS" = "x"
12702 then
12703 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12706 if ${XSLT_PE_CFLAGS:+false} :
12707 then :
12708 if test ${MINGW_PKG_CONFIG+y}
12709 then :
12710 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12713 if ${XSLT_PE_LIBS:+false} :
12714 then :
12715 if test ${MINGW_PKG_CONFIG+y}
12716 then :
12717 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12720 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12721 ac_save_CPPFLAGS=$CPPFLAGS
12722 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12724 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12725 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12726 then :
12727 printf %s "(cached) " >&6
12728 else $as_nop
12729 ac_wine_check_headers_saved_cc=$CC
12730 ac_wine_check_headers_saved_exeext=$ac_exeext
12731 CC="$CROSSCC"
12732 ac_exeext=".exe"
12733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12734 /* end confdefs.h. */
12736 #include <libxslt/pattern.h>
12738 main (void)
12742 return 0;
12744 _ACEOF
12745 if ac_fn_c_try_compile "$LINENO"
12746 then :
12747 ac_cv_mingw_header_libxslt_pattern_h=yes
12748 else $as_nop
12749 ac_cv_mingw_header_libxslt_pattern_h=no
12751 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12752 CC=$ac_wine_check_headers_saved_cc
12753 ac_exeext=$ac_wine_check_headers_saved_exeext
12755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12756 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12757 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12758 then :
12761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12762 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12763 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12764 then :
12765 printf %s "(cached) " >&6
12766 else $as_nop
12767 ac_wine_check_headers_saved_cc=$CC
12768 ac_wine_check_headers_saved_exeext=$ac_exeext
12769 CC="$CROSSCC"
12770 ac_exeext=".exe"
12771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12772 /* end confdefs.h. */
12774 #include <libxslt/transform.h>
12776 main (void)
12780 return 0;
12782 _ACEOF
12783 if ac_fn_c_try_compile "$LINENO"
12784 then :
12785 ac_cv_mingw_header_libxslt_transform_h=yes
12786 else $as_nop
12787 ac_cv_mingw_header_libxslt_transform_h=no
12789 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12790 CC=$ac_wine_check_headers_saved_cc
12791 ac_exeext=$ac_wine_check_headers_saved_exeext
12793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12794 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12795 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12796 then :
12799 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12800 then
12801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12802 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12803 if test ${ac_cv_mingw_lib_xslt+y}
12804 then :
12805 printf %s "(cached) " >&6
12806 else $as_nop
12807 ac_wine_check_headers_saved_cc=$CC
12808 ac_wine_check_headers_saved_exeext=$ac_exeext
12809 ac_wine_check_headers_saved_libs=$LIBS
12810 CC="$CROSSCC"
12811 ac_exeext=".exe"
12812 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12814 /* end confdefs.h. */
12816 /* Override any GCC internal prototype to avoid an error.
12817 Use char because int might match the return type of a GCC
12818 builtin and then its argument prototype would still apply. */
12819 char xsltCompilePattern ();
12821 main (void)
12823 return xsltCompilePattern ();
12825 return 0;
12827 _ACEOF
12828 if ac_fn_c_try_link "$LINENO"
12829 then :
12830 ac_cv_mingw_lib_xslt=yes
12831 else $as_nop
12832 ac_cv_mingw_lib_xslt=no
12834 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12835 conftest$ac_exeext conftest.$ac_ext
12836 CC=$ac_wine_check_headers_saved_cc
12837 ac_exeext=$ac_wine_check_headers_saved_exeext
12838 LIBS=$ac_wine_check_headers_saved_libs
12840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12841 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12842 if test "x$ac_cv_mingw_lib_xslt" = xyes
12843 then :
12845 else $as_nop
12846 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12848 else
12849 XSLT_PE_CFLAGS=""
12850 XSLT_PE_LIBS=""
12852 CPPFLAGS=$ac_save_CPPFLAGS
12854 if test "x$XSLT_PE_LIBS" = "x"
12855 then
12856 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12859 if ${ZLIB_PE_CFLAGS:+false} :
12860 then :
12861 if test ${MINGW_PKG_CONFIG+y}
12862 then :
12863 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
12866 if ${ZLIB_PE_LIBS:+false} :
12867 then :
12868 if test ${MINGW_PKG_CONFIG+y}
12869 then :
12870 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
12873 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
12874 ac_save_CPPFLAGS=$CPPFLAGS
12875 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
12876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
12877 printf %s "checking for MinGW zlib.h... " >&6; }
12878 if test ${ac_cv_mingw_header_zlib_h+y}
12879 then :
12880 printf %s "(cached) " >&6
12881 else $as_nop
12882 ac_wine_check_headers_saved_cc=$CC
12883 ac_wine_check_headers_saved_exeext=$ac_exeext
12884 CC="$CROSSCC"
12885 ac_exeext=".exe"
12886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12887 /* end confdefs.h. */
12889 #include <zlib.h>
12891 main (void)
12895 return 0;
12897 _ACEOF
12898 if ac_fn_c_try_compile "$LINENO"
12899 then :
12900 ac_cv_mingw_header_zlib_h=yes
12901 else $as_nop
12902 ac_cv_mingw_header_zlib_h=no
12904 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12905 CC=$ac_wine_check_headers_saved_cc
12906 ac_exeext=$ac_wine_check_headers_saved_exeext
12908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
12909 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
12910 if test "x$ac_cv_mingw_header_zlib_h" = xyes
12911 then :
12912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
12913 printf %s "checking for inflate in MinGW -lz... " >&6; }
12914 if test ${ac_cv_mingw_lib_z+y}
12915 then :
12916 printf %s "(cached) " >&6
12917 else $as_nop
12918 ac_wine_check_headers_saved_cc=$CC
12919 ac_wine_check_headers_saved_exeext=$ac_exeext
12920 ac_wine_check_headers_saved_libs=$LIBS
12921 CC="$CROSSCC"
12922 ac_exeext=".exe"
12923 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
12924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12925 /* end confdefs.h. */
12927 /* Override any GCC internal prototype to avoid an error.
12928 Use char because int might match the return type of a GCC
12929 builtin and then its argument prototype would still apply. */
12930 char inflate ();
12932 main (void)
12934 return inflate ();
12936 return 0;
12938 _ACEOF
12939 if ac_fn_c_try_link "$LINENO"
12940 then :
12941 ac_cv_mingw_lib_z=yes
12942 else $as_nop
12943 ac_cv_mingw_lib_z=no
12945 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12946 conftest$ac_exeext conftest.$ac_ext
12947 CC=$ac_wine_check_headers_saved_cc
12948 ac_exeext=$ac_wine_check_headers_saved_exeext
12949 LIBS=$ac_wine_check_headers_saved_libs
12951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
12952 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
12953 if test "x$ac_cv_mingw_lib_z" = xyes
12954 then :
12956 else $as_nop
12957 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
12959 else $as_nop
12960 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
12962 CPPFLAGS=$ac_save_CPPFLAGS
12964 if test "x$ZLIB_PE_LIBS" = "x"
12965 then
12966 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
12970 if ${FAUDIO_PE_LIBS:+false} :
12971 then :
12972 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
12973 if ${FAUDIO_PE_CFLAGS:+false} :
12974 then :
12975 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
12976 else $as_nop
12977 enable_faudio=no
12979 else $as_nop
12980 enable_faudio=no
12982 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
12983 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
12985 if ${GSM_PE_LIBS:+false} :
12986 then :
12987 GSM_PE_LIBS=gsm
12988 if ${GSM_PE_CFLAGS:+false} :
12989 then :
12990 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
12991 else $as_nop
12992 enable_gsm=no
12994 else $as_nop
12995 enable_gsm=no
12997 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
12998 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13000 if ${JPEG_PE_LIBS:+false} :
13001 then :
13002 JPEG_PE_LIBS=jpeg
13003 if ${JPEG_PE_CFLAGS:+false} :
13004 then :
13005 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13006 else $as_nop
13007 enable_jpeg=no
13009 else $as_nop
13010 enable_jpeg=no
13012 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13013 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13015 if ${JXR_PE_LIBS:+false} :
13016 then :
13017 JXR_PE_LIBS=jxr
13018 if ${JXR_PE_CFLAGS:+false} :
13019 then :
13020 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13021 else $as_nop
13022 enable_jxr=no
13024 else $as_nop
13025 enable_jxr=no
13027 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13028 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13030 if ${LCMS2_PE_LIBS:+false} :
13031 then :
13032 LCMS2_PE_LIBS=lcms2
13033 if ${LCMS2_PE_CFLAGS:+false} :
13034 then :
13035 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13036 else $as_nop
13037 enable_lcms2=no
13039 else $as_nop
13040 enable_lcms2=no
13042 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13043 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13045 if ${MPG123_PE_LIBS:+false} :
13046 then :
13047 MPG123_PE_LIBS=mpg123
13048 if ${MPG123_PE_CFLAGS:+false} :
13049 then :
13050 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13051 else $as_nop
13052 enable_mpg123=no
13054 else $as_nop
13055 enable_mpg123=no
13057 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13058 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13060 if ${PNG_PE_LIBS:+false} :
13061 then :
13062 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13063 if ${PNG_PE_CFLAGS:+false} :
13064 then :
13065 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13066 else $as_nop
13067 enable_png=no
13069 else $as_nop
13070 enable_png=no
13072 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13073 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13075 if ${TIFF_PE_LIBS:+false} :
13076 then :
13077 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13078 if ${TIFF_PE_CFLAGS:+false} :
13079 then :
13080 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13081 else $as_nop
13082 enable_tiff=no
13084 else $as_nop
13085 enable_tiff=no
13087 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13088 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13090 if ${XML2_PE_LIBS:+false} :
13091 then :
13092 XML2_PE_LIBS=xml2
13093 if ${XML2_PE_CFLAGS:+false} :
13094 then :
13095 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13096 else $as_nop
13097 enable_xml2=no
13099 else $as_nop
13100 enable_xml2=no
13102 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13103 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13105 if ${XSLT_PE_LIBS:+false} :
13106 then :
13107 XSLT_PE_LIBS=xslt
13108 if ${XSLT_PE_CFLAGS:+false} :
13109 then :
13110 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13111 else $as_nop
13112 enable_xslt=no
13114 else $as_nop
13115 enable_xslt=no
13117 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13118 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13120 if ${ZLIB_PE_LIBS:+false} :
13121 then :
13122 ZLIB_PE_LIBS=z
13123 if ${ZLIB_PE_CFLAGS:+false} :
13124 then :
13125 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13126 else $as_nop
13127 enable_zlib=no
13129 else $as_nop
13130 enable_zlib=no
13132 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13133 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13137 if test "$ac_cv_header_pthread_h" = "yes"
13138 then
13139 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13140 if test "x$ac_cv_func_pthread_create" = xyes
13141 then :
13143 else $as_nop
13144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13145 printf %s "checking for pthread_create in -lpthread... " >&6; }
13146 if test ${ac_cv_lib_pthread_pthread_create+y}
13147 then :
13148 printf %s "(cached) " >&6
13149 else $as_nop
13150 ac_check_lib_save_LIBS=$LIBS
13151 LIBS="-lpthread $LIBS"
13152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13153 /* end confdefs.h. */
13155 /* Override any GCC internal prototype to avoid an error.
13156 Use char because int might match the return type of a GCC
13157 builtin and then its argument prototype would still apply. */
13158 char pthread_create ();
13160 main (void)
13162 return pthread_create ();
13164 return 0;
13166 _ACEOF
13167 if ac_fn_c_try_link "$LINENO"
13168 then :
13169 ac_cv_lib_pthread_pthread_create=yes
13170 else $as_nop
13171 ac_cv_lib_pthread_pthread_create=no
13173 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13174 conftest$ac_exeext conftest.$ac_ext
13175 LIBS=$ac_check_lib_save_LIBS
13177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13178 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13179 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13180 then :
13181 PTHREAD_LIBS="-lpthread"
13188 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13189 then :
13190 case "x$with_pthread" in
13191 xno) ;;
13192 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13193 Wine cannot support threads without libpthread.
13194 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13195 esac
13200 ac_ext=c
13201 ac_cpp='$CPP $CPPFLAGS'
13202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13206 printf %s "checking how to run the C preprocessor... " >&6; }
13207 # On Suns, sometimes $CPP names a directory.
13208 if test -n "$CPP" && test -d "$CPP"; then
13209 CPP=
13211 if test -z "$CPP"; then
13212 if test ${ac_cv_prog_CPP+y}
13213 then :
13214 printf %s "(cached) " >&6
13215 else $as_nop
13216 # Double quotes because $CC needs to be expanded
13217 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13219 ac_preproc_ok=false
13220 for ac_c_preproc_warn_flag in '' yes
13222 # Use a header file that comes with gcc, so configuring glibc
13223 # with a fresh cross-compiler works.
13224 # On the NeXT, cc -E runs the code through the compiler's parser,
13225 # not just through cpp. "Syntax error" is here to catch this case.
13226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13227 /* end confdefs.h. */
13228 #include <limits.h>
13229 Syntax error
13230 _ACEOF
13231 if ac_fn_c_try_cpp "$LINENO"
13232 then :
13234 else $as_nop
13235 # Broken: fails on valid input.
13236 continue
13238 rm -f conftest.err conftest.i conftest.$ac_ext
13240 # OK, works on sane cases. Now check whether nonexistent headers
13241 # can be detected and how.
13242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13243 /* end confdefs.h. */
13244 #include <ac_nonexistent.h>
13245 _ACEOF
13246 if ac_fn_c_try_cpp "$LINENO"
13247 then :
13248 # Broken: success on invalid input.
13249 continue
13250 else $as_nop
13251 # Passes both tests.
13252 ac_preproc_ok=:
13253 break
13255 rm -f conftest.err conftest.i conftest.$ac_ext
13257 done
13258 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13259 rm -f conftest.i conftest.err conftest.$ac_ext
13260 if $ac_preproc_ok
13261 then :
13262 break
13265 done
13266 ac_cv_prog_CPP=$CPP
13269 CPP=$ac_cv_prog_CPP
13270 else
13271 ac_cv_prog_CPP=$CPP
13273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13274 printf "%s\n" "$CPP" >&6; }
13275 ac_preproc_ok=false
13276 for ac_c_preproc_warn_flag in '' yes
13278 # Use a header file that comes with gcc, so configuring glibc
13279 # with a fresh cross-compiler works.
13280 # On the NeXT, cc -E runs the code through the compiler's parser,
13281 # not just through cpp. "Syntax error" is here to catch this case.
13282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13283 /* end confdefs.h. */
13284 #include <limits.h>
13285 Syntax error
13286 _ACEOF
13287 if ac_fn_c_try_cpp "$LINENO"
13288 then :
13290 else $as_nop
13291 # Broken: fails on valid input.
13292 continue
13294 rm -f conftest.err conftest.i conftest.$ac_ext
13296 # OK, works on sane cases. Now check whether nonexistent headers
13297 # can be detected and how.
13298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13299 /* end confdefs.h. */
13300 #include <ac_nonexistent.h>
13301 _ACEOF
13302 if ac_fn_c_try_cpp "$LINENO"
13303 then :
13304 # Broken: success on invalid input.
13305 continue
13306 else $as_nop
13307 # Passes both tests.
13308 ac_preproc_ok=:
13309 break
13311 rm -f conftest.err conftest.i conftest.$ac_ext
13313 done
13314 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13315 rm -f conftest.i conftest.err conftest.$ac_ext
13316 if $ac_preproc_ok
13317 then :
13319 else $as_nop
13320 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13321 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13322 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13323 See \`config.log' for more details" "$LINENO" 5; }
13326 ac_ext=c
13327 ac_cpp='$CPP $CPPFLAGS'
13328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13334 printf %s "checking for X... " >&6; }
13337 # Check whether --with-x was given.
13338 if test ${with_x+y}
13339 then :
13340 withval=$with_x;
13343 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13344 if test "x$with_x" = xno; then
13345 # The user explicitly disabled X.
13346 have_x=disabled
13347 else
13348 case $x_includes,$x_libraries in #(
13349 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13350 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13351 then :
13352 printf %s "(cached) " >&6
13353 else $as_nop
13354 # One or both of the vars are not set, and there is no cached value.
13355 ac_x_includes=no
13356 ac_x_libraries=no
13357 # Do we need to do anything special at all?
13358 ac_save_LIBS=$LIBS
13359 LIBS="-lX11 $LIBS"
13360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13361 /* end confdefs.h. */
13362 #include <X11/Xlib.h>
13364 main (void)
13366 XrmInitialize ()
13368 return 0;
13370 _ACEOF
13371 if ac_fn_c_try_link "$LINENO"
13372 then :
13373 # We can compile and link X programs with no special options.
13374 ac_x_includes=
13375 ac_x_libraries=
13377 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13378 conftest$ac_exeext conftest.$ac_ext
13379 LIBS="$ac_save_LIBS"
13380 # If that didn't work, only try xmkmf and file system searches
13381 # for native compilation.
13382 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13383 then :
13384 rm -f -r conftest.dir
13385 if mkdir conftest.dir; then
13386 cd conftest.dir
13387 cat >Imakefile <<'_ACEOF'
13388 incroot:
13389 @echo incroot='${INCROOT}'
13390 usrlibdir:
13391 @echo usrlibdir='${USRLIBDIR}'
13392 libdir:
13393 @echo libdir='${LIBDIR}'
13394 _ACEOF
13395 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13396 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13397 for ac_var in incroot usrlibdir libdir; do
13398 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13399 done
13400 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13401 for ac_extension in a so sl dylib la dll; do
13402 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13403 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13404 ac_im_usrlibdir=$ac_im_libdir; break
13406 done
13407 # Screen out bogus values from the imake configuration. They are
13408 # bogus both because they are the default anyway, and because
13409 # using them would break gcc on systems where it needs fixed includes.
13410 case $ac_im_incroot in
13411 /usr/include) ac_x_includes= ;;
13412 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13413 esac
13414 case $ac_im_usrlibdir in
13415 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13416 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13417 esac
13419 cd ..
13420 rm -f -r conftest.dir
13423 # Standard set of common directories for X headers.
13424 # Check X11 before X11Rn because it is often a symlink to the current release.
13425 ac_x_header_dirs='
13426 /usr/X11/include
13427 /usr/X11R7/include
13428 /usr/X11R6/include
13429 /usr/X11R5/include
13430 /usr/X11R4/include
13432 /usr/include/X11
13433 /usr/include/X11R7
13434 /usr/include/X11R6
13435 /usr/include/X11R5
13436 /usr/include/X11R4
13438 /usr/local/X11/include
13439 /usr/local/X11R7/include
13440 /usr/local/X11R6/include
13441 /usr/local/X11R5/include
13442 /usr/local/X11R4/include
13444 /usr/local/include/X11
13445 /usr/local/include/X11R7
13446 /usr/local/include/X11R6
13447 /usr/local/include/X11R5
13448 /usr/local/include/X11R4
13450 /opt/X11/include
13452 /usr/X386/include
13453 /usr/x386/include
13454 /usr/XFree86/include/X11
13456 /usr/include
13457 /usr/local/include
13458 /usr/unsupported/include
13459 /usr/athena/include
13460 /usr/local/x11r5/include
13461 /usr/lpp/Xamples/include
13463 /usr/openwin/include
13464 /usr/openwin/share/include'
13466 if test "$ac_x_includes" = no; then
13467 # Guess where to find include files, by looking for Xlib.h.
13468 # First, try using that file with no special directory specified.
13469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13470 /* end confdefs.h. */
13471 #include <X11/Xlib.h>
13472 _ACEOF
13473 if ac_fn_c_try_cpp "$LINENO"
13474 then :
13475 # We can compile using X headers with no special include directory.
13476 ac_x_includes=
13477 else $as_nop
13478 for ac_dir in $ac_x_header_dirs; do
13479 if test -r "$ac_dir/X11/Xlib.h"; then
13480 ac_x_includes=$ac_dir
13481 break
13483 done
13485 rm -f conftest.err conftest.i conftest.$ac_ext
13486 fi # $ac_x_includes = no
13488 if test "$ac_x_libraries" = no; then
13489 # Check for the libraries.
13490 # See if we find them without any special options.
13491 # Don't add to $LIBS permanently.
13492 ac_save_LIBS=$LIBS
13493 LIBS="-lX11 $LIBS"
13494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13495 /* end confdefs.h. */
13496 #include <X11/Xlib.h>
13498 main (void)
13500 XrmInitialize ()
13502 return 0;
13504 _ACEOF
13505 if ac_fn_c_try_link "$LINENO"
13506 then :
13507 LIBS=$ac_save_LIBS
13508 # We can link X programs with no special library path.
13509 ac_x_libraries=
13510 else $as_nop
13511 LIBS=$ac_save_LIBS
13512 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13514 # Don't even attempt the hair of trying to link an X program!
13515 for ac_extension in a so sl dylib la dll; do
13516 if test -r "$ac_dir/libX11.$ac_extension"; then
13517 ac_x_libraries=$ac_dir
13518 break 2
13520 done
13521 done
13523 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13524 conftest$ac_exeext conftest.$ac_ext
13525 fi # $ac_x_libraries = no
13528 # Record the results.
13529 case $ac_x_includes,$ac_x_libraries in #(
13530 no,* | *,no | *\'*) :
13531 # Didn't find X, or a directory has "'" in its name.
13532 ac_cv_have_x="have_x=no" ;; #(
13533 *) :
13534 # Record where we found X for the cache.
13535 ac_cv_have_x="have_x=yes\
13536 ac_x_includes='$ac_x_includes'\
13537 ac_x_libraries='$ac_x_libraries'" ;;
13538 esac
13540 ;; #(
13541 *) have_x=yes;;
13542 esac
13543 eval "$ac_cv_have_x"
13544 fi # $with_x != no
13546 if test "$have_x" != yes; then
13547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13548 printf "%s\n" "$have_x" >&6; }
13549 no_x=yes
13550 else
13551 # If each of the values was on the command line, it overrides each guess.
13552 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13553 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13554 # Update the cache value to reflect the command line values.
13555 ac_cv_have_x="have_x=yes\
13556 ac_x_includes='$x_includes'\
13557 ac_x_libraries='$x_libraries'"
13558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13559 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13562 if test "$no_x" = yes; then
13563 # Not all programs may use this symbol, but it does not hurt to define it.
13565 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13567 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13568 else
13569 if test -n "$x_includes"; then
13570 X_CFLAGS="$X_CFLAGS -I$x_includes"
13573 # It would also be nice to do this for all -L options, not just this one.
13574 if test -n "$x_libraries"; then
13575 X_LIBS="$X_LIBS -L$x_libraries"
13576 # For Solaris; some versions of Sun CC require a space after -R and
13577 # others require no space. Words are not sufficient . . . .
13578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13579 printf %s "checking whether -R must be followed by a space... " >&6; }
13580 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13581 ac_xsave_c_werror_flag=$ac_c_werror_flag
13582 ac_c_werror_flag=yes
13583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13584 /* end confdefs.h. */
13587 main (void)
13591 return 0;
13593 _ACEOF
13594 if ac_fn_c_try_link "$LINENO"
13595 then :
13596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13597 printf "%s\n" "no" >&6; }
13598 X_LIBS="$X_LIBS -R$x_libraries"
13599 else $as_nop
13600 LIBS="$ac_xsave_LIBS -R $x_libraries"
13601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13602 /* end confdefs.h. */
13605 main (void)
13609 return 0;
13611 _ACEOF
13612 if ac_fn_c_try_link "$LINENO"
13613 then :
13614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13615 printf "%s\n" "yes" >&6; }
13616 X_LIBS="$X_LIBS -R $x_libraries"
13617 else $as_nop
13618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13619 printf "%s\n" "neither works" >&6; }
13621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13622 conftest$ac_exeext conftest.$ac_ext
13624 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13625 conftest$ac_exeext conftest.$ac_ext
13626 ac_c_werror_flag=$ac_xsave_c_werror_flag
13627 LIBS=$ac_xsave_LIBS
13630 # Check for system-dependent libraries X programs must link with.
13631 # Do this before checking for the system-independent R6 libraries
13632 # (-lICE), since we may need -lsocket or whatever for X linking.
13634 if test "$ISC" = yes; then
13635 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13636 else
13637 # Martyn Johnson says this is needed for Ultrix, if the X
13638 # libraries were built with DECnet support. And Karl Berry says
13639 # the Alpha needs dnet_stub (dnet does not exist).
13640 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13642 /* end confdefs.h. */
13644 /* Override any GCC internal prototype to avoid an error.
13645 Use char because int might match the return type of a GCC
13646 builtin and then its argument prototype would still apply. */
13647 char XOpenDisplay ();
13649 main (void)
13651 return XOpenDisplay ();
13653 return 0;
13655 _ACEOF
13656 if ac_fn_c_try_link "$LINENO"
13657 then :
13659 else $as_nop
13660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13661 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13662 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13663 then :
13664 printf %s "(cached) " >&6
13665 else $as_nop
13666 ac_check_lib_save_LIBS=$LIBS
13667 LIBS="-ldnet $LIBS"
13668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13669 /* end confdefs.h. */
13671 /* Override any GCC internal prototype to avoid an error.
13672 Use char because int might match the return type of a GCC
13673 builtin and then its argument prototype would still apply. */
13674 char dnet_ntoa ();
13676 main (void)
13678 return dnet_ntoa ();
13680 return 0;
13682 _ACEOF
13683 if ac_fn_c_try_link "$LINENO"
13684 then :
13685 ac_cv_lib_dnet_dnet_ntoa=yes
13686 else $as_nop
13687 ac_cv_lib_dnet_dnet_ntoa=no
13689 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13690 conftest$ac_exeext conftest.$ac_ext
13691 LIBS=$ac_check_lib_save_LIBS
13693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13694 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13695 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13696 then :
13697 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13700 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13702 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13703 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13704 then :
13705 printf %s "(cached) " >&6
13706 else $as_nop
13707 ac_check_lib_save_LIBS=$LIBS
13708 LIBS="-ldnet_stub $LIBS"
13709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13710 /* end confdefs.h. */
13712 /* Override any GCC internal prototype to avoid an error.
13713 Use char because int might match the return type of a GCC
13714 builtin and then its argument prototype would still apply. */
13715 char dnet_ntoa ();
13717 main (void)
13719 return dnet_ntoa ();
13721 return 0;
13723 _ACEOF
13724 if ac_fn_c_try_link "$LINENO"
13725 then :
13726 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13727 else $as_nop
13728 ac_cv_lib_dnet_stub_dnet_ntoa=no
13730 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13731 conftest$ac_exeext conftest.$ac_ext
13732 LIBS=$ac_check_lib_save_LIBS
13734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13735 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13736 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13737 then :
13738 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13743 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13744 conftest$ac_exeext conftest.$ac_ext
13745 LIBS="$ac_xsave_LIBS"
13747 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13748 # to get the SysV transport functions.
13749 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13750 # needs -lnsl.
13751 # The nsl library prevents programs from opening the X display
13752 # on Irix 5.2, according to T.E. Dickey.
13753 # The functions gethostbyname, getservbyname, and inet_addr are
13754 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13755 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13756 if test "x$ac_cv_func_gethostbyname" = xyes
13757 then :
13761 if test $ac_cv_func_gethostbyname = no; then
13762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13763 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13764 if test ${ac_cv_lib_nsl_gethostbyname+y}
13765 then :
13766 printf %s "(cached) " >&6
13767 else $as_nop
13768 ac_check_lib_save_LIBS=$LIBS
13769 LIBS="-lnsl $LIBS"
13770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13771 /* end confdefs.h. */
13773 /* Override any GCC internal prototype to avoid an error.
13774 Use char because int might match the return type of a GCC
13775 builtin and then its argument prototype would still apply. */
13776 char gethostbyname ();
13778 main (void)
13780 return gethostbyname ();
13782 return 0;
13784 _ACEOF
13785 if ac_fn_c_try_link "$LINENO"
13786 then :
13787 ac_cv_lib_nsl_gethostbyname=yes
13788 else $as_nop
13789 ac_cv_lib_nsl_gethostbyname=no
13791 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13792 conftest$ac_exeext conftest.$ac_ext
13793 LIBS=$ac_check_lib_save_LIBS
13795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13796 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13797 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13798 then :
13799 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13802 if test $ac_cv_lib_nsl_gethostbyname = no; then
13803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13804 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13805 if test ${ac_cv_lib_bsd_gethostbyname+y}
13806 then :
13807 printf %s "(cached) " >&6
13808 else $as_nop
13809 ac_check_lib_save_LIBS=$LIBS
13810 LIBS="-lbsd $LIBS"
13811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13812 /* end confdefs.h. */
13814 /* Override any GCC internal prototype to avoid an error.
13815 Use char because int might match the return type of a GCC
13816 builtin and then its argument prototype would still apply. */
13817 char gethostbyname ();
13819 main (void)
13821 return gethostbyname ();
13823 return 0;
13825 _ACEOF
13826 if ac_fn_c_try_link "$LINENO"
13827 then :
13828 ac_cv_lib_bsd_gethostbyname=yes
13829 else $as_nop
13830 ac_cv_lib_bsd_gethostbyname=no
13832 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13833 conftest$ac_exeext conftest.$ac_ext
13834 LIBS=$ac_check_lib_save_LIBS
13836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13837 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13838 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
13839 then :
13840 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
13846 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13847 # socket/setsockopt and other routines are undefined under SCO ODT
13848 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13849 # on later versions), says Simon Leinen: it contains gethostby*
13850 # variants that don't use the name server (or something). -lsocket
13851 # must be given before -lnsl if both are needed. We assume that
13852 # if connect needs -lnsl, so does gethostbyname.
13853 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
13854 if test "x$ac_cv_func_connect" = xyes
13855 then :
13859 if test $ac_cv_func_connect = no; then
13860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13861 printf %s "checking for connect in -lsocket... " >&6; }
13862 if test ${ac_cv_lib_socket_connect+y}
13863 then :
13864 printf %s "(cached) " >&6
13865 else $as_nop
13866 ac_check_lib_save_LIBS=$LIBS
13867 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
13868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13869 /* end confdefs.h. */
13871 /* Override any GCC internal prototype to avoid an error.
13872 Use char because int might match the return type of a GCC
13873 builtin and then its argument prototype would still apply. */
13874 char connect ();
13876 main (void)
13878 return connect ();
13880 return 0;
13882 _ACEOF
13883 if ac_fn_c_try_link "$LINENO"
13884 then :
13885 ac_cv_lib_socket_connect=yes
13886 else $as_nop
13887 ac_cv_lib_socket_connect=no
13889 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13890 conftest$ac_exeext conftest.$ac_ext
13891 LIBS=$ac_check_lib_save_LIBS
13893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
13894 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
13895 if test "x$ac_cv_lib_socket_connect" = xyes
13896 then :
13897 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
13902 # Guillermo Gomez says -lposix is necessary on A/UX.
13903 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
13904 if test "x$ac_cv_func_remove" = xyes
13905 then :
13909 if test $ac_cv_func_remove = no; then
13910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
13911 printf %s "checking for remove in -lposix... " >&6; }
13912 if test ${ac_cv_lib_posix_remove+y}
13913 then :
13914 printf %s "(cached) " >&6
13915 else $as_nop
13916 ac_check_lib_save_LIBS=$LIBS
13917 LIBS="-lposix $LIBS"
13918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13919 /* end confdefs.h. */
13921 /* Override any GCC internal prototype to avoid an error.
13922 Use char because int might match the return type of a GCC
13923 builtin and then its argument prototype would still apply. */
13924 char remove ();
13926 main (void)
13928 return remove ();
13930 return 0;
13932 _ACEOF
13933 if ac_fn_c_try_link "$LINENO"
13934 then :
13935 ac_cv_lib_posix_remove=yes
13936 else $as_nop
13937 ac_cv_lib_posix_remove=no
13939 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13940 conftest$ac_exeext conftest.$ac_ext
13941 LIBS=$ac_check_lib_save_LIBS
13943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
13944 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
13945 if test "x$ac_cv_lib_posix_remove" = xyes
13946 then :
13947 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
13952 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
13953 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
13954 if test "x$ac_cv_func_shmat" = xyes
13955 then :
13959 if test $ac_cv_func_shmat = no; then
13960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
13961 printf %s "checking for shmat in -lipc... " >&6; }
13962 if test ${ac_cv_lib_ipc_shmat+y}
13963 then :
13964 printf %s "(cached) " >&6
13965 else $as_nop
13966 ac_check_lib_save_LIBS=$LIBS
13967 LIBS="-lipc $LIBS"
13968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13969 /* end confdefs.h. */
13971 /* Override any GCC internal prototype to avoid an error.
13972 Use char because int might match the return type of a GCC
13973 builtin and then its argument prototype would still apply. */
13974 char shmat ();
13976 main (void)
13978 return shmat ();
13980 return 0;
13982 _ACEOF
13983 if ac_fn_c_try_link "$LINENO"
13984 then :
13985 ac_cv_lib_ipc_shmat=yes
13986 else $as_nop
13987 ac_cv_lib_ipc_shmat=no
13989 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13990 conftest$ac_exeext conftest.$ac_ext
13991 LIBS=$ac_check_lib_save_LIBS
13993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
13994 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
13995 if test "x$ac_cv_lib_ipc_shmat" = xyes
13996 then :
13997 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14003 # Check for libraries that X11R6 Xt/Xaw programs need.
14004 ac_save_LDFLAGS=$LDFLAGS
14005 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14006 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14007 # check for ICE first), but we must link in the order -lSM -lICE or
14008 # we get undefined symbols. So assume we have SM if we have ICE.
14009 # These have to be linked with before -lX11, unlike the other
14010 # libraries we check for below, so use a different variable.
14011 # John Interrante, Karl Berry
14012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14013 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14014 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14015 then :
14016 printf %s "(cached) " >&6
14017 else $as_nop
14018 ac_check_lib_save_LIBS=$LIBS
14019 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14021 /* end confdefs.h. */
14023 /* Override any GCC internal prototype to avoid an error.
14024 Use char because int might match the return type of a GCC
14025 builtin and then its argument prototype would still apply. */
14026 char IceConnectionNumber ();
14028 main (void)
14030 return IceConnectionNumber ();
14032 return 0;
14034 _ACEOF
14035 if ac_fn_c_try_link "$LINENO"
14036 then :
14037 ac_cv_lib_ICE_IceConnectionNumber=yes
14038 else $as_nop
14039 ac_cv_lib_ICE_IceConnectionNumber=no
14041 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14042 conftest$ac_exeext conftest.$ac_ext
14043 LIBS=$ac_check_lib_save_LIBS
14045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14046 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14047 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14048 then :
14049 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14052 LDFLAGS=$ac_save_LDFLAGS
14057 if test "$have_x" = "yes"
14058 then
14059 ac_save_CPPFLAGS="$CPPFLAGS"
14060 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14063 printf %s "checking for -lX11... " >&6; }
14064 if test ${ac_cv_lib_soname_X11+y}
14065 then :
14066 printf %s "(cached) " >&6
14067 else $as_nop
14068 ac_check_soname_save_LIBS=$LIBS
14069 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14071 /* end confdefs.h. */
14073 /* Override any GCC internal prototype to avoid an error.
14074 Use char because int might match the return type of a GCC
14075 builtin and then its argument prototype would still apply. */
14076 char XCreateWindow ();
14078 main (void)
14080 return XCreateWindow ();
14082 return 0;
14084 _ACEOF
14085 if ac_fn_c_try_link "$LINENO"
14086 then :
14087 case "$LIBEXT" in
14088 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14089 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'` ;;
14090 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14091 if ${ac_cv_lib_soname_X11:+false} :
14092 then :
14093 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14094 fi ;;
14095 esac
14096 else $as_nop
14097 ac_cv_lib_soname_X11=
14099 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14100 conftest$ac_exeext conftest.$ac_ext
14101 LIBS=$ac_check_soname_save_LIBS
14103 if ${ac_cv_lib_soname_X11:+false} :
14104 then :
14105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14106 printf "%s\n" "not found" >&6; }
14108 else $as_nop
14109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14110 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14112 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14117 printf %s "checking for -lXext... " >&6; }
14118 if test ${ac_cv_lib_soname_Xext+y}
14119 then :
14120 printf %s "(cached) " >&6
14121 else $as_nop
14122 ac_check_soname_save_LIBS=$LIBS
14123 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14125 /* end confdefs.h. */
14127 /* Override any GCC internal prototype to avoid an error.
14128 Use char because int might match the return type of a GCC
14129 builtin and then its argument prototype would still apply. */
14130 char XextCreateExtension ();
14132 main (void)
14134 return XextCreateExtension ();
14136 return 0;
14138 _ACEOF
14139 if ac_fn_c_try_link "$LINENO"
14140 then :
14141 case "$LIBEXT" in
14142 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14143 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'` ;;
14144 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14145 if ${ac_cv_lib_soname_Xext:+false} :
14146 then :
14147 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14148 fi ;;
14149 esac
14150 else $as_nop
14151 ac_cv_lib_soname_Xext=
14153 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14154 conftest$ac_exeext conftest.$ac_ext
14155 LIBS=$ac_check_soname_save_LIBS
14157 if ${ac_cv_lib_soname_Xext:+false} :
14158 then :
14159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14160 printf "%s\n" "not found" >&6; }
14162 else $as_nop
14163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14164 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14166 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14168 X_LIBS="$X_LIBS -lXext"
14170 X_LIBS="$X_LIBS -lX11"
14172 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14173 # include <X11/Xlib.h>
14174 #endif
14175 #ifdef HAVE_X11_XUTIL_H
14176 # include <X11/Xutil.h>
14177 #endif
14179 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14180 then :
14181 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14184 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14185 # include <X11/Xlib.h>
14186 #endif
14187 #ifdef HAVE_X11_XUTIL_H
14188 # include <X11/Xutil.h>
14189 #endif
14191 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14192 then :
14193 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14196 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14197 # include <X11/Xlib.h>
14198 #endif
14199 #ifdef HAVE_X11_XUTIL_H
14200 # include <X11/Xutil.h>
14201 #endif
14203 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14204 then :
14205 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14208 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14209 # include <X11/Xlib.h>
14210 #endif
14211 #ifdef HAVE_X11_XUTIL_H
14212 # include <X11/Xutil.h>
14213 #endif
14215 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14216 then :
14217 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14220 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14221 # include <X11/Xlib.h>
14222 #endif
14223 #ifdef HAVE_X11_XUTIL_H
14224 # include <X11/Xutil.h>
14225 #endif
14227 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14228 then :
14229 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14232 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14233 # include <X11/Xlib.h>
14234 #endif
14235 #ifdef HAVE_X11_XUTIL_H
14236 # include <X11/Xutil.h>
14237 #endif
14239 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14240 then :
14241 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14244 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14245 # include <X11/Xlib.h>
14246 #endif
14247 #ifdef HAVE_X11_XUTIL_H
14248 # include <X11/Xutil.h>
14249 #endif
14251 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14252 then :
14253 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14256 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14257 # include <X11/Xlib.h>
14258 #endif
14259 #ifdef HAVE_X11_XUTIL_H
14260 # include <X11/Xutil.h>
14261 #endif
14263 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14264 then :
14265 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14268 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14269 # include <X11/Xlib.h>
14270 #endif
14271 #ifdef HAVE_X11_XUTIL_H
14272 # include <X11/Xutil.h>
14273 #endif
14275 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14276 then :
14277 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14280 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14281 # include <X11/Xlib.h>
14282 #endif
14283 #ifdef HAVE_X11_XUTIL_H
14284 # include <X11/Xutil.h>
14285 #endif
14287 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14288 then :
14289 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14292 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14293 # include <X11/Xlib.h>
14294 #endif
14295 #ifdef HAVE_X11_XUTIL_H
14296 # include <X11/Xutil.h>
14297 #endif
14299 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14300 then :
14301 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14304 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14305 # include <X11/Xlib.h>
14306 #endif
14307 #ifdef HAVE_X11_XUTIL_H
14308 # include <X11/Xutil.h>
14309 #endif
14311 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14312 then :
14313 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14316 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14317 # include <X11/Xlib.h>
14318 #endif
14319 #ifdef HAVE_X11_XUTIL_H
14320 # include <X11/Xutil.h>
14321 #endif
14323 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14324 then :
14325 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14328 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14329 # include <X11/Xlib.h>
14330 #endif
14331 #ifdef HAVE_X11_XUTIL_H
14332 # include <X11/Xutil.h>
14333 #endif
14335 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14336 then :
14337 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14340 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14341 # include <X11/Xlib.h>
14342 #endif
14343 #ifdef HAVE_X11_XUTIL_H
14344 # include <X11/Xutil.h>
14345 #endif
14347 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14348 then :
14349 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14354 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14355 then
14356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14357 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14358 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14359 then :
14360 printf %s "(cached) " >&6
14361 else $as_nop
14362 ac_check_lib_save_LIBS=$LIBS
14363 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14365 /* end confdefs.h. */
14367 /* Override any GCC internal prototype to avoid an error.
14368 Use char because int might match the return type of a GCC
14369 builtin and then its argument prototype would still apply. */
14370 char XkbQueryExtension ();
14372 main (void)
14374 return XkbQueryExtension ();
14376 return 0;
14378 _ACEOF
14379 if ac_fn_c_try_link "$LINENO"
14380 then :
14381 ac_cv_lib_X11_XkbQueryExtension=yes
14382 else $as_nop
14383 ac_cv_lib_X11_XkbQueryExtension=no
14385 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14386 conftest$ac_exeext conftest.$ac_ext
14387 LIBS=$ac_check_lib_save_LIBS
14389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14390 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14391 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14392 then :
14394 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14400 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14401 then
14402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14403 printf %s "checking for -lXcursor... " >&6; }
14404 if test ${ac_cv_lib_soname_Xcursor+y}
14405 then :
14406 printf %s "(cached) " >&6
14407 else $as_nop
14408 ac_check_soname_save_LIBS=$LIBS
14409 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14411 /* end confdefs.h. */
14413 /* Override any GCC internal prototype to avoid an error.
14414 Use char because int might match the return type of a GCC
14415 builtin and then its argument prototype would still apply. */
14416 char XcursorImageLoadCursor ();
14418 main (void)
14420 return XcursorImageLoadCursor ();
14422 return 0;
14424 _ACEOF
14425 if ac_fn_c_try_link "$LINENO"
14426 then :
14427 case "$LIBEXT" in
14428 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14429 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'` ;;
14430 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14431 if ${ac_cv_lib_soname_Xcursor:+false} :
14432 then :
14433 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14434 fi ;;
14435 esac
14436 else $as_nop
14437 ac_cv_lib_soname_Xcursor=
14439 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14440 conftest$ac_exeext conftest.$ac_ext
14441 LIBS=$ac_check_soname_save_LIBS
14443 if ${ac_cv_lib_soname_Xcursor:+false} :
14444 then :
14445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14446 printf "%s\n" "not found" >&6; }
14448 else $as_nop
14449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14450 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14452 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14457 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14458 then :
14459 case "x$with_xcursor" in
14460 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14461 xno) ;;
14462 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14463 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14464 esac
14468 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14469 then
14470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14471 printf %s "checking for -lXi... " >&6; }
14472 if test ${ac_cv_lib_soname_Xi+y}
14473 then :
14474 printf %s "(cached) " >&6
14475 else $as_nop
14476 ac_check_soname_save_LIBS=$LIBS
14477 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14479 /* end confdefs.h. */
14481 /* Override any GCC internal prototype to avoid an error.
14482 Use char because int might match the return type of a GCC
14483 builtin and then its argument prototype would still apply. */
14484 char XOpenDevice ();
14486 main (void)
14488 return XOpenDevice ();
14490 return 0;
14492 _ACEOF
14493 if ac_fn_c_try_link "$LINENO"
14494 then :
14495 case "$LIBEXT" in
14496 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14497 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'` ;;
14498 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14499 if ${ac_cv_lib_soname_Xi:+false} :
14500 then :
14501 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14502 fi ;;
14503 esac
14504 else $as_nop
14505 ac_cv_lib_soname_Xi=
14507 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14508 conftest$ac_exeext conftest.$ac_ext
14509 LIBS=$ac_check_soname_save_LIBS
14511 if ${ac_cv_lib_soname_Xi:+false} :
14512 then :
14513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14514 printf "%s\n" "not found" >&6; }
14516 else $as_nop
14517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14518 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14520 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14525 if test "x$ac_cv_lib_soname_Xi" = "x"
14526 then :
14527 case "x$with_xinput" in
14528 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14529 xno) ;;
14530 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14531 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14532 esac
14536 if test "x$ac_cv_lib_soname_Xi" != x
14537 then
14538 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14539 then :
14540 case "x$with_xinput2" in
14541 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14542 xno) ;;
14543 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14544 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14545 esac
14550 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14551 then
14552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14553 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14554 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14555 then :
14556 printf %s "(cached) " >&6
14557 else $as_nop
14558 ac_check_lib_save_LIBS=$LIBS
14559 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14561 /* end confdefs.h. */
14563 /* Override any GCC internal prototype to avoid an error.
14564 Use char because int might match the return type of a GCC
14565 builtin and then its argument prototype would still apply. */
14566 char XShmQueryExtension ();
14568 main (void)
14570 return XShmQueryExtension ();
14572 return 0;
14574 _ACEOF
14575 if ac_fn_c_try_link "$LINENO"
14576 then :
14577 ac_cv_lib_Xext_XShmQueryExtension=yes
14578 else $as_nop
14579 ac_cv_lib_Xext_XShmQueryExtension=no
14581 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14582 conftest$ac_exeext conftest.$ac_ext
14583 LIBS=$ac_check_lib_save_LIBS
14585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14586 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14587 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14588 then :
14590 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14595 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14596 then :
14597 case "x$with_xshm" in
14598 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14599 xno) ;;
14600 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14601 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14602 esac
14606 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14607 then
14608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14609 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14610 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14611 then :
14612 printf %s "(cached) " >&6
14613 else $as_nop
14614 ac_check_lib_save_LIBS=$LIBS
14615 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14617 /* end confdefs.h. */
14619 /* Override any GCC internal prototype to avoid an error.
14620 Use char because int might match the return type of a GCC
14621 builtin and then its argument prototype would still apply. */
14622 char XShapeQueryExtension ();
14624 main (void)
14626 return XShapeQueryExtension ();
14628 return 0;
14630 _ACEOF
14631 if ac_fn_c_try_link "$LINENO"
14632 then :
14633 ac_cv_lib_Xext_XShapeQueryExtension=yes
14634 else $as_nop
14635 ac_cv_lib_Xext_XShapeQueryExtension=no
14637 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14638 conftest$ac_exeext conftest.$ac_ext
14639 LIBS=$ac_check_lib_save_LIBS
14641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14642 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14643 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14644 then :
14646 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14651 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14652 then :
14653 case "x$with_xshape" in
14654 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14655 xno) ;;
14656 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14657 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14658 esac
14662 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14663 then
14664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14665 printf %s "checking for -lXxf86vm... " >&6; }
14666 if test ${ac_cv_lib_soname_Xxf86vm+y}
14667 then :
14668 printf %s "(cached) " >&6
14669 else $as_nop
14670 ac_check_soname_save_LIBS=$LIBS
14671 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14673 /* end confdefs.h. */
14675 /* Override any GCC internal prototype to avoid an error.
14676 Use char because int might match the return type of a GCC
14677 builtin and then its argument prototype would still apply. */
14678 char XF86VidModeQueryExtension ();
14680 main (void)
14682 return XF86VidModeQueryExtension ();
14684 return 0;
14686 _ACEOF
14687 if ac_fn_c_try_link "$LINENO"
14688 then :
14689 case "$LIBEXT" in
14690 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14691 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'` ;;
14692 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14693 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14694 then :
14695 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14696 fi ;;
14697 esac
14698 else $as_nop
14699 ac_cv_lib_soname_Xxf86vm=
14701 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14702 conftest$ac_exeext conftest.$ac_ext
14703 LIBS=$ac_check_soname_save_LIBS
14705 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14706 then :
14707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14708 printf "%s\n" "not found" >&6; }
14710 else $as_nop
14711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14712 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14714 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14719 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14720 then :
14721 case "x$with_xxf86vm" in
14722 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14723 xno) ;;
14724 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14725 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14726 esac
14730 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14731 then
14732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14733 printf %s "checking for -lXrender... " >&6; }
14734 if test ${ac_cv_lib_soname_Xrender+y}
14735 then :
14736 printf %s "(cached) " >&6
14737 else $as_nop
14738 ac_check_soname_save_LIBS=$LIBS
14739 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14741 /* end confdefs.h. */
14743 /* Override any GCC internal prototype to avoid an error.
14744 Use char because int might match the return type of a GCC
14745 builtin and then its argument prototype would still apply. */
14746 char XRenderQueryExtension ();
14748 main (void)
14750 return XRenderQueryExtension ();
14752 return 0;
14754 _ACEOF
14755 if ac_fn_c_try_link "$LINENO"
14756 then :
14757 case "$LIBEXT" in
14758 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14759 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'` ;;
14760 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14761 if ${ac_cv_lib_soname_Xrender:+false} :
14762 then :
14763 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14764 fi ;;
14765 esac
14766 else $as_nop
14767 ac_cv_lib_soname_Xrender=
14769 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14770 conftest$ac_exeext conftest.$ac_ext
14771 LIBS=$ac_check_soname_save_LIBS
14773 if ${ac_cv_lib_soname_Xrender:+false} :
14774 then :
14775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14776 printf "%s\n" "not found" >&6; }
14778 else $as_nop
14779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14780 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14782 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14785 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14786 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14787 then :
14788 printf %s "(cached) " >&6
14789 else $as_nop
14790 ac_check_lib_save_LIBS=$LIBS
14791 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14793 /* end confdefs.h. */
14795 /* Override any GCC internal prototype to avoid an error.
14796 Use char because int might match the return type of a GCC
14797 builtin and then its argument prototype would still apply. */
14798 char XRenderSetPictureTransform ();
14800 main (void)
14802 return XRenderSetPictureTransform ();
14804 return 0;
14806 _ACEOF
14807 if ac_fn_c_try_link "$LINENO"
14808 then :
14809 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14810 else $as_nop
14811 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14813 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14814 conftest$ac_exeext conftest.$ac_ext
14815 LIBS=$ac_check_lib_save_LIBS
14817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14818 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14819 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14820 then :
14822 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14827 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14828 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14829 then :
14830 printf %s "(cached) " >&6
14831 else $as_nop
14832 ac_check_lib_save_LIBS=$LIBS
14833 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14835 /* end confdefs.h. */
14837 /* Override any GCC internal prototype to avoid an error.
14838 Use char because int might match the return type of a GCC
14839 builtin and then its argument prototype would still apply. */
14840 char XRenderCreateLinearGradient ();
14842 main (void)
14844 return XRenderCreateLinearGradient ();
14846 return 0;
14848 _ACEOF
14849 if ac_fn_c_try_link "$LINENO"
14850 then :
14851 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
14852 else $as_nop
14853 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
14855 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14856 conftest$ac_exeext conftest.$ac_ext
14857 LIBS=$ac_check_lib_save_LIBS
14859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14860 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14861 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14862 then :
14864 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14871 if test "x$ac_cv_lib_soname_Xrender" = "x"
14872 then :
14873 case "x$with_xrender" in
14874 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14875 xno) ;;
14876 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
14877 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14878 esac
14882 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14883 then
14884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14885 /* end confdefs.h. */
14886 #include <X11/Xlib.h>
14887 #include <X11/extensions/Xrandr.h>
14889 main (void)
14891 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
14893 return 0;
14895 _ACEOF
14896 if ac_fn_c_try_compile "$LINENO"
14897 then :
14898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
14899 printf %s "checking for -lXrandr... " >&6; }
14900 if test ${ac_cv_lib_soname_Xrandr+y}
14901 then :
14902 printf %s "(cached) " >&6
14903 else $as_nop
14904 ac_check_soname_save_LIBS=$LIBS
14905 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
14906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14907 /* end confdefs.h. */
14909 /* Override any GCC internal prototype to avoid an error.
14910 Use char because int might match the return type of a GCC
14911 builtin and then its argument prototype would still apply. */
14912 char XRRQueryExtension ();
14914 main (void)
14916 return XRRQueryExtension ();
14918 return 0;
14920 _ACEOF
14921 if ac_fn_c_try_link "$LINENO"
14922 then :
14923 case "$LIBEXT" in
14924 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14925 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'` ;;
14926 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14927 if ${ac_cv_lib_soname_Xrandr:+false} :
14928 then :
14929 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14930 fi ;;
14931 esac
14932 else $as_nop
14933 ac_cv_lib_soname_Xrandr=
14935 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14936 conftest$ac_exeext conftest.$ac_ext
14937 LIBS=$ac_check_soname_save_LIBS
14939 if ${ac_cv_lib_soname_Xrandr:+false} :
14940 then :
14941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14942 printf "%s\n" "not found" >&6; }
14944 else $as_nop
14945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
14946 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
14948 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
14950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14951 /* end confdefs.h. */
14952 #include <X11/Xlib.h>
14953 #include <X11/extensions/Xrandr.h>
14955 main (void)
14957 static typeof(XRRGetProviderResources) *f; if (f) return 0;
14959 return 0;
14961 _ACEOF
14962 if ac_fn_c_try_compile "$LINENO"
14963 then :
14965 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
14967 else $as_nop
14968 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
14970 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14973 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14975 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14976 then :
14977 case "x$with_xrandr" in
14978 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
14979 xno) ;;
14980 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
14981 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
14982 esac
14986 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
14987 then
14988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14989 /* end confdefs.h. */
14990 #include <X11/Xlib.h>
14991 #include <X11/extensions/Xfixes.h>
14993 main (void)
14995 static typeof(XFixesQueryVersion) * func; if (func) return 0;
14997 return 0;
14999 _ACEOF
15000 if ac_fn_c_try_compile "$LINENO"
15001 then :
15002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15003 printf %s "checking for -lXfixes... " >&6; }
15004 if test ${ac_cv_lib_soname_Xfixes+y}
15005 then :
15006 printf %s "(cached) " >&6
15007 else $as_nop
15008 ac_check_soname_save_LIBS=$LIBS
15009 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15011 /* end confdefs.h. */
15013 /* Override any GCC internal prototype to avoid an error.
15014 Use char because int might match the return type of a GCC
15015 builtin and then its argument prototype would still apply. */
15016 char XFixesQueryVersion ();
15018 main (void)
15020 return XFixesQueryVersion ();
15022 return 0;
15024 _ACEOF
15025 if ac_fn_c_try_link "$LINENO"
15026 then :
15027 case "$LIBEXT" in
15028 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15029 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'` ;;
15030 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15031 if ${ac_cv_lib_soname_Xfixes:+false} :
15032 then :
15033 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15034 fi ;;
15035 esac
15036 else $as_nop
15037 ac_cv_lib_soname_Xfixes=
15039 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15040 conftest$ac_exeext conftest.$ac_ext
15041 LIBS=$ac_check_soname_save_LIBS
15043 if ${ac_cv_lib_soname_Xfixes:+false} :
15044 then :
15045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15046 printf "%s\n" "not found" >&6; }
15048 else $as_nop
15049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15050 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15052 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15057 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15059 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15060 then :
15061 case "x$with_xfixes" in
15062 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15063 xno) ;;
15064 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15065 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15066 esac
15070 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15071 then
15072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15073 /* end confdefs.h. */
15074 #include <X11/Xlib.h>
15075 #include <X11/extensions/Xinerama.h>
15077 main (void)
15079 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15081 return 0;
15083 _ACEOF
15084 if ac_fn_c_try_compile "$LINENO"
15085 then :
15086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15087 printf %s "checking for -lXinerama... " >&6; }
15088 if test ${ac_cv_lib_soname_Xinerama+y}
15089 then :
15090 printf %s "(cached) " >&6
15091 else $as_nop
15092 ac_check_soname_save_LIBS=$LIBS
15093 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15095 /* end confdefs.h. */
15097 /* Override any GCC internal prototype to avoid an error.
15098 Use char because int might match the return type of a GCC
15099 builtin and then its argument prototype would still apply. */
15100 char XineramaQueryScreens ();
15102 main (void)
15104 return XineramaQueryScreens ();
15106 return 0;
15108 _ACEOF
15109 if ac_fn_c_try_link "$LINENO"
15110 then :
15111 case "$LIBEXT" in
15112 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15113 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'` ;;
15114 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15115 if ${ac_cv_lib_soname_Xinerama:+false} :
15116 then :
15117 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15118 fi ;;
15119 esac
15120 else $as_nop
15121 ac_cv_lib_soname_Xinerama=
15123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15124 conftest$ac_exeext conftest.$ac_ext
15125 LIBS=$ac_check_soname_save_LIBS
15127 if ${ac_cv_lib_soname_Xinerama:+false} :
15128 then :
15129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15130 printf "%s\n" "not found" >&6; }
15132 else $as_nop
15133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15134 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15136 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15141 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15143 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15144 then :
15145 case "x$with_xinerama" in
15146 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15147 xno) ;;
15148 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15149 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15150 esac
15154 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15155 then
15156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15157 printf %s "checking for -lXcomposite... " >&6; }
15158 if test ${ac_cv_lib_soname_Xcomposite+y}
15159 then :
15160 printf %s "(cached) " >&6
15161 else $as_nop
15162 ac_check_soname_save_LIBS=$LIBS
15163 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15165 /* end confdefs.h. */
15167 /* Override any GCC internal prototype to avoid an error.
15168 Use char because int might match the return type of a GCC
15169 builtin and then its argument prototype would still apply. */
15170 char XCompositeRedirectWindow ();
15172 main (void)
15174 return XCompositeRedirectWindow ();
15176 return 0;
15178 _ACEOF
15179 if ac_fn_c_try_link "$LINENO"
15180 then :
15181 case "$LIBEXT" in
15182 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15183 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'` ;;
15184 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15185 if ${ac_cv_lib_soname_Xcomposite:+false} :
15186 then :
15187 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15188 fi ;;
15189 esac
15190 else $as_nop
15191 ac_cv_lib_soname_Xcomposite=
15193 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15194 conftest$ac_exeext conftest.$ac_ext
15195 LIBS=$ac_check_soname_save_LIBS
15197 if ${ac_cv_lib_soname_Xcomposite:+false} :
15198 then :
15199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15200 printf "%s\n" "not found" >&6; }
15202 else $as_nop
15203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15204 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15206 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15211 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15212 then :
15213 case "x$with_xcomposite" in
15214 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15215 xno) ;;
15216 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15217 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15218 esac
15222 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15223 #include <X11/Xlib.h>
15224 #endif
15226 if test "x$ac_cv_member_XICCallback_callback" = xyes
15227 then :
15229 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15233 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15234 #include <X11/Xlib.h>
15235 #endif
15237 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15238 then :
15240 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15247 opengl_msg=""
15248 if test "x$with_opengl" != "xno"
15249 then
15250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15251 printf %s "checking for -lGL... " >&6; }
15252 if test ${ac_cv_lib_soname_GL+y}
15253 then :
15254 printf %s "(cached) " >&6
15255 else $as_nop
15256 ac_check_soname_save_LIBS=$LIBS
15257 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15259 /* end confdefs.h. */
15261 /* Override any GCC internal prototype to avoid an error.
15262 Use char because int might match the return type of a GCC
15263 builtin and then its argument prototype would still apply. */
15264 char glXCreateContext ();
15266 main (void)
15268 return glXCreateContext ();
15270 return 0;
15272 _ACEOF
15273 if ac_fn_c_try_link "$LINENO"
15274 then :
15275 case "$LIBEXT" in
15276 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15277 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'` ;;
15278 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15279 if ${ac_cv_lib_soname_GL:+false} :
15280 then :
15281 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15282 fi ;;
15283 esac
15284 else $as_nop
15285 ac_cv_lib_soname_GL=
15287 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15288 conftest$ac_exeext conftest.$ac_ext
15289 LIBS=$ac_check_soname_save_LIBS
15291 if ${ac_cv_lib_soname_GL:+false} :
15292 then :
15293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15294 printf "%s\n" "not found" >&6; }
15295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15296 printf %s "checking for -lGL... " >&6; }
15297 if test ${ac_cv_lib_soname_GL+y}
15298 then :
15299 printf %s "(cached) " >&6
15300 else $as_nop
15301 ac_check_soname_save_LIBS=$LIBS
15302 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"
15303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15304 /* end confdefs.h. */
15306 /* Override any GCC internal prototype to avoid an error.
15307 Use char because int might match the return type of a GCC
15308 builtin and then its argument prototype would still apply. */
15309 char glXCreateContext ();
15311 main (void)
15313 return glXCreateContext ();
15315 return 0;
15317 _ACEOF
15318 if ac_fn_c_try_link "$LINENO"
15319 then :
15320 case "$LIBEXT" in
15321 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15322 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'` ;;
15323 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15324 if ${ac_cv_lib_soname_GL:+false} :
15325 then :
15326 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15327 fi ;;
15328 esac
15329 else $as_nop
15330 ac_cv_lib_soname_GL=
15332 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15333 conftest$ac_exeext conftest.$ac_ext
15334 LIBS=$ac_check_soname_save_LIBS
15336 if ${ac_cv_lib_soname_GL:+false} :
15337 then :
15338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15339 printf "%s\n" "not found" >&6; }
15340 if test -f /usr/X11R6/lib/libGL.a
15341 then
15342 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15343 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15344 else
15345 opengl_msg="No OpenGL library found on this system."
15347 else $as_nop
15348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15349 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15351 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15353 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"
15355 else $as_nop
15356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15357 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15359 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15361 OPENGL_LIBS="-lGL"
15363 if test "x$with_osmesa" != "xno"
15364 then
15365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15366 printf %s "checking for -lOSMesa... " >&6; }
15367 if test ${ac_cv_lib_soname_OSMesa+y}
15368 then :
15369 printf %s "(cached) " >&6
15370 else $as_nop
15371 ac_check_soname_save_LIBS=$LIBS
15372 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15374 /* end confdefs.h. */
15376 /* Override any GCC internal prototype to avoid an error.
15377 Use char because int might match the return type of a GCC
15378 builtin and then its argument prototype would still apply. */
15379 char OSMesaGetProcAddress ();
15381 main (void)
15383 return OSMesaGetProcAddress ();
15385 return 0;
15387 _ACEOF
15388 if ac_fn_c_try_link "$LINENO"
15389 then :
15390 case "$LIBEXT" in
15391 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15392 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'` ;;
15393 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15394 if ${ac_cv_lib_soname_OSMesa:+false} :
15395 then :
15396 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15397 fi ;;
15398 esac
15399 else $as_nop
15400 ac_cv_lib_soname_OSMesa=
15402 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15403 conftest$ac_exeext conftest.$ac_ext
15404 LIBS=$ac_check_soname_save_LIBS
15406 if ${ac_cv_lib_soname_OSMesa:+false} :
15407 then :
15408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15409 printf "%s\n" "not found" >&6; }
15411 else $as_nop
15412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15413 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15415 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15419 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15420 then :
15421 case "x$with_osmesa" in
15422 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15423 xno) ;;
15424 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15425 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15426 esac
15431 if test -n "$opengl_msg"
15432 then :
15433 case "x$with_opengl" in
15434 x) as_fn_append wine_warnings "|$opengl_msg
15435 OpenGL and Direct3D won't be supported." ;;
15436 xno) ;;
15437 *) as_fn_error $? "$opengl_msg
15438 OpenGL and Direct3D won't be supported.
15439 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15440 esac
15444 CPPFLAGS="$ac_save_CPPFLAGS"
15445 else
15446 X_CFLAGS=""
15447 X_LIBS=""
15450 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15451 then
15452 if test "x$X_LIBS" = "x"
15453 then :
15454 case "x$with_x" in
15455 xno) ;;
15456 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15457 without X support, which probably isn't what you want. You will need
15458 to install ${notice_platform}development packages of Xlib at the very least.
15459 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15460 esac
15461 enable_winex11_drv=${enable_winex11_drv:-no}
15463 else
15464 if test "x$X_LIBS" = "x"
15465 then :
15466 case "x$with_x" in
15467 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15468 xno) ;;
15469 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15470 This is an error since --with-x was requested." "$LINENO" 5 ;;
15471 esac
15472 enable_winex11_drv=${enable_winex11_drv:-no}
15476 if test "$ac_cv_header_CL_cl_h" = "yes"
15477 then
15478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15479 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15480 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15481 then :
15482 printf %s "(cached) " >&6
15483 else $as_nop
15484 ac_check_lib_save_LIBS=$LIBS
15485 LIBS="-lOpenCL $LIBS"
15486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15487 /* end confdefs.h. */
15489 /* Override any GCC internal prototype to avoid an error.
15490 Use char because int might match the return type of a GCC
15491 builtin and then its argument prototype would still apply. */
15492 char clGetPlatformInfo ();
15494 main (void)
15496 return clGetPlatformInfo ();
15498 return 0;
15500 _ACEOF
15501 if ac_fn_c_try_link "$LINENO"
15502 then :
15503 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15504 else $as_nop
15505 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15507 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15508 conftest$ac_exeext conftest.$ac_ext
15509 LIBS=$ac_check_lib_save_LIBS
15511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15512 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15513 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15514 then :
15515 OPENCL_LIBS="-lOpenCL"
15520 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15521 then :
15522 case "x$with_opencl" in
15523 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15524 xno) ;;
15525 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15526 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15527 esac
15528 enable_opencl=${enable_opencl:-no}
15531 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15532 then
15533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15534 printf %s "checking for pcap_create in -lpcap... " >&6; }
15535 if test ${ac_cv_lib_pcap_pcap_create+y}
15536 then :
15537 printf %s "(cached) " >&6
15538 else $as_nop
15539 ac_check_lib_save_LIBS=$LIBS
15540 LIBS="-lpcap $LIBS"
15541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15542 /* end confdefs.h. */
15544 /* Override any GCC internal prototype to avoid an error.
15545 Use char because int might match the return type of a GCC
15546 builtin and then its argument prototype would still apply. */
15547 char pcap_create ();
15549 main (void)
15551 return pcap_create ();
15553 return 0;
15555 _ACEOF
15556 if ac_fn_c_try_link "$LINENO"
15557 then :
15558 ac_cv_lib_pcap_pcap_create=yes
15559 else $as_nop
15560 ac_cv_lib_pcap_pcap_create=no
15562 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15563 conftest$ac_exeext conftest.$ac_ext
15564 LIBS=$ac_check_lib_save_LIBS
15566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15567 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15568 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15569 then :
15570 PCAP_LIBS="-lpcap"
15575 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15576 then :
15577 case "x$with_pcap" in
15578 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15579 xno) ;;
15580 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15581 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15582 esac
15583 enable_wpcap=${enable_wpcap:-no}
15586 if test "x$with_inotify" != "xno"
15587 then
15588 if ${INOTIFY_CFLAGS:+false} :
15589 then :
15590 if test ${PKG_CONFIG+y}
15591 then :
15592 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15596 if ${INOTIFY_LIBS:+false} :
15597 then :
15598 if test ${PKG_CONFIG+y}
15599 then :
15600 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15605 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15606 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15607 ac_save_CPPFLAGS=$CPPFLAGS
15608 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15609 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15610 if test "x$ac_cv_header_sys_inotify_h" = xyes
15611 then :
15612 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15617 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15618 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15619 then :
15620 printf %s "(cached) " >&6
15621 else $as_nop
15622 ac_check_lib_save_LIBS=$LIBS
15623 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15625 /* end confdefs.h. */
15627 /* Override any GCC internal prototype to avoid an error.
15628 Use char because int might match the return type of a GCC
15629 builtin and then its argument prototype would still apply. */
15630 char inotify_add_watch ();
15632 main (void)
15634 return inotify_add_watch ();
15636 return 0;
15638 _ACEOF
15639 if ac_fn_c_try_link "$LINENO"
15640 then :
15641 ac_cv_lib_inotify_inotify_add_watch=yes
15642 else $as_nop
15643 ac_cv_lib_inotify_inotify_add_watch=no
15645 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15646 conftest$ac_exeext conftest.$ac_ext
15647 LIBS=$ac_check_lib_save_LIBS
15649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15650 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15651 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15652 then :
15654 else $as_nop
15655 INOTIFY_LIBS=""
15658 CPPFLAGS=$ac_save_CPPFLAGS
15661 if test "$ac_cv_header_sys_inotify_h" != "yes"
15662 then :
15663 case "x$with_inotify" in
15664 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15665 xno) ;;
15666 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15667 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15668 esac
15672 if test "x$with_dbus" != "xno"
15673 then
15674 if ${DBUS_CFLAGS:+false} :
15675 then :
15676 if test ${PKG_CONFIG+y}
15677 then :
15678 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
15682 if ${DBUS_LIBS:+false} :
15683 then :
15684 if test ${PKG_CONFIG+y}
15685 then :
15686 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15691 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15692 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15693 ac_save_CPPFLAGS=$CPPFLAGS
15694 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15695 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15696 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15697 then :
15698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15699 printf %s "checking for -ldbus-1... " >&6; }
15700 if test ${ac_cv_lib_soname_dbus_1+y}
15701 then :
15702 printf %s "(cached) " >&6
15703 else $as_nop
15704 ac_check_soname_save_LIBS=$LIBS
15705 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15707 /* end confdefs.h. */
15709 /* Override any GCC internal prototype to avoid an error.
15710 Use char because int might match the return type of a GCC
15711 builtin and then its argument prototype would still apply. */
15712 char dbus_connection_close ();
15714 main (void)
15716 return dbus_connection_close ();
15718 return 0;
15720 _ACEOF
15721 if ac_fn_c_try_link "$LINENO"
15722 then :
15723 case "$LIBEXT" in
15724 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15725 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'` ;;
15726 *) 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'`
15727 if ${ac_cv_lib_soname_dbus_1:+false} :
15728 then :
15729 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15730 fi ;;
15731 esac
15732 else $as_nop
15733 ac_cv_lib_soname_dbus_1=
15735 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15736 conftest$ac_exeext conftest.$ac_ext
15737 LIBS=$ac_check_soname_save_LIBS
15739 if ${ac_cv_lib_soname_dbus_1:+false} :
15740 then :
15741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15742 printf "%s\n" "not found" >&6; }
15743 DBUS_CFLAGS=""
15744 else $as_nop
15745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15746 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15748 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15752 else $as_nop
15753 DBUS_CFLAGS=""
15756 CPPFLAGS=$ac_save_CPPFLAGS
15759 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
15760 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
15761 then :
15762 case "x$with_dbus" in
15763 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
15764 xno) ;;
15765 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
15766 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
15767 esac
15771 if test "x$with_gnutls" != "xno"
15772 then
15773 if ${GNUTLS_CFLAGS:+false} :
15774 then :
15775 if test ${PKG_CONFIG+y}
15776 then :
15777 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
15781 if ${GNUTLS_LIBS:+false} :
15782 then :
15783 if test ${PKG_CONFIG+y}
15784 then :
15785 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
15789 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
15790 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
15791 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
15792 ac_save_CPPFLAGS=$CPPFLAGS
15793 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
15794 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
15795 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
15796 then :
15797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15798 /* end confdefs.h. */
15799 #include <gnutls/gnutls.h>
15800 #include <gnutls/crypto.h>
15802 main (void)
15804 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
15806 return 0;
15808 _ACEOF
15809 if ac_fn_c_try_compile "$LINENO"
15810 then :
15811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
15812 printf %s "checking for -lgnutls... " >&6; }
15813 if test ${ac_cv_lib_soname_gnutls+y}
15814 then :
15815 printf %s "(cached) " >&6
15816 else $as_nop
15817 ac_check_soname_save_LIBS=$LIBS
15818 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
15819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15820 /* end confdefs.h. */
15822 /* Override any GCC internal prototype to avoid an error.
15823 Use char because int might match the return type of a GCC
15824 builtin and then its argument prototype would still apply. */
15825 char gnutls_global_init ();
15827 main (void)
15829 return gnutls_global_init ();
15831 return 0;
15833 _ACEOF
15834 if ac_fn_c_try_link "$LINENO"
15835 then :
15836 case "$LIBEXT" in
15837 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15838 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'` ;;
15839 *) 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'`
15840 if ${ac_cv_lib_soname_gnutls:+false} :
15841 then :
15842 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'`
15843 fi ;;
15844 esac
15845 else $as_nop
15846 ac_cv_lib_soname_gnutls=
15848 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15849 conftest$ac_exeext conftest.$ac_ext
15850 LIBS=$ac_check_soname_save_LIBS
15852 if ${ac_cv_lib_soname_gnutls:+false} :
15853 then :
15854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15855 printf "%s\n" "not found" >&6; }
15856 GNUTLS_CFLAGS=""
15857 else $as_nop
15858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
15859 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
15861 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
15865 ac_wine_check_funcs_save_LIBS="$LIBS"
15866 LIBS="$LIBS $GNUTLS_LIBS"
15868 for ac_func in gnutls_cipher_init
15869 do :
15870 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
15871 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
15872 then :
15873 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
15875 else $as_nop
15876 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
15879 done
15880 LIBS="$ac_wine_check_funcs_save_LIBS"
15882 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15883 else $as_nop
15884 GNUTLS_CFLAGS=""
15887 CPPFLAGS=$ac_save_CPPFLAGS
15890 if test "x$ac_cv_lib_soname_gnutls" = "x"
15891 then :
15892 case "x$with_gnutls" in
15893 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
15894 xno) ;;
15895 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
15896 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
15897 esac
15901 if test "x$with_sane" != "xno"
15902 then
15903 if ${SANE_CFLAGS:+false} :
15904 then :
15905 if test ${PKG_CONFIG+y}
15906 then :
15907 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
15910 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
15911 if ${SANE_LIBS:+false} :
15912 then :
15913 if test ${PKG_CONFIG+y}
15914 then :
15915 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
15918 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
15920 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
15921 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
15922 ac_save_CPPFLAGS=$CPPFLAGS
15923 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
15924 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
15925 if test "x$ac_cv_header_sane_sane_h" = xyes
15926 then :
15927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
15928 printf %s "checking for sane_init in -lsane... " >&6; }
15929 if test ${ac_cv_lib_sane_sane_init+y}
15930 then :
15931 printf %s "(cached) " >&6
15932 else $as_nop
15933 ac_check_lib_save_LIBS=$LIBS
15934 LIBS="-lsane $SANE_LIBS $LIBS"
15935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15936 /* end confdefs.h. */
15938 /* Override any GCC internal prototype to avoid an error.
15939 Use char because int might match the return type of a GCC
15940 builtin and then its argument prototype would still apply. */
15941 char sane_init ();
15943 main (void)
15945 return sane_init ();
15947 return 0;
15949 _ACEOF
15950 if ac_fn_c_try_link "$LINENO"
15951 then :
15952 ac_cv_lib_sane_sane_init=yes
15953 else $as_nop
15954 ac_cv_lib_sane_sane_init=no
15956 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15957 conftest$ac_exeext conftest.$ac_ext
15958 LIBS=$ac_check_lib_save_LIBS
15960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
15961 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
15962 if test "x$ac_cv_lib_sane_sane_init" = xyes
15963 then :
15969 CPPFLAGS=$ac_save_CPPFLAGS
15972 if test "$ac_cv_lib_sane_sane_init" != "yes"
15973 then :
15974 case "x$with_sane" in
15975 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
15976 xno) ;;
15977 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
15978 This is an error since --with-sane was requested." "$LINENO" 5 ;;
15979 esac
15980 enable_sane_ds=${enable_sane_ds:-no}
15983 if test "x$with_usb" != "xno"
15984 then
15985 if ${USB_CFLAGS:+false} :
15986 then :
15987 if test ${PKG_CONFIG+y}
15988 then :
15989 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
15993 if ${USB_LIBS:+false} :
15994 then :
15995 if test ${PKG_CONFIG+y}
15996 then :
15997 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16001 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16003 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16004 ac_save_CPPFLAGS=$CPPFLAGS
16005 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16006 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16007 if test "x$ac_cv_header_libusb_h" = xyes
16008 then :
16009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16010 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16011 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16012 then :
16013 printf %s "(cached) " >&6
16014 else $as_nop
16015 ac_check_lib_save_LIBS=$LIBS
16016 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16018 /* end confdefs.h. */
16020 /* Override any GCC internal prototype to avoid an error.
16021 Use char because int might match the return type of a GCC
16022 builtin and then its argument prototype would still apply. */
16023 char libusb_interrupt_event_handler ();
16025 main (void)
16027 return libusb_interrupt_event_handler ();
16029 return 0;
16031 _ACEOF
16032 if ac_fn_c_try_link "$LINENO"
16033 then :
16034 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16035 else $as_nop
16036 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16038 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16039 conftest$ac_exeext conftest.$ac_ext
16040 LIBS=$ac_check_lib_save_LIBS
16042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16043 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16044 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16045 then :
16047 else $as_nop
16048 USB_LIBS=""
16051 else $as_nop
16052 USB_LIBS=""
16055 CPPFLAGS=$ac_save_CPPFLAGS
16058 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16059 then :
16060 case "x$with_usb" in
16061 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16062 xno) ;;
16063 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16064 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16065 esac
16066 enable_wineusb_sys=${enable_wineusb_sys:-no}
16069 if test "x$with_v4l2" != "xno"
16070 then
16071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16072 printf %s "checking for -lv4l2... " >&6; }
16073 if test ${ac_cv_lib_soname_v4l2+y}
16074 then :
16075 printf %s "(cached) " >&6
16076 else $as_nop
16077 ac_check_soname_save_LIBS=$LIBS
16078 LIBS="-lv4l2 $LIBS"
16079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16080 /* end confdefs.h. */
16082 /* Override any GCC internal prototype to avoid an error.
16083 Use char because int might match the return type of a GCC
16084 builtin and then its argument prototype would still apply. */
16085 char v4l2_open ();
16087 main (void)
16089 return v4l2_open ();
16091 return 0;
16093 _ACEOF
16094 if ac_fn_c_try_link "$LINENO"
16095 then :
16096 case "$LIBEXT" in
16097 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16098 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'` ;;
16099 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16100 if ${ac_cv_lib_soname_v4l2:+false} :
16101 then :
16102 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16103 fi ;;
16104 esac
16105 else $as_nop
16106 ac_cv_lib_soname_v4l2=
16108 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16109 conftest$ac_exeext conftest.$ac_ext
16110 LIBS=$ac_check_soname_save_LIBS
16112 if ${ac_cv_lib_soname_v4l2:+false} :
16113 then :
16114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16115 printf "%s\n" "not found" >&6; }
16117 else $as_nop
16118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16119 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16121 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16126 if test "x$ac_cv_lib_soname_v4l2" = "x"
16127 then :
16128 case "x$with_v4l2" in
16129 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16130 xno) ;;
16131 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16132 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16133 esac
16137 if test "x$with_gphoto" != "xno"
16138 then
16139 if ${GPHOTO2_CFLAGS:+false} :
16140 then :
16141 if test ${PKG_CONFIG+y}
16142 then :
16143 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16146 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16147 if ${GPHOTO2_LIBS:+false} :
16148 then :
16149 if test ${PKG_CONFIG+y}
16150 then :
16151 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16154 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16155 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16158 ac_save_CPPFLAGS=$CPPFLAGS
16159 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16160 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16161 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16162 then :
16163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16164 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16165 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16166 then :
16167 printf %s "(cached) " >&6
16168 else $as_nop
16169 ac_check_lib_save_LIBS=$LIBS
16170 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16172 /* end confdefs.h. */
16174 /* Override any GCC internal prototype to avoid an error.
16175 Use char because int might match the return type of a GCC
16176 builtin and then its argument prototype would still apply. */
16177 char gp_camera_new ();
16179 main (void)
16181 return gp_camera_new ();
16183 return 0;
16185 _ACEOF
16186 if ac_fn_c_try_link "$LINENO"
16187 then :
16188 ac_cv_lib_gphoto2_gp_camera_new=yes
16189 else $as_nop
16190 ac_cv_lib_gphoto2_gp_camera_new=no
16192 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16193 conftest$ac_exeext conftest.$ac_ext
16194 LIBS=$ac_check_lib_save_LIBS
16196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16197 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16198 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16199 then :
16205 CPPFLAGS=$ac_save_CPPFLAGS
16207 if ${GPHOTO2_PORT_CFLAGS:+false} :
16208 then :
16209 if test ${PKG_CONFIG+y}
16210 then :
16211 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16214 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16215 if ${GPHOTO2_PORT_LIBS:+false} :
16216 then :
16217 if test ${PKG_CONFIG+y}
16218 then :
16219 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16222 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16223 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16224 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16225 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16226 ac_save_CPPFLAGS=$CPPFLAGS
16227 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16228 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16229 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16230 then :
16231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16232 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16233 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16234 then :
16235 printf %s "(cached) " >&6
16236 else $as_nop
16237 ac_check_lib_save_LIBS=$LIBS
16238 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16240 /* end confdefs.h. */
16242 /* Override any GCC internal prototype to avoid an error.
16243 Use char because int might match the return type of a GCC
16244 builtin and then its argument prototype would still apply. */
16245 char gp_port_info_list_new ();
16247 main (void)
16249 return gp_port_info_list_new ();
16251 return 0;
16253 _ACEOF
16254 if ac_fn_c_try_link "$LINENO"
16255 then :
16256 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16257 else $as_nop
16258 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16260 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16261 conftest$ac_exeext conftest.$ac_ext
16262 LIBS=$ac_check_lib_save_LIBS
16264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16265 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16266 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16267 then :
16269 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16271 else $as_nop
16272 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16275 else $as_nop
16276 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16279 CPPFLAGS=$ac_save_CPPFLAGS
16282 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16283 then :
16284 case "x$with_gphoto" in
16285 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16286 xno) ;;
16287 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16288 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16289 esac
16290 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16292 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16293 then :
16294 case "x$with_gphoto" in
16295 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16296 xno) ;;
16297 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16298 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16299 esac
16304 if test "$ac_cv_header_resolv_h" = "yes"
16305 then
16306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16307 printf %s "checking for resolver library... " >&6; }
16308 if test ${ac_cv_have_resolv+y}
16309 then :
16310 printf %s "(cached) " >&6
16311 else $as_nop
16312 ac_save_LIBS="$LIBS"
16313 for lib in '' -lresolv
16315 LIBS="$lib $ac_save_LIBS"
16316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16317 /* end confdefs.h. */
16318 #ifdef HAVE_NETINET_IN_H
16319 #include <netinet/in.h>
16320 #endif
16321 #include <resolv.h>
16323 main (void)
16325 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16327 return 0;
16329 _ACEOF
16330 if ac_fn_c_try_link "$LINENO"
16331 then :
16332 ac_cv_have_resolv=${lib:-"none required"}
16333 else $as_nop
16334 ac_cv_have_resolv="not found"
16336 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16337 conftest$ac_exeext conftest.$ac_ext
16338 test "x$ac_cv_have_resolv" = "xnot found" || break
16339 done
16340 LIBS="$ac_save_LIBS"
16342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16343 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16345 case "$ac_cv_have_resolv" in
16346 "not found") ;;
16347 "none required")
16349 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16352 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16354 RESOLV_LIBS=$ac_cv_have_resolv
16356 esac
16358 if test "x$ac_cv_have_resolv" != "xnot found"
16359 then
16360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16361 printf %s "checking for res_getservers... " >&6; }
16362 if test ${ac_cv_have_res_getservers+y}
16363 then :
16364 printf %s "(cached) " >&6
16365 else $as_nop
16366 ac_save_LIBS="$LIBS"
16367 LIBS="$RESOLV_LIBS $LIBS"
16368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16369 /* end confdefs.h. */
16370 #include <resolv.h>
16372 main (void)
16374 res_getservers(NULL, NULL, 0);
16376 return 0;
16378 _ACEOF
16379 if ac_fn_c_try_link "$LINENO"
16380 then :
16381 ac_cv_have_res_getservers=yes
16382 else $as_nop
16383 ac_cv_have_res_getservers=no
16385 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16386 conftest$ac_exeext conftest.$ac_ext
16387 LIBS="$ac_save_LIBS"
16389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16390 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16391 if test "$ac_cv_have_res_getservers" = "yes"
16392 then
16394 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16400 if test "x$with_freetype" != "xno"
16401 then
16402 if ${FREETYPE_CFLAGS:+false} :
16403 then :
16404 if test ${PKG_CONFIG+y}
16405 then :
16406 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16409 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16410 if ${FREETYPE_LIBS:+false} :
16411 then :
16412 if test ${PKG_CONFIG+y}
16413 then :
16414 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16417 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16418 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16419 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16420 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16421 ac_save_CPPFLAGS=$CPPFLAGS
16422 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16423 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16424 if test "x$ac_cv_header_ft2build_h" = xyes
16425 then :
16426 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16430 if test "$ac_cv_header_ft2build_h" = "yes"
16431 then
16432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16433 printf %s "checking for -lfreetype... " >&6; }
16434 if test ${ac_cv_lib_soname_freetype+y}
16435 then :
16436 printf %s "(cached) " >&6
16437 else $as_nop
16438 ac_check_soname_save_LIBS=$LIBS
16439 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16441 /* end confdefs.h. */
16443 /* Override any GCC internal prototype to avoid an error.
16444 Use char because int might match the return type of a GCC
16445 builtin and then its argument prototype would still apply. */
16446 char FT_Init_FreeType ();
16448 main (void)
16450 return FT_Init_FreeType ();
16452 return 0;
16454 _ACEOF
16455 if ac_fn_c_try_link "$LINENO"
16456 then :
16457 case "$LIBEXT" in
16458 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16459 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'` ;;
16460 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16461 if ${ac_cv_lib_soname_freetype:+false} :
16462 then :
16463 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16464 fi ;;
16465 esac
16466 else $as_nop
16467 ac_cv_lib_soname_freetype=
16469 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16470 conftest$ac_exeext conftest.$ac_ext
16471 LIBS=$ac_check_soname_save_LIBS
16473 if ${ac_cv_lib_soname_freetype:+false} :
16474 then :
16475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16476 printf "%s\n" "not found" >&6; }
16477 FREETYPE_LIBS=""
16478 else $as_nop
16479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16480 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16482 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16485 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16487 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16488 #include FT_MODULE_H
16490 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16491 then :
16493 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16499 else
16500 FREETYPE_CFLAGS=""
16501 FREETYPE_LIBS=""
16503 CPPFLAGS=$ac_save_CPPFLAGS
16506 if test "x$ac_cv_lib_soname_freetype" = x
16507 then :
16508 case "x$with_freetype" in
16509 xno) ;;
16510 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16511 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16512 esac
16513 enable_fonts=${enable_fonts:-no}
16516 ac_wine_check_funcs_save_LIBS="$LIBS"
16517 LIBS="$LIBS $PTHREAD_LIBS"
16518 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16519 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16520 then :
16521 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16525 LIBS="$ac_wine_check_funcs_save_LIBS"
16527 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16528 then
16529 if test "$ac_cv_header_gettext_po_h" = "yes"
16530 then
16531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16532 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16533 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16534 then :
16535 printf %s "(cached) " >&6
16536 else $as_nop
16537 ac_check_lib_save_LIBS=$LIBS
16538 LIBS="-lgettextpo $LIBS"
16539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16540 /* end confdefs.h. */
16542 /* Override any GCC internal prototype to avoid an error.
16543 Use char because int might match the return type of a GCC
16544 builtin and then its argument prototype would still apply. */
16545 char po_message_msgctxt ();
16547 main (void)
16549 return po_message_msgctxt ();
16551 return 0;
16553 _ACEOF
16554 if ac_fn_c_try_link "$LINENO"
16555 then :
16556 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16557 else $as_nop
16558 ac_cv_lib_gettextpo_po_message_msgctxt=no
16560 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16561 conftest$ac_exeext conftest.$ac_ext
16562 LIBS=$ac_check_lib_save_LIBS
16564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16565 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16566 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16567 then :
16569 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16571 GETTEXTPO_LIBS="-lgettextpo"
16576 if test "x$GETTEXTPO_LIBS" = "x"
16577 then :
16578 case "x$with_gettextpo" in
16579 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16580 xno) ;;
16581 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16582 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16583 esac
16586 if test "$srcdir" != .
16587 then :
16588 case "x$with_gettextpo" in
16589 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16590 xno) ;;
16591 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16592 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16593 esac
16598 if test "x$with_pulse" != "xno";
16599 then
16600 if ${PULSE_CFLAGS:+false} :
16601 then :
16602 if test ${PKG_CONFIG+y}
16603 then :
16604 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16608 if ${PULSE_LIBS:+false} :
16609 then :
16610 if test ${PKG_CONFIG+y}
16611 then :
16612 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16617 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16618 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16619 ac_save_CPPFLAGS=$CPPFLAGS
16620 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16621 for ac_header in pulse/pulseaudio.h
16622 do :
16623 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16624 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16625 then :
16626 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16628 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16629 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16630 then :
16631 printf %s "(cached) " >&6
16632 else $as_nop
16633 ac_check_lib_save_LIBS=$LIBS
16634 LIBS="-lpulse $PULSE_LIBS $LIBS"
16635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16636 /* end confdefs.h. */
16638 /* Override any GCC internal prototype to avoid an error.
16639 Use char because int might match the return type of a GCC
16640 builtin and then its argument prototype would still apply. */
16641 char pa_stream_is_corked ();
16643 main (void)
16645 return pa_stream_is_corked ();
16647 return 0;
16649 _ACEOF
16650 if ac_fn_c_try_link "$LINENO"
16651 then :
16652 ac_cv_lib_pulse_pa_stream_is_corked=yes
16653 else $as_nop
16654 ac_cv_lib_pulse_pa_stream_is_corked=no
16656 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16657 conftest$ac_exeext conftest.$ac_ext
16658 LIBS=$ac_check_lib_save_LIBS
16660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16661 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16662 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16663 then :
16665 else $as_nop
16666 PULSE_LIBS=""
16669 else $as_nop
16670 PULSE_LIBS=""
16673 done
16674 CPPFLAGS=$ac_save_CPPFLAGS
16677 if test -z "$PULSE_LIBS"
16678 then :
16679 case "x$with_pulse" in
16680 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16681 xno) ;;
16682 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16683 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16684 esac
16685 enable_winepulse_drv=${enable_winepulse_drv:-no}
16688 if test "x$with_gstreamer" != "xno"
16689 then
16690 if ${GSTREAMER_CFLAGS:+false} :
16691 then :
16692 if test ${PKG_CONFIG+y}
16693 then :
16694 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16698 if ${GSTREAMER_LIBS:+false} :
16699 then :
16700 if test ${PKG_CONFIG+y}
16701 then :
16702 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16707 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
16708 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
16709 ac_save_CPPFLAGS=$CPPFLAGS
16710 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16711 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16712 if test "x$ac_cv_header_gst_gst_h" = xyes
16713 then :
16714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16715 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16717 /* end confdefs.h. */
16718 #include <gst/gst.h>
16720 main (void)
16722 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16724 return 0;
16726 _ACEOF
16727 if ac_fn_c_try_compile "$LINENO"
16728 then :
16729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16730 printf "%s\n" "yes" >&6; }
16731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
16732 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
16733 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
16734 then :
16735 printf %s "(cached) " >&6
16736 else $as_nop
16737 ac_check_lib_save_LIBS=$LIBS
16738 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
16739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16740 /* end confdefs.h. */
16742 /* Override any GCC internal prototype to avoid an error.
16743 Use char because int might match the return type of a GCC
16744 builtin and then its argument prototype would still apply. */
16745 char gst_pad_new ();
16747 main (void)
16749 return gst_pad_new ();
16751 return 0;
16753 _ACEOF
16754 if ac_fn_c_try_link "$LINENO"
16755 then :
16756 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
16757 else $as_nop
16758 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
16760 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16761 conftest$ac_exeext conftest.$ac_ext
16762 LIBS=$ac_check_lib_save_LIBS
16764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
16765 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
16766 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
16767 then :
16771 else $as_nop
16772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16773 printf "%s\n" "no" >&6; }
16774 ac_glib2_broken=yes
16775 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
16777 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16780 CPPFLAGS=$ac_save_CPPFLAGS
16783 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
16784 then :
16785 case "x$with_gstreamer" in
16786 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
16787 xno) ;;
16788 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
16789 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
16790 esac
16791 enable_winegstreamer=${enable_winegstreamer:-no}
16794 ALSA_LIBS=""
16796 if test "x$with_alsa" != "xno"
16797 then
16798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
16799 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
16800 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
16801 then :
16802 printf %s "(cached) " >&6
16803 else $as_nop
16804 ac_check_lib_save_LIBS=$LIBS
16805 LIBS="-lasound $LIBS"
16806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16807 /* end confdefs.h. */
16809 /* Override any GCC internal prototype to avoid an error.
16810 Use char because int might match the return type of a GCC
16811 builtin and then its argument prototype would still apply. */
16812 char snd_pcm_hw_params_get_access_mask ();
16814 main (void)
16816 return snd_pcm_hw_params_get_access_mask ();
16818 return 0;
16820 _ACEOF
16821 if ac_fn_c_try_link "$LINENO"
16822 then :
16823 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
16824 else $as_nop
16825 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
16827 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16828 conftest$ac_exeext conftest.$ac_ext
16829 LIBS=$ac_check_lib_save_LIBS
16831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
16832 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
16833 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
16834 then :
16835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16836 /* end confdefs.h. */
16837 #include <alsa/asoundlib.h>
16839 main (void)
16841 snd_pcm_hw_params_get_access_mask(NULL, NULL)
16843 return 0;
16845 _ACEOF
16846 if ac_fn_c_try_compile "$LINENO"
16847 then :
16848 ALSA_LIBS="-lasound"
16850 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16854 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
16856 if test "x$with_oss" != xno
16857 then
16858 ac_save_CPPFLAGS="$CPPFLAGS"
16859 if test -f /etc/oss.conf
16860 then
16861 . /etc/oss.conf
16863 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
16864 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
16865 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
16866 if test "x$ac_cv_header_sys_soundcard_h" = xyes
16867 then :
16868 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
16870 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
16871 then :
16873 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
16875 OSS4_CFLAGS="$ac_oss_incl"
16877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
16878 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
16879 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
16880 then :
16881 printf %s "(cached) " >&6
16882 else $as_nop
16883 ac_check_lib_save_LIBS=$LIBS
16884 LIBS="-lossaudio $LIBS"
16885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16886 /* end confdefs.h. */
16888 /* Override any GCC internal prototype to avoid an error.
16889 Use char because int might match the return type of a GCC
16890 builtin and then its argument prototype would still apply. */
16891 char _oss_ioctl ();
16893 main (void)
16895 return _oss_ioctl ();
16897 return 0;
16899 _ACEOF
16900 if ac_fn_c_try_link "$LINENO"
16901 then :
16902 ac_cv_lib_ossaudio__oss_ioctl=yes
16903 else $as_nop
16904 ac_cv_lib_ossaudio__oss_ioctl=no
16906 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16907 conftest$ac_exeext conftest.$ac_ext
16908 LIBS=$ac_check_lib_save_LIBS
16910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
16911 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
16912 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
16913 then :
16914 OSS4_LIBS="-lossaudio"
16922 CPPFLAGS="$ac_save_CPPFLAGS"
16924 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
16925 then :
16926 case "x$with_oss" in
16927 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
16928 xno) ;;
16929 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
16930 This is an error since --with-oss was requested." "$LINENO" 5 ;;
16931 esac
16932 enable_wineoss_drv=${enable_wineoss_drv:-no}
16935 if test "x$with_udev" != "xno"
16936 then
16937 if ${UDEV_CFLAGS:+false} :
16938 then :
16939 if test ${PKG_CONFIG+y}
16940 then :
16941 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
16945 if ${UDEV_LIBS:+false} :
16946 then :
16947 if test ${PKG_CONFIG+y}
16948 then :
16949 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
16953 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
16954 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
16955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
16956 ac_save_CPPFLAGS=$CPPFLAGS
16957 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
16958 for ac_header in libudev.h
16959 do :
16960 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
16961 if test "x$ac_cv_header_libudev_h" = xyes
16962 then :
16963 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
16964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
16965 printf %s "checking for udev_new in -ludev... " >&6; }
16966 if test ${ac_cv_lib_udev_udev_new+y}
16967 then :
16968 printf %s "(cached) " >&6
16969 else $as_nop
16970 ac_check_lib_save_LIBS=$LIBS
16971 LIBS="-ludev $UDEV_LIBS $LIBS"
16972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16973 /* end confdefs.h. */
16975 /* Override any GCC internal prototype to avoid an error.
16976 Use char because int might match the return type of a GCC
16977 builtin and then its argument prototype would still apply. */
16978 char udev_new ();
16980 main (void)
16982 return udev_new ();
16984 return 0;
16986 _ACEOF
16987 if ac_fn_c_try_link "$LINENO"
16988 then :
16989 ac_cv_lib_udev_udev_new=yes
16990 else $as_nop
16991 ac_cv_lib_udev_udev_new=no
16993 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16994 conftest$ac_exeext conftest.$ac_ext
16995 LIBS=$ac_check_lib_save_LIBS
16997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
16998 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
16999 if test "x$ac_cv_lib_udev_udev_new" = xyes
17000 then :
17002 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17004 else $as_nop
17005 UDEV_LIBS=""
17008 else $as_nop
17009 UDEV_LIBS=""
17012 done
17013 CPPFLAGS=$ac_save_CPPFLAGS
17016 if test "x$UDEV_LIBS" = "x"
17017 then :
17018 case "x$with_udev" in
17019 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17020 xno) ;;
17021 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17022 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17023 esac
17027 if test "x$with_unwind" != xno
17028 then
17029 if ${UNWIND_CFLAGS:+false} :
17030 then :
17031 if test ${PKG_CONFIG+y}
17032 then :
17033 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17037 if ${UNWIND_LIBS:+false} :
17038 then :
17039 if test ${PKG_CONFIG+y}
17040 then :
17041 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17045 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17046 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17047 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17048 ac_save_CPPFLAGS=$CPPFLAGS
17049 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17051 printf %s "checking for unw_step... " >&6; }
17052 if test ${wine_cv_have_unw_step+y}
17053 then :
17054 printf %s "(cached) " >&6
17055 else $as_nop
17056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17057 /* end confdefs.h. */
17058 #define UNW_LOCAL_ONLY
17059 #include <libunwind.h>
17061 main (void)
17063 unw_cursor_t cursor; unw_step( &cursor );
17065 return 0;
17067 _ACEOF
17068 if ac_fn_c_try_link "$LINENO"
17069 then :
17070 wine_cv_have_unw_step="yes"
17071 else $as_nop
17072 wine_cv_have_unw_step="no"
17074 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17075 conftest$ac_exeext conftest.$ac_ext
17077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17078 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17079 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17080 then
17081 save_libs=$LIBS
17082 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17083 LIBS="$UNWIND_LIBS $LIBS"
17084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17085 printf %s "checking for unw_step in libunwind... " >&6; }
17086 if test ${wine_cv_have_libunwind_unw_step+y}
17087 then :
17088 printf %s "(cached) " >&6
17089 else $as_nop
17090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17091 /* end confdefs.h. */
17092 #define UNW_LOCAL_ONLY
17093 #include <libunwind.h>
17095 main (void)
17097 unw_cursor_t cursor; unw_step( &cursor );
17099 return 0;
17101 _ACEOF
17102 if ac_fn_c_try_link "$LINENO"
17103 then :
17104 wine_cv_have_libunwind_unw_step="yes"
17105 else $as_nop
17106 wine_cv_have_libunwind_unw_step="no"
17108 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17109 conftest$ac_exeext conftest.$ac_ext
17111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17112 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17113 LIBS=$save_libs
17115 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17116 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17117 then
17119 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17122 CPPFLAGS=$ac_save_CPPFLAGS
17125 case $host in
17126 aarch64*|*-darwin*)
17127 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17128 then :
17129 case "x$with_unwind" in
17130 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17131 xno) ;;
17132 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17133 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17134 esac
17136 fi ;;
17137 esac
17139 if test "x$with_sdl" != "xno"
17140 then
17141 if ${SDL2_CFLAGS:+false} :
17142 then :
17143 if test ${PKG_CONFIG+y}
17144 then :
17145 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17149 if ${SDL2_LIBS:+false} :
17150 then :
17151 if test ${PKG_CONFIG+y}
17152 then :
17153 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17157 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17158 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17159 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17160 ac_save_CPPFLAGS=$CPPFLAGS
17161 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17162 for ac_header in SDL.h
17163 do :
17164 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17165 if test "x$ac_cv_header_SDL_h" = xyes
17166 then :
17167 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17169 printf %s "checking for -lSDL2... " >&6; }
17170 if test ${ac_cv_lib_soname_SDL2+y}
17171 then :
17172 printf %s "(cached) " >&6
17173 else $as_nop
17174 ac_check_soname_save_LIBS=$LIBS
17175 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17177 /* end confdefs.h. */
17179 /* Override any GCC internal prototype to avoid an error.
17180 Use char because int might match the return type of a GCC
17181 builtin and then its argument prototype would still apply. */
17182 char SDL_Init ();
17184 main (void)
17186 return SDL_Init ();
17188 return 0;
17190 _ACEOF
17191 if ac_fn_c_try_link "$LINENO"
17192 then :
17193 case "$LIBEXT" in
17194 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17195 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'` ;;
17196 *) 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'`
17197 if ${ac_cv_lib_soname_SDL2:+false} :
17198 then :
17199 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17200 fi ;;
17201 esac
17202 else $as_nop
17203 ac_cv_lib_soname_SDL2=
17205 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17206 conftest$ac_exeext conftest.$ac_ext
17207 LIBS=$ac_check_soname_save_LIBS
17209 if ${ac_cv_lib_soname_SDL2:+false} :
17210 then :
17211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17212 printf "%s\n" "not found" >&6; }
17214 else $as_nop
17215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17216 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17218 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17224 done
17225 CPPFLAGS=$ac_save_CPPFLAGS
17228 if test "x$ac_cv_lib_soname_SDL2" = "x"
17229 then :
17230 case "x$with_sdl" in
17231 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17232 xno) ;;
17233 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17234 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17235 esac
17239 if test "x$with_capi" != "xno"
17240 then
17241 if ${CAPI20_CFLAGS:+false} :
17242 then :
17243 if test ${PKG_CONFIG+y}
17244 then :
17245 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17249 if ${CAPI20_LIBS:+false} :
17250 then :
17251 if test ${PKG_CONFIG+y}
17252 then :
17253 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17258 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17259 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17260 ac_save_CPPFLAGS=$CPPFLAGS
17261 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17262 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17264 if test "x$ac_cv_header_capi20_h" = xyes
17265 then :
17266 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17269 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17271 if test "x$ac_cv_header_linux_capi_h" = xyes
17272 then :
17273 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17277 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17278 then
17279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17280 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17281 if test ${ac_cv_lib_capi20_capi20_register+y}
17282 then :
17283 printf %s "(cached) " >&6
17284 else $as_nop
17285 ac_check_lib_save_LIBS=$LIBS
17286 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17288 /* end confdefs.h. */
17290 /* Override any GCC internal prototype to avoid an error.
17291 Use char because int might match the return type of a GCC
17292 builtin and then its argument prototype would still apply. */
17293 char capi20_register ();
17295 main (void)
17297 return capi20_register ();
17299 return 0;
17301 _ACEOF
17302 if ac_fn_c_try_link "$LINENO"
17303 then :
17304 ac_cv_lib_capi20_capi20_register=yes
17305 else $as_nop
17306 ac_cv_lib_capi20_capi20_register=no
17308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17309 conftest$ac_exeext conftest.$ac_ext
17310 LIBS=$ac_check_lib_save_LIBS
17312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17313 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17314 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17315 then :
17317 else $as_nop
17318 CAPI20_LIBS=""
17322 CPPFLAGS=$ac_save_CPPFLAGS
17325 if test "x$ac_cv_lib_capi20_capi20_register" = "x"
17326 then :
17327 case "x$with_capi" in
17328 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17329 xno) ;;
17330 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17331 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17332 esac
17333 enable_capi2032=${enable_capi2032:-no}
17336 if test "x$with_cups" != "xno"
17337 then
17338 if ${CUPS_CFLAGS:+false} :
17339 then :
17340 if test ${PKG_CONFIG+y}
17341 then :
17342 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
17345 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17346 if ${CUPS_LIBS:+false} :
17347 then :
17348 if test ${PKG_CONFIG+y}
17349 then :
17350 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17353 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17354 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17355 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17356 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17357 ac_save_CPPFLAGS=$CPPFLAGS
17358 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17359 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17360 if test "x$ac_cv_header_cups_cups_h" = xyes
17361 then :
17362 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17365 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17366 if test "x$ac_cv_header_cups_ppd_h" = xyes
17367 then :
17368 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17372 if test "$ac_cv_header_cups_cups_h" = "yes"
17373 then
17374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17375 printf %s "checking for -lcups... " >&6; }
17376 if test ${ac_cv_lib_soname_cups+y}
17377 then :
17378 printf %s "(cached) " >&6
17379 else $as_nop
17380 ac_check_soname_save_LIBS=$LIBS
17381 LIBS="-lcups $CUPS_LIBS $LIBS"
17382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17383 /* end confdefs.h. */
17385 /* Override any GCC internal prototype to avoid an error.
17386 Use char because int might match the return type of a GCC
17387 builtin and then its argument prototype would still apply. */
17388 char cupsGetDefault ();
17390 main (void)
17392 return cupsGetDefault ();
17394 return 0;
17396 _ACEOF
17397 if ac_fn_c_try_link "$LINENO"
17398 then :
17399 case "$LIBEXT" in
17400 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17401 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'` ;;
17402 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17403 if ${ac_cv_lib_soname_cups:+false} :
17404 then :
17405 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17406 fi ;;
17407 esac
17408 else $as_nop
17409 ac_cv_lib_soname_cups=
17411 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17412 conftest$ac_exeext conftest.$ac_ext
17413 LIBS=$ac_check_soname_save_LIBS
17415 if ${ac_cv_lib_soname_cups:+false} :
17416 then :
17417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17418 printf "%s\n" "not found" >&6; }
17419 CUPS_LIBS=""
17420 else $as_nop
17421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17422 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17424 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17428 else
17429 CUPS_CFLAGS=""
17430 CUPS_LIBS=""
17432 CPPFLAGS=$ac_save_CPPFLAGS
17435 if test "x$ac_cv_lib_soname_cups" = "x"
17436 then :
17437 case "x$with_cups" in
17438 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17439 xno) ;;
17440 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17441 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17442 esac
17446 if test "x$with_fontconfig" != "xno"
17447 then
17448 if ${FONTCONFIG_CFLAGS:+false} :
17449 then :
17450 if test ${PKG_CONFIG+y}
17451 then :
17452 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17455 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17456 if ${FONTCONFIG_LIBS:+false} :
17457 then :
17458 if test ${PKG_CONFIG+y}
17459 then :
17460 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17463 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17465 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17466 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17467 ac_save_CPPFLAGS=$CPPFLAGS
17468 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17469 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17470 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17471 then :
17472 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17476 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17477 then
17478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17479 printf %s "checking for -lfontconfig... " >&6; }
17480 if test ${ac_cv_lib_soname_fontconfig+y}
17481 then :
17482 printf %s "(cached) " >&6
17483 else $as_nop
17484 ac_check_soname_save_LIBS=$LIBS
17485 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17487 /* end confdefs.h. */
17489 /* Override any GCC internal prototype to avoid an error.
17490 Use char because int might match the return type of a GCC
17491 builtin and then its argument prototype would still apply. */
17492 char FcInit ();
17494 main (void)
17496 return FcInit ();
17498 return 0;
17500 _ACEOF
17501 if ac_fn_c_try_link "$LINENO"
17502 then :
17503 case "$LIBEXT" in
17504 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17505 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'` ;;
17506 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17507 if ${ac_cv_lib_soname_fontconfig:+false} :
17508 then :
17509 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17510 fi ;;
17511 esac
17512 else $as_nop
17513 ac_cv_lib_soname_fontconfig=
17515 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17516 conftest$ac_exeext conftest.$ac_ext
17517 LIBS=$ac_check_soname_save_LIBS
17519 if ${ac_cv_lib_soname_fontconfig:+false} :
17520 then :
17521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17522 printf "%s\n" "not found" >&6; }
17523 FONTCONFIG_CFLAGS=""
17524 else $as_nop
17525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17526 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17528 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17532 else
17533 FONTCONFIG_CFLAGS=""
17535 CPPFLAGS=$ac_save_CPPFLAGS
17538 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17539 then :
17540 case "x$with_fontconfig" in
17541 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17542 xno) ;;
17543 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17544 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17545 esac
17549 if test "x$with_krb5" != "xno"
17550 then
17551 if ${KRB5_CFLAGS:+false} :
17552 then :
17553 if test ${PKG_CONFIG+y}
17554 then :
17555 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17558 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17559 if ${KRB5_LIBS:+false} :
17560 then :
17561 if test ${PKG_CONFIG+y}
17562 then :
17563 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17566 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17568 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17569 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17570 ac_save_CPPFLAGS=$CPPFLAGS
17571 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17572 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17573 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17574 then :
17575 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17579 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17580 then
17581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17582 printf %s "checking for -lkrb5... " >&6; }
17583 if test ${ac_cv_lib_soname_krb5+y}
17584 then :
17585 printf %s "(cached) " >&6
17586 else $as_nop
17587 ac_check_soname_save_LIBS=$LIBS
17588 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17590 /* end confdefs.h. */
17592 /* Override any GCC internal prototype to avoid an error.
17593 Use char because int might match the return type of a GCC
17594 builtin and then its argument prototype would still apply. */
17595 char krb5_is_config_principal ();
17597 main (void)
17599 return krb5_is_config_principal ();
17601 return 0;
17603 _ACEOF
17604 if ac_fn_c_try_link "$LINENO"
17605 then :
17606 case "$LIBEXT" in
17607 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17608 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'` ;;
17609 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17610 if ${ac_cv_lib_soname_krb5:+false} :
17611 then :
17612 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17613 fi ;;
17614 esac
17615 else $as_nop
17616 ac_cv_lib_soname_krb5=
17618 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17619 conftest$ac_exeext conftest.$ac_ext
17620 LIBS=$ac_check_soname_save_LIBS
17622 if ${ac_cv_lib_soname_krb5:+false} :
17623 then :
17624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17625 printf "%s\n" "not found" >&6; }
17626 KRB5_CFLAGS=""
17627 else $as_nop
17628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17629 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17631 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17635 else
17636 KRB5_CFLAGS=""
17638 CPPFLAGS=$ac_save_CPPFLAGS
17641 if test "x$ac_cv_lib_soname_krb5" = "x"
17642 then :
17643 case "x$with_krb5" in
17644 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17645 xno) ;;
17646 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17647 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17648 esac
17651 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17653 if test "x$with_gssapi" != "xno"
17654 then
17655 if ${GSSAPI_CFLAGS:+false} :
17656 then :
17657 if test ${PKG_CONFIG+y}
17658 then :
17659 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
17662 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17663 if ${GSSAPI_LIBS:+false} :
17664 then :
17665 if test ${PKG_CONFIG+y}
17666 then :
17667 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17670 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17672 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17673 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17674 ac_save_CPPFLAGS=$CPPFLAGS
17675 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17676 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17677 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17678 then :
17679 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17682 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17683 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17684 then :
17685 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17689 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17690 then
17691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17692 printf %s "checking for -lgssapi_krb5... " >&6; }
17693 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17694 then :
17695 printf %s "(cached) " >&6
17696 else $as_nop
17697 ac_check_soname_save_LIBS=$LIBS
17698 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17700 /* end confdefs.h. */
17702 /* Override any GCC internal prototype to avoid an error.
17703 Use char because int might match the return type of a GCC
17704 builtin and then its argument prototype would still apply. */
17705 char gss_init_sec_context ();
17707 main (void)
17709 return gss_init_sec_context ();
17711 return 0;
17713 _ACEOF
17714 if ac_fn_c_try_link "$LINENO"
17715 then :
17716 case "$LIBEXT" in
17717 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17718 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'` ;;
17719 *) 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'`
17720 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17721 then :
17722 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17723 fi ;;
17724 esac
17725 else $as_nop
17726 ac_cv_lib_soname_gssapi_krb5=
17728 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17729 conftest$ac_exeext conftest.$ac_ext
17730 LIBS=$ac_check_soname_save_LIBS
17732 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17733 then :
17734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17735 printf "%s\n" "not found" >&6; }
17736 GSSAPI_CFLAGS=""
17737 else $as_nop
17738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
17739 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
17741 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
17745 else
17746 GSSAPI_CFLAGS=""
17748 CPPFLAGS=$ac_save_CPPFLAGS
17751 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
17752 then :
17753 case "x$with_gssapi" in
17754 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
17755 xno) ;;
17756 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
17757 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
17758 esac
17762 if test "$ac_cv_header_AL_al_h" = "yes"
17763 then
17764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
17765 printf %s "checking for -lopenal... " >&6; }
17766 if test ${ac_cv_lib_soname_openal+y}
17767 then :
17768 printf %s "(cached) " >&6
17769 else $as_nop
17770 ac_check_soname_save_LIBS=$LIBS
17771 LIBS="-lopenal $LIBS"
17772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17773 /* end confdefs.h. */
17775 /* Override any GCC internal prototype to avoid an error.
17776 Use char because int might match the return type of a GCC
17777 builtin and then its argument prototype would still apply. */
17778 char alGetSource3i ();
17780 main (void)
17782 return alGetSource3i ();
17784 return 0;
17786 _ACEOF
17787 if ac_fn_c_try_link "$LINENO"
17788 then :
17789 case "$LIBEXT" in
17790 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17791 dylib) ac_cv_lib_soname_openal=`$OTOOL -L conftest$ac_exeext | grep "libopenal\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libopenal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17792 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17793 if ${ac_cv_lib_soname_openal:+false} :
17794 then :
17795 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17796 fi ;;
17797 esac
17798 else $as_nop
17799 ac_cv_lib_soname_openal=
17801 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17802 conftest$ac_exeext conftest.$ac_ext
17803 LIBS=$ac_check_soname_save_LIBS
17805 if ${ac_cv_lib_soname_openal:+false} :
17806 then :
17807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17808 printf "%s\n" "not found" >&6; }
17810 else $as_nop
17811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
17812 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
17814 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
17816 OPENAL_LIBS="-lopenal"
17818 ac_cv_lib_openal=yes
17820 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
17824 if test "x$ac_cv_lib_openal" != xyes
17825 then :
17826 case "x$with_openal" in
17827 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
17828 xno) ;;
17829 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
17830 This is an error since --with-openal was requested." "$LINENO" 5 ;;
17831 esac
17832 enable_openal32=${enable_openal32:-no}
17835 if test "$ac_cv_header_libprocstat_h" = "yes"
17836 then
17837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
17838 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
17839 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
17840 then :
17841 printf %s "(cached) " >&6
17842 else $as_nop
17843 ac_check_lib_save_LIBS=$LIBS
17844 LIBS="-lprocstat $LIBS"
17845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17846 /* end confdefs.h. */
17848 /* Override any GCC internal prototype to avoid an error.
17849 Use char because int might match the return type of a GCC
17850 builtin and then its argument prototype would still apply. */
17851 char procstat_open_sysctl ();
17853 main (void)
17855 return procstat_open_sysctl ();
17857 return 0;
17859 _ACEOF
17860 if ac_fn_c_try_link "$LINENO"
17861 then :
17862 ac_cv_lib_procstat_procstat_open_sysctl=yes
17863 else $as_nop
17864 ac_cv_lib_procstat_procstat_open_sysctl=no
17866 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17867 conftest$ac_exeext conftest.$ac_ext
17868 LIBS=$ac_check_lib_save_LIBS
17870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
17871 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
17872 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
17873 then :
17875 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
17877 PROCSTAT_LIBS="-lprocstat"
17883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
17884 printf %s "checking for -lodbc... " >&6; }
17885 if test ${ac_cv_lib_soname_odbc+y}
17886 then :
17887 printf %s "(cached) " >&6
17888 else $as_nop
17889 ac_check_soname_save_LIBS=$LIBS
17890 LIBS="-lodbc $LIBS"
17891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17892 /* end confdefs.h. */
17894 /* Override any GCC internal prototype to avoid an error.
17895 Use char because int might match the return type of a GCC
17896 builtin and then its argument prototype would still apply. */
17897 char SQLConnect ();
17899 main (void)
17901 return SQLConnect ();
17903 return 0;
17905 _ACEOF
17906 if ac_fn_c_try_link "$LINENO"
17907 then :
17908 case "$LIBEXT" in
17909 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17910 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'` ;;
17911 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17912 if ${ac_cv_lib_soname_odbc:+false} :
17913 then :
17914 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17915 fi ;;
17916 esac
17917 else $as_nop
17918 ac_cv_lib_soname_odbc=
17920 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17921 conftest$ac_exeext conftest.$ac_ext
17922 LIBS=$ac_check_soname_save_LIBS
17924 if ${ac_cv_lib_soname_odbc:+false} :
17925 then :
17926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17927 printf "%s\n" "not found" >&6; }
17928 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
17930 else $as_nop
17931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
17932 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
17934 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
17939 if test "x$with_netapi" != "xno"
17940 then
17941 if ${NETAPI_CFLAGS:+false} :
17942 then :
17943 if test ${PKG_CONFIG+y}
17944 then :
17945 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
17949 if ${NETAPI_LIBS:+false} :
17950 then :
17951 if test ${PKG_CONFIG+y}
17952 then :
17953 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
17958 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
17959 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
17960 ac_save_CPPFLAGS=$CPPFLAGS
17961 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
17962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
17963 printf %s "checking for -lnetapi... " >&6; }
17964 if test ${ac_cv_lib_soname_netapi+y}
17965 then :
17966 printf %s "(cached) " >&6
17967 else $as_nop
17968 ac_check_soname_save_LIBS=$LIBS
17969 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
17970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17971 /* end confdefs.h. */
17973 /* Override any GCC internal prototype to avoid an error.
17974 Use char because int might match the return type of a GCC
17975 builtin and then its argument prototype would still apply. */
17976 char libnetapi_init ();
17978 main (void)
17980 return libnetapi_init ();
17982 return 0;
17984 _ACEOF
17985 if ac_fn_c_try_link "$LINENO"
17986 then :
17987 case "$LIBEXT" in
17988 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17989 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'` ;;
17990 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17991 if ${ac_cv_lib_soname_netapi:+false} :
17992 then :
17993 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17994 fi ;;
17995 esac
17996 else $as_nop
17997 ac_cv_lib_soname_netapi=
17999 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18000 conftest$ac_exeext conftest.$ac_ext
18001 LIBS=$ac_check_soname_save_LIBS
18003 if ${ac_cv_lib_soname_netapi:+false} :
18004 then :
18005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18006 printf "%s\n" "not found" >&6; }
18007 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18009 else $as_nop
18010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18011 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18013 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18017 CPPFLAGS=$ac_save_CPPFLAGS
18020 if test "x$ac_cv_lib_soname_netapi" = "x"
18021 then :
18022 case "x$with_netapi" in
18023 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18024 xno) ;;
18025 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18026 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18027 esac
18028 enable_netapi=${enable_netapi:-no}
18032 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18033 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18034 then
18035 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18038 if test "x$with_vulkan" != "xno"
18039 then
18040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18041 printf %s "checking for -lvulkan... " >&6; }
18042 if test ${ac_cv_lib_soname_vulkan+y}
18043 then :
18044 printf %s "(cached) " >&6
18045 else $as_nop
18046 ac_check_soname_save_LIBS=$LIBS
18047 LIBS="-lvulkan $LIBS"
18048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18049 /* end confdefs.h. */
18051 /* Override any GCC internal prototype to avoid an error.
18052 Use char because int might match the return type of a GCC
18053 builtin and then its argument prototype would still apply. */
18054 char vkGetInstanceProcAddr ();
18056 main (void)
18058 return vkGetInstanceProcAddr ();
18060 return 0;
18062 _ACEOF
18063 if ac_fn_c_try_link "$LINENO"
18064 then :
18065 case "$LIBEXT" in
18066 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18067 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'` ;;
18068 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18069 if ${ac_cv_lib_soname_vulkan:+false} :
18070 then :
18071 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18072 fi ;;
18073 esac
18074 else $as_nop
18075 ac_cv_lib_soname_vulkan=
18077 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18078 conftest$ac_exeext conftest.$ac_ext
18079 LIBS=$ac_check_soname_save_LIBS
18081 if ${ac_cv_lib_soname_vulkan:+false} :
18082 then :
18083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18084 printf "%s\n" "not found" >&6; }
18086 else $as_nop
18087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18088 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18090 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18094 if test "x$ac_cv_lib_soname_vulkan" = "x"
18095 then
18096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18097 printf %s "checking for -lMoltenVK... " >&6; }
18098 if test ${ac_cv_lib_soname_MoltenVK+y}
18099 then :
18100 printf %s "(cached) " >&6
18101 else $as_nop
18102 ac_check_soname_save_LIBS=$LIBS
18103 LIBS="-lMoltenVK $LIBS"
18104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18105 /* end confdefs.h. */
18107 /* Override any GCC internal prototype to avoid an error.
18108 Use char because int might match the return type of a GCC
18109 builtin and then its argument prototype would still apply. */
18110 char vkGetInstanceProcAddr ();
18112 main (void)
18114 return vkGetInstanceProcAddr ();
18116 return 0;
18118 _ACEOF
18119 if ac_fn_c_try_link "$LINENO"
18120 then :
18121 case "$LIBEXT" in
18122 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18123 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'` ;;
18124 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18125 if ${ac_cv_lib_soname_MoltenVK:+false} :
18126 then :
18127 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18128 fi ;;
18129 esac
18130 else $as_nop
18131 ac_cv_lib_soname_MoltenVK=
18133 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18134 conftest$ac_exeext conftest.$ac_ext
18135 LIBS=$ac_check_soname_save_LIBS
18137 if ${ac_cv_lib_soname_MoltenVK:+false} :
18138 then :
18139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18140 printf "%s\n" "not found" >&6; }
18142 else $as_nop
18143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18144 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18146 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18152 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18153 then :
18154 case "x$with_vulkan" in
18155 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18156 xno) ;;
18157 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18158 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18159 esac
18163 if test "x$with_vkd3d" != "xno"
18164 then
18165 if ${VKD3D_CFLAGS:+false} :
18166 then :
18167 if test ${PKG_CONFIG+y}
18168 then :
18169 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
18173 if ${VKD3D_LIBS:+false} :
18174 then :
18175 if test ${PKG_CONFIG+y}
18176 then :
18177 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
18182 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
18183 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
18184 ac_save_CPPFLAGS=$CPPFLAGS
18185 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
18186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
18187 printf %s "checking for -lvkd3d... " >&6; }
18188 if test ${ac_cv_lib_soname_vkd3d+y}
18189 then :
18190 printf %s "(cached) " >&6
18191 else $as_nop
18192 ac_check_soname_save_LIBS=$LIBS
18193 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
18194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18195 /* end confdefs.h. */
18197 /* Override any GCC internal prototype to avoid an error.
18198 Use char because int might match the return type of a GCC
18199 builtin and then its argument prototype would still apply. */
18200 char vkd3d_serialize_versioned_root_signature ();
18202 main (void)
18204 return vkd3d_serialize_versioned_root_signature ();
18206 return 0;
18208 _ACEOF
18209 if ac_fn_c_try_link "$LINENO"
18210 then :
18211 case "$LIBEXT" in
18212 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18213 dylib) ac_cv_lib_soname_vkd3d=`$OTOOL -L conftest$ac_exeext | grep "libvkd3d\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvkd3d\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18214 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18215 if ${ac_cv_lib_soname_vkd3d:+false} :
18216 then :
18217 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18218 fi ;;
18219 esac
18220 else $as_nop
18221 ac_cv_lib_soname_vkd3d=
18223 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18224 conftest$ac_exeext conftest.$ac_ext
18225 LIBS=$ac_check_soname_save_LIBS
18227 if ${ac_cv_lib_soname_vkd3d:+false} :
18228 then :
18229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18230 printf "%s\n" "not found" >&6; }
18232 else $as_nop
18233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
18234 printf "%s\n" "$ac_cv_lib_soname_vkd3d" >&6; }
18236 printf "%s\n" "#define SONAME_LIBVKD3D \"$ac_cv_lib_soname_vkd3d\"" >>confdefs.h
18240 CPPFLAGS=$ac_save_CPPFLAGS
18242 if ${VKD3D_SHADER_CFLAGS:+false} :
18243 then :
18244 if test ${PKG_CONFIG+y}
18245 then :
18246 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
18250 if ${VKD3D_SHADER_LIBS:+false} :
18251 then :
18252 if test ${PKG_CONFIG+y}
18253 then :
18254 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
18259 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
18260 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
18261 ac_save_CPPFLAGS=$CPPFLAGS
18262 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
18263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
18264 printf %s "checking for -lvkd3d-shader... " >&6; }
18265 if test ${ac_cv_lib_soname_vkd3d_shader+y}
18266 then :
18267 printf %s "(cached) " >&6
18268 else $as_nop
18269 ac_check_soname_save_LIBS=$LIBS
18270 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
18271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18272 /* end confdefs.h. */
18274 /* Override any GCC internal prototype to avoid an error.
18275 Use char because int might match the return type of a GCC
18276 builtin and then its argument prototype would still apply. */
18277 char vkd3d_shader_compile ();
18279 main (void)
18281 return vkd3d_shader_compile ();
18283 return 0;
18285 _ACEOF
18286 if ac_fn_c_try_link "$LINENO"
18287 then :
18288 case "$LIBEXT" in
18289 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18290 dylib) ac_cv_lib_soname_vkd3d_shader=`$OTOOL -L conftest$ac_exeext | grep "libvkd3d-shader\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvkd3d-shader\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18291 *) ac_cv_lib_soname_vkd3d_shader=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d-shader\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18292 if ${ac_cv_lib_soname_vkd3d_shader:+false} :
18293 then :
18294 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18295 fi ;;
18296 esac
18297 else $as_nop
18298 ac_cv_lib_soname_vkd3d_shader=
18300 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18301 conftest$ac_exeext conftest.$ac_ext
18302 LIBS=$ac_check_soname_save_LIBS
18304 if ${ac_cv_lib_soname_vkd3d_shader:+false} :
18305 then :
18306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18307 printf "%s\n" "not found" >&6; }
18309 else $as_nop
18310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
18311 printf "%s\n" "$ac_cv_lib_soname_vkd3d_shader" >&6; }
18313 printf "%s\n" "#define SONAME_LIBVKD3D_SHADER \"$ac_cv_lib_soname_vkd3d_shader\"" >>confdefs.h
18317 CPPFLAGS=$ac_save_CPPFLAGS
18320 if test "x$ac_cv_lib_soname_vkd3d" = "x"
18321 then :
18322 case "x$with_vkd3d" in
18323 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
18324 xno) ;;
18325 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
18326 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
18327 esac
18330 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
18333 if test "x${GCC}" = "xyes"
18334 then
18335 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18337 saved_CFLAGS=$CFLAGS
18338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18339 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18340 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18341 then :
18342 printf %s "(cached) " >&6
18343 else $as_nop
18344 ac_wine_try_cflags_saved=$CFLAGS
18345 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18347 /* end confdefs.h. */
18348 int main(int argc, char **argv) { return 0; }
18349 _ACEOF
18350 if ac_fn_c_try_link "$LINENO"
18351 then :
18352 ac_cv_cflags__Werror_unknown_warning_option=yes
18353 else $as_nop
18354 ac_cv_cflags__Werror_unknown_warning_option=no
18356 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18357 conftest$ac_exeext conftest.$ac_ext
18358 CFLAGS=$ac_wine_try_cflags_saved
18360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18361 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18362 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18363 then :
18364 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18367 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18368 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18369 then :
18370 printf %s "(cached) " >&6
18371 else $as_nop
18372 ac_wine_try_cflags_saved=$CFLAGS
18373 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18375 /* end confdefs.h. */
18376 int main(int argc, char **argv) { return 0; }
18377 _ACEOF
18378 if ac_fn_c_try_link "$LINENO"
18379 then :
18380 ac_cv_cflags__Werror_unused_command_line_argument=yes
18381 else $as_nop
18382 ac_cv_cflags__Werror_unused_command_line_argument=no
18384 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18385 conftest$ac_exeext conftest.$ac_ext
18386 CFLAGS=$ac_wine_try_cflags_saved
18388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18389 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18390 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18391 then :
18392 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18395 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18396 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18397 then :
18398 printf %s "(cached) " >&6
18399 else $as_nop
18400 ac_wine_try_cflags_saved=$CFLAGS
18401 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18403 /* end confdefs.h. */
18404 int main(int argc, char **argv) { return 0; }
18405 _ACEOF
18406 if ac_fn_c_try_link "$LINENO"
18407 then :
18408 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18409 else $as_nop
18410 ac_cv_cflags__Werror_ignored_optimization_argument=no
18412 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18413 conftest$ac_exeext conftest.$ac_ext
18414 CFLAGS=$ac_wine_try_cflags_saved
18416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18417 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18418 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18419 then :
18420 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18423 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18424 if test ${ac_cv_cflags__fcf_protection_none+y}
18425 then :
18426 printf %s "(cached) " >&6
18427 else $as_nop
18428 ac_wine_try_cflags_saved=$CFLAGS
18429 CFLAGS="$CFLAGS -fcf-protection=none"
18430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18431 /* end confdefs.h. */
18432 int main(int argc, char **argv) { return 0; }
18433 _ACEOF
18434 if ac_fn_c_try_link "$LINENO"
18435 then :
18436 ac_cv_cflags__fcf_protection_none=yes
18437 else $as_nop
18438 ac_cv_cflags__fcf_protection_none=no
18440 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18441 conftest$ac_exeext conftest.$ac_ext
18442 CFLAGS=$ac_wine_try_cflags_saved
18444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18445 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18446 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18447 then :
18448 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18451 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18452 if test ${ac_cv_cflags__fno_stack_protector+y}
18453 then :
18454 printf %s "(cached) " >&6
18455 else $as_nop
18456 ac_wine_try_cflags_saved=$CFLAGS
18457 CFLAGS="$CFLAGS -fno-stack-protector"
18458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18459 /* end confdefs.h. */
18460 int main(int argc, char **argv) { return 0; }
18461 _ACEOF
18462 if ac_fn_c_try_link "$LINENO"
18463 then :
18464 ac_cv_cflags__fno_stack_protector=yes
18465 else $as_nop
18466 ac_cv_cflags__fno_stack_protector=no
18468 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18469 conftest$ac_exeext conftest.$ac_ext
18470 CFLAGS=$ac_wine_try_cflags_saved
18472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18473 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18474 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18475 then :
18476 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18479 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18480 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18481 then :
18482 printf %s "(cached) " >&6
18483 else $as_nop
18484 ac_wine_try_cflags_saved=$CFLAGS
18485 CFLAGS="$CFLAGS -fno-strict-aliasing"
18486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18487 /* end confdefs.h. */
18488 int main(int argc, char **argv) { return 0; }
18489 _ACEOF
18490 if ac_fn_c_try_link "$LINENO"
18491 then :
18492 ac_cv_cflags__fno_strict_aliasing=yes
18493 else $as_nop
18494 ac_cv_cflags__fno_strict_aliasing=no
18496 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18497 conftest$ac_exeext conftest.$ac_ext
18498 CFLAGS=$ac_wine_try_cflags_saved
18500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18501 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18502 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18503 then :
18504 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18507 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18508 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18509 then :
18510 printf %s "(cached) " >&6
18511 else $as_nop
18512 ac_wine_try_cflags_saved=$CFLAGS
18513 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18515 /* end confdefs.h. */
18516 int main(int argc, char **argv) { return 0; }
18517 _ACEOF
18518 if ac_fn_c_try_link "$LINENO"
18519 then :
18520 ac_cv_cflags__Wdeclaration_after_statement=yes
18521 else $as_nop
18522 ac_cv_cflags__Wdeclaration_after_statement=no
18524 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18525 conftest$ac_exeext conftest.$ac_ext
18526 CFLAGS=$ac_wine_try_cflags_saved
18528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18529 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18530 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18531 then :
18532 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18535 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18536 if test ${ac_cv_cflags__Wempty_body+y}
18537 then :
18538 printf %s "(cached) " >&6
18539 else $as_nop
18540 ac_wine_try_cflags_saved=$CFLAGS
18541 CFLAGS="$CFLAGS -Wempty-body"
18542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18543 /* end confdefs.h. */
18544 int main(int argc, char **argv) { return 0; }
18545 _ACEOF
18546 if ac_fn_c_try_link "$LINENO"
18547 then :
18548 ac_cv_cflags__Wempty_body=yes
18549 else $as_nop
18550 ac_cv_cflags__Wempty_body=no
18552 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18553 conftest$ac_exeext conftest.$ac_ext
18554 CFLAGS=$ac_wine_try_cflags_saved
18556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18557 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18558 if test "x$ac_cv_cflags__Wempty_body" = xyes
18559 then :
18560 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18563 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18564 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18565 then :
18566 printf %s "(cached) " >&6
18567 else $as_nop
18568 ac_wine_try_cflags_saved=$CFLAGS
18569 CFLAGS="$CFLAGS -Wignored-qualifiers"
18570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18571 /* end confdefs.h. */
18572 int main(int argc, char **argv) { return 0; }
18573 _ACEOF
18574 if ac_fn_c_try_link "$LINENO"
18575 then :
18576 ac_cv_cflags__Wignored_qualifiers=yes
18577 else $as_nop
18578 ac_cv_cflags__Wignored_qualifiers=no
18580 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18581 conftest$ac_exeext conftest.$ac_ext
18582 CFLAGS=$ac_wine_try_cflags_saved
18584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18585 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18586 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18587 then :
18588 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18591 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18592 if test ${ac_cv_cflags__Winit_self+y}
18593 then :
18594 printf %s "(cached) " >&6
18595 else $as_nop
18596 ac_wine_try_cflags_saved=$CFLAGS
18597 CFLAGS="$CFLAGS -Winit-self"
18598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18599 /* end confdefs.h. */
18600 int main(int argc, char **argv) { return 0; }
18601 _ACEOF
18602 if ac_fn_c_try_link "$LINENO"
18603 then :
18604 ac_cv_cflags__Winit_self=yes
18605 else $as_nop
18606 ac_cv_cflags__Winit_self=no
18608 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18609 conftest$ac_exeext conftest.$ac_ext
18610 CFLAGS=$ac_wine_try_cflags_saved
18612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18613 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18614 if test "x$ac_cv_cflags__Winit_self" = xyes
18615 then :
18616 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18619 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18620 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18621 then :
18622 printf %s "(cached) " >&6
18623 else $as_nop
18624 ac_wine_try_cflags_saved=$CFLAGS
18625 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18627 /* end confdefs.h. */
18628 int main(int argc, char **argv) { return 0; }
18629 _ACEOF
18630 if ac_fn_c_try_link "$LINENO"
18631 then :
18632 ac_cv_cflags__Wpacked_not_aligned=yes
18633 else $as_nop
18634 ac_cv_cflags__Wpacked_not_aligned=no
18636 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18637 conftest$ac_exeext conftest.$ac_ext
18638 CFLAGS=$ac_wine_try_cflags_saved
18640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18641 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18642 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18643 then :
18644 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18647 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18648 if test ${ac_cv_cflags__Wpragma_pack+y}
18649 then :
18650 printf %s "(cached) " >&6
18651 else $as_nop
18652 ac_wine_try_cflags_saved=$CFLAGS
18653 CFLAGS="$CFLAGS -Wpragma-pack"
18654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18655 /* end confdefs.h. */
18656 int main(int argc, char **argv) { return 0; }
18657 _ACEOF
18658 if ac_fn_c_try_link "$LINENO"
18659 then :
18660 ac_cv_cflags__Wpragma_pack=yes
18661 else $as_nop
18662 ac_cv_cflags__Wpragma_pack=no
18664 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18665 conftest$ac_exeext conftest.$ac_ext
18666 CFLAGS=$ac_wine_try_cflags_saved
18668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18669 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18670 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18671 then :
18672 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18675 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18676 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18677 then :
18678 printf %s "(cached) " >&6
18679 else $as_nop
18680 ac_wine_try_cflags_saved=$CFLAGS
18681 CFLAGS="$CFLAGS -Wshift-overflow=2"
18682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18683 /* end confdefs.h. */
18684 int main(int argc, char **argv) { return 0; }
18685 _ACEOF
18686 if ac_fn_c_try_link "$LINENO"
18687 then :
18688 ac_cv_cflags__Wshift_overflow_2=yes
18689 else $as_nop
18690 ac_cv_cflags__Wshift_overflow_2=no
18692 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18693 conftest$ac_exeext conftest.$ac_ext
18694 CFLAGS=$ac_wine_try_cflags_saved
18696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18697 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18698 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18699 then :
18700 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18703 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18704 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18705 then :
18706 printf %s "(cached) " >&6
18707 else $as_nop
18708 ac_wine_try_cflags_saved=$CFLAGS
18709 CFLAGS="$CFLAGS -Wstrict-prototypes"
18710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18711 /* end confdefs.h. */
18712 int main(int argc, char **argv) { return 0; }
18713 _ACEOF
18714 if ac_fn_c_try_link "$LINENO"
18715 then :
18716 ac_cv_cflags__Wstrict_prototypes=yes
18717 else $as_nop
18718 ac_cv_cflags__Wstrict_prototypes=no
18720 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18721 conftest$ac_exeext conftest.$ac_ext
18722 CFLAGS=$ac_wine_try_cflags_saved
18724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18725 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18726 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18727 then :
18728 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18731 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18732 if test ${ac_cv_cflags__Wtype_limits+y}
18733 then :
18734 printf %s "(cached) " >&6
18735 else $as_nop
18736 ac_wine_try_cflags_saved=$CFLAGS
18737 CFLAGS="$CFLAGS -Wtype-limits"
18738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18739 /* end confdefs.h. */
18740 int main(int argc, char **argv) { return 0; }
18741 _ACEOF
18742 if ac_fn_c_try_link "$LINENO"
18743 then :
18744 ac_cv_cflags__Wtype_limits=yes
18745 else $as_nop
18746 ac_cv_cflags__Wtype_limits=no
18748 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18749 conftest$ac_exeext conftest.$ac_ext
18750 CFLAGS=$ac_wine_try_cflags_saved
18752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18753 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18754 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18755 then :
18756 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18759 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18760 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18761 then :
18762 printf %s "(cached) " >&6
18763 else $as_nop
18764 ac_wine_try_cflags_saved=$CFLAGS
18765 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18767 /* end confdefs.h. */
18768 int main(int argc, char **argv) { return 0; }
18769 _ACEOF
18770 if ac_fn_c_try_link "$LINENO"
18771 then :
18772 ac_cv_cflags__Wunused_but_set_parameter=yes
18773 else $as_nop
18774 ac_cv_cflags__Wunused_but_set_parameter=no
18776 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18777 conftest$ac_exeext conftest.$ac_ext
18778 CFLAGS=$ac_wine_try_cflags_saved
18780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18781 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18782 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18783 then :
18784 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18787 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18788 if test ${ac_cv_cflags__Wvla+y}
18789 then :
18790 printf %s "(cached) " >&6
18791 else $as_nop
18792 ac_wine_try_cflags_saved=$CFLAGS
18793 CFLAGS="$CFLAGS -Wvla"
18794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18795 /* end confdefs.h. */
18796 int main(int argc, char **argv) { return 0; }
18797 _ACEOF
18798 if ac_fn_c_try_link "$LINENO"
18799 then :
18800 ac_cv_cflags__Wvla=yes
18801 else $as_nop
18802 ac_cv_cflags__Wvla=no
18804 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18805 conftest$ac_exeext conftest.$ac_ext
18806 CFLAGS=$ac_wine_try_cflags_saved
18808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18809 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18810 if test "x$ac_cv_cflags__Wvla" = xyes
18811 then :
18812 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18815 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18816 if test ${ac_cv_cflags__Wwrite_strings+y}
18817 then :
18818 printf %s "(cached) " >&6
18819 else $as_nop
18820 ac_wine_try_cflags_saved=$CFLAGS
18821 CFLAGS="$CFLAGS -Wwrite-strings"
18822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18823 /* end confdefs.h. */
18824 int main(int argc, char **argv) { return 0; }
18825 _ACEOF
18826 if ac_fn_c_try_link "$LINENO"
18827 then :
18828 ac_cv_cflags__Wwrite_strings=yes
18829 else $as_nop
18830 ac_cv_cflags__Wwrite_strings=no
18832 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18833 conftest$ac_exeext conftest.$ac_ext
18834 CFLAGS=$ac_wine_try_cflags_saved
18836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18837 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18838 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18839 then :
18840 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18843 if test -z "$CROSSTARGET"
18844 then
18845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
18846 printf %s "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
18847 if test ${ac_cv_cflags__fexcess_precision_standard+y}
18848 then :
18849 printf %s "(cached) " >&6
18850 else $as_nop
18851 ac_wine_try_cflags_saved=$CFLAGS
18852 CFLAGS="$CFLAGS -fexcess-precision=standard"
18853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18854 /* end confdefs.h. */
18855 int main(int argc, char **argv) { return 0; }
18856 _ACEOF
18857 if ac_fn_c_try_link "$LINENO"
18858 then :
18859 ac_cv_cflags__fexcess_precision_standard=yes
18860 else $as_nop
18861 ac_cv_cflags__fexcess_precision_standard=no
18863 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18864 conftest$ac_exeext conftest.$ac_ext
18865 CFLAGS=$ac_wine_try_cflags_saved
18867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
18868 printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
18869 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
18870 then :
18871 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
18876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18877 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18878 if test ${ac_cv_cflags__Wpointer_arith+y}
18879 then :
18880 printf %s "(cached) " >&6
18881 else $as_nop
18882 ac_wine_try_cflags_saved=$CFLAGS
18883 CFLAGS="$CFLAGS -Wpointer-arith"
18884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18885 /* end confdefs.h. */
18886 int main(int argc, char **argv) { return 0; }
18887 _ACEOF
18888 if ac_fn_c_try_link "$LINENO"
18889 then :
18890 ac_cv_cflags__Wpointer_arith=yes
18891 else $as_nop
18892 ac_cv_cflags__Wpointer_arith=no
18894 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18895 conftest$ac_exeext conftest.$ac_ext
18896 CFLAGS=$ac_wine_try_cflags_saved
18898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18899 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18900 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18901 then :
18902 saved_string_h_CFLAGS=$CFLAGS
18903 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
18904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18905 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18906 if test ${ac_cv_c_string_h_warnings+y}
18907 then :
18908 printf %s "(cached) " >&6
18909 else $as_nop
18910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18911 /* end confdefs.h. */
18912 #include <string.h>
18914 main (void)
18918 return 0;
18920 _ACEOF
18921 if ac_fn_c_try_compile "$LINENO"
18922 then :
18923 ac_cv_c_string_h_warnings=no
18924 else $as_nop
18925 ac_cv_c_string_h_warnings=yes
18927 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
18930 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
18931 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
18932 CFLAGS=$saved_string_h_CFLAGS
18935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
18936 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
18937 if test ${ac_cv_cflags__Wlogical_op+y}
18938 then :
18939 printf %s "(cached) " >&6
18940 else $as_nop
18941 ac_wine_try_cflags_saved=$CFLAGS
18942 CFLAGS="$CFLAGS -Wlogical-op"
18943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18944 /* end confdefs.h. */
18945 int main(int argc, char **argv) { return 0; }
18946 _ACEOF
18947 if ac_fn_c_try_link "$LINENO"
18948 then :
18949 ac_cv_cflags__Wlogical_op=yes
18950 else $as_nop
18951 ac_cv_cflags__Wlogical_op=no
18953 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18954 conftest$ac_exeext conftest.$ac_ext
18955 CFLAGS=$ac_wine_try_cflags_saved
18957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
18958 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
18959 if test "x$ac_cv_cflags__Wlogical_op" = xyes
18960 then :
18961 saved_string_h_CFLAGS=$CFLAGS
18962 CFLAGS="$CFLAGS -Wlogical-op -Werror"
18963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
18964 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
18965 if test ${ac_cv_c_logicalop_noisy+y}
18966 then :
18967 printf %s "(cached) " >&6
18968 else $as_nop
18969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18970 /* end confdefs.h. */
18971 #include <string.h>
18972 char*f(const char *h,char n) {return strchr(h,n);}
18974 main (void)
18978 return 0;
18980 _ACEOF
18981 if ac_fn_c_try_compile "$LINENO"
18982 then :
18983 ac_cv_c_logicalop_noisy=no
18984 else $as_nop
18985 ac_cv_c_logicalop_noisy=yes
18987 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
18990 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
18991 CFLAGS=$saved_string_h_CFLAGS
18992 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
18995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
18996 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
18997 if test ${wine_cv_64bit_compare_swap+y}
18998 then :
18999 printf %s "(cached) " >&6
19000 else $as_nop
19001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19002 /* end confdefs.h. */
19003 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19004 #error no
19005 #endif
19007 main (void)
19011 return 0;
19013 _ACEOF
19014 if ac_fn_c_try_compile "$LINENO"
19015 then :
19016 wine_cv_64bit_compare_swap="none needed"
19017 else $as_nop
19018 case $host_cpu in
19019 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19020 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19021 *) wine_cv_64bit_compare_swap="unknown" ;;
19022 esac
19023 if test "x$wine_cv_64bit_compare_swap" != xunknown
19024 then
19025 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19027 /* end confdefs.h. */
19028 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19029 #error no
19030 #endif
19032 main (void)
19036 return 0;
19038 _ACEOF
19039 if ac_fn_c_try_compile "$LINENO"
19040 then :
19042 else $as_nop
19043 wine_cv_64bit_compare_swap="unknown"
19045 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19046 CFLAGS=$saved_CFLAGS
19049 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19052 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19053 case "$wine_cv_64bit_compare_swap" in
19054 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19055 "none needed") ;;
19056 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19057 esac
19059 ac_debug_format_seen=""
19060 for ac_flag in $CFLAGS; do
19061 case $ac_flag in
19062 -gdwarf*) ac_debug_format_seen=yes ;;
19063 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19064 esac
19065 done
19066 if test "x$ac_debug_format_seen" = xdefault
19067 then
19068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19069 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19070 if test ${ac_cv_cflags__gdwarf_4+y}
19071 then :
19072 printf %s "(cached) " >&6
19073 else $as_nop
19074 ac_wine_try_cflags_saved=$CFLAGS
19075 CFLAGS="$CFLAGS -gdwarf-4"
19076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19077 /* end confdefs.h. */
19078 int main(int argc, char **argv) { return 0; }
19079 _ACEOF
19080 if ac_fn_c_try_link "$LINENO"
19081 then :
19082 ac_cv_cflags__gdwarf_4=yes
19083 else $as_nop
19084 ac_cv_cflags__gdwarf_4=no
19086 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19087 conftest$ac_exeext conftest.$ac_ext
19088 CFLAGS=$ac_wine_try_cflags_saved
19090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19091 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19092 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19093 then :
19094 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19098 MSVCRTFLAGS=""
19100 case $host_os in
19101 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19102 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19103 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19104 then :
19105 printf %s "(cached) " >&6
19106 else $as_nop
19107 ac_wine_try_cflags_saved=$CFLAGS
19108 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19110 /* end confdefs.h. */
19111 int main(int argc, char **argv) { return 0; }
19112 _ACEOF
19113 if ac_fn_c_try_link "$LINENO"
19114 then :
19115 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19116 else $as_nop
19117 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19119 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19120 conftest$ac_exeext conftest.$ac_ext
19121 CFLAGS=$ac_wine_try_cflags_saved
19123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19124 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19125 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19126 then :
19127 DELAYLOADFLAG="-Wl,-delayload,"
19129 fi ;;
19130 *) MSVCRTFLAGS="-D_WIN32"
19131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19132 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19133 if test ${ac_cv_cflags__fno_builtin+y}
19134 then :
19135 printf %s "(cached) " >&6
19136 else $as_nop
19137 ac_wine_try_cflags_saved=$CFLAGS
19138 CFLAGS="$CFLAGS -fno-builtin"
19139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19140 /* end confdefs.h. */
19141 int main(int argc, char **argv) { return 0; }
19142 _ACEOF
19143 if ac_fn_c_try_link "$LINENO"
19144 then :
19145 ac_cv_cflags__fno_builtin=yes
19146 else $as_nop
19147 ac_cv_cflags__fno_builtin=no
19149 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19150 conftest$ac_exeext conftest.$ac_ext
19151 CFLAGS=$ac_wine_try_cflags_saved
19153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19154 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19155 if test "x$ac_cv_cflags__fno_builtin" = xyes
19156 then :
19157 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19160 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19161 if test ${ac_cv_cflags__fshort_wchar+y}
19162 then :
19163 printf %s "(cached) " >&6
19164 else $as_nop
19165 ac_wine_try_cflags_saved=$CFLAGS
19166 CFLAGS="$CFLAGS -fshort-wchar"
19167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19168 /* end confdefs.h. */
19169 int main(int argc, char **argv) { return 0; }
19170 _ACEOF
19171 if ac_fn_c_try_link "$LINENO"
19172 then :
19173 ac_cv_cflags__fshort_wchar=yes
19174 else $as_nop
19175 ac_cv_cflags__fshort_wchar=no
19177 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19178 conftest$ac_exeext conftest.$ac_ext
19179 CFLAGS=$ac_wine_try_cflags_saved
19181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19182 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19183 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19184 then :
19185 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19188 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19189 if test ${ac_cv_cflags__Wno_format+y}
19190 then :
19191 printf %s "(cached) " >&6
19192 else $as_nop
19193 ac_wine_try_cflags_saved=$CFLAGS
19194 CFLAGS="$CFLAGS -Wno-format"
19195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19196 /* end confdefs.h. */
19197 int main(int argc, char **argv) { return 0; }
19198 _ACEOF
19199 if ac_fn_c_try_link "$LINENO"
19200 then :
19201 ac_cv_cflags__Wno_format=yes
19202 else $as_nop
19203 ac_cv_cflags__Wno_format=no
19205 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19206 conftest$ac_exeext conftest.$ac_ext
19207 CFLAGS=$ac_wine_try_cflags_saved
19209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19210 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19211 if test "x$ac_cv_cflags__Wno_format" = xyes
19212 then :
19213 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19214 fi ;;
19215 esac
19217 case $host_cpu in
19218 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19219 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19220 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19221 then :
19222 printf %s "(cached) " >&6
19223 else $as_nop
19224 ac_wine_try_cflags_saved=$CFLAGS
19225 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19227 /* end confdefs.h. */
19228 int main(int argc, char **argv) { return 0; }
19229 _ACEOF
19230 if ac_fn_c_try_link "$LINENO"
19231 then :
19232 ac_cv_cflags__fno_omit_frame_pointer=yes
19233 else $as_nop
19234 ac_cv_cflags__fno_omit_frame_pointer=no
19236 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19237 conftest$ac_exeext conftest.$ac_ext
19238 CFLAGS=$ac_wine_try_cflags_saved
19240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19241 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19242 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19243 then :
19244 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
19245 fi ;;
19246 *x86_64*)
19247 case $host_os in
19248 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19249 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19250 if test ${ac_cv_cflags__Wno_format+y}
19251 then :
19252 printf %s "(cached) " >&6
19253 else $as_nop
19254 ac_wine_try_cflags_saved=$CFLAGS
19255 CFLAGS="$CFLAGS -Wno-format"
19256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19257 /* end confdefs.h. */
19258 int main(int argc, char **argv) { return 0; }
19259 _ACEOF
19260 if ac_fn_c_try_link "$LINENO"
19261 then :
19262 ac_cv_cflags__Wno_format=yes
19263 else $as_nop
19264 ac_cv_cflags__Wno_format=no
19266 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19267 conftest$ac_exeext conftest.$ac_ext
19268 CFLAGS=$ac_wine_try_cflags_saved
19270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19271 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19272 if test "x$ac_cv_cflags__Wno_format" = xyes
19273 then :
19274 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19275 fi ;;
19276 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
19277 printf %s "checking whether the compiler supports -mabi=ms... " >&6; }
19278 if test ${ac_cv_cflags__mabi_ms+y}
19279 then :
19280 printf %s "(cached) " >&6
19281 else $as_nop
19282 ac_wine_try_cflags_saved=$CFLAGS
19283 CFLAGS="$CFLAGS -mabi=ms"
19284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19285 /* end confdefs.h. */
19286 int main(int argc, char **argv) { return 0; }
19287 _ACEOF
19288 if ac_fn_c_try_link "$LINENO"
19289 then :
19290 ac_cv_cflags__mabi_ms=yes
19291 else $as_nop
19292 ac_cv_cflags__mabi_ms=no
19294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19295 conftest$ac_exeext conftest.$ac_ext
19296 CFLAGS=$ac_wine_try_cflags_saved
19298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
19299 printf "%s\n" "$ac_cv_cflags__mabi_ms" >&6; }
19300 if test "x$ac_cv_cflags__mabi_ms" = xyes
19301 then :
19302 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
19303 fi ;;
19304 esac ;;
19305 esac
19307 CFLAGS=$saved_CFLAGS
19309 if test "x$enable_werror" = "xyes"
19310 then
19311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19312 printf %s "checking whether the compiler supports -Werror... " >&6; }
19313 if test ${ac_cv_cflags__Werror+y}
19314 then :
19315 printf %s "(cached) " >&6
19316 else $as_nop
19317 ac_wine_try_cflags_saved=$CFLAGS
19318 CFLAGS="$CFLAGS -Werror"
19319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19320 /* end confdefs.h. */
19321 int main(int argc, char **argv) { return 0; }
19322 _ACEOF
19323 if ac_fn_c_try_link "$LINENO"
19324 then :
19325 ac_cv_cflags__Werror=yes
19326 else $as_nop
19327 ac_cv_cflags__Werror=no
19329 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19330 conftest$ac_exeext conftest.$ac_ext
19331 CFLAGS=$ac_wine_try_cflags_saved
19333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19334 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19335 if test "x$ac_cv_cflags__Werror" = xyes
19336 then :
19337 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19340 if test "x$enable_build_id" = "xyes"
19341 then
19342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19343 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19344 if test ${ac_cv_cflags__Wl___build_id+y}
19345 then :
19346 printf %s "(cached) " >&6
19347 else $as_nop
19348 ac_wine_try_cflags_saved=$CFLAGS
19349 CFLAGS="$CFLAGS -Wl,--build-id"
19350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19351 /* end confdefs.h. */
19352 int main(int argc, char **argv) { return 0; }
19353 _ACEOF
19354 if ac_fn_c_try_link "$LINENO"
19355 then :
19356 ac_cv_cflags__Wl___build_id=yes
19357 else $as_nop
19358 ac_cv_cflags__Wl___build_id=no
19360 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19361 conftest$ac_exeext conftest.$ac_ext
19362 CFLAGS=$ac_wine_try_cflags_saved
19364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19365 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19366 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19367 then :
19368 CFLAGS="$CFLAGS -Wl,--build-id"
19369 LDFLAGS="$LDFLAGS -Wl,--build-id"
19375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19376 printf %s "checking for the need to disable Fortify... " >&6; }
19377 if test ${ac_cv_c_fortify_enabled+y}
19378 then :
19379 printf %s "(cached) " >&6
19380 else $as_nop
19381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19382 /* end confdefs.h. */
19383 #include <string.h>
19385 main (void)
19387 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19388 #error Fortify enabled
19389 #endif
19391 return 0;
19393 _ACEOF
19394 if ac_fn_c_try_compile "$LINENO"
19395 then :
19396 ac_cv_c_fortify_enabled=no
19397 else $as_nop
19398 ac_cv_c_fortify_enabled=yes
19400 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19403 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19404 if test "$ac_cv_c_fortify_enabled" = yes
19405 then
19406 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19411 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19412 if test ${ac_cv_c_cfi_support+y}
19413 then :
19414 printf %s "(cached) " >&6
19415 else $as_nop
19416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19417 /* end confdefs.h. */
19418 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19420 main (void)
19424 return 0;
19426 _ACEOF
19427 if ac_fn_c_try_compile "$LINENO"
19428 then :
19429 ac_cv_c_cfi_support="yes"
19430 else $as_nop
19431 ac_cv_c_cfi_support="no"
19433 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19436 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19437 if test "$ac_cv_c_cfi_support" = "yes"
19438 then
19439 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19440 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19441 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19442 else
19443 if test "x$enable_win64" = "xyes"
19444 then
19445 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19450 case $host_os in
19451 linux*)
19452 case $host_cpu in
19453 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19454 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
19455 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19457 esac
19459 esac
19462 ac_save_CFLAGS="$CFLAGS"
19463 CFLAGS="$CFLAGS $BUILTINFLAG"
19464 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19465 if test "x$ac_cv_func_epoll_create" = xyes
19466 then :
19467 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19470 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19471 if test "x$ac_cv_func_fstatfs" = xyes
19472 then :
19473 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19476 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19477 if test "x$ac_cv_func_futimens" = xyes
19478 then :
19479 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19482 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19483 if test "x$ac_cv_func_futimes" = xyes
19484 then :
19485 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19488 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19489 if test "x$ac_cv_func_futimesat" = xyes
19490 then :
19491 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19494 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19495 if test "x$ac_cv_func_getattrlist" = xyes
19496 then :
19497 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19500 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19501 if test "x$ac_cv_func_getauxval" = xyes
19502 then :
19503 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19506 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19507 if test "x$ac_cv_func_getifaddrs" = xyes
19508 then :
19509 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19512 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19513 if test "x$ac_cv_func_getrandom" = xyes
19514 then :
19515 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19518 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19519 if test "x$ac_cv_func_kqueue" = xyes
19520 then :
19521 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19524 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19525 if test "x$ac_cv_func_mach_continuous_time" = xyes
19526 then :
19527 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19530 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19531 if test "x$ac_cv_func_pipe2" = xyes
19532 then :
19533 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19536 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19537 if test "x$ac_cv_func_port_create" = xyes
19538 then :
19539 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19542 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19543 if test "x$ac_cv_func_posix_fadvise" = xyes
19544 then :
19545 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19548 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19549 if test "x$ac_cv_func_posix_fallocate" = xyes
19550 then :
19551 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19554 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19555 if test "x$ac_cv_func_prctl" = xyes
19556 then :
19557 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19560 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19561 if test "x$ac_cv_func_proc_pidinfo" = xyes
19562 then :
19563 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19566 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19567 if test "x$ac_cv_func_sched_yield" = xyes
19568 then :
19569 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19572 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19573 if test "x$ac_cv_func_setproctitle" = xyes
19574 then :
19575 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19578 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19579 if test "x$ac_cv_func_setprogname" = xyes
19580 then :
19581 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19584 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19585 if test "x$ac_cv_func_sigprocmask" = xyes
19586 then :
19587 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19590 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19591 if test "x$ac_cv_func_sysinfo" = xyes
19592 then :
19593 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19596 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19597 if test "x$ac_cv_func_tcdrain" = xyes
19598 then :
19599 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19602 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19603 if test "x$ac_cv_func_thr_kill2" = xyes
19604 then :
19605 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19609 CFLAGS="$ac_save_CFLAGS"
19611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19612 printf %s "checking for library containing dlopen... " >&6; }
19613 if test ${ac_cv_search_dlopen+y}
19614 then :
19615 printf %s "(cached) " >&6
19616 else $as_nop
19617 ac_func_search_save_LIBS=$LIBS
19618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19619 /* end confdefs.h. */
19621 /* Override any GCC internal prototype to avoid an error.
19622 Use char because int might match the return type of a GCC
19623 builtin and then its argument prototype would still apply. */
19624 char dlopen ();
19626 main (void)
19628 return dlopen ();
19630 return 0;
19632 _ACEOF
19633 for ac_lib in '' dl
19635 if test -z "$ac_lib"; then
19636 ac_res="none required"
19637 else
19638 ac_res=-l$ac_lib
19639 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19641 if ac_fn_c_try_link "$LINENO"
19642 then :
19643 ac_cv_search_dlopen=$ac_res
19645 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19646 conftest$ac_exeext
19647 if test ${ac_cv_search_dlopen+y}
19648 then :
19649 break
19651 done
19652 if test ${ac_cv_search_dlopen+y}
19653 then :
19655 else $as_nop
19656 ac_cv_search_dlopen=no
19658 rm conftest.$ac_ext
19659 LIBS=$ac_func_search_save_LIBS
19661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19662 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19663 ac_res=$ac_cv_search_dlopen
19664 if test "$ac_res" != no
19665 then :
19666 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19670 ac_wine_check_funcs_save_LIBS="$LIBS"
19671 LIBS="$LIBS $DL_LIBS"
19672 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19673 if test "x$ac_cv_func_dlinfo" = xyes
19674 then :
19675 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19679 LIBS="$ac_wine_check_funcs_save_LIBS"
19681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19682 printf %s "checking for library containing gethostbyname... " >&6; }
19683 if test ${ac_cv_search_gethostbyname+y}
19684 then :
19685 printf %s "(cached) " >&6
19686 else $as_nop
19687 ac_func_search_save_LIBS=$LIBS
19688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19689 /* end confdefs.h. */
19691 /* Override any GCC internal prototype to avoid an error.
19692 Use char because int might match the return type of a GCC
19693 builtin and then its argument prototype would still apply. */
19694 char gethostbyname ();
19696 main (void)
19698 return gethostbyname ();
19700 return 0;
19702 _ACEOF
19703 for ac_lib in '' nsl
19705 if test -z "$ac_lib"; then
19706 ac_res="none required"
19707 else
19708 ac_res=-l$ac_lib
19709 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19711 if ac_fn_c_try_link "$LINENO"
19712 then :
19713 ac_cv_search_gethostbyname=$ac_res
19715 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19716 conftest$ac_exeext
19717 if test ${ac_cv_search_gethostbyname+y}
19718 then :
19719 break
19721 done
19722 if test ${ac_cv_search_gethostbyname+y}
19723 then :
19725 else $as_nop
19726 ac_cv_search_gethostbyname=no
19728 rm conftest.$ac_ext
19729 LIBS=$ac_func_search_save_LIBS
19731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19732 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19733 ac_res=$ac_cv_search_gethostbyname
19734 if test "$ac_res" != no
19735 then :
19736 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19742 printf %s "checking for library containing connect... " >&6; }
19743 if test ${ac_cv_search_connect+y}
19744 then :
19745 printf %s "(cached) " >&6
19746 else $as_nop
19747 ac_func_search_save_LIBS=$LIBS
19748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19749 /* end confdefs.h. */
19751 /* Override any GCC internal prototype to avoid an error.
19752 Use char because int might match the return type of a GCC
19753 builtin and then its argument prototype would still apply. */
19754 char connect ();
19756 main (void)
19758 return connect ();
19760 return 0;
19762 _ACEOF
19763 for ac_lib in '' socket
19765 if test -z "$ac_lib"; then
19766 ac_res="none required"
19767 else
19768 ac_res=-l$ac_lib
19769 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19771 if ac_fn_c_try_link "$LINENO"
19772 then :
19773 ac_cv_search_connect=$ac_res
19775 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19776 conftest$ac_exeext
19777 if test ${ac_cv_search_connect+y}
19778 then :
19779 break
19781 done
19782 if test ${ac_cv_search_connect+y}
19783 then :
19785 else $as_nop
19786 ac_cv_search_connect=no
19788 rm conftest.$ac_ext
19789 LIBS=$ac_func_search_save_LIBS
19791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19792 printf "%s\n" "$ac_cv_search_connect" >&6; }
19793 ac_res=$ac_cv_search_connect
19794 if test "$ac_res" != no
19795 then :
19796 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19802 printf %s "checking for library containing inet_aton... " >&6; }
19803 if test ${ac_cv_search_inet_aton+y}
19804 then :
19805 printf %s "(cached) " >&6
19806 else $as_nop
19807 ac_func_search_save_LIBS=$LIBS
19808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19809 /* end confdefs.h. */
19811 /* Override any GCC internal prototype to avoid an error.
19812 Use char because int might match the return type of a GCC
19813 builtin and then its argument prototype would still apply. */
19814 char inet_aton ();
19816 main (void)
19818 return inet_aton ();
19820 return 0;
19822 _ACEOF
19823 for ac_lib in '' resolv
19825 if test -z "$ac_lib"; then
19826 ac_res="none required"
19827 else
19828 ac_res=-l$ac_lib
19829 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19831 if ac_fn_c_try_link "$LINENO"
19832 then :
19833 ac_cv_search_inet_aton=$ac_res
19835 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19836 conftest$ac_exeext
19837 if test ${ac_cv_search_inet_aton+y}
19838 then :
19839 break
19841 done
19842 if test ${ac_cv_search_inet_aton+y}
19843 then :
19845 else $as_nop
19846 ac_cv_search_inet_aton=no
19848 rm conftest.$ac_ext
19849 LIBS=$ac_func_search_save_LIBS
19851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19852 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19853 ac_res=$ac_cv_search_inet_aton
19854 if test "$ac_res" != no
19855 then :
19856 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19861 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19862 if test "x$ac_cv_func_getaddrinfo" = xyes
19863 then :
19864 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19869 case $host_os in
19870 darwin*|macosx*) ;;
19871 *) ac_save_LIBS=$LIBS
19872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19873 printf %s "checking for library containing clock_gettime... " >&6; }
19874 if test ${ac_cv_search_clock_gettime+y}
19875 then :
19876 printf %s "(cached) " >&6
19877 else $as_nop
19878 ac_func_search_save_LIBS=$LIBS
19879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19880 /* end confdefs.h. */
19882 /* Override any GCC internal prototype to avoid an error.
19883 Use char because int might match the return type of a GCC
19884 builtin and then its argument prototype would still apply. */
19885 char clock_gettime ();
19887 main (void)
19889 return clock_gettime ();
19891 return 0;
19893 _ACEOF
19894 for ac_lib in '' rt
19896 if test -z "$ac_lib"; then
19897 ac_res="none required"
19898 else
19899 ac_res=-l$ac_lib
19900 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19902 if ac_fn_c_try_link "$LINENO"
19903 then :
19904 ac_cv_search_clock_gettime=$ac_res
19906 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19907 conftest$ac_exeext
19908 if test ${ac_cv_search_clock_gettime+y}
19909 then :
19910 break
19912 done
19913 if test ${ac_cv_search_clock_gettime+y}
19914 then :
19916 else $as_nop
19917 ac_cv_search_clock_gettime=no
19919 rm conftest.$ac_ext
19920 LIBS=$ac_func_search_save_LIBS
19922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19923 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
19924 ac_res=$ac_cv_search_clock_gettime
19925 if test "$ac_res" != no
19926 then :
19927 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19929 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
19931 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
19935 LIBS=$ac_save_LIBS
19937 esac
19939 if test "x$with_ldap" != "xno"
19940 then
19941 if ${LDAP_CFLAGS:+false} :
19942 then :
19943 if test ${PKG_CONFIG+y}
19944 then :
19945 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
19949 if ${LDAP_LIBS:+false} :
19950 then :
19951 if test ${PKG_CONFIG+y}
19952 then :
19953 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
19957 LDAP_LIBS=${LDAP_LIBS:-"-lldap -llber"}
19958 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
19959 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
19960 ac_save_CPPFLAGS=$CPPFLAGS
19961 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
19962 ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
19963 if test "x$ac_cv_header_ldap_h" = xyes
19964 then :
19965 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
19968 ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
19969 if test "x$ac_cv_header_lber_h" = xyes
19970 then :
19971 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
19975 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
19976 then
19977 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
19979 if test "x$ac_cv_type_LDAPSortKey" = xyes
19980 then :
19981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
19982 printf %s "checking for ldap_initialize in -lldap... " >&6; }
19983 if test ${ac_cv_lib_ldap_ldap_initialize+y}
19984 then :
19985 printf %s "(cached) " >&6
19986 else $as_nop
19987 ac_check_lib_save_LIBS=$LIBS
19988 LIBS="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
19989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19990 /* end confdefs.h. */
19992 /* Override any GCC internal prototype to avoid an error.
19993 Use char because int might match the return type of a GCC
19994 builtin and then its argument prototype would still apply. */
19995 char ldap_initialize ();
19997 main (void)
19999 return ldap_initialize ();
20001 return 0;
20003 _ACEOF
20004 if ac_fn_c_try_link "$LINENO"
20005 then :
20006 ac_cv_lib_ldap_ldap_initialize=yes
20007 else $as_nop
20008 ac_cv_lib_ldap_ldap_initialize=no
20010 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20011 conftest$ac_exeext conftest.$ac_ext
20012 LIBS=$ac_check_lib_save_LIBS
20014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
20015 printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
20016 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
20017 then :
20018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20019 printf %s "checking for ber_init in -llber... " >&6; }
20020 if test ${ac_cv_lib_lber_ber_init+y}
20021 then :
20022 printf %s "(cached) " >&6
20023 else $as_nop
20024 ac_check_lib_save_LIBS=$LIBS
20025 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20027 /* end confdefs.h. */
20029 /* Override any GCC internal prototype to avoid an error.
20030 Use char because int might match the return type of a GCC
20031 builtin and then its argument prototype would still apply. */
20032 char ber_init ();
20034 main (void)
20036 return ber_init ();
20038 return 0;
20040 _ACEOF
20041 if ac_fn_c_try_link "$LINENO"
20042 then :
20043 ac_cv_lib_lber_ber_init=yes
20044 else $as_nop
20045 ac_cv_lib_lber_ber_init=no
20047 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20048 conftest$ac_exeext conftest.$ac_ext
20049 LIBS=$ac_check_lib_save_LIBS
20051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20052 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20053 if test "x$ac_cv_lib_lber_ber_init" = xyes
20054 then :
20056 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20058 else $as_nop
20059 LDAP_LIBS=""
20062 else $as_nop
20063 LDAP_LIBS=""
20066 else $as_nop
20067 LDAP_LIBS=""
20070 else
20071 LDAP_LIBS=""
20073 CPPFLAGS=$ac_save_CPPFLAGS
20076 if test "x$LDAP_LIBS" = "x"
20077 then :
20078 case "x$with_ldap" in
20079 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20080 xno) ;;
20081 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20082 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20083 esac
20087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20088 printf %s "checking for sched_setaffinity... " >&6; }
20089 if test ${wine_cv_have_sched_setaffinity+y}
20090 then :
20091 printf %s "(cached) " >&6
20092 else $as_nop
20093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20094 /* end confdefs.h. */
20095 #include <sched.h>
20097 main (void)
20099 sched_setaffinity(0, 0, 0);
20101 return 0;
20103 _ACEOF
20104 if ac_fn_c_try_link "$LINENO"
20105 then :
20106 wine_cv_have_sched_setaffinity=yes
20107 else $as_nop
20108 wine_cv_have_sched_setaffinity=no
20110 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20111 conftest$ac_exeext conftest.$ac_ext
20113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20114 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20115 if test "$wine_cv_have_sched_setaffinity" = "yes"
20116 then
20118 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20124 printf %s "checking for inline... " >&6; }
20125 if test ${ac_cv_c_inline+y}
20126 then :
20127 printf %s "(cached) " >&6
20128 else $as_nop
20129 ac_cv_c_inline=no
20130 for ac_kw in inline __inline__ __inline; do
20131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20132 /* end confdefs.h. */
20133 #ifndef __cplusplus
20134 typedef int foo_t;
20135 static $ac_kw foo_t static_foo (void) {return 0; }
20136 $ac_kw foo_t foo (void) {return 0; }
20137 #endif
20139 _ACEOF
20140 if ac_fn_c_try_compile "$LINENO"
20141 then :
20142 ac_cv_c_inline=$ac_kw
20144 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20145 test "$ac_cv_c_inline" != no && break
20146 done
20149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20150 printf "%s\n" "$ac_cv_c_inline" >&6; }
20152 case $ac_cv_c_inline in
20153 inline | yes) ;;
20155 case $ac_cv_c_inline in
20156 no) ac_val=;;
20157 *) ac_val=$ac_cv_c_inline;;
20158 esac
20159 cat >>confdefs.h <<_ACEOF
20160 #ifndef __cplusplus
20161 #define inline $ac_val
20162 #endif
20163 _ACEOF
20165 esac
20167 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20168 #include <signal.h>
20170 if test "x$ac_cv_type_sigset_t" = xyes
20171 then :
20173 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20178 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20180 if test "x$ac_cv_type_request_sense" = xyes
20181 then :
20183 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20189 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20190 #include <sys/socket.h>
20191 #ifdef HAVE_SYS_SOCKETVAR_H
20192 #include <sys/socketvar.h>
20193 #endif
20194 #ifdef HAVE_NET_ROUTE_H
20195 #include <net/route.h>
20196 #endif
20197 #ifdef HAVE_NETINET_IN_H
20198 #include <netinet/in.h>
20199 #endif
20200 #ifdef HAVE_NETINET_IN_SYSTM_H
20201 #include <netinet/in_systm.h>
20202 #endif
20203 #ifdef HAVE_NETINET_IP_H
20204 #include <netinet/ip.h>
20205 #endif
20206 #ifdef HAVE_NETINET_IN_PCB_H
20207 #include <netinet/in_pcb.h>
20208 #endif
20210 if test "x$ac_cv_type_struct_xinpgen" = xyes
20211 then :
20213 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20220 printf %s "checking for sigaddset... " >&6; }
20221 if test ${wine_cv_have_sigaddset+y}
20222 then :
20223 printf %s "(cached) " >&6
20224 else $as_nop
20225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20226 /* end confdefs.h. */
20227 #include <signal.h>
20229 main (void)
20231 sigset_t set; sigaddset(&set,SIGTERM);
20233 return 0;
20235 _ACEOF
20236 if ac_fn_c_try_link "$LINENO"
20237 then :
20238 wine_cv_have_sigaddset=yes
20239 else $as_nop
20240 wine_cv_have_sigaddset=no
20242 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20243 conftest$ac_exeext conftest.$ac_ext
20245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20246 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20247 if test "$wine_cv_have_sigaddset" = "yes"
20248 then
20250 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20256 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20257 if test ${wine_cv_linux_gethostbyname_r_6+y}
20258 then :
20259 printf %s "(cached) " >&6
20260 else $as_nop
20261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20262 /* end confdefs.h. */
20263 #include <netdb.h>
20265 main (void)
20268 char *name=0;
20269 struct hostent he;
20270 struct hostent *result;
20271 char *buf=0;
20272 int bufsize=0;
20273 int errnr;
20274 char *addr=0;
20275 int addrlen=0;
20276 int addrtype=0;
20277 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20278 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20281 return 0;
20283 _ACEOF
20284 if ac_fn_c_try_link "$LINENO"
20285 then :
20286 wine_cv_linux_gethostbyname_r_6=yes
20287 else $as_nop
20288 wine_cv_linux_gethostbyname_r_6=no
20291 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20292 conftest$ac_exeext conftest.$ac_ext
20295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20296 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20297 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20298 then
20300 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20304 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20305 #include <sys/socket.h>
20306 #ifdef HAVE_SYS_UN_H
20307 # include <sys/un.h>
20308 #endif
20310 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20311 then :
20313 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20317 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20318 #include <sys/socket.h>
20319 #ifdef HAVE_SYS_UN_H
20320 # include <sys/un.h>
20321 #endif
20323 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20324 then :
20326 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20332 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20333 #ifdef HAVE_SCSI_SG_H
20334 #include <scsi/sg.h>
20335 #endif
20337 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20338 then :
20340 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20344 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>
20345 #ifdef HAVE_SCSI_SG_H
20346 #include <scsi/sg.h>
20347 #endif
20349 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20350 then :
20352 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20358 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20360 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20361 then :
20363 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20369 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20370 #ifdef HAVE_SYS_MTIO_H
20371 #include <sys/mtio.h>
20372 #endif
20374 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20375 then :
20377 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20381 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20382 #ifdef HAVE_SYS_MTIO_H
20383 #include <sys/mtio.h>
20384 #endif
20386 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20387 then :
20389 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20393 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20394 #ifdef HAVE_SYS_MTIO_H
20395 #include <sys/mtio.h>
20396 #endif
20398 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20399 then :
20401 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20407 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20408 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20409 then :
20411 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20415 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20416 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20417 then :
20419 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20423 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20424 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20425 then :
20427 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20431 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20432 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20433 then :
20435 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20439 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20440 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20441 then :
20443 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20447 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20448 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20449 then :
20451 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20455 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20456 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20457 then :
20459 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20463 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20464 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20465 then :
20467 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20471 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20472 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20473 then :
20475 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20479 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20480 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20481 then :
20483 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20487 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20488 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20489 then :
20491 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20497 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>
20498 #ifdef HAVE_NETINET_IN_H
20499 #include <netinet/in.h>
20500 #endif
20502 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20503 then :
20505 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20511 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
20512 #include <resolv.h>
20513 #endif
20515 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20516 then :
20518 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20524 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20525 #include <netinet/in.h>
20526 #endif
20528 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20529 then :
20531 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20537 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20538 #ifdef HAVE_SYS_SOCKETVAR_H
20539 #include <sys/socketvar.h>
20540 #endif
20541 #ifdef HAVE_NETINET_IN_H
20542 #include <netinet/in.h>
20543 #endif
20544 #ifdef HAVE_NETINET_IP_VAR_H
20545 #include <netinet/ip_var.h>
20546 #endif
20548 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20549 then :
20551 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20557 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
20558 #include <netinet/ip_var.h>
20559 #endif
20561 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20562 then :
20564 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20570 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20571 #ifdef HAVE_SYS_SOCKETVAR_H
20572 #include <sys/socketvar.h>
20573 #endif
20574 #ifdef HAVE_NETINET_IN_H
20575 #include <netinet/in.h>
20576 #endif
20577 #ifdef HAVE_NETINET_TCP_H
20578 #include <netinet/tcp.h>
20579 #endif
20580 #ifdef HAVE_NETINET_TCP_VAR_H
20581 #include <netinet/tcp_var.h>
20582 #endif
20584 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20585 then :
20587 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20593 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
20594 #include <netinet/tcp_var.h>
20595 #endif
20597 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20598 then :
20600 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20606 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20607 #ifdef HAVE_NETINET_IN_H
20608 #include <netinet/in.h>
20609 #endif
20610 #ifdef HAVE_NETINET_IP_VAR_H
20611 #include <netinet/ip_var.h>
20612 #endif
20613 #ifdef HAVE_NETINET_UDP_H
20614 #include <netinet/udp.h>
20615 #endif
20616 #ifdef HAVE_NETINET_UDP_VAR_H
20617 #include <netinet/udp_var.h>
20618 #endif
20620 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20621 then :
20623 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20629 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20630 #ifdef HAVE_NET_IF_H
20631 # include <net/if.h>
20632 #endif
20634 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20635 then :
20637 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20643 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20644 # include <sys/sysinfo.h>
20645 #endif
20647 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20648 then :
20650 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20654 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20655 # include <sys/sysinfo.h>
20656 #endif
20658 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20659 then :
20661 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20667 ac_save_LIBS="$LIBS"
20668 LIBS="$LIBS -lm"
20669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
20670 printf %s "checking for isfinite... " >&6; }
20671 if test ${ac_cv_have_isfinite+y}
20672 then :
20673 printf %s "(cached) " >&6
20674 else $as_nop
20675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20676 /* end confdefs.h. */
20677 #include <math.h>
20679 main (void)
20681 float f = 0.0; return isfinite(f)
20683 return 0;
20685 _ACEOF
20686 if ac_fn_c_try_link "$LINENO"
20687 then :
20688 ac_cv_have_isfinite="yes"
20689 else $as_nop
20690 ac_cv_have_isfinite="no"
20692 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20693 conftest$ac_exeext conftest.$ac_ext
20695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
20696 printf "%s\n" "$ac_cv_have_isfinite" >&6; }
20697 if test "$ac_cv_have_isfinite" = "yes"
20698 then
20700 printf "%s\n" "#define HAVE_ISFINITE 1" >>confdefs.h
20704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
20705 printf %s "checking for isinf... " >&6; }
20706 if test ${ac_cv_have_isinf+y}
20707 then :
20708 printf %s "(cached) " >&6
20709 else $as_nop
20710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20711 /* end confdefs.h. */
20712 #include <math.h>
20714 main (void)
20716 float f = 0.0; return isinf(f)
20718 return 0;
20720 _ACEOF
20721 if ac_fn_c_try_link "$LINENO"
20722 then :
20723 ac_cv_have_isinf="yes"
20724 else $as_nop
20725 ac_cv_have_isinf="no"
20727 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20728 conftest$ac_exeext conftest.$ac_ext
20730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
20731 printf "%s\n" "$ac_cv_have_isinf" >&6; }
20732 if test "$ac_cv_have_isinf" = "yes"
20733 then
20735 printf "%s\n" "#define HAVE_ISINF 1" >>confdefs.h
20739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
20740 printf %s "checking for isnan... " >&6; }
20741 if test ${ac_cv_have_isnan+y}
20742 then :
20743 printf %s "(cached) " >&6
20744 else $as_nop
20745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20746 /* end confdefs.h. */
20747 #include <math.h>
20749 main (void)
20751 float f = 0.0; return isnan(f)
20753 return 0;
20755 _ACEOF
20756 if ac_fn_c_try_link "$LINENO"
20757 then :
20758 ac_cv_have_isnan="yes"
20759 else $as_nop
20760 ac_cv_have_isnan="no"
20762 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20763 conftest$ac_exeext conftest.$ac_ext
20765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
20766 printf "%s\n" "$ac_cv_have_isnan" >&6; }
20767 if test "$ac_cv_have_isnan" = "yes"
20768 then
20770 printf "%s\n" "#define HAVE_ISNAN 1" >>confdefs.h
20774 LIBS="$ac_save_LIBS"
20776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20777 printf %s "checking for __builtin_popcount... " >&6; }
20778 if test ${ac_cv_have___builtin_popcount+y}
20779 then :
20780 printf %s "(cached) " >&6
20781 else $as_nop
20782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20783 /* end confdefs.h. */
20786 main (void)
20788 return __builtin_popcount(1)
20790 return 0;
20792 _ACEOF
20793 if ac_fn_c_try_link "$LINENO"
20794 then :
20795 ac_cv_have___builtin_popcount="yes"
20796 else $as_nop
20797 ac_cv_have___builtin_popcount="no"
20799 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20800 conftest$ac_exeext conftest.$ac_ext
20802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20803 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20804 if test "$ac_cv_have___builtin_popcount" = "yes"
20805 then
20807 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20812 printf %s "checking for __clear_cache... " >&6; }
20813 if test ${ac_cv_have___clear_cache+y}
20814 then :
20815 printf %s "(cached) " >&6
20816 else $as_nop
20817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20818 /* end confdefs.h. */
20821 main (void)
20823 __clear_cache((void*)0, (void*)0); return 0;
20825 return 0;
20827 _ACEOF
20828 if ac_fn_c_try_link "$LINENO"
20829 then :
20830 ac_cv_have___clear_cache="yes"
20831 else $as_nop
20832 ac_cv_have___clear_cache="no"
20834 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20835 conftest$ac_exeext conftest.$ac_ext
20837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20838 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20839 if test "$ac_cv_have___clear_cache" = "yes"
20840 then
20842 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20847 case $host_cpu in
20848 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20849 printf %s "checking whether we need to define __i386__... " >&6; }
20850 if test ${ac_cv_cpp_def___i386__+y}
20851 then :
20852 printf %s "(cached) " >&6
20853 else $as_nop
20854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20855 /* end confdefs.h. */
20856 #ifndef __i386__
20858 #endif
20859 _ACEOF
20860 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20861 $EGREP "yes" >/dev/null 2>&1
20862 then :
20863 ac_cv_cpp_def___i386__=yes
20864 else $as_nop
20865 ac_cv_cpp_def___i386__=no
20867 rm -rf conftest*
20870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20871 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20872 if test "x$ac_cv_cpp_def___i386__" = xyes
20873 then :
20874 CFLAGS="$CFLAGS -D__i386__"
20875 LINTFLAGS="$LINTFLAGS -D__i386__"
20876 fi ;;
20877 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20878 printf %s "checking whether we need to define __x86_64__... " >&6; }
20879 if test ${ac_cv_cpp_def___x86_64__+y}
20880 then :
20881 printf %s "(cached) " >&6
20882 else $as_nop
20883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20884 /* end confdefs.h. */
20885 #ifndef __x86_64__
20887 #endif
20888 _ACEOF
20889 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20890 $EGREP "yes" >/dev/null 2>&1
20891 then :
20892 ac_cv_cpp_def___x86_64__=yes
20893 else $as_nop
20894 ac_cv_cpp_def___x86_64__=no
20896 rm -rf conftest*
20899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20900 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20901 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20902 then :
20903 CFLAGS="$CFLAGS -D__x86_64__"
20904 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20905 fi ;;
20906 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20907 printf %s "checking whether we need to define __sparc64__... " >&6; }
20908 if test ${ac_cv_cpp_def___sparc64__+y}
20909 then :
20910 printf %s "(cached) " >&6
20911 else $as_nop
20912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20913 /* end confdefs.h. */
20914 #ifndef __sparc64__
20916 #endif
20917 _ACEOF
20918 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20919 $EGREP "yes" >/dev/null 2>&1
20920 then :
20921 ac_cv_cpp_def___sparc64__=yes
20922 else $as_nop
20923 ac_cv_cpp_def___sparc64__=no
20925 rm -rf conftest*
20928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20929 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20930 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20931 then :
20932 CFLAGS="$CFLAGS -D__sparc64__"
20933 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20934 fi ;;
20935 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20936 printf %s "checking whether we need to define __sparc__... " >&6; }
20937 if test ${ac_cv_cpp_def___sparc__+y}
20938 then :
20939 printf %s "(cached) " >&6
20940 else $as_nop
20941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20942 /* end confdefs.h. */
20943 #ifndef __sparc__
20945 #endif
20946 _ACEOF
20947 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20948 $EGREP "yes" >/dev/null 2>&1
20949 then :
20950 ac_cv_cpp_def___sparc__=yes
20951 else $as_nop
20952 ac_cv_cpp_def___sparc__=no
20954 rm -rf conftest*
20957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20958 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20959 if test "x$ac_cv_cpp_def___sparc__" = xyes
20960 then :
20961 CFLAGS="$CFLAGS -D__sparc__"
20962 LINTFLAGS="$LINTFLAGS -D__sparc__"
20963 fi ;;
20964 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20965 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20966 if test ${ac_cv_cpp_def___powerpc64__+y}
20967 then :
20968 printf %s "(cached) " >&6
20969 else $as_nop
20970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20971 /* end confdefs.h. */
20972 #ifndef __powerpc64__
20974 #endif
20975 _ACEOF
20976 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20977 $EGREP "yes" >/dev/null 2>&1
20978 then :
20979 ac_cv_cpp_def___powerpc64__=yes
20980 else $as_nop
20981 ac_cv_cpp_def___powerpc64__=no
20983 rm -rf conftest*
20986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20987 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20988 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20989 then :
20990 CFLAGS="$CFLAGS -D__powerpc64__"
20991 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20992 fi ;;
20993 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20994 printf %s "checking whether we need to define __powerpc__... " >&6; }
20995 if test ${ac_cv_cpp_def___powerpc__+y}
20996 then :
20997 printf %s "(cached) " >&6
20998 else $as_nop
20999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21000 /* end confdefs.h. */
21001 #ifndef __powerpc__
21003 #endif
21004 _ACEOF
21005 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21006 $EGREP "yes" >/dev/null 2>&1
21007 then :
21008 ac_cv_cpp_def___powerpc__=yes
21009 else $as_nop
21010 ac_cv_cpp_def___powerpc__=no
21012 rm -rf conftest*
21015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21016 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21017 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21018 then :
21019 CFLAGS="$CFLAGS -D__powerpc__"
21020 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21021 fi ;;
21022 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21023 printf %s "checking whether we need to define __aarch64__... " >&6; }
21024 if test ${ac_cv_cpp_def___aarch64__+y}
21025 then :
21026 printf %s "(cached) " >&6
21027 else $as_nop
21028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21029 /* end confdefs.h. */
21030 #ifndef __aarch64__
21032 #endif
21033 _ACEOF
21034 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21035 $EGREP "yes" >/dev/null 2>&1
21036 then :
21037 ac_cv_cpp_def___aarch64__=yes
21038 else $as_nop
21039 ac_cv_cpp_def___aarch64__=no
21041 rm -rf conftest*
21044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21045 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21046 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21047 then :
21048 CFLAGS="$CFLAGS -D__aarch64__"
21049 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21050 fi ;;
21051 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21052 printf %s "checking whether we need to define __arm__... " >&6; }
21053 if test ${ac_cv_cpp_def___arm__+y}
21054 then :
21055 printf %s "(cached) " >&6
21056 else $as_nop
21057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21058 /* end confdefs.h. */
21059 #ifndef __arm__
21061 #endif
21062 _ACEOF
21063 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21064 $EGREP "yes" >/dev/null 2>&1
21065 then :
21066 ac_cv_cpp_def___arm__=yes
21067 else $as_nop
21068 ac_cv_cpp_def___arm__=no
21070 rm -rf conftest*
21073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21074 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21075 if test "x$ac_cv_cpp_def___arm__" = xyes
21076 then :
21077 CFLAGS="$CFLAGS -D__arm__"
21078 LINTFLAGS="$LINTFLAGS -D__arm__"
21079 fi ;;
21080 esac
21082 case $host_vendor in
21083 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21084 printf %s "checking whether we need to define __sun__... " >&6; }
21085 if test ${ac_cv_cpp_def___sun__+y}
21086 then :
21087 printf %s "(cached) " >&6
21088 else $as_nop
21089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21090 /* end confdefs.h. */
21091 #ifndef __sun__
21093 #endif
21094 _ACEOF
21095 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21096 $EGREP "yes" >/dev/null 2>&1
21097 then :
21098 ac_cv_cpp_def___sun__=yes
21099 else $as_nop
21100 ac_cv_cpp_def___sun__=no
21102 rm -rf conftest*
21105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21106 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21107 if test "x$ac_cv_cpp_def___sun__" = xyes
21108 then :
21109 CFLAGS="$CFLAGS -D__sun__"
21110 LINTFLAGS="$LINTFLAGS -D__sun__"
21111 fi ;;
21112 esac
21118 ac_config_commands="$ac_config_commands include/stamp-h"
21120 printf %s "creating Makefile rules..." >&6
21122 makedep_flags=""
21123 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21125 wine_srcdir=
21126 test "$srcdir" = . || wine_srcdir="$srcdir/"
21128 ac_config_links="$ac_config_links wine:tools/winewrapper"
21129 wine_fn_config_symlink wine
21130 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
21131 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21132 wine_fn_config_symlink wine64
21135 wine_fn_config_makefile dlls/acledit enable_acledit
21136 wine_fn_config_makefile dlls/aclui enable_aclui
21137 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21138 wine_fn_config_makefile dlls/activeds enable_activeds
21139 wine_fn_config_makefile dlls/activeds/tests enable_tests
21140 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21141 wine_fn_config_makefile dlls/adsldp enable_adsldp
21142 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21143 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21144 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21145 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21146 wine_fn_config_makefile dlls/advpack enable_advpack
21147 wine_fn_config_makefile dlls/advpack/tests enable_tests
21148 wine_fn_config_makefile dlls/amsi enable_amsi
21149 wine_fn_config_makefile dlls/amstream enable_amstream
21150 wine_fn_config_makefile dlls/amstream/tests enable_tests
21151 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21152 wine_fn_config_makefile dlls/apphelp enable_apphelp
21153 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21154 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21155 wine_fn_config_makefile dlls/atl enable_atl
21156 wine_fn_config_makefile dlls/atl/tests enable_tests
21157 wine_fn_config_makefile dlls/atl100 enable_atl100
21158 wine_fn_config_makefile dlls/atl100/tests enable_tests
21159 wine_fn_config_makefile dlls/atl110 enable_atl110
21160 wine_fn_config_makefile dlls/atl80 enable_atl80
21161 wine_fn_config_makefile dlls/atl80/tests enable_tests
21162 wine_fn_config_makefile dlls/atl90 enable_atl90
21163 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21164 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21165 wine_fn_config_makefile dlls/atmlib enable_atmlib
21166 wine_fn_config_makefile dlls/authz enable_authz
21167 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21168 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21169 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21170 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21171 wine_fn_config_makefile dlls/avrt enable_avrt
21172 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21173 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21174 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21175 wine_fn_config_makefile dlls/browseui enable_browseui
21176 wine_fn_config_makefile dlls/browseui/tests enable_tests
21177 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21178 wine_fn_config_makefile dlls/cabinet enable_cabinet
21179 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21180 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21181 wine_fn_config_makefile dlls/cards enable_cards
21182 wine_fn_config_makefile dlls/cdosys enable_cdosys
21183 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21184 wine_fn_config_makefile dlls/clusapi enable_clusapi
21185 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21186 wine_fn_config_makefile dlls/combase enable_combase
21187 wine_fn_config_makefile dlls/combase/tests enable_tests
21188 wine_fn_config_makefile dlls/comcat enable_comcat
21189 wine_fn_config_makefile dlls/comcat/tests enable_tests
21190 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21191 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21192 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21193 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21194 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21195 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21196 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21197 wine_fn_config_makefile dlls/compstui enable_compstui
21198 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21199 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21200 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21201 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21202 wine_fn_config_makefile dlls/connect enable_connect
21203 wine_fn_config_makefile dlls/credui enable_credui
21204 wine_fn_config_makefile dlls/credui/tests enable_tests
21205 wine_fn_config_makefile dlls/crtdll enable_crtdll
21206 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21207 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21208 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21209 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21210 wine_fn_config_makefile dlls/cryptext enable_cryptext
21211 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21212 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21213 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21214 wine_fn_config_makefile dlls/cryptui enable_cryptui
21215 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21216 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21217 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21218 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21219 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21220 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21221 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21222 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21223 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21224 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21225 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21226 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21227 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21228 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21229 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21230 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21231 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21232 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21233 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21234 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21235 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21236 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21237 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21238 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21239 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21240 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21241 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21242 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21243 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21244 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21245 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21246 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21247 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21248 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21249 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21250 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21251 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21252 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21253 wine_fn_config_makefile dlls/d3dim enable_d3dim
21254 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21255 wine_fn_config_makefile dlls/d3drm enable_d3drm
21256 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21257 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21258 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21259 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21260 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21261 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21262 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21263 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21264 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21265 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21266 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21267 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21268 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21269 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21270 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21271 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21272 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21273 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21274 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21275 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21276 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21277 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21278 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21279 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21280 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21281 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21282 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21283 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21284 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21285 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21286 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21287 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21288 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21289 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21290 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21291 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21292 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21293 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21294 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21295 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21296 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21297 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21298 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21299 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21300 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21301 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21302 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21303 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21304 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21305 wine_fn_config_makefile dlls/davclnt enable_davclnt
21306 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21307 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21308 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21309 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21310 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21311 wine_fn_config_makefile dlls/dcomp enable_dcomp
21312 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21313 wine_fn_config_makefile dlls/ddraw enable_ddraw
21314 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21315 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21316 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21317 wine_fn_config_makefile dlls/devenum enable_devenum
21318 wine_fn_config_makefile dlls/devenum/tests enable_tests
21319 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21320 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21321 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21322 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21323 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21324 wine_fn_config_makefile dlls/difxapi enable_difxapi
21325 wine_fn_config_makefile dlls/dinput enable_dinput
21326 wine_fn_config_makefile dlls/dinput/tests enable_tests
21327 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21328 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21329 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21330 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21331 wine_fn_config_makefile dlls/dispex enable_dispex
21332 wine_fn_config_makefile dlls/dispex/tests enable_tests
21333 wine_fn_config_makefile dlls/display.drv16 enable_win16
21334 wine_fn_config_makefile dlls/dmband enable_dmband
21335 wine_fn_config_makefile dlls/dmband/tests enable_tests
21336 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21337 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21338 wine_fn_config_makefile dlls/dmime enable_dmime
21339 wine_fn_config_makefile dlls/dmime/tests enable_tests
21340 wine_fn_config_makefile dlls/dmloader enable_dmloader
21341 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21342 wine_fn_config_makefile dlls/dmscript enable_dmscript
21343 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21344 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21345 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21346 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21347 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21348 wine_fn_config_makefile dlls/dmusic enable_dmusic
21349 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21350 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21351 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21352 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21353 wine_fn_config_makefile dlls/dplay enable_dplay
21354 wine_fn_config_makefile dlls/dplayx enable_dplayx
21355 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21356 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21357 wine_fn_config_makefile dlls/dpnet enable_dpnet
21358 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21359 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21360 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21361 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21362 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21363 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21364 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21365 wine_fn_config_makefile dlls/drmclien enable_drmclien
21366 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21367 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21368 wine_fn_config_makefile dlls/dsound enable_dsound
21369 wine_fn_config_makefile dlls/dsound/tests enable_tests
21370 wine_fn_config_makefile dlls/dsquery enable_dsquery
21371 wine_fn_config_makefile dlls/dssenh enable_dssenh
21372 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21373 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21374 wine_fn_config_makefile dlls/dswave enable_dswave
21375 wine_fn_config_makefile dlls/dswave/tests enable_tests
21376 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21377 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21378 wine_fn_config_makefile dlls/dwrite enable_dwrite
21379 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21380 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21381 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21382 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21383 wine_fn_config_makefile dlls/dxgi enable_dxgi
21384 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21385 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21386 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21387 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21388 wine_fn_config_makefile dlls/esent enable_esent
21389 wine_fn_config_makefile dlls/evr enable_evr
21390 wine_fn_config_makefile dlls/evr/tests enable_tests
21391 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21392 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21393 wine_fn_config_makefile dlls/faultrep enable_faultrep
21394 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21395 wine_fn_config_makefile dlls/feclient enable_feclient
21396 wine_fn_config_makefile dlls/fltlib enable_fltlib
21397 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21398 wine_fn_config_makefile dlls/fntcache enable_fntcache
21399 wine_fn_config_makefile dlls/fontsub enable_fontsub
21400 wine_fn_config_makefile dlls/fusion enable_fusion
21401 wine_fn_config_makefile dlls/fusion/tests enable_tests
21402 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21403 wine_fn_config_makefile dlls/gameux enable_gameux
21404 wine_fn_config_makefile dlls/gameux/tests enable_tests
21405 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21406 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21407 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21408 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21409 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21410 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21411 wine_fn_config_makefile dlls/glu32 enable_glu32
21412 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21413 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21414 wine_fn_config_makefile dlls/hal enable_hal
21415 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21416 wine_fn_config_makefile dlls/hid enable_hid
21417 wine_fn_config_makefile dlls/hid/tests enable_tests
21418 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21419 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21420 wine_fn_config_makefile dlls/hlink enable_hlink
21421 wine_fn_config_makefile dlls/hlink/tests enable_tests
21422 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21423 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21424 wine_fn_config_makefile dlls/http.sys enable_http_sys
21425 wine_fn_config_makefile dlls/httpapi enable_httpapi
21426 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21427 wine_fn_config_makefile dlls/iccvid enable_iccvid
21428 wine_fn_config_makefile dlls/icmp enable_icmp
21429 wine_fn_config_makefile dlls/ieframe enable_ieframe
21430 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21431 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21432 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21433 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21434 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21435 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21436 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21437 wine_fn_config_makefile dlls/imm32 enable_imm32
21438 wine_fn_config_makefile dlls/imm32/tests enable_tests
21439 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21440 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21441 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21442 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21443 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21444 wine_fn_config_makefile dlls/infosoft enable_infosoft
21445 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21446 wine_fn_config_makefile dlls/initpki enable_initpki
21447 wine_fn_config_makefile dlls/inkobj enable_inkobj
21448 wine_fn_config_makefile dlls/inseng enable_inseng
21449 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21450 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21451 wine_fn_config_makefile dlls/iprop enable_iprop
21452 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21453 wine_fn_config_makefile dlls/itircl enable_itircl
21454 wine_fn_config_makefile dlls/itss enable_itss
21455 wine_fn_config_makefile dlls/itss/tests enable_tests
21456 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21457 wine_fn_config_makefile dlls/jscript enable_jscript
21458 wine_fn_config_makefile dlls/jscript/tests enable_tests
21459 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21460 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21461 wine_fn_config_makefile dlls/kerberos enable_kerberos
21462 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21463 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21464 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21465 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21466 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21467 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21468 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21469 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21470 wine_fn_config_makefile dlls/ksuser enable_ksuser
21471 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21472 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21473 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21474 wine_fn_config_makefile dlls/loadperf enable_loadperf
21475 wine_fn_config_makefile dlls/localspl enable_localspl
21476 wine_fn_config_makefile dlls/localspl/tests enable_tests
21477 wine_fn_config_makefile dlls/localui enable_localui
21478 wine_fn_config_makefile dlls/localui/tests enable_tests
21479 wine_fn_config_makefile dlls/lz32 enable_lz32
21480 wine_fn_config_makefile dlls/lz32/tests enable_tests
21481 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21482 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21483 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21484 wine_fn_config_makefile dlls/mapistub enable_mapistub
21485 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21486 wine_fn_config_makefile dlls/mcicda enable_mcicda
21487 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21488 wine_fn_config_makefile dlls/mciseq enable_mciseq
21489 wine_fn_config_makefile dlls/mciwave enable_mciwave
21490 wine_fn_config_makefile dlls/mf enable_mf
21491 wine_fn_config_makefile dlls/mf/tests enable_tests
21492 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21493 wine_fn_config_makefile dlls/mferror enable_mferror
21494 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21495 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21496 wine_fn_config_makefile dlls/mfplat enable_mfplat
21497 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21498 wine_fn_config_makefile dlls/mfplay enable_mfplay
21499 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21500 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21501 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21502 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21503 wine_fn_config_makefile dlls/midimap enable_midimap
21504 wine_fn_config_makefile dlls/mlang enable_mlang
21505 wine_fn_config_makefile dlls/mlang/tests enable_tests
21506 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21507 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21508 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21509 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21510 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21511 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21512 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21513 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21514 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21515 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21516 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21517 wine_fn_config_makefile dlls/mpr enable_mpr
21518 wine_fn_config_makefile dlls/mpr/tests enable_tests
21519 wine_fn_config_makefile dlls/mprapi enable_mprapi
21520 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21521 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21522 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21523 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21524 wine_fn_config_makefile dlls/msado15 enable_msado15
21525 wine_fn_config_makefile dlls/msado15/tests enable_tests
21526 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21527 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21528 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21529 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21530 wine_fn_config_makefile dlls/mscms enable_mscms
21531 wine_fn_config_makefile dlls/mscms/tests enable_tests
21532 wine_fn_config_makefile dlls/mscoree enable_mscoree
21533 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21534 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21535 wine_fn_config_makefile dlls/msctf enable_msctf
21536 wine_fn_config_makefile dlls/msctf/tests enable_tests
21537 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21538 wine_fn_config_makefile dlls/msctfp enable_msctfp
21539 wine_fn_config_makefile dlls/msdaps enable_msdaps
21540 wine_fn_config_makefile dlls/msdasql enable_msdasql
21541 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21542 wine_fn_config_makefile dlls/msdelta enable_msdelta
21543 wine_fn_config_makefile dlls/msdmo enable_msdmo
21544 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21545 wine_fn_config_makefile dlls/msdrm enable_msdrm
21546 wine_fn_config_makefile dlls/msftedit enable_msftedit
21547 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21548 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21549 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21550 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21551 wine_fn_config_makefile dlls/mshtml enable_mshtml
21552 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21553 wine_fn_config_makefile dlls/msi enable_msi
21554 wine_fn_config_makefile dlls/msi/tests enable_tests
21555 wine_fn_config_makefile dlls/msident enable_msident
21556 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21557 wine_fn_config_makefile dlls/msimsg enable_msimsg
21558 wine_fn_config_makefile dlls/msimtf enable_msimtf
21559 wine_fn_config_makefile dlls/msisip enable_msisip
21560 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21561 wine_fn_config_makefile dlls/msls31 enable_msls31
21562 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21563 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21564 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21565 wine_fn_config_makefile dlls/msports enable_msports
21566 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21567 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21568 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21569 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21570 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21571 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21572 wine_fn_config_makefile dlls/mstask enable_mstask
21573 wine_fn_config_makefile dlls/mstask/tests enable_tests
21574 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21575 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21576 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21577 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21578 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21579 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21580 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21581 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21582 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21583 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21584 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21585 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21586 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21587 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21588 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21589 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21590 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21591 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21592 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21593 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21594 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21595 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21596 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21597 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21598 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21599 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21600 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21601 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21602 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21603 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21604 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21605 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21606 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21607 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21608 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21609 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21610 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21611 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21612 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21613 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21614 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21615 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21616 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21617 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21618 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21619 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21620 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21621 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21622 wine_fn_config_makefile dlls/mswsock enable_mswsock
21623 wine_fn_config_makefile dlls/msxml enable_msxml
21624 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21625 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21626 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21627 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21628 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21629 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21630 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21631 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21632 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21633 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21634 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21635 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21636 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21637 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21638 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21639 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21640 wine_fn_config_makefile dlls/netprofm enable_netprofm
21641 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21642 wine_fn_config_makefile dlls/netutils enable_netutils
21643 wine_fn_config_makefile dlls/newdev enable_newdev
21644 wine_fn_config_makefile dlls/ninput enable_ninput
21645 wine_fn_config_makefile dlls/ninput/tests enable_tests
21646 wine_fn_config_makefile dlls/normaliz enable_normaliz
21647 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21648 wine_fn_config_makefile dlls/npptools enable_npptools
21649 wine_fn_config_makefile dlls/nsi enable_nsi
21650 wine_fn_config_makefile dlls/nsi/tests enable_tests
21651 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21652 wine_fn_config_makefile dlls/ntdll enable_ntdll
21653 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21654 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21655 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21656 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21657 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21658 wine_fn_config_makefile dlls/ntprint enable_ntprint
21659 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21660 wine_fn_config_makefile dlls/objsel enable_objsel
21661 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21662 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21663 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21664 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21665 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21666 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21667 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21668 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21669 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21670 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21671 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21672 wine_fn_config_makefile dlls/ole32 enable_ole32
21673 wine_fn_config_makefile dlls/ole32/tests enable_tests
21674 wine_fn_config_makefile dlls/oleacc enable_oleacc
21675 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21676 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21677 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21678 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21679 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21680 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21681 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21682 wine_fn_config_makefile dlls/oledlg enable_oledlg
21683 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21684 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21685 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21686 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21687 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21688 wine_fn_config_makefile dlls/opcservices enable_opcservices
21689 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21690 wine_fn_config_makefile dlls/openal32 enable_openal32
21691 wine_fn_config_makefile dlls/opencl enable_opencl
21692 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21693 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21694 wine_fn_config_makefile dlls/packager enable_packager
21695 wine_fn_config_makefile dlls/packager/tests enable_tests
21696 wine_fn_config_makefile dlls/pdh enable_pdh
21697 wine_fn_config_makefile dlls/pdh/tests enable_tests
21698 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21699 wine_fn_config_makefile dlls/pidgen enable_pidgen
21700 wine_fn_config_makefile dlls/powrprof enable_powrprof
21701 wine_fn_config_makefile dlls/printui enable_printui
21702 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21703 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21704 wine_fn_config_makefile dlls/propsys enable_propsys
21705 wine_fn_config_makefile dlls/propsys/tests enable_tests
21706 wine_fn_config_makefile dlls/psapi enable_psapi
21707 wine_fn_config_makefile dlls/psapi/tests enable_tests
21708 wine_fn_config_makefile dlls/pstorec enable_pstorec
21709 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21710 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21711 wine_fn_config_makefile dlls/qasf enable_qasf
21712 wine_fn_config_makefile dlls/qasf/tests enable_tests
21713 wine_fn_config_makefile dlls/qcap enable_qcap
21714 wine_fn_config_makefile dlls/qcap/tests enable_tests
21715 wine_fn_config_makefile dlls/qdvd enable_qdvd
21716 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21717 wine_fn_config_makefile dlls/qedit enable_qedit
21718 wine_fn_config_makefile dlls/qedit/tests enable_tests
21719 wine_fn_config_makefile dlls/qmgr enable_qmgr
21720 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21721 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21722 wine_fn_config_makefile dlls/quartz enable_quartz
21723 wine_fn_config_makefile dlls/quartz/tests enable_tests
21724 wine_fn_config_makefile dlls/query enable_query
21725 wine_fn_config_makefile dlls/qwave enable_qwave
21726 wine_fn_config_makefile dlls/qwave/tests enable_tests
21727 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21728 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21729 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21730 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21731 wine_fn_config_makefile dlls/regapi enable_regapi
21732 wine_fn_config_makefile dlls/resutils enable_resutils
21733 wine_fn_config_makefile dlls/riched20 enable_riched20
21734 wine_fn_config_makefile dlls/riched20/tests enable_tests
21735 wine_fn_config_makefile dlls/riched32 enable_riched32
21736 wine_fn_config_makefile dlls/riched32/tests enable_tests
21737 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21738 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21739 wine_fn_config_makefile dlls/rsabase enable_rsabase
21740 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21741 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21742 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21743 wine_fn_config_makefile dlls/rtutils enable_rtutils
21744 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21745 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21746 wine_fn_config_makefile dlls/samlib enable_samlib
21747 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21748 wine_fn_config_makefile dlls/sapi enable_sapi
21749 wine_fn_config_makefile dlls/sapi/tests enable_tests
21750 wine_fn_config_makefile dlls/sas enable_sas
21751 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21752 wine_fn_config_makefile dlls/sccbase enable_sccbase
21753 wine_fn_config_makefile dlls/schannel enable_schannel
21754 wine_fn_config_makefile dlls/schannel/tests enable_tests
21755 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21756 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21757 wine_fn_config_makefile dlls/scrobj enable_scrobj
21758 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21759 wine_fn_config_makefile dlls/scrrun enable_scrrun
21760 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21761 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21762 wine_fn_config_makefile dlls/sechost enable_sechost
21763 wine_fn_config_makefile dlls/secur32 enable_secur32
21764 wine_fn_config_makefile dlls/secur32/tests enable_tests
21765 wine_fn_config_makefile dlls/security enable_security
21766 wine_fn_config_makefile dlls/sensapi enable_sensapi
21767 wine_fn_config_makefile dlls/serialui enable_serialui
21768 wine_fn_config_makefile dlls/serialui/tests enable_tests
21769 wine_fn_config_makefile dlls/setupapi enable_setupapi
21770 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21771 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21772 wine_fn_config_makefile dlls/sfc enable_sfc
21773 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21774 wine_fn_config_makefile dlls/shcore enable_shcore
21775 wine_fn_config_makefile dlls/shcore/tests enable_tests
21776 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21777 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21778 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21779 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21780 wine_fn_config_makefile dlls/shell32 enable_shell32
21781 wine_fn_config_makefile dlls/shell32/tests enable_tests
21782 wine_fn_config_makefile dlls/shfolder enable_shfolder
21783 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21784 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21785 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21786 wine_fn_config_makefile dlls/slc enable_slc
21787 wine_fn_config_makefile dlls/slc/tests enable_tests
21788 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21789 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21790 wine_fn_config_makefile dlls/softpub enable_softpub
21791 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21792 wine_fn_config_makefile dlls/spoolss enable_spoolss
21793 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21794 wine_fn_config_makefile dlls/sppc enable_sppc
21795 wine_fn_config_makefile dlls/srclient enable_srclient
21796 wine_fn_config_makefile dlls/srvcli enable_srvcli
21797 wine_fn_config_makefile dlls/sspicli enable_sspicli
21798 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21799 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21800 wine_fn_config_makefile dlls/sti enable_sti
21801 wine_fn_config_makefile dlls/sti/tests enable_tests
21802 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21803 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21804 wine_fn_config_makefile dlls/strmdll enable_strmdll
21805 wine_fn_config_makefile dlls/svrapi enable_svrapi
21806 wine_fn_config_makefile dlls/sxs enable_sxs
21807 wine_fn_config_makefile dlls/sxs/tests enable_tests
21808 wine_fn_config_makefile dlls/system.drv16 enable_win16
21809 wine_fn_config_makefile dlls/t2embed enable_t2embed
21810 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21811 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21812 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21813 wine_fn_config_makefile dlls/taskschd enable_taskschd
21814 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21815 wine_fn_config_makefile dlls/tbs enable_tbs
21816 wine_fn_config_makefile dlls/tdh enable_tdh
21817 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21818 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21819 wine_fn_config_makefile dlls/traffic enable_traffic
21820 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21821 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21822 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21823 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21824 wine_fn_config_makefile dlls/tzres enable_tzres
21825 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21826 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21827 wine_fn_config_makefile dlls/uianimation enable_uianimation
21828 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21829 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21830 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21831 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21832 wine_fn_config_makefile dlls/unicows enable_unicows
21833 wine_fn_config_makefile dlls/updspapi enable_updspapi
21834 wine_fn_config_makefile dlls/url enable_url
21835 wine_fn_config_makefile dlls/urlmon enable_urlmon
21836 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21837 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21838 wine_fn_config_makefile dlls/user.exe16 enable_win16
21839 wine_fn_config_makefile dlls/user32 enable_user32
21840 wine_fn_config_makefile dlls/user32/tests enable_tests
21841 wine_fn_config_makefile dlls/userenv enable_userenv
21842 wine_fn_config_makefile dlls/userenv/tests enable_tests
21843 wine_fn_config_makefile dlls/usp10 enable_usp10
21844 wine_fn_config_makefile dlls/usp10/tests enable_tests
21845 wine_fn_config_makefile dlls/utildll enable_utildll
21846 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21847 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21848 wine_fn_config_makefile dlls/vbscript enable_vbscript
21849 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21850 wine_fn_config_makefile dlls/vcomp enable_vcomp
21851 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21852 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21853 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21854 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21855 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21856 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21857 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21858 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21859 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21860 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21861 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21862 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21863 wine_fn_config_makefile dlls/version enable_version
21864 wine_fn_config_makefile dlls/version/tests enable_tests
21865 wine_fn_config_makefile dlls/vga enable_vga
21866 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21867 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21868 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21869 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21870 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21871 wine_fn_config_makefile dlls/vssapi enable_vssapi
21872 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21873 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21874 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21875 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21876 wine_fn_config_makefile dlls/w32skrnl enable_win16
21877 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21878 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21879 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21880 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21881 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21882 wine_fn_config_makefile dlls/wdscore enable_wdscore
21883 wine_fn_config_makefile dlls/webservices enable_webservices
21884 wine_fn_config_makefile dlls/webservices/tests enable_tests
21885 wine_fn_config_makefile dlls/websocket enable_websocket
21886 wine_fn_config_makefile dlls/wer enable_wer
21887 wine_fn_config_makefile dlls/wer/tests enable_tests
21888 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21889 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21890 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21891 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21892 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21893 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21894 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21895 wine_fn_config_makefile dlls/win32u enable_win32u
21896 wine_fn_config_makefile dlls/win32u/tests enable_tests
21897 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21898 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21899 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21900 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21901 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21902 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21903 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21904 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21905 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21906 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21907 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21908 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21909 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21910 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21911 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21912 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21913 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21914 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21915 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21916 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21917 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21918 wine_fn_config_makefile dlls/wined3d enable_wined3d
21919 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21920 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21921 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21922 wine_fn_config_makefile dlls/winemapi enable_winemapi
21923 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21924 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21925 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21926 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21927 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21928 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21929 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21930 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21931 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21932 wine_fn_config_makefile dlls/wing32 enable_wing32
21933 wine_fn_config_makefile dlls/winhttp enable_winhttp
21934 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21935 wine_fn_config_makefile dlls/wininet enable_wininet
21936 wine_fn_config_makefile dlls/wininet/tests enable_tests
21937 wine_fn_config_makefile dlls/winmm enable_winmm
21938 wine_fn_config_makefile dlls/winmm/tests enable_tests
21939 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21940 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21941 wine_fn_config_makefile dlls/winscard enable_winscard
21942 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21943 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21944 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21945 wine_fn_config_makefile dlls/winsta enable_winsta
21946 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21947 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21948 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21949 wine_fn_config_makefile dlls/wintrust enable_wintrust
21950 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21951 wine_fn_config_makefile dlls/winusb enable_winusb
21952 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21953 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21954 wine_fn_config_makefile dlls/wlanui enable_wlanui
21955 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21956 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21957 wine_fn_config_makefile dlls/wmadmod enable_wmadmod
21958 wine_fn_config_makefile dlls/wmadmod/tests enable_tests
21959 wine_fn_config_makefile dlls/wmasf enable_wmasf
21960 wine_fn_config_makefile dlls/wmi enable_wmi
21961 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21962 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21963 wine_fn_config_makefile dlls/wmp enable_wmp
21964 wine_fn_config_makefile dlls/wmp/tests enable_tests
21965 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21966 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21967 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21968 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21969 wine_fn_config_makefile dlls/wow32 enable_win16
21970 wine_fn_config_makefile dlls/wow64 enable_wow64
21971 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21972 wine_fn_config_makefile dlls/wow64win enable_wow64win
21973 wine_fn_config_makefile dlls/wpc enable_wpc
21974 wine_fn_config_makefile dlls/wpc/tests enable_tests
21975 wine_fn_config_makefile dlls/wpcap enable_wpcap
21976 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21977 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21978 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21979 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21980 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21981 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21982 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21983 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21984 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21985 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21986 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21987 wine_fn_config_makefile dlls/wuapi enable_wuapi
21988 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21989 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21990 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21991 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21992 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21993 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21994 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21995 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21996 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21997 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21998 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21999 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22000 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22001 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22002 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22003 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22004 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22005 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22006 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22007 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22008 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22009 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22010 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22011 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22012 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22013 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22014 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22015 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22016 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22017 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22018 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22019 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22020 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22021 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22022 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22023 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22024 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22025 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22026 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22027 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22028 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22029 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22030 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22031 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22032 wine_fn_config_makefile dlls/xmllite enable_xmllite
22033 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22034 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22035 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22036 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22037 wine_fn_config_makefile fonts enable_fonts
22038 wine_fn_config_makefile include enable_include
22039 wine_fn_config_makefile libs/adsiid enable_adsiid
22040 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22041 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22042 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22043 wine_fn_config_makefile libs/dxguid enable_dxguid
22044 wine_fn_config_makefile libs/faudio enable_faudio
22045 wine_fn_config_makefile libs/gsm enable_gsm
22046 wine_fn_config_makefile libs/jpeg enable_jpeg
22047 wine_fn_config_makefile libs/jxr enable_jxr
22048 wine_fn_config_makefile libs/lcms2 enable_lcms2
22049 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22050 wine_fn_config_makefile libs/mpg123 enable_mpg123
22051 wine_fn_config_makefile libs/png enable_png
22052 wine_fn_config_makefile libs/strmbase enable_strmbase
22053 wine_fn_config_makefile libs/strmiids enable_strmiids
22054 wine_fn_config_makefile libs/tiff enable_tiff
22055 wine_fn_config_makefile libs/uuid enable_uuid
22056 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22057 wine_fn_config_makefile libs/wine enable_wine
22058 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22059 wine_fn_config_makefile libs/xml2 enable_xml2
22060 wine_fn_config_makefile libs/xslt enable_xslt
22061 wine_fn_config_makefile libs/zlib enable_zlib
22062 wine_fn_config_makefile loader enable_loader
22063 wine_fn_config_makefile nls enable_nls
22064 wine_fn_config_makefile po enable_po
22065 wine_fn_config_makefile programs/arp enable_arp
22066 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22067 wine_fn_config_makefile programs/attrib enable_attrib
22068 wine_fn_config_makefile programs/cabarc enable_cabarc
22069 wine_fn_config_makefile programs/cacls enable_cacls
22070 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22071 wine_fn_config_makefile programs/clock enable_clock
22072 wine_fn_config_makefile programs/cmd enable_cmd
22073 wine_fn_config_makefile programs/cmd/tests enable_tests
22074 wine_fn_config_makefile programs/conhost enable_conhost
22075 wine_fn_config_makefile programs/conhost/tests enable_tests
22076 wine_fn_config_makefile programs/control enable_control
22077 wine_fn_config_makefile programs/cscript enable_cscript
22078 wine_fn_config_makefile programs/dism enable_dism
22079 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22080 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22081 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22082 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22083 wine_fn_config_makefile programs/eject enable_eject
22084 wine_fn_config_makefile programs/expand enable_expand
22085 wine_fn_config_makefile programs/explorer enable_explorer
22086 wine_fn_config_makefile programs/extrac32 enable_extrac32
22087 wine_fn_config_makefile programs/fc enable_fc
22088 wine_fn_config_makefile programs/find enable_find
22089 wine_fn_config_makefile programs/find/tests enable_tests
22090 wine_fn_config_makefile programs/findstr enable_findstr
22091 wine_fn_config_makefile programs/fsutil enable_fsutil
22092 wine_fn_config_makefile programs/fsutil/tests enable_tests
22093 wine_fn_config_makefile programs/hh enable_hh
22094 wine_fn_config_makefile programs/hostname enable_hostname
22095 wine_fn_config_makefile programs/icacls enable_icacls
22096 wine_fn_config_makefile programs/icinfo enable_icinfo
22097 wine_fn_config_makefile programs/iexplore enable_iexplore
22098 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22099 wine_fn_config_makefile programs/lodctr enable_lodctr
22100 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22101 wine_fn_config_makefile programs/mshta enable_mshta
22102 wine_fn_config_makefile programs/msidb enable_msidb
22103 wine_fn_config_makefile programs/msiexec enable_msiexec
22104 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22105 wine_fn_config_makefile programs/net enable_net
22106 wine_fn_config_makefile programs/netsh enable_netsh
22107 wine_fn_config_makefile programs/netstat enable_netstat
22108 wine_fn_config_makefile programs/ngen enable_ngen
22109 wine_fn_config_makefile programs/notepad enable_notepad
22110 wine_fn_config_makefile programs/oleview enable_oleview
22111 wine_fn_config_makefile programs/ping enable_ping
22112 wine_fn_config_makefile programs/plugplay enable_plugplay
22113 wine_fn_config_makefile programs/powershell enable_powershell
22114 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22115 wine_fn_config_makefile programs/progman enable_progman
22116 wine_fn_config_makefile programs/reg enable_reg
22117 wine_fn_config_makefile programs/reg/tests enable_tests
22118 wine_fn_config_makefile programs/regasm enable_regasm
22119 wine_fn_config_makefile programs/regedit enable_regedit
22120 wine_fn_config_makefile programs/regedit/tests enable_tests
22121 wine_fn_config_makefile programs/regini enable_regini
22122 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22123 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22124 wine_fn_config_makefile programs/robocopy enable_robocopy
22125 wine_fn_config_makefile programs/rpcss enable_rpcss
22126 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22127 wine_fn_config_makefile programs/rundll32 enable_rundll32
22128 wine_fn_config_makefile programs/sc enable_sc
22129 wine_fn_config_makefile programs/schtasks enable_schtasks
22130 wine_fn_config_makefile programs/schtasks/tests enable_tests
22131 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22132 wine_fn_config_makefile programs/secedit enable_secedit
22133 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22134 wine_fn_config_makefile programs/services enable_services
22135 wine_fn_config_makefile programs/services/tests enable_tests
22136 wine_fn_config_makefile programs/shutdown enable_shutdown
22137 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22138 wine_fn_config_makefile programs/start enable_start
22139 wine_fn_config_makefile programs/subst enable_subst
22140 wine_fn_config_makefile programs/svchost enable_svchost
22141 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22142 wine_fn_config_makefile programs/taskkill enable_taskkill
22143 wine_fn_config_makefile programs/tasklist enable_tasklist
22144 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22145 wine_fn_config_makefile programs/termsv enable_termsv
22146 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22147 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22148 wine_fn_config_makefile programs/view enable_view
22149 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22150 wine_fn_config_makefile programs/where enable_where
22151 wine_fn_config_makefile programs/whoami enable_whoami
22152 wine_fn_config_makefile programs/wineboot enable_wineboot
22153 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22154 wine_fn_config_makefile programs/winecfg enable_winecfg
22155 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22156 wine_fn_config_makefile programs/winedbg enable_winedbg
22157 wine_fn_config_makefile programs/winedevice enable_winedevice
22158 wine_fn_config_makefile programs/winefile enable_winefile
22159 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22160 wine_fn_config_makefile programs/winemine enable_winemine
22161 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22162 wine_fn_config_makefile programs/winepath enable_winepath
22163 wine_fn_config_makefile programs/winetest enable_winetest
22164 wine_fn_config_makefile programs/winevdm enable_win16
22165 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22166 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22167 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22168 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22169 wine_fn_config_makefile programs/winver enable_winver
22170 wine_fn_config_makefile programs/wmic enable_wmic
22171 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22172 wine_fn_config_makefile programs/wordpad enable_wordpad
22173 wine_fn_config_makefile programs/write enable_write
22174 wine_fn_config_makefile programs/wscript enable_wscript
22175 wine_fn_config_makefile programs/wscript/tests enable_tests
22176 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22177 wine_fn_config_makefile programs/wusa enable_wusa
22178 wine_fn_config_makefile programs/xcopy enable_xcopy
22179 wine_fn_config_makefile programs/xcopy/tests enable_tests
22180 wine_fn_config_makefile server enable_server
22181 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22182 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22183 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22184 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22185 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22186 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22187 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22188 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22189 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22192 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
22193 wine_fn_append_file CONFIGURE_TARGETS "tags"
22194 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
22195 wine_fn_append_file CONFIGURE_TARGETS "config.log"
22196 wine_fn_append_file CONFIGURE_TARGETS "config.status"
22197 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
22198 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
22199 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
22201 if test "x$enable_tools" != xno
22202 then
22203 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
22204 ac_config_commands="$ac_config_commands tools/makedep"
22208 ac_config_commands="$ac_config_commands Makefile"
22212 SHELL=/bin/sh
22215 wine_fn_append_rule "all: wine
22216 @echo \"Wine build complete.\"
22217 .INIT: Makefile
22218 .MAKEFILEDEPS:
22219 all: Makefile
22220 Makefile: config.status \$(MAKEDEP)
22221 @./config.status Makefile
22222 depend: \$(MAKEDEP)
22223 \$(MAKEDEP)$makedep_flags"
22226 wine_fn_append_rule "config.status: ${wine_srcdir}configure
22227 @./config.status --recheck
22228 include/config.h: include/stamp-h
22229 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22230 @./config.status include/config.h include/stamp-h"
22232 if test "x$enable_maintainer_mode" = xyes
22233 then
22234 wine_fn_append_rule "configure: configure.ac aclocal.m4
22235 autoconf --warnings=all
22236 include/config.h.in: include/stamp-h.in
22237 include/stamp-h.in: configure.ac aclocal.m4
22238 autoheader --warnings=all
22239 @echo timestamp > \$@"
22242 if test "x$enable_tools" != xno
22243 then
22244 wine_fn_append_rule "tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22245 @./config.status tools/makedep
22246 Makefile: tools/makedep$ac_exeext"
22247 else
22248 wine_fn_append_rule "\$(MAKEDEP):
22249 @echo \"You need to run make in $toolsdir first\" && false"
22253 if test -n "$with_wine64"
22254 then
22255 case "$with_wine64" in
22256 /*) reldir="" ;;
22257 *) reldir="../" ;;
22258 esac
22259 rm -f fonts server 2>/dev/null
22260 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22261 loader/wine64 loader/wine64-preloader:
22262 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22263 $with_wine64/loader/wine:
22264 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22265 $with_wine64/loader/wine-preloader:
22266 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22267 clean::
22268 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22269 else
22270 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22271 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22272 fonts \
22273 loader/wine.inf \
22274 nls \
22275 programs/msidb/msidb \
22276 programs/msiexec/msiexec \
22277 programs/notepad/notepad \
22278 programs/regedit/regedit \
22279 programs/regsvr32/regsvr32 \
22280 programs/wineboot/wineboot \
22281 programs/winecfg/winecfg \
22282 programs/wineconsole/wineconsole \
22283 programs/winedbg/winedbg \
22284 programs/winefile/winefile \
22285 programs/winemine/winemine \
22286 programs/winepath/winepath \
22287 server/wineserver"
22289 case $host_os in
22290 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22291 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22292 esac
22296 wine_fn_append_rule "distclean:: clean
22297 rm -rf autom4te.cache
22298 maintainer-clean::
22299 rm -f configure include/config.h.in"
22302 wine_fn_append_rule "dlls/ntdll/unix/version.c: dummy
22303 @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)
22304 programs/winetest/build.rc: dummy
22305 @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)
22306 programs/winetest/build.nfo:
22307 @-\$(CC) -v 2>\$@
22308 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
22309 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22310 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22313 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22315 wine_fn_append_rule "TAGS etags:
22316 rm -f TAGS
22317 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22318 tags ctags:
22319 rm -f tags
22320 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22321 dummy:
22322 .PHONY: depend dummy install-manpages"
22324 printf "%s\n" " done" >&6
22325 cat >confcache <<\_ACEOF
22326 # This file is a shell script that caches the results of configure
22327 # tests run on this system so they can be shared between configure
22328 # scripts and configure runs, see configure's option --config-cache.
22329 # It is not useful on other systems. If it contains results you don't
22330 # want to keep, you may remove or edit it.
22332 # config.status only pays attention to the cache file if you give it
22333 # the --recheck option to rerun configure.
22335 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22336 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22337 # following values.
22339 _ACEOF
22341 # The following way of writing the cache mishandles newlines in values,
22342 # but we know of no workaround that is simple, portable, and efficient.
22343 # So, we kill variables containing newlines.
22344 # Ultrix sh set writes to stderr and can't be redirected directly,
22345 # and sets the high bit in the cache file unless we assign to the vars.
22347 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22348 eval ac_val=\$$ac_var
22349 case $ac_val in #(
22350 *${as_nl}*)
22351 case $ac_var in #(
22352 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22353 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22354 esac
22355 case $ac_var in #(
22356 _ | IFS | as_nl) ;; #(
22357 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22358 *) { eval $ac_var=; unset $ac_var;} ;;
22359 esac ;;
22360 esac
22361 done
22363 (set) 2>&1 |
22364 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22365 *${as_nl}ac_space=\ *)
22366 # `set' does not quote correctly, so add quotes: double-quote
22367 # substitution turns \\\\ into \\, and sed turns \\ into \.
22368 sed -n \
22369 "s/'/'\\\\''/g;
22370 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22371 ;; #(
22373 # `set' quotes correctly as required by POSIX, so do not add quotes.
22374 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22376 esac |
22377 sort
22379 sed '
22380 /^ac_cv_env_/b end
22381 t clear
22382 :clear
22383 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22384 t end
22385 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22386 :end' >>confcache
22387 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22388 if test -w "$cache_file"; then
22389 if test "x$cache_file" != "x/dev/null"; then
22390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22391 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22392 if test ! -f "$cache_file" || test -h "$cache_file"; then
22393 cat confcache >"$cache_file"
22394 else
22395 case $cache_file in #(
22396 */* | ?:*)
22397 mv -f confcache "$cache_file"$$ &&
22398 mv -f "$cache_file"$$ "$cache_file" ;; #(
22400 mv -f confcache "$cache_file" ;;
22401 esac
22404 else
22405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22406 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22409 rm -f confcache
22411 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22412 # Let make expand exec_prefix.
22413 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22415 DEFS=-DHAVE_CONFIG_H
22417 ac_libobjs=
22418 ac_ltlibobjs=
22420 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22421 # 1. Remove the extension, and $U if already installed.
22422 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22423 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22424 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22425 # will be set to the directory where LIBOBJS objects are built.
22426 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22427 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22428 done
22429 LIBOBJS=$ac_libobjs
22431 LTLIBOBJS=$ac_ltlibobjs
22435 : "${CONFIG_STATUS=./config.status}"
22436 ac_write_fail=0
22437 ac_clean_files_save=$ac_clean_files
22438 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22440 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22441 as_write_fail=0
22442 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22443 #! $SHELL
22444 # Generated by $as_me.
22445 # Run this file to recreate the current configuration.
22446 # Compiler output produced by configure, useful for debugging
22447 # configure, is in config.log if it exists.
22449 debug=false
22450 ac_cs_recheck=false
22451 ac_cs_silent=false
22453 SHELL=\${CONFIG_SHELL-$SHELL}
22454 export SHELL
22455 _ASEOF
22456 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22457 ## -------------------- ##
22458 ## M4sh Initialization. ##
22459 ## -------------------- ##
22461 # Be more Bourne compatible
22462 DUALCASE=1; export DUALCASE # for MKS sh
22463 as_nop=:
22464 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22465 then :
22466 emulate sh
22467 NULLCMD=:
22468 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22469 # is contrary to our usage. Disable this feature.
22470 alias -g '${1+"$@"}'='"$@"'
22471 setopt NO_GLOB_SUBST
22472 else $as_nop
22473 case `(set -o) 2>/dev/null` in #(
22474 *posix*) :
22475 set -o posix ;; #(
22476 *) :
22478 esac
22483 # Reset variables that may have inherited troublesome values from
22484 # the environment.
22486 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22487 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22488 # side effect of setting IFS to empty, thus disabling word splitting.)
22489 # Quoting is to prevent editors from complaining about space-tab.
22490 as_nl='
22492 export as_nl
22493 IFS=" "" $as_nl"
22495 PS1='$ '
22496 PS2='> '
22497 PS4='+ '
22499 # Ensure predictable behavior from utilities with locale-dependent output.
22500 LC_ALL=C
22501 export LC_ALL
22502 LANGUAGE=C
22503 export LANGUAGE
22505 # We cannot yet rely on "unset" to work, but we need these variables
22506 # to be unset--not just set to an empty or harmless value--now, to
22507 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22508 # also avoids known problems related to "unset" and subshell syntax
22509 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22510 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22511 do eval test \${$as_var+y} \
22512 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22513 done
22515 # Ensure that fds 0, 1, and 2 are open.
22516 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22517 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22518 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22520 # The user is always right.
22521 if ${PATH_SEPARATOR+false} :; then
22522 PATH_SEPARATOR=:
22523 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22524 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22525 PATH_SEPARATOR=';'
22530 # Find who we are. Look in the path if we contain no directory separator.
22531 as_myself=
22532 case $0 in #((
22533 *[\\/]* ) as_myself=$0 ;;
22534 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22535 for as_dir in $PATH
22537 IFS=$as_save_IFS
22538 case $as_dir in #(((
22539 '') as_dir=./ ;;
22540 */) ;;
22541 *) as_dir=$as_dir/ ;;
22542 esac
22543 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22544 done
22545 IFS=$as_save_IFS
22548 esac
22549 # We did not find ourselves, most probably we were run as `sh COMMAND'
22550 # in which case we are not to be found in the path.
22551 if test "x$as_myself" = x; then
22552 as_myself=$0
22554 if test ! -f "$as_myself"; then
22555 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22556 exit 1
22561 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22562 # ----------------------------------------
22563 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22564 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22565 # script with STATUS, using 1 if that was 0.
22566 as_fn_error ()
22568 as_status=$1; test $as_status -eq 0 && as_status=1
22569 if test "$4"; then
22570 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22571 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22573 printf "%s\n" "$as_me: error: $2" >&2
22574 as_fn_exit $as_status
22575 } # as_fn_error
22579 # as_fn_set_status STATUS
22580 # -----------------------
22581 # Set $? to STATUS, without forking.
22582 as_fn_set_status ()
22584 return $1
22585 } # as_fn_set_status
22587 # as_fn_exit STATUS
22588 # -----------------
22589 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22590 as_fn_exit ()
22592 set +e
22593 as_fn_set_status $1
22594 exit $1
22595 } # as_fn_exit
22597 # as_fn_unset VAR
22598 # ---------------
22599 # Portably unset VAR.
22600 as_fn_unset ()
22602 { eval $1=; unset $1;}
22604 as_unset=as_fn_unset
22606 # as_fn_append VAR VALUE
22607 # ----------------------
22608 # Append the text in VALUE to the end of the definition contained in VAR. Take
22609 # advantage of any shell optimizations that allow amortized linear growth over
22610 # repeated appends, instead of the typical quadratic growth present in naive
22611 # implementations.
22612 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22613 then :
22614 eval 'as_fn_append ()
22616 eval $1+=\$2
22618 else $as_nop
22619 as_fn_append ()
22621 eval $1=\$$1\$2
22623 fi # as_fn_append
22625 # as_fn_arith ARG...
22626 # ------------------
22627 # Perform arithmetic evaluation on the ARGs, and store the result in the
22628 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22629 # must be portable across $(()) and expr.
22630 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22631 then :
22632 eval 'as_fn_arith ()
22634 as_val=$(( $* ))
22636 else $as_nop
22637 as_fn_arith ()
22639 as_val=`expr "$@" || test $? -eq 1`
22641 fi # as_fn_arith
22644 if expr a : '\(a\)' >/dev/null 2>&1 &&
22645 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22646 as_expr=expr
22647 else
22648 as_expr=false
22651 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22652 as_basename=basename
22653 else
22654 as_basename=false
22657 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22658 as_dirname=dirname
22659 else
22660 as_dirname=false
22663 as_me=`$as_basename -- "$0" ||
22664 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22665 X"$0" : 'X\(//\)$' \| \
22666 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22667 printf "%s\n" X/"$0" |
22668 sed '/^.*\/\([^/][^/]*\)\/*$/{
22669 s//\1/
22672 /^X\/\(\/\/\)$/{
22673 s//\1/
22676 /^X\/\(\/\).*/{
22677 s//\1/
22680 s/.*/./; q'`
22682 # Avoid depending upon Character Ranges.
22683 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22684 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22685 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22686 as_cr_digits='0123456789'
22687 as_cr_alnum=$as_cr_Letters$as_cr_digits
22690 # Determine whether it's possible to make 'echo' print without a newline.
22691 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22692 # for compatibility with existing Makefiles.
22693 ECHO_C= ECHO_N= ECHO_T=
22694 case `echo -n x` in #(((((
22695 -n*)
22696 case `echo 'xy\c'` in
22697 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22698 xy) ECHO_C='\c';;
22699 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22700 ECHO_T=' ';;
22701 esac;;
22703 ECHO_N='-n';;
22704 esac
22706 # For backward compatibility with old third-party macros, we provide
22707 # the shell variables $as_echo and $as_echo_n. New code should use
22708 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22709 as_echo='printf %s\n'
22710 as_echo_n='printf %s'
22712 rm -f conf$$ conf$$.exe conf$$.file
22713 if test -d conf$$.dir; then
22714 rm -f conf$$.dir/conf$$.file
22715 else
22716 rm -f conf$$.dir
22717 mkdir conf$$.dir 2>/dev/null
22719 if (echo >conf$$.file) 2>/dev/null; then
22720 if ln -s conf$$.file conf$$ 2>/dev/null; then
22721 as_ln_s='ln -s'
22722 # ... but there are two gotchas:
22723 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22724 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22725 # In both cases, we have to default to `cp -pR'.
22726 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22727 as_ln_s='cp -pR'
22728 elif ln conf$$.file conf$$ 2>/dev/null; then
22729 as_ln_s=ln
22730 else
22731 as_ln_s='cp -pR'
22733 else
22734 as_ln_s='cp -pR'
22736 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22737 rmdir conf$$.dir 2>/dev/null
22740 # as_fn_mkdir_p
22741 # -------------
22742 # Create "$as_dir" as a directory, including parents if necessary.
22743 as_fn_mkdir_p ()
22746 case $as_dir in #(
22747 -*) as_dir=./$as_dir;;
22748 esac
22749 test -d "$as_dir" || eval $as_mkdir_p || {
22750 as_dirs=
22751 while :; do
22752 case $as_dir in #(
22753 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22754 *) as_qdir=$as_dir;;
22755 esac
22756 as_dirs="'$as_qdir' $as_dirs"
22757 as_dir=`$as_dirname -- "$as_dir" ||
22758 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22759 X"$as_dir" : 'X\(//\)[^/]' \| \
22760 X"$as_dir" : 'X\(//\)$' \| \
22761 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22762 printf "%s\n" X"$as_dir" |
22763 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22764 s//\1/
22767 /^X\(\/\/\)[^/].*/{
22768 s//\1/
22771 /^X\(\/\/\)$/{
22772 s//\1/
22775 /^X\(\/\).*/{
22776 s//\1/
22779 s/.*/./; q'`
22780 test -d "$as_dir" && break
22781 done
22782 test -z "$as_dirs" || eval "mkdir $as_dirs"
22783 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22786 } # as_fn_mkdir_p
22787 if mkdir -p . 2>/dev/null; then
22788 as_mkdir_p='mkdir -p "$as_dir"'
22789 else
22790 test -d ./-p && rmdir ./-p
22791 as_mkdir_p=false
22795 # as_fn_executable_p FILE
22796 # -----------------------
22797 # Test if FILE is an executable regular file.
22798 as_fn_executable_p ()
22800 test -f "$1" && test -x "$1"
22801 } # as_fn_executable_p
22802 as_test_x='test -x'
22803 as_executable_p=as_fn_executable_p
22805 # Sed expression to map a string onto a valid CPP name.
22806 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22808 # Sed expression to map a string onto a valid variable name.
22809 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22812 exec 6>&1
22813 ## ----------------------------------- ##
22814 ## Main body of $CONFIG_STATUS script. ##
22815 ## ----------------------------------- ##
22816 _ASEOF
22817 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22819 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22820 # Save the log message, to keep $0 and so on meaningful, and to
22821 # report actual input values of CONFIG_FILES etc. instead of their
22822 # values after options handling.
22823 ac_log="
22824 This file was extended by Wine $as_me 7.3, which was
22825 generated by GNU Autoconf 2.71. Invocation command line was
22827 CONFIG_FILES = $CONFIG_FILES
22828 CONFIG_HEADERS = $CONFIG_HEADERS
22829 CONFIG_LINKS = $CONFIG_LINKS
22830 CONFIG_COMMANDS = $CONFIG_COMMANDS
22831 $ $0 $@
22833 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22836 _ACEOF
22839 case $ac_config_headers in *"
22840 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22841 esac
22844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22845 # Files that config.status was made for.
22846 config_headers="$ac_config_headers"
22847 config_links="$ac_config_links"
22848 config_commands="$ac_config_commands"
22850 _ACEOF
22852 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22853 ac_cs_usage="\
22854 \`$as_me' instantiates files and other configuration actions
22855 from templates according to the current configuration. Unless the files
22856 and actions are specified as TAGs, all are instantiated by default.
22858 Usage: $0 [OPTION]... [TAG]...
22860 -h, --help print this help, then exit
22861 -V, --version print version number and configuration settings, then exit
22862 --config print configuration, then exit
22863 -q, --quiet, --silent
22864 do not print progress messages
22865 -d, --debug don't remove temporary files
22866 --recheck update $as_me by reconfiguring in the same conditions
22867 --header=FILE[:TEMPLATE]
22868 instantiate the configuration header FILE
22870 Configuration headers:
22871 $config_headers
22873 Configuration links:
22874 $config_links
22876 Configuration commands:
22877 $config_commands
22879 Report bugs to <wine-devel@winehq.org>.
22880 Wine home page: <https://www.winehq.org>."
22882 _ACEOF
22883 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22884 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22886 ac_cs_config='$ac_cs_config_escaped'
22887 ac_cs_version="\\
22888 Wine config.status 7.3
22889 configured by $0, generated by GNU Autoconf 2.71,
22890 with options \\"\$ac_cs_config\\"
22892 Copyright (C) 2021 Free Software Foundation, Inc.
22893 This config.status script is free software; the Free Software Foundation
22894 gives unlimited permission to copy, distribute and modify it."
22896 ac_pwd='$ac_pwd'
22897 srcdir='$srcdir'
22898 test -n "\$AWK" || AWK=awk
22899 _ACEOF
22901 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22902 # The default lists apply if the user does not specify any file.
22903 ac_need_defaults=:
22904 while test $# != 0
22906 case $1 in
22907 --*=?*)
22908 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22909 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22910 ac_shift=:
22912 --*=)
22913 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22914 ac_optarg=
22915 ac_shift=:
22918 ac_option=$1
22919 ac_optarg=$2
22920 ac_shift=shift
22922 esac
22924 case $ac_option in
22925 # Handling of the options.
22926 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22927 ac_cs_recheck=: ;;
22928 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22929 printf "%s\n" "$ac_cs_version"; exit ;;
22930 --config | --confi | --conf | --con | --co | --c )
22931 printf "%s\n" "$ac_cs_config"; exit ;;
22932 --debug | --debu | --deb | --de | --d | -d )
22933 debug=: ;;
22934 --header | --heade | --head | --hea )
22935 $ac_shift
22936 case $ac_optarg in
22937 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22938 esac
22939 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22940 ac_need_defaults=false;;
22941 --he | --h)
22942 # Conflict between --help and --header
22943 as_fn_error $? "ambiguous option: \`$1'
22944 Try \`$0 --help' for more information.";;
22945 --help | --hel | -h )
22946 printf "%s\n" "$ac_cs_usage"; exit ;;
22947 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22948 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22949 ac_cs_silent=: ;;
22951 # This is an error.
22952 -*) as_fn_error $? "unrecognized option: \`$1'
22953 Try \`$0 --help' for more information." ;;
22955 *) as_fn_append ac_config_targets " $1"
22956 ac_need_defaults=false ;;
22958 esac
22959 shift
22960 done
22962 ac_configure_extra_args=
22964 if $ac_cs_silent; then
22965 exec 6>/dev/null
22966 ac_configure_extra_args="$ac_configure_extra_args --silent"
22969 _ACEOF
22970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22971 if \$ac_cs_recheck; then
22972 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22973 shift
22974 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22975 CONFIG_SHELL='$SHELL'
22976 export CONFIG_SHELL
22977 exec "\$@"
22980 _ACEOF
22981 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22982 exec 5>>config.log
22984 echo
22985 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22986 ## Running $as_me. ##
22987 _ASBOX
22988 printf "%s\n" "$ac_log"
22989 } >&5
22991 _ACEOF
22992 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22994 # INIT-COMMANDS
22996 wine_fn_output_makedep ()
22998 as_dir=tools; as_fn_mkdir_p
22999 $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
23001 wine_fn_output_makefile ()
23003 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23004 # This Makefile understands the following targets:
23006 # all (default): build wine
23007 # clean: remove all intermediate files
23008 # distclean: also remove all files created by configure
23009 # test: run tests
23010 # testclean: clean test results to force running all tests again
23011 # install-lib: install libraries needed to run applications
23012 # install-dev: install development environment
23013 # install: install everything
23014 # uninstall: uninstall everything
23015 # ctags: create a tags file for vim and others.
23016 # etags: create a TAGS file for Emacs.
23018 SHELL = $SHELL
23019 PATH_SEPARATOR = $PATH_SEPARATOR
23020 PACKAGE_NAME = $PACKAGE_NAME
23021 PACKAGE_TARNAME = $PACKAGE_TARNAME
23022 PACKAGE_VERSION = $PACKAGE_VERSION
23023 PACKAGE_STRING = $PACKAGE_STRING
23024 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23025 PACKAGE_URL = $PACKAGE_URL
23026 exec_prefix = $exec_prefix
23027 prefix = $prefix
23028 program_transform_name = $program_transform_name
23029 bindir = $bindir
23030 sbindir = $sbindir
23031 libexecdir = $libexecdir
23032 datarootdir = $datarootdir
23033 datadir = $datadir
23034 sysconfdir = $sysconfdir
23035 sharedstatedir = $sharedstatedir
23036 localstatedir = $localstatedir
23037 runstatedir = $runstatedir
23038 includedir = $includedir
23039 oldincludedir = $oldincludedir
23040 docdir = $docdir
23041 infodir = $infodir
23042 htmldir = $htmldir
23043 dvidir = $dvidir
23044 pdfdir = $pdfdir
23045 psdir = $psdir
23046 libdir = $libdir
23047 localedir = $localedir
23048 mandir = $mandir
23049 DEFS = $DEFS
23050 ECHO_C = $ECHO_C
23051 ECHO_N = $ECHO_N
23052 ECHO_T = $ECHO_T
23053 LIBS = $LIBS
23054 build_alias = $build_alias
23055 host_alias = $host_alias
23056 target_alias = $target_alias
23057 system_dllpath = $system_dllpath
23058 build = $build
23059 build_cpu = $build_cpu
23060 build_vendor = $build_vendor
23061 build_os = $build_os
23062 host = $host
23063 host_cpu = $host_cpu
23064 host_vendor = $host_vendor
23065 host_os = $host_os
23066 dlldir = $dlldir
23067 fontdir = $fontdir
23068 nlsdir = $nlsdir
23069 srcdir = $srcdir
23070 SET_MAKE = $SET_MAKE
23071 CC = $CC
23072 CFLAGS = $CFLAGS
23073 LDFLAGS = $LDFLAGS
23074 CPPFLAGS = $CPPFLAGS
23075 ac_ct_CC = $ac_ct_CC
23076 EXEEXT = $EXEEXT
23077 OBJEXT = $OBJEXT
23078 CXX = $CXX
23079 CXXFLAGS = $CXXFLAGS
23080 ac_ct_CXX = $ac_ct_CXX
23081 CPPBIN = $CPPBIN
23082 LD = $LD
23083 TARGETFLAGS = $TARGETFLAGS
23084 toolsext = $toolsext
23085 toolsdir = $toolsdir
23086 MAKEDEP = $MAKEDEP
23087 RUNTESTFLAGS = $RUNTESTFLAGS
23088 SED_CMD = $SED_CMD
23089 FLEX = $FLEX
23090 BISON = $BISON
23091 AR = $AR
23092 ac_ct_AR = $ac_ct_AR
23093 STRIP = $STRIP
23094 RANLIB = $RANLIB
23095 LN_S = $LN_S
23096 GREP = $GREP
23097 EGREP = $EGREP
23098 LDCONFIG = $LDCONFIG
23099 MSGFMT = $MSGFMT
23100 PKG_CONFIG = $PKG_CONFIG
23101 FONTFORGE = $FONTFORGE
23102 RSVG = $RSVG
23103 CONVERT = $CONVERT
23104 ICOTOOL = $ICOTOOL
23105 I386_LIBS = $I386_LIBS
23106 OPENGL_LIBS = $OPENGL_LIBS
23107 DLLFLAGS = $DLLFLAGS
23108 LDDLLFLAGS = $LDDLLFLAGS
23109 LDEXECFLAGS = $LDEXECFLAGS
23110 EXTRACFLAGS = $EXTRACFLAGS
23111 UNIXDLLFLAGS = $UNIXDLLFLAGS
23112 UNIXLDFLAGS = $UNIXLDFLAGS
23113 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23114 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23115 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23116 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23117 LDD = $LDD
23118 OTOOL = $OTOOL
23119 READELF = $READELF
23120 SUBDIRS = $SUBDIRS
23121 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23122 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23123 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23124 DLLTOOL = $DLLTOOL
23125 OBJC = $OBJC
23126 OBJCFLAGS = $OBJCFLAGS
23127 ac_ct_OBJC = $ac_ct_OBJC
23128 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23129 IOKIT_LIBS = $IOKIT_LIBS
23130 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23131 CORESERVICES_LIBS = $CORESERVICES_LIBS
23132 APPKIT_LIBS = $APPKIT_LIBS
23133 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23134 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23135 SECURITY_LIBS = $SECURITY_LIBS
23136 COREAUDIO_LIBS = $COREAUDIO_LIBS
23137 OPENAL_LIBS = $OPENAL_LIBS
23138 OPENCL_LIBS = $OPENCL_LIBS
23139 CARBON_LIBS = $CARBON_LIBS
23140 METAL_LIBS = $METAL_LIBS
23141 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23142 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23143 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23144 PRELINK = $PRELINK
23145 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23146 CROSSTARGET = $CROSSTARGET
23147 CROSSCC = $CROSSCC
23148 CROSSCFLAGS = $CROSSCFLAGS
23149 EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
23150 CROSSLDFLAGS = $CROSSLDFLAGS
23151 DELAYLOADFLAG = $DELAYLOADFLAG
23152 CROSSDEBUG = $CROSSDEBUG
23153 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
23154 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23155 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23156 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23157 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23158 GSM_PE_LIBS = $GSM_PE_LIBS
23159 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23160 JPEG_PE_LIBS = $JPEG_PE_LIBS
23161 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23162 JXR_PE_LIBS = $JXR_PE_LIBS
23163 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23164 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23165 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23166 MPG123_PE_LIBS = $MPG123_PE_LIBS
23167 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23168 PNG_PE_LIBS = $PNG_PE_LIBS
23169 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23170 TIFF_PE_LIBS = $TIFF_PE_LIBS
23171 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23172 XML2_PE_LIBS = $XML2_PE_LIBS
23173 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23174 XSLT_PE_LIBS = $XSLT_PE_LIBS
23175 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23176 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23177 PTHREAD_LIBS = $PTHREAD_LIBS
23178 XMKMF = $XMKMF
23179 CPP = $CPP
23180 X_CFLAGS = $X_CFLAGS
23181 X_PRE_LIBS = $X_PRE_LIBS
23182 X_LIBS = $X_LIBS
23183 X_EXTRA_LIBS = $X_EXTRA_LIBS
23184 PCAP_LIBS = $PCAP_LIBS
23185 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23186 INOTIFY_LIBS = $INOTIFY_LIBS
23187 DBUS_CFLAGS = $DBUS_CFLAGS
23188 DBUS_LIBS = $DBUS_LIBS
23189 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23190 GNUTLS_LIBS = $GNUTLS_LIBS
23191 SANE_CFLAGS = $SANE_CFLAGS
23192 SANE_LIBS = $SANE_LIBS
23193 USB_CFLAGS = $USB_CFLAGS
23194 USB_LIBS = $USB_LIBS
23195 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23196 GPHOTO2_LIBS = $GPHOTO2_LIBS
23197 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23198 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23199 RESOLV_LIBS = $RESOLV_LIBS
23200 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23201 FREETYPE_LIBS = $FREETYPE_LIBS
23202 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23203 PULSE_CFLAGS = $PULSE_CFLAGS
23204 PULSE_LIBS = $PULSE_LIBS
23205 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23206 GSTREAMER_LIBS = $GSTREAMER_LIBS
23207 ALSA_LIBS = $ALSA_LIBS
23208 OSS4_CFLAGS = $OSS4_CFLAGS
23209 OSS4_LIBS = $OSS4_LIBS
23210 UDEV_CFLAGS = $UDEV_CFLAGS
23211 UDEV_LIBS = $UDEV_LIBS
23212 UNWIND_CFLAGS = $UNWIND_CFLAGS
23213 UNWIND_LIBS = $UNWIND_LIBS
23214 SDL2_CFLAGS = $SDL2_CFLAGS
23215 SDL2_LIBS = $SDL2_LIBS
23216 CAPI20_CFLAGS = $CAPI20_CFLAGS
23217 CAPI20_LIBS = $CAPI20_LIBS
23218 CUPS_CFLAGS = $CUPS_CFLAGS
23219 CUPS_LIBS = $CUPS_LIBS
23220 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23221 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23222 KRB5_CFLAGS = $KRB5_CFLAGS
23223 KRB5_LIBS = $KRB5_LIBS
23224 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23225 GSSAPI_LIBS = $GSSAPI_LIBS
23226 PROCSTAT_LIBS = $PROCSTAT_LIBS
23227 NETAPI_CFLAGS = $NETAPI_CFLAGS
23228 NETAPI_LIBS = $NETAPI_LIBS
23229 VKD3D_CFLAGS = $VKD3D_CFLAGS
23230 VKD3D_LIBS = $VKD3D_LIBS
23231 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
23232 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
23233 MSVCRTFLAGS = $MSVCRTFLAGS
23234 RT_LIBS = $RT_LIBS
23235 LDAP_CFLAGS = $LDAP_CFLAGS
23236 LDAP_LIBS = $LDAP_LIBS
23237 TAGSFLAGS = $TAGSFLAGS
23238 LIBOBJS = $LIBOBJS
23239 LTLIBOBJS = $LTLIBOBJS
23240 $SET_MAKE
23241 $wine_rules
23242 _WINE_EOF
23243 as_fn_error $? "could not create Makefile" "$LINENO" 5
23246 _ACEOF
23248 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23250 # Handling of arguments.
23251 for ac_config_target in $ac_config_targets
23253 case $ac_config_target in
23254 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23255 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23256 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23257 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23258 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23259 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23261 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23262 esac
23263 done
23266 # If the user did not use the arguments to specify the items to instantiate,
23267 # then the envvar interface is used. Set only those that are not.
23268 # We use the long form for the default assignment because of an extremely
23269 # bizarre bug on SunOS 4.1.3.
23270 if $ac_need_defaults; then
23271 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23272 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23273 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23276 # Have a temporary directory for convenience. Make it in the build tree
23277 # simply because there is no reason against having it here, and in addition,
23278 # creating and moving files from /tmp can sometimes cause problems.
23279 # Hook for its removal unless debugging.
23280 # Note that there is a small window in which the directory will not be cleaned:
23281 # after its creation but before its name has been assigned to `$tmp'.
23282 $debug ||
23284 tmp= ac_tmp=
23285 trap 'exit_status=$?
23286 : "${ac_tmp:=$tmp}"
23287 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23289 trap 'as_fn_exit 1' 1 2 13 15
23291 # Create a (secure) tmp directory for tmp files.
23294 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23295 test -d "$tmp"
23296 } ||
23298 tmp=./conf$$-$RANDOM
23299 (umask 077 && mkdir "$tmp")
23300 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23301 ac_tmp=$tmp
23303 # Set up the scripts for CONFIG_HEADERS section.
23304 # No need to generate them if there are no CONFIG_HEADERS.
23305 # This happens for instance with `./config.status Makefile'.
23306 if test -n "$CONFIG_HEADERS"; then
23307 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23308 BEGIN {
23309 _ACEOF
23311 # Transform confdefs.h into an awk script `defines.awk', embedded as
23312 # here-document in config.status, that substitutes the proper values into
23313 # config.h.in to produce config.h.
23315 # Create a delimiter string that does not exist in confdefs.h, to ease
23316 # handling of long lines.
23317 ac_delim='%!_!# '
23318 for ac_last_try in false false :; do
23319 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23320 if test -z "$ac_tt"; then
23321 break
23322 elif $ac_last_try; then
23323 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23324 else
23325 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23327 done
23329 # For the awk script, D is an array of macro values keyed by name,
23330 # likewise P contains macro parameters if any. Preserve backslash
23331 # newline sequences.
23333 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23334 sed -n '
23335 s/.\{148\}/&'"$ac_delim"'/g
23336 t rset
23337 :rset
23338 s/^[ ]*#[ ]*define[ ][ ]*/ /
23339 t def
23341 :def
23342 s/\\$//
23343 t bsnl
23344 s/["\\]/\\&/g
23345 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23346 D["\1"]=" \3"/p
23347 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23349 :bsnl
23350 s/["\\]/\\&/g
23351 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23352 D["\1"]=" \3\\\\\\n"\\/p
23353 t cont
23354 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23355 t cont
23357 :cont
23359 s/.\{148\}/&'"$ac_delim"'/g
23360 t clear
23361 :clear
23362 s/\\$//
23363 t bsnlc
23364 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23366 :bsnlc
23367 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23368 b cont
23369 ' <confdefs.h | sed '
23370 s/'"$ac_delim"'/"\\\
23371 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23373 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23374 for (key in D) D_is_set[key] = 1
23375 FS = "\a"
23377 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23378 line = \$ 0
23379 split(line, arg, " ")
23380 if (arg[1] == "#") {
23381 defundef = arg[2]
23382 mac1 = arg[3]
23383 } else {
23384 defundef = substr(arg[1], 2)
23385 mac1 = arg[2]
23387 split(mac1, mac2, "(") #)
23388 macro = mac2[1]
23389 prefix = substr(line, 1, index(line, defundef) - 1)
23390 if (D_is_set[macro]) {
23391 # Preserve the white space surrounding the "#".
23392 print prefix "define", macro P[macro] D[macro]
23393 next
23394 } else {
23395 # Replace #undef with comments. This is necessary, for example,
23396 # in the case of _POSIX_SOURCE, which is predefined and required
23397 # on some systems where configure will not decide to define it.
23398 if (defundef == "undef") {
23399 print "/*", prefix defundef, macro, "*/"
23400 next
23404 { print }
23405 _ACAWK
23406 _ACEOF
23407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23408 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23409 fi # test -n "$CONFIG_HEADERS"
23412 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23413 shift
23414 for ac_tag
23416 case $ac_tag in
23417 :[FHLC]) ac_mode=$ac_tag; continue;;
23418 esac
23419 case $ac_mode$ac_tag in
23420 :[FHL]*:*);;
23421 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23422 :[FH]-) ac_tag=-:-;;
23423 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23424 esac
23425 ac_save_IFS=$IFS
23426 IFS=:
23427 set x $ac_tag
23428 IFS=$ac_save_IFS
23429 shift
23430 ac_file=$1
23431 shift
23433 case $ac_mode in
23434 :L) ac_source=$1;;
23435 :[FH])
23436 ac_file_inputs=
23437 for ac_f
23439 case $ac_f in
23440 -) ac_f="$ac_tmp/stdin";;
23441 *) # Look for the file first in the build tree, then in the source tree
23442 # (if the path is not absolute). The absolute path cannot be DOS-style,
23443 # because $ac_f cannot contain `:'.
23444 test -f "$ac_f" ||
23445 case $ac_f in
23446 [\\/$]*) false;;
23447 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23448 esac ||
23449 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23450 esac
23451 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23452 as_fn_append ac_file_inputs " '$ac_f'"
23453 done
23455 # Let's still pretend it is `configure' which instantiates (i.e., don't
23456 # use $as_me), people would be surprised to read:
23457 # /* config.h. Generated by config.status. */
23458 configure_input='Generated from '`
23459 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23460 `' by configure.'
23461 if test x"$ac_file" != x-; then
23462 configure_input="$ac_file. $configure_input"
23463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23464 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23466 # Neutralize special characters interpreted by sed in replacement strings.
23467 case $configure_input in #(
23468 *\&* | *\|* | *\\* )
23469 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23470 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23471 *) ac_sed_conf_input=$configure_input;;
23472 esac
23474 case $ac_tag in
23475 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23476 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23477 esac
23479 esac
23481 ac_dir=`$as_dirname -- "$ac_file" ||
23482 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23483 X"$ac_file" : 'X\(//\)[^/]' \| \
23484 X"$ac_file" : 'X\(//\)$' \| \
23485 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23486 printf "%s\n" X"$ac_file" |
23487 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23488 s//\1/
23491 /^X\(\/\/\)[^/].*/{
23492 s//\1/
23495 /^X\(\/\/\)$/{
23496 s//\1/
23499 /^X\(\/\).*/{
23500 s//\1/
23503 s/.*/./; q'`
23504 as_dir="$ac_dir"; as_fn_mkdir_p
23505 ac_builddir=.
23507 case "$ac_dir" in
23508 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23510 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23511 # A ".." for each directory in $ac_dir_suffix.
23512 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23513 case $ac_top_builddir_sub in
23514 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23515 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23516 esac ;;
23517 esac
23518 ac_abs_top_builddir=$ac_pwd
23519 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23520 # for backward compatibility:
23521 ac_top_builddir=$ac_top_build_prefix
23523 case $srcdir in
23524 .) # We are building in place.
23525 ac_srcdir=.
23526 ac_top_srcdir=$ac_top_builddir_sub
23527 ac_abs_top_srcdir=$ac_pwd ;;
23528 [\\/]* | ?:[\\/]* ) # Absolute name.
23529 ac_srcdir=$srcdir$ac_dir_suffix;
23530 ac_top_srcdir=$srcdir
23531 ac_abs_top_srcdir=$srcdir ;;
23532 *) # Relative name.
23533 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23534 ac_top_srcdir=$ac_top_build_prefix$srcdir
23535 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23536 esac
23537 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23540 case $ac_mode in
23544 # CONFIG_HEADER
23546 if test x"$ac_file" != x-; then
23548 printf "%s\n" "/* $configure_input */" >&1 \
23549 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23550 } >"$ac_tmp/config.h" \
23551 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23552 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23554 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23555 else
23556 rm -f "$ac_file"
23557 mv "$ac_tmp/config.h" "$ac_file" \
23558 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23560 else
23561 printf "%s\n" "/* $configure_input */" >&1 \
23562 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23563 || as_fn_error $? "could not create -" "$LINENO" 5
23568 # CONFIG_LINK
23571 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23573 else
23574 # Prefer the file from the source tree if names are identical.
23575 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23576 ac_source=$srcdir/$ac_source
23579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23580 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23582 if test ! -r "$ac_source"; then
23583 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23585 rm -f "$ac_file"
23587 # Try a relative symlink, then a hard link, then a copy.
23588 case $ac_source in
23589 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23590 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23591 esac
23592 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23593 ln "$ac_source" "$ac_file" 2>/dev/null ||
23594 cp -p "$ac_source" "$ac_file" ||
23595 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23598 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23599 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23601 esac
23604 case $ac_file$ac_mode in
23605 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23606 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23607 "Makefile":C) wine_fn_output_makefile Makefile ;;
23609 esac
23610 done # for ac_tag
23613 as_fn_exit 0
23614 _ACEOF
23615 ac_clean_files=$ac_clean_files_save
23617 test $ac_write_fail = 0 ||
23618 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23621 # configure is writing to config.log, and then calls config.status.
23622 # config.status does its own redirection, appending to config.log.
23623 # Unfortunately, on DOS this fails, as config.log is still kept open
23624 # by configure, so config.status won't be able to write to it; its
23625 # output is simply discarded. So we exec the FD to /dev/null,
23626 # effectively closing config.log, so it can be properly (re)opened and
23627 # appended to by config.status. When coming back to configure, we
23628 # need to make the FD available again.
23629 if test "$no_create" != yes; then
23630 ac_cs_success=:
23631 ac_config_status_args=
23632 test "$silent" = yes &&
23633 ac_config_status_args="$ac_config_status_args --quiet"
23634 exec 5>/dev/null
23635 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23636 exec 5>>config.log
23637 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23638 # would make configure fail if this is the last instruction.
23639 $ac_cs_success || as_fn_exit 1
23641 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23643 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23647 if test "$no_create" = "yes"
23648 then
23649 exit 0
23652 ac_save_IFS="$IFS"
23653 if test "x$wine_notices" != x; then
23654 echo >&6
23655 IFS="|"
23656 for msg in $wine_notices; do
23657 IFS="$ac_save_IFS"
23658 if ${msg:+false} :
23659 then :
23661 else $as_nop
23662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23663 printf "%s\n" "$as_me: $msg" >&6;}
23665 done
23667 IFS="|"
23668 for msg in $wine_warnings; do
23669 IFS="$ac_save_IFS"
23670 if ${msg:+false} :
23671 then :
23673 else $as_nop
23674 echo >&2
23675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23676 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23678 done
23679 IFS="$ac_save_IFS"
23681 printf "%s\n" "
23682 $as_me: Finished. Do '${ac_make}' to compile Wine.
23683 " >&6