regedit: Remove unneeded valueDataLen override for DWORD values.
[wine.git] / configure
blobe563a2f95021d0fd794eaa05f72b4f801773fb7f
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.12.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22 then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else $as_nop
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
35 esac
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
49 export as_nl
50 IFS=" "" $as_nl"
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146 emulate sh
147 NULLCMD=:
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 setopt NO_GLOB_SUBST
152 else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
158 esac
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
175 else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev/null
188 then :
189 as_have_required=yes
190 else $as_nop
191 as_have_required=no
193 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
194 then :
196 else $as_nop
197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198 as_found=false
199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
201 IFS=$as_save_IFS
202 case $as_dir in #(((
203 '') as_dir=./ ;;
204 */) ;;
205 *) as_dir=$as_dir/ ;;
206 esac
207 as_found=:
208 case $as_dir in #(
210 for as_base in sh bash ksh sh5; do
211 # Try only shells that exist, to save several forks.
212 as_shell=$as_dir$as_base
213 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
214 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215 then :
216 CONFIG_SHELL=$as_shell as_have_required=yes
217 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
218 then :
219 break 2
222 done;;
223 esac
224 as_found=false
225 done
226 IFS=$as_save_IFS
227 if $as_found
228 then :
230 else $as_nop
231 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233 then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
239 if test "x$CONFIG_SHELL" != x
240 then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno
263 then :
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269 else
270 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271 $0: wine-devel@winehq.org about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
276 exit 1
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
294 { eval $1=; unset $1;}
296 as_unset=as_fn_unset
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
302 as_fn_set_status ()
304 return $1
305 } # as_fn_set_status
307 # as_fn_exit STATUS
308 # -----------------
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
310 as_fn_exit ()
312 set +e
313 as_fn_set_status $1
314 exit $1
315 } # as_fn_exit
316 # as_fn_nop
317 # ---------
318 # Do nothing but, unlike ":", preserve the value of $?.
319 as_fn_nop ()
321 return $?
323 as_nop=as_fn_nop
325 # as_fn_mkdir_p
326 # -------------
327 # Create "$as_dir" as a directory, including parents if necessary.
328 as_fn_mkdir_p ()
331 case $as_dir in #(
332 -*) as_dir=./$as_dir;;
333 esac
334 test -d "$as_dir" || eval $as_mkdir_p || {
335 as_dirs=
336 while :; do
337 case $as_dir in #(
338 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 *) as_qdir=$as_dir;;
340 esac
341 as_dirs="'$as_qdir' $as_dirs"
342 as_dir=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
349 s//\1/
352 /^X\(\/\/\)[^/].*/{
353 s//\1/
356 /^X\(\/\/\)$/{
357 s//\1/
360 /^X\(\/\).*/{
361 s//\1/
364 s/.*/./; q'`
365 test -d "$as_dir" && break
366 done
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 } # as_fn_mkdir_p
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p ()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
385 # implementations.
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
387 then :
388 eval 'as_fn_append ()
390 eval $1+=\$2
392 else $as_nop
393 as_fn_append ()
395 eval $1=\$$1\$2
397 fi # as_fn_append
399 # as_fn_arith ARG...
400 # ------------------
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
405 then :
406 eval 'as_fn_arith ()
408 as_val=$(( $* ))
410 else $as_nop
411 as_fn_arith ()
413 as_val=`expr "$@" || test $? -eq 1`
415 fi # as_fn_arith
417 # as_fn_nop
418 # ---------
419 # Do nothing but, unlike ":", preserve the value of $?.
420 as_fn_nop ()
422 return $?
424 as_nop=as_fn_nop
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
431 as_fn_error ()
433 as_status=$1; test $as_status -eq 0 && as_status=1
434 if test "$4"; then
435 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 printf "%s\n" "$as_me: error: $2" >&2
439 as_fn_exit $as_status
440 } # as_fn_error
442 if expr a : '\(a\)' >/dev/null 2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001; then
444 as_expr=expr
445 else
446 as_expr=false
449 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
450 as_basename=basename
451 else
452 as_basename=false
455 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
456 as_dirname=dirname
457 else
458 as_dirname=false
461 as_me=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466 sed '/^.*\/\([^/][^/]*\)\/*$/{
467 s//\1/
470 /^X\/\(\/\/\)$/{
471 s//\1/
474 /^X\/\(\/\).*/{
475 s//\1/
478 s/.*/./; q'`
480 # Avoid depending upon Character Ranges.
481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits='0123456789'
485 as_cr_alnum=$as_cr_Letters$as_cr_digits
488 as_lineno_1=$LINENO as_lineno_1a=$LINENO
489 as_lineno_2=$LINENO as_lineno_2a=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 sed -n '
495 /[$]LINENO/=
496 ' <$as_myself |
497 sed '
498 s/[$]LINENO.*/&-/
499 t lineno
501 :lineno
503 :loop
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
505 t loop
506 s/-\n.*//
507 ' >$as_me.lineno &&
508 chmod +x "$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec=no; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
518 . "./$as_me.lineno"
519 # Exit status is that of the last command.
520 exit
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C= ECHO_N= ECHO_T=
528 case `echo -n x` in #(((((
529 -n*)
530 case `echo 'xy\c'` in
531 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
532 xy) ECHO_C='\c';;
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
534 ECHO_T=' ';;
535 esac;;
537 ECHO_N='-n';;
538 esac
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo='printf %s\n'
544 as_echo_n='printf %s'
547 rm -f conf$$ conf$$.exe conf$$.file
548 if test -d conf$$.dir; then
549 rm -f conf$$.dir/conf$$.file
550 else
551 rm -f conf$$.dir
552 mkdir conf$$.dir 2>/dev/null
554 if (echo >conf$$.file) 2>/dev/null; then
555 if ln -s conf$$.file conf$$ 2>/dev/null; then
556 as_ln_s='ln -s'
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
562 as_ln_s='cp -pR'
563 elif ln conf$$.file conf$$ 2>/dev/null; then
564 as_ln_s=ln
565 else
566 as_ln_s='cp -pR'
568 else
569 as_ln_s='cp -pR'
571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
572 rmdir conf$$.dir 2>/dev/null
574 if mkdir -p . 2>/dev/null; then
575 as_mkdir_p='mkdir -p "$as_dir"'
576 else
577 test -d ./-p && rmdir ./-p
578 as_mkdir_p=false
581 as_test_x='test -x'
582 as_executable_p=as_fn_executable_p
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
591 test -n "$DJDIR" || exec 7<&0 </dev/null
592 exec 6>&1
594 # Name of the host.
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
600 # Initializations.
602 ac_default_prefix=/usr/local
603 ac_clean_files=
604 ac_config_libobj_dir=.
605 LIBOBJS=
606 cross_compiling=no
607 subdirs=
608 MFLAGS=
609 MAKEFLAGS=
611 # Identity of this package.
612 PACKAGE_NAME='Wine'
613 PACKAGE_TARNAME='wine'
614 PACKAGE_VERSION='7.12'
615 PACKAGE_STRING='Wine 7.12'
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 NETAPI_LIBS
660 NETAPI_CFLAGS
661 PROCSTAT_LIBS
662 GSSAPI_LIBS
663 GSSAPI_CFLAGS
664 KRB5_LIBS
665 KRB5_CFLAGS
666 FONTCONFIG_LIBS
667 FONTCONFIG_CFLAGS
668 CUPS_LIBS
669 CUPS_CFLAGS
670 CAPI20_LIBS
671 CAPI20_CFLAGS
672 SDL2_LIBS
673 SDL2_CFLAGS
674 UNWIND_LIBS
675 UNWIND_CFLAGS
676 UDEV_LIBS
677 UDEV_CFLAGS
678 OSS4_LIBS
679 OSS4_CFLAGS
680 ALSA_LIBS
681 GSTREAMER_LIBS
682 GSTREAMER_CFLAGS
683 PULSE_LIBS
684 PULSE_CFLAGS
685 GETTEXTPO_LIBS
686 FREETYPE_LIBS
687 FREETYPE_CFLAGS
688 RESOLV_LIBS
689 GPHOTO2_PORT_LIBS
690 GPHOTO2_PORT_CFLAGS
691 GPHOTO2_LIBS
692 GPHOTO2_CFLAGS
693 USB_LIBS
694 USB_CFLAGS
695 SANE_LIBS
696 SANE_CFLAGS
697 GNUTLS_LIBS
698 GNUTLS_CFLAGS
699 DBUS_LIBS
700 DBUS_CFLAGS
701 INOTIFY_LIBS
702 INOTIFY_CFLAGS
703 PCAP_LIBS
704 X_EXTRA_LIBS
705 X_LIBS
706 X_PRE_LIBS
707 X_CFLAGS
709 XMKMF
710 PTHREAD_LIBS
711 ZLIB_PE_LIBS
712 ZLIB_PE_CFLAGS
713 XSLT_PE_LIBS
714 XSLT_PE_CFLAGS
715 XML2_PE_LIBS
716 XML2_PE_CFLAGS
717 VKD3D_PE_LIBS
718 VKD3D_PE_CFLAGS
719 TIFF_PE_LIBS
720 TIFF_PE_CFLAGS
721 PNG_PE_LIBS
722 PNG_PE_CFLAGS
723 MPG123_PE_LIBS
724 MPG123_PE_CFLAGS
725 LCMS2_PE_LIBS
726 LCMS2_PE_CFLAGS
727 JXR_PE_LIBS
728 JXR_PE_CFLAGS
729 JPEG_PE_LIBS
730 JPEG_PE_CFLAGS
731 GSM_PE_LIBS
732 GSM_PE_CFLAGS
733 FAUDIO_PE_LIBS
734 FAUDIO_PE_CFLAGS
735 MINGW_PKG_CONFIG
736 EXCESS_PRECISION_CFLAGS
737 CROSSDEBUG
738 DELAYLOADFLAG
739 CROSSLDFLAGS
740 EXTRACROSSCFLAGS
741 CROSSCFLAGS
742 CROSSCC
743 CROSSTARGET
744 LIBWINE_DEPENDS
745 PRELINK
746 WINELOADER_DEPENDS
747 LIBWINE_LDFLAGS
748 LIBWINE_SHAREDLIB
749 METAL_LIBS
750 CARBON_LIBS
751 OPENCL_LIBS
752 OPENAL_LIBS
753 COREAUDIO_LIBS
754 SECURITY_LIBS
755 DISKARBITRATION_LIBS
756 SYSTEMCONFIGURATION_LIBS
757 APPKIT_LIBS
758 CORESERVICES_LIBS
759 APPLICATIONSERVICES_LIBS
760 IOKIT_LIBS
761 COREFOUNDATION_LIBS
762 ac_ct_OBJC
763 OBJCFLAGS
764 OBJC
765 DLLTOOL
766 WINELOADER_PROGRAMS
767 CONFIGURE_TARGETS
768 DISABLED_SUBDIRS
769 SUBDIRS
770 READELF
771 OTOOL
773 WINEPRELOADER_LDFLAGS
774 WINELOADER_LDFLAGS
775 TOP_INSTALL_DEV
776 TOP_INSTALL_LIB
777 UNIXLDFLAGS
778 UNIXDLLFLAGS
779 EXTRACFLAGS
780 LDEXECFLAGS
781 LDDLLFLAGS
782 DLLFLAGS
783 OPENGL_LIBS
784 I386_LIBS
785 ICOTOOL
786 CONVERT
787 RSVG
788 FONTFORGE
789 PKG_CONFIG
790 MSGFMT
791 LDCONFIG
792 EGREP
793 GREP
794 LN_S
795 RANLIB
796 STRIP
797 ac_ct_AR
799 BISON
800 FLEX
801 SED_CMD
802 RUNTESTFLAGS
803 MAKEDEP
804 toolsdir
805 toolsext
806 TARGETFLAGS
808 CPPBIN
809 ac_ct_CXX
810 CXXFLAGS
812 OBJEXT
813 EXEEXT
814 ac_ct_CC
815 CPPFLAGS
816 LDFLAGS
817 CFLAGS
819 SET_MAKE
820 srcdir
821 nlsdir
822 fontdir
823 dlldir
824 host_os
825 host_vendor
826 host_cpu
827 host
828 build_os
829 build_vendor
830 build_cpu
831 build
832 system_dllpath
833 target_alias
834 host_alias
835 build_alias
836 LIBS
837 ECHO_T
838 ECHO_N
839 ECHO_C
840 DEFS
841 mandir
842 localedir
843 libdir
844 psdir
845 pdfdir
846 dvidir
847 htmldir
848 infodir
849 docdir
850 oldincludedir
851 includedir
852 runstatedir
853 localstatedir
854 sharedstatedir
855 sysconfdir
856 datadir
857 datarootdir
858 libexecdir
859 sbindir
860 bindir
861 program_transform_name
862 prefix
863 exec_prefix
864 PACKAGE_URL
865 PACKAGE_BUGREPORT
866 PACKAGE_STRING
867 PACKAGE_VERSION
868 PACKAGE_TARNAME
869 PACKAGE_NAME
870 PATH_SEPARATOR
871 SHELL'
872 ac_subst_files=''
873 ac_user_opts='
874 enable_option_checking
875 enable_win16
876 enable_win64
877 enable_tests
878 enable_build_id
879 enable_maintainer_mode
880 enable_silent_rules
881 enable_werror
882 with_alsa
883 with_capi
884 with_coreaudio
885 with_cups
886 with_dbus
887 with_float_abi
888 with_fontconfig
889 with_freetype
890 with_gettext
891 with_gettextpo
892 with_gphoto
893 with_gnutls
894 with_gssapi
895 with_gstreamer
896 with_inotify
897 with_krb5
898 with_ldap
899 with_mingw
900 with_netapi
901 with_openal
902 with_opencl
903 with_opengl
904 with_osmesa
905 with_oss
906 with_pcap
907 with_pthread
908 with_pulse
909 with_sane
910 with_sdl
911 with_udev
912 with_unwind
913 with_usb
914 with_v4l2
915 with_vulkan
916 with_xcomposite
917 with_xcursor
918 with_xfixes
919 with_xinerama
920 with_xinput
921 with_xinput2
922 with_xrandr
923 with_xrender
924 with_xshape
925 with_xshm
926 with_xxf86vm
927 with_system_dllpath
928 with_wine_tools
929 with_wine64
930 enable_largefile
931 with_x
932 enable_acledit
933 enable_aclui
934 enable_activeds_tlb
935 enable_activeds
936 enable_actxprxy
937 enable_adsldp
938 enable_adsldpc
939 enable_advapi32
940 enable_advpack
941 enable_amsi
942 enable_amstream
943 enable_apisetschema
944 enable_apphelp
945 enable_appwiz_cpl
946 enable_atl
947 enable_atl100
948 enable_atl110
949 enable_atl80
950 enable_atl90
951 enable_atlthunk
952 enable_atmlib
953 enable_authz
954 enable_avicap32
955 enable_avifil32
956 enable_avrt
957 enable_bcrypt
958 enable_bluetoothapis
959 enable_browseui
960 enable_bthprops_cpl
961 enable_cabinet
962 enable_capi2032
963 enable_cards
964 enable_cdosys
965 enable_cfgmgr32
966 enable_clusapi
967 enable_cng_sys
968 enable_combase
969 enable_comcat
970 enable_comctl32
971 enable_comdlg32
972 enable_compstui
973 enable_comsvcs
974 enable_concrt140
975 enable_connect
976 enable_credui
977 enable_crtdll
978 enable_crypt32
979 enable_cryptdlg
980 enable_cryptdll
981 enable_cryptext
982 enable_cryptnet
983 enable_cryptsp
984 enable_cryptui
985 enable_ctapi32
986 enable_ctl3d32
987 enable_d2d1
988 enable_d3d10
989 enable_d3d10_1
990 enable_d3d10core
991 enable_d3d11
992 enable_d3d12
993 enable_d3d8
994 enable_d3d8thk
995 enable_d3d9
996 enable_d3dcompiler_33
997 enable_d3dcompiler_34
998 enable_d3dcompiler_35
999 enable_d3dcompiler_36
1000 enable_d3dcompiler_37
1001 enable_d3dcompiler_38
1002 enable_d3dcompiler_39
1003 enable_d3dcompiler_40
1004 enable_d3dcompiler_41
1005 enable_d3dcompiler_42
1006 enable_d3dcompiler_43
1007 enable_d3dcompiler_46
1008 enable_d3dcompiler_47
1009 enable_d3dim
1010 enable_d3dim700
1011 enable_d3drm
1012 enable_d3dx10_33
1013 enable_d3dx10_34
1014 enable_d3dx10_35
1015 enable_d3dx10_36
1016 enable_d3dx10_37
1017 enable_d3dx10_38
1018 enable_d3dx10_39
1019 enable_d3dx10_40
1020 enable_d3dx10_41
1021 enable_d3dx10_42
1022 enable_d3dx10_43
1023 enable_d3dx11_42
1024 enable_d3dx11_43
1025 enable_d3dx9_24
1026 enable_d3dx9_25
1027 enable_d3dx9_26
1028 enable_d3dx9_27
1029 enable_d3dx9_28
1030 enable_d3dx9_29
1031 enable_d3dx9_30
1032 enable_d3dx9_31
1033 enable_d3dx9_32
1034 enable_d3dx9_33
1035 enable_d3dx9_34
1036 enable_d3dx9_35
1037 enable_d3dx9_36
1038 enable_d3dx9_37
1039 enable_d3dx9_38
1040 enable_d3dx9_39
1041 enable_d3dx9_40
1042 enable_d3dx9_41
1043 enable_d3dx9_42
1044 enable_d3dx9_43
1045 enable_d3dxof
1046 enable_davclnt
1047 enable_dbgeng
1048 enable_dbghelp
1049 enable_dciman32
1050 enable_dcomp
1051 enable_ddraw
1052 enable_ddrawex
1053 enable_devenum
1054 enable_dhcpcsvc
1055 enable_dhcpcsvc6
1056 enable_dhtmled_ocx
1057 enable_diasymreader
1058 enable_difxapi
1059 enable_dinput
1060 enable_dinput8
1061 enable_directmanipulation
1062 enable_dispex
1063 enable_dmband
1064 enable_dmcompos
1065 enable_dmime
1066 enable_dmloader
1067 enable_dmscript
1068 enable_dmstyle
1069 enable_dmsynth
1070 enable_dmusic
1071 enable_dmusic32
1072 enable_dnsapi
1073 enable_dplay
1074 enable_dplayx
1075 enable_dpnaddr
1076 enable_dpnet
1077 enable_dpnhpast
1078 enable_dpnhupnp
1079 enable_dpnlobby
1080 enable_dpvoice
1081 enable_dpwsockx
1082 enable_drmclien
1083 enable_dsdmo
1084 enable_dsound
1085 enable_dsquery
1086 enable_dssenh
1087 enable_dsuiext
1088 enable_dswave
1089 enable_dwmapi
1090 enable_dwrite
1091 enable_dx8vb
1092 enable_dxdiagn
1093 enable_dxgi
1094 enable_dxtrans
1095 enable_dxva2
1096 enable_esent
1097 enable_evr
1098 enable_explorerframe
1099 enable_faultrep
1100 enable_feclient
1101 enable_fltlib
1102 enable_fltmgr_sys
1103 enable_fntcache
1104 enable_fontsub
1105 enable_fusion
1106 enable_fwpuclnt
1107 enable_gameux
1108 enable_gamingtcui
1109 enable_gdi32
1110 enable_gdiplus
1111 enable_glu32
1112 enable_gphoto2_ds
1113 enable_gpkcsp
1114 enable_hal
1115 enable_hhctrl_ocx
1116 enable_hid
1117 enable_hidclass_sys
1118 enable_hidparse_sys
1119 enable_hlink
1120 enable_hnetcfg
1121 enable_http_sys
1122 enable_httpapi
1123 enable_ia2comproxy
1124 enable_iccvid
1125 enable_icmp
1126 enable_ieframe
1127 enable_ieproxy
1128 enable_imaadp32_acm
1129 enable_imagehlp
1130 enable_imm32
1131 enable_inetcomm
1132 enable_inetcpl_cpl
1133 enable_inetmib1
1134 enable_infosoft
1135 enable_initpki
1136 enable_inkobj
1137 enable_inseng
1138 enable_iphlpapi
1139 enable_iprop
1140 enable_irprops_cpl
1141 enable_itircl
1142 enable_itss
1143 enable_joy_cpl
1144 enable_jscript
1145 enable_jsproxy
1146 enable_kerberos
1147 enable_kernel32
1148 enable_kernelbase
1149 enable_ksecdd_sys
1150 enable_ksproxy_ax
1151 enable_ksuser
1152 enable_ktmw32
1153 enable_l3codeca_acm
1154 enable_light_msstyles
1155 enable_loadperf
1156 enable_localspl
1157 enable_localui
1158 enable_lz32
1159 enable_mapi32
1160 enable_mapistub
1161 enable_mciavi32
1162 enable_mcicda
1163 enable_mciqtz32
1164 enable_mciseq
1165 enable_mciwave
1166 enable_mf
1167 enable_mf3216
1168 enable_mferror
1169 enable_mfmediaengine
1170 enable_mfplat
1171 enable_mfplay
1172 enable_mfreadwrite
1173 enable_mgmtapi
1174 enable_midimap
1175 enable_mlang
1176 enable_mmcndmgr
1177 enable_mmdevapi
1178 enable_mountmgr_sys
1179 enable_mp3dmod
1180 enable_mpr
1181 enable_mprapi
1182 enable_msacm32_drv
1183 enable_msacm32
1184 enable_msado15
1185 enable_msadp32_acm
1186 enable_msasn1
1187 enable_mscat32
1188 enable_mscms
1189 enable_mscoree
1190 enable_mscorwks
1191 enable_msctf
1192 enable_msctfmonitor
1193 enable_msctfp
1194 enable_msdaps
1195 enable_msdasql
1196 enable_msdelta
1197 enable_msdmo
1198 enable_msdrm
1199 enable_msftedit
1200 enable_msg711_acm
1201 enable_msgsm32_acm
1202 enable_mshtml_tlb
1203 enable_mshtml
1204 enable_msi
1205 enable_msident
1206 enable_msimg32
1207 enable_msimsg
1208 enable_msimtf
1209 enable_msisip
1210 enable_msisys_ocx
1211 enable_msls31
1212 enable_msnet32
1213 enable_mspatcha
1214 enable_msports
1215 enable_msrle32
1216 enable_msscript_ocx
1217 enable_mssign32
1218 enable_mssip32
1219 enable_mstask
1220 enable_msv1_0
1221 enable_msvcirt
1222 enable_msvcm80
1223 enable_msvcm90
1224 enable_msvcp100
1225 enable_msvcp110
1226 enable_msvcp120
1227 enable_msvcp120_app
1228 enable_msvcp140
1229 enable_msvcp140_1
1230 enable_msvcp140_2
1231 enable_msvcp140_atomic_wait
1232 enable_msvcp60
1233 enable_msvcp70
1234 enable_msvcp71
1235 enable_msvcp80
1236 enable_msvcp90
1237 enable_msvcp_win
1238 enable_msvcr100
1239 enable_msvcr110
1240 enable_msvcr120
1241 enable_msvcr120_app
1242 enable_msvcr70
1243 enable_msvcr71
1244 enable_msvcr80
1245 enable_msvcr90
1246 enable_msvcrt
1247 enable_msvcrt20
1248 enable_msvcrt40
1249 enable_msvcrtd
1250 enable_msvfw32
1251 enable_msvidc32
1252 enable_mswsock
1253 enable_msxml
1254 enable_msxml2
1255 enable_msxml3
1256 enable_msxml4
1257 enable_msxml6
1258 enable_mtxdm
1259 enable_ncrypt
1260 enable_nddeapi
1261 enable_ndis_sys
1262 enable_netapi32
1263 enable_netcfgx
1264 enable_netio_sys
1265 enable_netprofm
1266 enable_netutils
1267 enable_newdev
1268 enable_ninput
1269 enable_normaliz
1270 enable_npmshtml
1271 enable_npptools
1272 enable_nsi
1273 enable_nsiproxy_sys
1274 enable_ntdll
1275 enable_ntdsapi
1276 enable_ntoskrnl_exe
1277 enable_ntprint
1278 enable_objsel
1279 enable_odbc32
1280 enable_odbcbcp
1281 enable_odbccp32
1282 enable_odbccu32
1283 enable_ole32
1284 enable_oleacc
1285 enable_oleaut32
1286 enable_olecli32
1287 enable_oledb32
1288 enable_oledlg
1289 enable_olepro32
1290 enable_olesvr32
1291 enable_olethk32
1292 enable_opcservices
1293 enable_openal32
1294 enable_opencl
1295 enable_opengl32
1296 enable_packager
1297 enable_pdh
1298 enable_photometadatahandler
1299 enable_pidgen
1300 enable_powrprof
1301 enable_printui
1302 enable_prntvpt
1303 enable_propsys
1304 enable_psapi
1305 enable_pstorec
1306 enable_pwrshplugin
1307 enable_qasf
1308 enable_qcap
1309 enable_qdvd
1310 enable_qedit
1311 enable_qmgr
1312 enable_qmgrprxy
1313 enable_quartz
1314 enable_query
1315 enable_qwave
1316 enable_rasapi32
1317 enable_rasdlg
1318 enable_regapi
1319 enable_resutils
1320 enable_riched20
1321 enable_riched32
1322 enable_rpcrt4
1323 enable_rsabase
1324 enable_rsaenh
1325 enable_rstrtmgr
1326 enable_rtutils
1327 enable_rtworkq
1328 enable_samlib
1329 enable_sane_ds
1330 enable_sapi
1331 enable_sas
1332 enable_scarddlg
1333 enable_sccbase
1334 enable_schannel
1335 enable_schedsvc
1336 enable_scrobj
1337 enable_scrrun
1338 enable_scsiport_sys
1339 enable_sechost
1340 enable_secur32
1341 enable_security
1342 enable_sensapi
1343 enable_serialui
1344 enable_setupapi
1345 enable_sfc
1346 enable_sfc_os
1347 enable_shcore
1348 enable_shdoclc
1349 enable_shdocvw
1350 enable_shell32
1351 enable_shfolder
1352 enable_shlwapi
1353 enable_slbcsp
1354 enable_slc
1355 enable_snmpapi
1356 enable_softpub
1357 enable_spoolss
1358 enable_sppc
1359 enable_srclient
1360 enable_srvcli
1361 enable_sspicli
1362 enable_stdole2_tlb
1363 enable_stdole32_tlb
1364 enable_sti
1365 enable_strmdll
1366 enable_svrapi
1367 enable_sxs
1368 enable_t2embed
1369 enable_tapi32
1370 enable_taskschd
1371 enable_tbs
1372 enable_tdh
1373 enable_tdi_sys
1374 enable_traffic
1375 enable_twain_32
1376 enable_tzres
1377 enable_ucrtbase
1378 enable_uianimation
1379 enable_uiautomationcore
1380 enable_uiribbon
1381 enable_unicows
1382 enable_updspapi
1383 enable_url
1384 enable_urlmon
1385 enable_usbd_sys
1386 enable_user32
1387 enable_userenv
1388 enable_usp10
1389 enable_utildll
1390 enable_uxtheme
1391 enable_vbscript
1392 enable_vcomp
1393 enable_vcomp100
1394 enable_vcomp110
1395 enable_vcomp120
1396 enable_vcomp140
1397 enable_vcomp90
1398 enable_vcruntime140
1399 enable_vcruntime140_1
1400 enable_vdmdbg
1401 enable_version
1402 enable_vga
1403 enable_virtdisk
1404 enable_vssapi
1405 enable_vulkan_1
1406 enable_wbemdisp
1407 enable_wbemprox
1408 enable_wdscore
1409 enable_webservices
1410 enable_websocket
1411 enable_wer
1412 enable_wevtapi
1413 enable_wevtsvc
1414 enable_wiaservc
1415 enable_wimgapi
1416 enable_win32u
1417 enable_windows_devices_enumeration
1418 enable_windows_gaming_input
1419 enable_windows_globalization
1420 enable_windows_media_devices
1421 enable_windows_media_speech
1422 enable_windows_networking
1423 enable_windowscodecs
1424 enable_windowscodecsext
1425 enable_winealsa_drv
1426 enable_wineandroid_drv
1427 enable_winebus_sys
1428 enable_winecoreaudio_drv
1429 enable_winecrt0
1430 enable_wined3d
1431 enable_winegstreamer
1432 enable_winehid_sys
1433 enable_winemac_drv
1434 enable_winemapi
1435 enable_wineoss_drv
1436 enable_wineps_drv
1437 enable_winepulse_drv
1438 enable_wineusb_sys
1439 enable_winevulkan
1440 enable_winex11_drv
1441 enable_winexinput_sys
1442 enable_wing32
1443 enable_winhttp
1444 enable_wininet
1445 enable_winmm
1446 enable_winnls32
1447 enable_winscard
1448 enable_winspool_drv
1449 enable_winsta
1450 enable_wintab32
1451 enable_wintrust
1452 enable_wintypes
1453 enable_winusb
1454 enable_wlanapi
1455 enable_wlanui
1456 enable_wldap32
1457 enable_wmasf
1458 enable_wmi
1459 enable_wmiutils
1460 enable_wmp
1461 enable_wmphoto
1462 enable_wmvcore
1463 enable_wnaspi32
1464 enable_wow64
1465 enable_wow64cpu
1466 enable_wow64win
1467 enable_wpc
1468 enable_wpcap
1469 enable_ws2_32
1470 enable_wsdapi
1471 enable_wshom_ocx
1472 enable_wsnmp32
1473 enable_wsock32
1474 enable_wtsapi32
1475 enable_wuapi
1476 enable_wuaueng
1477 enable_x3daudio1_0
1478 enable_x3daudio1_1
1479 enable_x3daudio1_2
1480 enable_x3daudio1_3
1481 enable_x3daudio1_4
1482 enable_x3daudio1_5
1483 enable_x3daudio1_6
1484 enable_x3daudio1_7
1485 enable_xactengine2_0
1486 enable_xactengine2_4
1487 enable_xactengine2_7
1488 enable_xactengine2_9
1489 enable_xactengine3_0
1490 enable_xactengine3_1
1491 enable_xactengine3_2
1492 enable_xactengine3_3
1493 enable_xactengine3_4
1494 enable_xactengine3_5
1495 enable_xactengine3_6
1496 enable_xactengine3_7
1497 enable_xapofx1_1
1498 enable_xapofx1_2
1499 enable_xapofx1_3
1500 enable_xapofx1_4
1501 enable_xapofx1_5
1502 enable_xaudio2_0
1503 enable_xaudio2_1
1504 enable_xaudio2_2
1505 enable_xaudio2_3
1506 enable_xaudio2_4
1507 enable_xaudio2_5
1508 enable_xaudio2_6
1509 enable_xaudio2_7
1510 enable_xaudio2_8
1511 enable_xaudio2_9
1512 enable_xinput1_1
1513 enable_xinput1_2
1514 enable_xinput1_3
1515 enable_xinput1_4
1516 enable_xinput9_1_0
1517 enable_xmllite
1518 enable_xolehlp
1519 enable_xpsprint
1520 enable_xpssvcs
1521 enable_fonts
1522 enable_include
1523 enable_adsiid
1524 enable_dmoguids
1525 enable_dxerr8
1526 enable_dxerr9
1527 enable_dxguid
1528 enable_faudio
1529 enable_gsm
1530 enable_jpeg
1531 enable_jxr
1532 enable_lcms2
1533 enable_mfuuid
1534 enable_mpg123
1535 enable_png
1536 enable_strmbase
1537 enable_strmiids
1538 enable_tiff
1539 enable_uuid
1540 enable_vkd3d
1541 enable_wbemuuid
1542 enable_wine
1543 enable_wmcodecdspuuid
1544 enable_xml2
1545 enable_xslt
1546 enable_zlib
1547 enable_loader
1548 enable_nls
1549 enable_po
1550 enable_arp
1551 enable_aspnet_regiis
1552 enable_attrib
1553 enable_cabarc
1554 enable_cacls
1555 enable_chcp_com
1556 enable_clock
1557 enable_cmd
1558 enable_conhost
1559 enable_control
1560 enable_cscript
1561 enable_dism
1562 enable_dllhost
1563 enable_dplaysvr
1564 enable_dpnsvr
1565 enable_dpvsetup
1566 enable_dxdiag
1567 enable_eject
1568 enable_expand
1569 enable_explorer
1570 enable_extrac32
1571 enable_fc
1572 enable_find
1573 enable_findstr
1574 enable_fsutil
1575 enable_hh
1576 enable_hostname
1577 enable_icacls
1578 enable_icinfo
1579 enable_iexplore
1580 enable_ipconfig
1581 enable_lodctr
1582 enable_mofcomp
1583 enable_mshta
1584 enable_msidb
1585 enable_msiexec
1586 enable_msinfo32
1587 enable_net
1588 enable_netsh
1589 enable_netstat
1590 enable_ngen
1591 enable_notepad
1592 enable_oleview
1593 enable_ping
1594 enable_plugplay
1595 enable_powershell
1596 enable_presentationfontcache
1597 enable_progman
1598 enable_reg
1599 enable_regasm
1600 enable_regedit
1601 enable_regini
1602 enable_regsvcs
1603 enable_regsvr32
1604 enable_robocopy
1605 enable_rpcss
1606 enable_rundll32
1607 enable_sc
1608 enable_schtasks
1609 enable_sdbinst
1610 enable_secedit
1611 enable_servicemodelreg
1612 enable_services
1613 enable_shutdown
1614 enable_spoolsv
1615 enable_start
1616 enable_subst
1617 enable_svchost
1618 enable_systeminfo
1619 enable_taskkill
1620 enable_tasklist
1621 enable_taskmgr
1622 enable_termsv
1623 enable_uninstaller
1624 enable_unlodctr
1625 enable_view
1626 enable_wevtutil
1627 enable_where
1628 enable_whoami
1629 enable_wineboot
1630 enable_winebrowser
1631 enable_winecfg
1632 enable_wineconsole
1633 enable_winedbg
1634 enable_winedevice
1635 enable_winefile
1636 enable_winemenubuilder
1637 enable_winemine
1638 enable_winemsibuilder
1639 enable_winepath
1640 enable_winetest
1641 enable_winhlp32
1642 enable_winmgmt
1643 enable_winver
1644 enable_wmic
1645 enable_wmplayer
1646 enable_wordpad
1647 enable_write
1648 enable_wscript
1649 enable_wuauserv
1650 enable_wusa
1651 enable_xcopy
1652 enable_server
1653 enable_tools
1654 enable_sfnt2fon
1655 enable_widl
1656 enable_winebuild
1657 enable_winedump
1658 enable_winegcc
1659 enable_winemaker
1660 enable_wmc
1661 enable_wrc
1663 ac_precious_vars='build_alias
1664 host_alias
1665 target_alias
1667 CFLAGS
1668 LDFLAGS
1669 LIBS
1670 CPPFLAGS
1672 CXXFLAGS
1674 OBJC
1675 OBJCFLAGS
1676 FAUDIO_PE_CFLAGS
1677 FAUDIO_PE_LIBS
1678 GSM_PE_CFLAGS
1679 GSM_PE_LIBS
1680 JPEG_PE_CFLAGS
1681 JPEG_PE_LIBS
1682 JXR_PE_CFLAGS
1683 JXR_PE_LIBS
1684 LCMS2_PE_CFLAGS
1685 LCMS2_PE_LIBS
1686 MPG123_PE_CFLAGS
1687 MPG123_PE_LIBS
1688 PNG_PE_CFLAGS
1689 PNG_PE_LIBS
1690 TIFF_PE_CFLAGS
1691 TIFF_PE_LIBS
1692 VKD3D_PE_CFLAGS
1693 VKD3D_PE_LIBS
1694 XML2_PE_CFLAGS
1695 XML2_PE_LIBS
1696 XSLT_PE_CFLAGS
1697 XSLT_PE_LIBS
1698 ZLIB_PE_CFLAGS
1699 ZLIB_PE_LIBS
1700 XMKMF
1702 INOTIFY_CFLAGS
1703 INOTIFY_LIBS
1704 DBUS_CFLAGS
1705 DBUS_LIBS
1706 GNUTLS_CFLAGS
1707 GNUTLS_LIBS
1708 SANE_CFLAGS
1709 SANE_LIBS
1710 USB_CFLAGS
1711 USB_LIBS
1712 GPHOTO2_CFLAGS
1713 GPHOTO2_LIBS
1714 GPHOTO2_PORT_CFLAGS
1715 GPHOTO2_PORT_LIBS
1716 FREETYPE_CFLAGS
1717 FREETYPE_LIBS
1718 PULSE_CFLAGS
1719 PULSE_LIBS
1720 GSTREAMER_CFLAGS
1721 GSTREAMER_LIBS
1722 UDEV_CFLAGS
1723 UDEV_LIBS
1724 UNWIND_CFLAGS
1725 UNWIND_LIBS
1726 SDL2_CFLAGS
1727 SDL2_LIBS
1728 CAPI20_CFLAGS
1729 CAPI20_LIBS
1730 CUPS_CFLAGS
1731 CUPS_LIBS
1732 FONTCONFIG_CFLAGS
1733 FONTCONFIG_LIBS
1734 KRB5_CFLAGS
1735 KRB5_LIBS
1736 GSSAPI_CFLAGS
1737 GSSAPI_LIBS
1738 NETAPI_CFLAGS
1739 NETAPI_LIBS
1740 LDAP_CFLAGS
1741 LDAP_LIBS'
1744 # Initialize some variables set by options.
1745 ac_init_help=
1746 ac_init_version=false
1747 ac_unrecognized_opts=
1748 ac_unrecognized_sep=
1749 # The variables have the same names as the options, with
1750 # dashes changed to underlines.
1751 cache_file=/dev/null
1752 exec_prefix=NONE
1753 no_create=
1754 no_recursion=
1755 prefix=NONE
1756 program_prefix=NONE
1757 program_suffix=NONE
1758 program_transform_name=s,x,x,
1759 silent=
1760 site=
1761 srcdir=
1762 verbose=
1763 x_includes=NONE
1764 x_libraries=NONE
1766 # Installation directory options.
1767 # These are left unexpanded so users can "make install exec_prefix=/foo"
1768 # and all the variables that are supposed to be based on exec_prefix
1769 # by default will actually change.
1770 # Use braces instead of parens because sh, perl, etc. also accept them.
1771 # (The list follows the same order as the GNU Coding Standards.)
1772 bindir='${exec_prefix}/bin'
1773 sbindir='${exec_prefix}/sbin'
1774 libexecdir='${exec_prefix}/libexec'
1775 datarootdir='${prefix}/share'
1776 datadir='${datarootdir}'
1777 sysconfdir='${prefix}/etc'
1778 sharedstatedir='${prefix}/com'
1779 localstatedir='${prefix}/var'
1780 runstatedir='${localstatedir}/run'
1781 includedir='${prefix}/include'
1782 oldincludedir='/usr/include'
1783 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1784 infodir='${datarootdir}/info'
1785 htmldir='${docdir}'
1786 dvidir='${docdir}'
1787 pdfdir='${docdir}'
1788 psdir='${docdir}'
1789 libdir='${exec_prefix}/lib'
1790 localedir='${datarootdir}/locale'
1791 mandir='${datarootdir}/man'
1793 ac_prev=
1794 ac_dashdash=
1795 for ac_option
1797 # If the previous option needs an argument, assign it.
1798 if test -n "$ac_prev"; then
1799 eval $ac_prev=\$ac_option
1800 ac_prev=
1801 continue
1804 case $ac_option in
1805 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1806 *=) ac_optarg= ;;
1807 *) ac_optarg=yes ;;
1808 esac
1810 case $ac_dashdash$ac_option in
1812 ac_dashdash=yes ;;
1814 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1815 ac_prev=bindir ;;
1816 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1817 bindir=$ac_optarg ;;
1819 -build | --build | --buil | --bui | --bu)
1820 ac_prev=build_alias ;;
1821 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1822 build_alias=$ac_optarg ;;
1824 -cache-file | --cache-file | --cache-fil | --cache-fi \
1825 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1826 ac_prev=cache_file ;;
1827 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1828 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1829 cache_file=$ac_optarg ;;
1831 --config-cache | -C)
1832 cache_file=config.cache ;;
1834 -datadir | --datadir | --datadi | --datad)
1835 ac_prev=datadir ;;
1836 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1837 datadir=$ac_optarg ;;
1839 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1840 | --dataroo | --dataro | --datar)
1841 ac_prev=datarootdir ;;
1842 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1843 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1844 datarootdir=$ac_optarg ;;
1846 -disable-* | --disable-*)
1847 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1848 # Reject names that are not valid shell variable names.
1849 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1850 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1851 ac_useropt_orig=$ac_useropt
1852 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1853 case $ac_user_opts in
1855 "enable_$ac_useropt"
1856 "*) ;;
1857 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1858 ac_unrecognized_sep=', ';;
1859 esac
1860 eval enable_$ac_useropt=no ;;
1862 -docdir | --docdir | --docdi | --doc | --do)
1863 ac_prev=docdir ;;
1864 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1865 docdir=$ac_optarg ;;
1867 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1868 ac_prev=dvidir ;;
1869 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1870 dvidir=$ac_optarg ;;
1872 -enable-* | --enable-*)
1873 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1874 # Reject names that are not valid shell variable names.
1875 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1876 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1877 ac_useropt_orig=$ac_useropt
1878 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1879 case $ac_user_opts in
1881 "enable_$ac_useropt"
1882 "*) ;;
1883 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1884 ac_unrecognized_sep=', ';;
1885 esac
1886 eval enable_$ac_useropt=\$ac_optarg ;;
1888 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1889 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1890 | --exec | --exe | --ex)
1891 ac_prev=exec_prefix ;;
1892 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1893 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1894 | --exec=* | --exe=* | --ex=*)
1895 exec_prefix=$ac_optarg ;;
1897 -gas | --gas | --ga | --g)
1898 # Obsolete; use --with-gas.
1899 with_gas=yes ;;
1901 -help | --help | --hel | --he | -h)
1902 ac_init_help=long ;;
1903 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1904 ac_init_help=recursive ;;
1905 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1906 ac_init_help=short ;;
1908 -host | --host | --hos | --ho)
1909 ac_prev=host_alias ;;
1910 -host=* | --host=* | --hos=* | --ho=*)
1911 host_alias=$ac_optarg ;;
1913 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1914 ac_prev=htmldir ;;
1915 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1916 | --ht=*)
1917 htmldir=$ac_optarg ;;
1919 -includedir | --includedir | --includedi | --included | --include \
1920 | --includ | --inclu | --incl | --inc)
1921 ac_prev=includedir ;;
1922 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1923 | --includ=* | --inclu=* | --incl=* | --inc=*)
1924 includedir=$ac_optarg ;;
1926 -infodir | --infodir | --infodi | --infod | --info | --inf)
1927 ac_prev=infodir ;;
1928 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1929 infodir=$ac_optarg ;;
1931 -libdir | --libdir | --libdi | --libd)
1932 ac_prev=libdir ;;
1933 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1934 libdir=$ac_optarg ;;
1936 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1937 | --libexe | --libex | --libe)
1938 ac_prev=libexecdir ;;
1939 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1940 | --libexe=* | --libex=* | --libe=*)
1941 libexecdir=$ac_optarg ;;
1943 -localedir | --localedir | --localedi | --localed | --locale)
1944 ac_prev=localedir ;;
1945 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1946 localedir=$ac_optarg ;;
1948 -localstatedir | --localstatedir | --localstatedi | --localstated \
1949 | --localstate | --localstat | --localsta | --localst | --locals)
1950 ac_prev=localstatedir ;;
1951 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1952 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1953 localstatedir=$ac_optarg ;;
1955 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1956 ac_prev=mandir ;;
1957 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1958 mandir=$ac_optarg ;;
1960 -nfp | --nfp | --nf)
1961 # Obsolete; use --without-fp.
1962 with_fp=no ;;
1964 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1965 | --no-cr | --no-c | -n)
1966 no_create=yes ;;
1968 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1969 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1970 no_recursion=yes ;;
1972 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1973 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1974 | --oldin | --oldi | --old | --ol | --o)
1975 ac_prev=oldincludedir ;;
1976 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1977 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1978 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1979 oldincludedir=$ac_optarg ;;
1981 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1982 ac_prev=prefix ;;
1983 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1984 prefix=$ac_optarg ;;
1986 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1987 | --program-pre | --program-pr | --program-p)
1988 ac_prev=program_prefix ;;
1989 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1990 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1991 program_prefix=$ac_optarg ;;
1993 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1994 | --program-suf | --program-su | --program-s)
1995 ac_prev=program_suffix ;;
1996 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1997 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1998 program_suffix=$ac_optarg ;;
2000 -program-transform-name | --program-transform-name \
2001 | --program-transform-nam | --program-transform-na \
2002 | --program-transform-n | --program-transform- \
2003 | --program-transform | --program-transfor \
2004 | --program-transfo | --program-transf \
2005 | --program-trans | --program-tran \
2006 | --progr-tra | --program-tr | --program-t)
2007 ac_prev=program_transform_name ;;
2008 -program-transform-name=* | --program-transform-name=* \
2009 | --program-transform-nam=* | --program-transform-na=* \
2010 | --program-transform-n=* | --program-transform-=* \
2011 | --program-transform=* | --program-transfor=* \
2012 | --program-transfo=* | --program-transf=* \
2013 | --program-trans=* | --program-tran=* \
2014 | --progr-tra=* | --program-tr=* | --program-t=*)
2015 program_transform_name=$ac_optarg ;;
2017 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2018 ac_prev=pdfdir ;;
2019 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2020 pdfdir=$ac_optarg ;;
2022 -psdir | --psdir | --psdi | --psd | --ps)
2023 ac_prev=psdir ;;
2024 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2025 psdir=$ac_optarg ;;
2027 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2028 | -silent | --silent | --silen | --sile | --sil)
2029 silent=yes ;;
2031 -runstatedir | --runstatedir | --runstatedi | --runstated \
2032 | --runstate | --runstat | --runsta | --runst | --runs \
2033 | --run | --ru | --r)
2034 ac_prev=runstatedir ;;
2035 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2036 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2037 | --run=* | --ru=* | --r=*)
2038 runstatedir=$ac_optarg ;;
2040 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2041 ac_prev=sbindir ;;
2042 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2043 | --sbi=* | --sb=*)
2044 sbindir=$ac_optarg ;;
2046 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2047 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2048 | --sharedst | --shareds | --shared | --share | --shar \
2049 | --sha | --sh)
2050 ac_prev=sharedstatedir ;;
2051 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2052 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2053 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2054 | --sha=* | --sh=*)
2055 sharedstatedir=$ac_optarg ;;
2057 -site | --site | --sit)
2058 ac_prev=site ;;
2059 -site=* | --site=* | --sit=*)
2060 site=$ac_optarg ;;
2062 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2063 ac_prev=srcdir ;;
2064 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2065 srcdir=$ac_optarg ;;
2067 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2068 | --syscon | --sysco | --sysc | --sys | --sy)
2069 ac_prev=sysconfdir ;;
2070 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2071 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2072 sysconfdir=$ac_optarg ;;
2074 -target | --target | --targe | --targ | --tar | --ta | --t)
2075 ac_prev=target_alias ;;
2076 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2077 target_alias=$ac_optarg ;;
2079 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2080 verbose=yes ;;
2082 -version | --version | --versio | --versi | --vers | -V)
2083 ac_init_version=: ;;
2085 -with-* | --with-*)
2086 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2087 # Reject names that are not valid shell variable names.
2088 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2089 as_fn_error $? "invalid package name: \`$ac_useropt'"
2090 ac_useropt_orig=$ac_useropt
2091 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2092 case $ac_user_opts in
2094 "with_$ac_useropt"
2095 "*) ;;
2096 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2097 ac_unrecognized_sep=', ';;
2098 esac
2099 eval with_$ac_useropt=\$ac_optarg ;;
2101 -without-* | --without-*)
2102 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2103 # Reject names that are not valid shell variable names.
2104 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2105 as_fn_error $? "invalid package name: \`$ac_useropt'"
2106 ac_useropt_orig=$ac_useropt
2107 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2108 case $ac_user_opts in
2110 "with_$ac_useropt"
2111 "*) ;;
2112 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2113 ac_unrecognized_sep=', ';;
2114 esac
2115 eval with_$ac_useropt=no ;;
2117 --x)
2118 # Obsolete; use --with-x.
2119 with_x=yes ;;
2121 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2122 | --x-incl | --x-inc | --x-in | --x-i)
2123 ac_prev=x_includes ;;
2124 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2125 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2126 x_includes=$ac_optarg ;;
2128 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2129 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2130 ac_prev=x_libraries ;;
2131 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2132 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2133 x_libraries=$ac_optarg ;;
2135 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2136 Try \`$0 --help' for more information"
2139 *=*)
2140 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2141 # Reject names that are not valid shell variable names.
2142 case $ac_envvar in #(
2143 '' | [0-9]* | *[!_$as_cr_alnum]* )
2144 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2145 esac
2146 eval $ac_envvar=\$ac_optarg
2147 export $ac_envvar ;;
2150 # FIXME: should be removed in autoconf 3.0.
2151 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2152 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2153 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2154 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2157 esac
2158 done
2160 if test -n "$ac_prev"; then
2161 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2162 as_fn_error $? "missing argument to $ac_option"
2165 if test -n "$ac_unrecognized_opts"; then
2166 case $enable_option_checking in
2167 no) ;;
2168 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2169 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2170 esac
2173 # Check all directory arguments for consistency.
2174 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2175 datadir sysconfdir sharedstatedir localstatedir includedir \
2176 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2177 libdir localedir mandir runstatedir
2179 eval ac_val=\$$ac_var
2180 # Remove trailing slashes.
2181 case $ac_val in
2182 */ )
2183 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2184 eval $ac_var=\$ac_val;;
2185 esac
2186 # Be sure to have absolute directory names.
2187 case $ac_val in
2188 [\\/$]* | ?:[\\/]* ) continue;;
2189 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2190 esac
2191 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2192 done
2194 # There might be people who depend on the old broken behavior: `$host'
2195 # used to hold the argument of --host etc.
2196 # FIXME: To remove some day.
2197 build=$build_alias
2198 host=$host_alias
2199 target=$target_alias
2201 # FIXME: To remove some day.
2202 if test "x$host_alias" != x; then
2203 if test "x$build_alias" = x; then
2204 cross_compiling=maybe
2205 elif test "x$build_alias" != "x$host_alias"; then
2206 cross_compiling=yes
2210 ac_tool_prefix=
2211 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2213 test "$silent" = yes && exec 6>/dev/null
2216 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2217 ac_ls_di=`ls -di .` &&
2218 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2219 as_fn_error $? "working directory cannot be determined"
2220 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2221 as_fn_error $? "pwd does not report name of working directory"
2224 # Find the source files, if location was not specified.
2225 if test -z "$srcdir"; then
2226 ac_srcdir_defaulted=yes
2227 # Try the directory containing this script, then the parent directory.
2228 ac_confdir=`$as_dirname -- "$as_myself" ||
2229 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2230 X"$as_myself" : 'X\(//\)[^/]' \| \
2231 X"$as_myself" : 'X\(//\)$' \| \
2232 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2233 printf "%s\n" X"$as_myself" |
2234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2235 s//\1/
2238 /^X\(\/\/\)[^/].*/{
2239 s//\1/
2242 /^X\(\/\/\)$/{
2243 s//\1/
2246 /^X\(\/\).*/{
2247 s//\1/
2250 s/.*/./; q'`
2251 srcdir=$ac_confdir
2252 if test ! -r "$srcdir/$ac_unique_file"; then
2253 srcdir=..
2255 else
2256 ac_srcdir_defaulted=no
2258 if test ! -r "$srcdir/$ac_unique_file"; then
2259 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2260 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2262 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2263 ac_abs_confdir=`(
2264 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2265 pwd)`
2266 # When building in place, set srcdir=.
2267 if test "$ac_abs_confdir" = "$ac_pwd"; then
2268 srcdir=.
2270 # Remove unnecessary trailing slashes from srcdir.
2271 # Double slashes in file names in object file debugging info
2272 # mess up M-x gdb in Emacs.
2273 case $srcdir in
2274 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2275 esac
2276 for ac_var in $ac_precious_vars; do
2277 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2278 eval ac_env_${ac_var}_value=\$${ac_var}
2279 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2280 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2281 done
2284 # Report the --help message.
2286 if test "$ac_init_help" = "long"; then
2287 # Omit some internal or obsolete options to make the list less imposing.
2288 # This message is too long to be a string in the A/UX 3.1 sh.
2289 cat <<_ACEOF
2290 \`configure' configures Wine 7.12 to adapt to many kinds of systems.
2292 Usage: $0 [OPTION]... [VAR=VALUE]...
2294 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2295 VAR=VALUE. See below for descriptions of some of the useful variables.
2297 Defaults for the options are specified in brackets.
2299 Configuration:
2300 -h, --help display this help and exit
2301 --help=short display options specific to this package
2302 --help=recursive display the short help of all the included packages
2303 -V, --version display version information and exit
2304 -q, --quiet, --silent do not print \`checking ...' messages
2305 --cache-file=FILE cache test results in FILE [disabled]
2306 -C, --config-cache alias for \`--cache-file=config.cache'
2307 -n, --no-create do not create output files
2308 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2310 Installation directories:
2311 --prefix=PREFIX install architecture-independent files in PREFIX
2312 [$ac_default_prefix]
2313 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2314 [PREFIX]
2316 By default, \`make install' will install all the files in
2317 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2318 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2319 for instance \`--prefix=\$HOME'.
2321 For better control, use the options below.
2323 Fine tuning of the installation directories:
2324 --bindir=DIR user executables [EPREFIX/bin]
2325 --sbindir=DIR system admin executables [EPREFIX/sbin]
2326 --libexecdir=DIR program executables [EPREFIX/libexec]
2327 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2328 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2329 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2330 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2331 --libdir=DIR object code libraries [EPREFIX/lib]
2332 --includedir=DIR C header files [PREFIX/include]
2333 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2334 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2335 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2336 --infodir=DIR info documentation [DATAROOTDIR/info]
2337 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2338 --mandir=DIR man documentation [DATAROOTDIR/man]
2339 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2340 --htmldir=DIR html documentation [DOCDIR]
2341 --dvidir=DIR dvi documentation [DOCDIR]
2342 --pdfdir=DIR pdf documentation [DOCDIR]
2343 --psdir=DIR ps documentation [DOCDIR]
2344 _ACEOF
2346 cat <<\_ACEOF
2348 X features:
2349 --x-includes=DIR X include files are in DIR
2350 --x-libraries=DIR X library files are in DIR
2352 System types:
2353 --build=BUILD configure for building on BUILD [guessed]
2354 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2355 _ACEOF
2358 if test -n "$ac_init_help"; then
2359 case $ac_init_help in
2360 short | recursive ) echo "Configuration of Wine 7.12:";;
2361 esac
2362 cat <<\_ACEOF
2364 Optional Features:
2365 --disable-option-checking ignore unrecognized --enable/--with options
2366 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2367 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2368 --disable-win16 do not include Win16 support
2369 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2370 binaries)
2371 --disable-tests do not build the regression tests
2372 --enable-build-id include .buildid section in output objects
2373 --enable-maintainer-mode
2374 enable maintainer-specific build rules
2375 --enable-silent-rules use silent build rules (override: "make V=1")
2376 --enable-werror treat compilation warnings as errors
2377 --disable-largefile omit support for large files
2379 Optional Packages:
2380 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2381 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2382 --without-alsa do not use the Alsa sound support
2383 --without-capi do not use CAPI (ISDN support)
2384 --without-coreaudio do not use the CoreAudio sound support
2385 --without-cups do not use CUPS
2386 --without-dbus do not use DBus (dynamic device support)
2387 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2388 --without-fontconfig do not use fontconfig
2389 --without-freetype do not use the FreeType library
2390 --without-gettext do not use gettext
2391 --with-gettextpo use the GetTextPO library to rebuild po files
2392 --without-gphoto do not use gphoto (Digital Camera support)
2393 --without-gnutls do not use GnuTLS (schannel support)
2394 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2395 --without-gstreamer do not use GStreamer (codecs support)
2396 --without-inotify do not use inotify (filesystem change notifications)
2397 --without-krb5 do not use krb5 (Kerberos)
2398 --without-ldap do not use LDAP
2399 --without-mingw do not use the MinGW cross-compiler
2400 --without-netapi do not use the Samba NetAPI library
2401 --without-openal do not use OpenAL
2402 --without-opencl do not use OpenCL
2403 --without-opengl do not use OpenGL
2404 --without-osmesa do not use the OSMesa library
2405 --without-oss do not use the OSS sound support
2406 --without-pcap do not use the Packet Capture library
2407 --without-pthread do not use the pthread library
2408 --without-pulse do not use PulseAudio sound support
2409 --without-sane do not use SANE (scanner support)
2410 --without-sdl do not use SDL
2411 --without-udev do not use udev (plug and play support)
2412 --without-unwind do not use the libunwind library (exception
2413 handling)
2414 --without-usb do not use the libusb library
2415 --without-v4l2 do not use v4l2 (video capture)
2416 --without-vulkan do not use Vulkan
2417 --without-xcomposite do not use the Xcomposite extension
2418 --without-xcursor do not use the Xcursor extension
2419 --without-xfixes do not use Xfixes for clipboard change notifications
2420 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2421 --without-xinput do not use the Xinput extension
2422 --without-xinput2 do not use the Xinput 2 extension
2423 --without-xrandr do not use Xrandr (multi-monitor support)
2424 --without-xrender do not use the Xrender extension
2425 --without-xshape do not use the Xshape extension
2426 --without-xshm do not use XShm (shared memory extension)
2427 --without-xxf86vm do not use XFree video mode extension
2428 --with-system-dllpath=PATH
2429 load external PE dependencies from colon-separated
2430 path PATH
2431 --with-wine-tools=DIR use Wine tools from directory DIR
2432 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2433 --with-x use the X Window System
2435 Some influential environment variables:
2436 CC C compiler command
2437 CFLAGS C compiler flags
2438 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2439 nonstandard directory <lib dir>
2440 LIBS libraries to pass to the linker, e.g. -l<library>
2441 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2442 you have headers in a nonstandard directory <include dir>
2443 CXX C++ compiler command
2444 CXXFLAGS C++ compiler flags
2445 OBJC Objective C compiler command
2446 OBJCFLAGS Objective C compiler flags
2447 FAUDIO_PE_CFLAGS
2448 C compiler flags for the PE faudio, overriding the bundled
2449 version
2450 FAUDIO_PE_LIBS
2451 Linker flags for the PE faudio, overriding the bundled version
2452 GSM_PE_CFLAGS
2453 C compiler flags for the PE gsm, overriding the bundled version
2454 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2455 JPEG_PE_CFLAGS
2456 C compiler flags for the PE jpeg, overriding the bundled version
2457 JPEG_PE_LIBS
2458 Linker flags for the PE jpeg, overriding the bundled version
2459 JXR_PE_CFLAGS
2460 C compiler flags for the PE jxr, overriding the bundled version
2461 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2462 LCMS2_PE_CFLAGS
2463 C compiler flags for the PE lcms2, overriding the bundled
2464 version
2465 LCMS2_PE_LIBS
2466 Linker flags for the PE lcms2, overriding the bundled version
2467 MPG123_PE_CFLAGS
2468 C compiler flags for the PE mpg123, overriding the bundled
2469 version
2470 MPG123_PE_LIBS
2471 Linker flags for the PE mpg123, overriding the bundled version
2472 PNG_PE_CFLAGS
2473 C compiler flags for the PE png, overriding the bundled version
2474 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2475 TIFF_PE_CFLAGS
2476 C compiler flags for the PE tiff, overriding the bundled version
2477 TIFF_PE_LIBS
2478 Linker flags for the PE tiff, overriding the bundled version
2479 VKD3D_PE_CFLAGS
2480 C compiler flags for the PE vkd3d, overriding the bundled
2481 version
2482 VKD3D_PE_LIBS
2483 Linker flags for the PE vkd3d, overriding the bundled version
2484 XML2_PE_CFLAGS
2485 C compiler flags for the PE xml2, overriding the bundled version
2486 XML2_PE_LIBS
2487 Linker flags for the PE xml2, overriding the bundled version
2488 XSLT_PE_CFLAGS
2489 C compiler flags for the PE xslt, overriding the bundled version
2490 XSLT_PE_LIBS
2491 Linker flags for the PE xslt, overriding the bundled version
2492 ZLIB_PE_CFLAGS
2493 C compiler flags for the PE zlib, overriding the bundled version
2494 ZLIB_PE_LIBS
2495 Linker flags for the PE zlib, overriding the bundled version
2496 XMKMF Path to xmkmf, Makefile generator for X Window System
2497 CPP C preprocessor
2498 INOTIFY_CFLAGS
2499 C compiler flags for libinotify, overriding pkg-config
2500 INOTIFY_LIBS
2501 Linker flags for libinotify, overriding pkg-config
2502 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2503 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2504 GNUTLS_CFLAGS
2505 C compiler flags for gnutls, overriding pkg-config
2506 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2507 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2508 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2509 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2510 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2511 GPHOTO2_CFLAGS
2512 C compiler flags for libgphoto2, overriding pkg-config
2513 GPHOTO2_LIBS
2514 Linker flags for libgphoto2, overriding pkg-config
2515 GPHOTO2_PORT_CFLAGS
2516 C compiler flags for libgphoto2_port, overriding pkg-config
2517 GPHOTO2_PORT_LIBS
2518 Linker flags for libgphoto2_port, overriding pkg-config
2519 FREETYPE_CFLAGS
2520 C compiler flags for freetype2, overriding pkg-config
2521 FREETYPE_LIBS
2522 Linker flags for freetype2, overriding pkg-config
2523 PULSE_CFLAGS
2524 C compiler flags for libpulse, overriding pkg-config
2525 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2526 GSTREAMER_CFLAGS
2527 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2528 gstreamer-audio-1.0, overriding pkg-config
2529 GSTREAMER_LIBS
2530 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2531 gstreamer-audio-1.0, overriding pkg-config
2532 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2533 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2534 UNWIND_CFLAGS
2535 C compiler flags for libunwind, overriding pkg-config
2536 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2537 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2538 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2539 CAPI20_CFLAGS
2540 C compiler flags for capi20, overriding pkg-config
2541 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2542 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2543 CUPS_LIBS Linker flags for cups, overriding pkg-config
2544 FONTCONFIG_CFLAGS
2545 C compiler flags for fontconfig, overriding pkg-config
2546 FONTCONFIG_LIBS
2547 Linker flags for fontconfig, overriding pkg-config
2548 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2549 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2550 GSSAPI_CFLAGS
2551 C compiler flags for krb5-gssapi, overriding pkg-config
2552 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2553 NETAPI_CFLAGS
2554 C compiler flags for netapi, overriding pkg-config
2555 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2556 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2557 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2559 Use these variables to override the choices made by `configure' or to help
2560 it to find libraries and programs with nonstandard names/locations.
2562 Report bugs to <wine-devel@winehq.org>.
2563 Wine home page: <https://www.winehq.org>.
2564 _ACEOF
2565 ac_status=$?
2568 if test "$ac_init_help" = "recursive"; then
2569 # If there are subdirs, report their specific --help.
2570 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2571 test -d "$ac_dir" ||
2572 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2573 continue
2574 ac_builddir=.
2576 case "$ac_dir" in
2577 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2579 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2580 # A ".." for each directory in $ac_dir_suffix.
2581 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2582 case $ac_top_builddir_sub in
2583 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2584 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2585 esac ;;
2586 esac
2587 ac_abs_top_builddir=$ac_pwd
2588 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2589 # for backward compatibility:
2590 ac_top_builddir=$ac_top_build_prefix
2592 case $srcdir in
2593 .) # We are building in place.
2594 ac_srcdir=.
2595 ac_top_srcdir=$ac_top_builddir_sub
2596 ac_abs_top_srcdir=$ac_pwd ;;
2597 [\\/]* | ?:[\\/]* ) # Absolute name.
2598 ac_srcdir=$srcdir$ac_dir_suffix;
2599 ac_top_srcdir=$srcdir
2600 ac_abs_top_srcdir=$srcdir ;;
2601 *) # Relative name.
2602 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2603 ac_top_srcdir=$ac_top_build_prefix$srcdir
2604 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2605 esac
2606 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2608 cd "$ac_dir" || { ac_status=$?; continue; }
2609 # Check for configure.gnu first; this name is used for a wrapper for
2610 # Metaconfig's "Configure" on case-insensitive file systems.
2611 if test -f "$ac_srcdir/configure.gnu"; then
2612 echo &&
2613 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2614 elif test -f "$ac_srcdir/configure"; then
2615 echo &&
2616 $SHELL "$ac_srcdir/configure" --help=recursive
2617 else
2618 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2619 fi || ac_status=$?
2620 cd "$ac_pwd" || { ac_status=$?; break; }
2621 done
2624 test -n "$ac_init_help" && exit $ac_status
2625 if $ac_init_version; then
2626 cat <<\_ACEOF
2627 Wine configure 7.12
2628 generated by GNU Autoconf 2.71
2630 Copyright (C) 2021 Free Software Foundation, Inc.
2631 This configure script is free software; the Free Software Foundation
2632 gives unlimited permission to copy, distribute and modify it.
2633 _ACEOF
2634 exit
2637 ## ------------------------ ##
2638 ## Autoconf initialization. ##
2639 ## ------------------------ ##
2641 # ac_fn_c_try_compile LINENO
2642 # --------------------------
2643 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2644 ac_fn_c_try_compile ()
2646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2647 rm -f conftest.$ac_objext conftest.beam
2648 if { { ac_try="$ac_compile"
2649 case "(($ac_try" in
2650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2651 *) ac_try_echo=$ac_try;;
2652 esac
2653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2654 printf "%s\n" "$ac_try_echo"; } >&5
2655 (eval "$ac_compile") 2>conftest.err
2656 ac_status=$?
2657 if test -s conftest.err; then
2658 grep -v '^ *+' conftest.err >conftest.er1
2659 cat conftest.er1 >&5
2660 mv -f conftest.er1 conftest.err
2662 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2663 test $ac_status = 0; } && {
2664 test -z "$ac_c_werror_flag" ||
2665 test ! -s conftest.err
2666 } && test -s conftest.$ac_objext
2667 then :
2668 ac_retval=0
2669 else $as_nop
2670 printf "%s\n" "$as_me: failed program was:" >&5
2671 sed 's/^/| /' conftest.$ac_ext >&5
2673 ac_retval=1
2675 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2676 as_fn_set_status $ac_retval
2678 } # ac_fn_c_try_compile
2680 # ac_fn_cxx_try_compile LINENO
2681 # ----------------------------
2682 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2683 ac_fn_cxx_try_compile ()
2685 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2686 rm -f conftest.$ac_objext conftest.beam
2687 if { { ac_try="$ac_compile"
2688 case "(($ac_try" in
2689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2690 *) ac_try_echo=$ac_try;;
2691 esac
2692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2693 printf "%s\n" "$ac_try_echo"; } >&5
2694 (eval "$ac_compile") 2>conftest.err
2695 ac_status=$?
2696 if test -s conftest.err; then
2697 grep -v '^ *+' conftest.err >conftest.er1
2698 cat conftest.er1 >&5
2699 mv -f conftest.er1 conftest.err
2701 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2702 test $ac_status = 0; } && {
2703 test -z "$ac_cxx_werror_flag" ||
2704 test ! -s conftest.err
2705 } && test -s conftest.$ac_objext
2706 then :
2707 ac_retval=0
2708 else $as_nop
2709 printf "%s\n" "$as_me: failed program was:" >&5
2710 sed 's/^/| /' conftest.$ac_ext >&5
2712 ac_retval=1
2714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2715 as_fn_set_status $ac_retval
2717 } # ac_fn_cxx_try_compile
2719 # ac_fn_c_try_link LINENO
2720 # -----------------------
2721 # Try to link conftest.$ac_ext, and return whether this succeeded.
2722 ac_fn_c_try_link ()
2724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2725 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2726 if { { ac_try="$ac_link"
2727 case "(($ac_try" in
2728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2729 *) ac_try_echo=$ac_try;;
2730 esac
2731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2732 printf "%s\n" "$ac_try_echo"; } >&5
2733 (eval "$ac_link") 2>conftest.err
2734 ac_status=$?
2735 if test -s conftest.err; then
2736 grep -v '^ *+' conftest.err >conftest.er1
2737 cat conftest.er1 >&5
2738 mv -f conftest.er1 conftest.err
2740 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2741 test $ac_status = 0; } && {
2742 test -z "$ac_c_werror_flag" ||
2743 test ! -s conftest.err
2744 } && test -s conftest$ac_exeext && {
2745 test "$cross_compiling" = yes ||
2746 test -x conftest$ac_exeext
2748 then :
2749 ac_retval=0
2750 else $as_nop
2751 printf "%s\n" "$as_me: failed program was:" >&5
2752 sed 's/^/| /' conftest.$ac_ext >&5
2754 ac_retval=1
2756 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2757 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2758 # interfere with the next link command; also delete a directory that is
2759 # left behind by Apple's compiler. We do this before executing the actions.
2760 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2761 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2762 as_fn_set_status $ac_retval
2764 } # ac_fn_c_try_link
2766 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2767 # -------------------------------------------------------
2768 # Tests whether HEADER exists and can be compiled using the include files in
2769 # INCLUDES, setting the cache variable VAR accordingly.
2770 ac_fn_c_check_header_compile ()
2772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2774 printf %s "checking for $2... " >&6; }
2775 if eval test \${$3+y}
2776 then :
2777 printf %s "(cached) " >&6
2778 else $as_nop
2779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2780 /* end confdefs.h. */
2782 #include <$2>
2783 _ACEOF
2784 if ac_fn_c_try_compile "$LINENO"
2785 then :
2786 eval "$3=yes"
2787 else $as_nop
2788 eval "$3=no"
2790 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2792 eval ac_res=\$$3
2793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2794 printf "%s\n" "$ac_res" >&6; }
2795 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2797 } # ac_fn_c_check_header_compile
2799 # ac_fn_objc_try_compile LINENO
2800 # -----------------------------
2801 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2802 ac_fn_objc_try_compile ()
2804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2805 rm -f conftest.$ac_objext conftest.beam
2806 if { { ac_try="$ac_compile"
2807 case "(($ac_try" in
2808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2809 *) ac_try_echo=$ac_try;;
2810 esac
2811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2812 printf "%s\n" "$ac_try_echo"; } >&5
2813 (eval "$ac_compile") 2>conftest.err
2814 ac_status=$?
2815 if test -s conftest.err; then
2816 grep -v '^ *+' conftest.err >conftest.er1
2817 cat conftest.er1 >&5
2818 mv -f conftest.er1 conftest.err
2820 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2821 test $ac_status = 0; } && {
2822 test -z "$ac_objc_werror_flag" ||
2823 test ! -s conftest.err
2824 } && test -s conftest.$ac_objext
2825 then :
2826 ac_retval=0
2827 else $as_nop
2828 printf "%s\n" "$as_me: failed program was:" >&5
2829 sed 's/^/| /' conftest.$ac_ext >&5
2831 ac_retval=1
2833 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2834 as_fn_set_status $ac_retval
2836 } # ac_fn_objc_try_compile
2838 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
2839 # ----------------------------------------------------------
2840 # Tests whether HEADER exists and can be compiled using the include files in
2841 # INCLUDES, setting the cache variable VAR accordingly.
2842 ac_fn_objc_check_header_compile ()
2844 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2846 printf %s "checking for $2... " >&6; }
2847 if eval test \${$3+y}
2848 then :
2849 printf %s "(cached) " >&6
2850 else $as_nop
2851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2852 /* end confdefs.h. */
2854 #include <$2>
2855 _ACEOF
2856 if ac_fn_objc_try_compile "$LINENO"
2857 then :
2858 eval "$3=yes"
2859 else $as_nop
2860 eval "$3=no"
2862 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2864 eval ac_res=\$$3
2865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2866 printf "%s\n" "$ac_res" >&6; }
2867 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2869 } # ac_fn_objc_check_header_compile
2871 # ac_fn_c_check_func LINENO FUNC VAR
2872 # ----------------------------------
2873 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2874 ac_fn_c_check_func ()
2876 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2878 printf %s "checking for $2... " >&6; }
2879 if eval test \${$3+y}
2880 then :
2881 printf %s "(cached) " >&6
2882 else $as_nop
2883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2884 /* end confdefs.h. */
2885 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2887 #define $2 innocuous_$2
2889 /* System header to define __stub macros and hopefully few prototypes,
2890 which can conflict with char $2 (); below. */
2892 #include <limits.h>
2893 #undef $2
2895 /* Override any GCC internal prototype to avoid an error.
2896 Use char because int might match the return type of a GCC
2897 builtin and then its argument prototype would still apply. */
2898 #ifdef __cplusplus
2899 extern "C"
2900 #endif
2901 char $2 ();
2902 /* The GNU C library defines this for functions which it implements
2903 to always fail with ENOSYS. Some functions are actually named
2904 something starting with __ and the normal name is an alias. */
2905 #if defined __stub_$2 || defined __stub___$2
2906 choke me
2907 #endif
2910 main (void)
2912 return $2 ();
2914 return 0;
2916 _ACEOF
2917 if ac_fn_c_try_link "$LINENO"
2918 then :
2919 eval "$3=yes"
2920 else $as_nop
2921 eval "$3=no"
2923 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2924 conftest$ac_exeext conftest.$ac_ext
2926 eval ac_res=\$$3
2927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2928 printf "%s\n" "$ac_res" >&6; }
2929 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2931 } # ac_fn_c_check_func
2933 # ac_fn_c_try_cpp LINENO
2934 # ----------------------
2935 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2936 ac_fn_c_try_cpp ()
2938 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2939 if { { ac_try="$ac_cpp conftest.$ac_ext"
2940 case "(($ac_try" in
2941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2942 *) ac_try_echo=$ac_try;;
2943 esac
2944 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2945 printf "%s\n" "$ac_try_echo"; } >&5
2946 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2947 ac_status=$?
2948 if test -s conftest.err; then
2949 grep -v '^ *+' conftest.err >conftest.er1
2950 cat conftest.er1 >&5
2951 mv -f conftest.er1 conftest.err
2953 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2954 test $ac_status = 0; } > conftest.i && {
2955 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2956 test ! -s conftest.err
2958 then :
2959 ac_retval=0
2960 else $as_nop
2961 printf "%s\n" "$as_me: failed program was:" >&5
2962 sed 's/^/| /' conftest.$ac_ext >&5
2964 ac_retval=1
2966 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2967 as_fn_set_status $ac_retval
2969 } # ac_fn_c_try_cpp
2971 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2972 # ----------------------------------------------------
2973 # Tries to find if the field MEMBER exists in type AGGR, after including
2974 # INCLUDES, setting cache variable VAR accordingly.
2975 ac_fn_c_check_member ()
2977 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2979 printf %s "checking for $2.$3... " >&6; }
2980 if eval test \${$4+y}
2981 then :
2982 printf %s "(cached) " >&6
2983 else $as_nop
2984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2985 /* end confdefs.h. */
2988 main (void)
2990 static $2 ac_aggr;
2991 if (ac_aggr.$3)
2992 return 0;
2994 return 0;
2996 _ACEOF
2997 if ac_fn_c_try_compile "$LINENO"
2998 then :
2999 eval "$4=yes"
3000 else $as_nop
3001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3002 /* end confdefs.h. */
3005 main (void)
3007 static $2 ac_aggr;
3008 if (sizeof ac_aggr.$3)
3009 return 0;
3011 return 0;
3013 _ACEOF
3014 if ac_fn_c_try_compile "$LINENO"
3015 then :
3016 eval "$4=yes"
3017 else $as_nop
3018 eval "$4=no"
3020 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3022 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3024 eval ac_res=\$$4
3025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3026 printf "%s\n" "$ac_res" >&6; }
3027 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3029 } # ac_fn_c_check_member
3031 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3032 # -------------------------------------------
3033 # Tests whether TYPE exists after having included INCLUDES, setting cache
3034 # variable VAR accordingly.
3035 ac_fn_c_check_type ()
3037 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3039 printf %s "checking for $2... " >&6; }
3040 if eval test \${$3+y}
3041 then :
3042 printf %s "(cached) " >&6
3043 else $as_nop
3044 eval "$3=no"
3045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3046 /* end confdefs.h. */
3049 main (void)
3051 if (sizeof ($2))
3052 return 0;
3054 return 0;
3056 _ACEOF
3057 if ac_fn_c_try_compile "$LINENO"
3058 then :
3059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3060 /* end confdefs.h. */
3063 main (void)
3065 if (sizeof (($2)))
3066 return 0;
3068 return 0;
3070 _ACEOF
3071 if ac_fn_c_try_compile "$LINENO"
3072 then :
3074 else $as_nop
3075 eval "$3=yes"
3077 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
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_type
3087 ac_configure_args_raw=
3088 for ac_arg
3090 case $ac_arg in
3091 *\'*)
3092 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3093 esac
3094 as_fn_append ac_configure_args_raw " '$ac_arg'"
3095 done
3097 case $ac_configure_args_raw in
3098 *$as_nl*)
3099 ac_safe_unquote= ;;
3101 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3102 ac_unsafe_a="$ac_unsafe_z#~"
3103 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3104 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3105 esac
3107 cat >config.log <<_ACEOF
3108 This file contains any messages produced by compilers while
3109 running configure, to aid debugging if configure makes a mistake.
3111 It was created by Wine $as_me 7.12, which was
3112 generated by GNU Autoconf 2.71. Invocation command line was
3114 $ $0$ac_configure_args_raw
3116 _ACEOF
3117 exec 5>>config.log
3119 cat <<_ASUNAME
3120 ## --------- ##
3121 ## Platform. ##
3122 ## --------- ##
3124 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3125 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3126 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3127 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3128 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3130 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3131 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3133 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3134 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3135 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3136 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3137 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3138 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3139 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3141 _ASUNAME
3143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3144 for as_dir in $PATH
3146 IFS=$as_save_IFS
3147 case $as_dir in #(((
3148 '') as_dir=./ ;;
3149 */) ;;
3150 *) as_dir=$as_dir/ ;;
3151 esac
3152 printf "%s\n" "PATH: $as_dir"
3153 done
3154 IFS=$as_save_IFS
3156 } >&5
3158 cat >&5 <<_ACEOF
3161 ## ----------- ##
3162 ## Core tests. ##
3163 ## ----------- ##
3165 _ACEOF
3168 # Keep a trace of the command line.
3169 # Strip out --no-create and --no-recursion so they do not pile up.
3170 # Strip out --silent because we don't want to record it for future runs.
3171 # Also quote any args containing shell meta-characters.
3172 # Make two passes to allow for proper duplicate-argument suppression.
3173 ac_configure_args=
3174 ac_configure_args0=
3175 ac_configure_args1=
3176 ac_must_keep_next=false
3177 for ac_pass in 1 2
3179 for ac_arg
3181 case $ac_arg in
3182 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3183 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3184 | -silent | --silent | --silen | --sile | --sil)
3185 continue ;;
3186 *\'*)
3187 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3188 esac
3189 case $ac_pass in
3190 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3192 as_fn_append ac_configure_args1 " '$ac_arg'"
3193 if test $ac_must_keep_next = true; then
3194 ac_must_keep_next=false # Got value, back to normal.
3195 else
3196 case $ac_arg in
3197 *=* | --config-cache | -C | -disable-* | --disable-* \
3198 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3199 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3200 | -with-* | --with-* | -without-* | --without-* | --x)
3201 case "$ac_configure_args0 " in
3202 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3203 esac
3205 -* ) ac_must_keep_next=true ;;
3206 esac
3208 as_fn_append ac_configure_args " '$ac_arg'"
3210 esac
3211 done
3212 done
3213 { ac_configure_args0=; unset ac_configure_args0;}
3214 { ac_configure_args1=; unset ac_configure_args1;}
3216 # When interrupted or exit'd, cleanup temporary files, and complete
3217 # config.log. We remove comments because anyway the quotes in there
3218 # would cause problems or look ugly.
3219 # WARNING: Use '\'' to represent an apostrophe within the trap.
3220 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3221 trap 'exit_status=$?
3222 # Sanitize IFS.
3223 IFS=" "" $as_nl"
3224 # Save into config.log some information that might help in debugging.
3226 echo
3228 printf "%s\n" "## ---------------- ##
3229 ## Cache variables. ##
3230 ## ---------------- ##"
3231 echo
3232 # The following way of writing the cache mishandles newlines in values,
3234 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3235 eval ac_val=\$$ac_var
3236 case $ac_val in #(
3237 *${as_nl}*)
3238 case $ac_var in #(
3239 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3240 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3241 esac
3242 case $ac_var in #(
3243 _ | IFS | as_nl) ;; #(
3244 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3245 *) { eval $ac_var=; unset $ac_var;} ;;
3246 esac ;;
3247 esac
3248 done
3249 (set) 2>&1 |
3250 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3251 *${as_nl}ac_space=\ *)
3252 sed -n \
3253 "s/'\''/'\''\\\\'\'''\''/g;
3254 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3255 ;; #(
3257 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3259 esac |
3260 sort
3262 echo
3264 printf "%s\n" "## ----------------- ##
3265 ## Output variables. ##
3266 ## ----------------- ##"
3267 echo
3268 for ac_var in $ac_subst_vars
3270 eval ac_val=\$$ac_var
3271 case $ac_val in
3272 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3273 esac
3274 printf "%s\n" "$ac_var='\''$ac_val'\''"
3275 done | sort
3276 echo
3278 if test -n "$ac_subst_files"; then
3279 printf "%s\n" "## ------------------- ##
3280 ## File substitutions. ##
3281 ## ------------------- ##"
3282 echo
3283 for ac_var in $ac_subst_files
3285 eval ac_val=\$$ac_var
3286 case $ac_val in
3287 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3288 esac
3289 printf "%s\n" "$ac_var='\''$ac_val'\''"
3290 done | sort
3291 echo
3294 if test -s confdefs.h; then
3295 printf "%s\n" "## ----------- ##
3296 ## confdefs.h. ##
3297 ## ----------- ##"
3298 echo
3299 cat confdefs.h
3300 echo
3302 test "$ac_signal" != 0 &&
3303 printf "%s\n" "$as_me: caught signal $ac_signal"
3304 printf "%s\n" "$as_me: exit $exit_status"
3305 } >&5
3306 rm -f core *.core core.conftest.* &&
3307 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3308 exit $exit_status
3310 for ac_signal in 1 2 13 15; do
3311 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3312 done
3313 ac_signal=0
3315 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3316 rm -f -r conftest* confdefs.h
3318 printf "%s\n" "/* confdefs.h */" > confdefs.h
3320 # Predefined preprocessor variables.
3322 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3324 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3326 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3328 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3330 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3332 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3335 # Let the site file select an alternate cache file if it wants to.
3336 # Prefer an explicitly selected file to automatically selected ones.
3337 if test -n "$CONFIG_SITE"; then
3338 ac_site_files="$CONFIG_SITE"
3339 elif test "x$prefix" != xNONE; then
3340 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3341 else
3342 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3345 for ac_site_file in $ac_site_files
3347 case $ac_site_file in #(
3348 */*) :
3349 ;; #(
3350 *) :
3351 ac_site_file=./$ac_site_file ;;
3352 esac
3353 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3355 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3356 sed 's/^/| /' "$ac_site_file" >&5
3357 . "$ac_site_file" \
3358 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3359 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3360 as_fn_error $? "failed to load site script $ac_site_file
3361 See \`config.log' for more details" "$LINENO" 5; }
3363 done
3365 if test -r "$cache_file"; then
3366 # Some versions of bash will fail to source /dev/null (special files
3367 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3368 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3370 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3371 case $cache_file in
3372 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3373 *) . "./$cache_file";;
3374 esac
3376 else
3377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3378 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3379 >$cache_file
3382 # Test code for whether the C compiler supports C89 (global declarations)
3383 ac_c_conftest_c89_globals='
3384 /* Does the compiler advertise C89 conformance?
3385 Do not test the value of __STDC__, because some compilers set it to 0
3386 while being otherwise adequately conformant. */
3387 #if !defined __STDC__
3388 # error "Compiler does not advertise C89 conformance"
3389 #endif
3391 #include <stddef.h>
3392 #include <stdarg.h>
3393 struct stat;
3394 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3395 struct buf { int x; };
3396 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3397 static char *e (p, i)
3398 char **p;
3399 int i;
3401 return p[i];
3403 static char *f (char * (*g) (char **, int), char **p, ...)
3405 char *s;
3406 va_list v;
3407 va_start (v,p);
3408 s = g (p, va_arg (v,int));
3409 va_end (v);
3410 return s;
3413 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3414 function prototypes and stuff, but not \xHH hex character constants.
3415 These do not provoke an error unfortunately, instead are silently treated
3416 as an "x". The following induces an error, until -std is added to get
3417 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3418 array size at least. It is necessary to write \x00 == 0 to get something
3419 that is true only with -std. */
3420 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3422 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3423 inside strings and character constants. */
3424 #define FOO(x) '\''x'\''
3425 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3427 int test (int i, double x);
3428 struct s1 {int (*f) (int a);};
3429 struct s2 {int (*f) (double a);};
3430 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3431 int, int);'
3433 # Test code for whether the C compiler supports C89 (body of main).
3434 ac_c_conftest_c89_main='
3435 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3438 # Test code for whether the C compiler supports C99 (global declarations)
3439 ac_c_conftest_c99_globals='
3440 // Does the compiler advertise C99 conformance?
3441 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3442 # error "Compiler does not advertise C99 conformance"
3443 #endif
3445 #include <stdbool.h>
3446 extern int puts (const char *);
3447 extern int printf (const char *, ...);
3448 extern int dprintf (int, const char *, ...);
3449 extern void *malloc (size_t);
3451 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3452 // dprintf is used instead of fprintf to avoid needing to declare
3453 // FILE and stderr.
3454 #define debug(...) dprintf (2, __VA_ARGS__)
3455 #define showlist(...) puts (#__VA_ARGS__)
3456 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3457 static void
3458 test_varargs_macros (void)
3460 int x = 1234;
3461 int y = 5678;
3462 debug ("Flag");
3463 debug ("X = %d\n", x);
3464 showlist (The first, second, and third items.);
3465 report (x>y, "x is %d but y is %d", x, y);
3468 // Check long long types.
3469 #define BIG64 18446744073709551615ull
3470 #define BIG32 4294967295ul
3471 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3472 #if !BIG_OK
3473 #error "your preprocessor is broken"
3474 #endif
3475 #if BIG_OK
3476 #else
3477 #error "your preprocessor is broken"
3478 #endif
3479 static long long int bignum = -9223372036854775807LL;
3480 static unsigned long long int ubignum = BIG64;
3482 struct incomplete_array
3484 int datasize;
3485 double data[];
3488 struct named_init {
3489 int number;
3490 const wchar_t *name;
3491 double average;
3494 typedef const char *ccp;
3496 static inline int
3497 test_restrict (ccp restrict text)
3499 // See if C++-style comments work.
3500 // Iterate through items via the restricted pointer.
3501 // Also check for declarations in for loops.
3502 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3503 continue;
3504 return 0;
3507 // Check varargs and va_copy.
3508 static bool
3509 test_varargs (const char *format, ...)
3511 va_list args;
3512 va_start (args, format);
3513 va_list args_copy;
3514 va_copy (args_copy, args);
3516 const char *str = "";
3517 int number = 0;
3518 float fnumber = 0;
3520 while (*format)
3522 switch (*format++)
3524 case '\''s'\'': // string
3525 str = va_arg (args_copy, const char *);
3526 break;
3527 case '\''d'\'': // int
3528 number = va_arg (args_copy, int);
3529 break;
3530 case '\''f'\'': // float
3531 fnumber = va_arg (args_copy, double);
3532 break;
3533 default:
3534 break;
3537 va_end (args_copy);
3538 va_end (args);
3540 return *str && number && fnumber;
3544 # Test code for whether the C compiler supports C99 (body of main).
3545 ac_c_conftest_c99_main='
3546 // Check bool.
3547 _Bool success = false;
3548 success |= (argc != 0);
3550 // Check restrict.
3551 if (test_restrict ("String literal") == 0)
3552 success = true;
3553 char *restrict newvar = "Another string";
3555 // Check varargs.
3556 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3557 test_varargs_macros ();
3559 // Check flexible array members.
3560 struct incomplete_array *ia =
3561 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3562 ia->datasize = 10;
3563 for (int i = 0; i < ia->datasize; ++i)
3564 ia->data[i] = i * 1.234;
3566 // Check named initializers.
3567 struct named_init ni = {
3568 .number = 34,
3569 .name = L"Test wide string",
3570 .average = 543.34343,
3573 ni.number = 58;
3575 int dynamic_array[ni.number];
3576 dynamic_array[0] = argv[0][0];
3577 dynamic_array[ni.number - 1] = 543;
3579 // work around unused variable warnings
3580 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3581 || dynamic_array[ni.number - 1] != 543);
3584 # Test code for whether the C compiler supports C11 (global declarations)
3585 ac_c_conftest_c11_globals='
3586 // Does the compiler advertise C11 conformance?
3587 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3588 # error "Compiler does not advertise C11 conformance"
3589 #endif
3591 // Check _Alignas.
3592 char _Alignas (double) aligned_as_double;
3593 char _Alignas (0) no_special_alignment;
3594 extern char aligned_as_int;
3595 char _Alignas (0) _Alignas (int) aligned_as_int;
3597 // Check _Alignof.
3598 enum
3600 int_alignment = _Alignof (int),
3601 int_array_alignment = _Alignof (int[100]),
3602 char_alignment = _Alignof (char)
3604 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3606 // Check _Noreturn.
3607 int _Noreturn does_not_return (void) { for (;;) continue; }
3609 // Check _Static_assert.
3610 struct test_static_assert
3612 int x;
3613 _Static_assert (sizeof (int) <= sizeof (long int),
3614 "_Static_assert does not work in struct");
3615 long int y;
3618 // Check UTF-8 literals.
3619 #define u8 syntax error!
3620 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3622 // Check duplicate typedefs.
3623 typedef long *long_ptr;
3624 typedef long int *long_ptr;
3625 typedef long_ptr long_ptr;
3627 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3628 struct anonymous
3630 union {
3631 struct { int i; int j; };
3632 struct { int k; long int l; } w;
3634 int m;
3635 } v1;
3638 # Test code for whether the C compiler supports C11 (body of main).
3639 ac_c_conftest_c11_main='
3640 _Static_assert ((offsetof (struct anonymous, i)
3641 == offsetof (struct anonymous, w.k)),
3642 "Anonymous union alignment botch");
3643 v1.i = 2;
3644 v1.w.k = 5;
3645 ok |= v1.i != 5;
3648 # Test code for whether the C compiler supports C11 (complete).
3649 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3650 ${ac_c_conftest_c99_globals}
3651 ${ac_c_conftest_c11_globals}
3654 main (int argc, char **argv)
3656 int ok = 0;
3657 ${ac_c_conftest_c89_main}
3658 ${ac_c_conftest_c99_main}
3659 ${ac_c_conftest_c11_main}
3660 return ok;
3664 # Test code for whether the C compiler supports C99 (complete).
3665 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3666 ${ac_c_conftest_c99_globals}
3669 main (int argc, char **argv)
3671 int ok = 0;
3672 ${ac_c_conftest_c89_main}
3673 ${ac_c_conftest_c99_main}
3674 return ok;
3678 # Test code for whether the C compiler supports C89 (complete).
3679 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3682 main (int argc, char **argv)
3684 int ok = 0;
3685 ${ac_c_conftest_c89_main}
3686 return ok;
3690 # Test code for whether the C++ compiler supports C++98 (global declarations)
3691 ac_cxx_conftest_cxx98_globals='
3692 // Does the compiler advertise C++98 conformance?
3693 #if !defined __cplusplus || __cplusplus < 199711L
3694 # error "Compiler does not advertise C++98 conformance"
3695 #endif
3697 // These inclusions are to reject old compilers that
3698 // lack the unsuffixed header files.
3699 #include <cstdlib>
3700 #include <exception>
3702 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3703 extern void assert (int);
3704 namespace std {
3705 extern int strcmp (const char *, const char *);
3708 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3709 using std::exception;
3710 using std::strcmp;
3712 namespace {
3714 void test_exception_syntax()
3716 try {
3717 throw "test";
3718 } catch (const char *s) {
3719 // Extra parentheses suppress a warning when building autoconf itself,
3720 // due to lint rules shared with more typical C programs.
3721 assert (!(strcmp) (s, "test"));
3725 template <typename T> struct test_template
3727 T const val;
3728 explicit test_template(T t) : val(t) {}
3729 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3732 } // anonymous namespace
3735 # Test code for whether the C++ compiler supports C++98 (body of main)
3736 ac_cxx_conftest_cxx98_main='
3737 assert (argc);
3738 assert (! argv[0]);
3740 test_exception_syntax ();
3741 test_template<double> tt (2.0);
3742 assert (tt.add (4) == 6.0);
3743 assert (true && !false);
3747 # Test code for whether the C++ compiler supports C++11 (global declarations)
3748 ac_cxx_conftest_cxx11_globals='
3749 // Does the compiler advertise C++ 2011 conformance?
3750 #if !defined __cplusplus || __cplusplus < 201103L
3751 # error "Compiler does not advertise C++11 conformance"
3752 #endif
3754 namespace cxx11test
3756 constexpr int get_val() { return 20; }
3758 struct testinit
3760 int i;
3761 double d;
3764 class delegate
3766 public:
3767 delegate(int n) : n(n) {}
3768 delegate(): delegate(2354) {}
3770 virtual int getval() { return this->n; };
3771 protected:
3772 int n;
3775 class overridden : public delegate
3777 public:
3778 overridden(int n): delegate(n) {}
3779 virtual int getval() override final { return this->n * 2; }
3782 class nocopy
3784 public:
3785 nocopy(int i): i(i) {}
3786 nocopy() = default;
3787 nocopy(const nocopy&) = delete;
3788 nocopy & operator=(const nocopy&) = delete;
3789 private:
3790 int i;
3793 // for testing lambda expressions
3794 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3796 return f(v);
3799 // for testing variadic templates and trailing return types
3800 template <typename V> auto sum(V first) -> V
3802 return first;
3804 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3806 return first + sum(rest...);
3811 # Test code for whether the C++ compiler supports C++11 (body of main)
3812 ac_cxx_conftest_cxx11_main='
3814 // Test auto and decltype
3815 auto a1 = 6538;
3816 auto a2 = 48573953.4;
3817 auto a3 = "String literal";
3819 int total = 0;
3820 for (auto i = a3; *i; ++i) { total += *i; }
3822 decltype(a2) a4 = 34895.034;
3825 // Test constexpr
3826 short sa[cxx11test::get_val()] = { 0 };
3829 // Test initializer lists
3830 cxx11test::testinit il = { 4323, 435234.23544 };
3833 // Test range-based for
3834 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3835 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3836 for (auto &x : array) { x += 23; }
3839 // Test lambda expressions
3840 using cxx11test::eval;
3841 assert (eval ([](int x) { return x*2; }, 21) == 42);
3842 double d = 2.0;
3843 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3844 assert (d == 5.0);
3845 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3846 assert (d == 5.0);
3849 // Test use of variadic templates
3850 using cxx11test::sum;
3851 auto a = sum(1);
3852 auto b = sum(1, 2);
3853 auto c = sum(1.0, 2.0, 3.0);
3856 // Test constructor delegation
3857 cxx11test::delegate d1;
3858 cxx11test::delegate d2();
3859 cxx11test::delegate d3(45);
3862 // Test override and final
3863 cxx11test::overridden o1(55464);
3866 // Test nullptr
3867 char *c = nullptr;
3870 // Test template brackets
3871 test_template<::test_template<int>> v(test_template<int>(12));
3874 // Unicode literals
3875 char const *utf8 = u8"UTF-8 string \u2500";
3876 char16_t const *utf16 = u"UTF-8 string \u2500";
3877 char32_t const *utf32 = U"UTF-32 string \u2500";
3881 # Test code for whether the C compiler supports C++11 (complete).
3882 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3883 ${ac_cxx_conftest_cxx11_globals}
3886 main (int argc, char **argv)
3888 int ok = 0;
3889 ${ac_cxx_conftest_cxx98_main}
3890 ${ac_cxx_conftest_cxx11_main}
3891 return ok;
3895 # Test code for whether the C compiler supports C++98 (complete).
3896 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3898 main (int argc, char **argv)
3900 int ok = 0;
3901 ${ac_cxx_conftest_cxx98_main}
3902 return ok;
3906 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3907 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3908 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3909 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3910 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3911 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3912 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3913 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3914 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3916 # Auxiliary files required by this configure script.
3917 ac_aux_files="config.guess config.sub"
3919 # Locations in which to look for auxiliary files.
3920 ac_aux_dir_candidates="${srcdir}/tools"
3922 # Search for a directory containing all of the required auxiliary files,
3923 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3924 # If we don't find one directory that contains all the files we need,
3925 # we report the set of missing files from the *first* directory in
3926 # $ac_aux_dir_candidates and give up.
3927 ac_missing_aux_files=""
3928 ac_first_candidate=:
3929 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3931 as_found=false
3932 for as_dir in $ac_aux_dir_candidates
3934 IFS=$as_save_IFS
3935 case $as_dir in #(((
3936 '') as_dir=./ ;;
3937 */) ;;
3938 *) as_dir=$as_dir/ ;;
3939 esac
3940 as_found=:
3942 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3943 ac_aux_dir_found=yes
3944 ac_install_sh=
3945 for ac_aux in $ac_aux_files
3947 # As a special case, if "install-sh" is required, that requirement
3948 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3949 # and $ac_install_sh is set appropriately for whichever one is found.
3950 if test x"$ac_aux" = x"install-sh"
3951 then
3952 if test -f "${as_dir}install-sh"; then
3953 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3954 ac_install_sh="${as_dir}install-sh -c"
3955 elif test -f "${as_dir}install.sh"; then
3956 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3957 ac_install_sh="${as_dir}install.sh -c"
3958 elif test -f "${as_dir}shtool"; then
3959 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3960 ac_install_sh="${as_dir}shtool install -c"
3961 else
3962 ac_aux_dir_found=no
3963 if $ac_first_candidate; then
3964 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3965 else
3966 break
3969 else
3970 if test -f "${as_dir}${ac_aux}"; then
3971 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3972 else
3973 ac_aux_dir_found=no
3974 if $ac_first_candidate; then
3975 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3976 else
3977 break
3981 done
3982 if test "$ac_aux_dir_found" = yes; then
3983 ac_aux_dir="$as_dir"
3984 break
3986 ac_first_candidate=false
3988 as_found=false
3989 done
3990 IFS=$as_save_IFS
3991 if $as_found
3992 then :
3994 else $as_nop
3995 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
3999 # These three variables are undocumented and unsupported,
4000 # and are intended to be withdrawn in a future Autoconf release.
4001 # They can cause serious problems if a builder's source tree is in a directory
4002 # whose full name contains unusual characters.
4003 if test -f "${ac_aux_dir}config.guess"; then
4004 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4006 if test -f "${ac_aux_dir}config.sub"; then
4007 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4009 if test -f "$ac_aux_dir/configure"; then
4010 ac_configure="$SHELL ${ac_aux_dir}configure"
4013 # Check that the precious variables saved in the cache have kept the same
4014 # value.
4015 ac_cache_corrupted=false
4016 for ac_var in $ac_precious_vars; do
4017 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4018 eval ac_new_set=\$ac_env_${ac_var}_set
4019 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4020 eval ac_new_val=\$ac_env_${ac_var}_value
4021 case $ac_old_set,$ac_new_set in
4022 set,)
4023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4024 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4025 ac_cache_corrupted=: ;;
4026 ,set)
4027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4028 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4029 ac_cache_corrupted=: ;;
4030 ,);;
4032 if test "x$ac_old_val" != "x$ac_new_val"; then
4033 # differences in whitespace do not lead to failure.
4034 ac_old_val_w=`echo x $ac_old_val`
4035 ac_new_val_w=`echo x $ac_new_val`
4036 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4038 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4039 ac_cache_corrupted=:
4040 else
4041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4042 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4043 eval $ac_var=\$ac_old_val
4045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4046 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4048 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4049 fi;;
4050 esac
4051 # Pass precious variables to config.status.
4052 if test "$ac_new_set" = set; then
4053 case $ac_new_val in
4054 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4055 *) ac_arg=$ac_var=$ac_new_val ;;
4056 esac
4057 case " $ac_configure_args " in
4058 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4059 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4060 esac
4062 done
4063 if $ac_cache_corrupted; then
4064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4065 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4067 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4068 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4069 and start over" "$LINENO" 5
4071 ## -------------------- ##
4072 ## Main body of script. ##
4073 ## -------------------- ##
4075 ac_ext=c
4076 ac_cpp='$CPP $CPPFLAGS'
4077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4083 ac_config_headers="$ac_config_headers include/config.h"
4087 libwine_version="1.0"
4090 # Check whether --enable-win16 was given.
4091 if test ${enable_win16+y}
4092 then :
4093 enableval=$enable_win16;
4096 # Check whether --enable-win64 was given.
4097 if test ${enable_win64+y}
4098 then :
4099 enableval=$enable_win64;
4102 # Check whether --enable-tests was given.
4103 if test ${enable_tests+y}
4104 then :
4105 enableval=$enable_tests;
4108 # Check whether --enable-build-id was given.
4109 if test ${enable_build_id+y}
4110 then :
4111 enableval=$enable_build_id;
4114 # Check whether --enable-maintainer-mode was given.
4115 if test ${enable_maintainer_mode+y}
4116 then :
4117 enableval=$enable_maintainer_mode;
4120 # Check whether --enable-silent-rules was given.
4121 if test ${enable_silent_rules+y}
4122 then :
4123 enableval=$enable_silent_rules;
4126 # Check whether --enable-werror was given.
4127 if test ${enable_werror+y}
4128 then :
4129 enableval=$enable_werror;
4134 # Check whether --with-alsa was given.
4135 if test ${with_alsa+y}
4136 then :
4137 withval=$with_alsa;
4141 # Check whether --with-capi was given.
4142 if test ${with_capi+y}
4143 then :
4144 withval=$with_capi;
4148 # Check whether --with-coreaudio was given.
4149 if test ${with_coreaudio+y}
4150 then :
4151 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4155 # Check whether --with-cups was given.
4156 if test ${with_cups+y}
4157 then :
4158 withval=$with_cups;
4162 # Check whether --with-dbus was given.
4163 if test ${with_dbus+y}
4164 then :
4165 withval=$with_dbus;
4169 # Check whether --with-float-abi was given.
4170 if test ${with_float_abi+y}
4171 then :
4172 withval=$with_float_abi;
4176 # Check whether --with-fontconfig was given.
4177 if test ${with_fontconfig+y}
4178 then :
4179 withval=$with_fontconfig;
4183 # Check whether --with-freetype was given.
4184 if test ${with_freetype+y}
4185 then :
4186 withval=$with_freetype;
4190 # Check whether --with-gettext was given.
4191 if test ${with_gettext+y}
4192 then :
4193 withval=$with_gettext;
4197 # Check whether --with-gettextpo was given.
4198 if test ${with_gettextpo+y}
4199 then :
4200 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4204 # Check whether --with-gphoto was given.
4205 if test ${with_gphoto+y}
4206 then :
4207 withval=$with_gphoto;
4211 # Check whether --with-gnutls was given.
4212 if test ${with_gnutls+y}
4213 then :
4214 withval=$with_gnutls;
4218 # Check whether --with-gssapi was given.
4219 if test ${with_gssapi+y}
4220 then :
4221 withval=$with_gssapi;
4225 # Check whether --with-gstreamer was given.
4226 if test ${with_gstreamer+y}
4227 then :
4228 withval=$with_gstreamer;
4232 # Check whether --with-inotify was given.
4233 if test ${with_inotify+y}
4234 then :
4235 withval=$with_inotify;
4239 # Check whether --with-krb5 was given.
4240 if test ${with_krb5+y}
4241 then :
4242 withval=$with_krb5;
4246 # Check whether --with-ldap was given.
4247 if test ${with_ldap+y}
4248 then :
4249 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4253 # Check whether --with-mingw was given.
4254 if test ${with_mingw+y}
4255 then :
4256 withval=$with_mingw;
4260 # Check whether --with-netapi was given.
4261 if test ${with_netapi+y}
4262 then :
4263 withval=$with_netapi;
4267 # Check whether --with-openal was given.
4268 if test ${with_openal+y}
4269 then :
4270 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4274 # Check whether --with-opencl was given.
4275 if test ${with_opencl+y}
4276 then :
4277 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4281 # Check whether --with-opengl was given.
4282 if test ${with_opengl+y}
4283 then :
4284 withval=$with_opengl;
4288 # Check whether --with-osmesa was given.
4289 if test ${with_osmesa+y}
4290 then :
4291 withval=$with_osmesa;
4295 # Check whether --with-oss was given.
4296 if test ${with_oss+y}
4297 then :
4298 withval=$with_oss;
4302 # Check whether --with-pcap was given.
4303 if test ${with_pcap+y}
4304 then :
4305 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4309 # Check whether --with-pthread was given.
4310 if test ${with_pthread+y}
4311 then :
4312 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4316 # Check whether --with-pulse was given.
4317 if test ${with_pulse+y}
4318 then :
4319 withval=$with_pulse;
4323 # Check whether --with-sane was given.
4324 if test ${with_sane+y}
4325 then :
4326 withval=$with_sane;
4330 # Check whether --with-sdl was given.
4331 if test ${with_sdl+y}
4332 then :
4333 withval=$with_sdl;
4337 # Check whether --with-udev was given.
4338 if test ${with_udev+y}
4339 then :
4340 withval=$with_udev;
4344 # Check whether --with-unwind was given.
4345 if test ${with_unwind+y}
4346 then :
4347 withval=$with_unwind;
4351 # Check whether --with-usb was given.
4352 if test ${with_usb+y}
4353 then :
4354 withval=$with_usb;
4358 # Check whether --with-v4l2 was given.
4359 if test ${with_v4l2+y}
4360 then :
4361 withval=$with_v4l2;
4365 # Check whether --with-vulkan was given.
4366 if test ${with_vulkan+y}
4367 then :
4368 withval=$with_vulkan;
4372 # Check whether --with-xcomposite was given.
4373 if test ${with_xcomposite+y}
4374 then :
4375 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4379 # Check whether --with-xcursor was given.
4380 if test ${with_xcursor+y}
4381 then :
4382 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4386 # Check whether --with-xfixes was given.
4387 if test ${with_xfixes+y}
4388 then :
4389 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4393 # Check whether --with-xinerama was given.
4394 if test ${with_xinerama+y}
4395 then :
4396 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4400 # Check whether --with-xinput was given.
4401 if test ${with_xinput+y}
4402 then :
4403 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4407 # Check whether --with-xinput2 was given.
4408 if test ${with_xinput2+y}
4409 then :
4410 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4414 # Check whether --with-xrandr was given.
4415 if test ${with_xrandr+y}
4416 then :
4417 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4421 # Check whether --with-xrender was given.
4422 if test ${with_xrender+y}
4423 then :
4424 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4428 # Check whether --with-xshape was given.
4429 if test ${with_xshape+y}
4430 then :
4431 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4435 # Check whether --with-xshm was given.
4436 if test ${with_xshm+y}
4437 then :
4438 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4442 # Check whether --with-xxf86vm was given.
4443 if test ${with_xxf86vm+y}
4444 then :
4445 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
4450 # Check whether --with-system-dllpath was given.
4451 if test ${with_system_dllpath+y}
4452 then :
4453 withval=$with_system_dllpath; system_dllpath=$withval
4458 # Check whether --with-wine-tools was given.
4459 if test ${with_wine_tools+y}
4460 then :
4461 withval=$with_wine_tools;
4465 # Check whether --with-wine64 was given.
4466 if test ${with_wine64+y}
4467 then :
4468 withval=$with_wine64;
4475 # Make sure we can run config.sub.
4476 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4477 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4480 printf %s "checking build system type... " >&6; }
4481 if test ${ac_cv_build+y}
4482 then :
4483 printf %s "(cached) " >&6
4484 else $as_nop
4485 ac_build_alias=$build_alias
4486 test "x$ac_build_alias" = x &&
4487 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4488 test "x$ac_build_alias" = x &&
4489 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4490 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4491 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4495 printf "%s\n" "$ac_cv_build" >&6; }
4496 case $ac_cv_build in
4497 *-*-*) ;;
4498 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4499 esac
4500 build=$ac_cv_build
4501 ac_save_IFS=$IFS; IFS='-'
4502 set x $ac_cv_build
4503 shift
4504 build_cpu=$1
4505 build_vendor=$2
4506 shift; shift
4507 # Remember, the first character of IFS is used to create $*,
4508 # except with old shells:
4509 build_os=$*
4510 IFS=$ac_save_IFS
4511 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4515 printf %s "checking host system type... " >&6; }
4516 if test ${ac_cv_host+y}
4517 then :
4518 printf %s "(cached) " >&6
4519 else $as_nop
4520 if test "x$host_alias" = x; then
4521 ac_cv_host=$ac_cv_build
4522 else
4523 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4524 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4529 printf "%s\n" "$ac_cv_host" >&6; }
4530 case $ac_cv_host in
4531 *-*-*) ;;
4532 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4533 esac
4534 host=$ac_cv_host
4535 ac_save_IFS=$IFS; IFS='-'
4536 set x $ac_cv_host
4537 shift
4538 host_cpu=$1
4539 host_vendor=$2
4540 shift; shift
4541 # Remember, the first character of IFS is used to create $*,
4542 # except with old shells:
4543 host_os=$*
4544 IFS=$ac_save_IFS
4545 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4549 dlldir=\${libdir}/wine
4551 fontdir=\${datadir}/wine/fonts
4553 nlsdir=\${datadir}/wine/nls
4558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4559 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4560 set x ${MAKE-make}
4561 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4562 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4563 then :
4564 printf %s "(cached) " >&6
4565 else $as_nop
4566 cat >conftest.make <<\_ACEOF
4567 SHELL = /bin/sh
4568 all:
4569 @echo '@@@%%%=$(MAKE)=@@@%%%'
4570 _ACEOF
4571 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4572 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4573 *@@@%%%=?*=@@@%%%*)
4574 eval ac_cv_prog_make_${ac_make}_set=yes;;
4576 eval ac_cv_prog_make_${ac_make}_set=no;;
4577 esac
4578 rm -f conftest.make
4580 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4582 printf "%s\n" "yes" >&6; }
4583 SET_MAKE=
4584 else
4585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4586 printf "%s\n" "no" >&6; }
4587 SET_MAKE="MAKE=${MAKE-make}"
4599 ac_ext=c
4600 ac_cpp='$CPP $CPPFLAGS'
4601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4604 if test -n "$ac_tool_prefix"; then
4605 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4606 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4608 printf %s "checking for $ac_word... " >&6; }
4609 if test ${ac_cv_prog_CC+y}
4610 then :
4611 printf %s "(cached) " >&6
4612 else $as_nop
4613 if test -n "$CC"; then
4614 ac_cv_prog_CC="$CC" # Let the user override the test.
4615 else
4616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4617 for as_dir in $PATH
4619 IFS=$as_save_IFS
4620 case $as_dir in #(((
4621 '') as_dir=./ ;;
4622 */) ;;
4623 *) as_dir=$as_dir/ ;;
4624 esac
4625 for ac_exec_ext in '' $ac_executable_extensions; do
4626 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4627 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4628 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4629 break 2
4631 done
4632 done
4633 IFS=$as_save_IFS
4637 CC=$ac_cv_prog_CC
4638 if test -n "$CC"; then
4639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4640 printf "%s\n" "$CC" >&6; }
4641 else
4642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4643 printf "%s\n" "no" >&6; }
4648 if test -z "$ac_cv_prog_CC"; then
4649 ac_ct_CC=$CC
4650 # Extract the first word of "gcc", so it can be a program name with args.
4651 set dummy gcc; ac_word=$2
4652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4653 printf %s "checking for $ac_word... " >&6; }
4654 if test ${ac_cv_prog_ac_ct_CC+y}
4655 then :
4656 printf %s "(cached) " >&6
4657 else $as_nop
4658 if test -n "$ac_ct_CC"; then
4659 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4660 else
4661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4662 for as_dir in $PATH
4664 IFS=$as_save_IFS
4665 case $as_dir in #(((
4666 '') as_dir=./ ;;
4667 */) ;;
4668 *) as_dir=$as_dir/ ;;
4669 esac
4670 for ac_exec_ext in '' $ac_executable_extensions; do
4671 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4672 ac_cv_prog_ac_ct_CC="gcc"
4673 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4674 break 2
4676 done
4677 done
4678 IFS=$as_save_IFS
4682 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4683 if test -n "$ac_ct_CC"; then
4684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4685 printf "%s\n" "$ac_ct_CC" >&6; }
4686 else
4687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4688 printf "%s\n" "no" >&6; }
4691 if test "x$ac_ct_CC" = x; then
4692 CC=""
4693 else
4694 case $cross_compiling:$ac_tool_warned in
4695 yes:)
4696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4697 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4698 ac_tool_warned=yes ;;
4699 esac
4700 CC=$ac_ct_CC
4702 else
4703 CC="$ac_cv_prog_CC"
4706 if test -z "$CC"; then
4707 if test -n "$ac_tool_prefix"; then
4708 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4709 set dummy ${ac_tool_prefix}cc; ac_word=$2
4710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4711 printf %s "checking for $ac_word... " >&6; }
4712 if test ${ac_cv_prog_CC+y}
4713 then :
4714 printf %s "(cached) " >&6
4715 else $as_nop
4716 if test -n "$CC"; then
4717 ac_cv_prog_CC="$CC" # Let the user override the test.
4718 else
4719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4720 for as_dir in $PATH
4722 IFS=$as_save_IFS
4723 case $as_dir in #(((
4724 '') as_dir=./ ;;
4725 */) ;;
4726 *) as_dir=$as_dir/ ;;
4727 esac
4728 for ac_exec_ext in '' $ac_executable_extensions; do
4729 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4730 ac_cv_prog_CC="${ac_tool_prefix}cc"
4731 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4732 break 2
4734 done
4735 done
4736 IFS=$as_save_IFS
4740 CC=$ac_cv_prog_CC
4741 if test -n "$CC"; then
4742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4743 printf "%s\n" "$CC" >&6; }
4744 else
4745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4746 printf "%s\n" "no" >&6; }
4752 if test -z "$CC"; then
4753 # Extract the first word of "cc", so it can be a program name with args.
4754 set dummy cc; ac_word=$2
4755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4756 printf %s "checking for $ac_word... " >&6; }
4757 if test ${ac_cv_prog_CC+y}
4758 then :
4759 printf %s "(cached) " >&6
4760 else $as_nop
4761 if test -n "$CC"; then
4762 ac_cv_prog_CC="$CC" # Let the user override the test.
4763 else
4764 ac_prog_rejected=no
4765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4766 for as_dir in $PATH
4768 IFS=$as_save_IFS
4769 case $as_dir in #(((
4770 '') as_dir=./ ;;
4771 */) ;;
4772 *) as_dir=$as_dir/ ;;
4773 esac
4774 for ac_exec_ext in '' $ac_executable_extensions; do
4775 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4776 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4777 ac_prog_rejected=yes
4778 continue
4780 ac_cv_prog_CC="cc"
4781 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4782 break 2
4784 done
4785 done
4786 IFS=$as_save_IFS
4788 if test $ac_prog_rejected = yes; then
4789 # We found a bogon in the path, so make sure we never use it.
4790 set dummy $ac_cv_prog_CC
4791 shift
4792 if test $# != 0; then
4793 # We chose a different compiler from the bogus one.
4794 # However, it has the same basename, so the bogon will be chosen
4795 # first if we set CC to just the basename; use the full file name.
4796 shift
4797 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4802 CC=$ac_cv_prog_CC
4803 if test -n "$CC"; then
4804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4805 printf "%s\n" "$CC" >&6; }
4806 else
4807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4808 printf "%s\n" "no" >&6; }
4813 if test -z "$CC"; then
4814 if test -n "$ac_tool_prefix"; then
4815 for ac_prog in cl.exe
4817 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4818 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4820 printf %s "checking for $ac_word... " >&6; }
4821 if test ${ac_cv_prog_CC+y}
4822 then :
4823 printf %s "(cached) " >&6
4824 else $as_nop
4825 if test -n "$CC"; then
4826 ac_cv_prog_CC="$CC" # Let the user override the test.
4827 else
4828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4829 for as_dir in $PATH
4831 IFS=$as_save_IFS
4832 case $as_dir in #(((
4833 '') as_dir=./ ;;
4834 */) ;;
4835 *) as_dir=$as_dir/ ;;
4836 esac
4837 for ac_exec_ext in '' $ac_executable_extensions; do
4838 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4839 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4840 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4841 break 2
4843 done
4844 done
4845 IFS=$as_save_IFS
4849 CC=$ac_cv_prog_CC
4850 if test -n "$CC"; then
4851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4852 printf "%s\n" "$CC" >&6; }
4853 else
4854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4855 printf "%s\n" "no" >&6; }
4859 test -n "$CC" && break
4860 done
4862 if test -z "$CC"; then
4863 ac_ct_CC=$CC
4864 for ac_prog in cl.exe
4866 # Extract the first word of "$ac_prog", so it can be a program name with args.
4867 set dummy $ac_prog; ac_word=$2
4868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4869 printf %s "checking for $ac_word... " >&6; }
4870 if test ${ac_cv_prog_ac_ct_CC+y}
4871 then :
4872 printf %s "(cached) " >&6
4873 else $as_nop
4874 if test -n "$ac_ct_CC"; then
4875 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4876 else
4877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4878 for as_dir in $PATH
4880 IFS=$as_save_IFS
4881 case $as_dir in #(((
4882 '') as_dir=./ ;;
4883 */) ;;
4884 *) as_dir=$as_dir/ ;;
4885 esac
4886 for ac_exec_ext in '' $ac_executable_extensions; do
4887 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4888 ac_cv_prog_ac_ct_CC="$ac_prog"
4889 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4890 break 2
4892 done
4893 done
4894 IFS=$as_save_IFS
4898 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4899 if test -n "$ac_ct_CC"; then
4900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4901 printf "%s\n" "$ac_ct_CC" >&6; }
4902 else
4903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4904 printf "%s\n" "no" >&6; }
4908 test -n "$ac_ct_CC" && break
4909 done
4911 if test "x$ac_ct_CC" = x; then
4912 CC=""
4913 else
4914 case $cross_compiling:$ac_tool_warned in
4915 yes:)
4916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4917 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4918 ac_tool_warned=yes ;;
4919 esac
4920 CC=$ac_ct_CC
4925 if test -z "$CC"; then
4926 if test -n "$ac_tool_prefix"; then
4927 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4928 set dummy ${ac_tool_prefix}clang; ac_word=$2
4929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4930 printf %s "checking for $ac_word... " >&6; }
4931 if test ${ac_cv_prog_CC+y}
4932 then :
4933 printf %s "(cached) " >&6
4934 else $as_nop
4935 if test -n "$CC"; then
4936 ac_cv_prog_CC="$CC" # Let the user override the test.
4937 else
4938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4939 for as_dir in $PATH
4941 IFS=$as_save_IFS
4942 case $as_dir in #(((
4943 '') as_dir=./ ;;
4944 */) ;;
4945 *) as_dir=$as_dir/ ;;
4946 esac
4947 for ac_exec_ext in '' $ac_executable_extensions; do
4948 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4949 ac_cv_prog_CC="${ac_tool_prefix}clang"
4950 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4951 break 2
4953 done
4954 done
4955 IFS=$as_save_IFS
4959 CC=$ac_cv_prog_CC
4960 if test -n "$CC"; then
4961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4962 printf "%s\n" "$CC" >&6; }
4963 else
4964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4965 printf "%s\n" "no" >&6; }
4970 if test -z "$ac_cv_prog_CC"; then
4971 ac_ct_CC=$CC
4972 # Extract the first word of "clang", so it can be a program name with args.
4973 set dummy clang; ac_word=$2
4974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4975 printf %s "checking for $ac_word... " >&6; }
4976 if test ${ac_cv_prog_ac_ct_CC+y}
4977 then :
4978 printf %s "(cached) " >&6
4979 else $as_nop
4980 if test -n "$ac_ct_CC"; then
4981 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4982 else
4983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4984 for as_dir in $PATH
4986 IFS=$as_save_IFS
4987 case $as_dir in #(((
4988 '') as_dir=./ ;;
4989 */) ;;
4990 *) as_dir=$as_dir/ ;;
4991 esac
4992 for ac_exec_ext in '' $ac_executable_extensions; do
4993 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4994 ac_cv_prog_ac_ct_CC="clang"
4995 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4996 break 2
4998 done
4999 done
5000 IFS=$as_save_IFS
5004 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5005 if test -n "$ac_ct_CC"; then
5006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5007 printf "%s\n" "$ac_ct_CC" >&6; }
5008 else
5009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5010 printf "%s\n" "no" >&6; }
5013 if test "x$ac_ct_CC" = x; then
5014 CC=""
5015 else
5016 case $cross_compiling:$ac_tool_warned in
5017 yes:)
5018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5019 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5020 ac_tool_warned=yes ;;
5021 esac
5022 CC=$ac_ct_CC
5024 else
5025 CC="$ac_cv_prog_CC"
5031 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5032 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5033 as_fn_error $? "no acceptable C compiler found in \$PATH
5034 See \`config.log' for more details" "$LINENO" 5; }
5036 # Provide some information about the compiler.
5037 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5038 set X $ac_compile
5039 ac_compiler=$2
5040 for ac_option in --version -v -V -qversion -version; do
5041 { { ac_try="$ac_compiler $ac_option >&5"
5042 case "(($ac_try" in
5043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5044 *) ac_try_echo=$ac_try;;
5045 esac
5046 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5047 printf "%s\n" "$ac_try_echo"; } >&5
5048 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5049 ac_status=$?
5050 if test -s conftest.err; then
5051 sed '10a\
5052 ... rest of stderr output deleted ...
5053 10q' conftest.err >conftest.er1
5054 cat conftest.er1 >&5
5056 rm -f conftest.er1 conftest.err
5057 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5058 test $ac_status = 0; }
5059 done
5061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5062 /* end confdefs.h. */
5065 main (void)
5069 return 0;
5071 _ACEOF
5072 ac_clean_files_save=$ac_clean_files
5073 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5074 # Try to create an executable without -o first, disregard a.out.
5075 # It will help us diagnose broken compilers, and finding out an intuition
5076 # of exeext.
5077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5078 printf %s "checking whether the C compiler works... " >&6; }
5079 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5081 # The possible output files:
5082 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5084 ac_rmfiles=
5085 for ac_file in $ac_files
5087 case $ac_file in
5088 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5089 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5090 esac
5091 done
5092 rm -f $ac_rmfiles
5094 if { { ac_try="$ac_link_default"
5095 case "(($ac_try" in
5096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5097 *) ac_try_echo=$ac_try;;
5098 esac
5099 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5100 printf "%s\n" "$ac_try_echo"; } >&5
5101 (eval "$ac_link_default") 2>&5
5102 ac_status=$?
5103 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5104 test $ac_status = 0; }
5105 then :
5106 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5107 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5108 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5109 # so that the user can short-circuit this test for compilers unknown to
5110 # Autoconf.
5111 for ac_file in $ac_files ''
5113 test -f "$ac_file" || continue
5114 case $ac_file in
5115 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5117 [ab].out )
5118 # We found the default executable, but exeext='' is most
5119 # certainly right.
5120 break;;
5121 *.* )
5122 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5123 then :; else
5124 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5126 # We set ac_cv_exeext here because the later test for it is not
5127 # safe: cross compilers may not add the suffix if given an `-o'
5128 # argument, so we may need to know it at that point already.
5129 # Even if this section looks crufty: it has the advantage of
5130 # actually working.
5131 break;;
5133 break;;
5134 esac
5135 done
5136 test "$ac_cv_exeext" = no && ac_cv_exeext=
5138 else $as_nop
5139 ac_file=''
5141 if test -z "$ac_file"
5142 then :
5143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5144 printf "%s\n" "no" >&6; }
5145 printf "%s\n" "$as_me: failed program was:" >&5
5146 sed 's/^/| /' conftest.$ac_ext >&5
5148 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5149 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5150 as_fn_error 77 "C compiler cannot create executables
5151 See \`config.log' for more details" "$LINENO" 5; }
5152 else $as_nop
5153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5154 printf "%s\n" "yes" >&6; }
5156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5157 printf %s "checking for C compiler default output file name... " >&6; }
5158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5159 printf "%s\n" "$ac_file" >&6; }
5160 ac_exeext=$ac_cv_exeext
5162 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5163 ac_clean_files=$ac_clean_files_save
5164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5165 printf %s "checking for suffix of executables... " >&6; }
5166 if { { ac_try="$ac_link"
5167 case "(($ac_try" in
5168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5169 *) ac_try_echo=$ac_try;;
5170 esac
5171 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5172 printf "%s\n" "$ac_try_echo"; } >&5
5173 (eval "$ac_link") 2>&5
5174 ac_status=$?
5175 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5176 test $ac_status = 0; }
5177 then :
5178 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5179 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5180 # work properly (i.e., refer to `conftest.exe'), while it won't with
5181 # `rm'.
5182 for ac_file in conftest.exe conftest conftest.*; do
5183 test -f "$ac_file" || continue
5184 case $ac_file in
5185 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5186 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5187 break;;
5188 * ) break;;
5189 esac
5190 done
5191 else $as_nop
5192 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5193 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5194 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5195 See \`config.log' for more details" "$LINENO" 5; }
5197 rm -f conftest conftest$ac_cv_exeext
5198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5199 printf "%s\n" "$ac_cv_exeext" >&6; }
5201 rm -f conftest.$ac_ext
5202 EXEEXT=$ac_cv_exeext
5203 ac_exeext=$EXEEXT
5204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5205 /* end confdefs.h. */
5206 #include <stdio.h>
5208 main (void)
5210 FILE *f = fopen ("conftest.out", "w");
5211 return ferror (f) || fclose (f) != 0;
5214 return 0;
5216 _ACEOF
5217 ac_clean_files="$ac_clean_files conftest.out"
5218 # Check that the compiler produces executables we can run. If not, either
5219 # the compiler is broken, or we cross compile.
5220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5221 printf %s "checking whether we are cross compiling... " >&6; }
5222 if test "$cross_compiling" != yes; then
5223 { { ac_try="$ac_link"
5224 case "(($ac_try" in
5225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5226 *) ac_try_echo=$ac_try;;
5227 esac
5228 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5229 printf "%s\n" "$ac_try_echo"; } >&5
5230 (eval "$ac_link") 2>&5
5231 ac_status=$?
5232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5233 test $ac_status = 0; }
5234 if { ac_try='./conftest$ac_cv_exeext'
5235 { { case "(($ac_try" in
5236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5237 *) ac_try_echo=$ac_try;;
5238 esac
5239 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5240 printf "%s\n" "$ac_try_echo"; } >&5
5241 (eval "$ac_try") 2>&5
5242 ac_status=$?
5243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5244 test $ac_status = 0; }; }; then
5245 cross_compiling=no
5246 else
5247 if test "$cross_compiling" = maybe; then
5248 cross_compiling=yes
5249 else
5250 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5251 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5252 as_fn_error 77 "cannot run C compiled programs.
5253 If you meant to cross compile, use \`--host'.
5254 See \`config.log' for more details" "$LINENO" 5; }
5258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5259 printf "%s\n" "$cross_compiling" >&6; }
5261 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5262 ac_clean_files=$ac_clean_files_save
5263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5264 printf %s "checking for suffix of object files... " >&6; }
5265 if test ${ac_cv_objext+y}
5266 then :
5267 printf %s "(cached) " >&6
5268 else $as_nop
5269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5270 /* end confdefs.h. */
5273 main (void)
5277 return 0;
5279 _ACEOF
5280 rm -f conftest.o conftest.obj
5281 if { { ac_try="$ac_compile"
5282 case "(($ac_try" in
5283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5284 *) ac_try_echo=$ac_try;;
5285 esac
5286 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5287 printf "%s\n" "$ac_try_echo"; } >&5
5288 (eval "$ac_compile") 2>&5
5289 ac_status=$?
5290 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5291 test $ac_status = 0; }
5292 then :
5293 for ac_file in conftest.o conftest.obj conftest.*; do
5294 test -f "$ac_file" || continue;
5295 case $ac_file in
5296 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5297 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5298 break;;
5299 esac
5300 done
5301 else $as_nop
5302 printf "%s\n" "$as_me: failed program was:" >&5
5303 sed 's/^/| /' conftest.$ac_ext >&5
5305 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5306 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5307 as_fn_error $? "cannot compute suffix of object files: cannot compile
5308 See \`config.log' for more details" "$LINENO" 5; }
5310 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5313 printf "%s\n" "$ac_cv_objext" >&6; }
5314 OBJEXT=$ac_cv_objext
5315 ac_objext=$OBJEXT
5316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5317 printf %s "checking whether the compiler supports GNU C... " >&6; }
5318 if test ${ac_cv_c_compiler_gnu+y}
5319 then :
5320 printf %s "(cached) " >&6
5321 else $as_nop
5322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5323 /* end confdefs.h. */
5326 main (void)
5328 #ifndef __GNUC__
5329 choke me
5330 #endif
5333 return 0;
5335 _ACEOF
5336 if ac_fn_c_try_compile "$LINENO"
5337 then :
5338 ac_compiler_gnu=yes
5339 else $as_nop
5340 ac_compiler_gnu=no
5342 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5343 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5347 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5350 if test $ac_compiler_gnu = yes; then
5351 GCC=yes
5352 else
5353 GCC=
5355 ac_test_CFLAGS=${CFLAGS+y}
5356 ac_save_CFLAGS=$CFLAGS
5357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5358 printf %s "checking whether $CC accepts -g... " >&6; }
5359 if test ${ac_cv_prog_cc_g+y}
5360 then :
5361 printf %s "(cached) " >&6
5362 else $as_nop
5363 ac_save_c_werror_flag=$ac_c_werror_flag
5364 ac_c_werror_flag=yes
5365 ac_cv_prog_cc_g=no
5366 CFLAGS="-g"
5367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5368 /* end confdefs.h. */
5371 main (void)
5375 return 0;
5377 _ACEOF
5378 if ac_fn_c_try_compile "$LINENO"
5379 then :
5380 ac_cv_prog_cc_g=yes
5381 else $as_nop
5382 CFLAGS=""
5383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5384 /* end confdefs.h. */
5387 main (void)
5391 return 0;
5393 _ACEOF
5394 if ac_fn_c_try_compile "$LINENO"
5395 then :
5397 else $as_nop
5398 ac_c_werror_flag=$ac_save_c_werror_flag
5399 CFLAGS="-g"
5400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5401 /* end confdefs.h. */
5404 main (void)
5408 return 0;
5410 _ACEOF
5411 if ac_fn_c_try_compile "$LINENO"
5412 then :
5413 ac_cv_prog_cc_g=yes
5415 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5417 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5419 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5420 ac_c_werror_flag=$ac_save_c_werror_flag
5422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5423 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5424 if test $ac_test_CFLAGS; then
5425 CFLAGS=$ac_save_CFLAGS
5426 elif test $ac_cv_prog_cc_g = yes; then
5427 if test "$GCC" = yes; then
5428 CFLAGS="-g -O2"
5429 else
5430 CFLAGS="-g"
5432 else
5433 if test "$GCC" = yes; then
5434 CFLAGS="-O2"
5435 else
5436 CFLAGS=
5439 ac_prog_cc_stdc=no
5440 if test x$ac_prog_cc_stdc = xno
5441 then :
5442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5443 printf %s "checking for $CC option to enable C11 features... " >&6; }
5444 if test ${ac_cv_prog_cc_c11+y}
5445 then :
5446 printf %s "(cached) " >&6
5447 else $as_nop
5448 ac_cv_prog_cc_c11=no
5449 ac_save_CC=$CC
5450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5451 /* end confdefs.h. */
5452 $ac_c_conftest_c11_program
5453 _ACEOF
5454 for ac_arg in '' -std=gnu11
5456 CC="$ac_save_CC $ac_arg"
5457 if ac_fn_c_try_compile "$LINENO"
5458 then :
5459 ac_cv_prog_cc_c11=$ac_arg
5461 rm -f core conftest.err conftest.$ac_objext conftest.beam
5462 test "x$ac_cv_prog_cc_c11" != "xno" && break
5463 done
5464 rm -f conftest.$ac_ext
5465 CC=$ac_save_CC
5468 if test "x$ac_cv_prog_cc_c11" = xno
5469 then :
5470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5471 printf "%s\n" "unsupported" >&6; }
5472 else $as_nop
5473 if test "x$ac_cv_prog_cc_c11" = x
5474 then :
5475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5476 printf "%s\n" "none needed" >&6; }
5477 else $as_nop
5478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5479 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5480 CC="$CC $ac_cv_prog_cc_c11"
5482 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5483 ac_prog_cc_stdc=c11
5486 if test x$ac_prog_cc_stdc = xno
5487 then :
5488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5489 printf %s "checking for $CC option to enable C99 features... " >&6; }
5490 if test ${ac_cv_prog_cc_c99+y}
5491 then :
5492 printf %s "(cached) " >&6
5493 else $as_nop
5494 ac_cv_prog_cc_c99=no
5495 ac_save_CC=$CC
5496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5497 /* end confdefs.h. */
5498 $ac_c_conftest_c99_program
5499 _ACEOF
5500 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5502 CC="$ac_save_CC $ac_arg"
5503 if ac_fn_c_try_compile "$LINENO"
5504 then :
5505 ac_cv_prog_cc_c99=$ac_arg
5507 rm -f core conftest.err conftest.$ac_objext conftest.beam
5508 test "x$ac_cv_prog_cc_c99" != "xno" && break
5509 done
5510 rm -f conftest.$ac_ext
5511 CC=$ac_save_CC
5514 if test "x$ac_cv_prog_cc_c99" = xno
5515 then :
5516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5517 printf "%s\n" "unsupported" >&6; }
5518 else $as_nop
5519 if test "x$ac_cv_prog_cc_c99" = x
5520 then :
5521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5522 printf "%s\n" "none needed" >&6; }
5523 else $as_nop
5524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5525 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5526 CC="$CC $ac_cv_prog_cc_c99"
5528 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5529 ac_prog_cc_stdc=c99
5532 if test x$ac_prog_cc_stdc = xno
5533 then :
5534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5535 printf %s "checking for $CC option to enable C89 features... " >&6; }
5536 if test ${ac_cv_prog_cc_c89+y}
5537 then :
5538 printf %s "(cached) " >&6
5539 else $as_nop
5540 ac_cv_prog_cc_c89=no
5541 ac_save_CC=$CC
5542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5543 /* end confdefs.h. */
5544 $ac_c_conftest_c89_program
5545 _ACEOF
5546 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5548 CC="$ac_save_CC $ac_arg"
5549 if ac_fn_c_try_compile "$LINENO"
5550 then :
5551 ac_cv_prog_cc_c89=$ac_arg
5553 rm -f core conftest.err conftest.$ac_objext conftest.beam
5554 test "x$ac_cv_prog_cc_c89" != "xno" && break
5555 done
5556 rm -f conftest.$ac_ext
5557 CC=$ac_save_CC
5560 if test "x$ac_cv_prog_cc_c89" = xno
5561 then :
5562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5563 printf "%s\n" "unsupported" >&6; }
5564 else $as_nop
5565 if test "x$ac_cv_prog_cc_c89" = x
5566 then :
5567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5568 printf "%s\n" "none needed" >&6; }
5569 else $as_nop
5570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5571 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5572 CC="$CC $ac_cv_prog_cc_c89"
5574 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5575 ac_prog_cc_stdc=c89
5579 ac_ext=c
5580 ac_cpp='$CPP $CPPFLAGS'
5581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5591 ac_ext=cpp
5592 ac_cpp='$CXXCPP $CPPFLAGS'
5593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5596 if test -z "$CXX"; then
5597 if test -n "$CCC"; then
5598 CXX=$CCC
5599 else
5600 if test -n "$ac_tool_prefix"; then
5601 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5603 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5604 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5606 printf %s "checking for $ac_word... " >&6; }
5607 if test ${ac_cv_prog_CXX+y}
5608 then :
5609 printf %s "(cached) " >&6
5610 else $as_nop
5611 if test -n "$CXX"; then
5612 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5613 else
5614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5615 for as_dir in $PATH
5617 IFS=$as_save_IFS
5618 case $as_dir in #(((
5619 '') as_dir=./ ;;
5620 */) ;;
5621 *) as_dir=$as_dir/ ;;
5622 esac
5623 for ac_exec_ext in '' $ac_executable_extensions; do
5624 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5625 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5626 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5627 break 2
5629 done
5630 done
5631 IFS=$as_save_IFS
5635 CXX=$ac_cv_prog_CXX
5636 if test -n "$CXX"; then
5637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5638 printf "%s\n" "$CXX" >&6; }
5639 else
5640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5641 printf "%s\n" "no" >&6; }
5645 test -n "$CXX" && break
5646 done
5648 if test -z "$CXX"; then
5649 ac_ct_CXX=$CXX
5650 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5652 # Extract the first word of "$ac_prog", so it can be a program name with args.
5653 set dummy $ac_prog; ac_word=$2
5654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5655 printf %s "checking for $ac_word... " >&6; }
5656 if test ${ac_cv_prog_ac_ct_CXX+y}
5657 then :
5658 printf %s "(cached) " >&6
5659 else $as_nop
5660 if test -n "$ac_ct_CXX"; then
5661 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5662 else
5663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5664 for as_dir in $PATH
5666 IFS=$as_save_IFS
5667 case $as_dir in #(((
5668 '') as_dir=./ ;;
5669 */) ;;
5670 *) as_dir=$as_dir/ ;;
5671 esac
5672 for ac_exec_ext in '' $ac_executable_extensions; do
5673 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5674 ac_cv_prog_ac_ct_CXX="$ac_prog"
5675 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5676 break 2
5678 done
5679 done
5680 IFS=$as_save_IFS
5684 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5685 if test -n "$ac_ct_CXX"; then
5686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5687 printf "%s\n" "$ac_ct_CXX" >&6; }
5688 else
5689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5690 printf "%s\n" "no" >&6; }
5694 test -n "$ac_ct_CXX" && break
5695 done
5697 if test "x$ac_ct_CXX" = x; then
5698 CXX="g++"
5699 else
5700 case $cross_compiling:$ac_tool_warned in
5701 yes:)
5702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5703 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5704 ac_tool_warned=yes ;;
5705 esac
5706 CXX=$ac_ct_CXX
5712 # Provide some information about the compiler.
5713 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5714 set X $ac_compile
5715 ac_compiler=$2
5716 for ac_option in --version -v -V -qversion; do
5717 { { ac_try="$ac_compiler $ac_option >&5"
5718 case "(($ac_try" in
5719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5720 *) ac_try_echo=$ac_try;;
5721 esac
5722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5723 printf "%s\n" "$ac_try_echo"; } >&5
5724 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5725 ac_status=$?
5726 if test -s conftest.err; then
5727 sed '10a\
5728 ... rest of stderr output deleted ...
5729 10q' conftest.err >conftest.er1
5730 cat conftest.er1 >&5
5732 rm -f conftest.er1 conftest.err
5733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5734 test $ac_status = 0; }
5735 done
5737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5738 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5739 if test ${ac_cv_cxx_compiler_gnu+y}
5740 then :
5741 printf %s "(cached) " >&6
5742 else $as_nop
5743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5744 /* end confdefs.h. */
5747 main (void)
5749 #ifndef __GNUC__
5750 choke me
5751 #endif
5754 return 0;
5756 _ACEOF
5757 if ac_fn_cxx_try_compile "$LINENO"
5758 then :
5759 ac_compiler_gnu=yes
5760 else $as_nop
5761 ac_compiler_gnu=no
5763 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5764 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5768 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5771 if test $ac_compiler_gnu = yes; then
5772 GXX=yes
5773 else
5774 GXX=
5776 ac_test_CXXFLAGS=${CXXFLAGS+y}
5777 ac_save_CXXFLAGS=$CXXFLAGS
5778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5779 printf %s "checking whether $CXX accepts -g... " >&6; }
5780 if test ${ac_cv_prog_cxx_g+y}
5781 then :
5782 printf %s "(cached) " >&6
5783 else $as_nop
5784 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5785 ac_cxx_werror_flag=yes
5786 ac_cv_prog_cxx_g=no
5787 CXXFLAGS="-g"
5788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5789 /* end confdefs.h. */
5792 main (void)
5796 return 0;
5798 _ACEOF
5799 if ac_fn_cxx_try_compile "$LINENO"
5800 then :
5801 ac_cv_prog_cxx_g=yes
5802 else $as_nop
5803 CXXFLAGS=""
5804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5805 /* end confdefs.h. */
5808 main (void)
5812 return 0;
5814 _ACEOF
5815 if ac_fn_cxx_try_compile "$LINENO"
5816 then :
5818 else $as_nop
5819 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5820 CXXFLAGS="-g"
5821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5822 /* end confdefs.h. */
5825 main (void)
5829 return 0;
5831 _ACEOF
5832 if ac_fn_cxx_try_compile "$LINENO"
5833 then :
5834 ac_cv_prog_cxx_g=yes
5836 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5838 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5840 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5841 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5844 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5845 if test $ac_test_CXXFLAGS; then
5846 CXXFLAGS=$ac_save_CXXFLAGS
5847 elif test $ac_cv_prog_cxx_g = yes; then
5848 if test "$GXX" = yes; then
5849 CXXFLAGS="-g -O2"
5850 else
5851 CXXFLAGS="-g"
5853 else
5854 if test "$GXX" = yes; then
5855 CXXFLAGS="-O2"
5856 else
5857 CXXFLAGS=
5860 ac_prog_cxx_stdcxx=no
5861 if test x$ac_prog_cxx_stdcxx = xno
5862 then :
5863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5864 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5865 if test ${ac_cv_prog_cxx_11+y}
5866 then :
5867 printf %s "(cached) " >&6
5868 else $as_nop
5869 ac_cv_prog_cxx_11=no
5870 ac_save_CXX=$CXX
5871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5872 /* end confdefs.h. */
5873 $ac_cxx_conftest_cxx11_program
5874 _ACEOF
5875 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5877 CXX="$ac_save_CXX $ac_arg"
5878 if ac_fn_cxx_try_compile "$LINENO"
5879 then :
5880 ac_cv_prog_cxx_cxx11=$ac_arg
5882 rm -f core conftest.err conftest.$ac_objext conftest.beam
5883 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5884 done
5885 rm -f conftest.$ac_ext
5886 CXX=$ac_save_CXX
5889 if test "x$ac_cv_prog_cxx_cxx11" = xno
5890 then :
5891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5892 printf "%s\n" "unsupported" >&6; }
5893 else $as_nop
5894 if test "x$ac_cv_prog_cxx_cxx11" = x
5895 then :
5896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5897 printf "%s\n" "none needed" >&6; }
5898 else $as_nop
5899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5900 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5901 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5903 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5904 ac_prog_cxx_stdcxx=cxx11
5907 if test x$ac_prog_cxx_stdcxx = xno
5908 then :
5909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5910 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5911 if test ${ac_cv_prog_cxx_98+y}
5912 then :
5913 printf %s "(cached) " >&6
5914 else $as_nop
5915 ac_cv_prog_cxx_98=no
5916 ac_save_CXX=$CXX
5917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5918 /* end confdefs.h. */
5919 $ac_cxx_conftest_cxx98_program
5920 _ACEOF
5921 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5923 CXX="$ac_save_CXX $ac_arg"
5924 if ac_fn_cxx_try_compile "$LINENO"
5925 then :
5926 ac_cv_prog_cxx_cxx98=$ac_arg
5928 rm -f core conftest.err conftest.$ac_objext conftest.beam
5929 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5930 done
5931 rm -f conftest.$ac_ext
5932 CXX=$ac_save_CXX
5935 if test "x$ac_cv_prog_cxx_cxx98" = xno
5936 then :
5937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5938 printf "%s\n" "unsupported" >&6; }
5939 else $as_nop
5940 if test "x$ac_cv_prog_cxx_cxx98" = x
5941 then :
5942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5943 printf "%s\n" "none needed" >&6; }
5944 else $as_nop
5945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5946 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5947 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5949 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5950 ac_prog_cxx_stdcxx=cxx98
5954 ac_ext=c
5955 ac_cpp='$CPP $CPPFLAGS'
5956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5960 if test -n "$ac_tool_prefix"; then
5961 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5962 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5964 printf %s "checking for $ac_word... " >&6; }
5965 if test ${ac_cv_prog_CPPBIN+y}
5966 then :
5967 printf %s "(cached) " >&6
5968 else $as_nop
5969 if test -n "$CPPBIN"; then
5970 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5971 else
5972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5973 for as_dir in $PATH
5975 IFS=$as_save_IFS
5976 case $as_dir in #(((
5977 '') as_dir=./ ;;
5978 */) ;;
5979 *) as_dir=$as_dir/ ;;
5980 esac
5981 for ac_exec_ext in '' $ac_executable_extensions; do
5982 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5983 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5984 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5985 break 2
5987 done
5988 done
5989 IFS=$as_save_IFS
5993 CPPBIN=$ac_cv_prog_CPPBIN
5994 if test -n "$CPPBIN"; then
5995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5996 printf "%s\n" "$CPPBIN" >&6; }
5997 else
5998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5999 printf "%s\n" "no" >&6; }
6004 if test -z "$ac_cv_prog_CPPBIN"; then
6005 ac_ct_CPPBIN=$CPPBIN
6006 # Extract the first word of "cpp", so it can be a program name with args.
6007 set dummy cpp; ac_word=$2
6008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6009 printf %s "checking for $ac_word... " >&6; }
6010 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6011 then :
6012 printf %s "(cached) " >&6
6013 else $as_nop
6014 if test -n "$ac_ct_CPPBIN"; then
6015 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6016 else
6017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6018 for as_dir in $PATH
6020 IFS=$as_save_IFS
6021 case $as_dir in #(((
6022 '') as_dir=./ ;;
6023 */) ;;
6024 *) as_dir=$as_dir/ ;;
6025 esac
6026 for ac_exec_ext in '' $ac_executable_extensions; do
6027 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6028 ac_cv_prog_ac_ct_CPPBIN="cpp"
6029 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6030 break 2
6032 done
6033 done
6034 IFS=$as_save_IFS
6038 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6039 if test -n "$ac_ct_CPPBIN"; then
6040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6041 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6042 else
6043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6044 printf "%s\n" "no" >&6; }
6047 if test "x$ac_ct_CPPBIN" = x; then
6048 CPPBIN="cpp"
6049 else
6050 case $cross_compiling:$ac_tool_warned in
6051 yes:)
6052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6053 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6054 ac_tool_warned=yes ;;
6055 esac
6056 CPPBIN=$ac_ct_CPPBIN
6058 else
6059 CPPBIN="$ac_cv_prog_CPPBIN"
6063 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6065 if test -n "$ac_tool_prefix"; then
6066 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6067 set dummy ${ac_tool_prefix}ld; ac_word=$2
6068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6069 printf %s "checking for $ac_word... " >&6; }
6070 if test ${ac_cv_prog_LD+y}
6071 then :
6072 printf %s "(cached) " >&6
6073 else $as_nop
6074 if test -n "$LD"; then
6075 ac_cv_prog_LD="$LD" # Let the user override the test.
6076 else
6077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6078 for as_dir in $PATH
6080 IFS=$as_save_IFS
6081 case $as_dir in #(((
6082 '') as_dir=./ ;;
6083 */) ;;
6084 *) as_dir=$as_dir/ ;;
6085 esac
6086 for ac_exec_ext in '' $ac_executable_extensions; do
6087 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6088 ac_cv_prog_LD="${ac_tool_prefix}ld"
6089 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6090 break 2
6092 done
6093 done
6094 IFS=$as_save_IFS
6098 LD=$ac_cv_prog_LD
6099 if test -n "$LD"; then
6100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6101 printf "%s\n" "$LD" >&6; }
6102 else
6103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6104 printf "%s\n" "no" >&6; }
6109 if test -z "$ac_cv_prog_LD"; then
6110 ac_ct_LD=$LD
6111 # Extract the first word of "ld", so it can be a program name with args.
6112 set dummy ld; ac_word=$2
6113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6114 printf %s "checking for $ac_word... " >&6; }
6115 if test ${ac_cv_prog_ac_ct_LD+y}
6116 then :
6117 printf %s "(cached) " >&6
6118 else $as_nop
6119 if test -n "$ac_ct_LD"; then
6120 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6121 else
6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 for as_dir in $PATH
6125 IFS=$as_save_IFS
6126 case $as_dir in #(((
6127 '') as_dir=./ ;;
6128 */) ;;
6129 *) as_dir=$as_dir/ ;;
6130 esac
6131 for ac_exec_ext in '' $ac_executable_extensions; do
6132 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6133 ac_cv_prog_ac_ct_LD="ld"
6134 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6135 break 2
6137 done
6138 done
6139 IFS=$as_save_IFS
6143 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6144 if test -n "$ac_ct_LD"; then
6145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6146 printf "%s\n" "$ac_ct_LD" >&6; }
6147 else
6148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6149 printf "%s\n" "no" >&6; }
6152 if test "x$ac_ct_LD" = x; then
6153 LD=""
6154 else
6155 case $cross_compiling:$ac_tool_warned in
6156 yes:)
6157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6158 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6159 ac_tool_warned=yes ;;
6160 esac
6161 LD=$ac_ct_LD
6163 else
6164 LD="$ac_cv_prog_LD"
6168 case $host in
6169 *-darwin*)
6170 with_fontconfig=${with_fontconfig:-no}
6172 *-mingw32*|*-cygwin*)
6173 enable_win16=${enable_win16:-no}
6174 with_mingw=${with_mingw:-no}
6176 esac
6179 case $host in
6180 x86_64*|amd64*)
6181 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
6182 then
6183 CC="$CC -m32"
6184 CXX="$CXX -m32"
6186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6187 printf %s "checking whether $CC works... " >&6; }
6188 if test ${wine_cv_cc_m32+y}
6189 then :
6190 printf %s "(cached) " >&6
6191 else $as_nop
6192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6193 /* end confdefs.h. */
6196 main (void)
6200 return 0;
6202 _ACEOF
6203 if ac_fn_c_try_link "$LINENO"
6204 then :
6205 wine_cv_cc_m32=yes
6206 else $as_nop
6207 wine_cv_cc_m32=no
6209 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6210 conftest$ac_exeext conftest.$ac_ext
6212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6213 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6214 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
6215 host_cpu="i386"
6216 notice_platform="32-bit "
6217 TARGETFLAGS="$TARGETFLAGS -m32"
6218 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6219 export PKG_CONFIG_PATH
6220 enable_win16=${enable_win16:-yes}
6221 with_unwind=${with_unwind:-no}
6222 else
6223 if test "x${GCC}" = "xyes"
6224 then
6225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6226 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6227 if test ${wine_cv_builtin_ms_va_list+y}
6228 then :
6229 printf %s "(cached) " >&6
6230 else $as_nop
6231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6232 /* end confdefs.h. */
6233 #include <stdarg.h>
6235 main (void)
6237 void func(__builtin_ms_va_list *args);
6239 return 0;
6241 _ACEOF
6242 if ac_fn_c_try_compile "$LINENO"
6243 then :
6244 wine_cv_builtin_ms_va_list=yes
6245 else $as_nop
6246 wine_cv_builtin_ms_va_list=no
6248 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6251 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6252 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
6254 CC="$CC -m64"
6255 CXX="$CXX -m64"
6256 host_cpu="x86_64"
6257 notice_platform="64-bit "
6258 TARGETFLAGS="$TARGETFLAGS -m64"
6259 enable_wow64=${enable_wow64:-yes}
6260 enable_wow64win=${enable_wow64win:-yes}
6261 enable_wow64cpu=${enable_wow64cpu:-yes}
6264 arm*)
6265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6266 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6267 if test ${wine_cv_thumb2+y}
6268 then :
6269 printf %s "(cached) " >&6
6270 else $as_nop
6271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6272 /* end confdefs.h. */
6275 main (void)
6277 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6279 return 0;
6281 _ACEOF
6282 if ac_fn_c_try_link "$LINENO"
6283 then :
6284 wine_cv_thumb2=yes
6285 else $as_nop
6286 wine_cv_thumb2=no
6288 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6289 conftest$ac_exeext conftest.$ac_ext
6291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6292 printf "%s\n" "$wine_cv_thumb2" >&6; }
6293 if test x"$wine_cv_thumb2" = xyes
6294 then
6295 CFLAGS="$CFLAGS -mthumb"
6296 TARGETFLAGS="$TARGETFLAGS -mthumb"
6297 else
6298 CFLAGS="$CFLAGS -marm"
6299 TARGETFLAGS="$TARGETFLAGS -marm"
6301 case $with_float_abi in
6302 soft|softfp|hard)
6303 float_abi=$with_float_abi ;;
6305 case $host_os in
6306 *eabihf)
6307 float_abi=hard ;;
6309 float_abi=softfp
6310 saved_CFLAGS=$CFLAGS
6311 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6313 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6314 if test ${wine_cv_float_abi+y}
6315 then :
6316 printf %s "(cached) " >&6
6317 else $as_nop
6318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6319 /* end confdefs.h. */
6322 main (void)
6324 asm("vmrs r2,fpscr");
6326 return 0;
6328 _ACEOF
6329 if ac_fn_c_try_link "$LINENO"
6330 then :
6331 wine_cv_float_abi=yes
6332 else $as_nop
6333 wine_cv_float_abi=no
6335 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6336 conftest$ac_exeext conftest.$ac_ext
6338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6339 printf "%s\n" "$wine_cv_float_abi" >&6; }
6340 if test $wine_cv_float_abi = no
6341 then
6342 float_abi=soft
6343 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6345 CFLAGS=$saved_CFLAGS
6346 esac
6348 esac
6349 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6350 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6352 aarch64*)
6353 enable_wow64=${enable_wow64:-yes}
6354 enable_wow64win=${enable_wow64win:-yes}
6356 i[3456789]86*)
6357 enable_win16=${enable_win16:-yes}
6358 with_unwind=${with_unwind:-no}
6360 esac
6362 enable_win16=${enable_win16:-no}
6363 enable_win64=${enable_win64:-no}
6364 enable_wow64=${enable_wow64:-no}
6365 enable_wow64win=${enable_wow64win:-no}
6366 enable_wow64cpu=${enable_wow64cpu:-no}
6368 enable_winetest=${enable_winetest:-$enable_tests}
6370 if test "x$enable_win64" = "xyes"
6371 then
6372 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6373 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6376 case $build_os in
6377 cygwin*|mingw32*) toolsext=".exe"
6379 *) toolsext=""
6381 esac
6383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6384 printf %s "checking for the directory containing the Wine tools... " >&6; }
6385 if test ${wine_cv_toolsdir+y}
6386 then :
6387 printf %s "(cached) " >&6
6388 else $as_nop
6389 wine_cv_toolsdir="$with_wine_tools"
6390 if test -z "$with_wine_tools"; then
6391 if test "$cross_compiling" = "yes"; then
6392 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6393 elif test -n "$with_wine64"; then
6394 wine_cv_toolsdir="$with_wine64"
6398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6399 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6400 if test -z "$wine_cv_toolsdir"; then
6401 wine_makedep=tools/makedep$toolsext
6402 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6403 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6404 enable_tools=${enable_tools:-no}
6405 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6406 else
6407 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6409 toolsdir=$wine_cv_toolsdir
6411 MAKEDEP=$wine_makedep
6413 RUNTESTFLAGS="-q -P wine"
6415 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'"
6418 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6419 then
6420 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6423 for ac_prog in flex
6425 # Extract the first word of "$ac_prog", so it can be a program name with args.
6426 set dummy $ac_prog; ac_word=$2
6427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6428 printf %s "checking for $ac_word... " >&6; }
6429 if test ${ac_cv_prog_FLEX+y}
6430 then :
6431 printf %s "(cached) " >&6
6432 else $as_nop
6433 if test -n "$FLEX"; then
6434 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6435 else
6436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6437 for as_dir in $PATH
6439 IFS=$as_save_IFS
6440 case $as_dir in #(((
6441 '') as_dir=./ ;;
6442 */) ;;
6443 *) as_dir=$as_dir/ ;;
6444 esac
6445 for ac_exec_ext in '' $ac_executable_extensions; do
6446 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6447 ac_cv_prog_FLEX="$ac_prog"
6448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6449 break 2
6451 done
6452 done
6453 IFS=$as_save_IFS
6457 FLEX=$ac_cv_prog_FLEX
6458 if test -n "$FLEX"; then
6459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6460 printf "%s\n" "$FLEX" >&6; }
6461 else
6462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6463 printf "%s\n" "no" >&6; }
6467 test -n "$FLEX" && break
6468 done
6469 test -n "$FLEX" || FLEX="none"
6471 if test "$FLEX" = "none"
6472 then
6473 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6476 printf %s "checking whether flex is recent enough... " >&6; }
6477 if test ${wine_cv_recent_flex+y}
6478 then :
6479 printf %s "(cached) " >&6
6480 else $as_nop
6481 cat >conftest.l <<EOF
6482 %top{
6483 #include "prediluvian.h"
6487 if $FLEX -t conftest.l >/dev/null 2>&5
6488 then
6489 wine_cv_recent_flex=yes
6490 else
6491 wine_cv_recent_flex=no
6494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6495 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6496 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
6498 for ac_prog in bison
6500 # Extract the first word of "$ac_prog", so it can be a program name with args.
6501 set dummy $ac_prog; ac_word=$2
6502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6503 printf %s "checking for $ac_word... " >&6; }
6504 if test ${ac_cv_prog_BISON+y}
6505 then :
6506 printf %s "(cached) " >&6
6507 else $as_nop
6508 if test -n "$BISON"; then
6509 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6510 else
6511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6512 for as_dir in $PATH
6514 IFS=$as_save_IFS
6515 case $as_dir in #(((
6516 '') as_dir=./ ;;
6517 */) ;;
6518 *) as_dir=$as_dir/ ;;
6519 esac
6520 for ac_exec_ext in '' $ac_executable_extensions; do
6521 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6522 ac_cv_prog_BISON="$ac_prog"
6523 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6524 break 2
6526 done
6527 done
6528 IFS=$as_save_IFS
6532 BISON=$ac_cv_prog_BISON
6533 if test -n "$BISON"; then
6534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6535 printf "%s\n" "$BISON" >&6; }
6536 else
6537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6538 printf "%s\n" "no" >&6; }
6542 test -n "$BISON" && break
6543 done
6544 test -n "$BISON" || BISON="none"
6546 if test "$BISON" = "none"
6547 then
6548 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6551 printf %s "checking whether bison is recent enough... " >&6; }
6552 if test ${wine_cv_recent_bison+y}
6553 then :
6554 printf %s "(cached) " >&6
6555 else $as_nop
6556 cat >conftest.y <<EOF
6557 %define parse.error verbose
6559 empty: ;
6561 if $BISON conftest.y >/dev/null 2>&5
6562 then
6563 wine_cv_recent_bison=yes
6564 else
6565 wine_cv_recent_bison=no
6568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6569 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6570 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
6572 if test -n "$ac_tool_prefix"; then
6573 for ac_prog in ar gar
6575 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6576 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6578 printf %s "checking for $ac_word... " >&6; }
6579 if test ${ac_cv_prog_AR+y}
6580 then :
6581 printf %s "(cached) " >&6
6582 else $as_nop
6583 if test -n "$AR"; then
6584 ac_cv_prog_AR="$AR" # Let the user override the test.
6585 else
6586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6587 for as_dir in $PATH
6589 IFS=$as_save_IFS
6590 case $as_dir in #(((
6591 '') as_dir=./ ;;
6592 */) ;;
6593 *) as_dir=$as_dir/ ;;
6594 esac
6595 for ac_exec_ext in '' $ac_executable_extensions; do
6596 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6597 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6598 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6599 break 2
6601 done
6602 done
6603 IFS=$as_save_IFS
6607 AR=$ac_cv_prog_AR
6608 if test -n "$AR"; then
6609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6610 printf "%s\n" "$AR" >&6; }
6611 else
6612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6613 printf "%s\n" "no" >&6; }
6617 test -n "$AR" && break
6618 done
6620 if test -z "$AR"; then
6621 ac_ct_AR=$AR
6622 for ac_prog in ar gar
6624 # Extract the first word of "$ac_prog", so it can be a program name with args.
6625 set dummy $ac_prog; ac_word=$2
6626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6627 printf %s "checking for $ac_word... " >&6; }
6628 if test ${ac_cv_prog_ac_ct_AR+y}
6629 then :
6630 printf %s "(cached) " >&6
6631 else $as_nop
6632 if test -n "$ac_ct_AR"; then
6633 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6634 else
6635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6636 for as_dir in $PATH
6638 IFS=$as_save_IFS
6639 case $as_dir in #(((
6640 '') as_dir=./ ;;
6641 */) ;;
6642 *) as_dir=$as_dir/ ;;
6643 esac
6644 for ac_exec_ext in '' $ac_executable_extensions; do
6645 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6646 ac_cv_prog_ac_ct_AR="$ac_prog"
6647 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6648 break 2
6650 done
6651 done
6652 IFS=$as_save_IFS
6656 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6657 if test -n "$ac_ct_AR"; then
6658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6659 printf "%s\n" "$ac_ct_AR" >&6; }
6660 else
6661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6662 printf "%s\n" "no" >&6; }
6666 test -n "$ac_ct_AR" && break
6667 done
6669 if test "x$ac_ct_AR" = x; then
6670 AR="ar"
6671 else
6672 case $cross_compiling:$ac_tool_warned in
6673 yes:)
6674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6675 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6676 ac_tool_warned=yes ;;
6677 esac
6678 AR=$ac_ct_AR
6682 if test -n "$ac_tool_prefix"; then
6683 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6684 set dummy ${ac_tool_prefix}strip; ac_word=$2
6685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6686 printf %s "checking for $ac_word... " >&6; }
6687 if test ${ac_cv_prog_STRIP+y}
6688 then :
6689 printf %s "(cached) " >&6
6690 else $as_nop
6691 if test -n "$STRIP"; then
6692 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6693 else
6694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6695 for as_dir in $PATH
6697 IFS=$as_save_IFS
6698 case $as_dir in #(((
6699 '') as_dir=./ ;;
6700 */) ;;
6701 *) as_dir=$as_dir/ ;;
6702 esac
6703 for ac_exec_ext in '' $ac_executable_extensions; do
6704 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6705 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6706 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6707 break 2
6709 done
6710 done
6711 IFS=$as_save_IFS
6715 STRIP=$ac_cv_prog_STRIP
6716 if test -n "$STRIP"; then
6717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6718 printf "%s\n" "$STRIP" >&6; }
6719 else
6720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6721 printf "%s\n" "no" >&6; }
6726 if test -z "$ac_cv_prog_STRIP"; then
6727 ac_ct_STRIP=$STRIP
6728 # Extract the first word of "strip", so it can be a program name with args.
6729 set dummy strip; ac_word=$2
6730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6731 printf %s "checking for $ac_word... " >&6; }
6732 if test ${ac_cv_prog_ac_ct_STRIP+y}
6733 then :
6734 printf %s "(cached) " >&6
6735 else $as_nop
6736 if test -n "$ac_ct_STRIP"; then
6737 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6738 else
6739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6740 for as_dir in $PATH
6742 IFS=$as_save_IFS
6743 case $as_dir in #(((
6744 '') as_dir=./ ;;
6745 */) ;;
6746 *) as_dir=$as_dir/ ;;
6747 esac
6748 for ac_exec_ext in '' $ac_executable_extensions; do
6749 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6750 ac_cv_prog_ac_ct_STRIP="strip"
6751 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6752 break 2
6754 done
6755 done
6756 IFS=$as_save_IFS
6760 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6761 if test -n "$ac_ct_STRIP"; then
6762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6763 printf "%s\n" "$ac_ct_STRIP" >&6; }
6764 else
6765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6766 printf "%s\n" "no" >&6; }
6769 if test "x$ac_ct_STRIP" = x; then
6770 STRIP="strip"
6771 else
6772 case $cross_compiling:$ac_tool_warned in
6773 yes:)
6774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6775 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6776 ac_tool_warned=yes ;;
6777 esac
6778 STRIP=$ac_ct_STRIP
6780 else
6781 STRIP="$ac_cv_prog_STRIP"
6784 if test -n "$ac_tool_prefix"; then
6785 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6786 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6788 printf %s "checking for $ac_word... " >&6; }
6789 if test ${ac_cv_prog_RANLIB+y}
6790 then :
6791 printf %s "(cached) " >&6
6792 else $as_nop
6793 if test -n "$RANLIB"; then
6794 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6795 else
6796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6797 for as_dir in $PATH
6799 IFS=$as_save_IFS
6800 case $as_dir in #(((
6801 '') as_dir=./ ;;
6802 */) ;;
6803 *) as_dir=$as_dir/ ;;
6804 esac
6805 for ac_exec_ext in '' $ac_executable_extensions; do
6806 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6807 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6808 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6809 break 2
6811 done
6812 done
6813 IFS=$as_save_IFS
6817 RANLIB=$ac_cv_prog_RANLIB
6818 if test -n "$RANLIB"; then
6819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6820 printf "%s\n" "$RANLIB" >&6; }
6821 else
6822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6823 printf "%s\n" "no" >&6; }
6828 if test -z "$ac_cv_prog_RANLIB"; then
6829 ac_ct_RANLIB=$RANLIB
6830 # Extract the first word of "ranlib", so it can be a program name with args.
6831 set dummy ranlib; ac_word=$2
6832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6833 printf %s "checking for $ac_word... " >&6; }
6834 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6835 then :
6836 printf %s "(cached) " >&6
6837 else $as_nop
6838 if test -n "$ac_ct_RANLIB"; then
6839 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6840 else
6841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6842 for as_dir in $PATH
6844 IFS=$as_save_IFS
6845 case $as_dir in #(((
6846 '') as_dir=./ ;;
6847 */) ;;
6848 *) as_dir=$as_dir/ ;;
6849 esac
6850 for ac_exec_ext in '' $ac_executable_extensions; do
6851 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6852 ac_cv_prog_ac_ct_RANLIB="ranlib"
6853 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6854 break 2
6856 done
6857 done
6858 IFS=$as_save_IFS
6862 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6863 if test -n "$ac_ct_RANLIB"; then
6864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6865 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6866 else
6867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6868 printf "%s\n" "no" >&6; }
6871 if test "x$ac_ct_RANLIB" = x; then
6872 RANLIB=":"
6873 else
6874 case $cross_compiling:$ac_tool_warned in
6875 yes:)
6876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6877 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6878 ac_tool_warned=yes ;;
6879 esac
6880 RANLIB=$ac_ct_RANLIB
6882 else
6883 RANLIB="$ac_cv_prog_RANLIB"
6886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6887 printf %s "checking whether ln -s works... " >&6; }
6888 LN_S=$as_ln_s
6889 if test "$LN_S" = "ln -s"; then
6890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6891 printf "%s\n" "yes" >&6; }
6892 else
6893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6894 printf "%s\n" "no, using $LN_S" >&6; }
6897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6898 printf %s "checking for grep that handles long lines and -e... " >&6; }
6899 if test ${ac_cv_path_GREP+y}
6900 then :
6901 printf %s "(cached) " >&6
6902 else $as_nop
6903 if test -z "$GREP"; then
6904 ac_path_GREP_found=false
6905 # Loop through the user's path and test for each of PROGNAME-LIST
6906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6907 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6909 IFS=$as_save_IFS
6910 case $as_dir in #(((
6911 '') as_dir=./ ;;
6912 */) ;;
6913 *) as_dir=$as_dir/ ;;
6914 esac
6915 for ac_prog in grep ggrep
6917 for ac_exec_ext in '' $ac_executable_extensions; do
6918 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6919 as_fn_executable_p "$ac_path_GREP" || continue
6920 # Check for GNU ac_path_GREP and select it if it is found.
6921 # Check for GNU $ac_path_GREP
6922 case `"$ac_path_GREP" --version 2>&1` in
6923 *GNU*)
6924 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6926 ac_count=0
6927 printf %s 0123456789 >"conftest.in"
6928 while :
6930 cat "conftest.in" "conftest.in" >"conftest.tmp"
6931 mv "conftest.tmp" "conftest.in"
6932 cp "conftest.in" "conftest.nl"
6933 printf "%s\n" 'GREP' >> "conftest.nl"
6934 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6935 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6936 as_fn_arith $ac_count + 1 && ac_count=$as_val
6937 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6938 # Best one so far, save it but keep looking for a better one
6939 ac_cv_path_GREP="$ac_path_GREP"
6940 ac_path_GREP_max=$ac_count
6942 # 10*(2^10) chars as input seems more than enough
6943 test $ac_count -gt 10 && break
6944 done
6945 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6946 esac
6948 $ac_path_GREP_found && break 3
6949 done
6950 done
6951 done
6952 IFS=$as_save_IFS
6953 if test -z "$ac_cv_path_GREP"; then
6954 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6956 else
6957 ac_cv_path_GREP=$GREP
6961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6962 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6963 GREP="$ac_cv_path_GREP"
6966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6967 printf %s "checking for egrep... " >&6; }
6968 if test ${ac_cv_path_EGREP+y}
6969 then :
6970 printf %s "(cached) " >&6
6971 else $as_nop
6972 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6973 then ac_cv_path_EGREP="$GREP -E"
6974 else
6975 if test -z "$EGREP"; then
6976 ac_path_EGREP_found=false
6977 # Loop through the user's path and test for each of PROGNAME-LIST
6978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6979 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6981 IFS=$as_save_IFS
6982 case $as_dir in #(((
6983 '') as_dir=./ ;;
6984 */) ;;
6985 *) as_dir=$as_dir/ ;;
6986 esac
6987 for ac_prog in egrep
6989 for ac_exec_ext in '' $ac_executable_extensions; do
6990 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
6991 as_fn_executable_p "$ac_path_EGREP" || continue
6992 # Check for GNU ac_path_EGREP and select it if it is found.
6993 # Check for GNU $ac_path_EGREP
6994 case `"$ac_path_EGREP" --version 2>&1` in
6995 *GNU*)
6996 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6998 ac_count=0
6999 printf %s 0123456789 >"conftest.in"
7000 while :
7002 cat "conftest.in" "conftest.in" >"conftest.tmp"
7003 mv "conftest.tmp" "conftest.in"
7004 cp "conftest.in" "conftest.nl"
7005 printf "%s\n" 'EGREP' >> "conftest.nl"
7006 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7007 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7008 as_fn_arith $ac_count + 1 && ac_count=$as_val
7009 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7010 # Best one so far, save it but keep looking for a better one
7011 ac_cv_path_EGREP="$ac_path_EGREP"
7012 ac_path_EGREP_max=$ac_count
7014 # 10*(2^10) chars as input seems more than enough
7015 test $ac_count -gt 10 && break
7016 done
7017 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7018 esac
7020 $ac_path_EGREP_found && break 3
7021 done
7022 done
7023 done
7024 IFS=$as_save_IFS
7025 if test -z "$ac_cv_path_EGREP"; then
7026 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7028 else
7029 ac_cv_path_EGREP=$EGREP
7034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7035 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7036 EGREP="$ac_cv_path_EGREP"
7039 # Extract the first word of "ldconfig", so it can be a program name with args.
7040 set dummy ldconfig; ac_word=$2
7041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7042 printf %s "checking for $ac_word... " >&6; }
7043 if test ${ac_cv_path_LDCONFIG+y}
7044 then :
7045 printf %s "(cached) " >&6
7046 else $as_nop
7047 case $LDCONFIG in
7048 [\\/]* | ?:[\\/]*)
7049 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7053 for as_dir in /sbin /usr/sbin $PATH
7055 IFS=$as_save_IFS
7056 case $as_dir in #(((
7057 '') as_dir=./ ;;
7058 */) ;;
7059 *) as_dir=$as_dir/ ;;
7060 esac
7061 for ac_exec_ext in '' $ac_executable_extensions; do
7062 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7063 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7064 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7065 break 2
7067 done
7068 done
7069 IFS=$as_save_IFS
7071 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7073 esac
7075 LDCONFIG=$ac_cv_path_LDCONFIG
7076 if test -n "$LDCONFIG"; then
7077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7078 printf "%s\n" "$LDCONFIG" >&6; }
7079 else
7080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7081 printf "%s\n" "no" >&6; }
7085 for ac_prog in msgfmt
7087 # Extract the first word of "$ac_prog", so it can be a program name with args.
7088 set dummy $ac_prog; ac_word=$2
7089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7090 printf %s "checking for $ac_word... " >&6; }
7091 if test ${ac_cv_prog_MSGFMT+y}
7092 then :
7093 printf %s "(cached) " >&6
7094 else $as_nop
7095 if test -n "$MSGFMT"; then
7096 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7097 else
7098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7099 for as_dir in $PATH
7101 IFS=$as_save_IFS
7102 case $as_dir in #(((
7103 '') as_dir=./ ;;
7104 */) ;;
7105 *) as_dir=$as_dir/ ;;
7106 esac
7107 for ac_exec_ext in '' $ac_executable_extensions; do
7108 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7109 ac_cv_prog_MSGFMT="$ac_prog"
7110 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7111 break 2
7113 done
7114 done
7115 IFS=$as_save_IFS
7119 MSGFMT=$ac_cv_prog_MSGFMT
7120 if test -n "$MSGFMT"; then
7121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7122 printf "%s\n" "$MSGFMT" >&6; }
7123 else
7124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7125 printf "%s\n" "no" >&6; }
7129 test -n "$MSGFMT" && break
7130 done
7131 test -n "$MSGFMT" || MSGFMT="false"
7133 if test ${ac_tool_prefix+y}
7134 then :
7135 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7136 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7138 printf %s "checking for $ac_word... " >&6; }
7139 if test ${ac_cv_prog_PKG_CONFIG+y}
7140 then :
7141 printf %s "(cached) " >&6
7142 else $as_nop
7143 if test -n "$PKG_CONFIG"; then
7144 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7145 else
7146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7147 for as_dir in $PATH
7149 IFS=$as_save_IFS
7150 case $as_dir in #(((
7151 '') as_dir=./ ;;
7152 */) ;;
7153 *) as_dir=$as_dir/ ;;
7154 esac
7155 for ac_exec_ext in '' $ac_executable_extensions; do
7156 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7157 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7158 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7159 break 2
7161 done
7162 done
7163 IFS=$as_save_IFS
7167 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7168 if test -n "$PKG_CONFIG"; then
7169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7170 printf "%s\n" "$PKG_CONFIG" >&6; }
7171 else
7172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7173 printf "%s\n" "no" >&6; }
7178 if ${ac_cv_prog_PKG_CONFIG:+false} :
7179 then :
7180 if test "x$cross_compiling" = xyes
7181 then :
7183 else $as_nop
7184 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7185 # Extract the first word of "pkg-config", so it can be a program name with args.
7186 set dummy pkg-config; ac_word=$2
7187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7188 printf %s "checking for $ac_word... " >&6; }
7189 if test ${ac_cv_prog_PKG_CONFIG+y}
7190 then :
7191 printf %s "(cached) " >&6
7192 else $as_nop
7193 if test -n "$PKG_CONFIG"; then
7194 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7195 else
7196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7197 for as_dir in $PATH
7199 IFS=$as_save_IFS
7200 case $as_dir in #(((
7201 '') as_dir=./ ;;
7202 */) ;;
7203 *) as_dir=$as_dir/ ;;
7204 esac
7205 for ac_exec_ext in '' $ac_executable_extensions; do
7206 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7207 ac_cv_prog_PKG_CONFIG="pkg-config"
7208 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7209 break 2
7211 done
7212 done
7213 IFS=$as_save_IFS
7217 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7218 if test -n "$PKG_CONFIG"; then
7219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7220 printf "%s\n" "$PKG_CONFIG" >&6; }
7221 else
7222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7223 printf "%s\n" "no" >&6; }
7228 else $as_nop
7229 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7232 if test "x$enable_maintainer_mode" != "xyes"
7233 then
7234 FONTFORGE=""
7235 RSVG=""
7236 CONVERT=""
7237 ICOTOOL=""
7238 else
7239 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7240 for ac_prog in fontforge
7242 # Extract the first word of "$ac_prog", so it can be a program name with args.
7243 set dummy $ac_prog; ac_word=$2
7244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7245 printf %s "checking for $ac_word... " >&6; }
7246 if test ${ac_cv_prog_FONTFORGE+y}
7247 then :
7248 printf %s "(cached) " >&6
7249 else $as_nop
7250 if test -n "$FONTFORGE"; then
7251 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7252 else
7253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7254 for as_dir in $PATH
7256 IFS=$as_save_IFS
7257 case $as_dir in #(((
7258 '') as_dir=./ ;;
7259 */) ;;
7260 *) as_dir=$as_dir/ ;;
7261 esac
7262 for ac_exec_ext in '' $ac_executable_extensions; do
7263 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7264 ac_cv_prog_FONTFORGE="$ac_prog"
7265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7266 break 2
7268 done
7269 done
7270 IFS=$as_save_IFS
7274 FONTFORGE=$ac_cv_prog_FONTFORGE
7275 if test -n "$FONTFORGE"; then
7276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7277 printf "%s\n" "$FONTFORGE" >&6; }
7278 else
7279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7280 printf "%s\n" "no" >&6; }
7284 test -n "$FONTFORGE" && break
7285 done
7286 test -n "$FONTFORGE" || FONTFORGE="false"
7288 for ac_prog in rsvg-convert rsvg
7290 # Extract the first word of "$ac_prog", so it can be a program name with args.
7291 set dummy $ac_prog; ac_word=$2
7292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7293 printf %s "checking for $ac_word... " >&6; }
7294 if test ${ac_cv_prog_RSVG+y}
7295 then :
7296 printf %s "(cached) " >&6
7297 else $as_nop
7298 if test -n "$RSVG"; then
7299 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7300 else
7301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7302 for as_dir in $PATH
7304 IFS=$as_save_IFS
7305 case $as_dir in #(((
7306 '') as_dir=./ ;;
7307 */) ;;
7308 *) as_dir=$as_dir/ ;;
7309 esac
7310 for ac_exec_ext in '' $ac_executable_extensions; do
7311 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7312 ac_cv_prog_RSVG="$ac_prog"
7313 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7314 break 2
7316 done
7317 done
7318 IFS=$as_save_IFS
7322 RSVG=$ac_cv_prog_RSVG
7323 if test -n "$RSVG"; then
7324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7325 printf "%s\n" "$RSVG" >&6; }
7326 else
7327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7328 printf "%s\n" "no" >&6; }
7332 test -n "$RSVG" && break
7333 done
7334 test -n "$RSVG" || RSVG="false"
7336 for ac_prog in convert
7338 # Extract the first word of "$ac_prog", so it can be a program name with args.
7339 set dummy $ac_prog; ac_word=$2
7340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7341 printf %s "checking for $ac_word... " >&6; }
7342 if test ${ac_cv_prog_CONVERT+y}
7343 then :
7344 printf %s "(cached) " >&6
7345 else $as_nop
7346 if test -n "$CONVERT"; then
7347 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7348 else
7349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7350 for as_dir in $PATH
7352 IFS=$as_save_IFS
7353 case $as_dir in #(((
7354 '') as_dir=./ ;;
7355 */) ;;
7356 *) as_dir=$as_dir/ ;;
7357 esac
7358 for ac_exec_ext in '' $ac_executable_extensions; do
7359 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7360 ac_cv_prog_CONVERT="$ac_prog"
7361 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7362 break 2
7364 done
7365 done
7366 IFS=$as_save_IFS
7370 CONVERT=$ac_cv_prog_CONVERT
7371 if test -n "$CONVERT"; then
7372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7373 printf "%s\n" "$CONVERT" >&6; }
7374 else
7375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7376 printf "%s\n" "no" >&6; }
7380 test -n "$CONVERT" && break
7381 done
7382 test -n "$CONVERT" || CONVERT="false"
7384 for ac_prog in icotool
7386 # Extract the first word of "$ac_prog", so it can be a program name with args.
7387 set dummy $ac_prog; ac_word=$2
7388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7389 printf %s "checking for $ac_word... " >&6; }
7390 if test ${ac_cv_prog_ICOTOOL+y}
7391 then :
7392 printf %s "(cached) " >&6
7393 else $as_nop
7394 if test -n "$ICOTOOL"; then
7395 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7396 else
7397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7398 for as_dir in $PATH
7400 IFS=$as_save_IFS
7401 case $as_dir in #(((
7402 '') as_dir=./ ;;
7403 */) ;;
7404 *) as_dir=$as_dir/ ;;
7405 esac
7406 for ac_exec_ext in '' $ac_executable_extensions; do
7407 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7408 ac_cv_prog_ICOTOOL="$ac_prog"
7409 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7410 break 2
7412 done
7413 done
7414 IFS=$as_save_IFS
7418 ICOTOOL=$ac_cv_prog_ICOTOOL
7419 if test -n "$ICOTOOL"; then
7420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7421 printf "%s\n" "$ICOTOOL" >&6; }
7422 else
7423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7424 printf "%s\n" "no" >&6; }
7428 test -n "$ICOTOOL" && break
7429 done
7430 test -n "$ICOTOOL" || ICOTOOL="false"
7432 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7433 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7435 if test "$CONVERT" = false
7436 then
7437 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7438 else
7439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7440 printf %s "checking for recent enough imagemagick... " >&6; }
7441 convert_version=`convert --version | head -n1`
7442 if test "x$convert_version" != "x"
7443 then
7444 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7445 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7446 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7447 then
7448 CONVERT=false
7451 if test "$CONVERT" = false
7452 then
7453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7454 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7455 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7456 else
7457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7458 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7462 if test "$ICOTOOL" = false
7463 then
7464 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7465 else
7466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7467 printf %s "checking for recent enough icotool... " >&6; }
7468 icotool_version=`icotool --version | head -n1`
7469 if test "x$icotool_version" != "x"
7470 then
7471 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7472 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7473 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7474 then
7475 ICOTOOL=false
7476 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7479 if test "$ICOTOOL" = false
7480 then
7481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7482 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7483 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7484 else
7485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7486 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7490 with_gettext=yes
7491 with_gettextpo=yes
7493 enable_werror=yes
7496 test "x$with_gettext" != xno || MSGFMT=false
7497 if test "$MSGFMT" != "false"
7498 then
7499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7500 printf %s "checking whether msgfmt supports contexts... " >&6; }
7501 if test ${wine_cv_msgfmt_contexts+y}
7502 then :
7503 printf %s "(cached) " >&6
7504 else $as_nop
7505 cat >conftest.po <<EOF
7506 # comment
7507 msgctxt "ctxt"
7508 msgid "id"
7509 msgstr "str"
7511 if $MSGFMT -o /dev/null conftest.po 2>&5
7512 then
7513 wine_cv_msgfmt_contexts=yes
7514 else
7515 wine_cv_msgfmt_contexts=no
7518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7519 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7520 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7522 if test "$MSGFMT" = false
7523 then :
7524 case "x$with_gettext" in
7525 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7526 xno) ;;
7527 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7528 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7529 esac
7530 enable_po=${enable_po:-no}
7534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7535 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7536 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7537 then :
7538 printf %s "(cached) " >&6
7539 else $as_nop
7540 ac_check_lib_save_LIBS=$LIBS
7541 LIBS="-li386 $LIBS"
7542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7543 /* end confdefs.h. */
7545 /* Override any GCC internal prototype to avoid an error.
7546 Use char because int might match the return type of a GCC
7547 builtin and then its argument prototype would still apply. */
7548 char i386_set_ldt ();
7550 main (void)
7552 return i386_set_ldt ();
7554 return 0;
7556 _ACEOF
7557 if ac_fn_c_try_link "$LINENO"
7558 then :
7559 ac_cv_lib_i386_i386_set_ldt=yes
7560 else $as_nop
7561 ac_cv_lib_i386_i386_set_ldt=no
7563 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7564 conftest$ac_exeext conftest.$ac_ext
7565 LIBS=$ac_check_lib_save_LIBS
7567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7568 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7569 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7570 then :
7571 I386_LIBS="-li386"
7576 OPENGL_LIBS=""
7580 # Check whether --enable-largefile was given.
7581 if test ${enable_largefile+y}
7582 then :
7583 enableval=$enable_largefile;
7586 if test "$enable_largefile" != no; then
7588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7589 printf %s "checking for special C compiler options needed for large files... " >&6; }
7590 if test ${ac_cv_sys_largefile_CC+y}
7591 then :
7592 printf %s "(cached) " >&6
7593 else $as_nop
7594 ac_cv_sys_largefile_CC=no
7595 if test "$GCC" != yes; then
7596 ac_save_CC=$CC
7597 while :; do
7598 # IRIX 6.2 and later do not support large files by default,
7599 # so use the C compiler's -n32 option if that helps.
7600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7601 /* end confdefs.h. */
7602 #include <sys/types.h>
7603 /* Check that off_t can represent 2**63 - 1 correctly.
7604 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7605 since some C++ compilers masquerading as C compilers
7606 incorrectly reject 9223372036854775807. */
7607 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7608 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7609 && LARGE_OFF_T % 2147483647 == 1)
7610 ? 1 : -1];
7612 main (void)
7616 return 0;
7618 _ACEOF
7619 if ac_fn_c_try_compile "$LINENO"
7620 then :
7621 break
7623 rm -f core conftest.err conftest.$ac_objext conftest.beam
7624 CC="$CC -n32"
7625 if ac_fn_c_try_compile "$LINENO"
7626 then :
7627 ac_cv_sys_largefile_CC=' -n32'; break
7629 rm -f core conftest.err conftest.$ac_objext conftest.beam
7630 break
7631 done
7632 CC=$ac_save_CC
7633 rm -f conftest.$ac_ext
7636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7637 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7638 if test "$ac_cv_sys_largefile_CC" != no; then
7639 CC=$CC$ac_cv_sys_largefile_CC
7642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7643 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7644 if test ${ac_cv_sys_file_offset_bits+y}
7645 then :
7646 printf %s "(cached) " >&6
7647 else $as_nop
7648 while :; do
7649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7650 /* end confdefs.h. */
7651 #include <sys/types.h>
7652 /* Check that off_t can represent 2**63 - 1 correctly.
7653 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7654 since some C++ compilers masquerading as C compilers
7655 incorrectly reject 9223372036854775807. */
7656 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7657 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7658 && LARGE_OFF_T % 2147483647 == 1)
7659 ? 1 : -1];
7661 main (void)
7665 return 0;
7667 _ACEOF
7668 if ac_fn_c_try_compile "$LINENO"
7669 then :
7670 ac_cv_sys_file_offset_bits=no; break
7672 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7674 /* end confdefs.h. */
7675 #define _FILE_OFFSET_BITS 64
7676 #include <sys/types.h>
7677 /* Check that off_t can represent 2**63 - 1 correctly.
7678 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7679 since some C++ compilers masquerading as C compilers
7680 incorrectly reject 9223372036854775807. */
7681 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7682 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7683 && LARGE_OFF_T % 2147483647 == 1)
7684 ? 1 : -1];
7686 main (void)
7690 return 0;
7692 _ACEOF
7693 if ac_fn_c_try_compile "$LINENO"
7694 then :
7695 ac_cv_sys_file_offset_bits=64; break
7697 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7698 ac_cv_sys_file_offset_bits=unknown
7699 break
7700 done
7702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7703 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7704 case $ac_cv_sys_file_offset_bits in #(
7705 no | unknown) ;;
7707 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7709 esac
7710 rm -rf conftest*
7711 if test $ac_cv_sys_file_offset_bits = unknown; then
7712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7713 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7714 if test ${ac_cv_sys_large_files+y}
7715 then :
7716 printf %s "(cached) " >&6
7717 else $as_nop
7718 while :; do
7719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7720 /* end confdefs.h. */
7721 #include <sys/types.h>
7722 /* Check that off_t can represent 2**63 - 1 correctly.
7723 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7724 since some C++ compilers masquerading as C compilers
7725 incorrectly reject 9223372036854775807. */
7726 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7727 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7728 && LARGE_OFF_T % 2147483647 == 1)
7729 ? 1 : -1];
7731 main (void)
7735 return 0;
7737 _ACEOF
7738 if ac_fn_c_try_compile "$LINENO"
7739 then :
7740 ac_cv_sys_large_files=no; break
7742 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7744 /* end confdefs.h. */
7745 #define _LARGE_FILES 1
7746 #include <sys/types.h>
7747 /* Check that off_t can represent 2**63 - 1 correctly.
7748 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7749 since some C++ compilers masquerading as C compilers
7750 incorrectly reject 9223372036854775807. */
7751 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7752 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7753 && LARGE_OFF_T % 2147483647 == 1)
7754 ? 1 : -1];
7756 main (void)
7760 return 0;
7762 _ACEOF
7763 if ac_fn_c_try_compile "$LINENO"
7764 then :
7765 ac_cv_sys_large_files=1; break
7767 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7768 ac_cv_sys_large_files=unknown
7769 break
7770 done
7772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7773 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7774 case $ac_cv_sys_large_files in #(
7775 no | unknown) ;;
7777 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7779 esac
7780 rm -rf conftest*
7785 ac_header= ac_cache=
7786 for ac_item in $ac_header_c_list
7788 if test $ac_cache; then
7789 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7790 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7791 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7793 ac_header= ac_cache=
7794 elif test $ac_header; then
7795 ac_cache=$ac_item
7796 else
7797 ac_header=$ac_item
7799 done
7808 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7809 then :
7811 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7814 ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
7815 if test "x$ac_cv_header_AL_al_h" = xyes
7816 then :
7817 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
7820 ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
7821 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
7822 then :
7823 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
7826 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7827 if test "x$ac_cv_header_CL_cl_h" = xyes
7828 then :
7829 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7832 ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
7833 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
7834 then :
7835 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
7838 ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
7839 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
7840 then :
7841 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
7844 ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
7845 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
7846 then :
7847 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
7850 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7851 if test "x$ac_cv_header_EGL_egl_h" = xyes
7852 then :
7853 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7856 ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
7857 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
7858 then :
7859 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
7862 ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
7863 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
7864 then :
7865 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
7868 ac_fn_c_check_header_compile "$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
7869 if test "x$ac_cv_header_OpenAL_al_h" = xyes
7870 then :
7871 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
7874 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7875 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7876 then :
7877 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7880 ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
7881 if test "x$ac_cv_header_Security_Security_h" = xyes
7882 then :
7883 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
7886 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
7887 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
7888 then :
7889 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
7892 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
7893 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
7894 then :
7895 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
7898 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7899 if test "x$ac_cv_header_arpa_inet_h" = xyes
7900 then :
7901 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7904 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7905 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7906 then :
7907 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7910 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7911 if test "x$ac_cv_header_asm_types_h" = xyes
7912 then :
7913 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7916 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7917 if test "x$ac_cv_header_asm_user_h" = xyes
7918 then :
7919 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7922 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7923 if test "x$ac_cv_header_elf_h" = xyes
7924 then :
7925 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7928 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7929 if test "x$ac_cv_header_float_h" = xyes
7930 then :
7931 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7934 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7935 if test "x$ac_cv_header_gettext_po_h" = xyes
7936 then :
7937 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7940 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7941 if test "x$ac_cv_header_libproc_h" = xyes
7942 then :
7943 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7946 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7947 if test "x$ac_cv_header_link_h" = xyes
7948 then :
7949 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7952 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7953 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7954 then :
7955 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7958 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7959 if test "x$ac_cv_header_linux_filter_h" = xyes
7960 then :
7961 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7964 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7965 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7966 then :
7967 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7970 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7971 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7972 then :
7973 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7976 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7977 if test "x$ac_cv_header_linux_input_h" = xyes
7978 then :
7979 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7982 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7983 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7984 then :
7985 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7988 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7989 if test "x$ac_cv_header_linux_major_h" = xyes
7990 then :
7991 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7994 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7995 if test "x$ac_cv_header_linux_param_h" = xyes
7996 then :
7997 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8000 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8001 if test "x$ac_cv_header_linux_serial_h" = xyes
8002 then :
8003 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8006 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8007 if test "x$ac_cv_header_linux_types_h" = xyes
8008 then :
8009 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8012 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8013 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8014 then :
8015 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8018 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8019 if test "x$ac_cv_header_lwp_h" = xyes
8020 then :
8021 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8024 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8025 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8026 then :
8027 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8030 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8031 if test "x$ac_cv_header_mach_mach_h" = xyes
8032 then :
8033 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8036 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8037 if test "x$ac_cv_header_machine_cpu_h" = xyes
8038 then :
8039 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8042 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8043 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8044 then :
8045 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8048 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8049 if test "x$ac_cv_header_mntent_h" = xyes
8050 then :
8051 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8054 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8055 if test "x$ac_cv_header_netdb_h" = xyes
8056 then :
8057 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8060 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8061 if test "x$ac_cv_header_netinet_in_h" = xyes
8062 then :
8063 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8066 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8067 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8068 then :
8069 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8072 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8073 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8074 then :
8075 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8078 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8079 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8080 then :
8081 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8084 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8085 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8086 then :
8087 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8090 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8091 if test "x$ac_cv_header_port_h" = xyes
8092 then :
8093 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8096 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8097 if test "x$ac_cv_header_pthread_h" = xyes
8098 then :
8099 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8102 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8103 if test "x$ac_cv_header_pwd_h" = xyes
8104 then :
8105 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8108 ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8109 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8110 then :
8111 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8114 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8115 if test "x$ac_cv_header_sched_h" = xyes
8116 then :
8117 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8120 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8121 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8122 then :
8123 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8126 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8127 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8128 then :
8129 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8132 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8133 if test "x$ac_cv_header_scsi_sg_h" = xyes
8134 then :
8135 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8138 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8139 if test "x$ac_cv_header_stdint_h" = xyes
8140 then :
8141 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8144 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8145 if test "x$ac_cv_header_sys_attr_h" = xyes
8146 then :
8147 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8150 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8151 if test "x$ac_cv_header_sys_auxv_h" = xyes
8152 then :
8153 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8156 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8157 if test "x$ac_cv_header_sys_cdio_h" = xyes
8158 then :
8159 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8162 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8163 if test "x$ac_cv_header_sys_epoll_h" = xyes
8164 then :
8165 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8168 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8169 if test "x$ac_cv_header_sys_event_h" = xyes
8170 then :
8171 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8174 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8175 if test "x$ac_cv_header_sys_filio_h" = xyes
8176 then :
8177 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8180 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8181 if test "x$ac_cv_header_sys_ipc_h" = xyes
8182 then :
8183 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8186 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8187 if test "x$ac_cv_header_sys_link_h" = xyes
8188 then :
8189 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8192 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8193 if test "x$ac_cv_header_sys_modem_h" = xyes
8194 then :
8195 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8198 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8199 if test "x$ac_cv_header_sys_mtio_h" = xyes
8200 then :
8201 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8204 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8205 if test "x$ac_cv_header_sys_param_h" = xyes
8206 then :
8207 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8210 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8211 if test "x$ac_cv_header_sys_prctl_h" = xyes
8212 then :
8213 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8216 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8217 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8218 then :
8219 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8222 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8223 if test "x$ac_cv_header_sys_queue_h" = xyes
8224 then :
8225 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8228 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8229 if test "x$ac_cv_header_sys_random_h" = xyes
8230 then :
8231 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8234 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8235 if test "x$ac_cv_header_sys_resource_h" = xyes
8236 then :
8237 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8240 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8241 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8242 then :
8243 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8246 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8247 if test "x$ac_cv_header_sys_shm_h" = xyes
8248 then :
8249 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8252 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8253 if test "x$ac_cv_header_sys_signal_h" = xyes
8254 then :
8255 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8258 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8259 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8260 then :
8261 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8264 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8265 if test "x$ac_cv_header_sys_sockio_h" = xyes
8266 then :
8267 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8270 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8271 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8272 then :
8273 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8276 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8277 if test "x$ac_cv_header_sys_strtio_h" = xyes
8278 then :
8279 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8282 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8283 if test "x$ac_cv_header_sys_syscall_h" = xyes
8284 then :
8285 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8288 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8289 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8290 then :
8291 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8294 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8295 if test "x$ac_cv_header_sys_times_h" = xyes
8296 then :
8297 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8300 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8301 if test "x$ac_cv_header_sys_uio_h" = xyes
8302 then :
8303 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8306 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8307 if test "x$ac_cv_header_sys_user_h" = xyes
8308 then :
8309 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8312 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8313 if test "x$ac_cv_header_sys_utsname_h" = xyes
8314 then :
8315 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8318 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8319 if test "x$ac_cv_header_sys_vnode_h" = xyes
8320 then :
8321 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8324 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8325 if test "x$ac_cv_header_syscall_h" = xyes
8326 then :
8327 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8330 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8331 if test "x$ac_cv_header_utime_h" = xyes
8332 then :
8333 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8336 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8337 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8338 then :
8339 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8342 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8343 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8344 then :
8345 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8349 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8350 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8351 then :
8353 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8357 if test $ac_cv_header_sys_mkdev_h = no; then
8358 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8359 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8360 then :
8362 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8368 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8369 if test ${ac_cv_header_stat_broken+y}
8370 then :
8371 printf %s "(cached) " >&6
8372 else $as_nop
8373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8374 /* end confdefs.h. */
8375 #include <sys/types.h>
8376 #include <sys/stat.h>
8378 #if defined S_ISBLK && defined S_IFDIR
8379 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8380 #endif
8382 #if defined S_ISBLK && defined S_IFCHR
8383 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8384 #endif
8386 #if defined S_ISLNK && defined S_IFREG
8387 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8388 #endif
8390 #if defined S_ISSOCK && defined S_IFREG
8391 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8392 #endif
8394 _ACEOF
8395 if ac_fn_c_try_compile "$LINENO"
8396 then :
8397 ac_cv_header_stat_broken=no
8398 else $as_nop
8399 ac_cv_header_stat_broken=yes
8401 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8404 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8405 if test $ac_cv_header_stat_broken = yes; then
8407 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8413 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8414 #ifdef HAVE_SYS_PARAM_H
8415 # include <sys/param.h>
8416 #endif
8418 if test "x$ac_cv_header_sys_conf_h" = xyes
8419 then :
8420 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8423 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8424 #ifdef HAVE_SYS_PARAM_H
8425 # include <sys/param.h>
8426 #endif
8428 if test "x$ac_cv_header_sys_mount_h" = xyes
8429 then :
8430 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8433 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8434 #ifdef HAVE_SYS_PARAM_H
8435 # include <sys/param.h>
8436 #endif
8438 if test "x$ac_cv_header_sys_statfs_h" = xyes
8439 then :
8440 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8443 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8444 #ifdef HAVE_SYS_PARAM_H
8445 # include <sys/param.h>
8446 #endif
8448 if test "x$ac_cv_header_sys_user_h" = xyes
8449 then :
8450 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8453 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8454 #ifdef HAVE_SYS_PARAM_H
8455 # include <sys/param.h>
8456 #endif
8458 if test "x$ac_cv_header_sys_vfs_h" = xyes
8459 then :
8460 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8465 saved_sysctl_h_CFLAGS=$CFLAGS
8466 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8467 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8468 #ifdef HAVE_SYS_PARAM_H
8469 # include <sys/param.h>
8470 #endif
8472 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8473 then :
8474 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8478 CFLAGS=$saved_sysctl_h_CFLAGS
8480 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8481 #include <sys/socket.h>
8482 #ifdef HAVE_SYS_SOCKETVAR_H
8483 # include <sys/socketvar.h>
8484 #endif
8485 #ifdef HAVE_NET_ROUTE_H
8486 # include <net/route.h>
8487 #endif
8488 #ifdef HAVE_NETINET_IN_H
8489 # include <netinet/in.h>
8490 #endif
8491 #ifdef HAVE_NETINET_IN_SYSTM_H
8492 # include <netinet/in_systm.h>
8493 #endif
8494 #ifdef HAVE_NET_IF_H
8495 # include <net/if.h>
8496 #endif
8497 #ifdef HAVE_NETINET_IP_H
8498 # include <netinet/ip.h>
8499 #endif
8501 if test "x$ac_cv_header_netinet_ip_h" = xyes
8502 then :
8503 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8506 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8507 #include <sys/socket.h>
8508 #ifdef HAVE_SYS_SOCKETVAR_H
8509 # include <sys/socketvar.h>
8510 #endif
8511 #ifdef HAVE_NET_ROUTE_H
8512 # include <net/route.h>
8513 #endif
8514 #ifdef HAVE_NETINET_IN_H
8515 # include <netinet/in.h>
8516 #endif
8517 #ifdef HAVE_NETINET_IN_SYSTM_H
8518 # include <netinet/in_systm.h>
8519 #endif
8520 #ifdef HAVE_NET_IF_H
8521 # include <net/if.h>
8522 #endif
8523 #ifdef HAVE_NETINET_IP_H
8524 # include <netinet/ip.h>
8525 #endif
8527 if test "x$ac_cv_header_net_if_h" = xyes
8528 then :
8529 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8532 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8533 #include <sys/socket.h>
8534 #ifdef HAVE_SYS_SOCKETVAR_H
8535 # include <sys/socketvar.h>
8536 #endif
8537 #ifdef HAVE_NET_ROUTE_H
8538 # include <net/route.h>
8539 #endif
8540 #ifdef HAVE_NETINET_IN_H
8541 # include <netinet/in.h>
8542 #endif
8543 #ifdef HAVE_NETINET_IN_SYSTM_H
8544 # include <netinet/in_systm.h>
8545 #endif
8546 #ifdef HAVE_NET_IF_H
8547 # include <net/if.h>
8548 #endif
8549 #ifdef HAVE_NETINET_IP_H
8550 # include <netinet/ip.h>
8551 #endif
8553 if test "x$ac_cv_header_net_if_arp_h" = xyes
8554 then :
8555 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8558 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8559 #include <sys/socket.h>
8560 #ifdef HAVE_SYS_SOCKETVAR_H
8561 # include <sys/socketvar.h>
8562 #endif
8563 #ifdef HAVE_NET_ROUTE_H
8564 # include <net/route.h>
8565 #endif
8566 #ifdef HAVE_NETINET_IN_H
8567 # include <netinet/in.h>
8568 #endif
8569 #ifdef HAVE_NETINET_IN_SYSTM_H
8570 # include <netinet/in_systm.h>
8571 #endif
8572 #ifdef HAVE_NET_IF_H
8573 # include <net/if.h>
8574 #endif
8575 #ifdef HAVE_NETINET_IP_H
8576 # include <netinet/ip.h>
8577 #endif
8579 if test "x$ac_cv_header_net_if_dl_h" = xyes
8580 then :
8581 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8584 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8585 #include <sys/socket.h>
8586 #ifdef HAVE_SYS_SOCKETVAR_H
8587 # include <sys/socketvar.h>
8588 #endif
8589 #ifdef HAVE_NET_ROUTE_H
8590 # include <net/route.h>
8591 #endif
8592 #ifdef HAVE_NETINET_IN_H
8593 # include <netinet/in.h>
8594 #endif
8595 #ifdef HAVE_NETINET_IN_SYSTM_H
8596 # include <netinet/in_systm.h>
8597 #endif
8598 #ifdef HAVE_NET_IF_H
8599 # include <net/if.h>
8600 #endif
8601 #ifdef HAVE_NETINET_IP_H
8602 # include <netinet/ip.h>
8603 #endif
8605 if test "x$ac_cv_header_net_if_types_h" = xyes
8606 then :
8607 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8610 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8611 #include <sys/socket.h>
8612 #ifdef HAVE_SYS_SOCKETVAR_H
8613 # include <sys/socketvar.h>
8614 #endif
8615 #ifdef HAVE_NET_ROUTE_H
8616 # include <net/route.h>
8617 #endif
8618 #ifdef HAVE_NETINET_IN_H
8619 # include <netinet/in.h>
8620 #endif
8621 #ifdef HAVE_NETINET_IN_SYSTM_H
8622 # include <netinet/in_systm.h>
8623 #endif
8624 #ifdef HAVE_NET_IF_H
8625 # include <net/if.h>
8626 #endif
8627 #ifdef HAVE_NETINET_IP_H
8628 # include <netinet/ip.h>
8629 #endif
8631 if test "x$ac_cv_header_net_route_h" = xyes
8632 then :
8633 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8636 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8637 #include <sys/socket.h>
8638 #ifdef HAVE_SYS_SOCKETVAR_H
8639 # include <sys/socketvar.h>
8640 #endif
8641 #ifdef HAVE_NET_ROUTE_H
8642 # include <net/route.h>
8643 #endif
8644 #ifdef HAVE_NETINET_IN_H
8645 # include <netinet/in.h>
8646 #endif
8647 #ifdef HAVE_NETINET_IN_SYSTM_H
8648 # include <netinet/in_systm.h>
8649 #endif
8650 #ifdef HAVE_NET_IF_H
8651 # include <net/if.h>
8652 #endif
8653 #ifdef HAVE_NETINET_IP_H
8654 # include <netinet/ip.h>
8655 #endif
8657 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8658 then :
8659 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8662 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8663 #include <sys/socket.h>
8664 #ifdef HAVE_SYS_SOCKETVAR_H
8665 # include <sys/socketvar.h>
8666 #endif
8667 #ifdef HAVE_NET_ROUTE_H
8668 # include <net/route.h>
8669 #endif
8670 #ifdef HAVE_NETINET_IN_H
8671 # include <netinet/in.h>
8672 #endif
8673 #ifdef HAVE_NETINET_IN_SYSTM_H
8674 # include <netinet/in_systm.h>
8675 #endif
8676 #ifdef HAVE_NET_IF_H
8677 # include <net/if.h>
8678 #endif
8679 #ifdef HAVE_NETINET_IP_H
8680 # include <netinet/ip.h>
8681 #endif
8683 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8684 then :
8685 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8688 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8689 #include <sys/socket.h>
8690 #ifdef HAVE_SYS_SOCKETVAR_H
8691 # include <sys/socketvar.h>
8692 #endif
8693 #ifdef HAVE_NET_ROUTE_H
8694 # include <net/route.h>
8695 #endif
8696 #ifdef HAVE_NETINET_IN_H
8697 # include <netinet/in.h>
8698 #endif
8699 #ifdef HAVE_NETINET_IN_SYSTM_H
8700 # include <netinet/in_systm.h>
8701 #endif
8702 #ifdef HAVE_NET_IF_H
8703 # include <net/if.h>
8704 #endif
8705 #ifdef HAVE_NETINET_IP_H
8706 # include <netinet/ip.h>
8707 #endif
8709 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8710 then :
8711 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8714 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8715 #include <sys/socket.h>
8716 #ifdef HAVE_SYS_SOCKETVAR_H
8717 # include <sys/socketvar.h>
8718 #endif
8719 #ifdef HAVE_NET_ROUTE_H
8720 # include <net/route.h>
8721 #endif
8722 #ifdef HAVE_NETINET_IN_H
8723 # include <netinet/in.h>
8724 #endif
8725 #ifdef HAVE_NETINET_IN_SYSTM_H
8726 # include <netinet/in_systm.h>
8727 #endif
8728 #ifdef HAVE_NET_IF_H
8729 # include <net/if.h>
8730 #endif
8731 #ifdef HAVE_NETINET_IP_H
8732 # include <netinet/ip.h>
8733 #endif
8735 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8736 then :
8737 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8740 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8741 #include <sys/socket.h>
8742 #ifdef HAVE_SYS_SOCKETVAR_H
8743 # include <sys/socketvar.h>
8744 #endif
8745 #ifdef HAVE_NET_ROUTE_H
8746 # include <net/route.h>
8747 #endif
8748 #ifdef HAVE_NETINET_IN_H
8749 # include <netinet/in.h>
8750 #endif
8751 #ifdef HAVE_NETINET_IN_SYSTM_H
8752 # include <netinet/in_systm.h>
8753 #endif
8754 #ifdef HAVE_NET_IF_H
8755 # include <net/if.h>
8756 #endif
8757 #ifdef HAVE_NETINET_IP_H
8758 # include <netinet/ip.h>
8759 #endif
8761 if test "x$ac_cv_header_netinet_udp_h" = xyes
8762 then :
8763 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8766 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8767 #include <sys/socket.h>
8768 #ifdef HAVE_SYS_SOCKETVAR_H
8769 # include <sys/socketvar.h>
8770 #endif
8771 #ifdef HAVE_NET_ROUTE_H
8772 # include <net/route.h>
8773 #endif
8774 #ifdef HAVE_NETINET_IN_H
8775 # include <netinet/in.h>
8776 #endif
8777 #ifdef HAVE_NETINET_IN_SYSTM_H
8778 # include <netinet/in_systm.h>
8779 #endif
8780 #ifdef HAVE_NET_IF_H
8781 # include <net/if.h>
8782 #endif
8783 #ifdef HAVE_NETINET_IP_H
8784 # include <netinet/ip.h>
8785 #endif
8787 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8788 then :
8789 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8792 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8793 #include <sys/socket.h>
8794 #ifdef HAVE_SYS_SOCKETVAR_H
8795 # include <sys/socketvar.h>
8796 #endif
8797 #ifdef HAVE_NET_ROUTE_H
8798 # include <net/route.h>
8799 #endif
8800 #ifdef HAVE_NETINET_IN_H
8801 # include <netinet/in.h>
8802 #endif
8803 #ifdef HAVE_NETINET_IN_SYSTM_H
8804 # include <netinet/in_systm.h>
8805 #endif
8806 #ifdef HAVE_NET_IF_H
8807 # include <net/if.h>
8808 #endif
8809 #ifdef HAVE_NETINET_IP_H
8810 # include <netinet/ip.h>
8811 #endif
8813 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8814 then :
8815 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8818 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8819 #include <sys/socket.h>
8820 #ifdef HAVE_SYS_SOCKETVAR_H
8821 # include <sys/socketvar.h>
8822 #endif
8823 #ifdef HAVE_NET_ROUTE_H
8824 # include <net/route.h>
8825 #endif
8826 #ifdef HAVE_NETINET_IN_H
8827 # include <netinet/in.h>
8828 #endif
8829 #ifdef HAVE_NETINET_IN_SYSTM_H
8830 # include <netinet/in_systm.h>
8831 #endif
8832 #ifdef HAVE_NET_IF_H
8833 # include <net/if.h>
8834 #endif
8835 #ifdef HAVE_NETINET_IP_H
8836 # include <netinet/ip.h>
8837 #endif
8839 if test "x$ac_cv_header_sys_un_h" = xyes
8840 then :
8841 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8846 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8847 #include <sys/socket.h>
8848 #ifdef HAVE_SYS_SOCKETVAR_H
8849 # include <sys/socketvar.h>
8850 #endif
8851 #ifdef HAVE_NETINET_IN_H
8852 # include <netinet/in.h>
8853 #endif
8854 #ifdef HAVE_NETINET_IN_SYSTM_H
8855 # include <netinet/in_systm.h>
8856 #endif
8857 #ifdef HAVE_NETINET_IP_H
8858 # include <netinet/ip.h>
8859 #endif
8860 #ifdef HAVE_NETINET_IP_VAR_H
8861 # include <netinet/ip_var.h>
8862 #endif
8863 #ifdef HAVE_NETINET_IP_ICMP_H
8864 # include <netinet/ip_icmp.h>
8865 #endif
8866 #ifdef HAVE_NETINET_UDP_H
8867 # include <netinet/udp.h>
8868 #endif
8869 #ifdef HAVE_NETINET_TCP_H
8870 # include <netinet/tcp.h>
8871 #endif
8873 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8874 then :
8875 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8878 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8879 #include <sys/socket.h>
8880 #ifdef HAVE_SYS_SOCKETVAR_H
8881 # include <sys/socketvar.h>
8882 #endif
8883 #ifdef HAVE_NETINET_IN_H
8884 # include <netinet/in.h>
8885 #endif
8886 #ifdef HAVE_NETINET_IN_SYSTM_H
8887 # include <netinet/in_systm.h>
8888 #endif
8889 #ifdef HAVE_NETINET_IP_H
8890 # include <netinet/ip.h>
8891 #endif
8892 #ifdef HAVE_NETINET_IP_VAR_H
8893 # include <netinet/ip_var.h>
8894 #endif
8895 #ifdef HAVE_NETINET_IP_ICMP_H
8896 # include <netinet/ip_icmp.h>
8897 #endif
8898 #ifdef HAVE_NETINET_UDP_H
8899 # include <netinet/udp.h>
8900 #endif
8901 #ifdef HAVE_NETINET_TCP_H
8902 # include <netinet/tcp.h>
8903 #endif
8905 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8906 then :
8907 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8910 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8911 #include <sys/socket.h>
8912 #ifdef HAVE_SYS_SOCKETVAR_H
8913 # include <sys/socketvar.h>
8914 #endif
8915 #ifdef HAVE_NETINET_IN_H
8916 # include <netinet/in.h>
8917 #endif
8918 #ifdef HAVE_NETINET_IN_SYSTM_H
8919 # include <netinet/in_systm.h>
8920 #endif
8921 #ifdef HAVE_NETINET_IP_H
8922 # include <netinet/ip.h>
8923 #endif
8924 #ifdef HAVE_NETINET_IP_VAR_H
8925 # include <netinet/ip_var.h>
8926 #endif
8927 #ifdef HAVE_NETINET_IP_ICMP_H
8928 # include <netinet/ip_icmp.h>
8929 #endif
8930 #ifdef HAVE_NETINET_UDP_H
8931 # include <netinet/udp.h>
8932 #endif
8933 #ifdef HAVE_NETINET_TCP_H
8934 # include <netinet/tcp.h>
8935 #endif
8937 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8938 then :
8939 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8942 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8943 #include <sys/socket.h>
8944 #ifdef HAVE_SYS_SOCKETVAR_H
8945 # include <sys/socketvar.h>
8946 #endif
8947 #ifdef HAVE_NETINET_IN_H
8948 # include <netinet/in.h>
8949 #endif
8950 #ifdef HAVE_NETINET_IN_SYSTM_H
8951 # include <netinet/in_systm.h>
8952 #endif
8953 #ifdef HAVE_NETINET_IP_H
8954 # include <netinet/ip.h>
8955 #endif
8956 #ifdef HAVE_NETINET_IP_VAR_H
8957 # include <netinet/ip_var.h>
8958 #endif
8959 #ifdef HAVE_NETINET_IP_ICMP_H
8960 # include <netinet/ip_icmp.h>
8961 #endif
8962 #ifdef HAVE_NETINET_UDP_H
8963 # include <netinet/udp.h>
8964 #endif
8965 #ifdef HAVE_NETINET_TCP_H
8966 # include <netinet/tcp.h>
8967 #endif
8969 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8970 then :
8971 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8976 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8977 #include <sys/socket.h>
8978 #ifdef HAVE_ASM_TYPES_H
8979 # include <asm/types.h>
8980 #endif
8981 #ifdef HAVE_LINUX_TYPES_H
8982 # include <linux/types.h>
8983 #endif
8985 if test "x$ac_cv_header_linux_ipx_h" = xyes
8986 then :
8987 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8990 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8991 #include <sys/socket.h>
8992 #ifdef HAVE_ASM_TYPES_H
8993 # include <asm/types.h>
8994 #endif
8995 #ifdef HAVE_LINUX_TYPES_H
8996 # include <linux/types.h>
8997 #endif
8999 if test "x$ac_cv_header_linux_irda_h" = xyes
9000 then :
9001 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9004 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9005 #include <sys/socket.h>
9006 #ifdef HAVE_ASM_TYPES_H
9007 # include <asm/types.h>
9008 #endif
9009 #ifdef HAVE_LINUX_TYPES_H
9010 # include <linux/types.h>
9011 #endif
9013 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9014 then :
9015 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9020 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9021 #include <sys/socket.h>
9022 #ifdef HAVE_NETINET_IN_H
9023 # include <netinet/in.h>
9024 #endif
9025 #ifdef HAVE_ARPA_NAMESER_H
9026 # include <arpa/nameser.h>
9027 #endif
9029 if test "x$ac_cv_header_resolv_h" = xyes
9030 then :
9031 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9036 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9038 if test "x$ac_cv_header_ifaddrs_h" = xyes
9039 then :
9040 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9045 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9047 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9048 then :
9049 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9054 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9055 #ifdef HAVE_SYS_UCONTEXT_H
9056 #include <sys/ucontext.h>
9057 #endif
9059 if test "x$ac_cv_header_sys_thr_h" = xyes
9060 then :
9061 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9066 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9067 #include <pthread.h>
9068 #endif
9070 if test "x$ac_cv_header_pthread_np_h" = xyes
9071 then :
9072 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9077 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9078 #include <sys/types.h>
9079 #ifdef HAVE_ASM_TYPES_H
9080 #include <asm/types.h>
9081 #endif
9083 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9084 then :
9085 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9090 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9091 #include <sys/param.h>
9092 #endif
9093 #include <sys/socket.h>
9094 #ifdef HAVE_SYS_QUEUE_H
9095 #include <sys/queue.h>
9096 #endif
9098 if test "x$ac_cv_header_libprocstat_h" = xyes
9099 then :
9100 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9106 DLLFLAGS=""
9108 LDDLLFLAGS=""
9110 LDEXECFLAGS=""
9112 EXTRACFLAGS=""
9114 UNIXDLLFLAGS="-fPIC"
9116 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9118 TOP_INSTALL_LIB=""
9120 TOP_INSTALL_DEV=""
9122 WINELOADER_LDFLAGS=""
9124 WINEPRELOADER_LDFLAGS=""
9126 LIBEXT="so"
9127 # Extract the first word of "ldd", so it can be a program name with args.
9128 set dummy ldd; ac_word=$2
9129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9130 printf %s "checking for $ac_word... " >&6; }
9131 if test ${ac_cv_path_LDD+y}
9132 then :
9133 printf %s "(cached) " >&6
9134 else $as_nop
9135 case $LDD in
9136 [\\/]* | ?:[\\/]*)
9137 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9141 as_dummy="/sbin:/usr/sbin:$PATH"
9142 for as_dir in $as_dummy
9144 IFS=$as_save_IFS
9145 case $as_dir in #(((
9146 '') as_dir=./ ;;
9147 */) ;;
9148 *) as_dir=$as_dir/ ;;
9149 esac
9150 for ac_exec_ext in '' $ac_executable_extensions; do
9151 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9152 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9153 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9154 break 2
9156 done
9157 done
9158 IFS=$as_save_IFS
9160 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9162 esac
9164 LDD=$ac_cv_path_LDD
9165 if test -n "$LDD"; then
9166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9167 printf "%s\n" "$LDD" >&6; }
9168 else
9169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9170 printf "%s\n" "no" >&6; }
9174 if test -n "$ac_tool_prefix"; then
9175 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9176 set dummy ${ac_tool_prefix}otool; ac_word=$2
9177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9178 printf %s "checking for $ac_word... " >&6; }
9179 if test ${ac_cv_prog_OTOOL+y}
9180 then :
9181 printf %s "(cached) " >&6
9182 else $as_nop
9183 if test -n "$OTOOL"; then
9184 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9185 else
9186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9187 for as_dir in $PATH
9189 IFS=$as_save_IFS
9190 case $as_dir in #(((
9191 '') as_dir=./ ;;
9192 */) ;;
9193 *) as_dir=$as_dir/ ;;
9194 esac
9195 for ac_exec_ext in '' $ac_executable_extensions; do
9196 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9197 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9198 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9199 break 2
9201 done
9202 done
9203 IFS=$as_save_IFS
9207 OTOOL=$ac_cv_prog_OTOOL
9208 if test -n "$OTOOL"; then
9209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9210 printf "%s\n" "$OTOOL" >&6; }
9211 else
9212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9213 printf "%s\n" "no" >&6; }
9218 if test -z "$ac_cv_prog_OTOOL"; then
9219 ac_ct_OTOOL=$OTOOL
9220 # Extract the first word of "otool", so it can be a program name with args.
9221 set dummy otool; ac_word=$2
9222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9223 printf %s "checking for $ac_word... " >&6; }
9224 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9225 then :
9226 printf %s "(cached) " >&6
9227 else $as_nop
9228 if test -n "$ac_ct_OTOOL"; then
9229 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9230 else
9231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9232 for as_dir in $PATH
9234 IFS=$as_save_IFS
9235 case $as_dir in #(((
9236 '') as_dir=./ ;;
9237 */) ;;
9238 *) as_dir=$as_dir/ ;;
9239 esac
9240 for ac_exec_ext in '' $ac_executable_extensions; do
9241 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9242 ac_cv_prog_ac_ct_OTOOL="otool"
9243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9244 break 2
9246 done
9247 done
9248 IFS=$as_save_IFS
9252 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9253 if test -n "$ac_ct_OTOOL"; then
9254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9255 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9256 else
9257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9258 printf "%s\n" "no" >&6; }
9261 if test "x$ac_ct_OTOOL" = x; then
9262 OTOOL="otool"
9263 else
9264 case $cross_compiling:$ac_tool_warned in
9265 yes:)
9266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9267 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9268 ac_tool_warned=yes ;;
9269 esac
9270 OTOOL=$ac_ct_OTOOL
9272 else
9273 OTOOL="$ac_cv_prog_OTOOL"
9276 if test -n "$ac_tool_prefix"; then
9277 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9278 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9280 printf %s "checking for $ac_word... " >&6; }
9281 if test ${ac_cv_prog_READELF+y}
9282 then :
9283 printf %s "(cached) " >&6
9284 else $as_nop
9285 if test -n "$READELF"; then
9286 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9287 else
9288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9289 for as_dir in $PATH
9291 IFS=$as_save_IFS
9292 case $as_dir in #(((
9293 '') as_dir=./ ;;
9294 */) ;;
9295 *) as_dir=$as_dir/ ;;
9296 esac
9297 for ac_exec_ext in '' $ac_executable_extensions; do
9298 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9299 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9300 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9301 break 2
9303 done
9304 done
9305 IFS=$as_save_IFS
9309 READELF=$ac_cv_prog_READELF
9310 if test -n "$READELF"; then
9311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9312 printf "%s\n" "$READELF" >&6; }
9313 else
9314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9315 printf "%s\n" "no" >&6; }
9320 if test -z "$ac_cv_prog_READELF"; then
9321 ac_ct_READELF=$READELF
9322 # Extract the first word of "readelf", so it can be a program name with args.
9323 set dummy readelf; ac_word=$2
9324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9325 printf %s "checking for $ac_word... " >&6; }
9326 if test ${ac_cv_prog_ac_ct_READELF+y}
9327 then :
9328 printf %s "(cached) " >&6
9329 else $as_nop
9330 if test -n "$ac_ct_READELF"; then
9331 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9332 else
9333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9334 for as_dir in $PATH
9336 IFS=$as_save_IFS
9337 case $as_dir in #(((
9338 '') as_dir=./ ;;
9339 */) ;;
9340 *) as_dir=$as_dir/ ;;
9341 esac
9342 for ac_exec_ext in '' $ac_executable_extensions; do
9343 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9344 ac_cv_prog_ac_ct_READELF="readelf"
9345 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9346 break 2
9348 done
9349 done
9350 IFS=$as_save_IFS
9354 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9355 if test -n "$ac_ct_READELF"; then
9356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9357 printf "%s\n" "$ac_ct_READELF" >&6; }
9358 else
9359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9360 printf "%s\n" "no" >&6; }
9363 if test "x$ac_ct_READELF" = x; then
9364 READELF="true"
9365 else
9366 case $cross_compiling:$ac_tool_warned in
9367 yes:)
9368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9369 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9370 ac_tool_warned=yes ;;
9371 esac
9372 READELF=$ac_ct_READELF
9374 else
9375 READELF="$ac_cv_prog_READELF"
9378 wine_rules="all:"
9379 SUBDIRS=""
9381 DISABLED_SUBDIRS=""
9383 CONFIGURE_TARGETS=""
9386 wine_fn_append_file ()
9388 as_fn_append $1 " \\$as_nl $2"
9391 wine_fn_append_rule ()
9393 as_fn_append wine_rules "$as_nl$1"
9396 wine_fn_config_makefile ()
9398 wine_fn_append_file SUBDIRS $1
9399 if eval test \"x\$"$2"\" = x"no"
9400 then :
9401 wine_fn_append_file DISABLED_SUBDIRS $1
9405 wine_fn_config_symlink ()
9407 ac_links=$@
9408 wine_fn_append_rule \
9409 "$ac_links:
9410 @./config.status \$@"
9411 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
9414 wine_binary="wine"
9415 test "x$enable_win64" != "xyes" || wine_binary="wine64"
9416 WINELOADER_PROGRAMS="$wine_binary"
9418 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9420 case $host_os in
9421 cygwin*|mingw32*)
9422 if test -n "$ac_tool_prefix"; then
9423 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9424 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9426 printf %s "checking for $ac_word... " >&6; }
9427 if test ${ac_cv_prog_DLLTOOL+y}
9428 then :
9429 printf %s "(cached) " >&6
9430 else $as_nop
9431 if test -n "$DLLTOOL"; then
9432 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9433 else
9434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9435 for as_dir in $PATH
9437 IFS=$as_save_IFS
9438 case $as_dir in #(((
9439 '') as_dir=./ ;;
9440 */) ;;
9441 *) as_dir=$as_dir/ ;;
9442 esac
9443 for ac_exec_ext in '' $ac_executable_extensions; do
9444 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9445 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9446 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9447 break 2
9449 done
9450 done
9451 IFS=$as_save_IFS
9455 DLLTOOL=$ac_cv_prog_DLLTOOL
9456 if test -n "$DLLTOOL"; then
9457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9458 printf "%s\n" "$DLLTOOL" >&6; }
9459 else
9460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9461 printf "%s\n" "no" >&6; }
9466 if test -z "$ac_cv_prog_DLLTOOL"; then
9467 ac_ct_DLLTOOL=$DLLTOOL
9468 # Extract the first word of "dlltool", so it can be a program name with args.
9469 set dummy dlltool; ac_word=$2
9470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9471 printf %s "checking for $ac_word... " >&6; }
9472 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9473 then :
9474 printf %s "(cached) " >&6
9475 else $as_nop
9476 if test -n "$ac_ct_DLLTOOL"; then
9477 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9478 else
9479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9480 for as_dir in $PATH
9482 IFS=$as_save_IFS
9483 case $as_dir in #(((
9484 '') as_dir=./ ;;
9485 */) ;;
9486 *) as_dir=$as_dir/ ;;
9487 esac
9488 for ac_exec_ext in '' $ac_executable_extensions; do
9489 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9490 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9491 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9492 break 2
9494 done
9495 done
9496 IFS=$as_save_IFS
9500 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9501 if test -n "$ac_ct_DLLTOOL"; then
9502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9503 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9504 else
9505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9506 printf "%s\n" "no" >&6; }
9509 if test "x$ac_ct_DLLTOOL" = x; then
9510 DLLTOOL="false"
9511 else
9512 case $cross_compiling:$ac_tool_warned in
9513 yes:)
9514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9515 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9516 ac_tool_warned=yes ;;
9517 esac
9518 DLLTOOL=$ac_ct_DLLTOOL
9520 else
9521 DLLTOOL="$ac_cv_prog_DLLTOOL"
9524 LIBEXT="dll"
9525 EXTRACFLAGS="-D__WINE_PE_BUILD"
9526 case $host_cpu in
9527 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9528 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9529 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9530 then :
9531 printf %s "(cached) " >&6
9532 else $as_nop
9533 ac_wine_try_cflags_saved=$CFLAGS
9534 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9536 /* end confdefs.h. */
9537 int main(int argc, char **argv) { return 0; }
9538 _ACEOF
9539 if ac_fn_c_try_link "$LINENO"
9540 then :
9541 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9542 else $as_nop
9543 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9545 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9546 conftest$ac_exeext conftest.$ac_ext
9547 CFLAGS=$ac_wine_try_cflags_saved
9549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9550 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9551 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9552 then :
9553 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9554 fi ;;
9555 esac
9556 enable_loader=${enable_loader:-no}
9557 enable_server=${enable_server:-no}
9558 with_x=${with_x:-no}
9559 with_pthread=${with_pthread:-no}
9562 darwin*|macosx*)
9563 ac_ext=m
9564 ac_cpp='$OBJCPP $CPPFLAGS'
9565 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9566 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9567 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9569 ac_ext=m
9570 ac_cpp='$OBJCPP $CPPFLAGS'
9571 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9572 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9573 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9574 if test -n "$ac_tool_prefix"; then
9575 for ac_prog in gcc objcc objc cc CC clang
9577 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9578 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9580 printf %s "checking for $ac_word... " >&6; }
9581 if test ${ac_cv_prog_OBJC+y}
9582 then :
9583 printf %s "(cached) " >&6
9584 else $as_nop
9585 if test -n "$OBJC"; then
9586 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9587 else
9588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9589 for as_dir in $PATH
9591 IFS=$as_save_IFS
9592 case $as_dir in #(((
9593 '') as_dir=./ ;;
9594 */) ;;
9595 *) as_dir=$as_dir/ ;;
9596 esac
9597 for ac_exec_ext in '' $ac_executable_extensions; do
9598 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9599 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9600 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9601 break 2
9603 done
9604 done
9605 IFS=$as_save_IFS
9609 OBJC=$ac_cv_prog_OBJC
9610 if test -n "$OBJC"; then
9611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9612 printf "%s\n" "$OBJC" >&6; }
9613 else
9614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9615 printf "%s\n" "no" >&6; }
9619 test -n "$OBJC" && break
9620 done
9622 if test -z "$OBJC"; then
9623 ac_ct_OBJC=$OBJC
9624 for ac_prog in gcc objcc objc cc CC clang
9626 # Extract the first word of "$ac_prog", so it can be a program name with args.
9627 set dummy $ac_prog; ac_word=$2
9628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9629 printf %s "checking for $ac_word... " >&6; }
9630 if test ${ac_cv_prog_ac_ct_OBJC+y}
9631 then :
9632 printf %s "(cached) " >&6
9633 else $as_nop
9634 if test -n "$ac_ct_OBJC"; then
9635 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9636 else
9637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9638 for as_dir in $PATH
9640 IFS=$as_save_IFS
9641 case $as_dir in #(((
9642 '') as_dir=./ ;;
9643 */) ;;
9644 *) as_dir=$as_dir/ ;;
9645 esac
9646 for ac_exec_ext in '' $ac_executable_extensions; do
9647 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9648 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9649 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9650 break 2
9652 done
9653 done
9654 IFS=$as_save_IFS
9658 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9659 if test -n "$ac_ct_OBJC"; then
9660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9661 printf "%s\n" "$ac_ct_OBJC" >&6; }
9662 else
9663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9664 printf "%s\n" "no" >&6; }
9668 test -n "$ac_ct_OBJC" && break
9669 done
9671 if test "x$ac_ct_OBJC" = x; then
9672 OBJC="gcc"
9673 else
9674 case $cross_compiling:$ac_tool_warned in
9675 yes:)
9676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9677 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9678 ac_tool_warned=yes ;;
9679 esac
9680 OBJC=$ac_ct_OBJC
9684 # Provide some information about the compiler.
9685 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9686 set X $ac_compile
9687 ac_compiler=$2
9688 for ac_option in --version -v -V -qversion; do
9689 { { ac_try="$ac_compiler $ac_option >&5"
9690 case "(($ac_try" in
9691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9692 *) ac_try_echo=$ac_try;;
9693 esac
9694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9695 printf "%s\n" "$ac_try_echo"; } >&5
9696 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9697 ac_status=$?
9698 if test -s conftest.err; then
9699 sed '10a\
9700 ... rest of stderr output deleted ...
9701 10q' conftest.err >conftest.er1
9702 cat conftest.er1 >&5
9704 rm -f conftest.er1 conftest.err
9705 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9706 test $ac_status = 0; }
9707 done
9709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9710 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9711 if test ${ac_cv_objc_compiler_gnu+y}
9712 then :
9713 printf %s "(cached) " >&6
9714 else $as_nop
9715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9716 /* end confdefs.h. */
9719 main (void)
9721 #ifndef __GNUC__
9722 choke me
9723 #endif
9726 return 0;
9728 _ACEOF
9729 if ac_fn_objc_try_compile "$LINENO"
9730 then :
9731 ac_compiler_gnu=yes
9732 else $as_nop
9733 ac_compiler_gnu=no
9735 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9736 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9740 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9741 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9743 if test $ac_compiler_gnu = yes; then
9744 GOBJC=yes
9745 else
9746 GOBJC=
9748 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9749 ac_save_OBJCFLAGS=$OBJCFLAGS
9750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9751 printf %s "checking whether $OBJC accepts -g... " >&6; }
9752 if test ${ac_cv_prog_objc_g+y}
9753 then :
9754 printf %s "(cached) " >&6
9755 else $as_nop
9756 ac_save_objc_werror_flag=$ac_objc_werror_flag
9757 ac_objc_werror_flag=yes
9758 ac_cv_prog_objc_g=no
9759 OBJCFLAGS="-g"
9760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9761 /* end confdefs.h. */
9764 main (void)
9768 return 0;
9770 _ACEOF
9771 if ac_fn_objc_try_compile "$LINENO"
9772 then :
9773 ac_cv_prog_objc_g=yes
9774 else $as_nop
9775 OBJCFLAGS=""
9776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9777 /* end confdefs.h. */
9780 main (void)
9784 return 0;
9786 _ACEOF
9787 if ac_fn_objc_try_compile "$LINENO"
9788 then :
9790 else $as_nop
9791 ac_objc_werror_flag=$ac_save_objc_werror_flag
9792 OBJCFLAGS="-g"
9793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9794 /* end confdefs.h. */
9797 main (void)
9801 return 0;
9803 _ACEOF
9804 if ac_fn_objc_try_compile "$LINENO"
9805 then :
9806 ac_cv_prog_objc_g=yes
9808 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9810 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9812 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9813 ac_objc_werror_flag=$ac_save_objc_werror_flag
9815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9816 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9817 if test $ac_test_OBJCFLAGS; then
9818 OBJCFLAGS=$ac_save_OBJCFLAGS
9819 elif test $ac_cv_prog_objc_g = yes; then
9820 if test "$GOBJC" = yes; then
9821 OBJCFLAGS="-g -O2"
9822 else
9823 OBJCFLAGS="-g"
9825 else
9826 if test "$GOBJC" = yes; then
9827 OBJCFLAGS="-O2"
9828 else
9829 OBJCFLAGS=
9832 ac_ext=m
9833 ac_cpp='$OBJCPP $CPPFLAGS'
9834 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9835 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9836 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9839 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
9840 if test "x$ac_cv_header_Metal_Metal_h" = xyes
9841 then :
9842 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
9846 ac_ext=c
9847 ac_cpp='$CPP $CPPFLAGS'
9848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9852 LIBEXT="dylib"
9853 DLLFLAGS="$DLLFLAGS -fPIC"
9854 LDDLLFLAGS="-fPIC"
9855 COREFOUNDATION_LIBS="-framework CoreFoundation"
9857 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9859 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9861 CORESERVICES_LIBS="-framework CoreServices"
9863 APPKIT_LIBS="-framework AppKit"
9865 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9868 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9870 wine_can_build_preloader=yes
9871 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"
9872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9873 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9874 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9875 then :
9876 printf %s "(cached) " >&6
9877 else $as_nop
9878 ac_wine_try_cflags_saved=$CFLAGS
9879 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9881 /* end confdefs.h. */
9882 int main(int argc, char **argv) { return 0; }
9883 _ACEOF
9884 if ac_fn_c_try_link "$LINENO"
9885 then :
9886 ac_cv_cflags__Wl__no_new_main__e__main=yes
9887 else $as_nop
9888 ac_cv_cflags__Wl__no_new_main__e__main=no
9890 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9891 conftest$ac_exeext conftest.$ac_ext
9892 CFLAGS=$ac_wine_try_cflags_saved
9894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9895 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9896 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9897 then :
9898 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9899 { 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
9900 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9901 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9902 then :
9903 printf %s "(cached) " >&6
9904 else $as_nop
9905 ac_wine_try_cflags_saved=$CFLAGS
9906 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9908 /* end confdefs.h. */
9909 int main(int argc, char **argv) { return 0; }
9910 _ACEOF
9911 if ac_fn_c_try_link "$LINENO"
9912 then :
9913 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9914 else $as_nop
9915 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9917 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9918 conftest$ac_exeext conftest.$ac_ext
9919 CFLAGS=$ac_wine_try_cflags_saved
9921 { 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
9922 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9923 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9924 then :
9925 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9926 else $as_nop
9927 wine_can_build_preloader=no
9929 else $as_nop
9930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9931 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9932 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9933 then :
9934 printf %s "(cached) " >&6
9935 else $as_nop
9936 ac_wine_try_cflags_saved=$CFLAGS
9937 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9939 /* end confdefs.h. */
9940 int main(int argc, char **argv) { return 0; }
9941 _ACEOF
9942 if ac_fn_c_try_link "$LINENO"
9943 then :
9944 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9945 else $as_nop
9946 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9948 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9949 conftest$ac_exeext conftest.$ac_ext
9950 CFLAGS=$ac_wine_try_cflags_saved
9952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9953 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9954 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9955 then :
9956 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9957 else $as_nop
9958 wine_can_build_preloader=no
9961 if test "$wine_can_build_preloader" = "yes"
9962 then
9963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9964 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9965 if test ${ac_cv_cflags__Wl__no_pie+y}
9966 then :
9967 printf %s "(cached) " >&6
9968 else $as_nop
9969 ac_wine_try_cflags_saved=$CFLAGS
9970 CFLAGS="$CFLAGS -Wl,-no_pie"
9971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9972 /* end confdefs.h. */
9973 int main(int argc, char **argv) { return 0; }
9974 _ACEOF
9975 if ac_fn_c_try_link "$LINENO"
9976 then :
9977 ac_cv_cflags__Wl__no_pie=yes
9978 else $as_nop
9979 ac_cv_cflags__Wl__no_pie=no
9981 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9982 conftest$ac_exeext conftest.$ac_ext
9983 CFLAGS=$ac_wine_try_cflags_saved
9985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9986 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9987 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9988 then :
9989 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9991 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
9992 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
9993 else
9994 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9997 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
9998 then
9999 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
10002 if test "$ac_cv_header_Security_Security_h" = "yes"
10003 then
10004 SECURITY_LIBS="-framework Security -framework CoreFoundation"
10007 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
10008 then
10009 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
10011 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
10013 if test "$ac_cv_header_OpenAL_al_h" = "yes"
10014 then
10015 OPENAL_LIBS="-framework OpenAL"
10018 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
10020 ac_cv_lib_openal=yes
10022 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
10023 then
10024 OPENCL_LIBS="-framework OpenCL"
10026 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10028 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
10029 then
10030 ac_save_LIBS="$LIBS"
10031 LIBS="$LIBS $IOKIT_LIBS"
10032 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
10033 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
10034 then :
10035 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
10039 LIBS="$ac_save_LIBS"
10042 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
10043 then
10044 CARBON_LIBS="-framework Carbon"
10047 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10048 then
10049 METAL_LIBS="-framework Metal"
10053 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10054 then
10055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10056 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10057 ac_ext=m
10058 ac_cpp='$OBJCPP $CPPFLAGS'
10059 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10060 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10061 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10064 /* end confdefs.h. */
10065 #include <Metal/Metal.h>
10067 main (void)
10069 id<MTLDevice> device; device.registryID;
10071 return 0;
10073 _ACEOF
10074 if ac_fn_objc_try_compile "$LINENO"
10075 then :
10076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10077 printf "%s\n" "yes" >&6; }
10079 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10081 else $as_nop
10082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10083 printf "%s\n" "no" >&6; }
10085 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10086 ac_ext=c
10087 ac_cpp='$CPP $CPPFLAGS'
10088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10094 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10095 then
10096 ac_save_LIBS="$LIBS"
10097 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10098 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10099 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10100 then :
10101 enable_winemac_drv=${enable_winemac_drv:-yes}
10104 LIBS="$ac_save_LIBS"
10107 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
10108 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10110 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10112 WINELOADER_DEPENDS="wine_info.plist"
10114 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10117 linux-android*)
10119 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10121 DLLFLAGS="$DLLFLAGS -fPIC"
10122 LDDLLFLAGS="-fPIC"
10123 LDEXECFLAGS="-Wl,-pie"
10124 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10126 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10127 if test ${ac_cv_cflags__Wl__z_defs+y}
10128 then :
10129 printf %s "(cached) " >&6
10130 else $as_nop
10131 ac_wine_try_cflags_saved=$CFLAGS
10132 CFLAGS="$CFLAGS -Wl,-z,defs"
10133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10134 /* end confdefs.h. */
10135 int main(int argc, char **argv) { return 0; }
10136 _ACEOF
10137 if ac_fn_c_try_link "$LINENO"
10138 then :
10139 ac_cv_cflags__Wl__z_defs=yes
10140 else $as_nop
10141 ac_cv_cflags__Wl__z_defs=no
10143 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10144 conftest$ac_exeext conftest.$ac_ext
10145 CFLAGS=$ac_wine_try_cflags_saved
10147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10148 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10149 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10150 then :
10151 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10154 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10155 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10156 then :
10157 printf %s "(cached) " >&6
10158 else $as_nop
10159 ac_wine_try_cflags_saved=$CFLAGS
10160 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10162 /* end confdefs.h. */
10163 int main(int argc, char **argv) { return 0; }
10164 _ACEOF
10165 if ac_fn_c_try_link "$LINENO"
10166 then :
10167 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10168 else $as_nop
10169 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10171 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10172 conftest$ac_exeext conftest.$ac_ext
10173 CFLAGS=$ac_wine_try_cflags_saved
10175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10176 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10177 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10178 then :
10179 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10181 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10184 printf %s "checking for -lEGL... " >&6; }
10185 if test ${ac_cv_lib_soname_EGL+y}
10186 then :
10187 printf %s "(cached) " >&6
10188 else $as_nop
10189 ac_check_soname_save_LIBS=$LIBS
10190 LIBS="-lEGL $LIBS"
10191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10192 /* end confdefs.h. */
10194 /* Override any GCC internal prototype to avoid an error.
10195 Use char because int might match the return type of a GCC
10196 builtin and then its argument prototype would still apply. */
10197 char eglGetProcAddress ();
10199 main (void)
10201 return eglGetProcAddress ();
10203 return 0;
10205 _ACEOF
10206 if ac_fn_c_try_link "$LINENO"
10207 then :
10208 case "$LIBEXT" in
10209 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10210 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'` ;;
10211 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10212 if ${ac_cv_lib_soname_EGL:+false} :
10213 then :
10214 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10215 fi ;;
10216 esac
10217 else $as_nop
10218 ac_cv_lib_soname_EGL=
10220 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10221 conftest$ac_exeext conftest.$ac_ext
10222 LIBS=$ac_check_soname_save_LIBS
10224 if ${ac_cv_lib_soname_EGL:+false} :
10225 then :
10226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10227 printf "%s\n" "not found" >&6; }
10229 else $as_nop
10230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10231 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10233 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10238 printf %s "checking for -lGLESv2... " >&6; }
10239 if test ${ac_cv_lib_soname_GLESv2+y}
10240 then :
10241 printf %s "(cached) " >&6
10242 else $as_nop
10243 ac_check_soname_save_LIBS=$LIBS
10244 LIBS="-lGLESv2 $LIBS"
10245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10246 /* end confdefs.h. */
10248 /* Override any GCC internal prototype to avoid an error.
10249 Use char because int might match the return type of a GCC
10250 builtin and then its argument prototype would still apply. */
10251 char glFlush ();
10253 main (void)
10255 return glFlush ();
10257 return 0;
10259 _ACEOF
10260 if ac_fn_c_try_link "$LINENO"
10261 then :
10262 case "$LIBEXT" in
10263 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10264 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'` ;;
10265 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10266 if ${ac_cv_lib_soname_GLESv2:+false} :
10267 then :
10268 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10269 fi ;;
10270 esac
10271 else $as_nop
10272 ac_cv_lib_soname_GLESv2=
10274 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10275 conftest$ac_exeext conftest.$ac_ext
10276 LIBS=$ac_check_soname_save_LIBS
10278 if ${ac_cv_lib_soname_GLESv2:+false} :
10279 then :
10280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10281 printf "%s\n" "not found" >&6; }
10283 else $as_nop
10284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10285 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10287 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10292 if test "x$exec_prefix" = xNONE
10293 then
10294 case $host_cpu in
10295 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10296 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10297 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10298 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10299 esac
10305 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10307 test "$ac_cv_sys_file_offset_bits" = 64 &&
10308 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10310 case $host_cpu in
10311 *i[3456789]86*)
10312 DLLFLAGS="$DLLFLAGS -fno-PIC"
10313 LDDLLFLAGS="-fno-PIC"
10314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10315 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10316 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10317 then :
10318 printf %s "(cached) " >&6
10319 else $as_nop
10320 ac_wine_try_cflags_saved=$CFLAGS
10321 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10323 /* end confdefs.h. */
10324 int main(int argc, char **argv) { return 0; }
10325 _ACEOF
10326 if ac_fn_c_try_link "$LINENO"
10327 then :
10328 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10329 else $as_nop
10330 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10332 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10333 conftest$ac_exeext conftest.$ac_ext
10334 CFLAGS=$ac_wine_try_cflags_saved
10336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10337 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10338 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10339 then :
10340 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10344 DLLFLAGS="$DLLFLAGS -fPIC"
10345 LDDLLFLAGS="-fPIC" ;;
10346 esac
10347 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10349 echo '{ global: *; };' >conftest.map
10350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10351 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10352 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10353 then :
10354 printf %s "(cached) " >&6
10355 else $as_nop
10356 ac_wine_try_cflags_saved=$CFLAGS
10357 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10359 /* end confdefs.h. */
10360 int main(int argc, char **argv) { return 0; }
10361 _ACEOF
10362 if ac_fn_c_try_link "$LINENO"
10363 then :
10364 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10365 else $as_nop
10366 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10368 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10369 conftest$ac_exeext conftest.$ac_ext
10370 CFLAGS=$ac_wine_try_cflags_saved
10372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10373 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10374 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10375 then :
10376 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10378 rm -f conftest.map
10380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10381 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10382 if test ${ac_cv_cflags__Wl__z_defs+y}
10383 then :
10384 printf %s "(cached) " >&6
10385 else $as_nop
10386 ac_wine_try_cflags_saved=$CFLAGS
10387 CFLAGS="$CFLAGS -Wl,-z,defs"
10388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10389 /* end confdefs.h. */
10390 int main(int argc, char **argv) { return 0; }
10391 _ACEOF
10392 if ac_fn_c_try_link "$LINENO"
10393 then :
10394 ac_cv_cflags__Wl__z_defs=yes
10395 else $as_nop
10396 ac_cv_cflags__Wl__z_defs=no
10398 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10399 conftest$ac_exeext conftest.$ac_ext
10400 CFLAGS=$ac_wine_try_cflags_saved
10402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10403 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10404 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10405 then :
10406 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10409 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10410 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10411 then :
10412 printf %s "(cached) " >&6
10413 else $as_nop
10414 ac_wine_try_cflags_saved=$CFLAGS
10415 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10417 /* end confdefs.h. */
10418 int main(int argc, char **argv) { return 0; }
10419 _ACEOF
10420 if ac_fn_c_try_link "$LINENO"
10421 then :
10422 ac_cv_cflags__Wl___export_dynamic=yes
10423 else $as_nop
10424 ac_cv_cflags__Wl___export_dynamic=no
10426 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10427 conftest$ac_exeext conftest.$ac_ext
10428 CFLAGS=$ac_wine_try_cflags_saved
10430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10431 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10432 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10433 then :
10434 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10436 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10438 case $host_cpu in
10439 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10441 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10442 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10443 then :
10444 printf %s "(cached) " >&6
10445 else $as_nop
10446 ac_wine_try_cflags_saved=$CFLAGS
10447 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10449 /* end confdefs.h. */
10450 int main(int argc, char **argv) { return 0; }
10451 _ACEOF
10452 if ac_fn_c_try_link "$LINENO"
10453 then :
10454 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10455 else $as_nop
10456 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10458 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10459 conftest$ac_exeext conftest.$ac_ext
10460 CFLAGS=$ac_wine_try_cflags_saved
10462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10463 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10464 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10465 then :
10466 case $host_os in
10467 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10468 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10469 esac
10470 else $as_nop
10471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10472 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10473 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10474 then :
10475 printf %s "(cached) " >&6
10476 else $as_nop
10477 ac_wine_try_cflags_saved=$CFLAGS
10478 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10480 /* end confdefs.h. */
10481 int main(int argc, char **argv) { return 0; }
10482 _ACEOF
10483 if ac_fn_c_try_link "$LINENO"
10484 then :
10485 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10486 else $as_nop
10487 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10489 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10490 conftest$ac_exeext conftest.$ac_ext
10491 CFLAGS=$ac_wine_try_cflags_saved
10493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10494 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10495 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10496 then :
10497 case $host_os in
10498 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10499 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10500 esac
10502 # Extract the first word of "prelink", so it can be a program name with args.
10503 set dummy prelink; ac_word=$2
10504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10505 printf %s "checking for $ac_word... " >&6; }
10506 if test ${ac_cv_path_PRELINK+y}
10507 then :
10508 printf %s "(cached) " >&6
10509 else $as_nop
10510 case $PRELINK in
10511 [\\/]* | ?:[\\/]*)
10512 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10516 for as_dir in /sbin /usr/sbin $PATH
10518 IFS=$as_save_IFS
10519 case $as_dir in #(((
10520 '') as_dir=./ ;;
10521 */) ;;
10522 *) as_dir=$as_dir/ ;;
10523 esac
10524 for ac_exec_ext in '' $ac_executable_extensions; do
10525 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10526 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10527 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10528 break 2
10530 done
10531 done
10532 IFS=$as_save_IFS
10534 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10536 esac
10538 PRELINK=$ac_cv_path_PRELINK
10539 if test -n "$PRELINK"; then
10540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10541 printf "%s\n" "$PRELINK" >&6; }
10542 else
10543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10544 printf "%s\n" "no" >&6; }
10548 if test "x$PRELINK" = xfalse
10549 then
10550 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10554 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10555 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10556 then :
10557 printf %s "(cached) " >&6
10558 else $as_nop
10559 ac_wine_try_cflags_saved=$CFLAGS
10560 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10562 /* end confdefs.h. */
10563 int main(int argc, char **argv) { return 0; }
10564 _ACEOF
10565 if ac_fn_c_try_link "$LINENO"
10566 then :
10567 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10568 else $as_nop
10569 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10571 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10572 conftest$ac_exeext conftest.$ac_ext
10573 CFLAGS=$ac_wine_try_cflags_saved
10575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10576 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10577 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10578 then :
10579 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10582 esac
10583 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10585 LIBWINE_DEPENDS="wine.map"
10587 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10589 esac
10591 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10592 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10593 enable_winemac_drv=${enable_winemac_drv:-no}
10596 if test "x$with_mingw" != xno
10597 then
10598 case "x$with_mingw" in
10599 x|xyes) case "$host_cpu" in
10600 aarch64*)
10601 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
10602 arm*)
10603 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
10604 i[3456789]86*)
10605 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
10606 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
10607 mingw32-gcc clang" ;;
10608 x86_64)
10609 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
10610 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
10612 ac_prefix_list="" ;;
10613 esac
10614 for ac_prog in $ac_prefix_list
10616 # Extract the first word of "$ac_prog", so it can be a program name with args.
10617 set dummy $ac_prog; ac_word=$2
10618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10619 printf %s "checking for $ac_word... " >&6; }
10620 if test ${ac_cv_prog_CROSSCC+y}
10621 then :
10622 printf %s "(cached) " >&6
10623 else $as_nop
10624 if test -n "$CROSSCC"; then
10625 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
10626 else
10627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10628 for as_dir in $PATH
10630 IFS=$as_save_IFS
10631 case $as_dir in #(((
10632 '') as_dir=./ ;;
10633 */) ;;
10634 *) as_dir=$as_dir/ ;;
10635 esac
10636 for ac_exec_ext in '' $ac_executable_extensions; do
10637 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10638 ac_cv_prog_CROSSCC="$ac_prog"
10639 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10640 break 2
10642 done
10643 done
10644 IFS=$as_save_IFS
10648 CROSSCC=$ac_cv_prog_CROSSCC
10649 if test -n "$CROSSCC"; then
10650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
10651 printf "%s\n" "$CROSSCC" >&6; }
10652 else
10653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10654 printf "%s\n" "no" >&6; }
10658 test -n "$CROSSCC" && break
10659 done
10660 test -n "$CROSSCC" || CROSSCC="false"
10662 *) CROSSCC=$with_mingw ;;
10663 esac
10664 if test "$CROSSCC" != "false"
10665 then
10666 ac_save_CC="$CC"
10667 saved_CFLAGS=$CFLAGS
10668 saved_LDFLAGS=$LDFLAGS
10669 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
10671 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
10675 CC="$CROSSCC"
10676 CFLAGS=$CROSSCFLAGS
10677 LDFLAGS=$CROSSLDFLAGS
10678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
10679 printf %s "checking whether $CROSSCC works... " >&6; }
10680 if test ${wine_cv_crosscc+y}
10681 then :
10682 printf %s "(cached) " >&6
10683 else $as_nop
10684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10685 /* end confdefs.h. */
10688 main (void)
10692 return 0;
10694 _ACEOF
10695 if ac_fn_c_try_compile "$LINENO"
10696 then :
10697 wine_cv_crosscc=yes
10698 else $as_nop
10699 wine_cv_crosscc=no
10701 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
10704 printf "%s\n" "$wine_cv_crosscc" >&6; }
10705 if test $wine_cv_crosscc = yes
10706 then
10707 set x $CROSSCC
10708 shift
10709 while test $# -ge 1
10711 case "$1" in
10712 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
10713 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
10714 esac
10715 shift
10716 done
10718 llvm_target=$CROSSTARGET
10719 llvm_cflags="-fuse-ld=lld"
10720 if test -z "$llvm_target"
10721 then
10722 case $host_cpu in
10723 *i[3456789]86*) llvm_target=i686-windows ;;
10724 *) llvm_target=$host_cpu-windows ;;
10725 esac
10727 case $llvm_target in
10728 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
10729 esac
10730 as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
10731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
10732 printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
10733 if eval test \${$as_ac_var+y}
10734 then :
10735 printf %s "(cached) " >&6
10736 else $as_nop
10737 ac_wine_try_cflags_saved=$CFLAGS
10738 ac_wine_try_cflags_saved_cc=$CC
10739 ac_wine_try_cflags_saved_exeext=$ac_exeext
10740 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
10741 CC="$CROSSCC"
10742 ac_exeext=".exe"
10743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10744 /* end confdefs.h. */
10745 int __cdecl mainCRTStartup(void) { return 0; }
10746 _ACEOF
10747 if ac_fn_c_try_link "$LINENO"
10748 then :
10749 eval "$as_ac_var=yes"
10750 else $as_nop
10751 eval "$as_ac_var=no"
10753 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10754 conftest$ac_exeext conftest.$ac_ext
10755 CFLAGS=$ac_wine_try_cflags_saved
10756 CC=$ac_wine_try_cflags_saved_cc
10757 ac_exeext=$ac_wine_try_cflags_saved_exeext
10759 eval ac_res=\$$as_ac_var
10760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10761 printf "%s\n" "$ac_res" >&6; }
10762 if eval test \"x\$"$as_ac_var"\" = x"yes"
10763 then :
10764 CROSSTARGET=$llvm_target
10765 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
10766 DELAYLOADFLAG="-Wl,-delayload,"
10768 CFLAGS="$CFLAGS $llvm_cflags"
10771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CROSSCC option to enable C99 features" >&5
10772 printf %s "checking for $CROSSCC option to enable C99 features... " >&6; }
10773 if test ${wine_cv_crosscc_c99+y}
10774 then :
10775 printf %s "(cached) " >&6
10776 else $as_nop
10777 wine_cv_crosscc_c99=no
10778 for arg in '' '-std=gnu99'
10780 CC="$CROSSCC $arg"
10781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10782 /* end confdefs.h. */
10783 $ac_c_conftest_c99_program
10784 _ACEOF
10785 if ac_fn_c_try_compile "$LINENO"
10786 then :
10787 wine_cv_crosscc_c99=$arg
10788 else $as_nop
10789 wine_cv_crosscc_c99=no
10791 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10792 test "x$wine_cv_crosscc_c99" != xno && break
10793 done
10796 case "x$wine_cv_crosscc_c99" in
10797 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10798 printf "%s\n" "none needed" >&6; } ;;
10799 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10800 printf "%s\n" "unsupported" >&6; } ;;
10801 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc_c99" >&5
10802 printf "%s\n" "$wine_cv_crosscc_c99" >&6; }
10803 CROSSCC="$CROSSCC $wine_cv_crosscc_c99" ;;
10804 esac
10806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
10807 printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
10808 if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
10809 then :
10810 printf %s "(cached) " >&6
10811 else $as_nop
10812 ac_wine_try_cflags_saved=$CFLAGS
10813 ac_wine_try_cflags_saved_cc=$CC
10814 ac_wine_try_cflags_saved_exeext=$ac_exeext
10815 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
10816 CC="$CROSSCC"
10817 ac_exeext=".exe"
10818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10819 /* end confdefs.h. */
10820 int __cdecl mainCRTStartup(void) { return 0; }
10821 _ACEOF
10822 if ac_fn_c_try_link "$LINENO"
10823 then :
10824 ac_cv_crosscflags__fno_strict_aliasing=yes
10825 else $as_nop
10826 ac_cv_crosscflags__fno_strict_aliasing=no
10828 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10829 conftest$ac_exeext conftest.$ac_ext
10830 CFLAGS=$ac_wine_try_cflags_saved
10831 CC=$ac_wine_try_cflags_saved_cc
10832 ac_exeext=$ac_wine_try_cflags_saved_exeext
10834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
10835 printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
10836 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
10837 then :
10838 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
10840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
10841 printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
10842 if test ${ac_cv_crosscflags__Werror_unknown_warning_option+y}
10843 then :
10844 printf %s "(cached) " >&6
10845 else $as_nop
10846 ac_wine_try_cflags_saved=$CFLAGS
10847 ac_wine_try_cflags_saved_cc=$CC
10848 ac_wine_try_cflags_saved_exeext=$ac_exeext
10849 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
10850 CC="$CROSSCC"
10851 ac_exeext=".exe"
10852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10853 /* end confdefs.h. */
10854 int __cdecl mainCRTStartup(void) { return 0; }
10855 _ACEOF
10856 if ac_fn_c_try_link "$LINENO"
10857 then :
10858 ac_cv_crosscflags__Werror_unknown_warning_option=yes
10859 else $as_nop
10860 ac_cv_crosscflags__Werror_unknown_warning_option=no
10862 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10863 conftest$ac_exeext conftest.$ac_ext
10864 CFLAGS=$ac_wine_try_cflags_saved
10865 CC=$ac_wine_try_cflags_saved_cc
10866 ac_exeext=$ac_wine_try_cflags_saved_exeext
10868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
10869 printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
10870 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
10871 then :
10872 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
10875 printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
10876 if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
10877 then :
10878 printf %s "(cached) " >&6
10879 else $as_nop
10880 ac_wine_try_cflags_saved=$CFLAGS
10881 ac_wine_try_cflags_saved_cc=$CC
10882 ac_wine_try_cflags_saved_exeext=$ac_exeext
10883 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
10884 CC="$CROSSCC"
10885 ac_exeext=".exe"
10886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10887 /* end confdefs.h. */
10888 int __cdecl mainCRTStartup(void) { return 0; }
10889 _ACEOF
10890 if ac_fn_c_try_link "$LINENO"
10891 then :
10892 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
10893 else $as_nop
10894 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
10896 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10897 conftest$ac_exeext conftest.$ac_ext
10898 CFLAGS=$ac_wine_try_cflags_saved
10899 CC=$ac_wine_try_cflags_saved_cc
10900 ac_exeext=$ac_wine_try_cflags_saved_exeext
10902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
10903 printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
10904 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
10905 then :
10906 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
10909 printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
10910 if test ${ac_cv_crosscflags__Wdeclaration_after_statement+y}
10911 then :
10912 printf %s "(cached) " >&6
10913 else $as_nop
10914 ac_wine_try_cflags_saved=$CFLAGS
10915 ac_wine_try_cflags_saved_cc=$CC
10916 ac_wine_try_cflags_saved_exeext=$ac_exeext
10917 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
10918 CC="$CROSSCC"
10919 ac_exeext=".exe"
10920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10921 /* end confdefs.h. */
10922 int __cdecl mainCRTStartup(void) { return 0; }
10923 _ACEOF
10924 if ac_fn_c_try_link "$LINENO"
10925 then :
10926 ac_cv_crosscflags__Wdeclaration_after_statement=yes
10927 else $as_nop
10928 ac_cv_crosscflags__Wdeclaration_after_statement=no
10930 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10931 conftest$ac_exeext conftest.$ac_ext
10932 CFLAGS=$ac_wine_try_cflags_saved
10933 CC=$ac_wine_try_cflags_saved_cc
10934 ac_exeext=$ac_wine_try_cflags_saved_exeext
10936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
10937 printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
10938 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
10939 then :
10940 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
10942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
10943 printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
10944 if test ${ac_cv_crosscflags__Wempty_body+y}
10945 then :
10946 printf %s "(cached) " >&6
10947 else $as_nop
10948 ac_wine_try_cflags_saved=$CFLAGS
10949 ac_wine_try_cflags_saved_cc=$CC
10950 ac_wine_try_cflags_saved_exeext=$ac_exeext
10951 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
10952 CC="$CROSSCC"
10953 ac_exeext=".exe"
10954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10955 /* end confdefs.h. */
10956 int __cdecl mainCRTStartup(void) { return 0; }
10957 _ACEOF
10958 if ac_fn_c_try_link "$LINENO"
10959 then :
10960 ac_cv_crosscflags__Wempty_body=yes
10961 else $as_nop
10962 ac_cv_crosscflags__Wempty_body=no
10964 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10965 conftest$ac_exeext conftest.$ac_ext
10966 CFLAGS=$ac_wine_try_cflags_saved
10967 CC=$ac_wine_try_cflags_saved_cc
10968 ac_exeext=$ac_wine_try_cflags_saved_exeext
10970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
10971 printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
10972 if test "x$ac_cv_crosscflags__Wempty_body" = xyes
10973 then :
10974 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
10976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
10977 printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
10978 if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
10979 then :
10980 printf %s "(cached) " >&6
10981 else $as_nop
10982 ac_wine_try_cflags_saved=$CFLAGS
10983 ac_wine_try_cflags_saved_cc=$CC
10984 ac_wine_try_cflags_saved_exeext=$ac_exeext
10985 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10986 CC="$CROSSCC"
10987 ac_exeext=".exe"
10988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10989 /* end confdefs.h. */
10990 int __cdecl mainCRTStartup(void) { return 0; }
10991 _ACEOF
10992 if ac_fn_c_try_link "$LINENO"
10993 then :
10994 ac_cv_crosscflags__Wignored_qualifiers=yes
10995 else $as_nop
10996 ac_cv_crosscflags__Wignored_qualifiers=no
10998 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10999 conftest$ac_exeext conftest.$ac_ext
11000 CFLAGS=$ac_wine_try_cflags_saved
11001 CC=$ac_wine_try_cflags_saved_cc
11002 ac_exeext=$ac_wine_try_cflags_saved_exeext
11004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
11005 printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
11006 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
11007 then :
11008 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
11010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
11011 printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
11012 if test ${ac_cv_crosscflags__Winit_self+y}
11013 then :
11014 printf %s "(cached) " >&6
11015 else $as_nop
11016 ac_wine_try_cflags_saved=$CFLAGS
11017 ac_wine_try_cflags_saved_cc=$CC
11018 ac_wine_try_cflags_saved_exeext=$ac_exeext
11019 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11020 CC="$CROSSCC"
11021 ac_exeext=".exe"
11022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11023 /* end confdefs.h. */
11024 int __cdecl mainCRTStartup(void) { return 0; }
11025 _ACEOF
11026 if ac_fn_c_try_link "$LINENO"
11027 then :
11028 ac_cv_crosscflags__Winit_self=yes
11029 else $as_nop
11030 ac_cv_crosscflags__Winit_self=no
11032 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11033 conftest$ac_exeext conftest.$ac_ext
11034 CFLAGS=$ac_wine_try_cflags_saved
11035 CC=$ac_wine_try_cflags_saved_cc
11036 ac_exeext=$ac_wine_try_cflags_saved_exeext
11038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
11039 printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
11040 if test "x$ac_cv_crosscflags__Winit_self" = xyes
11041 then :
11042 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
11044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
11045 printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
11046 if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
11047 then :
11048 printf %s "(cached) " >&6
11049 else $as_nop
11050 ac_wine_try_cflags_saved=$CFLAGS
11051 ac_wine_try_cflags_saved_cc=$CC
11052 ac_wine_try_cflags_saved_exeext=$ac_exeext
11053 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11054 CC="$CROSSCC"
11055 ac_exeext=".exe"
11056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11057 /* end confdefs.h. */
11058 int __cdecl mainCRTStartup(void) { return 0; }
11059 _ACEOF
11060 if ac_fn_c_try_link "$LINENO"
11061 then :
11062 ac_cv_crosscflags__Wpacked_not_aligned=yes
11063 else $as_nop
11064 ac_cv_crosscflags__Wpacked_not_aligned=no
11066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11067 conftest$ac_exeext conftest.$ac_ext
11068 CFLAGS=$ac_wine_try_cflags_saved
11069 CC=$ac_wine_try_cflags_saved_cc
11070 ac_exeext=$ac_wine_try_cflags_saved_exeext
11072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
11073 printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
11074 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
11075 then :
11076 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
11078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
11079 printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
11080 if test ${ac_cv_crosscflags__Wpragma_pack+y}
11081 then :
11082 printf %s "(cached) " >&6
11083 else $as_nop
11084 ac_wine_try_cflags_saved=$CFLAGS
11085 ac_wine_try_cflags_saved_cc=$CC
11086 ac_wine_try_cflags_saved_exeext=$ac_exeext
11087 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11088 CC="$CROSSCC"
11089 ac_exeext=".exe"
11090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11091 /* end confdefs.h. */
11092 int __cdecl mainCRTStartup(void) { return 0; }
11093 _ACEOF
11094 if ac_fn_c_try_link "$LINENO"
11095 then :
11096 ac_cv_crosscflags__Wpragma_pack=yes
11097 else $as_nop
11098 ac_cv_crosscflags__Wpragma_pack=no
11100 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11101 conftest$ac_exeext conftest.$ac_ext
11102 CFLAGS=$ac_wine_try_cflags_saved
11103 CC=$ac_wine_try_cflags_saved_cc
11104 ac_exeext=$ac_wine_try_cflags_saved_exeext
11106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
11107 printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
11108 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
11109 then :
11110 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
11112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
11113 printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
11114 if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
11115 then :
11116 printf %s "(cached) " >&6
11117 else $as_nop
11118 ac_wine_try_cflags_saved=$CFLAGS
11119 ac_wine_try_cflags_saved_cc=$CC
11120 ac_wine_try_cflags_saved_exeext=$ac_exeext
11121 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11122 CC="$CROSSCC"
11123 ac_exeext=".exe"
11124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11125 /* end confdefs.h. */
11126 int __cdecl mainCRTStartup(void) { return 0; }
11127 _ACEOF
11128 if ac_fn_c_try_link "$LINENO"
11129 then :
11130 ac_cv_crosscflags__Wshift_overflow_2=yes
11131 else $as_nop
11132 ac_cv_crosscflags__Wshift_overflow_2=no
11134 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11135 conftest$ac_exeext conftest.$ac_ext
11136 CFLAGS=$ac_wine_try_cflags_saved
11137 CC=$ac_wine_try_cflags_saved_cc
11138 ac_exeext=$ac_wine_try_cflags_saved_exeext
11140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
11141 printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
11142 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
11143 then :
11144 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
11146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
11147 printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
11148 if test ${ac_cv_crosscflags__Wstrict_prototypes+y}
11149 then :
11150 printf %s "(cached) " >&6
11151 else $as_nop
11152 ac_wine_try_cflags_saved=$CFLAGS
11153 ac_wine_try_cflags_saved_cc=$CC
11154 ac_wine_try_cflags_saved_exeext=$ac_exeext
11155 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11156 CC="$CROSSCC"
11157 ac_exeext=".exe"
11158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11159 /* end confdefs.h. */
11160 int __cdecl mainCRTStartup(void) { return 0; }
11161 _ACEOF
11162 if ac_fn_c_try_link "$LINENO"
11163 then :
11164 ac_cv_crosscflags__Wstrict_prototypes=yes
11165 else $as_nop
11166 ac_cv_crosscflags__Wstrict_prototypes=no
11168 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11169 conftest$ac_exeext conftest.$ac_ext
11170 CFLAGS=$ac_wine_try_cflags_saved
11171 CC=$ac_wine_try_cflags_saved_cc
11172 ac_exeext=$ac_wine_try_cflags_saved_exeext
11174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
11175 printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
11176 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
11177 then :
11178 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
11180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
11181 printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
11182 if test ${ac_cv_crosscflags__Wtype_limits+y}
11183 then :
11184 printf %s "(cached) " >&6
11185 else $as_nop
11186 ac_wine_try_cflags_saved=$CFLAGS
11187 ac_wine_try_cflags_saved_cc=$CC
11188 ac_wine_try_cflags_saved_exeext=$ac_exeext
11189 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11190 CC="$CROSSCC"
11191 ac_exeext=".exe"
11192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11193 /* end confdefs.h. */
11194 int __cdecl mainCRTStartup(void) { return 0; }
11195 _ACEOF
11196 if ac_fn_c_try_link "$LINENO"
11197 then :
11198 ac_cv_crosscflags__Wtype_limits=yes
11199 else $as_nop
11200 ac_cv_crosscflags__Wtype_limits=no
11202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11203 conftest$ac_exeext conftest.$ac_ext
11204 CFLAGS=$ac_wine_try_cflags_saved
11205 CC=$ac_wine_try_cflags_saved_cc
11206 ac_exeext=$ac_wine_try_cflags_saved_exeext
11208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
11209 printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
11210 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
11211 then :
11212 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
11214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
11215 printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
11216 if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
11217 then :
11218 printf %s "(cached) " >&6
11219 else $as_nop
11220 ac_wine_try_cflags_saved=$CFLAGS
11221 ac_wine_try_cflags_saved_cc=$CC
11222 ac_wine_try_cflags_saved_exeext=$ac_exeext
11223 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11224 CC="$CROSSCC"
11225 ac_exeext=".exe"
11226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11227 /* end confdefs.h. */
11228 int __cdecl mainCRTStartup(void) { return 0; }
11229 _ACEOF
11230 if ac_fn_c_try_link "$LINENO"
11231 then :
11232 ac_cv_crosscflags__Wunused_but_set_parameter=yes
11233 else $as_nop
11234 ac_cv_crosscflags__Wunused_but_set_parameter=no
11236 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11237 conftest$ac_exeext conftest.$ac_ext
11238 CFLAGS=$ac_wine_try_cflags_saved
11239 CC=$ac_wine_try_cflags_saved_cc
11240 ac_exeext=$ac_wine_try_cflags_saved_exeext
11242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
11243 printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
11244 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
11245 then :
11246 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
11248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
11249 printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
11250 if test ${ac_cv_crosscflags__Wvla+y}
11251 then :
11252 printf %s "(cached) " >&6
11253 else $as_nop
11254 ac_wine_try_cflags_saved=$CFLAGS
11255 ac_wine_try_cflags_saved_cc=$CC
11256 ac_wine_try_cflags_saved_exeext=$ac_exeext
11257 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
11258 CC="$CROSSCC"
11259 ac_exeext=".exe"
11260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11261 /* end confdefs.h. */
11262 int __cdecl mainCRTStartup(void) { return 0; }
11263 _ACEOF
11264 if ac_fn_c_try_link "$LINENO"
11265 then :
11266 ac_cv_crosscflags__Wvla=yes
11267 else $as_nop
11268 ac_cv_crosscflags__Wvla=no
11270 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11271 conftest$ac_exeext conftest.$ac_ext
11272 CFLAGS=$ac_wine_try_cflags_saved
11273 CC=$ac_wine_try_cflags_saved_cc
11274 ac_exeext=$ac_wine_try_cflags_saved_exeext
11276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
11277 printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
11278 if test "x$ac_cv_crosscflags__Wvla" = xyes
11279 then :
11280 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
11282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
11283 printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
11284 if test ${ac_cv_crosscflags__Wwrite_strings+y}
11285 then :
11286 printf %s "(cached) " >&6
11287 else $as_nop
11288 ac_wine_try_cflags_saved=$CFLAGS
11289 ac_wine_try_cflags_saved_cc=$CC
11290 ac_wine_try_cflags_saved_exeext=$ac_exeext
11291 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11292 CC="$CROSSCC"
11293 ac_exeext=".exe"
11294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11295 /* end confdefs.h. */
11296 int __cdecl mainCRTStartup(void) { return 0; }
11297 _ACEOF
11298 if ac_fn_c_try_link "$LINENO"
11299 then :
11300 ac_cv_crosscflags__Wwrite_strings=yes
11301 else $as_nop
11302 ac_cv_crosscflags__Wwrite_strings=no
11304 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11305 conftest$ac_exeext conftest.$ac_ext
11306 CFLAGS=$ac_wine_try_cflags_saved
11307 CC=$ac_wine_try_cflags_saved_cc
11308 ac_exeext=$ac_wine_try_cflags_saved_exeext
11310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
11311 printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
11312 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
11313 then :
11314 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
11316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
11317 printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
11318 if test ${ac_cv_crosscflags__Wpointer_arith+y}
11319 then :
11320 printf %s "(cached) " >&6
11321 else $as_nop
11322 ac_wine_try_cflags_saved=$CFLAGS
11323 ac_wine_try_cflags_saved_cc=$CC
11324 ac_wine_try_cflags_saved_exeext=$ac_exeext
11325 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11326 CC="$CROSSCC"
11327 ac_exeext=".exe"
11328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11329 /* end confdefs.h. */
11330 int __cdecl mainCRTStartup(void) { return 0; }
11331 _ACEOF
11332 if ac_fn_c_try_link "$LINENO"
11333 then :
11334 ac_cv_crosscflags__Wpointer_arith=yes
11335 else $as_nop
11336 ac_cv_crosscflags__Wpointer_arith=no
11338 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11339 conftest$ac_exeext conftest.$ac_ext
11340 CFLAGS=$ac_wine_try_cflags_saved
11341 CC=$ac_wine_try_cflags_saved_cc
11342 ac_exeext=$ac_wine_try_cflags_saved_exeext
11344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
11345 printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
11346 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
11347 then :
11348 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
11350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
11351 printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
11352 if test ${ac_cv_crosscflags__Wlogical_op+y}
11353 then :
11354 printf %s "(cached) " >&6
11355 else $as_nop
11356 ac_wine_try_cflags_saved=$CFLAGS
11357 ac_wine_try_cflags_saved_cc=$CC
11358 ac_wine_try_cflags_saved_exeext=$ac_exeext
11359 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11360 CC="$CROSSCC"
11361 ac_exeext=".exe"
11362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11363 /* end confdefs.h. */
11364 int __cdecl mainCRTStartup(void) { return 0; }
11365 _ACEOF
11366 if ac_fn_c_try_link "$LINENO"
11367 then :
11368 ac_cv_crosscflags__Wlogical_op=yes
11369 else $as_nop
11370 ac_cv_crosscflags__Wlogical_op=no
11372 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11373 conftest$ac_exeext conftest.$ac_ext
11374 CFLAGS=$ac_wine_try_cflags_saved
11375 CC=$ac_wine_try_cflags_saved_cc
11376 ac_exeext=$ac_wine_try_cflags_saved_exeext
11378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
11379 printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
11380 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
11381 then :
11382 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
11384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
11385 printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
11386 if test ${ac_cv_crosscflags__Wabsolute_value+y}
11387 then :
11388 printf %s "(cached) " >&6
11389 else $as_nop
11390 ac_wine_try_cflags_saved=$CFLAGS
11391 ac_wine_try_cflags_saved_cc=$CC
11392 ac_wine_try_cflags_saved_exeext=$ac_exeext
11393 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11394 CC="$CROSSCC"
11395 ac_exeext=".exe"
11396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11397 /* end confdefs.h. */
11398 int __cdecl mainCRTStartup(void) { return 0; }
11399 _ACEOF
11400 if ac_fn_c_try_link "$LINENO"
11401 then :
11402 ac_cv_crosscflags__Wabsolute_value=yes
11403 else $as_nop
11404 ac_cv_crosscflags__Wabsolute_value=no
11406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11407 conftest$ac_exeext conftest.$ac_ext
11408 CFLAGS=$ac_wine_try_cflags_saved
11409 CC=$ac_wine_try_cflags_saved_cc
11410 ac_exeext=$ac_wine_try_cflags_saved_exeext
11412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
11413 printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
11414 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
11415 then :
11416 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
11419 case $host_cpu in
11420 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
11421 printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
11422 if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
11423 then :
11424 printf %s "(cached) " >&6
11425 else $as_nop
11426 ac_wine_try_cflags_saved=$CFLAGS
11427 ac_wine_try_cflags_saved_cc=$CC
11428 ac_wine_try_cflags_saved_exeext=$ac_exeext
11429 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11430 CC="$CROSSCC"
11431 ac_exeext=".exe"
11432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11433 /* end confdefs.h. */
11434 int __cdecl mainCRTStartup(void) { return 0; }
11435 _ACEOF
11436 if ac_fn_c_try_link "$LINENO"
11437 then :
11438 ac_cv_crosscflags__fno_omit_frame_pointer=yes
11439 else $as_nop
11440 ac_cv_crosscflags__fno_omit_frame_pointer=no
11442 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11443 conftest$ac_exeext conftest.$ac_ext
11444 CFLAGS=$ac_wine_try_cflags_saved
11445 CC=$ac_wine_try_cflags_saved_cc
11446 ac_exeext=$ac_wine_try_cflags_saved_exeext
11448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
11449 printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
11450 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
11451 then :
11452 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
11453 fi ;;
11454 x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11455 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11456 if test ${ac_cv_crosscflags__Wno_format+y}
11457 then :
11458 printf %s "(cached) " >&6
11459 else $as_nop
11460 ac_wine_try_cflags_saved=$CFLAGS
11461 ac_wine_try_cflags_saved_cc=$CC
11462 ac_wine_try_cflags_saved_exeext=$ac_exeext
11463 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11464 CC="$CROSSCC"
11465 ac_exeext=".exe"
11466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11467 /* end confdefs.h. */
11468 int __cdecl mainCRTStartup(void) { return 0; }
11469 _ACEOF
11470 if ac_fn_c_try_link "$LINENO"
11471 then :
11472 ac_cv_crosscflags__Wno_format=yes
11473 else $as_nop
11474 ac_cv_crosscflags__Wno_format=no
11476 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11477 conftest$ac_exeext conftest.$ac_ext
11478 CFLAGS=$ac_wine_try_cflags_saved
11479 CC=$ac_wine_try_cflags_saved_cc
11480 ac_exeext=$ac_wine_try_cflags_saved_exeext
11482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11483 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11484 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11485 then :
11486 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
11489 printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
11490 if test ${ac_cv_crosscflags__Wformat_overflow+y}
11491 then :
11492 printf %s "(cached) " >&6
11493 else $as_nop
11494 ac_wine_try_cflags_saved=$CFLAGS
11495 ac_wine_try_cflags_saved_cc=$CC
11496 ac_wine_try_cflags_saved_exeext=$ac_exeext
11497 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11498 CC="$CROSSCC"
11499 ac_exeext=".exe"
11500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11501 /* end confdefs.h. */
11502 int __cdecl mainCRTStartup(void) { return 0; }
11503 _ACEOF
11504 if ac_fn_c_try_link "$LINENO"
11505 then :
11506 ac_cv_crosscflags__Wformat_overflow=yes
11507 else $as_nop
11508 ac_cv_crosscflags__Wformat_overflow=no
11510 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11511 conftest$ac_exeext conftest.$ac_ext
11512 CFLAGS=$ac_wine_try_cflags_saved
11513 CC=$ac_wine_try_cflags_saved_cc
11514 ac_exeext=$ac_wine_try_cflags_saved_exeext
11516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
11517 printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
11518 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
11519 then :
11520 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
11522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
11523 printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
11524 if test ${ac_cv_crosscflags__Wnonnull+y}
11525 then :
11526 printf %s "(cached) " >&6
11527 else $as_nop
11528 ac_wine_try_cflags_saved=$CFLAGS
11529 ac_wine_try_cflags_saved_cc=$CC
11530 ac_wine_try_cflags_saved_exeext=$ac_exeext
11531 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11532 CC="$CROSSCC"
11533 ac_exeext=".exe"
11534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11535 /* end confdefs.h. */
11536 int __cdecl mainCRTStartup(void) { return 0; }
11537 _ACEOF
11538 if ac_fn_c_try_link "$LINENO"
11539 then :
11540 ac_cv_crosscflags__Wnonnull=yes
11541 else $as_nop
11542 ac_cv_crosscflags__Wnonnull=no
11544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11545 conftest$ac_exeext conftest.$ac_ext
11546 CFLAGS=$ac_wine_try_cflags_saved
11547 CC=$ac_wine_try_cflags_saved_cc
11548 ac_exeext=$ac_wine_try_cflags_saved_exeext
11550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
11551 printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
11552 if test "x$ac_cv_crosscflags__Wnonnull" = xyes
11553 then :
11554 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
11556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
11557 printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
11558 if test ${ac_cv_crosscflags__mcx16+y}
11559 then :
11560 printf %s "(cached) " >&6
11561 else $as_nop
11562 ac_wine_try_cflags_saved=$CFLAGS
11563 ac_wine_try_cflags_saved_cc=$CC
11564 ac_wine_try_cflags_saved_exeext=$ac_exeext
11565 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
11566 CC="$CROSSCC"
11567 ac_exeext=".exe"
11568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11569 /* end confdefs.h. */
11570 int __cdecl mainCRTStartup(void) { return 0; }
11571 _ACEOF
11572 if ac_fn_c_try_link "$LINENO"
11573 then :
11574 ac_cv_crosscflags__mcx16=yes
11575 else $as_nop
11576 ac_cv_crosscflags__mcx16=no
11578 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11579 conftest$ac_exeext conftest.$ac_ext
11580 CFLAGS=$ac_wine_try_cflags_saved
11581 CC=$ac_wine_try_cflags_saved_cc
11582 ac_exeext=$ac_wine_try_cflags_saved_exeext
11584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
11585 printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
11586 if test "x$ac_cv_crosscflags__mcx16" = xyes
11587 then :
11588 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
11589 fi ;;
11590 aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11591 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11592 if test ${ac_cv_crosscflags__Wno_format+y}
11593 then :
11594 printf %s "(cached) " >&6
11595 else $as_nop
11596 ac_wine_try_cflags_saved=$CFLAGS
11597 ac_wine_try_cflags_saved_cc=$CC
11598 ac_wine_try_cflags_saved_exeext=$ac_exeext
11599 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11600 CC="$CROSSCC"
11601 ac_exeext=".exe"
11602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11603 /* end confdefs.h. */
11604 int __cdecl mainCRTStartup(void) { return 0; }
11605 _ACEOF
11606 if ac_fn_c_try_link "$LINENO"
11607 then :
11608 ac_cv_crosscflags__Wno_format=yes
11609 else $as_nop
11610 ac_cv_crosscflags__Wno_format=no
11612 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11613 conftest$ac_exeext conftest.$ac_ext
11614 CFLAGS=$ac_wine_try_cflags_saved
11615 CC=$ac_wine_try_cflags_saved_cc
11616 ac_exeext=$ac_wine_try_cflags_saved_exeext
11618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11619 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11620 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11621 then :
11622 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11623 fi ;;
11624 esac
11627 if test -z "$CROSSDEBUG"
11628 then
11629 for ac_flag in $CROSSCFLAGS; do
11630 case $ac_flag in
11631 -gdwarf*) CROSSDEBUG=dwarf ;;
11632 -gcodeview) CROSSDEBUG=pdb ;;
11633 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
11634 esac
11635 done
11638 ac_debug_format_seen=""
11639 for ac_flag in $CROSSCFLAGS; do
11640 case $ac_flag in
11641 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11642 esac
11643 done
11644 if test "x$ac_debug_format_seen" = x
11645 then
11646 case $CROSSDEBUG in
11647 *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-4" >&5
11648 printf %s "checking whether the cross-compiler supports -gdwarf-4... " >&6; }
11649 if test ${ac_cv_crosscflags__gdwarf_4+y}
11650 then :
11651 printf %s "(cached) " >&6
11652 else $as_nop
11653 ac_wine_try_cflags_saved=$CFLAGS
11654 ac_wine_try_cflags_saved_cc=$CC
11655 ac_wine_try_cflags_saved_exeext=$ac_exeext
11656 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11657 CC="$CROSSCC"
11658 ac_exeext=".exe"
11659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11660 /* end confdefs.h. */
11661 int __cdecl mainCRTStartup(void) { return 0; }
11662 _ACEOF
11663 if ac_fn_c_try_link "$LINENO"
11664 then :
11665 ac_cv_crosscflags__gdwarf_4=yes
11666 else $as_nop
11667 ac_cv_crosscflags__gdwarf_4=no
11669 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11670 conftest$ac_exeext conftest.$ac_ext
11671 CFLAGS=$ac_wine_try_cflags_saved
11672 CC=$ac_wine_try_cflags_saved_cc
11673 ac_exeext=$ac_wine_try_cflags_saved_exeext
11675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_4" >&5
11676 printf "%s\n" "$ac_cv_crosscflags__gdwarf_4" >&6; }
11677 if test "x$ac_cv_crosscflags__gdwarf_4" = xyes
11678 then :
11679 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-4"
11680 fi ;;
11681 pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
11682 printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
11683 if test ${ac_cv_crosscflags__gcodeview+y}
11684 then :
11685 printf %s "(cached) " >&6
11686 else $as_nop
11687 ac_wine_try_cflags_saved=$CFLAGS
11688 ac_wine_try_cflags_saved_cc=$CC
11689 ac_wine_try_cflags_saved_exeext=$ac_exeext
11690 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11691 CC="$CROSSCC"
11692 ac_exeext=".exe"
11693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11694 /* end confdefs.h. */
11695 int __cdecl mainCRTStartup(void) { return 0; }
11696 _ACEOF
11697 if ac_fn_c_try_link "$LINENO"
11698 then :
11699 ac_cv_crosscflags__gcodeview=yes
11700 else $as_nop
11701 ac_cv_crosscflags__gcodeview=no
11703 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11704 conftest$ac_exeext conftest.$ac_ext
11705 CFLAGS=$ac_wine_try_cflags_saved
11706 CC=$ac_wine_try_cflags_saved_cc
11707 ac_exeext=$ac_wine_try_cflags_saved_exeext
11709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
11710 printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
11711 if test "x$ac_cv_crosscflags__gcodeview" = xyes
11712 then :
11713 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
11714 fi ;;
11715 esac
11718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
11719 printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
11720 if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
11721 then :
11722 printf %s "(cached) " >&6
11723 else $as_nop
11724 ac_wine_try_cflags_saved=$CFLAGS
11725 ac_wine_try_cflags_saved_cc=$CC
11726 ac_wine_try_cflags_saved_exeext=$ac_exeext
11727 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
11728 CC="$CROSSCC"
11729 ac_exeext=".exe"
11730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11731 /* end confdefs.h. */
11732 int __cdecl mainCRTStartup(void) { return 0; }
11733 _ACEOF
11734 if ac_fn_c_try_link "$LINENO"
11735 then :
11736 ac_cv_crosscflags__fexcess_precision_standard=yes
11737 else $as_nop
11738 ac_cv_crosscflags__fexcess_precision_standard=no
11740 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11741 conftest$ac_exeext conftest.$ac_ext
11742 CFLAGS=$ac_wine_try_cflags_saved
11743 CC=$ac_wine_try_cflags_saved_cc
11744 ac_exeext=$ac_wine_try_cflags_saved_exeext
11746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
11747 printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
11748 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
11749 then :
11750 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
11754 if test "x$enable_werror" = "xyes"
11755 then
11756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
11757 printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
11758 if test ${ac_cv_crosscflags__Werror+y}
11759 then :
11760 printf %s "(cached) " >&6
11761 else $as_nop
11762 ac_wine_try_cflags_saved=$CFLAGS
11763 ac_wine_try_cflags_saved_cc=$CC
11764 ac_wine_try_cflags_saved_exeext=$ac_exeext
11765 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
11766 CC="$CROSSCC"
11767 ac_exeext=".exe"
11768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11769 /* end confdefs.h. */
11770 int __cdecl mainCRTStartup(void) { return 0; }
11771 _ACEOF
11772 if ac_fn_c_try_link "$LINENO"
11773 then :
11774 ac_cv_crosscflags__Werror=yes
11775 else $as_nop
11776 ac_cv_crosscflags__Werror=no
11778 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11779 conftest$ac_exeext conftest.$ac_ext
11780 CFLAGS=$ac_wine_try_cflags_saved
11781 CC=$ac_wine_try_cflags_saved_cc
11782 ac_exeext=$ac_wine_try_cflags_saved_exeext
11784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
11785 printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
11786 if test "x$ac_cv_crosscflags__Werror" = xyes
11787 then :
11788 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
11791 if test "x$enable_build_id" = "xyes"
11792 then
11793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
11794 printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
11795 if test ${ac_cv_crosscflags__Wl___build_id+y}
11796 then :
11797 printf %s "(cached) " >&6
11798 else $as_nop
11799 ac_wine_try_cflags_saved=$CFLAGS
11800 ac_wine_try_cflags_saved_cc=$CC
11801 ac_wine_try_cflags_saved_exeext=$ac_exeext
11802 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
11803 CC="$CROSSCC"
11804 ac_exeext=".exe"
11805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11806 /* end confdefs.h. */
11807 int __cdecl mainCRTStartup(void) { return 0; }
11808 _ACEOF
11809 if ac_fn_c_try_link "$LINENO"
11810 then :
11811 ac_cv_crosscflags__Wl___build_id=yes
11812 else $as_nop
11813 ac_cv_crosscflags__Wl___build_id=no
11815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11816 conftest$ac_exeext conftest.$ac_ext
11817 CFLAGS=$ac_wine_try_cflags_saved
11818 CC=$ac_wine_try_cflags_saved_cc
11819 ac_exeext=$ac_wine_try_cflags_saved_exeext
11821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
11822 printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
11823 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
11824 then :
11825 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
11826 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
11830 CFLAGS=$saved_CFLAGS
11831 LDFLAGS=$saved_LDFLAGS
11832 CC="$ac_save_CC"
11835 if test "x$CROSSTARGET" = "x"
11836 then :
11837 case "x$with_mingw" in
11838 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11839 xno) ;;
11840 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11841 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11842 esac
11846 case $host_cpu in
11847 aarch64*) test "x$CROSSTARGET" != x || as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5 ;;
11848 esac
11851 if test "x$with_system_dllpath" != "x" -a "$CROSSCC" != "false"
11852 then
11853 case "$host_cpu" in
11854 i[3456789]86*)
11855 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11857 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11858 esac
11859 for ac_prog in $ac_prefix_list
11861 # Extract the first word of "$ac_prog", so it can be a program name with args.
11862 set dummy $ac_prog; ac_word=$2
11863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11864 printf %s "checking for $ac_word... " >&6; }
11865 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11866 then :
11867 printf %s "(cached) " >&6
11868 else $as_nop
11869 if test -n "$MINGW_PKG_CONFIG"; then
11870 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11871 else
11872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11873 for as_dir in $PATH
11875 IFS=$as_save_IFS
11876 case $as_dir in #(((
11877 '') as_dir=./ ;;
11878 */) ;;
11879 *) as_dir=$as_dir/ ;;
11880 esac
11881 for ac_exec_ext in '' $ac_executable_extensions; do
11882 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11883 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11884 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11885 break 2
11887 done
11888 done
11889 IFS=$as_save_IFS
11893 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11894 if test -n "$MINGW_PKG_CONFIG"; then
11895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11896 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11897 else
11898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11899 printf "%s\n" "no" >&6; }
11903 test -n "$MINGW_PKG_CONFIG" && break
11904 done
11905 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11907 if ${FAUDIO_PE_CFLAGS:+false} :
11908 then :
11909 if test ${MINGW_PKG_CONFIG+y}
11910 then :
11911 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11914 if ${FAUDIO_PE_LIBS:+false} :
11915 then :
11916 if test ${MINGW_PKG_CONFIG+y}
11917 then :
11918 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11921 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11922 ac_save_CPPFLAGS=$CPPFLAGS
11923 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11925 printf %s "checking for MinGW FAudio.h... " >&6; }
11926 if test ${ac_cv_mingw_header_FAudio_h+y}
11927 then :
11928 printf %s "(cached) " >&6
11929 else $as_nop
11930 ac_wine_check_headers_saved_cc=$CC
11931 ac_wine_check_headers_saved_exeext=$ac_exeext
11932 CC="$CROSSCC"
11933 ac_exeext=".exe"
11934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11935 /* end confdefs.h. */
11937 #include <FAudio.h>
11939 main (void)
11943 return 0;
11945 _ACEOF
11946 if ac_fn_c_try_compile "$LINENO"
11947 then :
11948 ac_cv_mingw_header_FAudio_h=yes
11949 else $as_nop
11950 ac_cv_mingw_header_FAudio_h=no
11952 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11953 CC=$ac_wine_check_headers_saved_cc
11954 ac_exeext=$ac_wine_check_headers_saved_exeext
11956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11957 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11958 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11959 then :
11960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11961 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11962 if test ${ac_cv_mingw_lib_FAudio+y}
11963 then :
11964 printf %s "(cached) " >&6
11965 else $as_nop
11966 ac_wine_check_headers_saved_cc=$CC
11967 ac_wine_check_headers_saved_exeext=$ac_exeext
11968 ac_wine_check_headers_saved_libs=$LIBS
11969 CC="$CROSSCC"
11970 ac_exeext=".exe"
11971 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11973 /* end confdefs.h. */
11975 /* Override any GCC internal prototype to avoid an error.
11976 Use char because int might match the return type of a GCC
11977 builtin and then its argument prototype would still apply. */
11978 char FAudio_CommitOperationSet ();
11980 main (void)
11982 return FAudio_CommitOperationSet ();
11984 return 0;
11986 _ACEOF
11987 if ac_fn_c_try_link "$LINENO"
11988 then :
11989 ac_cv_mingw_lib_FAudio=yes
11990 else $as_nop
11991 ac_cv_mingw_lib_FAudio=no
11993 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11994 conftest$ac_exeext conftest.$ac_ext
11995 CC=$ac_wine_check_headers_saved_cc
11996 ac_exeext=$ac_wine_check_headers_saved_exeext
11997 LIBS=$ac_wine_check_headers_saved_libs
11999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12000 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12001 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12002 then :
12004 else $as_nop
12005 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12007 else $as_nop
12008 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12010 CPPFLAGS=$ac_save_CPPFLAGS
12012 if test "x$FAUDIO_PE_LIBS" = "x"
12013 then
12014 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12017 if ${JPEG_PE_CFLAGS:+false} :
12018 then :
12019 if test ${MINGW_PKG_CONFIG+y}
12020 then :
12021 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12024 if ${JPEG_PE_LIBS:+false} :
12025 then :
12026 if test ${MINGW_PKG_CONFIG+y}
12027 then :
12028 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12032 ac_save_CPPFLAGS=$CPPFLAGS
12033 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12035 printf %s "checking for MinGW jpeglib.h... " >&6; }
12036 if test ${ac_cv_mingw_header_jpeglib_h+y}
12037 then :
12038 printf %s "(cached) " >&6
12039 else $as_nop
12040 ac_wine_check_headers_saved_cc=$CC
12041 ac_wine_check_headers_saved_exeext=$ac_exeext
12042 CC="$CROSSCC"
12043 ac_exeext=".exe"
12044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12045 /* end confdefs.h. */
12046 #include <stddef.h>
12047 #include <stdio.h>
12048 #include <jpeglib.h>
12050 main (void)
12054 return 0;
12056 _ACEOF
12057 if ac_fn_c_try_compile "$LINENO"
12058 then :
12059 ac_cv_mingw_header_jpeglib_h=yes
12060 else $as_nop
12061 ac_cv_mingw_header_jpeglib_h=no
12063 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12064 CC=$ac_wine_check_headers_saved_cc
12065 ac_exeext=$ac_wine_check_headers_saved_exeext
12067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12068 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12069 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12070 then :
12071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12072 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12073 if test ${ac_cv_mingw_lib_jpeg+y}
12074 then :
12075 printf %s "(cached) " >&6
12076 else $as_nop
12077 ac_wine_check_headers_saved_cc=$CC
12078 ac_wine_check_headers_saved_exeext=$ac_exeext
12079 ac_wine_check_headers_saved_libs=$LIBS
12080 CC="$CROSSCC"
12081 ac_exeext=".exe"
12082 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12084 /* end confdefs.h. */
12086 /* Override any GCC internal prototype to avoid an error.
12087 Use char because int might match the return type of a GCC
12088 builtin and then its argument prototype would still apply. */
12089 char jpeg_start_decompress ();
12091 main (void)
12093 return jpeg_start_decompress ();
12095 return 0;
12097 _ACEOF
12098 if ac_fn_c_try_link "$LINENO"
12099 then :
12100 ac_cv_mingw_lib_jpeg=yes
12101 else $as_nop
12102 ac_cv_mingw_lib_jpeg=no
12104 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12105 conftest$ac_exeext conftest.$ac_ext
12106 CC=$ac_wine_check_headers_saved_cc
12107 ac_exeext=$ac_wine_check_headers_saved_exeext
12108 LIBS=$ac_wine_check_headers_saved_libs
12110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12111 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12112 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12113 then :
12115 else $as_nop
12116 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12118 else $as_nop
12119 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12121 CPPFLAGS=$ac_save_CPPFLAGS
12123 if test "x$JPEG_PE_LIBS" = "x"
12124 then
12125 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12128 if ${LCMS2_PE_CFLAGS:+false} :
12129 then :
12130 if test ${MINGW_PKG_CONFIG+y}
12131 then :
12132 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12135 if ${LCMS2_PE_LIBS:+false} :
12136 then :
12137 if test ${MINGW_PKG_CONFIG+y}
12138 then :
12139 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12142 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12143 ac_save_CPPFLAGS=$CPPFLAGS
12144 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12146 printf %s "checking for MinGW lcms2.h... " >&6; }
12147 if test ${ac_cv_mingw_header_lcms2_h+y}
12148 then :
12149 printf %s "(cached) " >&6
12150 else $as_nop
12151 ac_wine_check_headers_saved_cc=$CC
12152 ac_wine_check_headers_saved_exeext=$ac_exeext
12153 CC="$CROSSCC"
12154 ac_exeext=".exe"
12155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12156 /* end confdefs.h. */
12158 #include <lcms2.h>
12160 main (void)
12164 return 0;
12166 _ACEOF
12167 if ac_fn_c_try_compile "$LINENO"
12168 then :
12169 ac_cv_mingw_header_lcms2_h=yes
12170 else $as_nop
12171 ac_cv_mingw_header_lcms2_h=no
12173 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12174 CC=$ac_wine_check_headers_saved_cc
12175 ac_exeext=$ac_wine_check_headers_saved_exeext
12177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12178 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12179 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12180 then :
12181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12182 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12183 if test ${ac_cv_mingw_lib_lcms2+y}
12184 then :
12185 printf %s "(cached) " >&6
12186 else $as_nop
12187 ac_wine_check_headers_saved_cc=$CC
12188 ac_wine_check_headers_saved_exeext=$ac_exeext
12189 ac_wine_check_headers_saved_libs=$LIBS
12190 CC="$CROSSCC"
12191 ac_exeext=".exe"
12192 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12194 /* end confdefs.h. */
12196 /* Override any GCC internal prototype to avoid an error.
12197 Use char because int might match the return type of a GCC
12198 builtin and then its argument prototype would still apply. */
12199 char cmsOpenProfileFromFile ();
12201 main (void)
12203 return cmsOpenProfileFromFile ();
12205 return 0;
12207 _ACEOF
12208 if ac_fn_c_try_link "$LINENO"
12209 then :
12210 ac_cv_mingw_lib_lcms2=yes
12211 else $as_nop
12212 ac_cv_mingw_lib_lcms2=no
12214 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12215 conftest$ac_exeext conftest.$ac_ext
12216 CC=$ac_wine_check_headers_saved_cc
12217 ac_exeext=$ac_wine_check_headers_saved_exeext
12218 LIBS=$ac_wine_check_headers_saved_libs
12220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12221 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12222 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12223 then :
12225 else $as_nop
12226 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12228 else $as_nop
12229 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12231 CPPFLAGS=$ac_save_CPPFLAGS
12233 if test "x$LCMS2_PE_LIBS" = "x"
12234 then
12235 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12238 if ${MPG123_PE_CFLAGS:+false} :
12239 then :
12240 if test ${MINGW_PKG_CONFIG+y}
12241 then :
12242 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12245 if ${MPG123_PE_LIBS:+false} :
12246 then :
12247 if test ${MINGW_PKG_CONFIG+y}
12248 then :
12249 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12252 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12253 ac_save_CPPFLAGS=$CPPFLAGS
12254 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12256 printf %s "checking for MinGW mpg123.h... " >&6; }
12257 if test ${ac_cv_mingw_header_mpg123_h+y}
12258 then :
12259 printf %s "(cached) " >&6
12260 else $as_nop
12261 ac_wine_check_headers_saved_cc=$CC
12262 ac_wine_check_headers_saved_exeext=$ac_exeext
12263 CC="$CROSSCC"
12264 ac_exeext=".exe"
12265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12266 /* end confdefs.h. */
12268 #include <mpg123.h>
12270 main (void)
12274 return 0;
12276 _ACEOF
12277 if ac_fn_c_try_compile "$LINENO"
12278 then :
12279 ac_cv_mingw_header_mpg123_h=yes
12280 else $as_nop
12281 ac_cv_mingw_header_mpg123_h=no
12283 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12284 CC=$ac_wine_check_headers_saved_cc
12285 ac_exeext=$ac_wine_check_headers_saved_exeext
12287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12288 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12289 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12290 then :
12291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12292 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12293 if test ${ac_cv_mingw_lib_mpg123+y}
12294 then :
12295 printf %s "(cached) " >&6
12296 else $as_nop
12297 ac_wine_check_headers_saved_cc=$CC
12298 ac_wine_check_headers_saved_exeext=$ac_exeext
12299 ac_wine_check_headers_saved_libs=$LIBS
12300 CC="$CROSSCC"
12301 ac_exeext=".exe"
12302 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12304 /* end confdefs.h. */
12306 /* Override any GCC internal prototype to avoid an error.
12307 Use char because int might match the return type of a GCC
12308 builtin and then its argument prototype would still apply. */
12309 char mpg123_feed ();
12311 main (void)
12313 return mpg123_feed ();
12315 return 0;
12317 _ACEOF
12318 if ac_fn_c_try_link "$LINENO"
12319 then :
12320 ac_cv_mingw_lib_mpg123=yes
12321 else $as_nop
12322 ac_cv_mingw_lib_mpg123=no
12324 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12325 conftest$ac_exeext conftest.$ac_ext
12326 CC=$ac_wine_check_headers_saved_cc
12327 ac_exeext=$ac_wine_check_headers_saved_exeext
12328 LIBS=$ac_wine_check_headers_saved_libs
12330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12331 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12332 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12333 then :
12335 else $as_nop
12336 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12338 else $as_nop
12339 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12341 CPPFLAGS=$ac_save_CPPFLAGS
12343 if test "x$MPG123_PE_LIBS" = "x"
12344 then
12345 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12348 if ${PNG_PE_CFLAGS:+false} :
12349 then :
12350 if test ${MINGW_PKG_CONFIG+y}
12351 then :
12352 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12355 if ${PNG_PE_LIBS:+false} :
12356 then :
12357 if test ${MINGW_PKG_CONFIG+y}
12358 then :
12359 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12363 ac_save_CPPFLAGS=$CPPFLAGS
12364 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12366 printf %s "checking for MinGW png.h... " >&6; }
12367 if test ${ac_cv_mingw_header_png_h+y}
12368 then :
12369 printf %s "(cached) " >&6
12370 else $as_nop
12371 ac_wine_check_headers_saved_cc=$CC
12372 ac_wine_check_headers_saved_exeext=$ac_exeext
12373 CC="$CROSSCC"
12374 ac_exeext=".exe"
12375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12376 /* end confdefs.h. */
12378 #include <png.h>
12380 main (void)
12384 return 0;
12386 _ACEOF
12387 if ac_fn_c_try_compile "$LINENO"
12388 then :
12389 ac_cv_mingw_header_png_h=yes
12390 else $as_nop
12391 ac_cv_mingw_header_png_h=no
12393 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12394 CC=$ac_wine_check_headers_saved_cc
12395 ac_exeext=$ac_wine_check_headers_saved_exeext
12397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12398 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12399 if test "x$ac_cv_mingw_header_png_h" = xyes
12400 then :
12401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12402 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12403 if test ${ac_cv_mingw_lib_png+y}
12404 then :
12405 printf %s "(cached) " >&6
12406 else $as_nop
12407 ac_wine_check_headers_saved_cc=$CC
12408 ac_wine_check_headers_saved_exeext=$ac_exeext
12409 ac_wine_check_headers_saved_libs=$LIBS
12410 CC="$CROSSCC"
12411 ac_exeext=".exe"
12412 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12414 /* end confdefs.h. */
12416 /* Override any GCC internal prototype to avoid an error.
12417 Use char because int might match the return type of a GCC
12418 builtin and then its argument prototype would still apply. */
12419 char png_create_read_struct ();
12421 main (void)
12423 return png_create_read_struct ();
12425 return 0;
12427 _ACEOF
12428 if ac_fn_c_try_link "$LINENO"
12429 then :
12430 ac_cv_mingw_lib_png=yes
12431 else $as_nop
12432 ac_cv_mingw_lib_png=no
12434 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12435 conftest$ac_exeext conftest.$ac_ext
12436 CC=$ac_wine_check_headers_saved_cc
12437 ac_exeext=$ac_wine_check_headers_saved_exeext
12438 LIBS=$ac_wine_check_headers_saved_libs
12440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12441 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12442 if test "x$ac_cv_mingw_lib_png" = xyes
12443 then :
12445 else $as_nop
12446 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12448 else $as_nop
12449 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12451 CPPFLAGS=$ac_save_CPPFLAGS
12453 if test "x$PNG_PE_LIBS" = "x"
12454 then
12455 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12458 if ${TIFF_PE_CFLAGS:+false} :
12459 then :
12460 if test ${MINGW_PKG_CONFIG+y}
12461 then :
12462 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12465 if ${TIFF_PE_LIBS:+false} :
12466 then :
12467 if test ${MINGW_PKG_CONFIG+y}
12468 then :
12469 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12473 ac_save_CPPFLAGS=$CPPFLAGS
12474 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12476 printf %s "checking for MinGW tiffio.h... " >&6; }
12477 if test ${ac_cv_mingw_header_tiffio_h+y}
12478 then :
12479 printf %s "(cached) " >&6
12480 else $as_nop
12481 ac_wine_check_headers_saved_cc=$CC
12482 ac_wine_check_headers_saved_exeext=$ac_exeext
12483 CC="$CROSSCC"
12484 ac_exeext=".exe"
12485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12486 /* end confdefs.h. */
12488 #include <tiffio.h>
12490 main (void)
12494 return 0;
12496 _ACEOF
12497 if ac_fn_c_try_compile "$LINENO"
12498 then :
12499 ac_cv_mingw_header_tiffio_h=yes
12500 else $as_nop
12501 ac_cv_mingw_header_tiffio_h=no
12503 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12504 CC=$ac_wine_check_headers_saved_cc
12505 ac_exeext=$ac_wine_check_headers_saved_exeext
12507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12508 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12509 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12510 then :
12511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12512 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12513 if test ${ac_cv_mingw_lib_tiff+y}
12514 then :
12515 printf %s "(cached) " >&6
12516 else $as_nop
12517 ac_wine_check_headers_saved_cc=$CC
12518 ac_wine_check_headers_saved_exeext=$ac_exeext
12519 ac_wine_check_headers_saved_libs=$LIBS
12520 CC="$CROSSCC"
12521 ac_exeext=".exe"
12522 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12524 /* end confdefs.h. */
12526 /* Override any GCC internal prototype to avoid an error.
12527 Use char because int might match the return type of a GCC
12528 builtin and then its argument prototype would still apply. */
12529 char TIFFClientOpen ();
12531 main (void)
12533 return TIFFClientOpen ();
12535 return 0;
12537 _ACEOF
12538 if ac_fn_c_try_link "$LINENO"
12539 then :
12540 ac_cv_mingw_lib_tiff=yes
12541 else $as_nop
12542 ac_cv_mingw_lib_tiff=no
12544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12545 conftest$ac_exeext conftest.$ac_ext
12546 CC=$ac_wine_check_headers_saved_cc
12547 ac_exeext=$ac_wine_check_headers_saved_exeext
12548 LIBS=$ac_wine_check_headers_saved_libs
12550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12551 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12552 if test "x$ac_cv_mingw_lib_tiff" = xyes
12553 then :
12555 else $as_nop
12556 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12558 else $as_nop
12559 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12561 CPPFLAGS=$ac_save_CPPFLAGS
12563 if test "x$TIFF_PE_LIBS" = "x"
12564 then
12565 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12568 if ${XML2_PE_CFLAGS:+false} :
12569 then :
12570 if test ${MINGW_PKG_CONFIG+y}
12571 then :
12572 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12575 if ${XML2_PE_LIBS:+false} :
12576 then :
12577 if test ${MINGW_PKG_CONFIG+y}
12578 then :
12579 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12582 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12583 ac_save_CPPFLAGS=$CPPFLAGS
12584 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12586 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12587 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12588 then :
12589 printf %s "(cached) " >&6
12590 else $as_nop
12591 ac_wine_check_headers_saved_cc=$CC
12592 ac_wine_check_headers_saved_exeext=$ac_exeext
12593 CC="$CROSSCC"
12594 ac_exeext=".exe"
12595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12596 /* end confdefs.h. */
12598 #include <libxml/parser.h>
12600 main (void)
12604 return 0;
12606 _ACEOF
12607 if ac_fn_c_try_compile "$LINENO"
12608 then :
12609 ac_cv_mingw_header_libxml_parser_h=yes
12610 else $as_nop
12611 ac_cv_mingw_header_libxml_parser_h=no
12613 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12614 CC=$ac_wine_check_headers_saved_cc
12615 ac_exeext=$ac_wine_check_headers_saved_exeext
12617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12618 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12619 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12620 then :
12623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12624 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12625 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12626 then :
12627 printf %s "(cached) " >&6
12628 else $as_nop
12629 ac_wine_check_headers_saved_cc=$CC
12630 ac_wine_check_headers_saved_exeext=$ac_exeext
12631 CC="$CROSSCC"
12632 ac_exeext=".exe"
12633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12634 /* end confdefs.h. */
12636 #include <libxml/xmlsave.h>
12638 main (void)
12642 return 0;
12644 _ACEOF
12645 if ac_fn_c_try_compile "$LINENO"
12646 then :
12647 ac_cv_mingw_header_libxml_xmlsave_h=yes
12648 else $as_nop
12649 ac_cv_mingw_header_libxml_xmlsave_h=no
12651 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12652 CC=$ac_wine_check_headers_saved_cc
12653 ac_exeext=$ac_wine_check_headers_saved_exeext
12655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12656 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12657 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12658 then :
12661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12662 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12663 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12664 then :
12665 printf %s "(cached) " >&6
12666 else $as_nop
12667 ac_wine_check_headers_saved_cc=$CC
12668 ac_wine_check_headers_saved_exeext=$ac_exeext
12669 CC="$CROSSCC"
12670 ac_exeext=".exe"
12671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12672 /* end confdefs.h. */
12674 #include <libxml/SAX2.h>
12676 main (void)
12680 return 0;
12682 _ACEOF
12683 if ac_fn_c_try_compile "$LINENO"
12684 then :
12685 ac_cv_mingw_header_libxml_SAX2_h=yes
12686 else $as_nop
12687 ac_cv_mingw_header_libxml_SAX2_h=no
12689 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12690 CC=$ac_wine_check_headers_saved_cc
12691 ac_exeext=$ac_wine_check_headers_saved_exeext
12693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12694 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12695 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12696 then :
12699 if test "$ac_cv_mingw_header_libxml_parser_h" = "yes" -a "$ac_cv_mingw_header_libxml_xmlsave_h" = "yes" -a "$ac_cv_mingw_header_libxml_SAX2_h" = "yes"
12700 then
12701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12702 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12703 if test ${ac_cv_mingw_lib_xml2+y}
12704 then :
12705 printf %s "(cached) " >&6
12706 else $as_nop
12707 ac_wine_check_headers_saved_cc=$CC
12708 ac_wine_check_headers_saved_exeext=$ac_exeext
12709 ac_wine_check_headers_saved_libs=$LIBS
12710 CC="$CROSSCC"
12711 ac_exeext=".exe"
12712 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12714 /* end confdefs.h. */
12716 /* Override any GCC internal prototype to avoid an error.
12717 Use char because int might match the return type of a GCC
12718 builtin and then its argument prototype would still apply. */
12719 char xmlFirstElementChild ();
12721 main (void)
12723 return xmlFirstElementChild ();
12725 return 0;
12727 _ACEOF
12728 if ac_fn_c_try_link "$LINENO"
12729 then :
12730 ac_cv_mingw_lib_xml2=yes
12731 else $as_nop
12732 ac_cv_mingw_lib_xml2=no
12734 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12735 conftest$ac_exeext conftest.$ac_ext
12736 CC=$ac_wine_check_headers_saved_cc
12737 ac_exeext=$ac_wine_check_headers_saved_exeext
12738 LIBS=$ac_wine_check_headers_saved_libs
12740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12741 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12742 if test "x$ac_cv_mingw_lib_xml2" = xyes
12743 then :
12745 else $as_nop
12746 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12748 else
12749 XML2_PE_CFLAGS=""
12750 XML2_PE_LIBS=""
12752 CPPFLAGS=$ac_save_CPPFLAGS
12754 if test "x$XML2_PE_LIBS" = "x"
12755 then
12756 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12759 if ${XSLT_PE_CFLAGS:+false} :
12760 then :
12761 if test ${MINGW_PKG_CONFIG+y}
12762 then :
12763 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12766 if ${XSLT_PE_LIBS:+false} :
12767 then :
12768 if test ${MINGW_PKG_CONFIG+y}
12769 then :
12770 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12773 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12774 ac_save_CPPFLAGS=$CPPFLAGS
12775 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12777 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12778 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12779 then :
12780 printf %s "(cached) " >&6
12781 else $as_nop
12782 ac_wine_check_headers_saved_cc=$CC
12783 ac_wine_check_headers_saved_exeext=$ac_exeext
12784 CC="$CROSSCC"
12785 ac_exeext=".exe"
12786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12787 /* end confdefs.h. */
12789 #include <libxslt/pattern.h>
12791 main (void)
12795 return 0;
12797 _ACEOF
12798 if ac_fn_c_try_compile "$LINENO"
12799 then :
12800 ac_cv_mingw_header_libxslt_pattern_h=yes
12801 else $as_nop
12802 ac_cv_mingw_header_libxslt_pattern_h=no
12804 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12805 CC=$ac_wine_check_headers_saved_cc
12806 ac_exeext=$ac_wine_check_headers_saved_exeext
12808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12809 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12810 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12811 then :
12814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12815 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12816 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12817 then :
12818 printf %s "(cached) " >&6
12819 else $as_nop
12820 ac_wine_check_headers_saved_cc=$CC
12821 ac_wine_check_headers_saved_exeext=$ac_exeext
12822 CC="$CROSSCC"
12823 ac_exeext=".exe"
12824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12825 /* end confdefs.h. */
12827 #include <libxslt/transform.h>
12829 main (void)
12833 return 0;
12835 _ACEOF
12836 if ac_fn_c_try_compile "$LINENO"
12837 then :
12838 ac_cv_mingw_header_libxslt_transform_h=yes
12839 else $as_nop
12840 ac_cv_mingw_header_libxslt_transform_h=no
12842 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12843 CC=$ac_wine_check_headers_saved_cc
12844 ac_exeext=$ac_wine_check_headers_saved_exeext
12846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12847 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12848 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12849 then :
12852 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12853 then
12854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12855 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12856 if test ${ac_cv_mingw_lib_xslt+y}
12857 then :
12858 printf %s "(cached) " >&6
12859 else $as_nop
12860 ac_wine_check_headers_saved_cc=$CC
12861 ac_wine_check_headers_saved_exeext=$ac_exeext
12862 ac_wine_check_headers_saved_libs=$LIBS
12863 CC="$CROSSCC"
12864 ac_exeext=".exe"
12865 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12867 /* end confdefs.h. */
12869 /* Override any GCC internal prototype to avoid an error.
12870 Use char because int might match the return type of a GCC
12871 builtin and then its argument prototype would still apply. */
12872 char xsltCompilePattern ();
12874 main (void)
12876 return xsltCompilePattern ();
12878 return 0;
12880 _ACEOF
12881 if ac_fn_c_try_link "$LINENO"
12882 then :
12883 ac_cv_mingw_lib_xslt=yes
12884 else $as_nop
12885 ac_cv_mingw_lib_xslt=no
12887 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12888 conftest$ac_exeext conftest.$ac_ext
12889 CC=$ac_wine_check_headers_saved_cc
12890 ac_exeext=$ac_wine_check_headers_saved_exeext
12891 LIBS=$ac_wine_check_headers_saved_libs
12893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12894 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12895 if test "x$ac_cv_mingw_lib_xslt" = xyes
12896 then :
12898 else $as_nop
12899 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12901 else
12902 XSLT_PE_CFLAGS=""
12903 XSLT_PE_LIBS=""
12905 CPPFLAGS=$ac_save_CPPFLAGS
12907 if test "x$XSLT_PE_LIBS" = "x"
12908 then
12909 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12912 if ${VKD3D_PE_CFLAGS:+false} :
12913 then :
12914 if test ${MINGW_PKG_CONFIG+y}
12915 then :
12916 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12919 if ${VKD3D_PE_LIBS:+false} :
12920 then :
12921 if test ${MINGW_PKG_CONFIG+y}
12922 then :
12923 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12926 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12927 ac_save_CPPFLAGS=$CPPFLAGS
12928 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12930 printf %s "checking for MinGW vkd3d.h... " >&6; }
12931 if test ${ac_cv_mingw_header_vkd3d_h+y}
12932 then :
12933 printf %s "(cached) " >&6
12934 else $as_nop
12935 ac_wine_check_headers_saved_cc=$CC
12936 ac_wine_check_headers_saved_exeext=$ac_exeext
12937 CC="$CROSSCC"
12938 ac_exeext=".exe"
12939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12940 /* end confdefs.h. */
12942 #include <vkd3d.h>
12944 main (void)
12948 return 0;
12950 _ACEOF
12951 if ac_fn_c_try_compile "$LINENO"
12952 then :
12953 ac_cv_mingw_header_vkd3d_h=yes
12954 else $as_nop
12955 ac_cv_mingw_header_vkd3d_h=no
12957 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12958 CC=$ac_wine_check_headers_saved_cc
12959 ac_exeext=$ac_wine_check_headers_saved_exeext
12961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12962 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12963 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12964 then :
12967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12968 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12969 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12970 then :
12971 printf %s "(cached) " >&6
12972 else $as_nop
12973 ac_wine_check_headers_saved_cc=$CC
12974 ac_wine_check_headers_saved_exeext=$ac_exeext
12975 CC="$CROSSCC"
12976 ac_exeext=".exe"
12977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12978 /* end confdefs.h. */
12980 #include <vkd3d_shader.h>
12982 main (void)
12986 return 0;
12988 _ACEOF
12989 if ac_fn_c_try_compile "$LINENO"
12990 then :
12991 ac_cv_mingw_header_vkd3d_shader_h=yes
12992 else $as_nop
12993 ac_cv_mingw_header_vkd3d_shader_h=no
12995 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12996 CC=$ac_wine_check_headers_saved_cc
12997 ac_exeext=$ac_wine_check_headers_saved_exeext
12999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13000 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13001 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13002 then :
13005 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13006 then
13007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_serialize_versioned_root_signature in MinGW -lvkd3d" >&5
13008 printf %s "checking for vkd3d_serialize_versioned_root_signature in MinGW -lvkd3d... " >&6; }
13009 if test ${ac_cv_mingw_lib_vkd3d+y}
13010 then :
13011 printf %s "(cached) " >&6
13012 else $as_nop
13013 ac_wine_check_headers_saved_cc=$CC
13014 ac_wine_check_headers_saved_exeext=$ac_exeext
13015 ac_wine_check_headers_saved_libs=$LIBS
13016 CC="$CROSSCC"
13017 ac_exeext=".exe"
13018 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13020 /* end confdefs.h. */
13022 /* Override any GCC internal prototype to avoid an error.
13023 Use char because int might match the return type of a GCC
13024 builtin and then its argument prototype would still apply. */
13025 char vkd3d_serialize_versioned_root_signature ();
13027 main (void)
13029 return vkd3d_serialize_versioned_root_signature ();
13031 return 0;
13033 _ACEOF
13034 if ac_fn_c_try_link "$LINENO"
13035 then :
13036 ac_cv_mingw_lib_vkd3d=yes
13037 else $as_nop
13038 ac_cv_mingw_lib_vkd3d=no
13040 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13041 conftest$ac_exeext conftest.$ac_ext
13042 CC=$ac_wine_check_headers_saved_cc
13043 ac_exeext=$ac_wine_check_headers_saved_exeext
13044 LIBS=$ac_wine_check_headers_saved_libs
13046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13047 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13048 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13049 then :
13051 else $as_nop
13054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
13055 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
13056 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13057 then :
13058 printf %s "(cached) " >&6
13059 else $as_nop
13060 ac_wine_check_headers_saved_cc=$CC
13061 ac_wine_check_headers_saved_exeext=$ac_exeext
13062 ac_wine_check_headers_saved_libs=$LIBS
13063 CC="$CROSSCC"
13064 ac_exeext=".exe"
13065 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13067 /* end confdefs.h. */
13069 /* Override any GCC internal prototype to avoid an error.
13070 Use char because int might match the return type of a GCC
13071 builtin and then its argument prototype would still apply. */
13072 char vkd3d_shader_compile ();
13074 main (void)
13076 return vkd3d_shader_compile ();
13078 return 0;
13080 _ACEOF
13081 if ac_fn_c_try_link "$LINENO"
13082 then :
13083 ac_cv_mingw_lib_vkd3d_shader=yes
13084 else $as_nop
13085 ac_cv_mingw_lib_vkd3d_shader=no
13087 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13088 conftest$ac_exeext conftest.$ac_ext
13089 CC=$ac_wine_check_headers_saved_cc
13090 ac_exeext=$ac_wine_check_headers_saved_exeext
13091 LIBS=$ac_wine_check_headers_saved_libs
13093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13094 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13095 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13096 then :
13098 else $as_nop
13101 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13102 then
13103 VKD3D_PE_CFLAGS=""
13104 VKD3D_PE_LIBS=""
13106 else
13107 VKD3D_PE_CFLAGS=""
13108 VKD3D_PE_LIBS=""
13110 CPPFLAGS=$ac_save_CPPFLAGS
13112 if test "x$VKD3D_PE_LIBS" = "x"
13113 then
13114 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found; using bundled version."
13117 if ${ZLIB_PE_CFLAGS:+false} :
13118 then :
13119 if test ${MINGW_PKG_CONFIG+y}
13120 then :
13121 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13124 if ${ZLIB_PE_LIBS:+false} :
13125 then :
13126 if test ${MINGW_PKG_CONFIG+y}
13127 then :
13128 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13131 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13132 ac_save_CPPFLAGS=$CPPFLAGS
13133 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13135 printf %s "checking for MinGW zlib.h... " >&6; }
13136 if test ${ac_cv_mingw_header_zlib_h+y}
13137 then :
13138 printf %s "(cached) " >&6
13139 else $as_nop
13140 ac_wine_check_headers_saved_cc=$CC
13141 ac_wine_check_headers_saved_exeext=$ac_exeext
13142 CC="$CROSSCC"
13143 ac_exeext=".exe"
13144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13145 /* end confdefs.h. */
13147 #include <zlib.h>
13149 main (void)
13153 return 0;
13155 _ACEOF
13156 if ac_fn_c_try_compile "$LINENO"
13157 then :
13158 ac_cv_mingw_header_zlib_h=yes
13159 else $as_nop
13160 ac_cv_mingw_header_zlib_h=no
13162 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13163 CC=$ac_wine_check_headers_saved_cc
13164 ac_exeext=$ac_wine_check_headers_saved_exeext
13166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13167 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13168 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13169 then :
13170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13171 printf %s "checking for inflate in MinGW -lz... " >&6; }
13172 if test ${ac_cv_mingw_lib_z+y}
13173 then :
13174 printf %s "(cached) " >&6
13175 else $as_nop
13176 ac_wine_check_headers_saved_cc=$CC
13177 ac_wine_check_headers_saved_exeext=$ac_exeext
13178 ac_wine_check_headers_saved_libs=$LIBS
13179 CC="$CROSSCC"
13180 ac_exeext=".exe"
13181 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13183 /* end confdefs.h. */
13185 /* Override any GCC internal prototype to avoid an error.
13186 Use char because int might match the return type of a GCC
13187 builtin and then its argument prototype would still apply. */
13188 char inflate ();
13190 main (void)
13192 return inflate ();
13194 return 0;
13196 _ACEOF
13197 if ac_fn_c_try_link "$LINENO"
13198 then :
13199 ac_cv_mingw_lib_z=yes
13200 else $as_nop
13201 ac_cv_mingw_lib_z=no
13203 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13204 conftest$ac_exeext conftest.$ac_ext
13205 CC=$ac_wine_check_headers_saved_cc
13206 ac_exeext=$ac_wine_check_headers_saved_exeext
13207 LIBS=$ac_wine_check_headers_saved_libs
13209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13210 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13211 if test "x$ac_cv_mingw_lib_z" = xyes
13212 then :
13214 else $as_nop
13215 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13217 else $as_nop
13218 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13220 CPPFLAGS=$ac_save_CPPFLAGS
13222 if test "x$ZLIB_PE_LIBS" = "x"
13223 then
13224 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13228 if ${FAUDIO_PE_LIBS:+false} :
13229 then :
13230 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13231 if ${FAUDIO_PE_CFLAGS:+false} :
13232 then :
13233 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13234 else $as_nop
13235 enable_faudio=no
13237 else $as_nop
13238 enable_faudio=no
13240 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13241 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13243 if ${GSM_PE_LIBS:+false} :
13244 then :
13245 GSM_PE_LIBS=gsm
13246 if ${GSM_PE_CFLAGS:+false} :
13247 then :
13248 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13249 else $as_nop
13250 enable_gsm=no
13252 else $as_nop
13253 enable_gsm=no
13255 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13256 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13258 if ${JPEG_PE_LIBS:+false} :
13259 then :
13260 JPEG_PE_LIBS=jpeg
13261 if ${JPEG_PE_CFLAGS:+false} :
13262 then :
13263 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13264 else $as_nop
13265 enable_jpeg=no
13267 else $as_nop
13268 enable_jpeg=no
13270 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13271 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13273 if ${JXR_PE_LIBS:+false} :
13274 then :
13275 JXR_PE_LIBS=jxr
13276 if ${JXR_PE_CFLAGS:+false} :
13277 then :
13278 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13279 else $as_nop
13280 enable_jxr=no
13282 else $as_nop
13283 enable_jxr=no
13285 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13286 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13288 if ${LCMS2_PE_LIBS:+false} :
13289 then :
13290 LCMS2_PE_LIBS=lcms2
13291 if ${LCMS2_PE_CFLAGS:+false} :
13292 then :
13293 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13294 else $as_nop
13295 enable_lcms2=no
13297 else $as_nop
13298 enable_lcms2=no
13300 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13301 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13303 if ${MPG123_PE_LIBS:+false} :
13304 then :
13305 MPG123_PE_LIBS=mpg123
13306 if ${MPG123_PE_CFLAGS:+false} :
13307 then :
13308 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13309 else $as_nop
13310 enable_mpg123=no
13312 else $as_nop
13313 enable_mpg123=no
13315 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13316 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13318 if ${PNG_PE_LIBS:+false} :
13319 then :
13320 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13321 if ${PNG_PE_CFLAGS:+false} :
13322 then :
13323 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13324 else $as_nop
13325 enable_png=no
13327 else $as_nop
13328 enable_png=no
13330 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13333 if ${TIFF_PE_LIBS:+false} :
13334 then :
13335 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13336 if ${TIFF_PE_CFLAGS:+false} :
13337 then :
13338 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13339 else $as_nop
13340 enable_tiff=no
13342 else $as_nop
13343 enable_tiff=no
13345 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13346 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13348 if ${VKD3D_PE_LIBS:+false} :
13349 then :
13350 VKD3D_PE_LIBS=vkd3d
13351 if ${VKD3D_PE_CFLAGS:+false} :
13352 then :
13353 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13354 else $as_nop
13355 enable_vkd3d=no
13357 else $as_nop
13358 enable_vkd3d=no
13360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13361 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13363 if ${XML2_PE_LIBS:+false} :
13364 then :
13365 XML2_PE_LIBS=xml2
13366 if ${XML2_PE_CFLAGS:+false} :
13367 then :
13368 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13369 else $as_nop
13370 enable_xml2=no
13372 else $as_nop
13373 enable_xml2=no
13375 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13376 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13378 if ${XSLT_PE_LIBS:+false} :
13379 then :
13380 XSLT_PE_LIBS=xslt
13381 if ${XSLT_PE_CFLAGS:+false} :
13382 then :
13383 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13384 else $as_nop
13385 enable_xslt=no
13387 else $as_nop
13388 enable_xslt=no
13390 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13391 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13393 if ${ZLIB_PE_LIBS:+false} :
13394 then :
13395 ZLIB_PE_LIBS=z
13396 if ${ZLIB_PE_CFLAGS:+false} :
13397 then :
13398 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13399 else $as_nop
13400 enable_zlib=no
13402 else $as_nop
13403 enable_zlib=no
13405 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13406 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13410 if test "$ac_cv_header_pthread_h" = "yes"
13411 then
13412 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13413 if test "x$ac_cv_func_pthread_create" = xyes
13414 then :
13416 else $as_nop
13417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13418 printf %s "checking for pthread_create in -lpthread... " >&6; }
13419 if test ${ac_cv_lib_pthread_pthread_create+y}
13420 then :
13421 printf %s "(cached) " >&6
13422 else $as_nop
13423 ac_check_lib_save_LIBS=$LIBS
13424 LIBS="-lpthread $LIBS"
13425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13426 /* end confdefs.h. */
13428 /* Override any GCC internal prototype to avoid an error.
13429 Use char because int might match the return type of a GCC
13430 builtin and then its argument prototype would still apply. */
13431 char pthread_create ();
13433 main (void)
13435 return pthread_create ();
13437 return 0;
13439 _ACEOF
13440 if ac_fn_c_try_link "$LINENO"
13441 then :
13442 ac_cv_lib_pthread_pthread_create=yes
13443 else $as_nop
13444 ac_cv_lib_pthread_pthread_create=no
13446 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13447 conftest$ac_exeext conftest.$ac_ext
13448 LIBS=$ac_check_lib_save_LIBS
13450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13451 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13452 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13453 then :
13454 PTHREAD_LIBS="-lpthread"
13461 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13462 then :
13463 case "x$with_pthread" in
13464 xno) ;;
13465 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13466 Wine cannot support threads without libpthread.
13467 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13468 esac
13473 ac_ext=c
13474 ac_cpp='$CPP $CPPFLAGS'
13475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13479 printf %s "checking how to run the C preprocessor... " >&6; }
13480 # On Suns, sometimes $CPP names a directory.
13481 if test -n "$CPP" && test -d "$CPP"; then
13482 CPP=
13484 if test -z "$CPP"; then
13485 if test ${ac_cv_prog_CPP+y}
13486 then :
13487 printf %s "(cached) " >&6
13488 else $as_nop
13489 # Double quotes because $CC needs to be expanded
13490 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13492 ac_preproc_ok=false
13493 for ac_c_preproc_warn_flag in '' yes
13495 # Use a header file that comes with gcc, so configuring glibc
13496 # with a fresh cross-compiler works.
13497 # On the NeXT, cc -E runs the code through the compiler's parser,
13498 # not just through cpp. "Syntax error" is here to catch this case.
13499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13500 /* end confdefs.h. */
13501 #include <limits.h>
13502 Syntax error
13503 _ACEOF
13504 if ac_fn_c_try_cpp "$LINENO"
13505 then :
13507 else $as_nop
13508 # Broken: fails on valid input.
13509 continue
13511 rm -f conftest.err conftest.i conftest.$ac_ext
13513 # OK, works on sane cases. Now check whether nonexistent headers
13514 # can be detected and how.
13515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13516 /* end confdefs.h. */
13517 #include <ac_nonexistent.h>
13518 _ACEOF
13519 if ac_fn_c_try_cpp "$LINENO"
13520 then :
13521 # Broken: success on invalid input.
13522 continue
13523 else $as_nop
13524 # Passes both tests.
13525 ac_preproc_ok=:
13526 break
13528 rm -f conftest.err conftest.i conftest.$ac_ext
13530 done
13531 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13532 rm -f conftest.i conftest.err conftest.$ac_ext
13533 if $ac_preproc_ok
13534 then :
13535 break
13538 done
13539 ac_cv_prog_CPP=$CPP
13542 CPP=$ac_cv_prog_CPP
13543 else
13544 ac_cv_prog_CPP=$CPP
13546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13547 printf "%s\n" "$CPP" >&6; }
13548 ac_preproc_ok=false
13549 for ac_c_preproc_warn_flag in '' yes
13551 # Use a header file that comes with gcc, so configuring glibc
13552 # with a fresh cross-compiler works.
13553 # On the NeXT, cc -E runs the code through the compiler's parser,
13554 # not just through cpp. "Syntax error" is here to catch this case.
13555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13556 /* end confdefs.h. */
13557 #include <limits.h>
13558 Syntax error
13559 _ACEOF
13560 if ac_fn_c_try_cpp "$LINENO"
13561 then :
13563 else $as_nop
13564 # Broken: fails on valid input.
13565 continue
13567 rm -f conftest.err conftest.i conftest.$ac_ext
13569 # OK, works on sane cases. Now check whether nonexistent headers
13570 # can be detected and how.
13571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13572 /* end confdefs.h. */
13573 #include <ac_nonexistent.h>
13574 _ACEOF
13575 if ac_fn_c_try_cpp "$LINENO"
13576 then :
13577 # Broken: success on invalid input.
13578 continue
13579 else $as_nop
13580 # Passes both tests.
13581 ac_preproc_ok=:
13582 break
13584 rm -f conftest.err conftest.i conftest.$ac_ext
13586 done
13587 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13588 rm -f conftest.i conftest.err conftest.$ac_ext
13589 if $ac_preproc_ok
13590 then :
13592 else $as_nop
13593 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13594 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13595 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13596 See \`config.log' for more details" "$LINENO" 5; }
13599 ac_ext=c
13600 ac_cpp='$CPP $CPPFLAGS'
13601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13607 printf %s "checking for X... " >&6; }
13610 # Check whether --with-x was given.
13611 if test ${with_x+y}
13612 then :
13613 withval=$with_x;
13616 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13617 if test "x$with_x" = xno; then
13618 # The user explicitly disabled X.
13619 have_x=disabled
13620 else
13621 case $x_includes,$x_libraries in #(
13622 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13623 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13624 then :
13625 printf %s "(cached) " >&6
13626 else $as_nop
13627 # One or both of the vars are not set, and there is no cached value.
13628 ac_x_includes=no
13629 ac_x_libraries=no
13630 # Do we need to do anything special at all?
13631 ac_save_LIBS=$LIBS
13632 LIBS="-lX11 $LIBS"
13633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13634 /* end confdefs.h. */
13635 #include <X11/Xlib.h>
13637 main (void)
13639 XrmInitialize ()
13641 return 0;
13643 _ACEOF
13644 if ac_fn_c_try_link "$LINENO"
13645 then :
13646 # We can compile and link X programs with no special options.
13647 ac_x_includes=
13648 ac_x_libraries=
13650 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13651 conftest$ac_exeext conftest.$ac_ext
13652 LIBS="$ac_save_LIBS"
13653 # If that didn't work, only try xmkmf and file system searches
13654 # for native compilation.
13655 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13656 then :
13657 rm -f -r conftest.dir
13658 if mkdir conftest.dir; then
13659 cd conftest.dir
13660 cat >Imakefile <<'_ACEOF'
13661 incroot:
13662 @echo incroot='${INCROOT}'
13663 usrlibdir:
13664 @echo usrlibdir='${USRLIBDIR}'
13665 libdir:
13666 @echo libdir='${LIBDIR}'
13667 _ACEOF
13668 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13669 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13670 for ac_var in incroot usrlibdir libdir; do
13671 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13672 done
13673 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13674 for ac_extension in a so sl dylib la dll; do
13675 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13676 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13677 ac_im_usrlibdir=$ac_im_libdir; break
13679 done
13680 # Screen out bogus values from the imake configuration. They are
13681 # bogus both because they are the default anyway, and because
13682 # using them would break gcc on systems where it needs fixed includes.
13683 case $ac_im_incroot in
13684 /usr/include) ac_x_includes= ;;
13685 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13686 esac
13687 case $ac_im_usrlibdir in
13688 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13689 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13690 esac
13692 cd ..
13693 rm -f -r conftest.dir
13696 # Standard set of common directories for X headers.
13697 # Check X11 before X11Rn because it is often a symlink to the current release.
13698 ac_x_header_dirs='
13699 /usr/X11/include
13700 /usr/X11R7/include
13701 /usr/X11R6/include
13702 /usr/X11R5/include
13703 /usr/X11R4/include
13705 /usr/include/X11
13706 /usr/include/X11R7
13707 /usr/include/X11R6
13708 /usr/include/X11R5
13709 /usr/include/X11R4
13711 /usr/local/X11/include
13712 /usr/local/X11R7/include
13713 /usr/local/X11R6/include
13714 /usr/local/X11R5/include
13715 /usr/local/X11R4/include
13717 /usr/local/include/X11
13718 /usr/local/include/X11R7
13719 /usr/local/include/X11R6
13720 /usr/local/include/X11R5
13721 /usr/local/include/X11R4
13723 /opt/X11/include
13725 /usr/X386/include
13726 /usr/x386/include
13727 /usr/XFree86/include/X11
13729 /usr/include
13730 /usr/local/include
13731 /usr/unsupported/include
13732 /usr/athena/include
13733 /usr/local/x11r5/include
13734 /usr/lpp/Xamples/include
13736 /usr/openwin/include
13737 /usr/openwin/share/include'
13739 if test "$ac_x_includes" = no; then
13740 # Guess where to find include files, by looking for Xlib.h.
13741 # First, try using that file with no special directory specified.
13742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13743 /* end confdefs.h. */
13744 #include <X11/Xlib.h>
13745 _ACEOF
13746 if ac_fn_c_try_cpp "$LINENO"
13747 then :
13748 # We can compile using X headers with no special include directory.
13749 ac_x_includes=
13750 else $as_nop
13751 for ac_dir in $ac_x_header_dirs; do
13752 if test -r "$ac_dir/X11/Xlib.h"; then
13753 ac_x_includes=$ac_dir
13754 break
13756 done
13758 rm -f conftest.err conftest.i conftest.$ac_ext
13759 fi # $ac_x_includes = no
13761 if test "$ac_x_libraries" = no; then
13762 # Check for the libraries.
13763 # See if we find them without any special options.
13764 # Don't add to $LIBS permanently.
13765 ac_save_LIBS=$LIBS
13766 LIBS="-lX11 $LIBS"
13767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13768 /* end confdefs.h. */
13769 #include <X11/Xlib.h>
13771 main (void)
13773 XrmInitialize ()
13775 return 0;
13777 _ACEOF
13778 if ac_fn_c_try_link "$LINENO"
13779 then :
13780 LIBS=$ac_save_LIBS
13781 # We can link X programs with no special library path.
13782 ac_x_libraries=
13783 else $as_nop
13784 LIBS=$ac_save_LIBS
13785 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13787 # Don't even attempt the hair of trying to link an X program!
13788 for ac_extension in a so sl dylib la dll; do
13789 if test -r "$ac_dir/libX11.$ac_extension"; then
13790 ac_x_libraries=$ac_dir
13791 break 2
13793 done
13794 done
13796 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13797 conftest$ac_exeext conftest.$ac_ext
13798 fi # $ac_x_libraries = no
13801 # Record the results.
13802 case $ac_x_includes,$ac_x_libraries in #(
13803 no,* | *,no | *\'*) :
13804 # Didn't find X, or a directory has "'" in its name.
13805 ac_cv_have_x="have_x=no" ;; #(
13806 *) :
13807 # Record where we found X for the cache.
13808 ac_cv_have_x="have_x=yes\
13809 ac_x_includes='$ac_x_includes'\
13810 ac_x_libraries='$ac_x_libraries'" ;;
13811 esac
13813 ;; #(
13814 *) have_x=yes;;
13815 esac
13816 eval "$ac_cv_have_x"
13817 fi # $with_x != no
13819 if test "$have_x" != yes; then
13820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13821 printf "%s\n" "$have_x" >&6; }
13822 no_x=yes
13823 else
13824 # If each of the values was on the command line, it overrides each guess.
13825 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13826 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13827 # Update the cache value to reflect the command line values.
13828 ac_cv_have_x="have_x=yes\
13829 ac_x_includes='$x_includes'\
13830 ac_x_libraries='$x_libraries'"
13831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13832 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13835 if test "$no_x" = yes; then
13836 # Not all programs may use this symbol, but it does not hurt to define it.
13838 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13840 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13841 else
13842 if test -n "$x_includes"; then
13843 X_CFLAGS="$X_CFLAGS -I$x_includes"
13846 # It would also be nice to do this for all -L options, not just this one.
13847 if test -n "$x_libraries"; then
13848 X_LIBS="$X_LIBS -L$x_libraries"
13849 # For Solaris; some versions of Sun CC require a space after -R and
13850 # others require no space. Words are not sufficient . . . .
13851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13852 printf %s "checking whether -R must be followed by a space... " >&6; }
13853 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13854 ac_xsave_c_werror_flag=$ac_c_werror_flag
13855 ac_c_werror_flag=yes
13856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13857 /* end confdefs.h. */
13860 main (void)
13864 return 0;
13866 _ACEOF
13867 if ac_fn_c_try_link "$LINENO"
13868 then :
13869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13870 printf "%s\n" "no" >&6; }
13871 X_LIBS="$X_LIBS -R$x_libraries"
13872 else $as_nop
13873 LIBS="$ac_xsave_LIBS -R $x_libraries"
13874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13875 /* end confdefs.h. */
13878 main (void)
13882 return 0;
13884 _ACEOF
13885 if ac_fn_c_try_link "$LINENO"
13886 then :
13887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13888 printf "%s\n" "yes" >&6; }
13889 X_LIBS="$X_LIBS -R $x_libraries"
13890 else $as_nop
13891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13892 printf "%s\n" "neither works" >&6; }
13894 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13895 conftest$ac_exeext conftest.$ac_ext
13897 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13898 conftest$ac_exeext conftest.$ac_ext
13899 ac_c_werror_flag=$ac_xsave_c_werror_flag
13900 LIBS=$ac_xsave_LIBS
13903 # Check for system-dependent libraries X programs must link with.
13904 # Do this before checking for the system-independent R6 libraries
13905 # (-lICE), since we may need -lsocket or whatever for X linking.
13907 if test "$ISC" = yes; then
13908 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13909 else
13910 # Martyn Johnson says this is needed for Ultrix, if the X
13911 # libraries were built with DECnet support. And Karl Berry says
13912 # the Alpha needs dnet_stub (dnet does not exist).
13913 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13915 /* end confdefs.h. */
13917 /* Override any GCC internal prototype to avoid an error.
13918 Use char because int might match the return type of a GCC
13919 builtin and then its argument prototype would still apply. */
13920 char XOpenDisplay ();
13922 main (void)
13924 return XOpenDisplay ();
13926 return 0;
13928 _ACEOF
13929 if ac_fn_c_try_link "$LINENO"
13930 then :
13932 else $as_nop
13933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13934 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13935 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13936 then :
13937 printf %s "(cached) " >&6
13938 else $as_nop
13939 ac_check_lib_save_LIBS=$LIBS
13940 LIBS="-ldnet $LIBS"
13941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13942 /* end confdefs.h. */
13944 /* Override any GCC internal prototype to avoid an error.
13945 Use char because int might match the return type of a GCC
13946 builtin and then its argument prototype would still apply. */
13947 char dnet_ntoa ();
13949 main (void)
13951 return dnet_ntoa ();
13953 return 0;
13955 _ACEOF
13956 if ac_fn_c_try_link "$LINENO"
13957 then :
13958 ac_cv_lib_dnet_dnet_ntoa=yes
13959 else $as_nop
13960 ac_cv_lib_dnet_dnet_ntoa=no
13962 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13963 conftest$ac_exeext conftest.$ac_ext
13964 LIBS=$ac_check_lib_save_LIBS
13966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13967 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13968 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13969 then :
13970 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13973 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13975 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13976 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13977 then :
13978 printf %s "(cached) " >&6
13979 else $as_nop
13980 ac_check_lib_save_LIBS=$LIBS
13981 LIBS="-ldnet_stub $LIBS"
13982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13983 /* end confdefs.h. */
13985 /* Override any GCC internal prototype to avoid an error.
13986 Use char because int might match the return type of a GCC
13987 builtin and then its argument prototype would still apply. */
13988 char dnet_ntoa ();
13990 main (void)
13992 return dnet_ntoa ();
13994 return 0;
13996 _ACEOF
13997 if ac_fn_c_try_link "$LINENO"
13998 then :
13999 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14000 else $as_nop
14001 ac_cv_lib_dnet_stub_dnet_ntoa=no
14003 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14004 conftest$ac_exeext conftest.$ac_ext
14005 LIBS=$ac_check_lib_save_LIBS
14007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14008 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14009 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14010 then :
14011 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14016 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14017 conftest$ac_exeext conftest.$ac_ext
14018 LIBS="$ac_xsave_LIBS"
14020 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14021 # to get the SysV transport functions.
14022 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14023 # needs -lnsl.
14024 # The nsl library prevents programs from opening the X display
14025 # on Irix 5.2, according to T.E. Dickey.
14026 # The functions gethostbyname, getservbyname, and inet_addr are
14027 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14028 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14029 if test "x$ac_cv_func_gethostbyname" = xyes
14030 then :
14034 if test $ac_cv_func_gethostbyname = no; then
14035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14036 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14037 if test ${ac_cv_lib_nsl_gethostbyname+y}
14038 then :
14039 printf %s "(cached) " >&6
14040 else $as_nop
14041 ac_check_lib_save_LIBS=$LIBS
14042 LIBS="-lnsl $LIBS"
14043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14044 /* end confdefs.h. */
14046 /* Override any GCC internal prototype to avoid an error.
14047 Use char because int might match the return type of a GCC
14048 builtin and then its argument prototype would still apply. */
14049 char gethostbyname ();
14051 main (void)
14053 return gethostbyname ();
14055 return 0;
14057 _ACEOF
14058 if ac_fn_c_try_link "$LINENO"
14059 then :
14060 ac_cv_lib_nsl_gethostbyname=yes
14061 else $as_nop
14062 ac_cv_lib_nsl_gethostbyname=no
14064 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14065 conftest$ac_exeext conftest.$ac_ext
14066 LIBS=$ac_check_lib_save_LIBS
14068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14069 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14070 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14071 then :
14072 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14075 if test $ac_cv_lib_nsl_gethostbyname = no; then
14076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14077 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14078 if test ${ac_cv_lib_bsd_gethostbyname+y}
14079 then :
14080 printf %s "(cached) " >&6
14081 else $as_nop
14082 ac_check_lib_save_LIBS=$LIBS
14083 LIBS="-lbsd $LIBS"
14084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14085 /* end confdefs.h. */
14087 /* Override any GCC internal prototype to avoid an error.
14088 Use char because int might match the return type of a GCC
14089 builtin and then its argument prototype would still apply. */
14090 char gethostbyname ();
14092 main (void)
14094 return gethostbyname ();
14096 return 0;
14098 _ACEOF
14099 if ac_fn_c_try_link "$LINENO"
14100 then :
14101 ac_cv_lib_bsd_gethostbyname=yes
14102 else $as_nop
14103 ac_cv_lib_bsd_gethostbyname=no
14105 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14106 conftest$ac_exeext conftest.$ac_ext
14107 LIBS=$ac_check_lib_save_LIBS
14109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14110 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14111 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14112 then :
14113 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14119 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14120 # socket/setsockopt and other routines are undefined under SCO ODT
14121 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14122 # on later versions), says Simon Leinen: it contains gethostby*
14123 # variants that don't use the name server (or something). -lsocket
14124 # must be given before -lnsl if both are needed. We assume that
14125 # if connect needs -lnsl, so does gethostbyname.
14126 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14127 if test "x$ac_cv_func_connect" = xyes
14128 then :
14132 if test $ac_cv_func_connect = no; then
14133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14134 printf %s "checking for connect in -lsocket... " >&6; }
14135 if test ${ac_cv_lib_socket_connect+y}
14136 then :
14137 printf %s "(cached) " >&6
14138 else $as_nop
14139 ac_check_lib_save_LIBS=$LIBS
14140 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14142 /* end confdefs.h. */
14144 /* Override any GCC internal prototype to avoid an error.
14145 Use char because int might match the return type of a GCC
14146 builtin and then its argument prototype would still apply. */
14147 char connect ();
14149 main (void)
14151 return connect ();
14153 return 0;
14155 _ACEOF
14156 if ac_fn_c_try_link "$LINENO"
14157 then :
14158 ac_cv_lib_socket_connect=yes
14159 else $as_nop
14160 ac_cv_lib_socket_connect=no
14162 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14163 conftest$ac_exeext conftest.$ac_ext
14164 LIBS=$ac_check_lib_save_LIBS
14166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14167 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14168 if test "x$ac_cv_lib_socket_connect" = xyes
14169 then :
14170 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14175 # Guillermo Gomez says -lposix is necessary on A/UX.
14176 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14177 if test "x$ac_cv_func_remove" = xyes
14178 then :
14182 if test $ac_cv_func_remove = no; then
14183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14184 printf %s "checking for remove in -lposix... " >&6; }
14185 if test ${ac_cv_lib_posix_remove+y}
14186 then :
14187 printf %s "(cached) " >&6
14188 else $as_nop
14189 ac_check_lib_save_LIBS=$LIBS
14190 LIBS="-lposix $LIBS"
14191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14192 /* end confdefs.h. */
14194 /* Override any GCC internal prototype to avoid an error.
14195 Use char because int might match the return type of a GCC
14196 builtin and then its argument prototype would still apply. */
14197 char remove ();
14199 main (void)
14201 return remove ();
14203 return 0;
14205 _ACEOF
14206 if ac_fn_c_try_link "$LINENO"
14207 then :
14208 ac_cv_lib_posix_remove=yes
14209 else $as_nop
14210 ac_cv_lib_posix_remove=no
14212 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14213 conftest$ac_exeext conftest.$ac_ext
14214 LIBS=$ac_check_lib_save_LIBS
14216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14217 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14218 if test "x$ac_cv_lib_posix_remove" = xyes
14219 then :
14220 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14225 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14226 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14227 if test "x$ac_cv_func_shmat" = xyes
14228 then :
14232 if test $ac_cv_func_shmat = no; then
14233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14234 printf %s "checking for shmat in -lipc... " >&6; }
14235 if test ${ac_cv_lib_ipc_shmat+y}
14236 then :
14237 printf %s "(cached) " >&6
14238 else $as_nop
14239 ac_check_lib_save_LIBS=$LIBS
14240 LIBS="-lipc $LIBS"
14241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14242 /* end confdefs.h. */
14244 /* Override any GCC internal prototype to avoid an error.
14245 Use char because int might match the return type of a GCC
14246 builtin and then its argument prototype would still apply. */
14247 char shmat ();
14249 main (void)
14251 return shmat ();
14253 return 0;
14255 _ACEOF
14256 if ac_fn_c_try_link "$LINENO"
14257 then :
14258 ac_cv_lib_ipc_shmat=yes
14259 else $as_nop
14260 ac_cv_lib_ipc_shmat=no
14262 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14263 conftest$ac_exeext conftest.$ac_ext
14264 LIBS=$ac_check_lib_save_LIBS
14266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14267 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14268 if test "x$ac_cv_lib_ipc_shmat" = xyes
14269 then :
14270 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14276 # Check for libraries that X11R6 Xt/Xaw programs need.
14277 ac_save_LDFLAGS=$LDFLAGS
14278 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14279 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14280 # check for ICE first), but we must link in the order -lSM -lICE or
14281 # we get undefined symbols. So assume we have SM if we have ICE.
14282 # These have to be linked with before -lX11, unlike the other
14283 # libraries we check for below, so use a different variable.
14284 # John Interrante, Karl Berry
14285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14286 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14287 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14288 then :
14289 printf %s "(cached) " >&6
14290 else $as_nop
14291 ac_check_lib_save_LIBS=$LIBS
14292 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14294 /* end confdefs.h. */
14296 /* Override any GCC internal prototype to avoid an error.
14297 Use char because int might match the return type of a GCC
14298 builtin and then its argument prototype would still apply. */
14299 char IceConnectionNumber ();
14301 main (void)
14303 return IceConnectionNumber ();
14305 return 0;
14307 _ACEOF
14308 if ac_fn_c_try_link "$LINENO"
14309 then :
14310 ac_cv_lib_ICE_IceConnectionNumber=yes
14311 else $as_nop
14312 ac_cv_lib_ICE_IceConnectionNumber=no
14314 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14315 conftest$ac_exeext conftest.$ac_ext
14316 LIBS=$ac_check_lib_save_LIBS
14318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14319 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14320 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14321 then :
14322 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14325 LDFLAGS=$ac_save_LDFLAGS
14330 if test "$have_x" = "yes"
14331 then
14332 ac_save_CPPFLAGS="$CPPFLAGS"
14333 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14336 printf %s "checking for -lX11... " >&6; }
14337 if test ${ac_cv_lib_soname_X11+y}
14338 then :
14339 printf %s "(cached) " >&6
14340 else $as_nop
14341 ac_check_soname_save_LIBS=$LIBS
14342 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14344 /* end confdefs.h. */
14346 /* Override any GCC internal prototype to avoid an error.
14347 Use char because int might match the return type of a GCC
14348 builtin and then its argument prototype would still apply. */
14349 char XCreateWindow ();
14351 main (void)
14353 return XCreateWindow ();
14355 return 0;
14357 _ACEOF
14358 if ac_fn_c_try_link "$LINENO"
14359 then :
14360 case "$LIBEXT" in
14361 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14362 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'` ;;
14363 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14364 if ${ac_cv_lib_soname_X11:+false} :
14365 then :
14366 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14367 fi ;;
14368 esac
14369 else $as_nop
14370 ac_cv_lib_soname_X11=
14372 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14373 conftest$ac_exeext conftest.$ac_ext
14374 LIBS=$ac_check_soname_save_LIBS
14376 if ${ac_cv_lib_soname_X11:+false} :
14377 then :
14378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14379 printf "%s\n" "not found" >&6; }
14381 else $as_nop
14382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14383 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14385 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14390 printf %s "checking for -lXext... " >&6; }
14391 if test ${ac_cv_lib_soname_Xext+y}
14392 then :
14393 printf %s "(cached) " >&6
14394 else $as_nop
14395 ac_check_soname_save_LIBS=$LIBS
14396 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14398 /* end confdefs.h. */
14400 /* Override any GCC internal prototype to avoid an error.
14401 Use char because int might match the return type of a GCC
14402 builtin and then its argument prototype would still apply. */
14403 char XextCreateExtension ();
14405 main (void)
14407 return XextCreateExtension ();
14409 return 0;
14411 _ACEOF
14412 if ac_fn_c_try_link "$LINENO"
14413 then :
14414 case "$LIBEXT" in
14415 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14416 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'` ;;
14417 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14418 if ${ac_cv_lib_soname_Xext:+false} :
14419 then :
14420 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14421 fi ;;
14422 esac
14423 else $as_nop
14424 ac_cv_lib_soname_Xext=
14426 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14427 conftest$ac_exeext conftest.$ac_ext
14428 LIBS=$ac_check_soname_save_LIBS
14430 if ${ac_cv_lib_soname_Xext:+false} :
14431 then :
14432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14433 printf "%s\n" "not found" >&6; }
14435 else $as_nop
14436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14437 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14439 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14441 X_LIBS="$X_LIBS -lXext"
14443 X_LIBS="$X_LIBS -lX11"
14445 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14446 # include <X11/Xlib.h>
14447 #endif
14448 #ifdef HAVE_X11_XUTIL_H
14449 # include <X11/Xutil.h>
14450 #endif
14452 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14453 then :
14454 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14457 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14458 # include <X11/Xlib.h>
14459 #endif
14460 #ifdef HAVE_X11_XUTIL_H
14461 # include <X11/Xutil.h>
14462 #endif
14464 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14465 then :
14466 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14469 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14470 # include <X11/Xlib.h>
14471 #endif
14472 #ifdef HAVE_X11_XUTIL_H
14473 # include <X11/Xutil.h>
14474 #endif
14476 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14477 then :
14478 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14481 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14482 # include <X11/Xlib.h>
14483 #endif
14484 #ifdef HAVE_X11_XUTIL_H
14485 # include <X11/Xutil.h>
14486 #endif
14488 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14489 then :
14490 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14493 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14494 # include <X11/Xlib.h>
14495 #endif
14496 #ifdef HAVE_X11_XUTIL_H
14497 # include <X11/Xutil.h>
14498 #endif
14500 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14501 then :
14502 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14505 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14506 # include <X11/Xlib.h>
14507 #endif
14508 #ifdef HAVE_X11_XUTIL_H
14509 # include <X11/Xutil.h>
14510 #endif
14512 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14513 then :
14514 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14517 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14518 # include <X11/Xlib.h>
14519 #endif
14520 #ifdef HAVE_X11_XUTIL_H
14521 # include <X11/Xutil.h>
14522 #endif
14524 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14525 then :
14526 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14529 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14530 # include <X11/Xlib.h>
14531 #endif
14532 #ifdef HAVE_X11_XUTIL_H
14533 # include <X11/Xutil.h>
14534 #endif
14536 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14537 then :
14538 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14541 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14542 # include <X11/Xlib.h>
14543 #endif
14544 #ifdef HAVE_X11_XUTIL_H
14545 # include <X11/Xutil.h>
14546 #endif
14548 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14549 then :
14550 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14553 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14554 # include <X11/Xlib.h>
14555 #endif
14556 #ifdef HAVE_X11_XUTIL_H
14557 # include <X11/Xutil.h>
14558 #endif
14560 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14561 then :
14562 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14565 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14566 # include <X11/Xlib.h>
14567 #endif
14568 #ifdef HAVE_X11_XUTIL_H
14569 # include <X11/Xutil.h>
14570 #endif
14572 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14573 then :
14574 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14577 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14578 # include <X11/Xlib.h>
14579 #endif
14580 #ifdef HAVE_X11_XUTIL_H
14581 # include <X11/Xutil.h>
14582 #endif
14584 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14585 then :
14586 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14589 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14590 # include <X11/Xlib.h>
14591 #endif
14592 #ifdef HAVE_X11_XUTIL_H
14593 # include <X11/Xutil.h>
14594 #endif
14596 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14597 then :
14598 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14601 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14602 # include <X11/Xlib.h>
14603 #endif
14604 #ifdef HAVE_X11_XUTIL_H
14605 # include <X11/Xutil.h>
14606 #endif
14608 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14609 then :
14610 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14613 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14614 # include <X11/Xlib.h>
14615 #endif
14616 #ifdef HAVE_X11_XUTIL_H
14617 # include <X11/Xutil.h>
14618 #endif
14620 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14621 then :
14622 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14627 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14628 then
14629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14630 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14631 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14632 then :
14633 printf %s "(cached) " >&6
14634 else $as_nop
14635 ac_check_lib_save_LIBS=$LIBS
14636 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14638 /* end confdefs.h. */
14640 /* Override any GCC internal prototype to avoid an error.
14641 Use char because int might match the return type of a GCC
14642 builtin and then its argument prototype would still apply. */
14643 char XkbQueryExtension ();
14645 main (void)
14647 return XkbQueryExtension ();
14649 return 0;
14651 _ACEOF
14652 if ac_fn_c_try_link "$LINENO"
14653 then :
14654 ac_cv_lib_X11_XkbQueryExtension=yes
14655 else $as_nop
14656 ac_cv_lib_X11_XkbQueryExtension=no
14658 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14659 conftest$ac_exeext conftest.$ac_ext
14660 LIBS=$ac_check_lib_save_LIBS
14662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14663 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14664 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14665 then :
14667 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14673 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14674 then
14675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14676 printf %s "checking for -lXcursor... " >&6; }
14677 if test ${ac_cv_lib_soname_Xcursor+y}
14678 then :
14679 printf %s "(cached) " >&6
14680 else $as_nop
14681 ac_check_soname_save_LIBS=$LIBS
14682 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14684 /* end confdefs.h. */
14686 /* Override any GCC internal prototype to avoid an error.
14687 Use char because int might match the return type of a GCC
14688 builtin and then its argument prototype would still apply. */
14689 char XcursorImageLoadCursor ();
14691 main (void)
14693 return XcursorImageLoadCursor ();
14695 return 0;
14697 _ACEOF
14698 if ac_fn_c_try_link "$LINENO"
14699 then :
14700 case "$LIBEXT" in
14701 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14702 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'` ;;
14703 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14704 if ${ac_cv_lib_soname_Xcursor:+false} :
14705 then :
14706 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14707 fi ;;
14708 esac
14709 else $as_nop
14710 ac_cv_lib_soname_Xcursor=
14712 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14713 conftest$ac_exeext conftest.$ac_ext
14714 LIBS=$ac_check_soname_save_LIBS
14716 if ${ac_cv_lib_soname_Xcursor:+false} :
14717 then :
14718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14719 printf "%s\n" "not found" >&6; }
14721 else $as_nop
14722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14723 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14725 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14730 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14731 then :
14732 case "x$with_xcursor" in
14733 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14734 xno) ;;
14735 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14736 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14737 esac
14741 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14742 then
14743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14744 printf %s "checking for -lXi... " >&6; }
14745 if test ${ac_cv_lib_soname_Xi+y}
14746 then :
14747 printf %s "(cached) " >&6
14748 else $as_nop
14749 ac_check_soname_save_LIBS=$LIBS
14750 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14752 /* end confdefs.h. */
14754 /* Override any GCC internal prototype to avoid an error.
14755 Use char because int might match the return type of a GCC
14756 builtin and then its argument prototype would still apply. */
14757 char XOpenDevice ();
14759 main (void)
14761 return XOpenDevice ();
14763 return 0;
14765 _ACEOF
14766 if ac_fn_c_try_link "$LINENO"
14767 then :
14768 case "$LIBEXT" in
14769 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14770 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'` ;;
14771 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14772 if ${ac_cv_lib_soname_Xi:+false} :
14773 then :
14774 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14775 fi ;;
14776 esac
14777 else $as_nop
14778 ac_cv_lib_soname_Xi=
14780 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14781 conftest$ac_exeext conftest.$ac_ext
14782 LIBS=$ac_check_soname_save_LIBS
14784 if ${ac_cv_lib_soname_Xi:+false} :
14785 then :
14786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14787 printf "%s\n" "not found" >&6; }
14789 else $as_nop
14790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14791 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14793 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14798 if test "x$ac_cv_lib_soname_Xi" = "x"
14799 then :
14800 case "x$with_xinput" in
14801 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14802 xno) ;;
14803 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14804 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14805 esac
14809 if test "x$ac_cv_lib_soname_Xi" != x
14810 then
14811 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14812 then :
14813 case "x$with_xinput2" in
14814 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14815 xno) ;;
14816 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14817 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14818 esac
14823 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14824 then
14825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14826 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14827 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14828 then :
14829 printf %s "(cached) " >&6
14830 else $as_nop
14831 ac_check_lib_save_LIBS=$LIBS
14832 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14834 /* end confdefs.h. */
14836 /* Override any GCC internal prototype to avoid an error.
14837 Use char because int might match the return type of a GCC
14838 builtin and then its argument prototype would still apply. */
14839 char XShmQueryExtension ();
14841 main (void)
14843 return XShmQueryExtension ();
14845 return 0;
14847 _ACEOF
14848 if ac_fn_c_try_link "$LINENO"
14849 then :
14850 ac_cv_lib_Xext_XShmQueryExtension=yes
14851 else $as_nop
14852 ac_cv_lib_Xext_XShmQueryExtension=no
14854 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14855 conftest$ac_exeext conftest.$ac_ext
14856 LIBS=$ac_check_lib_save_LIBS
14858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14859 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14860 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14861 then :
14863 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14868 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14869 then :
14870 case "x$with_xshm" in
14871 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14872 xno) ;;
14873 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14874 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14875 esac
14879 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14880 then
14881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14882 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14883 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14884 then :
14885 printf %s "(cached) " >&6
14886 else $as_nop
14887 ac_check_lib_save_LIBS=$LIBS
14888 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14890 /* end confdefs.h. */
14892 /* Override any GCC internal prototype to avoid an error.
14893 Use char because int might match the return type of a GCC
14894 builtin and then its argument prototype would still apply. */
14895 char XShapeQueryExtension ();
14897 main (void)
14899 return XShapeQueryExtension ();
14901 return 0;
14903 _ACEOF
14904 if ac_fn_c_try_link "$LINENO"
14905 then :
14906 ac_cv_lib_Xext_XShapeQueryExtension=yes
14907 else $as_nop
14908 ac_cv_lib_Xext_XShapeQueryExtension=no
14910 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14911 conftest$ac_exeext conftest.$ac_ext
14912 LIBS=$ac_check_lib_save_LIBS
14914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14915 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14916 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14917 then :
14919 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14924 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14925 then :
14926 case "x$with_xshape" in
14927 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14928 xno) ;;
14929 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14930 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14931 esac
14935 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14936 then
14937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14938 printf %s "checking for -lXxf86vm... " >&6; }
14939 if test ${ac_cv_lib_soname_Xxf86vm+y}
14940 then :
14941 printf %s "(cached) " >&6
14942 else $as_nop
14943 ac_check_soname_save_LIBS=$LIBS
14944 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14946 /* end confdefs.h. */
14948 /* Override any GCC internal prototype to avoid an error.
14949 Use char because int might match the return type of a GCC
14950 builtin and then its argument prototype would still apply. */
14951 char XF86VidModeQueryExtension ();
14953 main (void)
14955 return XF86VidModeQueryExtension ();
14957 return 0;
14959 _ACEOF
14960 if ac_fn_c_try_link "$LINENO"
14961 then :
14962 case "$LIBEXT" in
14963 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14964 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'` ;;
14965 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14966 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14967 then :
14968 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14969 fi ;;
14970 esac
14971 else $as_nop
14972 ac_cv_lib_soname_Xxf86vm=
14974 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14975 conftest$ac_exeext conftest.$ac_ext
14976 LIBS=$ac_check_soname_save_LIBS
14978 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14979 then :
14980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14981 printf "%s\n" "not found" >&6; }
14983 else $as_nop
14984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14985 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14987 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14992 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14993 then :
14994 case "x$with_xxf86vm" in
14995 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14996 xno) ;;
14997 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14998 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14999 esac
15003 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15004 then
15005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15006 printf %s "checking for -lXrender... " >&6; }
15007 if test ${ac_cv_lib_soname_Xrender+y}
15008 then :
15009 printf %s "(cached) " >&6
15010 else $as_nop
15011 ac_check_soname_save_LIBS=$LIBS
15012 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15014 /* end confdefs.h. */
15016 /* Override any GCC internal prototype to avoid an error.
15017 Use char because int might match the return type of a GCC
15018 builtin and then its argument prototype would still apply. */
15019 char XRenderQueryExtension ();
15021 main (void)
15023 return XRenderQueryExtension ();
15025 return 0;
15027 _ACEOF
15028 if ac_fn_c_try_link "$LINENO"
15029 then :
15030 case "$LIBEXT" in
15031 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15032 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'` ;;
15033 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15034 if ${ac_cv_lib_soname_Xrender:+false} :
15035 then :
15036 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15037 fi ;;
15038 esac
15039 else $as_nop
15040 ac_cv_lib_soname_Xrender=
15042 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15043 conftest$ac_exeext conftest.$ac_ext
15044 LIBS=$ac_check_soname_save_LIBS
15046 if ${ac_cv_lib_soname_Xrender:+false} :
15047 then :
15048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15049 printf "%s\n" "not found" >&6; }
15051 else $as_nop
15052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15053 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15055 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15058 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15059 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15060 then :
15061 printf %s "(cached) " >&6
15062 else $as_nop
15063 ac_check_lib_save_LIBS=$LIBS
15064 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15066 /* end confdefs.h. */
15068 /* Override any GCC internal prototype to avoid an error.
15069 Use char because int might match the return type of a GCC
15070 builtin and then its argument prototype would still apply. */
15071 char XRenderSetPictureTransform ();
15073 main (void)
15075 return XRenderSetPictureTransform ();
15077 return 0;
15079 _ACEOF
15080 if ac_fn_c_try_link "$LINENO"
15081 then :
15082 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15083 else $as_nop
15084 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15086 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15087 conftest$ac_exeext conftest.$ac_ext
15088 LIBS=$ac_check_lib_save_LIBS
15090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15091 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15092 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15093 then :
15095 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15100 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15101 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15102 then :
15103 printf %s "(cached) " >&6
15104 else $as_nop
15105 ac_check_lib_save_LIBS=$LIBS
15106 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15108 /* end confdefs.h. */
15110 /* Override any GCC internal prototype to avoid an error.
15111 Use char because int might match the return type of a GCC
15112 builtin and then its argument prototype would still apply. */
15113 char XRenderCreateLinearGradient ();
15115 main (void)
15117 return XRenderCreateLinearGradient ();
15119 return 0;
15121 _ACEOF
15122 if ac_fn_c_try_link "$LINENO"
15123 then :
15124 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15125 else $as_nop
15126 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15128 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15129 conftest$ac_exeext conftest.$ac_ext
15130 LIBS=$ac_check_lib_save_LIBS
15132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15133 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15134 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15135 then :
15137 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15144 if test "x$ac_cv_lib_soname_Xrender" = "x"
15145 then :
15146 case "x$with_xrender" in
15147 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15148 xno) ;;
15149 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15150 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15151 esac
15155 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15156 then
15157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15158 /* end confdefs.h. */
15159 #include <X11/Xlib.h>
15160 #include <X11/extensions/Xrandr.h>
15162 main (void)
15164 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15166 return 0;
15168 _ACEOF
15169 if ac_fn_c_try_compile "$LINENO"
15170 then :
15171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15172 printf %s "checking for -lXrandr... " >&6; }
15173 if test ${ac_cv_lib_soname_Xrandr+y}
15174 then :
15175 printf %s "(cached) " >&6
15176 else $as_nop
15177 ac_check_soname_save_LIBS=$LIBS
15178 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15180 /* end confdefs.h. */
15182 /* Override any GCC internal prototype to avoid an error.
15183 Use char because int might match the return type of a GCC
15184 builtin and then its argument prototype would still apply. */
15185 char XRRQueryExtension ();
15187 main (void)
15189 return XRRQueryExtension ();
15191 return 0;
15193 _ACEOF
15194 if ac_fn_c_try_link "$LINENO"
15195 then :
15196 case "$LIBEXT" in
15197 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15198 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'` ;;
15199 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15200 if ${ac_cv_lib_soname_Xrandr:+false} :
15201 then :
15202 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15203 fi ;;
15204 esac
15205 else $as_nop
15206 ac_cv_lib_soname_Xrandr=
15208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15209 conftest$ac_exeext conftest.$ac_ext
15210 LIBS=$ac_check_soname_save_LIBS
15212 if ${ac_cv_lib_soname_Xrandr:+false} :
15213 then :
15214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15215 printf "%s\n" "not found" >&6; }
15217 else $as_nop
15218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15219 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15221 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15224 /* end confdefs.h. */
15225 #include <X11/Xlib.h>
15226 #include <X11/extensions/Xrandr.h>
15228 main (void)
15230 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15232 return 0;
15234 _ACEOF
15235 if ac_fn_c_try_compile "$LINENO"
15236 then :
15238 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15240 else $as_nop
15241 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15243 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15246 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15248 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15249 then :
15250 case "x$with_xrandr" in
15251 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15252 xno) ;;
15253 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15254 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15255 esac
15259 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15260 then
15261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15262 /* end confdefs.h. */
15263 #include <X11/Xlib.h>
15264 #include <X11/extensions/Xfixes.h>
15266 main (void)
15268 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15270 return 0;
15272 _ACEOF
15273 if ac_fn_c_try_compile "$LINENO"
15274 then :
15275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15276 printf %s "checking for -lXfixes... " >&6; }
15277 if test ${ac_cv_lib_soname_Xfixes+y}
15278 then :
15279 printf %s "(cached) " >&6
15280 else $as_nop
15281 ac_check_soname_save_LIBS=$LIBS
15282 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15284 /* end confdefs.h. */
15286 /* Override any GCC internal prototype to avoid an error.
15287 Use char because int might match the return type of a GCC
15288 builtin and then its argument prototype would still apply. */
15289 char XFixesQueryVersion ();
15291 main (void)
15293 return XFixesQueryVersion ();
15295 return 0;
15297 _ACEOF
15298 if ac_fn_c_try_link "$LINENO"
15299 then :
15300 case "$LIBEXT" in
15301 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15302 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'` ;;
15303 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15304 if ${ac_cv_lib_soname_Xfixes:+false} :
15305 then :
15306 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15307 fi ;;
15308 esac
15309 else $as_nop
15310 ac_cv_lib_soname_Xfixes=
15312 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15313 conftest$ac_exeext conftest.$ac_ext
15314 LIBS=$ac_check_soname_save_LIBS
15316 if ${ac_cv_lib_soname_Xfixes:+false} :
15317 then :
15318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15319 printf "%s\n" "not found" >&6; }
15321 else $as_nop
15322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15323 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15325 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15330 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15332 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15333 then :
15334 case "x$with_xfixes" in
15335 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15336 xno) ;;
15337 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15338 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15339 esac
15343 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15344 then
15345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15346 /* end confdefs.h. */
15347 #include <X11/Xlib.h>
15348 #include <X11/extensions/Xinerama.h>
15350 main (void)
15352 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15354 return 0;
15356 _ACEOF
15357 if ac_fn_c_try_compile "$LINENO"
15358 then :
15359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15360 printf %s "checking for -lXinerama... " >&6; }
15361 if test ${ac_cv_lib_soname_Xinerama+y}
15362 then :
15363 printf %s "(cached) " >&6
15364 else $as_nop
15365 ac_check_soname_save_LIBS=$LIBS
15366 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15368 /* end confdefs.h. */
15370 /* Override any GCC internal prototype to avoid an error.
15371 Use char because int might match the return type of a GCC
15372 builtin and then its argument prototype would still apply. */
15373 char XineramaQueryScreens ();
15375 main (void)
15377 return XineramaQueryScreens ();
15379 return 0;
15381 _ACEOF
15382 if ac_fn_c_try_link "$LINENO"
15383 then :
15384 case "$LIBEXT" in
15385 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15386 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'` ;;
15387 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15388 if ${ac_cv_lib_soname_Xinerama:+false} :
15389 then :
15390 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15391 fi ;;
15392 esac
15393 else $as_nop
15394 ac_cv_lib_soname_Xinerama=
15396 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15397 conftest$ac_exeext conftest.$ac_ext
15398 LIBS=$ac_check_soname_save_LIBS
15400 if ${ac_cv_lib_soname_Xinerama:+false} :
15401 then :
15402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15403 printf "%s\n" "not found" >&6; }
15405 else $as_nop
15406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15407 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15409 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15416 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15417 then :
15418 case "x$with_xinerama" in
15419 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15420 xno) ;;
15421 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15422 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15423 esac
15427 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15428 then
15429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15430 printf %s "checking for -lXcomposite... " >&6; }
15431 if test ${ac_cv_lib_soname_Xcomposite+y}
15432 then :
15433 printf %s "(cached) " >&6
15434 else $as_nop
15435 ac_check_soname_save_LIBS=$LIBS
15436 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15438 /* end confdefs.h. */
15440 /* Override any GCC internal prototype to avoid an error.
15441 Use char because int might match the return type of a GCC
15442 builtin and then its argument prototype would still apply. */
15443 char XCompositeRedirectWindow ();
15445 main (void)
15447 return XCompositeRedirectWindow ();
15449 return 0;
15451 _ACEOF
15452 if ac_fn_c_try_link "$LINENO"
15453 then :
15454 case "$LIBEXT" in
15455 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15456 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'` ;;
15457 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15458 if ${ac_cv_lib_soname_Xcomposite:+false} :
15459 then :
15460 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15461 fi ;;
15462 esac
15463 else $as_nop
15464 ac_cv_lib_soname_Xcomposite=
15466 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15467 conftest$ac_exeext conftest.$ac_ext
15468 LIBS=$ac_check_soname_save_LIBS
15470 if ${ac_cv_lib_soname_Xcomposite:+false} :
15471 then :
15472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15473 printf "%s\n" "not found" >&6; }
15475 else $as_nop
15476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15477 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15479 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15484 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15485 then :
15486 case "x$with_xcomposite" in
15487 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15488 xno) ;;
15489 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15490 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15491 esac
15495 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15496 #include <X11/Xlib.h>
15497 #endif
15499 if test "x$ac_cv_member_XICCallback_callback" = xyes
15500 then :
15502 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15506 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15507 #include <X11/Xlib.h>
15508 #endif
15510 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15511 then :
15513 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15520 opengl_msg=""
15521 if test "x$with_opengl" != "xno"
15522 then
15523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15524 printf %s "checking for -lGL... " >&6; }
15525 if test ${ac_cv_lib_soname_GL+y}
15526 then :
15527 printf %s "(cached) " >&6
15528 else $as_nop
15529 ac_check_soname_save_LIBS=$LIBS
15530 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15532 /* end confdefs.h. */
15534 /* Override any GCC internal prototype to avoid an error.
15535 Use char because int might match the return type of a GCC
15536 builtin and then its argument prototype would still apply. */
15537 char glXCreateContext ();
15539 main (void)
15541 return glXCreateContext ();
15543 return 0;
15545 _ACEOF
15546 if ac_fn_c_try_link "$LINENO"
15547 then :
15548 case "$LIBEXT" in
15549 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15550 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'` ;;
15551 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15552 if ${ac_cv_lib_soname_GL:+false} :
15553 then :
15554 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15555 fi ;;
15556 esac
15557 else $as_nop
15558 ac_cv_lib_soname_GL=
15560 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15561 conftest$ac_exeext conftest.$ac_ext
15562 LIBS=$ac_check_soname_save_LIBS
15564 if ${ac_cv_lib_soname_GL:+false} :
15565 then :
15566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15567 printf "%s\n" "not found" >&6; }
15568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15569 printf %s "checking for -lGL... " >&6; }
15570 if test ${ac_cv_lib_soname_GL+y}
15571 then :
15572 printf %s "(cached) " >&6
15573 else $as_nop
15574 ac_check_soname_save_LIBS=$LIBS
15575 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"
15576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15577 /* end confdefs.h. */
15579 /* Override any GCC internal prototype to avoid an error.
15580 Use char because int might match the return type of a GCC
15581 builtin and then its argument prototype would still apply. */
15582 char glXCreateContext ();
15584 main (void)
15586 return glXCreateContext ();
15588 return 0;
15590 _ACEOF
15591 if ac_fn_c_try_link "$LINENO"
15592 then :
15593 case "$LIBEXT" in
15594 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15595 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'` ;;
15596 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15597 if ${ac_cv_lib_soname_GL:+false} :
15598 then :
15599 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15600 fi ;;
15601 esac
15602 else $as_nop
15603 ac_cv_lib_soname_GL=
15605 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15606 conftest$ac_exeext conftest.$ac_ext
15607 LIBS=$ac_check_soname_save_LIBS
15609 if ${ac_cv_lib_soname_GL:+false} :
15610 then :
15611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15612 printf "%s\n" "not found" >&6; }
15613 if test -f /usr/X11R6/lib/libGL.a
15614 then
15615 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15616 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15617 else
15618 opengl_msg="No OpenGL library found on this system."
15620 else $as_nop
15621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15622 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15624 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15626 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"
15628 else $as_nop
15629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15630 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15632 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15634 OPENGL_LIBS="-lGL"
15636 if test "x$with_osmesa" != "xno"
15637 then
15638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15639 printf %s "checking for -lOSMesa... " >&6; }
15640 if test ${ac_cv_lib_soname_OSMesa+y}
15641 then :
15642 printf %s "(cached) " >&6
15643 else $as_nop
15644 ac_check_soname_save_LIBS=$LIBS
15645 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15647 /* end confdefs.h. */
15649 /* Override any GCC internal prototype to avoid an error.
15650 Use char because int might match the return type of a GCC
15651 builtin and then its argument prototype would still apply. */
15652 char OSMesaGetProcAddress ();
15654 main (void)
15656 return OSMesaGetProcAddress ();
15658 return 0;
15660 _ACEOF
15661 if ac_fn_c_try_link "$LINENO"
15662 then :
15663 case "$LIBEXT" in
15664 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15665 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'` ;;
15666 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15667 if ${ac_cv_lib_soname_OSMesa:+false} :
15668 then :
15669 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15670 fi ;;
15671 esac
15672 else $as_nop
15673 ac_cv_lib_soname_OSMesa=
15675 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15676 conftest$ac_exeext conftest.$ac_ext
15677 LIBS=$ac_check_soname_save_LIBS
15679 if ${ac_cv_lib_soname_OSMesa:+false} :
15680 then :
15681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15682 printf "%s\n" "not found" >&6; }
15684 else $as_nop
15685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15686 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15688 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15692 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15693 then :
15694 case "x$with_osmesa" in
15695 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15696 xno) ;;
15697 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15698 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15699 esac
15704 if test -n "$opengl_msg"
15705 then :
15706 case "x$with_opengl" in
15707 x) as_fn_append wine_warnings "|$opengl_msg
15708 OpenGL and Direct3D won't be supported." ;;
15709 xno) ;;
15710 *) as_fn_error $? "$opengl_msg
15711 OpenGL and Direct3D won't be supported.
15712 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15713 esac
15717 CPPFLAGS="$ac_save_CPPFLAGS"
15718 else
15719 X_CFLAGS=""
15720 X_LIBS=""
15723 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15724 then
15725 if test "x$X_LIBS" = "x"
15726 then :
15727 case "x$with_x" in
15728 xno) ;;
15729 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15730 without X support, which probably isn't what you want. You will need
15731 to install ${notice_platform}development packages of Xlib at the very least.
15732 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15733 esac
15734 enable_winex11_drv=${enable_winex11_drv:-no}
15736 else
15737 if test "x$X_LIBS" = "x"
15738 then :
15739 case "x$with_x" in
15740 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15741 xno) ;;
15742 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15743 This is an error since --with-x was requested." "$LINENO" 5 ;;
15744 esac
15745 enable_winex11_drv=${enable_winex11_drv:-no}
15749 if test "$ac_cv_header_CL_cl_h" = "yes"
15750 then
15751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15752 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15753 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15754 then :
15755 printf %s "(cached) " >&6
15756 else $as_nop
15757 ac_check_lib_save_LIBS=$LIBS
15758 LIBS="-lOpenCL $LIBS"
15759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15760 /* end confdefs.h. */
15762 /* Override any GCC internal prototype to avoid an error.
15763 Use char because int might match the return type of a GCC
15764 builtin and then its argument prototype would still apply. */
15765 char clGetPlatformInfo ();
15767 main (void)
15769 return clGetPlatformInfo ();
15771 return 0;
15773 _ACEOF
15774 if ac_fn_c_try_link "$LINENO"
15775 then :
15776 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15777 else $as_nop
15778 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15780 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15781 conftest$ac_exeext conftest.$ac_ext
15782 LIBS=$ac_check_lib_save_LIBS
15784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15785 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15786 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15787 then :
15788 OPENCL_LIBS="-lOpenCL"
15793 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15794 then :
15795 case "x$with_opencl" in
15796 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15797 xno) ;;
15798 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15799 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15800 esac
15801 enable_opencl=${enable_opencl:-no}
15804 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15805 then
15806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15807 printf %s "checking for pcap_create in -lpcap... " >&6; }
15808 if test ${ac_cv_lib_pcap_pcap_create+y}
15809 then :
15810 printf %s "(cached) " >&6
15811 else $as_nop
15812 ac_check_lib_save_LIBS=$LIBS
15813 LIBS="-lpcap $LIBS"
15814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15815 /* end confdefs.h. */
15817 /* Override any GCC internal prototype to avoid an error.
15818 Use char because int might match the return type of a GCC
15819 builtin and then its argument prototype would still apply. */
15820 char pcap_create ();
15822 main (void)
15824 return pcap_create ();
15826 return 0;
15828 _ACEOF
15829 if ac_fn_c_try_link "$LINENO"
15830 then :
15831 ac_cv_lib_pcap_pcap_create=yes
15832 else $as_nop
15833 ac_cv_lib_pcap_pcap_create=no
15835 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15836 conftest$ac_exeext conftest.$ac_ext
15837 LIBS=$ac_check_lib_save_LIBS
15839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15840 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15841 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15842 then :
15843 PCAP_LIBS="-lpcap"
15848 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15849 then :
15850 case "x$with_pcap" in
15851 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15852 xno) ;;
15853 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15854 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15855 esac
15856 enable_wpcap=${enable_wpcap:-no}
15859 if test "x$with_inotify" != "xno"
15860 then
15861 if ${INOTIFY_CFLAGS:+false} :
15862 then :
15863 if test ${PKG_CONFIG+y}
15864 then :
15865 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15869 if ${INOTIFY_LIBS:+false} :
15870 then :
15871 if test ${PKG_CONFIG+y}
15872 then :
15873 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15878 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15879 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15880 ac_save_CPPFLAGS=$CPPFLAGS
15881 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15882 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15883 if test "x$ac_cv_header_sys_inotify_h" = xyes
15884 then :
15885 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15890 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15891 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15892 then :
15893 printf %s "(cached) " >&6
15894 else $as_nop
15895 ac_check_lib_save_LIBS=$LIBS
15896 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15898 /* end confdefs.h. */
15900 /* Override any GCC internal prototype to avoid an error.
15901 Use char because int might match the return type of a GCC
15902 builtin and then its argument prototype would still apply. */
15903 char inotify_add_watch ();
15905 main (void)
15907 return inotify_add_watch ();
15909 return 0;
15911 _ACEOF
15912 if ac_fn_c_try_link "$LINENO"
15913 then :
15914 ac_cv_lib_inotify_inotify_add_watch=yes
15915 else $as_nop
15916 ac_cv_lib_inotify_inotify_add_watch=no
15918 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15919 conftest$ac_exeext conftest.$ac_ext
15920 LIBS=$ac_check_lib_save_LIBS
15922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15923 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15924 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15925 then :
15927 else $as_nop
15928 INOTIFY_LIBS=""
15931 CPPFLAGS=$ac_save_CPPFLAGS
15934 if test "$ac_cv_header_sys_inotify_h" != "yes"
15935 then :
15936 case "x$with_inotify" in
15937 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15938 xno) ;;
15939 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15940 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15941 esac
15945 if test "x$with_dbus" != "xno"
15946 then
15947 if ${DBUS_CFLAGS:+false} :
15948 then :
15949 if test ${PKG_CONFIG+y}
15950 then :
15951 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
15955 if ${DBUS_LIBS:+false} :
15956 then :
15957 if test ${PKG_CONFIG+y}
15958 then :
15959 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15964 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15965 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15966 ac_save_CPPFLAGS=$CPPFLAGS
15967 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15968 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15969 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15970 then :
15971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15972 printf %s "checking for -ldbus-1... " >&6; }
15973 if test ${ac_cv_lib_soname_dbus_1+y}
15974 then :
15975 printf %s "(cached) " >&6
15976 else $as_nop
15977 ac_check_soname_save_LIBS=$LIBS
15978 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15980 /* end confdefs.h. */
15982 /* Override any GCC internal prototype to avoid an error.
15983 Use char because int might match the return type of a GCC
15984 builtin and then its argument prototype would still apply. */
15985 char dbus_connection_close ();
15987 main (void)
15989 return dbus_connection_close ();
15991 return 0;
15993 _ACEOF
15994 if ac_fn_c_try_link "$LINENO"
15995 then :
15996 case "$LIBEXT" in
15997 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15998 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'` ;;
15999 *) 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'`
16000 if ${ac_cv_lib_soname_dbus_1:+false} :
16001 then :
16002 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16003 fi ;;
16004 esac
16005 else $as_nop
16006 ac_cv_lib_soname_dbus_1=
16008 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16009 conftest$ac_exeext conftest.$ac_ext
16010 LIBS=$ac_check_soname_save_LIBS
16012 if ${ac_cv_lib_soname_dbus_1:+false} :
16013 then :
16014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16015 printf "%s\n" "not found" >&6; }
16016 DBUS_CFLAGS=""
16017 else $as_nop
16018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16019 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16021 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16025 else $as_nop
16026 DBUS_CFLAGS=""
16029 CPPFLAGS=$ac_save_CPPFLAGS
16032 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
16033 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
16034 then :
16035 case "x$with_dbus" in
16036 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16037 xno) ;;
16038 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16039 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16040 esac
16044 if test "x$with_gnutls" != "xno"
16045 then
16046 if ${GNUTLS_CFLAGS:+false} :
16047 then :
16048 if test ${PKG_CONFIG+y}
16049 then :
16050 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
16054 if ${GNUTLS_LIBS:+false} :
16055 then :
16056 if test ${PKG_CONFIG+y}
16057 then :
16058 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16062 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16063 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16064 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16065 ac_save_CPPFLAGS=$CPPFLAGS
16066 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16067 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16068 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16069 then :
16070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16071 /* end confdefs.h. */
16072 #include <gnutls/gnutls.h>
16073 #include <gnutls/crypto.h>
16075 main (void)
16077 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16079 return 0;
16081 _ACEOF
16082 if ac_fn_c_try_compile "$LINENO"
16083 then :
16084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16085 printf %s "checking for -lgnutls... " >&6; }
16086 if test ${ac_cv_lib_soname_gnutls+y}
16087 then :
16088 printf %s "(cached) " >&6
16089 else $as_nop
16090 ac_check_soname_save_LIBS=$LIBS
16091 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16093 /* end confdefs.h. */
16095 /* Override any GCC internal prototype to avoid an error.
16096 Use char because int might match the return type of a GCC
16097 builtin and then its argument prototype would still apply. */
16098 char gnutls_global_init ();
16100 main (void)
16102 return gnutls_global_init ();
16104 return 0;
16106 _ACEOF
16107 if ac_fn_c_try_link "$LINENO"
16108 then :
16109 case "$LIBEXT" in
16110 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16111 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'` ;;
16112 *) 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'`
16113 if ${ac_cv_lib_soname_gnutls:+false} :
16114 then :
16115 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'`
16116 fi ;;
16117 esac
16118 else $as_nop
16119 ac_cv_lib_soname_gnutls=
16121 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16122 conftest$ac_exeext conftest.$ac_ext
16123 LIBS=$ac_check_soname_save_LIBS
16125 if ${ac_cv_lib_soname_gnutls:+false} :
16126 then :
16127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16128 printf "%s\n" "not found" >&6; }
16129 GNUTLS_CFLAGS=""
16130 else $as_nop
16131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16132 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16134 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16138 ac_wine_check_funcs_save_LIBS="$LIBS"
16139 LIBS="$LIBS $GNUTLS_LIBS"
16141 for ac_func in gnutls_cipher_init
16142 do :
16143 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16144 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16145 then :
16146 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16148 else $as_nop
16149 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16152 done
16153 LIBS="$ac_wine_check_funcs_save_LIBS"
16155 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16156 else $as_nop
16157 GNUTLS_CFLAGS=""
16160 CPPFLAGS=$ac_save_CPPFLAGS
16163 if test "x$ac_cv_lib_soname_gnutls" = "x"
16164 then :
16165 case "x$with_gnutls" in
16166 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16167 xno) ;;
16168 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16169 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16170 esac
16174 if test "x$with_sane" != "xno"
16175 then
16176 if ${SANE_CFLAGS:+false} :
16177 then :
16178 if test ${PKG_CONFIG+y}
16179 then :
16180 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16183 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16184 if ${SANE_LIBS:+false} :
16185 then :
16186 if test ${PKG_CONFIG+y}
16187 then :
16188 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16191 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16193 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16194 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16195 ac_save_CPPFLAGS=$CPPFLAGS
16196 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16197 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16198 if test "x$ac_cv_header_sane_sane_h" = xyes
16199 then :
16200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16201 printf %s "checking for sane_init in -lsane... " >&6; }
16202 if test ${ac_cv_lib_sane_sane_init+y}
16203 then :
16204 printf %s "(cached) " >&6
16205 else $as_nop
16206 ac_check_lib_save_LIBS=$LIBS
16207 LIBS="-lsane $SANE_LIBS $LIBS"
16208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16209 /* end confdefs.h. */
16211 /* Override any GCC internal prototype to avoid an error.
16212 Use char because int might match the return type of a GCC
16213 builtin and then its argument prototype would still apply. */
16214 char sane_init ();
16216 main (void)
16218 return sane_init ();
16220 return 0;
16222 _ACEOF
16223 if ac_fn_c_try_link "$LINENO"
16224 then :
16225 ac_cv_lib_sane_sane_init=yes
16226 else $as_nop
16227 ac_cv_lib_sane_sane_init=no
16229 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16230 conftest$ac_exeext conftest.$ac_ext
16231 LIBS=$ac_check_lib_save_LIBS
16233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16234 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16235 if test "x$ac_cv_lib_sane_sane_init" = xyes
16236 then :
16242 CPPFLAGS=$ac_save_CPPFLAGS
16245 if test "$ac_cv_lib_sane_sane_init" != "yes"
16246 then :
16247 case "x$with_sane" in
16248 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16249 xno) ;;
16250 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16251 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16252 esac
16253 enable_sane_ds=${enable_sane_ds:-no}
16256 if test "x$with_usb" != "xno"
16257 then
16258 if ${USB_CFLAGS:+false} :
16259 then :
16260 if test ${PKG_CONFIG+y}
16261 then :
16262 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16266 if ${USB_LIBS:+false} :
16267 then :
16268 if test ${PKG_CONFIG+y}
16269 then :
16270 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16274 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16275 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16276 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16277 ac_save_CPPFLAGS=$CPPFLAGS
16278 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16279 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16280 if test "x$ac_cv_header_libusb_h" = xyes
16281 then :
16282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16283 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16284 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16285 then :
16286 printf %s "(cached) " >&6
16287 else $as_nop
16288 ac_check_lib_save_LIBS=$LIBS
16289 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16291 /* end confdefs.h. */
16293 /* Override any GCC internal prototype to avoid an error.
16294 Use char because int might match the return type of a GCC
16295 builtin and then its argument prototype would still apply. */
16296 char libusb_interrupt_event_handler ();
16298 main (void)
16300 return libusb_interrupt_event_handler ();
16302 return 0;
16304 _ACEOF
16305 if ac_fn_c_try_link "$LINENO"
16306 then :
16307 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16308 else $as_nop
16309 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16312 conftest$ac_exeext conftest.$ac_ext
16313 LIBS=$ac_check_lib_save_LIBS
16315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16316 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16317 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16318 then :
16320 else $as_nop
16321 USB_LIBS=""
16324 else $as_nop
16325 USB_LIBS=""
16328 CPPFLAGS=$ac_save_CPPFLAGS
16331 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16332 then :
16333 case "x$with_usb" in
16334 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16335 xno) ;;
16336 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16337 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16338 esac
16339 enable_wineusb_sys=${enable_wineusb_sys:-no}
16342 if test "x$with_v4l2" != "xno"
16343 then
16344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16345 printf %s "checking for -lv4l2... " >&6; }
16346 if test ${ac_cv_lib_soname_v4l2+y}
16347 then :
16348 printf %s "(cached) " >&6
16349 else $as_nop
16350 ac_check_soname_save_LIBS=$LIBS
16351 LIBS="-lv4l2 $LIBS"
16352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16353 /* end confdefs.h. */
16355 /* Override any GCC internal prototype to avoid an error.
16356 Use char because int might match the return type of a GCC
16357 builtin and then its argument prototype would still apply. */
16358 char v4l2_open ();
16360 main (void)
16362 return v4l2_open ();
16364 return 0;
16366 _ACEOF
16367 if ac_fn_c_try_link "$LINENO"
16368 then :
16369 case "$LIBEXT" in
16370 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16371 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'` ;;
16372 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16373 if ${ac_cv_lib_soname_v4l2:+false} :
16374 then :
16375 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16376 fi ;;
16377 esac
16378 else $as_nop
16379 ac_cv_lib_soname_v4l2=
16381 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16382 conftest$ac_exeext conftest.$ac_ext
16383 LIBS=$ac_check_soname_save_LIBS
16385 if ${ac_cv_lib_soname_v4l2:+false} :
16386 then :
16387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16388 printf "%s\n" "not found" >&6; }
16390 else $as_nop
16391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16392 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16394 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16399 if test "x$ac_cv_lib_soname_v4l2" = "x"
16400 then :
16401 case "x$with_v4l2" in
16402 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16403 xno) ;;
16404 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16405 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16406 esac
16410 if test "x$with_gphoto" != "xno"
16411 then
16412 if ${GPHOTO2_CFLAGS:+false} :
16413 then :
16414 if test ${PKG_CONFIG+y}
16415 then :
16416 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16419 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16420 if ${GPHOTO2_LIBS:+false} :
16421 then :
16422 if test ${PKG_CONFIG+y}
16423 then :
16424 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16427 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16428 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16429 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16430 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16431 ac_save_CPPFLAGS=$CPPFLAGS
16432 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16433 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16434 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16435 then :
16436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16437 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16438 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16439 then :
16440 printf %s "(cached) " >&6
16441 else $as_nop
16442 ac_check_lib_save_LIBS=$LIBS
16443 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16445 /* end confdefs.h. */
16447 /* Override any GCC internal prototype to avoid an error.
16448 Use char because int might match the return type of a GCC
16449 builtin and then its argument prototype would still apply. */
16450 char gp_camera_new ();
16452 main (void)
16454 return gp_camera_new ();
16456 return 0;
16458 _ACEOF
16459 if ac_fn_c_try_link "$LINENO"
16460 then :
16461 ac_cv_lib_gphoto2_gp_camera_new=yes
16462 else $as_nop
16463 ac_cv_lib_gphoto2_gp_camera_new=no
16465 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16466 conftest$ac_exeext conftest.$ac_ext
16467 LIBS=$ac_check_lib_save_LIBS
16469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16470 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16471 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16472 then :
16478 CPPFLAGS=$ac_save_CPPFLAGS
16480 if ${GPHOTO2_PORT_CFLAGS:+false} :
16481 then :
16482 if test ${PKG_CONFIG+y}
16483 then :
16484 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16487 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16488 if ${GPHOTO2_PORT_LIBS:+false} :
16489 then :
16490 if test ${PKG_CONFIG+y}
16491 then :
16492 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16495 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16496 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16497 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16498 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16499 ac_save_CPPFLAGS=$CPPFLAGS
16500 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16501 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16502 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16503 then :
16504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16505 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16506 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16507 then :
16508 printf %s "(cached) " >&6
16509 else $as_nop
16510 ac_check_lib_save_LIBS=$LIBS
16511 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16513 /* end confdefs.h. */
16515 /* Override any GCC internal prototype to avoid an error.
16516 Use char because int might match the return type of a GCC
16517 builtin and then its argument prototype would still apply. */
16518 char gp_port_info_list_new ();
16520 main (void)
16522 return gp_port_info_list_new ();
16524 return 0;
16526 _ACEOF
16527 if ac_fn_c_try_link "$LINENO"
16528 then :
16529 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16530 else $as_nop
16531 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16533 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16534 conftest$ac_exeext conftest.$ac_ext
16535 LIBS=$ac_check_lib_save_LIBS
16537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16538 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16539 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16540 then :
16542 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16544 else $as_nop
16545 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16548 else $as_nop
16549 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16552 CPPFLAGS=$ac_save_CPPFLAGS
16555 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16556 then :
16557 case "x$with_gphoto" in
16558 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16559 xno) ;;
16560 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16561 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16562 esac
16563 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16565 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16566 then :
16567 case "x$with_gphoto" in
16568 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16569 xno) ;;
16570 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16571 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16572 esac
16577 if test "$ac_cv_header_resolv_h" = "yes"
16578 then
16579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16580 printf %s "checking for resolver library... " >&6; }
16581 if test ${ac_cv_have_resolv+y}
16582 then :
16583 printf %s "(cached) " >&6
16584 else $as_nop
16585 ac_save_LIBS="$LIBS"
16586 for lib in '' -lresolv
16588 LIBS="$lib $ac_save_LIBS"
16589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16590 /* end confdefs.h. */
16591 #ifdef HAVE_NETINET_IN_H
16592 #include <netinet/in.h>
16593 #endif
16594 #include <resolv.h>
16596 main (void)
16598 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16600 return 0;
16602 _ACEOF
16603 if ac_fn_c_try_link "$LINENO"
16604 then :
16605 ac_cv_have_resolv=${lib:-"none required"}
16606 else $as_nop
16607 ac_cv_have_resolv="not found"
16609 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16610 conftest$ac_exeext conftest.$ac_ext
16611 test "x$ac_cv_have_resolv" = "xnot found" || break
16612 done
16613 LIBS="$ac_save_LIBS"
16615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16616 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16618 case "$ac_cv_have_resolv" in
16619 "not found") ;;
16620 "none required")
16622 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16625 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16627 RESOLV_LIBS=$ac_cv_have_resolv
16629 esac
16631 if test "x$ac_cv_have_resolv" != "xnot found"
16632 then
16633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16634 printf %s "checking for res_getservers... " >&6; }
16635 if test ${ac_cv_have_res_getservers+y}
16636 then :
16637 printf %s "(cached) " >&6
16638 else $as_nop
16639 ac_save_LIBS="$LIBS"
16640 LIBS="$RESOLV_LIBS $LIBS"
16641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16642 /* end confdefs.h. */
16643 #include <resolv.h>
16645 main (void)
16647 res_getservers(NULL, NULL, 0);
16649 return 0;
16651 _ACEOF
16652 if ac_fn_c_try_link "$LINENO"
16653 then :
16654 ac_cv_have_res_getservers=yes
16655 else $as_nop
16656 ac_cv_have_res_getservers=no
16658 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16659 conftest$ac_exeext conftest.$ac_ext
16660 LIBS="$ac_save_LIBS"
16662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16663 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16664 if test "$ac_cv_have_res_getservers" = "yes"
16665 then
16667 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16673 if test "x$with_freetype" != "xno"
16674 then
16675 if ${FREETYPE_CFLAGS:+false} :
16676 then :
16677 if test ${PKG_CONFIG+y}
16678 then :
16679 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16682 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16683 if ${FREETYPE_LIBS:+false} :
16684 then :
16685 if test ${PKG_CONFIG+y}
16686 then :
16687 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16690 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16691 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16692 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16693 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16694 ac_save_CPPFLAGS=$CPPFLAGS
16695 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16696 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16697 if test "x$ac_cv_header_ft2build_h" = xyes
16698 then :
16699 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16703 if test "$ac_cv_header_ft2build_h" = "yes"
16704 then
16705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16706 printf %s "checking for -lfreetype... " >&6; }
16707 if test ${ac_cv_lib_soname_freetype+y}
16708 then :
16709 printf %s "(cached) " >&6
16710 else $as_nop
16711 ac_check_soname_save_LIBS=$LIBS
16712 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16714 /* end confdefs.h. */
16716 /* Override any GCC internal prototype to avoid an error.
16717 Use char because int might match the return type of a GCC
16718 builtin and then its argument prototype would still apply. */
16719 char FT_Init_FreeType ();
16721 main (void)
16723 return FT_Init_FreeType ();
16725 return 0;
16727 _ACEOF
16728 if ac_fn_c_try_link "$LINENO"
16729 then :
16730 case "$LIBEXT" in
16731 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16732 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'` ;;
16733 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16734 if ${ac_cv_lib_soname_freetype:+false} :
16735 then :
16736 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16737 fi ;;
16738 esac
16739 else $as_nop
16740 ac_cv_lib_soname_freetype=
16742 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16743 conftest$ac_exeext conftest.$ac_ext
16744 LIBS=$ac_check_soname_save_LIBS
16746 if ${ac_cv_lib_soname_freetype:+false} :
16747 then :
16748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16749 printf "%s\n" "not found" >&6; }
16750 FREETYPE_LIBS=""
16751 else $as_nop
16752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16753 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16755 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16758 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16760 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16761 #include FT_MODULE_H
16763 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16764 then :
16766 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16772 else
16773 FREETYPE_CFLAGS=""
16774 FREETYPE_LIBS=""
16776 CPPFLAGS=$ac_save_CPPFLAGS
16779 if test "x$ac_cv_lib_soname_freetype" = x
16780 then :
16781 case "x$with_freetype" in
16782 xno) ;;
16783 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16784 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16785 esac
16786 enable_fonts=${enable_fonts:-no}
16789 ac_wine_check_funcs_save_LIBS="$LIBS"
16790 LIBS="$LIBS $PTHREAD_LIBS"
16791 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16792 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16793 then :
16794 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16798 LIBS="$ac_wine_check_funcs_save_LIBS"
16800 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16801 then
16802 if test "$ac_cv_header_gettext_po_h" = "yes"
16803 then
16804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16805 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16806 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16807 then :
16808 printf %s "(cached) " >&6
16809 else $as_nop
16810 ac_check_lib_save_LIBS=$LIBS
16811 LIBS="-lgettextpo $LIBS"
16812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16813 /* end confdefs.h. */
16815 /* Override any GCC internal prototype to avoid an error.
16816 Use char because int might match the return type of a GCC
16817 builtin and then its argument prototype would still apply. */
16818 char po_message_msgctxt ();
16820 main (void)
16822 return po_message_msgctxt ();
16824 return 0;
16826 _ACEOF
16827 if ac_fn_c_try_link "$LINENO"
16828 then :
16829 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16830 else $as_nop
16831 ac_cv_lib_gettextpo_po_message_msgctxt=no
16833 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16834 conftest$ac_exeext conftest.$ac_ext
16835 LIBS=$ac_check_lib_save_LIBS
16837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16838 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16839 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16840 then :
16842 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16844 GETTEXTPO_LIBS="-lgettextpo"
16849 if test "x$GETTEXTPO_LIBS" = "x"
16850 then :
16851 case "x$with_gettextpo" in
16852 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16853 xno) ;;
16854 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16855 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16856 esac
16859 if test "$srcdir" != .
16860 then :
16861 case "x$with_gettextpo" in
16862 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16863 xno) ;;
16864 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16865 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16866 esac
16871 if test "x$with_pulse" != "xno";
16872 then
16873 if ${PULSE_CFLAGS:+false} :
16874 then :
16875 if test ${PKG_CONFIG+y}
16876 then :
16877 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16881 if ${PULSE_LIBS:+false} :
16882 then :
16883 if test ${PKG_CONFIG+y}
16884 then :
16885 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16890 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16891 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16892 ac_save_CPPFLAGS=$CPPFLAGS
16893 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16894 for ac_header in pulse/pulseaudio.h
16895 do :
16896 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16897 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16898 then :
16899 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16901 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16902 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16903 then :
16904 printf %s "(cached) " >&6
16905 else $as_nop
16906 ac_check_lib_save_LIBS=$LIBS
16907 LIBS="-lpulse $PULSE_LIBS $LIBS"
16908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16909 /* end confdefs.h. */
16911 /* Override any GCC internal prototype to avoid an error.
16912 Use char because int might match the return type of a GCC
16913 builtin and then its argument prototype would still apply. */
16914 char pa_stream_is_corked ();
16916 main (void)
16918 return pa_stream_is_corked ();
16920 return 0;
16922 _ACEOF
16923 if ac_fn_c_try_link "$LINENO"
16924 then :
16925 ac_cv_lib_pulse_pa_stream_is_corked=yes
16926 else $as_nop
16927 ac_cv_lib_pulse_pa_stream_is_corked=no
16929 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16930 conftest$ac_exeext conftest.$ac_ext
16931 LIBS=$ac_check_lib_save_LIBS
16933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16934 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16935 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16936 then :
16938 else $as_nop
16939 PULSE_LIBS=""
16942 else $as_nop
16943 PULSE_LIBS=""
16946 done
16947 CPPFLAGS=$ac_save_CPPFLAGS
16950 if test -z "$PULSE_LIBS"
16951 then :
16952 case "x$with_pulse" in
16953 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16954 xno) ;;
16955 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16956 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16957 esac
16958 enable_winepulse_drv=${enable_winepulse_drv:-no}
16961 if test "x$with_gstreamer" != "xno"
16962 then
16963 if ${GSTREAMER_CFLAGS:+false} :
16964 then :
16965 if test ${PKG_CONFIG+y}
16966 then :
16967 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16971 if ${GSTREAMER_LIBS:+false} :
16972 then :
16973 if test ${PKG_CONFIG+y}
16974 then :
16975 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16980 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
16981 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
16982 ac_save_CPPFLAGS=$CPPFLAGS
16983 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16984 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16985 if test "x$ac_cv_header_gst_gst_h" = xyes
16986 then :
16987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16988 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16990 /* end confdefs.h. */
16991 #include <gst/gst.h>
16993 main (void)
16995 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16997 return 0;
16999 _ACEOF
17000 if ac_fn_c_try_compile "$LINENO"
17001 then :
17002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17003 printf "%s\n" "yes" >&6; }
17004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17005 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17006 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17007 then :
17008 printf %s "(cached) " >&6
17009 else $as_nop
17010 ac_check_lib_save_LIBS=$LIBS
17011 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17013 /* end confdefs.h. */
17015 /* Override any GCC internal prototype to avoid an error.
17016 Use char because int might match the return type of a GCC
17017 builtin and then its argument prototype would still apply. */
17018 char gst_pad_new ();
17020 main (void)
17022 return gst_pad_new ();
17024 return 0;
17026 _ACEOF
17027 if ac_fn_c_try_link "$LINENO"
17028 then :
17029 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17030 else $as_nop
17031 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17033 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17034 conftest$ac_exeext conftest.$ac_ext
17035 LIBS=$ac_check_lib_save_LIBS
17037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17038 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17039 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17040 then :
17044 else $as_nop
17045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17046 printf "%s\n" "no" >&6; }
17047 ac_glib2_broken=yes
17048 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17050 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17053 CPPFLAGS=$ac_save_CPPFLAGS
17056 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17057 then :
17058 case "x$with_gstreamer" in
17059 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17060 xno) ;;
17061 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17062 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17063 esac
17064 enable_winegstreamer=${enable_winegstreamer:-no}
17067 ALSA_LIBS=""
17069 if test "x$with_alsa" != "xno"
17070 then
17071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17072 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17073 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17074 then :
17075 printf %s "(cached) " >&6
17076 else $as_nop
17077 ac_check_lib_save_LIBS=$LIBS
17078 LIBS="-lasound $LIBS"
17079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17080 /* end confdefs.h. */
17082 /* Override any GCC internal prototype to avoid an error.
17083 Use char because int might match the return type of a GCC
17084 builtin and then its argument prototype would still apply. */
17085 char snd_pcm_hw_params_get_access_mask ();
17087 main (void)
17089 return snd_pcm_hw_params_get_access_mask ();
17091 return 0;
17093 _ACEOF
17094 if ac_fn_c_try_link "$LINENO"
17095 then :
17096 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17097 else $as_nop
17098 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17100 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17101 conftest$ac_exeext conftest.$ac_ext
17102 LIBS=$ac_check_lib_save_LIBS
17104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17105 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17106 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17107 then :
17108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17109 /* end confdefs.h. */
17110 #include <alsa/asoundlib.h>
17112 main (void)
17114 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17116 return 0;
17118 _ACEOF
17119 if ac_fn_c_try_compile "$LINENO"
17120 then :
17121 ALSA_LIBS="-lasound"
17123 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17127 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17129 if test "x$with_oss" != xno
17130 then
17131 ac_save_CPPFLAGS="$CPPFLAGS"
17132 if test -f /etc/oss.conf
17133 then
17134 . /etc/oss.conf
17136 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17137 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17138 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17139 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17140 then :
17141 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17143 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17144 then :
17146 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17148 OSS4_CFLAGS="$ac_oss_incl"
17150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17151 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17152 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17153 then :
17154 printf %s "(cached) " >&6
17155 else $as_nop
17156 ac_check_lib_save_LIBS=$LIBS
17157 LIBS="-lossaudio $LIBS"
17158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17159 /* end confdefs.h. */
17161 /* Override any GCC internal prototype to avoid an error.
17162 Use char because int might match the return type of a GCC
17163 builtin and then its argument prototype would still apply. */
17164 char _oss_ioctl ();
17166 main (void)
17168 return _oss_ioctl ();
17170 return 0;
17172 _ACEOF
17173 if ac_fn_c_try_link "$LINENO"
17174 then :
17175 ac_cv_lib_ossaudio__oss_ioctl=yes
17176 else $as_nop
17177 ac_cv_lib_ossaudio__oss_ioctl=no
17179 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17180 conftest$ac_exeext conftest.$ac_ext
17181 LIBS=$ac_check_lib_save_LIBS
17183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17184 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17185 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17186 then :
17187 OSS4_LIBS="-lossaudio"
17195 CPPFLAGS="$ac_save_CPPFLAGS"
17197 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17198 then :
17199 case "x$with_oss" in
17200 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17201 xno) ;;
17202 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17203 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17204 esac
17205 enable_wineoss_drv=${enable_wineoss_drv:-no}
17208 if test "x$with_udev" != "xno"
17209 then
17210 if ${UDEV_CFLAGS:+false} :
17211 then :
17212 if test ${PKG_CONFIG+y}
17213 then :
17214 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17218 if ${UDEV_LIBS:+false} :
17219 then :
17220 if test ${PKG_CONFIG+y}
17221 then :
17222 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17226 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17227 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17228 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17229 ac_save_CPPFLAGS=$CPPFLAGS
17230 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17231 for ac_header in libudev.h
17232 do :
17233 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17234 if test "x$ac_cv_header_libudev_h" = xyes
17235 then :
17236 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17238 printf %s "checking for udev_new in -ludev... " >&6; }
17239 if test ${ac_cv_lib_udev_udev_new+y}
17240 then :
17241 printf %s "(cached) " >&6
17242 else $as_nop
17243 ac_check_lib_save_LIBS=$LIBS
17244 LIBS="-ludev $UDEV_LIBS $LIBS"
17245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17246 /* end confdefs.h. */
17248 /* Override any GCC internal prototype to avoid an error.
17249 Use char because int might match the return type of a GCC
17250 builtin and then its argument prototype would still apply. */
17251 char udev_new ();
17253 main (void)
17255 return udev_new ();
17257 return 0;
17259 _ACEOF
17260 if ac_fn_c_try_link "$LINENO"
17261 then :
17262 ac_cv_lib_udev_udev_new=yes
17263 else $as_nop
17264 ac_cv_lib_udev_udev_new=no
17266 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17267 conftest$ac_exeext conftest.$ac_ext
17268 LIBS=$ac_check_lib_save_LIBS
17270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17271 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17272 if test "x$ac_cv_lib_udev_udev_new" = xyes
17273 then :
17275 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17277 else $as_nop
17278 UDEV_LIBS=""
17281 else $as_nop
17282 UDEV_LIBS=""
17285 done
17286 CPPFLAGS=$ac_save_CPPFLAGS
17289 if test "x$UDEV_LIBS" = "x"
17290 then :
17291 case "x$with_udev" in
17292 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17293 xno) ;;
17294 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17295 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17296 esac
17300 if test "x$with_unwind" != xno
17301 then
17302 if ${UNWIND_CFLAGS:+false} :
17303 then :
17304 if test ${PKG_CONFIG+y}
17305 then :
17306 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17310 if ${UNWIND_LIBS:+false} :
17311 then :
17312 if test ${PKG_CONFIG+y}
17313 then :
17314 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17318 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17319 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17320 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17321 ac_save_CPPFLAGS=$CPPFLAGS
17322 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17324 printf %s "checking for unw_step... " >&6; }
17325 if test ${wine_cv_have_unw_step+y}
17326 then :
17327 printf %s "(cached) " >&6
17328 else $as_nop
17329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17330 /* end confdefs.h. */
17331 #define UNW_LOCAL_ONLY
17332 #include <libunwind.h>
17334 main (void)
17336 unw_cursor_t cursor; unw_step( &cursor );
17338 return 0;
17340 _ACEOF
17341 if ac_fn_c_try_link "$LINENO"
17342 then :
17343 wine_cv_have_unw_step="yes"
17344 else $as_nop
17345 wine_cv_have_unw_step="no"
17347 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17348 conftest$ac_exeext conftest.$ac_ext
17350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17351 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17352 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17353 then
17354 save_libs=$LIBS
17355 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17356 LIBS="$UNWIND_LIBS $LIBS"
17357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17358 printf %s "checking for unw_step in libunwind... " >&6; }
17359 if test ${wine_cv_have_libunwind_unw_step+y}
17360 then :
17361 printf %s "(cached) " >&6
17362 else $as_nop
17363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17364 /* end confdefs.h. */
17365 #define UNW_LOCAL_ONLY
17366 #include <libunwind.h>
17368 main (void)
17370 unw_cursor_t cursor; unw_step( &cursor );
17372 return 0;
17374 _ACEOF
17375 if ac_fn_c_try_link "$LINENO"
17376 then :
17377 wine_cv_have_libunwind_unw_step="yes"
17378 else $as_nop
17379 wine_cv_have_libunwind_unw_step="no"
17381 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17382 conftest$ac_exeext conftest.$ac_ext
17384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17385 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17386 LIBS=$save_libs
17388 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17389 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17390 then
17392 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17395 CPPFLAGS=$ac_save_CPPFLAGS
17398 case $host in
17399 aarch64*|*-darwin*)
17400 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17401 then :
17402 case "x$with_unwind" in
17403 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17404 xno) ;;
17405 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17406 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17407 esac
17409 fi ;;
17410 esac
17412 if test "x$with_sdl" != "xno"
17413 then
17414 if ${SDL2_CFLAGS:+false} :
17415 then :
17416 if test ${PKG_CONFIG+y}
17417 then :
17418 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17422 if ${SDL2_LIBS:+false} :
17423 then :
17424 if test ${PKG_CONFIG+y}
17425 then :
17426 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17430 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17431 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17433 ac_save_CPPFLAGS=$CPPFLAGS
17434 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17435 for ac_header in SDL.h
17436 do :
17437 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17438 if test "x$ac_cv_header_SDL_h" = xyes
17439 then :
17440 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17442 printf %s "checking for -lSDL2... " >&6; }
17443 if test ${ac_cv_lib_soname_SDL2+y}
17444 then :
17445 printf %s "(cached) " >&6
17446 else $as_nop
17447 ac_check_soname_save_LIBS=$LIBS
17448 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17450 /* end confdefs.h. */
17452 /* Override any GCC internal prototype to avoid an error.
17453 Use char because int might match the return type of a GCC
17454 builtin and then its argument prototype would still apply. */
17455 char SDL_Init ();
17457 main (void)
17459 return SDL_Init ();
17461 return 0;
17463 _ACEOF
17464 if ac_fn_c_try_link "$LINENO"
17465 then :
17466 case "$LIBEXT" in
17467 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17468 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'` ;;
17469 *) 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'`
17470 if ${ac_cv_lib_soname_SDL2:+false} :
17471 then :
17472 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17473 fi ;;
17474 esac
17475 else $as_nop
17476 ac_cv_lib_soname_SDL2=
17478 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17479 conftest$ac_exeext conftest.$ac_ext
17480 LIBS=$ac_check_soname_save_LIBS
17482 if ${ac_cv_lib_soname_SDL2:+false} :
17483 then :
17484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17485 printf "%s\n" "not found" >&6; }
17487 else $as_nop
17488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17489 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17491 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17497 done
17498 CPPFLAGS=$ac_save_CPPFLAGS
17501 if test "x$ac_cv_lib_soname_SDL2" = "x"
17502 then :
17503 case "x$with_sdl" in
17504 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17505 xno) ;;
17506 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17507 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17508 esac
17512 if test "x$with_capi" != "xno"
17513 then
17514 if ${CAPI20_CFLAGS:+false} :
17515 then :
17516 if test ${PKG_CONFIG+y}
17517 then :
17518 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17522 if ${CAPI20_LIBS:+false} :
17523 then :
17524 if test ${PKG_CONFIG+y}
17525 then :
17526 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17531 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17532 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17533 ac_save_CPPFLAGS=$CPPFLAGS
17534 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17535 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17537 if test "x$ac_cv_header_capi20_h" = xyes
17538 then :
17539 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17542 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17544 if test "x$ac_cv_header_linux_capi_h" = xyes
17545 then :
17546 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17550 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17551 then
17552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17553 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17554 if test ${ac_cv_lib_capi20_capi20_register+y}
17555 then :
17556 printf %s "(cached) " >&6
17557 else $as_nop
17558 ac_check_lib_save_LIBS=$LIBS
17559 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17561 /* end confdefs.h. */
17563 /* Override any GCC internal prototype to avoid an error.
17564 Use char because int might match the return type of a GCC
17565 builtin and then its argument prototype would still apply. */
17566 char capi20_register ();
17568 main (void)
17570 return capi20_register ();
17572 return 0;
17574 _ACEOF
17575 if ac_fn_c_try_link "$LINENO"
17576 then :
17577 ac_cv_lib_capi20_capi20_register=yes
17578 else $as_nop
17579 ac_cv_lib_capi20_capi20_register=no
17581 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17582 conftest$ac_exeext conftest.$ac_ext
17583 LIBS=$ac_check_lib_save_LIBS
17585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17586 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17587 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17588 then :
17590 else $as_nop
17591 CAPI20_LIBS=""
17595 CPPFLAGS=$ac_save_CPPFLAGS
17598 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17599 then :
17600 case "x$with_capi" in
17601 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17602 xno) ;;
17603 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17604 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17605 esac
17606 enable_capi2032=${enable_capi2032:-no}
17609 if test "x$with_cups" != "xno"
17610 then
17611 if ${CUPS_CFLAGS:+false} :
17612 then :
17613 if test ${PKG_CONFIG+y}
17614 then :
17615 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
17618 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17619 if ${CUPS_LIBS:+false} :
17620 then :
17621 if test ${PKG_CONFIG+y}
17622 then :
17623 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17626 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17627 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17628 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17629 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17630 ac_save_CPPFLAGS=$CPPFLAGS
17631 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17632 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17633 if test "x$ac_cv_header_cups_cups_h" = xyes
17634 then :
17635 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17638 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17639 if test "x$ac_cv_header_cups_ppd_h" = xyes
17640 then :
17641 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17645 if test "$ac_cv_header_cups_cups_h" = "yes"
17646 then
17647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17648 printf %s "checking for -lcups... " >&6; }
17649 if test ${ac_cv_lib_soname_cups+y}
17650 then :
17651 printf %s "(cached) " >&6
17652 else $as_nop
17653 ac_check_soname_save_LIBS=$LIBS
17654 LIBS="-lcups $CUPS_LIBS $LIBS"
17655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17656 /* end confdefs.h. */
17658 /* Override any GCC internal prototype to avoid an error.
17659 Use char because int might match the return type of a GCC
17660 builtin and then its argument prototype would still apply. */
17661 char cupsGetDefault ();
17663 main (void)
17665 return cupsGetDefault ();
17667 return 0;
17669 _ACEOF
17670 if ac_fn_c_try_link "$LINENO"
17671 then :
17672 case "$LIBEXT" in
17673 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17674 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'` ;;
17675 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17676 if ${ac_cv_lib_soname_cups:+false} :
17677 then :
17678 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17679 fi ;;
17680 esac
17681 else $as_nop
17682 ac_cv_lib_soname_cups=
17684 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17685 conftest$ac_exeext conftest.$ac_ext
17686 LIBS=$ac_check_soname_save_LIBS
17688 if ${ac_cv_lib_soname_cups:+false} :
17689 then :
17690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17691 printf "%s\n" "not found" >&6; }
17692 CUPS_LIBS=""
17693 else $as_nop
17694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17695 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17697 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17701 else
17702 CUPS_CFLAGS=""
17703 CUPS_LIBS=""
17705 CPPFLAGS=$ac_save_CPPFLAGS
17708 if test "x$ac_cv_lib_soname_cups" = "x"
17709 then :
17710 case "x$with_cups" in
17711 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17712 xno) ;;
17713 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17714 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17715 esac
17719 if test "x$with_fontconfig" != "xno"
17720 then
17721 if ${FONTCONFIG_CFLAGS:+false} :
17722 then :
17723 if test ${PKG_CONFIG+y}
17724 then :
17725 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17728 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17729 if ${FONTCONFIG_LIBS:+false} :
17730 then :
17731 if test ${PKG_CONFIG+y}
17732 then :
17733 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17736 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17738 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17739 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17740 ac_save_CPPFLAGS=$CPPFLAGS
17741 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17742 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17743 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17744 then :
17745 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17749 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17750 then
17751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17752 printf %s "checking for -lfontconfig... " >&6; }
17753 if test ${ac_cv_lib_soname_fontconfig+y}
17754 then :
17755 printf %s "(cached) " >&6
17756 else $as_nop
17757 ac_check_soname_save_LIBS=$LIBS
17758 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17760 /* end confdefs.h. */
17762 /* Override any GCC internal prototype to avoid an error.
17763 Use char because int might match the return type of a GCC
17764 builtin and then its argument prototype would still apply. */
17765 char FcInit ();
17767 main (void)
17769 return FcInit ();
17771 return 0;
17773 _ACEOF
17774 if ac_fn_c_try_link "$LINENO"
17775 then :
17776 case "$LIBEXT" in
17777 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17778 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'` ;;
17779 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17780 if ${ac_cv_lib_soname_fontconfig:+false} :
17781 then :
17782 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17783 fi ;;
17784 esac
17785 else $as_nop
17786 ac_cv_lib_soname_fontconfig=
17788 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17789 conftest$ac_exeext conftest.$ac_ext
17790 LIBS=$ac_check_soname_save_LIBS
17792 if ${ac_cv_lib_soname_fontconfig:+false} :
17793 then :
17794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17795 printf "%s\n" "not found" >&6; }
17796 FONTCONFIG_CFLAGS=""
17797 else $as_nop
17798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17799 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17801 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17805 else
17806 FONTCONFIG_CFLAGS=""
17808 CPPFLAGS=$ac_save_CPPFLAGS
17811 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17812 then :
17813 case "x$with_fontconfig" in
17814 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17815 xno) ;;
17816 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17817 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17818 esac
17822 if test "x$with_krb5" != "xno"
17823 then
17824 if ${KRB5_CFLAGS:+false} :
17825 then :
17826 if test ${PKG_CONFIG+y}
17827 then :
17828 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17831 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17832 if ${KRB5_LIBS:+false} :
17833 then :
17834 if test ${PKG_CONFIG+y}
17835 then :
17836 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17839 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17841 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17842 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17843 ac_save_CPPFLAGS=$CPPFLAGS
17844 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17845 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17846 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17847 then :
17848 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17852 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17853 then
17854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17855 printf %s "checking for -lkrb5... " >&6; }
17856 if test ${ac_cv_lib_soname_krb5+y}
17857 then :
17858 printf %s "(cached) " >&6
17859 else $as_nop
17860 ac_check_soname_save_LIBS=$LIBS
17861 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17863 /* end confdefs.h. */
17865 /* Override any GCC internal prototype to avoid an error.
17866 Use char because int might match the return type of a GCC
17867 builtin and then its argument prototype would still apply. */
17868 char krb5_is_config_principal ();
17870 main (void)
17872 return krb5_is_config_principal ();
17874 return 0;
17876 _ACEOF
17877 if ac_fn_c_try_link "$LINENO"
17878 then :
17879 case "$LIBEXT" in
17880 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17881 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'` ;;
17882 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17883 if ${ac_cv_lib_soname_krb5:+false} :
17884 then :
17885 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17886 fi ;;
17887 esac
17888 else $as_nop
17889 ac_cv_lib_soname_krb5=
17891 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17892 conftest$ac_exeext conftest.$ac_ext
17893 LIBS=$ac_check_soname_save_LIBS
17895 if ${ac_cv_lib_soname_krb5:+false} :
17896 then :
17897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17898 printf "%s\n" "not found" >&6; }
17899 KRB5_CFLAGS=""
17900 else $as_nop
17901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17902 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17904 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17908 else
17909 KRB5_CFLAGS=""
17911 CPPFLAGS=$ac_save_CPPFLAGS
17914 if test "x$ac_cv_lib_soname_krb5" = "x"
17915 then :
17916 case "x$with_krb5" in
17917 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17918 xno) ;;
17919 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17920 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17921 esac
17924 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17926 if test "x$with_gssapi" != "xno"
17927 then
17928 if ${GSSAPI_CFLAGS:+false} :
17929 then :
17930 if test ${PKG_CONFIG+y}
17931 then :
17932 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
17935 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17936 if ${GSSAPI_LIBS:+false} :
17937 then :
17938 if test ${PKG_CONFIG+y}
17939 then :
17940 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17943 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17945 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17946 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17947 ac_save_CPPFLAGS=$CPPFLAGS
17948 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17949 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17950 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17951 then :
17952 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17955 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17956 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17957 then :
17958 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17962 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17963 then
17964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17965 printf %s "checking for -lgssapi_krb5... " >&6; }
17966 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17967 then :
17968 printf %s "(cached) " >&6
17969 else $as_nop
17970 ac_check_soname_save_LIBS=$LIBS
17971 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17973 /* end confdefs.h. */
17975 /* Override any GCC internal prototype to avoid an error.
17976 Use char because int might match the return type of a GCC
17977 builtin and then its argument prototype would still apply. */
17978 char gss_init_sec_context ();
17980 main (void)
17982 return gss_init_sec_context ();
17984 return 0;
17986 _ACEOF
17987 if ac_fn_c_try_link "$LINENO"
17988 then :
17989 case "$LIBEXT" in
17990 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17991 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'` ;;
17992 *) 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'`
17993 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17994 then :
17995 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17996 fi ;;
17997 esac
17998 else $as_nop
17999 ac_cv_lib_soname_gssapi_krb5=
18001 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18002 conftest$ac_exeext conftest.$ac_ext
18003 LIBS=$ac_check_soname_save_LIBS
18005 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18006 then :
18007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18008 printf "%s\n" "not found" >&6; }
18009 GSSAPI_CFLAGS=""
18010 else $as_nop
18011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18012 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18014 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18018 else
18019 GSSAPI_CFLAGS=""
18021 CPPFLAGS=$ac_save_CPPFLAGS
18024 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18025 then :
18026 case "x$with_gssapi" in
18027 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18028 xno) ;;
18029 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18030 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18031 esac
18035 if test "$ac_cv_header_AL_al_h" = "yes"
18036 then
18037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
18038 printf %s "checking for -lopenal... " >&6; }
18039 if test ${ac_cv_lib_soname_openal+y}
18040 then :
18041 printf %s "(cached) " >&6
18042 else $as_nop
18043 ac_check_soname_save_LIBS=$LIBS
18044 LIBS="-lopenal $LIBS"
18045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18046 /* end confdefs.h. */
18048 /* Override any GCC internal prototype to avoid an error.
18049 Use char because int might match the return type of a GCC
18050 builtin and then its argument prototype would still apply. */
18051 char alGetSource3i ();
18053 main (void)
18055 return alGetSource3i ();
18057 return 0;
18059 _ACEOF
18060 if ac_fn_c_try_link "$LINENO"
18061 then :
18062 case "$LIBEXT" in
18063 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18064 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'` ;;
18065 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18066 if ${ac_cv_lib_soname_openal:+false} :
18067 then :
18068 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18069 fi ;;
18070 esac
18071 else $as_nop
18072 ac_cv_lib_soname_openal=
18074 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18075 conftest$ac_exeext conftest.$ac_ext
18076 LIBS=$ac_check_soname_save_LIBS
18078 if ${ac_cv_lib_soname_openal:+false} :
18079 then :
18080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18081 printf "%s\n" "not found" >&6; }
18083 else $as_nop
18084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
18085 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
18087 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
18089 OPENAL_LIBS="-lopenal"
18091 ac_cv_lib_openal=yes
18093 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
18097 if test "x$ac_cv_lib_openal" != xyes
18098 then :
18099 case "x$with_openal" in
18100 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
18101 xno) ;;
18102 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
18103 This is an error since --with-openal was requested." "$LINENO" 5 ;;
18104 esac
18105 enable_openal32=${enable_openal32:-no}
18108 if test "$ac_cv_header_libprocstat_h" = "yes"
18109 then
18110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18111 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18112 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18113 then :
18114 printf %s "(cached) " >&6
18115 else $as_nop
18116 ac_check_lib_save_LIBS=$LIBS
18117 LIBS="-lprocstat $LIBS"
18118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18119 /* end confdefs.h. */
18121 /* Override any GCC internal prototype to avoid an error.
18122 Use char because int might match the return type of a GCC
18123 builtin and then its argument prototype would still apply. */
18124 char procstat_open_sysctl ();
18126 main (void)
18128 return procstat_open_sysctl ();
18130 return 0;
18132 _ACEOF
18133 if ac_fn_c_try_link "$LINENO"
18134 then :
18135 ac_cv_lib_procstat_procstat_open_sysctl=yes
18136 else $as_nop
18137 ac_cv_lib_procstat_procstat_open_sysctl=no
18139 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18140 conftest$ac_exeext conftest.$ac_ext
18141 LIBS=$ac_check_lib_save_LIBS
18143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18144 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18145 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18146 then :
18148 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18150 PROCSTAT_LIBS="-lprocstat"
18156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18157 printf %s "checking for -lodbc... " >&6; }
18158 if test ${ac_cv_lib_soname_odbc+y}
18159 then :
18160 printf %s "(cached) " >&6
18161 else $as_nop
18162 ac_check_soname_save_LIBS=$LIBS
18163 LIBS="-lodbc $LIBS"
18164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18165 /* end confdefs.h. */
18167 /* Override any GCC internal prototype to avoid an error.
18168 Use char because int might match the return type of a GCC
18169 builtin and then its argument prototype would still apply. */
18170 char SQLConnect ();
18172 main (void)
18174 return SQLConnect ();
18176 return 0;
18178 _ACEOF
18179 if ac_fn_c_try_link "$LINENO"
18180 then :
18181 case "$LIBEXT" in
18182 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18183 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'` ;;
18184 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18185 if ${ac_cv_lib_soname_odbc:+false} :
18186 then :
18187 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18188 fi ;;
18189 esac
18190 else $as_nop
18191 ac_cv_lib_soname_odbc=
18193 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18194 conftest$ac_exeext conftest.$ac_ext
18195 LIBS=$ac_check_soname_save_LIBS
18197 if ${ac_cv_lib_soname_odbc:+false} :
18198 then :
18199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18200 printf "%s\n" "not found" >&6; }
18201 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18203 else $as_nop
18204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18205 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18207 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18212 if test "x$with_netapi" != "xno"
18213 then
18214 if ${NETAPI_CFLAGS:+false} :
18215 then :
18216 if test ${PKG_CONFIG+y}
18217 then :
18218 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18222 if ${NETAPI_LIBS:+false} :
18223 then :
18224 if test ${PKG_CONFIG+y}
18225 then :
18226 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18233 ac_save_CPPFLAGS=$CPPFLAGS
18234 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18236 printf %s "checking for -lnetapi... " >&6; }
18237 if test ${ac_cv_lib_soname_netapi+y}
18238 then :
18239 printf %s "(cached) " >&6
18240 else $as_nop
18241 ac_check_soname_save_LIBS=$LIBS
18242 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18244 /* end confdefs.h. */
18246 /* Override any GCC internal prototype to avoid an error.
18247 Use char because int might match the return type of a GCC
18248 builtin and then its argument prototype would still apply. */
18249 char libnetapi_init ();
18251 main (void)
18253 return libnetapi_init ();
18255 return 0;
18257 _ACEOF
18258 if ac_fn_c_try_link "$LINENO"
18259 then :
18260 case "$LIBEXT" in
18261 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18262 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'` ;;
18263 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18264 if ${ac_cv_lib_soname_netapi:+false} :
18265 then :
18266 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18267 fi ;;
18268 esac
18269 else $as_nop
18270 ac_cv_lib_soname_netapi=
18272 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18273 conftest$ac_exeext conftest.$ac_ext
18274 LIBS=$ac_check_soname_save_LIBS
18276 if ${ac_cv_lib_soname_netapi:+false} :
18277 then :
18278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18279 printf "%s\n" "not found" >&6; }
18280 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18282 else $as_nop
18283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18284 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18286 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18290 CPPFLAGS=$ac_save_CPPFLAGS
18293 if test "x$ac_cv_lib_soname_netapi" = "x"
18294 then :
18295 case "x$with_netapi" in
18296 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18297 xno) ;;
18298 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18299 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18300 esac
18301 enable_netapi=${enable_netapi:-no}
18305 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18306 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18307 then
18308 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18311 if test "x$with_vulkan" != "xno"
18312 then
18313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18314 printf %s "checking for -lvulkan... " >&6; }
18315 if test ${ac_cv_lib_soname_vulkan+y}
18316 then :
18317 printf %s "(cached) " >&6
18318 else $as_nop
18319 ac_check_soname_save_LIBS=$LIBS
18320 LIBS="-lvulkan $LIBS"
18321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18322 /* end confdefs.h. */
18324 /* Override any GCC internal prototype to avoid an error.
18325 Use char because int might match the return type of a GCC
18326 builtin and then its argument prototype would still apply. */
18327 char vkGetInstanceProcAddr ();
18329 main (void)
18331 return vkGetInstanceProcAddr ();
18333 return 0;
18335 _ACEOF
18336 if ac_fn_c_try_link "$LINENO"
18337 then :
18338 case "$LIBEXT" in
18339 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18340 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'` ;;
18341 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18342 if ${ac_cv_lib_soname_vulkan:+false} :
18343 then :
18344 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18345 fi ;;
18346 esac
18347 else $as_nop
18348 ac_cv_lib_soname_vulkan=
18350 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18351 conftest$ac_exeext conftest.$ac_ext
18352 LIBS=$ac_check_soname_save_LIBS
18354 if ${ac_cv_lib_soname_vulkan:+false} :
18355 then :
18356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18357 printf "%s\n" "not found" >&6; }
18359 else $as_nop
18360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18361 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18363 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18367 if test "x$ac_cv_lib_soname_vulkan" = "x"
18368 then
18369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18370 printf %s "checking for -lMoltenVK... " >&6; }
18371 if test ${ac_cv_lib_soname_MoltenVK+y}
18372 then :
18373 printf %s "(cached) " >&6
18374 else $as_nop
18375 ac_check_soname_save_LIBS=$LIBS
18376 LIBS="-lMoltenVK $LIBS"
18377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18378 /* end confdefs.h. */
18380 /* Override any GCC internal prototype to avoid an error.
18381 Use char because int might match the return type of a GCC
18382 builtin and then its argument prototype would still apply. */
18383 char vkGetInstanceProcAddr ();
18385 main (void)
18387 return vkGetInstanceProcAddr ();
18389 return 0;
18391 _ACEOF
18392 if ac_fn_c_try_link "$LINENO"
18393 then :
18394 case "$LIBEXT" in
18395 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18396 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'` ;;
18397 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18398 if ${ac_cv_lib_soname_MoltenVK:+false} :
18399 then :
18400 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18401 fi ;;
18402 esac
18403 else $as_nop
18404 ac_cv_lib_soname_MoltenVK=
18406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18407 conftest$ac_exeext conftest.$ac_ext
18408 LIBS=$ac_check_soname_save_LIBS
18410 if ${ac_cv_lib_soname_MoltenVK:+false} :
18411 then :
18412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18413 printf "%s\n" "not found" >&6; }
18415 else $as_nop
18416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18417 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18419 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18425 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18426 then :
18427 case "x$with_vulkan" in
18428 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18429 xno) ;;
18430 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18431 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18432 esac
18437 if test "x${GCC}" = "xyes"
18438 then
18439 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18441 saved_CFLAGS=$CFLAGS
18442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18443 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18444 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18445 then :
18446 printf %s "(cached) " >&6
18447 else $as_nop
18448 ac_wine_try_cflags_saved=$CFLAGS
18449 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18451 /* end confdefs.h. */
18452 int main(int argc, char **argv) { return 0; }
18453 _ACEOF
18454 if ac_fn_c_try_link "$LINENO"
18455 then :
18456 ac_cv_cflags__Werror_unknown_warning_option=yes
18457 else $as_nop
18458 ac_cv_cflags__Werror_unknown_warning_option=no
18460 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18461 conftest$ac_exeext conftest.$ac_ext
18462 CFLAGS=$ac_wine_try_cflags_saved
18464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18465 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18466 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18467 then :
18468 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18471 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18472 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18473 then :
18474 printf %s "(cached) " >&6
18475 else $as_nop
18476 ac_wine_try_cflags_saved=$CFLAGS
18477 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18479 /* end confdefs.h. */
18480 int main(int argc, char **argv) { return 0; }
18481 _ACEOF
18482 if ac_fn_c_try_link "$LINENO"
18483 then :
18484 ac_cv_cflags__Werror_unused_command_line_argument=yes
18485 else $as_nop
18486 ac_cv_cflags__Werror_unused_command_line_argument=no
18488 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18489 conftest$ac_exeext conftest.$ac_ext
18490 CFLAGS=$ac_wine_try_cflags_saved
18492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18493 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18494 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18495 then :
18496 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18499 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18500 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18501 then :
18502 printf %s "(cached) " >&6
18503 else $as_nop
18504 ac_wine_try_cflags_saved=$CFLAGS
18505 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18507 /* end confdefs.h. */
18508 int main(int argc, char **argv) { return 0; }
18509 _ACEOF
18510 if ac_fn_c_try_link "$LINENO"
18511 then :
18512 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18513 else $as_nop
18514 ac_cv_cflags__Werror_ignored_optimization_argument=no
18516 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18517 conftest$ac_exeext conftest.$ac_ext
18518 CFLAGS=$ac_wine_try_cflags_saved
18520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18521 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18522 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18523 then :
18524 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18527 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18528 if test ${ac_cv_cflags__fcf_protection_none+y}
18529 then :
18530 printf %s "(cached) " >&6
18531 else $as_nop
18532 ac_wine_try_cflags_saved=$CFLAGS
18533 CFLAGS="$CFLAGS -fcf-protection=none"
18534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18535 /* end confdefs.h. */
18536 int main(int argc, char **argv) { return 0; }
18537 _ACEOF
18538 if ac_fn_c_try_link "$LINENO"
18539 then :
18540 ac_cv_cflags__fcf_protection_none=yes
18541 else $as_nop
18542 ac_cv_cflags__fcf_protection_none=no
18544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18545 conftest$ac_exeext conftest.$ac_ext
18546 CFLAGS=$ac_wine_try_cflags_saved
18548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18549 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18550 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18551 then :
18552 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18555 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18556 if test ${ac_cv_cflags__fno_stack_protector+y}
18557 then :
18558 printf %s "(cached) " >&6
18559 else $as_nop
18560 ac_wine_try_cflags_saved=$CFLAGS
18561 CFLAGS="$CFLAGS -fno-stack-protector"
18562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18563 /* end confdefs.h. */
18564 int main(int argc, char **argv) { return 0; }
18565 _ACEOF
18566 if ac_fn_c_try_link "$LINENO"
18567 then :
18568 ac_cv_cflags__fno_stack_protector=yes
18569 else $as_nop
18570 ac_cv_cflags__fno_stack_protector=no
18572 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18573 conftest$ac_exeext conftest.$ac_ext
18574 CFLAGS=$ac_wine_try_cflags_saved
18576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18577 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18578 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18579 then :
18580 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18583 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18584 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18585 then :
18586 printf %s "(cached) " >&6
18587 else $as_nop
18588 ac_wine_try_cflags_saved=$CFLAGS
18589 CFLAGS="$CFLAGS -fno-strict-aliasing"
18590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18591 /* end confdefs.h. */
18592 int main(int argc, char **argv) { return 0; }
18593 _ACEOF
18594 if ac_fn_c_try_link "$LINENO"
18595 then :
18596 ac_cv_cflags__fno_strict_aliasing=yes
18597 else $as_nop
18598 ac_cv_cflags__fno_strict_aliasing=no
18600 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18601 conftest$ac_exeext conftest.$ac_ext
18602 CFLAGS=$ac_wine_try_cflags_saved
18604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18605 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18606 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18607 then :
18608 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18611 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18612 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18613 then :
18614 printf %s "(cached) " >&6
18615 else $as_nop
18616 ac_wine_try_cflags_saved=$CFLAGS
18617 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18619 /* end confdefs.h. */
18620 int main(int argc, char **argv) { return 0; }
18621 _ACEOF
18622 if ac_fn_c_try_link "$LINENO"
18623 then :
18624 ac_cv_cflags__Wdeclaration_after_statement=yes
18625 else $as_nop
18626 ac_cv_cflags__Wdeclaration_after_statement=no
18628 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18629 conftest$ac_exeext conftest.$ac_ext
18630 CFLAGS=$ac_wine_try_cflags_saved
18632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18633 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18634 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18635 then :
18636 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18639 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18640 if test ${ac_cv_cflags__Wempty_body+y}
18641 then :
18642 printf %s "(cached) " >&6
18643 else $as_nop
18644 ac_wine_try_cflags_saved=$CFLAGS
18645 CFLAGS="$CFLAGS -Wempty-body"
18646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18647 /* end confdefs.h. */
18648 int main(int argc, char **argv) { return 0; }
18649 _ACEOF
18650 if ac_fn_c_try_link "$LINENO"
18651 then :
18652 ac_cv_cflags__Wempty_body=yes
18653 else $as_nop
18654 ac_cv_cflags__Wempty_body=no
18656 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18657 conftest$ac_exeext conftest.$ac_ext
18658 CFLAGS=$ac_wine_try_cflags_saved
18660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18661 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18662 if test "x$ac_cv_cflags__Wempty_body" = xyes
18663 then :
18664 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18667 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18668 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18669 then :
18670 printf %s "(cached) " >&6
18671 else $as_nop
18672 ac_wine_try_cflags_saved=$CFLAGS
18673 CFLAGS="$CFLAGS -Wignored-qualifiers"
18674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18675 /* end confdefs.h. */
18676 int main(int argc, char **argv) { return 0; }
18677 _ACEOF
18678 if ac_fn_c_try_link "$LINENO"
18679 then :
18680 ac_cv_cflags__Wignored_qualifiers=yes
18681 else $as_nop
18682 ac_cv_cflags__Wignored_qualifiers=no
18684 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18685 conftest$ac_exeext conftest.$ac_ext
18686 CFLAGS=$ac_wine_try_cflags_saved
18688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18689 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18690 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18691 then :
18692 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18695 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18696 if test ${ac_cv_cflags__Winit_self+y}
18697 then :
18698 printf %s "(cached) " >&6
18699 else $as_nop
18700 ac_wine_try_cflags_saved=$CFLAGS
18701 CFLAGS="$CFLAGS -Winit-self"
18702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18703 /* end confdefs.h. */
18704 int main(int argc, char **argv) { return 0; }
18705 _ACEOF
18706 if ac_fn_c_try_link "$LINENO"
18707 then :
18708 ac_cv_cflags__Winit_self=yes
18709 else $as_nop
18710 ac_cv_cflags__Winit_self=no
18712 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18713 conftest$ac_exeext conftest.$ac_ext
18714 CFLAGS=$ac_wine_try_cflags_saved
18716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18717 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18718 if test "x$ac_cv_cflags__Winit_self" = xyes
18719 then :
18720 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18723 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18724 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18725 then :
18726 printf %s "(cached) " >&6
18727 else $as_nop
18728 ac_wine_try_cflags_saved=$CFLAGS
18729 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18731 /* end confdefs.h. */
18732 int main(int argc, char **argv) { return 0; }
18733 _ACEOF
18734 if ac_fn_c_try_link "$LINENO"
18735 then :
18736 ac_cv_cflags__Wpacked_not_aligned=yes
18737 else $as_nop
18738 ac_cv_cflags__Wpacked_not_aligned=no
18740 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18741 conftest$ac_exeext conftest.$ac_ext
18742 CFLAGS=$ac_wine_try_cflags_saved
18744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18745 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18746 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18747 then :
18748 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18751 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18752 if test ${ac_cv_cflags__Wpragma_pack+y}
18753 then :
18754 printf %s "(cached) " >&6
18755 else $as_nop
18756 ac_wine_try_cflags_saved=$CFLAGS
18757 CFLAGS="$CFLAGS -Wpragma-pack"
18758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18759 /* end confdefs.h. */
18760 int main(int argc, char **argv) { return 0; }
18761 _ACEOF
18762 if ac_fn_c_try_link "$LINENO"
18763 then :
18764 ac_cv_cflags__Wpragma_pack=yes
18765 else $as_nop
18766 ac_cv_cflags__Wpragma_pack=no
18768 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18769 conftest$ac_exeext conftest.$ac_ext
18770 CFLAGS=$ac_wine_try_cflags_saved
18772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18773 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18774 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18775 then :
18776 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18779 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18780 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18781 then :
18782 printf %s "(cached) " >&6
18783 else $as_nop
18784 ac_wine_try_cflags_saved=$CFLAGS
18785 CFLAGS="$CFLAGS -Wshift-overflow=2"
18786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18787 /* end confdefs.h. */
18788 int main(int argc, char **argv) { return 0; }
18789 _ACEOF
18790 if ac_fn_c_try_link "$LINENO"
18791 then :
18792 ac_cv_cflags__Wshift_overflow_2=yes
18793 else $as_nop
18794 ac_cv_cflags__Wshift_overflow_2=no
18796 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18797 conftest$ac_exeext conftest.$ac_ext
18798 CFLAGS=$ac_wine_try_cflags_saved
18800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18801 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18802 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18803 then :
18804 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18807 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18808 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18809 then :
18810 printf %s "(cached) " >&6
18811 else $as_nop
18812 ac_wine_try_cflags_saved=$CFLAGS
18813 CFLAGS="$CFLAGS -Wstrict-prototypes"
18814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18815 /* end confdefs.h. */
18816 int main(int argc, char **argv) { return 0; }
18817 _ACEOF
18818 if ac_fn_c_try_link "$LINENO"
18819 then :
18820 ac_cv_cflags__Wstrict_prototypes=yes
18821 else $as_nop
18822 ac_cv_cflags__Wstrict_prototypes=no
18824 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18825 conftest$ac_exeext conftest.$ac_ext
18826 CFLAGS=$ac_wine_try_cflags_saved
18828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18829 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18830 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18831 then :
18832 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18835 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18836 if test ${ac_cv_cflags__Wtype_limits+y}
18837 then :
18838 printf %s "(cached) " >&6
18839 else $as_nop
18840 ac_wine_try_cflags_saved=$CFLAGS
18841 CFLAGS="$CFLAGS -Wtype-limits"
18842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18843 /* end confdefs.h. */
18844 int main(int argc, char **argv) { return 0; }
18845 _ACEOF
18846 if ac_fn_c_try_link "$LINENO"
18847 then :
18848 ac_cv_cflags__Wtype_limits=yes
18849 else $as_nop
18850 ac_cv_cflags__Wtype_limits=no
18852 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18853 conftest$ac_exeext conftest.$ac_ext
18854 CFLAGS=$ac_wine_try_cflags_saved
18856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18857 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18858 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18859 then :
18860 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18863 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18864 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18865 then :
18866 printf %s "(cached) " >&6
18867 else $as_nop
18868 ac_wine_try_cflags_saved=$CFLAGS
18869 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18871 /* end confdefs.h. */
18872 int main(int argc, char **argv) { return 0; }
18873 _ACEOF
18874 if ac_fn_c_try_link "$LINENO"
18875 then :
18876 ac_cv_cflags__Wunused_but_set_parameter=yes
18877 else $as_nop
18878 ac_cv_cflags__Wunused_but_set_parameter=no
18880 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18881 conftest$ac_exeext conftest.$ac_ext
18882 CFLAGS=$ac_wine_try_cflags_saved
18884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18885 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18886 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18887 then :
18888 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18891 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18892 if test ${ac_cv_cflags__Wvla+y}
18893 then :
18894 printf %s "(cached) " >&6
18895 else $as_nop
18896 ac_wine_try_cflags_saved=$CFLAGS
18897 CFLAGS="$CFLAGS -Wvla"
18898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18899 /* end confdefs.h. */
18900 int main(int argc, char **argv) { return 0; }
18901 _ACEOF
18902 if ac_fn_c_try_link "$LINENO"
18903 then :
18904 ac_cv_cflags__Wvla=yes
18905 else $as_nop
18906 ac_cv_cflags__Wvla=no
18908 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18909 conftest$ac_exeext conftest.$ac_ext
18910 CFLAGS=$ac_wine_try_cflags_saved
18912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18913 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18914 if test "x$ac_cv_cflags__Wvla" = xyes
18915 then :
18916 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18919 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18920 if test ${ac_cv_cflags__Wwrite_strings+y}
18921 then :
18922 printf %s "(cached) " >&6
18923 else $as_nop
18924 ac_wine_try_cflags_saved=$CFLAGS
18925 CFLAGS="$CFLAGS -Wwrite-strings"
18926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18927 /* end confdefs.h. */
18928 int main(int argc, char **argv) { return 0; }
18929 _ACEOF
18930 if ac_fn_c_try_link "$LINENO"
18931 then :
18932 ac_cv_cflags__Wwrite_strings=yes
18933 else $as_nop
18934 ac_cv_cflags__Wwrite_strings=no
18936 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18937 conftest$ac_exeext conftest.$ac_ext
18938 CFLAGS=$ac_wine_try_cflags_saved
18940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18941 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18942 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18943 then :
18944 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18947 if test -z "$CROSSTARGET"
18948 then
18949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
18950 printf %s "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
18951 if test ${ac_cv_cflags__fexcess_precision_standard+y}
18952 then :
18953 printf %s "(cached) " >&6
18954 else $as_nop
18955 ac_wine_try_cflags_saved=$CFLAGS
18956 CFLAGS="$CFLAGS -fexcess-precision=standard"
18957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18958 /* end confdefs.h. */
18959 int main(int argc, char **argv) { return 0; }
18960 _ACEOF
18961 if ac_fn_c_try_link "$LINENO"
18962 then :
18963 ac_cv_cflags__fexcess_precision_standard=yes
18964 else $as_nop
18965 ac_cv_cflags__fexcess_precision_standard=no
18967 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18968 conftest$ac_exeext conftest.$ac_ext
18969 CFLAGS=$ac_wine_try_cflags_saved
18971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
18972 printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
18973 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
18974 then :
18975 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
18980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18981 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18982 if test ${ac_cv_cflags__Wpointer_arith+y}
18983 then :
18984 printf %s "(cached) " >&6
18985 else $as_nop
18986 ac_wine_try_cflags_saved=$CFLAGS
18987 CFLAGS="$CFLAGS -Wpointer-arith"
18988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18989 /* end confdefs.h. */
18990 int main(int argc, char **argv) { return 0; }
18991 _ACEOF
18992 if ac_fn_c_try_link "$LINENO"
18993 then :
18994 ac_cv_cflags__Wpointer_arith=yes
18995 else $as_nop
18996 ac_cv_cflags__Wpointer_arith=no
18998 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18999 conftest$ac_exeext conftest.$ac_ext
19000 CFLAGS=$ac_wine_try_cflags_saved
19002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19003 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19004 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19005 then :
19006 saved_string_h_CFLAGS=$CFLAGS
19007 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19009 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19010 if test ${ac_cv_c_string_h_warnings+y}
19011 then :
19012 printf %s "(cached) " >&6
19013 else $as_nop
19014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19015 /* end confdefs.h. */
19016 #include <string.h>
19018 main (void)
19022 return 0;
19024 _ACEOF
19025 if ac_fn_c_try_compile "$LINENO"
19026 then :
19027 ac_cv_c_string_h_warnings=no
19028 else $as_nop
19029 ac_cv_c_string_h_warnings=yes
19031 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19034 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19035 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19036 CFLAGS=$saved_string_h_CFLAGS
19039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19040 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19041 if test ${ac_cv_cflags__Wlogical_op+y}
19042 then :
19043 printf %s "(cached) " >&6
19044 else $as_nop
19045 ac_wine_try_cflags_saved=$CFLAGS
19046 CFLAGS="$CFLAGS -Wlogical-op"
19047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19048 /* end confdefs.h. */
19049 int main(int argc, char **argv) { return 0; }
19050 _ACEOF
19051 if ac_fn_c_try_link "$LINENO"
19052 then :
19053 ac_cv_cflags__Wlogical_op=yes
19054 else $as_nop
19055 ac_cv_cflags__Wlogical_op=no
19057 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19058 conftest$ac_exeext conftest.$ac_ext
19059 CFLAGS=$ac_wine_try_cflags_saved
19061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19062 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19063 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19064 then :
19065 saved_string_h_CFLAGS=$CFLAGS
19066 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19068 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19069 if test ${ac_cv_c_logicalop_noisy+y}
19070 then :
19071 printf %s "(cached) " >&6
19072 else $as_nop
19073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19074 /* end confdefs.h. */
19075 #include <string.h>
19076 char*f(const char *h,char n) {return strchr(h,n);}
19078 main (void)
19082 return 0;
19084 _ACEOF
19085 if ac_fn_c_try_compile "$LINENO"
19086 then :
19087 ac_cv_c_logicalop_noisy=no
19088 else $as_nop
19089 ac_cv_c_logicalop_noisy=yes
19091 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19094 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19095 CFLAGS=$saved_string_h_CFLAGS
19096 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19100 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19101 if test ${wine_cv_64bit_compare_swap+y}
19102 then :
19103 printf %s "(cached) " >&6
19104 else $as_nop
19105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19106 /* end confdefs.h. */
19107 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19108 #error no
19109 #endif
19111 main (void)
19115 return 0;
19117 _ACEOF
19118 if ac_fn_c_try_compile "$LINENO"
19119 then :
19120 wine_cv_64bit_compare_swap="none needed"
19121 else $as_nop
19122 case $host_cpu in
19123 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19124 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19125 *) wine_cv_64bit_compare_swap="unknown" ;;
19126 esac
19127 if test "x$wine_cv_64bit_compare_swap" != xunknown
19128 then
19129 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19131 /* end confdefs.h. */
19132 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19133 #error no
19134 #endif
19136 main (void)
19140 return 0;
19142 _ACEOF
19143 if ac_fn_c_try_compile "$LINENO"
19144 then :
19146 else $as_nop
19147 wine_cv_64bit_compare_swap="unknown"
19149 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19150 CFLAGS=$saved_CFLAGS
19153 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19156 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19157 case "$wine_cv_64bit_compare_swap" in
19158 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19159 "none needed") ;;
19160 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19161 esac
19163 ac_debug_format_seen=""
19164 for ac_flag in $CFLAGS; do
19165 case $ac_flag in
19166 -gdwarf*) ac_debug_format_seen=yes ;;
19167 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19168 esac
19169 done
19170 if test "x$ac_debug_format_seen" = xdefault
19171 then
19172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19173 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19174 if test ${ac_cv_cflags__gdwarf_4+y}
19175 then :
19176 printf %s "(cached) " >&6
19177 else $as_nop
19178 ac_wine_try_cflags_saved=$CFLAGS
19179 CFLAGS="$CFLAGS -gdwarf-4"
19180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19181 /* end confdefs.h. */
19182 int main(int argc, char **argv) { return 0; }
19183 _ACEOF
19184 if ac_fn_c_try_link "$LINENO"
19185 then :
19186 ac_cv_cflags__gdwarf_4=yes
19187 else $as_nop
19188 ac_cv_cflags__gdwarf_4=no
19190 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19191 conftest$ac_exeext conftest.$ac_ext
19192 CFLAGS=$ac_wine_try_cflags_saved
19194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19195 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19196 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19197 then :
19198 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19202 MSVCRTFLAGS=""
19204 case $host_os in
19205 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19206 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19207 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19208 then :
19209 printf %s "(cached) " >&6
19210 else $as_nop
19211 ac_wine_try_cflags_saved=$CFLAGS
19212 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19214 /* end confdefs.h. */
19215 int main(int argc, char **argv) { return 0; }
19216 _ACEOF
19217 if ac_fn_c_try_link "$LINENO"
19218 then :
19219 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19220 else $as_nop
19221 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19223 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19224 conftest$ac_exeext conftest.$ac_ext
19225 CFLAGS=$ac_wine_try_cflags_saved
19227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19228 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19229 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19230 then :
19231 DELAYLOADFLAG="-Wl,-delayload,"
19233 fi ;;
19234 *) MSVCRTFLAGS="-D_WIN32"
19235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19236 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19237 if test ${ac_cv_cflags__fno_builtin+y}
19238 then :
19239 printf %s "(cached) " >&6
19240 else $as_nop
19241 ac_wine_try_cflags_saved=$CFLAGS
19242 CFLAGS="$CFLAGS -fno-builtin"
19243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19244 /* end confdefs.h. */
19245 int main(int argc, char **argv) { return 0; }
19246 _ACEOF
19247 if ac_fn_c_try_link "$LINENO"
19248 then :
19249 ac_cv_cflags__fno_builtin=yes
19250 else $as_nop
19251 ac_cv_cflags__fno_builtin=no
19253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19254 conftest$ac_exeext conftest.$ac_ext
19255 CFLAGS=$ac_wine_try_cflags_saved
19257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19258 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19259 if test "x$ac_cv_cflags__fno_builtin" = xyes
19260 then :
19261 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19264 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19265 if test ${ac_cv_cflags__fshort_wchar+y}
19266 then :
19267 printf %s "(cached) " >&6
19268 else $as_nop
19269 ac_wine_try_cflags_saved=$CFLAGS
19270 CFLAGS="$CFLAGS -fshort-wchar"
19271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19272 /* end confdefs.h. */
19273 int main(int argc, char **argv) { return 0; }
19274 _ACEOF
19275 if ac_fn_c_try_link "$LINENO"
19276 then :
19277 ac_cv_cflags__fshort_wchar=yes
19278 else $as_nop
19279 ac_cv_cflags__fshort_wchar=no
19281 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19282 conftest$ac_exeext conftest.$ac_ext
19283 CFLAGS=$ac_wine_try_cflags_saved
19285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19286 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19287 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19288 then :
19289 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19292 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19293 if test ${ac_cv_cflags__Wno_format+y}
19294 then :
19295 printf %s "(cached) " >&6
19296 else $as_nop
19297 ac_wine_try_cflags_saved=$CFLAGS
19298 CFLAGS="$CFLAGS -Wno-format"
19299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19300 /* end confdefs.h. */
19301 int main(int argc, char **argv) { return 0; }
19302 _ACEOF
19303 if ac_fn_c_try_link "$LINENO"
19304 then :
19305 ac_cv_cflags__Wno_format=yes
19306 else $as_nop
19307 ac_cv_cflags__Wno_format=no
19309 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19310 conftest$ac_exeext conftest.$ac_ext
19311 CFLAGS=$ac_wine_try_cflags_saved
19313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19314 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19315 if test "x$ac_cv_cflags__Wno_format" = xyes
19316 then :
19317 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19318 fi ;;
19319 esac
19321 case $host_cpu in
19322 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19323 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19324 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19325 then :
19326 printf %s "(cached) " >&6
19327 else $as_nop
19328 ac_wine_try_cflags_saved=$CFLAGS
19329 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19331 /* end confdefs.h. */
19332 int main(int argc, char **argv) { return 0; }
19333 _ACEOF
19334 if ac_fn_c_try_link "$LINENO"
19335 then :
19336 ac_cv_cflags__fno_omit_frame_pointer=yes
19337 else $as_nop
19338 ac_cv_cflags__fno_omit_frame_pointer=no
19340 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19341 conftest$ac_exeext conftest.$ac_ext
19342 CFLAGS=$ac_wine_try_cflags_saved
19344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19345 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19346 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19347 then :
19348 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
19349 fi ;;
19350 *x86_64*)
19351 case $host_os in
19352 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19353 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19354 if test ${ac_cv_cflags__Wno_format+y}
19355 then :
19356 printf %s "(cached) " >&6
19357 else $as_nop
19358 ac_wine_try_cflags_saved=$CFLAGS
19359 CFLAGS="$CFLAGS -Wno-format"
19360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19361 /* end confdefs.h. */
19362 int main(int argc, char **argv) { return 0; }
19363 _ACEOF
19364 if ac_fn_c_try_link "$LINENO"
19365 then :
19366 ac_cv_cflags__Wno_format=yes
19367 else $as_nop
19368 ac_cv_cflags__Wno_format=no
19370 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19371 conftest$ac_exeext conftest.$ac_ext
19372 CFLAGS=$ac_wine_try_cflags_saved
19374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19375 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19376 if test "x$ac_cv_cflags__Wno_format" = xyes
19377 then :
19378 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19379 fi ;;
19380 *) if test -z "$CROSSTARGET"
19381 then
19382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19383 printf %s "checking for working -mabi=ms... " >&6; }
19384 if test ${ac_cv_mabi_ms+y}
19385 then :
19386 printf %s "(cached) " >&6
19387 else $as_nop
19388 CFLAGS="$CFLAGS -mabi=ms"
19389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19390 /* end confdefs.h. */
19391 #include <stdarg.h>
19392 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19394 main (void)
19398 return 0;
19400 _ACEOF
19401 if ac_fn_c_try_compile "$LINENO"
19402 then :
19403 ac_cv_mabi_ms=yes
19404 else $as_nop
19405 ac_cv_mabi_ms=no
19407 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19408 CFLAGS=$saved_CFLAGS
19410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19411 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19412 test $ac_cv_mabi_ms = yes || as_fn_error $? "The compiler doesn't support -mabi=ms. Use gcc instead of clang, or install mingw-w64." "$LINENO" 5
19414 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19415 esac ;;
19416 esac
19418 CFLAGS=$saved_CFLAGS
19420 if test "x$enable_werror" = "xyes"
19421 then
19422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19423 printf %s "checking whether the compiler supports -Werror... " >&6; }
19424 if test ${ac_cv_cflags__Werror+y}
19425 then :
19426 printf %s "(cached) " >&6
19427 else $as_nop
19428 ac_wine_try_cflags_saved=$CFLAGS
19429 CFLAGS="$CFLAGS -Werror"
19430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19431 /* end confdefs.h. */
19432 int main(int argc, char **argv) { return 0; }
19433 _ACEOF
19434 if ac_fn_c_try_link "$LINENO"
19435 then :
19436 ac_cv_cflags__Werror=yes
19437 else $as_nop
19438 ac_cv_cflags__Werror=no
19440 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19441 conftest$ac_exeext conftest.$ac_ext
19442 CFLAGS=$ac_wine_try_cflags_saved
19444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19445 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19446 if test "x$ac_cv_cflags__Werror" = xyes
19447 then :
19448 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19451 if test "x$enable_build_id" = "xyes"
19452 then
19453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19454 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19455 if test ${ac_cv_cflags__Wl___build_id+y}
19456 then :
19457 printf %s "(cached) " >&6
19458 else $as_nop
19459 ac_wine_try_cflags_saved=$CFLAGS
19460 CFLAGS="$CFLAGS -Wl,--build-id"
19461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19462 /* end confdefs.h. */
19463 int main(int argc, char **argv) { return 0; }
19464 _ACEOF
19465 if ac_fn_c_try_link "$LINENO"
19466 then :
19467 ac_cv_cflags__Wl___build_id=yes
19468 else $as_nop
19469 ac_cv_cflags__Wl___build_id=no
19471 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19472 conftest$ac_exeext conftest.$ac_ext
19473 CFLAGS=$ac_wine_try_cflags_saved
19475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19476 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19477 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19478 then :
19479 CFLAGS="$CFLAGS -Wl,--build-id"
19480 LDFLAGS="$LDFLAGS -Wl,--build-id"
19486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19487 printf %s "checking for the need to disable Fortify... " >&6; }
19488 if test ${ac_cv_c_fortify_enabled+y}
19489 then :
19490 printf %s "(cached) " >&6
19491 else $as_nop
19492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19493 /* end confdefs.h. */
19494 #include <string.h>
19496 main (void)
19498 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19499 #error Fortify enabled
19500 #endif
19502 return 0;
19504 _ACEOF
19505 if ac_fn_c_try_compile "$LINENO"
19506 then :
19507 ac_cv_c_fortify_enabled=no
19508 else $as_nop
19509 ac_cv_c_fortify_enabled=yes
19511 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19514 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19515 if test "$ac_cv_c_fortify_enabled" = yes
19516 then
19517 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19522 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19523 if test ${ac_cv_c_cfi_support+y}
19524 then :
19525 printf %s "(cached) " >&6
19526 else $as_nop
19527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19528 /* end confdefs.h. */
19529 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19531 main (void)
19535 return 0;
19537 _ACEOF
19538 if ac_fn_c_try_compile "$LINENO"
19539 then :
19540 ac_cv_c_cfi_support="yes"
19541 else $as_nop
19542 ac_cv_c_cfi_support="no"
19544 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19547 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19548 if test "$ac_cv_c_cfi_support" = "yes"
19549 then
19550 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19551 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19552 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19553 else
19554 if test "x$enable_win64" = "xyes"
19555 then
19556 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19561 case $host_os in
19562 linux*)
19563 case $host_cpu in
19564 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19565 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
19566 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19568 esac
19570 esac
19573 ac_save_CFLAGS="$CFLAGS"
19574 CFLAGS="$CFLAGS $BUILTINFLAG"
19575 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19576 if test "x$ac_cv_func_epoll_create" = xyes
19577 then :
19578 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19581 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19582 if test "x$ac_cv_func_fstatfs" = xyes
19583 then :
19584 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19587 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19588 if test "x$ac_cv_func_futimens" = xyes
19589 then :
19590 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19593 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19594 if test "x$ac_cv_func_futimes" = xyes
19595 then :
19596 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19599 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19600 if test "x$ac_cv_func_futimesat" = xyes
19601 then :
19602 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19605 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19606 if test "x$ac_cv_func_getattrlist" = xyes
19607 then :
19608 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19611 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19612 if test "x$ac_cv_func_getauxval" = xyes
19613 then :
19614 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19617 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19618 if test "x$ac_cv_func_getifaddrs" = xyes
19619 then :
19620 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19623 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19624 if test "x$ac_cv_func_getrandom" = xyes
19625 then :
19626 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19629 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19630 if test "x$ac_cv_func_kqueue" = xyes
19631 then :
19632 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19635 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19636 if test "x$ac_cv_func_mach_continuous_time" = xyes
19637 then :
19638 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19641 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19642 if test "x$ac_cv_func_pipe2" = xyes
19643 then :
19644 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19647 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19648 if test "x$ac_cv_func_port_create" = xyes
19649 then :
19650 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19653 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19654 if test "x$ac_cv_func_posix_fadvise" = xyes
19655 then :
19656 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19659 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19660 if test "x$ac_cv_func_posix_fallocate" = xyes
19661 then :
19662 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19665 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19666 if test "x$ac_cv_func_prctl" = xyes
19667 then :
19668 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19671 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19672 if test "x$ac_cv_func_proc_pidinfo" = xyes
19673 then :
19674 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19677 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19678 if test "x$ac_cv_func_sched_yield" = xyes
19679 then :
19680 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19683 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19684 if test "x$ac_cv_func_setproctitle" = xyes
19685 then :
19686 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19689 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19690 if test "x$ac_cv_func_setprogname" = xyes
19691 then :
19692 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19695 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19696 if test "x$ac_cv_func_sigprocmask" = xyes
19697 then :
19698 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19701 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19702 if test "x$ac_cv_func_sysinfo" = xyes
19703 then :
19704 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19707 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19708 if test "x$ac_cv_func_tcdrain" = xyes
19709 then :
19710 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19713 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19714 if test "x$ac_cv_func_thr_kill2" = xyes
19715 then :
19716 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19720 CFLAGS="$ac_save_CFLAGS"
19722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19723 printf %s "checking for library containing dlopen... " >&6; }
19724 if test ${ac_cv_search_dlopen+y}
19725 then :
19726 printf %s "(cached) " >&6
19727 else $as_nop
19728 ac_func_search_save_LIBS=$LIBS
19729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19730 /* end confdefs.h. */
19732 /* Override any GCC internal prototype to avoid an error.
19733 Use char because int might match the return type of a GCC
19734 builtin and then its argument prototype would still apply. */
19735 char dlopen ();
19737 main (void)
19739 return dlopen ();
19741 return 0;
19743 _ACEOF
19744 for ac_lib in '' dl
19746 if test -z "$ac_lib"; then
19747 ac_res="none required"
19748 else
19749 ac_res=-l$ac_lib
19750 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19752 if ac_fn_c_try_link "$LINENO"
19753 then :
19754 ac_cv_search_dlopen=$ac_res
19756 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19757 conftest$ac_exeext
19758 if test ${ac_cv_search_dlopen+y}
19759 then :
19760 break
19762 done
19763 if test ${ac_cv_search_dlopen+y}
19764 then :
19766 else $as_nop
19767 ac_cv_search_dlopen=no
19769 rm conftest.$ac_ext
19770 LIBS=$ac_func_search_save_LIBS
19772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19773 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19774 ac_res=$ac_cv_search_dlopen
19775 if test "$ac_res" != no
19776 then :
19777 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19781 ac_wine_check_funcs_save_LIBS="$LIBS"
19782 LIBS="$LIBS $DL_LIBS"
19783 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19784 if test "x$ac_cv_func_dlinfo" = xyes
19785 then :
19786 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19790 LIBS="$ac_wine_check_funcs_save_LIBS"
19792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19793 printf %s "checking for library containing gethostbyname... " >&6; }
19794 if test ${ac_cv_search_gethostbyname+y}
19795 then :
19796 printf %s "(cached) " >&6
19797 else $as_nop
19798 ac_func_search_save_LIBS=$LIBS
19799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19800 /* end confdefs.h. */
19802 /* Override any GCC internal prototype to avoid an error.
19803 Use char because int might match the return type of a GCC
19804 builtin and then its argument prototype would still apply. */
19805 char gethostbyname ();
19807 main (void)
19809 return gethostbyname ();
19811 return 0;
19813 _ACEOF
19814 for ac_lib in '' nsl
19816 if test -z "$ac_lib"; then
19817 ac_res="none required"
19818 else
19819 ac_res=-l$ac_lib
19820 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19822 if ac_fn_c_try_link "$LINENO"
19823 then :
19824 ac_cv_search_gethostbyname=$ac_res
19826 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19827 conftest$ac_exeext
19828 if test ${ac_cv_search_gethostbyname+y}
19829 then :
19830 break
19832 done
19833 if test ${ac_cv_search_gethostbyname+y}
19834 then :
19836 else $as_nop
19837 ac_cv_search_gethostbyname=no
19839 rm conftest.$ac_ext
19840 LIBS=$ac_func_search_save_LIBS
19842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19843 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19844 ac_res=$ac_cv_search_gethostbyname
19845 if test "$ac_res" != no
19846 then :
19847 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19853 printf %s "checking for library containing connect... " >&6; }
19854 if test ${ac_cv_search_connect+y}
19855 then :
19856 printf %s "(cached) " >&6
19857 else $as_nop
19858 ac_func_search_save_LIBS=$LIBS
19859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19860 /* end confdefs.h. */
19862 /* Override any GCC internal prototype to avoid an error.
19863 Use char because int might match the return type of a GCC
19864 builtin and then its argument prototype would still apply. */
19865 char connect ();
19867 main (void)
19869 return connect ();
19871 return 0;
19873 _ACEOF
19874 for ac_lib in '' socket
19876 if test -z "$ac_lib"; then
19877 ac_res="none required"
19878 else
19879 ac_res=-l$ac_lib
19880 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19882 if ac_fn_c_try_link "$LINENO"
19883 then :
19884 ac_cv_search_connect=$ac_res
19886 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19887 conftest$ac_exeext
19888 if test ${ac_cv_search_connect+y}
19889 then :
19890 break
19892 done
19893 if test ${ac_cv_search_connect+y}
19894 then :
19896 else $as_nop
19897 ac_cv_search_connect=no
19899 rm conftest.$ac_ext
19900 LIBS=$ac_func_search_save_LIBS
19902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19903 printf "%s\n" "$ac_cv_search_connect" >&6; }
19904 ac_res=$ac_cv_search_connect
19905 if test "$ac_res" != no
19906 then :
19907 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19913 printf %s "checking for library containing inet_aton... " >&6; }
19914 if test ${ac_cv_search_inet_aton+y}
19915 then :
19916 printf %s "(cached) " >&6
19917 else $as_nop
19918 ac_func_search_save_LIBS=$LIBS
19919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19920 /* end confdefs.h. */
19922 /* Override any GCC internal prototype to avoid an error.
19923 Use char because int might match the return type of a GCC
19924 builtin and then its argument prototype would still apply. */
19925 char inet_aton ();
19927 main (void)
19929 return inet_aton ();
19931 return 0;
19933 _ACEOF
19934 for ac_lib in '' resolv
19936 if test -z "$ac_lib"; then
19937 ac_res="none required"
19938 else
19939 ac_res=-l$ac_lib
19940 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19942 if ac_fn_c_try_link "$LINENO"
19943 then :
19944 ac_cv_search_inet_aton=$ac_res
19946 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19947 conftest$ac_exeext
19948 if test ${ac_cv_search_inet_aton+y}
19949 then :
19950 break
19952 done
19953 if test ${ac_cv_search_inet_aton+y}
19954 then :
19956 else $as_nop
19957 ac_cv_search_inet_aton=no
19959 rm conftest.$ac_ext
19960 LIBS=$ac_func_search_save_LIBS
19962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19963 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19964 ac_res=$ac_cv_search_inet_aton
19965 if test "$ac_res" != no
19966 then :
19967 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19972 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19973 if test "x$ac_cv_func_getaddrinfo" = xyes
19974 then :
19975 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19980 case $host_os in
19981 darwin*|macosx*) ;;
19982 *) ac_save_LIBS=$LIBS
19983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19984 printf %s "checking for library containing clock_gettime... " >&6; }
19985 if test ${ac_cv_search_clock_gettime+y}
19986 then :
19987 printf %s "(cached) " >&6
19988 else $as_nop
19989 ac_func_search_save_LIBS=$LIBS
19990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19991 /* end confdefs.h. */
19993 /* Override any GCC internal prototype to avoid an error.
19994 Use char because int might match the return type of a GCC
19995 builtin and then its argument prototype would still apply. */
19996 char clock_gettime ();
19998 main (void)
20000 return clock_gettime ();
20002 return 0;
20004 _ACEOF
20005 for ac_lib in '' rt
20007 if test -z "$ac_lib"; then
20008 ac_res="none required"
20009 else
20010 ac_res=-l$ac_lib
20011 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20013 if ac_fn_c_try_link "$LINENO"
20014 then :
20015 ac_cv_search_clock_gettime=$ac_res
20017 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20018 conftest$ac_exeext
20019 if test ${ac_cv_search_clock_gettime+y}
20020 then :
20021 break
20023 done
20024 if test ${ac_cv_search_clock_gettime+y}
20025 then :
20027 else $as_nop
20028 ac_cv_search_clock_gettime=no
20030 rm conftest.$ac_ext
20031 LIBS=$ac_func_search_save_LIBS
20033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20034 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20035 ac_res=$ac_cv_search_clock_gettime
20036 if test "$ac_res" != no
20037 then :
20038 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20040 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20042 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20046 LIBS=$ac_save_LIBS
20048 esac
20050 if test "x$with_ldap" != "xno"
20051 then
20052 if ${LDAP_CFLAGS:+false} :
20053 then :
20054 if test ${PKG_CONFIG+y}
20055 then :
20056 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
20060 if ${LDAP_LIBS:+false} :
20061 then :
20062 if test ${PKG_CONFIG+y}
20063 then :
20064 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
20068 LDAP_LIBS=${LDAP_LIBS:-"-lldap -llber"}
20069 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
20070 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
20071 ac_save_CPPFLAGS=$CPPFLAGS
20072 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
20073 ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
20074 if test "x$ac_cv_header_ldap_h" = xyes
20075 then :
20076 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
20079 ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
20080 if test "x$ac_cv_header_lber_h" = xyes
20081 then :
20082 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
20086 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
20087 then
20088 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
20090 if test "x$ac_cv_type_LDAPSortKey" = xyes
20091 then :
20092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
20093 printf %s "checking for ldap_initialize in -lldap... " >&6; }
20094 if test ${ac_cv_lib_ldap_ldap_initialize+y}
20095 then :
20096 printf %s "(cached) " >&6
20097 else $as_nop
20098 ac_check_lib_save_LIBS=$LIBS
20099 LIBS="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20101 /* end confdefs.h. */
20103 /* Override any GCC internal prototype to avoid an error.
20104 Use char because int might match the return type of a GCC
20105 builtin and then its argument prototype would still apply. */
20106 char ldap_initialize ();
20108 main (void)
20110 return ldap_initialize ();
20112 return 0;
20114 _ACEOF
20115 if ac_fn_c_try_link "$LINENO"
20116 then :
20117 ac_cv_lib_ldap_ldap_initialize=yes
20118 else $as_nop
20119 ac_cv_lib_ldap_ldap_initialize=no
20121 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20122 conftest$ac_exeext conftest.$ac_ext
20123 LIBS=$ac_check_lib_save_LIBS
20125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
20126 printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
20127 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
20128 then :
20129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20130 printf %s "checking for ber_init in -llber... " >&6; }
20131 if test ${ac_cv_lib_lber_ber_init+y}
20132 then :
20133 printf %s "(cached) " >&6
20134 else $as_nop
20135 ac_check_lib_save_LIBS=$LIBS
20136 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20138 /* end confdefs.h. */
20140 /* Override any GCC internal prototype to avoid an error.
20141 Use char because int might match the return type of a GCC
20142 builtin and then its argument prototype would still apply. */
20143 char ber_init ();
20145 main (void)
20147 return ber_init ();
20149 return 0;
20151 _ACEOF
20152 if ac_fn_c_try_link "$LINENO"
20153 then :
20154 ac_cv_lib_lber_ber_init=yes
20155 else $as_nop
20156 ac_cv_lib_lber_ber_init=no
20158 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20159 conftest$ac_exeext conftest.$ac_ext
20160 LIBS=$ac_check_lib_save_LIBS
20162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20163 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20164 if test "x$ac_cv_lib_lber_ber_init" = xyes
20165 then :
20167 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20169 else $as_nop
20170 LDAP_LIBS=""
20173 else $as_nop
20174 LDAP_LIBS=""
20177 else $as_nop
20178 LDAP_LIBS=""
20181 else
20182 LDAP_LIBS=""
20184 CPPFLAGS=$ac_save_CPPFLAGS
20187 if test "x$LDAP_LIBS" = "x"
20188 then :
20189 case "x$with_ldap" in
20190 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20191 xno) ;;
20192 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20193 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20194 esac
20198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20199 printf %s "checking for sched_setaffinity... " >&6; }
20200 if test ${wine_cv_have_sched_setaffinity+y}
20201 then :
20202 printf %s "(cached) " >&6
20203 else $as_nop
20204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20205 /* end confdefs.h. */
20206 #include <sched.h>
20208 main (void)
20210 sched_setaffinity(0, 0, 0);
20212 return 0;
20214 _ACEOF
20215 if ac_fn_c_try_link "$LINENO"
20216 then :
20217 wine_cv_have_sched_setaffinity=yes
20218 else $as_nop
20219 wine_cv_have_sched_setaffinity=no
20221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20222 conftest$ac_exeext conftest.$ac_ext
20224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20225 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20226 if test "$wine_cv_have_sched_setaffinity" = "yes"
20227 then
20229 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20235 printf %s "checking for inline... " >&6; }
20236 if test ${ac_cv_c_inline+y}
20237 then :
20238 printf %s "(cached) " >&6
20239 else $as_nop
20240 ac_cv_c_inline=no
20241 for ac_kw in inline __inline__ __inline; do
20242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20243 /* end confdefs.h. */
20244 #ifndef __cplusplus
20245 typedef int foo_t;
20246 static $ac_kw foo_t static_foo (void) {return 0; }
20247 $ac_kw foo_t foo (void) {return 0; }
20248 #endif
20250 _ACEOF
20251 if ac_fn_c_try_compile "$LINENO"
20252 then :
20253 ac_cv_c_inline=$ac_kw
20255 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20256 test "$ac_cv_c_inline" != no && break
20257 done
20260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20261 printf "%s\n" "$ac_cv_c_inline" >&6; }
20263 case $ac_cv_c_inline in
20264 inline | yes) ;;
20266 case $ac_cv_c_inline in
20267 no) ac_val=;;
20268 *) ac_val=$ac_cv_c_inline;;
20269 esac
20270 cat >>confdefs.h <<_ACEOF
20271 #ifndef __cplusplus
20272 #define inline $ac_val
20273 #endif
20274 _ACEOF
20276 esac
20278 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20279 #include <signal.h>
20281 if test "x$ac_cv_type_sigset_t" = xyes
20282 then :
20284 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20289 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20291 if test "x$ac_cv_type_request_sense" = xyes
20292 then :
20294 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20300 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20301 #include <sys/socket.h>
20302 #ifdef HAVE_SYS_SOCKETVAR_H
20303 #include <sys/socketvar.h>
20304 #endif
20305 #ifdef HAVE_NET_ROUTE_H
20306 #include <net/route.h>
20307 #endif
20308 #ifdef HAVE_NETINET_IN_H
20309 #include <netinet/in.h>
20310 #endif
20311 #ifdef HAVE_NETINET_IN_SYSTM_H
20312 #include <netinet/in_systm.h>
20313 #endif
20314 #ifdef HAVE_NETINET_IP_H
20315 #include <netinet/ip.h>
20316 #endif
20317 #ifdef HAVE_NETINET_IN_PCB_H
20318 #include <netinet/in_pcb.h>
20319 #endif
20321 if test "x$ac_cv_type_struct_xinpgen" = xyes
20322 then :
20324 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20331 printf %s "checking for sigaddset... " >&6; }
20332 if test ${wine_cv_have_sigaddset+y}
20333 then :
20334 printf %s "(cached) " >&6
20335 else $as_nop
20336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20337 /* end confdefs.h. */
20338 #include <signal.h>
20340 main (void)
20342 sigset_t set; sigaddset(&set,SIGTERM);
20344 return 0;
20346 _ACEOF
20347 if ac_fn_c_try_link "$LINENO"
20348 then :
20349 wine_cv_have_sigaddset=yes
20350 else $as_nop
20351 wine_cv_have_sigaddset=no
20353 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20354 conftest$ac_exeext conftest.$ac_ext
20356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20357 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20358 if test "$wine_cv_have_sigaddset" = "yes"
20359 then
20361 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20367 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20368 if test ${wine_cv_linux_gethostbyname_r_6+y}
20369 then :
20370 printf %s "(cached) " >&6
20371 else $as_nop
20372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20373 /* end confdefs.h. */
20374 #include <netdb.h>
20376 main (void)
20379 char *name=0;
20380 struct hostent he;
20381 struct hostent *result;
20382 char *buf=0;
20383 int bufsize=0;
20384 int errnr;
20385 char *addr=0;
20386 int addrlen=0;
20387 int addrtype=0;
20388 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20389 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20392 return 0;
20394 _ACEOF
20395 if ac_fn_c_try_link "$LINENO"
20396 then :
20397 wine_cv_linux_gethostbyname_r_6=yes
20398 else $as_nop
20399 wine_cv_linux_gethostbyname_r_6=no
20402 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20403 conftest$ac_exeext conftest.$ac_ext
20406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20407 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20408 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20409 then
20411 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20415 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20416 #include <sys/socket.h>
20417 #ifdef HAVE_SYS_UN_H
20418 # include <sys/un.h>
20419 #endif
20421 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20422 then :
20424 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20428 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20429 #include <sys/socket.h>
20430 #ifdef HAVE_SYS_UN_H
20431 # include <sys/un.h>
20432 #endif
20434 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20435 then :
20437 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20443 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20444 #ifdef HAVE_SCSI_SG_H
20445 #include <scsi/sg.h>
20446 #endif
20448 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20449 then :
20451 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20455 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>
20456 #ifdef HAVE_SCSI_SG_H
20457 #include <scsi/sg.h>
20458 #endif
20460 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20461 then :
20463 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20469 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20471 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20472 then :
20474 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20480 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20481 #ifdef HAVE_SYS_MTIO_H
20482 #include <sys/mtio.h>
20483 #endif
20485 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20486 then :
20488 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20492 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20493 #ifdef HAVE_SYS_MTIO_H
20494 #include <sys/mtio.h>
20495 #endif
20497 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20498 then :
20500 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20504 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20505 #ifdef HAVE_SYS_MTIO_H
20506 #include <sys/mtio.h>
20507 #endif
20509 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20510 then :
20512 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20518 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20519 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20520 then :
20522 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20526 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20527 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20528 then :
20530 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20534 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20535 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20536 then :
20538 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20542 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20543 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20544 then :
20546 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20550 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20551 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20552 then :
20554 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20558 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20559 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20560 then :
20562 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20566 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20567 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20568 then :
20570 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20574 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20575 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20576 then :
20578 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20582 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20583 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20584 then :
20586 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20590 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20591 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20592 then :
20594 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20598 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20599 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20600 then :
20602 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20608 ac_fn_c_check_member "$LINENO" "struct sockaddr_in6" "sin6_scope_id" "ac_cv_member_struct_sockaddr_in6_sin6_scope_id" "#include <sys/types.h>
20609 #ifdef HAVE_NETINET_IN_H
20610 #include <netinet/in.h>
20611 #endif
20613 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20614 then :
20616 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20622 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
20623 #include <resolv.h>
20624 #endif
20626 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20627 then :
20629 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20635 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20636 #include <netinet/in.h>
20637 #endif
20639 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20640 then :
20642 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20648 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20649 #ifdef HAVE_SYS_SOCKETVAR_H
20650 #include <sys/socketvar.h>
20651 #endif
20652 #ifdef HAVE_NETINET_IN_H
20653 #include <netinet/in.h>
20654 #endif
20655 #ifdef HAVE_NETINET_IP_VAR_H
20656 #include <netinet/ip_var.h>
20657 #endif
20659 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20660 then :
20662 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20668 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
20669 #include <netinet/ip_var.h>
20670 #endif
20672 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20673 then :
20675 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20681 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20682 #ifdef HAVE_SYS_SOCKETVAR_H
20683 #include <sys/socketvar.h>
20684 #endif
20685 #ifdef HAVE_NETINET_IN_H
20686 #include <netinet/in.h>
20687 #endif
20688 #ifdef HAVE_NETINET6_IP6_VAR_H
20689 #include <netinet6/ip6_var.h>
20690 #endif
20692 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20693 then :
20695 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20701 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20702 #ifdef HAVE_SYS_SOCKETVAR_H
20703 #include <sys/socketvar.h>
20704 #endif
20705 #ifdef HAVE_NETINET_IN_H
20706 #include <netinet/in.h>
20707 #endif
20708 #ifdef HAVE_NETINET_IP_H
20709 #include <netinet/ip.h>
20710 #endif
20711 #ifdef HAVE_NETINET_IP_ICMP_H
20712 #include <netinet/ip_icmp.h>
20713 #endif
20714 #ifdef HAVE_NETINET_ICMP_VAR_H
20715 #include <netinet/icmp_var.h>
20716 #endif
20718 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20719 then :
20721 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20727 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20728 #ifdef HAVE_SYS_SOCKETVAR_H
20729 #include <sys/socketvar.h>
20730 #endif
20731 #ifdef HAVE_NETINET_IN_H
20732 #include <netinet/in.h>
20733 #endif
20734 #ifdef HAVE_NETINET_ICMP6_H
20735 #include <netinet/icmp6.h>
20736 #endif
20738 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20739 then :
20741 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20747 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20748 #ifdef HAVE_SYS_SOCKETVAR_H
20749 #include <sys/socketvar.h>
20750 #endif
20751 #ifdef HAVE_NETINET_IN_H
20752 #include <netinet/in.h>
20753 #endif
20754 #ifdef HAVE_NETINET_TCP_H
20755 #include <netinet/tcp.h>
20756 #endif
20757 #ifdef HAVE_NETINET_TCP_VAR_H
20758 #include <netinet/tcp_var.h>
20759 #endif
20761 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20762 then :
20764 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20770 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
20771 #include <netinet/tcp_var.h>
20772 #endif
20774 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20775 then :
20777 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20783 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20784 #ifdef HAVE_NETINET_IN_H
20785 #include <netinet/in.h>
20786 #endif
20787 #ifdef HAVE_NETINET_IP_VAR_H
20788 #include <netinet/ip_var.h>
20789 #endif
20790 #ifdef HAVE_NETINET_UDP_H
20791 #include <netinet/udp.h>
20792 #endif
20793 #ifdef HAVE_NETINET_UDP_VAR_H
20794 #include <netinet/udp_var.h>
20795 #endif
20797 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20798 then :
20800 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20806 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20807 #ifdef HAVE_NET_IF_H
20808 # include <net/if.h>
20809 #endif
20811 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20812 then :
20814 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20820 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20821 # include <sys/sysinfo.h>
20822 #endif
20824 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20825 then :
20827 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20831 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20832 # include <sys/sysinfo.h>
20833 #endif
20835 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20836 then :
20838 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20844 LIBS="$ac_save_LIBS"
20846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20847 printf %s "checking for __builtin_popcount... " >&6; }
20848 if test ${ac_cv_have___builtin_popcount+y}
20849 then :
20850 printf %s "(cached) " >&6
20851 else $as_nop
20852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20853 /* end confdefs.h. */
20856 main (void)
20858 return __builtin_popcount(1)
20860 return 0;
20862 _ACEOF
20863 if ac_fn_c_try_link "$LINENO"
20864 then :
20865 ac_cv_have___builtin_popcount="yes"
20866 else $as_nop
20867 ac_cv_have___builtin_popcount="no"
20869 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20870 conftest$ac_exeext conftest.$ac_ext
20872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20873 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20874 if test "$ac_cv_have___builtin_popcount" = "yes"
20875 then
20877 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20882 printf %s "checking for __clear_cache... " >&6; }
20883 if test ${ac_cv_have___clear_cache+y}
20884 then :
20885 printf %s "(cached) " >&6
20886 else $as_nop
20887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20888 /* end confdefs.h. */
20891 main (void)
20893 __clear_cache((void*)0, (void*)0); return 0;
20895 return 0;
20897 _ACEOF
20898 if ac_fn_c_try_link "$LINENO"
20899 then :
20900 ac_cv_have___clear_cache="yes"
20901 else $as_nop
20902 ac_cv_have___clear_cache="no"
20904 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20905 conftest$ac_exeext conftest.$ac_ext
20907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20908 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20909 if test "$ac_cv_have___clear_cache" = "yes"
20910 then
20912 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20917 case $host_cpu in
20918 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20919 printf %s "checking whether we need to define __i386__... " >&6; }
20920 if test ${ac_cv_cpp_def___i386__+y}
20921 then :
20922 printf %s "(cached) " >&6
20923 else $as_nop
20924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20925 /* end confdefs.h. */
20926 #ifndef __i386__
20928 #endif
20929 _ACEOF
20930 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20931 $EGREP "yes" >/dev/null 2>&1
20932 then :
20933 ac_cv_cpp_def___i386__=yes
20934 else $as_nop
20935 ac_cv_cpp_def___i386__=no
20937 rm -rf conftest*
20940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20941 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20942 if test "x$ac_cv_cpp_def___i386__" = xyes
20943 then :
20944 CFLAGS="$CFLAGS -D__i386__"
20945 LINTFLAGS="$LINTFLAGS -D__i386__"
20946 fi ;;
20947 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20948 printf %s "checking whether we need to define __x86_64__... " >&6; }
20949 if test ${ac_cv_cpp_def___x86_64__+y}
20950 then :
20951 printf %s "(cached) " >&6
20952 else $as_nop
20953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20954 /* end confdefs.h. */
20955 #ifndef __x86_64__
20957 #endif
20958 _ACEOF
20959 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20960 $EGREP "yes" >/dev/null 2>&1
20961 then :
20962 ac_cv_cpp_def___x86_64__=yes
20963 else $as_nop
20964 ac_cv_cpp_def___x86_64__=no
20966 rm -rf conftest*
20969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20970 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20971 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20972 then :
20973 CFLAGS="$CFLAGS -D__x86_64__"
20974 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20975 fi ;;
20976 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20977 printf %s "checking whether we need to define __sparc64__... " >&6; }
20978 if test ${ac_cv_cpp_def___sparc64__+y}
20979 then :
20980 printf %s "(cached) " >&6
20981 else $as_nop
20982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20983 /* end confdefs.h. */
20984 #ifndef __sparc64__
20986 #endif
20987 _ACEOF
20988 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20989 $EGREP "yes" >/dev/null 2>&1
20990 then :
20991 ac_cv_cpp_def___sparc64__=yes
20992 else $as_nop
20993 ac_cv_cpp_def___sparc64__=no
20995 rm -rf conftest*
20998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20999 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21000 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21001 then :
21002 CFLAGS="$CFLAGS -D__sparc64__"
21003 LINTFLAGS="$LINTFLAGS -D__sparc64__"
21004 fi ;;
21005 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21006 printf %s "checking whether we need to define __sparc__... " >&6; }
21007 if test ${ac_cv_cpp_def___sparc__+y}
21008 then :
21009 printf %s "(cached) " >&6
21010 else $as_nop
21011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21012 /* end confdefs.h. */
21013 #ifndef __sparc__
21015 #endif
21016 _ACEOF
21017 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21018 $EGREP "yes" >/dev/null 2>&1
21019 then :
21020 ac_cv_cpp_def___sparc__=yes
21021 else $as_nop
21022 ac_cv_cpp_def___sparc__=no
21024 rm -rf conftest*
21027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21028 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21029 if test "x$ac_cv_cpp_def___sparc__" = xyes
21030 then :
21031 CFLAGS="$CFLAGS -D__sparc__"
21032 LINTFLAGS="$LINTFLAGS -D__sparc__"
21033 fi ;;
21034 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21035 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21036 if test ${ac_cv_cpp_def___powerpc64__+y}
21037 then :
21038 printf %s "(cached) " >&6
21039 else $as_nop
21040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21041 /* end confdefs.h. */
21042 #ifndef __powerpc64__
21044 #endif
21045 _ACEOF
21046 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21047 $EGREP "yes" >/dev/null 2>&1
21048 then :
21049 ac_cv_cpp_def___powerpc64__=yes
21050 else $as_nop
21051 ac_cv_cpp_def___powerpc64__=no
21053 rm -rf conftest*
21056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21057 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21058 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21059 then :
21060 CFLAGS="$CFLAGS -D__powerpc64__"
21061 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21062 fi ;;
21063 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21064 printf %s "checking whether we need to define __powerpc__... " >&6; }
21065 if test ${ac_cv_cpp_def___powerpc__+y}
21066 then :
21067 printf %s "(cached) " >&6
21068 else $as_nop
21069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21070 /* end confdefs.h. */
21071 #ifndef __powerpc__
21073 #endif
21074 _ACEOF
21075 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21076 $EGREP "yes" >/dev/null 2>&1
21077 then :
21078 ac_cv_cpp_def___powerpc__=yes
21079 else $as_nop
21080 ac_cv_cpp_def___powerpc__=no
21082 rm -rf conftest*
21085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21086 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21087 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21088 then :
21089 CFLAGS="$CFLAGS -D__powerpc__"
21090 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21091 fi ;;
21092 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21093 printf %s "checking whether we need to define __aarch64__... " >&6; }
21094 if test ${ac_cv_cpp_def___aarch64__+y}
21095 then :
21096 printf %s "(cached) " >&6
21097 else $as_nop
21098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21099 /* end confdefs.h. */
21100 #ifndef __aarch64__
21102 #endif
21103 _ACEOF
21104 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21105 $EGREP "yes" >/dev/null 2>&1
21106 then :
21107 ac_cv_cpp_def___aarch64__=yes
21108 else $as_nop
21109 ac_cv_cpp_def___aarch64__=no
21111 rm -rf conftest*
21114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21115 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21116 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21117 then :
21118 CFLAGS="$CFLAGS -D__aarch64__"
21119 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21120 fi ;;
21121 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21122 printf %s "checking whether we need to define __arm__... " >&6; }
21123 if test ${ac_cv_cpp_def___arm__+y}
21124 then :
21125 printf %s "(cached) " >&6
21126 else $as_nop
21127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21128 /* end confdefs.h. */
21129 #ifndef __arm__
21131 #endif
21132 _ACEOF
21133 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21134 $EGREP "yes" >/dev/null 2>&1
21135 then :
21136 ac_cv_cpp_def___arm__=yes
21137 else $as_nop
21138 ac_cv_cpp_def___arm__=no
21140 rm -rf conftest*
21143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21144 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21145 if test "x$ac_cv_cpp_def___arm__" = xyes
21146 then :
21147 CFLAGS="$CFLAGS -D__arm__"
21148 LINTFLAGS="$LINTFLAGS -D__arm__"
21149 fi ;;
21150 esac
21152 case $host_vendor in
21153 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21154 printf %s "checking whether we need to define __sun__... " >&6; }
21155 if test ${ac_cv_cpp_def___sun__+y}
21156 then :
21157 printf %s "(cached) " >&6
21158 else $as_nop
21159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21160 /* end confdefs.h. */
21161 #ifndef __sun__
21163 #endif
21164 _ACEOF
21165 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21166 $EGREP "yes" >/dev/null 2>&1
21167 then :
21168 ac_cv_cpp_def___sun__=yes
21169 else $as_nop
21170 ac_cv_cpp_def___sun__=no
21172 rm -rf conftest*
21175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21176 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21177 if test "x$ac_cv_cpp_def___sun__" = xyes
21178 then :
21179 CFLAGS="$CFLAGS -D__sun__"
21180 LINTFLAGS="$LINTFLAGS -D__sun__"
21181 fi ;;
21182 esac
21188 ac_config_commands="$ac_config_commands include/stamp-h"
21190 printf %s "creating Makefile rules..." >&6
21192 makedep_flags=""
21193 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21195 wine_srcdir=
21196 test "$srcdir" = . || wine_srcdir="$srcdir/"
21198 ac_config_links="$ac_config_links wine:tools/winewrapper"
21199 wine_fn_config_symlink wine
21200 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
21201 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21202 wine_fn_config_symlink wine64
21205 wine_fn_config_makefile dlls/acledit enable_acledit
21206 wine_fn_config_makefile dlls/aclui enable_aclui
21207 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21208 wine_fn_config_makefile dlls/activeds enable_activeds
21209 wine_fn_config_makefile dlls/activeds/tests enable_tests
21210 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21211 wine_fn_config_makefile dlls/adsldp enable_adsldp
21212 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21213 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21214 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21215 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21216 wine_fn_config_makefile dlls/advpack enable_advpack
21217 wine_fn_config_makefile dlls/advpack/tests enable_tests
21218 wine_fn_config_makefile dlls/amsi enable_amsi
21219 wine_fn_config_makefile dlls/amstream enable_amstream
21220 wine_fn_config_makefile dlls/amstream/tests enable_tests
21221 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21222 wine_fn_config_makefile dlls/apphelp enable_apphelp
21223 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21224 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21225 wine_fn_config_makefile dlls/atl enable_atl
21226 wine_fn_config_makefile dlls/atl/tests enable_tests
21227 wine_fn_config_makefile dlls/atl100 enable_atl100
21228 wine_fn_config_makefile dlls/atl100/tests enable_tests
21229 wine_fn_config_makefile dlls/atl110 enable_atl110
21230 wine_fn_config_makefile dlls/atl80 enable_atl80
21231 wine_fn_config_makefile dlls/atl80/tests enable_tests
21232 wine_fn_config_makefile dlls/atl90 enable_atl90
21233 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21234 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21235 wine_fn_config_makefile dlls/atmlib enable_atmlib
21236 wine_fn_config_makefile dlls/authz enable_authz
21237 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21238 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21239 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21240 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21241 wine_fn_config_makefile dlls/avrt enable_avrt
21242 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21243 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21244 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21245 wine_fn_config_makefile dlls/browseui enable_browseui
21246 wine_fn_config_makefile dlls/browseui/tests enable_tests
21247 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21248 wine_fn_config_makefile dlls/cabinet enable_cabinet
21249 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21250 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21251 wine_fn_config_makefile dlls/cards enable_cards
21252 wine_fn_config_makefile dlls/cdosys enable_cdosys
21253 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21254 wine_fn_config_makefile dlls/clusapi enable_clusapi
21255 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21256 wine_fn_config_makefile dlls/combase enable_combase
21257 wine_fn_config_makefile dlls/combase/tests enable_tests
21258 wine_fn_config_makefile dlls/comcat enable_comcat
21259 wine_fn_config_makefile dlls/comcat/tests enable_tests
21260 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21261 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21262 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21263 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21264 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21265 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21266 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21267 wine_fn_config_makefile dlls/compstui enable_compstui
21268 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21269 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21270 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21271 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21272 wine_fn_config_makefile dlls/connect enable_connect
21273 wine_fn_config_makefile dlls/credui enable_credui
21274 wine_fn_config_makefile dlls/credui/tests enable_tests
21275 wine_fn_config_makefile dlls/crtdll enable_crtdll
21276 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21277 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21278 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21279 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21280 wine_fn_config_makefile dlls/cryptext enable_cryptext
21281 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21282 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21283 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21284 wine_fn_config_makefile dlls/cryptui enable_cryptui
21285 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21286 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21287 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21288 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21289 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21290 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21291 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21292 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21293 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21294 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21295 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21296 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21297 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21298 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21299 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21300 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21301 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21302 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21303 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21304 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21305 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21306 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21307 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21308 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21309 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21310 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21311 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21312 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21313 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21314 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21315 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21316 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21317 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21318 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21319 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21320 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21321 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21322 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21323 wine_fn_config_makefile dlls/d3dim enable_d3dim
21324 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21325 wine_fn_config_makefile dlls/d3drm enable_d3drm
21326 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21327 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21328 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21329 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21330 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21331 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21332 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21333 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21334 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21335 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21336 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21337 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21338 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21339 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21340 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21341 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21342 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21343 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21344 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21345 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21346 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21347 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21348 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21349 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21350 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21351 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21352 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21353 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21354 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21355 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21356 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21357 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21358 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21359 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21360 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21361 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21362 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21363 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21364 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21365 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21366 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21367 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21368 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21369 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21370 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21371 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21372 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21373 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21374 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21375 wine_fn_config_makefile dlls/davclnt enable_davclnt
21376 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21377 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21378 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21379 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21380 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21381 wine_fn_config_makefile dlls/dcomp enable_dcomp
21382 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21383 wine_fn_config_makefile dlls/ddraw enable_ddraw
21384 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21385 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21386 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21387 wine_fn_config_makefile dlls/devenum enable_devenum
21388 wine_fn_config_makefile dlls/devenum/tests enable_tests
21389 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21390 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21391 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21392 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21393 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21394 wine_fn_config_makefile dlls/difxapi enable_difxapi
21395 wine_fn_config_makefile dlls/dinput enable_dinput
21396 wine_fn_config_makefile dlls/dinput/tests enable_tests
21397 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21398 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21399 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21400 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21401 wine_fn_config_makefile dlls/dispex enable_dispex
21402 wine_fn_config_makefile dlls/dispex/tests enable_tests
21403 wine_fn_config_makefile dlls/display.drv16 enable_win16
21404 wine_fn_config_makefile dlls/dmband enable_dmband
21405 wine_fn_config_makefile dlls/dmband/tests enable_tests
21406 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21407 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21408 wine_fn_config_makefile dlls/dmime enable_dmime
21409 wine_fn_config_makefile dlls/dmime/tests enable_tests
21410 wine_fn_config_makefile dlls/dmloader enable_dmloader
21411 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21412 wine_fn_config_makefile dlls/dmscript enable_dmscript
21413 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21414 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21415 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21416 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21417 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21418 wine_fn_config_makefile dlls/dmusic enable_dmusic
21419 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21420 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21421 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21422 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21423 wine_fn_config_makefile dlls/dplay enable_dplay
21424 wine_fn_config_makefile dlls/dplayx enable_dplayx
21425 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21426 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21427 wine_fn_config_makefile dlls/dpnet enable_dpnet
21428 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21429 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21430 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21431 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21432 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21433 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21434 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21435 wine_fn_config_makefile dlls/drmclien enable_drmclien
21436 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21437 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21438 wine_fn_config_makefile dlls/dsound enable_dsound
21439 wine_fn_config_makefile dlls/dsound/tests enable_tests
21440 wine_fn_config_makefile dlls/dsquery enable_dsquery
21441 wine_fn_config_makefile dlls/dssenh enable_dssenh
21442 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21443 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21444 wine_fn_config_makefile dlls/dswave enable_dswave
21445 wine_fn_config_makefile dlls/dswave/tests enable_tests
21446 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21447 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21448 wine_fn_config_makefile dlls/dwrite enable_dwrite
21449 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21450 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21451 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21452 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21453 wine_fn_config_makefile dlls/dxgi enable_dxgi
21454 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21455 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21456 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21457 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21458 wine_fn_config_makefile dlls/esent enable_esent
21459 wine_fn_config_makefile dlls/evr enable_evr
21460 wine_fn_config_makefile dlls/evr/tests enable_tests
21461 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21462 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21463 wine_fn_config_makefile dlls/faultrep enable_faultrep
21464 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21465 wine_fn_config_makefile dlls/feclient enable_feclient
21466 wine_fn_config_makefile dlls/fltlib enable_fltlib
21467 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21468 wine_fn_config_makefile dlls/fntcache enable_fntcache
21469 wine_fn_config_makefile dlls/fontsub enable_fontsub
21470 wine_fn_config_makefile dlls/fusion enable_fusion
21471 wine_fn_config_makefile dlls/fusion/tests enable_tests
21472 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21473 wine_fn_config_makefile dlls/gameux enable_gameux
21474 wine_fn_config_makefile dlls/gameux/tests enable_tests
21475 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21476 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21477 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21478 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21479 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21480 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21481 wine_fn_config_makefile dlls/glu32 enable_glu32
21482 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21483 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21484 wine_fn_config_makefile dlls/hal enable_hal
21485 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21486 wine_fn_config_makefile dlls/hid enable_hid
21487 wine_fn_config_makefile dlls/hid/tests enable_tests
21488 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21489 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21490 wine_fn_config_makefile dlls/hlink enable_hlink
21491 wine_fn_config_makefile dlls/hlink/tests enable_tests
21492 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21493 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21494 wine_fn_config_makefile dlls/http.sys enable_http_sys
21495 wine_fn_config_makefile dlls/httpapi enable_httpapi
21496 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21497 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21498 wine_fn_config_makefile dlls/iccvid enable_iccvid
21499 wine_fn_config_makefile dlls/icmp enable_icmp
21500 wine_fn_config_makefile dlls/ieframe enable_ieframe
21501 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21502 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21503 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21504 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21505 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21506 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21507 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21508 wine_fn_config_makefile dlls/imm32 enable_imm32
21509 wine_fn_config_makefile dlls/imm32/tests enable_tests
21510 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21511 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21512 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21513 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21514 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21515 wine_fn_config_makefile dlls/infosoft enable_infosoft
21516 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21517 wine_fn_config_makefile dlls/initpki enable_initpki
21518 wine_fn_config_makefile dlls/inkobj enable_inkobj
21519 wine_fn_config_makefile dlls/inseng enable_inseng
21520 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21521 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21522 wine_fn_config_makefile dlls/iprop enable_iprop
21523 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21524 wine_fn_config_makefile dlls/itircl enable_itircl
21525 wine_fn_config_makefile dlls/itss enable_itss
21526 wine_fn_config_makefile dlls/itss/tests enable_tests
21527 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21528 wine_fn_config_makefile dlls/jscript enable_jscript
21529 wine_fn_config_makefile dlls/jscript/tests enable_tests
21530 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21531 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21532 wine_fn_config_makefile dlls/kerberos enable_kerberos
21533 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21534 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21535 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21536 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21537 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21538 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21539 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21540 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21541 wine_fn_config_makefile dlls/ksuser enable_ksuser
21542 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21543 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21544 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21545 wine_fn_config_makefile dlls/loadperf enable_loadperf
21546 wine_fn_config_makefile dlls/localspl enable_localspl
21547 wine_fn_config_makefile dlls/localspl/tests enable_tests
21548 wine_fn_config_makefile dlls/localui enable_localui
21549 wine_fn_config_makefile dlls/localui/tests enable_tests
21550 wine_fn_config_makefile dlls/lz32 enable_lz32
21551 wine_fn_config_makefile dlls/lz32/tests enable_tests
21552 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21553 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21554 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21555 wine_fn_config_makefile dlls/mapistub enable_mapistub
21556 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21557 wine_fn_config_makefile dlls/mcicda enable_mcicda
21558 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21559 wine_fn_config_makefile dlls/mciseq enable_mciseq
21560 wine_fn_config_makefile dlls/mciwave enable_mciwave
21561 wine_fn_config_makefile dlls/mf enable_mf
21562 wine_fn_config_makefile dlls/mf/tests enable_tests
21563 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21564 wine_fn_config_makefile dlls/mferror enable_mferror
21565 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21566 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21567 wine_fn_config_makefile dlls/mfplat enable_mfplat
21568 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21569 wine_fn_config_makefile dlls/mfplay enable_mfplay
21570 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21571 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21572 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21573 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21574 wine_fn_config_makefile dlls/midimap enable_midimap
21575 wine_fn_config_makefile dlls/mlang enable_mlang
21576 wine_fn_config_makefile dlls/mlang/tests enable_tests
21577 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21578 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21579 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21580 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21581 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21582 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21583 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21584 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21585 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21586 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21587 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21588 wine_fn_config_makefile dlls/mpr enable_mpr
21589 wine_fn_config_makefile dlls/mpr/tests enable_tests
21590 wine_fn_config_makefile dlls/mprapi enable_mprapi
21591 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21592 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21593 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21594 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21595 wine_fn_config_makefile dlls/msado15 enable_msado15
21596 wine_fn_config_makefile dlls/msado15/tests enable_tests
21597 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21598 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21599 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21600 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21601 wine_fn_config_makefile dlls/mscms enable_mscms
21602 wine_fn_config_makefile dlls/mscms/tests enable_tests
21603 wine_fn_config_makefile dlls/mscoree enable_mscoree
21604 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21605 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21606 wine_fn_config_makefile dlls/msctf enable_msctf
21607 wine_fn_config_makefile dlls/msctf/tests enable_tests
21608 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21609 wine_fn_config_makefile dlls/msctfp enable_msctfp
21610 wine_fn_config_makefile dlls/msdaps enable_msdaps
21611 wine_fn_config_makefile dlls/msdasql enable_msdasql
21612 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21613 wine_fn_config_makefile dlls/msdelta enable_msdelta
21614 wine_fn_config_makefile dlls/msdmo enable_msdmo
21615 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21616 wine_fn_config_makefile dlls/msdrm enable_msdrm
21617 wine_fn_config_makefile dlls/msftedit enable_msftedit
21618 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21619 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21620 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21621 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21622 wine_fn_config_makefile dlls/mshtml enable_mshtml
21623 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21624 wine_fn_config_makefile dlls/msi enable_msi
21625 wine_fn_config_makefile dlls/msi/tests enable_tests
21626 wine_fn_config_makefile dlls/msident enable_msident
21627 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21628 wine_fn_config_makefile dlls/msimsg enable_msimsg
21629 wine_fn_config_makefile dlls/msimtf enable_msimtf
21630 wine_fn_config_makefile dlls/msisip enable_msisip
21631 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21632 wine_fn_config_makefile dlls/msls31 enable_msls31
21633 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21634 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21635 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21636 wine_fn_config_makefile dlls/msports enable_msports
21637 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21638 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21639 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21640 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21641 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21642 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21643 wine_fn_config_makefile dlls/mstask enable_mstask
21644 wine_fn_config_makefile dlls/mstask/tests enable_tests
21645 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21646 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21647 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21648 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21649 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21650 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21651 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21652 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21653 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21654 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21655 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21656 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21657 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21658 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21659 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21660 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21661 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21662 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21663 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21664 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21665 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21666 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21667 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21668 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21669 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21670 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21671 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21672 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21673 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21674 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21675 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21676 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21677 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21678 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21679 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21680 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21681 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21682 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21683 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21684 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21685 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21686 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21687 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21688 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21689 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21690 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21691 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21692 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21693 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21694 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21695 wine_fn_config_makefile dlls/mswsock enable_mswsock
21696 wine_fn_config_makefile dlls/msxml enable_msxml
21697 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21698 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21699 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21700 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21701 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21702 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21703 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21704 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21705 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21706 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21707 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21708 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21709 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21710 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21711 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21712 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21713 wine_fn_config_makefile dlls/netprofm enable_netprofm
21714 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21715 wine_fn_config_makefile dlls/netutils enable_netutils
21716 wine_fn_config_makefile dlls/newdev enable_newdev
21717 wine_fn_config_makefile dlls/ninput enable_ninput
21718 wine_fn_config_makefile dlls/ninput/tests enable_tests
21719 wine_fn_config_makefile dlls/normaliz enable_normaliz
21720 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21721 wine_fn_config_makefile dlls/npptools enable_npptools
21722 wine_fn_config_makefile dlls/nsi enable_nsi
21723 wine_fn_config_makefile dlls/nsi/tests enable_tests
21724 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21725 wine_fn_config_makefile dlls/ntdll enable_ntdll
21726 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21727 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21728 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21729 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21730 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21731 wine_fn_config_makefile dlls/ntprint enable_ntprint
21732 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21733 wine_fn_config_makefile dlls/objsel enable_objsel
21734 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21735 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21736 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21737 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21738 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21739 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21740 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21741 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21742 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21743 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21744 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21745 wine_fn_config_makefile dlls/ole32 enable_ole32
21746 wine_fn_config_makefile dlls/ole32/tests enable_tests
21747 wine_fn_config_makefile dlls/oleacc enable_oleacc
21748 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21749 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21750 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21751 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21752 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21753 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21754 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21755 wine_fn_config_makefile dlls/oledlg enable_oledlg
21756 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21757 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21758 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21759 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21760 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21761 wine_fn_config_makefile dlls/opcservices enable_opcservices
21762 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21763 wine_fn_config_makefile dlls/openal32 enable_openal32
21764 wine_fn_config_makefile dlls/opencl enable_opencl
21765 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21766 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21767 wine_fn_config_makefile dlls/packager enable_packager
21768 wine_fn_config_makefile dlls/packager/tests enable_tests
21769 wine_fn_config_makefile dlls/pdh enable_pdh
21770 wine_fn_config_makefile dlls/pdh/tests enable_tests
21771 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21772 wine_fn_config_makefile dlls/pidgen enable_pidgen
21773 wine_fn_config_makefile dlls/powrprof enable_powrprof
21774 wine_fn_config_makefile dlls/printui enable_printui
21775 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21776 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21777 wine_fn_config_makefile dlls/propsys enable_propsys
21778 wine_fn_config_makefile dlls/propsys/tests enable_tests
21779 wine_fn_config_makefile dlls/psapi enable_psapi
21780 wine_fn_config_makefile dlls/psapi/tests enable_tests
21781 wine_fn_config_makefile dlls/pstorec enable_pstorec
21782 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21783 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21784 wine_fn_config_makefile dlls/qasf enable_qasf
21785 wine_fn_config_makefile dlls/qasf/tests enable_tests
21786 wine_fn_config_makefile dlls/qcap enable_qcap
21787 wine_fn_config_makefile dlls/qcap/tests enable_tests
21788 wine_fn_config_makefile dlls/qdvd enable_qdvd
21789 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21790 wine_fn_config_makefile dlls/qedit enable_qedit
21791 wine_fn_config_makefile dlls/qedit/tests enable_tests
21792 wine_fn_config_makefile dlls/qmgr enable_qmgr
21793 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21794 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21795 wine_fn_config_makefile dlls/quartz enable_quartz
21796 wine_fn_config_makefile dlls/quartz/tests enable_tests
21797 wine_fn_config_makefile dlls/query enable_query
21798 wine_fn_config_makefile dlls/qwave enable_qwave
21799 wine_fn_config_makefile dlls/qwave/tests enable_tests
21800 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21801 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21802 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21803 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21804 wine_fn_config_makefile dlls/regapi enable_regapi
21805 wine_fn_config_makefile dlls/resutils enable_resutils
21806 wine_fn_config_makefile dlls/riched20 enable_riched20
21807 wine_fn_config_makefile dlls/riched20/tests enable_tests
21808 wine_fn_config_makefile dlls/riched32 enable_riched32
21809 wine_fn_config_makefile dlls/riched32/tests enable_tests
21810 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21811 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21812 wine_fn_config_makefile dlls/rsabase enable_rsabase
21813 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21814 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21815 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21816 wine_fn_config_makefile dlls/rtutils enable_rtutils
21817 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21818 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21819 wine_fn_config_makefile dlls/samlib enable_samlib
21820 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21821 wine_fn_config_makefile dlls/sapi enable_sapi
21822 wine_fn_config_makefile dlls/sapi/tests enable_tests
21823 wine_fn_config_makefile dlls/sas enable_sas
21824 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21825 wine_fn_config_makefile dlls/sccbase enable_sccbase
21826 wine_fn_config_makefile dlls/schannel enable_schannel
21827 wine_fn_config_makefile dlls/schannel/tests enable_tests
21828 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21829 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21830 wine_fn_config_makefile dlls/scrobj enable_scrobj
21831 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21832 wine_fn_config_makefile dlls/scrrun enable_scrrun
21833 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21834 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21835 wine_fn_config_makefile dlls/sechost enable_sechost
21836 wine_fn_config_makefile dlls/secur32 enable_secur32
21837 wine_fn_config_makefile dlls/secur32/tests enable_tests
21838 wine_fn_config_makefile dlls/security enable_security
21839 wine_fn_config_makefile dlls/sensapi enable_sensapi
21840 wine_fn_config_makefile dlls/serialui enable_serialui
21841 wine_fn_config_makefile dlls/serialui/tests enable_tests
21842 wine_fn_config_makefile dlls/setupapi enable_setupapi
21843 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21844 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21845 wine_fn_config_makefile dlls/sfc enable_sfc
21846 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21847 wine_fn_config_makefile dlls/shcore enable_shcore
21848 wine_fn_config_makefile dlls/shcore/tests enable_tests
21849 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21850 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21851 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21852 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21853 wine_fn_config_makefile dlls/shell32 enable_shell32
21854 wine_fn_config_makefile dlls/shell32/tests enable_tests
21855 wine_fn_config_makefile dlls/shfolder enable_shfolder
21856 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21857 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21858 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21859 wine_fn_config_makefile dlls/slc enable_slc
21860 wine_fn_config_makefile dlls/slc/tests enable_tests
21861 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21862 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21863 wine_fn_config_makefile dlls/softpub enable_softpub
21864 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21865 wine_fn_config_makefile dlls/spoolss enable_spoolss
21866 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21867 wine_fn_config_makefile dlls/sppc enable_sppc
21868 wine_fn_config_makefile dlls/srclient enable_srclient
21869 wine_fn_config_makefile dlls/srvcli enable_srvcli
21870 wine_fn_config_makefile dlls/sspicli enable_sspicli
21871 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21872 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21873 wine_fn_config_makefile dlls/sti enable_sti
21874 wine_fn_config_makefile dlls/sti/tests enable_tests
21875 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21876 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21877 wine_fn_config_makefile dlls/strmdll enable_strmdll
21878 wine_fn_config_makefile dlls/svrapi enable_svrapi
21879 wine_fn_config_makefile dlls/sxs enable_sxs
21880 wine_fn_config_makefile dlls/sxs/tests enable_tests
21881 wine_fn_config_makefile dlls/system.drv16 enable_win16
21882 wine_fn_config_makefile dlls/t2embed enable_t2embed
21883 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21884 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21885 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21886 wine_fn_config_makefile dlls/taskschd enable_taskschd
21887 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21888 wine_fn_config_makefile dlls/tbs enable_tbs
21889 wine_fn_config_makefile dlls/tdh enable_tdh
21890 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21891 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21892 wine_fn_config_makefile dlls/traffic enable_traffic
21893 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21894 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21895 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21896 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21897 wine_fn_config_makefile dlls/tzres enable_tzres
21898 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21899 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21900 wine_fn_config_makefile dlls/uianimation enable_uianimation
21901 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21902 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21903 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21904 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21905 wine_fn_config_makefile dlls/unicows enable_unicows
21906 wine_fn_config_makefile dlls/updspapi enable_updspapi
21907 wine_fn_config_makefile dlls/url enable_url
21908 wine_fn_config_makefile dlls/urlmon enable_urlmon
21909 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21910 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21911 wine_fn_config_makefile dlls/user.exe16 enable_win16
21912 wine_fn_config_makefile dlls/user32 enable_user32
21913 wine_fn_config_makefile dlls/user32/tests enable_tests
21914 wine_fn_config_makefile dlls/userenv enable_userenv
21915 wine_fn_config_makefile dlls/userenv/tests enable_tests
21916 wine_fn_config_makefile dlls/usp10 enable_usp10
21917 wine_fn_config_makefile dlls/usp10/tests enable_tests
21918 wine_fn_config_makefile dlls/utildll enable_utildll
21919 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21920 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21921 wine_fn_config_makefile dlls/vbscript enable_vbscript
21922 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21923 wine_fn_config_makefile dlls/vcomp enable_vcomp
21924 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21925 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21926 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21927 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21928 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21929 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21930 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21931 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21932 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21933 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21934 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21935 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21936 wine_fn_config_makefile dlls/version enable_version
21937 wine_fn_config_makefile dlls/version/tests enable_tests
21938 wine_fn_config_makefile dlls/vga enable_vga
21939 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21940 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21941 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21942 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21943 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21944 wine_fn_config_makefile dlls/vssapi enable_vssapi
21945 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21946 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21947 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21948 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21949 wine_fn_config_makefile dlls/w32skrnl enable_win16
21950 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21951 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21952 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21953 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21954 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21955 wine_fn_config_makefile dlls/wdscore enable_wdscore
21956 wine_fn_config_makefile dlls/webservices enable_webservices
21957 wine_fn_config_makefile dlls/webservices/tests enable_tests
21958 wine_fn_config_makefile dlls/websocket enable_websocket
21959 wine_fn_config_makefile dlls/wer enable_wer
21960 wine_fn_config_makefile dlls/wer/tests enable_tests
21961 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21962 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21963 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21964 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21965 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21966 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21967 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21968 wine_fn_config_makefile dlls/win32u enable_win32u
21969 wine_fn_config_makefile dlls/win32u/tests enable_tests
21970 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21971 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21972 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21973 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21974 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21975 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21976 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21977 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21978 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21979 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21980 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21981 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21982 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21983 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21984 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21985 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21986 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21987 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21988 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21989 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21990 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21991 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21992 wine_fn_config_makefile dlls/wined3d enable_wined3d
21993 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21994 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21995 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21996 wine_fn_config_makefile dlls/winemapi enable_winemapi
21997 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21998 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21999 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22000 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22001 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22002 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22003 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22004 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22005 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22006 wine_fn_config_makefile dlls/wing32 enable_wing32
22007 wine_fn_config_makefile dlls/winhttp enable_winhttp
22008 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22009 wine_fn_config_makefile dlls/wininet enable_wininet
22010 wine_fn_config_makefile dlls/wininet/tests enable_tests
22011 wine_fn_config_makefile dlls/winmm enable_winmm
22012 wine_fn_config_makefile dlls/winmm/tests enable_tests
22013 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22014 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22015 wine_fn_config_makefile dlls/winscard enable_winscard
22016 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22017 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22018 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22019 wine_fn_config_makefile dlls/winsta enable_winsta
22020 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22021 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22022 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22023 wine_fn_config_makefile dlls/wintrust enable_wintrust
22024 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22025 wine_fn_config_makefile dlls/wintypes enable_wintypes
22026 wine_fn_config_makefile dlls/wintypes/tests enable_tests
22027 wine_fn_config_makefile dlls/winusb enable_winusb
22028 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22029 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22030 wine_fn_config_makefile dlls/wlanui enable_wlanui
22031 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22032 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22033 wine_fn_config_makefile dlls/wmasf enable_wmasf
22034 wine_fn_config_makefile dlls/wmi enable_wmi
22035 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22036 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22037 wine_fn_config_makefile dlls/wmp enable_wmp
22038 wine_fn_config_makefile dlls/wmp/tests enable_tests
22039 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22040 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22041 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22042 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22043 wine_fn_config_makefile dlls/wow32 enable_win16
22044 wine_fn_config_makefile dlls/wow64 enable_wow64
22045 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22046 wine_fn_config_makefile dlls/wow64win enable_wow64win
22047 wine_fn_config_makefile dlls/wpc enable_wpc
22048 wine_fn_config_makefile dlls/wpc/tests enable_tests
22049 wine_fn_config_makefile dlls/wpcap enable_wpcap
22050 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22051 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22052 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22053 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22054 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22055 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22056 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22057 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22058 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22059 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22060 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22061 wine_fn_config_makefile dlls/wuapi enable_wuapi
22062 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22063 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22064 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22065 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22066 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22067 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22068 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22069 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22070 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22071 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22072 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22073 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22074 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22075 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22076 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22077 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22078 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22079 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22080 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22081 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22082 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22083 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22084 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22085 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22086 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22087 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22088 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22089 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22090 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22091 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22092 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22093 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22094 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22095 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22096 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22097 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22098 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22099 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22100 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22101 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22102 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22103 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22104 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22105 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22106 wine_fn_config_makefile dlls/xmllite enable_xmllite
22107 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22108 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22109 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22110 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22111 wine_fn_config_makefile fonts enable_fonts
22112 wine_fn_config_makefile include enable_include
22113 wine_fn_config_makefile libs/adsiid enable_adsiid
22114 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22115 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22116 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22117 wine_fn_config_makefile libs/dxguid enable_dxguid
22118 wine_fn_config_makefile libs/faudio enable_faudio
22119 wine_fn_config_makefile libs/gsm enable_gsm
22120 wine_fn_config_makefile libs/jpeg enable_jpeg
22121 wine_fn_config_makefile libs/jxr enable_jxr
22122 wine_fn_config_makefile libs/lcms2 enable_lcms2
22123 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22124 wine_fn_config_makefile libs/mpg123 enable_mpg123
22125 wine_fn_config_makefile libs/png enable_png
22126 wine_fn_config_makefile libs/strmbase enable_strmbase
22127 wine_fn_config_makefile libs/strmiids enable_strmiids
22128 wine_fn_config_makefile libs/tiff enable_tiff
22129 wine_fn_config_makefile libs/uuid enable_uuid
22130 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22131 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22132 wine_fn_config_makefile libs/wine enable_wine
22133 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22134 wine_fn_config_makefile libs/xml2 enable_xml2
22135 wine_fn_config_makefile libs/xslt enable_xslt
22136 wine_fn_config_makefile libs/zlib enable_zlib
22137 wine_fn_config_makefile loader enable_loader
22138 wine_fn_config_makefile nls enable_nls
22139 wine_fn_config_makefile po enable_po
22140 wine_fn_config_makefile programs/arp enable_arp
22141 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22142 wine_fn_config_makefile programs/attrib enable_attrib
22143 wine_fn_config_makefile programs/cabarc enable_cabarc
22144 wine_fn_config_makefile programs/cacls enable_cacls
22145 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22146 wine_fn_config_makefile programs/clock enable_clock
22147 wine_fn_config_makefile programs/cmd enable_cmd
22148 wine_fn_config_makefile programs/cmd/tests enable_tests
22149 wine_fn_config_makefile programs/conhost enable_conhost
22150 wine_fn_config_makefile programs/conhost/tests enable_tests
22151 wine_fn_config_makefile programs/control enable_control
22152 wine_fn_config_makefile programs/cscript enable_cscript
22153 wine_fn_config_makefile programs/dism enable_dism
22154 wine_fn_config_makefile programs/dllhost enable_dllhost
22155 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22156 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22157 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22158 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22159 wine_fn_config_makefile programs/eject enable_eject
22160 wine_fn_config_makefile programs/expand enable_expand
22161 wine_fn_config_makefile programs/explorer enable_explorer
22162 wine_fn_config_makefile programs/extrac32 enable_extrac32
22163 wine_fn_config_makefile programs/fc enable_fc
22164 wine_fn_config_makefile programs/find enable_find
22165 wine_fn_config_makefile programs/find/tests enable_tests
22166 wine_fn_config_makefile programs/findstr enable_findstr
22167 wine_fn_config_makefile programs/fsutil enable_fsutil
22168 wine_fn_config_makefile programs/fsutil/tests enable_tests
22169 wine_fn_config_makefile programs/hh enable_hh
22170 wine_fn_config_makefile programs/hostname enable_hostname
22171 wine_fn_config_makefile programs/icacls enable_icacls
22172 wine_fn_config_makefile programs/icinfo enable_icinfo
22173 wine_fn_config_makefile programs/iexplore enable_iexplore
22174 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22175 wine_fn_config_makefile programs/lodctr enable_lodctr
22176 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22177 wine_fn_config_makefile programs/mshta enable_mshta
22178 wine_fn_config_makefile programs/msidb enable_msidb
22179 wine_fn_config_makefile programs/msiexec enable_msiexec
22180 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22181 wine_fn_config_makefile programs/net enable_net
22182 wine_fn_config_makefile programs/netsh enable_netsh
22183 wine_fn_config_makefile programs/netstat enable_netstat
22184 wine_fn_config_makefile programs/ngen enable_ngen
22185 wine_fn_config_makefile programs/notepad enable_notepad
22186 wine_fn_config_makefile programs/oleview enable_oleview
22187 wine_fn_config_makefile programs/ping enable_ping
22188 wine_fn_config_makefile programs/plugplay enable_plugplay
22189 wine_fn_config_makefile programs/powershell enable_powershell
22190 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22191 wine_fn_config_makefile programs/progman enable_progman
22192 wine_fn_config_makefile programs/reg enable_reg
22193 wine_fn_config_makefile programs/reg/tests enable_tests
22194 wine_fn_config_makefile programs/regasm enable_regasm
22195 wine_fn_config_makefile programs/regedit enable_regedit
22196 wine_fn_config_makefile programs/regedit/tests enable_tests
22197 wine_fn_config_makefile programs/regini enable_regini
22198 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22199 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22200 wine_fn_config_makefile programs/robocopy enable_robocopy
22201 wine_fn_config_makefile programs/rpcss enable_rpcss
22202 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22203 wine_fn_config_makefile programs/rundll32 enable_rundll32
22204 wine_fn_config_makefile programs/sc enable_sc
22205 wine_fn_config_makefile programs/sc/tests enable_tests
22206 wine_fn_config_makefile programs/schtasks enable_schtasks
22207 wine_fn_config_makefile programs/schtasks/tests enable_tests
22208 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22209 wine_fn_config_makefile programs/secedit enable_secedit
22210 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22211 wine_fn_config_makefile programs/services enable_services
22212 wine_fn_config_makefile programs/services/tests enable_tests
22213 wine_fn_config_makefile programs/shutdown enable_shutdown
22214 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22215 wine_fn_config_makefile programs/start enable_start
22216 wine_fn_config_makefile programs/subst enable_subst
22217 wine_fn_config_makefile programs/svchost enable_svchost
22218 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22219 wine_fn_config_makefile programs/taskkill enable_taskkill
22220 wine_fn_config_makefile programs/tasklist enable_tasklist
22221 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22222 wine_fn_config_makefile programs/termsv enable_termsv
22223 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22224 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22225 wine_fn_config_makefile programs/view enable_view
22226 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22227 wine_fn_config_makefile programs/where enable_where
22228 wine_fn_config_makefile programs/whoami enable_whoami
22229 wine_fn_config_makefile programs/wineboot enable_wineboot
22230 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22231 wine_fn_config_makefile programs/winecfg enable_winecfg
22232 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22233 wine_fn_config_makefile programs/winedbg enable_winedbg
22234 wine_fn_config_makefile programs/winedevice enable_winedevice
22235 wine_fn_config_makefile programs/winefile enable_winefile
22236 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22237 wine_fn_config_makefile programs/winemine enable_winemine
22238 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22239 wine_fn_config_makefile programs/winepath enable_winepath
22240 wine_fn_config_makefile programs/winetest enable_winetest
22241 wine_fn_config_makefile programs/winevdm enable_win16
22242 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22243 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22244 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22245 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22246 wine_fn_config_makefile programs/winver enable_winver
22247 wine_fn_config_makefile programs/wmic enable_wmic
22248 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22249 wine_fn_config_makefile programs/wordpad enable_wordpad
22250 wine_fn_config_makefile programs/write enable_write
22251 wine_fn_config_makefile programs/wscript enable_wscript
22252 wine_fn_config_makefile programs/wscript/tests enable_tests
22253 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22254 wine_fn_config_makefile programs/wusa enable_wusa
22255 wine_fn_config_makefile programs/xcopy enable_xcopy
22256 wine_fn_config_makefile programs/xcopy/tests enable_tests
22257 wine_fn_config_makefile server enable_server
22258 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22259 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22260 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22261 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22262 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22263 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22264 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22265 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22266 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22269 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
22270 wine_fn_append_file CONFIGURE_TARGETS "tags"
22271 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
22272 wine_fn_append_file CONFIGURE_TARGETS "config.log"
22273 wine_fn_append_file CONFIGURE_TARGETS "config.status"
22274 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
22275 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
22276 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
22278 if test "x$enable_tools" != xno
22279 then
22280 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
22281 ac_config_commands="$ac_config_commands tools/makedep"
22285 ac_config_commands="$ac_config_commands Makefile"
22289 SHELL=/bin/sh
22292 wine_fn_append_rule "all: wine
22293 @echo \"Wine build complete.\"
22294 .INIT: Makefile
22295 .MAKEFILEDEPS:
22296 all: Makefile
22297 Makefile: config.status \$(MAKEDEP)
22298 @./config.status Makefile
22299 depend: \$(MAKEDEP)
22300 \$(MAKEDEP)$makedep_flags"
22303 wine_fn_append_rule "config.status: ${wine_srcdir}configure
22304 @./config.status --recheck
22305 include/config.h: include/stamp-h
22306 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22307 @./config.status include/config.h include/stamp-h"
22309 if test "x$enable_maintainer_mode" = xyes
22310 then
22311 wine_fn_append_rule "configure: configure.ac aclocal.m4
22312 autoconf --warnings=all
22313 include/config.h.in: include/stamp-h.in
22314 include/stamp-h.in: configure.ac aclocal.m4
22315 autoheader --warnings=all
22316 @echo timestamp > \$@"
22319 if test "x$enable_tools" != xno
22320 then
22321 wine_fn_append_rule "tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22322 @./config.status tools/makedep
22323 Makefile: tools/makedep$ac_exeext"
22324 else
22325 wine_fn_append_rule "\$(MAKEDEP):
22326 @echo \"You need to run make in $toolsdir first\" && false"
22330 if test -n "$with_wine64"
22331 then
22332 case "$with_wine64" in
22333 /*) reldir="" ;;
22334 *) reldir="../" ;;
22335 esac
22336 rm -f fonts server 2>/dev/null
22337 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22338 loader/wine64 loader/wine64-preloader:
22339 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22340 $with_wine64/loader/wine:
22341 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22342 $with_wine64/loader/wine-preloader:
22343 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22344 clean::
22345 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22346 else
22347 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22348 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22349 fonts \
22350 loader/wine.inf \
22351 nls \
22352 programs/msidb/msidb \
22353 programs/msiexec/msiexec \
22354 programs/notepad/notepad \
22355 programs/regedit/regedit \
22356 programs/regsvr32/regsvr32 \
22357 programs/wineboot/wineboot \
22358 programs/winecfg/winecfg \
22359 programs/wineconsole/wineconsole \
22360 programs/winedbg/winedbg \
22361 programs/winefile/winefile \
22362 programs/winemine/winemine \
22363 programs/winepath/winepath \
22364 server/wineserver"
22366 case $host_os in
22367 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22368 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22369 esac
22373 wine_fn_append_rule "distclean:: clean
22374 rm -rf autom4te.cache
22375 maintainer-clean::
22376 rm -f configure include/config.h.in"
22379 wine_fn_append_rule "dlls/ntdll/unix/version.c: dummy
22380 @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)
22381 programs/winetest/build.rc: dummy
22382 @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)
22383 programs/winetest/build.nfo:
22384 @-\$(CC) -v 2>\$@
22385 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
22386 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22387 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22390 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22392 wine_fn_append_rule "TAGS etags:
22393 rm -f TAGS
22394 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22395 tags ctags:
22396 rm -f tags
22397 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22398 dummy:
22399 .PHONY: depend dummy install-manpages"
22401 printf "%s\n" " done" >&6
22402 cat >confcache <<\_ACEOF
22403 # This file is a shell script that caches the results of configure
22404 # tests run on this system so they can be shared between configure
22405 # scripts and configure runs, see configure's option --config-cache.
22406 # It is not useful on other systems. If it contains results you don't
22407 # want to keep, you may remove or edit it.
22409 # config.status only pays attention to the cache file if you give it
22410 # the --recheck option to rerun configure.
22412 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22413 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22414 # following values.
22416 _ACEOF
22418 # The following way of writing the cache mishandles newlines in values,
22419 # but we know of no workaround that is simple, portable, and efficient.
22420 # So, we kill variables containing newlines.
22421 # Ultrix sh set writes to stderr and can't be redirected directly,
22422 # and sets the high bit in the cache file unless we assign to the vars.
22424 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22425 eval ac_val=\$$ac_var
22426 case $ac_val in #(
22427 *${as_nl}*)
22428 case $ac_var in #(
22429 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22430 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22431 esac
22432 case $ac_var in #(
22433 _ | IFS | as_nl) ;; #(
22434 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22435 *) { eval $ac_var=; unset $ac_var;} ;;
22436 esac ;;
22437 esac
22438 done
22440 (set) 2>&1 |
22441 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22442 *${as_nl}ac_space=\ *)
22443 # `set' does not quote correctly, so add quotes: double-quote
22444 # substitution turns \\\\ into \\, and sed turns \\ into \.
22445 sed -n \
22446 "s/'/'\\\\''/g;
22447 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22448 ;; #(
22450 # `set' quotes correctly as required by POSIX, so do not add quotes.
22451 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22453 esac |
22454 sort
22456 sed '
22457 /^ac_cv_env_/b end
22458 t clear
22459 :clear
22460 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22461 t end
22462 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22463 :end' >>confcache
22464 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22465 if test -w "$cache_file"; then
22466 if test "x$cache_file" != "x/dev/null"; then
22467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22468 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22469 if test ! -f "$cache_file" || test -h "$cache_file"; then
22470 cat confcache >"$cache_file"
22471 else
22472 case $cache_file in #(
22473 */* | ?:*)
22474 mv -f confcache "$cache_file"$$ &&
22475 mv -f "$cache_file"$$ "$cache_file" ;; #(
22477 mv -f confcache "$cache_file" ;;
22478 esac
22481 else
22482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22483 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22486 rm -f confcache
22488 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22489 # Let make expand exec_prefix.
22490 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22492 DEFS=-DHAVE_CONFIG_H
22494 ac_libobjs=
22495 ac_ltlibobjs=
22497 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22498 # 1. Remove the extension, and $U if already installed.
22499 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22500 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22501 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22502 # will be set to the directory where LIBOBJS objects are built.
22503 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22504 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22505 done
22506 LIBOBJS=$ac_libobjs
22508 LTLIBOBJS=$ac_ltlibobjs
22512 : "${CONFIG_STATUS=./config.status}"
22513 ac_write_fail=0
22514 ac_clean_files_save=$ac_clean_files
22515 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22517 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22518 as_write_fail=0
22519 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22520 #! $SHELL
22521 # Generated by $as_me.
22522 # Run this file to recreate the current configuration.
22523 # Compiler output produced by configure, useful for debugging
22524 # configure, is in config.log if it exists.
22526 debug=false
22527 ac_cs_recheck=false
22528 ac_cs_silent=false
22530 SHELL=\${CONFIG_SHELL-$SHELL}
22531 export SHELL
22532 _ASEOF
22533 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22534 ## -------------------- ##
22535 ## M4sh Initialization. ##
22536 ## -------------------- ##
22538 # Be more Bourne compatible
22539 DUALCASE=1; export DUALCASE # for MKS sh
22540 as_nop=:
22541 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22542 then :
22543 emulate sh
22544 NULLCMD=:
22545 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22546 # is contrary to our usage. Disable this feature.
22547 alias -g '${1+"$@"}'='"$@"'
22548 setopt NO_GLOB_SUBST
22549 else $as_nop
22550 case `(set -o) 2>/dev/null` in #(
22551 *posix*) :
22552 set -o posix ;; #(
22553 *) :
22555 esac
22560 # Reset variables that may have inherited troublesome values from
22561 # the environment.
22563 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22564 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22565 # side effect of setting IFS to empty, thus disabling word splitting.)
22566 # Quoting is to prevent editors from complaining about space-tab.
22567 as_nl='
22569 export as_nl
22570 IFS=" "" $as_nl"
22572 PS1='$ '
22573 PS2='> '
22574 PS4='+ '
22576 # Ensure predictable behavior from utilities with locale-dependent output.
22577 LC_ALL=C
22578 export LC_ALL
22579 LANGUAGE=C
22580 export LANGUAGE
22582 # We cannot yet rely on "unset" to work, but we need these variables
22583 # to be unset--not just set to an empty or harmless value--now, to
22584 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22585 # also avoids known problems related to "unset" and subshell syntax
22586 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22587 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22588 do eval test \${$as_var+y} \
22589 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22590 done
22592 # Ensure that fds 0, 1, and 2 are open.
22593 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22594 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22595 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22597 # The user is always right.
22598 if ${PATH_SEPARATOR+false} :; then
22599 PATH_SEPARATOR=:
22600 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22601 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22602 PATH_SEPARATOR=';'
22607 # Find who we are. Look in the path if we contain no directory separator.
22608 as_myself=
22609 case $0 in #((
22610 *[\\/]* ) as_myself=$0 ;;
22611 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22612 for as_dir in $PATH
22614 IFS=$as_save_IFS
22615 case $as_dir in #(((
22616 '') as_dir=./ ;;
22617 */) ;;
22618 *) as_dir=$as_dir/ ;;
22619 esac
22620 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22621 done
22622 IFS=$as_save_IFS
22625 esac
22626 # We did not find ourselves, most probably we were run as `sh COMMAND'
22627 # in which case we are not to be found in the path.
22628 if test "x$as_myself" = x; then
22629 as_myself=$0
22631 if test ! -f "$as_myself"; then
22632 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22633 exit 1
22638 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22639 # ----------------------------------------
22640 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22641 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22642 # script with STATUS, using 1 if that was 0.
22643 as_fn_error ()
22645 as_status=$1; test $as_status -eq 0 && as_status=1
22646 if test "$4"; then
22647 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22648 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22650 printf "%s\n" "$as_me: error: $2" >&2
22651 as_fn_exit $as_status
22652 } # as_fn_error
22656 # as_fn_set_status STATUS
22657 # -----------------------
22658 # Set $? to STATUS, without forking.
22659 as_fn_set_status ()
22661 return $1
22662 } # as_fn_set_status
22664 # as_fn_exit STATUS
22665 # -----------------
22666 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22667 as_fn_exit ()
22669 set +e
22670 as_fn_set_status $1
22671 exit $1
22672 } # as_fn_exit
22674 # as_fn_unset VAR
22675 # ---------------
22676 # Portably unset VAR.
22677 as_fn_unset ()
22679 { eval $1=; unset $1;}
22681 as_unset=as_fn_unset
22683 # as_fn_append VAR VALUE
22684 # ----------------------
22685 # Append the text in VALUE to the end of the definition contained in VAR. Take
22686 # advantage of any shell optimizations that allow amortized linear growth over
22687 # repeated appends, instead of the typical quadratic growth present in naive
22688 # implementations.
22689 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22690 then :
22691 eval 'as_fn_append ()
22693 eval $1+=\$2
22695 else $as_nop
22696 as_fn_append ()
22698 eval $1=\$$1\$2
22700 fi # as_fn_append
22702 # as_fn_arith ARG...
22703 # ------------------
22704 # Perform arithmetic evaluation on the ARGs, and store the result in the
22705 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22706 # must be portable across $(()) and expr.
22707 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22708 then :
22709 eval 'as_fn_arith ()
22711 as_val=$(( $* ))
22713 else $as_nop
22714 as_fn_arith ()
22716 as_val=`expr "$@" || test $? -eq 1`
22718 fi # as_fn_arith
22721 if expr a : '\(a\)' >/dev/null 2>&1 &&
22722 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22723 as_expr=expr
22724 else
22725 as_expr=false
22728 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22729 as_basename=basename
22730 else
22731 as_basename=false
22734 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22735 as_dirname=dirname
22736 else
22737 as_dirname=false
22740 as_me=`$as_basename -- "$0" ||
22741 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22742 X"$0" : 'X\(//\)$' \| \
22743 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22744 printf "%s\n" X/"$0" |
22745 sed '/^.*\/\([^/][^/]*\)\/*$/{
22746 s//\1/
22749 /^X\/\(\/\/\)$/{
22750 s//\1/
22753 /^X\/\(\/\).*/{
22754 s//\1/
22757 s/.*/./; q'`
22759 # Avoid depending upon Character Ranges.
22760 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22761 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22762 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22763 as_cr_digits='0123456789'
22764 as_cr_alnum=$as_cr_Letters$as_cr_digits
22767 # Determine whether it's possible to make 'echo' print without a newline.
22768 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22769 # for compatibility with existing Makefiles.
22770 ECHO_C= ECHO_N= ECHO_T=
22771 case `echo -n x` in #(((((
22772 -n*)
22773 case `echo 'xy\c'` in
22774 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22775 xy) ECHO_C='\c';;
22776 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22777 ECHO_T=' ';;
22778 esac;;
22780 ECHO_N='-n';;
22781 esac
22783 # For backward compatibility with old third-party macros, we provide
22784 # the shell variables $as_echo and $as_echo_n. New code should use
22785 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22786 as_echo='printf %s\n'
22787 as_echo_n='printf %s'
22789 rm -f conf$$ conf$$.exe conf$$.file
22790 if test -d conf$$.dir; then
22791 rm -f conf$$.dir/conf$$.file
22792 else
22793 rm -f conf$$.dir
22794 mkdir conf$$.dir 2>/dev/null
22796 if (echo >conf$$.file) 2>/dev/null; then
22797 if ln -s conf$$.file conf$$ 2>/dev/null; then
22798 as_ln_s='ln -s'
22799 # ... but there are two gotchas:
22800 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22801 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22802 # In both cases, we have to default to `cp -pR'.
22803 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22804 as_ln_s='cp -pR'
22805 elif ln conf$$.file conf$$ 2>/dev/null; then
22806 as_ln_s=ln
22807 else
22808 as_ln_s='cp -pR'
22810 else
22811 as_ln_s='cp -pR'
22813 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22814 rmdir conf$$.dir 2>/dev/null
22817 # as_fn_mkdir_p
22818 # -------------
22819 # Create "$as_dir" as a directory, including parents if necessary.
22820 as_fn_mkdir_p ()
22823 case $as_dir in #(
22824 -*) as_dir=./$as_dir;;
22825 esac
22826 test -d "$as_dir" || eval $as_mkdir_p || {
22827 as_dirs=
22828 while :; do
22829 case $as_dir in #(
22830 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22831 *) as_qdir=$as_dir;;
22832 esac
22833 as_dirs="'$as_qdir' $as_dirs"
22834 as_dir=`$as_dirname -- "$as_dir" ||
22835 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22836 X"$as_dir" : 'X\(//\)[^/]' \| \
22837 X"$as_dir" : 'X\(//\)$' \| \
22838 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22839 printf "%s\n" X"$as_dir" |
22840 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22841 s//\1/
22844 /^X\(\/\/\)[^/].*/{
22845 s//\1/
22848 /^X\(\/\/\)$/{
22849 s//\1/
22852 /^X\(\/\).*/{
22853 s//\1/
22856 s/.*/./; q'`
22857 test -d "$as_dir" && break
22858 done
22859 test -z "$as_dirs" || eval "mkdir $as_dirs"
22860 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22863 } # as_fn_mkdir_p
22864 if mkdir -p . 2>/dev/null; then
22865 as_mkdir_p='mkdir -p "$as_dir"'
22866 else
22867 test -d ./-p && rmdir ./-p
22868 as_mkdir_p=false
22872 # as_fn_executable_p FILE
22873 # -----------------------
22874 # Test if FILE is an executable regular file.
22875 as_fn_executable_p ()
22877 test -f "$1" && test -x "$1"
22878 } # as_fn_executable_p
22879 as_test_x='test -x'
22880 as_executable_p=as_fn_executable_p
22882 # Sed expression to map a string onto a valid CPP name.
22883 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22885 # Sed expression to map a string onto a valid variable name.
22886 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22889 exec 6>&1
22890 ## ----------------------------------- ##
22891 ## Main body of $CONFIG_STATUS script. ##
22892 ## ----------------------------------- ##
22893 _ASEOF
22894 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22896 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22897 # Save the log message, to keep $0 and so on meaningful, and to
22898 # report actual input values of CONFIG_FILES etc. instead of their
22899 # values after options handling.
22900 ac_log="
22901 This file was extended by Wine $as_me 7.12, which was
22902 generated by GNU Autoconf 2.71. Invocation command line was
22904 CONFIG_FILES = $CONFIG_FILES
22905 CONFIG_HEADERS = $CONFIG_HEADERS
22906 CONFIG_LINKS = $CONFIG_LINKS
22907 CONFIG_COMMANDS = $CONFIG_COMMANDS
22908 $ $0 $@
22910 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22913 _ACEOF
22916 case $ac_config_headers in *"
22917 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22918 esac
22921 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22922 # Files that config.status was made for.
22923 config_headers="$ac_config_headers"
22924 config_links="$ac_config_links"
22925 config_commands="$ac_config_commands"
22927 _ACEOF
22929 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22930 ac_cs_usage="\
22931 \`$as_me' instantiates files and other configuration actions
22932 from templates according to the current configuration. Unless the files
22933 and actions are specified as TAGs, all are instantiated by default.
22935 Usage: $0 [OPTION]... [TAG]...
22937 -h, --help print this help, then exit
22938 -V, --version print version number and configuration settings, then exit
22939 --config print configuration, then exit
22940 -q, --quiet, --silent
22941 do not print progress messages
22942 -d, --debug don't remove temporary files
22943 --recheck update $as_me by reconfiguring in the same conditions
22944 --header=FILE[:TEMPLATE]
22945 instantiate the configuration header FILE
22947 Configuration headers:
22948 $config_headers
22950 Configuration links:
22951 $config_links
22953 Configuration commands:
22954 $config_commands
22956 Report bugs to <wine-devel@winehq.org>.
22957 Wine home page: <https://www.winehq.org>."
22959 _ACEOF
22960 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22961 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22963 ac_cs_config='$ac_cs_config_escaped'
22964 ac_cs_version="\\
22965 Wine config.status 7.12
22966 configured by $0, generated by GNU Autoconf 2.71,
22967 with options \\"\$ac_cs_config\\"
22969 Copyright (C) 2021 Free Software Foundation, Inc.
22970 This config.status script is free software; the Free Software Foundation
22971 gives unlimited permission to copy, distribute and modify it."
22973 ac_pwd='$ac_pwd'
22974 srcdir='$srcdir'
22975 test -n "\$AWK" || AWK=awk
22976 _ACEOF
22978 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22979 # The default lists apply if the user does not specify any file.
22980 ac_need_defaults=:
22981 while test $# != 0
22983 case $1 in
22984 --*=?*)
22985 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22986 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22987 ac_shift=:
22989 --*=)
22990 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22991 ac_optarg=
22992 ac_shift=:
22995 ac_option=$1
22996 ac_optarg=$2
22997 ac_shift=shift
22999 esac
23001 case $ac_option in
23002 # Handling of the options.
23003 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23004 ac_cs_recheck=: ;;
23005 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23006 printf "%s\n" "$ac_cs_version"; exit ;;
23007 --config | --confi | --conf | --con | --co | --c )
23008 printf "%s\n" "$ac_cs_config"; exit ;;
23009 --debug | --debu | --deb | --de | --d | -d )
23010 debug=: ;;
23011 --header | --heade | --head | --hea )
23012 $ac_shift
23013 case $ac_optarg in
23014 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23015 esac
23016 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23017 ac_need_defaults=false;;
23018 --he | --h)
23019 # Conflict between --help and --header
23020 as_fn_error $? "ambiguous option: \`$1'
23021 Try \`$0 --help' for more information.";;
23022 --help | --hel | -h )
23023 printf "%s\n" "$ac_cs_usage"; exit ;;
23024 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23025 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23026 ac_cs_silent=: ;;
23028 # This is an error.
23029 -*) as_fn_error $? "unrecognized option: \`$1'
23030 Try \`$0 --help' for more information." ;;
23032 *) as_fn_append ac_config_targets " $1"
23033 ac_need_defaults=false ;;
23035 esac
23036 shift
23037 done
23039 ac_configure_extra_args=
23041 if $ac_cs_silent; then
23042 exec 6>/dev/null
23043 ac_configure_extra_args="$ac_configure_extra_args --silent"
23046 _ACEOF
23047 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23048 if \$ac_cs_recheck; then
23049 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23050 shift
23051 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23052 CONFIG_SHELL='$SHELL'
23053 export CONFIG_SHELL
23054 exec "\$@"
23057 _ACEOF
23058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23059 exec 5>>config.log
23061 echo
23062 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23063 ## Running $as_me. ##
23064 _ASBOX
23065 printf "%s\n" "$ac_log"
23066 } >&5
23068 _ACEOF
23069 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23071 # INIT-COMMANDS
23073 wine_fn_output_makedep ()
23075 as_dir=tools; as_fn_mkdir_p
23076 $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
23078 wine_fn_output_makefile ()
23080 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23081 # This Makefile understands the following targets:
23083 # all (default): build wine
23084 # clean: remove all intermediate files
23085 # distclean: also remove all files created by configure
23086 # test: run tests
23087 # testclean: clean test results to force running all tests again
23088 # install-lib: install libraries needed to run applications
23089 # install-dev: install development environment
23090 # install: install everything
23091 # uninstall: uninstall everything
23092 # ctags: create a tags file for vim and others.
23093 # etags: create a TAGS file for Emacs.
23095 SHELL = $SHELL
23096 PATH_SEPARATOR = $PATH_SEPARATOR
23097 PACKAGE_NAME = $PACKAGE_NAME
23098 PACKAGE_TARNAME = $PACKAGE_TARNAME
23099 PACKAGE_VERSION = $PACKAGE_VERSION
23100 PACKAGE_STRING = $PACKAGE_STRING
23101 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23102 PACKAGE_URL = $PACKAGE_URL
23103 exec_prefix = $exec_prefix
23104 prefix = $prefix
23105 program_transform_name = $program_transform_name
23106 bindir = $bindir
23107 sbindir = $sbindir
23108 libexecdir = $libexecdir
23109 datarootdir = $datarootdir
23110 datadir = $datadir
23111 sysconfdir = $sysconfdir
23112 sharedstatedir = $sharedstatedir
23113 localstatedir = $localstatedir
23114 runstatedir = $runstatedir
23115 includedir = $includedir
23116 oldincludedir = $oldincludedir
23117 docdir = $docdir
23118 infodir = $infodir
23119 htmldir = $htmldir
23120 dvidir = $dvidir
23121 pdfdir = $pdfdir
23122 psdir = $psdir
23123 libdir = $libdir
23124 localedir = $localedir
23125 mandir = $mandir
23126 DEFS = $DEFS
23127 ECHO_C = $ECHO_C
23128 ECHO_N = $ECHO_N
23129 ECHO_T = $ECHO_T
23130 LIBS = $LIBS
23131 build_alias = $build_alias
23132 host_alias = $host_alias
23133 target_alias = $target_alias
23134 system_dllpath = $system_dllpath
23135 build = $build
23136 build_cpu = $build_cpu
23137 build_vendor = $build_vendor
23138 build_os = $build_os
23139 host = $host
23140 host_cpu = $host_cpu
23141 host_vendor = $host_vendor
23142 host_os = $host_os
23143 dlldir = $dlldir
23144 fontdir = $fontdir
23145 nlsdir = $nlsdir
23146 srcdir = $srcdir
23147 SET_MAKE = $SET_MAKE
23148 CC = $CC
23149 CFLAGS = $CFLAGS
23150 LDFLAGS = $LDFLAGS
23151 CPPFLAGS = $CPPFLAGS
23152 ac_ct_CC = $ac_ct_CC
23153 EXEEXT = $EXEEXT
23154 OBJEXT = $OBJEXT
23155 CXX = $CXX
23156 CXXFLAGS = $CXXFLAGS
23157 ac_ct_CXX = $ac_ct_CXX
23158 CPPBIN = $CPPBIN
23159 LD = $LD
23160 TARGETFLAGS = $TARGETFLAGS
23161 toolsext = $toolsext
23162 toolsdir = $toolsdir
23163 MAKEDEP = $MAKEDEP
23164 RUNTESTFLAGS = $RUNTESTFLAGS
23165 SED_CMD = $SED_CMD
23166 FLEX = $FLEX
23167 BISON = $BISON
23168 AR = $AR
23169 ac_ct_AR = $ac_ct_AR
23170 STRIP = $STRIP
23171 RANLIB = $RANLIB
23172 LN_S = $LN_S
23173 GREP = $GREP
23174 EGREP = $EGREP
23175 LDCONFIG = $LDCONFIG
23176 MSGFMT = $MSGFMT
23177 PKG_CONFIG = $PKG_CONFIG
23178 FONTFORGE = $FONTFORGE
23179 RSVG = $RSVG
23180 CONVERT = $CONVERT
23181 ICOTOOL = $ICOTOOL
23182 I386_LIBS = $I386_LIBS
23183 OPENGL_LIBS = $OPENGL_LIBS
23184 DLLFLAGS = $DLLFLAGS
23185 LDDLLFLAGS = $LDDLLFLAGS
23186 LDEXECFLAGS = $LDEXECFLAGS
23187 EXTRACFLAGS = $EXTRACFLAGS
23188 UNIXDLLFLAGS = $UNIXDLLFLAGS
23189 UNIXLDFLAGS = $UNIXLDFLAGS
23190 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23191 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23192 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23193 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23194 LDD = $LDD
23195 OTOOL = $OTOOL
23196 READELF = $READELF
23197 SUBDIRS = $SUBDIRS
23198 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23199 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23200 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23201 DLLTOOL = $DLLTOOL
23202 OBJC = $OBJC
23203 OBJCFLAGS = $OBJCFLAGS
23204 ac_ct_OBJC = $ac_ct_OBJC
23205 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23206 IOKIT_LIBS = $IOKIT_LIBS
23207 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23208 CORESERVICES_LIBS = $CORESERVICES_LIBS
23209 APPKIT_LIBS = $APPKIT_LIBS
23210 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23211 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23212 SECURITY_LIBS = $SECURITY_LIBS
23213 COREAUDIO_LIBS = $COREAUDIO_LIBS
23214 OPENAL_LIBS = $OPENAL_LIBS
23215 OPENCL_LIBS = $OPENCL_LIBS
23216 CARBON_LIBS = $CARBON_LIBS
23217 METAL_LIBS = $METAL_LIBS
23218 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23219 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23220 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23221 PRELINK = $PRELINK
23222 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23223 CROSSTARGET = $CROSSTARGET
23224 CROSSCC = $CROSSCC
23225 CROSSCFLAGS = $CROSSCFLAGS
23226 EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
23227 CROSSLDFLAGS = $CROSSLDFLAGS
23228 DELAYLOADFLAG = $DELAYLOADFLAG
23229 CROSSDEBUG = $CROSSDEBUG
23230 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
23231 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23232 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23233 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23234 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23235 GSM_PE_LIBS = $GSM_PE_LIBS
23236 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23237 JPEG_PE_LIBS = $JPEG_PE_LIBS
23238 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23239 JXR_PE_LIBS = $JXR_PE_LIBS
23240 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23241 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23242 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23243 MPG123_PE_LIBS = $MPG123_PE_LIBS
23244 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23245 PNG_PE_LIBS = $PNG_PE_LIBS
23246 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23247 TIFF_PE_LIBS = $TIFF_PE_LIBS
23248 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23249 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23250 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23251 XML2_PE_LIBS = $XML2_PE_LIBS
23252 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23253 XSLT_PE_LIBS = $XSLT_PE_LIBS
23254 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23255 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23256 PTHREAD_LIBS = $PTHREAD_LIBS
23257 XMKMF = $XMKMF
23258 CPP = $CPP
23259 X_CFLAGS = $X_CFLAGS
23260 X_PRE_LIBS = $X_PRE_LIBS
23261 X_LIBS = $X_LIBS
23262 X_EXTRA_LIBS = $X_EXTRA_LIBS
23263 PCAP_LIBS = $PCAP_LIBS
23264 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23265 INOTIFY_LIBS = $INOTIFY_LIBS
23266 DBUS_CFLAGS = $DBUS_CFLAGS
23267 DBUS_LIBS = $DBUS_LIBS
23268 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23269 GNUTLS_LIBS = $GNUTLS_LIBS
23270 SANE_CFLAGS = $SANE_CFLAGS
23271 SANE_LIBS = $SANE_LIBS
23272 USB_CFLAGS = $USB_CFLAGS
23273 USB_LIBS = $USB_LIBS
23274 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23275 GPHOTO2_LIBS = $GPHOTO2_LIBS
23276 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23277 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23278 RESOLV_LIBS = $RESOLV_LIBS
23279 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23280 FREETYPE_LIBS = $FREETYPE_LIBS
23281 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23282 PULSE_CFLAGS = $PULSE_CFLAGS
23283 PULSE_LIBS = $PULSE_LIBS
23284 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23285 GSTREAMER_LIBS = $GSTREAMER_LIBS
23286 ALSA_LIBS = $ALSA_LIBS
23287 OSS4_CFLAGS = $OSS4_CFLAGS
23288 OSS4_LIBS = $OSS4_LIBS
23289 UDEV_CFLAGS = $UDEV_CFLAGS
23290 UDEV_LIBS = $UDEV_LIBS
23291 UNWIND_CFLAGS = $UNWIND_CFLAGS
23292 UNWIND_LIBS = $UNWIND_LIBS
23293 SDL2_CFLAGS = $SDL2_CFLAGS
23294 SDL2_LIBS = $SDL2_LIBS
23295 CAPI20_CFLAGS = $CAPI20_CFLAGS
23296 CAPI20_LIBS = $CAPI20_LIBS
23297 CUPS_CFLAGS = $CUPS_CFLAGS
23298 CUPS_LIBS = $CUPS_LIBS
23299 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23300 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23301 KRB5_CFLAGS = $KRB5_CFLAGS
23302 KRB5_LIBS = $KRB5_LIBS
23303 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23304 GSSAPI_LIBS = $GSSAPI_LIBS
23305 PROCSTAT_LIBS = $PROCSTAT_LIBS
23306 NETAPI_CFLAGS = $NETAPI_CFLAGS
23307 NETAPI_LIBS = $NETAPI_LIBS
23308 MSVCRTFLAGS = $MSVCRTFLAGS
23309 RT_LIBS = $RT_LIBS
23310 LDAP_CFLAGS = $LDAP_CFLAGS
23311 LDAP_LIBS = $LDAP_LIBS
23312 TAGSFLAGS = $TAGSFLAGS
23313 LIBOBJS = $LIBOBJS
23314 LTLIBOBJS = $LTLIBOBJS
23315 $SET_MAKE
23316 $wine_rules
23317 _WINE_EOF
23318 as_fn_error $? "could not create Makefile" "$LINENO" 5
23321 _ACEOF
23323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23325 # Handling of arguments.
23326 for ac_config_target in $ac_config_targets
23328 case $ac_config_target in
23329 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23330 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23331 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23332 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23333 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23334 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23336 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23337 esac
23338 done
23341 # If the user did not use the arguments to specify the items to instantiate,
23342 # then the envvar interface is used. Set only those that are not.
23343 # We use the long form for the default assignment because of an extremely
23344 # bizarre bug on SunOS 4.1.3.
23345 if $ac_need_defaults; then
23346 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23347 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23348 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23351 # Have a temporary directory for convenience. Make it in the build tree
23352 # simply because there is no reason against having it here, and in addition,
23353 # creating and moving files from /tmp can sometimes cause problems.
23354 # Hook for its removal unless debugging.
23355 # Note that there is a small window in which the directory will not be cleaned:
23356 # after its creation but before its name has been assigned to `$tmp'.
23357 $debug ||
23359 tmp= ac_tmp=
23360 trap 'exit_status=$?
23361 : "${ac_tmp:=$tmp}"
23362 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23364 trap 'as_fn_exit 1' 1 2 13 15
23366 # Create a (secure) tmp directory for tmp files.
23369 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23370 test -d "$tmp"
23371 } ||
23373 tmp=./conf$$-$RANDOM
23374 (umask 077 && mkdir "$tmp")
23375 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23376 ac_tmp=$tmp
23378 # Set up the scripts for CONFIG_HEADERS section.
23379 # No need to generate them if there are no CONFIG_HEADERS.
23380 # This happens for instance with `./config.status Makefile'.
23381 if test -n "$CONFIG_HEADERS"; then
23382 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23383 BEGIN {
23384 _ACEOF
23386 # Transform confdefs.h into an awk script `defines.awk', embedded as
23387 # here-document in config.status, that substitutes the proper values into
23388 # config.h.in to produce config.h.
23390 # Create a delimiter string that does not exist in confdefs.h, to ease
23391 # handling of long lines.
23392 ac_delim='%!_!# '
23393 for ac_last_try in false false :; do
23394 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23395 if test -z "$ac_tt"; then
23396 break
23397 elif $ac_last_try; then
23398 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23399 else
23400 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23402 done
23404 # For the awk script, D is an array of macro values keyed by name,
23405 # likewise P contains macro parameters if any. Preserve backslash
23406 # newline sequences.
23408 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23409 sed -n '
23410 s/.\{148\}/&'"$ac_delim"'/g
23411 t rset
23412 :rset
23413 s/^[ ]*#[ ]*define[ ][ ]*/ /
23414 t def
23416 :def
23417 s/\\$//
23418 t bsnl
23419 s/["\\]/\\&/g
23420 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23421 D["\1"]=" \3"/p
23422 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23424 :bsnl
23425 s/["\\]/\\&/g
23426 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23427 D["\1"]=" \3\\\\\\n"\\/p
23428 t cont
23429 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23430 t cont
23432 :cont
23434 s/.\{148\}/&'"$ac_delim"'/g
23435 t clear
23436 :clear
23437 s/\\$//
23438 t bsnlc
23439 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23441 :bsnlc
23442 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23443 b cont
23444 ' <confdefs.h | sed '
23445 s/'"$ac_delim"'/"\\\
23446 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23448 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23449 for (key in D) D_is_set[key] = 1
23450 FS = "\a"
23452 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23453 line = \$ 0
23454 split(line, arg, " ")
23455 if (arg[1] == "#") {
23456 defundef = arg[2]
23457 mac1 = arg[3]
23458 } else {
23459 defundef = substr(arg[1], 2)
23460 mac1 = arg[2]
23462 split(mac1, mac2, "(") #)
23463 macro = mac2[1]
23464 prefix = substr(line, 1, index(line, defundef) - 1)
23465 if (D_is_set[macro]) {
23466 # Preserve the white space surrounding the "#".
23467 print prefix "define", macro P[macro] D[macro]
23468 next
23469 } else {
23470 # Replace #undef with comments. This is necessary, for example,
23471 # in the case of _POSIX_SOURCE, which is predefined and required
23472 # on some systems where configure will not decide to define it.
23473 if (defundef == "undef") {
23474 print "/*", prefix defundef, macro, "*/"
23475 next
23479 { print }
23480 _ACAWK
23481 _ACEOF
23482 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23483 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23484 fi # test -n "$CONFIG_HEADERS"
23487 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23488 shift
23489 for ac_tag
23491 case $ac_tag in
23492 :[FHLC]) ac_mode=$ac_tag; continue;;
23493 esac
23494 case $ac_mode$ac_tag in
23495 :[FHL]*:*);;
23496 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23497 :[FH]-) ac_tag=-:-;;
23498 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23499 esac
23500 ac_save_IFS=$IFS
23501 IFS=:
23502 set x $ac_tag
23503 IFS=$ac_save_IFS
23504 shift
23505 ac_file=$1
23506 shift
23508 case $ac_mode in
23509 :L) ac_source=$1;;
23510 :[FH])
23511 ac_file_inputs=
23512 for ac_f
23514 case $ac_f in
23515 -) ac_f="$ac_tmp/stdin";;
23516 *) # Look for the file first in the build tree, then in the source tree
23517 # (if the path is not absolute). The absolute path cannot be DOS-style,
23518 # because $ac_f cannot contain `:'.
23519 test -f "$ac_f" ||
23520 case $ac_f in
23521 [\\/$]*) false;;
23522 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23523 esac ||
23524 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23525 esac
23526 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23527 as_fn_append ac_file_inputs " '$ac_f'"
23528 done
23530 # Let's still pretend it is `configure' which instantiates (i.e., don't
23531 # use $as_me), people would be surprised to read:
23532 # /* config.h. Generated by config.status. */
23533 configure_input='Generated from '`
23534 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23535 `' by configure.'
23536 if test x"$ac_file" != x-; then
23537 configure_input="$ac_file. $configure_input"
23538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23539 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23541 # Neutralize special characters interpreted by sed in replacement strings.
23542 case $configure_input in #(
23543 *\&* | *\|* | *\\* )
23544 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23545 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23546 *) ac_sed_conf_input=$configure_input;;
23547 esac
23549 case $ac_tag in
23550 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23551 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23552 esac
23554 esac
23556 ac_dir=`$as_dirname -- "$ac_file" ||
23557 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23558 X"$ac_file" : 'X\(//\)[^/]' \| \
23559 X"$ac_file" : 'X\(//\)$' \| \
23560 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23561 printf "%s\n" X"$ac_file" |
23562 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23563 s//\1/
23566 /^X\(\/\/\)[^/].*/{
23567 s//\1/
23570 /^X\(\/\/\)$/{
23571 s//\1/
23574 /^X\(\/\).*/{
23575 s//\1/
23578 s/.*/./; q'`
23579 as_dir="$ac_dir"; as_fn_mkdir_p
23580 ac_builddir=.
23582 case "$ac_dir" in
23583 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23585 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23586 # A ".." for each directory in $ac_dir_suffix.
23587 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23588 case $ac_top_builddir_sub in
23589 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23590 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23591 esac ;;
23592 esac
23593 ac_abs_top_builddir=$ac_pwd
23594 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23595 # for backward compatibility:
23596 ac_top_builddir=$ac_top_build_prefix
23598 case $srcdir in
23599 .) # We are building in place.
23600 ac_srcdir=.
23601 ac_top_srcdir=$ac_top_builddir_sub
23602 ac_abs_top_srcdir=$ac_pwd ;;
23603 [\\/]* | ?:[\\/]* ) # Absolute name.
23604 ac_srcdir=$srcdir$ac_dir_suffix;
23605 ac_top_srcdir=$srcdir
23606 ac_abs_top_srcdir=$srcdir ;;
23607 *) # Relative name.
23608 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23609 ac_top_srcdir=$ac_top_build_prefix$srcdir
23610 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23611 esac
23612 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23615 case $ac_mode in
23619 # CONFIG_HEADER
23621 if test x"$ac_file" != x-; then
23623 printf "%s\n" "/* $configure_input */" >&1 \
23624 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23625 } >"$ac_tmp/config.h" \
23626 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23627 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23629 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23630 else
23631 rm -f "$ac_file"
23632 mv "$ac_tmp/config.h" "$ac_file" \
23633 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23635 else
23636 printf "%s\n" "/* $configure_input */" >&1 \
23637 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23638 || as_fn_error $? "could not create -" "$LINENO" 5
23643 # CONFIG_LINK
23646 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23648 else
23649 # Prefer the file from the source tree if names are identical.
23650 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23651 ac_source=$srcdir/$ac_source
23654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23655 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23657 if test ! -r "$ac_source"; then
23658 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23660 rm -f "$ac_file"
23662 # Try a relative symlink, then a hard link, then a copy.
23663 case $ac_source in
23664 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23665 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23666 esac
23667 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23668 ln "$ac_source" "$ac_file" 2>/dev/null ||
23669 cp -p "$ac_source" "$ac_file" ||
23670 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23673 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23674 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23676 esac
23679 case $ac_file$ac_mode in
23680 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23681 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23682 "Makefile":C) wine_fn_output_makefile Makefile ;;
23684 esac
23685 done # for ac_tag
23688 as_fn_exit 0
23689 _ACEOF
23690 ac_clean_files=$ac_clean_files_save
23692 test $ac_write_fail = 0 ||
23693 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23696 # configure is writing to config.log, and then calls config.status.
23697 # config.status does its own redirection, appending to config.log.
23698 # Unfortunately, on DOS this fails, as config.log is still kept open
23699 # by configure, so config.status won't be able to write to it; its
23700 # output is simply discarded. So we exec the FD to /dev/null,
23701 # effectively closing config.log, so it can be properly (re)opened and
23702 # appended to by config.status. When coming back to configure, we
23703 # need to make the FD available again.
23704 if test "$no_create" != yes; then
23705 ac_cs_success=:
23706 ac_config_status_args=
23707 test "$silent" = yes &&
23708 ac_config_status_args="$ac_config_status_args --quiet"
23709 exec 5>/dev/null
23710 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23711 exec 5>>config.log
23712 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23713 # would make configure fail if this is the last instruction.
23714 $ac_cs_success || as_fn_exit 1
23716 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23718 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23722 if test "$no_create" = "yes"
23723 then
23724 exit 0
23727 ac_save_IFS="$IFS"
23728 if test "x$wine_notices" != x; then
23729 echo >&6
23730 IFS="|"
23731 for msg in $wine_notices; do
23732 IFS="$ac_save_IFS"
23733 if ${msg:+false} :
23734 then :
23736 else $as_nop
23737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23738 printf "%s\n" "$as_me: $msg" >&6;}
23740 done
23742 IFS="|"
23743 for msg in $wine_warnings; do
23744 IFS="$ac_save_IFS"
23745 if ${msg:+false} :
23746 then :
23748 else $as_nop
23749 echo >&2
23750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23751 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23753 done
23754 IFS="$ac_save_IFS"
23756 printf "%s\n" "
23757 $as_me: Finished. Do '${ac_make}' to compile Wine.
23758 " >&6