winedbg: Support # as comment delimiter in commands.
[wine.git] / configure
blob8e3ec2a136373db4c095732b6f9c3c7f7863f817
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 6.22.
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='6.22'
615 PACKAGE_STRING='Wine 6.22'
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 EXCESS_PRECISION_CFLAGS
738 CROSSDEBUG
739 DELAYLOADFLAG
740 CROSSLDFLAGS
741 EXTRACROSSCFLAGS
742 CROSSCFLAGS
743 CROSSCC
744 CROSSTARGET
745 LIBWINE_DEPENDS
746 PRELINK
747 WINELOADER_DEPENDS
748 LIBWINE_LDFLAGS
749 LIBWINE_SHAREDLIB
750 METAL_LIBS
751 CARBON_LIBS
752 OPENCL_LIBS
753 OPENAL_LIBS
754 COREAUDIO_LIBS
755 SECURITY_LIBS
756 DISKARBITRATION_LIBS
757 SYSTEMCONFIGURATION_LIBS
758 APPKIT_LIBS
759 CORESERVICES_LIBS
760 APPLICATIONSERVICES_LIBS
761 IOKIT_LIBS
762 COREFOUNDATION_LIBS
763 ac_ct_OBJC
764 OBJCFLAGS
765 OBJC
766 DLLTOOL
767 WINELOADER_PROGRAMS
768 CONFIGURE_TARGETS
769 DISABLED_SUBDIRS
770 SUBDIRS
771 READELF
772 OTOOL
774 WINEPRELOADER_LDFLAGS
775 WINELOADER_LDFLAGS
776 TOP_INSTALL_DEV
777 TOP_INSTALL_LIB
778 UNIXLDFLAGS
779 UNIXDLLFLAGS
780 EXTRACFLAGS
781 LDEXECFLAGS
782 LDDLLFLAGS
783 DLLFLAGS
784 OPENGL_LIBS
785 I386_LIBS
786 ICOTOOL
787 CONVERT
788 RSVG
789 FONTFORGE
790 PKG_CONFIG
791 MSGFMT
792 LDCONFIG
793 EGREP
794 GREP
795 LN_S
796 RANLIB
797 STRIP
798 ac_ct_AR
800 BISON
801 FLEX
802 api_manext
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_api_ms_win_appmodel_identity_l1_1_0
947 enable_api_ms_win_appmodel_runtime_l1_1_0
948 enable_api_ms_win_appmodel_runtime_l1_1_1
949 enable_api_ms_win_appmodel_runtime_l1_1_2
950 enable_api_ms_win_core_apiquery_l1_1_0
951 enable_api_ms_win_core_appcompat_l1_1_1
952 enable_api_ms_win_core_appinit_l1_1_0
953 enable_api_ms_win_core_atoms_l1_1_0
954 enable_api_ms_win_core_bem_l1_1_0
955 enable_api_ms_win_core_com_l1_1_0
956 enable_api_ms_win_core_com_l1_1_1
957 enable_api_ms_win_core_com_private_l1_1_0
958 enable_api_ms_win_core_comm_l1_1_0
959 enable_api_ms_win_core_console_l1_1_0
960 enable_api_ms_win_core_console_l1_2_0
961 enable_api_ms_win_core_console_l2_1_0
962 enable_api_ms_win_core_console_l3_2_0
963 enable_api_ms_win_core_crt_l1_1_0
964 enable_api_ms_win_core_crt_l2_1_0
965 enable_api_ms_win_core_datetime_l1_1_0
966 enable_api_ms_win_core_datetime_l1_1_1
967 enable_api_ms_win_core_debug_l1_1_0
968 enable_api_ms_win_core_debug_l1_1_1
969 enable_api_ms_win_core_delayload_l1_1_0
970 enable_api_ms_win_core_delayload_l1_1_1
971 enable_api_ms_win_core_errorhandling_l1_1_0
972 enable_api_ms_win_core_errorhandling_l1_1_1
973 enable_api_ms_win_core_errorhandling_l1_1_2
974 enable_api_ms_win_core_errorhandling_l1_1_3
975 enable_api_ms_win_core_featurestaging_l1_1_0
976 enable_api_ms_win_core_fibers_l1_1_0
977 enable_api_ms_win_core_fibers_l1_1_1
978 enable_api_ms_win_core_file_ansi_l2_1_0
979 enable_api_ms_win_core_file_fromapp_l1_1_0
980 enable_api_ms_win_core_file_l1_1_0
981 enable_api_ms_win_core_file_l1_2_0
982 enable_api_ms_win_core_file_l1_2_1
983 enable_api_ms_win_core_file_l1_2_2
984 enable_api_ms_win_core_file_l2_1_0
985 enable_api_ms_win_core_file_l2_1_1
986 enable_api_ms_win_core_file_l2_1_2
987 enable_api_ms_win_core_handle_l1_1_0
988 enable_api_ms_win_core_heap_l1_1_0
989 enable_api_ms_win_core_heap_l1_2_0
990 enable_api_ms_win_core_heap_l2_1_0
991 enable_api_ms_win_core_heap_obsolete_l1_1_0
992 enable_api_ms_win_core_interlocked_l1_1_0
993 enable_api_ms_win_core_interlocked_l1_2_0
994 enable_api_ms_win_core_io_l1_1_0
995 enable_api_ms_win_core_io_l1_1_1
996 enable_api_ms_win_core_job_l1_1_0
997 enable_api_ms_win_core_job_l2_1_0
998 enable_api_ms_win_core_kernel32_legacy_l1_1_0
999 enable_api_ms_win_core_kernel32_legacy_l1_1_1
1000 enable_api_ms_win_core_kernel32_legacy_l1_1_2
1001 enable_api_ms_win_core_kernel32_legacy_l1_1_5
1002 enable_api_ms_win_core_kernel32_private_l1_1_1
1003 enable_api_ms_win_core_largeinteger_l1_1_0
1004 enable_api_ms_win_core_libraryloader_l1_1_0
1005 enable_api_ms_win_core_libraryloader_l1_1_1
1006 enable_api_ms_win_core_libraryloader_l1_2_0
1007 enable_api_ms_win_core_libraryloader_l1_2_1
1008 enable_api_ms_win_core_libraryloader_l1_2_2
1009 enable_api_ms_win_core_libraryloader_l2_1_0
1010 enable_api_ms_win_core_localization_l1_1_0
1011 enable_api_ms_win_core_localization_l1_2_0
1012 enable_api_ms_win_core_localization_l1_2_1
1013 enable_api_ms_win_core_localization_l1_2_2
1014 enable_api_ms_win_core_localization_l2_1_0
1015 enable_api_ms_win_core_localization_obsolete_l1_1_0
1016 enable_api_ms_win_core_localization_obsolete_l1_2_0
1017 enable_api_ms_win_core_localization_obsolete_l1_3_0
1018 enable_api_ms_win_core_localization_private_l1_1_0
1019 enable_api_ms_win_core_localregistry_l1_1_0
1020 enable_api_ms_win_core_memory_l1_1_0
1021 enable_api_ms_win_core_memory_l1_1_1
1022 enable_api_ms_win_core_memory_l1_1_2
1023 enable_api_ms_win_core_memory_l1_1_3
1024 enable_api_ms_win_core_memory_l1_1_4
1025 enable_api_ms_win_core_misc_l1_1_0
1026 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
1027 enable_api_ms_win_core_namedpipe_l1_1_0
1028 enable_api_ms_win_core_namedpipe_l1_2_0
1029 enable_api_ms_win_core_namespace_l1_1_0
1030 enable_api_ms_win_core_normalization_l1_1_0
1031 enable_api_ms_win_core_path_l1_1_0
1032 enable_api_ms_win_core_privateprofile_l1_1_1
1033 enable_api_ms_win_core_processenvironment_l1_1_0
1034 enable_api_ms_win_core_processenvironment_l1_2_0
1035 enable_api_ms_win_core_processthreads_l1_1_0
1036 enable_api_ms_win_core_processthreads_l1_1_1
1037 enable_api_ms_win_core_processthreads_l1_1_2
1038 enable_api_ms_win_core_processthreads_l1_1_3
1039 enable_api_ms_win_core_processtopology_l1_1_0
1040 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1041 enable_api_ms_win_core_profile_l1_1_0
1042 enable_api_ms_win_core_psapi_ansi_l1_1_0
1043 enable_api_ms_win_core_psapi_l1_1_0
1044 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1045 enable_api_ms_win_core_psm_appnotify_l1_1_0
1046 enable_api_ms_win_core_quirks_l1_1_0
1047 enable_api_ms_win_core_realtime_l1_1_0
1048 enable_api_ms_win_core_realtime_l1_1_1
1049 enable_api_ms_win_core_registry_l1_1_0
1050 enable_api_ms_win_core_registry_l2_1_0
1051 enable_api_ms_win_core_registry_l2_2_0
1052 enable_api_ms_win_core_registryuserspecific_l1_1_0
1053 enable_api_ms_win_core_rtlsupport_l1_1_0
1054 enable_api_ms_win_core_rtlsupport_l1_2_0
1055 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1056 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1057 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1058 enable_api_ms_win_core_shutdown_l1_1_0
1059 enable_api_ms_win_core_sidebyside_l1_1_0
1060 enable_api_ms_win_core_string_l1_1_0
1061 enable_api_ms_win_core_string_l2_1_0
1062 enable_api_ms_win_core_string_obsolete_l1_1_0
1063 enable_api_ms_win_core_stringansi_l1_1_0
1064 enable_api_ms_win_core_stringloader_l1_1_1
1065 enable_api_ms_win_core_synch_ansi_l1_1_0
1066 enable_api_ms_win_core_synch_l1_1_0
1067 enable_api_ms_win_core_synch_l1_2_0
1068 enable_api_ms_win_core_synch_l1_2_1
1069 enable_api_ms_win_core_sysinfo_l1_1_0
1070 enable_api_ms_win_core_sysinfo_l1_2_0
1071 enable_api_ms_win_core_sysinfo_l1_2_1
1072 enable_api_ms_win_core_systemtopology_l1_1_0
1073 enable_api_ms_win_core_threadpool_l1_1_0
1074 enable_api_ms_win_core_threadpool_l1_2_0
1075 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1076 enable_api_ms_win_core_threadpool_private_l1_1_0
1077 enable_api_ms_win_core_timezone_l1_1_0
1078 enable_api_ms_win_core_toolhelp_l1_1_0
1079 enable_api_ms_win_core_url_l1_1_0
1080 enable_api_ms_win_core_util_l1_1_0
1081 enable_api_ms_win_core_version_l1_1_0
1082 enable_api_ms_win_core_version_l1_1_1
1083 enable_api_ms_win_core_version_private_l1_1_0
1084 enable_api_ms_win_core_versionansi_l1_1_0
1085 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1086 enable_api_ms_win_core_winrt_error_l1_1_0
1087 enable_api_ms_win_core_winrt_error_l1_1_1
1088 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1089 enable_api_ms_win_core_winrt_l1_1_0
1090 enable_api_ms_win_core_winrt_registration_l1_1_0
1091 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1092 enable_api_ms_win_core_winrt_string_l1_1_0
1093 enable_api_ms_win_core_winrt_string_l1_1_1
1094 enable_api_ms_win_core_wow64_l1_1_0
1095 enable_api_ms_win_core_wow64_l1_1_1
1096 enable_api_ms_win_core_xstate_l1_1_0
1097 enable_api_ms_win_core_xstate_l2_1_0
1098 enable_api_ms_win_crt_conio_l1_1_0
1099 enable_api_ms_win_crt_convert_l1_1_0
1100 enable_api_ms_win_crt_environment_l1_1_0
1101 enable_api_ms_win_crt_filesystem_l1_1_0
1102 enable_api_ms_win_crt_heap_l1_1_0
1103 enable_api_ms_win_crt_locale_l1_1_0
1104 enable_api_ms_win_crt_math_l1_1_0
1105 enable_api_ms_win_crt_multibyte_l1_1_0
1106 enable_api_ms_win_crt_private_l1_1_0
1107 enable_api_ms_win_crt_process_l1_1_0
1108 enable_api_ms_win_crt_runtime_l1_1_0
1109 enable_api_ms_win_crt_stdio_l1_1_0
1110 enable_api_ms_win_crt_string_l1_1_0
1111 enable_api_ms_win_crt_time_l1_1_0
1112 enable_api_ms_win_crt_utility_l1_1_0
1113 enable_api_ms_win_devices_config_l1_1_0
1114 enable_api_ms_win_devices_config_l1_1_1
1115 enable_api_ms_win_devices_query_l1_1_1
1116 enable_api_ms_win_downlevel_advapi32_l1_1_0
1117 enable_api_ms_win_downlevel_advapi32_l2_1_0
1118 enable_api_ms_win_downlevel_kernel32_l2_1_0
1119 enable_api_ms_win_downlevel_normaliz_l1_1_0
1120 enable_api_ms_win_downlevel_ole32_l1_1_0
1121 enable_api_ms_win_downlevel_shell32_l1_1_0
1122 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1123 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1124 enable_api_ms_win_downlevel_user32_l1_1_0
1125 enable_api_ms_win_downlevel_version_l1_1_0
1126 enable_api_ms_win_dx_d3dkmt_l1_1_0
1127 enable_api_ms_win_eventing_classicprovider_l1_1_0
1128 enable_api_ms_win_eventing_consumer_l1_1_0
1129 enable_api_ms_win_eventing_controller_l1_1_0
1130 enable_api_ms_win_eventing_legacy_l1_1_0
1131 enable_api_ms_win_eventing_provider_l1_1_0
1132 enable_api_ms_win_eventlog_legacy_l1_1_0
1133 enable_api_ms_win_gaming_tcui_l1_1_0
1134 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1135 enable_api_ms_win_mm_joystick_l1_1_0
1136 enable_api_ms_win_mm_misc_l1_1_1
1137 enable_api_ms_win_mm_mme_l1_1_0
1138 enable_api_ms_win_mm_time_l1_1_0
1139 enable_api_ms_win_ntuser_dc_access_l1_1_0
1140 enable_api_ms_win_ntuser_rectangle_l1_1_0
1141 enable_api_ms_win_ntuser_sysparams_l1_1_0
1142 enable_api_ms_win_perf_legacy_l1_1_0
1143 enable_api_ms_win_power_base_l1_1_0
1144 enable_api_ms_win_power_setting_l1_1_0
1145 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1146 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1147 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1148 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1149 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1150 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1151 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1152 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1153 enable_api_ms_win_security_audit_l1_1_1
1154 enable_api_ms_win_security_base_l1_1_0
1155 enable_api_ms_win_security_base_l1_2_0
1156 enable_api_ms_win_security_base_private_l1_1_1
1157 enable_api_ms_win_security_credentials_l1_1_0
1158 enable_api_ms_win_security_cryptoapi_l1_1_0
1159 enable_api_ms_win_security_grouppolicy_l1_1_0
1160 enable_api_ms_win_security_lsalookup_l1_1_0
1161 enable_api_ms_win_security_lsalookup_l1_1_1
1162 enable_api_ms_win_security_lsalookup_l2_1_0
1163 enable_api_ms_win_security_lsalookup_l2_1_1
1164 enable_api_ms_win_security_lsapolicy_l1_1_0
1165 enable_api_ms_win_security_provider_l1_1_0
1166 enable_api_ms_win_security_sddl_l1_1_0
1167 enable_api_ms_win_security_systemfunctions_l1_1_0
1168 enable_api_ms_win_service_core_l1_1_0
1169 enable_api_ms_win_service_core_l1_1_1
1170 enable_api_ms_win_service_management_l1_1_0
1171 enable_api_ms_win_service_management_l2_1_0
1172 enable_api_ms_win_service_private_l1_1_1
1173 enable_api_ms_win_service_winsvc_l1_1_0
1174 enable_api_ms_win_service_winsvc_l1_2_0
1175 enable_api_ms_win_shcore_obsolete_l1_1_0
1176 enable_api_ms_win_shcore_scaling_l1_1_0
1177 enable_api_ms_win_shcore_scaling_l1_1_1
1178 enable_api_ms_win_shcore_stream_l1_1_0
1179 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1180 enable_api_ms_win_shcore_thread_l1_1_0
1181 enable_api_ms_win_shell_shellcom_l1_1_0
1182 enable_api_ms_win_shell_shellfolders_l1_1_0
1183 enable_apphelp
1184 enable_appwiz_cpl
1185 enable_atl
1186 enable_atl100
1187 enable_atl110
1188 enable_atl80
1189 enable_atl90
1190 enable_atlthunk
1191 enable_atmlib
1192 enable_authz
1193 enable_avicap32
1194 enable_avifil32
1195 enable_avrt
1196 enable_bcrypt
1197 enable_bluetoothapis
1198 enable_browseui
1199 enable_bthprops_cpl
1200 enable_cabinet
1201 enable_capi2032
1202 enable_cards
1203 enable_cdosys
1204 enable_cfgmgr32
1205 enable_clusapi
1206 enable_cng_sys
1207 enable_combase
1208 enable_comcat
1209 enable_comctl32
1210 enable_comdlg32
1211 enable_compstui
1212 enable_comsvcs
1213 enable_concrt140
1214 enable_connect
1215 enable_credui
1216 enable_crtdll
1217 enable_crypt32
1218 enable_cryptdlg
1219 enable_cryptdll
1220 enable_cryptext
1221 enable_cryptnet
1222 enable_cryptsp
1223 enable_cryptui
1224 enable_ctapi32
1225 enable_ctl3d32
1226 enable_d2d1
1227 enable_d3d10
1228 enable_d3d10_1
1229 enable_d3d10core
1230 enable_d3d11
1231 enable_d3d12
1232 enable_d3d8
1233 enable_d3d8thk
1234 enable_d3d9
1235 enable_d3dcompiler_33
1236 enable_d3dcompiler_34
1237 enable_d3dcompiler_35
1238 enable_d3dcompiler_36
1239 enable_d3dcompiler_37
1240 enable_d3dcompiler_38
1241 enable_d3dcompiler_39
1242 enable_d3dcompiler_40
1243 enable_d3dcompiler_41
1244 enable_d3dcompiler_42
1245 enable_d3dcompiler_43
1246 enable_d3dcompiler_46
1247 enable_d3dcompiler_47
1248 enable_d3dim
1249 enable_d3dim700
1250 enable_d3drm
1251 enable_d3dx10_33
1252 enable_d3dx10_34
1253 enable_d3dx10_35
1254 enable_d3dx10_36
1255 enable_d3dx10_37
1256 enable_d3dx10_38
1257 enable_d3dx10_39
1258 enable_d3dx10_40
1259 enable_d3dx10_41
1260 enable_d3dx10_42
1261 enable_d3dx10_43
1262 enable_d3dx11_42
1263 enable_d3dx11_43
1264 enable_d3dx9_24
1265 enable_d3dx9_25
1266 enable_d3dx9_26
1267 enable_d3dx9_27
1268 enable_d3dx9_28
1269 enable_d3dx9_29
1270 enable_d3dx9_30
1271 enable_d3dx9_31
1272 enable_d3dx9_32
1273 enable_d3dx9_33
1274 enable_d3dx9_34
1275 enable_d3dx9_35
1276 enable_d3dx9_36
1277 enable_d3dx9_37
1278 enable_d3dx9_38
1279 enable_d3dx9_39
1280 enable_d3dx9_40
1281 enable_d3dx9_41
1282 enable_d3dx9_42
1283 enable_d3dx9_43
1284 enable_d3dxof
1285 enable_davclnt
1286 enable_dbgeng
1287 enable_dbghelp
1288 enable_dciman32
1289 enable_dcomp
1290 enable_ddraw
1291 enable_ddrawex
1292 enable_devenum
1293 enable_dhcpcsvc
1294 enable_dhcpcsvc6
1295 enable_dhtmled_ocx
1296 enable_difxapi
1297 enable_dinput
1298 enable_dinput8
1299 enable_directmanipulation
1300 enable_dispex
1301 enable_dmband
1302 enable_dmcompos
1303 enable_dmime
1304 enable_dmloader
1305 enable_dmscript
1306 enable_dmstyle
1307 enable_dmsynth
1308 enable_dmusic
1309 enable_dmusic32
1310 enable_dnsapi
1311 enable_dplay
1312 enable_dplayx
1313 enable_dpnaddr
1314 enable_dpnet
1315 enable_dpnhpast
1316 enable_dpnhupnp
1317 enable_dpnlobby
1318 enable_dpvoice
1319 enable_dpwsockx
1320 enable_drmclien
1321 enable_dsdmo
1322 enable_dsound
1323 enable_dsquery
1324 enable_dssenh
1325 enable_dsuiext
1326 enable_dswave
1327 enable_dwmapi
1328 enable_dwrite
1329 enable_dx8vb
1330 enable_dxdiagn
1331 enable_dxgi
1332 enable_dxtrans
1333 enable_dxva2
1334 enable_esent
1335 enable_evr
1336 enable_explorerframe
1337 enable_ext_ms_win_authz_context_l1_1_0
1338 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1339 enable_ext_ms_win_dwmapi_ext_l1_1_0
1340 enable_ext_ms_win_gdi_dc_create_l1_1_0
1341 enable_ext_ms_win_gdi_dc_create_l1_1_1
1342 enable_ext_ms_win_gdi_dc_l1_2_0
1343 enable_ext_ms_win_gdi_devcaps_l1_1_0
1344 enable_ext_ms_win_gdi_draw_l1_1_0
1345 enable_ext_ms_win_gdi_draw_l1_1_1
1346 enable_ext_ms_win_gdi_font_l1_1_0
1347 enable_ext_ms_win_gdi_font_l1_1_1
1348 enable_ext_ms_win_gdi_render_l1_1_0
1349 enable_ext_ms_win_kernel32_package_current_l1_1_0
1350 enable_ext_ms_win_kernel32_package_l1_1_1
1351 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1352 enable_ext_ms_win_ntuser_draw_l1_1_0
1353 enable_ext_ms_win_ntuser_gui_l1_1_0
1354 enable_ext_ms_win_ntuser_gui_l1_3_0
1355 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1356 enable_ext_ms_win_ntuser_message_l1_1_0
1357 enable_ext_ms_win_ntuser_message_l1_1_1
1358 enable_ext_ms_win_ntuser_misc_l1_1_0
1359 enable_ext_ms_win_ntuser_misc_l1_2_0
1360 enable_ext_ms_win_ntuser_misc_l1_5_1
1361 enable_ext_ms_win_ntuser_mouse_l1_1_0
1362 enable_ext_ms_win_ntuser_private_l1_1_1
1363 enable_ext_ms_win_ntuser_private_l1_3_1
1364 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1365 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1366 enable_ext_ms_win_ntuser_window_l1_1_0
1367 enable_ext_ms_win_ntuser_window_l1_1_1
1368 enable_ext_ms_win_ntuser_window_l1_1_4
1369 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1370 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1371 enable_ext_ms_win_oleacc_l1_1_0
1372 enable_ext_ms_win_ras_rasapi32_l1_1_0
1373 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1374 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1375 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1376 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1377 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1378 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1379 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1380 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1381 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1382 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1383 enable_ext_ms_win_security_credui_l1_1_0
1384 enable_ext_ms_win_security_cryptui_l1_1_0
1385 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1386 enable_ext_ms_win_shell_comdlg32_l1_1_0
1387 enable_ext_ms_win_shell_shell32_l1_2_0
1388 enable_ext_ms_win_uxtheme_themes_l1_1_0
1389 enable_faultrep
1390 enable_feclient
1391 enable_fltlib
1392 enable_fltmgr_sys
1393 enable_fntcache
1394 enable_fontsub
1395 enable_fusion
1396 enable_fwpuclnt
1397 enable_gameux
1398 enable_gamingtcui
1399 enable_gdi32
1400 enable_gdiplus
1401 enable_glu32
1402 enable_gphoto2_ds
1403 enable_gpkcsp
1404 enable_hal
1405 enable_hhctrl_ocx
1406 enable_hid
1407 enable_hidclass_sys
1408 enable_hidparse_sys
1409 enable_hlink
1410 enable_hnetcfg
1411 enable_http_sys
1412 enable_httpapi
1413 enable_iccvid
1414 enable_icmp
1415 enable_ieframe
1416 enable_ieproxy
1417 enable_imaadp32_acm
1418 enable_imagehlp
1419 enable_imm32
1420 enable_inetcomm
1421 enable_inetcpl_cpl
1422 enable_inetmib1
1423 enable_infosoft
1424 enable_initpki
1425 enable_inkobj
1426 enable_inseng
1427 enable_iphlpapi
1428 enable_iprop
1429 enable_irprops_cpl
1430 enable_itircl
1431 enable_itss
1432 enable_joy_cpl
1433 enable_jscript
1434 enable_jsproxy
1435 enable_kerberos
1436 enable_kernel32
1437 enable_kernelbase
1438 enable_ksecdd_sys
1439 enable_ksproxy_ax
1440 enable_ksuser
1441 enable_ktmw32
1442 enable_l3codeca_acm
1443 enable_light_msstyles
1444 enable_loadperf
1445 enable_localspl
1446 enable_localui
1447 enable_lz32
1448 enable_mapi32
1449 enable_mapistub
1450 enable_mciavi32
1451 enable_mcicda
1452 enable_mciqtz32
1453 enable_mciseq
1454 enable_mciwave
1455 enable_mf
1456 enable_mf3216
1457 enable_mferror
1458 enable_mfmediaengine
1459 enable_mfplat
1460 enable_mfplay
1461 enable_mfreadwrite
1462 enable_mgmtapi
1463 enable_midimap
1464 enable_mlang
1465 enable_mmcndmgr
1466 enable_mmdevapi
1467 enable_mountmgr_sys
1468 enable_mp3dmod
1469 enable_mpr
1470 enable_mprapi
1471 enable_msacm32_drv
1472 enable_msacm32
1473 enable_msado15
1474 enable_msadp32_acm
1475 enable_msasn1
1476 enable_mscat32
1477 enable_mscms
1478 enable_mscoree
1479 enable_mscorwks
1480 enable_msctf
1481 enable_msctfmonitor
1482 enable_msctfp
1483 enable_msdaps
1484 enable_msdasql
1485 enable_msdelta
1486 enable_msdmo
1487 enable_msdrm
1488 enable_msftedit
1489 enable_msg711_acm
1490 enable_msgsm32_acm
1491 enable_mshtml_tlb
1492 enable_mshtml
1493 enable_msi
1494 enable_msident
1495 enable_msimg32
1496 enable_msimsg
1497 enable_msimtf
1498 enable_msisip
1499 enable_msisys_ocx
1500 enable_msls31
1501 enable_msnet32
1502 enable_mspatcha
1503 enable_msports
1504 enable_msrle32
1505 enable_msscript_ocx
1506 enable_mssign32
1507 enable_mssip32
1508 enable_mstask
1509 enable_msv1_0
1510 enable_msvcirt
1511 enable_msvcm80
1512 enable_msvcm90
1513 enable_msvcp100
1514 enable_msvcp110
1515 enable_msvcp120
1516 enable_msvcp120_app
1517 enable_msvcp140
1518 enable_msvcp140_1
1519 enable_msvcp60
1520 enable_msvcp70
1521 enable_msvcp71
1522 enable_msvcp80
1523 enable_msvcp90
1524 enable_msvcp_win
1525 enable_msvcr100
1526 enable_msvcr110
1527 enable_msvcr120
1528 enable_msvcr120_app
1529 enable_msvcr70
1530 enable_msvcr71
1531 enable_msvcr80
1532 enable_msvcr90
1533 enable_msvcrt
1534 enable_msvcrt20
1535 enable_msvcrt40
1536 enable_msvcrtd
1537 enable_msvfw32
1538 enable_msvidc32
1539 enable_mswsock
1540 enable_msxml
1541 enable_msxml2
1542 enable_msxml3
1543 enable_msxml4
1544 enable_msxml6
1545 enable_mtxdm
1546 enable_ncrypt
1547 enable_nddeapi
1548 enable_ndis_sys
1549 enable_netapi32
1550 enable_netcfgx
1551 enable_netio_sys
1552 enable_netprofm
1553 enable_netutils
1554 enable_newdev
1555 enable_ninput
1556 enable_normaliz
1557 enable_npmshtml
1558 enable_npptools
1559 enable_nsi
1560 enable_nsiproxy_sys
1561 enable_ntdll
1562 enable_ntdsapi
1563 enable_ntoskrnl_exe
1564 enable_ntprint
1565 enable_objsel
1566 enable_odbc32
1567 enable_odbcbcp
1568 enable_odbccp32
1569 enable_odbccu32
1570 enable_ole32
1571 enable_oleacc
1572 enable_oleaut32
1573 enable_olecli32
1574 enable_oledb32
1575 enable_oledlg
1576 enable_olepro32
1577 enable_olesvr32
1578 enable_olethk32
1579 enable_opcservices
1580 enable_openal32
1581 enable_opencl
1582 enable_opengl32
1583 enable_packager
1584 enable_pdh
1585 enable_photometadatahandler
1586 enable_pidgen
1587 enable_powrprof
1588 enable_printui
1589 enable_prntvpt
1590 enable_propsys
1591 enable_psapi
1592 enable_pstorec
1593 enable_pwrshplugin
1594 enable_qasf
1595 enable_qcap
1596 enable_qdvd
1597 enable_qedit
1598 enable_qmgr
1599 enable_qmgrprxy
1600 enable_quartz
1601 enable_query
1602 enable_qwave
1603 enable_rasapi32
1604 enable_rasdlg
1605 enable_regapi
1606 enable_resutils
1607 enable_riched20
1608 enable_riched32
1609 enable_rpcrt4
1610 enable_rsabase
1611 enable_rsaenh
1612 enable_rstrtmgr
1613 enable_rtutils
1614 enable_rtworkq
1615 enable_samlib
1616 enable_sane_ds
1617 enable_sapi
1618 enable_sas
1619 enable_scarddlg
1620 enable_sccbase
1621 enable_schannel
1622 enable_schedsvc
1623 enable_scrobj
1624 enable_scrrun
1625 enable_scsiport_sys
1626 enable_sechost
1627 enable_secur32
1628 enable_security
1629 enable_sensapi
1630 enable_serialui
1631 enable_setupapi
1632 enable_sfc
1633 enable_sfc_os
1634 enable_shcore
1635 enable_shdoclc
1636 enable_shdocvw
1637 enable_shell32
1638 enable_shfolder
1639 enable_shlwapi
1640 enable_slbcsp
1641 enable_slc
1642 enable_snmpapi
1643 enable_softpub
1644 enable_spoolss
1645 enable_sppc
1646 enable_srclient
1647 enable_srvcli
1648 enable_sspicli
1649 enable_stdole2_tlb
1650 enable_stdole32_tlb
1651 enable_sti
1652 enable_strmdll
1653 enable_svrapi
1654 enable_sxs
1655 enable_t2embed
1656 enable_tapi32
1657 enable_taskschd
1658 enable_tbs
1659 enable_tdh
1660 enable_tdi_sys
1661 enable_traffic
1662 enable_twain_32
1663 enable_tzres
1664 enable_ucrtbase
1665 enable_uianimation
1666 enable_uiautomationcore
1667 enable_uiribbon
1668 enable_unicows
1669 enable_updspapi
1670 enable_url
1671 enable_urlmon
1672 enable_usbd_sys
1673 enable_user32
1674 enable_userenv
1675 enable_usp10
1676 enable_utildll
1677 enable_uxtheme
1678 enable_vbscript
1679 enable_vcomp
1680 enable_vcomp100
1681 enable_vcomp110
1682 enable_vcomp120
1683 enable_vcomp140
1684 enable_vcomp90
1685 enable_vcruntime140
1686 enable_vcruntime140_1
1687 enable_vdmdbg
1688 enable_version
1689 enable_vga
1690 enable_virtdisk
1691 enable_vssapi
1692 enable_vulkan_1
1693 enable_wbemdisp
1694 enable_wbemprox
1695 enable_wdscore
1696 enable_webservices
1697 enable_websocket
1698 enable_wer
1699 enable_wevtapi
1700 enable_wevtsvc
1701 enable_wiaservc
1702 enable_wimgapi
1703 enable_win32u
1704 enable_windows_devices_enumeration
1705 enable_windows_gaming_input
1706 enable_windows_globalization
1707 enable_windows_media_devices
1708 enable_windows_media_speech
1709 enable_windowscodecs
1710 enable_windowscodecsext
1711 enable_winealsa_drv
1712 enable_wineandroid_drv
1713 enable_winebus_sys
1714 enable_winecoreaudio_drv
1715 enable_winecrt0
1716 enable_wined3d
1717 enable_winegstreamer
1718 enable_winehid_sys
1719 enable_winejoystick_drv
1720 enable_winemac_drv
1721 enable_winemapi
1722 enable_wineoss_drv
1723 enable_wineps_drv
1724 enable_winepulse_drv
1725 enable_wineusb_sys
1726 enable_winevulkan
1727 enable_winex11_drv
1728 enable_winexinput_sys
1729 enable_wing32
1730 enable_winhttp
1731 enable_wininet
1732 enable_winmm
1733 enable_winnls32
1734 enable_winscard
1735 enable_winspool_drv
1736 enable_winsta
1737 enable_wintab32
1738 enable_wintrust
1739 enable_winusb
1740 enable_wlanapi
1741 enable_wlanui
1742 enable_wldap32
1743 enable_wmasf
1744 enable_wmi
1745 enable_wmiutils
1746 enable_wmp
1747 enable_wmphoto
1748 enable_wmvcore
1749 enable_wnaspi32
1750 enable_wow64
1751 enable_wow64cpu
1752 enable_wow64win
1753 enable_wpc
1754 enable_wpcap
1755 enable_ws2_32
1756 enable_wsdapi
1757 enable_wshom_ocx
1758 enable_wsnmp32
1759 enable_wsock32
1760 enable_wtsapi32
1761 enable_wuapi
1762 enable_wuaueng
1763 enable_x3daudio1_0
1764 enable_x3daudio1_1
1765 enable_x3daudio1_2
1766 enable_x3daudio1_3
1767 enable_x3daudio1_4
1768 enable_x3daudio1_5
1769 enable_x3daudio1_6
1770 enable_x3daudio1_7
1771 enable_xactengine2_0
1772 enable_xactengine2_4
1773 enable_xactengine2_7
1774 enable_xactengine2_9
1775 enable_xactengine3_0
1776 enable_xactengine3_1
1777 enable_xactengine3_2
1778 enable_xactengine3_3
1779 enable_xactengine3_4
1780 enable_xactengine3_5
1781 enable_xactengine3_6
1782 enable_xactengine3_7
1783 enable_xapofx1_1
1784 enable_xapofx1_2
1785 enable_xapofx1_3
1786 enable_xapofx1_4
1787 enable_xapofx1_5
1788 enable_xaudio2_0
1789 enable_xaudio2_1
1790 enable_xaudio2_2
1791 enable_xaudio2_3
1792 enable_xaudio2_4
1793 enable_xaudio2_5
1794 enable_xaudio2_6
1795 enable_xaudio2_7
1796 enable_xaudio2_8
1797 enable_xaudio2_9
1798 enable_xinput1_1
1799 enable_xinput1_2
1800 enable_xinput1_3
1801 enable_xinput1_4
1802 enable_xinput9_1_0
1803 enable_xmllite
1804 enable_xolehlp
1805 enable_xpsprint
1806 enable_xpssvcs
1807 enable_fonts
1808 enable_include
1809 enable_adsiid
1810 enable_dmoguids
1811 enable_dxerr8
1812 enable_dxerr9
1813 enable_dxguid
1814 enable_faudio
1815 enable_gsm
1816 enable_jpeg
1817 enable_jxr
1818 enable_lcms2
1819 enable_mfuuid
1820 enable_mpg123
1821 enable_png
1822 enable_strmbase
1823 enable_strmiids
1824 enable_tiff
1825 enable_uuid
1826 enable_wbemuuid
1827 enable_wine
1828 enable_wmcodecdspuuid
1829 enable_xml2
1830 enable_xslt
1831 enable_zlib
1832 enable_loader
1833 enable_nls
1834 enable_po
1835 enable_arp
1836 enable_aspnet_regiis
1837 enable_attrib
1838 enable_cabarc
1839 enable_cacls
1840 enable_chcp_com
1841 enable_clock
1842 enable_cmd
1843 enable_conhost
1844 enable_control
1845 enable_cscript
1846 enable_dism
1847 enable_dplaysvr
1848 enable_dpnsvr
1849 enable_dpvsetup
1850 enable_dxdiag
1851 enable_eject
1852 enable_expand
1853 enable_explorer
1854 enable_extrac32
1855 enable_fc
1856 enable_find
1857 enable_findstr
1858 enable_fsutil
1859 enable_hh
1860 enable_hostname
1861 enable_icacls
1862 enable_icinfo
1863 enable_iexplore
1864 enable_ipconfig
1865 enable_lodctr
1866 enable_mofcomp
1867 enable_mshta
1868 enable_msidb
1869 enable_msiexec
1870 enable_msinfo32
1871 enable_net
1872 enable_netsh
1873 enable_netstat
1874 enable_ngen
1875 enable_notepad
1876 enable_oleview
1877 enable_ping
1878 enable_plugplay
1879 enable_powershell
1880 enable_presentationfontcache
1881 enable_progman
1882 enable_reg
1883 enable_regasm
1884 enable_regedit
1885 enable_regini
1886 enable_regsvcs
1887 enable_regsvr32
1888 enable_robocopy
1889 enable_rpcss
1890 enable_rundll32
1891 enable_sc
1892 enable_schtasks
1893 enable_sdbinst
1894 enable_secedit
1895 enable_servicemodelreg
1896 enable_services
1897 enable_shutdown
1898 enable_spoolsv
1899 enable_start
1900 enable_subst
1901 enable_svchost
1902 enable_systeminfo
1903 enable_taskkill
1904 enable_tasklist
1905 enable_taskmgr
1906 enable_termsv
1907 enable_uninstaller
1908 enable_unlodctr
1909 enable_view
1910 enable_wevtutil
1911 enable_where
1912 enable_whoami
1913 enable_wineboot
1914 enable_winebrowser
1915 enable_winecfg
1916 enable_wineconsole
1917 enable_winedbg
1918 enable_winedevice
1919 enable_winefile
1920 enable_winemenubuilder
1921 enable_winemine
1922 enable_winemsibuilder
1923 enable_winepath
1924 enable_winetest
1925 enable_winhlp32
1926 enable_winmgmt
1927 enable_winver
1928 enable_wmic
1929 enable_wmplayer
1930 enable_wordpad
1931 enable_write
1932 enable_wscript
1933 enable_wuauserv
1934 enable_wusa
1935 enable_xcopy
1936 enable_server
1937 enable_tools
1938 enable_sfnt2fon
1939 enable_widl
1940 enable_winebuild
1941 enable_winedump
1942 enable_winegcc
1943 enable_winemaker
1944 enable_wmc
1945 enable_wrc
1947 ac_precious_vars='build_alias
1948 host_alias
1949 target_alias
1951 CFLAGS
1952 LDFLAGS
1953 LIBS
1954 CPPFLAGS
1956 CXXFLAGS
1958 OBJC
1959 OBJCFLAGS
1960 FAUDIO_PE_CFLAGS
1961 FAUDIO_PE_LIBS
1962 GSM_PE_CFLAGS
1963 GSM_PE_LIBS
1964 JPEG_PE_CFLAGS
1965 JPEG_PE_LIBS
1966 JXR_PE_CFLAGS
1967 JXR_PE_LIBS
1968 LCMS2_PE_CFLAGS
1969 LCMS2_PE_LIBS
1970 MPG123_PE_CFLAGS
1971 MPG123_PE_LIBS
1972 PNG_PE_CFLAGS
1973 PNG_PE_LIBS
1974 TIFF_PE_CFLAGS
1975 TIFF_PE_LIBS
1976 XML2_PE_CFLAGS
1977 XML2_PE_LIBS
1978 XSLT_PE_CFLAGS
1979 XSLT_PE_LIBS
1980 ZLIB_PE_CFLAGS
1981 ZLIB_PE_LIBS
1982 XMKMF
1984 INOTIFY_CFLAGS
1985 INOTIFY_LIBS
1986 DBUS_CFLAGS
1987 DBUS_LIBS
1988 GNUTLS_CFLAGS
1989 GNUTLS_LIBS
1990 SANE_CFLAGS
1991 SANE_LIBS
1992 USB_CFLAGS
1993 USB_LIBS
1994 GPHOTO2_CFLAGS
1995 GPHOTO2_LIBS
1996 GPHOTO2_PORT_CFLAGS
1997 GPHOTO2_PORT_LIBS
1998 FREETYPE_CFLAGS
1999 FREETYPE_LIBS
2000 PULSE_CFLAGS
2001 PULSE_LIBS
2002 GSTREAMER_CFLAGS
2003 GSTREAMER_LIBS
2004 UDEV_CFLAGS
2005 UDEV_LIBS
2006 UNWIND_CFLAGS
2007 UNWIND_LIBS
2008 SDL2_CFLAGS
2009 SDL2_LIBS
2010 CAPI20_CFLAGS
2011 CAPI20_LIBS
2012 CUPS_CFLAGS
2013 CUPS_LIBS
2014 FONTCONFIG_CFLAGS
2015 FONTCONFIG_LIBS
2016 KRB5_CFLAGS
2017 KRB5_LIBS
2018 GSSAPI_CFLAGS
2019 GSSAPI_LIBS
2020 NETAPI_CFLAGS
2021 NETAPI_LIBS
2022 VKD3D_CFLAGS
2023 VKD3D_LIBS
2024 VKD3D_SHADER_CFLAGS
2025 VKD3D_SHADER_LIBS
2026 LDAP_CFLAGS
2027 LDAP_LIBS'
2030 # Initialize some variables set by options.
2031 ac_init_help=
2032 ac_init_version=false
2033 ac_unrecognized_opts=
2034 ac_unrecognized_sep=
2035 # The variables have the same names as the options, with
2036 # dashes changed to underlines.
2037 cache_file=/dev/null
2038 exec_prefix=NONE
2039 no_create=
2040 no_recursion=
2041 prefix=NONE
2042 program_prefix=NONE
2043 program_suffix=NONE
2044 program_transform_name=s,x,x,
2045 silent=
2046 site=
2047 srcdir=
2048 verbose=
2049 x_includes=NONE
2050 x_libraries=NONE
2052 # Installation directory options.
2053 # These are left unexpanded so users can "make install exec_prefix=/foo"
2054 # and all the variables that are supposed to be based on exec_prefix
2055 # by default will actually change.
2056 # Use braces instead of parens because sh, perl, etc. also accept them.
2057 # (The list follows the same order as the GNU Coding Standards.)
2058 bindir='${exec_prefix}/bin'
2059 sbindir='${exec_prefix}/sbin'
2060 libexecdir='${exec_prefix}/libexec'
2061 datarootdir='${prefix}/share'
2062 datadir='${datarootdir}'
2063 sysconfdir='${prefix}/etc'
2064 sharedstatedir='${prefix}/com'
2065 localstatedir='${prefix}/var'
2066 runstatedir='${localstatedir}/run'
2067 includedir='${prefix}/include'
2068 oldincludedir='/usr/include'
2069 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2070 infodir='${datarootdir}/info'
2071 htmldir='${docdir}'
2072 dvidir='${docdir}'
2073 pdfdir='${docdir}'
2074 psdir='${docdir}'
2075 libdir='${exec_prefix}/lib'
2076 localedir='${datarootdir}/locale'
2077 mandir='${datarootdir}/man'
2079 ac_prev=
2080 ac_dashdash=
2081 for ac_option
2083 # If the previous option needs an argument, assign it.
2084 if test -n "$ac_prev"; then
2085 eval $ac_prev=\$ac_option
2086 ac_prev=
2087 continue
2090 case $ac_option in
2091 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2092 *=) ac_optarg= ;;
2093 *) ac_optarg=yes ;;
2094 esac
2096 case $ac_dashdash$ac_option in
2098 ac_dashdash=yes ;;
2100 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2101 ac_prev=bindir ;;
2102 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2103 bindir=$ac_optarg ;;
2105 -build | --build | --buil | --bui | --bu)
2106 ac_prev=build_alias ;;
2107 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2108 build_alias=$ac_optarg ;;
2110 -cache-file | --cache-file | --cache-fil | --cache-fi \
2111 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2112 ac_prev=cache_file ;;
2113 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2114 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2115 cache_file=$ac_optarg ;;
2117 --config-cache | -C)
2118 cache_file=config.cache ;;
2120 -datadir | --datadir | --datadi | --datad)
2121 ac_prev=datadir ;;
2122 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2123 datadir=$ac_optarg ;;
2125 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2126 | --dataroo | --dataro | --datar)
2127 ac_prev=datarootdir ;;
2128 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2129 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2130 datarootdir=$ac_optarg ;;
2132 -disable-* | --disable-*)
2133 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2134 # Reject names that are not valid shell variable names.
2135 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2136 as_fn_error $? "invalid feature name: \`$ac_useropt'"
2137 ac_useropt_orig=$ac_useropt
2138 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2139 case $ac_user_opts in
2141 "enable_$ac_useropt"
2142 "*) ;;
2143 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2144 ac_unrecognized_sep=', ';;
2145 esac
2146 eval enable_$ac_useropt=no ;;
2148 -docdir | --docdir | --docdi | --doc | --do)
2149 ac_prev=docdir ;;
2150 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2151 docdir=$ac_optarg ;;
2153 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2154 ac_prev=dvidir ;;
2155 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2156 dvidir=$ac_optarg ;;
2158 -enable-* | --enable-*)
2159 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2160 # Reject names that are not valid shell variable names.
2161 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2162 as_fn_error $? "invalid feature name: \`$ac_useropt'"
2163 ac_useropt_orig=$ac_useropt
2164 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2165 case $ac_user_opts in
2167 "enable_$ac_useropt"
2168 "*) ;;
2169 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2170 ac_unrecognized_sep=', ';;
2171 esac
2172 eval enable_$ac_useropt=\$ac_optarg ;;
2174 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2175 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2176 | --exec | --exe | --ex)
2177 ac_prev=exec_prefix ;;
2178 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2179 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2180 | --exec=* | --exe=* | --ex=*)
2181 exec_prefix=$ac_optarg ;;
2183 -gas | --gas | --ga | --g)
2184 # Obsolete; use --with-gas.
2185 with_gas=yes ;;
2187 -help | --help | --hel | --he | -h)
2188 ac_init_help=long ;;
2189 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2190 ac_init_help=recursive ;;
2191 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2192 ac_init_help=short ;;
2194 -host | --host | --hos | --ho)
2195 ac_prev=host_alias ;;
2196 -host=* | --host=* | --hos=* | --ho=*)
2197 host_alias=$ac_optarg ;;
2199 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2200 ac_prev=htmldir ;;
2201 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2202 | --ht=*)
2203 htmldir=$ac_optarg ;;
2205 -includedir | --includedir | --includedi | --included | --include \
2206 | --includ | --inclu | --incl | --inc)
2207 ac_prev=includedir ;;
2208 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2209 | --includ=* | --inclu=* | --incl=* | --inc=*)
2210 includedir=$ac_optarg ;;
2212 -infodir | --infodir | --infodi | --infod | --info | --inf)
2213 ac_prev=infodir ;;
2214 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2215 infodir=$ac_optarg ;;
2217 -libdir | --libdir | --libdi | --libd)
2218 ac_prev=libdir ;;
2219 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2220 libdir=$ac_optarg ;;
2222 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2223 | --libexe | --libex | --libe)
2224 ac_prev=libexecdir ;;
2225 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2226 | --libexe=* | --libex=* | --libe=*)
2227 libexecdir=$ac_optarg ;;
2229 -localedir | --localedir | --localedi | --localed | --locale)
2230 ac_prev=localedir ;;
2231 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2232 localedir=$ac_optarg ;;
2234 -localstatedir | --localstatedir | --localstatedi | --localstated \
2235 | --localstate | --localstat | --localsta | --localst | --locals)
2236 ac_prev=localstatedir ;;
2237 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2238 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2239 localstatedir=$ac_optarg ;;
2241 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2242 ac_prev=mandir ;;
2243 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2244 mandir=$ac_optarg ;;
2246 -nfp | --nfp | --nf)
2247 # Obsolete; use --without-fp.
2248 with_fp=no ;;
2250 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2251 | --no-cr | --no-c | -n)
2252 no_create=yes ;;
2254 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2255 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2256 no_recursion=yes ;;
2258 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2259 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2260 | --oldin | --oldi | --old | --ol | --o)
2261 ac_prev=oldincludedir ;;
2262 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2263 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2264 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2265 oldincludedir=$ac_optarg ;;
2267 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2268 ac_prev=prefix ;;
2269 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2270 prefix=$ac_optarg ;;
2272 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2273 | --program-pre | --program-pr | --program-p)
2274 ac_prev=program_prefix ;;
2275 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2276 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2277 program_prefix=$ac_optarg ;;
2279 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2280 | --program-suf | --program-su | --program-s)
2281 ac_prev=program_suffix ;;
2282 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2283 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2284 program_suffix=$ac_optarg ;;
2286 -program-transform-name | --program-transform-name \
2287 | --program-transform-nam | --program-transform-na \
2288 | --program-transform-n | --program-transform- \
2289 | --program-transform | --program-transfor \
2290 | --program-transfo | --program-transf \
2291 | --program-trans | --program-tran \
2292 | --progr-tra | --program-tr | --program-t)
2293 ac_prev=program_transform_name ;;
2294 -program-transform-name=* | --program-transform-name=* \
2295 | --program-transform-nam=* | --program-transform-na=* \
2296 | --program-transform-n=* | --program-transform-=* \
2297 | --program-transform=* | --program-transfor=* \
2298 | --program-transfo=* | --program-transf=* \
2299 | --program-trans=* | --program-tran=* \
2300 | --progr-tra=* | --program-tr=* | --program-t=*)
2301 program_transform_name=$ac_optarg ;;
2303 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2304 ac_prev=pdfdir ;;
2305 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2306 pdfdir=$ac_optarg ;;
2308 -psdir | --psdir | --psdi | --psd | --ps)
2309 ac_prev=psdir ;;
2310 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2311 psdir=$ac_optarg ;;
2313 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2314 | -silent | --silent | --silen | --sile | --sil)
2315 silent=yes ;;
2317 -runstatedir | --runstatedir | --runstatedi | --runstated \
2318 | --runstate | --runstat | --runsta | --runst | --runs \
2319 | --run | --ru | --r)
2320 ac_prev=runstatedir ;;
2321 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2322 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2323 | --run=* | --ru=* | --r=*)
2324 runstatedir=$ac_optarg ;;
2326 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2327 ac_prev=sbindir ;;
2328 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2329 | --sbi=* | --sb=*)
2330 sbindir=$ac_optarg ;;
2332 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2333 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2334 | --sharedst | --shareds | --shared | --share | --shar \
2335 | --sha | --sh)
2336 ac_prev=sharedstatedir ;;
2337 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2338 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2339 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2340 | --sha=* | --sh=*)
2341 sharedstatedir=$ac_optarg ;;
2343 -site | --site | --sit)
2344 ac_prev=site ;;
2345 -site=* | --site=* | --sit=*)
2346 site=$ac_optarg ;;
2348 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2349 ac_prev=srcdir ;;
2350 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2351 srcdir=$ac_optarg ;;
2353 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2354 | --syscon | --sysco | --sysc | --sys | --sy)
2355 ac_prev=sysconfdir ;;
2356 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2357 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2358 sysconfdir=$ac_optarg ;;
2360 -target | --target | --targe | --targ | --tar | --ta | --t)
2361 ac_prev=target_alias ;;
2362 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2363 target_alias=$ac_optarg ;;
2365 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2366 verbose=yes ;;
2368 -version | --version | --versio | --versi | --vers | -V)
2369 ac_init_version=: ;;
2371 -with-* | --with-*)
2372 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2373 # Reject names that are not valid shell variable names.
2374 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2375 as_fn_error $? "invalid package name: \`$ac_useropt'"
2376 ac_useropt_orig=$ac_useropt
2377 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2378 case $ac_user_opts in
2380 "with_$ac_useropt"
2381 "*) ;;
2382 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2383 ac_unrecognized_sep=', ';;
2384 esac
2385 eval with_$ac_useropt=\$ac_optarg ;;
2387 -without-* | --without-*)
2388 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2389 # Reject names that are not valid shell variable names.
2390 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2391 as_fn_error $? "invalid package name: \`$ac_useropt'"
2392 ac_useropt_orig=$ac_useropt
2393 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2394 case $ac_user_opts in
2396 "with_$ac_useropt"
2397 "*) ;;
2398 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2399 ac_unrecognized_sep=', ';;
2400 esac
2401 eval with_$ac_useropt=no ;;
2403 --x)
2404 # Obsolete; use --with-x.
2405 with_x=yes ;;
2407 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2408 | --x-incl | --x-inc | --x-in | --x-i)
2409 ac_prev=x_includes ;;
2410 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2411 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2412 x_includes=$ac_optarg ;;
2414 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2415 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2416 ac_prev=x_libraries ;;
2417 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2418 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2419 x_libraries=$ac_optarg ;;
2421 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2422 Try \`$0 --help' for more information"
2425 *=*)
2426 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2427 # Reject names that are not valid shell variable names.
2428 case $ac_envvar in #(
2429 '' | [0-9]* | *[!_$as_cr_alnum]* )
2430 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2431 esac
2432 eval $ac_envvar=\$ac_optarg
2433 export $ac_envvar ;;
2436 # FIXME: should be removed in autoconf 3.0.
2437 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2438 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2439 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2440 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2443 esac
2444 done
2446 if test -n "$ac_prev"; then
2447 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2448 as_fn_error $? "missing argument to $ac_option"
2451 if test -n "$ac_unrecognized_opts"; then
2452 case $enable_option_checking in
2453 no) ;;
2454 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2455 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2456 esac
2459 # Check all directory arguments for consistency.
2460 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2461 datadir sysconfdir sharedstatedir localstatedir includedir \
2462 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2463 libdir localedir mandir runstatedir
2465 eval ac_val=\$$ac_var
2466 # Remove trailing slashes.
2467 case $ac_val in
2468 */ )
2469 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2470 eval $ac_var=\$ac_val;;
2471 esac
2472 # Be sure to have absolute directory names.
2473 case $ac_val in
2474 [\\/$]* | ?:[\\/]* ) continue;;
2475 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2476 esac
2477 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2478 done
2480 # There might be people who depend on the old broken behavior: `$host'
2481 # used to hold the argument of --host etc.
2482 # FIXME: To remove some day.
2483 build=$build_alias
2484 host=$host_alias
2485 target=$target_alias
2487 # FIXME: To remove some day.
2488 if test "x$host_alias" != x; then
2489 if test "x$build_alias" = x; then
2490 cross_compiling=maybe
2491 elif test "x$build_alias" != "x$host_alias"; then
2492 cross_compiling=yes
2496 ac_tool_prefix=
2497 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2499 test "$silent" = yes && exec 6>/dev/null
2502 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2503 ac_ls_di=`ls -di .` &&
2504 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2505 as_fn_error $? "working directory cannot be determined"
2506 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2507 as_fn_error $? "pwd does not report name of working directory"
2510 # Find the source files, if location was not specified.
2511 if test -z "$srcdir"; then
2512 ac_srcdir_defaulted=yes
2513 # Try the directory containing this script, then the parent directory.
2514 ac_confdir=`$as_dirname -- "$as_myself" ||
2515 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2516 X"$as_myself" : 'X\(//\)[^/]' \| \
2517 X"$as_myself" : 'X\(//\)$' \| \
2518 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2519 printf "%s\n" X"$as_myself" |
2520 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2521 s//\1/
2524 /^X\(\/\/\)[^/].*/{
2525 s//\1/
2528 /^X\(\/\/\)$/{
2529 s//\1/
2532 /^X\(\/\).*/{
2533 s//\1/
2536 s/.*/./; q'`
2537 srcdir=$ac_confdir
2538 if test ! -r "$srcdir/$ac_unique_file"; then
2539 srcdir=..
2541 else
2542 ac_srcdir_defaulted=no
2544 if test ! -r "$srcdir/$ac_unique_file"; then
2545 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2546 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2548 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2549 ac_abs_confdir=`(
2550 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2551 pwd)`
2552 # When building in place, set srcdir=.
2553 if test "$ac_abs_confdir" = "$ac_pwd"; then
2554 srcdir=.
2556 # Remove unnecessary trailing slashes from srcdir.
2557 # Double slashes in file names in object file debugging info
2558 # mess up M-x gdb in Emacs.
2559 case $srcdir in
2560 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2561 esac
2562 for ac_var in $ac_precious_vars; do
2563 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2564 eval ac_env_${ac_var}_value=\$${ac_var}
2565 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2566 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2567 done
2570 # Report the --help message.
2572 if test "$ac_init_help" = "long"; then
2573 # Omit some internal or obsolete options to make the list less imposing.
2574 # This message is too long to be a string in the A/UX 3.1 sh.
2575 cat <<_ACEOF
2576 \`configure' configures Wine 6.22 to adapt to many kinds of systems.
2578 Usage: $0 [OPTION]... [VAR=VALUE]...
2580 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2581 VAR=VALUE. See below for descriptions of some of the useful variables.
2583 Defaults for the options are specified in brackets.
2585 Configuration:
2586 -h, --help display this help and exit
2587 --help=short display options specific to this package
2588 --help=recursive display the short help of all the included packages
2589 -V, --version display version information and exit
2590 -q, --quiet, --silent do not print \`checking ...' messages
2591 --cache-file=FILE cache test results in FILE [disabled]
2592 -C, --config-cache alias for \`--cache-file=config.cache'
2593 -n, --no-create do not create output files
2594 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2596 Installation directories:
2597 --prefix=PREFIX install architecture-independent files in PREFIX
2598 [$ac_default_prefix]
2599 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2600 [PREFIX]
2602 By default, \`make install' will install all the files in
2603 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2604 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2605 for instance \`--prefix=\$HOME'.
2607 For better control, use the options below.
2609 Fine tuning of the installation directories:
2610 --bindir=DIR user executables [EPREFIX/bin]
2611 --sbindir=DIR system admin executables [EPREFIX/sbin]
2612 --libexecdir=DIR program executables [EPREFIX/libexec]
2613 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2614 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2615 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2616 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2617 --libdir=DIR object code libraries [EPREFIX/lib]
2618 --includedir=DIR C header files [PREFIX/include]
2619 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2620 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2621 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2622 --infodir=DIR info documentation [DATAROOTDIR/info]
2623 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2624 --mandir=DIR man documentation [DATAROOTDIR/man]
2625 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2626 --htmldir=DIR html documentation [DOCDIR]
2627 --dvidir=DIR dvi documentation [DOCDIR]
2628 --pdfdir=DIR pdf documentation [DOCDIR]
2629 --psdir=DIR ps documentation [DOCDIR]
2630 _ACEOF
2632 cat <<\_ACEOF
2634 X features:
2635 --x-includes=DIR X include files are in DIR
2636 --x-libraries=DIR X library files are in DIR
2638 System types:
2639 --build=BUILD configure for building on BUILD [guessed]
2640 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2641 _ACEOF
2644 if test -n "$ac_init_help"; then
2645 case $ac_init_help in
2646 short | recursive ) echo "Configuration of Wine 6.22:";;
2647 esac
2648 cat <<\_ACEOF
2650 Optional Features:
2651 --disable-option-checking ignore unrecognized --enable/--with options
2652 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2653 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2654 --disable-win16 do not include Win16 support
2655 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2656 binaries)
2657 --disable-tests do not build the regression tests
2658 --enable-build-id include .buildid section in output objects
2659 --enable-maintainer-mode
2660 enable maintainer-specific build rules
2661 --enable-silent-rules use silent build rules (override: "make V=1")
2662 --enable-werror treat compilation warnings as errors
2663 --disable-largefile omit support for large files
2665 Optional Packages:
2666 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2667 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2668 --without-alsa do not use the Alsa sound support
2669 --without-capi do not use CAPI (ISDN support)
2670 --without-coreaudio do not use the CoreAudio sound support
2671 --without-cups do not use CUPS
2672 --without-dbus do not use DBus (dynamic device support)
2673 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2674 --without-fontconfig do not use fontconfig
2675 --without-freetype do not use the FreeType library
2676 --without-gettext do not use gettext
2677 --with-gettextpo use the GetTextPO library to rebuild po files
2678 --without-gphoto do not use gphoto (Digital Camera support)
2679 --without-gnutls do not use GnuTLS (schannel support)
2680 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2681 --without-gstreamer do not use GStreamer (codecs support)
2682 --without-inotify do not use inotify (filesystem change notifications)
2683 --without-krb5 do not use krb5 (Kerberos)
2684 --without-ldap do not use LDAP
2685 --without-mingw do not use the MinGW cross-compiler
2686 --without-netapi do not use the Samba NetAPI library
2687 --without-openal do not use OpenAL
2688 --without-opencl do not use OpenCL
2689 --without-opengl do not use OpenGL
2690 --without-osmesa do not use the OSMesa library
2691 --without-oss do not use the OSS sound support
2692 --without-pcap do not use the Packet Capture library
2693 --without-pthread do not use the pthread library
2694 --without-pulse do not use PulseAudio sound support
2695 --without-sane do not use SANE (scanner support)
2696 --without-sdl do not use SDL
2697 --without-udev do not use udev (plug and play support)
2698 --without-unwind do not use the libunwind library (exception
2699 handling)
2700 --without-usb do not use the libusb library
2701 --without-v4l2 do not use v4l2 (video capture)
2702 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2703 --without-vulkan do not use Vulkan
2704 --without-xcomposite do not use the Xcomposite extension
2705 --without-xcursor do not use the Xcursor extension
2706 --without-xfixes do not use Xfixes for clipboard change notifications
2707 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2708 --without-xinput do not use the Xinput extension
2709 --without-xinput2 do not use the Xinput 2 extension
2710 --without-xrandr do not use Xrandr (multi-monitor support)
2711 --without-xrender do not use the Xrender extension
2712 --without-xshape do not use the Xshape extension
2713 --without-xshm do not use XShm (shared memory extension)
2714 --without-xxf86vm do not use XFree video mode extension
2715 --with-system-dllpath=PATH
2716 load external PE dependencies from colon-separated
2717 path PATH
2718 --with-wine-tools=DIR use Wine tools from directory DIR
2719 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2720 --with-x use the X Window System
2722 Some influential environment variables:
2723 CC C compiler command
2724 CFLAGS C compiler flags
2725 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2726 nonstandard directory <lib dir>
2727 LIBS libraries to pass to the linker, e.g. -l<library>
2728 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2729 you have headers in a nonstandard directory <include dir>
2730 CXX C++ compiler command
2731 CXXFLAGS C++ compiler flags
2732 OBJC Objective C compiler command
2733 OBJCFLAGS Objective C compiler flags
2734 FAUDIO_PE_CFLAGS
2735 C compiler flags for the PE faudio, overriding the bundled
2736 version
2737 FAUDIO_PE_LIBS
2738 Linker flags for the PE faudio, overriding the bundled version
2739 GSM_PE_CFLAGS
2740 C compiler flags for the PE gsm, overriding the bundled version
2741 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2742 JPEG_PE_CFLAGS
2743 C compiler flags for the PE jpeg, overriding the bundled version
2744 JPEG_PE_LIBS
2745 Linker flags for the PE jpeg, overriding the bundled version
2746 JXR_PE_CFLAGS
2747 C compiler flags for the PE jxr, overriding the bundled version
2748 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2749 LCMS2_PE_CFLAGS
2750 C compiler flags for the PE lcms2, overriding the bundled
2751 version
2752 LCMS2_PE_LIBS
2753 Linker flags for the PE lcms2, overriding the bundled version
2754 MPG123_PE_CFLAGS
2755 C compiler flags for the PE mpg123, overriding the bundled
2756 version
2757 MPG123_PE_LIBS
2758 Linker flags for the PE mpg123, overriding the bundled version
2759 PNG_PE_CFLAGS
2760 C compiler flags for the PE png, overriding the bundled version
2761 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2762 TIFF_PE_CFLAGS
2763 C compiler flags for the PE tiff, overriding the bundled version
2764 TIFF_PE_LIBS
2765 Linker flags for the PE tiff, overriding the bundled version
2766 XML2_PE_CFLAGS
2767 C compiler flags for the PE xml2, overriding the bundled version
2768 XML2_PE_LIBS
2769 Linker flags for the PE xml2, overriding the bundled version
2770 XSLT_PE_CFLAGS
2771 C compiler flags for the PE xslt, overriding the bundled version
2772 XSLT_PE_LIBS
2773 Linker flags for the PE xslt, overriding the bundled version
2774 ZLIB_PE_CFLAGS
2775 C compiler flags for the PE zlib, overriding the bundled version
2776 ZLIB_PE_LIBS
2777 Linker flags for the PE zlib, overriding the bundled version
2778 XMKMF Path to xmkmf, Makefile generator for X Window System
2779 CPP C preprocessor
2780 INOTIFY_CFLAGS
2781 C compiler flags for libinotify, overriding pkg-config
2782 INOTIFY_LIBS
2783 Linker flags for libinotify, overriding pkg-config
2784 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2785 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2786 GNUTLS_CFLAGS
2787 C compiler flags for gnutls, overriding pkg-config
2788 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2789 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2790 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2791 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2792 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2793 GPHOTO2_CFLAGS
2794 C compiler flags for libgphoto2, overriding pkg-config
2795 GPHOTO2_LIBS
2796 Linker flags for libgphoto2, overriding pkg-config
2797 GPHOTO2_PORT_CFLAGS
2798 C compiler flags for libgphoto2_port, overriding pkg-config
2799 GPHOTO2_PORT_LIBS
2800 Linker flags for libgphoto2_port, overriding pkg-config
2801 FREETYPE_CFLAGS
2802 C compiler flags for freetype2, overriding pkg-config
2803 FREETYPE_LIBS
2804 Linker flags for freetype2, overriding pkg-config
2805 PULSE_CFLAGS
2806 C compiler flags for libpulse, overriding pkg-config
2807 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2808 GSTREAMER_CFLAGS
2809 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2810 gstreamer-audio-1.0, overriding pkg-config
2811 GSTREAMER_LIBS
2812 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2813 gstreamer-audio-1.0, overriding pkg-config
2814 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2815 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2816 UNWIND_CFLAGS
2817 C compiler flags for libunwind, overriding pkg-config
2818 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2819 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2820 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2821 CAPI20_CFLAGS
2822 C compiler flags for capi20, overriding pkg-config
2823 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2824 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2825 CUPS_LIBS Linker flags for cups, overriding pkg-config
2826 FONTCONFIG_CFLAGS
2827 C compiler flags for fontconfig, overriding pkg-config
2828 FONTCONFIG_LIBS
2829 Linker flags for fontconfig, overriding pkg-config
2830 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2831 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2832 GSSAPI_CFLAGS
2833 C compiler flags for krb5-gssapi, overriding pkg-config
2834 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2835 NETAPI_CFLAGS
2836 C compiler flags for netapi, overriding pkg-config
2837 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2838 VKD3D_CFLAGS
2839 C compiler flags for libvkd3d, overriding pkg-config
2840 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2841 VKD3D_SHADER_CFLAGS
2842 C compiler flags for libvkd3d-shader, overriding pkg-config
2843 VKD3D_SHADER_LIBS
2844 Linker flags for libvkd3d-shader, overriding pkg-config
2845 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2846 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2848 Use these variables to override the choices made by `configure' or to help
2849 it to find libraries and programs with nonstandard names/locations.
2851 Report bugs to <wine-devel@winehq.org>.
2852 Wine home page: <https://www.winehq.org>.
2853 _ACEOF
2854 ac_status=$?
2857 if test "$ac_init_help" = "recursive"; then
2858 # If there are subdirs, report their specific --help.
2859 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2860 test -d "$ac_dir" ||
2861 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2862 continue
2863 ac_builddir=.
2865 case "$ac_dir" in
2866 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2868 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2869 # A ".." for each directory in $ac_dir_suffix.
2870 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2871 case $ac_top_builddir_sub in
2872 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2873 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2874 esac ;;
2875 esac
2876 ac_abs_top_builddir=$ac_pwd
2877 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2878 # for backward compatibility:
2879 ac_top_builddir=$ac_top_build_prefix
2881 case $srcdir in
2882 .) # We are building in place.
2883 ac_srcdir=.
2884 ac_top_srcdir=$ac_top_builddir_sub
2885 ac_abs_top_srcdir=$ac_pwd ;;
2886 [\\/]* | ?:[\\/]* ) # Absolute name.
2887 ac_srcdir=$srcdir$ac_dir_suffix;
2888 ac_top_srcdir=$srcdir
2889 ac_abs_top_srcdir=$srcdir ;;
2890 *) # Relative name.
2891 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2892 ac_top_srcdir=$ac_top_build_prefix$srcdir
2893 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2894 esac
2895 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2897 cd "$ac_dir" || { ac_status=$?; continue; }
2898 # Check for configure.gnu first; this name is used for a wrapper for
2899 # Metaconfig's "Configure" on case-insensitive file systems.
2900 if test -f "$ac_srcdir/configure.gnu"; then
2901 echo &&
2902 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2903 elif test -f "$ac_srcdir/configure"; then
2904 echo &&
2905 $SHELL "$ac_srcdir/configure" --help=recursive
2906 else
2907 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2908 fi || ac_status=$?
2909 cd "$ac_pwd" || { ac_status=$?; break; }
2910 done
2913 test -n "$ac_init_help" && exit $ac_status
2914 if $ac_init_version; then
2915 cat <<\_ACEOF
2916 Wine configure 6.22
2917 generated by GNU Autoconf 2.71
2919 Copyright (C) 2021 Free Software Foundation, Inc.
2920 This configure script is free software; the Free Software Foundation
2921 gives unlimited permission to copy, distribute and modify it.
2922 _ACEOF
2923 exit
2926 ## ------------------------ ##
2927 ## Autoconf initialization. ##
2928 ## ------------------------ ##
2930 # ac_fn_c_try_compile LINENO
2931 # --------------------------
2932 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2933 ac_fn_c_try_compile ()
2935 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2936 rm -f conftest.$ac_objext conftest.beam
2937 if { { ac_try="$ac_compile"
2938 case "(($ac_try" in
2939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2940 *) ac_try_echo=$ac_try;;
2941 esac
2942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2943 printf "%s\n" "$ac_try_echo"; } >&5
2944 (eval "$ac_compile") 2>conftest.err
2945 ac_status=$?
2946 if test -s conftest.err; then
2947 grep -v '^ *+' conftest.err >conftest.er1
2948 cat conftest.er1 >&5
2949 mv -f conftest.er1 conftest.err
2951 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2952 test $ac_status = 0; } && {
2953 test -z "$ac_c_werror_flag" ||
2954 test ! -s conftest.err
2955 } && test -s conftest.$ac_objext
2956 then :
2957 ac_retval=0
2958 else $as_nop
2959 printf "%s\n" "$as_me: failed program was:" >&5
2960 sed 's/^/| /' conftest.$ac_ext >&5
2962 ac_retval=1
2964 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2965 as_fn_set_status $ac_retval
2967 } # ac_fn_c_try_compile
2969 # ac_fn_cxx_try_compile LINENO
2970 # ----------------------------
2971 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2972 ac_fn_cxx_try_compile ()
2974 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2975 rm -f conftest.$ac_objext conftest.beam
2976 if { { ac_try="$ac_compile"
2977 case "(($ac_try" in
2978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2979 *) ac_try_echo=$ac_try;;
2980 esac
2981 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2982 printf "%s\n" "$ac_try_echo"; } >&5
2983 (eval "$ac_compile") 2>conftest.err
2984 ac_status=$?
2985 if test -s conftest.err; then
2986 grep -v '^ *+' conftest.err >conftest.er1
2987 cat conftest.er1 >&5
2988 mv -f conftest.er1 conftest.err
2990 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2991 test $ac_status = 0; } && {
2992 test -z "$ac_cxx_werror_flag" ||
2993 test ! -s conftest.err
2994 } && test -s conftest.$ac_objext
2995 then :
2996 ac_retval=0
2997 else $as_nop
2998 printf "%s\n" "$as_me: failed program was:" >&5
2999 sed 's/^/| /' conftest.$ac_ext >&5
3001 ac_retval=1
3003 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3004 as_fn_set_status $ac_retval
3006 } # ac_fn_cxx_try_compile
3008 # ac_fn_c_try_link LINENO
3009 # -----------------------
3010 # Try to link conftest.$ac_ext, and return whether this succeeded.
3011 ac_fn_c_try_link ()
3013 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3014 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
3015 if { { ac_try="$ac_link"
3016 case "(($ac_try" in
3017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3018 *) ac_try_echo=$ac_try;;
3019 esac
3020 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3021 printf "%s\n" "$ac_try_echo"; } >&5
3022 (eval "$ac_link") 2>conftest.err
3023 ac_status=$?
3024 if test -s conftest.err; then
3025 grep -v '^ *+' conftest.err >conftest.er1
3026 cat conftest.er1 >&5
3027 mv -f conftest.er1 conftest.err
3029 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3030 test $ac_status = 0; } && {
3031 test -z "$ac_c_werror_flag" ||
3032 test ! -s conftest.err
3033 } && test -s conftest$ac_exeext && {
3034 test "$cross_compiling" = yes ||
3035 test -x conftest$ac_exeext
3037 then :
3038 ac_retval=0
3039 else $as_nop
3040 printf "%s\n" "$as_me: failed program was:" >&5
3041 sed 's/^/| /' conftest.$ac_ext >&5
3043 ac_retval=1
3045 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
3046 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
3047 # interfere with the next link command; also delete a directory that is
3048 # left behind by Apple's compiler. We do this before executing the actions.
3049 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3050 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3051 as_fn_set_status $ac_retval
3053 } # ac_fn_c_try_link
3055 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3056 # -------------------------------------------------------
3057 # Tests whether HEADER exists and can be compiled using the include files in
3058 # INCLUDES, setting the cache variable VAR accordingly.
3059 ac_fn_c_check_header_compile ()
3061 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3063 printf %s "checking for $2... " >&6; }
3064 if eval test \${$3+y}
3065 then :
3066 printf %s "(cached) " >&6
3067 else $as_nop
3068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3069 /* end confdefs.h. */
3071 #include <$2>
3072 _ACEOF
3073 if ac_fn_c_try_compile "$LINENO"
3074 then :
3075 eval "$3=yes"
3076 else $as_nop
3077 eval "$3=no"
3079 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3081 eval ac_res=\$$3
3082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3083 printf "%s\n" "$ac_res" >&6; }
3084 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3086 } # ac_fn_c_check_header_compile
3088 # ac_fn_objc_try_compile LINENO
3089 # -----------------------------
3090 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3091 ac_fn_objc_try_compile ()
3093 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3094 rm -f conftest.$ac_objext conftest.beam
3095 if { { ac_try="$ac_compile"
3096 case "(($ac_try" in
3097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3098 *) ac_try_echo=$ac_try;;
3099 esac
3100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3101 printf "%s\n" "$ac_try_echo"; } >&5
3102 (eval "$ac_compile") 2>conftest.err
3103 ac_status=$?
3104 if test -s conftest.err; then
3105 grep -v '^ *+' conftest.err >conftest.er1
3106 cat conftest.er1 >&5
3107 mv -f conftest.er1 conftest.err
3109 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3110 test $ac_status = 0; } && {
3111 test -z "$ac_objc_werror_flag" ||
3112 test ! -s conftest.err
3113 } && test -s conftest.$ac_objext
3114 then :
3115 ac_retval=0
3116 else $as_nop
3117 printf "%s\n" "$as_me: failed program was:" >&5
3118 sed 's/^/| /' conftest.$ac_ext >&5
3120 ac_retval=1
3122 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3123 as_fn_set_status $ac_retval
3125 } # ac_fn_objc_try_compile
3127 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
3128 # ----------------------------------------------------------
3129 # Tests whether HEADER exists and can be compiled using the include files in
3130 # INCLUDES, setting the cache variable VAR accordingly.
3131 ac_fn_objc_check_header_compile ()
3133 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3135 printf %s "checking for $2... " >&6; }
3136 if eval test \${$3+y}
3137 then :
3138 printf %s "(cached) " >&6
3139 else $as_nop
3140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3141 /* end confdefs.h. */
3143 #include <$2>
3144 _ACEOF
3145 if ac_fn_objc_try_compile "$LINENO"
3146 then :
3147 eval "$3=yes"
3148 else $as_nop
3149 eval "$3=no"
3151 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3153 eval ac_res=\$$3
3154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3155 printf "%s\n" "$ac_res" >&6; }
3156 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3158 } # ac_fn_objc_check_header_compile
3160 # ac_fn_c_check_func LINENO FUNC VAR
3161 # ----------------------------------
3162 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3163 ac_fn_c_check_func ()
3165 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3167 printf %s "checking for $2... " >&6; }
3168 if eval test \${$3+y}
3169 then :
3170 printf %s "(cached) " >&6
3171 else $as_nop
3172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3173 /* end confdefs.h. */
3174 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3176 #define $2 innocuous_$2
3178 /* System header to define __stub macros and hopefully few prototypes,
3179 which can conflict with char $2 (); below. */
3181 #include <limits.h>
3182 #undef $2
3184 /* Override any GCC internal prototype to avoid an error.
3185 Use char because int might match the return type of a GCC
3186 builtin and then its argument prototype would still apply. */
3187 #ifdef __cplusplus
3188 extern "C"
3189 #endif
3190 char $2 ();
3191 /* The GNU C library defines this for functions which it implements
3192 to always fail with ENOSYS. Some functions are actually named
3193 something starting with __ and the normal name is an alias. */
3194 #if defined __stub_$2 || defined __stub___$2
3195 choke me
3196 #endif
3199 main (void)
3201 return $2 ();
3203 return 0;
3205 _ACEOF
3206 if ac_fn_c_try_link "$LINENO"
3207 then :
3208 eval "$3=yes"
3209 else $as_nop
3210 eval "$3=no"
3212 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3213 conftest$ac_exeext conftest.$ac_ext
3215 eval ac_res=\$$3
3216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3217 printf "%s\n" "$ac_res" >&6; }
3218 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3220 } # ac_fn_c_check_func
3222 # ac_fn_c_try_cpp LINENO
3223 # ----------------------
3224 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3225 ac_fn_c_try_cpp ()
3227 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3228 if { { ac_try="$ac_cpp conftest.$ac_ext"
3229 case "(($ac_try" in
3230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3231 *) ac_try_echo=$ac_try;;
3232 esac
3233 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3234 printf "%s\n" "$ac_try_echo"; } >&5
3235 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3236 ac_status=$?
3237 if test -s conftest.err; then
3238 grep -v '^ *+' conftest.err >conftest.er1
3239 cat conftest.er1 >&5
3240 mv -f conftest.er1 conftest.err
3242 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3243 test $ac_status = 0; } > conftest.i && {
3244 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3245 test ! -s conftest.err
3247 then :
3248 ac_retval=0
3249 else $as_nop
3250 printf "%s\n" "$as_me: failed program was:" >&5
3251 sed 's/^/| /' conftest.$ac_ext >&5
3253 ac_retval=1
3255 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3256 as_fn_set_status $ac_retval
3258 } # ac_fn_c_try_cpp
3260 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3261 # ----------------------------------------------------
3262 # Tries to find if the field MEMBER exists in type AGGR, after including
3263 # INCLUDES, setting cache variable VAR accordingly.
3264 ac_fn_c_check_member ()
3266 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3268 printf %s "checking for $2.$3... " >&6; }
3269 if eval test \${$4+y}
3270 then :
3271 printf %s "(cached) " >&6
3272 else $as_nop
3273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3274 /* end confdefs.h. */
3277 main (void)
3279 static $2 ac_aggr;
3280 if (ac_aggr.$3)
3281 return 0;
3283 return 0;
3285 _ACEOF
3286 if ac_fn_c_try_compile "$LINENO"
3287 then :
3288 eval "$4=yes"
3289 else $as_nop
3290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3291 /* end confdefs.h. */
3294 main (void)
3296 static $2 ac_aggr;
3297 if (sizeof ac_aggr.$3)
3298 return 0;
3300 return 0;
3302 _ACEOF
3303 if ac_fn_c_try_compile "$LINENO"
3304 then :
3305 eval "$4=yes"
3306 else $as_nop
3307 eval "$4=no"
3309 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3311 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3313 eval ac_res=\$$4
3314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3315 printf "%s\n" "$ac_res" >&6; }
3316 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3318 } # ac_fn_c_check_member
3320 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3321 # -------------------------------------------
3322 # Tests whether TYPE exists after having included INCLUDES, setting cache
3323 # variable VAR accordingly.
3324 ac_fn_c_check_type ()
3326 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3328 printf %s "checking for $2... " >&6; }
3329 if eval test \${$3+y}
3330 then :
3331 printf %s "(cached) " >&6
3332 else $as_nop
3333 eval "$3=no"
3334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3335 /* end confdefs.h. */
3338 main (void)
3340 if (sizeof ($2))
3341 return 0;
3343 return 0;
3345 _ACEOF
3346 if ac_fn_c_try_compile "$LINENO"
3347 then :
3348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3349 /* end confdefs.h. */
3352 main (void)
3354 if (sizeof (($2)))
3355 return 0;
3357 return 0;
3359 _ACEOF
3360 if ac_fn_c_try_compile "$LINENO"
3361 then :
3363 else $as_nop
3364 eval "$3=yes"
3366 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3368 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3370 eval ac_res=\$$3
3371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3372 printf "%s\n" "$ac_res" >&6; }
3373 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3375 } # ac_fn_c_check_type
3376 ac_configure_args_raw=
3377 for ac_arg
3379 case $ac_arg in
3380 *\'*)
3381 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3382 esac
3383 as_fn_append ac_configure_args_raw " '$ac_arg'"
3384 done
3386 case $ac_configure_args_raw in
3387 *$as_nl*)
3388 ac_safe_unquote= ;;
3390 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3391 ac_unsafe_a="$ac_unsafe_z#~"
3392 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3393 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3394 esac
3396 cat >config.log <<_ACEOF
3397 This file contains any messages produced by compilers while
3398 running configure, to aid debugging if configure makes a mistake.
3400 It was created by Wine $as_me 6.22, which was
3401 generated by GNU Autoconf 2.71. Invocation command line was
3403 $ $0$ac_configure_args_raw
3405 _ACEOF
3406 exec 5>>config.log
3408 cat <<_ASUNAME
3409 ## --------- ##
3410 ## Platform. ##
3411 ## --------- ##
3413 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3414 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3415 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3416 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3417 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3419 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3420 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3422 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3423 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3424 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3425 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3426 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3427 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3428 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3430 _ASUNAME
3432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3433 for as_dir in $PATH
3435 IFS=$as_save_IFS
3436 case $as_dir in #(((
3437 '') as_dir=./ ;;
3438 */) ;;
3439 *) as_dir=$as_dir/ ;;
3440 esac
3441 printf "%s\n" "PATH: $as_dir"
3442 done
3443 IFS=$as_save_IFS
3445 } >&5
3447 cat >&5 <<_ACEOF
3450 ## ----------- ##
3451 ## Core tests. ##
3452 ## ----------- ##
3454 _ACEOF
3457 # Keep a trace of the command line.
3458 # Strip out --no-create and --no-recursion so they do not pile up.
3459 # Strip out --silent because we don't want to record it for future runs.
3460 # Also quote any args containing shell meta-characters.
3461 # Make two passes to allow for proper duplicate-argument suppression.
3462 ac_configure_args=
3463 ac_configure_args0=
3464 ac_configure_args1=
3465 ac_must_keep_next=false
3466 for ac_pass in 1 2
3468 for ac_arg
3470 case $ac_arg in
3471 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3472 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3473 | -silent | --silent | --silen | --sile | --sil)
3474 continue ;;
3475 *\'*)
3476 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3477 esac
3478 case $ac_pass in
3479 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3481 as_fn_append ac_configure_args1 " '$ac_arg'"
3482 if test $ac_must_keep_next = true; then
3483 ac_must_keep_next=false # Got value, back to normal.
3484 else
3485 case $ac_arg in
3486 *=* | --config-cache | -C | -disable-* | --disable-* \
3487 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3488 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3489 | -with-* | --with-* | -without-* | --without-* | --x)
3490 case "$ac_configure_args0 " in
3491 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3492 esac
3494 -* ) ac_must_keep_next=true ;;
3495 esac
3497 as_fn_append ac_configure_args " '$ac_arg'"
3499 esac
3500 done
3501 done
3502 { ac_configure_args0=; unset ac_configure_args0;}
3503 { ac_configure_args1=; unset ac_configure_args1;}
3505 # When interrupted or exit'd, cleanup temporary files, and complete
3506 # config.log. We remove comments because anyway the quotes in there
3507 # would cause problems or look ugly.
3508 # WARNING: Use '\'' to represent an apostrophe within the trap.
3509 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3510 trap 'exit_status=$?
3511 # Sanitize IFS.
3512 IFS=" "" $as_nl"
3513 # Save into config.log some information that might help in debugging.
3515 echo
3517 printf "%s\n" "## ---------------- ##
3518 ## Cache variables. ##
3519 ## ---------------- ##"
3520 echo
3521 # The following way of writing the cache mishandles newlines in values,
3523 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3524 eval ac_val=\$$ac_var
3525 case $ac_val in #(
3526 *${as_nl}*)
3527 case $ac_var in #(
3528 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3529 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3530 esac
3531 case $ac_var in #(
3532 _ | IFS | as_nl) ;; #(
3533 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3534 *) { eval $ac_var=; unset $ac_var;} ;;
3535 esac ;;
3536 esac
3537 done
3538 (set) 2>&1 |
3539 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3540 *${as_nl}ac_space=\ *)
3541 sed -n \
3542 "s/'\''/'\''\\\\'\'''\''/g;
3543 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3544 ;; #(
3546 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3548 esac |
3549 sort
3551 echo
3553 printf "%s\n" "## ----------------- ##
3554 ## Output variables. ##
3555 ## ----------------- ##"
3556 echo
3557 for ac_var in $ac_subst_vars
3559 eval ac_val=\$$ac_var
3560 case $ac_val in
3561 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3562 esac
3563 printf "%s\n" "$ac_var='\''$ac_val'\''"
3564 done | sort
3565 echo
3567 if test -n "$ac_subst_files"; then
3568 printf "%s\n" "## ------------------- ##
3569 ## File substitutions. ##
3570 ## ------------------- ##"
3571 echo
3572 for ac_var in $ac_subst_files
3574 eval ac_val=\$$ac_var
3575 case $ac_val in
3576 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3577 esac
3578 printf "%s\n" "$ac_var='\''$ac_val'\''"
3579 done | sort
3580 echo
3583 if test -s confdefs.h; then
3584 printf "%s\n" "## ----------- ##
3585 ## confdefs.h. ##
3586 ## ----------- ##"
3587 echo
3588 cat confdefs.h
3589 echo
3591 test "$ac_signal" != 0 &&
3592 printf "%s\n" "$as_me: caught signal $ac_signal"
3593 printf "%s\n" "$as_me: exit $exit_status"
3594 } >&5
3595 rm -f core *.core core.conftest.* &&
3596 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3597 exit $exit_status
3599 for ac_signal in 1 2 13 15; do
3600 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3601 done
3602 ac_signal=0
3604 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3605 rm -f -r conftest* confdefs.h
3607 printf "%s\n" "/* confdefs.h */" > confdefs.h
3609 # Predefined preprocessor variables.
3611 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3613 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3615 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3617 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3619 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3621 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3624 # Let the site file select an alternate cache file if it wants to.
3625 # Prefer an explicitly selected file to automatically selected ones.
3626 if test -n "$CONFIG_SITE"; then
3627 ac_site_files="$CONFIG_SITE"
3628 elif test "x$prefix" != xNONE; then
3629 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3630 else
3631 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3634 for ac_site_file in $ac_site_files
3636 case $ac_site_file in #(
3637 */*) :
3638 ;; #(
3639 *) :
3640 ac_site_file=./$ac_site_file ;;
3641 esac
3642 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3644 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3645 sed 's/^/| /' "$ac_site_file" >&5
3646 . "$ac_site_file" \
3647 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3648 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3649 as_fn_error $? "failed to load site script $ac_site_file
3650 See \`config.log' for more details" "$LINENO" 5; }
3652 done
3654 if test -r "$cache_file"; then
3655 # Some versions of bash will fail to source /dev/null (special files
3656 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3657 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3659 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3660 case $cache_file in
3661 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3662 *) . "./$cache_file";;
3663 esac
3665 else
3666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3667 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3668 >$cache_file
3671 # Test code for whether the C compiler supports C89 (global declarations)
3672 ac_c_conftest_c89_globals='
3673 /* Does the compiler advertise C89 conformance?
3674 Do not test the value of __STDC__, because some compilers set it to 0
3675 while being otherwise adequately conformant. */
3676 #if !defined __STDC__
3677 # error "Compiler does not advertise C89 conformance"
3678 #endif
3680 #include <stddef.h>
3681 #include <stdarg.h>
3682 struct stat;
3683 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3684 struct buf { int x; };
3685 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3686 static char *e (p, i)
3687 char **p;
3688 int i;
3690 return p[i];
3692 static char *f (char * (*g) (char **, int), char **p, ...)
3694 char *s;
3695 va_list v;
3696 va_start (v,p);
3697 s = g (p, va_arg (v,int));
3698 va_end (v);
3699 return s;
3702 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3703 function prototypes and stuff, but not \xHH hex character constants.
3704 These do not provoke an error unfortunately, instead are silently treated
3705 as an "x". The following induces an error, until -std is added to get
3706 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3707 array size at least. It is necessary to write \x00 == 0 to get something
3708 that is true only with -std. */
3709 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3711 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3712 inside strings and character constants. */
3713 #define FOO(x) '\''x'\''
3714 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3716 int test (int i, double x);
3717 struct s1 {int (*f) (int a);};
3718 struct s2 {int (*f) (double a);};
3719 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3720 int, int);'
3722 # Test code for whether the C compiler supports C89 (body of main).
3723 ac_c_conftest_c89_main='
3724 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3727 # Test code for whether the C compiler supports C99 (global declarations)
3728 ac_c_conftest_c99_globals='
3729 // Does the compiler advertise C99 conformance?
3730 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3731 # error "Compiler does not advertise C99 conformance"
3732 #endif
3734 #include <stdbool.h>
3735 extern int puts (const char *);
3736 extern int printf (const char *, ...);
3737 extern int dprintf (int, const char *, ...);
3738 extern void *malloc (size_t);
3740 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3741 // dprintf is used instead of fprintf to avoid needing to declare
3742 // FILE and stderr.
3743 #define debug(...) dprintf (2, __VA_ARGS__)
3744 #define showlist(...) puts (#__VA_ARGS__)
3745 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3746 static void
3747 test_varargs_macros (void)
3749 int x = 1234;
3750 int y = 5678;
3751 debug ("Flag");
3752 debug ("X = %d\n", x);
3753 showlist (The first, second, and third items.);
3754 report (x>y, "x is %d but y is %d", x, y);
3757 // Check long long types.
3758 #define BIG64 18446744073709551615ull
3759 #define BIG32 4294967295ul
3760 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3761 #if !BIG_OK
3762 #error "your preprocessor is broken"
3763 #endif
3764 #if BIG_OK
3765 #else
3766 #error "your preprocessor is broken"
3767 #endif
3768 static long long int bignum = -9223372036854775807LL;
3769 static unsigned long long int ubignum = BIG64;
3771 struct incomplete_array
3773 int datasize;
3774 double data[];
3777 struct named_init {
3778 int number;
3779 const wchar_t *name;
3780 double average;
3783 typedef const char *ccp;
3785 static inline int
3786 test_restrict (ccp restrict text)
3788 // See if C++-style comments work.
3789 // Iterate through items via the restricted pointer.
3790 // Also check for declarations in for loops.
3791 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3792 continue;
3793 return 0;
3796 // Check varargs and va_copy.
3797 static bool
3798 test_varargs (const char *format, ...)
3800 va_list args;
3801 va_start (args, format);
3802 va_list args_copy;
3803 va_copy (args_copy, args);
3805 const char *str = "";
3806 int number = 0;
3807 float fnumber = 0;
3809 while (*format)
3811 switch (*format++)
3813 case '\''s'\'': // string
3814 str = va_arg (args_copy, const char *);
3815 break;
3816 case '\''d'\'': // int
3817 number = va_arg (args_copy, int);
3818 break;
3819 case '\''f'\'': // float
3820 fnumber = va_arg (args_copy, double);
3821 break;
3822 default:
3823 break;
3826 va_end (args_copy);
3827 va_end (args);
3829 return *str && number && fnumber;
3833 # Test code for whether the C compiler supports C99 (body of main).
3834 ac_c_conftest_c99_main='
3835 // Check bool.
3836 _Bool success = false;
3837 success |= (argc != 0);
3839 // Check restrict.
3840 if (test_restrict ("String literal") == 0)
3841 success = true;
3842 char *restrict newvar = "Another string";
3844 // Check varargs.
3845 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3846 test_varargs_macros ();
3848 // Check flexible array members.
3849 struct incomplete_array *ia =
3850 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3851 ia->datasize = 10;
3852 for (int i = 0; i < ia->datasize; ++i)
3853 ia->data[i] = i * 1.234;
3855 // Check named initializers.
3856 struct named_init ni = {
3857 .number = 34,
3858 .name = L"Test wide string",
3859 .average = 543.34343,
3862 ni.number = 58;
3864 int dynamic_array[ni.number];
3865 dynamic_array[0] = argv[0][0];
3866 dynamic_array[ni.number - 1] = 543;
3868 // work around unused variable warnings
3869 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3870 || dynamic_array[ni.number - 1] != 543);
3873 # Test code for whether the C compiler supports C11 (global declarations)
3874 ac_c_conftest_c11_globals='
3875 // Does the compiler advertise C11 conformance?
3876 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3877 # error "Compiler does not advertise C11 conformance"
3878 #endif
3880 // Check _Alignas.
3881 char _Alignas (double) aligned_as_double;
3882 char _Alignas (0) no_special_alignment;
3883 extern char aligned_as_int;
3884 char _Alignas (0) _Alignas (int) aligned_as_int;
3886 // Check _Alignof.
3887 enum
3889 int_alignment = _Alignof (int),
3890 int_array_alignment = _Alignof (int[100]),
3891 char_alignment = _Alignof (char)
3893 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3895 // Check _Noreturn.
3896 int _Noreturn does_not_return (void) { for (;;) continue; }
3898 // Check _Static_assert.
3899 struct test_static_assert
3901 int x;
3902 _Static_assert (sizeof (int) <= sizeof (long int),
3903 "_Static_assert does not work in struct");
3904 long int y;
3907 // Check UTF-8 literals.
3908 #define u8 syntax error!
3909 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3911 // Check duplicate typedefs.
3912 typedef long *long_ptr;
3913 typedef long int *long_ptr;
3914 typedef long_ptr long_ptr;
3916 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3917 struct anonymous
3919 union {
3920 struct { int i; int j; };
3921 struct { int k; long int l; } w;
3923 int m;
3924 } v1;
3927 # Test code for whether the C compiler supports C11 (body of main).
3928 ac_c_conftest_c11_main='
3929 _Static_assert ((offsetof (struct anonymous, i)
3930 == offsetof (struct anonymous, w.k)),
3931 "Anonymous union alignment botch");
3932 v1.i = 2;
3933 v1.w.k = 5;
3934 ok |= v1.i != 5;
3937 # Test code for whether the C compiler supports C11 (complete).
3938 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3939 ${ac_c_conftest_c99_globals}
3940 ${ac_c_conftest_c11_globals}
3943 main (int argc, char **argv)
3945 int ok = 0;
3946 ${ac_c_conftest_c89_main}
3947 ${ac_c_conftest_c99_main}
3948 ${ac_c_conftest_c11_main}
3949 return ok;
3953 # Test code for whether the C compiler supports C99 (complete).
3954 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3955 ${ac_c_conftest_c99_globals}
3958 main (int argc, char **argv)
3960 int ok = 0;
3961 ${ac_c_conftest_c89_main}
3962 ${ac_c_conftest_c99_main}
3963 return ok;
3967 # Test code for whether the C compiler supports C89 (complete).
3968 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3971 main (int argc, char **argv)
3973 int ok = 0;
3974 ${ac_c_conftest_c89_main}
3975 return ok;
3979 # Test code for whether the C++ compiler supports C++98 (global declarations)
3980 ac_cxx_conftest_cxx98_globals='
3981 // Does the compiler advertise C++98 conformance?
3982 #if !defined __cplusplus || __cplusplus < 199711L
3983 # error "Compiler does not advertise C++98 conformance"
3984 #endif
3986 // These inclusions are to reject old compilers that
3987 // lack the unsuffixed header files.
3988 #include <cstdlib>
3989 #include <exception>
3991 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3992 extern void assert (int);
3993 namespace std {
3994 extern int strcmp (const char *, const char *);
3997 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3998 using std::exception;
3999 using std::strcmp;
4001 namespace {
4003 void test_exception_syntax()
4005 try {
4006 throw "test";
4007 } catch (const char *s) {
4008 // Extra parentheses suppress a warning when building autoconf itself,
4009 // due to lint rules shared with more typical C programs.
4010 assert (!(strcmp) (s, "test"));
4014 template <typename T> struct test_template
4016 T const val;
4017 explicit test_template(T t) : val(t) {}
4018 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
4021 } // anonymous namespace
4024 # Test code for whether the C++ compiler supports C++98 (body of main)
4025 ac_cxx_conftest_cxx98_main='
4026 assert (argc);
4027 assert (! argv[0]);
4029 test_exception_syntax ();
4030 test_template<double> tt (2.0);
4031 assert (tt.add (4) == 6.0);
4032 assert (true && !false);
4036 # Test code for whether the C++ compiler supports C++11 (global declarations)
4037 ac_cxx_conftest_cxx11_globals='
4038 // Does the compiler advertise C++ 2011 conformance?
4039 #if !defined __cplusplus || __cplusplus < 201103L
4040 # error "Compiler does not advertise C++11 conformance"
4041 #endif
4043 namespace cxx11test
4045 constexpr int get_val() { return 20; }
4047 struct testinit
4049 int i;
4050 double d;
4053 class delegate
4055 public:
4056 delegate(int n) : n(n) {}
4057 delegate(): delegate(2354) {}
4059 virtual int getval() { return this->n; };
4060 protected:
4061 int n;
4064 class overridden : public delegate
4066 public:
4067 overridden(int n): delegate(n) {}
4068 virtual int getval() override final { return this->n * 2; }
4071 class nocopy
4073 public:
4074 nocopy(int i): i(i) {}
4075 nocopy() = default;
4076 nocopy(const nocopy&) = delete;
4077 nocopy & operator=(const nocopy&) = delete;
4078 private:
4079 int i;
4082 // for testing lambda expressions
4083 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
4085 return f(v);
4088 // for testing variadic templates and trailing return types
4089 template <typename V> auto sum(V first) -> V
4091 return first;
4093 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
4095 return first + sum(rest...);
4100 # Test code for whether the C++ compiler supports C++11 (body of main)
4101 ac_cxx_conftest_cxx11_main='
4103 // Test auto and decltype
4104 auto a1 = 6538;
4105 auto a2 = 48573953.4;
4106 auto a3 = "String literal";
4108 int total = 0;
4109 for (auto i = a3; *i; ++i) { total += *i; }
4111 decltype(a2) a4 = 34895.034;
4114 // Test constexpr
4115 short sa[cxx11test::get_val()] = { 0 };
4118 // Test initializer lists
4119 cxx11test::testinit il = { 4323, 435234.23544 };
4122 // Test range-based for
4123 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
4124 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
4125 for (auto &x : array) { x += 23; }
4128 // Test lambda expressions
4129 using cxx11test::eval;
4130 assert (eval ([](int x) { return x*2; }, 21) == 42);
4131 double d = 2.0;
4132 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
4133 assert (d == 5.0);
4134 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
4135 assert (d == 5.0);
4138 // Test use of variadic templates
4139 using cxx11test::sum;
4140 auto a = sum(1);
4141 auto b = sum(1, 2);
4142 auto c = sum(1.0, 2.0, 3.0);
4145 // Test constructor delegation
4146 cxx11test::delegate d1;
4147 cxx11test::delegate d2();
4148 cxx11test::delegate d3(45);
4151 // Test override and final
4152 cxx11test::overridden o1(55464);
4155 // Test nullptr
4156 char *c = nullptr;
4159 // Test template brackets
4160 test_template<::test_template<int>> v(test_template<int>(12));
4163 // Unicode literals
4164 char const *utf8 = u8"UTF-8 string \u2500";
4165 char16_t const *utf16 = u"UTF-8 string \u2500";
4166 char32_t const *utf32 = U"UTF-32 string \u2500";
4170 # Test code for whether the C compiler supports C++11 (complete).
4171 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
4172 ${ac_cxx_conftest_cxx11_globals}
4175 main (int argc, char **argv)
4177 int ok = 0;
4178 ${ac_cxx_conftest_cxx98_main}
4179 ${ac_cxx_conftest_cxx11_main}
4180 return ok;
4184 # Test code for whether the C compiler supports C++98 (complete).
4185 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
4187 main (int argc, char **argv)
4189 int ok = 0;
4190 ${ac_cxx_conftest_cxx98_main}
4191 return ok;
4195 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
4196 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
4197 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
4198 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
4199 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
4200 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
4201 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
4202 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
4203 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
4205 # Auxiliary files required by this configure script.
4206 ac_aux_files="config.guess config.sub"
4208 # Locations in which to look for auxiliary files.
4209 ac_aux_dir_candidates="${srcdir}/tools"
4211 # Search for a directory containing all of the required auxiliary files,
4212 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
4213 # If we don't find one directory that contains all the files we need,
4214 # we report the set of missing files from the *first* directory in
4215 # $ac_aux_dir_candidates and give up.
4216 ac_missing_aux_files=""
4217 ac_first_candidate=:
4218 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4220 as_found=false
4221 for as_dir in $ac_aux_dir_candidates
4223 IFS=$as_save_IFS
4224 case $as_dir in #(((
4225 '') as_dir=./ ;;
4226 */) ;;
4227 *) as_dir=$as_dir/ ;;
4228 esac
4229 as_found=:
4231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4232 ac_aux_dir_found=yes
4233 ac_install_sh=
4234 for ac_aux in $ac_aux_files
4236 # As a special case, if "install-sh" is required, that requirement
4237 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4238 # and $ac_install_sh is set appropriately for whichever one is found.
4239 if test x"$ac_aux" = x"install-sh"
4240 then
4241 if test -f "${as_dir}install-sh"; then
4242 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4243 ac_install_sh="${as_dir}install-sh -c"
4244 elif test -f "${as_dir}install.sh"; then
4245 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4246 ac_install_sh="${as_dir}install.sh -c"
4247 elif test -f "${as_dir}shtool"; then
4248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4249 ac_install_sh="${as_dir}shtool install -c"
4250 else
4251 ac_aux_dir_found=no
4252 if $ac_first_candidate; then
4253 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4254 else
4255 break
4258 else
4259 if test -f "${as_dir}${ac_aux}"; then
4260 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4261 else
4262 ac_aux_dir_found=no
4263 if $ac_first_candidate; then
4264 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4265 else
4266 break
4270 done
4271 if test "$ac_aux_dir_found" = yes; then
4272 ac_aux_dir="$as_dir"
4273 break
4275 ac_first_candidate=false
4277 as_found=false
4278 done
4279 IFS=$as_save_IFS
4280 if $as_found
4281 then :
4283 else $as_nop
4284 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4288 # These three variables are undocumented and unsupported,
4289 # and are intended to be withdrawn in a future Autoconf release.
4290 # They can cause serious problems if a builder's source tree is in a directory
4291 # whose full name contains unusual characters.
4292 if test -f "${ac_aux_dir}config.guess"; then
4293 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4295 if test -f "${ac_aux_dir}config.sub"; then
4296 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4298 if test -f "$ac_aux_dir/configure"; then
4299 ac_configure="$SHELL ${ac_aux_dir}configure"
4302 # Check that the precious variables saved in the cache have kept the same
4303 # value.
4304 ac_cache_corrupted=false
4305 for ac_var in $ac_precious_vars; do
4306 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4307 eval ac_new_set=\$ac_env_${ac_var}_set
4308 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4309 eval ac_new_val=\$ac_env_${ac_var}_value
4310 case $ac_old_set,$ac_new_set in
4311 set,)
4312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4313 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4314 ac_cache_corrupted=: ;;
4315 ,set)
4316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4317 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4318 ac_cache_corrupted=: ;;
4319 ,);;
4321 if test "x$ac_old_val" != "x$ac_new_val"; then
4322 # differences in whitespace do not lead to failure.
4323 ac_old_val_w=`echo x $ac_old_val`
4324 ac_new_val_w=`echo x $ac_new_val`
4325 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4327 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4328 ac_cache_corrupted=:
4329 else
4330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4331 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4332 eval $ac_var=\$ac_old_val
4334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4335 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4337 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4338 fi;;
4339 esac
4340 # Pass precious variables to config.status.
4341 if test "$ac_new_set" = set; then
4342 case $ac_new_val in
4343 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4344 *) ac_arg=$ac_var=$ac_new_val ;;
4345 esac
4346 case " $ac_configure_args " in
4347 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4348 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4349 esac
4351 done
4352 if $ac_cache_corrupted; then
4353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4354 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4356 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4357 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4358 and start over" "$LINENO" 5
4360 ## -------------------- ##
4361 ## Main body of script. ##
4362 ## -------------------- ##
4364 ac_ext=c
4365 ac_cpp='$CPP $CPPFLAGS'
4366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4372 ac_config_headers="$ac_config_headers include/config.h"
4376 libwine_version="1.0"
4379 # Check whether --enable-win16 was given.
4380 if test ${enable_win16+y}
4381 then :
4382 enableval=$enable_win16;
4385 # Check whether --enable-win64 was given.
4386 if test ${enable_win64+y}
4387 then :
4388 enableval=$enable_win64;
4391 # Check whether --enable-tests was given.
4392 if test ${enable_tests+y}
4393 then :
4394 enableval=$enable_tests;
4397 # Check whether --enable-build-id was given.
4398 if test ${enable_build_id+y}
4399 then :
4400 enableval=$enable_build_id;
4403 # Check whether --enable-maintainer-mode was given.
4404 if test ${enable_maintainer_mode+y}
4405 then :
4406 enableval=$enable_maintainer_mode;
4409 # Check whether --enable-silent-rules was given.
4410 if test ${enable_silent_rules+y}
4411 then :
4412 enableval=$enable_silent_rules;
4415 # Check whether --enable-werror was given.
4416 if test ${enable_werror+y}
4417 then :
4418 enableval=$enable_werror;
4423 # Check whether --with-alsa was given.
4424 if test ${with_alsa+y}
4425 then :
4426 withval=$with_alsa;
4430 # Check whether --with-capi was given.
4431 if test ${with_capi+y}
4432 then :
4433 withval=$with_capi;
4437 # Check whether --with-coreaudio was given.
4438 if test ${with_coreaudio+y}
4439 then :
4440 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4444 # Check whether --with-cups was given.
4445 if test ${with_cups+y}
4446 then :
4447 withval=$with_cups;
4451 # Check whether --with-dbus was given.
4452 if test ${with_dbus+y}
4453 then :
4454 withval=$with_dbus;
4458 # Check whether --with-float-abi was given.
4459 if test ${with_float_abi+y}
4460 then :
4461 withval=$with_float_abi;
4465 # Check whether --with-fontconfig was given.
4466 if test ${with_fontconfig+y}
4467 then :
4468 withval=$with_fontconfig;
4472 # Check whether --with-freetype was given.
4473 if test ${with_freetype+y}
4474 then :
4475 withval=$with_freetype;
4479 # Check whether --with-gettext was given.
4480 if test ${with_gettext+y}
4481 then :
4482 withval=$with_gettext;
4486 # Check whether --with-gettextpo was given.
4487 if test ${with_gettextpo+y}
4488 then :
4489 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4493 # Check whether --with-gphoto was given.
4494 if test ${with_gphoto+y}
4495 then :
4496 withval=$with_gphoto;
4500 # Check whether --with-gnutls was given.
4501 if test ${with_gnutls+y}
4502 then :
4503 withval=$with_gnutls;
4507 # Check whether --with-gssapi was given.
4508 if test ${with_gssapi+y}
4509 then :
4510 withval=$with_gssapi;
4514 # Check whether --with-gstreamer was given.
4515 if test ${with_gstreamer+y}
4516 then :
4517 withval=$with_gstreamer;
4521 # Check whether --with-inotify was given.
4522 if test ${with_inotify+y}
4523 then :
4524 withval=$with_inotify;
4528 # Check whether --with-krb5 was given.
4529 if test ${with_krb5+y}
4530 then :
4531 withval=$with_krb5;
4535 # Check whether --with-ldap was given.
4536 if test ${with_ldap+y}
4537 then :
4538 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4542 # Check whether --with-mingw was given.
4543 if test ${with_mingw+y}
4544 then :
4545 withval=$with_mingw;
4549 # Check whether --with-netapi was given.
4550 if test ${with_netapi+y}
4551 then :
4552 withval=$with_netapi;
4556 # Check whether --with-openal was given.
4557 if test ${with_openal+y}
4558 then :
4559 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4563 # Check whether --with-opencl was given.
4564 if test ${with_opencl+y}
4565 then :
4566 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4570 # Check whether --with-opengl was given.
4571 if test ${with_opengl+y}
4572 then :
4573 withval=$with_opengl;
4577 # Check whether --with-osmesa was given.
4578 if test ${with_osmesa+y}
4579 then :
4580 withval=$with_osmesa;
4584 # Check whether --with-oss was given.
4585 if test ${with_oss+y}
4586 then :
4587 withval=$with_oss;
4591 # Check whether --with-pcap was given.
4592 if test ${with_pcap+y}
4593 then :
4594 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4598 # Check whether --with-pthread was given.
4599 if test ${with_pthread+y}
4600 then :
4601 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4605 # Check whether --with-pulse was given.
4606 if test ${with_pulse+y}
4607 then :
4608 withval=$with_pulse;
4612 # Check whether --with-sane was given.
4613 if test ${with_sane+y}
4614 then :
4615 withval=$with_sane;
4619 # Check whether --with-sdl was given.
4620 if test ${with_sdl+y}
4621 then :
4622 withval=$with_sdl;
4626 # Check whether --with-udev was given.
4627 if test ${with_udev+y}
4628 then :
4629 withval=$with_udev;
4633 # Check whether --with-unwind was given.
4634 if test ${with_unwind+y}
4635 then :
4636 withval=$with_unwind;
4640 # Check whether --with-usb was given.
4641 if test ${with_usb+y}
4642 then :
4643 withval=$with_usb;
4647 # Check whether --with-v4l2 was given.
4648 if test ${with_v4l2+y}
4649 then :
4650 withval=$with_v4l2;
4654 # Check whether --with-vkd3d was given.
4655 if test ${with_vkd3d+y}
4656 then :
4657 withval=$with_vkd3d;
4661 # Check whether --with-vulkan was given.
4662 if test ${with_vulkan+y}
4663 then :
4664 withval=$with_vulkan;
4668 # Check whether --with-xcomposite was given.
4669 if test ${with_xcomposite+y}
4670 then :
4671 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4675 # Check whether --with-xcursor was given.
4676 if test ${with_xcursor+y}
4677 then :
4678 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4682 # Check whether --with-xfixes was given.
4683 if test ${with_xfixes+y}
4684 then :
4685 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4689 # Check whether --with-xinerama was given.
4690 if test ${with_xinerama+y}
4691 then :
4692 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4696 # Check whether --with-xinput was given.
4697 if test ${with_xinput+y}
4698 then :
4699 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4703 # Check whether --with-xinput2 was given.
4704 if test ${with_xinput2+y}
4705 then :
4706 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4710 # Check whether --with-xrandr was given.
4711 if test ${with_xrandr+y}
4712 then :
4713 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4717 # Check whether --with-xrender was given.
4718 if test ${with_xrender+y}
4719 then :
4720 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4724 # Check whether --with-xshape was given.
4725 if test ${with_xshape+y}
4726 then :
4727 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4731 # Check whether --with-xshm was given.
4732 if test ${with_xshm+y}
4733 then :
4734 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4738 # Check whether --with-xxf86vm was given.
4739 if test ${with_xxf86vm+y}
4740 then :
4741 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
4746 # Check whether --with-system-dllpath was given.
4747 if test ${with_system_dllpath+y}
4748 then :
4749 withval=$with_system_dllpath; system_dllpath=$withval
4754 # Check whether --with-wine-tools was given.
4755 if test ${with_wine_tools+y}
4756 then :
4757 withval=$with_wine_tools;
4761 # Check whether --with-wine64 was given.
4762 if test ${with_wine64+y}
4763 then :
4764 withval=$with_wine64;
4771 # Make sure we can run config.sub.
4772 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4773 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4776 printf %s "checking build system type... " >&6; }
4777 if test ${ac_cv_build+y}
4778 then :
4779 printf %s "(cached) " >&6
4780 else $as_nop
4781 ac_build_alias=$build_alias
4782 test "x$ac_build_alias" = x &&
4783 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4784 test "x$ac_build_alias" = x &&
4785 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4786 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4787 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4791 printf "%s\n" "$ac_cv_build" >&6; }
4792 case $ac_cv_build in
4793 *-*-*) ;;
4794 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4795 esac
4796 build=$ac_cv_build
4797 ac_save_IFS=$IFS; IFS='-'
4798 set x $ac_cv_build
4799 shift
4800 build_cpu=$1
4801 build_vendor=$2
4802 shift; shift
4803 # Remember, the first character of IFS is used to create $*,
4804 # except with old shells:
4805 build_os=$*
4806 IFS=$ac_save_IFS
4807 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4811 printf %s "checking host system type... " >&6; }
4812 if test ${ac_cv_host+y}
4813 then :
4814 printf %s "(cached) " >&6
4815 else $as_nop
4816 if test "x$host_alias" = x; then
4817 ac_cv_host=$ac_cv_build
4818 else
4819 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4820 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4825 printf "%s\n" "$ac_cv_host" >&6; }
4826 case $ac_cv_host in
4827 *-*-*) ;;
4828 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4829 esac
4830 host=$ac_cv_host
4831 ac_save_IFS=$IFS; IFS='-'
4832 set x $ac_cv_host
4833 shift
4834 host_cpu=$1
4835 host_vendor=$2
4836 shift; shift
4837 # Remember, the first character of IFS is used to create $*,
4838 # except with old shells:
4839 host_os=$*
4840 IFS=$ac_save_IFS
4841 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4845 dlldir=\${libdir}/wine
4847 fontdir=\${datadir}/wine/fonts
4849 nlsdir=\${datadir}/wine/nls
4854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4855 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4856 set x ${MAKE-make}
4857 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4858 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4859 then :
4860 printf %s "(cached) " >&6
4861 else $as_nop
4862 cat >conftest.make <<\_ACEOF
4863 SHELL = /bin/sh
4864 all:
4865 @echo '@@@%%%=$(MAKE)=@@@%%%'
4866 _ACEOF
4867 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4868 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4869 *@@@%%%=?*=@@@%%%*)
4870 eval ac_cv_prog_make_${ac_make}_set=yes;;
4872 eval ac_cv_prog_make_${ac_make}_set=no;;
4873 esac
4874 rm -f conftest.make
4876 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4878 printf "%s\n" "yes" >&6; }
4879 SET_MAKE=
4880 else
4881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4882 printf "%s\n" "no" >&6; }
4883 SET_MAKE="MAKE=${MAKE-make}"
4895 ac_ext=c
4896 ac_cpp='$CPP $CPPFLAGS'
4897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4900 if test -n "$ac_tool_prefix"; then
4901 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4902 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4904 printf %s "checking for $ac_word... " >&6; }
4905 if test ${ac_cv_prog_CC+y}
4906 then :
4907 printf %s "(cached) " >&6
4908 else $as_nop
4909 if test -n "$CC"; then
4910 ac_cv_prog_CC="$CC" # Let the user override the test.
4911 else
4912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4913 for as_dir in $PATH
4915 IFS=$as_save_IFS
4916 case $as_dir in #(((
4917 '') as_dir=./ ;;
4918 */) ;;
4919 *) as_dir=$as_dir/ ;;
4920 esac
4921 for ac_exec_ext in '' $ac_executable_extensions; do
4922 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4923 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4924 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4925 break 2
4927 done
4928 done
4929 IFS=$as_save_IFS
4933 CC=$ac_cv_prog_CC
4934 if test -n "$CC"; then
4935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4936 printf "%s\n" "$CC" >&6; }
4937 else
4938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4939 printf "%s\n" "no" >&6; }
4944 if test -z "$ac_cv_prog_CC"; then
4945 ac_ct_CC=$CC
4946 # Extract the first word of "gcc", so it can be a program name with args.
4947 set dummy gcc; ac_word=$2
4948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4949 printf %s "checking for $ac_word... " >&6; }
4950 if test ${ac_cv_prog_ac_ct_CC+y}
4951 then :
4952 printf %s "(cached) " >&6
4953 else $as_nop
4954 if test -n "$ac_ct_CC"; then
4955 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4956 else
4957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4958 for as_dir in $PATH
4960 IFS=$as_save_IFS
4961 case $as_dir in #(((
4962 '') as_dir=./ ;;
4963 */) ;;
4964 *) as_dir=$as_dir/ ;;
4965 esac
4966 for ac_exec_ext in '' $ac_executable_extensions; do
4967 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4968 ac_cv_prog_ac_ct_CC="gcc"
4969 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4970 break 2
4972 done
4973 done
4974 IFS=$as_save_IFS
4978 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4979 if test -n "$ac_ct_CC"; then
4980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4981 printf "%s\n" "$ac_ct_CC" >&6; }
4982 else
4983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4984 printf "%s\n" "no" >&6; }
4987 if test "x$ac_ct_CC" = x; then
4988 CC=""
4989 else
4990 case $cross_compiling:$ac_tool_warned in
4991 yes:)
4992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4993 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4994 ac_tool_warned=yes ;;
4995 esac
4996 CC=$ac_ct_CC
4998 else
4999 CC="$ac_cv_prog_CC"
5002 if test -z "$CC"; then
5003 if test -n "$ac_tool_prefix"; then
5004 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5005 set dummy ${ac_tool_prefix}cc; ac_word=$2
5006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5007 printf %s "checking for $ac_word... " >&6; }
5008 if test ${ac_cv_prog_CC+y}
5009 then :
5010 printf %s "(cached) " >&6
5011 else $as_nop
5012 if test -n "$CC"; then
5013 ac_cv_prog_CC="$CC" # Let the user override the test.
5014 else
5015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5016 for as_dir in $PATH
5018 IFS=$as_save_IFS
5019 case $as_dir in #(((
5020 '') as_dir=./ ;;
5021 */) ;;
5022 *) as_dir=$as_dir/ ;;
5023 esac
5024 for ac_exec_ext in '' $ac_executable_extensions; do
5025 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5026 ac_cv_prog_CC="${ac_tool_prefix}cc"
5027 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5028 break 2
5030 done
5031 done
5032 IFS=$as_save_IFS
5036 CC=$ac_cv_prog_CC
5037 if test -n "$CC"; then
5038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5039 printf "%s\n" "$CC" >&6; }
5040 else
5041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042 printf "%s\n" "no" >&6; }
5048 if test -z "$CC"; then
5049 # Extract the first word of "cc", so it can be a program name with args.
5050 set dummy cc; ac_word=$2
5051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5052 printf %s "checking for $ac_word... " >&6; }
5053 if test ${ac_cv_prog_CC+y}
5054 then :
5055 printf %s "(cached) " >&6
5056 else $as_nop
5057 if test -n "$CC"; then
5058 ac_cv_prog_CC="$CC" # Let the user override the test.
5059 else
5060 ac_prog_rejected=no
5061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5062 for as_dir in $PATH
5064 IFS=$as_save_IFS
5065 case $as_dir in #(((
5066 '') as_dir=./ ;;
5067 */) ;;
5068 *) as_dir=$as_dir/ ;;
5069 esac
5070 for ac_exec_ext in '' $ac_executable_extensions; do
5071 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5072 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5073 ac_prog_rejected=yes
5074 continue
5076 ac_cv_prog_CC="cc"
5077 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5078 break 2
5080 done
5081 done
5082 IFS=$as_save_IFS
5084 if test $ac_prog_rejected = yes; then
5085 # We found a bogon in the path, so make sure we never use it.
5086 set dummy $ac_cv_prog_CC
5087 shift
5088 if test $# != 0; then
5089 # We chose a different compiler from the bogus one.
5090 # However, it has the same basename, so the bogon will be chosen
5091 # first if we set CC to just the basename; use the full file name.
5092 shift
5093 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
5098 CC=$ac_cv_prog_CC
5099 if test -n "$CC"; then
5100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5101 printf "%s\n" "$CC" >&6; }
5102 else
5103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5104 printf "%s\n" "no" >&6; }
5109 if test -z "$CC"; then
5110 if test -n "$ac_tool_prefix"; then
5111 for ac_prog in cl.exe
5113 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5114 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5116 printf %s "checking for $ac_word... " >&6; }
5117 if test ${ac_cv_prog_CC+y}
5118 then :
5119 printf %s "(cached) " >&6
5120 else $as_nop
5121 if test -n "$CC"; then
5122 ac_cv_prog_CC="$CC" # Let the user override the test.
5123 else
5124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5125 for as_dir in $PATH
5127 IFS=$as_save_IFS
5128 case $as_dir in #(((
5129 '') as_dir=./ ;;
5130 */) ;;
5131 *) as_dir=$as_dir/ ;;
5132 esac
5133 for ac_exec_ext in '' $ac_executable_extensions; do
5134 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5135 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5136 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5137 break 2
5139 done
5140 done
5141 IFS=$as_save_IFS
5145 CC=$ac_cv_prog_CC
5146 if test -n "$CC"; then
5147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5148 printf "%s\n" "$CC" >&6; }
5149 else
5150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5151 printf "%s\n" "no" >&6; }
5155 test -n "$CC" && break
5156 done
5158 if test -z "$CC"; then
5159 ac_ct_CC=$CC
5160 for ac_prog in cl.exe
5162 # Extract the first word of "$ac_prog", so it can be a program name with args.
5163 set dummy $ac_prog; ac_word=$2
5164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5165 printf %s "checking for $ac_word... " >&6; }
5166 if test ${ac_cv_prog_ac_ct_CC+y}
5167 then :
5168 printf %s "(cached) " >&6
5169 else $as_nop
5170 if test -n "$ac_ct_CC"; then
5171 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5172 else
5173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5174 for as_dir in $PATH
5176 IFS=$as_save_IFS
5177 case $as_dir in #(((
5178 '') as_dir=./ ;;
5179 */) ;;
5180 *) as_dir=$as_dir/ ;;
5181 esac
5182 for ac_exec_ext in '' $ac_executable_extensions; do
5183 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5184 ac_cv_prog_ac_ct_CC="$ac_prog"
5185 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5186 break 2
5188 done
5189 done
5190 IFS=$as_save_IFS
5194 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5195 if test -n "$ac_ct_CC"; then
5196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5197 printf "%s\n" "$ac_ct_CC" >&6; }
5198 else
5199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5200 printf "%s\n" "no" >&6; }
5204 test -n "$ac_ct_CC" && break
5205 done
5207 if test "x$ac_ct_CC" = x; then
5208 CC=""
5209 else
5210 case $cross_compiling:$ac_tool_warned in
5211 yes:)
5212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5213 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5214 ac_tool_warned=yes ;;
5215 esac
5216 CC=$ac_ct_CC
5221 if test -z "$CC"; then
5222 if test -n "$ac_tool_prefix"; then
5223 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5224 set dummy ${ac_tool_prefix}clang; ac_word=$2
5225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5226 printf %s "checking for $ac_word... " >&6; }
5227 if test ${ac_cv_prog_CC+y}
5228 then :
5229 printf %s "(cached) " >&6
5230 else $as_nop
5231 if test -n "$CC"; then
5232 ac_cv_prog_CC="$CC" # Let the user override the test.
5233 else
5234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5235 for as_dir in $PATH
5237 IFS=$as_save_IFS
5238 case $as_dir in #(((
5239 '') as_dir=./ ;;
5240 */) ;;
5241 *) as_dir=$as_dir/ ;;
5242 esac
5243 for ac_exec_ext in '' $ac_executable_extensions; do
5244 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5245 ac_cv_prog_CC="${ac_tool_prefix}clang"
5246 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5247 break 2
5249 done
5250 done
5251 IFS=$as_save_IFS
5255 CC=$ac_cv_prog_CC
5256 if test -n "$CC"; then
5257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5258 printf "%s\n" "$CC" >&6; }
5259 else
5260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5261 printf "%s\n" "no" >&6; }
5266 if test -z "$ac_cv_prog_CC"; then
5267 ac_ct_CC=$CC
5268 # Extract the first word of "clang", so it can be a program name with args.
5269 set dummy clang; ac_word=$2
5270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5271 printf %s "checking for $ac_word... " >&6; }
5272 if test ${ac_cv_prog_ac_ct_CC+y}
5273 then :
5274 printf %s "(cached) " >&6
5275 else $as_nop
5276 if test -n "$ac_ct_CC"; then
5277 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5278 else
5279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5280 for as_dir in $PATH
5282 IFS=$as_save_IFS
5283 case $as_dir in #(((
5284 '') as_dir=./ ;;
5285 */) ;;
5286 *) as_dir=$as_dir/ ;;
5287 esac
5288 for ac_exec_ext in '' $ac_executable_extensions; do
5289 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5290 ac_cv_prog_ac_ct_CC="clang"
5291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5292 break 2
5294 done
5295 done
5296 IFS=$as_save_IFS
5300 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5301 if test -n "$ac_ct_CC"; then
5302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5303 printf "%s\n" "$ac_ct_CC" >&6; }
5304 else
5305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5306 printf "%s\n" "no" >&6; }
5309 if test "x$ac_ct_CC" = x; then
5310 CC=""
5311 else
5312 case $cross_compiling:$ac_tool_warned in
5313 yes:)
5314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5315 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5316 ac_tool_warned=yes ;;
5317 esac
5318 CC=$ac_ct_CC
5320 else
5321 CC="$ac_cv_prog_CC"
5327 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5328 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5329 as_fn_error $? "no acceptable C compiler found in \$PATH
5330 See \`config.log' for more details" "$LINENO" 5; }
5332 # Provide some information about the compiler.
5333 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5334 set X $ac_compile
5335 ac_compiler=$2
5336 for ac_option in --version -v -V -qversion -version; do
5337 { { ac_try="$ac_compiler $ac_option >&5"
5338 case "(($ac_try" in
5339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5340 *) ac_try_echo=$ac_try;;
5341 esac
5342 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5343 printf "%s\n" "$ac_try_echo"; } >&5
5344 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5345 ac_status=$?
5346 if test -s conftest.err; then
5347 sed '10a\
5348 ... rest of stderr output deleted ...
5349 10q' conftest.err >conftest.er1
5350 cat conftest.er1 >&5
5352 rm -f conftest.er1 conftest.err
5353 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5354 test $ac_status = 0; }
5355 done
5357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5358 /* end confdefs.h. */
5361 main (void)
5365 return 0;
5367 _ACEOF
5368 ac_clean_files_save=$ac_clean_files
5369 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5370 # Try to create an executable without -o first, disregard a.out.
5371 # It will help us diagnose broken compilers, and finding out an intuition
5372 # of exeext.
5373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5374 printf %s "checking whether the C compiler works... " >&6; }
5375 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5377 # The possible output files:
5378 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5380 ac_rmfiles=
5381 for ac_file in $ac_files
5383 case $ac_file in
5384 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5385 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5386 esac
5387 done
5388 rm -f $ac_rmfiles
5390 if { { ac_try="$ac_link_default"
5391 case "(($ac_try" in
5392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5393 *) ac_try_echo=$ac_try;;
5394 esac
5395 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5396 printf "%s\n" "$ac_try_echo"; } >&5
5397 (eval "$ac_link_default") 2>&5
5398 ac_status=$?
5399 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5400 test $ac_status = 0; }
5401 then :
5402 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5403 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5404 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5405 # so that the user can short-circuit this test for compilers unknown to
5406 # Autoconf.
5407 for ac_file in $ac_files ''
5409 test -f "$ac_file" || continue
5410 case $ac_file in
5411 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5413 [ab].out )
5414 # We found the default executable, but exeext='' is most
5415 # certainly right.
5416 break;;
5417 *.* )
5418 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5419 then :; else
5420 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5422 # We set ac_cv_exeext here because the later test for it is not
5423 # safe: cross compilers may not add the suffix if given an `-o'
5424 # argument, so we may need to know it at that point already.
5425 # Even if this section looks crufty: it has the advantage of
5426 # actually working.
5427 break;;
5429 break;;
5430 esac
5431 done
5432 test "$ac_cv_exeext" = no && ac_cv_exeext=
5434 else $as_nop
5435 ac_file=''
5437 if test -z "$ac_file"
5438 then :
5439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5440 printf "%s\n" "no" >&6; }
5441 printf "%s\n" "$as_me: failed program was:" >&5
5442 sed 's/^/| /' conftest.$ac_ext >&5
5444 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5445 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5446 as_fn_error 77 "C compiler cannot create executables
5447 See \`config.log' for more details" "$LINENO" 5; }
5448 else $as_nop
5449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5450 printf "%s\n" "yes" >&6; }
5452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5453 printf %s "checking for C compiler default output file name... " >&6; }
5454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5455 printf "%s\n" "$ac_file" >&6; }
5456 ac_exeext=$ac_cv_exeext
5458 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5459 ac_clean_files=$ac_clean_files_save
5460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5461 printf %s "checking for suffix of executables... " >&6; }
5462 if { { ac_try="$ac_link"
5463 case "(($ac_try" in
5464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5465 *) ac_try_echo=$ac_try;;
5466 esac
5467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5468 printf "%s\n" "$ac_try_echo"; } >&5
5469 (eval "$ac_link") 2>&5
5470 ac_status=$?
5471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5472 test $ac_status = 0; }
5473 then :
5474 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5475 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5476 # work properly (i.e., refer to `conftest.exe'), while it won't with
5477 # `rm'.
5478 for ac_file in conftest.exe conftest conftest.*; do
5479 test -f "$ac_file" || continue
5480 case $ac_file in
5481 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5482 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5483 break;;
5484 * ) break;;
5485 esac
5486 done
5487 else $as_nop
5488 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5489 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5490 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5491 See \`config.log' for more details" "$LINENO" 5; }
5493 rm -f conftest conftest$ac_cv_exeext
5494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5495 printf "%s\n" "$ac_cv_exeext" >&6; }
5497 rm -f conftest.$ac_ext
5498 EXEEXT=$ac_cv_exeext
5499 ac_exeext=$EXEEXT
5500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5501 /* end confdefs.h. */
5502 #include <stdio.h>
5504 main (void)
5506 FILE *f = fopen ("conftest.out", "w");
5507 return ferror (f) || fclose (f) != 0;
5510 return 0;
5512 _ACEOF
5513 ac_clean_files="$ac_clean_files conftest.out"
5514 # Check that the compiler produces executables we can run. If not, either
5515 # the compiler is broken, or we cross compile.
5516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5517 printf %s "checking whether we are cross compiling... " >&6; }
5518 if test "$cross_compiling" != yes; then
5519 { { ac_try="$ac_link"
5520 case "(($ac_try" in
5521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5522 *) ac_try_echo=$ac_try;;
5523 esac
5524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5525 printf "%s\n" "$ac_try_echo"; } >&5
5526 (eval "$ac_link") 2>&5
5527 ac_status=$?
5528 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5529 test $ac_status = 0; }
5530 if { ac_try='./conftest$ac_cv_exeext'
5531 { { case "(($ac_try" in
5532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5533 *) ac_try_echo=$ac_try;;
5534 esac
5535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5536 printf "%s\n" "$ac_try_echo"; } >&5
5537 (eval "$ac_try") 2>&5
5538 ac_status=$?
5539 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5540 test $ac_status = 0; }; }; then
5541 cross_compiling=no
5542 else
5543 if test "$cross_compiling" = maybe; then
5544 cross_compiling=yes
5545 else
5546 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5547 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5548 as_fn_error 77 "cannot run C compiled programs.
5549 If you meant to cross compile, use \`--host'.
5550 See \`config.log' for more details" "$LINENO" 5; }
5554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5555 printf "%s\n" "$cross_compiling" >&6; }
5557 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5558 ac_clean_files=$ac_clean_files_save
5559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5560 printf %s "checking for suffix of object files... " >&6; }
5561 if test ${ac_cv_objext+y}
5562 then :
5563 printf %s "(cached) " >&6
5564 else $as_nop
5565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5566 /* end confdefs.h. */
5569 main (void)
5573 return 0;
5575 _ACEOF
5576 rm -f conftest.o conftest.obj
5577 if { { ac_try="$ac_compile"
5578 case "(($ac_try" in
5579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5580 *) ac_try_echo=$ac_try;;
5581 esac
5582 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5583 printf "%s\n" "$ac_try_echo"; } >&5
5584 (eval "$ac_compile") 2>&5
5585 ac_status=$?
5586 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5587 test $ac_status = 0; }
5588 then :
5589 for ac_file in conftest.o conftest.obj conftest.*; do
5590 test -f "$ac_file" || continue;
5591 case $ac_file in
5592 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5593 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5594 break;;
5595 esac
5596 done
5597 else $as_nop
5598 printf "%s\n" "$as_me: failed program was:" >&5
5599 sed 's/^/| /' conftest.$ac_ext >&5
5601 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5602 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5603 as_fn_error $? "cannot compute suffix of object files: cannot compile
5604 See \`config.log' for more details" "$LINENO" 5; }
5606 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5609 printf "%s\n" "$ac_cv_objext" >&6; }
5610 OBJEXT=$ac_cv_objext
5611 ac_objext=$OBJEXT
5612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5613 printf %s "checking whether the compiler supports GNU C... " >&6; }
5614 if test ${ac_cv_c_compiler_gnu+y}
5615 then :
5616 printf %s "(cached) " >&6
5617 else $as_nop
5618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5619 /* end confdefs.h. */
5622 main (void)
5624 #ifndef __GNUC__
5625 choke me
5626 #endif
5629 return 0;
5631 _ACEOF
5632 if ac_fn_c_try_compile "$LINENO"
5633 then :
5634 ac_compiler_gnu=yes
5635 else $as_nop
5636 ac_compiler_gnu=no
5638 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5639 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5643 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5646 if test $ac_compiler_gnu = yes; then
5647 GCC=yes
5648 else
5649 GCC=
5651 ac_test_CFLAGS=${CFLAGS+y}
5652 ac_save_CFLAGS=$CFLAGS
5653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5654 printf %s "checking whether $CC accepts -g... " >&6; }
5655 if test ${ac_cv_prog_cc_g+y}
5656 then :
5657 printf %s "(cached) " >&6
5658 else $as_nop
5659 ac_save_c_werror_flag=$ac_c_werror_flag
5660 ac_c_werror_flag=yes
5661 ac_cv_prog_cc_g=no
5662 CFLAGS="-g"
5663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5664 /* end confdefs.h. */
5667 main (void)
5671 return 0;
5673 _ACEOF
5674 if ac_fn_c_try_compile "$LINENO"
5675 then :
5676 ac_cv_prog_cc_g=yes
5677 else $as_nop
5678 CFLAGS=""
5679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5680 /* end confdefs.h. */
5683 main (void)
5687 return 0;
5689 _ACEOF
5690 if ac_fn_c_try_compile "$LINENO"
5691 then :
5693 else $as_nop
5694 ac_c_werror_flag=$ac_save_c_werror_flag
5695 CFLAGS="-g"
5696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5697 /* end confdefs.h. */
5700 main (void)
5704 return 0;
5706 _ACEOF
5707 if ac_fn_c_try_compile "$LINENO"
5708 then :
5709 ac_cv_prog_cc_g=yes
5711 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5713 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5715 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5716 ac_c_werror_flag=$ac_save_c_werror_flag
5718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5719 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5720 if test $ac_test_CFLAGS; then
5721 CFLAGS=$ac_save_CFLAGS
5722 elif test $ac_cv_prog_cc_g = yes; then
5723 if test "$GCC" = yes; then
5724 CFLAGS="-g -O2"
5725 else
5726 CFLAGS="-g"
5728 else
5729 if test "$GCC" = yes; then
5730 CFLAGS="-O2"
5731 else
5732 CFLAGS=
5735 ac_prog_cc_stdc=no
5736 if test x$ac_prog_cc_stdc = xno
5737 then :
5738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5739 printf %s "checking for $CC option to enable C11 features... " >&6; }
5740 if test ${ac_cv_prog_cc_c11+y}
5741 then :
5742 printf %s "(cached) " >&6
5743 else $as_nop
5744 ac_cv_prog_cc_c11=no
5745 ac_save_CC=$CC
5746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5747 /* end confdefs.h. */
5748 $ac_c_conftest_c11_program
5749 _ACEOF
5750 for ac_arg in '' -std=gnu11
5752 CC="$ac_save_CC $ac_arg"
5753 if ac_fn_c_try_compile "$LINENO"
5754 then :
5755 ac_cv_prog_cc_c11=$ac_arg
5757 rm -f core conftest.err conftest.$ac_objext conftest.beam
5758 test "x$ac_cv_prog_cc_c11" != "xno" && break
5759 done
5760 rm -f conftest.$ac_ext
5761 CC=$ac_save_CC
5764 if test "x$ac_cv_prog_cc_c11" = xno
5765 then :
5766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5767 printf "%s\n" "unsupported" >&6; }
5768 else $as_nop
5769 if test "x$ac_cv_prog_cc_c11" = x
5770 then :
5771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5772 printf "%s\n" "none needed" >&6; }
5773 else $as_nop
5774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5775 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5776 CC="$CC $ac_cv_prog_cc_c11"
5778 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5779 ac_prog_cc_stdc=c11
5782 if test x$ac_prog_cc_stdc = xno
5783 then :
5784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5785 printf %s "checking for $CC option to enable C99 features... " >&6; }
5786 if test ${ac_cv_prog_cc_c99+y}
5787 then :
5788 printf %s "(cached) " >&6
5789 else $as_nop
5790 ac_cv_prog_cc_c99=no
5791 ac_save_CC=$CC
5792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5793 /* end confdefs.h. */
5794 $ac_c_conftest_c99_program
5795 _ACEOF
5796 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5798 CC="$ac_save_CC $ac_arg"
5799 if ac_fn_c_try_compile "$LINENO"
5800 then :
5801 ac_cv_prog_cc_c99=$ac_arg
5803 rm -f core conftest.err conftest.$ac_objext conftest.beam
5804 test "x$ac_cv_prog_cc_c99" != "xno" && break
5805 done
5806 rm -f conftest.$ac_ext
5807 CC=$ac_save_CC
5810 if test "x$ac_cv_prog_cc_c99" = xno
5811 then :
5812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5813 printf "%s\n" "unsupported" >&6; }
5814 else $as_nop
5815 if test "x$ac_cv_prog_cc_c99" = x
5816 then :
5817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5818 printf "%s\n" "none needed" >&6; }
5819 else $as_nop
5820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5821 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5822 CC="$CC $ac_cv_prog_cc_c99"
5824 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5825 ac_prog_cc_stdc=c99
5828 if test x$ac_prog_cc_stdc = xno
5829 then :
5830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5831 printf %s "checking for $CC option to enable C89 features... " >&6; }
5832 if test ${ac_cv_prog_cc_c89+y}
5833 then :
5834 printf %s "(cached) " >&6
5835 else $as_nop
5836 ac_cv_prog_cc_c89=no
5837 ac_save_CC=$CC
5838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5839 /* end confdefs.h. */
5840 $ac_c_conftest_c89_program
5841 _ACEOF
5842 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5844 CC="$ac_save_CC $ac_arg"
5845 if ac_fn_c_try_compile "$LINENO"
5846 then :
5847 ac_cv_prog_cc_c89=$ac_arg
5849 rm -f core conftest.err conftest.$ac_objext conftest.beam
5850 test "x$ac_cv_prog_cc_c89" != "xno" && break
5851 done
5852 rm -f conftest.$ac_ext
5853 CC=$ac_save_CC
5856 if test "x$ac_cv_prog_cc_c89" = xno
5857 then :
5858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5859 printf "%s\n" "unsupported" >&6; }
5860 else $as_nop
5861 if test "x$ac_cv_prog_cc_c89" = x
5862 then :
5863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5864 printf "%s\n" "none needed" >&6; }
5865 else $as_nop
5866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5867 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5868 CC="$CC $ac_cv_prog_cc_c89"
5870 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5871 ac_prog_cc_stdc=c89
5875 ac_ext=c
5876 ac_cpp='$CPP $CPPFLAGS'
5877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5887 ac_ext=cpp
5888 ac_cpp='$CXXCPP $CPPFLAGS'
5889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5892 if test -z "$CXX"; then
5893 if test -n "$CCC"; then
5894 CXX=$CCC
5895 else
5896 if test -n "$ac_tool_prefix"; then
5897 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5899 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5900 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5902 printf %s "checking for $ac_word... " >&6; }
5903 if test ${ac_cv_prog_CXX+y}
5904 then :
5905 printf %s "(cached) " >&6
5906 else $as_nop
5907 if test -n "$CXX"; then
5908 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5909 else
5910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5911 for as_dir in $PATH
5913 IFS=$as_save_IFS
5914 case $as_dir in #(((
5915 '') as_dir=./ ;;
5916 */) ;;
5917 *) as_dir=$as_dir/ ;;
5918 esac
5919 for ac_exec_ext in '' $ac_executable_extensions; do
5920 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5921 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5922 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5923 break 2
5925 done
5926 done
5927 IFS=$as_save_IFS
5931 CXX=$ac_cv_prog_CXX
5932 if test -n "$CXX"; then
5933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5934 printf "%s\n" "$CXX" >&6; }
5935 else
5936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5937 printf "%s\n" "no" >&6; }
5941 test -n "$CXX" && break
5942 done
5944 if test -z "$CXX"; then
5945 ac_ct_CXX=$CXX
5946 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5948 # Extract the first word of "$ac_prog", so it can be a program name with args.
5949 set dummy $ac_prog; ac_word=$2
5950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5951 printf %s "checking for $ac_word... " >&6; }
5952 if test ${ac_cv_prog_ac_ct_CXX+y}
5953 then :
5954 printf %s "(cached) " >&6
5955 else $as_nop
5956 if test -n "$ac_ct_CXX"; then
5957 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5958 else
5959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5960 for as_dir in $PATH
5962 IFS=$as_save_IFS
5963 case $as_dir in #(((
5964 '') as_dir=./ ;;
5965 */) ;;
5966 *) as_dir=$as_dir/ ;;
5967 esac
5968 for ac_exec_ext in '' $ac_executable_extensions; do
5969 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5970 ac_cv_prog_ac_ct_CXX="$ac_prog"
5971 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5972 break 2
5974 done
5975 done
5976 IFS=$as_save_IFS
5980 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5981 if test -n "$ac_ct_CXX"; then
5982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5983 printf "%s\n" "$ac_ct_CXX" >&6; }
5984 else
5985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5986 printf "%s\n" "no" >&6; }
5990 test -n "$ac_ct_CXX" && break
5991 done
5993 if test "x$ac_ct_CXX" = x; then
5994 CXX="g++"
5995 else
5996 case $cross_compiling:$ac_tool_warned in
5997 yes:)
5998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5999 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6000 ac_tool_warned=yes ;;
6001 esac
6002 CXX=$ac_ct_CXX
6008 # Provide some information about the compiler.
6009 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6010 set X $ac_compile
6011 ac_compiler=$2
6012 for ac_option in --version -v -V -qversion; do
6013 { { ac_try="$ac_compiler $ac_option >&5"
6014 case "(($ac_try" in
6015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6016 *) ac_try_echo=$ac_try;;
6017 esac
6018 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6019 printf "%s\n" "$ac_try_echo"; } >&5
6020 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6021 ac_status=$?
6022 if test -s conftest.err; then
6023 sed '10a\
6024 ... rest of stderr output deleted ...
6025 10q' conftest.err >conftest.er1
6026 cat conftest.er1 >&5
6028 rm -f conftest.er1 conftest.err
6029 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6030 test $ac_status = 0; }
6031 done
6033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
6034 printf %s "checking whether the compiler supports GNU C++... " >&6; }
6035 if test ${ac_cv_cxx_compiler_gnu+y}
6036 then :
6037 printf %s "(cached) " >&6
6038 else $as_nop
6039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6040 /* end confdefs.h. */
6043 main (void)
6045 #ifndef __GNUC__
6046 choke me
6047 #endif
6050 return 0;
6052 _ACEOF
6053 if ac_fn_cxx_try_compile "$LINENO"
6054 then :
6055 ac_compiler_gnu=yes
6056 else $as_nop
6057 ac_compiler_gnu=no
6059 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6060 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6064 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
6065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6067 if test $ac_compiler_gnu = yes; then
6068 GXX=yes
6069 else
6070 GXX=
6072 ac_test_CXXFLAGS=${CXXFLAGS+y}
6073 ac_save_CXXFLAGS=$CXXFLAGS
6074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6075 printf %s "checking whether $CXX accepts -g... " >&6; }
6076 if test ${ac_cv_prog_cxx_g+y}
6077 then :
6078 printf %s "(cached) " >&6
6079 else $as_nop
6080 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6081 ac_cxx_werror_flag=yes
6082 ac_cv_prog_cxx_g=no
6083 CXXFLAGS="-g"
6084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6085 /* end confdefs.h. */
6088 main (void)
6092 return 0;
6094 _ACEOF
6095 if ac_fn_cxx_try_compile "$LINENO"
6096 then :
6097 ac_cv_prog_cxx_g=yes
6098 else $as_nop
6099 CXXFLAGS=""
6100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6101 /* end confdefs.h. */
6104 main (void)
6108 return 0;
6110 _ACEOF
6111 if ac_fn_cxx_try_compile "$LINENO"
6112 then :
6114 else $as_nop
6115 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6116 CXXFLAGS="-g"
6117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6118 /* end confdefs.h. */
6121 main (void)
6125 return 0;
6127 _ACEOF
6128 if ac_fn_cxx_try_compile "$LINENO"
6129 then :
6130 ac_cv_prog_cxx_g=yes
6132 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6134 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6136 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6137 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6140 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
6141 if test $ac_test_CXXFLAGS; then
6142 CXXFLAGS=$ac_save_CXXFLAGS
6143 elif test $ac_cv_prog_cxx_g = yes; then
6144 if test "$GXX" = yes; then
6145 CXXFLAGS="-g -O2"
6146 else
6147 CXXFLAGS="-g"
6149 else
6150 if test "$GXX" = yes; then
6151 CXXFLAGS="-O2"
6152 else
6153 CXXFLAGS=
6156 ac_prog_cxx_stdcxx=no
6157 if test x$ac_prog_cxx_stdcxx = xno
6158 then :
6159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
6160 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
6161 if test ${ac_cv_prog_cxx_11+y}
6162 then :
6163 printf %s "(cached) " >&6
6164 else $as_nop
6165 ac_cv_prog_cxx_11=no
6166 ac_save_CXX=$CXX
6167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6168 /* end confdefs.h. */
6169 $ac_cxx_conftest_cxx11_program
6170 _ACEOF
6171 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
6173 CXX="$ac_save_CXX $ac_arg"
6174 if ac_fn_cxx_try_compile "$LINENO"
6175 then :
6176 ac_cv_prog_cxx_cxx11=$ac_arg
6178 rm -f core conftest.err conftest.$ac_objext conftest.beam
6179 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
6180 done
6181 rm -f conftest.$ac_ext
6182 CXX=$ac_save_CXX
6185 if test "x$ac_cv_prog_cxx_cxx11" = xno
6186 then :
6187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6188 printf "%s\n" "unsupported" >&6; }
6189 else $as_nop
6190 if test "x$ac_cv_prog_cxx_cxx11" = x
6191 then :
6192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6193 printf "%s\n" "none needed" >&6; }
6194 else $as_nop
6195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
6196 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
6197 CXX="$CXX $ac_cv_prog_cxx_cxx11"
6199 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
6200 ac_prog_cxx_stdcxx=cxx11
6203 if test x$ac_prog_cxx_stdcxx = xno
6204 then :
6205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
6206 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
6207 if test ${ac_cv_prog_cxx_98+y}
6208 then :
6209 printf %s "(cached) " >&6
6210 else $as_nop
6211 ac_cv_prog_cxx_98=no
6212 ac_save_CXX=$CXX
6213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6214 /* end confdefs.h. */
6215 $ac_cxx_conftest_cxx98_program
6216 _ACEOF
6217 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
6219 CXX="$ac_save_CXX $ac_arg"
6220 if ac_fn_cxx_try_compile "$LINENO"
6221 then :
6222 ac_cv_prog_cxx_cxx98=$ac_arg
6224 rm -f core conftest.err conftest.$ac_objext conftest.beam
6225 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6226 done
6227 rm -f conftest.$ac_ext
6228 CXX=$ac_save_CXX
6231 if test "x$ac_cv_prog_cxx_cxx98" = xno
6232 then :
6233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6234 printf "%s\n" "unsupported" >&6; }
6235 else $as_nop
6236 if test "x$ac_cv_prog_cxx_cxx98" = x
6237 then :
6238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6239 printf "%s\n" "none needed" >&6; }
6240 else $as_nop
6241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6242 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6243 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6245 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6246 ac_prog_cxx_stdcxx=cxx98
6250 ac_ext=c
6251 ac_cpp='$CPP $CPPFLAGS'
6252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6256 if test -n "$ac_tool_prefix"; then
6257 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6258 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6260 printf %s "checking for $ac_word... " >&6; }
6261 if test ${ac_cv_prog_CPPBIN+y}
6262 then :
6263 printf %s "(cached) " >&6
6264 else $as_nop
6265 if test -n "$CPPBIN"; then
6266 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6267 else
6268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6269 for as_dir in $PATH
6271 IFS=$as_save_IFS
6272 case $as_dir in #(((
6273 '') as_dir=./ ;;
6274 */) ;;
6275 *) as_dir=$as_dir/ ;;
6276 esac
6277 for ac_exec_ext in '' $ac_executable_extensions; do
6278 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6279 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6280 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6281 break 2
6283 done
6284 done
6285 IFS=$as_save_IFS
6289 CPPBIN=$ac_cv_prog_CPPBIN
6290 if test -n "$CPPBIN"; then
6291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6292 printf "%s\n" "$CPPBIN" >&6; }
6293 else
6294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6295 printf "%s\n" "no" >&6; }
6300 if test -z "$ac_cv_prog_CPPBIN"; then
6301 ac_ct_CPPBIN=$CPPBIN
6302 # Extract the first word of "cpp", so it can be a program name with args.
6303 set dummy cpp; ac_word=$2
6304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6305 printf %s "checking for $ac_word... " >&6; }
6306 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6307 then :
6308 printf %s "(cached) " >&6
6309 else $as_nop
6310 if test -n "$ac_ct_CPPBIN"; then
6311 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6312 else
6313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6314 for as_dir in $PATH
6316 IFS=$as_save_IFS
6317 case $as_dir in #(((
6318 '') as_dir=./ ;;
6319 */) ;;
6320 *) as_dir=$as_dir/ ;;
6321 esac
6322 for ac_exec_ext in '' $ac_executable_extensions; do
6323 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6324 ac_cv_prog_ac_ct_CPPBIN="cpp"
6325 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6326 break 2
6328 done
6329 done
6330 IFS=$as_save_IFS
6334 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6335 if test -n "$ac_ct_CPPBIN"; then
6336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6337 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6338 else
6339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6340 printf "%s\n" "no" >&6; }
6343 if test "x$ac_ct_CPPBIN" = x; then
6344 CPPBIN="cpp"
6345 else
6346 case $cross_compiling:$ac_tool_warned in
6347 yes:)
6348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6349 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6350 ac_tool_warned=yes ;;
6351 esac
6352 CPPBIN=$ac_ct_CPPBIN
6354 else
6355 CPPBIN="$ac_cv_prog_CPPBIN"
6359 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6361 if test -n "$ac_tool_prefix"; then
6362 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6363 set dummy ${ac_tool_prefix}ld; ac_word=$2
6364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6365 printf %s "checking for $ac_word... " >&6; }
6366 if test ${ac_cv_prog_LD+y}
6367 then :
6368 printf %s "(cached) " >&6
6369 else $as_nop
6370 if test -n "$LD"; then
6371 ac_cv_prog_LD="$LD" # Let the user override the test.
6372 else
6373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6374 for as_dir in $PATH
6376 IFS=$as_save_IFS
6377 case $as_dir in #(((
6378 '') as_dir=./ ;;
6379 */) ;;
6380 *) as_dir=$as_dir/ ;;
6381 esac
6382 for ac_exec_ext in '' $ac_executable_extensions; do
6383 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6384 ac_cv_prog_LD="${ac_tool_prefix}ld"
6385 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6386 break 2
6388 done
6389 done
6390 IFS=$as_save_IFS
6394 LD=$ac_cv_prog_LD
6395 if test -n "$LD"; then
6396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6397 printf "%s\n" "$LD" >&6; }
6398 else
6399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6400 printf "%s\n" "no" >&6; }
6405 if test -z "$ac_cv_prog_LD"; then
6406 ac_ct_LD=$LD
6407 # Extract the first word of "ld", so it can be a program name with args.
6408 set dummy ld; ac_word=$2
6409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6410 printf %s "checking for $ac_word... " >&6; }
6411 if test ${ac_cv_prog_ac_ct_LD+y}
6412 then :
6413 printf %s "(cached) " >&6
6414 else $as_nop
6415 if test -n "$ac_ct_LD"; then
6416 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6417 else
6418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6419 for as_dir in $PATH
6421 IFS=$as_save_IFS
6422 case $as_dir in #(((
6423 '') as_dir=./ ;;
6424 */) ;;
6425 *) as_dir=$as_dir/ ;;
6426 esac
6427 for ac_exec_ext in '' $ac_executable_extensions; do
6428 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6429 ac_cv_prog_ac_ct_LD="ld"
6430 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6431 break 2
6433 done
6434 done
6435 IFS=$as_save_IFS
6439 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6440 if test -n "$ac_ct_LD"; then
6441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6442 printf "%s\n" "$ac_ct_LD" >&6; }
6443 else
6444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6445 printf "%s\n" "no" >&6; }
6448 if test "x$ac_ct_LD" = x; then
6449 LD=""
6450 else
6451 case $cross_compiling:$ac_tool_warned in
6452 yes:)
6453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6454 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6455 ac_tool_warned=yes ;;
6456 esac
6457 LD=$ac_ct_LD
6459 else
6460 LD="$ac_cv_prog_LD"
6464 case $host in
6465 *-darwin*)
6466 with_fontconfig=${with_fontconfig:-no}
6468 *-mingw32*|*-cygwin*)
6469 enable_win16=${enable_win16:-no}
6470 with_mingw=${with_mingw:-no}
6472 esac
6475 case $host in
6476 x86_64*|amd64*)
6477 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
6478 then
6479 CC="$CC -m32"
6480 CXX="$CXX -m32"
6482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6483 printf %s "checking whether $CC works... " >&6; }
6484 if test ${wine_cv_cc_m32+y}
6485 then :
6486 printf %s "(cached) " >&6
6487 else $as_nop
6488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6489 /* end confdefs.h. */
6492 main (void)
6496 return 0;
6498 _ACEOF
6499 if ac_fn_c_try_link "$LINENO"
6500 then :
6501 wine_cv_cc_m32=yes
6502 else $as_nop
6503 wine_cv_cc_m32=no
6505 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6506 conftest$ac_exeext conftest.$ac_ext
6508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6509 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6510 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
6511 host_cpu="i386"
6512 notice_platform="32-bit "
6513 TARGETFLAGS="$TARGETFLAGS -m32"
6514 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6515 export PKG_CONFIG_PATH
6516 enable_win16=${enable_win16:-yes}
6517 with_unwind=${with_unwind:-no}
6518 else
6519 if test "x${GCC}" = "xyes"
6520 then
6521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6522 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6523 if test ${wine_cv_builtin_ms_va_list+y}
6524 then :
6525 printf %s "(cached) " >&6
6526 else $as_nop
6527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6528 /* end confdefs.h. */
6529 #include <stdarg.h>
6531 main (void)
6533 void func(__builtin_ms_va_list *args);
6535 return 0;
6537 _ACEOF
6538 if ac_fn_c_try_compile "$LINENO"
6539 then :
6540 wine_cv_builtin_ms_va_list=yes
6541 else $as_nop
6542 wine_cv_builtin_ms_va_list=no
6544 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6547 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6548 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
6550 CC="$CC -m64"
6551 CXX="$CXX -m64"
6552 host_cpu="x86_64"
6553 notice_platform="64-bit "
6554 TARGETFLAGS="$TARGETFLAGS -m64"
6555 enable_wow64=${enable_wow64:-yes}
6556 enable_wow64win=${enable_wow64win:-yes}
6557 enable_wow64cpu=${enable_wow64cpu:-yes}
6560 arm*)
6561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6562 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6563 if test ${wine_cv_thumb2+y}
6564 then :
6565 printf %s "(cached) " >&6
6566 else $as_nop
6567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6568 /* end confdefs.h. */
6571 main (void)
6573 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6575 return 0;
6577 _ACEOF
6578 if ac_fn_c_try_link "$LINENO"
6579 then :
6580 wine_cv_thumb2=yes
6581 else $as_nop
6582 wine_cv_thumb2=no
6584 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6585 conftest$ac_exeext conftest.$ac_ext
6587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6588 printf "%s\n" "$wine_cv_thumb2" >&6; }
6589 if test x"$wine_cv_thumb2" = xyes
6590 then
6591 CFLAGS="$CFLAGS -mthumb"
6592 TARGETFLAGS="$TARGETFLAGS -mthumb"
6593 else
6594 CFLAGS="$CFLAGS -marm"
6595 TARGETFLAGS="$TARGETFLAGS -marm"
6597 case $with_float_abi in
6598 soft|softfp|hard)
6599 float_abi=$with_float_abi ;;
6601 case $host_os in
6602 *eabihf)
6603 float_abi=hard ;;
6605 float_abi=softfp
6606 saved_CFLAGS=$CFLAGS
6607 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6609 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6610 if test ${wine_cv_float_abi+y}
6611 then :
6612 printf %s "(cached) " >&6
6613 else $as_nop
6614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6615 /* end confdefs.h. */
6618 main (void)
6620 asm("vmrs r2,fpscr");
6622 return 0;
6624 _ACEOF
6625 if ac_fn_c_try_link "$LINENO"
6626 then :
6627 wine_cv_float_abi=yes
6628 else $as_nop
6629 wine_cv_float_abi=no
6631 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6632 conftest$ac_exeext conftest.$ac_ext
6634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6635 printf "%s\n" "$wine_cv_float_abi" >&6; }
6636 if test $wine_cv_float_abi = no
6637 then
6638 float_abi=soft
6639 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6641 CFLAGS=$saved_CFLAGS
6642 esac
6644 esac
6645 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6646 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6648 aarch64*)
6649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6650 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6651 if test ${wine_cv_builtin_ms_va_list+y}
6652 then :
6653 printf %s "(cached) " >&6
6654 else $as_nop
6655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6656 /* end confdefs.h. */
6657 #include <stdarg.h>
6659 main (void)
6661 void func(__builtin_ms_va_list *args);
6663 return 0;
6665 _ACEOF
6666 if ac_fn_c_try_compile "$LINENO"
6667 then :
6668 wine_cv_builtin_ms_va_list=yes
6669 else $as_nop
6670 wine_cv_builtin_ms_va_list=no
6672 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6675 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6676 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
6677 enable_wow64=${enable_wow64:-yes}
6678 enable_wow64win=${enable_wow64win:-yes}
6680 i[3456789]86*)
6681 enable_win16=${enable_win16:-yes}
6682 with_unwind=${with_unwind:-no}
6684 esac
6686 enable_win16=${enable_win16:-no}
6687 enable_win64=${enable_win64:-no}
6688 enable_wow64=${enable_wow64:-no}
6689 enable_wow64win=${enable_wow64win:-no}
6690 enable_wow64cpu=${enable_wow64cpu:-no}
6692 enable_winetest=${enable_winetest:-$enable_tests}
6694 if test "x$enable_win64" = "xyes"
6695 then
6696 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6697 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6700 case $build_os in
6701 cygwin*|mingw32*) toolsext=".exe"
6703 *) toolsext=""
6705 esac
6707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6708 printf %s "checking for the directory containing the Wine tools... " >&6; }
6709 if test ${wine_cv_toolsdir+y}
6710 then :
6711 printf %s "(cached) " >&6
6712 else $as_nop
6713 wine_cv_toolsdir="$with_wine_tools"
6714 if test -z "$with_wine_tools"; then
6715 if test "$cross_compiling" = "yes"; then
6716 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6717 elif test -n "$with_wine64"; then
6718 wine_cv_toolsdir="$with_wine64"
6722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6723 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6724 if test -z "$wine_cv_toolsdir"; then
6725 wine_makedep=tools/makedep$toolsext
6726 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6727 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6728 enable_tools=${enable_tools:-no}
6729 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6730 else
6731 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6733 toolsdir=$wine_cv_toolsdir
6735 MAKEDEP=$wine_makedep
6737 RUNTESTFLAGS="-q -P wine"
6739 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'"
6741 api_manext=3w
6744 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6745 then
6746 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6749 for ac_prog in flex
6751 # Extract the first word of "$ac_prog", so it can be a program name with args.
6752 set dummy $ac_prog; ac_word=$2
6753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6754 printf %s "checking for $ac_word... " >&6; }
6755 if test ${ac_cv_prog_FLEX+y}
6756 then :
6757 printf %s "(cached) " >&6
6758 else $as_nop
6759 if test -n "$FLEX"; then
6760 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6761 else
6762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6763 for as_dir in $PATH
6765 IFS=$as_save_IFS
6766 case $as_dir in #(((
6767 '') as_dir=./ ;;
6768 */) ;;
6769 *) as_dir=$as_dir/ ;;
6770 esac
6771 for ac_exec_ext in '' $ac_executable_extensions; do
6772 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6773 ac_cv_prog_FLEX="$ac_prog"
6774 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6775 break 2
6777 done
6778 done
6779 IFS=$as_save_IFS
6783 FLEX=$ac_cv_prog_FLEX
6784 if test -n "$FLEX"; then
6785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6786 printf "%s\n" "$FLEX" >&6; }
6787 else
6788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6789 printf "%s\n" "no" >&6; }
6793 test -n "$FLEX" && break
6794 done
6795 test -n "$FLEX" || FLEX="none"
6797 if test "$FLEX" = "none"
6798 then
6799 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6802 printf %s "checking whether flex is recent enough... " >&6; }
6803 if test ${wine_cv_recent_flex+y}
6804 then :
6805 printf %s "(cached) " >&6
6806 else $as_nop
6807 cat >conftest.l <<EOF
6808 %top{
6809 #include "prediluvian.h"
6813 if $FLEX -t conftest.l >/dev/null 2>&5
6814 then
6815 wine_cv_recent_flex=yes
6816 else
6817 wine_cv_recent_flex=no
6820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6821 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6822 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
6824 for ac_prog in bison
6826 # Extract the first word of "$ac_prog", so it can be a program name with args.
6827 set dummy $ac_prog; ac_word=$2
6828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6829 printf %s "checking for $ac_word... " >&6; }
6830 if test ${ac_cv_prog_BISON+y}
6831 then :
6832 printf %s "(cached) " >&6
6833 else $as_nop
6834 if test -n "$BISON"; then
6835 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6836 else
6837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6838 for as_dir in $PATH
6840 IFS=$as_save_IFS
6841 case $as_dir in #(((
6842 '') as_dir=./ ;;
6843 */) ;;
6844 *) as_dir=$as_dir/ ;;
6845 esac
6846 for ac_exec_ext in '' $ac_executable_extensions; do
6847 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6848 ac_cv_prog_BISON="$ac_prog"
6849 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6850 break 2
6852 done
6853 done
6854 IFS=$as_save_IFS
6858 BISON=$ac_cv_prog_BISON
6859 if test -n "$BISON"; then
6860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6861 printf "%s\n" "$BISON" >&6; }
6862 else
6863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6864 printf "%s\n" "no" >&6; }
6868 test -n "$BISON" && break
6869 done
6870 test -n "$BISON" || BISON="none"
6872 if test "$BISON" = "none"
6873 then
6874 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6877 printf %s "checking whether bison is recent enough... " >&6; }
6878 if test ${wine_cv_recent_bison+y}
6879 then :
6880 printf %s "(cached) " >&6
6881 else $as_nop
6882 cat >conftest.y <<EOF
6883 %define parse.error verbose
6885 empty: ;
6887 if $BISON conftest.y >/dev/null 2>&5
6888 then
6889 wine_cv_recent_bison=yes
6890 else
6891 wine_cv_recent_bison=no
6894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6895 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6896 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
6898 if test -n "$ac_tool_prefix"; then
6899 for ac_prog in ar gar
6901 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6902 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6904 printf %s "checking for $ac_word... " >&6; }
6905 if test ${ac_cv_prog_AR+y}
6906 then :
6907 printf %s "(cached) " >&6
6908 else $as_nop
6909 if test -n "$AR"; then
6910 ac_cv_prog_AR="$AR" # Let the user override the test.
6911 else
6912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6913 for as_dir in $PATH
6915 IFS=$as_save_IFS
6916 case $as_dir in #(((
6917 '') as_dir=./ ;;
6918 */) ;;
6919 *) as_dir=$as_dir/ ;;
6920 esac
6921 for ac_exec_ext in '' $ac_executable_extensions; do
6922 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6923 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6924 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6925 break 2
6927 done
6928 done
6929 IFS=$as_save_IFS
6933 AR=$ac_cv_prog_AR
6934 if test -n "$AR"; then
6935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6936 printf "%s\n" "$AR" >&6; }
6937 else
6938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6939 printf "%s\n" "no" >&6; }
6943 test -n "$AR" && break
6944 done
6946 if test -z "$AR"; then
6947 ac_ct_AR=$AR
6948 for ac_prog in ar gar
6950 # Extract the first word of "$ac_prog", so it can be a program name with args.
6951 set dummy $ac_prog; ac_word=$2
6952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6953 printf %s "checking for $ac_word... " >&6; }
6954 if test ${ac_cv_prog_ac_ct_AR+y}
6955 then :
6956 printf %s "(cached) " >&6
6957 else $as_nop
6958 if test -n "$ac_ct_AR"; then
6959 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6960 else
6961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6962 for as_dir in $PATH
6964 IFS=$as_save_IFS
6965 case $as_dir in #(((
6966 '') as_dir=./ ;;
6967 */) ;;
6968 *) as_dir=$as_dir/ ;;
6969 esac
6970 for ac_exec_ext in '' $ac_executable_extensions; do
6971 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6972 ac_cv_prog_ac_ct_AR="$ac_prog"
6973 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6974 break 2
6976 done
6977 done
6978 IFS=$as_save_IFS
6982 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6983 if test -n "$ac_ct_AR"; then
6984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6985 printf "%s\n" "$ac_ct_AR" >&6; }
6986 else
6987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6988 printf "%s\n" "no" >&6; }
6992 test -n "$ac_ct_AR" && break
6993 done
6995 if test "x$ac_ct_AR" = x; then
6996 AR="ar"
6997 else
6998 case $cross_compiling:$ac_tool_warned in
6999 yes:)
7000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7001 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7002 ac_tool_warned=yes ;;
7003 esac
7004 AR=$ac_ct_AR
7008 if test -n "$ac_tool_prefix"; then
7009 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7010 set dummy ${ac_tool_prefix}strip; ac_word=$2
7011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7012 printf %s "checking for $ac_word... " >&6; }
7013 if test ${ac_cv_prog_STRIP+y}
7014 then :
7015 printf %s "(cached) " >&6
7016 else $as_nop
7017 if test -n "$STRIP"; then
7018 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7019 else
7020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7021 for as_dir in $PATH
7023 IFS=$as_save_IFS
7024 case $as_dir in #(((
7025 '') as_dir=./ ;;
7026 */) ;;
7027 *) as_dir=$as_dir/ ;;
7028 esac
7029 for ac_exec_ext in '' $ac_executable_extensions; do
7030 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7031 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7032 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7033 break 2
7035 done
7036 done
7037 IFS=$as_save_IFS
7041 STRIP=$ac_cv_prog_STRIP
7042 if test -n "$STRIP"; then
7043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7044 printf "%s\n" "$STRIP" >&6; }
7045 else
7046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7047 printf "%s\n" "no" >&6; }
7052 if test -z "$ac_cv_prog_STRIP"; then
7053 ac_ct_STRIP=$STRIP
7054 # Extract the first word of "strip", so it can be a program name with args.
7055 set dummy strip; ac_word=$2
7056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7057 printf %s "checking for $ac_word... " >&6; }
7058 if test ${ac_cv_prog_ac_ct_STRIP+y}
7059 then :
7060 printf %s "(cached) " >&6
7061 else $as_nop
7062 if test -n "$ac_ct_STRIP"; then
7063 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7064 else
7065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7066 for as_dir in $PATH
7068 IFS=$as_save_IFS
7069 case $as_dir in #(((
7070 '') as_dir=./ ;;
7071 */) ;;
7072 *) as_dir=$as_dir/ ;;
7073 esac
7074 for ac_exec_ext in '' $ac_executable_extensions; do
7075 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7076 ac_cv_prog_ac_ct_STRIP="strip"
7077 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7078 break 2
7080 done
7081 done
7082 IFS=$as_save_IFS
7086 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7087 if test -n "$ac_ct_STRIP"; then
7088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7089 printf "%s\n" "$ac_ct_STRIP" >&6; }
7090 else
7091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7092 printf "%s\n" "no" >&6; }
7095 if test "x$ac_ct_STRIP" = x; then
7096 STRIP="strip"
7097 else
7098 case $cross_compiling:$ac_tool_warned in
7099 yes:)
7100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7101 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7102 ac_tool_warned=yes ;;
7103 esac
7104 STRIP=$ac_ct_STRIP
7106 else
7107 STRIP="$ac_cv_prog_STRIP"
7110 if test -n "$ac_tool_prefix"; then
7111 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7112 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7114 printf %s "checking for $ac_word... " >&6; }
7115 if test ${ac_cv_prog_RANLIB+y}
7116 then :
7117 printf %s "(cached) " >&6
7118 else $as_nop
7119 if test -n "$RANLIB"; then
7120 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7121 else
7122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7123 for as_dir in $PATH
7125 IFS=$as_save_IFS
7126 case $as_dir in #(((
7127 '') as_dir=./ ;;
7128 */) ;;
7129 *) as_dir=$as_dir/ ;;
7130 esac
7131 for ac_exec_ext in '' $ac_executable_extensions; do
7132 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7133 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7134 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7135 break 2
7137 done
7138 done
7139 IFS=$as_save_IFS
7143 RANLIB=$ac_cv_prog_RANLIB
7144 if test -n "$RANLIB"; then
7145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7146 printf "%s\n" "$RANLIB" >&6; }
7147 else
7148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7149 printf "%s\n" "no" >&6; }
7154 if test -z "$ac_cv_prog_RANLIB"; then
7155 ac_ct_RANLIB=$RANLIB
7156 # Extract the first word of "ranlib", so it can be a program name with args.
7157 set dummy ranlib; ac_word=$2
7158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7159 printf %s "checking for $ac_word... " >&6; }
7160 if test ${ac_cv_prog_ac_ct_RANLIB+y}
7161 then :
7162 printf %s "(cached) " >&6
7163 else $as_nop
7164 if test -n "$ac_ct_RANLIB"; then
7165 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7166 else
7167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7168 for as_dir in $PATH
7170 IFS=$as_save_IFS
7171 case $as_dir in #(((
7172 '') as_dir=./ ;;
7173 */) ;;
7174 *) as_dir=$as_dir/ ;;
7175 esac
7176 for ac_exec_ext in '' $ac_executable_extensions; do
7177 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7178 ac_cv_prog_ac_ct_RANLIB="ranlib"
7179 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7180 break 2
7182 done
7183 done
7184 IFS=$as_save_IFS
7188 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7189 if test -n "$ac_ct_RANLIB"; then
7190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7191 printf "%s\n" "$ac_ct_RANLIB" >&6; }
7192 else
7193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7194 printf "%s\n" "no" >&6; }
7197 if test "x$ac_ct_RANLIB" = x; then
7198 RANLIB=":"
7199 else
7200 case $cross_compiling:$ac_tool_warned in
7201 yes:)
7202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7203 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7204 ac_tool_warned=yes ;;
7205 esac
7206 RANLIB=$ac_ct_RANLIB
7208 else
7209 RANLIB="$ac_cv_prog_RANLIB"
7212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7213 printf %s "checking whether ln -s works... " >&6; }
7214 LN_S=$as_ln_s
7215 if test "$LN_S" = "ln -s"; then
7216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7217 printf "%s\n" "yes" >&6; }
7218 else
7219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7220 printf "%s\n" "no, using $LN_S" >&6; }
7223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7224 printf %s "checking for grep that handles long lines and -e... " >&6; }
7225 if test ${ac_cv_path_GREP+y}
7226 then :
7227 printf %s "(cached) " >&6
7228 else $as_nop
7229 if test -z "$GREP"; then
7230 ac_path_GREP_found=false
7231 # Loop through the user's path and test for each of PROGNAME-LIST
7232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7233 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7235 IFS=$as_save_IFS
7236 case $as_dir in #(((
7237 '') as_dir=./ ;;
7238 */) ;;
7239 *) as_dir=$as_dir/ ;;
7240 esac
7241 for ac_prog in grep ggrep
7243 for ac_exec_ext in '' $ac_executable_extensions; do
7244 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
7245 as_fn_executable_p "$ac_path_GREP" || continue
7246 # Check for GNU ac_path_GREP and select it if it is found.
7247 # Check for GNU $ac_path_GREP
7248 case `"$ac_path_GREP" --version 2>&1` in
7249 *GNU*)
7250 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7252 ac_count=0
7253 printf %s 0123456789 >"conftest.in"
7254 while :
7256 cat "conftest.in" "conftest.in" >"conftest.tmp"
7257 mv "conftest.tmp" "conftest.in"
7258 cp "conftest.in" "conftest.nl"
7259 printf "%s\n" 'GREP' >> "conftest.nl"
7260 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7261 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7262 as_fn_arith $ac_count + 1 && ac_count=$as_val
7263 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7264 # Best one so far, save it but keep looking for a better one
7265 ac_cv_path_GREP="$ac_path_GREP"
7266 ac_path_GREP_max=$ac_count
7268 # 10*(2^10) chars as input seems more than enough
7269 test $ac_count -gt 10 && break
7270 done
7271 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7272 esac
7274 $ac_path_GREP_found && break 3
7275 done
7276 done
7277 done
7278 IFS=$as_save_IFS
7279 if test -z "$ac_cv_path_GREP"; then
7280 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7282 else
7283 ac_cv_path_GREP=$GREP
7287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7288 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7289 GREP="$ac_cv_path_GREP"
7292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7293 printf %s "checking for egrep... " >&6; }
7294 if test ${ac_cv_path_EGREP+y}
7295 then :
7296 printf %s "(cached) " >&6
7297 else $as_nop
7298 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7299 then ac_cv_path_EGREP="$GREP -E"
7300 else
7301 if test -z "$EGREP"; then
7302 ac_path_EGREP_found=false
7303 # Loop through the user's path and test for each of PROGNAME-LIST
7304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7305 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7307 IFS=$as_save_IFS
7308 case $as_dir in #(((
7309 '') as_dir=./ ;;
7310 */) ;;
7311 *) as_dir=$as_dir/ ;;
7312 esac
7313 for ac_prog in egrep
7315 for ac_exec_ext in '' $ac_executable_extensions; do
7316 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7317 as_fn_executable_p "$ac_path_EGREP" || continue
7318 # Check for GNU ac_path_EGREP and select it if it is found.
7319 # Check for GNU $ac_path_EGREP
7320 case `"$ac_path_EGREP" --version 2>&1` in
7321 *GNU*)
7322 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7324 ac_count=0
7325 printf %s 0123456789 >"conftest.in"
7326 while :
7328 cat "conftest.in" "conftest.in" >"conftest.tmp"
7329 mv "conftest.tmp" "conftest.in"
7330 cp "conftest.in" "conftest.nl"
7331 printf "%s\n" 'EGREP' >> "conftest.nl"
7332 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7333 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7334 as_fn_arith $ac_count + 1 && ac_count=$as_val
7335 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7336 # Best one so far, save it but keep looking for a better one
7337 ac_cv_path_EGREP="$ac_path_EGREP"
7338 ac_path_EGREP_max=$ac_count
7340 # 10*(2^10) chars as input seems more than enough
7341 test $ac_count -gt 10 && break
7342 done
7343 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7344 esac
7346 $ac_path_EGREP_found && break 3
7347 done
7348 done
7349 done
7350 IFS=$as_save_IFS
7351 if test -z "$ac_cv_path_EGREP"; then
7352 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7354 else
7355 ac_cv_path_EGREP=$EGREP
7360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7361 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7362 EGREP="$ac_cv_path_EGREP"
7365 # Extract the first word of "ldconfig", so it can be a program name with args.
7366 set dummy ldconfig; ac_word=$2
7367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7368 printf %s "checking for $ac_word... " >&6; }
7369 if test ${ac_cv_path_LDCONFIG+y}
7370 then :
7371 printf %s "(cached) " >&6
7372 else $as_nop
7373 case $LDCONFIG in
7374 [\\/]* | ?:[\\/]*)
7375 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7379 for as_dir in /sbin /usr/sbin $PATH
7381 IFS=$as_save_IFS
7382 case $as_dir in #(((
7383 '') as_dir=./ ;;
7384 */) ;;
7385 *) as_dir=$as_dir/ ;;
7386 esac
7387 for ac_exec_ext in '' $ac_executable_extensions; do
7388 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7389 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7390 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7391 break 2
7393 done
7394 done
7395 IFS=$as_save_IFS
7397 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7399 esac
7401 LDCONFIG=$ac_cv_path_LDCONFIG
7402 if test -n "$LDCONFIG"; then
7403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7404 printf "%s\n" "$LDCONFIG" >&6; }
7405 else
7406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7407 printf "%s\n" "no" >&6; }
7411 for ac_prog in msgfmt
7413 # Extract the first word of "$ac_prog", so it can be a program name with args.
7414 set dummy $ac_prog; ac_word=$2
7415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7416 printf %s "checking for $ac_word... " >&6; }
7417 if test ${ac_cv_prog_MSGFMT+y}
7418 then :
7419 printf %s "(cached) " >&6
7420 else $as_nop
7421 if test -n "$MSGFMT"; then
7422 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7423 else
7424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7425 for as_dir in $PATH
7427 IFS=$as_save_IFS
7428 case $as_dir in #(((
7429 '') as_dir=./ ;;
7430 */) ;;
7431 *) as_dir=$as_dir/ ;;
7432 esac
7433 for ac_exec_ext in '' $ac_executable_extensions; do
7434 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7435 ac_cv_prog_MSGFMT="$ac_prog"
7436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7437 break 2
7439 done
7440 done
7441 IFS=$as_save_IFS
7445 MSGFMT=$ac_cv_prog_MSGFMT
7446 if test -n "$MSGFMT"; then
7447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7448 printf "%s\n" "$MSGFMT" >&6; }
7449 else
7450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7451 printf "%s\n" "no" >&6; }
7455 test -n "$MSGFMT" && break
7456 done
7457 test -n "$MSGFMT" || MSGFMT="false"
7459 if test ${ac_tool_prefix+y}
7460 then :
7461 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7462 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7464 printf %s "checking for $ac_word... " >&6; }
7465 if test ${ac_cv_prog_PKG_CONFIG+y}
7466 then :
7467 printf %s "(cached) " >&6
7468 else $as_nop
7469 if test -n "$PKG_CONFIG"; then
7470 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7471 else
7472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7473 for as_dir in $PATH
7475 IFS=$as_save_IFS
7476 case $as_dir in #(((
7477 '') as_dir=./ ;;
7478 */) ;;
7479 *) as_dir=$as_dir/ ;;
7480 esac
7481 for ac_exec_ext in '' $ac_executable_extensions; do
7482 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7483 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7484 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7485 break 2
7487 done
7488 done
7489 IFS=$as_save_IFS
7493 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7494 if test -n "$PKG_CONFIG"; then
7495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7496 printf "%s\n" "$PKG_CONFIG" >&6; }
7497 else
7498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7499 printf "%s\n" "no" >&6; }
7504 if ${ac_cv_prog_PKG_CONFIG:+false} :
7505 then :
7506 if test "x$cross_compiling" = xyes
7507 then :
7509 else $as_nop
7510 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7511 # Extract the first word of "pkg-config", so it can be a program name with args.
7512 set dummy pkg-config; ac_word=$2
7513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7514 printf %s "checking for $ac_word... " >&6; }
7515 if test ${ac_cv_prog_PKG_CONFIG+y}
7516 then :
7517 printf %s "(cached) " >&6
7518 else $as_nop
7519 if test -n "$PKG_CONFIG"; then
7520 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7521 else
7522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7523 for as_dir in $PATH
7525 IFS=$as_save_IFS
7526 case $as_dir in #(((
7527 '') as_dir=./ ;;
7528 */) ;;
7529 *) as_dir=$as_dir/ ;;
7530 esac
7531 for ac_exec_ext in '' $ac_executable_extensions; do
7532 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7533 ac_cv_prog_PKG_CONFIG="pkg-config"
7534 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7535 break 2
7537 done
7538 done
7539 IFS=$as_save_IFS
7543 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7544 if test -n "$PKG_CONFIG"; then
7545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7546 printf "%s\n" "$PKG_CONFIG" >&6; }
7547 else
7548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7549 printf "%s\n" "no" >&6; }
7554 else $as_nop
7555 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7558 if test "x$enable_maintainer_mode" != "xyes"
7559 then
7560 FONTFORGE=""
7561 RSVG=""
7562 CONVERT=""
7563 ICOTOOL=""
7564 else
7565 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7566 for ac_prog in fontforge
7568 # Extract the first word of "$ac_prog", so it can be a program name with args.
7569 set dummy $ac_prog; ac_word=$2
7570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7571 printf %s "checking for $ac_word... " >&6; }
7572 if test ${ac_cv_prog_FONTFORGE+y}
7573 then :
7574 printf %s "(cached) " >&6
7575 else $as_nop
7576 if test -n "$FONTFORGE"; then
7577 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7578 else
7579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7580 for as_dir in $PATH
7582 IFS=$as_save_IFS
7583 case $as_dir in #(((
7584 '') as_dir=./ ;;
7585 */) ;;
7586 *) as_dir=$as_dir/ ;;
7587 esac
7588 for ac_exec_ext in '' $ac_executable_extensions; do
7589 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7590 ac_cv_prog_FONTFORGE="$ac_prog"
7591 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7592 break 2
7594 done
7595 done
7596 IFS=$as_save_IFS
7600 FONTFORGE=$ac_cv_prog_FONTFORGE
7601 if test -n "$FONTFORGE"; then
7602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7603 printf "%s\n" "$FONTFORGE" >&6; }
7604 else
7605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7606 printf "%s\n" "no" >&6; }
7610 test -n "$FONTFORGE" && break
7611 done
7612 test -n "$FONTFORGE" || FONTFORGE="false"
7614 for ac_prog in rsvg-convert rsvg
7616 # Extract the first word of "$ac_prog", so it can be a program name with args.
7617 set dummy $ac_prog; ac_word=$2
7618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7619 printf %s "checking for $ac_word... " >&6; }
7620 if test ${ac_cv_prog_RSVG+y}
7621 then :
7622 printf %s "(cached) " >&6
7623 else $as_nop
7624 if test -n "$RSVG"; then
7625 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7626 else
7627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7628 for as_dir in $PATH
7630 IFS=$as_save_IFS
7631 case $as_dir in #(((
7632 '') as_dir=./ ;;
7633 */) ;;
7634 *) as_dir=$as_dir/ ;;
7635 esac
7636 for ac_exec_ext in '' $ac_executable_extensions; do
7637 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7638 ac_cv_prog_RSVG="$ac_prog"
7639 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7640 break 2
7642 done
7643 done
7644 IFS=$as_save_IFS
7648 RSVG=$ac_cv_prog_RSVG
7649 if test -n "$RSVG"; then
7650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7651 printf "%s\n" "$RSVG" >&6; }
7652 else
7653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7654 printf "%s\n" "no" >&6; }
7658 test -n "$RSVG" && break
7659 done
7660 test -n "$RSVG" || RSVG="false"
7662 for ac_prog in convert
7664 # Extract the first word of "$ac_prog", so it can be a program name with args.
7665 set dummy $ac_prog; ac_word=$2
7666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7667 printf %s "checking for $ac_word... " >&6; }
7668 if test ${ac_cv_prog_CONVERT+y}
7669 then :
7670 printf %s "(cached) " >&6
7671 else $as_nop
7672 if test -n "$CONVERT"; then
7673 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7674 else
7675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7676 for as_dir in $PATH
7678 IFS=$as_save_IFS
7679 case $as_dir in #(((
7680 '') as_dir=./ ;;
7681 */) ;;
7682 *) as_dir=$as_dir/ ;;
7683 esac
7684 for ac_exec_ext in '' $ac_executable_extensions; do
7685 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7686 ac_cv_prog_CONVERT="$ac_prog"
7687 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7688 break 2
7690 done
7691 done
7692 IFS=$as_save_IFS
7696 CONVERT=$ac_cv_prog_CONVERT
7697 if test -n "$CONVERT"; then
7698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7699 printf "%s\n" "$CONVERT" >&6; }
7700 else
7701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7702 printf "%s\n" "no" >&6; }
7706 test -n "$CONVERT" && break
7707 done
7708 test -n "$CONVERT" || CONVERT="false"
7710 for ac_prog in icotool
7712 # Extract the first word of "$ac_prog", so it can be a program name with args.
7713 set dummy $ac_prog; ac_word=$2
7714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7715 printf %s "checking for $ac_word... " >&6; }
7716 if test ${ac_cv_prog_ICOTOOL+y}
7717 then :
7718 printf %s "(cached) " >&6
7719 else $as_nop
7720 if test -n "$ICOTOOL"; then
7721 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7722 else
7723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7724 for as_dir in $PATH
7726 IFS=$as_save_IFS
7727 case $as_dir in #(((
7728 '') as_dir=./ ;;
7729 */) ;;
7730 *) as_dir=$as_dir/ ;;
7731 esac
7732 for ac_exec_ext in '' $ac_executable_extensions; do
7733 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7734 ac_cv_prog_ICOTOOL="$ac_prog"
7735 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7736 break 2
7738 done
7739 done
7740 IFS=$as_save_IFS
7744 ICOTOOL=$ac_cv_prog_ICOTOOL
7745 if test -n "$ICOTOOL"; then
7746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7747 printf "%s\n" "$ICOTOOL" >&6; }
7748 else
7749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7750 printf "%s\n" "no" >&6; }
7754 test -n "$ICOTOOL" && break
7755 done
7756 test -n "$ICOTOOL" || ICOTOOL="false"
7758 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7759 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7761 if test "$CONVERT" = false
7762 then
7763 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7764 else
7765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7766 printf %s "checking for recent enough imagemagick... " >&6; }
7767 convert_version=`convert --version | head -n1`
7768 if test "x$convert_version" != "x"
7769 then
7770 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7771 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7772 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7773 then
7774 CONVERT=false
7777 if test "$CONVERT" = false
7778 then
7779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7780 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7781 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7782 else
7783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7784 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7788 if test "$ICOTOOL" = false
7789 then
7790 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7791 else
7792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7793 printf %s "checking for recent enough icotool... " >&6; }
7794 icotool_version=`icotool --version | head -n1`
7795 if test "x$icotool_version" != "x"
7796 then
7797 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7798 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7799 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7800 then
7801 ICOTOOL=false
7802 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7805 if test "$ICOTOOL" = false
7806 then
7807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7808 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7809 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7810 else
7811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7812 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7816 with_gettext=yes
7817 with_gettextpo=yes
7819 enable_werror=yes
7822 test "x$with_gettext" != xno || MSGFMT=false
7823 if test "$MSGFMT" != "false"
7824 then
7825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7826 printf %s "checking whether msgfmt supports contexts... " >&6; }
7827 if test ${wine_cv_msgfmt_contexts+y}
7828 then :
7829 printf %s "(cached) " >&6
7830 else $as_nop
7831 cat >conftest.po <<EOF
7832 # comment
7833 msgctxt "ctxt"
7834 msgid "id"
7835 msgstr "str"
7837 if $MSGFMT -o /dev/null conftest.po 2>&5
7838 then
7839 wine_cv_msgfmt_contexts=yes
7840 else
7841 wine_cv_msgfmt_contexts=no
7844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7845 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7846 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7848 if test "$MSGFMT" = false
7849 then :
7850 case "x$with_gettext" in
7851 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7852 xno) ;;
7853 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7854 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7855 esac
7856 enable_po=${enable_po:-no}
7860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7861 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7862 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7863 then :
7864 printf %s "(cached) " >&6
7865 else $as_nop
7866 ac_check_lib_save_LIBS=$LIBS
7867 LIBS="-li386 $LIBS"
7868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7869 /* end confdefs.h. */
7871 /* Override any GCC internal prototype to avoid an error.
7872 Use char because int might match the return type of a GCC
7873 builtin and then its argument prototype would still apply. */
7874 char i386_set_ldt ();
7876 main (void)
7878 return i386_set_ldt ();
7880 return 0;
7882 _ACEOF
7883 if ac_fn_c_try_link "$LINENO"
7884 then :
7885 ac_cv_lib_i386_i386_set_ldt=yes
7886 else $as_nop
7887 ac_cv_lib_i386_i386_set_ldt=no
7889 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7890 conftest$ac_exeext conftest.$ac_ext
7891 LIBS=$ac_check_lib_save_LIBS
7893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7894 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7895 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7896 then :
7897 I386_LIBS="-li386"
7902 OPENGL_LIBS=""
7906 # Check whether --enable-largefile was given.
7907 if test ${enable_largefile+y}
7908 then :
7909 enableval=$enable_largefile;
7912 if test "$enable_largefile" != no; then
7914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7915 printf %s "checking for special C compiler options needed for large files... " >&6; }
7916 if test ${ac_cv_sys_largefile_CC+y}
7917 then :
7918 printf %s "(cached) " >&6
7919 else $as_nop
7920 ac_cv_sys_largefile_CC=no
7921 if test "$GCC" != yes; then
7922 ac_save_CC=$CC
7923 while :; do
7924 # IRIX 6.2 and later do not support large files by default,
7925 # so use the C compiler's -n32 option if that helps.
7926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7927 /* end confdefs.h. */
7928 #include <sys/types.h>
7929 /* Check that off_t can represent 2**63 - 1 correctly.
7930 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7931 since some C++ compilers masquerading as C compilers
7932 incorrectly reject 9223372036854775807. */
7933 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7934 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7935 && LARGE_OFF_T % 2147483647 == 1)
7936 ? 1 : -1];
7938 main (void)
7942 return 0;
7944 _ACEOF
7945 if ac_fn_c_try_compile "$LINENO"
7946 then :
7947 break
7949 rm -f core conftest.err conftest.$ac_objext conftest.beam
7950 CC="$CC -n32"
7951 if ac_fn_c_try_compile "$LINENO"
7952 then :
7953 ac_cv_sys_largefile_CC=' -n32'; break
7955 rm -f core conftest.err conftest.$ac_objext conftest.beam
7956 break
7957 done
7958 CC=$ac_save_CC
7959 rm -f conftest.$ac_ext
7962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7963 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7964 if test "$ac_cv_sys_largefile_CC" != no; then
7965 CC=$CC$ac_cv_sys_largefile_CC
7968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7969 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7970 if test ${ac_cv_sys_file_offset_bits+y}
7971 then :
7972 printf %s "(cached) " >&6
7973 else $as_nop
7974 while :; do
7975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7976 /* end confdefs.h. */
7977 #include <sys/types.h>
7978 /* Check that off_t can represent 2**63 - 1 correctly.
7979 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7980 since some C++ compilers masquerading as C compilers
7981 incorrectly reject 9223372036854775807. */
7982 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7983 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7984 && LARGE_OFF_T % 2147483647 == 1)
7985 ? 1 : -1];
7987 main (void)
7991 return 0;
7993 _ACEOF
7994 if ac_fn_c_try_compile "$LINENO"
7995 then :
7996 ac_cv_sys_file_offset_bits=no; break
7998 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8000 /* end confdefs.h. */
8001 #define _FILE_OFFSET_BITS 64
8002 #include <sys/types.h>
8003 /* Check that off_t can represent 2**63 - 1 correctly.
8004 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8005 since some C++ compilers masquerading as C compilers
8006 incorrectly reject 9223372036854775807. */
8007 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8008 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8009 && LARGE_OFF_T % 2147483647 == 1)
8010 ? 1 : -1];
8012 main (void)
8016 return 0;
8018 _ACEOF
8019 if ac_fn_c_try_compile "$LINENO"
8020 then :
8021 ac_cv_sys_file_offset_bits=64; break
8023 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8024 ac_cv_sys_file_offset_bits=unknown
8025 break
8026 done
8028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
8029 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
8030 case $ac_cv_sys_file_offset_bits in #(
8031 no | unknown) ;;
8033 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
8035 esac
8036 rm -rf conftest*
8037 if test $ac_cv_sys_file_offset_bits = unknown; then
8038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
8039 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
8040 if test ${ac_cv_sys_large_files+y}
8041 then :
8042 printf %s "(cached) " >&6
8043 else $as_nop
8044 while :; do
8045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8046 /* end confdefs.h. */
8047 #include <sys/types.h>
8048 /* Check that off_t can represent 2**63 - 1 correctly.
8049 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8050 since some C++ compilers masquerading as C compilers
8051 incorrectly reject 9223372036854775807. */
8052 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8053 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8054 && LARGE_OFF_T % 2147483647 == 1)
8055 ? 1 : -1];
8057 main (void)
8061 return 0;
8063 _ACEOF
8064 if ac_fn_c_try_compile "$LINENO"
8065 then :
8066 ac_cv_sys_large_files=no; break
8068 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8070 /* end confdefs.h. */
8071 #define _LARGE_FILES 1
8072 #include <sys/types.h>
8073 /* Check that off_t can represent 2**63 - 1 correctly.
8074 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8075 since some C++ compilers masquerading as C compilers
8076 incorrectly reject 9223372036854775807. */
8077 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8078 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8079 && LARGE_OFF_T % 2147483647 == 1)
8080 ? 1 : -1];
8082 main (void)
8086 return 0;
8088 _ACEOF
8089 if ac_fn_c_try_compile "$LINENO"
8090 then :
8091 ac_cv_sys_large_files=1; break
8093 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8094 ac_cv_sys_large_files=unknown
8095 break
8096 done
8098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
8099 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
8100 case $ac_cv_sys_large_files in #(
8101 no | unknown) ;;
8103 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
8105 esac
8106 rm -rf conftest*
8111 ac_header= ac_cache=
8112 for ac_item in $ac_header_c_list
8114 if test $ac_cache; then
8115 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
8116 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
8117 printf "%s\n" "#define $ac_item 1" >> confdefs.h
8119 ac_header= ac_cache=
8120 elif test $ac_header; then
8121 ac_cache=$ac_item
8122 else
8123 ac_header=$ac_item
8125 done
8134 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
8135 then :
8137 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
8140 ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
8141 if test "x$ac_cv_header_AL_al_h" = xyes
8142 then :
8143 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
8146 ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
8147 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
8148 then :
8149 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
8152 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
8153 if test "x$ac_cv_header_CL_cl_h" = xyes
8154 then :
8155 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
8158 ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
8159 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
8160 then :
8161 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
8164 ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
8165 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
8166 then :
8167 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
8170 ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
8171 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
8172 then :
8173 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
8176 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
8177 if test "x$ac_cv_header_EGL_egl_h" = xyes
8178 then :
8179 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
8182 ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
8183 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
8184 then :
8185 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
8188 ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
8189 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
8190 then :
8191 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
8194 ac_fn_c_check_header_compile "$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
8195 if test "x$ac_cv_header_OpenAL_al_h" = xyes
8196 then :
8197 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
8200 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
8201 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
8202 then :
8203 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
8206 ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
8207 if test "x$ac_cv_header_Security_Security_h" = xyes
8208 then :
8209 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
8212 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
8213 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
8214 then :
8215 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
8218 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
8219 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
8220 then :
8221 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
8224 ac_fn_c_check_header_compile "$LINENO" "alias.h" "ac_cv_header_alias_h" "$ac_includes_default"
8225 if test "x$ac_cv_header_alias_h" = xyes
8226 then :
8227 printf "%s\n" "#define HAVE_ALIAS_H 1" >>confdefs.h
8230 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
8231 if test "x$ac_cv_header_arpa_inet_h" = xyes
8232 then :
8233 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
8236 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
8237 if test "x$ac_cv_header_arpa_nameser_h" = xyes
8238 then :
8239 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
8242 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
8243 if test "x$ac_cv_header_asm_types_h" = xyes
8244 then :
8245 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
8248 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
8249 if test "x$ac_cv_header_asm_user_h" = xyes
8250 then :
8251 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
8254 ac_fn_c_check_header_compile "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
8255 if test "x$ac_cv_header_dirent_h" = xyes
8256 then :
8257 printf "%s\n" "#define HAVE_DIRENT_H 1" >>confdefs.h
8260 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
8261 if test "x$ac_cv_header_elf_h" = xyes
8262 then :
8263 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
8266 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
8267 if test "x$ac_cv_header_float_h" = xyes
8268 then :
8269 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
8272 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
8273 if test "x$ac_cv_header_gettext_po_h" = xyes
8274 then :
8275 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
8278 ac_fn_c_check_header_compile "$LINENO" "ieeefp.h" "ac_cv_header_ieeefp_h" "$ac_includes_default"
8279 if test "x$ac_cv_header_ieeefp_h" = xyes
8280 then :
8281 printf "%s\n" "#define HAVE_IEEEFP_H 1" >>confdefs.h
8284 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
8285 if test "x$ac_cv_header_libproc_h" = xyes
8286 then :
8287 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
8290 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
8291 if test "x$ac_cv_header_link_h" = xyes
8292 then :
8293 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
8296 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
8297 if test "x$ac_cv_header_linux_cdrom_h" = xyes
8298 then :
8299 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
8302 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
8303 if test "x$ac_cv_header_linux_filter_h" = xyes
8304 then :
8305 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
8308 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
8309 if test "x$ac_cv_header_linux_hdreg_h" = xyes
8310 then :
8311 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
8314 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
8315 if test "x$ac_cv_header_linux_hidraw_h" = xyes
8316 then :
8317 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
8320 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
8321 if test "x$ac_cv_header_linux_input_h" = xyes
8322 then :
8323 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
8326 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
8327 if test "x$ac_cv_header_linux_ioctl_h" = xyes
8328 then :
8329 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
8332 ac_fn_c_check_header_compile "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default"
8333 if test "x$ac_cv_header_linux_joystick_h" = xyes
8334 then :
8335 printf "%s\n" "#define HAVE_LINUX_JOYSTICK_H 1" >>confdefs.h
8338 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
8339 if test "x$ac_cv_header_linux_major_h" = xyes
8340 then :
8341 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
8344 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8345 if test "x$ac_cv_header_linux_param_h" = xyes
8346 then :
8347 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8350 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8351 if test "x$ac_cv_header_linux_serial_h" = xyes
8352 then :
8353 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8356 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8357 if test "x$ac_cv_header_linux_types_h" = xyes
8358 then :
8359 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8362 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8363 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8364 then :
8365 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8368 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8369 if test "x$ac_cv_header_lwp_h" = xyes
8370 then :
8371 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8374 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8375 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8376 then :
8377 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8380 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8381 if test "x$ac_cv_header_mach_mach_h" = xyes
8382 then :
8383 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8386 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8387 if test "x$ac_cv_header_machine_cpu_h" = xyes
8388 then :
8389 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8392 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8393 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8394 then :
8395 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8398 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8399 if test "x$ac_cv_header_mntent_h" = xyes
8400 then :
8401 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8404 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8405 if test "x$ac_cv_header_netdb_h" = xyes
8406 then :
8407 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8410 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8411 if test "x$ac_cv_header_netinet_in_h" = xyes
8412 then :
8413 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8416 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8417 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8418 then :
8419 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8422 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8423 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8424 then :
8425 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8428 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8429 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8430 then :
8431 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8434 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8435 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8436 then :
8437 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8440 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8441 if test "x$ac_cv_header_port_h" = xyes
8442 then :
8443 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8446 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8447 if test "x$ac_cv_header_pthread_h" = xyes
8448 then :
8449 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8452 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8453 if test "x$ac_cv_header_pwd_h" = xyes
8454 then :
8455 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8458 ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8459 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8460 then :
8461 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8464 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8465 if test "x$ac_cv_header_sched_h" = xyes
8466 then :
8467 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8470 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8471 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8472 then :
8473 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8476 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8477 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8478 then :
8479 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8482 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8483 if test "x$ac_cv_header_scsi_sg_h" = xyes
8484 then :
8485 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8488 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8489 if test "x$ac_cv_header_stdint_h" = xyes
8490 then :
8491 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8494 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8495 if test "x$ac_cv_header_sys_attr_h" = xyes
8496 then :
8497 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8500 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8501 if test "x$ac_cv_header_sys_auxv_h" = xyes
8502 then :
8503 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8506 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8507 if test "x$ac_cv_header_sys_cdio_h" = xyes
8508 then :
8509 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8512 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8513 if test "x$ac_cv_header_sys_epoll_h" = xyes
8514 then :
8515 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8518 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8519 if test "x$ac_cv_header_sys_event_h" = xyes
8520 then :
8521 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8524 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8525 if test "x$ac_cv_header_sys_filio_h" = xyes
8526 then :
8527 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8530 ac_fn_c_check_header_compile "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
8531 if test "x$ac_cv_header_sys_ioctl_h" = xyes
8532 then :
8533 printf "%s\n" "#define HAVE_SYS_IOCTL_H 1" >>confdefs.h
8536 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8537 if test "x$ac_cv_header_sys_ipc_h" = xyes
8538 then :
8539 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8542 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8543 if test "x$ac_cv_header_sys_link_h" = xyes
8544 then :
8545 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8548 ac_fn_c_check_header_compile "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
8549 if test "x$ac_cv_header_sys_mman_h" = xyes
8550 then :
8551 printf "%s\n" "#define HAVE_SYS_MMAN_H 1" >>confdefs.h
8554 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8555 if test "x$ac_cv_header_sys_modem_h" = xyes
8556 then :
8557 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8560 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8561 if test "x$ac_cv_header_sys_mtio_h" = xyes
8562 then :
8563 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8566 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8567 if test "x$ac_cv_header_sys_param_h" = xyes
8568 then :
8569 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8572 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8573 if test "x$ac_cv_header_sys_prctl_h" = xyes
8574 then :
8575 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8578 ac_fn_c_check_header_compile "$LINENO" "sys/protosw.h" "ac_cv_header_sys_protosw_h" "$ac_includes_default"
8579 if test "x$ac_cv_header_sys_protosw_h" = xyes
8580 then :
8581 printf "%s\n" "#define HAVE_SYS_PROTOSW_H 1" >>confdefs.h
8584 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8585 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8586 then :
8587 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8590 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8591 if test "x$ac_cv_header_sys_queue_h" = xyes
8592 then :
8593 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8596 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8597 if test "x$ac_cv_header_sys_random_h" = xyes
8598 then :
8599 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8602 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8603 if test "x$ac_cv_header_sys_resource_h" = xyes
8604 then :
8605 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8608 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8609 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8610 then :
8611 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8614 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8615 if test "x$ac_cv_header_sys_shm_h" = xyes
8616 then :
8617 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8620 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8621 if test "x$ac_cv_header_sys_signal_h" = xyes
8622 then :
8623 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8626 ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
8627 if test "x$ac_cv_header_sys_socket_h" = xyes
8628 then :
8629 printf "%s\n" "#define HAVE_SYS_SOCKET_H 1" >>confdefs.h
8632 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8633 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8634 then :
8635 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8638 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8639 if test "x$ac_cv_header_sys_sockio_h" = xyes
8640 then :
8641 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8644 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8645 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8646 then :
8647 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8650 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8651 if test "x$ac_cv_header_sys_strtio_h" = xyes
8652 then :
8653 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8656 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8657 if test "x$ac_cv_header_sys_syscall_h" = xyes
8658 then :
8659 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8662 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8663 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8664 then :
8665 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8668 ac_fn_c_check_header_compile "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
8669 if test "x$ac_cv_header_sys_time_h" = xyes
8670 then :
8671 printf "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h
8674 ac_fn_c_check_header_compile "$LINENO" "sys/timeout.h" "ac_cv_header_sys_timeout_h" "$ac_includes_default"
8675 if test "x$ac_cv_header_sys_timeout_h" = xyes
8676 then :
8677 printf "%s\n" "#define HAVE_SYS_TIMEOUT_H 1" >>confdefs.h
8680 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8681 if test "x$ac_cv_header_sys_times_h" = xyes
8682 then :
8683 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8686 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8687 if test "x$ac_cv_header_sys_uio_h" = xyes
8688 then :
8689 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8692 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8693 if test "x$ac_cv_header_sys_user_h" = xyes
8694 then :
8695 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8698 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8699 if test "x$ac_cv_header_sys_utsname_h" = xyes
8700 then :
8701 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8704 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8705 if test "x$ac_cv_header_sys_vnode_h" = xyes
8706 then :
8707 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8710 ac_fn_c_check_header_compile "$LINENO" "sys/wait.h" "ac_cv_header_sys_wait_h" "$ac_includes_default"
8711 if test "x$ac_cv_header_sys_wait_h" = xyes
8712 then :
8713 printf "%s\n" "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
8716 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8717 if test "x$ac_cv_header_syscall_h" = xyes
8718 then :
8719 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8722 ac_fn_c_check_header_compile "$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
8723 if test "x$ac_cv_header_termios_h" = xyes
8724 then :
8725 printf "%s\n" "#define HAVE_TERMIOS_H 1" >>confdefs.h
8728 ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
8729 if test "x$ac_cv_header_unistd_h" = xyes
8730 then :
8731 printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
8734 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8735 if test "x$ac_cv_header_utime_h" = xyes
8736 then :
8737 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8740 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8741 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8742 then :
8743 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8746 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8747 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8748 then :
8749 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8753 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8754 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8755 then :
8757 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8761 if test $ac_cv_header_sys_mkdev_h = no; then
8762 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8763 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8764 then :
8766 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8772 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8773 if test ${ac_cv_header_stat_broken+y}
8774 then :
8775 printf %s "(cached) " >&6
8776 else $as_nop
8777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8778 /* end confdefs.h. */
8779 #include <sys/types.h>
8780 #include <sys/stat.h>
8782 #if defined S_ISBLK && defined S_IFDIR
8783 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8784 #endif
8786 #if defined S_ISBLK && defined S_IFCHR
8787 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8788 #endif
8790 #if defined S_ISLNK && defined S_IFREG
8791 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8792 #endif
8794 #if defined S_ISSOCK && defined S_IFREG
8795 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8796 #endif
8798 _ACEOF
8799 if ac_fn_c_try_compile "$LINENO"
8800 then :
8801 ac_cv_header_stat_broken=no
8802 else $as_nop
8803 ac_cv_header_stat_broken=yes
8805 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8808 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8809 if test $ac_cv_header_stat_broken = yes; then
8811 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8817 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8818 #ifdef HAVE_SYS_PARAM_H
8819 # include <sys/param.h>
8820 #endif
8822 if test "x$ac_cv_header_sys_conf_h" = xyes
8823 then :
8824 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8827 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8828 #ifdef HAVE_SYS_PARAM_H
8829 # include <sys/param.h>
8830 #endif
8832 if test "x$ac_cv_header_sys_mount_h" = xyes
8833 then :
8834 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8837 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8838 #ifdef HAVE_SYS_PARAM_H
8839 # include <sys/param.h>
8840 #endif
8842 if test "x$ac_cv_header_sys_statfs_h" = xyes
8843 then :
8844 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8847 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8848 #ifdef HAVE_SYS_PARAM_H
8849 # include <sys/param.h>
8850 #endif
8852 if test "x$ac_cv_header_sys_user_h" = xyes
8853 then :
8854 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8857 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8858 #ifdef HAVE_SYS_PARAM_H
8859 # include <sys/param.h>
8860 #endif
8862 if test "x$ac_cv_header_sys_vfs_h" = xyes
8863 then :
8864 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8869 saved_sysctl_h_CFLAGS=$CFLAGS
8870 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8871 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8872 #ifdef HAVE_SYS_PARAM_H
8873 # include <sys/param.h>
8874 #endif
8876 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8877 then :
8878 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8882 CFLAGS=$saved_sysctl_h_CFLAGS
8884 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8885 #ifdef HAVE_SYS_SOCKET_H
8886 # include <sys/socket.h>
8887 #endif
8888 #ifdef HAVE_SYS_SOCKETVAR_H
8889 # include <sys/socketvar.h>
8890 #endif
8891 #ifdef HAVE_NET_ROUTE_H
8892 # include <net/route.h>
8893 #endif
8894 #ifdef HAVE_NETINET_IN_H
8895 # include <netinet/in.h>
8896 #endif
8897 #ifdef HAVE_NETINET_IN_SYSTM_H
8898 # include <netinet/in_systm.h>
8899 #endif
8900 #ifdef HAVE_NET_IF_H
8901 # include <net/if.h>
8902 #endif
8903 #ifdef HAVE_NETINET_IP_H
8904 # include <netinet/ip.h>
8905 #endif
8907 if test "x$ac_cv_header_netinet_ip_h" = xyes
8908 then :
8909 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8912 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8913 #ifdef HAVE_SYS_SOCKET_H
8914 # include <sys/socket.h>
8915 #endif
8916 #ifdef HAVE_SYS_SOCKETVAR_H
8917 # include <sys/socketvar.h>
8918 #endif
8919 #ifdef HAVE_NET_ROUTE_H
8920 # include <net/route.h>
8921 #endif
8922 #ifdef HAVE_NETINET_IN_H
8923 # include <netinet/in.h>
8924 #endif
8925 #ifdef HAVE_NETINET_IN_SYSTM_H
8926 # include <netinet/in_systm.h>
8927 #endif
8928 #ifdef HAVE_NET_IF_H
8929 # include <net/if.h>
8930 #endif
8931 #ifdef HAVE_NETINET_IP_H
8932 # include <netinet/ip.h>
8933 #endif
8935 if test "x$ac_cv_header_net_if_h" = xyes
8936 then :
8937 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8940 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8941 #ifdef HAVE_SYS_SOCKET_H
8942 # include <sys/socket.h>
8943 #endif
8944 #ifdef HAVE_SYS_SOCKETVAR_H
8945 # include <sys/socketvar.h>
8946 #endif
8947 #ifdef HAVE_NET_ROUTE_H
8948 # include <net/route.h>
8949 #endif
8950 #ifdef HAVE_NETINET_IN_H
8951 # include <netinet/in.h>
8952 #endif
8953 #ifdef HAVE_NETINET_IN_SYSTM_H
8954 # include <netinet/in_systm.h>
8955 #endif
8956 #ifdef HAVE_NET_IF_H
8957 # include <net/if.h>
8958 #endif
8959 #ifdef HAVE_NETINET_IP_H
8960 # include <netinet/ip.h>
8961 #endif
8963 if test "x$ac_cv_header_net_if_arp_h" = xyes
8964 then :
8965 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8968 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8969 #ifdef HAVE_SYS_SOCKET_H
8970 # include <sys/socket.h>
8971 #endif
8972 #ifdef HAVE_SYS_SOCKETVAR_H
8973 # include <sys/socketvar.h>
8974 #endif
8975 #ifdef HAVE_NET_ROUTE_H
8976 # include <net/route.h>
8977 #endif
8978 #ifdef HAVE_NETINET_IN_H
8979 # include <netinet/in.h>
8980 #endif
8981 #ifdef HAVE_NETINET_IN_SYSTM_H
8982 # include <netinet/in_systm.h>
8983 #endif
8984 #ifdef HAVE_NET_IF_H
8985 # include <net/if.h>
8986 #endif
8987 #ifdef HAVE_NETINET_IP_H
8988 # include <netinet/ip.h>
8989 #endif
8991 if test "x$ac_cv_header_net_if_dl_h" = xyes
8992 then :
8993 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8996 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8997 #ifdef HAVE_SYS_SOCKET_H
8998 # include <sys/socket.h>
8999 #endif
9000 #ifdef HAVE_SYS_SOCKETVAR_H
9001 # include <sys/socketvar.h>
9002 #endif
9003 #ifdef HAVE_NET_ROUTE_H
9004 # include <net/route.h>
9005 #endif
9006 #ifdef HAVE_NETINET_IN_H
9007 # include <netinet/in.h>
9008 #endif
9009 #ifdef HAVE_NETINET_IN_SYSTM_H
9010 # include <netinet/in_systm.h>
9011 #endif
9012 #ifdef HAVE_NET_IF_H
9013 # include <net/if.h>
9014 #endif
9015 #ifdef HAVE_NETINET_IP_H
9016 # include <netinet/ip.h>
9017 #endif
9019 if test "x$ac_cv_header_net_if_types_h" = xyes
9020 then :
9021 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
9024 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
9025 #ifdef HAVE_SYS_SOCKET_H
9026 # include <sys/socket.h>
9027 #endif
9028 #ifdef HAVE_SYS_SOCKETVAR_H
9029 # include <sys/socketvar.h>
9030 #endif
9031 #ifdef HAVE_NET_ROUTE_H
9032 # include <net/route.h>
9033 #endif
9034 #ifdef HAVE_NETINET_IN_H
9035 # include <netinet/in.h>
9036 #endif
9037 #ifdef HAVE_NETINET_IN_SYSTM_H
9038 # include <netinet/in_systm.h>
9039 #endif
9040 #ifdef HAVE_NET_IF_H
9041 # include <net/if.h>
9042 #endif
9043 #ifdef HAVE_NETINET_IP_H
9044 # include <netinet/ip.h>
9045 #endif
9047 if test "x$ac_cv_header_net_route_h" = xyes
9048 then :
9049 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
9052 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
9053 #ifdef HAVE_SYS_SOCKET_H
9054 # include <sys/socket.h>
9055 #endif
9056 #ifdef HAVE_SYS_SOCKETVAR_H
9057 # include <sys/socketvar.h>
9058 #endif
9059 #ifdef HAVE_NET_ROUTE_H
9060 # include <net/route.h>
9061 #endif
9062 #ifdef HAVE_NETINET_IN_H
9063 # include <netinet/in.h>
9064 #endif
9065 #ifdef HAVE_NETINET_IN_SYSTM_H
9066 # include <netinet/in_systm.h>
9067 #endif
9068 #ifdef HAVE_NET_IF_H
9069 # include <net/if.h>
9070 #endif
9071 #ifdef HAVE_NETINET_IP_H
9072 # include <netinet/ip.h>
9073 #endif
9075 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
9076 then :
9077 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
9080 ac_fn_c_check_header_compile "$LINENO" "netinet/if_inarp.h" "ac_cv_header_netinet_if_inarp_h" "#include <sys/types.h>
9081 #ifdef HAVE_SYS_SOCKET_H
9082 # include <sys/socket.h>
9083 #endif
9084 #ifdef HAVE_SYS_SOCKETVAR_H
9085 # include <sys/socketvar.h>
9086 #endif
9087 #ifdef HAVE_NET_ROUTE_H
9088 # include <net/route.h>
9089 #endif
9090 #ifdef HAVE_NETINET_IN_H
9091 # include <netinet/in.h>
9092 #endif
9093 #ifdef HAVE_NETINET_IN_SYSTM_H
9094 # include <netinet/in_systm.h>
9095 #endif
9096 #ifdef HAVE_NET_IF_H
9097 # include <net/if.h>
9098 #endif
9099 #ifdef HAVE_NETINET_IP_H
9100 # include <netinet/ip.h>
9101 #endif
9103 if test "x$ac_cv_header_netinet_if_inarp_h" = xyes
9104 then :
9105 printf "%s\n" "#define HAVE_NETINET_IF_INARP_H 1" >>confdefs.h
9108 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
9109 #ifdef HAVE_SYS_SOCKET_H
9110 # include <sys/socket.h>
9111 #endif
9112 #ifdef HAVE_SYS_SOCKETVAR_H
9113 # include <sys/socketvar.h>
9114 #endif
9115 #ifdef HAVE_NET_ROUTE_H
9116 # include <net/route.h>
9117 #endif
9118 #ifdef HAVE_NETINET_IN_H
9119 # include <netinet/in.h>
9120 #endif
9121 #ifdef HAVE_NETINET_IN_SYSTM_H
9122 # include <netinet/in_systm.h>
9123 #endif
9124 #ifdef HAVE_NET_IF_H
9125 # include <net/if.h>
9126 #endif
9127 #ifdef HAVE_NETINET_IP_H
9128 # include <netinet/ip.h>
9129 #endif
9131 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
9132 then :
9133 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
9136 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
9137 #ifdef HAVE_SYS_SOCKET_H
9138 # include <sys/socket.h>
9139 #endif
9140 #ifdef HAVE_SYS_SOCKETVAR_H
9141 # include <sys/socketvar.h>
9142 #endif
9143 #ifdef HAVE_NET_ROUTE_H
9144 # include <net/route.h>
9145 #endif
9146 #ifdef HAVE_NETINET_IN_H
9147 # include <netinet/in.h>
9148 #endif
9149 #ifdef HAVE_NETINET_IN_SYSTM_H
9150 # include <netinet/in_systm.h>
9151 #endif
9152 #ifdef HAVE_NET_IF_H
9153 # include <net/if.h>
9154 #endif
9155 #ifdef HAVE_NETINET_IP_H
9156 # include <netinet/ip.h>
9157 #endif
9159 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
9160 then :
9161 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
9164 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
9165 #ifdef HAVE_SYS_SOCKET_H
9166 # include <sys/socket.h>
9167 #endif
9168 #ifdef HAVE_SYS_SOCKETVAR_H
9169 # include <sys/socketvar.h>
9170 #endif
9171 #ifdef HAVE_NET_ROUTE_H
9172 # include <net/route.h>
9173 #endif
9174 #ifdef HAVE_NETINET_IN_H
9175 # include <netinet/in.h>
9176 #endif
9177 #ifdef HAVE_NETINET_IN_SYSTM_H
9178 # include <netinet/in_systm.h>
9179 #endif
9180 #ifdef HAVE_NET_IF_H
9181 # include <net/if.h>
9182 #endif
9183 #ifdef HAVE_NETINET_IP_H
9184 # include <netinet/ip.h>
9185 #endif
9187 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
9188 then :
9189 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
9192 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
9193 #ifdef HAVE_SYS_SOCKET_H
9194 # include <sys/socket.h>
9195 #endif
9196 #ifdef HAVE_SYS_SOCKETVAR_H
9197 # include <sys/socketvar.h>
9198 #endif
9199 #ifdef HAVE_NET_ROUTE_H
9200 # include <net/route.h>
9201 #endif
9202 #ifdef HAVE_NETINET_IN_H
9203 # include <netinet/in.h>
9204 #endif
9205 #ifdef HAVE_NETINET_IN_SYSTM_H
9206 # include <netinet/in_systm.h>
9207 #endif
9208 #ifdef HAVE_NET_IF_H
9209 # include <net/if.h>
9210 #endif
9211 #ifdef HAVE_NETINET_IP_H
9212 # include <netinet/ip.h>
9213 #endif
9215 if test "x$ac_cv_header_netinet_udp_h" = xyes
9216 then :
9217 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
9220 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
9221 #ifdef HAVE_SYS_SOCKET_H
9222 # include <sys/socket.h>
9223 #endif
9224 #ifdef HAVE_SYS_SOCKETVAR_H
9225 # include <sys/socketvar.h>
9226 #endif
9227 #ifdef HAVE_NET_ROUTE_H
9228 # include <net/route.h>
9229 #endif
9230 #ifdef HAVE_NETINET_IN_H
9231 # include <netinet/in.h>
9232 #endif
9233 #ifdef HAVE_NETINET_IN_SYSTM_H
9234 # include <netinet/in_systm.h>
9235 #endif
9236 #ifdef HAVE_NET_IF_H
9237 # include <net/if.h>
9238 #endif
9239 #ifdef HAVE_NETINET_IP_H
9240 # include <netinet/ip.h>
9241 #endif
9243 if test "x$ac_cv_header_netipx_ipx_h" = xyes
9244 then :
9245 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
9248 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
9249 #ifdef HAVE_SYS_SOCKET_H
9250 # include <sys/socket.h>
9251 #endif
9252 #ifdef HAVE_SYS_SOCKETVAR_H
9253 # include <sys/socketvar.h>
9254 #endif
9255 #ifdef HAVE_NET_ROUTE_H
9256 # include <net/route.h>
9257 #endif
9258 #ifdef HAVE_NETINET_IN_H
9259 # include <netinet/in.h>
9260 #endif
9261 #ifdef HAVE_NETINET_IN_SYSTM_H
9262 # include <netinet/in_systm.h>
9263 #endif
9264 #ifdef HAVE_NET_IF_H
9265 # include <net/if.h>
9266 #endif
9267 #ifdef HAVE_NETINET_IP_H
9268 # include <netinet/ip.h>
9269 #endif
9271 if test "x$ac_cv_header_sys_un_h" = xyes
9272 then :
9273 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
9278 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_timer.h" "ac_cv_header_netinet_tcp_timer_h" "#include <sys/types.h>
9279 #ifdef HAVE_ALIAS_H
9280 # include <alias.h>
9281 #endif
9282 #ifdef HAVE_SYS_SOCKET_H
9283 # include <sys/socket.h>
9284 #endif
9285 #ifdef HAVE_SYS_SOCKETVAR_H
9286 # include <sys/socketvar.h>
9287 #endif
9288 #ifdef HAVE_SYS_TIMEOUT_H
9289 # include <sys/timeout.h>
9290 #endif
9291 #ifdef HAVE_NETINET_IN_H
9292 # include <netinet/in.h>
9293 #endif
9294 #ifdef HAVE_NETINET_IN_SYSTM_H
9295 # include <netinet/in_systm.h>
9296 #endif
9297 #ifdef HAVE_NETINET_IP_H
9298 # include <netinet/ip.h>
9299 #endif
9300 #ifdef HAVE_NETINET_IP_VAR_H
9301 # include <netinet/ip_var.h>
9302 #endif
9303 #ifdef HAVE_NETINET_IP_ICMP_H
9304 # include <netinet/ip_icmp.h>
9305 #endif
9306 #ifdef HAVE_NETINET_UDP_H
9307 # include <netinet/udp.h>
9308 #endif
9309 #ifdef HAVE_NETINET_TCP_H
9310 # include <netinet/tcp.h>
9311 #endif
9312 #ifdef HAVE_NETINET_TCP_TIMER_H
9313 #include <netinet/tcp_timer.h>
9314 #endif
9316 if test "x$ac_cv_header_netinet_tcp_timer_h" = xyes
9317 then :
9318 printf "%s\n" "#define HAVE_NETINET_TCP_TIMER_H 1" >>confdefs.h
9321 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
9322 #ifdef HAVE_ALIAS_H
9323 # include <alias.h>
9324 #endif
9325 #ifdef HAVE_SYS_SOCKET_H
9326 # include <sys/socket.h>
9327 #endif
9328 #ifdef HAVE_SYS_SOCKETVAR_H
9329 # include <sys/socketvar.h>
9330 #endif
9331 #ifdef HAVE_SYS_TIMEOUT_H
9332 # include <sys/timeout.h>
9333 #endif
9334 #ifdef HAVE_NETINET_IN_H
9335 # include <netinet/in.h>
9336 #endif
9337 #ifdef HAVE_NETINET_IN_SYSTM_H
9338 # include <netinet/in_systm.h>
9339 #endif
9340 #ifdef HAVE_NETINET_IP_H
9341 # include <netinet/ip.h>
9342 #endif
9343 #ifdef HAVE_NETINET_IP_VAR_H
9344 # include <netinet/ip_var.h>
9345 #endif
9346 #ifdef HAVE_NETINET_IP_ICMP_H
9347 # include <netinet/ip_icmp.h>
9348 #endif
9349 #ifdef HAVE_NETINET_UDP_H
9350 # include <netinet/udp.h>
9351 #endif
9352 #ifdef HAVE_NETINET_TCP_H
9353 # include <netinet/tcp.h>
9354 #endif
9355 #ifdef HAVE_NETINET_TCP_TIMER_H
9356 #include <netinet/tcp_timer.h>
9357 #endif
9359 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
9360 then :
9361 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
9364 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
9365 #ifdef HAVE_ALIAS_H
9366 # include <alias.h>
9367 #endif
9368 #ifdef HAVE_SYS_SOCKET_H
9369 # include <sys/socket.h>
9370 #endif
9371 #ifdef HAVE_SYS_SOCKETVAR_H
9372 # include <sys/socketvar.h>
9373 #endif
9374 #ifdef HAVE_SYS_TIMEOUT_H
9375 # include <sys/timeout.h>
9376 #endif
9377 #ifdef HAVE_NETINET_IN_H
9378 # include <netinet/in.h>
9379 #endif
9380 #ifdef HAVE_NETINET_IN_SYSTM_H
9381 # include <netinet/in_systm.h>
9382 #endif
9383 #ifdef HAVE_NETINET_IP_H
9384 # include <netinet/ip.h>
9385 #endif
9386 #ifdef HAVE_NETINET_IP_VAR_H
9387 # include <netinet/ip_var.h>
9388 #endif
9389 #ifdef HAVE_NETINET_IP_ICMP_H
9390 # include <netinet/ip_icmp.h>
9391 #endif
9392 #ifdef HAVE_NETINET_UDP_H
9393 # include <netinet/udp.h>
9394 #endif
9395 #ifdef HAVE_NETINET_TCP_H
9396 # include <netinet/tcp.h>
9397 #endif
9398 #ifdef HAVE_NETINET_TCP_TIMER_H
9399 #include <netinet/tcp_timer.h>
9400 #endif
9402 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
9403 then :
9404 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
9407 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
9408 #ifdef HAVE_ALIAS_H
9409 # include <alias.h>
9410 #endif
9411 #ifdef HAVE_SYS_SOCKET_H
9412 # include <sys/socket.h>
9413 #endif
9414 #ifdef HAVE_SYS_SOCKETVAR_H
9415 # include <sys/socketvar.h>
9416 #endif
9417 #ifdef HAVE_SYS_TIMEOUT_H
9418 # include <sys/timeout.h>
9419 #endif
9420 #ifdef HAVE_NETINET_IN_H
9421 # include <netinet/in.h>
9422 #endif
9423 #ifdef HAVE_NETINET_IN_SYSTM_H
9424 # include <netinet/in_systm.h>
9425 #endif
9426 #ifdef HAVE_NETINET_IP_H
9427 # include <netinet/ip.h>
9428 #endif
9429 #ifdef HAVE_NETINET_IP_VAR_H
9430 # include <netinet/ip_var.h>
9431 #endif
9432 #ifdef HAVE_NETINET_IP_ICMP_H
9433 # include <netinet/ip_icmp.h>
9434 #endif
9435 #ifdef HAVE_NETINET_UDP_H
9436 # include <netinet/udp.h>
9437 #endif
9438 #ifdef HAVE_NETINET_TCP_H
9439 # include <netinet/tcp.h>
9440 #endif
9441 #ifdef HAVE_NETINET_TCP_TIMER_H
9442 #include <netinet/tcp_timer.h>
9443 #endif
9445 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
9446 then :
9447 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
9452 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
9453 #ifdef HAVE_ASM_TYPES_H
9454 # include <asm/types.h>
9455 #endif
9456 #ifdef HAVE_SYS_SOCKET_H
9457 # include <sys/socket.h>
9458 #endif
9459 #ifdef HAVE_LINUX_TYPES_H
9460 # include <linux/types.h>
9461 #endif
9463 if test "x$ac_cv_header_linux_ipx_h" = xyes
9464 then :
9465 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9468 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9469 #ifdef HAVE_ASM_TYPES_H
9470 # include <asm/types.h>
9471 #endif
9472 #ifdef HAVE_SYS_SOCKET_H
9473 # include <sys/socket.h>
9474 #endif
9475 #ifdef HAVE_LINUX_TYPES_H
9476 # include <linux/types.h>
9477 #endif
9479 if test "x$ac_cv_header_linux_irda_h" = xyes
9480 then :
9481 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9484 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9485 #ifdef HAVE_ASM_TYPES_H
9486 # include <asm/types.h>
9487 #endif
9488 #ifdef HAVE_SYS_SOCKET_H
9489 # include <sys/socket.h>
9490 #endif
9491 #ifdef HAVE_LINUX_TYPES_H
9492 # include <linux/types.h>
9493 #endif
9495 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9496 then :
9497 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9502 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9503 #ifdef HAVE_SYS_SOCKET_H
9504 # include <sys/socket.h>
9505 #endif
9506 #ifdef HAVE_NETINET_IN_H
9507 # include <netinet/in.h>
9508 #endif
9509 #ifdef HAVE_ARPA_NAMESER_H
9510 # include <arpa/nameser.h>
9511 #endif
9513 if test "x$ac_cv_header_resolv_h" = xyes
9514 then :
9515 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9520 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9522 if test "x$ac_cv_header_ifaddrs_h" = xyes
9523 then :
9524 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9529 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9531 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9532 then :
9533 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9538 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9539 #ifdef HAVE_SYS_UCONTEXT_H
9540 #include <sys/ucontext.h>
9541 #endif
9543 if test "x$ac_cv_header_sys_thr_h" = xyes
9544 then :
9545 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9550 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9551 #include <pthread.h>
9552 #endif
9554 if test "x$ac_cv_header_pthread_np_h" = xyes
9555 then :
9556 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9561 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
9562 #include <sys/time.h>
9563 #endif
9564 #include <sys/types.h>
9565 #ifdef HAVE_ASM_TYPES_H
9566 #include <asm/types.h>
9567 #endif
9569 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9570 then :
9571 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9576 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9577 #include <sys/param.h>
9578 #endif
9579 #ifdef HAVE_SYS_QUEUE_H
9580 #include <sys/queue.h>
9581 #endif
9582 #ifdef HAVE_SYS_SOCKET_H
9583 #include <sys/socket.h>
9584 #endif
9586 if test "x$ac_cv_header_libprocstat_h" = xyes
9587 then :
9588 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9594 DLLFLAGS=""
9596 LDDLLFLAGS=""
9598 LDEXECFLAGS=""
9600 EXTRACFLAGS=""
9602 UNIXDLLFLAGS="-fPIC"
9604 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9606 TOP_INSTALL_LIB=""
9608 TOP_INSTALL_DEV=""
9610 WINELOADER_LDFLAGS=""
9612 WINEPRELOADER_LDFLAGS=""
9614 LIBEXT="so"
9615 # Extract the first word of "ldd", so it can be a program name with args.
9616 set dummy ldd; ac_word=$2
9617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9618 printf %s "checking for $ac_word... " >&6; }
9619 if test ${ac_cv_path_LDD+y}
9620 then :
9621 printf %s "(cached) " >&6
9622 else $as_nop
9623 case $LDD in
9624 [\\/]* | ?:[\\/]*)
9625 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9629 as_dummy="/sbin:/usr/sbin:$PATH"
9630 for as_dir in $as_dummy
9632 IFS=$as_save_IFS
9633 case $as_dir in #(((
9634 '') as_dir=./ ;;
9635 */) ;;
9636 *) as_dir=$as_dir/ ;;
9637 esac
9638 for ac_exec_ext in '' $ac_executable_extensions; do
9639 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9640 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9641 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9642 break 2
9644 done
9645 done
9646 IFS=$as_save_IFS
9648 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9650 esac
9652 LDD=$ac_cv_path_LDD
9653 if test -n "$LDD"; then
9654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9655 printf "%s\n" "$LDD" >&6; }
9656 else
9657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9658 printf "%s\n" "no" >&6; }
9662 if test -n "$ac_tool_prefix"; then
9663 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9664 set dummy ${ac_tool_prefix}otool; ac_word=$2
9665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9666 printf %s "checking for $ac_word... " >&6; }
9667 if test ${ac_cv_prog_OTOOL+y}
9668 then :
9669 printf %s "(cached) " >&6
9670 else $as_nop
9671 if test -n "$OTOOL"; then
9672 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9673 else
9674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9675 for as_dir in $PATH
9677 IFS=$as_save_IFS
9678 case $as_dir in #(((
9679 '') as_dir=./ ;;
9680 */) ;;
9681 *) as_dir=$as_dir/ ;;
9682 esac
9683 for ac_exec_ext in '' $ac_executable_extensions; do
9684 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9685 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9686 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9687 break 2
9689 done
9690 done
9691 IFS=$as_save_IFS
9695 OTOOL=$ac_cv_prog_OTOOL
9696 if test -n "$OTOOL"; then
9697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9698 printf "%s\n" "$OTOOL" >&6; }
9699 else
9700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9701 printf "%s\n" "no" >&6; }
9706 if test -z "$ac_cv_prog_OTOOL"; then
9707 ac_ct_OTOOL=$OTOOL
9708 # Extract the first word of "otool", so it can be a program name with args.
9709 set dummy otool; ac_word=$2
9710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9711 printf %s "checking for $ac_word... " >&6; }
9712 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9713 then :
9714 printf %s "(cached) " >&6
9715 else $as_nop
9716 if test -n "$ac_ct_OTOOL"; then
9717 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9718 else
9719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9720 for as_dir in $PATH
9722 IFS=$as_save_IFS
9723 case $as_dir in #(((
9724 '') as_dir=./ ;;
9725 */) ;;
9726 *) as_dir=$as_dir/ ;;
9727 esac
9728 for ac_exec_ext in '' $ac_executable_extensions; do
9729 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9730 ac_cv_prog_ac_ct_OTOOL="otool"
9731 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9732 break 2
9734 done
9735 done
9736 IFS=$as_save_IFS
9740 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9741 if test -n "$ac_ct_OTOOL"; then
9742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9743 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9744 else
9745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9746 printf "%s\n" "no" >&6; }
9749 if test "x$ac_ct_OTOOL" = x; then
9750 OTOOL="otool"
9751 else
9752 case $cross_compiling:$ac_tool_warned in
9753 yes:)
9754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9755 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9756 ac_tool_warned=yes ;;
9757 esac
9758 OTOOL=$ac_ct_OTOOL
9760 else
9761 OTOOL="$ac_cv_prog_OTOOL"
9764 if test -n "$ac_tool_prefix"; then
9765 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9766 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9768 printf %s "checking for $ac_word... " >&6; }
9769 if test ${ac_cv_prog_READELF+y}
9770 then :
9771 printf %s "(cached) " >&6
9772 else $as_nop
9773 if test -n "$READELF"; then
9774 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9775 else
9776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9777 for as_dir in $PATH
9779 IFS=$as_save_IFS
9780 case $as_dir in #(((
9781 '') as_dir=./ ;;
9782 */) ;;
9783 *) as_dir=$as_dir/ ;;
9784 esac
9785 for ac_exec_ext in '' $ac_executable_extensions; do
9786 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9787 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9788 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9789 break 2
9791 done
9792 done
9793 IFS=$as_save_IFS
9797 READELF=$ac_cv_prog_READELF
9798 if test -n "$READELF"; then
9799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9800 printf "%s\n" "$READELF" >&6; }
9801 else
9802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9803 printf "%s\n" "no" >&6; }
9808 if test -z "$ac_cv_prog_READELF"; then
9809 ac_ct_READELF=$READELF
9810 # Extract the first word of "readelf", so it can be a program name with args.
9811 set dummy readelf; ac_word=$2
9812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9813 printf %s "checking for $ac_word... " >&6; }
9814 if test ${ac_cv_prog_ac_ct_READELF+y}
9815 then :
9816 printf %s "(cached) " >&6
9817 else $as_nop
9818 if test -n "$ac_ct_READELF"; then
9819 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9820 else
9821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9822 for as_dir in $PATH
9824 IFS=$as_save_IFS
9825 case $as_dir in #(((
9826 '') as_dir=./ ;;
9827 */) ;;
9828 *) as_dir=$as_dir/ ;;
9829 esac
9830 for ac_exec_ext in '' $ac_executable_extensions; do
9831 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9832 ac_cv_prog_ac_ct_READELF="readelf"
9833 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9834 break 2
9836 done
9837 done
9838 IFS=$as_save_IFS
9842 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9843 if test -n "$ac_ct_READELF"; then
9844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9845 printf "%s\n" "$ac_ct_READELF" >&6; }
9846 else
9847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9848 printf "%s\n" "no" >&6; }
9851 if test "x$ac_ct_READELF" = x; then
9852 READELF="true"
9853 else
9854 case $cross_compiling:$ac_tool_warned in
9855 yes:)
9856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9857 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9858 ac_tool_warned=yes ;;
9859 esac
9860 READELF=$ac_ct_READELF
9862 else
9863 READELF="$ac_cv_prog_READELF"
9866 wine_rules="all:"
9867 SUBDIRS=""
9869 DISABLED_SUBDIRS=""
9871 CONFIGURE_TARGETS=""
9874 wine_fn_append_file ()
9876 as_fn_append $1 " \\$as_nl $2"
9879 wine_fn_append_rule ()
9881 as_fn_append wine_rules "$as_nl$1"
9884 wine_fn_config_makefile ()
9886 wine_fn_append_file SUBDIRS $1
9887 if eval test \"x\$"$2"\" = x"no"
9888 then :
9889 wine_fn_append_file DISABLED_SUBDIRS $1
9893 wine_fn_config_symlink ()
9895 ac_links=$@
9896 wine_fn_append_rule \
9897 "$ac_links:
9898 @./config.status \$@"
9899 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
9902 wine_binary="wine"
9903 test "x$enable_win64" != "xyes" || wine_binary="wine64"
9904 WINELOADER_PROGRAMS="$wine_binary"
9906 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9908 case $host_os in
9909 cygwin*|mingw32*)
9910 if test -n "$ac_tool_prefix"; then
9911 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9912 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9914 printf %s "checking for $ac_word... " >&6; }
9915 if test ${ac_cv_prog_DLLTOOL+y}
9916 then :
9917 printf %s "(cached) " >&6
9918 else $as_nop
9919 if test -n "$DLLTOOL"; then
9920 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9921 else
9922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9923 for as_dir in $PATH
9925 IFS=$as_save_IFS
9926 case $as_dir in #(((
9927 '') as_dir=./ ;;
9928 */) ;;
9929 *) as_dir=$as_dir/ ;;
9930 esac
9931 for ac_exec_ext in '' $ac_executable_extensions; do
9932 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9933 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9934 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9935 break 2
9937 done
9938 done
9939 IFS=$as_save_IFS
9943 DLLTOOL=$ac_cv_prog_DLLTOOL
9944 if test -n "$DLLTOOL"; then
9945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9946 printf "%s\n" "$DLLTOOL" >&6; }
9947 else
9948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9949 printf "%s\n" "no" >&6; }
9954 if test -z "$ac_cv_prog_DLLTOOL"; then
9955 ac_ct_DLLTOOL=$DLLTOOL
9956 # Extract the first word of "dlltool", so it can be a program name with args.
9957 set dummy dlltool; ac_word=$2
9958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9959 printf %s "checking for $ac_word... " >&6; }
9960 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9961 then :
9962 printf %s "(cached) " >&6
9963 else $as_nop
9964 if test -n "$ac_ct_DLLTOOL"; then
9965 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9966 else
9967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9968 for as_dir in $PATH
9970 IFS=$as_save_IFS
9971 case $as_dir in #(((
9972 '') as_dir=./ ;;
9973 */) ;;
9974 *) as_dir=$as_dir/ ;;
9975 esac
9976 for ac_exec_ext in '' $ac_executable_extensions; do
9977 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9978 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9979 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9980 break 2
9982 done
9983 done
9984 IFS=$as_save_IFS
9988 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9989 if test -n "$ac_ct_DLLTOOL"; then
9990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9991 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9992 else
9993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9994 printf "%s\n" "no" >&6; }
9997 if test "x$ac_ct_DLLTOOL" = x; then
9998 DLLTOOL="false"
9999 else
10000 case $cross_compiling:$ac_tool_warned in
10001 yes:)
10002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10003 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10004 ac_tool_warned=yes ;;
10005 esac
10006 DLLTOOL=$ac_ct_DLLTOOL
10008 else
10009 DLLTOOL="$ac_cv_prog_DLLTOOL"
10012 LIBEXT="dll"
10013 EXTRACFLAGS="-D__WINE_PE_BUILD"
10014 case $host_cpu in
10015 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
10016 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
10017 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
10018 then :
10019 printf %s "(cached) " >&6
10020 else $as_nop
10021 ac_wine_try_cflags_saved=$CFLAGS
10022 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
10023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10024 /* end confdefs.h. */
10025 int main(int argc, char **argv) { return 0; }
10026 _ACEOF
10027 if ac_fn_c_try_link "$LINENO"
10028 then :
10029 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
10030 else $as_nop
10031 ac_cv_cflags__Wl___disable_stdcall_fixup=no
10033 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10034 conftest$ac_exeext conftest.$ac_ext
10035 CFLAGS=$ac_wine_try_cflags_saved
10037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
10038 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
10039 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
10040 then :
10041 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
10042 fi ;;
10043 esac
10044 enable_mountmgr_sys=${enable_mountmgr_sys:-no}
10045 enable_loader=${enable_loader:-no}
10046 enable_server=${enable_server:-no}
10047 with_x=${with_x:-no}
10048 with_pthread=${with_pthread:-no}
10051 darwin*|macosx*)
10052 ac_ext=m
10053 ac_cpp='$OBJCPP $CPPFLAGS'
10054 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10055 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10056 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10058 ac_ext=m
10059 ac_cpp='$OBJCPP $CPPFLAGS'
10060 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10061 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10062 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10063 if test -n "$ac_tool_prefix"; then
10064 for ac_prog in gcc objcc objc cc CC clang
10066 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10067 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10069 printf %s "checking for $ac_word... " >&6; }
10070 if test ${ac_cv_prog_OBJC+y}
10071 then :
10072 printf %s "(cached) " >&6
10073 else $as_nop
10074 if test -n "$OBJC"; then
10075 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
10076 else
10077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10078 for as_dir in $PATH
10080 IFS=$as_save_IFS
10081 case $as_dir in #(((
10082 '') as_dir=./ ;;
10083 */) ;;
10084 *) as_dir=$as_dir/ ;;
10085 esac
10086 for ac_exec_ext in '' $ac_executable_extensions; do
10087 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10088 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
10089 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10090 break 2
10092 done
10093 done
10094 IFS=$as_save_IFS
10098 OBJC=$ac_cv_prog_OBJC
10099 if test -n "$OBJC"; then
10100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
10101 printf "%s\n" "$OBJC" >&6; }
10102 else
10103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10104 printf "%s\n" "no" >&6; }
10108 test -n "$OBJC" && break
10109 done
10111 if test -z "$OBJC"; then
10112 ac_ct_OBJC=$OBJC
10113 for ac_prog in gcc objcc objc cc CC clang
10115 # Extract the first word of "$ac_prog", so it can be a program name with args.
10116 set dummy $ac_prog; ac_word=$2
10117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10118 printf %s "checking for $ac_word... " >&6; }
10119 if test ${ac_cv_prog_ac_ct_OBJC+y}
10120 then :
10121 printf %s "(cached) " >&6
10122 else $as_nop
10123 if test -n "$ac_ct_OBJC"; then
10124 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
10125 else
10126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10127 for as_dir in $PATH
10129 IFS=$as_save_IFS
10130 case $as_dir in #(((
10131 '') as_dir=./ ;;
10132 */) ;;
10133 *) as_dir=$as_dir/ ;;
10134 esac
10135 for ac_exec_ext in '' $ac_executable_extensions; do
10136 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10137 ac_cv_prog_ac_ct_OBJC="$ac_prog"
10138 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10139 break 2
10141 done
10142 done
10143 IFS=$as_save_IFS
10147 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
10148 if test -n "$ac_ct_OBJC"; then
10149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
10150 printf "%s\n" "$ac_ct_OBJC" >&6; }
10151 else
10152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10153 printf "%s\n" "no" >&6; }
10157 test -n "$ac_ct_OBJC" && break
10158 done
10160 if test "x$ac_ct_OBJC" = x; then
10161 OBJC="gcc"
10162 else
10163 case $cross_compiling:$ac_tool_warned in
10164 yes:)
10165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10166 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10167 ac_tool_warned=yes ;;
10168 esac
10169 OBJC=$ac_ct_OBJC
10173 # Provide some information about the compiler.
10174 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
10175 set X $ac_compile
10176 ac_compiler=$2
10177 for ac_option in --version -v -V -qversion; do
10178 { { ac_try="$ac_compiler $ac_option >&5"
10179 case "(($ac_try" in
10180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10181 *) ac_try_echo=$ac_try;;
10182 esac
10183 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10184 printf "%s\n" "$ac_try_echo"; } >&5
10185 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10186 ac_status=$?
10187 if test -s conftest.err; then
10188 sed '10a\
10189 ... rest of stderr output deleted ...
10190 10q' conftest.err >conftest.er1
10191 cat conftest.er1 >&5
10193 rm -f conftest.er1 conftest.err
10194 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10195 test $ac_status = 0; }
10196 done
10198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
10199 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
10200 if test ${ac_cv_objc_compiler_gnu+y}
10201 then :
10202 printf %s "(cached) " >&6
10203 else $as_nop
10204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10205 /* end confdefs.h. */
10208 main (void)
10210 #ifndef __GNUC__
10211 choke me
10212 #endif
10215 return 0;
10217 _ACEOF
10218 if ac_fn_objc_try_compile "$LINENO"
10219 then :
10220 ac_compiler_gnu=yes
10221 else $as_nop
10222 ac_compiler_gnu=no
10224 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10225 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
10228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
10229 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
10230 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10232 if test $ac_compiler_gnu = yes; then
10233 GOBJC=yes
10234 else
10235 GOBJC=
10237 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
10238 ac_save_OBJCFLAGS=$OBJCFLAGS
10239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
10240 printf %s "checking whether $OBJC accepts -g... " >&6; }
10241 if test ${ac_cv_prog_objc_g+y}
10242 then :
10243 printf %s "(cached) " >&6
10244 else $as_nop
10245 ac_save_objc_werror_flag=$ac_objc_werror_flag
10246 ac_objc_werror_flag=yes
10247 ac_cv_prog_objc_g=no
10248 OBJCFLAGS="-g"
10249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10250 /* end confdefs.h. */
10253 main (void)
10257 return 0;
10259 _ACEOF
10260 if ac_fn_objc_try_compile "$LINENO"
10261 then :
10262 ac_cv_prog_objc_g=yes
10263 else $as_nop
10264 OBJCFLAGS=""
10265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10266 /* end confdefs.h. */
10269 main (void)
10273 return 0;
10275 _ACEOF
10276 if ac_fn_objc_try_compile "$LINENO"
10277 then :
10279 else $as_nop
10280 ac_objc_werror_flag=$ac_save_objc_werror_flag
10281 OBJCFLAGS="-g"
10282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10283 /* end confdefs.h. */
10286 main (void)
10290 return 0;
10292 _ACEOF
10293 if ac_fn_objc_try_compile "$LINENO"
10294 then :
10295 ac_cv_prog_objc_g=yes
10297 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10299 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10301 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10302 ac_objc_werror_flag=$ac_save_objc_werror_flag
10304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
10305 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
10306 if test $ac_test_OBJCFLAGS; then
10307 OBJCFLAGS=$ac_save_OBJCFLAGS
10308 elif test $ac_cv_prog_objc_g = yes; then
10309 if test "$GOBJC" = yes; then
10310 OBJCFLAGS="-g -O2"
10311 else
10312 OBJCFLAGS="-g"
10314 else
10315 if test "$GOBJC" = yes; then
10316 OBJCFLAGS="-O2"
10317 else
10318 OBJCFLAGS=
10321 ac_ext=m
10322 ac_cpp='$OBJCPP $CPPFLAGS'
10323 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10324 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10325 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10328 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
10329 if test "x$ac_cv_header_Metal_Metal_h" = xyes
10330 then :
10331 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
10335 ac_ext=c
10336 ac_cpp='$CPP $CPPFLAGS'
10337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10341 LIBEXT="dylib"
10342 DLLFLAGS="$DLLFLAGS -fPIC"
10343 LDDLLFLAGS="-fPIC"
10344 COREFOUNDATION_LIBS="-framework CoreFoundation"
10346 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
10348 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
10350 CORESERVICES_LIBS="-framework CoreServices"
10352 APPKIT_LIBS="-framework AppKit"
10354 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
10357 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
10359 wine_can_build_preloader=yes
10360 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"
10361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
10362 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
10363 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
10364 then :
10365 printf %s "(cached) " >&6
10366 else $as_nop
10367 ac_wine_try_cflags_saved=$CFLAGS
10368 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
10369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10370 /* end confdefs.h. */
10371 int main(int argc, char **argv) { return 0; }
10372 _ACEOF
10373 if ac_fn_c_try_link "$LINENO"
10374 then :
10375 ac_cv_cflags__Wl__no_new_main__e__main=yes
10376 else $as_nop
10377 ac_cv_cflags__Wl__no_new_main__e__main=no
10379 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10380 conftest$ac_exeext conftest.$ac_ext
10381 CFLAGS=$ac_wine_try_cflags_saved
10383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
10384 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
10385 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
10386 then :
10387 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
10388 { 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
10389 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
10390 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
10391 then :
10392 printf %s "(cached) " >&6
10393 else $as_nop
10394 ac_wine_try_cflags_saved=$CFLAGS
10395 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
10396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10397 /* end confdefs.h. */
10398 int main(int argc, char **argv) { return 0; }
10399 _ACEOF
10400 if ac_fn_c_try_link "$LINENO"
10401 then :
10402 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
10403 else $as_nop
10404 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
10406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10407 conftest$ac_exeext conftest.$ac_ext
10408 CFLAGS=$ac_wine_try_cflags_saved
10410 { 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
10411 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
10412 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
10413 then :
10414 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
10415 else $as_nop
10416 wine_can_build_preloader=no
10418 else $as_nop
10419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
10420 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
10421 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
10422 then :
10423 printf %s "(cached) " >&6
10424 else $as_nop
10425 ac_wine_try_cflags_saved=$CFLAGS
10426 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
10427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10428 /* end confdefs.h. */
10429 int main(int argc, char **argv) { return 0; }
10430 _ACEOF
10431 if ac_fn_c_try_link "$LINENO"
10432 then :
10433 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
10434 else $as_nop
10435 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
10437 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10438 conftest$ac_exeext conftest.$ac_ext
10439 CFLAGS=$ac_wine_try_cflags_saved
10441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
10442 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
10443 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
10444 then :
10445 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
10446 else $as_nop
10447 wine_can_build_preloader=no
10450 if test "$wine_can_build_preloader" = "yes"
10451 then
10452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
10453 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
10454 if test ${ac_cv_cflags__Wl__no_pie+y}
10455 then :
10456 printf %s "(cached) " >&6
10457 else $as_nop
10458 ac_wine_try_cflags_saved=$CFLAGS
10459 CFLAGS="$CFLAGS -Wl,-no_pie"
10460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10461 /* end confdefs.h. */
10462 int main(int argc, char **argv) { return 0; }
10463 _ACEOF
10464 if ac_fn_c_try_link "$LINENO"
10465 then :
10466 ac_cv_cflags__Wl__no_pie=yes
10467 else $as_nop
10468 ac_cv_cflags__Wl__no_pie=no
10470 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10471 conftest$ac_exeext conftest.$ac_ext
10472 CFLAGS=$ac_wine_try_cflags_saved
10474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
10475 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
10476 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
10477 then :
10478 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
10480 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
10481 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
10482 else
10483 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
10486 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
10487 then
10488 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
10491 if test "$ac_cv_header_Security_Security_h" = "yes"
10492 then
10493 SECURITY_LIBS="-framework Security -framework CoreFoundation"
10496 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
10497 then
10498 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
10500 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
10502 if test "$ac_cv_header_OpenAL_al_h" = "yes"
10503 then
10504 OPENAL_LIBS="-framework OpenAL"
10507 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
10509 ac_cv_lib_openal=yes
10511 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
10512 then
10513 OPENCL_LIBS="-framework OpenCL"
10515 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10517 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
10518 then
10519 ac_save_LIBS="$LIBS"
10520 LIBS="$LIBS $IOKIT_LIBS"
10521 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
10522 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
10523 then :
10524 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
10528 LIBS="$ac_save_LIBS"
10531 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
10532 then
10533 CARBON_LIBS="-framework Carbon"
10536 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10537 then
10538 METAL_LIBS="-framework Metal -framework QuartzCore"
10542 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10543 then
10544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10545 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10546 ac_ext=m
10547 ac_cpp='$OBJCPP $CPPFLAGS'
10548 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10549 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10550 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10553 /* end confdefs.h. */
10554 #include <Metal/Metal.h>
10556 main (void)
10558 id<MTLDevice> device; device.registryID;
10560 return 0;
10562 _ACEOF
10563 if ac_fn_objc_try_compile "$LINENO"
10564 then :
10565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10566 printf "%s\n" "yes" >&6; }
10568 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10570 else $as_nop
10571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10572 printf "%s\n" "no" >&6; }
10574 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10575 ac_ext=c
10576 ac_cpp='$CPP $CPPFLAGS'
10577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10583 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10584 then
10585 ac_save_LIBS="$LIBS"
10586 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10587 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10588 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10589 then :
10590 enable_winemac_drv=${enable_winemac_drv:-yes}
10593 LIBS="$ac_save_LIBS"
10596 UNIXLDFLAGS="-dynamiclib -install_name @loader_path/\$(UNIXLIB)"
10597 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10599 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10601 WINELOADER_DEPENDS="wine_info.plist"
10603 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10606 linux-android*)
10608 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10610 DLLFLAGS="$DLLFLAGS -fPIC"
10611 LDDLLFLAGS="-fPIC"
10612 LDEXECFLAGS="-Wl,-pie"
10613 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10615 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10616 if test ${ac_cv_cflags__Wl__z_defs+y}
10617 then :
10618 printf %s "(cached) " >&6
10619 else $as_nop
10620 ac_wine_try_cflags_saved=$CFLAGS
10621 CFLAGS="$CFLAGS -Wl,-z,defs"
10622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10623 /* end confdefs.h. */
10624 int main(int argc, char **argv) { return 0; }
10625 _ACEOF
10626 if ac_fn_c_try_link "$LINENO"
10627 then :
10628 ac_cv_cflags__Wl__z_defs=yes
10629 else $as_nop
10630 ac_cv_cflags__Wl__z_defs=no
10632 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10633 conftest$ac_exeext conftest.$ac_ext
10634 CFLAGS=$ac_wine_try_cflags_saved
10636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10637 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10638 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10639 then :
10640 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10643 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10644 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10645 then :
10646 printf %s "(cached) " >&6
10647 else $as_nop
10648 ac_wine_try_cflags_saved=$CFLAGS
10649 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10651 /* end confdefs.h. */
10652 int main(int argc, char **argv) { return 0; }
10653 _ACEOF
10654 if ac_fn_c_try_link "$LINENO"
10655 then :
10656 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10657 else $as_nop
10658 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10660 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10661 conftest$ac_exeext conftest.$ac_ext
10662 CFLAGS=$ac_wine_try_cflags_saved
10664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10665 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10666 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10667 then :
10668 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10670 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10673 printf %s "checking for -lEGL... " >&6; }
10674 if test ${ac_cv_lib_soname_EGL+y}
10675 then :
10676 printf %s "(cached) " >&6
10677 else $as_nop
10678 ac_check_soname_save_LIBS=$LIBS
10679 LIBS="-lEGL $LIBS"
10680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10681 /* end confdefs.h. */
10683 /* Override any GCC internal prototype to avoid an error.
10684 Use char because int might match the return type of a GCC
10685 builtin and then its argument prototype would still apply. */
10686 char eglGetProcAddress ();
10688 main (void)
10690 return eglGetProcAddress ();
10692 return 0;
10694 _ACEOF
10695 if ac_fn_c_try_link "$LINENO"
10696 then :
10697 case "$LIBEXT" in
10698 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10699 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'` ;;
10700 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10701 if ${ac_cv_lib_soname_EGL:+false} :
10702 then :
10703 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10704 fi ;;
10705 esac
10706 else $as_nop
10707 ac_cv_lib_soname_EGL=
10709 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10710 conftest$ac_exeext conftest.$ac_ext
10711 LIBS=$ac_check_soname_save_LIBS
10713 if ${ac_cv_lib_soname_EGL:+false} :
10714 then :
10715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10716 printf "%s\n" "not found" >&6; }
10718 else $as_nop
10719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10720 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10722 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10727 printf %s "checking for -lGLESv2... " >&6; }
10728 if test ${ac_cv_lib_soname_GLESv2+y}
10729 then :
10730 printf %s "(cached) " >&6
10731 else $as_nop
10732 ac_check_soname_save_LIBS=$LIBS
10733 LIBS="-lGLESv2 $LIBS"
10734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10735 /* end confdefs.h. */
10737 /* Override any GCC internal prototype to avoid an error.
10738 Use char because int might match the return type of a GCC
10739 builtin and then its argument prototype would still apply. */
10740 char glFlush ();
10742 main (void)
10744 return glFlush ();
10746 return 0;
10748 _ACEOF
10749 if ac_fn_c_try_link "$LINENO"
10750 then :
10751 case "$LIBEXT" in
10752 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10753 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'` ;;
10754 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10755 if ${ac_cv_lib_soname_GLESv2:+false} :
10756 then :
10757 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10758 fi ;;
10759 esac
10760 else $as_nop
10761 ac_cv_lib_soname_GLESv2=
10763 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10764 conftest$ac_exeext conftest.$ac_ext
10765 LIBS=$ac_check_soname_save_LIBS
10767 if ${ac_cv_lib_soname_GLESv2:+false} :
10768 then :
10769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10770 printf "%s\n" "not found" >&6; }
10772 else $as_nop
10773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10774 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10776 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10781 if test "x$exec_prefix" = xNONE
10782 then
10783 case $host_cpu in
10784 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10785 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10786 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10787 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10788 esac
10794 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10796 case $host_cpu in
10797 *i[3456789]86*)
10798 DLLFLAGS="$DLLFLAGS -fno-PIC"
10799 LDDLLFLAGS="-fno-PIC"
10800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10801 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10802 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10803 then :
10804 printf %s "(cached) " >&6
10805 else $as_nop
10806 ac_wine_try_cflags_saved=$CFLAGS
10807 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10809 /* end confdefs.h. */
10810 int main(int argc, char **argv) { return 0; }
10811 _ACEOF
10812 if ac_fn_c_try_link "$LINENO"
10813 then :
10814 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10815 else $as_nop
10816 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10818 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10819 conftest$ac_exeext conftest.$ac_ext
10820 CFLAGS=$ac_wine_try_cflags_saved
10822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10823 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10824 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10825 then :
10826 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10830 DLLFLAGS="$DLLFLAGS -fPIC"
10831 LDDLLFLAGS="-fPIC" ;;
10832 esac
10833 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10835 echo '{ global: *; };' >conftest.map
10836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10837 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10838 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10839 then :
10840 printf %s "(cached) " >&6
10841 else $as_nop
10842 ac_wine_try_cflags_saved=$CFLAGS
10843 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10845 /* end confdefs.h. */
10846 int main(int argc, char **argv) { return 0; }
10847 _ACEOF
10848 if ac_fn_c_try_link "$LINENO"
10849 then :
10850 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10851 else $as_nop
10852 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10854 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10855 conftest$ac_exeext conftest.$ac_ext
10856 CFLAGS=$ac_wine_try_cflags_saved
10858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10859 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10860 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10861 then :
10862 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10864 rm -f conftest.map
10866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10867 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10868 if test ${ac_cv_cflags__Wl__z_defs+y}
10869 then :
10870 printf %s "(cached) " >&6
10871 else $as_nop
10872 ac_wine_try_cflags_saved=$CFLAGS
10873 CFLAGS="$CFLAGS -Wl,-z,defs"
10874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10875 /* end confdefs.h. */
10876 int main(int argc, char **argv) { return 0; }
10877 _ACEOF
10878 if ac_fn_c_try_link "$LINENO"
10879 then :
10880 ac_cv_cflags__Wl__z_defs=yes
10881 else $as_nop
10882 ac_cv_cflags__Wl__z_defs=no
10884 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10885 conftest$ac_exeext conftest.$ac_ext
10886 CFLAGS=$ac_wine_try_cflags_saved
10888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10889 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10890 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10891 then :
10892 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10895 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10896 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10897 then :
10898 printf %s "(cached) " >&6
10899 else $as_nop
10900 ac_wine_try_cflags_saved=$CFLAGS
10901 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10903 /* end confdefs.h. */
10904 int main(int argc, char **argv) { return 0; }
10905 _ACEOF
10906 if ac_fn_c_try_link "$LINENO"
10907 then :
10908 ac_cv_cflags__Wl___export_dynamic=yes
10909 else $as_nop
10910 ac_cv_cflags__Wl___export_dynamic=no
10912 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10913 conftest$ac_exeext conftest.$ac_ext
10914 CFLAGS=$ac_wine_try_cflags_saved
10916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10917 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10918 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10919 then :
10920 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10922 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10924 case $host_cpu in
10925 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10927 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10928 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10929 then :
10930 printf %s "(cached) " >&6
10931 else $as_nop
10932 ac_wine_try_cflags_saved=$CFLAGS
10933 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10935 /* end confdefs.h. */
10936 int main(int argc, char **argv) { return 0; }
10937 _ACEOF
10938 if ac_fn_c_try_link "$LINENO"
10939 then :
10940 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10941 else $as_nop
10942 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10944 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10945 conftest$ac_exeext conftest.$ac_ext
10946 CFLAGS=$ac_wine_try_cflags_saved
10948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10949 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10950 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10951 then :
10952 case $host_os in
10953 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10954 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10955 esac
10956 else $as_nop
10957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10958 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10959 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10960 then :
10961 printf %s "(cached) " >&6
10962 else $as_nop
10963 ac_wine_try_cflags_saved=$CFLAGS
10964 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10966 /* end confdefs.h. */
10967 int main(int argc, char **argv) { return 0; }
10968 _ACEOF
10969 if ac_fn_c_try_link "$LINENO"
10970 then :
10971 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10972 else $as_nop
10973 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10975 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10976 conftest$ac_exeext conftest.$ac_ext
10977 CFLAGS=$ac_wine_try_cflags_saved
10979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10980 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10981 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10982 then :
10983 case $host_os in
10984 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10985 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10986 esac
10988 # Extract the first word of "prelink", so it can be a program name with args.
10989 set dummy prelink; ac_word=$2
10990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10991 printf %s "checking for $ac_word... " >&6; }
10992 if test ${ac_cv_path_PRELINK+y}
10993 then :
10994 printf %s "(cached) " >&6
10995 else $as_nop
10996 case $PRELINK in
10997 [\\/]* | ?:[\\/]*)
10998 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
11001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11002 for as_dir in /sbin /usr/sbin $PATH
11004 IFS=$as_save_IFS
11005 case $as_dir in #(((
11006 '') as_dir=./ ;;
11007 */) ;;
11008 *) as_dir=$as_dir/ ;;
11009 esac
11010 for ac_exec_ext in '' $ac_executable_extensions; do
11011 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11012 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
11013 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11014 break 2
11016 done
11017 done
11018 IFS=$as_save_IFS
11020 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
11022 esac
11024 PRELINK=$ac_cv_path_PRELINK
11025 if test -n "$PRELINK"; then
11026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
11027 printf "%s\n" "$PRELINK" >&6; }
11028 else
11029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11030 printf "%s\n" "no" >&6; }
11034 if test "x$PRELINK" = xfalse
11035 then
11036 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
11039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
11040 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
11041 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
11042 then :
11043 printf %s "(cached) " >&6
11044 else $as_nop
11045 ac_wine_try_cflags_saved=$CFLAGS
11046 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
11047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11048 /* end confdefs.h. */
11049 int main(int argc, char **argv) { return 0; }
11050 _ACEOF
11051 if ac_fn_c_try_link "$LINENO"
11052 then :
11053 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
11054 else $as_nop
11055 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
11057 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11058 conftest$ac_exeext conftest.$ac_ext
11059 CFLAGS=$ac_wine_try_cflags_saved
11061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
11062 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
11063 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
11064 then :
11065 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
11068 esac
11069 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
11071 LIBWINE_DEPENDS="wine.map"
11073 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
11075 esac
11077 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
11078 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
11079 enable_winemac_drv=${enable_winemac_drv:-no}
11080 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
11083 if test "x$with_mingw" != xno
11084 then
11085 case "x$with_mingw" in
11086 x|xyes) case "$host_cpu" in
11087 aarch64*)
11088 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
11089 arm*)
11090 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
11091 i[3456789]86*)
11092 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
11093 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
11094 mingw32-gcc clang" ;;
11095 x86_64)
11096 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
11097 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
11099 ac_prefix_list="" ;;
11100 esac
11101 for ac_prog in $ac_prefix_list
11103 # Extract the first word of "$ac_prog", so it can be a program name with args.
11104 set dummy $ac_prog; ac_word=$2
11105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11106 printf %s "checking for $ac_word... " >&6; }
11107 if test ${ac_cv_prog_CROSSCC+y}
11108 then :
11109 printf %s "(cached) " >&6
11110 else $as_nop
11111 if test -n "$CROSSCC"; then
11112 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
11113 else
11114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11115 for as_dir in $PATH
11117 IFS=$as_save_IFS
11118 case $as_dir in #(((
11119 '') as_dir=./ ;;
11120 */) ;;
11121 *) as_dir=$as_dir/ ;;
11122 esac
11123 for ac_exec_ext in '' $ac_executable_extensions; do
11124 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11125 ac_cv_prog_CROSSCC="$ac_prog"
11126 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11127 break 2
11129 done
11130 done
11131 IFS=$as_save_IFS
11135 CROSSCC=$ac_cv_prog_CROSSCC
11136 if test -n "$CROSSCC"; then
11137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
11138 printf "%s\n" "$CROSSCC" >&6; }
11139 else
11140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11141 printf "%s\n" "no" >&6; }
11145 test -n "$CROSSCC" && break
11146 done
11147 test -n "$CROSSCC" || CROSSCC="false"
11149 *) CROSSCC=$with_mingw ;;
11150 esac
11151 if test "$CROSSCC" != "false"
11152 then
11153 ac_save_CC="$CC"
11154 saved_CFLAGS=$CFLAGS
11155 saved_LDFLAGS=$LDFLAGS
11156 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
11158 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
11162 CC="$CROSSCC"
11163 CFLAGS=$CROSSCFLAGS
11164 LDFLAGS=$CROSSLDFLAGS
11165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
11166 printf %s "checking whether $CROSSCC works... " >&6; }
11167 if test ${wine_cv_crosscc+y}
11168 then :
11169 printf %s "(cached) " >&6
11170 else $as_nop
11171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11172 /* end confdefs.h. */
11175 main (void)
11179 return 0;
11181 _ACEOF
11182 if ac_fn_c_try_compile "$LINENO"
11183 then :
11184 wine_cv_crosscc=yes
11185 else $as_nop
11186 wine_cv_crosscc=no
11188 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
11191 printf "%s\n" "$wine_cv_crosscc" >&6; }
11192 if test $wine_cv_crosscc = yes
11193 then
11194 set x $CROSSCC
11195 shift
11196 while test $# -ge 1
11198 case "$1" in
11199 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
11200 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
11201 esac
11202 shift
11203 done
11205 llvm_target=$CROSSTARGET
11206 llvm_cflags="-fuse-ld=lld"
11207 if test -z "$llvm_target"
11208 then
11209 case $host_cpu in
11210 *i[3456789]86*) llvm_target=i686-windows ;;
11211 *) llvm_target=$host_cpu-windows ;;
11212 esac
11214 case $llvm_target in
11215 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
11216 esac
11217 as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
11218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
11219 printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
11220 if eval test \${$as_ac_var+y}
11221 then :
11222 printf %s "(cached) " >&6
11223 else $as_nop
11224 ac_wine_try_cflags_saved=$CFLAGS
11225 ac_wine_try_cflags_saved_cc=$CC
11226 ac_wine_try_cflags_saved_exeext=$ac_exeext
11227 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
11228 CC="$CROSSCC"
11229 ac_exeext=".exe"
11230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11231 /* end confdefs.h. */
11232 int __cdecl mainCRTStartup(void) { return 0; }
11233 _ACEOF
11234 if ac_fn_c_try_link "$LINENO"
11235 then :
11236 eval "$as_ac_var=yes"
11237 else $as_nop
11238 eval "$as_ac_var=no"
11240 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11241 conftest$ac_exeext conftest.$ac_ext
11242 CFLAGS=$ac_wine_try_cflags_saved
11243 CC=$ac_wine_try_cflags_saved_cc
11244 ac_exeext=$ac_wine_try_cflags_saved_exeext
11246 eval ac_res=\$$as_ac_var
11247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11248 printf "%s\n" "$ac_res" >&6; }
11249 if eval test \"x\$"$as_ac_var"\" = x"yes"
11250 then :
11251 CROSSTARGET=$llvm_target
11252 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
11253 DELAYLOADFLAG="-Wl,-delayload,"
11255 CFLAGS="$CFLAGS $llvm_cflags"
11258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
11259 printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
11260 if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
11261 then :
11262 printf %s "(cached) " >&6
11263 else $as_nop
11264 ac_wine_try_cflags_saved=$CFLAGS
11265 ac_wine_try_cflags_saved_cc=$CC
11266 ac_wine_try_cflags_saved_exeext=$ac_exeext
11267 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
11268 CC="$CROSSCC"
11269 ac_exeext=".exe"
11270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11271 /* end confdefs.h. */
11272 int __cdecl mainCRTStartup(void) { return 0; }
11273 _ACEOF
11274 if ac_fn_c_try_link "$LINENO"
11275 then :
11276 ac_cv_crosscflags__fno_strict_aliasing=yes
11277 else $as_nop
11278 ac_cv_crosscflags__fno_strict_aliasing=no
11280 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11281 conftest$ac_exeext conftest.$ac_ext
11282 CFLAGS=$ac_wine_try_cflags_saved
11283 CC=$ac_wine_try_cflags_saved_cc
11284 ac_exeext=$ac_wine_try_cflags_saved_exeext
11286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
11287 printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
11288 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
11289 then :
11290 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
11292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
11293 printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
11294 if test ${ac_cv_crosscflags__Werror_unknown_warning_option+y}
11295 then :
11296 printf %s "(cached) " >&6
11297 else $as_nop
11298 ac_wine_try_cflags_saved=$CFLAGS
11299 ac_wine_try_cflags_saved_cc=$CC
11300 ac_wine_try_cflags_saved_exeext=$ac_exeext
11301 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
11302 CC="$CROSSCC"
11303 ac_exeext=".exe"
11304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11305 /* end confdefs.h. */
11306 int __cdecl mainCRTStartup(void) { return 0; }
11307 _ACEOF
11308 if ac_fn_c_try_link "$LINENO"
11309 then :
11310 ac_cv_crosscflags__Werror_unknown_warning_option=yes
11311 else $as_nop
11312 ac_cv_crosscflags__Werror_unknown_warning_option=no
11314 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11315 conftest$ac_exeext conftest.$ac_ext
11316 CFLAGS=$ac_wine_try_cflags_saved
11317 CC=$ac_wine_try_cflags_saved_cc
11318 ac_exeext=$ac_wine_try_cflags_saved_exeext
11320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
11321 printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
11322 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
11323 then :
11324 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
11327 printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
11328 if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
11329 then :
11330 printf %s "(cached) " >&6
11331 else $as_nop
11332 ac_wine_try_cflags_saved=$CFLAGS
11333 ac_wine_try_cflags_saved_cc=$CC
11334 ac_wine_try_cflags_saved_exeext=$ac_exeext
11335 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
11336 CC="$CROSSCC"
11337 ac_exeext=".exe"
11338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11339 /* end confdefs.h. */
11340 int __cdecl mainCRTStartup(void) { return 0; }
11341 _ACEOF
11342 if ac_fn_c_try_link "$LINENO"
11343 then :
11344 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
11345 else $as_nop
11346 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
11348 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11349 conftest$ac_exeext conftest.$ac_ext
11350 CFLAGS=$ac_wine_try_cflags_saved
11351 CC=$ac_wine_try_cflags_saved_cc
11352 ac_exeext=$ac_wine_try_cflags_saved_exeext
11354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
11355 printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
11356 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
11357 then :
11358 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
11360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
11361 printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
11362 if test ${ac_cv_crosscflags__Wdeclaration_after_statement+y}
11363 then :
11364 printf %s "(cached) " >&6
11365 else $as_nop
11366 ac_wine_try_cflags_saved=$CFLAGS
11367 ac_wine_try_cflags_saved_cc=$CC
11368 ac_wine_try_cflags_saved_exeext=$ac_exeext
11369 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
11370 CC="$CROSSCC"
11371 ac_exeext=".exe"
11372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11373 /* end confdefs.h. */
11374 int __cdecl mainCRTStartup(void) { return 0; }
11375 _ACEOF
11376 if ac_fn_c_try_link "$LINENO"
11377 then :
11378 ac_cv_crosscflags__Wdeclaration_after_statement=yes
11379 else $as_nop
11380 ac_cv_crosscflags__Wdeclaration_after_statement=no
11382 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11383 conftest$ac_exeext conftest.$ac_ext
11384 CFLAGS=$ac_wine_try_cflags_saved
11385 CC=$ac_wine_try_cflags_saved_cc
11386 ac_exeext=$ac_wine_try_cflags_saved_exeext
11388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
11389 printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
11390 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
11391 then :
11392 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
11394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
11395 printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
11396 if test ${ac_cv_crosscflags__Wempty_body+y}
11397 then :
11398 printf %s "(cached) " >&6
11399 else $as_nop
11400 ac_wine_try_cflags_saved=$CFLAGS
11401 ac_wine_try_cflags_saved_cc=$CC
11402 ac_wine_try_cflags_saved_exeext=$ac_exeext
11403 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
11404 CC="$CROSSCC"
11405 ac_exeext=".exe"
11406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11407 /* end confdefs.h. */
11408 int __cdecl mainCRTStartup(void) { return 0; }
11409 _ACEOF
11410 if ac_fn_c_try_link "$LINENO"
11411 then :
11412 ac_cv_crosscflags__Wempty_body=yes
11413 else $as_nop
11414 ac_cv_crosscflags__Wempty_body=no
11416 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11417 conftest$ac_exeext conftest.$ac_ext
11418 CFLAGS=$ac_wine_try_cflags_saved
11419 CC=$ac_wine_try_cflags_saved_cc
11420 ac_exeext=$ac_wine_try_cflags_saved_exeext
11422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
11423 printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
11424 if test "x$ac_cv_crosscflags__Wempty_body" = xyes
11425 then :
11426 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
11428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
11429 printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
11430 if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
11431 then :
11432 printf %s "(cached) " >&6
11433 else $as_nop
11434 ac_wine_try_cflags_saved=$CFLAGS
11435 ac_wine_try_cflags_saved_cc=$CC
11436 ac_wine_try_cflags_saved_exeext=$ac_exeext
11437 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
11438 CC="$CROSSCC"
11439 ac_exeext=".exe"
11440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11441 /* end confdefs.h. */
11442 int __cdecl mainCRTStartup(void) { return 0; }
11443 _ACEOF
11444 if ac_fn_c_try_link "$LINENO"
11445 then :
11446 ac_cv_crosscflags__Wignored_qualifiers=yes
11447 else $as_nop
11448 ac_cv_crosscflags__Wignored_qualifiers=no
11450 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11451 conftest$ac_exeext conftest.$ac_ext
11452 CFLAGS=$ac_wine_try_cflags_saved
11453 CC=$ac_wine_try_cflags_saved_cc
11454 ac_exeext=$ac_wine_try_cflags_saved_exeext
11456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
11457 printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
11458 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
11459 then :
11460 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
11462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
11463 printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
11464 if test ${ac_cv_crosscflags__Winit_self+y}
11465 then :
11466 printf %s "(cached) " >&6
11467 else $as_nop
11468 ac_wine_try_cflags_saved=$CFLAGS
11469 ac_wine_try_cflags_saved_cc=$CC
11470 ac_wine_try_cflags_saved_exeext=$ac_exeext
11471 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11472 CC="$CROSSCC"
11473 ac_exeext=".exe"
11474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11475 /* end confdefs.h. */
11476 int __cdecl mainCRTStartup(void) { return 0; }
11477 _ACEOF
11478 if ac_fn_c_try_link "$LINENO"
11479 then :
11480 ac_cv_crosscflags__Winit_self=yes
11481 else $as_nop
11482 ac_cv_crosscflags__Winit_self=no
11484 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11485 conftest$ac_exeext conftest.$ac_ext
11486 CFLAGS=$ac_wine_try_cflags_saved
11487 CC=$ac_wine_try_cflags_saved_cc
11488 ac_exeext=$ac_wine_try_cflags_saved_exeext
11490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
11491 printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
11492 if test "x$ac_cv_crosscflags__Winit_self" = xyes
11493 then :
11494 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
11496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
11497 printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
11498 if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
11499 then :
11500 printf %s "(cached) " >&6
11501 else $as_nop
11502 ac_wine_try_cflags_saved=$CFLAGS
11503 ac_wine_try_cflags_saved_cc=$CC
11504 ac_wine_try_cflags_saved_exeext=$ac_exeext
11505 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11506 CC="$CROSSCC"
11507 ac_exeext=".exe"
11508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11509 /* end confdefs.h. */
11510 int __cdecl mainCRTStartup(void) { return 0; }
11511 _ACEOF
11512 if ac_fn_c_try_link "$LINENO"
11513 then :
11514 ac_cv_crosscflags__Wpacked_not_aligned=yes
11515 else $as_nop
11516 ac_cv_crosscflags__Wpacked_not_aligned=no
11518 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11519 conftest$ac_exeext conftest.$ac_ext
11520 CFLAGS=$ac_wine_try_cflags_saved
11521 CC=$ac_wine_try_cflags_saved_cc
11522 ac_exeext=$ac_wine_try_cflags_saved_exeext
11524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
11525 printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
11526 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
11527 then :
11528 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
11530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
11531 printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
11532 if test ${ac_cv_crosscflags__Wpragma_pack+y}
11533 then :
11534 printf %s "(cached) " >&6
11535 else $as_nop
11536 ac_wine_try_cflags_saved=$CFLAGS
11537 ac_wine_try_cflags_saved_cc=$CC
11538 ac_wine_try_cflags_saved_exeext=$ac_exeext
11539 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11540 CC="$CROSSCC"
11541 ac_exeext=".exe"
11542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11543 /* end confdefs.h. */
11544 int __cdecl mainCRTStartup(void) { return 0; }
11545 _ACEOF
11546 if ac_fn_c_try_link "$LINENO"
11547 then :
11548 ac_cv_crosscflags__Wpragma_pack=yes
11549 else $as_nop
11550 ac_cv_crosscflags__Wpragma_pack=no
11552 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11553 conftest$ac_exeext conftest.$ac_ext
11554 CFLAGS=$ac_wine_try_cflags_saved
11555 CC=$ac_wine_try_cflags_saved_cc
11556 ac_exeext=$ac_wine_try_cflags_saved_exeext
11558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
11559 printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
11560 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
11561 then :
11562 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
11564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
11565 printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
11566 if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
11567 then :
11568 printf %s "(cached) " >&6
11569 else $as_nop
11570 ac_wine_try_cflags_saved=$CFLAGS
11571 ac_wine_try_cflags_saved_cc=$CC
11572 ac_wine_try_cflags_saved_exeext=$ac_exeext
11573 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11574 CC="$CROSSCC"
11575 ac_exeext=".exe"
11576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11577 /* end confdefs.h. */
11578 int __cdecl mainCRTStartup(void) { return 0; }
11579 _ACEOF
11580 if ac_fn_c_try_link "$LINENO"
11581 then :
11582 ac_cv_crosscflags__Wshift_overflow_2=yes
11583 else $as_nop
11584 ac_cv_crosscflags__Wshift_overflow_2=no
11586 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11587 conftest$ac_exeext conftest.$ac_ext
11588 CFLAGS=$ac_wine_try_cflags_saved
11589 CC=$ac_wine_try_cflags_saved_cc
11590 ac_exeext=$ac_wine_try_cflags_saved_exeext
11592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
11593 printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
11594 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
11595 then :
11596 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
11598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
11599 printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
11600 if test ${ac_cv_crosscflags__Wstrict_prototypes+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 -Wstrict-prototypes"
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__Wstrict_prototypes=yes
11617 else $as_nop
11618 ac_cv_crosscflags__Wstrict_prototypes=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__Wstrict_prototypes" >&5
11627 printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
11628 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
11629 then :
11630 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
11632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
11633 printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
11634 if test ${ac_cv_crosscflags__Wtype_limits+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 -Wtype-limits"
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__Wtype_limits=yes
11651 else $as_nop
11652 ac_cv_crosscflags__Wtype_limits=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__Wtype_limits" >&5
11661 printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
11662 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
11663 then :
11664 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
11666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
11667 printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
11668 if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
11669 then :
11670 printf %s "(cached) " >&6
11671 else $as_nop
11672 ac_wine_try_cflags_saved=$CFLAGS
11673 ac_wine_try_cflags_saved_cc=$CC
11674 ac_wine_try_cflags_saved_exeext=$ac_exeext
11675 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11676 CC="$CROSSCC"
11677 ac_exeext=".exe"
11678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11679 /* end confdefs.h. */
11680 int __cdecl mainCRTStartup(void) { return 0; }
11681 _ACEOF
11682 if ac_fn_c_try_link "$LINENO"
11683 then :
11684 ac_cv_crosscflags__Wunused_but_set_parameter=yes
11685 else $as_nop
11686 ac_cv_crosscflags__Wunused_but_set_parameter=no
11688 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11689 conftest$ac_exeext conftest.$ac_ext
11690 CFLAGS=$ac_wine_try_cflags_saved
11691 CC=$ac_wine_try_cflags_saved_cc
11692 ac_exeext=$ac_wine_try_cflags_saved_exeext
11694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
11695 printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
11696 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
11697 then :
11698 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
11700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
11701 printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
11702 if test ${ac_cv_crosscflags__Wvla+y}
11703 then :
11704 printf %s "(cached) " >&6
11705 else $as_nop
11706 ac_wine_try_cflags_saved=$CFLAGS
11707 ac_wine_try_cflags_saved_cc=$CC
11708 ac_wine_try_cflags_saved_exeext=$ac_exeext
11709 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
11710 CC="$CROSSCC"
11711 ac_exeext=".exe"
11712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11713 /* end confdefs.h. */
11714 int __cdecl mainCRTStartup(void) { return 0; }
11715 _ACEOF
11716 if ac_fn_c_try_link "$LINENO"
11717 then :
11718 ac_cv_crosscflags__Wvla=yes
11719 else $as_nop
11720 ac_cv_crosscflags__Wvla=no
11722 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11723 conftest$ac_exeext conftest.$ac_ext
11724 CFLAGS=$ac_wine_try_cflags_saved
11725 CC=$ac_wine_try_cflags_saved_cc
11726 ac_exeext=$ac_wine_try_cflags_saved_exeext
11728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
11729 printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
11730 if test "x$ac_cv_crosscflags__Wvla" = xyes
11731 then :
11732 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
11734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
11735 printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
11736 if test ${ac_cv_crosscflags__Wwrite_strings+y}
11737 then :
11738 printf %s "(cached) " >&6
11739 else $as_nop
11740 ac_wine_try_cflags_saved=$CFLAGS
11741 ac_wine_try_cflags_saved_cc=$CC
11742 ac_wine_try_cflags_saved_exeext=$ac_exeext
11743 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11744 CC="$CROSSCC"
11745 ac_exeext=".exe"
11746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11747 /* end confdefs.h. */
11748 int __cdecl mainCRTStartup(void) { return 0; }
11749 _ACEOF
11750 if ac_fn_c_try_link "$LINENO"
11751 then :
11752 ac_cv_crosscflags__Wwrite_strings=yes
11753 else $as_nop
11754 ac_cv_crosscflags__Wwrite_strings=no
11756 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11757 conftest$ac_exeext conftest.$ac_ext
11758 CFLAGS=$ac_wine_try_cflags_saved
11759 CC=$ac_wine_try_cflags_saved_cc
11760 ac_exeext=$ac_wine_try_cflags_saved_exeext
11762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
11763 printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
11764 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
11765 then :
11766 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
11768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
11769 printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
11770 if test ${ac_cv_crosscflags__Wpointer_arith+y}
11771 then :
11772 printf %s "(cached) " >&6
11773 else $as_nop
11774 ac_wine_try_cflags_saved=$CFLAGS
11775 ac_wine_try_cflags_saved_cc=$CC
11776 ac_wine_try_cflags_saved_exeext=$ac_exeext
11777 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11778 CC="$CROSSCC"
11779 ac_exeext=".exe"
11780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11781 /* end confdefs.h. */
11782 int __cdecl mainCRTStartup(void) { return 0; }
11783 _ACEOF
11784 if ac_fn_c_try_link "$LINENO"
11785 then :
11786 ac_cv_crosscflags__Wpointer_arith=yes
11787 else $as_nop
11788 ac_cv_crosscflags__Wpointer_arith=no
11790 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11791 conftest$ac_exeext conftest.$ac_ext
11792 CFLAGS=$ac_wine_try_cflags_saved
11793 CC=$ac_wine_try_cflags_saved_cc
11794 ac_exeext=$ac_wine_try_cflags_saved_exeext
11796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
11797 printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
11798 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
11799 then :
11800 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
11802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
11803 printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
11804 if test ${ac_cv_crosscflags__Wlogical_op+y}
11805 then :
11806 printf %s "(cached) " >&6
11807 else $as_nop
11808 ac_wine_try_cflags_saved=$CFLAGS
11809 ac_wine_try_cflags_saved_cc=$CC
11810 ac_wine_try_cflags_saved_exeext=$ac_exeext
11811 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11812 CC="$CROSSCC"
11813 ac_exeext=".exe"
11814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11815 /* end confdefs.h. */
11816 int __cdecl mainCRTStartup(void) { return 0; }
11817 _ACEOF
11818 if ac_fn_c_try_link "$LINENO"
11819 then :
11820 ac_cv_crosscflags__Wlogical_op=yes
11821 else $as_nop
11822 ac_cv_crosscflags__Wlogical_op=no
11824 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11825 conftest$ac_exeext conftest.$ac_ext
11826 CFLAGS=$ac_wine_try_cflags_saved
11827 CC=$ac_wine_try_cflags_saved_cc
11828 ac_exeext=$ac_wine_try_cflags_saved_exeext
11830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
11831 printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
11832 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
11833 then :
11834 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
11836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
11837 printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
11838 if test ${ac_cv_crosscflags__Wabsolute_value+y}
11839 then :
11840 printf %s "(cached) " >&6
11841 else $as_nop
11842 ac_wine_try_cflags_saved=$CFLAGS
11843 ac_wine_try_cflags_saved_cc=$CC
11844 ac_wine_try_cflags_saved_exeext=$ac_exeext
11845 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11846 CC="$CROSSCC"
11847 ac_exeext=".exe"
11848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11849 /* end confdefs.h. */
11850 int __cdecl mainCRTStartup(void) { return 0; }
11851 _ACEOF
11852 if ac_fn_c_try_link "$LINENO"
11853 then :
11854 ac_cv_crosscflags__Wabsolute_value=yes
11855 else $as_nop
11856 ac_cv_crosscflags__Wabsolute_value=no
11858 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11859 conftest$ac_exeext conftest.$ac_ext
11860 CFLAGS=$ac_wine_try_cflags_saved
11861 CC=$ac_wine_try_cflags_saved_cc
11862 ac_exeext=$ac_wine_try_cflags_saved_exeext
11864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
11865 printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
11866 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
11867 then :
11868 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
11871 case $host_cpu in
11872 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
11873 printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
11874 if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
11875 then :
11876 printf %s "(cached) " >&6
11877 else $as_nop
11878 ac_wine_try_cflags_saved=$CFLAGS
11879 ac_wine_try_cflags_saved_cc=$CC
11880 ac_wine_try_cflags_saved_exeext=$ac_exeext
11881 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11882 CC="$CROSSCC"
11883 ac_exeext=".exe"
11884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11885 /* end confdefs.h. */
11886 int __cdecl mainCRTStartup(void) { return 0; }
11887 _ACEOF
11888 if ac_fn_c_try_link "$LINENO"
11889 then :
11890 ac_cv_crosscflags__fno_omit_frame_pointer=yes
11891 else $as_nop
11892 ac_cv_crosscflags__fno_omit_frame_pointer=no
11894 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11895 conftest$ac_exeext conftest.$ac_ext
11896 CFLAGS=$ac_wine_try_cflags_saved
11897 CC=$ac_wine_try_cflags_saved_cc
11898 ac_exeext=$ac_wine_try_cflags_saved_exeext
11900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
11901 printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
11902 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
11903 then :
11904 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
11905 fi ;;
11906 x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11907 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11908 if test ${ac_cv_crosscflags__Wno_format+y}
11909 then :
11910 printf %s "(cached) " >&6
11911 else $as_nop
11912 ac_wine_try_cflags_saved=$CFLAGS
11913 ac_wine_try_cflags_saved_cc=$CC
11914 ac_wine_try_cflags_saved_exeext=$ac_exeext
11915 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11916 CC="$CROSSCC"
11917 ac_exeext=".exe"
11918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11919 /* end confdefs.h. */
11920 int __cdecl mainCRTStartup(void) { return 0; }
11921 _ACEOF
11922 if ac_fn_c_try_link "$LINENO"
11923 then :
11924 ac_cv_crosscflags__Wno_format=yes
11925 else $as_nop
11926 ac_cv_crosscflags__Wno_format=no
11928 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11929 conftest$ac_exeext conftest.$ac_ext
11930 CFLAGS=$ac_wine_try_cflags_saved
11931 CC=$ac_wine_try_cflags_saved_cc
11932 ac_exeext=$ac_wine_try_cflags_saved_exeext
11934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11935 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11936 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11937 then :
11938 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
11941 printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
11942 if test ${ac_cv_crosscflags__Wformat_overflow+y}
11943 then :
11944 printf %s "(cached) " >&6
11945 else $as_nop
11946 ac_wine_try_cflags_saved=$CFLAGS
11947 ac_wine_try_cflags_saved_cc=$CC
11948 ac_wine_try_cflags_saved_exeext=$ac_exeext
11949 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11950 CC="$CROSSCC"
11951 ac_exeext=".exe"
11952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11953 /* end confdefs.h. */
11954 int __cdecl mainCRTStartup(void) { return 0; }
11955 _ACEOF
11956 if ac_fn_c_try_link "$LINENO"
11957 then :
11958 ac_cv_crosscflags__Wformat_overflow=yes
11959 else $as_nop
11960 ac_cv_crosscflags__Wformat_overflow=no
11962 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11963 conftest$ac_exeext conftest.$ac_ext
11964 CFLAGS=$ac_wine_try_cflags_saved
11965 CC=$ac_wine_try_cflags_saved_cc
11966 ac_exeext=$ac_wine_try_cflags_saved_exeext
11968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
11969 printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
11970 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
11971 then :
11972 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
11974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
11975 printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
11976 if test ${ac_cv_crosscflags__Wnonnull+y}
11977 then :
11978 printf %s "(cached) " >&6
11979 else $as_nop
11980 ac_wine_try_cflags_saved=$CFLAGS
11981 ac_wine_try_cflags_saved_cc=$CC
11982 ac_wine_try_cflags_saved_exeext=$ac_exeext
11983 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11984 CC="$CROSSCC"
11985 ac_exeext=".exe"
11986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11987 /* end confdefs.h. */
11988 int __cdecl mainCRTStartup(void) { return 0; }
11989 _ACEOF
11990 if ac_fn_c_try_link "$LINENO"
11991 then :
11992 ac_cv_crosscflags__Wnonnull=yes
11993 else $as_nop
11994 ac_cv_crosscflags__Wnonnull=no
11996 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11997 conftest$ac_exeext conftest.$ac_ext
11998 CFLAGS=$ac_wine_try_cflags_saved
11999 CC=$ac_wine_try_cflags_saved_cc
12000 ac_exeext=$ac_wine_try_cflags_saved_exeext
12002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
12003 printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
12004 if test "x$ac_cv_crosscflags__Wnonnull" = xyes
12005 then :
12006 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
12008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
12009 printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
12010 if test ${ac_cv_crosscflags__mcx16+y}
12011 then :
12012 printf %s "(cached) " >&6
12013 else $as_nop
12014 ac_wine_try_cflags_saved=$CFLAGS
12015 ac_wine_try_cflags_saved_cc=$CC
12016 ac_wine_try_cflags_saved_exeext=$ac_exeext
12017 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
12018 CC="$CROSSCC"
12019 ac_exeext=".exe"
12020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12021 /* end confdefs.h. */
12022 int __cdecl mainCRTStartup(void) { return 0; }
12023 _ACEOF
12024 if ac_fn_c_try_link "$LINENO"
12025 then :
12026 ac_cv_crosscflags__mcx16=yes
12027 else $as_nop
12028 ac_cv_crosscflags__mcx16=no
12030 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12031 conftest$ac_exeext conftest.$ac_ext
12032 CFLAGS=$ac_wine_try_cflags_saved
12033 CC=$ac_wine_try_cflags_saved_cc
12034 ac_exeext=$ac_wine_try_cflags_saved_exeext
12036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
12037 printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
12038 if test "x$ac_cv_crosscflags__mcx16" = xyes
12039 then :
12040 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
12041 fi ;;
12042 aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
12043 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
12044 if test ${ac_cv_crosscflags__Wno_format+y}
12045 then :
12046 printf %s "(cached) " >&6
12047 else $as_nop
12048 ac_wine_try_cflags_saved=$CFLAGS
12049 ac_wine_try_cflags_saved_cc=$CC
12050 ac_wine_try_cflags_saved_exeext=$ac_exeext
12051 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
12052 CC="$CROSSCC"
12053 ac_exeext=".exe"
12054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12055 /* end confdefs.h. */
12056 int __cdecl mainCRTStartup(void) { return 0; }
12057 _ACEOF
12058 if ac_fn_c_try_link "$LINENO"
12059 then :
12060 ac_cv_crosscflags__Wno_format=yes
12061 else $as_nop
12062 ac_cv_crosscflags__Wno_format=no
12064 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12065 conftest$ac_exeext conftest.$ac_ext
12066 CFLAGS=$ac_wine_try_cflags_saved
12067 CC=$ac_wine_try_cflags_saved_cc
12068 ac_exeext=$ac_wine_try_cflags_saved_exeext
12070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
12071 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
12072 if test "x$ac_cv_crosscflags__Wno_format" = xyes
12073 then :
12074 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
12075 fi ;;
12076 esac
12079 if test -z "$CROSSDEBUG"
12080 then
12081 for ac_flag in $CROSSCFLAGS; do
12082 case $ac_flag in
12083 -gdwarf*) CROSSDEBUG=dwarf ;;
12084 -gcodeview) CROSSDEBUG=pdb ;;
12085 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
12086 esac
12087 done
12090 ac_debug_format_seen=""
12091 for ac_flag in $CROSSCFLAGS; do
12092 case $ac_flag in
12093 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
12094 esac
12095 done
12096 if test "x$ac_debug_format_seen" = x
12097 then
12098 case $CROSSDEBUG in
12099 *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-4" >&5
12100 printf %s "checking whether the cross-compiler supports -gdwarf-4... " >&6; }
12101 if test ${ac_cv_crosscflags__gdwarf_4+y}
12102 then :
12103 printf %s "(cached) " >&6
12104 else $as_nop
12105 ac_wine_try_cflags_saved=$CFLAGS
12106 ac_wine_try_cflags_saved_cc=$CC
12107 ac_wine_try_cflags_saved_exeext=$ac_exeext
12108 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
12109 CC="$CROSSCC"
12110 ac_exeext=".exe"
12111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12112 /* end confdefs.h. */
12113 int __cdecl mainCRTStartup(void) { return 0; }
12114 _ACEOF
12115 if ac_fn_c_try_link "$LINENO"
12116 then :
12117 ac_cv_crosscflags__gdwarf_4=yes
12118 else $as_nop
12119 ac_cv_crosscflags__gdwarf_4=no
12121 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12122 conftest$ac_exeext conftest.$ac_ext
12123 CFLAGS=$ac_wine_try_cflags_saved
12124 CC=$ac_wine_try_cflags_saved_cc
12125 ac_exeext=$ac_wine_try_cflags_saved_exeext
12127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_4" >&5
12128 printf "%s\n" "$ac_cv_crosscflags__gdwarf_4" >&6; }
12129 if test "x$ac_cv_crosscflags__gdwarf_4" = xyes
12130 then :
12131 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-4"
12132 fi ;;
12133 pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
12134 printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
12135 if test ${ac_cv_crosscflags__gcodeview+y}
12136 then :
12137 printf %s "(cached) " >&6
12138 else $as_nop
12139 ac_wine_try_cflags_saved=$CFLAGS
12140 ac_wine_try_cflags_saved_cc=$CC
12141 ac_wine_try_cflags_saved_exeext=$ac_exeext
12142 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
12143 CC="$CROSSCC"
12144 ac_exeext=".exe"
12145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12146 /* end confdefs.h. */
12147 int __cdecl mainCRTStartup(void) { return 0; }
12148 _ACEOF
12149 if ac_fn_c_try_link "$LINENO"
12150 then :
12151 ac_cv_crosscflags__gcodeview=yes
12152 else $as_nop
12153 ac_cv_crosscflags__gcodeview=no
12155 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12156 conftest$ac_exeext conftest.$ac_ext
12157 CFLAGS=$ac_wine_try_cflags_saved
12158 CC=$ac_wine_try_cflags_saved_cc
12159 ac_exeext=$ac_wine_try_cflags_saved_exeext
12161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
12162 printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
12163 if test "x$ac_cv_crosscflags__gcodeview" = xyes
12164 then :
12165 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
12166 fi ;;
12167 esac
12170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
12171 printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
12172 if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
12173 then :
12174 printf %s "(cached) " >&6
12175 else $as_nop
12176 ac_wine_try_cflags_saved=$CFLAGS
12177 ac_wine_try_cflags_saved_cc=$CC
12178 ac_wine_try_cflags_saved_exeext=$ac_exeext
12179 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
12180 CC="$CROSSCC"
12181 ac_exeext=".exe"
12182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12183 /* end confdefs.h. */
12184 int __cdecl mainCRTStartup(void) { return 0; }
12185 _ACEOF
12186 if ac_fn_c_try_link "$LINENO"
12187 then :
12188 ac_cv_crosscflags__fexcess_precision_standard=yes
12189 else $as_nop
12190 ac_cv_crosscflags__fexcess_precision_standard=no
12192 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12193 conftest$ac_exeext conftest.$ac_ext
12194 CFLAGS=$ac_wine_try_cflags_saved
12195 CC=$ac_wine_try_cflags_saved_cc
12196 ac_exeext=$ac_wine_try_cflags_saved_exeext
12198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
12199 printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
12200 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
12201 then :
12202 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
12206 if test "x$enable_werror" = "xyes"
12207 then
12208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
12209 printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
12210 if test ${ac_cv_crosscflags__Werror+y}
12211 then :
12212 printf %s "(cached) " >&6
12213 else $as_nop
12214 ac_wine_try_cflags_saved=$CFLAGS
12215 ac_wine_try_cflags_saved_cc=$CC
12216 ac_wine_try_cflags_saved_exeext=$ac_exeext
12217 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
12218 CC="$CROSSCC"
12219 ac_exeext=".exe"
12220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12221 /* end confdefs.h. */
12222 int __cdecl mainCRTStartup(void) { return 0; }
12223 _ACEOF
12224 if ac_fn_c_try_link "$LINENO"
12225 then :
12226 ac_cv_crosscflags__Werror=yes
12227 else $as_nop
12228 ac_cv_crosscflags__Werror=no
12230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12231 conftest$ac_exeext conftest.$ac_ext
12232 CFLAGS=$ac_wine_try_cflags_saved
12233 CC=$ac_wine_try_cflags_saved_cc
12234 ac_exeext=$ac_wine_try_cflags_saved_exeext
12236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
12237 printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
12238 if test "x$ac_cv_crosscflags__Werror" = xyes
12239 then :
12240 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
12243 if test "x$enable_build_id" = "xyes"
12244 then
12245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
12246 printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
12247 if test ${ac_cv_crosscflags__Wl___build_id+y}
12248 then :
12249 printf %s "(cached) " >&6
12250 else $as_nop
12251 ac_wine_try_cflags_saved=$CFLAGS
12252 ac_wine_try_cflags_saved_cc=$CC
12253 ac_wine_try_cflags_saved_exeext=$ac_exeext
12254 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
12255 CC="$CROSSCC"
12256 ac_exeext=".exe"
12257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12258 /* end confdefs.h. */
12259 int __cdecl mainCRTStartup(void) { return 0; }
12260 _ACEOF
12261 if ac_fn_c_try_link "$LINENO"
12262 then :
12263 ac_cv_crosscflags__Wl___build_id=yes
12264 else $as_nop
12265 ac_cv_crosscflags__Wl___build_id=no
12267 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12268 conftest$ac_exeext conftest.$ac_ext
12269 CFLAGS=$ac_wine_try_cflags_saved
12270 CC=$ac_wine_try_cflags_saved_cc
12271 ac_exeext=$ac_wine_try_cflags_saved_exeext
12273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
12274 printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
12275 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
12276 then :
12277 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
12278 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
12282 CFLAGS=$saved_CFLAGS
12283 LDFLAGS=$saved_LDFLAGS
12284 CC="$ac_save_CC"
12287 if test "x$CROSSTARGET" = "x"
12288 then :
12289 case "x$with_mingw" in
12290 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
12291 xno) ;;
12292 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
12293 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
12294 esac
12299 if ${FAUDIO_PE_LIBS:+false} :
12300 then :
12301 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
12302 if ${FAUDIO_PE_CFLAGS:+false} :
12303 then :
12304 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
12305 else $as_nop
12306 enable_faudio=no
12308 else $as_nop
12309 enable_faudio=no
12311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
12312 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
12314 if ${GSM_PE_LIBS:+false} :
12315 then :
12316 GSM_PE_LIBS=gsm
12317 if ${GSM_PE_CFLAGS:+false} :
12318 then :
12319 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
12320 else $as_nop
12321 enable_gsm=no
12323 else $as_nop
12324 enable_gsm=no
12326 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
12327 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
12329 if ${JPEG_PE_LIBS:+false} :
12330 then :
12331 JPEG_PE_LIBS=jpeg
12332 if ${JPEG_PE_CFLAGS:+false} :
12333 then :
12334 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
12335 else $as_nop
12336 enable_jpeg=no
12338 else $as_nop
12339 enable_jpeg=no
12341 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
12342 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
12344 if ${JXR_PE_LIBS:+false} :
12345 then :
12346 JXR_PE_LIBS=jxr
12347 if ${JXR_PE_CFLAGS:+false} :
12348 then :
12349 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
12350 else $as_nop
12351 enable_jxr=no
12353 else $as_nop
12354 enable_jxr=no
12356 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
12357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
12359 if ${LCMS2_PE_LIBS:+false} :
12360 then :
12361 LCMS2_PE_LIBS=lcms2
12362 if ${LCMS2_PE_CFLAGS:+false} :
12363 then :
12364 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
12365 else $as_nop
12366 enable_lcms2=no
12368 else $as_nop
12369 enable_lcms2=no
12371 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
12372 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
12374 if ${MPG123_PE_LIBS:+false} :
12375 then :
12376 MPG123_PE_LIBS=mpg123
12377 if ${MPG123_PE_CFLAGS:+false} :
12378 then :
12379 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
12380 else $as_nop
12381 enable_mpg123=no
12383 else $as_nop
12384 enable_mpg123=no
12386 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
12387 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
12389 if ${PNG_PE_LIBS:+false} :
12390 then :
12391 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
12392 if ${PNG_PE_CFLAGS:+false} :
12393 then :
12394 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
12395 else $as_nop
12396 enable_png=no
12398 else $as_nop
12399 enable_png=no
12401 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
12402 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
12404 if ${TIFF_PE_LIBS:+false} :
12405 then :
12406 TIFF_PE_LIBS=tiff
12407 if ${TIFF_PE_CFLAGS:+false} :
12408 then :
12409 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
12410 else $as_nop
12411 enable_tiff=no
12413 else $as_nop
12414 enable_tiff=no
12416 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
12417 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
12419 if ${XML2_PE_LIBS:+false} :
12420 then :
12421 XML2_PE_LIBS=xml2
12422 if ${XML2_PE_CFLAGS:+false} :
12423 then :
12424 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
12425 else $as_nop
12426 enable_xml2=no
12428 else $as_nop
12429 enable_xml2=no
12431 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
12432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
12434 if ${XSLT_PE_LIBS:+false} :
12435 then :
12436 XSLT_PE_LIBS=xslt
12437 if ${XSLT_PE_CFLAGS:+false} :
12438 then :
12439 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
12440 else $as_nop
12441 enable_xslt=no
12443 else $as_nop
12444 enable_xslt=no
12446 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
12447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
12449 if ${ZLIB_PE_LIBS:+false} :
12450 then :
12451 ZLIB_PE_LIBS=z
12452 if ${ZLIB_PE_CFLAGS:+false} :
12453 then :
12454 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
12455 else $as_nop
12456 enable_zlib=no
12458 else $as_nop
12459 enable_zlib=no
12461 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
12462 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
12466 if test "$ac_cv_header_pthread_h" = "yes"
12467 then
12468 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
12469 if test "x$ac_cv_func_pthread_create" = xyes
12470 then :
12472 else $as_nop
12473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
12474 printf %s "checking for pthread_create in -lpthread... " >&6; }
12475 if test ${ac_cv_lib_pthread_pthread_create+y}
12476 then :
12477 printf %s "(cached) " >&6
12478 else $as_nop
12479 ac_check_lib_save_LIBS=$LIBS
12480 LIBS="-lpthread $LIBS"
12481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12482 /* end confdefs.h. */
12484 /* Override any GCC internal prototype to avoid an error.
12485 Use char because int might match the return type of a GCC
12486 builtin and then its argument prototype would still apply. */
12487 char pthread_create ();
12489 main (void)
12491 return pthread_create ();
12493 return 0;
12495 _ACEOF
12496 if ac_fn_c_try_link "$LINENO"
12497 then :
12498 ac_cv_lib_pthread_pthread_create=yes
12499 else $as_nop
12500 ac_cv_lib_pthread_pthread_create=no
12502 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12503 conftest$ac_exeext conftest.$ac_ext
12504 LIBS=$ac_check_lib_save_LIBS
12506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
12507 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
12508 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
12509 then :
12510 PTHREAD_LIBS="-lpthread"
12517 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
12518 then :
12519 case "x$with_pthread" in
12520 xno) ;;
12521 *) as_fn_error $? "pthread ${notice_platform}development files not found.
12522 Wine cannot support threads without libpthread.
12523 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
12524 esac
12529 ac_ext=c
12530 ac_cpp='$CPP $CPPFLAGS'
12531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
12535 printf %s "checking how to run the C preprocessor... " >&6; }
12536 # On Suns, sometimes $CPP names a directory.
12537 if test -n "$CPP" && test -d "$CPP"; then
12538 CPP=
12540 if test -z "$CPP"; then
12541 if test ${ac_cv_prog_CPP+y}
12542 then :
12543 printf %s "(cached) " >&6
12544 else $as_nop
12545 # Double quotes because $CC needs to be expanded
12546 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
12548 ac_preproc_ok=false
12549 for ac_c_preproc_warn_flag in '' yes
12551 # Use a header file that comes with gcc, so configuring glibc
12552 # with a fresh cross-compiler works.
12553 # On the NeXT, cc -E runs the code through the compiler's parser,
12554 # not just through cpp. "Syntax error" is here to catch this case.
12555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12556 /* end confdefs.h. */
12557 #include <limits.h>
12558 Syntax error
12559 _ACEOF
12560 if ac_fn_c_try_cpp "$LINENO"
12561 then :
12563 else $as_nop
12564 # Broken: fails on valid input.
12565 continue
12567 rm -f conftest.err conftest.i conftest.$ac_ext
12569 # OK, works on sane cases. Now check whether nonexistent headers
12570 # can be detected and how.
12571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12572 /* end confdefs.h. */
12573 #include <ac_nonexistent.h>
12574 _ACEOF
12575 if ac_fn_c_try_cpp "$LINENO"
12576 then :
12577 # Broken: success on invalid input.
12578 continue
12579 else $as_nop
12580 # Passes both tests.
12581 ac_preproc_ok=:
12582 break
12584 rm -f conftest.err conftest.i conftest.$ac_ext
12586 done
12587 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12588 rm -f conftest.i conftest.err conftest.$ac_ext
12589 if $ac_preproc_ok
12590 then :
12591 break
12594 done
12595 ac_cv_prog_CPP=$CPP
12598 CPP=$ac_cv_prog_CPP
12599 else
12600 ac_cv_prog_CPP=$CPP
12602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
12603 printf "%s\n" "$CPP" >&6; }
12604 ac_preproc_ok=false
12605 for ac_c_preproc_warn_flag in '' yes
12607 # Use a header file that comes with gcc, so configuring glibc
12608 # with a fresh cross-compiler works.
12609 # On the NeXT, cc -E runs the code through the compiler's parser,
12610 # not just through cpp. "Syntax error" is here to catch this case.
12611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12612 /* end confdefs.h. */
12613 #include <limits.h>
12614 Syntax error
12615 _ACEOF
12616 if ac_fn_c_try_cpp "$LINENO"
12617 then :
12619 else $as_nop
12620 # Broken: fails on valid input.
12621 continue
12623 rm -f conftest.err conftest.i conftest.$ac_ext
12625 # OK, works on sane cases. Now check whether nonexistent headers
12626 # can be detected and how.
12627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12628 /* end confdefs.h. */
12629 #include <ac_nonexistent.h>
12630 _ACEOF
12631 if ac_fn_c_try_cpp "$LINENO"
12632 then :
12633 # Broken: success on invalid input.
12634 continue
12635 else $as_nop
12636 # Passes both tests.
12637 ac_preproc_ok=:
12638 break
12640 rm -f conftest.err conftest.i conftest.$ac_ext
12642 done
12643 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12644 rm -f conftest.i conftest.err conftest.$ac_ext
12645 if $ac_preproc_ok
12646 then :
12648 else $as_nop
12649 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12650 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
12651 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
12652 See \`config.log' for more details" "$LINENO" 5; }
12655 ac_ext=c
12656 ac_cpp='$CPP $CPPFLAGS'
12657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
12663 printf %s "checking for X... " >&6; }
12666 # Check whether --with-x was given.
12667 if test ${with_x+y}
12668 then :
12669 withval=$with_x;
12672 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
12673 if test "x$with_x" = xno; then
12674 # The user explicitly disabled X.
12675 have_x=disabled
12676 else
12677 case $x_includes,$x_libraries in #(
12678 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
12679 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
12680 then :
12681 printf %s "(cached) " >&6
12682 else $as_nop
12683 # One or both of the vars are not set, and there is no cached value.
12684 ac_x_includes=no
12685 ac_x_libraries=no
12686 # Do we need to do anything special at all?
12687 ac_save_LIBS=$LIBS
12688 LIBS="-lX11 $LIBS"
12689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12690 /* end confdefs.h. */
12691 #include <X11/Xlib.h>
12693 main (void)
12695 XrmInitialize ()
12697 return 0;
12699 _ACEOF
12700 if ac_fn_c_try_link "$LINENO"
12701 then :
12702 # We can compile and link X programs with no special options.
12703 ac_x_includes=
12704 ac_x_libraries=
12706 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12707 conftest$ac_exeext conftest.$ac_ext
12708 LIBS="$ac_save_LIBS"
12709 # If that didn't work, only try xmkmf and file system searches
12710 # for native compilation.
12711 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
12712 then :
12713 rm -f -r conftest.dir
12714 if mkdir conftest.dir; then
12715 cd conftest.dir
12716 cat >Imakefile <<'_ACEOF'
12717 incroot:
12718 @echo incroot='${INCROOT}'
12719 usrlibdir:
12720 @echo usrlibdir='${USRLIBDIR}'
12721 libdir:
12722 @echo libdir='${LIBDIR}'
12723 _ACEOF
12724 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
12725 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
12726 for ac_var in incroot usrlibdir libdir; do
12727 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
12728 done
12729 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
12730 for ac_extension in a so sl dylib la dll; do
12731 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
12732 test -f "$ac_im_libdir/libX11.$ac_extension"; then
12733 ac_im_usrlibdir=$ac_im_libdir; break
12735 done
12736 # Screen out bogus values from the imake configuration. They are
12737 # bogus both because they are the default anyway, and because
12738 # using them would break gcc on systems where it needs fixed includes.
12739 case $ac_im_incroot in
12740 /usr/include) ac_x_includes= ;;
12741 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
12742 esac
12743 case $ac_im_usrlibdir in
12744 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
12745 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
12746 esac
12748 cd ..
12749 rm -f -r conftest.dir
12752 # Standard set of common directories for X headers.
12753 # Check X11 before X11Rn because it is often a symlink to the current release.
12754 ac_x_header_dirs='
12755 /usr/X11/include
12756 /usr/X11R7/include
12757 /usr/X11R6/include
12758 /usr/X11R5/include
12759 /usr/X11R4/include
12761 /usr/include/X11
12762 /usr/include/X11R7
12763 /usr/include/X11R6
12764 /usr/include/X11R5
12765 /usr/include/X11R4
12767 /usr/local/X11/include
12768 /usr/local/X11R7/include
12769 /usr/local/X11R6/include
12770 /usr/local/X11R5/include
12771 /usr/local/X11R4/include
12773 /usr/local/include/X11
12774 /usr/local/include/X11R7
12775 /usr/local/include/X11R6
12776 /usr/local/include/X11R5
12777 /usr/local/include/X11R4
12779 /opt/X11/include
12781 /usr/X386/include
12782 /usr/x386/include
12783 /usr/XFree86/include/X11
12785 /usr/include
12786 /usr/local/include
12787 /usr/unsupported/include
12788 /usr/athena/include
12789 /usr/local/x11r5/include
12790 /usr/lpp/Xamples/include
12792 /usr/openwin/include
12793 /usr/openwin/share/include'
12795 if test "$ac_x_includes" = no; then
12796 # Guess where to find include files, by looking for Xlib.h.
12797 # First, try using that file with no special directory specified.
12798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12799 /* end confdefs.h. */
12800 #include <X11/Xlib.h>
12801 _ACEOF
12802 if ac_fn_c_try_cpp "$LINENO"
12803 then :
12804 # We can compile using X headers with no special include directory.
12805 ac_x_includes=
12806 else $as_nop
12807 for ac_dir in $ac_x_header_dirs; do
12808 if test -r "$ac_dir/X11/Xlib.h"; then
12809 ac_x_includes=$ac_dir
12810 break
12812 done
12814 rm -f conftest.err conftest.i conftest.$ac_ext
12815 fi # $ac_x_includes = no
12817 if test "$ac_x_libraries" = no; then
12818 # Check for the libraries.
12819 # See if we find them without any special options.
12820 # Don't add to $LIBS permanently.
12821 ac_save_LIBS=$LIBS
12822 LIBS="-lX11 $LIBS"
12823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12824 /* end confdefs.h. */
12825 #include <X11/Xlib.h>
12827 main (void)
12829 XrmInitialize ()
12831 return 0;
12833 _ACEOF
12834 if ac_fn_c_try_link "$LINENO"
12835 then :
12836 LIBS=$ac_save_LIBS
12837 # We can link X programs with no special library path.
12838 ac_x_libraries=
12839 else $as_nop
12840 LIBS=$ac_save_LIBS
12841 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
12843 # Don't even attempt the hair of trying to link an X program!
12844 for ac_extension in a so sl dylib la dll; do
12845 if test -r "$ac_dir/libX11.$ac_extension"; then
12846 ac_x_libraries=$ac_dir
12847 break 2
12849 done
12850 done
12852 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12853 conftest$ac_exeext conftest.$ac_ext
12854 fi # $ac_x_libraries = no
12857 # Record the results.
12858 case $ac_x_includes,$ac_x_libraries in #(
12859 no,* | *,no | *\'*) :
12860 # Didn't find X, or a directory has "'" in its name.
12861 ac_cv_have_x="have_x=no" ;; #(
12862 *) :
12863 # Record where we found X for the cache.
12864 ac_cv_have_x="have_x=yes\
12865 ac_x_includes='$ac_x_includes'\
12866 ac_x_libraries='$ac_x_libraries'" ;;
12867 esac
12869 ;; #(
12870 *) have_x=yes;;
12871 esac
12872 eval "$ac_cv_have_x"
12873 fi # $with_x != no
12875 if test "$have_x" != yes; then
12876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
12877 printf "%s\n" "$have_x" >&6; }
12878 no_x=yes
12879 else
12880 # If each of the values was on the command line, it overrides each guess.
12881 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
12882 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
12883 # Update the cache value to reflect the command line values.
12884 ac_cv_have_x="have_x=yes\
12885 ac_x_includes='$x_includes'\
12886 ac_x_libraries='$x_libraries'"
12887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
12888 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
12891 if test "$no_x" = yes; then
12892 # Not all programs may use this symbol, but it does not hurt to define it.
12894 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
12896 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
12897 else
12898 if test -n "$x_includes"; then
12899 X_CFLAGS="$X_CFLAGS -I$x_includes"
12902 # It would also be nice to do this for all -L options, not just this one.
12903 if test -n "$x_libraries"; then
12904 X_LIBS="$X_LIBS -L$x_libraries"
12905 # For Solaris; some versions of Sun CC require a space after -R and
12906 # others require no space. Words are not sufficient . . . .
12907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
12908 printf %s "checking whether -R must be followed by a space... " >&6; }
12909 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
12910 ac_xsave_c_werror_flag=$ac_c_werror_flag
12911 ac_c_werror_flag=yes
12912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12913 /* end confdefs.h. */
12916 main (void)
12920 return 0;
12922 _ACEOF
12923 if ac_fn_c_try_link "$LINENO"
12924 then :
12925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12926 printf "%s\n" "no" >&6; }
12927 X_LIBS="$X_LIBS -R$x_libraries"
12928 else $as_nop
12929 LIBS="$ac_xsave_LIBS -R $x_libraries"
12930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12931 /* end confdefs.h. */
12934 main (void)
12938 return 0;
12940 _ACEOF
12941 if ac_fn_c_try_link "$LINENO"
12942 then :
12943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12944 printf "%s\n" "yes" >&6; }
12945 X_LIBS="$X_LIBS -R $x_libraries"
12946 else $as_nop
12947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
12948 printf "%s\n" "neither works" >&6; }
12950 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12951 conftest$ac_exeext conftest.$ac_ext
12953 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12954 conftest$ac_exeext conftest.$ac_ext
12955 ac_c_werror_flag=$ac_xsave_c_werror_flag
12956 LIBS=$ac_xsave_LIBS
12959 # Check for system-dependent libraries X programs must link with.
12960 # Do this before checking for the system-independent R6 libraries
12961 # (-lICE), since we may need -lsocket or whatever for X linking.
12963 if test "$ISC" = yes; then
12964 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
12965 else
12966 # Martyn Johnson says this is needed for Ultrix, if the X
12967 # libraries were built with DECnet support. And Karl Berry says
12968 # the Alpha needs dnet_stub (dnet does not exist).
12969 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
12970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12971 /* end confdefs.h. */
12973 /* Override any GCC internal prototype to avoid an error.
12974 Use char because int might match the return type of a GCC
12975 builtin and then its argument prototype would still apply. */
12976 char XOpenDisplay ();
12978 main (void)
12980 return XOpenDisplay ();
12982 return 0;
12984 _ACEOF
12985 if ac_fn_c_try_link "$LINENO"
12986 then :
12988 else $as_nop
12989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
12990 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
12991 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
12992 then :
12993 printf %s "(cached) " >&6
12994 else $as_nop
12995 ac_check_lib_save_LIBS=$LIBS
12996 LIBS="-ldnet $LIBS"
12997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12998 /* end confdefs.h. */
13000 /* Override any GCC internal prototype to avoid an error.
13001 Use char because int might match the return type of a GCC
13002 builtin and then its argument prototype would still apply. */
13003 char dnet_ntoa ();
13005 main (void)
13007 return dnet_ntoa ();
13009 return 0;
13011 _ACEOF
13012 if ac_fn_c_try_link "$LINENO"
13013 then :
13014 ac_cv_lib_dnet_dnet_ntoa=yes
13015 else $as_nop
13016 ac_cv_lib_dnet_dnet_ntoa=no
13018 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13019 conftest$ac_exeext conftest.$ac_ext
13020 LIBS=$ac_check_lib_save_LIBS
13022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13023 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13024 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13025 then :
13026 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13029 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13031 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13032 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13033 then :
13034 printf %s "(cached) " >&6
13035 else $as_nop
13036 ac_check_lib_save_LIBS=$LIBS
13037 LIBS="-ldnet_stub $LIBS"
13038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13039 /* end confdefs.h. */
13041 /* Override any GCC internal prototype to avoid an error.
13042 Use char because int might match the return type of a GCC
13043 builtin and then its argument prototype would still apply. */
13044 char dnet_ntoa ();
13046 main (void)
13048 return dnet_ntoa ();
13050 return 0;
13052 _ACEOF
13053 if ac_fn_c_try_link "$LINENO"
13054 then :
13055 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13056 else $as_nop
13057 ac_cv_lib_dnet_stub_dnet_ntoa=no
13059 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13060 conftest$ac_exeext conftest.$ac_ext
13061 LIBS=$ac_check_lib_save_LIBS
13063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13064 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13065 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13066 then :
13067 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13072 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13073 conftest$ac_exeext conftest.$ac_ext
13074 LIBS="$ac_xsave_LIBS"
13076 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13077 # to get the SysV transport functions.
13078 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13079 # needs -lnsl.
13080 # The nsl library prevents programs from opening the X display
13081 # on Irix 5.2, according to T.E. Dickey.
13082 # The functions gethostbyname, getservbyname, and inet_addr are
13083 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13084 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13085 if test "x$ac_cv_func_gethostbyname" = xyes
13086 then :
13090 if test $ac_cv_func_gethostbyname = no; then
13091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13092 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13093 if test ${ac_cv_lib_nsl_gethostbyname+y}
13094 then :
13095 printf %s "(cached) " >&6
13096 else $as_nop
13097 ac_check_lib_save_LIBS=$LIBS
13098 LIBS="-lnsl $LIBS"
13099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13100 /* end confdefs.h. */
13102 /* Override any GCC internal prototype to avoid an error.
13103 Use char because int might match the return type of a GCC
13104 builtin and then its argument prototype would still apply. */
13105 char gethostbyname ();
13107 main (void)
13109 return gethostbyname ();
13111 return 0;
13113 _ACEOF
13114 if ac_fn_c_try_link "$LINENO"
13115 then :
13116 ac_cv_lib_nsl_gethostbyname=yes
13117 else $as_nop
13118 ac_cv_lib_nsl_gethostbyname=no
13120 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13121 conftest$ac_exeext conftest.$ac_ext
13122 LIBS=$ac_check_lib_save_LIBS
13124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13125 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13126 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13127 then :
13128 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13131 if test $ac_cv_lib_nsl_gethostbyname = no; then
13132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13133 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13134 if test ${ac_cv_lib_bsd_gethostbyname+y}
13135 then :
13136 printf %s "(cached) " >&6
13137 else $as_nop
13138 ac_check_lib_save_LIBS=$LIBS
13139 LIBS="-lbsd $LIBS"
13140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13141 /* end confdefs.h. */
13143 /* Override any GCC internal prototype to avoid an error.
13144 Use char because int might match the return type of a GCC
13145 builtin and then its argument prototype would still apply. */
13146 char gethostbyname ();
13148 main (void)
13150 return gethostbyname ();
13152 return 0;
13154 _ACEOF
13155 if ac_fn_c_try_link "$LINENO"
13156 then :
13157 ac_cv_lib_bsd_gethostbyname=yes
13158 else $as_nop
13159 ac_cv_lib_bsd_gethostbyname=no
13161 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13162 conftest$ac_exeext conftest.$ac_ext
13163 LIBS=$ac_check_lib_save_LIBS
13165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13166 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13167 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
13168 then :
13169 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
13175 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13176 # socket/setsockopt and other routines are undefined under SCO ODT
13177 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13178 # on later versions), says Simon Leinen: it contains gethostby*
13179 # variants that don't use the name server (or something). -lsocket
13180 # must be given before -lnsl if both are needed. We assume that
13181 # if connect needs -lnsl, so does gethostbyname.
13182 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
13183 if test "x$ac_cv_func_connect" = xyes
13184 then :
13188 if test $ac_cv_func_connect = no; then
13189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13190 printf %s "checking for connect in -lsocket... " >&6; }
13191 if test ${ac_cv_lib_socket_connect+y}
13192 then :
13193 printf %s "(cached) " >&6
13194 else $as_nop
13195 ac_check_lib_save_LIBS=$LIBS
13196 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
13197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13198 /* end confdefs.h. */
13200 /* Override any GCC internal prototype to avoid an error.
13201 Use char because int might match the return type of a GCC
13202 builtin and then its argument prototype would still apply. */
13203 char connect ();
13205 main (void)
13207 return connect ();
13209 return 0;
13211 _ACEOF
13212 if ac_fn_c_try_link "$LINENO"
13213 then :
13214 ac_cv_lib_socket_connect=yes
13215 else $as_nop
13216 ac_cv_lib_socket_connect=no
13218 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13219 conftest$ac_exeext conftest.$ac_ext
13220 LIBS=$ac_check_lib_save_LIBS
13222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
13223 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
13224 if test "x$ac_cv_lib_socket_connect" = xyes
13225 then :
13226 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
13231 # Guillermo Gomez says -lposix is necessary on A/UX.
13232 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
13233 if test "x$ac_cv_func_remove" = xyes
13234 then :
13238 if test $ac_cv_func_remove = no; then
13239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
13240 printf %s "checking for remove in -lposix... " >&6; }
13241 if test ${ac_cv_lib_posix_remove+y}
13242 then :
13243 printf %s "(cached) " >&6
13244 else $as_nop
13245 ac_check_lib_save_LIBS=$LIBS
13246 LIBS="-lposix $LIBS"
13247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13248 /* end confdefs.h. */
13250 /* Override any GCC internal prototype to avoid an error.
13251 Use char because int might match the return type of a GCC
13252 builtin and then its argument prototype would still apply. */
13253 char remove ();
13255 main (void)
13257 return remove ();
13259 return 0;
13261 _ACEOF
13262 if ac_fn_c_try_link "$LINENO"
13263 then :
13264 ac_cv_lib_posix_remove=yes
13265 else $as_nop
13266 ac_cv_lib_posix_remove=no
13268 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13269 conftest$ac_exeext conftest.$ac_ext
13270 LIBS=$ac_check_lib_save_LIBS
13272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
13273 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
13274 if test "x$ac_cv_lib_posix_remove" = xyes
13275 then :
13276 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
13281 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
13282 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
13283 if test "x$ac_cv_func_shmat" = xyes
13284 then :
13288 if test $ac_cv_func_shmat = no; then
13289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
13290 printf %s "checking for shmat in -lipc... " >&6; }
13291 if test ${ac_cv_lib_ipc_shmat+y}
13292 then :
13293 printf %s "(cached) " >&6
13294 else $as_nop
13295 ac_check_lib_save_LIBS=$LIBS
13296 LIBS="-lipc $LIBS"
13297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13298 /* end confdefs.h. */
13300 /* Override any GCC internal prototype to avoid an error.
13301 Use char because int might match the return type of a GCC
13302 builtin and then its argument prototype would still apply. */
13303 char shmat ();
13305 main (void)
13307 return shmat ();
13309 return 0;
13311 _ACEOF
13312 if ac_fn_c_try_link "$LINENO"
13313 then :
13314 ac_cv_lib_ipc_shmat=yes
13315 else $as_nop
13316 ac_cv_lib_ipc_shmat=no
13318 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13319 conftest$ac_exeext conftest.$ac_ext
13320 LIBS=$ac_check_lib_save_LIBS
13322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
13323 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
13324 if test "x$ac_cv_lib_ipc_shmat" = xyes
13325 then :
13326 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
13332 # Check for libraries that X11R6 Xt/Xaw programs need.
13333 ac_save_LDFLAGS=$LDFLAGS
13334 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
13335 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
13336 # check for ICE first), but we must link in the order -lSM -lICE or
13337 # we get undefined symbols. So assume we have SM if we have ICE.
13338 # These have to be linked with before -lX11, unlike the other
13339 # libraries we check for below, so use a different variable.
13340 # John Interrante, Karl Berry
13341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
13342 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
13343 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
13344 then :
13345 printf %s "(cached) " >&6
13346 else $as_nop
13347 ac_check_lib_save_LIBS=$LIBS
13348 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
13349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13350 /* end confdefs.h. */
13352 /* Override any GCC internal prototype to avoid an error.
13353 Use char because int might match the return type of a GCC
13354 builtin and then its argument prototype would still apply. */
13355 char IceConnectionNumber ();
13357 main (void)
13359 return IceConnectionNumber ();
13361 return 0;
13363 _ACEOF
13364 if ac_fn_c_try_link "$LINENO"
13365 then :
13366 ac_cv_lib_ICE_IceConnectionNumber=yes
13367 else $as_nop
13368 ac_cv_lib_ICE_IceConnectionNumber=no
13370 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13371 conftest$ac_exeext conftest.$ac_ext
13372 LIBS=$ac_check_lib_save_LIBS
13374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
13375 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
13376 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
13377 then :
13378 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
13381 LDFLAGS=$ac_save_LDFLAGS
13386 if test "$have_x" = "yes"
13387 then
13388 ac_save_CPPFLAGS="$CPPFLAGS"
13389 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
13391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
13392 printf %s "checking for -lX11... " >&6; }
13393 if test ${ac_cv_lib_soname_X11+y}
13394 then :
13395 printf %s "(cached) " >&6
13396 else $as_nop
13397 ac_check_soname_save_LIBS=$LIBS
13398 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
13399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13400 /* end confdefs.h. */
13402 /* Override any GCC internal prototype to avoid an error.
13403 Use char because int might match the return type of a GCC
13404 builtin and then its argument prototype would still apply. */
13405 char XCreateWindow ();
13407 main (void)
13409 return XCreateWindow ();
13411 return 0;
13413 _ACEOF
13414 if ac_fn_c_try_link "$LINENO"
13415 then :
13416 case "$LIBEXT" in
13417 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13418 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'` ;;
13419 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13420 if ${ac_cv_lib_soname_X11:+false} :
13421 then :
13422 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13423 fi ;;
13424 esac
13425 else $as_nop
13426 ac_cv_lib_soname_X11=
13428 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13429 conftest$ac_exeext conftest.$ac_ext
13430 LIBS=$ac_check_soname_save_LIBS
13432 if ${ac_cv_lib_soname_X11:+false} :
13433 then :
13434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13435 printf "%s\n" "not found" >&6; }
13437 else $as_nop
13438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
13439 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
13441 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
13445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
13446 printf %s "checking for -lXext... " >&6; }
13447 if test ${ac_cv_lib_soname_Xext+y}
13448 then :
13449 printf %s "(cached) " >&6
13450 else $as_nop
13451 ac_check_soname_save_LIBS=$LIBS
13452 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
13453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13454 /* end confdefs.h. */
13456 /* Override any GCC internal prototype to avoid an error.
13457 Use char because int might match the return type of a GCC
13458 builtin and then its argument prototype would still apply. */
13459 char XextCreateExtension ();
13461 main (void)
13463 return XextCreateExtension ();
13465 return 0;
13467 _ACEOF
13468 if ac_fn_c_try_link "$LINENO"
13469 then :
13470 case "$LIBEXT" in
13471 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13472 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'` ;;
13473 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13474 if ${ac_cv_lib_soname_Xext:+false} :
13475 then :
13476 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13477 fi ;;
13478 esac
13479 else $as_nop
13480 ac_cv_lib_soname_Xext=
13482 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13483 conftest$ac_exeext conftest.$ac_ext
13484 LIBS=$ac_check_soname_save_LIBS
13486 if ${ac_cv_lib_soname_Xext:+false} :
13487 then :
13488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13489 printf "%s\n" "not found" >&6; }
13491 else $as_nop
13492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
13493 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
13495 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
13497 X_LIBS="$X_LIBS -lXext"
13499 X_LIBS="$X_LIBS -lX11"
13501 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
13502 # include <X11/Xlib.h>
13503 #endif
13504 #ifdef HAVE_X11_XUTIL_H
13505 # include <X11/Xutil.h>
13506 #endif
13508 if test "x$ac_cv_header_X11_Xlib_h" = xyes
13509 then :
13510 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
13513 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
13514 # include <X11/Xlib.h>
13515 #endif
13516 #ifdef HAVE_X11_XUTIL_H
13517 # include <X11/Xutil.h>
13518 #endif
13520 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
13521 then :
13522 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
13525 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
13526 # include <X11/Xlib.h>
13527 #endif
13528 #ifdef HAVE_X11_XUTIL_H
13529 # include <X11/Xutil.h>
13530 #endif
13532 if test "x$ac_cv_header_X11_Xutil_h" = xyes
13533 then :
13534 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
13537 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
13538 # include <X11/Xlib.h>
13539 #endif
13540 #ifdef HAVE_X11_XUTIL_H
13541 # include <X11/Xutil.h>
13542 #endif
13544 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
13545 then :
13546 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
13549 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
13550 # include <X11/Xlib.h>
13551 #endif
13552 #ifdef HAVE_X11_XUTIL_H
13553 # include <X11/Xutil.h>
13554 #endif
13556 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
13557 then :
13558 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
13561 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
13562 # include <X11/Xlib.h>
13563 #endif
13564 #ifdef HAVE_X11_XUTIL_H
13565 # include <X11/Xutil.h>
13566 #endif
13568 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
13569 then :
13570 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
13573 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
13574 # include <X11/Xlib.h>
13575 #endif
13576 #ifdef HAVE_X11_XUTIL_H
13577 # include <X11/Xutil.h>
13578 #endif
13580 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
13581 then :
13582 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
13585 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
13586 # include <X11/Xlib.h>
13587 #endif
13588 #ifdef HAVE_X11_XUTIL_H
13589 # include <X11/Xutil.h>
13590 #endif
13592 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
13593 then :
13594 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
13597 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
13598 # include <X11/Xlib.h>
13599 #endif
13600 #ifdef HAVE_X11_XUTIL_H
13601 # include <X11/Xutil.h>
13602 #endif
13604 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
13605 then :
13606 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
13609 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
13610 # include <X11/Xlib.h>
13611 #endif
13612 #ifdef HAVE_X11_XUTIL_H
13613 # include <X11/Xutil.h>
13614 #endif
13616 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
13617 then :
13618 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
13621 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
13622 # include <X11/Xlib.h>
13623 #endif
13624 #ifdef HAVE_X11_XUTIL_H
13625 # include <X11/Xutil.h>
13626 #endif
13628 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
13629 then :
13630 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
13633 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
13634 # include <X11/Xlib.h>
13635 #endif
13636 #ifdef HAVE_X11_XUTIL_H
13637 # include <X11/Xutil.h>
13638 #endif
13640 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
13641 then :
13642 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
13645 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
13646 # include <X11/Xlib.h>
13647 #endif
13648 #ifdef HAVE_X11_XUTIL_H
13649 # include <X11/Xutil.h>
13650 #endif
13652 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
13653 then :
13654 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
13657 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
13658 # include <X11/Xlib.h>
13659 #endif
13660 #ifdef HAVE_X11_XUTIL_H
13661 # include <X11/Xutil.h>
13662 #endif
13664 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
13665 then :
13666 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
13669 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
13670 # include <X11/Xlib.h>
13671 #endif
13672 #ifdef HAVE_X11_XUTIL_H
13673 # include <X11/Xutil.h>
13674 #endif
13676 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
13677 then :
13678 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
13683 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
13684 then
13685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
13686 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
13687 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
13688 then :
13689 printf %s "(cached) " >&6
13690 else $as_nop
13691 ac_check_lib_save_LIBS=$LIBS
13692 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
13693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13694 /* end confdefs.h. */
13696 /* Override any GCC internal prototype to avoid an error.
13697 Use char because int might match the return type of a GCC
13698 builtin and then its argument prototype would still apply. */
13699 char XkbQueryExtension ();
13701 main (void)
13703 return XkbQueryExtension ();
13705 return 0;
13707 _ACEOF
13708 if ac_fn_c_try_link "$LINENO"
13709 then :
13710 ac_cv_lib_X11_XkbQueryExtension=yes
13711 else $as_nop
13712 ac_cv_lib_X11_XkbQueryExtension=no
13714 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13715 conftest$ac_exeext conftest.$ac_ext
13716 LIBS=$ac_check_lib_save_LIBS
13718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
13719 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
13720 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
13721 then :
13723 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
13729 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
13730 then
13731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
13732 printf %s "checking for -lXcursor... " >&6; }
13733 if test ${ac_cv_lib_soname_Xcursor+y}
13734 then :
13735 printf %s "(cached) " >&6
13736 else $as_nop
13737 ac_check_soname_save_LIBS=$LIBS
13738 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
13739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13740 /* end confdefs.h. */
13742 /* Override any GCC internal prototype to avoid an error.
13743 Use char because int might match the return type of a GCC
13744 builtin and then its argument prototype would still apply. */
13745 char XcursorImageLoadCursor ();
13747 main (void)
13749 return XcursorImageLoadCursor ();
13751 return 0;
13753 _ACEOF
13754 if ac_fn_c_try_link "$LINENO"
13755 then :
13756 case "$LIBEXT" in
13757 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13758 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'` ;;
13759 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13760 if ${ac_cv_lib_soname_Xcursor:+false} :
13761 then :
13762 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13763 fi ;;
13764 esac
13765 else $as_nop
13766 ac_cv_lib_soname_Xcursor=
13768 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13769 conftest$ac_exeext conftest.$ac_ext
13770 LIBS=$ac_check_soname_save_LIBS
13772 if ${ac_cv_lib_soname_Xcursor:+false} :
13773 then :
13774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13775 printf "%s\n" "not found" >&6; }
13777 else $as_nop
13778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
13779 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
13781 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
13786 if test "x$ac_cv_lib_soname_Xcursor" = "x"
13787 then :
13788 case "x$with_xcursor" in
13789 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
13790 xno) ;;
13791 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
13792 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
13793 esac
13797 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
13798 then
13799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
13800 printf %s "checking for -lXi... " >&6; }
13801 if test ${ac_cv_lib_soname_Xi+y}
13802 then :
13803 printf %s "(cached) " >&6
13804 else $as_nop
13805 ac_check_soname_save_LIBS=$LIBS
13806 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
13807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13808 /* end confdefs.h. */
13810 /* Override any GCC internal prototype to avoid an error.
13811 Use char because int might match the return type of a GCC
13812 builtin and then its argument prototype would still apply. */
13813 char XOpenDevice ();
13815 main (void)
13817 return XOpenDevice ();
13819 return 0;
13821 _ACEOF
13822 if ac_fn_c_try_link "$LINENO"
13823 then :
13824 case "$LIBEXT" in
13825 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13826 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'` ;;
13827 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13828 if ${ac_cv_lib_soname_Xi:+false} :
13829 then :
13830 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13831 fi ;;
13832 esac
13833 else $as_nop
13834 ac_cv_lib_soname_Xi=
13836 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13837 conftest$ac_exeext conftest.$ac_ext
13838 LIBS=$ac_check_soname_save_LIBS
13840 if ${ac_cv_lib_soname_Xi:+false} :
13841 then :
13842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13843 printf "%s\n" "not found" >&6; }
13845 else $as_nop
13846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
13847 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
13849 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
13854 if test "x$ac_cv_lib_soname_Xi" = "x"
13855 then :
13856 case "x$with_xinput" in
13857 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
13858 xno) ;;
13859 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
13860 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
13861 esac
13865 if test "x$ac_cv_lib_soname_Xi" != x
13866 then
13867 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
13868 then :
13869 case "x$with_xinput2" in
13870 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
13871 xno) ;;
13872 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
13873 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
13874 esac
13879 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
13880 then
13881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
13882 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
13883 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
13884 then :
13885 printf %s "(cached) " >&6
13886 else $as_nop
13887 ac_check_lib_save_LIBS=$LIBS
13888 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
13889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13890 /* end confdefs.h. */
13892 /* Override any GCC internal prototype to avoid an error.
13893 Use char because int might match the return type of a GCC
13894 builtin and then its argument prototype would still apply. */
13895 char XShmQueryExtension ();
13897 main (void)
13899 return XShmQueryExtension ();
13901 return 0;
13903 _ACEOF
13904 if ac_fn_c_try_link "$LINENO"
13905 then :
13906 ac_cv_lib_Xext_XShmQueryExtension=yes
13907 else $as_nop
13908 ac_cv_lib_Xext_XShmQueryExtension=no
13910 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13911 conftest$ac_exeext conftest.$ac_ext
13912 LIBS=$ac_check_lib_save_LIBS
13914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
13915 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
13916 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
13917 then :
13919 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
13924 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
13925 then :
13926 case "x$with_xshm" in
13927 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
13928 xno) ;;
13929 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
13930 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
13931 esac
13935 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
13936 then
13937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
13938 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
13939 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
13940 then :
13941 printf %s "(cached) " >&6
13942 else $as_nop
13943 ac_check_lib_save_LIBS=$LIBS
13944 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
13945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13946 /* end confdefs.h. */
13948 /* Override any GCC internal prototype to avoid an error.
13949 Use char because int might match the return type of a GCC
13950 builtin and then its argument prototype would still apply. */
13951 char XShapeQueryExtension ();
13953 main (void)
13955 return XShapeQueryExtension ();
13957 return 0;
13959 _ACEOF
13960 if ac_fn_c_try_link "$LINENO"
13961 then :
13962 ac_cv_lib_Xext_XShapeQueryExtension=yes
13963 else $as_nop
13964 ac_cv_lib_Xext_XShapeQueryExtension=no
13966 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13967 conftest$ac_exeext conftest.$ac_ext
13968 LIBS=$ac_check_lib_save_LIBS
13970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
13971 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
13972 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
13973 then :
13975 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
13980 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
13981 then :
13982 case "x$with_xshape" in
13983 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
13984 xno) ;;
13985 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
13986 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
13987 esac
13991 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
13992 then
13993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
13994 printf %s "checking for -lXxf86vm... " >&6; }
13995 if test ${ac_cv_lib_soname_Xxf86vm+y}
13996 then :
13997 printf %s "(cached) " >&6
13998 else $as_nop
13999 ac_check_soname_save_LIBS=$LIBS
14000 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14002 /* end confdefs.h. */
14004 /* Override any GCC internal prototype to avoid an error.
14005 Use char because int might match the return type of a GCC
14006 builtin and then its argument prototype would still apply. */
14007 char XF86VidModeQueryExtension ();
14009 main (void)
14011 return XF86VidModeQueryExtension ();
14013 return 0;
14015 _ACEOF
14016 if ac_fn_c_try_link "$LINENO"
14017 then :
14018 case "$LIBEXT" in
14019 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14020 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'` ;;
14021 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14022 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14023 then :
14024 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14025 fi ;;
14026 esac
14027 else $as_nop
14028 ac_cv_lib_soname_Xxf86vm=
14030 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14031 conftest$ac_exeext conftest.$ac_ext
14032 LIBS=$ac_check_soname_save_LIBS
14034 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14035 then :
14036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14037 printf "%s\n" "not found" >&6; }
14039 else $as_nop
14040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14041 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14043 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14048 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14049 then :
14050 case "x$with_xxf86vm" in
14051 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14052 xno) ;;
14053 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14054 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14055 esac
14059 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14060 then
14061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14062 printf %s "checking for -lXrender... " >&6; }
14063 if test ${ac_cv_lib_soname_Xrender+y}
14064 then :
14065 printf %s "(cached) " >&6
14066 else $as_nop
14067 ac_check_soname_save_LIBS=$LIBS
14068 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14070 /* end confdefs.h. */
14072 /* Override any GCC internal prototype to avoid an error.
14073 Use char because int might match the return type of a GCC
14074 builtin and then its argument prototype would still apply. */
14075 char XRenderQueryExtension ();
14077 main (void)
14079 return XRenderQueryExtension ();
14081 return 0;
14083 _ACEOF
14084 if ac_fn_c_try_link "$LINENO"
14085 then :
14086 case "$LIBEXT" in
14087 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14088 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'` ;;
14089 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14090 if ${ac_cv_lib_soname_Xrender:+false} :
14091 then :
14092 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14093 fi ;;
14094 esac
14095 else $as_nop
14096 ac_cv_lib_soname_Xrender=
14098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14099 conftest$ac_exeext conftest.$ac_ext
14100 LIBS=$ac_check_soname_save_LIBS
14102 if ${ac_cv_lib_soname_Xrender:+false} :
14103 then :
14104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14105 printf "%s\n" "not found" >&6; }
14107 else $as_nop
14108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14109 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14111 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14114 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14115 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14116 then :
14117 printf %s "(cached) " >&6
14118 else $as_nop
14119 ac_check_lib_save_LIBS=$LIBS
14120 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14122 /* end confdefs.h. */
14124 /* Override any GCC internal prototype to avoid an error.
14125 Use char because int might match the return type of a GCC
14126 builtin and then its argument prototype would still apply. */
14127 char XRenderSetPictureTransform ();
14129 main (void)
14131 return XRenderSetPictureTransform ();
14133 return 0;
14135 _ACEOF
14136 if ac_fn_c_try_link "$LINENO"
14137 then :
14138 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14139 else $as_nop
14140 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14142 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14143 conftest$ac_exeext conftest.$ac_ext
14144 LIBS=$ac_check_lib_save_LIBS
14146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14147 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14148 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14149 then :
14151 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14156 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14157 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14158 then :
14159 printf %s "(cached) " >&6
14160 else $as_nop
14161 ac_check_lib_save_LIBS=$LIBS
14162 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14164 /* end confdefs.h. */
14166 /* Override any GCC internal prototype to avoid an error.
14167 Use char because int might match the return type of a GCC
14168 builtin and then its argument prototype would still apply. */
14169 char XRenderCreateLinearGradient ();
14171 main (void)
14173 return XRenderCreateLinearGradient ();
14175 return 0;
14177 _ACEOF
14178 if ac_fn_c_try_link "$LINENO"
14179 then :
14180 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
14181 else $as_nop
14182 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
14184 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14185 conftest$ac_exeext conftest.$ac_ext
14186 LIBS=$ac_check_lib_save_LIBS
14188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14189 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14190 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14191 then :
14193 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14200 if test "x$ac_cv_lib_soname_Xrender" = "x"
14201 then :
14202 case "x$with_xrender" in
14203 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14204 xno) ;;
14205 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
14206 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14207 esac
14211 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14212 then
14213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14214 /* end confdefs.h. */
14215 #include <X11/Xlib.h>
14216 #include <X11/extensions/Xrandr.h>
14218 main (void)
14220 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
14222 return 0;
14224 _ACEOF
14225 if ac_fn_c_try_compile "$LINENO"
14226 then :
14227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
14228 printf %s "checking for -lXrandr... " >&6; }
14229 if test ${ac_cv_lib_soname_Xrandr+y}
14230 then :
14231 printf %s "(cached) " >&6
14232 else $as_nop
14233 ac_check_soname_save_LIBS=$LIBS
14234 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
14235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14236 /* end confdefs.h. */
14238 /* Override any GCC internal prototype to avoid an error.
14239 Use char because int might match the return type of a GCC
14240 builtin and then its argument prototype would still apply. */
14241 char XRRQueryExtension ();
14243 main (void)
14245 return XRRQueryExtension ();
14247 return 0;
14249 _ACEOF
14250 if ac_fn_c_try_link "$LINENO"
14251 then :
14252 case "$LIBEXT" in
14253 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14254 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'` ;;
14255 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14256 if ${ac_cv_lib_soname_Xrandr:+false} :
14257 then :
14258 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14259 fi ;;
14260 esac
14261 else $as_nop
14262 ac_cv_lib_soname_Xrandr=
14264 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14265 conftest$ac_exeext conftest.$ac_ext
14266 LIBS=$ac_check_soname_save_LIBS
14268 if ${ac_cv_lib_soname_Xrandr:+false} :
14269 then :
14270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14271 printf "%s\n" "not found" >&6; }
14273 else $as_nop
14274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
14275 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
14277 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
14279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14280 /* end confdefs.h. */
14281 #include <X11/Xlib.h>
14282 #include <X11/extensions/Xrandr.h>
14284 main (void)
14286 static typeof(XRRGetProviderResources) *f; if (f) return 0;
14288 return 0;
14290 _ACEOF
14291 if ac_fn_c_try_compile "$LINENO"
14292 then :
14294 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
14296 else $as_nop
14297 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
14299 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14302 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14304 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14305 then :
14306 case "x$with_xrandr" in
14307 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
14308 xno) ;;
14309 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
14310 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
14311 esac
14315 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
14316 then
14317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14318 /* end confdefs.h. */
14319 #include <X11/Xlib.h>
14320 #include <X11/extensions/Xfixes.h>
14322 main (void)
14324 static typeof(XFixesQueryVersion) * func; if (func) return 0;
14326 return 0;
14328 _ACEOF
14329 if ac_fn_c_try_compile "$LINENO"
14330 then :
14331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
14332 printf %s "checking for -lXfixes... " >&6; }
14333 if test ${ac_cv_lib_soname_Xfixes+y}
14334 then :
14335 printf %s "(cached) " >&6
14336 else $as_nop
14337 ac_check_soname_save_LIBS=$LIBS
14338 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
14339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14340 /* end confdefs.h. */
14342 /* Override any GCC internal prototype to avoid an error.
14343 Use char because int might match the return type of a GCC
14344 builtin and then its argument prototype would still apply. */
14345 char XFixesQueryVersion ();
14347 main (void)
14349 return XFixesQueryVersion ();
14351 return 0;
14353 _ACEOF
14354 if ac_fn_c_try_link "$LINENO"
14355 then :
14356 case "$LIBEXT" in
14357 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14358 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'` ;;
14359 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14360 if ${ac_cv_lib_soname_Xfixes:+false} :
14361 then :
14362 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14363 fi ;;
14364 esac
14365 else $as_nop
14366 ac_cv_lib_soname_Xfixes=
14368 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14369 conftest$ac_exeext conftest.$ac_ext
14370 LIBS=$ac_check_soname_save_LIBS
14372 if ${ac_cv_lib_soname_Xfixes:+false} :
14373 then :
14374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14375 printf "%s\n" "not found" >&6; }
14377 else $as_nop
14378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
14379 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
14381 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
14386 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14388 if test "x$ac_cv_lib_soname_Xfixes" = "x"
14389 then :
14390 case "x$with_xfixes" in
14391 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
14392 xno) ;;
14393 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
14394 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
14395 esac
14399 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
14400 then
14401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14402 /* end confdefs.h. */
14403 #include <X11/Xlib.h>
14404 #include <X11/extensions/Xinerama.h>
14406 main (void)
14408 static typeof(XineramaQueryScreens) * func; if (func) return 0;
14410 return 0;
14412 _ACEOF
14413 if ac_fn_c_try_compile "$LINENO"
14414 then :
14415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
14416 printf %s "checking for -lXinerama... " >&6; }
14417 if test ${ac_cv_lib_soname_Xinerama+y}
14418 then :
14419 printf %s "(cached) " >&6
14420 else $as_nop
14421 ac_check_soname_save_LIBS=$LIBS
14422 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
14423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14424 /* end confdefs.h. */
14426 /* Override any GCC internal prototype to avoid an error.
14427 Use char because int might match the return type of a GCC
14428 builtin and then its argument prototype would still apply. */
14429 char XineramaQueryScreens ();
14431 main (void)
14433 return XineramaQueryScreens ();
14435 return 0;
14437 _ACEOF
14438 if ac_fn_c_try_link "$LINENO"
14439 then :
14440 case "$LIBEXT" in
14441 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14442 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'` ;;
14443 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14444 if ${ac_cv_lib_soname_Xinerama:+false} :
14445 then :
14446 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14447 fi ;;
14448 esac
14449 else $as_nop
14450 ac_cv_lib_soname_Xinerama=
14452 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14453 conftest$ac_exeext conftest.$ac_ext
14454 LIBS=$ac_check_soname_save_LIBS
14456 if ${ac_cv_lib_soname_Xinerama:+false} :
14457 then :
14458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14459 printf "%s\n" "not found" >&6; }
14461 else $as_nop
14462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
14463 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
14465 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
14470 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14472 if test "x$ac_cv_lib_soname_Xinerama" = "x"
14473 then :
14474 case "x$with_xinerama" in
14475 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
14476 xno) ;;
14477 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
14478 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
14479 esac
14483 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
14484 then
14485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
14486 printf %s "checking for -lXcomposite... " >&6; }
14487 if test ${ac_cv_lib_soname_Xcomposite+y}
14488 then :
14489 printf %s "(cached) " >&6
14490 else $as_nop
14491 ac_check_soname_save_LIBS=$LIBS
14492 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
14493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14494 /* end confdefs.h. */
14496 /* Override any GCC internal prototype to avoid an error.
14497 Use char because int might match the return type of a GCC
14498 builtin and then its argument prototype would still apply. */
14499 char XCompositeRedirectWindow ();
14501 main (void)
14503 return XCompositeRedirectWindow ();
14505 return 0;
14507 _ACEOF
14508 if ac_fn_c_try_link "$LINENO"
14509 then :
14510 case "$LIBEXT" in
14511 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14512 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'` ;;
14513 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14514 if ${ac_cv_lib_soname_Xcomposite:+false} :
14515 then :
14516 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14517 fi ;;
14518 esac
14519 else $as_nop
14520 ac_cv_lib_soname_Xcomposite=
14522 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14523 conftest$ac_exeext conftest.$ac_ext
14524 LIBS=$ac_check_soname_save_LIBS
14526 if ${ac_cv_lib_soname_Xcomposite:+false} :
14527 then :
14528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14529 printf "%s\n" "not found" >&6; }
14531 else $as_nop
14532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
14533 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
14535 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
14540 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
14541 then :
14542 case "x$with_xcomposite" in
14543 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
14544 xno) ;;
14545 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
14546 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
14547 esac
14551 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
14552 #include <X11/Xlib.h>
14553 #endif
14555 if test "x$ac_cv_member_XICCallback_callback" = xyes
14556 then :
14558 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
14562 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
14563 #include <X11/Xlib.h>
14564 #endif
14566 if test "x$ac_cv_member_XEvent_xcookie" = xyes
14567 then :
14569 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
14576 opengl_msg=""
14577 if test "x$with_opengl" != "xno"
14578 then
14579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
14580 printf %s "checking for -lGL... " >&6; }
14581 if test ${ac_cv_lib_soname_GL+y}
14582 then :
14583 printf %s "(cached) " >&6
14584 else $as_nop
14585 ac_check_soname_save_LIBS=$LIBS
14586 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
14587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14588 /* end confdefs.h. */
14590 /* Override any GCC internal prototype to avoid an error.
14591 Use char because int might match the return type of a GCC
14592 builtin and then its argument prototype would still apply. */
14593 char glXCreateContext ();
14595 main (void)
14597 return glXCreateContext ();
14599 return 0;
14601 _ACEOF
14602 if ac_fn_c_try_link "$LINENO"
14603 then :
14604 case "$LIBEXT" in
14605 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14606 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'` ;;
14607 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14608 if ${ac_cv_lib_soname_GL:+false} :
14609 then :
14610 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14611 fi ;;
14612 esac
14613 else $as_nop
14614 ac_cv_lib_soname_GL=
14616 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14617 conftest$ac_exeext conftest.$ac_ext
14618 LIBS=$ac_check_soname_save_LIBS
14620 if ${ac_cv_lib_soname_GL:+false} :
14621 then :
14622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14623 printf "%s\n" "not found" >&6; }
14624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
14625 printf %s "checking for -lGL... " >&6; }
14626 if test ${ac_cv_lib_soname_GL+y}
14627 then :
14628 printf %s "(cached) " >&6
14629 else $as_nop
14630 ac_check_soname_save_LIBS=$LIBS
14631 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"
14632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14633 /* end confdefs.h. */
14635 /* Override any GCC internal prototype to avoid an error.
14636 Use char because int might match the return type of a GCC
14637 builtin and then its argument prototype would still apply. */
14638 char glXCreateContext ();
14640 main (void)
14642 return glXCreateContext ();
14644 return 0;
14646 _ACEOF
14647 if ac_fn_c_try_link "$LINENO"
14648 then :
14649 case "$LIBEXT" in
14650 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14651 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'` ;;
14652 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14653 if ${ac_cv_lib_soname_GL:+false} :
14654 then :
14655 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14656 fi ;;
14657 esac
14658 else $as_nop
14659 ac_cv_lib_soname_GL=
14661 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14662 conftest$ac_exeext conftest.$ac_ext
14663 LIBS=$ac_check_soname_save_LIBS
14665 if ${ac_cv_lib_soname_GL:+false} :
14666 then :
14667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14668 printf "%s\n" "not found" >&6; }
14669 if test -f /usr/X11R6/lib/libGL.a
14670 then
14671 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
14672 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
14673 else
14674 opengl_msg="No OpenGL library found on this system."
14676 else $as_nop
14677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
14678 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
14680 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
14682 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"
14684 else $as_nop
14685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
14686 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
14688 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
14690 OPENGL_LIBS="-lGL"
14692 if test "x$with_osmesa" != "xno"
14693 then
14694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
14695 printf %s "checking for -lOSMesa... " >&6; }
14696 if test ${ac_cv_lib_soname_OSMesa+y}
14697 then :
14698 printf %s "(cached) " >&6
14699 else $as_nop
14700 ac_check_soname_save_LIBS=$LIBS
14701 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
14702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14703 /* end confdefs.h. */
14705 /* Override any GCC internal prototype to avoid an error.
14706 Use char because int might match the return type of a GCC
14707 builtin and then its argument prototype would still apply. */
14708 char OSMesaGetProcAddress ();
14710 main (void)
14712 return OSMesaGetProcAddress ();
14714 return 0;
14716 _ACEOF
14717 if ac_fn_c_try_link "$LINENO"
14718 then :
14719 case "$LIBEXT" in
14720 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14721 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'` ;;
14722 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14723 if ${ac_cv_lib_soname_OSMesa:+false} :
14724 then :
14725 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14726 fi ;;
14727 esac
14728 else $as_nop
14729 ac_cv_lib_soname_OSMesa=
14731 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14732 conftest$ac_exeext conftest.$ac_ext
14733 LIBS=$ac_check_soname_save_LIBS
14735 if ${ac_cv_lib_soname_OSMesa:+false} :
14736 then :
14737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14738 printf "%s\n" "not found" >&6; }
14740 else $as_nop
14741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
14742 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
14744 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
14748 if test "x$ac_cv_lib_soname_OSMesa" = "x"
14749 then :
14750 case "x$with_osmesa" in
14751 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
14752 xno) ;;
14753 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
14754 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
14755 esac
14760 if test -n "$opengl_msg"
14761 then :
14762 case "x$with_opengl" in
14763 x) as_fn_append wine_warnings "|$opengl_msg
14764 OpenGL and Direct3D won't be supported." ;;
14765 xno) ;;
14766 *) as_fn_error $? "$opengl_msg
14767 OpenGL and Direct3D won't be supported.
14768 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
14769 esac
14773 CPPFLAGS="$ac_save_CPPFLAGS"
14774 else
14775 X_CFLAGS=""
14776 X_LIBS=""
14779 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
14780 then
14781 if test "x$X_LIBS" = "x"
14782 then :
14783 case "x$with_x" in
14784 xno) ;;
14785 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
14786 without X support, which probably isn't what you want. You will need
14787 to install ${notice_platform}development packages of Xlib at the very least.
14788 Use the --without-x option if you really want this." "$LINENO" 5 ;;
14789 esac
14790 enable_winex11_drv=${enable_winex11_drv:-no}
14792 else
14793 if test "x$X_LIBS" = "x"
14794 then :
14795 case "x$with_x" in
14796 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
14797 xno) ;;
14798 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
14799 This is an error since --with-x was requested." "$LINENO" 5 ;;
14800 esac
14801 enable_winex11_drv=${enable_winex11_drv:-no}
14805 if test "$ac_cv_header_CL_cl_h" = "yes"
14806 then
14807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
14808 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
14809 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
14810 then :
14811 printf %s "(cached) " >&6
14812 else $as_nop
14813 ac_check_lib_save_LIBS=$LIBS
14814 LIBS="-lOpenCL $LIBS"
14815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14816 /* end confdefs.h. */
14818 /* Override any GCC internal prototype to avoid an error.
14819 Use char because int might match the return type of a GCC
14820 builtin and then its argument prototype would still apply. */
14821 char clGetPlatformInfo ();
14823 main (void)
14825 return clGetPlatformInfo ();
14827 return 0;
14829 _ACEOF
14830 if ac_fn_c_try_link "$LINENO"
14831 then :
14832 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
14833 else $as_nop
14834 ac_cv_lib_OpenCL_clGetPlatformInfo=no
14836 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14837 conftest$ac_exeext conftest.$ac_ext
14838 LIBS=$ac_check_lib_save_LIBS
14840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
14841 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
14842 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
14843 then :
14844 OPENCL_LIBS="-lOpenCL"
14849 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
14850 then :
14851 case "x$with_opencl" in
14852 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
14853 xno) ;;
14854 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
14855 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
14856 esac
14857 enable_opencl=${enable_opencl:-no}
14860 if test "$ac_cv_header_pcap_pcap_h" = "yes"
14861 then
14862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
14863 printf %s "checking for pcap_create in -lpcap... " >&6; }
14864 if test ${ac_cv_lib_pcap_pcap_create+y}
14865 then :
14866 printf %s "(cached) " >&6
14867 else $as_nop
14868 ac_check_lib_save_LIBS=$LIBS
14869 LIBS="-lpcap $LIBS"
14870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14871 /* end confdefs.h. */
14873 /* Override any GCC internal prototype to avoid an error.
14874 Use char because int might match the return type of a GCC
14875 builtin and then its argument prototype would still apply. */
14876 char pcap_create ();
14878 main (void)
14880 return pcap_create ();
14882 return 0;
14884 _ACEOF
14885 if ac_fn_c_try_link "$LINENO"
14886 then :
14887 ac_cv_lib_pcap_pcap_create=yes
14888 else $as_nop
14889 ac_cv_lib_pcap_pcap_create=no
14891 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14892 conftest$ac_exeext conftest.$ac_ext
14893 LIBS=$ac_check_lib_save_LIBS
14895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
14896 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
14897 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
14898 then :
14899 PCAP_LIBS="-lpcap"
14904 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
14905 then :
14906 case "x$with_pcap" in
14907 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
14908 xno) ;;
14909 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
14910 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
14911 esac
14912 enable_wpcap=${enable_wpcap:-no}
14915 if test "x$with_inotify" != "xno"
14916 then
14917 if ${INOTIFY_CFLAGS:+false} :
14918 then :
14919 if test ${PKG_CONFIG+y}
14920 then :
14921 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
14925 if ${INOTIFY_LIBS:+false} :
14926 then :
14927 if test ${PKG_CONFIG+y}
14928 then :
14929 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
14934 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
14935 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
14936 ac_save_CPPFLAGS=$CPPFLAGS
14937 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
14938 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
14939 if test "x$ac_cv_header_sys_inotify_h" = xyes
14940 then :
14941 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
14945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
14946 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
14947 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
14948 then :
14949 printf %s "(cached) " >&6
14950 else $as_nop
14951 ac_check_lib_save_LIBS=$LIBS
14952 LIBS="-linotify $INOTIFY_LIBS $LIBS"
14953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14954 /* end confdefs.h. */
14956 /* Override any GCC internal prototype to avoid an error.
14957 Use char because int might match the return type of a GCC
14958 builtin and then its argument prototype would still apply. */
14959 char inotify_add_watch ();
14961 main (void)
14963 return inotify_add_watch ();
14965 return 0;
14967 _ACEOF
14968 if ac_fn_c_try_link "$LINENO"
14969 then :
14970 ac_cv_lib_inotify_inotify_add_watch=yes
14971 else $as_nop
14972 ac_cv_lib_inotify_inotify_add_watch=no
14974 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14975 conftest$ac_exeext conftest.$ac_ext
14976 LIBS=$ac_check_lib_save_LIBS
14978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
14979 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
14980 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
14981 then :
14983 else $as_nop
14984 INOTIFY_LIBS=""
14987 CPPFLAGS=$ac_save_CPPFLAGS
14990 if test "$ac_cv_header_sys_inotify_h" != "yes"
14991 then :
14992 case "x$with_inotify" in
14993 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
14994 xno) ;;
14995 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
14996 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
14997 esac
15001 if test "x$with_dbus" != "xno"
15002 then
15003 if ${DBUS_CFLAGS:+false} :
15004 then :
15005 if test ${PKG_CONFIG+y}
15006 then :
15007 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
15011 if ${DBUS_LIBS:+false} :
15012 then :
15013 if test ${PKG_CONFIG+y}
15014 then :
15015 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15020 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15021 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15022 ac_save_CPPFLAGS=$CPPFLAGS
15023 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15024 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15025 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15026 then :
15027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15028 printf %s "checking for -ldbus-1... " >&6; }
15029 if test ${ac_cv_lib_soname_dbus_1+y}
15030 then :
15031 printf %s "(cached) " >&6
15032 else $as_nop
15033 ac_check_soname_save_LIBS=$LIBS
15034 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15036 /* end confdefs.h. */
15038 /* Override any GCC internal prototype to avoid an error.
15039 Use char because int might match the return type of a GCC
15040 builtin and then its argument prototype would still apply. */
15041 char dbus_connection_close ();
15043 main (void)
15045 return dbus_connection_close ();
15047 return 0;
15049 _ACEOF
15050 if ac_fn_c_try_link "$LINENO"
15051 then :
15052 case "$LIBEXT" in
15053 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15054 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'` ;;
15055 *) 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'`
15056 if ${ac_cv_lib_soname_dbus_1:+false} :
15057 then :
15058 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15059 fi ;;
15060 esac
15061 else $as_nop
15062 ac_cv_lib_soname_dbus_1=
15064 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15065 conftest$ac_exeext conftest.$ac_ext
15066 LIBS=$ac_check_soname_save_LIBS
15068 if ${ac_cv_lib_soname_dbus_1:+false} :
15069 then :
15070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15071 printf "%s\n" "not found" >&6; }
15072 DBUS_CFLAGS=""
15073 else $as_nop
15074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15075 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15077 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15081 else $as_nop
15082 DBUS_CFLAGS=""
15085 CPPFLAGS=$ac_save_CPPFLAGS
15088 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
15089 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
15090 then :
15091 case "x$with_dbus" in
15092 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
15093 xno) ;;
15094 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
15095 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
15096 esac
15100 if test "x$with_gnutls" != "xno"
15101 then
15102 if ${GNUTLS_CFLAGS:+false} :
15103 then :
15104 if test ${PKG_CONFIG+y}
15105 then :
15106 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
15110 if ${GNUTLS_LIBS:+false} :
15111 then :
15112 if test ${PKG_CONFIG+y}
15113 then :
15114 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
15118 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
15119 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
15120 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
15121 ac_save_CPPFLAGS=$CPPFLAGS
15122 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
15123 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
15124 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
15125 then :
15126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15127 /* end confdefs.h. */
15128 #include <gnutls/gnutls.h>
15129 #include <gnutls/crypto.h>
15131 main (void)
15133 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
15135 return 0;
15137 _ACEOF
15138 if ac_fn_c_try_compile "$LINENO"
15139 then :
15140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
15141 printf %s "checking for -lgnutls... " >&6; }
15142 if test ${ac_cv_lib_soname_gnutls+y}
15143 then :
15144 printf %s "(cached) " >&6
15145 else $as_nop
15146 ac_check_soname_save_LIBS=$LIBS
15147 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
15148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15149 /* end confdefs.h. */
15151 /* Override any GCC internal prototype to avoid an error.
15152 Use char because int might match the return type of a GCC
15153 builtin and then its argument prototype would still apply. */
15154 char gnutls_global_init ();
15156 main (void)
15158 return gnutls_global_init ();
15160 return 0;
15162 _ACEOF
15163 if ac_fn_c_try_link "$LINENO"
15164 then :
15165 case "$LIBEXT" in
15166 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15167 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'` ;;
15168 *) 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'`
15169 if ${ac_cv_lib_soname_gnutls:+false} :
15170 then :
15171 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'`
15172 fi ;;
15173 esac
15174 else $as_nop
15175 ac_cv_lib_soname_gnutls=
15177 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15178 conftest$ac_exeext conftest.$ac_ext
15179 LIBS=$ac_check_soname_save_LIBS
15181 if ${ac_cv_lib_soname_gnutls:+false} :
15182 then :
15183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15184 printf "%s\n" "not found" >&6; }
15185 GNUTLS_CFLAGS=""
15186 else $as_nop
15187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
15188 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
15190 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
15194 ac_wine_check_funcs_save_LIBS="$LIBS"
15195 LIBS="$LIBS $GNUTLS_LIBS"
15197 for ac_func in gnutls_cipher_init
15198 do :
15199 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
15200 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
15201 then :
15202 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
15204 else $as_nop
15205 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
15208 done
15209 LIBS="$ac_wine_check_funcs_save_LIBS"
15211 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15212 else $as_nop
15213 GNUTLS_CFLAGS=""
15216 CPPFLAGS=$ac_save_CPPFLAGS
15219 if test "x$ac_cv_lib_soname_gnutls" = "x"
15220 then :
15221 case "x$with_gnutls" in
15222 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
15223 xno) ;;
15224 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
15225 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
15226 esac
15230 if test "x$with_sane" != "xno"
15231 then
15232 if ${SANE_CFLAGS:+false} :
15233 then :
15234 if test ${PKG_CONFIG+y}
15235 then :
15236 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
15239 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
15240 if ${SANE_LIBS:+false} :
15241 then :
15242 if test ${PKG_CONFIG+y}
15243 then :
15244 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
15247 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
15249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
15250 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
15251 ac_save_CPPFLAGS=$CPPFLAGS
15252 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
15253 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
15254 if test "x$ac_cv_header_sane_sane_h" = xyes
15255 then :
15256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
15257 printf %s "checking for sane_init in -lsane... " >&6; }
15258 if test ${ac_cv_lib_sane_sane_init+y}
15259 then :
15260 printf %s "(cached) " >&6
15261 else $as_nop
15262 ac_check_lib_save_LIBS=$LIBS
15263 LIBS="-lsane $SANE_LIBS $LIBS"
15264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15265 /* end confdefs.h. */
15267 /* Override any GCC internal prototype to avoid an error.
15268 Use char because int might match the return type of a GCC
15269 builtin and then its argument prototype would still apply. */
15270 char sane_init ();
15272 main (void)
15274 return sane_init ();
15276 return 0;
15278 _ACEOF
15279 if ac_fn_c_try_link "$LINENO"
15280 then :
15281 ac_cv_lib_sane_sane_init=yes
15282 else $as_nop
15283 ac_cv_lib_sane_sane_init=no
15285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15286 conftest$ac_exeext conftest.$ac_ext
15287 LIBS=$ac_check_lib_save_LIBS
15289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
15290 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
15291 if test "x$ac_cv_lib_sane_sane_init" = xyes
15292 then :
15298 CPPFLAGS=$ac_save_CPPFLAGS
15301 if test "$ac_cv_lib_sane_sane_init" != "yes"
15302 then :
15303 case "x$with_sane" in
15304 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
15305 xno) ;;
15306 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
15307 This is an error since --with-sane was requested." "$LINENO" 5 ;;
15308 esac
15309 enable_sane_ds=${enable_sane_ds:-no}
15312 if test "x$with_usb" != "xno"
15313 then
15314 if ${USB_CFLAGS:+false} :
15315 then :
15316 if test ${PKG_CONFIG+y}
15317 then :
15318 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
15322 if ${USB_LIBS:+false} :
15323 then :
15324 if test ${PKG_CONFIG+y}
15325 then :
15326 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
15330 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
15331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
15332 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
15333 ac_save_CPPFLAGS=$CPPFLAGS
15334 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
15335 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
15336 if test "x$ac_cv_header_libusb_h" = xyes
15337 then :
15338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
15339 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
15340 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
15341 then :
15342 printf %s "(cached) " >&6
15343 else $as_nop
15344 ac_check_lib_save_LIBS=$LIBS
15345 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
15346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15347 /* end confdefs.h. */
15349 /* Override any GCC internal prototype to avoid an error.
15350 Use char because int might match the return type of a GCC
15351 builtin and then its argument prototype would still apply. */
15352 char libusb_interrupt_event_handler ();
15354 main (void)
15356 return libusb_interrupt_event_handler ();
15358 return 0;
15360 _ACEOF
15361 if ac_fn_c_try_link "$LINENO"
15362 then :
15363 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
15364 else $as_nop
15365 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
15367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15368 conftest$ac_exeext conftest.$ac_ext
15369 LIBS=$ac_check_lib_save_LIBS
15371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
15372 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
15373 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
15374 then :
15376 else $as_nop
15377 USB_LIBS=""
15380 else $as_nop
15381 USB_LIBS=""
15384 CPPFLAGS=$ac_save_CPPFLAGS
15387 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
15388 then :
15389 case "x$with_usb" in
15390 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
15391 xno) ;;
15392 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
15393 This is an error since --with-usb was requested." "$LINENO" 5 ;;
15394 esac
15395 enable_wineusb_sys=${enable_wineusb_sys:-no}
15398 if test "x$with_v4l2" != "xno"
15399 then
15400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
15401 printf %s "checking for -lv4l2... " >&6; }
15402 if test ${ac_cv_lib_soname_v4l2+y}
15403 then :
15404 printf %s "(cached) " >&6
15405 else $as_nop
15406 ac_check_soname_save_LIBS=$LIBS
15407 LIBS="-lv4l2 $LIBS"
15408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15409 /* end confdefs.h. */
15411 /* Override any GCC internal prototype to avoid an error.
15412 Use char because int might match the return type of a GCC
15413 builtin and then its argument prototype would still apply. */
15414 char v4l2_open ();
15416 main (void)
15418 return v4l2_open ();
15420 return 0;
15422 _ACEOF
15423 if ac_fn_c_try_link "$LINENO"
15424 then :
15425 case "$LIBEXT" in
15426 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15427 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'` ;;
15428 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15429 if ${ac_cv_lib_soname_v4l2:+false} :
15430 then :
15431 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15432 fi ;;
15433 esac
15434 else $as_nop
15435 ac_cv_lib_soname_v4l2=
15437 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15438 conftest$ac_exeext conftest.$ac_ext
15439 LIBS=$ac_check_soname_save_LIBS
15441 if ${ac_cv_lib_soname_v4l2:+false} :
15442 then :
15443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15444 printf "%s\n" "not found" >&6; }
15446 else $as_nop
15447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
15448 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
15450 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
15455 if test "x$ac_cv_lib_soname_v4l2" = "x"
15456 then :
15457 case "x$with_v4l2" in
15458 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
15459 xno) ;;
15460 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
15461 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
15462 esac
15466 if test "x$with_gphoto" != "xno"
15467 then
15468 if ${GPHOTO2_CFLAGS:+false} :
15469 then :
15470 if test ${PKG_CONFIG+y}
15471 then :
15472 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
15475 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
15476 if ${GPHOTO2_LIBS:+false} :
15477 then :
15478 if test ${PKG_CONFIG+y}
15479 then :
15480 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
15483 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
15484 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
15485 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
15486 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
15487 ac_save_CPPFLAGS=$CPPFLAGS
15488 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
15489 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
15490 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
15491 then :
15492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
15493 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
15494 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
15495 then :
15496 printf %s "(cached) " >&6
15497 else $as_nop
15498 ac_check_lib_save_LIBS=$LIBS
15499 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
15500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15501 /* end confdefs.h. */
15503 /* Override any GCC internal prototype to avoid an error.
15504 Use char because int might match the return type of a GCC
15505 builtin and then its argument prototype would still apply. */
15506 char gp_camera_new ();
15508 main (void)
15510 return gp_camera_new ();
15512 return 0;
15514 _ACEOF
15515 if ac_fn_c_try_link "$LINENO"
15516 then :
15517 ac_cv_lib_gphoto2_gp_camera_new=yes
15518 else $as_nop
15519 ac_cv_lib_gphoto2_gp_camera_new=no
15521 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15522 conftest$ac_exeext conftest.$ac_ext
15523 LIBS=$ac_check_lib_save_LIBS
15525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
15526 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
15527 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
15528 then :
15534 CPPFLAGS=$ac_save_CPPFLAGS
15536 if ${GPHOTO2_PORT_CFLAGS:+false} :
15537 then :
15538 if test ${PKG_CONFIG+y}
15539 then :
15540 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
15543 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
15544 if ${GPHOTO2_PORT_LIBS:+false} :
15545 then :
15546 if test ${PKG_CONFIG+y}
15547 then :
15548 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
15551 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
15552 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
15553 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
15554 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
15555 ac_save_CPPFLAGS=$CPPFLAGS
15556 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
15557 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
15558 if test "x$ac_cv_header_gphoto2_port_h" = xyes
15559 then :
15560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
15561 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
15562 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
15563 then :
15564 printf %s "(cached) " >&6
15565 else $as_nop
15566 ac_check_lib_save_LIBS=$LIBS
15567 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
15568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15569 /* end confdefs.h. */
15571 /* Override any GCC internal prototype to avoid an error.
15572 Use char because int might match the return type of a GCC
15573 builtin and then its argument prototype would still apply. */
15574 char gp_port_info_list_new ();
15576 main (void)
15578 return gp_port_info_list_new ();
15580 return 0;
15582 _ACEOF
15583 if ac_fn_c_try_link "$LINENO"
15584 then :
15585 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
15586 else $as_nop
15587 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
15589 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15590 conftest$ac_exeext conftest.$ac_ext
15591 LIBS=$ac_check_lib_save_LIBS
15593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
15594 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
15595 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
15596 then :
15598 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
15600 else $as_nop
15601 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
15604 else $as_nop
15605 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
15608 CPPFLAGS=$ac_save_CPPFLAGS
15611 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
15612 then :
15613 case "x$with_gphoto" in
15614 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
15615 xno) ;;
15616 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
15617 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
15618 esac
15619 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
15621 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
15622 then :
15623 case "x$with_gphoto" in
15624 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
15625 xno) ;;
15626 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
15627 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
15628 esac
15633 if test "$ac_cv_header_resolv_h" = "yes"
15634 then
15635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
15636 printf %s "checking for resolver library... " >&6; }
15637 if test ${ac_cv_have_resolv+y}
15638 then :
15639 printf %s "(cached) " >&6
15640 else $as_nop
15641 ac_save_LIBS="$LIBS"
15642 for lib in '' -lresolv
15644 LIBS="$lib $ac_save_LIBS"
15645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15646 /* end confdefs.h. */
15647 #ifdef HAVE_NETINET_IN_H
15648 #include <netinet/in.h>
15649 #endif
15650 #include <resolv.h>
15652 main (void)
15654 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
15656 return 0;
15658 _ACEOF
15659 if ac_fn_c_try_link "$LINENO"
15660 then :
15661 ac_cv_have_resolv=${lib:-"none required"}
15662 else $as_nop
15663 ac_cv_have_resolv="not found"
15665 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15666 conftest$ac_exeext conftest.$ac_ext
15667 test "x$ac_cv_have_resolv" = "xnot found" || break
15668 done
15669 LIBS="$ac_save_LIBS"
15671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
15672 printf "%s\n" "$ac_cv_have_resolv" >&6; }
15674 case "$ac_cv_have_resolv" in
15675 "not found") ;;
15676 "none required")
15678 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
15681 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
15683 RESOLV_LIBS=$ac_cv_have_resolv
15685 esac
15687 if test "x$ac_cv_have_resolv" != "xnot found"
15688 then
15689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
15690 printf %s "checking for res_getservers... " >&6; }
15691 if test ${ac_cv_have_res_getservers+y}
15692 then :
15693 printf %s "(cached) " >&6
15694 else $as_nop
15695 ac_save_LIBS="$LIBS"
15696 LIBS="$RESOLV_LIBS $LIBS"
15697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15698 /* end confdefs.h. */
15699 #include <resolv.h>
15701 main (void)
15703 res_getservers(NULL, NULL, 0);
15705 return 0;
15707 _ACEOF
15708 if ac_fn_c_try_link "$LINENO"
15709 then :
15710 ac_cv_have_res_getservers=yes
15711 else $as_nop
15712 ac_cv_have_res_getservers=no
15714 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15715 conftest$ac_exeext conftest.$ac_ext
15716 LIBS="$ac_save_LIBS"
15718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
15719 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
15720 if test "$ac_cv_have_res_getservers" = "yes"
15721 then
15723 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
15729 if test "x$with_freetype" != "xno"
15730 then
15731 if ${FREETYPE_CFLAGS:+false} :
15732 then :
15733 if test ${PKG_CONFIG+y}
15734 then :
15735 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
15738 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
15739 if ${FREETYPE_LIBS:+false} :
15740 then :
15741 if test ${PKG_CONFIG+y}
15742 then :
15743 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
15746 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
15747 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
15748 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
15749 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
15750 ac_save_CPPFLAGS=$CPPFLAGS
15751 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
15752 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
15753 if test "x$ac_cv_header_ft2build_h" = xyes
15754 then :
15755 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
15759 if test "$ac_cv_header_ft2build_h" = "yes"
15760 then
15761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
15762 printf %s "checking for -lfreetype... " >&6; }
15763 if test ${ac_cv_lib_soname_freetype+y}
15764 then :
15765 printf %s "(cached) " >&6
15766 else $as_nop
15767 ac_check_soname_save_LIBS=$LIBS
15768 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
15769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15770 /* end confdefs.h. */
15772 /* Override any GCC internal prototype to avoid an error.
15773 Use char because int might match the return type of a GCC
15774 builtin and then its argument prototype would still apply. */
15775 char FT_Init_FreeType ();
15777 main (void)
15779 return FT_Init_FreeType ();
15781 return 0;
15783 _ACEOF
15784 if ac_fn_c_try_link "$LINENO"
15785 then :
15786 case "$LIBEXT" in
15787 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15788 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'` ;;
15789 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15790 if ${ac_cv_lib_soname_freetype:+false} :
15791 then :
15792 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15793 fi ;;
15794 esac
15795 else $as_nop
15796 ac_cv_lib_soname_freetype=
15798 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15799 conftest$ac_exeext conftest.$ac_ext
15800 LIBS=$ac_check_soname_save_LIBS
15802 if ${ac_cv_lib_soname_freetype:+false} :
15803 then :
15804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15805 printf "%s\n" "not found" >&6; }
15806 FREETYPE_LIBS=""
15807 else $as_nop
15808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
15809 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
15811 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
15814 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
15816 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
15817 #include FT_MODULE_H
15819 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
15820 then :
15822 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
15828 else
15829 FREETYPE_CFLAGS=""
15830 FREETYPE_LIBS=""
15832 CPPFLAGS=$ac_save_CPPFLAGS
15835 if test "x$ac_cv_lib_soname_freetype" = x
15836 then :
15837 case "x$with_freetype" in
15838 xno) ;;
15839 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
15840 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
15841 esac
15842 enable_fonts=${enable_fonts:-no}
15845 ac_wine_check_funcs_save_LIBS="$LIBS"
15846 LIBS="$LIBS $PTHREAD_LIBS"
15847 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
15848 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
15849 then :
15850 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
15854 LIBS="$ac_wine_check_funcs_save_LIBS"
15856 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
15857 then
15858 if test "$ac_cv_header_gettext_po_h" = "yes"
15859 then
15860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
15861 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
15862 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
15863 then :
15864 printf %s "(cached) " >&6
15865 else $as_nop
15866 ac_check_lib_save_LIBS=$LIBS
15867 LIBS="-lgettextpo $LIBS"
15868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15869 /* end confdefs.h. */
15871 /* Override any GCC internal prototype to avoid an error.
15872 Use char because int might match the return type of a GCC
15873 builtin and then its argument prototype would still apply. */
15874 char po_message_msgctxt ();
15876 main (void)
15878 return po_message_msgctxt ();
15880 return 0;
15882 _ACEOF
15883 if ac_fn_c_try_link "$LINENO"
15884 then :
15885 ac_cv_lib_gettextpo_po_message_msgctxt=yes
15886 else $as_nop
15887 ac_cv_lib_gettextpo_po_message_msgctxt=no
15889 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15890 conftest$ac_exeext conftest.$ac_ext
15891 LIBS=$ac_check_lib_save_LIBS
15893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
15894 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
15895 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
15896 then :
15898 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
15900 GETTEXTPO_LIBS="-lgettextpo"
15905 if test "x$GETTEXTPO_LIBS" = "x"
15906 then :
15907 case "x$with_gettextpo" in
15908 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
15909 xno) ;;
15910 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
15911 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
15912 esac
15915 if test "$srcdir" != .
15916 then :
15917 case "x$with_gettextpo" in
15918 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
15919 xno) ;;
15920 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
15921 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
15922 esac
15927 if test "x$with_pulse" != "xno";
15928 then
15929 if ${PULSE_CFLAGS:+false} :
15930 then :
15931 if test ${PKG_CONFIG+y}
15932 then :
15933 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
15937 if ${PULSE_LIBS:+false} :
15938 then :
15939 if test ${PKG_CONFIG+y}
15940 then :
15941 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
15946 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
15947 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
15948 ac_save_CPPFLAGS=$CPPFLAGS
15949 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
15950 for ac_header in pulse/pulseaudio.h
15951 do :
15952 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
15953 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
15954 then :
15955 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
15956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
15957 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
15958 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
15959 then :
15960 printf %s "(cached) " >&6
15961 else $as_nop
15962 ac_check_lib_save_LIBS=$LIBS
15963 LIBS="-lpulse $PULSE_LIBS $LIBS"
15964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15965 /* end confdefs.h. */
15967 /* Override any GCC internal prototype to avoid an error.
15968 Use char because int might match the return type of a GCC
15969 builtin and then its argument prototype would still apply. */
15970 char pa_stream_is_corked ();
15972 main (void)
15974 return pa_stream_is_corked ();
15976 return 0;
15978 _ACEOF
15979 if ac_fn_c_try_link "$LINENO"
15980 then :
15981 ac_cv_lib_pulse_pa_stream_is_corked=yes
15982 else $as_nop
15983 ac_cv_lib_pulse_pa_stream_is_corked=no
15985 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15986 conftest$ac_exeext conftest.$ac_ext
15987 LIBS=$ac_check_lib_save_LIBS
15989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
15990 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
15991 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
15992 then :
15994 else $as_nop
15995 PULSE_LIBS=""
15998 else $as_nop
15999 PULSE_LIBS=""
16002 done
16003 CPPFLAGS=$ac_save_CPPFLAGS
16006 if test -z "$PULSE_LIBS"
16007 then :
16008 case "x$with_pulse" in
16009 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16010 xno) ;;
16011 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16012 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16013 esac
16014 enable_winepulse_drv=${enable_winepulse_drv:-no}
16017 if test "x$with_gstreamer" != "xno"
16018 then
16019 if ${GSTREAMER_CFLAGS:+false} :
16020 then :
16021 if test ${PKG_CONFIG+y}
16022 then :
16023 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16027 if ${GSTREAMER_LIBS:+false} :
16028 then :
16029 if test ${PKG_CONFIG+y}
16030 then :
16031 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16036 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
16037 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
16038 ac_save_CPPFLAGS=$CPPFLAGS
16039 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16040 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16041 if test "x$ac_cv_header_gst_gst_h" = xyes
16042 then :
16043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16044 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16046 /* end confdefs.h. */
16047 #include <gst/gst.h>
16049 main (void)
16051 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16053 return 0;
16055 _ACEOF
16056 if ac_fn_c_try_compile "$LINENO"
16057 then :
16058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16059 printf "%s\n" "yes" >&6; }
16060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
16061 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
16062 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
16063 then :
16064 printf %s "(cached) " >&6
16065 else $as_nop
16066 ac_check_lib_save_LIBS=$LIBS
16067 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
16068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16069 /* end confdefs.h. */
16071 /* Override any GCC internal prototype to avoid an error.
16072 Use char because int might match the return type of a GCC
16073 builtin and then its argument prototype would still apply. */
16074 char gst_pad_new ();
16076 main (void)
16078 return gst_pad_new ();
16080 return 0;
16082 _ACEOF
16083 if ac_fn_c_try_link "$LINENO"
16084 then :
16085 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
16086 else $as_nop
16087 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
16089 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16090 conftest$ac_exeext conftest.$ac_ext
16091 LIBS=$ac_check_lib_save_LIBS
16093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
16094 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
16095 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
16096 then :
16100 else $as_nop
16101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16102 printf "%s\n" "no" >&6; }
16103 ac_glib2_broken=yes
16104 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
16106 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16109 CPPFLAGS=$ac_save_CPPFLAGS
16112 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
16113 then :
16114 case "x$with_gstreamer" in
16115 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
16116 xno) ;;
16117 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
16118 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
16119 esac
16120 enable_winegstreamer=${enable_winegstreamer:-no}
16123 ALSA_LIBS=""
16125 if test "x$with_alsa" != "xno"
16126 then
16127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
16128 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
16129 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
16130 then :
16131 printf %s "(cached) " >&6
16132 else $as_nop
16133 ac_check_lib_save_LIBS=$LIBS
16134 LIBS="-lasound $LIBS"
16135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16136 /* end confdefs.h. */
16138 /* Override any GCC internal prototype to avoid an error.
16139 Use char because int might match the return type of a GCC
16140 builtin and then its argument prototype would still apply. */
16141 char snd_pcm_hw_params_get_access_mask ();
16143 main (void)
16145 return snd_pcm_hw_params_get_access_mask ();
16147 return 0;
16149 _ACEOF
16150 if ac_fn_c_try_link "$LINENO"
16151 then :
16152 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
16153 else $as_nop
16154 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
16156 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16157 conftest$ac_exeext conftest.$ac_ext
16158 LIBS=$ac_check_lib_save_LIBS
16160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
16161 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
16162 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
16163 then :
16164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16165 /* end confdefs.h. */
16166 #include <alsa/asoundlib.h>
16168 main (void)
16170 snd_pcm_hw_params_get_access_mask(NULL, NULL)
16172 return 0;
16174 _ACEOF
16175 if ac_fn_c_try_compile "$LINENO"
16176 then :
16177 ALSA_LIBS="-lasound"
16179 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16183 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
16185 if test "x$with_oss" != xno
16186 then
16187 ac_save_CPPFLAGS="$CPPFLAGS"
16188 if test -f /etc/oss.conf
16189 then
16190 . /etc/oss.conf
16192 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
16193 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
16194 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
16195 if test "x$ac_cv_header_sys_soundcard_h" = xyes
16196 then :
16197 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
16199 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
16200 then :
16202 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
16204 OSS4_CFLAGS="$ac_oss_incl"
16206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
16207 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
16208 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
16209 then :
16210 printf %s "(cached) " >&6
16211 else $as_nop
16212 ac_check_lib_save_LIBS=$LIBS
16213 LIBS="-lossaudio $LIBS"
16214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16215 /* end confdefs.h. */
16217 /* Override any GCC internal prototype to avoid an error.
16218 Use char because int might match the return type of a GCC
16219 builtin and then its argument prototype would still apply. */
16220 char _oss_ioctl ();
16222 main (void)
16224 return _oss_ioctl ();
16226 return 0;
16228 _ACEOF
16229 if ac_fn_c_try_link "$LINENO"
16230 then :
16231 ac_cv_lib_ossaudio__oss_ioctl=yes
16232 else $as_nop
16233 ac_cv_lib_ossaudio__oss_ioctl=no
16235 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16236 conftest$ac_exeext conftest.$ac_ext
16237 LIBS=$ac_check_lib_save_LIBS
16239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
16240 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
16241 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
16242 then :
16243 OSS4_LIBS="-lossaudio"
16251 CPPFLAGS="$ac_save_CPPFLAGS"
16253 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
16254 then :
16255 case "x$with_oss" in
16256 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
16257 xno) ;;
16258 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
16259 This is an error since --with-oss was requested." "$LINENO" 5 ;;
16260 esac
16261 enable_wineoss_drv=${enable_wineoss_drv:-no}
16264 if test "x$with_udev" != "xno"
16265 then
16266 if ${UDEV_CFLAGS:+false} :
16267 then :
16268 if test ${PKG_CONFIG+y}
16269 then :
16270 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
16274 if ${UDEV_LIBS:+false} :
16275 then :
16276 if test ${PKG_CONFIG+y}
16277 then :
16278 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
16282 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
16283 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
16284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
16285 ac_save_CPPFLAGS=$CPPFLAGS
16286 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
16287 for ac_header in libudev.h
16288 do :
16289 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
16290 if test "x$ac_cv_header_libudev_h" = xyes
16291 then :
16292 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
16293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
16294 printf %s "checking for udev_new in -ludev... " >&6; }
16295 if test ${ac_cv_lib_udev_udev_new+y}
16296 then :
16297 printf %s "(cached) " >&6
16298 else $as_nop
16299 ac_check_lib_save_LIBS=$LIBS
16300 LIBS="-ludev $UDEV_LIBS $LIBS"
16301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16302 /* end confdefs.h. */
16304 /* Override any GCC internal prototype to avoid an error.
16305 Use char because int might match the return type of a GCC
16306 builtin and then its argument prototype would still apply. */
16307 char udev_new ();
16309 main (void)
16311 return udev_new ();
16313 return 0;
16315 _ACEOF
16316 if ac_fn_c_try_link "$LINENO"
16317 then :
16318 ac_cv_lib_udev_udev_new=yes
16319 else $as_nop
16320 ac_cv_lib_udev_udev_new=no
16322 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16323 conftest$ac_exeext conftest.$ac_ext
16324 LIBS=$ac_check_lib_save_LIBS
16326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
16327 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
16328 if test "x$ac_cv_lib_udev_udev_new" = xyes
16329 then :
16331 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
16333 else $as_nop
16334 UDEV_LIBS=""
16337 else $as_nop
16338 UDEV_LIBS=""
16341 done
16342 CPPFLAGS=$ac_save_CPPFLAGS
16345 if test "x$UDEV_LIBS" = "x"
16346 then :
16347 case "x$with_udev" in
16348 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
16349 xno) ;;
16350 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
16351 This is an error since --with-udev was requested." "$LINENO" 5 ;;
16352 esac
16356 if test "x$with_unwind" != xno
16357 then
16358 if ${UNWIND_CFLAGS:+false} :
16359 then :
16360 if test ${PKG_CONFIG+y}
16361 then :
16362 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
16366 if ${UNWIND_LIBS:+false} :
16367 then :
16368 if test ${PKG_CONFIG+y}
16369 then :
16370 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
16374 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
16375 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
16376 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
16377 ac_save_CPPFLAGS=$CPPFLAGS
16378 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
16379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
16380 printf %s "checking for unw_step... " >&6; }
16381 if test ${wine_cv_have_unw_step+y}
16382 then :
16383 printf %s "(cached) " >&6
16384 else $as_nop
16385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16386 /* end confdefs.h. */
16387 #define UNW_LOCAL_ONLY
16388 #include <libunwind.h>
16390 main (void)
16392 unw_cursor_t cursor; unw_step( &cursor );
16394 return 0;
16396 _ACEOF
16397 if ac_fn_c_try_link "$LINENO"
16398 then :
16399 wine_cv_have_unw_step="yes"
16400 else $as_nop
16401 wine_cv_have_unw_step="no"
16403 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16404 conftest$ac_exeext conftest.$ac_ext
16406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
16407 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
16408 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
16409 then
16410 save_libs=$LIBS
16411 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
16412 LIBS="$UNWIND_LIBS $LIBS"
16413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
16414 printf %s "checking for unw_step in libunwind... " >&6; }
16415 if test ${wine_cv_have_libunwind_unw_step+y}
16416 then :
16417 printf %s "(cached) " >&6
16418 else $as_nop
16419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16420 /* end confdefs.h. */
16421 #define UNW_LOCAL_ONLY
16422 #include <libunwind.h>
16424 main (void)
16426 unw_cursor_t cursor; unw_step( &cursor );
16428 return 0;
16430 _ACEOF
16431 if ac_fn_c_try_link "$LINENO"
16432 then :
16433 wine_cv_have_libunwind_unw_step="yes"
16434 else $as_nop
16435 wine_cv_have_libunwind_unw_step="no"
16437 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16438 conftest$ac_exeext conftest.$ac_ext
16440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
16441 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
16442 LIBS=$save_libs
16444 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
16445 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
16446 then
16448 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
16451 CPPFLAGS=$ac_save_CPPFLAGS
16454 case $host in
16455 aarch64*|*-darwin*)
16456 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
16457 then :
16458 case "x$with_unwind" in
16459 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
16460 xno) ;;
16461 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
16462 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
16463 esac
16465 fi ;;
16466 esac
16468 if test "x$with_sdl" != "xno"
16469 then
16470 if ${SDL2_CFLAGS:+false} :
16471 then :
16472 if test ${PKG_CONFIG+y}
16473 then :
16474 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
16478 if ${SDL2_LIBS:+false} :
16479 then :
16480 if test ${PKG_CONFIG+y}
16481 then :
16482 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
16486 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
16487 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
16488 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
16489 ac_save_CPPFLAGS=$CPPFLAGS
16490 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
16491 for ac_header in SDL.h
16492 do :
16493 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
16494 if test "x$ac_cv_header_SDL_h" = xyes
16495 then :
16496 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
16497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
16498 printf %s "checking for -lSDL2... " >&6; }
16499 if test ${ac_cv_lib_soname_SDL2+y}
16500 then :
16501 printf %s "(cached) " >&6
16502 else $as_nop
16503 ac_check_soname_save_LIBS=$LIBS
16504 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
16505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16506 /* end confdefs.h. */
16508 /* Override any GCC internal prototype to avoid an error.
16509 Use char because int might match the return type of a GCC
16510 builtin and then its argument prototype would still apply. */
16511 char SDL_Init ();
16513 main (void)
16515 return SDL_Init ();
16517 return 0;
16519 _ACEOF
16520 if ac_fn_c_try_link "$LINENO"
16521 then :
16522 case "$LIBEXT" in
16523 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16524 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'` ;;
16525 *) 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'`
16526 if ${ac_cv_lib_soname_SDL2:+false} :
16527 then :
16528 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16529 fi ;;
16530 esac
16531 else $as_nop
16532 ac_cv_lib_soname_SDL2=
16534 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16535 conftest$ac_exeext conftest.$ac_ext
16536 LIBS=$ac_check_soname_save_LIBS
16538 if ${ac_cv_lib_soname_SDL2:+false} :
16539 then :
16540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16541 printf "%s\n" "not found" >&6; }
16543 else $as_nop
16544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
16545 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
16547 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
16553 done
16554 CPPFLAGS=$ac_save_CPPFLAGS
16557 if test "x$ac_cv_lib_soname_SDL2" = "x"
16558 then :
16559 case "x$with_sdl" in
16560 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
16561 xno) ;;
16562 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
16563 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
16564 esac
16568 if test "x$with_capi" != "xno"
16569 then
16570 if ${CAPI20_CFLAGS:+false} :
16571 then :
16572 if test ${PKG_CONFIG+y}
16573 then :
16574 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
16578 if ${CAPI20_LIBS:+false} :
16579 then :
16580 if test ${PKG_CONFIG+y}
16581 then :
16582 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
16587 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
16588 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
16589 ac_save_CPPFLAGS=$CPPFLAGS
16590 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
16591 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
16593 if test "x$ac_cv_header_capi20_h" = xyes
16594 then :
16595 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
16598 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
16600 if test "x$ac_cv_header_linux_capi_h" = xyes
16601 then :
16602 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
16606 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
16607 then
16608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
16609 printf %s "checking for capi20_register in -lcapi20... " >&6; }
16610 if test ${ac_cv_lib_capi20_capi20_register+y}
16611 then :
16612 printf %s "(cached) " >&6
16613 else $as_nop
16614 ac_check_lib_save_LIBS=$LIBS
16615 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
16616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16617 /* end confdefs.h. */
16619 /* Override any GCC internal prototype to avoid an error.
16620 Use char because int might match the return type of a GCC
16621 builtin and then its argument prototype would still apply. */
16622 char capi20_register ();
16624 main (void)
16626 return capi20_register ();
16628 return 0;
16630 _ACEOF
16631 if ac_fn_c_try_link "$LINENO"
16632 then :
16633 ac_cv_lib_capi20_capi20_register=yes
16634 else $as_nop
16635 ac_cv_lib_capi20_capi20_register=no
16637 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16638 conftest$ac_exeext conftest.$ac_ext
16639 LIBS=$ac_check_lib_save_LIBS
16641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
16642 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
16643 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
16644 then :
16646 else $as_nop
16647 CAPI20_LIBS=""
16651 CPPFLAGS=$ac_save_CPPFLAGS
16654 if test "x$ac_cv_lib_capi20_capi20_register" = "x"
16655 then :
16656 case "x$with_capi" in
16657 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
16658 xno) ;;
16659 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
16660 This is an error since --with-capi was requested." "$LINENO" 5 ;;
16661 esac
16662 enable_capi2032=${enable_capi2032:-no}
16665 if test "x$with_cups" != "xno"
16666 then
16667 if ${CUPS_CFLAGS:+false} :
16668 then :
16669 if test ${PKG_CONFIG+y}
16670 then :
16671 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
16674 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
16675 if ${CUPS_LIBS:+false} :
16676 then :
16677 if test ${PKG_CONFIG+y}
16678 then :
16679 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
16682 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
16683 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
16684 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
16685 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
16686 ac_save_CPPFLAGS=$CPPFLAGS
16687 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
16688 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
16689 if test "x$ac_cv_header_cups_cups_h" = xyes
16690 then :
16691 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
16694 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
16695 if test "x$ac_cv_header_cups_ppd_h" = xyes
16696 then :
16697 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
16701 if test "$ac_cv_header_cups_cups_h" = "yes"
16702 then
16703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
16704 printf %s "checking for -lcups... " >&6; }
16705 if test ${ac_cv_lib_soname_cups+y}
16706 then :
16707 printf %s "(cached) " >&6
16708 else $as_nop
16709 ac_check_soname_save_LIBS=$LIBS
16710 LIBS="-lcups $CUPS_LIBS $LIBS"
16711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16712 /* end confdefs.h. */
16714 /* Override any GCC internal prototype to avoid an error.
16715 Use char because int might match the return type of a GCC
16716 builtin and then its argument prototype would still apply. */
16717 char cupsGetDefault ();
16719 main (void)
16721 return cupsGetDefault ();
16723 return 0;
16725 _ACEOF
16726 if ac_fn_c_try_link "$LINENO"
16727 then :
16728 case "$LIBEXT" in
16729 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16730 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'` ;;
16731 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16732 if ${ac_cv_lib_soname_cups:+false} :
16733 then :
16734 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16735 fi ;;
16736 esac
16737 else $as_nop
16738 ac_cv_lib_soname_cups=
16740 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16741 conftest$ac_exeext conftest.$ac_ext
16742 LIBS=$ac_check_soname_save_LIBS
16744 if ${ac_cv_lib_soname_cups:+false} :
16745 then :
16746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16747 printf "%s\n" "not found" >&6; }
16748 CUPS_LIBS=""
16749 else $as_nop
16750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
16751 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
16753 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
16757 else
16758 CUPS_CFLAGS=""
16759 CUPS_LIBS=""
16761 CPPFLAGS=$ac_save_CPPFLAGS
16764 if test "x$ac_cv_lib_soname_cups" = "x"
16765 then :
16766 case "x$with_cups" in
16767 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
16768 xno) ;;
16769 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
16770 This is an error since --with-cups was requested." "$LINENO" 5 ;;
16771 esac
16775 if test "x$with_fontconfig" != "xno"
16776 then
16777 if ${FONTCONFIG_CFLAGS:+false} :
16778 then :
16779 if test ${PKG_CONFIG+y}
16780 then :
16781 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
16784 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
16785 if ${FONTCONFIG_LIBS:+false} :
16786 then :
16787 if test ${PKG_CONFIG+y}
16788 then :
16789 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
16792 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
16794 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
16795 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
16796 ac_save_CPPFLAGS=$CPPFLAGS
16797 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
16798 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
16799 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
16800 then :
16801 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
16805 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
16806 then
16807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
16808 printf %s "checking for -lfontconfig... " >&6; }
16809 if test ${ac_cv_lib_soname_fontconfig+y}
16810 then :
16811 printf %s "(cached) " >&6
16812 else $as_nop
16813 ac_check_soname_save_LIBS=$LIBS
16814 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
16815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16816 /* end confdefs.h. */
16818 /* Override any GCC internal prototype to avoid an error.
16819 Use char because int might match the return type of a GCC
16820 builtin and then its argument prototype would still apply. */
16821 char FcInit ();
16823 main (void)
16825 return FcInit ();
16827 return 0;
16829 _ACEOF
16830 if ac_fn_c_try_link "$LINENO"
16831 then :
16832 case "$LIBEXT" in
16833 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16834 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'` ;;
16835 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16836 if ${ac_cv_lib_soname_fontconfig:+false} :
16837 then :
16838 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16839 fi ;;
16840 esac
16841 else $as_nop
16842 ac_cv_lib_soname_fontconfig=
16844 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16845 conftest$ac_exeext conftest.$ac_ext
16846 LIBS=$ac_check_soname_save_LIBS
16848 if ${ac_cv_lib_soname_fontconfig:+false} :
16849 then :
16850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16851 printf "%s\n" "not found" >&6; }
16852 FONTCONFIG_CFLAGS=""
16853 else $as_nop
16854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
16855 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
16857 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
16861 else
16862 FONTCONFIG_CFLAGS=""
16864 CPPFLAGS=$ac_save_CPPFLAGS
16867 if test "x$ac_cv_lib_soname_fontconfig" = "x"
16868 then :
16869 case "x$with_fontconfig" in
16870 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
16871 xno) ;;
16872 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
16873 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
16874 esac
16878 if test "x$with_krb5" != "xno"
16879 then
16880 if ${KRB5_CFLAGS:+false} :
16881 then :
16882 if test ${PKG_CONFIG+y}
16883 then :
16884 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
16887 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
16888 if ${KRB5_LIBS:+false} :
16889 then :
16890 if test ${PKG_CONFIG+y}
16891 then :
16892 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
16895 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
16897 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
16898 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
16899 ac_save_CPPFLAGS=$CPPFLAGS
16900 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
16901 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
16902 if test "x$ac_cv_header_krb5_krb5_h" = xyes
16903 then :
16904 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
16908 if test "$ac_cv_header_krb5_krb5_h" = "yes"
16909 then
16910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
16911 printf %s "checking for -lkrb5... " >&6; }
16912 if test ${ac_cv_lib_soname_krb5+y}
16913 then :
16914 printf %s "(cached) " >&6
16915 else $as_nop
16916 ac_check_soname_save_LIBS=$LIBS
16917 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
16918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16919 /* end confdefs.h. */
16921 /* Override any GCC internal prototype to avoid an error.
16922 Use char because int might match the return type of a GCC
16923 builtin and then its argument prototype would still apply. */
16924 char krb5_is_config_principal ();
16926 main (void)
16928 return krb5_is_config_principal ();
16930 return 0;
16932 _ACEOF
16933 if ac_fn_c_try_link "$LINENO"
16934 then :
16935 case "$LIBEXT" in
16936 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16937 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'` ;;
16938 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16939 if ${ac_cv_lib_soname_krb5:+false} :
16940 then :
16941 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16942 fi ;;
16943 esac
16944 else $as_nop
16945 ac_cv_lib_soname_krb5=
16947 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16948 conftest$ac_exeext conftest.$ac_ext
16949 LIBS=$ac_check_soname_save_LIBS
16951 if ${ac_cv_lib_soname_krb5:+false} :
16952 then :
16953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16954 printf "%s\n" "not found" >&6; }
16955 KRB5_CFLAGS=""
16956 else $as_nop
16957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
16958 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
16960 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
16964 else
16965 KRB5_CFLAGS=""
16967 CPPFLAGS=$ac_save_CPPFLAGS
16970 if test "x$ac_cv_lib_soname_krb5" = "x"
16971 then :
16972 case "x$with_krb5" in
16973 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
16974 xno) ;;
16975 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
16976 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
16977 esac
16980 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
16982 if test "x$with_gssapi" != "xno"
16983 then
16984 if ${GSSAPI_CFLAGS:+false} :
16985 then :
16986 if test ${PKG_CONFIG+y}
16987 then :
16988 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
16991 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
16992 if ${GSSAPI_LIBS:+false} :
16993 then :
16994 if test ${PKG_CONFIG+y}
16995 then :
16996 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
16999 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17001 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17003 ac_save_CPPFLAGS=$CPPFLAGS
17004 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17005 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17006 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17007 then :
17008 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17011 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17012 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17013 then :
17014 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17018 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17019 then
17020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17021 printf %s "checking for -lgssapi_krb5... " >&6; }
17022 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17023 then :
17024 printf %s "(cached) " >&6
17025 else $as_nop
17026 ac_check_soname_save_LIBS=$LIBS
17027 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17029 /* end confdefs.h. */
17031 /* Override any GCC internal prototype to avoid an error.
17032 Use char because int might match the return type of a GCC
17033 builtin and then its argument prototype would still apply. */
17034 char gss_init_sec_context ();
17036 main (void)
17038 return gss_init_sec_context ();
17040 return 0;
17042 _ACEOF
17043 if ac_fn_c_try_link "$LINENO"
17044 then :
17045 case "$LIBEXT" in
17046 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17047 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'` ;;
17048 *) 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'`
17049 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17050 then :
17051 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17052 fi ;;
17053 esac
17054 else $as_nop
17055 ac_cv_lib_soname_gssapi_krb5=
17057 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17058 conftest$ac_exeext conftest.$ac_ext
17059 LIBS=$ac_check_soname_save_LIBS
17061 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17062 then :
17063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17064 printf "%s\n" "not found" >&6; }
17065 GSSAPI_CFLAGS=""
17066 else $as_nop
17067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
17068 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
17070 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
17074 else
17075 GSSAPI_CFLAGS=""
17077 CPPFLAGS=$ac_save_CPPFLAGS
17080 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
17081 then :
17082 case "x$with_gssapi" in
17083 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
17084 xno) ;;
17085 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
17086 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
17087 esac
17091 if test "$ac_cv_header_AL_al_h" = "yes"
17092 then
17093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
17094 printf %s "checking for -lopenal... " >&6; }
17095 if test ${ac_cv_lib_soname_openal+y}
17096 then :
17097 printf %s "(cached) " >&6
17098 else $as_nop
17099 ac_check_soname_save_LIBS=$LIBS
17100 LIBS="-lopenal $LIBS"
17101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17102 /* end confdefs.h. */
17104 /* Override any GCC internal prototype to avoid an error.
17105 Use char because int might match the return type of a GCC
17106 builtin and then its argument prototype would still apply. */
17107 char alGetSource3i ();
17109 main (void)
17111 return alGetSource3i ();
17113 return 0;
17115 _ACEOF
17116 if ac_fn_c_try_link "$LINENO"
17117 then :
17118 case "$LIBEXT" in
17119 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17120 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'` ;;
17121 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17122 if ${ac_cv_lib_soname_openal:+false} :
17123 then :
17124 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17125 fi ;;
17126 esac
17127 else $as_nop
17128 ac_cv_lib_soname_openal=
17130 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17131 conftest$ac_exeext conftest.$ac_ext
17132 LIBS=$ac_check_soname_save_LIBS
17134 if ${ac_cv_lib_soname_openal:+false} :
17135 then :
17136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17137 printf "%s\n" "not found" >&6; }
17139 else $as_nop
17140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
17141 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
17143 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
17145 OPENAL_LIBS="-lopenal"
17147 ac_cv_lib_openal=yes
17149 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
17153 if test "x$ac_cv_lib_openal" != xyes
17154 then :
17155 case "x$with_openal" in
17156 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
17157 xno) ;;
17158 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
17159 This is an error since --with-openal was requested." "$LINENO" 5 ;;
17160 esac
17161 enable_openal32=${enable_openal32:-no}
17164 if test "$ac_cv_header_libprocstat_h" = "yes"
17165 then
17166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
17167 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
17168 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
17169 then :
17170 printf %s "(cached) " >&6
17171 else $as_nop
17172 ac_check_lib_save_LIBS=$LIBS
17173 LIBS="-lprocstat $LIBS"
17174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17175 /* end confdefs.h. */
17177 /* Override any GCC internal prototype to avoid an error.
17178 Use char because int might match the return type of a GCC
17179 builtin and then its argument prototype would still apply. */
17180 char procstat_open_sysctl ();
17182 main (void)
17184 return procstat_open_sysctl ();
17186 return 0;
17188 _ACEOF
17189 if ac_fn_c_try_link "$LINENO"
17190 then :
17191 ac_cv_lib_procstat_procstat_open_sysctl=yes
17192 else $as_nop
17193 ac_cv_lib_procstat_procstat_open_sysctl=no
17195 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17196 conftest$ac_exeext conftest.$ac_ext
17197 LIBS=$ac_check_lib_save_LIBS
17199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
17200 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
17201 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
17202 then :
17204 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
17206 PROCSTAT_LIBS="-lprocstat"
17212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
17213 printf %s "checking for -lodbc... " >&6; }
17214 if test ${ac_cv_lib_soname_odbc+y}
17215 then :
17216 printf %s "(cached) " >&6
17217 else $as_nop
17218 ac_check_soname_save_LIBS=$LIBS
17219 LIBS="-lodbc $LIBS"
17220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17221 /* end confdefs.h. */
17223 /* Override any GCC internal prototype to avoid an error.
17224 Use char because int might match the return type of a GCC
17225 builtin and then its argument prototype would still apply. */
17226 char SQLConnect ();
17228 main (void)
17230 return SQLConnect ();
17232 return 0;
17234 _ACEOF
17235 if ac_fn_c_try_link "$LINENO"
17236 then :
17237 case "$LIBEXT" in
17238 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17239 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'` ;;
17240 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17241 if ${ac_cv_lib_soname_odbc:+false} :
17242 then :
17243 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17244 fi ;;
17245 esac
17246 else $as_nop
17247 ac_cv_lib_soname_odbc=
17249 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17250 conftest$ac_exeext conftest.$ac_ext
17251 LIBS=$ac_check_soname_save_LIBS
17253 if ${ac_cv_lib_soname_odbc:+false} :
17254 then :
17255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17256 printf "%s\n" "not found" >&6; }
17257 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
17259 else $as_nop
17260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
17261 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
17263 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
17268 if test "x$with_netapi" != "xno"
17269 then
17270 if ${NETAPI_CFLAGS:+false} :
17271 then :
17272 if test ${PKG_CONFIG+y}
17273 then :
17274 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
17278 if ${NETAPI_LIBS:+false} :
17279 then :
17280 if test ${PKG_CONFIG+y}
17281 then :
17282 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
17287 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
17288 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
17289 ac_save_CPPFLAGS=$CPPFLAGS
17290 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
17291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
17292 printf %s "checking for -lnetapi... " >&6; }
17293 if test ${ac_cv_lib_soname_netapi+y}
17294 then :
17295 printf %s "(cached) " >&6
17296 else $as_nop
17297 ac_check_soname_save_LIBS=$LIBS
17298 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
17299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17300 /* end confdefs.h. */
17302 /* Override any GCC internal prototype to avoid an error.
17303 Use char because int might match the return type of a GCC
17304 builtin and then its argument prototype would still apply. */
17305 char libnetapi_init ();
17307 main (void)
17309 return libnetapi_init ();
17311 return 0;
17313 _ACEOF
17314 if ac_fn_c_try_link "$LINENO"
17315 then :
17316 case "$LIBEXT" in
17317 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17318 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'` ;;
17319 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17320 if ${ac_cv_lib_soname_netapi:+false} :
17321 then :
17322 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17323 fi ;;
17324 esac
17325 else $as_nop
17326 ac_cv_lib_soname_netapi=
17328 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17329 conftest$ac_exeext conftest.$ac_ext
17330 LIBS=$ac_check_soname_save_LIBS
17332 if ${ac_cv_lib_soname_netapi:+false} :
17333 then :
17334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17335 printf "%s\n" "not found" >&6; }
17336 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
17338 else $as_nop
17339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
17340 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
17342 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
17346 CPPFLAGS=$ac_save_CPPFLAGS
17349 if test "x$ac_cv_lib_soname_netapi" = "x"
17350 then :
17351 case "x$with_netapi" in
17352 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
17353 xno) ;;
17354 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
17355 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
17356 esac
17357 enable_netapi=${enable_netapi:-no}
17361 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
17362 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
17363 then
17364 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
17367 if test "x$with_vulkan" != "xno"
17368 then
17369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
17370 printf %s "checking for -lvulkan... " >&6; }
17371 if test ${ac_cv_lib_soname_vulkan+y}
17372 then :
17373 printf %s "(cached) " >&6
17374 else $as_nop
17375 ac_check_soname_save_LIBS=$LIBS
17376 LIBS="-lvulkan $LIBS"
17377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17378 /* end confdefs.h. */
17380 /* Override any GCC internal prototype to avoid an error.
17381 Use char because int might match the return type of a GCC
17382 builtin and then its argument prototype would still apply. */
17383 char vkGetInstanceProcAddr ();
17385 main (void)
17387 return vkGetInstanceProcAddr ();
17389 return 0;
17391 _ACEOF
17392 if ac_fn_c_try_link "$LINENO"
17393 then :
17394 case "$LIBEXT" in
17395 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17396 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'` ;;
17397 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17398 if ${ac_cv_lib_soname_vulkan:+false} :
17399 then :
17400 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17401 fi ;;
17402 esac
17403 else $as_nop
17404 ac_cv_lib_soname_vulkan=
17406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17407 conftest$ac_exeext conftest.$ac_ext
17408 LIBS=$ac_check_soname_save_LIBS
17410 if ${ac_cv_lib_soname_vulkan:+false} :
17411 then :
17412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17413 printf "%s\n" "not found" >&6; }
17415 else $as_nop
17416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
17417 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
17419 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
17423 if test "x$ac_cv_lib_soname_vulkan" = "x"
17424 then
17425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
17426 printf %s "checking for -lMoltenVK... " >&6; }
17427 if test ${ac_cv_lib_soname_MoltenVK+y}
17428 then :
17429 printf %s "(cached) " >&6
17430 else $as_nop
17431 ac_check_soname_save_LIBS=$LIBS
17432 LIBS="-lMoltenVK $LIBS"
17433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17434 /* end confdefs.h. */
17436 /* Override any GCC internal prototype to avoid an error.
17437 Use char because int might match the return type of a GCC
17438 builtin and then its argument prototype would still apply. */
17439 char vkGetInstanceProcAddr ();
17441 main (void)
17443 return vkGetInstanceProcAddr ();
17445 return 0;
17447 _ACEOF
17448 if ac_fn_c_try_link "$LINENO"
17449 then :
17450 case "$LIBEXT" in
17451 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17452 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'` ;;
17453 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17454 if ${ac_cv_lib_soname_MoltenVK:+false} :
17455 then :
17456 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17457 fi ;;
17458 esac
17459 else $as_nop
17460 ac_cv_lib_soname_MoltenVK=
17462 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17463 conftest$ac_exeext conftest.$ac_ext
17464 LIBS=$ac_check_soname_save_LIBS
17466 if ${ac_cv_lib_soname_MoltenVK:+false} :
17467 then :
17468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17469 printf "%s\n" "not found" >&6; }
17471 else $as_nop
17472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
17473 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
17475 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
17481 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
17482 then :
17483 case "x$with_vulkan" in
17484 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
17485 xno) ;;
17486 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
17487 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
17488 esac
17492 if test "x$with_vkd3d" != "xno"
17493 then
17494 if ${VKD3D_CFLAGS:+false} :
17495 then :
17496 if test ${PKG_CONFIG+y}
17497 then :
17498 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
17502 if ${VKD3D_LIBS:+false} :
17503 then :
17504 if test ${PKG_CONFIG+y}
17505 then :
17506 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
17511 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
17512 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
17513 ac_save_CPPFLAGS=$CPPFLAGS
17514 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
17515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
17516 printf %s "checking for -lvkd3d... " >&6; }
17517 if test ${ac_cv_lib_soname_vkd3d+y}
17518 then :
17519 printf %s "(cached) " >&6
17520 else $as_nop
17521 ac_check_soname_save_LIBS=$LIBS
17522 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
17523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17524 /* end confdefs.h. */
17526 /* Override any GCC internal prototype to avoid an error.
17527 Use char because int might match the return type of a GCC
17528 builtin and then its argument prototype would still apply. */
17529 char vkd3d_serialize_versioned_root_signature ();
17531 main (void)
17533 return vkd3d_serialize_versioned_root_signature ();
17535 return 0;
17537 _ACEOF
17538 if ac_fn_c_try_link "$LINENO"
17539 then :
17540 case "$LIBEXT" in
17541 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17542 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'` ;;
17543 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17544 if ${ac_cv_lib_soname_vkd3d:+false} :
17545 then :
17546 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17547 fi ;;
17548 esac
17549 else $as_nop
17550 ac_cv_lib_soname_vkd3d=
17552 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17553 conftest$ac_exeext conftest.$ac_ext
17554 LIBS=$ac_check_soname_save_LIBS
17556 if ${ac_cv_lib_soname_vkd3d:+false} :
17557 then :
17558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17559 printf "%s\n" "not found" >&6; }
17561 else $as_nop
17562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
17563 printf "%s\n" "$ac_cv_lib_soname_vkd3d" >&6; }
17565 printf "%s\n" "#define SONAME_LIBVKD3D \"$ac_cv_lib_soname_vkd3d\"" >>confdefs.h
17569 CPPFLAGS=$ac_save_CPPFLAGS
17571 if ${VKD3D_SHADER_CFLAGS:+false} :
17572 then :
17573 if test ${PKG_CONFIG+y}
17574 then :
17575 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
17579 if ${VKD3D_SHADER_LIBS:+false} :
17580 then :
17581 if test ${PKG_CONFIG+y}
17582 then :
17583 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
17588 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
17589 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
17590 ac_save_CPPFLAGS=$CPPFLAGS
17591 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
17592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
17593 printf %s "checking for -lvkd3d-shader... " >&6; }
17594 if test ${ac_cv_lib_soname_vkd3d_shader+y}
17595 then :
17596 printf %s "(cached) " >&6
17597 else $as_nop
17598 ac_check_soname_save_LIBS=$LIBS
17599 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
17600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17601 /* end confdefs.h. */
17603 /* Override any GCC internal prototype to avoid an error.
17604 Use char because int might match the return type of a GCC
17605 builtin and then its argument prototype would still apply. */
17606 char vkd3d_shader_compile ();
17608 main (void)
17610 return vkd3d_shader_compile ();
17612 return 0;
17614 _ACEOF
17615 if ac_fn_c_try_link "$LINENO"
17616 then :
17617 case "$LIBEXT" in
17618 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17619 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'` ;;
17620 *) 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'`
17621 if ${ac_cv_lib_soname_vkd3d_shader:+false} :
17622 then :
17623 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17624 fi ;;
17625 esac
17626 else $as_nop
17627 ac_cv_lib_soname_vkd3d_shader=
17629 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17630 conftest$ac_exeext conftest.$ac_ext
17631 LIBS=$ac_check_soname_save_LIBS
17633 if ${ac_cv_lib_soname_vkd3d_shader:+false} :
17634 then :
17635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17636 printf "%s\n" "not found" >&6; }
17638 else $as_nop
17639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
17640 printf "%s\n" "$ac_cv_lib_soname_vkd3d_shader" >&6; }
17642 printf "%s\n" "#define SONAME_LIBVKD3D_SHADER \"$ac_cv_lib_soname_vkd3d_shader\"" >>confdefs.h
17646 CPPFLAGS=$ac_save_CPPFLAGS
17649 if test "x$ac_cv_lib_soname_vkd3d" = "x"
17650 then :
17651 case "x$with_vkd3d" in
17652 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
17653 xno) ;;
17654 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
17655 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
17656 esac
17659 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17662 if test "x${GCC}" = "xyes"
17663 then
17664 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
17666 saved_CFLAGS=$CFLAGS
17667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17668 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17669 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
17670 then :
17671 printf %s "(cached) " >&6
17672 else $as_nop
17673 ac_wine_try_cflags_saved=$CFLAGS
17674 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17676 /* end confdefs.h. */
17677 int main(int argc, char **argv) { return 0; }
17678 _ACEOF
17679 if ac_fn_c_try_link "$LINENO"
17680 then :
17681 ac_cv_cflags__Werror_unknown_warning_option=yes
17682 else $as_nop
17683 ac_cv_cflags__Werror_unknown_warning_option=no
17685 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17686 conftest$ac_exeext conftest.$ac_ext
17687 CFLAGS=$ac_wine_try_cflags_saved
17689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17690 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17691 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
17692 then :
17693 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17696 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17697 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
17698 then :
17699 printf %s "(cached) " >&6
17700 else $as_nop
17701 ac_wine_try_cflags_saved=$CFLAGS
17702 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17704 /* end confdefs.h. */
17705 int main(int argc, char **argv) { return 0; }
17706 _ACEOF
17707 if ac_fn_c_try_link "$LINENO"
17708 then :
17709 ac_cv_cflags__Werror_unused_command_line_argument=yes
17710 else $as_nop
17711 ac_cv_cflags__Werror_unused_command_line_argument=no
17713 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17714 conftest$ac_exeext conftest.$ac_ext
17715 CFLAGS=$ac_wine_try_cflags_saved
17717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17718 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17719 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
17720 then :
17721 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17724 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17725 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
17726 then :
17727 printf %s "(cached) " >&6
17728 else $as_nop
17729 ac_wine_try_cflags_saved=$CFLAGS
17730 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17732 /* end confdefs.h. */
17733 int main(int argc, char **argv) { return 0; }
17734 _ACEOF
17735 if ac_fn_c_try_link "$LINENO"
17736 then :
17737 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17738 else $as_nop
17739 ac_cv_cflags__Werror_ignored_optimization_argument=no
17741 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17742 conftest$ac_exeext conftest.$ac_ext
17743 CFLAGS=$ac_wine_try_cflags_saved
17745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17746 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17747 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
17748 then :
17749 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17752 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
17753 if test ${ac_cv_cflags__fcf_protection_none+y}
17754 then :
17755 printf %s "(cached) " >&6
17756 else $as_nop
17757 ac_wine_try_cflags_saved=$CFLAGS
17758 CFLAGS="$CFLAGS -fcf-protection=none"
17759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17760 /* end confdefs.h. */
17761 int main(int argc, char **argv) { return 0; }
17762 _ACEOF
17763 if ac_fn_c_try_link "$LINENO"
17764 then :
17765 ac_cv_cflags__fcf_protection_none=yes
17766 else $as_nop
17767 ac_cv_cflags__fcf_protection_none=no
17769 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17770 conftest$ac_exeext conftest.$ac_ext
17771 CFLAGS=$ac_wine_try_cflags_saved
17773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17774 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
17775 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
17776 then :
17777 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17780 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
17781 if test ${ac_cv_cflags__fno_stack_protector+y}
17782 then :
17783 printf %s "(cached) " >&6
17784 else $as_nop
17785 ac_wine_try_cflags_saved=$CFLAGS
17786 CFLAGS="$CFLAGS -fno-stack-protector"
17787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17788 /* end confdefs.h. */
17789 int main(int argc, char **argv) { return 0; }
17790 _ACEOF
17791 if ac_fn_c_try_link "$LINENO"
17792 then :
17793 ac_cv_cflags__fno_stack_protector=yes
17794 else $as_nop
17795 ac_cv_cflags__fno_stack_protector=no
17797 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17798 conftest$ac_exeext conftest.$ac_ext
17799 CFLAGS=$ac_wine_try_cflags_saved
17801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17802 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
17803 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
17804 then :
17805 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17808 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17809 if test ${ac_cv_cflags__fno_strict_aliasing+y}
17810 then :
17811 printf %s "(cached) " >&6
17812 else $as_nop
17813 ac_wine_try_cflags_saved=$CFLAGS
17814 CFLAGS="$CFLAGS -fno-strict-aliasing"
17815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17816 /* end confdefs.h. */
17817 int main(int argc, char **argv) { return 0; }
17818 _ACEOF
17819 if ac_fn_c_try_link "$LINENO"
17820 then :
17821 ac_cv_cflags__fno_strict_aliasing=yes
17822 else $as_nop
17823 ac_cv_cflags__fno_strict_aliasing=no
17825 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17826 conftest$ac_exeext conftest.$ac_ext
17827 CFLAGS=$ac_wine_try_cflags_saved
17829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17830 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17831 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
17832 then :
17833 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17836 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17837 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
17838 then :
17839 printf %s "(cached) " >&6
17840 else $as_nop
17841 ac_wine_try_cflags_saved=$CFLAGS
17842 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17844 /* end confdefs.h. */
17845 int main(int argc, char **argv) { return 0; }
17846 _ACEOF
17847 if ac_fn_c_try_link "$LINENO"
17848 then :
17849 ac_cv_cflags__Wdeclaration_after_statement=yes
17850 else $as_nop
17851 ac_cv_cflags__Wdeclaration_after_statement=no
17853 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17854 conftest$ac_exeext conftest.$ac_ext
17855 CFLAGS=$ac_wine_try_cflags_saved
17857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17858 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17859 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
17860 then :
17861 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17864 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
17865 if test ${ac_cv_cflags__Wempty_body+y}
17866 then :
17867 printf %s "(cached) " >&6
17868 else $as_nop
17869 ac_wine_try_cflags_saved=$CFLAGS
17870 CFLAGS="$CFLAGS -Wempty-body"
17871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17872 /* end confdefs.h. */
17873 int main(int argc, char **argv) { return 0; }
17874 _ACEOF
17875 if ac_fn_c_try_link "$LINENO"
17876 then :
17877 ac_cv_cflags__Wempty_body=yes
17878 else $as_nop
17879 ac_cv_cflags__Wempty_body=no
17881 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17882 conftest$ac_exeext conftest.$ac_ext
17883 CFLAGS=$ac_wine_try_cflags_saved
17885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17886 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
17887 if test "x$ac_cv_cflags__Wempty_body" = xyes
17888 then :
17889 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17892 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17893 if test ${ac_cv_cflags__Wignored_qualifiers+y}
17894 then :
17895 printf %s "(cached) " >&6
17896 else $as_nop
17897 ac_wine_try_cflags_saved=$CFLAGS
17898 CFLAGS="$CFLAGS -Wignored-qualifiers"
17899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17900 /* end confdefs.h. */
17901 int main(int argc, char **argv) { return 0; }
17902 _ACEOF
17903 if ac_fn_c_try_link "$LINENO"
17904 then :
17905 ac_cv_cflags__Wignored_qualifiers=yes
17906 else $as_nop
17907 ac_cv_cflags__Wignored_qualifiers=no
17909 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17910 conftest$ac_exeext conftest.$ac_ext
17911 CFLAGS=$ac_wine_try_cflags_saved
17913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17914 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17915 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
17916 then :
17917 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
17920 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
17921 if test ${ac_cv_cflags__Winit_self+y}
17922 then :
17923 printf %s "(cached) " >&6
17924 else $as_nop
17925 ac_wine_try_cflags_saved=$CFLAGS
17926 CFLAGS="$CFLAGS -Winit-self"
17927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17928 /* end confdefs.h. */
17929 int main(int argc, char **argv) { return 0; }
17930 _ACEOF
17931 if ac_fn_c_try_link "$LINENO"
17932 then :
17933 ac_cv_cflags__Winit_self=yes
17934 else $as_nop
17935 ac_cv_cflags__Winit_self=no
17937 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17938 conftest$ac_exeext conftest.$ac_ext
17939 CFLAGS=$ac_wine_try_cflags_saved
17941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
17942 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
17943 if test "x$ac_cv_cflags__Winit_self" = xyes
17944 then :
17945 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
17947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17948 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17949 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
17950 then :
17951 printf %s "(cached) " >&6
17952 else $as_nop
17953 ac_wine_try_cflags_saved=$CFLAGS
17954 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17956 /* end confdefs.h. */
17957 int main(int argc, char **argv) { return 0; }
17958 _ACEOF
17959 if ac_fn_c_try_link "$LINENO"
17960 then :
17961 ac_cv_cflags__Wpacked_not_aligned=yes
17962 else $as_nop
17963 ac_cv_cflags__Wpacked_not_aligned=no
17965 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17966 conftest$ac_exeext conftest.$ac_ext
17967 CFLAGS=$ac_wine_try_cflags_saved
17969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17970 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17971 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
17972 then :
17973 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17976 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
17977 if test ${ac_cv_cflags__Wpragma_pack+y}
17978 then :
17979 printf %s "(cached) " >&6
17980 else $as_nop
17981 ac_wine_try_cflags_saved=$CFLAGS
17982 CFLAGS="$CFLAGS -Wpragma-pack"
17983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17984 /* end confdefs.h. */
17985 int main(int argc, char **argv) { return 0; }
17986 _ACEOF
17987 if ac_fn_c_try_link "$LINENO"
17988 then :
17989 ac_cv_cflags__Wpragma_pack=yes
17990 else $as_nop
17991 ac_cv_cflags__Wpragma_pack=no
17993 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17994 conftest$ac_exeext conftest.$ac_ext
17995 CFLAGS=$ac_wine_try_cflags_saved
17997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17998 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
17999 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18000 then :
18001 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18004 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18005 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18006 then :
18007 printf %s "(cached) " >&6
18008 else $as_nop
18009 ac_wine_try_cflags_saved=$CFLAGS
18010 CFLAGS="$CFLAGS -Wshift-overflow=2"
18011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18012 /* end confdefs.h. */
18013 int main(int argc, char **argv) { return 0; }
18014 _ACEOF
18015 if ac_fn_c_try_link "$LINENO"
18016 then :
18017 ac_cv_cflags__Wshift_overflow_2=yes
18018 else $as_nop
18019 ac_cv_cflags__Wshift_overflow_2=no
18021 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18022 conftest$ac_exeext conftest.$ac_ext
18023 CFLAGS=$ac_wine_try_cflags_saved
18025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18026 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18027 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18028 then :
18029 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18032 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18033 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18034 then :
18035 printf %s "(cached) " >&6
18036 else $as_nop
18037 ac_wine_try_cflags_saved=$CFLAGS
18038 CFLAGS="$CFLAGS -Wstrict-prototypes"
18039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18040 /* end confdefs.h. */
18041 int main(int argc, char **argv) { return 0; }
18042 _ACEOF
18043 if ac_fn_c_try_link "$LINENO"
18044 then :
18045 ac_cv_cflags__Wstrict_prototypes=yes
18046 else $as_nop
18047 ac_cv_cflags__Wstrict_prototypes=no
18049 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18050 conftest$ac_exeext conftest.$ac_ext
18051 CFLAGS=$ac_wine_try_cflags_saved
18053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18054 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18055 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18056 then :
18057 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18060 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18061 if test ${ac_cv_cflags__Wtype_limits+y}
18062 then :
18063 printf %s "(cached) " >&6
18064 else $as_nop
18065 ac_wine_try_cflags_saved=$CFLAGS
18066 CFLAGS="$CFLAGS -Wtype-limits"
18067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18068 /* end confdefs.h. */
18069 int main(int argc, char **argv) { return 0; }
18070 _ACEOF
18071 if ac_fn_c_try_link "$LINENO"
18072 then :
18073 ac_cv_cflags__Wtype_limits=yes
18074 else $as_nop
18075 ac_cv_cflags__Wtype_limits=no
18077 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18078 conftest$ac_exeext conftest.$ac_ext
18079 CFLAGS=$ac_wine_try_cflags_saved
18081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18082 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18083 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18084 then :
18085 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18088 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18089 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18090 then :
18091 printf %s "(cached) " >&6
18092 else $as_nop
18093 ac_wine_try_cflags_saved=$CFLAGS
18094 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18096 /* end confdefs.h. */
18097 int main(int argc, char **argv) { return 0; }
18098 _ACEOF
18099 if ac_fn_c_try_link "$LINENO"
18100 then :
18101 ac_cv_cflags__Wunused_but_set_parameter=yes
18102 else $as_nop
18103 ac_cv_cflags__Wunused_but_set_parameter=no
18105 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18106 conftest$ac_exeext conftest.$ac_ext
18107 CFLAGS=$ac_wine_try_cflags_saved
18109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18110 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18111 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18112 then :
18113 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18116 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18117 if test ${ac_cv_cflags__Wvla+y}
18118 then :
18119 printf %s "(cached) " >&6
18120 else $as_nop
18121 ac_wine_try_cflags_saved=$CFLAGS
18122 CFLAGS="$CFLAGS -Wvla"
18123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18124 /* end confdefs.h. */
18125 int main(int argc, char **argv) { return 0; }
18126 _ACEOF
18127 if ac_fn_c_try_link "$LINENO"
18128 then :
18129 ac_cv_cflags__Wvla=yes
18130 else $as_nop
18131 ac_cv_cflags__Wvla=no
18133 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18134 conftest$ac_exeext conftest.$ac_ext
18135 CFLAGS=$ac_wine_try_cflags_saved
18137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18138 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18139 if test "x$ac_cv_cflags__Wvla" = xyes
18140 then :
18141 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18144 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18145 if test ${ac_cv_cflags__Wwrite_strings+y}
18146 then :
18147 printf %s "(cached) " >&6
18148 else $as_nop
18149 ac_wine_try_cflags_saved=$CFLAGS
18150 CFLAGS="$CFLAGS -Wwrite-strings"
18151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18152 /* end confdefs.h. */
18153 int main(int argc, char **argv) { return 0; }
18154 _ACEOF
18155 if ac_fn_c_try_link "$LINENO"
18156 then :
18157 ac_cv_cflags__Wwrite_strings=yes
18158 else $as_nop
18159 ac_cv_cflags__Wwrite_strings=no
18161 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18162 conftest$ac_exeext conftest.$ac_ext
18163 CFLAGS=$ac_wine_try_cflags_saved
18165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18166 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18167 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18168 then :
18169 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18172 if test -z "$CROSSTARGET"
18173 then
18174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
18175 printf %s "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
18176 if test ${ac_cv_cflags__fexcess_precision_standard+y}
18177 then :
18178 printf %s "(cached) " >&6
18179 else $as_nop
18180 ac_wine_try_cflags_saved=$CFLAGS
18181 CFLAGS="$CFLAGS -fexcess-precision=standard"
18182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18183 /* end confdefs.h. */
18184 int main(int argc, char **argv) { return 0; }
18185 _ACEOF
18186 if ac_fn_c_try_link "$LINENO"
18187 then :
18188 ac_cv_cflags__fexcess_precision_standard=yes
18189 else $as_nop
18190 ac_cv_cflags__fexcess_precision_standard=no
18192 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18193 conftest$ac_exeext conftest.$ac_ext
18194 CFLAGS=$ac_wine_try_cflags_saved
18196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
18197 printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
18198 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
18199 then :
18200 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
18205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18206 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18207 if test ${ac_cv_cflags__Wpointer_arith+y}
18208 then :
18209 printf %s "(cached) " >&6
18210 else $as_nop
18211 ac_wine_try_cflags_saved=$CFLAGS
18212 CFLAGS="$CFLAGS -Wpointer-arith"
18213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18214 /* end confdefs.h. */
18215 int main(int argc, char **argv) { return 0; }
18216 _ACEOF
18217 if ac_fn_c_try_link "$LINENO"
18218 then :
18219 ac_cv_cflags__Wpointer_arith=yes
18220 else $as_nop
18221 ac_cv_cflags__Wpointer_arith=no
18223 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18224 conftest$ac_exeext conftest.$ac_ext
18225 CFLAGS=$ac_wine_try_cflags_saved
18227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18228 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18229 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18230 then :
18231 saved_string_h_CFLAGS=$CFLAGS
18232 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
18233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18234 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18235 if test ${ac_cv_c_string_h_warnings+y}
18236 then :
18237 printf %s "(cached) " >&6
18238 else $as_nop
18239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18240 /* end confdefs.h. */
18241 #include <string.h>
18243 main (void)
18247 return 0;
18249 _ACEOF
18250 if ac_fn_c_try_compile "$LINENO"
18251 then :
18252 ac_cv_c_string_h_warnings=no
18253 else $as_nop
18254 ac_cv_c_string_h_warnings=yes
18256 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
18259 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
18260 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
18261 CFLAGS=$saved_string_h_CFLAGS
18264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
18265 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
18266 if test ${ac_cv_cflags__Wlogical_op+y}
18267 then :
18268 printf %s "(cached) " >&6
18269 else $as_nop
18270 ac_wine_try_cflags_saved=$CFLAGS
18271 CFLAGS="$CFLAGS -Wlogical-op"
18272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18273 /* end confdefs.h. */
18274 int main(int argc, char **argv) { return 0; }
18275 _ACEOF
18276 if ac_fn_c_try_link "$LINENO"
18277 then :
18278 ac_cv_cflags__Wlogical_op=yes
18279 else $as_nop
18280 ac_cv_cflags__Wlogical_op=no
18282 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18283 conftest$ac_exeext conftest.$ac_ext
18284 CFLAGS=$ac_wine_try_cflags_saved
18286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
18287 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
18288 if test "x$ac_cv_cflags__Wlogical_op" = xyes
18289 then :
18290 saved_string_h_CFLAGS=$CFLAGS
18291 CFLAGS="$CFLAGS -Wlogical-op -Werror"
18292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
18293 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
18294 if test ${ac_cv_c_logicalop_noisy+y}
18295 then :
18296 printf %s "(cached) " >&6
18297 else $as_nop
18298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18299 /* end confdefs.h. */
18300 #include <string.h>
18301 char*f(const char *h,char n) {return strchr(h,n);}
18303 main (void)
18307 return 0;
18309 _ACEOF
18310 if ac_fn_c_try_compile "$LINENO"
18311 then :
18312 ac_cv_c_logicalop_noisy=no
18313 else $as_nop
18314 ac_cv_c_logicalop_noisy=yes
18316 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
18319 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
18320 CFLAGS=$saved_string_h_CFLAGS
18321 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
18324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
18325 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
18326 if test ${wine_cv_64bit_compare_swap+y}
18327 then :
18328 printf %s "(cached) " >&6
18329 else $as_nop
18330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18331 /* end confdefs.h. */
18332 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
18333 #error no
18334 #endif
18336 main (void)
18340 return 0;
18342 _ACEOF
18343 if ac_fn_c_try_compile "$LINENO"
18344 then :
18345 wine_cv_64bit_compare_swap="none needed"
18346 else $as_nop
18347 case $host_cpu in
18348 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
18349 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
18350 *) wine_cv_64bit_compare_swap="unknown" ;;
18351 esac
18352 if test "x$wine_cv_64bit_compare_swap" != xunknown
18353 then
18354 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
18355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18356 /* end confdefs.h. */
18357 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
18358 #error no
18359 #endif
18361 main (void)
18365 return 0;
18367 _ACEOF
18368 if ac_fn_c_try_compile "$LINENO"
18369 then :
18371 else $as_nop
18372 wine_cv_64bit_compare_swap="unknown"
18374 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18375 CFLAGS=$saved_CFLAGS
18378 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
18381 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
18382 case "$wine_cv_64bit_compare_swap" in
18383 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
18384 "none needed") ;;
18385 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
18386 esac
18388 ac_debug_format_seen=""
18389 for ac_flag in $CFLAGS; do
18390 case $ac_flag in
18391 -gdwarf*) ac_debug_format_seen=yes ;;
18392 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
18393 esac
18394 done
18395 if test "x$ac_debug_format_seen" = xdefault
18396 then
18397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
18398 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
18399 if test ${ac_cv_cflags__gdwarf_4+y}
18400 then :
18401 printf %s "(cached) " >&6
18402 else $as_nop
18403 ac_wine_try_cflags_saved=$CFLAGS
18404 CFLAGS="$CFLAGS -gdwarf-4"
18405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18406 /* end confdefs.h. */
18407 int main(int argc, char **argv) { return 0; }
18408 _ACEOF
18409 if ac_fn_c_try_link "$LINENO"
18410 then :
18411 ac_cv_cflags__gdwarf_4=yes
18412 else $as_nop
18413 ac_cv_cflags__gdwarf_4=no
18415 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18416 conftest$ac_exeext conftest.$ac_ext
18417 CFLAGS=$ac_wine_try_cflags_saved
18419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
18420 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
18421 if test "x$ac_cv_cflags__gdwarf_4" = xyes
18422 then :
18423 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
18427 MSVCRTFLAGS=""
18429 case $host_os in
18430 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
18431 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
18432 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
18433 then :
18434 printf %s "(cached) " >&6
18435 else $as_nop
18436 ac_wine_try_cflags_saved=$CFLAGS
18437 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
18438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18439 /* end confdefs.h. */
18440 int main(int argc, char **argv) { return 0; }
18441 _ACEOF
18442 if ac_fn_c_try_link "$LINENO"
18443 then :
18444 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
18445 else $as_nop
18446 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
18448 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18449 conftest$ac_exeext conftest.$ac_ext
18450 CFLAGS=$ac_wine_try_cflags_saved
18452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
18453 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
18454 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
18455 then :
18456 DELAYLOADFLAG="-Wl,-delayload,"
18458 fi ;;
18459 *) MSVCRTFLAGS="-D_WIN32"
18460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
18461 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
18462 if test ${ac_cv_cflags__fno_builtin+y}
18463 then :
18464 printf %s "(cached) " >&6
18465 else $as_nop
18466 ac_wine_try_cflags_saved=$CFLAGS
18467 CFLAGS="$CFLAGS -fno-builtin"
18468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18469 /* end confdefs.h. */
18470 int main(int argc, char **argv) { return 0; }
18471 _ACEOF
18472 if ac_fn_c_try_link "$LINENO"
18473 then :
18474 ac_cv_cflags__fno_builtin=yes
18475 else $as_nop
18476 ac_cv_cflags__fno_builtin=no
18478 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18479 conftest$ac_exeext conftest.$ac_ext
18480 CFLAGS=$ac_wine_try_cflags_saved
18482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
18483 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
18484 if test "x$ac_cv_cflags__fno_builtin" = xyes
18485 then :
18486 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
18488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
18489 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
18490 if test ${ac_cv_cflags__fshort_wchar+y}
18491 then :
18492 printf %s "(cached) " >&6
18493 else $as_nop
18494 ac_wine_try_cflags_saved=$CFLAGS
18495 CFLAGS="$CFLAGS -fshort-wchar"
18496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18497 /* end confdefs.h. */
18498 int main(int argc, char **argv) { return 0; }
18499 _ACEOF
18500 if ac_fn_c_try_link "$LINENO"
18501 then :
18502 ac_cv_cflags__fshort_wchar=yes
18503 else $as_nop
18504 ac_cv_cflags__fshort_wchar=no
18506 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18507 conftest$ac_exeext conftest.$ac_ext
18508 CFLAGS=$ac_wine_try_cflags_saved
18510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
18511 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
18512 if test "x$ac_cv_cflags__fshort_wchar" = xyes
18513 then :
18514 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
18515 fi ;;
18516 esac
18518 case $host_cpu in
18519 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
18520 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
18521 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
18522 then :
18523 printf %s "(cached) " >&6
18524 else $as_nop
18525 ac_wine_try_cflags_saved=$CFLAGS
18526 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
18527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18528 /* end confdefs.h. */
18529 int main(int argc, char **argv) { return 0; }
18530 _ACEOF
18531 if ac_fn_c_try_link "$LINENO"
18532 then :
18533 ac_cv_cflags__fno_omit_frame_pointer=yes
18534 else $as_nop
18535 ac_cv_cflags__fno_omit_frame_pointer=no
18537 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18538 conftest$ac_exeext conftest.$ac_ext
18539 CFLAGS=$ac_wine_try_cflags_saved
18541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
18542 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
18543 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
18544 then :
18545 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
18546 fi ;;
18547 *x86_64*)
18548 case $host_os in
18549 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
18550 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
18551 if test ${ac_cv_cflags__Wno_format+y}
18552 then :
18553 printf %s "(cached) " >&6
18554 else $as_nop
18555 ac_wine_try_cflags_saved=$CFLAGS
18556 CFLAGS="$CFLAGS -Wno-format"
18557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18558 /* end confdefs.h. */
18559 int main(int argc, char **argv) { return 0; }
18560 _ACEOF
18561 if ac_fn_c_try_link "$LINENO"
18562 then :
18563 ac_cv_cflags__Wno_format=yes
18564 else $as_nop
18565 ac_cv_cflags__Wno_format=no
18567 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18568 conftest$ac_exeext conftest.$ac_ext
18569 CFLAGS=$ac_wine_try_cflags_saved
18571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
18572 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
18573 if test "x$ac_cv_cflags__Wno_format" = xyes
18574 then :
18575 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
18576 fi ;;
18577 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
18578 printf %s "checking whether the compiler supports -mabi=ms... " >&6; }
18579 if test ${ac_cv_cflags__mabi_ms+y}
18580 then :
18581 printf %s "(cached) " >&6
18582 else $as_nop
18583 ac_wine_try_cflags_saved=$CFLAGS
18584 CFLAGS="$CFLAGS -mabi=ms"
18585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18586 /* end confdefs.h. */
18587 int main(int argc, char **argv) { return 0; }
18588 _ACEOF
18589 if ac_fn_c_try_link "$LINENO"
18590 then :
18591 ac_cv_cflags__mabi_ms=yes
18592 else $as_nop
18593 ac_cv_cflags__mabi_ms=no
18595 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18596 conftest$ac_exeext conftest.$ac_ext
18597 CFLAGS=$ac_wine_try_cflags_saved
18599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
18600 printf "%s\n" "$ac_cv_cflags__mabi_ms" >&6; }
18601 if test "x$ac_cv_cflags__mabi_ms" = xyes
18602 then :
18603 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
18604 fi ;;
18605 esac ;;
18606 esac
18608 CFLAGS=$saved_CFLAGS
18610 if test "x$enable_werror" = "xyes"
18611 then
18612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
18613 printf %s "checking whether the compiler supports -Werror... " >&6; }
18614 if test ${ac_cv_cflags__Werror+y}
18615 then :
18616 printf %s "(cached) " >&6
18617 else $as_nop
18618 ac_wine_try_cflags_saved=$CFLAGS
18619 CFLAGS="$CFLAGS -Werror"
18620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18621 /* end confdefs.h. */
18622 int main(int argc, char **argv) { return 0; }
18623 _ACEOF
18624 if ac_fn_c_try_link "$LINENO"
18625 then :
18626 ac_cv_cflags__Werror=yes
18627 else $as_nop
18628 ac_cv_cflags__Werror=no
18630 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18631 conftest$ac_exeext conftest.$ac_ext
18632 CFLAGS=$ac_wine_try_cflags_saved
18634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
18635 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
18636 if test "x$ac_cv_cflags__Werror" = xyes
18637 then :
18638 EXTRACFLAGS="$EXTRACFLAGS -Werror"
18641 if test "x$enable_build_id" = "xyes"
18642 then
18643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
18644 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
18645 if test ${ac_cv_cflags__Wl___build_id+y}
18646 then :
18647 printf %s "(cached) " >&6
18648 else $as_nop
18649 ac_wine_try_cflags_saved=$CFLAGS
18650 CFLAGS="$CFLAGS -Wl,--build-id"
18651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18652 /* end confdefs.h. */
18653 int main(int argc, char **argv) { return 0; }
18654 _ACEOF
18655 if ac_fn_c_try_link "$LINENO"
18656 then :
18657 ac_cv_cflags__Wl___build_id=yes
18658 else $as_nop
18659 ac_cv_cflags__Wl___build_id=no
18661 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18662 conftest$ac_exeext conftest.$ac_ext
18663 CFLAGS=$ac_wine_try_cflags_saved
18665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
18666 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
18667 if test "x$ac_cv_cflags__Wl___build_id" = xyes
18668 then :
18669 CFLAGS="$CFLAGS -Wl,--build-id"
18670 LDFLAGS="$LDFLAGS -Wl,--build-id"
18676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
18677 printf %s "checking for the need to disable Fortify... " >&6; }
18678 if test ${ac_cv_c_fortify_enabled+y}
18679 then :
18680 printf %s "(cached) " >&6
18681 else $as_nop
18682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18683 /* end confdefs.h. */
18684 #include <string.h>
18686 main (void)
18688 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
18689 #error Fortify enabled
18690 #endif
18692 return 0;
18694 _ACEOF
18695 if ac_fn_c_try_compile "$LINENO"
18696 then :
18697 ac_cv_c_fortify_enabled=no
18698 else $as_nop
18699 ac_cv_c_fortify_enabled=yes
18701 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
18704 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
18705 if test "$ac_cv_c_fortify_enabled" = yes
18706 then
18707 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
18711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
18712 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
18713 if test ${ac_cv_c_cfi_support+y}
18714 then :
18715 printf %s "(cached) " >&6
18716 else $as_nop
18717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18718 /* end confdefs.h. */
18719 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
18721 main (void)
18725 return 0;
18727 _ACEOF
18728 if ac_fn_c_try_compile "$LINENO"
18729 then :
18730 ac_cv_c_cfi_support="yes"
18731 else $as_nop
18732 ac_cv_c_cfi_support="no"
18734 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
18737 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
18738 if test "$ac_cv_c_cfi_support" = "yes"
18739 then
18740 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
18741 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
18742 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
18743 else
18744 if test "x$enable_win64" = "xyes"
18745 then
18746 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
18751 case $host_os in
18752 linux*)
18753 case $host_cpu in
18754 *i[3456789]86*|x86_64*|*aarch64*|arm*)
18755 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
18756 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
18758 esac
18760 esac
18763 ac_save_CFLAGS="$CFLAGS"
18764 CFLAGS="$CFLAGS $BUILTINFLAG"
18765 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
18766 if test "x$ac_cv_func_epoll_create" = xyes
18767 then :
18768 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
18771 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
18772 if test "x$ac_cv_func_fstatfs" = xyes
18773 then :
18774 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
18777 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
18778 if test "x$ac_cv_func_futimens" = xyes
18779 then :
18780 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
18783 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
18784 if test "x$ac_cv_func_futimes" = xyes
18785 then :
18786 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
18789 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
18790 if test "x$ac_cv_func_futimesat" = xyes
18791 then :
18792 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
18795 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
18796 if test "x$ac_cv_func_getattrlist" = xyes
18797 then :
18798 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
18801 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
18802 if test "x$ac_cv_func_getauxval" = xyes
18803 then :
18804 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
18807 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
18808 if test "x$ac_cv_func_getifaddrs" = xyes
18809 then :
18810 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
18813 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
18814 if test "x$ac_cv_func_getrandom" = xyes
18815 then :
18816 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
18819 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
18820 if test "x$ac_cv_func_kqueue" = xyes
18821 then :
18822 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
18825 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
18826 if test "x$ac_cv_func_mach_continuous_time" = xyes
18827 then :
18828 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
18831 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
18832 if test "x$ac_cv_func_pipe2" = xyes
18833 then :
18834 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
18837 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
18838 if test "x$ac_cv_func_port_create" = xyes
18839 then :
18840 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
18843 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
18844 if test "x$ac_cv_func_posix_fadvise" = xyes
18845 then :
18846 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
18849 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
18850 if test "x$ac_cv_func_posix_fallocate" = xyes
18851 then :
18852 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
18855 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
18856 if test "x$ac_cv_func_prctl" = xyes
18857 then :
18858 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
18861 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
18862 if test "x$ac_cv_func_proc_pidinfo" = xyes
18863 then :
18864 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
18867 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
18868 if test "x$ac_cv_func_sched_yield" = xyes
18869 then :
18870 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
18873 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
18874 if test "x$ac_cv_func_setproctitle" = xyes
18875 then :
18876 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
18879 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
18880 if test "x$ac_cv_func_setprogname" = xyes
18881 then :
18882 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
18885 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
18886 if test "x$ac_cv_func_sigprocmask" = xyes
18887 then :
18888 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
18891 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
18892 if test "x$ac_cv_func_sysinfo" = xyes
18893 then :
18894 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
18897 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
18898 if test "x$ac_cv_func_tcdrain" = xyes
18899 then :
18900 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
18903 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
18904 if test "x$ac_cv_func_thr_kill2" = xyes
18905 then :
18906 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
18910 CFLAGS="$ac_save_CFLAGS"
18912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18913 printf %s "checking for library containing dlopen... " >&6; }
18914 if test ${ac_cv_search_dlopen+y}
18915 then :
18916 printf %s "(cached) " >&6
18917 else $as_nop
18918 ac_func_search_save_LIBS=$LIBS
18919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18920 /* end confdefs.h. */
18922 /* Override any GCC internal prototype to avoid an error.
18923 Use char because int might match the return type of a GCC
18924 builtin and then its argument prototype would still apply. */
18925 char dlopen ();
18927 main (void)
18929 return dlopen ();
18931 return 0;
18933 _ACEOF
18934 for ac_lib in '' dl
18936 if test -z "$ac_lib"; then
18937 ac_res="none required"
18938 else
18939 ac_res=-l$ac_lib
18940 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18942 if ac_fn_c_try_link "$LINENO"
18943 then :
18944 ac_cv_search_dlopen=$ac_res
18946 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18947 conftest$ac_exeext
18948 if test ${ac_cv_search_dlopen+y}
18949 then :
18950 break
18952 done
18953 if test ${ac_cv_search_dlopen+y}
18954 then :
18956 else $as_nop
18957 ac_cv_search_dlopen=no
18959 rm conftest.$ac_ext
18960 LIBS=$ac_func_search_save_LIBS
18962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18963 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
18964 ac_res=$ac_cv_search_dlopen
18965 if test "$ac_res" != no
18966 then :
18967 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18971 ac_wine_check_funcs_save_LIBS="$LIBS"
18972 LIBS="$LIBS $DL_LIBS"
18973 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
18974 if test "x$ac_cv_func_dlinfo" = xyes
18975 then :
18976 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
18980 LIBS="$ac_wine_check_funcs_save_LIBS"
18982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18983 printf %s "checking for library containing gethostbyname... " >&6; }
18984 if test ${ac_cv_search_gethostbyname+y}
18985 then :
18986 printf %s "(cached) " >&6
18987 else $as_nop
18988 ac_func_search_save_LIBS=$LIBS
18989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18990 /* end confdefs.h. */
18992 /* Override any GCC internal prototype to avoid an error.
18993 Use char because int might match the return type of a GCC
18994 builtin and then its argument prototype would still apply. */
18995 char gethostbyname ();
18997 main (void)
18999 return gethostbyname ();
19001 return 0;
19003 _ACEOF
19004 for ac_lib in '' nsl
19006 if test -z "$ac_lib"; then
19007 ac_res="none required"
19008 else
19009 ac_res=-l$ac_lib
19010 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19012 if ac_fn_c_try_link "$LINENO"
19013 then :
19014 ac_cv_search_gethostbyname=$ac_res
19016 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19017 conftest$ac_exeext
19018 if test ${ac_cv_search_gethostbyname+y}
19019 then :
19020 break
19022 done
19023 if test ${ac_cv_search_gethostbyname+y}
19024 then :
19026 else $as_nop
19027 ac_cv_search_gethostbyname=no
19029 rm conftest.$ac_ext
19030 LIBS=$ac_func_search_save_LIBS
19032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19033 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19034 ac_res=$ac_cv_search_gethostbyname
19035 if test "$ac_res" != no
19036 then :
19037 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19043 printf %s "checking for library containing connect... " >&6; }
19044 if test ${ac_cv_search_connect+y}
19045 then :
19046 printf %s "(cached) " >&6
19047 else $as_nop
19048 ac_func_search_save_LIBS=$LIBS
19049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19050 /* end confdefs.h. */
19052 /* Override any GCC internal prototype to avoid an error.
19053 Use char because int might match the return type of a GCC
19054 builtin and then its argument prototype would still apply. */
19055 char connect ();
19057 main (void)
19059 return connect ();
19061 return 0;
19063 _ACEOF
19064 for ac_lib in '' socket
19066 if test -z "$ac_lib"; then
19067 ac_res="none required"
19068 else
19069 ac_res=-l$ac_lib
19070 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19072 if ac_fn_c_try_link "$LINENO"
19073 then :
19074 ac_cv_search_connect=$ac_res
19076 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19077 conftest$ac_exeext
19078 if test ${ac_cv_search_connect+y}
19079 then :
19080 break
19082 done
19083 if test ${ac_cv_search_connect+y}
19084 then :
19086 else $as_nop
19087 ac_cv_search_connect=no
19089 rm conftest.$ac_ext
19090 LIBS=$ac_func_search_save_LIBS
19092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19093 printf "%s\n" "$ac_cv_search_connect" >&6; }
19094 ac_res=$ac_cv_search_connect
19095 if test "$ac_res" != no
19096 then :
19097 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19103 printf %s "checking for library containing inet_aton... " >&6; }
19104 if test ${ac_cv_search_inet_aton+y}
19105 then :
19106 printf %s "(cached) " >&6
19107 else $as_nop
19108 ac_func_search_save_LIBS=$LIBS
19109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19110 /* end confdefs.h. */
19112 /* Override any GCC internal prototype to avoid an error.
19113 Use char because int might match the return type of a GCC
19114 builtin and then its argument prototype would still apply. */
19115 char inet_aton ();
19117 main (void)
19119 return inet_aton ();
19121 return 0;
19123 _ACEOF
19124 for ac_lib in '' resolv
19126 if test -z "$ac_lib"; then
19127 ac_res="none required"
19128 else
19129 ac_res=-l$ac_lib
19130 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19132 if ac_fn_c_try_link "$LINENO"
19133 then :
19134 ac_cv_search_inet_aton=$ac_res
19136 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19137 conftest$ac_exeext
19138 if test ${ac_cv_search_inet_aton+y}
19139 then :
19140 break
19142 done
19143 if test ${ac_cv_search_inet_aton+y}
19144 then :
19146 else $as_nop
19147 ac_cv_search_inet_aton=no
19149 rm conftest.$ac_ext
19150 LIBS=$ac_func_search_save_LIBS
19152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19153 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19154 ac_res=$ac_cv_search_inet_aton
19155 if test "$ac_res" != no
19156 then :
19157 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19162 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19163 if test "x$ac_cv_func_getaddrinfo" = xyes
19164 then :
19165 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19170 case $host_os in
19171 darwin*|macosx*) ;;
19172 *) ac_save_LIBS=$LIBS
19173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19174 printf %s "checking for library containing clock_gettime... " >&6; }
19175 if test ${ac_cv_search_clock_gettime+y}
19176 then :
19177 printf %s "(cached) " >&6
19178 else $as_nop
19179 ac_func_search_save_LIBS=$LIBS
19180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19181 /* end confdefs.h. */
19183 /* Override any GCC internal prototype to avoid an error.
19184 Use char because int might match the return type of a GCC
19185 builtin and then its argument prototype would still apply. */
19186 char clock_gettime ();
19188 main (void)
19190 return clock_gettime ();
19192 return 0;
19194 _ACEOF
19195 for ac_lib in '' rt
19197 if test -z "$ac_lib"; then
19198 ac_res="none required"
19199 else
19200 ac_res=-l$ac_lib
19201 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19203 if ac_fn_c_try_link "$LINENO"
19204 then :
19205 ac_cv_search_clock_gettime=$ac_res
19207 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19208 conftest$ac_exeext
19209 if test ${ac_cv_search_clock_gettime+y}
19210 then :
19211 break
19213 done
19214 if test ${ac_cv_search_clock_gettime+y}
19215 then :
19217 else $as_nop
19218 ac_cv_search_clock_gettime=no
19220 rm conftest.$ac_ext
19221 LIBS=$ac_func_search_save_LIBS
19223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19224 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
19225 ac_res=$ac_cv_search_clock_gettime
19226 if test "$ac_res" != no
19227 then :
19228 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19230 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
19232 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
19236 LIBS=$ac_save_LIBS
19238 esac
19240 if test "x$with_ldap" != "xno"
19241 then
19242 if ${LDAP_CFLAGS:+false} :
19243 then :
19244 if test ${PKG_CONFIG+y}
19245 then :
19246 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
19250 if ${LDAP_LIBS:+false} :
19251 then :
19252 if test ${PKG_CONFIG+y}
19253 then :
19254 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
19258 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
19259 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
19260 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
19261 ac_save_CPPFLAGS=$CPPFLAGS
19262 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
19263 ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
19264 if test "x$ac_cv_header_ldap_h" = xyes
19265 then :
19266 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
19269 ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
19270 if test "x$ac_cv_header_lber_h" = xyes
19271 then :
19272 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
19276 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
19277 then
19278 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
19280 if test "x$ac_cv_type_LDAPSortKey" = xyes
19281 then :
19282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
19283 printf %s "checking for ldap_initialize in -lldap_r... " >&6; }
19284 if test ${ac_cv_lib_ldap_r_ldap_initialize+y}
19285 then :
19286 printf %s "(cached) " >&6
19287 else $as_nop
19288 ac_check_lib_save_LIBS=$LIBS
19289 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
19290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19291 /* end confdefs.h. */
19293 /* Override any GCC internal prototype to avoid an error.
19294 Use char because int might match the return type of a GCC
19295 builtin and then its argument prototype would still apply. */
19296 char ldap_initialize ();
19298 main (void)
19300 return ldap_initialize ();
19302 return 0;
19304 _ACEOF
19305 if ac_fn_c_try_link "$LINENO"
19306 then :
19307 ac_cv_lib_ldap_r_ldap_initialize=yes
19308 else $as_nop
19309 ac_cv_lib_ldap_r_ldap_initialize=no
19311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19312 conftest$ac_exeext conftest.$ac_ext
19313 LIBS=$ac_check_lib_save_LIBS
19315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
19316 printf "%s\n" "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
19317 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
19318 then :
19319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
19320 printf %s "checking for ber_init in -llber... " >&6; }
19321 if test ${ac_cv_lib_lber_ber_init+y}
19322 then :
19323 printf %s "(cached) " >&6
19324 else $as_nop
19325 ac_check_lib_save_LIBS=$LIBS
19326 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
19327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19328 /* end confdefs.h. */
19330 /* Override any GCC internal prototype to avoid an error.
19331 Use char because int might match the return type of a GCC
19332 builtin and then its argument prototype would still apply. */
19333 char ber_init ();
19335 main (void)
19337 return ber_init ();
19339 return 0;
19341 _ACEOF
19342 if ac_fn_c_try_link "$LINENO"
19343 then :
19344 ac_cv_lib_lber_ber_init=yes
19345 else $as_nop
19346 ac_cv_lib_lber_ber_init=no
19348 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19349 conftest$ac_exeext conftest.$ac_ext
19350 LIBS=$ac_check_lib_save_LIBS
19352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
19353 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
19354 if test "x$ac_cv_lib_lber_ber_init" = xyes
19355 then :
19357 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
19359 else $as_nop
19360 LDAP_LIBS=""
19363 else $as_nop
19364 LDAP_LIBS=""
19367 else $as_nop
19368 LDAP_LIBS=""
19371 ac_wine_check_funcs_save_LIBS="$LIBS"
19372 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
19373 ac_fn_c_check_func "$LINENO" "ldap_count_references" "ac_cv_func_ldap_count_references"
19374 if test "x$ac_cv_func_ldap_count_references" = xyes
19375 then :
19376 printf "%s\n" "#define HAVE_LDAP_COUNT_REFERENCES 1" >>confdefs.h
19379 ac_fn_c_check_func "$LINENO" "ldap_first_reference" "ac_cv_func_ldap_first_reference"
19380 if test "x$ac_cv_func_ldap_first_reference" = xyes
19381 then :
19382 printf "%s\n" "#define HAVE_LDAP_FIRST_REFERENCE 1" >>confdefs.h
19385 ac_fn_c_check_func "$LINENO" "ldap_next_reference" "ac_cv_func_ldap_next_reference"
19386 if test "x$ac_cv_func_ldap_next_reference" = xyes
19387 then :
19388 printf "%s\n" "#define HAVE_LDAP_NEXT_REFERENCE 1" >>confdefs.h
19391 ac_fn_c_check_func "$LINENO" "ldap_parse_reference" "ac_cv_func_ldap_parse_reference"
19392 if test "x$ac_cv_func_ldap_parse_reference" = xyes
19393 then :
19394 printf "%s\n" "#define HAVE_LDAP_PARSE_REFERENCE 1" >>confdefs.h
19397 ac_fn_c_check_func "$LINENO" "ldap_parse_sort_control" "ac_cv_func_ldap_parse_sort_control"
19398 if test "x$ac_cv_func_ldap_parse_sort_control" = xyes
19399 then :
19400 printf "%s\n" "#define HAVE_LDAP_PARSE_SORT_CONTROL 1" >>confdefs.h
19403 ac_fn_c_check_func "$LINENO" "ldap_parse_sortresponse_control" "ac_cv_func_ldap_parse_sortresponse_control"
19404 if test "x$ac_cv_func_ldap_parse_sortresponse_control" = xyes
19405 then :
19406 printf "%s\n" "#define HAVE_LDAP_PARSE_SORTRESPONSE_CONTROL 1" >>confdefs.h
19409 ac_fn_c_check_func "$LINENO" "ldap_parse_vlv_control" "ac_cv_func_ldap_parse_vlv_control"
19410 if test "x$ac_cv_func_ldap_parse_vlv_control" = xyes
19411 then :
19412 printf "%s\n" "#define HAVE_LDAP_PARSE_VLV_CONTROL 1" >>confdefs.h
19415 ac_fn_c_check_func "$LINENO" "ldap_parse_vlvresponse_control" "ac_cv_func_ldap_parse_vlvresponse_control"
19416 if test "x$ac_cv_func_ldap_parse_vlvresponse_control" = xyes
19417 then :
19418 printf "%s\n" "#define HAVE_LDAP_PARSE_VLVRESPONSE_CONTROL 1" >>confdefs.h
19422 LIBS="$ac_wine_check_funcs_save_LIBS"
19423 else
19424 LDAP_LIBS=""
19426 CPPFLAGS=$ac_save_CPPFLAGS
19429 if test "x$LDAP_LIBS" = "x"
19430 then :
19431 case "x$with_ldap" in
19432 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
19433 xno) ;;
19434 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
19435 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
19436 esac
19440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
19441 printf %s "checking for sched_setaffinity... " >&6; }
19442 if test ${wine_cv_have_sched_setaffinity+y}
19443 then :
19444 printf %s "(cached) " >&6
19445 else $as_nop
19446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19447 /* end confdefs.h. */
19448 #include <sched.h>
19450 main (void)
19452 sched_setaffinity(0, 0, 0);
19454 return 0;
19456 _ACEOF
19457 if ac_fn_c_try_link "$LINENO"
19458 then :
19459 wine_cv_have_sched_setaffinity=yes
19460 else $as_nop
19461 wine_cv_have_sched_setaffinity=no
19463 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19464 conftest$ac_exeext conftest.$ac_ext
19466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
19467 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
19468 if test "$wine_cv_have_sched_setaffinity" = "yes"
19469 then
19471 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
19476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
19477 printf %s "checking for inline... " >&6; }
19478 if test ${ac_cv_c_inline+y}
19479 then :
19480 printf %s "(cached) " >&6
19481 else $as_nop
19482 ac_cv_c_inline=no
19483 for ac_kw in inline __inline__ __inline; do
19484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19485 /* end confdefs.h. */
19486 #ifndef __cplusplus
19487 typedef int foo_t;
19488 static $ac_kw foo_t static_foo (void) {return 0; }
19489 $ac_kw foo_t foo (void) {return 0; }
19490 #endif
19492 _ACEOF
19493 if ac_fn_c_try_compile "$LINENO"
19494 then :
19495 ac_cv_c_inline=$ac_kw
19497 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19498 test "$ac_cv_c_inline" != no && break
19499 done
19502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
19503 printf "%s\n" "$ac_cv_c_inline" >&6; }
19505 case $ac_cv_c_inline in
19506 inline | yes) ;;
19508 case $ac_cv_c_inline in
19509 no) ac_val=;;
19510 *) ac_val=$ac_cv_c_inline;;
19511 esac
19512 cat >>confdefs.h <<_ACEOF
19513 #ifndef __cplusplus
19514 #define inline $ac_val
19515 #endif
19516 _ACEOF
19518 esac
19520 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
19521 #include <signal.h>
19523 if test "x$ac_cv_type_sigset_t" = xyes
19524 then :
19526 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
19531 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
19533 if test "x$ac_cv_type_request_sense" = xyes
19534 then :
19536 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
19542 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
19543 #ifdef HAVE_SYS_SOCKET_H
19544 #include <sys/socket.h>
19545 #endif
19546 #ifdef HAVE_SYS_SOCKETVAR_H
19547 #include <sys/socketvar.h>
19548 #endif
19549 #ifdef HAVE_NET_ROUTE_H
19550 #include <net/route.h>
19551 #endif
19552 #ifdef HAVE_NETINET_IN_H
19553 #include <netinet/in.h>
19554 #endif
19555 #ifdef HAVE_NETINET_IN_SYSTM_H
19556 #include <netinet/in_systm.h>
19557 #endif
19558 #ifdef HAVE_NETINET_IP_H
19559 #include <netinet/ip.h>
19560 #endif
19561 #ifdef HAVE_NETINET_IN_PCB_H
19562 #include <netinet/in_pcb.h>
19563 #endif
19565 if test "x$ac_cv_type_struct_xinpgen" = xyes
19566 then :
19568 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
19574 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
19575 #include <linux/input.h>
19576 #endif
19578 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
19579 then :
19581 printf "%s\n" "#define HAVE_STRUCT_FF_EFFECT_DIRECTION 1" >>confdefs.h
19587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
19588 printf %s "checking for sigaddset... " >&6; }
19589 if test ${wine_cv_have_sigaddset+y}
19590 then :
19591 printf %s "(cached) " >&6
19592 else $as_nop
19593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19594 /* end confdefs.h. */
19595 #include <signal.h>
19597 main (void)
19599 sigset_t set; sigaddset(&set,SIGTERM);
19601 return 0;
19603 _ACEOF
19604 if ac_fn_c_try_link "$LINENO"
19605 then :
19606 wine_cv_have_sigaddset=yes
19607 else $as_nop
19608 wine_cv_have_sigaddset=no
19610 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19611 conftest$ac_exeext conftest.$ac_ext
19613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
19614 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
19615 if test "$wine_cv_have_sigaddset" = "yes"
19616 then
19618 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
19623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
19624 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
19625 if test ${wine_cv_linux_gethostbyname_r_6+y}
19626 then :
19627 printf %s "(cached) " >&6
19628 else $as_nop
19629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19630 /* end confdefs.h. */
19631 #include <netdb.h>
19633 main (void)
19636 char *name=0;
19637 struct hostent he;
19638 struct hostent *result;
19639 char *buf=0;
19640 int bufsize=0;
19641 int errnr;
19642 char *addr=0;
19643 int addrlen=0;
19644 int addrtype=0;
19645 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
19646 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
19649 return 0;
19651 _ACEOF
19652 if ac_fn_c_try_link "$LINENO"
19653 then :
19654 wine_cv_linux_gethostbyname_r_6=yes
19655 else $as_nop
19656 wine_cv_linux_gethostbyname_r_6=no
19659 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19660 conftest$ac_exeext conftest.$ac_ext
19663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
19664 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
19665 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
19666 then
19668 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
19672 if test "$ac_cv_header_linux_joystick_h" = "yes"
19673 then
19674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
19675 printf %s "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
19676 if test ${wine_cv_linux_joystick_22_api+y}
19677 then :
19678 printf %s "(cached) " >&6
19679 else $as_nop
19680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19681 /* end confdefs.h. */
19683 #include <sys/ioctl.h>
19684 #include <sys/types.h>
19685 #include <linux/joystick.h>
19687 struct js_event blub;
19688 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
19689 #error "no 2.2 header"
19690 #endif
19693 main (void)
19695 /*empty*/
19697 return 0;
19699 _ACEOF
19700 if ac_fn_c_try_compile "$LINENO"
19701 then :
19702 wine_cv_linux_joystick_22_api=yes
19703 else $as_nop
19704 wine_cv_linux_joystick_22_api=no
19706 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
19710 printf "%s\n" "$wine_cv_linux_joystick_22_api" >&6; }
19711 if test "$wine_cv_linux_joystick_22_api" = "yes"
19712 then
19714 printf "%s\n" "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
19719 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
19720 #ifdef HAVE_SYS_SOCKET_H
19721 # include <sys/socket.h>
19722 #endif
19723 #ifdef HAVE_SYS_UN_H
19724 # include <sys/un.h>
19725 #endif
19727 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
19728 then :
19730 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
19734 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19735 #ifdef HAVE_SYS_SOCKET_H
19736 # include <sys/socket.h>
19737 #endif
19738 #ifdef HAVE_SYS_UN_H
19739 # include <sys/un.h>
19740 #endif
19742 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
19743 then :
19745 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
19751 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19752 #ifdef HAVE_SCSI_SG_H
19753 #include <scsi/sg.h>
19754 #endif
19756 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
19757 then :
19759 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
19763 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>
19764 #ifdef HAVE_SCSI_SG_H
19765 #include <scsi/sg.h>
19766 #endif
19768 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
19769 then :
19771 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
19777 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19779 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
19780 then :
19782 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
19788 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19789 #ifdef HAVE_SYS_MTIO_H
19790 #include <sys/mtio.h>
19791 #endif
19793 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
19794 then :
19796 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
19800 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19801 #ifdef HAVE_SYS_MTIO_H
19802 #include <sys/mtio.h>
19803 #endif
19805 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
19806 then :
19808 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
19812 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19813 #ifdef HAVE_SYS_MTIO_H
19814 #include <sys/mtio.h>
19815 #endif
19817 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
19818 then :
19820 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
19826 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19827 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
19828 then :
19830 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
19834 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19835 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
19836 then :
19838 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
19842 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19843 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
19844 then :
19846 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
19850 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19851 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
19852 then :
19854 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
19858 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19859 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
19860 then :
19862 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
19866 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19867 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
19868 then :
19870 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
19874 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19875 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
19876 then :
19878 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
19882 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19883 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
19884 then :
19886 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
19890 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19891 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
19892 then :
19894 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
19898 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19899 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
19900 then :
19902 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
19906 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19907 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
19908 then :
19910 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
19916 ac_fn_c_check_member "$LINENO" "struct sockaddr_in6" "sin6_scope_id" "ac_cv_member_struct_sockaddr_in6_sin6_scope_id" "#ifdef HAVE_SYS_TYPES_H
19917 #include <sys/types.h>
19918 #endif
19919 #ifdef HAVE_NETINET_IN_H
19920 #include <netinet/in.h>
19921 #endif
19923 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
19924 then :
19926 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
19932 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19933 #include <sys/types.h>
19934 #endif
19935 #ifdef HAVE_NETINET_IN_H
19936 #include <netinet/in.h>
19937 #endif
19938 #ifdef HAVE_RESOLV_H
19939 #include <resolv.h>
19940 #endif
19942 if test "x$ac_cv_type_struct___res_state" = xyes
19943 then :
19945 printf "%s\n" "#define HAVE_STRUCT___RES_STATE 1" >>confdefs.h
19951 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
19952 #include <resolv.h>
19953 #endif
19955 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
19956 then :
19958 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
19964 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19965 #include <sys/types.h>
19966 #endif
19967 #ifdef HAVE_NETINET_IN_H
19968 #include <netinet/in.h>
19969 #endif
19970 #ifdef HAVE_NETINET_IP_H
19971 #include <netinet/ip.h>
19972 #endif
19973 #ifdef HAVE_NETINET_IP_ICMP_H
19974 #include <netinet/ip_icmp.h>
19975 #endif
19976 #ifdef HAVE_NETINET_ICMP_VAR_H
19977 #include <netinet/icmp_var.h>
19978 #endif
19980 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
19981 then :
19983 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1" >>confdefs.h
19989 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19990 #include <sys/types.h>
19991 #endif
19992 #ifdef HAVE_ALIAS_H
19993 #include <alias.h>
19994 #endif
19995 #ifdef HAVE_SYS_SOCKET_H
19996 #include <sys/socket.h>
19997 #endif
19998 #ifdef HAVE_SYS_SOCKETVAR_H
19999 #include <sys/socketvar.h>
20000 #endif
20001 #ifdef HAVE_SYS_TIMEOUT_H
20002 #include <sys/timeout.h>
20003 #endif
20004 #ifdef HAVE_NETINET_IN_H
20005 #include <netinet/in.h>
20006 #endif
20007 #ifdef HAVE_NETINET_IN_SYSTM_H
20008 #include <netinet/in_systm.h>
20009 #endif
20010 #ifdef HAVE_NETINET_IP_H
20011 #include <netinet/ip.h>
20012 #endif
20013 #ifdef HAVE_NETINET_IP_VAR_H
20014 #include <netinet/ip_var.h>
20015 #endif
20016 #ifdef HAVE_NETINET_IP_ICMP_H
20017 #include <netinet/ip_icmp.h>
20018 #endif
20019 #ifdef HAVE_NETINET_ICMP_VAR_H
20020 #include <netinet/icmp_var.h>
20021 #endif
20023 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
20024 then :
20026 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1" >>confdefs.h
20032 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20033 #include <netinet/in.h>
20034 #endif
20036 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20037 then :
20039 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20045 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
20046 #include <sys/types.h>
20047 #endif
20048 #ifdef HAVE_SYS_SOCKETVAR_H
20049 #include <sys/socketvar.h>
20050 #endif
20051 #ifdef HAVE_NETINET_IN_H
20052 #include <netinet/in.h>
20053 #endif
20054 #ifdef HAVE_NETINET_IP_VAR_H
20055 #include <netinet/ip_var.h>
20056 #endif
20058 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20059 then :
20061 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20067 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
20068 #include <netinet/ip_var.h>
20069 #endif
20071 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20072 then :
20074 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20080 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
20081 #include <sys/types.h>
20082 #endif
20083 #ifdef HAVE_SYS_SOCKETVAR_H
20084 #include <sys/socketvar.h>
20085 #endif
20086 #ifdef HAVE_NETINET_IN_H
20087 #include <netinet/in.h>
20088 #endif
20089 #ifdef HAVE_NETINET_TCP_H
20090 #include <netinet/tcp.h>
20091 #endif
20092 #ifdef HAVE_NETINET_TCP_VAR_H
20093 #include <netinet/tcp_var.h>
20094 #endif
20096 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20097 then :
20099 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20105 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
20106 #include <netinet/tcp_var.h>
20107 #endif
20109 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20110 then :
20112 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20118 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
20119 #include <sys/types.h>
20120 #endif
20121 #ifdef HAVE_NETINET_IN_H
20122 #include <netinet/in.h>
20123 #endif
20124 #ifdef HAVE_NETINET_IP_VAR_H
20125 #include <netinet/ip_var.h>
20126 #endif
20127 #ifdef HAVE_NETINET_UDP_H
20128 #include <netinet/udp.h>
20129 #endif
20130 #ifdef HAVE_NETINET_UDP_VAR_H
20131 #include <netinet/udp_var.h>
20132 #endif
20134 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20135 then :
20137 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20143 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
20144 #include <sys/types.h>
20145 #endif
20146 #ifdef HAVE_NET_IF_H
20147 # include <net/if.h>
20148 #endif
20150 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20151 then :
20153 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20159 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20160 # include <sys/sysinfo.h>
20161 #endif
20163 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20164 then :
20166 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20170 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20171 # include <sys/sysinfo.h>
20172 #endif
20174 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20175 then :
20177 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20183 ac_save_LIBS="$LIBS"
20184 LIBS="$LIBS -lm"
20185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
20186 printf %s "checking for isfinite... " >&6; }
20187 if test ${ac_cv_have_isfinite+y}
20188 then :
20189 printf %s "(cached) " >&6
20190 else $as_nop
20191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20192 /* end confdefs.h. */
20193 #include <math.h>
20195 main (void)
20197 float f = 0.0; return isfinite(f)
20199 return 0;
20201 _ACEOF
20202 if ac_fn_c_try_link "$LINENO"
20203 then :
20204 ac_cv_have_isfinite="yes"
20205 else $as_nop
20206 ac_cv_have_isfinite="no"
20208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20209 conftest$ac_exeext conftest.$ac_ext
20211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
20212 printf "%s\n" "$ac_cv_have_isfinite" >&6; }
20213 if test "$ac_cv_have_isfinite" = "yes"
20214 then
20216 printf "%s\n" "#define HAVE_ISFINITE 1" >>confdefs.h
20220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
20221 printf %s "checking for isinf... " >&6; }
20222 if test ${ac_cv_have_isinf+y}
20223 then :
20224 printf %s "(cached) " >&6
20225 else $as_nop
20226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20227 /* end confdefs.h. */
20228 #include <math.h>
20230 main (void)
20232 float f = 0.0; return isinf(f)
20234 return 0;
20236 _ACEOF
20237 if ac_fn_c_try_link "$LINENO"
20238 then :
20239 ac_cv_have_isinf="yes"
20240 else $as_nop
20241 ac_cv_have_isinf="no"
20243 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20244 conftest$ac_exeext conftest.$ac_ext
20246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
20247 printf "%s\n" "$ac_cv_have_isinf" >&6; }
20248 if test "$ac_cv_have_isinf" = "yes"
20249 then
20251 printf "%s\n" "#define HAVE_ISINF 1" >>confdefs.h
20255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
20256 printf %s "checking for isnan... " >&6; }
20257 if test ${ac_cv_have_isnan+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 <math.h>
20265 main (void)
20267 float f = 0.0; return isnan(f)
20269 return 0;
20271 _ACEOF
20272 if ac_fn_c_try_link "$LINENO"
20273 then :
20274 ac_cv_have_isnan="yes"
20275 else $as_nop
20276 ac_cv_have_isnan="no"
20278 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20279 conftest$ac_exeext conftest.$ac_ext
20281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
20282 printf "%s\n" "$ac_cv_have_isnan" >&6; }
20283 if test "$ac_cv_have_isnan" = "yes"
20284 then
20286 printf "%s\n" "#define HAVE_ISNAN 1" >>confdefs.h
20290 LIBS="$ac_save_LIBS"
20292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20293 printf %s "checking for __builtin_popcount... " >&6; }
20294 if test ${ac_cv_have___builtin_popcount+y}
20295 then :
20296 printf %s "(cached) " >&6
20297 else $as_nop
20298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20299 /* end confdefs.h. */
20302 main (void)
20304 return __builtin_popcount(1)
20306 return 0;
20308 _ACEOF
20309 if ac_fn_c_try_link "$LINENO"
20310 then :
20311 ac_cv_have___builtin_popcount="yes"
20312 else $as_nop
20313 ac_cv_have___builtin_popcount="no"
20315 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20316 conftest$ac_exeext conftest.$ac_ext
20318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20319 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20320 if test "$ac_cv_have___builtin_popcount" = "yes"
20321 then
20323 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20328 printf %s "checking for __clear_cache... " >&6; }
20329 if test ${ac_cv_have___clear_cache+y}
20330 then :
20331 printf %s "(cached) " >&6
20332 else $as_nop
20333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20334 /* end confdefs.h. */
20337 main (void)
20339 __clear_cache((void*)0, (void*)0); return 0;
20341 return 0;
20343 _ACEOF
20344 if ac_fn_c_try_link "$LINENO"
20345 then :
20346 ac_cv_have___clear_cache="yes"
20347 else $as_nop
20348 ac_cv_have___clear_cache="no"
20350 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20351 conftest$ac_exeext conftest.$ac_ext
20353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20354 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20355 if test "$ac_cv_have___clear_cache" = "yes"
20356 then
20358 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20363 case $host_cpu in
20364 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20365 printf %s "checking whether we need to define __i386__... " >&6; }
20366 if test ${ac_cv_cpp_def___i386__+y}
20367 then :
20368 printf %s "(cached) " >&6
20369 else $as_nop
20370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20371 /* end confdefs.h. */
20372 #ifndef __i386__
20374 #endif
20375 _ACEOF
20376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20377 $EGREP "yes" >/dev/null 2>&1
20378 then :
20379 ac_cv_cpp_def___i386__=yes
20380 else $as_nop
20381 ac_cv_cpp_def___i386__=no
20383 rm -rf conftest*
20386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20387 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20388 if test "x$ac_cv_cpp_def___i386__" = xyes
20389 then :
20390 CFLAGS="$CFLAGS -D__i386__"
20391 LINTFLAGS="$LINTFLAGS -D__i386__"
20392 fi ;;
20393 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20394 printf %s "checking whether we need to define __x86_64__... " >&6; }
20395 if test ${ac_cv_cpp_def___x86_64__+y}
20396 then :
20397 printf %s "(cached) " >&6
20398 else $as_nop
20399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20400 /* end confdefs.h. */
20401 #ifndef __x86_64__
20403 #endif
20404 _ACEOF
20405 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20406 $EGREP "yes" >/dev/null 2>&1
20407 then :
20408 ac_cv_cpp_def___x86_64__=yes
20409 else $as_nop
20410 ac_cv_cpp_def___x86_64__=no
20412 rm -rf conftest*
20415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20416 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20417 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20418 then :
20419 CFLAGS="$CFLAGS -D__x86_64__"
20420 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20421 fi ;;
20422 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20423 printf %s "checking whether we need to define __sparc64__... " >&6; }
20424 if test ${ac_cv_cpp_def___sparc64__+y}
20425 then :
20426 printf %s "(cached) " >&6
20427 else $as_nop
20428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20429 /* end confdefs.h. */
20430 #ifndef __sparc64__
20432 #endif
20433 _ACEOF
20434 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20435 $EGREP "yes" >/dev/null 2>&1
20436 then :
20437 ac_cv_cpp_def___sparc64__=yes
20438 else $as_nop
20439 ac_cv_cpp_def___sparc64__=no
20441 rm -rf conftest*
20444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20445 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20446 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20447 then :
20448 CFLAGS="$CFLAGS -D__sparc64__"
20449 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20450 fi ;;
20451 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20452 printf %s "checking whether we need to define __sparc__... " >&6; }
20453 if test ${ac_cv_cpp_def___sparc__+y}
20454 then :
20455 printf %s "(cached) " >&6
20456 else $as_nop
20457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20458 /* end confdefs.h. */
20459 #ifndef __sparc__
20461 #endif
20462 _ACEOF
20463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20464 $EGREP "yes" >/dev/null 2>&1
20465 then :
20466 ac_cv_cpp_def___sparc__=yes
20467 else $as_nop
20468 ac_cv_cpp_def___sparc__=no
20470 rm -rf conftest*
20473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20474 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20475 if test "x$ac_cv_cpp_def___sparc__" = xyes
20476 then :
20477 CFLAGS="$CFLAGS -D__sparc__"
20478 LINTFLAGS="$LINTFLAGS -D__sparc__"
20479 fi ;;
20480 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20481 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20482 if test ${ac_cv_cpp_def___powerpc64__+y}
20483 then :
20484 printf %s "(cached) " >&6
20485 else $as_nop
20486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20487 /* end confdefs.h. */
20488 #ifndef __powerpc64__
20490 #endif
20491 _ACEOF
20492 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20493 $EGREP "yes" >/dev/null 2>&1
20494 then :
20495 ac_cv_cpp_def___powerpc64__=yes
20496 else $as_nop
20497 ac_cv_cpp_def___powerpc64__=no
20499 rm -rf conftest*
20502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20503 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20504 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20505 then :
20506 CFLAGS="$CFLAGS -D__powerpc64__"
20507 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20508 fi ;;
20509 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20510 printf %s "checking whether we need to define __powerpc__... " >&6; }
20511 if test ${ac_cv_cpp_def___powerpc__+y}
20512 then :
20513 printf %s "(cached) " >&6
20514 else $as_nop
20515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20516 /* end confdefs.h. */
20517 #ifndef __powerpc__
20519 #endif
20520 _ACEOF
20521 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20522 $EGREP "yes" >/dev/null 2>&1
20523 then :
20524 ac_cv_cpp_def___powerpc__=yes
20525 else $as_nop
20526 ac_cv_cpp_def___powerpc__=no
20528 rm -rf conftest*
20531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20532 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20533 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20534 then :
20535 CFLAGS="$CFLAGS -D__powerpc__"
20536 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20537 fi ;;
20538 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20539 printf %s "checking whether we need to define __aarch64__... " >&6; }
20540 if test ${ac_cv_cpp_def___aarch64__+y}
20541 then :
20542 printf %s "(cached) " >&6
20543 else $as_nop
20544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20545 /* end confdefs.h. */
20546 #ifndef __aarch64__
20548 #endif
20549 _ACEOF
20550 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20551 $EGREP "yes" >/dev/null 2>&1
20552 then :
20553 ac_cv_cpp_def___aarch64__=yes
20554 else $as_nop
20555 ac_cv_cpp_def___aarch64__=no
20557 rm -rf conftest*
20560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20561 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20562 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20563 then :
20564 CFLAGS="$CFLAGS -D__aarch64__"
20565 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20566 fi ;;
20567 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20568 printf %s "checking whether we need to define __arm__... " >&6; }
20569 if test ${ac_cv_cpp_def___arm__+y}
20570 then :
20571 printf %s "(cached) " >&6
20572 else $as_nop
20573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20574 /* end confdefs.h. */
20575 #ifndef __arm__
20577 #endif
20578 _ACEOF
20579 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20580 $EGREP "yes" >/dev/null 2>&1
20581 then :
20582 ac_cv_cpp_def___arm__=yes
20583 else $as_nop
20584 ac_cv_cpp_def___arm__=no
20586 rm -rf conftest*
20589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20590 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20591 if test "x$ac_cv_cpp_def___arm__" = xyes
20592 then :
20593 CFLAGS="$CFLAGS -D__arm__"
20594 LINTFLAGS="$LINTFLAGS -D__arm__"
20595 fi ;;
20596 esac
20598 case $host_vendor in
20599 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20600 printf %s "checking whether we need to define __sun__... " >&6; }
20601 if test ${ac_cv_cpp_def___sun__+y}
20602 then :
20603 printf %s "(cached) " >&6
20604 else $as_nop
20605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20606 /* end confdefs.h. */
20607 #ifndef __sun__
20609 #endif
20610 _ACEOF
20611 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20612 $EGREP "yes" >/dev/null 2>&1
20613 then :
20614 ac_cv_cpp_def___sun__=yes
20615 else $as_nop
20616 ac_cv_cpp_def___sun__=no
20618 rm -rf conftest*
20621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20622 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
20623 if test "x$ac_cv_cpp_def___sun__" = xyes
20624 then :
20625 CFLAGS="$CFLAGS -D__sun__"
20626 LINTFLAGS="$LINTFLAGS -D__sun__"
20627 fi ;;
20628 esac
20634 ac_config_commands="$ac_config_commands include/stamp-h"
20636 printf %s "creating Makefile rules..." >&6
20638 makedep_flags=""
20639 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20641 wine_srcdir=
20642 test "$srcdir" = . || wine_srcdir="$srcdir/"
20644 ac_config_links="$ac_config_links wine:tools/winewrapper"
20645 wine_fn_config_symlink wine
20646 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20647 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20648 wine_fn_config_symlink wine64
20651 wine_fn_config_makefile dlls/acledit enable_acledit
20652 wine_fn_config_makefile dlls/aclui enable_aclui
20653 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20654 wine_fn_config_makefile dlls/activeds enable_activeds
20655 wine_fn_config_makefile dlls/activeds/tests enable_tests
20656 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20657 wine_fn_config_makefile dlls/adsldp enable_adsldp
20658 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20659 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20660 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20661 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20662 wine_fn_config_makefile dlls/advpack enable_advpack
20663 wine_fn_config_makefile dlls/advpack/tests enable_tests
20664 wine_fn_config_makefile dlls/amsi enable_amsi
20665 wine_fn_config_makefile dlls/amstream enable_amstream
20666 wine_fn_config_makefile dlls/amstream/tests enable_tests
20667 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20668 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-0 enable_api_ms_win_appmodel_runtime_l1_1_0
20669 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20670 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20671 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20672 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20673 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20674 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20675 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20676 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20677 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20678 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20679 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20680 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20681 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
20682 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20683 wine_fn_config_makefile dlls/api-ms-win-core-console-l3-2-0 enable_api_ms_win_core_console_l3_2_0
20684 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20685 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20686 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20687 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20688 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20689 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20690 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20691 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20692 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20693 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20694 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20695 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20696 wine_fn_config_makefile dlls/api-ms-win-core-featurestaging-l1-1-0 enable_api_ms_win_core_featurestaging_l1_1_0
20697 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20698 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20699 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20700 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20701 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20702 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20703 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20704 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20705 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20706 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20707 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20708 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20709 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20710 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20711 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20712 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20713 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20714 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20715 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20716 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20717 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20718 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20719 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20720 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20721 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
20722 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-5 enable_api_ms_win_core_kernel32_legacy_l1_1_5
20723 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20724 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20725 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20726 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20727 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20728 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20729 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20730 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20731 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20732 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20733 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20734 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20735 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20736 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20737 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20738 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20739 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20740 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20741 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20742 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20743 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20744 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20745 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20746 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20747 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20748 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20749 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20750 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20751 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20752 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20753 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20754 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20755 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20756 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20757 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20758 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20759 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20760 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-l1-1-0 enable_api_ms_win_core_processtopology_l1_1_0
20761 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20762 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20763 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20764 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20765 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20766 wine_fn_config_makefile dlls/api-ms-win-core-psm-appnotify-l1-1-0 enable_api_ms_win_core_psm_appnotify_l1_1_0
20767 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20768 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20769 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-1 enable_api_ms_win_core_realtime_l1_1_1
20770 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20771 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20772 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20773 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20774 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20775 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20776 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20777 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20778 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20779 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20780 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20781 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20782 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20783 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20784 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20785 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20786 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20787 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20788 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20789 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20790 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20791 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20792 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20793 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20794 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20795 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20796 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20797 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20798 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20799 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20800 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20801 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20802 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20803 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20804 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20805 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20806 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20807 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20808 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20809 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20810 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20811 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20812 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20813 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20814 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20815 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20816 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20817 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20818 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20819 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20820 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20821 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20822 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20823 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20824 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20825 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20826 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20827 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20828 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20829 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20830 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20831 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20832 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20833 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20834 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20835 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20836 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20837 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20838 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20839 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20840 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20841 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20842 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20843 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20844 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20845 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20846 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20847 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20848 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20849 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20850 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20851 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20852 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20853 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20854 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
20855 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20856 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20857 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20858 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20859 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20860 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20861 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20862 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20863 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20864 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20865 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20866 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20867 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20868 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20869 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20870 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20871 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20872 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20873 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20874 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20875 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20876 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20877 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20878 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20879 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20880 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20881 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20882 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20883 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20884 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20885 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20886 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20887 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20888 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20889 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20890 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20891 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20892 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20893 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20894 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20895 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20896 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20897 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
20898 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20899 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20900 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
20901 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20902 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20903 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20904 wine_fn_config_makefile dlls/apphelp enable_apphelp
20905 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20906 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20907 wine_fn_config_makefile dlls/atl enable_atl
20908 wine_fn_config_makefile dlls/atl/tests enable_tests
20909 wine_fn_config_makefile dlls/atl100 enable_atl100
20910 wine_fn_config_makefile dlls/atl100/tests enable_tests
20911 wine_fn_config_makefile dlls/atl110 enable_atl110
20912 wine_fn_config_makefile dlls/atl80 enable_atl80
20913 wine_fn_config_makefile dlls/atl80/tests enable_tests
20914 wine_fn_config_makefile dlls/atl90 enable_atl90
20915 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20916 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20917 wine_fn_config_makefile dlls/atmlib enable_atmlib
20918 wine_fn_config_makefile dlls/authz enable_authz
20919 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20920 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20921 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20922 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20923 wine_fn_config_makefile dlls/avrt enable_avrt
20924 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20925 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20926 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20927 wine_fn_config_makefile dlls/browseui enable_browseui
20928 wine_fn_config_makefile dlls/browseui/tests enable_tests
20929 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20930 wine_fn_config_makefile dlls/cabinet enable_cabinet
20931 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20932 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20933 wine_fn_config_makefile dlls/cards enable_cards
20934 wine_fn_config_makefile dlls/cdosys enable_cdosys
20935 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20936 wine_fn_config_makefile dlls/clusapi enable_clusapi
20937 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
20938 wine_fn_config_makefile dlls/combase enable_combase
20939 wine_fn_config_makefile dlls/combase/tests enable_tests
20940 wine_fn_config_makefile dlls/comcat enable_comcat
20941 wine_fn_config_makefile dlls/comcat/tests enable_tests
20942 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20943 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20944 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20945 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20946 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20947 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20948 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20949 wine_fn_config_makefile dlls/compstui enable_compstui
20950 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20951 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20952 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20953 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20954 wine_fn_config_makefile dlls/connect enable_connect
20955 wine_fn_config_makefile dlls/credui enable_credui
20956 wine_fn_config_makefile dlls/credui/tests enable_tests
20957 wine_fn_config_makefile dlls/crtdll enable_crtdll
20958 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20959 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20960 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20961 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20962 wine_fn_config_makefile dlls/cryptext enable_cryptext
20963 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20964 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20965 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20966 wine_fn_config_makefile dlls/cryptui enable_cryptui
20967 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20968 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20969 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20970 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20971 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20972 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20973 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20974 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20975 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20976 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20977 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20978 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20979 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20980 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20981 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20982 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20983 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20984 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20985 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20986 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20987 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20988 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20989 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20990 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20991 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20992 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20993 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20994 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20995 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20996 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20997 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20998 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20999 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21000 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21001 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21002 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21003 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21004 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21005 wine_fn_config_makefile dlls/d3dim enable_d3dim
21006 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21007 wine_fn_config_makefile dlls/d3drm enable_d3drm
21008 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21009 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21010 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21011 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21012 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21013 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21014 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21015 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21016 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21017 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21018 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21019 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21020 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21021 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21022 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21023 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21024 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21025 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21026 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21027 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21028 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21029 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21030 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21031 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21032 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21033 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21034 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21035 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21036 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21037 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21038 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21039 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21040 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21041 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21042 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21043 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21044 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21045 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21046 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21047 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21048 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21049 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21050 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21051 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21052 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21053 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21054 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21055 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21056 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21057 wine_fn_config_makefile dlls/davclnt enable_davclnt
21058 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21059 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21060 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21061 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21062 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21063 wine_fn_config_makefile dlls/dcomp enable_dcomp
21064 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21065 wine_fn_config_makefile dlls/ddraw enable_ddraw
21066 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21067 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21068 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21069 wine_fn_config_makefile dlls/devenum enable_devenum
21070 wine_fn_config_makefile dlls/devenum/tests enable_tests
21071 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21072 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21073 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21074 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21075 wine_fn_config_makefile dlls/difxapi enable_difxapi
21076 wine_fn_config_makefile dlls/dinput enable_dinput
21077 wine_fn_config_makefile dlls/dinput/tests enable_tests
21078 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21079 wine_fn_config_makefile dlls/dinput8/tests enable_tests
21080 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21081 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21082 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21083 wine_fn_config_makefile dlls/dispex enable_dispex
21084 wine_fn_config_makefile dlls/dispex/tests enable_tests
21085 wine_fn_config_makefile dlls/display.drv16 enable_win16
21086 wine_fn_config_makefile dlls/dmband enable_dmband
21087 wine_fn_config_makefile dlls/dmband/tests enable_tests
21088 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21089 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21090 wine_fn_config_makefile dlls/dmime enable_dmime
21091 wine_fn_config_makefile dlls/dmime/tests enable_tests
21092 wine_fn_config_makefile dlls/dmloader enable_dmloader
21093 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21094 wine_fn_config_makefile dlls/dmscript enable_dmscript
21095 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21096 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21097 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21098 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21099 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21100 wine_fn_config_makefile dlls/dmusic enable_dmusic
21101 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21102 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21103 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21104 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21105 wine_fn_config_makefile dlls/dplay enable_dplay
21106 wine_fn_config_makefile dlls/dplayx enable_dplayx
21107 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21108 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21109 wine_fn_config_makefile dlls/dpnet enable_dpnet
21110 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21111 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21112 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21113 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21114 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21115 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21116 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21117 wine_fn_config_makefile dlls/drmclien enable_drmclien
21118 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21119 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21120 wine_fn_config_makefile dlls/dsound enable_dsound
21121 wine_fn_config_makefile dlls/dsound/tests enable_tests
21122 wine_fn_config_makefile dlls/dsquery enable_dsquery
21123 wine_fn_config_makefile dlls/dssenh enable_dssenh
21124 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21125 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21126 wine_fn_config_makefile dlls/dswave enable_dswave
21127 wine_fn_config_makefile dlls/dswave/tests enable_tests
21128 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21129 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21130 wine_fn_config_makefile dlls/dwrite enable_dwrite
21131 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21132 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21133 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21134 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21135 wine_fn_config_makefile dlls/dxgi enable_dxgi
21136 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21137 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21138 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21139 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21140 wine_fn_config_makefile dlls/esent enable_esent
21141 wine_fn_config_makefile dlls/evr enable_evr
21142 wine_fn_config_makefile dlls/evr/tests enable_tests
21143 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21144 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21145 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
21146 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
21147 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
21148 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
21149 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
21150 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
21151 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
21152 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
21153 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
21154 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
21155 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
21156 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
21157 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
21158 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
21159 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
21160 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
21161 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
21162 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
21163 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
21164 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
21165 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
21166 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
21167 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
21168 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
21169 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
21170 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
21171 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
21172 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
21173 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
21174 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
21175 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
21176 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
21177 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
21178 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
21179 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
21180 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
21181 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
21182 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
21183 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
21184 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
21185 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dc-access-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
21186 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
21187 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
21188 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
21189 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
21190 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
21191 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
21192 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
21193 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
21194 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
21195 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
21196 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
21197 wine_fn_config_makefile dlls/faultrep enable_faultrep
21198 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21199 wine_fn_config_makefile dlls/feclient enable_feclient
21200 wine_fn_config_makefile dlls/fltlib enable_fltlib
21201 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21202 wine_fn_config_makefile dlls/fntcache enable_fntcache
21203 wine_fn_config_makefile dlls/fontsub enable_fontsub
21204 wine_fn_config_makefile dlls/fusion enable_fusion
21205 wine_fn_config_makefile dlls/fusion/tests enable_tests
21206 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21207 wine_fn_config_makefile dlls/gameux enable_gameux
21208 wine_fn_config_makefile dlls/gameux/tests enable_tests
21209 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21210 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21211 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21212 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21213 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21214 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21215 wine_fn_config_makefile dlls/glu32 enable_glu32
21216 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21217 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21218 wine_fn_config_makefile dlls/hal enable_hal
21219 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21220 wine_fn_config_makefile dlls/hid enable_hid
21221 wine_fn_config_makefile dlls/hid/tests enable_tests
21222 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21223 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21224 wine_fn_config_makefile dlls/hlink enable_hlink
21225 wine_fn_config_makefile dlls/hlink/tests enable_tests
21226 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21227 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21228 wine_fn_config_makefile dlls/http.sys enable_http_sys
21229 wine_fn_config_makefile dlls/httpapi enable_httpapi
21230 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21231 wine_fn_config_makefile dlls/iccvid enable_iccvid
21232 wine_fn_config_makefile dlls/icmp enable_icmp
21233 wine_fn_config_makefile dlls/ieframe enable_ieframe
21234 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21235 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21236 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21237 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21238 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21239 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21240 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21241 wine_fn_config_makefile dlls/imm32 enable_imm32
21242 wine_fn_config_makefile dlls/imm32/tests enable_tests
21243 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21244 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21245 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21246 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21247 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21248 wine_fn_config_makefile dlls/infosoft enable_infosoft
21249 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21250 wine_fn_config_makefile dlls/initpki enable_initpki
21251 wine_fn_config_makefile dlls/inkobj enable_inkobj
21252 wine_fn_config_makefile dlls/inseng enable_inseng
21253 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21254 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21255 wine_fn_config_makefile dlls/iprop enable_iprop
21256 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21257 wine_fn_config_makefile dlls/itircl enable_itircl
21258 wine_fn_config_makefile dlls/itss enable_itss
21259 wine_fn_config_makefile dlls/itss/tests enable_tests
21260 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21261 wine_fn_config_makefile dlls/jscript enable_jscript
21262 wine_fn_config_makefile dlls/jscript/tests enable_tests
21263 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21264 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21265 wine_fn_config_makefile dlls/kerberos enable_kerberos
21266 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21267 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21268 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21269 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21270 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21271 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21272 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21273 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21274 wine_fn_config_makefile dlls/ksuser enable_ksuser
21275 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21276 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21277 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21278 wine_fn_config_makefile dlls/loadperf enable_loadperf
21279 wine_fn_config_makefile dlls/localspl enable_localspl
21280 wine_fn_config_makefile dlls/localspl/tests enable_tests
21281 wine_fn_config_makefile dlls/localui enable_localui
21282 wine_fn_config_makefile dlls/localui/tests enable_tests
21283 wine_fn_config_makefile dlls/lz32 enable_lz32
21284 wine_fn_config_makefile dlls/lz32/tests enable_tests
21285 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21286 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21287 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21288 wine_fn_config_makefile dlls/mapistub enable_mapistub
21289 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21290 wine_fn_config_makefile dlls/mcicda enable_mcicda
21291 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21292 wine_fn_config_makefile dlls/mciseq enable_mciseq
21293 wine_fn_config_makefile dlls/mciwave enable_mciwave
21294 wine_fn_config_makefile dlls/mf enable_mf
21295 wine_fn_config_makefile dlls/mf/tests enable_tests
21296 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21297 wine_fn_config_makefile dlls/mferror enable_mferror
21298 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21299 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21300 wine_fn_config_makefile dlls/mfplat enable_mfplat
21301 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21302 wine_fn_config_makefile dlls/mfplay enable_mfplay
21303 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21304 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21305 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21306 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21307 wine_fn_config_makefile dlls/midimap enable_midimap
21308 wine_fn_config_makefile dlls/mlang enable_mlang
21309 wine_fn_config_makefile dlls/mlang/tests enable_tests
21310 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21311 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21312 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21313 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21314 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21315 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21316 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21317 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21318 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21319 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21320 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21321 wine_fn_config_makefile dlls/mpr enable_mpr
21322 wine_fn_config_makefile dlls/mpr/tests enable_tests
21323 wine_fn_config_makefile dlls/mprapi enable_mprapi
21324 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21325 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21326 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21327 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21328 wine_fn_config_makefile dlls/msado15 enable_msado15
21329 wine_fn_config_makefile dlls/msado15/tests enable_tests
21330 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21331 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21332 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21333 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21334 wine_fn_config_makefile dlls/mscms enable_mscms
21335 wine_fn_config_makefile dlls/mscms/tests enable_tests
21336 wine_fn_config_makefile dlls/mscoree enable_mscoree
21337 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21338 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21339 wine_fn_config_makefile dlls/msctf enable_msctf
21340 wine_fn_config_makefile dlls/msctf/tests enable_tests
21341 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21342 wine_fn_config_makefile dlls/msctfp enable_msctfp
21343 wine_fn_config_makefile dlls/msdaps enable_msdaps
21344 wine_fn_config_makefile dlls/msdasql enable_msdasql
21345 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21346 wine_fn_config_makefile dlls/msdelta enable_msdelta
21347 wine_fn_config_makefile dlls/msdmo enable_msdmo
21348 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21349 wine_fn_config_makefile dlls/msdrm enable_msdrm
21350 wine_fn_config_makefile dlls/msftedit enable_msftedit
21351 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21352 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21353 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21354 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21355 wine_fn_config_makefile dlls/mshtml enable_mshtml
21356 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21357 wine_fn_config_makefile dlls/msi enable_msi
21358 wine_fn_config_makefile dlls/msi/tests enable_tests
21359 wine_fn_config_makefile dlls/msident enable_msident
21360 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21361 wine_fn_config_makefile dlls/msimsg enable_msimsg
21362 wine_fn_config_makefile dlls/msimtf enable_msimtf
21363 wine_fn_config_makefile dlls/msisip enable_msisip
21364 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21365 wine_fn_config_makefile dlls/msls31 enable_msls31
21366 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21367 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21368 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21369 wine_fn_config_makefile dlls/msports enable_msports
21370 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21371 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21372 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21373 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21374 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21375 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21376 wine_fn_config_makefile dlls/mstask enable_mstask
21377 wine_fn_config_makefile dlls/mstask/tests enable_tests
21378 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21379 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21380 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21381 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21382 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21383 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21384 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21385 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21386 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21387 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21388 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21389 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21390 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21391 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21392 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21393 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21394 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21395 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21396 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21397 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21398 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21399 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21400 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21401 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21402 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21403 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21404 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21405 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21406 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21407 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21408 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21409 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21410 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21411 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21412 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21413 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21414 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21415 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21416 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21417 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21418 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21419 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21420 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21421 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21422 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21423 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21424 wine_fn_config_makefile dlls/mswsock enable_mswsock
21425 wine_fn_config_makefile dlls/msxml enable_msxml
21426 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21427 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21428 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21429 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21430 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21431 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21432 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21433 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21434 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21435 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21436 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21437 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21438 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21439 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21440 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21441 wine_fn_config_makefile dlls/netprofm enable_netprofm
21442 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21443 wine_fn_config_makefile dlls/netutils enable_netutils
21444 wine_fn_config_makefile dlls/newdev enable_newdev
21445 wine_fn_config_makefile dlls/ninput enable_ninput
21446 wine_fn_config_makefile dlls/ninput/tests enable_tests
21447 wine_fn_config_makefile dlls/normaliz enable_normaliz
21448 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21449 wine_fn_config_makefile dlls/npptools enable_npptools
21450 wine_fn_config_makefile dlls/nsi enable_nsi
21451 wine_fn_config_makefile dlls/nsi/tests enable_tests
21452 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21453 wine_fn_config_makefile dlls/ntdll enable_ntdll
21454 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21455 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21456 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21457 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21458 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21459 wine_fn_config_makefile dlls/ntprint enable_ntprint
21460 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21461 wine_fn_config_makefile dlls/objsel enable_objsel
21462 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21463 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21464 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21465 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21466 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21467 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21468 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21469 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21470 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21471 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21472 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21473 wine_fn_config_makefile dlls/ole32 enable_ole32
21474 wine_fn_config_makefile dlls/ole32/tests enable_tests
21475 wine_fn_config_makefile dlls/oleacc enable_oleacc
21476 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21477 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21478 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21479 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21480 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21481 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21482 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21483 wine_fn_config_makefile dlls/oledlg enable_oledlg
21484 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21485 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21486 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21487 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21488 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21489 wine_fn_config_makefile dlls/opcservices enable_opcservices
21490 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21491 wine_fn_config_makefile dlls/openal32 enable_openal32
21492 wine_fn_config_makefile dlls/opencl enable_opencl
21493 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21494 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21495 wine_fn_config_makefile dlls/packager enable_packager
21496 wine_fn_config_makefile dlls/packager/tests enable_tests
21497 wine_fn_config_makefile dlls/pdh enable_pdh
21498 wine_fn_config_makefile dlls/pdh/tests enable_tests
21499 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21500 wine_fn_config_makefile dlls/pidgen enable_pidgen
21501 wine_fn_config_makefile dlls/powrprof enable_powrprof
21502 wine_fn_config_makefile dlls/printui enable_printui
21503 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21504 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21505 wine_fn_config_makefile dlls/propsys enable_propsys
21506 wine_fn_config_makefile dlls/propsys/tests enable_tests
21507 wine_fn_config_makefile dlls/psapi enable_psapi
21508 wine_fn_config_makefile dlls/psapi/tests enable_tests
21509 wine_fn_config_makefile dlls/pstorec enable_pstorec
21510 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21511 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21512 wine_fn_config_makefile dlls/qasf enable_qasf
21513 wine_fn_config_makefile dlls/qasf/tests enable_tests
21514 wine_fn_config_makefile dlls/qcap enable_qcap
21515 wine_fn_config_makefile dlls/qcap/tests enable_tests
21516 wine_fn_config_makefile dlls/qdvd enable_qdvd
21517 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21518 wine_fn_config_makefile dlls/qedit enable_qedit
21519 wine_fn_config_makefile dlls/qedit/tests enable_tests
21520 wine_fn_config_makefile dlls/qmgr enable_qmgr
21521 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21522 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21523 wine_fn_config_makefile dlls/quartz enable_quartz
21524 wine_fn_config_makefile dlls/quartz/tests enable_tests
21525 wine_fn_config_makefile dlls/query enable_query
21526 wine_fn_config_makefile dlls/qwave enable_qwave
21527 wine_fn_config_makefile dlls/qwave/tests enable_tests
21528 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21529 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21530 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21531 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21532 wine_fn_config_makefile dlls/regapi enable_regapi
21533 wine_fn_config_makefile dlls/resutils enable_resutils
21534 wine_fn_config_makefile dlls/riched20 enable_riched20
21535 wine_fn_config_makefile dlls/riched20/tests enable_tests
21536 wine_fn_config_makefile dlls/riched32 enable_riched32
21537 wine_fn_config_makefile dlls/riched32/tests enable_tests
21538 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21539 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21540 wine_fn_config_makefile dlls/rsabase enable_rsabase
21541 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21542 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21543 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21544 wine_fn_config_makefile dlls/rtutils enable_rtutils
21545 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21546 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21547 wine_fn_config_makefile dlls/samlib enable_samlib
21548 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21549 wine_fn_config_makefile dlls/sapi enable_sapi
21550 wine_fn_config_makefile dlls/sapi/tests enable_tests
21551 wine_fn_config_makefile dlls/sas enable_sas
21552 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21553 wine_fn_config_makefile dlls/sccbase enable_sccbase
21554 wine_fn_config_makefile dlls/schannel enable_schannel
21555 wine_fn_config_makefile dlls/schannel/tests enable_tests
21556 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21557 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21558 wine_fn_config_makefile dlls/scrobj enable_scrobj
21559 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21560 wine_fn_config_makefile dlls/scrrun enable_scrrun
21561 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21562 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21563 wine_fn_config_makefile dlls/sechost enable_sechost
21564 wine_fn_config_makefile dlls/secur32 enable_secur32
21565 wine_fn_config_makefile dlls/secur32/tests enable_tests
21566 wine_fn_config_makefile dlls/security enable_security
21567 wine_fn_config_makefile dlls/sensapi enable_sensapi
21568 wine_fn_config_makefile dlls/serialui enable_serialui
21569 wine_fn_config_makefile dlls/serialui/tests enable_tests
21570 wine_fn_config_makefile dlls/setupapi enable_setupapi
21571 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21572 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21573 wine_fn_config_makefile dlls/sfc enable_sfc
21574 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21575 wine_fn_config_makefile dlls/shcore enable_shcore
21576 wine_fn_config_makefile dlls/shcore/tests enable_tests
21577 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21578 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21579 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21580 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21581 wine_fn_config_makefile dlls/shell32 enable_shell32
21582 wine_fn_config_makefile dlls/shell32/tests enable_tests
21583 wine_fn_config_makefile dlls/shfolder enable_shfolder
21584 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21585 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21586 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21587 wine_fn_config_makefile dlls/slc enable_slc
21588 wine_fn_config_makefile dlls/slc/tests enable_tests
21589 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21590 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21591 wine_fn_config_makefile dlls/softpub enable_softpub
21592 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21593 wine_fn_config_makefile dlls/spoolss enable_spoolss
21594 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21595 wine_fn_config_makefile dlls/sppc enable_sppc
21596 wine_fn_config_makefile dlls/srclient enable_srclient
21597 wine_fn_config_makefile dlls/srvcli enable_srvcli
21598 wine_fn_config_makefile dlls/sspicli enable_sspicli
21599 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21600 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21601 wine_fn_config_makefile dlls/sti enable_sti
21602 wine_fn_config_makefile dlls/sti/tests enable_tests
21603 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21604 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21605 wine_fn_config_makefile dlls/strmdll enable_strmdll
21606 wine_fn_config_makefile dlls/svrapi enable_svrapi
21607 wine_fn_config_makefile dlls/sxs enable_sxs
21608 wine_fn_config_makefile dlls/sxs/tests enable_tests
21609 wine_fn_config_makefile dlls/system.drv16 enable_win16
21610 wine_fn_config_makefile dlls/t2embed enable_t2embed
21611 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21612 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21613 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21614 wine_fn_config_makefile dlls/taskschd enable_taskschd
21615 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21616 wine_fn_config_makefile dlls/tbs enable_tbs
21617 wine_fn_config_makefile dlls/tdh enable_tdh
21618 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21619 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21620 wine_fn_config_makefile dlls/traffic enable_traffic
21621 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21622 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21623 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21624 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21625 wine_fn_config_makefile dlls/tzres enable_tzres
21626 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21627 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21628 wine_fn_config_makefile dlls/uianimation enable_uianimation
21629 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21630 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21631 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21632 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21633 wine_fn_config_makefile dlls/unicows enable_unicows
21634 wine_fn_config_makefile dlls/updspapi enable_updspapi
21635 wine_fn_config_makefile dlls/url enable_url
21636 wine_fn_config_makefile dlls/urlmon enable_urlmon
21637 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21638 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21639 wine_fn_config_makefile dlls/user.exe16 enable_win16
21640 wine_fn_config_makefile dlls/user32 enable_user32
21641 wine_fn_config_makefile dlls/user32/tests enable_tests
21642 wine_fn_config_makefile dlls/userenv enable_userenv
21643 wine_fn_config_makefile dlls/userenv/tests enable_tests
21644 wine_fn_config_makefile dlls/usp10 enable_usp10
21645 wine_fn_config_makefile dlls/usp10/tests enable_tests
21646 wine_fn_config_makefile dlls/utildll enable_utildll
21647 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21648 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21649 wine_fn_config_makefile dlls/vbscript enable_vbscript
21650 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21651 wine_fn_config_makefile dlls/vcomp enable_vcomp
21652 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21653 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21654 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21655 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21656 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21657 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21658 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21659 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21660 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21661 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21662 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21663 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21664 wine_fn_config_makefile dlls/version enable_version
21665 wine_fn_config_makefile dlls/version/tests enable_tests
21666 wine_fn_config_makefile dlls/vga enable_vga
21667 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21668 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21669 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21670 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21671 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21672 wine_fn_config_makefile dlls/vssapi enable_vssapi
21673 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21674 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21675 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21676 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21677 wine_fn_config_makefile dlls/w32skrnl enable_win16
21678 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21679 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21680 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21681 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21682 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21683 wine_fn_config_makefile dlls/wdscore enable_wdscore
21684 wine_fn_config_makefile dlls/webservices enable_webservices
21685 wine_fn_config_makefile dlls/webservices/tests enable_tests
21686 wine_fn_config_makefile dlls/websocket enable_websocket
21687 wine_fn_config_makefile dlls/wer enable_wer
21688 wine_fn_config_makefile dlls/wer/tests enable_tests
21689 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21690 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21691 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21692 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21693 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21694 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21695 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21696 wine_fn_config_makefile dlls/win32u enable_win32u
21697 wine_fn_config_makefile dlls/win32u/tests enable_tests
21698 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21699 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21700 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21701 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21702 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21703 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21704 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21705 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21706 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21707 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21708 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21709 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21710 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21711 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21712 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21713 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21714 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21715 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21716 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21717 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21718 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21719 wine_fn_config_makefile dlls/wined3d enable_wined3d
21720 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21721 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21722 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21723 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21724 wine_fn_config_makefile dlls/winemapi enable_winemapi
21725 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21726 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21727 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21728 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21729 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21730 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21731 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21732 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21733 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21734 wine_fn_config_makefile dlls/wing32 enable_wing32
21735 wine_fn_config_makefile dlls/winhttp enable_winhttp
21736 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21737 wine_fn_config_makefile dlls/wininet enable_wininet
21738 wine_fn_config_makefile dlls/wininet/tests enable_tests
21739 wine_fn_config_makefile dlls/winmm enable_winmm
21740 wine_fn_config_makefile dlls/winmm/tests enable_tests
21741 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21742 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21743 wine_fn_config_makefile dlls/winscard enable_winscard
21744 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21745 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21746 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21747 wine_fn_config_makefile dlls/winsta enable_winsta
21748 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21749 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21750 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21751 wine_fn_config_makefile dlls/wintrust enable_wintrust
21752 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21753 wine_fn_config_makefile dlls/winusb enable_winusb
21754 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21755 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21756 wine_fn_config_makefile dlls/wlanui enable_wlanui
21757 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21758 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21759 wine_fn_config_makefile dlls/wmasf enable_wmasf
21760 wine_fn_config_makefile dlls/wmi enable_wmi
21761 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21762 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21763 wine_fn_config_makefile dlls/wmp enable_wmp
21764 wine_fn_config_makefile dlls/wmp/tests enable_tests
21765 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21766 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21767 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21768 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21769 wine_fn_config_makefile dlls/wow32 enable_win16
21770 wine_fn_config_makefile dlls/wow64 enable_wow64
21771 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21772 wine_fn_config_makefile dlls/wow64win enable_wow64win
21773 wine_fn_config_makefile dlls/wpc enable_wpc
21774 wine_fn_config_makefile dlls/wpc/tests enable_tests
21775 wine_fn_config_makefile dlls/wpcap enable_wpcap
21776 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21777 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21778 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21779 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21780 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21781 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21782 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21783 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21784 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21785 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21786 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21787 wine_fn_config_makefile dlls/wuapi enable_wuapi
21788 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21789 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21790 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21791 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21792 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21793 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21794 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21795 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21796 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21797 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21798 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21799 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21800 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21801 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21802 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21803 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21804 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21805 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21806 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21807 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21808 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21809 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21810 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21811 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21812 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21813 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21814 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21815 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21816 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21817 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21818 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21819 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21820 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21821 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21822 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21823 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21824 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21825 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21826 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21827 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21828 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21829 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21830 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21831 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21832 wine_fn_config_makefile dlls/xmllite enable_xmllite
21833 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21834 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21835 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21836 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21837 wine_fn_config_makefile fonts enable_fonts
21838 wine_fn_config_makefile include enable_include
21839 wine_fn_config_makefile libs/adsiid enable_adsiid
21840 wine_fn_config_makefile libs/dmoguids enable_dmoguids
21841 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
21842 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
21843 wine_fn_config_makefile libs/dxguid enable_dxguid
21844 wine_fn_config_makefile libs/faudio enable_faudio
21845 wine_fn_config_makefile libs/gsm enable_gsm
21846 wine_fn_config_makefile libs/jpeg enable_jpeg
21847 wine_fn_config_makefile libs/jxr enable_jxr
21848 wine_fn_config_makefile libs/lcms2 enable_lcms2
21849 wine_fn_config_makefile libs/mfuuid enable_mfuuid
21850 wine_fn_config_makefile libs/mpg123 enable_mpg123
21851 wine_fn_config_makefile libs/png enable_png
21852 wine_fn_config_makefile libs/strmbase enable_strmbase
21853 wine_fn_config_makefile libs/strmiids enable_strmiids
21854 wine_fn_config_makefile libs/tiff enable_tiff
21855 wine_fn_config_makefile libs/uuid enable_uuid
21856 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
21857 wine_fn_config_makefile libs/wine enable_wine
21858 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
21859 wine_fn_config_makefile libs/xml2 enable_xml2
21860 wine_fn_config_makefile libs/xslt enable_xslt
21861 wine_fn_config_makefile libs/zlib enable_zlib
21862 wine_fn_config_makefile loader enable_loader
21863 wine_fn_config_makefile nls enable_nls
21864 wine_fn_config_makefile po enable_po
21865 wine_fn_config_makefile programs/arp enable_arp
21866 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21867 wine_fn_config_makefile programs/attrib enable_attrib
21868 wine_fn_config_makefile programs/cabarc enable_cabarc
21869 wine_fn_config_makefile programs/cacls enable_cacls
21870 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21871 wine_fn_config_makefile programs/clock enable_clock
21872 wine_fn_config_makefile programs/cmd enable_cmd
21873 wine_fn_config_makefile programs/cmd/tests enable_tests
21874 wine_fn_config_makefile programs/conhost enable_conhost
21875 wine_fn_config_makefile programs/conhost/tests enable_tests
21876 wine_fn_config_makefile programs/control enable_control
21877 wine_fn_config_makefile programs/cscript enable_cscript
21878 wine_fn_config_makefile programs/dism enable_dism
21879 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21880 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21881 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21882 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21883 wine_fn_config_makefile programs/eject enable_eject
21884 wine_fn_config_makefile programs/expand enable_expand
21885 wine_fn_config_makefile programs/explorer enable_explorer
21886 wine_fn_config_makefile programs/extrac32 enable_extrac32
21887 wine_fn_config_makefile programs/fc enable_fc
21888 wine_fn_config_makefile programs/find enable_find
21889 wine_fn_config_makefile programs/find/tests enable_tests
21890 wine_fn_config_makefile programs/findstr enable_findstr
21891 wine_fn_config_makefile programs/fsutil enable_fsutil
21892 wine_fn_config_makefile programs/fsutil/tests enable_tests
21893 wine_fn_config_makefile programs/hh enable_hh
21894 wine_fn_config_makefile programs/hostname enable_hostname
21895 wine_fn_config_makefile programs/icacls enable_icacls
21896 wine_fn_config_makefile programs/icinfo enable_icinfo
21897 wine_fn_config_makefile programs/iexplore enable_iexplore
21898 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21899 wine_fn_config_makefile programs/lodctr enable_lodctr
21900 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21901 wine_fn_config_makefile programs/mshta enable_mshta
21902 wine_fn_config_makefile programs/msidb enable_msidb
21903 wine_fn_config_makefile programs/msiexec enable_msiexec
21904 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21905 wine_fn_config_makefile programs/net enable_net
21906 wine_fn_config_makefile programs/netsh enable_netsh
21907 wine_fn_config_makefile programs/netstat enable_netstat
21908 wine_fn_config_makefile programs/ngen enable_ngen
21909 wine_fn_config_makefile programs/notepad enable_notepad
21910 wine_fn_config_makefile programs/oleview enable_oleview
21911 wine_fn_config_makefile programs/ping enable_ping
21912 wine_fn_config_makefile programs/plugplay enable_plugplay
21913 wine_fn_config_makefile programs/powershell enable_powershell
21914 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21915 wine_fn_config_makefile programs/progman enable_progman
21916 wine_fn_config_makefile programs/reg enable_reg
21917 wine_fn_config_makefile programs/reg/tests enable_tests
21918 wine_fn_config_makefile programs/regasm enable_regasm
21919 wine_fn_config_makefile programs/regedit enable_regedit
21920 wine_fn_config_makefile programs/regedit/tests enable_tests
21921 wine_fn_config_makefile programs/regini enable_regini
21922 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21923 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21924 wine_fn_config_makefile programs/robocopy enable_robocopy
21925 wine_fn_config_makefile programs/rpcss enable_rpcss
21926 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21927 wine_fn_config_makefile programs/rundll32 enable_rundll32
21928 wine_fn_config_makefile programs/sc enable_sc
21929 wine_fn_config_makefile programs/schtasks enable_schtasks
21930 wine_fn_config_makefile programs/schtasks/tests enable_tests
21931 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21932 wine_fn_config_makefile programs/secedit enable_secedit
21933 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21934 wine_fn_config_makefile programs/services enable_services
21935 wine_fn_config_makefile programs/services/tests enable_tests
21936 wine_fn_config_makefile programs/shutdown enable_shutdown
21937 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21938 wine_fn_config_makefile programs/start enable_start
21939 wine_fn_config_makefile programs/subst enable_subst
21940 wine_fn_config_makefile programs/svchost enable_svchost
21941 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21942 wine_fn_config_makefile programs/taskkill enable_taskkill
21943 wine_fn_config_makefile programs/tasklist enable_tasklist
21944 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21945 wine_fn_config_makefile programs/termsv enable_termsv
21946 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21947 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21948 wine_fn_config_makefile programs/view enable_view
21949 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21950 wine_fn_config_makefile programs/where enable_where
21951 wine_fn_config_makefile programs/whoami enable_whoami
21952 wine_fn_config_makefile programs/wineboot enable_wineboot
21953 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21954 wine_fn_config_makefile programs/winecfg enable_winecfg
21955 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21956 wine_fn_config_makefile programs/winedbg enable_winedbg
21957 wine_fn_config_makefile programs/winedevice enable_winedevice
21958 wine_fn_config_makefile programs/winefile enable_winefile
21959 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21960 wine_fn_config_makefile programs/winemine enable_winemine
21961 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21962 wine_fn_config_makefile programs/winepath enable_winepath
21963 wine_fn_config_makefile programs/winetest enable_winetest
21964 wine_fn_config_makefile programs/winevdm enable_win16
21965 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21966 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21967 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21968 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21969 wine_fn_config_makefile programs/winver enable_winver
21970 wine_fn_config_makefile programs/wmic enable_wmic
21971 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21972 wine_fn_config_makefile programs/wordpad enable_wordpad
21973 wine_fn_config_makefile programs/write enable_write
21974 wine_fn_config_makefile programs/wscript enable_wscript
21975 wine_fn_config_makefile programs/wscript/tests enable_tests
21976 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21977 wine_fn_config_makefile programs/wusa enable_wusa
21978 wine_fn_config_makefile programs/xcopy enable_xcopy
21979 wine_fn_config_makefile programs/xcopy/tests enable_tests
21980 wine_fn_config_makefile server enable_server
21981 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21982 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21983 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21984 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21985 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21986 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21987 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21988 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21989 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21992 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21993 wine_fn_append_file CONFIGURE_TARGETS "tags"
21994 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21995 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21996 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21997 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21998 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21999 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
22001 if test "x$enable_tools" != xno
22002 then
22003 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
22004 ac_config_commands="$ac_config_commands tools/makedep"
22008 ac_config_commands="$ac_config_commands Makefile"
22012 SHELL=/bin/sh
22015 wine_fn_append_rule "all: wine
22016 @echo \"Wine build complete.\"
22017 .INIT: Makefile
22018 .MAKEFILEDEPS:
22019 all: Makefile
22020 Makefile: config.status \$(MAKEDEP)
22021 @./config.status Makefile
22022 depend: \$(MAKEDEP)
22023 \$(MAKEDEP)$makedep_flags"
22026 wine_fn_append_rule "config.status: ${wine_srcdir}configure
22027 @./config.status --recheck
22028 include/config.h: include/stamp-h
22029 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22030 @./config.status include/config.h include/stamp-h"
22032 if test "x$enable_maintainer_mode" = xyes
22033 then
22034 wine_fn_append_rule "configure: configure.ac aclocal.m4
22035 autoconf --warnings=all
22036 include/config.h.in: include/stamp-h.in
22037 include/stamp-h.in: configure.ac aclocal.m4
22038 autoheader --warnings=all
22039 @echo timestamp > \$@"
22042 if test "x$enable_tools" != xno
22043 then
22044 wine_fn_append_rule "tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22045 @./config.status tools/makedep
22046 Makefile: tools/makedep$ac_exeext"
22047 else
22048 wine_fn_append_rule "\$(MAKEDEP):
22049 @echo \"You need to run make in $toolsdir first\" && false"
22053 if test -n "$with_wine64"
22054 then
22055 case "$with_wine64" in
22056 /*) reldir="" ;;
22057 *) reldir="../" ;;
22058 esac
22059 rm -f fonts server 2>/dev/null
22060 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22061 loader/wine64 loader/wine64-preloader:
22062 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22063 $with_wine64/loader/wine:
22064 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22065 $with_wine64/loader/wine-preloader:
22066 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22067 clean::
22068 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22069 else
22070 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22071 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22072 fonts \
22073 loader/wine.inf \
22074 nls \
22075 programs/msidb/msidb \
22076 programs/msiexec/msiexec \
22077 programs/notepad/notepad \
22078 programs/regedit/regedit \
22079 programs/regsvr32/regsvr32 \
22080 programs/wineboot/wineboot \
22081 programs/winecfg/winecfg \
22082 programs/wineconsole/wineconsole \
22083 programs/winedbg/winedbg \
22084 programs/winefile/winefile \
22085 programs/winemine/winemine \
22086 programs/winepath/winepath \
22087 server/wineserver"
22089 case $host_os in
22090 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22091 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22092 esac
22096 wine_fn_append_rule "distclean:: clean
22097 rm -rf autom4te.cache documentation/html documentation/api-guide documentation/api-guide-xml documentation/man\$(api_manext)"
22100 wine_fn_append_rule "install-manpages:: manpages
22101 for i in documentation/man\$(api_manext)/*.\$(api_manext); do ${wine_srcdir}tools/install-sh -m 644 \$(INSTALL_DATA_FLAGS) \$\$i \$(DESTDIR)\$(mandir)/\$\$i; done"
22104 wine_fn_append_rule "dlls/ntdll/unix/version.c: dummy
22105 @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)
22106 programs/winetest/build.rc: dummy
22107 @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)
22108 programs/winetest/build.nfo:
22109 @-\$(CC) -v 2>\$@
22110 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
22111 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22112 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22115 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22117 wine_fn_append_rule "TAGS etags:
22118 rm -f TAGS
22119 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22120 tags ctags:
22121 rm -f tags
22122 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22123 dummy:
22124 .PHONY: depend dummy install-manpages"
22126 printf "%s\n" " done" >&6
22127 cat >confcache <<\_ACEOF
22128 # This file is a shell script that caches the results of configure
22129 # tests run on this system so they can be shared between configure
22130 # scripts and configure runs, see configure's option --config-cache.
22131 # It is not useful on other systems. If it contains results you don't
22132 # want to keep, you may remove or edit it.
22134 # config.status only pays attention to the cache file if you give it
22135 # the --recheck option to rerun configure.
22137 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22138 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22139 # following values.
22141 _ACEOF
22143 # The following way of writing the cache mishandles newlines in values,
22144 # but we know of no workaround that is simple, portable, and efficient.
22145 # So, we kill variables containing newlines.
22146 # Ultrix sh set writes to stderr and can't be redirected directly,
22147 # and sets the high bit in the cache file unless we assign to the vars.
22149 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22150 eval ac_val=\$$ac_var
22151 case $ac_val in #(
22152 *${as_nl}*)
22153 case $ac_var in #(
22154 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22155 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22156 esac
22157 case $ac_var in #(
22158 _ | IFS | as_nl) ;; #(
22159 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22160 *) { eval $ac_var=; unset $ac_var;} ;;
22161 esac ;;
22162 esac
22163 done
22165 (set) 2>&1 |
22166 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22167 *${as_nl}ac_space=\ *)
22168 # `set' does not quote correctly, so add quotes: double-quote
22169 # substitution turns \\\\ into \\, and sed turns \\ into \.
22170 sed -n \
22171 "s/'/'\\\\''/g;
22172 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22173 ;; #(
22175 # `set' quotes correctly as required by POSIX, so do not add quotes.
22176 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22178 esac |
22179 sort
22181 sed '
22182 /^ac_cv_env_/b end
22183 t clear
22184 :clear
22185 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22186 t end
22187 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22188 :end' >>confcache
22189 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22190 if test -w "$cache_file"; then
22191 if test "x$cache_file" != "x/dev/null"; then
22192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22193 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22194 if test ! -f "$cache_file" || test -h "$cache_file"; then
22195 cat confcache >"$cache_file"
22196 else
22197 case $cache_file in #(
22198 */* | ?:*)
22199 mv -f confcache "$cache_file"$$ &&
22200 mv -f "$cache_file"$$ "$cache_file" ;; #(
22202 mv -f confcache "$cache_file" ;;
22203 esac
22206 else
22207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22208 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22211 rm -f confcache
22213 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22214 # Let make expand exec_prefix.
22215 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22217 DEFS=-DHAVE_CONFIG_H
22219 ac_libobjs=
22220 ac_ltlibobjs=
22222 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22223 # 1. Remove the extension, and $U if already installed.
22224 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22225 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22226 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22227 # will be set to the directory where LIBOBJS objects are built.
22228 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22229 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22230 done
22231 LIBOBJS=$ac_libobjs
22233 LTLIBOBJS=$ac_ltlibobjs
22237 : "${CONFIG_STATUS=./config.status}"
22238 ac_write_fail=0
22239 ac_clean_files_save=$ac_clean_files
22240 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22242 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22243 as_write_fail=0
22244 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22245 #! $SHELL
22246 # Generated by $as_me.
22247 # Run this file to recreate the current configuration.
22248 # Compiler output produced by configure, useful for debugging
22249 # configure, is in config.log if it exists.
22251 debug=false
22252 ac_cs_recheck=false
22253 ac_cs_silent=false
22255 SHELL=\${CONFIG_SHELL-$SHELL}
22256 export SHELL
22257 _ASEOF
22258 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22259 ## -------------------- ##
22260 ## M4sh Initialization. ##
22261 ## -------------------- ##
22263 # Be more Bourne compatible
22264 DUALCASE=1; export DUALCASE # for MKS sh
22265 as_nop=:
22266 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22267 then :
22268 emulate sh
22269 NULLCMD=:
22270 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22271 # is contrary to our usage. Disable this feature.
22272 alias -g '${1+"$@"}'='"$@"'
22273 setopt NO_GLOB_SUBST
22274 else $as_nop
22275 case `(set -o) 2>/dev/null` in #(
22276 *posix*) :
22277 set -o posix ;; #(
22278 *) :
22280 esac
22285 # Reset variables that may have inherited troublesome values from
22286 # the environment.
22288 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22289 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22290 # side effect of setting IFS to empty, thus disabling word splitting.)
22291 # Quoting is to prevent editors from complaining about space-tab.
22292 as_nl='
22294 export as_nl
22295 IFS=" "" $as_nl"
22297 PS1='$ '
22298 PS2='> '
22299 PS4='+ '
22301 # Ensure predictable behavior from utilities with locale-dependent output.
22302 LC_ALL=C
22303 export LC_ALL
22304 LANGUAGE=C
22305 export LANGUAGE
22307 # We cannot yet rely on "unset" to work, but we need these variables
22308 # to be unset--not just set to an empty or harmless value--now, to
22309 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22310 # also avoids known problems related to "unset" and subshell syntax
22311 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22312 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22313 do eval test \${$as_var+y} \
22314 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22315 done
22317 # Ensure that fds 0, 1, and 2 are open.
22318 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22319 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22320 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22322 # The user is always right.
22323 if ${PATH_SEPARATOR+false} :; then
22324 PATH_SEPARATOR=:
22325 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22326 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22327 PATH_SEPARATOR=';'
22332 # Find who we are. Look in the path if we contain no directory separator.
22333 as_myself=
22334 case $0 in #((
22335 *[\\/]* ) as_myself=$0 ;;
22336 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22337 for as_dir in $PATH
22339 IFS=$as_save_IFS
22340 case $as_dir in #(((
22341 '') as_dir=./ ;;
22342 */) ;;
22343 *) as_dir=$as_dir/ ;;
22344 esac
22345 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22346 done
22347 IFS=$as_save_IFS
22350 esac
22351 # We did not find ourselves, most probably we were run as `sh COMMAND'
22352 # in which case we are not to be found in the path.
22353 if test "x$as_myself" = x; then
22354 as_myself=$0
22356 if test ! -f "$as_myself"; then
22357 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22358 exit 1
22363 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22364 # ----------------------------------------
22365 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22366 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22367 # script with STATUS, using 1 if that was 0.
22368 as_fn_error ()
22370 as_status=$1; test $as_status -eq 0 && as_status=1
22371 if test "$4"; then
22372 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22373 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22375 printf "%s\n" "$as_me: error: $2" >&2
22376 as_fn_exit $as_status
22377 } # as_fn_error
22381 # as_fn_set_status STATUS
22382 # -----------------------
22383 # Set $? to STATUS, without forking.
22384 as_fn_set_status ()
22386 return $1
22387 } # as_fn_set_status
22389 # as_fn_exit STATUS
22390 # -----------------
22391 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22392 as_fn_exit ()
22394 set +e
22395 as_fn_set_status $1
22396 exit $1
22397 } # as_fn_exit
22399 # as_fn_unset VAR
22400 # ---------------
22401 # Portably unset VAR.
22402 as_fn_unset ()
22404 { eval $1=; unset $1;}
22406 as_unset=as_fn_unset
22408 # as_fn_append VAR VALUE
22409 # ----------------------
22410 # Append the text in VALUE to the end of the definition contained in VAR. Take
22411 # advantage of any shell optimizations that allow amortized linear growth over
22412 # repeated appends, instead of the typical quadratic growth present in naive
22413 # implementations.
22414 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22415 then :
22416 eval 'as_fn_append ()
22418 eval $1+=\$2
22420 else $as_nop
22421 as_fn_append ()
22423 eval $1=\$$1\$2
22425 fi # as_fn_append
22427 # as_fn_arith ARG...
22428 # ------------------
22429 # Perform arithmetic evaluation on the ARGs, and store the result in the
22430 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22431 # must be portable across $(()) and expr.
22432 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22433 then :
22434 eval 'as_fn_arith ()
22436 as_val=$(( $* ))
22438 else $as_nop
22439 as_fn_arith ()
22441 as_val=`expr "$@" || test $? -eq 1`
22443 fi # as_fn_arith
22446 if expr a : '\(a\)' >/dev/null 2>&1 &&
22447 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22448 as_expr=expr
22449 else
22450 as_expr=false
22453 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22454 as_basename=basename
22455 else
22456 as_basename=false
22459 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22460 as_dirname=dirname
22461 else
22462 as_dirname=false
22465 as_me=`$as_basename -- "$0" ||
22466 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22467 X"$0" : 'X\(//\)$' \| \
22468 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22469 printf "%s\n" X/"$0" |
22470 sed '/^.*\/\([^/][^/]*\)\/*$/{
22471 s//\1/
22474 /^X\/\(\/\/\)$/{
22475 s//\1/
22478 /^X\/\(\/\).*/{
22479 s//\1/
22482 s/.*/./; q'`
22484 # Avoid depending upon Character Ranges.
22485 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22486 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22487 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22488 as_cr_digits='0123456789'
22489 as_cr_alnum=$as_cr_Letters$as_cr_digits
22492 # Determine whether it's possible to make 'echo' print without a newline.
22493 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22494 # for compatibility with existing Makefiles.
22495 ECHO_C= ECHO_N= ECHO_T=
22496 case `echo -n x` in #(((((
22497 -n*)
22498 case `echo 'xy\c'` in
22499 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22500 xy) ECHO_C='\c';;
22501 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22502 ECHO_T=' ';;
22503 esac;;
22505 ECHO_N='-n';;
22506 esac
22508 # For backward compatibility with old third-party macros, we provide
22509 # the shell variables $as_echo and $as_echo_n. New code should use
22510 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22511 as_echo='printf %s\n'
22512 as_echo_n='printf %s'
22514 rm -f conf$$ conf$$.exe conf$$.file
22515 if test -d conf$$.dir; then
22516 rm -f conf$$.dir/conf$$.file
22517 else
22518 rm -f conf$$.dir
22519 mkdir conf$$.dir 2>/dev/null
22521 if (echo >conf$$.file) 2>/dev/null; then
22522 if ln -s conf$$.file conf$$ 2>/dev/null; then
22523 as_ln_s='ln -s'
22524 # ... but there are two gotchas:
22525 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22526 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22527 # In both cases, we have to default to `cp -pR'.
22528 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22529 as_ln_s='cp -pR'
22530 elif ln conf$$.file conf$$ 2>/dev/null; then
22531 as_ln_s=ln
22532 else
22533 as_ln_s='cp -pR'
22535 else
22536 as_ln_s='cp -pR'
22538 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22539 rmdir conf$$.dir 2>/dev/null
22542 # as_fn_mkdir_p
22543 # -------------
22544 # Create "$as_dir" as a directory, including parents if necessary.
22545 as_fn_mkdir_p ()
22548 case $as_dir in #(
22549 -*) as_dir=./$as_dir;;
22550 esac
22551 test -d "$as_dir" || eval $as_mkdir_p || {
22552 as_dirs=
22553 while :; do
22554 case $as_dir in #(
22555 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22556 *) as_qdir=$as_dir;;
22557 esac
22558 as_dirs="'$as_qdir' $as_dirs"
22559 as_dir=`$as_dirname -- "$as_dir" ||
22560 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22561 X"$as_dir" : 'X\(//\)[^/]' \| \
22562 X"$as_dir" : 'X\(//\)$' \| \
22563 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22564 printf "%s\n" X"$as_dir" |
22565 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22566 s//\1/
22569 /^X\(\/\/\)[^/].*/{
22570 s//\1/
22573 /^X\(\/\/\)$/{
22574 s//\1/
22577 /^X\(\/\).*/{
22578 s//\1/
22581 s/.*/./; q'`
22582 test -d "$as_dir" && break
22583 done
22584 test -z "$as_dirs" || eval "mkdir $as_dirs"
22585 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22588 } # as_fn_mkdir_p
22589 if mkdir -p . 2>/dev/null; then
22590 as_mkdir_p='mkdir -p "$as_dir"'
22591 else
22592 test -d ./-p && rmdir ./-p
22593 as_mkdir_p=false
22597 # as_fn_executable_p FILE
22598 # -----------------------
22599 # Test if FILE is an executable regular file.
22600 as_fn_executable_p ()
22602 test -f "$1" && test -x "$1"
22603 } # as_fn_executable_p
22604 as_test_x='test -x'
22605 as_executable_p=as_fn_executable_p
22607 # Sed expression to map a string onto a valid CPP name.
22608 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22610 # Sed expression to map a string onto a valid variable name.
22611 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22614 exec 6>&1
22615 ## ----------------------------------- ##
22616 ## Main body of $CONFIG_STATUS script. ##
22617 ## ----------------------------------- ##
22618 _ASEOF
22619 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22622 # Save the log message, to keep $0 and so on meaningful, and to
22623 # report actual input values of CONFIG_FILES etc. instead of their
22624 # values after options handling.
22625 ac_log="
22626 This file was extended by Wine $as_me 6.22, which was
22627 generated by GNU Autoconf 2.71. Invocation command line was
22629 CONFIG_FILES = $CONFIG_FILES
22630 CONFIG_HEADERS = $CONFIG_HEADERS
22631 CONFIG_LINKS = $CONFIG_LINKS
22632 CONFIG_COMMANDS = $CONFIG_COMMANDS
22633 $ $0 $@
22635 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22638 _ACEOF
22641 case $ac_config_headers in *"
22642 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22643 esac
22646 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22647 # Files that config.status was made for.
22648 config_headers="$ac_config_headers"
22649 config_links="$ac_config_links"
22650 config_commands="$ac_config_commands"
22652 _ACEOF
22654 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22655 ac_cs_usage="\
22656 \`$as_me' instantiates files and other configuration actions
22657 from templates according to the current configuration. Unless the files
22658 and actions are specified as TAGs, all are instantiated by default.
22660 Usage: $0 [OPTION]... [TAG]...
22662 -h, --help print this help, then exit
22663 -V, --version print version number and configuration settings, then exit
22664 --config print configuration, then exit
22665 -q, --quiet, --silent
22666 do not print progress messages
22667 -d, --debug don't remove temporary files
22668 --recheck update $as_me by reconfiguring in the same conditions
22669 --header=FILE[:TEMPLATE]
22670 instantiate the configuration header FILE
22672 Configuration headers:
22673 $config_headers
22675 Configuration links:
22676 $config_links
22678 Configuration commands:
22679 $config_commands
22681 Report bugs to <wine-devel@winehq.org>.
22682 Wine home page: <https://www.winehq.org>."
22684 _ACEOF
22685 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22686 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22687 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22688 ac_cs_config='$ac_cs_config_escaped'
22689 ac_cs_version="\\
22690 Wine config.status 6.22
22691 configured by $0, generated by GNU Autoconf 2.71,
22692 with options \\"\$ac_cs_config\\"
22694 Copyright (C) 2021 Free Software Foundation, Inc.
22695 This config.status script is free software; the Free Software Foundation
22696 gives unlimited permission to copy, distribute and modify it."
22698 ac_pwd='$ac_pwd'
22699 srcdir='$srcdir'
22700 test -n "\$AWK" || AWK=awk
22701 _ACEOF
22703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22704 # The default lists apply if the user does not specify any file.
22705 ac_need_defaults=:
22706 while test $# != 0
22708 case $1 in
22709 --*=?*)
22710 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22711 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22712 ac_shift=:
22714 --*=)
22715 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22716 ac_optarg=
22717 ac_shift=:
22720 ac_option=$1
22721 ac_optarg=$2
22722 ac_shift=shift
22724 esac
22726 case $ac_option in
22727 # Handling of the options.
22728 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22729 ac_cs_recheck=: ;;
22730 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22731 printf "%s\n" "$ac_cs_version"; exit ;;
22732 --config | --confi | --conf | --con | --co | --c )
22733 printf "%s\n" "$ac_cs_config"; exit ;;
22734 --debug | --debu | --deb | --de | --d | -d )
22735 debug=: ;;
22736 --header | --heade | --head | --hea )
22737 $ac_shift
22738 case $ac_optarg in
22739 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22740 esac
22741 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22742 ac_need_defaults=false;;
22743 --he | --h)
22744 # Conflict between --help and --header
22745 as_fn_error $? "ambiguous option: \`$1'
22746 Try \`$0 --help' for more information.";;
22747 --help | --hel | -h )
22748 printf "%s\n" "$ac_cs_usage"; exit ;;
22749 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22750 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22751 ac_cs_silent=: ;;
22753 # This is an error.
22754 -*) as_fn_error $? "unrecognized option: \`$1'
22755 Try \`$0 --help' for more information." ;;
22757 *) as_fn_append ac_config_targets " $1"
22758 ac_need_defaults=false ;;
22760 esac
22761 shift
22762 done
22764 ac_configure_extra_args=
22766 if $ac_cs_silent; then
22767 exec 6>/dev/null
22768 ac_configure_extra_args="$ac_configure_extra_args --silent"
22771 _ACEOF
22772 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22773 if \$ac_cs_recheck; then
22774 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22775 shift
22776 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22777 CONFIG_SHELL='$SHELL'
22778 export CONFIG_SHELL
22779 exec "\$@"
22782 _ACEOF
22783 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22784 exec 5>>config.log
22786 echo
22787 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22788 ## Running $as_me. ##
22789 _ASBOX
22790 printf "%s\n" "$ac_log"
22791 } >&5
22793 _ACEOF
22794 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22796 # INIT-COMMANDS
22798 wine_fn_output_makedep ()
22800 as_dir=tools; as_fn_mkdir_p
22801 $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
22803 wine_fn_output_makefile ()
22805 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22806 # This Makefile understands the following targets:
22808 # all (default): build wine
22809 # clean: remove all intermediate files
22810 # distclean: also remove all files created by configure
22811 # test: run tests
22812 # testclean: clean test results to force running all tests again
22813 # install-lib: install libraries needed to run applications
22814 # install-dev: install development environment
22815 # install: install everything
22816 # uninstall: uninstall everything
22817 # ctags: create a tags file for vim and others.
22818 # etags: create a TAGS file for Emacs.
22819 # manpages: compile manpages for Wine API
22820 # htmlpages: compile html pages for Wine API
22821 # sgmlpages: compile sgml source for the Wine API Guide
22822 # xmlpages: compile xml source for the Wine API Guide
22824 SHELL = $SHELL
22825 PATH_SEPARATOR = $PATH_SEPARATOR
22826 PACKAGE_NAME = $PACKAGE_NAME
22827 PACKAGE_TARNAME = $PACKAGE_TARNAME
22828 PACKAGE_VERSION = $PACKAGE_VERSION
22829 PACKAGE_STRING = $PACKAGE_STRING
22830 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22831 PACKAGE_URL = $PACKAGE_URL
22832 exec_prefix = $exec_prefix
22833 prefix = $prefix
22834 program_transform_name = $program_transform_name
22835 bindir = $bindir
22836 sbindir = $sbindir
22837 libexecdir = $libexecdir
22838 datarootdir = $datarootdir
22839 datadir = $datadir
22840 sysconfdir = $sysconfdir
22841 sharedstatedir = $sharedstatedir
22842 localstatedir = $localstatedir
22843 runstatedir = $runstatedir
22844 includedir = $includedir
22845 oldincludedir = $oldincludedir
22846 docdir = $docdir
22847 infodir = $infodir
22848 htmldir = $htmldir
22849 dvidir = $dvidir
22850 pdfdir = $pdfdir
22851 psdir = $psdir
22852 libdir = $libdir
22853 localedir = $localedir
22854 mandir = $mandir
22855 DEFS = $DEFS
22856 ECHO_C = $ECHO_C
22857 ECHO_N = $ECHO_N
22858 ECHO_T = $ECHO_T
22859 LIBS = $LIBS
22860 build_alias = $build_alias
22861 host_alias = $host_alias
22862 target_alias = $target_alias
22863 system_dllpath = $system_dllpath
22864 build = $build
22865 build_cpu = $build_cpu
22866 build_vendor = $build_vendor
22867 build_os = $build_os
22868 host = $host
22869 host_cpu = $host_cpu
22870 host_vendor = $host_vendor
22871 host_os = $host_os
22872 dlldir = $dlldir
22873 fontdir = $fontdir
22874 nlsdir = $nlsdir
22875 srcdir = $srcdir
22876 SET_MAKE = $SET_MAKE
22877 CC = $CC
22878 CFLAGS = $CFLAGS
22879 LDFLAGS = $LDFLAGS
22880 CPPFLAGS = $CPPFLAGS
22881 ac_ct_CC = $ac_ct_CC
22882 EXEEXT = $EXEEXT
22883 OBJEXT = $OBJEXT
22884 CXX = $CXX
22885 CXXFLAGS = $CXXFLAGS
22886 ac_ct_CXX = $ac_ct_CXX
22887 CPPBIN = $CPPBIN
22888 LD = $LD
22889 TARGETFLAGS = $TARGETFLAGS
22890 toolsext = $toolsext
22891 toolsdir = $toolsdir
22892 MAKEDEP = $MAKEDEP
22893 RUNTESTFLAGS = $RUNTESTFLAGS
22894 SED_CMD = $SED_CMD
22895 api_manext = $api_manext
22896 FLEX = $FLEX
22897 BISON = $BISON
22898 AR = $AR
22899 ac_ct_AR = $ac_ct_AR
22900 STRIP = $STRIP
22901 RANLIB = $RANLIB
22902 LN_S = $LN_S
22903 GREP = $GREP
22904 EGREP = $EGREP
22905 LDCONFIG = $LDCONFIG
22906 MSGFMT = $MSGFMT
22907 PKG_CONFIG = $PKG_CONFIG
22908 FONTFORGE = $FONTFORGE
22909 RSVG = $RSVG
22910 CONVERT = $CONVERT
22911 ICOTOOL = $ICOTOOL
22912 I386_LIBS = $I386_LIBS
22913 OPENGL_LIBS = $OPENGL_LIBS
22914 DLLFLAGS = $DLLFLAGS
22915 LDDLLFLAGS = $LDDLLFLAGS
22916 LDEXECFLAGS = $LDEXECFLAGS
22917 EXTRACFLAGS = $EXTRACFLAGS
22918 UNIXDLLFLAGS = $UNIXDLLFLAGS
22919 UNIXLDFLAGS = $UNIXLDFLAGS
22920 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
22921 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
22922 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
22923 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
22924 LDD = $LDD
22925 OTOOL = $OTOOL
22926 READELF = $READELF
22927 SUBDIRS = $SUBDIRS
22928 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
22929 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
22930 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
22931 DLLTOOL = $DLLTOOL
22932 OBJC = $OBJC
22933 OBJCFLAGS = $OBJCFLAGS
22934 ac_ct_OBJC = $ac_ct_OBJC
22935 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
22936 IOKIT_LIBS = $IOKIT_LIBS
22937 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
22938 CORESERVICES_LIBS = $CORESERVICES_LIBS
22939 APPKIT_LIBS = $APPKIT_LIBS
22940 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
22941 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
22942 SECURITY_LIBS = $SECURITY_LIBS
22943 COREAUDIO_LIBS = $COREAUDIO_LIBS
22944 OPENAL_LIBS = $OPENAL_LIBS
22945 OPENCL_LIBS = $OPENCL_LIBS
22946 CARBON_LIBS = $CARBON_LIBS
22947 METAL_LIBS = $METAL_LIBS
22948 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
22949 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
22950 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
22951 PRELINK = $PRELINK
22952 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
22953 CROSSTARGET = $CROSSTARGET
22954 CROSSCC = $CROSSCC
22955 CROSSCFLAGS = $CROSSCFLAGS
22956 EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
22957 CROSSLDFLAGS = $CROSSLDFLAGS
22958 DELAYLOADFLAG = $DELAYLOADFLAG
22959 CROSSDEBUG = $CROSSDEBUG
22960 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
22961 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
22962 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
22963 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
22964 GSM_PE_LIBS = $GSM_PE_LIBS
22965 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
22966 JPEG_PE_LIBS = $JPEG_PE_LIBS
22967 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
22968 JXR_PE_LIBS = $JXR_PE_LIBS
22969 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
22970 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
22971 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
22972 MPG123_PE_LIBS = $MPG123_PE_LIBS
22973 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
22974 PNG_PE_LIBS = $PNG_PE_LIBS
22975 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
22976 TIFF_PE_LIBS = $TIFF_PE_LIBS
22977 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
22978 XML2_PE_LIBS = $XML2_PE_LIBS
22979 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
22980 XSLT_PE_LIBS = $XSLT_PE_LIBS
22981 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
22982 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
22983 PTHREAD_LIBS = $PTHREAD_LIBS
22984 XMKMF = $XMKMF
22985 CPP = $CPP
22986 X_CFLAGS = $X_CFLAGS
22987 X_PRE_LIBS = $X_PRE_LIBS
22988 X_LIBS = $X_LIBS
22989 X_EXTRA_LIBS = $X_EXTRA_LIBS
22990 PCAP_LIBS = $PCAP_LIBS
22991 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
22992 INOTIFY_LIBS = $INOTIFY_LIBS
22993 DBUS_CFLAGS = $DBUS_CFLAGS
22994 DBUS_LIBS = $DBUS_LIBS
22995 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
22996 GNUTLS_LIBS = $GNUTLS_LIBS
22997 SANE_CFLAGS = $SANE_CFLAGS
22998 SANE_LIBS = $SANE_LIBS
22999 USB_CFLAGS = $USB_CFLAGS
23000 USB_LIBS = $USB_LIBS
23001 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23002 GPHOTO2_LIBS = $GPHOTO2_LIBS
23003 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23004 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23005 RESOLV_LIBS = $RESOLV_LIBS
23006 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23007 FREETYPE_LIBS = $FREETYPE_LIBS
23008 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23009 PULSE_CFLAGS = $PULSE_CFLAGS
23010 PULSE_LIBS = $PULSE_LIBS
23011 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23012 GSTREAMER_LIBS = $GSTREAMER_LIBS
23013 ALSA_LIBS = $ALSA_LIBS
23014 OSS4_CFLAGS = $OSS4_CFLAGS
23015 OSS4_LIBS = $OSS4_LIBS
23016 UDEV_CFLAGS = $UDEV_CFLAGS
23017 UDEV_LIBS = $UDEV_LIBS
23018 UNWIND_CFLAGS = $UNWIND_CFLAGS
23019 UNWIND_LIBS = $UNWIND_LIBS
23020 SDL2_CFLAGS = $SDL2_CFLAGS
23021 SDL2_LIBS = $SDL2_LIBS
23022 CAPI20_CFLAGS = $CAPI20_CFLAGS
23023 CAPI20_LIBS = $CAPI20_LIBS
23024 CUPS_CFLAGS = $CUPS_CFLAGS
23025 CUPS_LIBS = $CUPS_LIBS
23026 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23027 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23028 KRB5_CFLAGS = $KRB5_CFLAGS
23029 KRB5_LIBS = $KRB5_LIBS
23030 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23031 GSSAPI_LIBS = $GSSAPI_LIBS
23032 PROCSTAT_LIBS = $PROCSTAT_LIBS
23033 NETAPI_CFLAGS = $NETAPI_CFLAGS
23034 NETAPI_LIBS = $NETAPI_LIBS
23035 VKD3D_CFLAGS = $VKD3D_CFLAGS
23036 VKD3D_LIBS = $VKD3D_LIBS
23037 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
23038 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
23039 MSVCRTFLAGS = $MSVCRTFLAGS
23040 RT_LIBS = $RT_LIBS
23041 LDAP_CFLAGS = $LDAP_CFLAGS
23042 LDAP_LIBS = $LDAP_LIBS
23043 TAGSFLAGS = $TAGSFLAGS
23044 LIBOBJS = $LIBOBJS
23045 LTLIBOBJS = $LTLIBOBJS
23046 $SET_MAKE
23047 $wine_rules
23048 _WINE_EOF
23049 as_fn_error $? "could not create Makefile" "$LINENO" 5
23052 _ACEOF
23054 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23056 # Handling of arguments.
23057 for ac_config_target in $ac_config_targets
23059 case $ac_config_target in
23060 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23061 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23062 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23063 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23064 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23065 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23067 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23068 esac
23069 done
23072 # If the user did not use the arguments to specify the items to instantiate,
23073 # then the envvar interface is used. Set only those that are not.
23074 # We use the long form for the default assignment because of an extremely
23075 # bizarre bug on SunOS 4.1.3.
23076 if $ac_need_defaults; then
23077 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23078 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23079 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23082 # Have a temporary directory for convenience. Make it in the build tree
23083 # simply because there is no reason against having it here, and in addition,
23084 # creating and moving files from /tmp can sometimes cause problems.
23085 # Hook for its removal unless debugging.
23086 # Note that there is a small window in which the directory will not be cleaned:
23087 # after its creation but before its name has been assigned to `$tmp'.
23088 $debug ||
23090 tmp= ac_tmp=
23091 trap 'exit_status=$?
23092 : "${ac_tmp:=$tmp}"
23093 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23095 trap 'as_fn_exit 1' 1 2 13 15
23097 # Create a (secure) tmp directory for tmp files.
23100 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23101 test -d "$tmp"
23102 } ||
23104 tmp=./conf$$-$RANDOM
23105 (umask 077 && mkdir "$tmp")
23106 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23107 ac_tmp=$tmp
23109 # Set up the scripts for CONFIG_HEADERS section.
23110 # No need to generate them if there are no CONFIG_HEADERS.
23111 # This happens for instance with `./config.status Makefile'.
23112 if test -n "$CONFIG_HEADERS"; then
23113 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23114 BEGIN {
23115 _ACEOF
23117 # Transform confdefs.h into an awk script `defines.awk', embedded as
23118 # here-document in config.status, that substitutes the proper values into
23119 # config.h.in to produce config.h.
23121 # Create a delimiter string that does not exist in confdefs.h, to ease
23122 # handling of long lines.
23123 ac_delim='%!_!# '
23124 for ac_last_try in false false :; do
23125 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23126 if test -z "$ac_tt"; then
23127 break
23128 elif $ac_last_try; then
23129 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23130 else
23131 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23133 done
23135 # For the awk script, D is an array of macro values keyed by name,
23136 # likewise P contains macro parameters if any. Preserve backslash
23137 # newline sequences.
23139 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23140 sed -n '
23141 s/.\{148\}/&'"$ac_delim"'/g
23142 t rset
23143 :rset
23144 s/^[ ]*#[ ]*define[ ][ ]*/ /
23145 t def
23147 :def
23148 s/\\$//
23149 t bsnl
23150 s/["\\]/\\&/g
23151 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23152 D["\1"]=" \3"/p
23153 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23155 :bsnl
23156 s/["\\]/\\&/g
23157 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23158 D["\1"]=" \3\\\\\\n"\\/p
23159 t cont
23160 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23161 t cont
23163 :cont
23165 s/.\{148\}/&'"$ac_delim"'/g
23166 t clear
23167 :clear
23168 s/\\$//
23169 t bsnlc
23170 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23172 :bsnlc
23173 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23174 b cont
23175 ' <confdefs.h | sed '
23176 s/'"$ac_delim"'/"\\\
23177 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23180 for (key in D) D_is_set[key] = 1
23181 FS = "\a"
23183 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23184 line = \$ 0
23185 split(line, arg, " ")
23186 if (arg[1] == "#") {
23187 defundef = arg[2]
23188 mac1 = arg[3]
23189 } else {
23190 defundef = substr(arg[1], 2)
23191 mac1 = arg[2]
23193 split(mac1, mac2, "(") #)
23194 macro = mac2[1]
23195 prefix = substr(line, 1, index(line, defundef) - 1)
23196 if (D_is_set[macro]) {
23197 # Preserve the white space surrounding the "#".
23198 print prefix "define", macro P[macro] D[macro]
23199 next
23200 } else {
23201 # Replace #undef with comments. This is necessary, for example,
23202 # in the case of _POSIX_SOURCE, which is predefined and required
23203 # on some systems where configure will not decide to define it.
23204 if (defundef == "undef") {
23205 print "/*", prefix defundef, macro, "*/"
23206 next
23210 { print }
23211 _ACAWK
23212 _ACEOF
23213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23214 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23215 fi # test -n "$CONFIG_HEADERS"
23218 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23219 shift
23220 for ac_tag
23222 case $ac_tag in
23223 :[FHLC]) ac_mode=$ac_tag; continue;;
23224 esac
23225 case $ac_mode$ac_tag in
23226 :[FHL]*:*);;
23227 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23228 :[FH]-) ac_tag=-:-;;
23229 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23230 esac
23231 ac_save_IFS=$IFS
23232 IFS=:
23233 set x $ac_tag
23234 IFS=$ac_save_IFS
23235 shift
23236 ac_file=$1
23237 shift
23239 case $ac_mode in
23240 :L) ac_source=$1;;
23241 :[FH])
23242 ac_file_inputs=
23243 for ac_f
23245 case $ac_f in
23246 -) ac_f="$ac_tmp/stdin";;
23247 *) # Look for the file first in the build tree, then in the source tree
23248 # (if the path is not absolute). The absolute path cannot be DOS-style,
23249 # because $ac_f cannot contain `:'.
23250 test -f "$ac_f" ||
23251 case $ac_f in
23252 [\\/$]*) false;;
23253 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23254 esac ||
23255 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23256 esac
23257 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23258 as_fn_append ac_file_inputs " '$ac_f'"
23259 done
23261 # Let's still pretend it is `configure' which instantiates (i.e., don't
23262 # use $as_me), people would be surprised to read:
23263 # /* config.h. Generated by config.status. */
23264 configure_input='Generated from '`
23265 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23266 `' by configure.'
23267 if test x"$ac_file" != x-; then
23268 configure_input="$ac_file. $configure_input"
23269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23270 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23272 # Neutralize special characters interpreted by sed in replacement strings.
23273 case $configure_input in #(
23274 *\&* | *\|* | *\\* )
23275 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23276 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23277 *) ac_sed_conf_input=$configure_input;;
23278 esac
23280 case $ac_tag in
23281 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23282 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23283 esac
23285 esac
23287 ac_dir=`$as_dirname -- "$ac_file" ||
23288 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23289 X"$ac_file" : 'X\(//\)[^/]' \| \
23290 X"$ac_file" : 'X\(//\)$' \| \
23291 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23292 printf "%s\n" X"$ac_file" |
23293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23294 s//\1/
23297 /^X\(\/\/\)[^/].*/{
23298 s//\1/
23301 /^X\(\/\/\)$/{
23302 s//\1/
23305 /^X\(\/\).*/{
23306 s//\1/
23309 s/.*/./; q'`
23310 as_dir="$ac_dir"; as_fn_mkdir_p
23311 ac_builddir=.
23313 case "$ac_dir" in
23314 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23316 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23317 # A ".." for each directory in $ac_dir_suffix.
23318 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23319 case $ac_top_builddir_sub in
23320 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23321 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23322 esac ;;
23323 esac
23324 ac_abs_top_builddir=$ac_pwd
23325 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23326 # for backward compatibility:
23327 ac_top_builddir=$ac_top_build_prefix
23329 case $srcdir in
23330 .) # We are building in place.
23331 ac_srcdir=.
23332 ac_top_srcdir=$ac_top_builddir_sub
23333 ac_abs_top_srcdir=$ac_pwd ;;
23334 [\\/]* | ?:[\\/]* ) # Absolute name.
23335 ac_srcdir=$srcdir$ac_dir_suffix;
23336 ac_top_srcdir=$srcdir
23337 ac_abs_top_srcdir=$srcdir ;;
23338 *) # Relative name.
23339 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23340 ac_top_srcdir=$ac_top_build_prefix$srcdir
23341 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23342 esac
23343 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23346 case $ac_mode in
23350 # CONFIG_HEADER
23352 if test x"$ac_file" != x-; then
23354 printf "%s\n" "/* $configure_input */" >&1 \
23355 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23356 } >"$ac_tmp/config.h" \
23357 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23358 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23360 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23361 else
23362 rm -f "$ac_file"
23363 mv "$ac_tmp/config.h" "$ac_file" \
23364 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23366 else
23367 printf "%s\n" "/* $configure_input */" >&1 \
23368 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23369 || as_fn_error $? "could not create -" "$LINENO" 5
23374 # CONFIG_LINK
23377 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23379 else
23380 # Prefer the file from the source tree if names are identical.
23381 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23382 ac_source=$srcdir/$ac_source
23385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23386 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23388 if test ! -r "$ac_source"; then
23389 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23391 rm -f "$ac_file"
23393 # Try a relative symlink, then a hard link, then a copy.
23394 case $ac_source in
23395 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23396 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23397 esac
23398 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23399 ln "$ac_source" "$ac_file" 2>/dev/null ||
23400 cp -p "$ac_source" "$ac_file" ||
23401 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23404 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23405 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23407 esac
23410 case $ac_file$ac_mode in
23411 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23412 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23413 "Makefile":C) wine_fn_output_makefile Makefile ;;
23415 esac
23416 done # for ac_tag
23419 as_fn_exit 0
23420 _ACEOF
23421 ac_clean_files=$ac_clean_files_save
23423 test $ac_write_fail = 0 ||
23424 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23427 # configure is writing to config.log, and then calls config.status.
23428 # config.status does its own redirection, appending to config.log.
23429 # Unfortunately, on DOS this fails, as config.log is still kept open
23430 # by configure, so config.status won't be able to write to it; its
23431 # output is simply discarded. So we exec the FD to /dev/null,
23432 # effectively closing config.log, so it can be properly (re)opened and
23433 # appended to by config.status. When coming back to configure, we
23434 # need to make the FD available again.
23435 if test "$no_create" != yes; then
23436 ac_cs_success=:
23437 ac_config_status_args=
23438 test "$silent" = yes &&
23439 ac_config_status_args="$ac_config_status_args --quiet"
23440 exec 5>/dev/null
23441 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23442 exec 5>>config.log
23443 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23444 # would make configure fail if this is the last instruction.
23445 $ac_cs_success || as_fn_exit 1
23447 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23449 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23453 if test "$no_create" = "yes"
23454 then
23455 exit 0
23458 ac_save_IFS="$IFS"
23459 if test "x$wine_notices" != x; then
23460 echo >&6
23461 IFS="|"
23462 for msg in $wine_notices; do
23463 IFS="$ac_save_IFS"
23464 if ${msg:+false} :
23465 then :
23467 else $as_nop
23468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23469 printf "%s\n" "$as_me: $msg" >&6;}
23471 done
23473 IFS="|"
23474 for msg in $wine_warnings; do
23475 IFS="$ac_save_IFS"
23476 if ${msg:+false} :
23477 then :
23479 else $as_nop
23480 echo >&2
23481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23482 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23484 done
23485 IFS="$ac_save_IFS"
23487 printf "%s\n" "
23488 $as_me: Finished. Do '${ac_make}' to compile Wine.
23489 " >&6