winealsa: Use the symbolic name for MIDI_CTL_ALL_SOUNDS_OFF.
[wine.git] / configure
blob04f4515d4d828831bec3fafbcee1a49b3dd38910
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.9.
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.9'
615 PACKAGE_STRING='Wine 7.9'
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_iccvid
1124 enable_icmp
1125 enable_ieframe
1126 enable_ieproxy
1127 enable_imaadp32_acm
1128 enable_imagehlp
1129 enable_imm32
1130 enable_inetcomm
1131 enable_inetcpl_cpl
1132 enable_inetmib1
1133 enable_infosoft
1134 enable_initpki
1135 enable_inkobj
1136 enable_inseng
1137 enable_iphlpapi
1138 enable_iprop
1139 enable_irprops_cpl
1140 enable_itircl
1141 enable_itss
1142 enable_joy_cpl
1143 enable_jscript
1144 enable_jsproxy
1145 enable_kerberos
1146 enable_kernel32
1147 enable_kernelbase
1148 enable_ksecdd_sys
1149 enable_ksproxy_ax
1150 enable_ksuser
1151 enable_ktmw32
1152 enable_l3codeca_acm
1153 enable_light_msstyles
1154 enable_loadperf
1155 enable_localspl
1156 enable_localui
1157 enable_lz32
1158 enable_mapi32
1159 enable_mapistub
1160 enable_mciavi32
1161 enable_mcicda
1162 enable_mciqtz32
1163 enable_mciseq
1164 enable_mciwave
1165 enable_mf
1166 enable_mf3216
1167 enable_mferror
1168 enable_mfmediaengine
1169 enable_mfplat
1170 enable_mfplay
1171 enable_mfreadwrite
1172 enable_mgmtapi
1173 enable_midimap
1174 enable_mlang
1175 enable_mmcndmgr
1176 enable_mmdevapi
1177 enable_mountmgr_sys
1178 enable_mp3dmod
1179 enable_mpr
1180 enable_mprapi
1181 enable_msacm32_drv
1182 enable_msacm32
1183 enable_msado15
1184 enable_msadp32_acm
1185 enable_msasn1
1186 enable_mscat32
1187 enable_mscms
1188 enable_mscoree
1189 enable_mscorwks
1190 enable_msctf
1191 enable_msctfmonitor
1192 enable_msctfp
1193 enable_msdaps
1194 enable_msdasql
1195 enable_msdelta
1196 enable_msdmo
1197 enable_msdrm
1198 enable_msftedit
1199 enable_msg711_acm
1200 enable_msgsm32_acm
1201 enable_mshtml_tlb
1202 enable_mshtml
1203 enable_msi
1204 enable_msident
1205 enable_msimg32
1206 enable_msimsg
1207 enable_msimtf
1208 enable_msisip
1209 enable_msisys_ocx
1210 enable_msls31
1211 enable_msnet32
1212 enable_mspatcha
1213 enable_msports
1214 enable_msrle32
1215 enable_msscript_ocx
1216 enable_mssign32
1217 enable_mssip32
1218 enable_mstask
1219 enable_msv1_0
1220 enable_msvcirt
1221 enable_msvcm80
1222 enable_msvcm90
1223 enable_msvcp100
1224 enable_msvcp110
1225 enable_msvcp120
1226 enable_msvcp120_app
1227 enable_msvcp140
1228 enable_msvcp140_1
1229 enable_msvcp140_atomic_wait
1230 enable_msvcp60
1231 enable_msvcp70
1232 enable_msvcp71
1233 enable_msvcp80
1234 enable_msvcp90
1235 enable_msvcp_win
1236 enable_msvcr100
1237 enable_msvcr110
1238 enable_msvcr120
1239 enable_msvcr120_app
1240 enable_msvcr70
1241 enable_msvcr71
1242 enable_msvcr80
1243 enable_msvcr90
1244 enable_msvcrt
1245 enable_msvcrt20
1246 enable_msvcrt40
1247 enable_msvcrtd
1248 enable_msvfw32
1249 enable_msvidc32
1250 enable_mswsock
1251 enable_msxml
1252 enable_msxml2
1253 enable_msxml3
1254 enable_msxml4
1255 enable_msxml6
1256 enable_mtxdm
1257 enable_ncrypt
1258 enable_nddeapi
1259 enable_ndis_sys
1260 enable_netapi32
1261 enable_netcfgx
1262 enable_netio_sys
1263 enable_netprofm
1264 enable_netutils
1265 enable_newdev
1266 enable_ninput
1267 enable_normaliz
1268 enable_npmshtml
1269 enable_npptools
1270 enable_nsi
1271 enable_nsiproxy_sys
1272 enable_ntdll
1273 enable_ntdsapi
1274 enable_ntoskrnl_exe
1275 enable_ntprint
1276 enable_objsel
1277 enable_odbc32
1278 enable_odbcbcp
1279 enable_odbccp32
1280 enable_odbccu32
1281 enable_ole32
1282 enable_oleacc
1283 enable_oleaut32
1284 enable_olecli32
1285 enable_oledb32
1286 enable_oledlg
1287 enable_olepro32
1288 enable_olesvr32
1289 enable_olethk32
1290 enable_opcservices
1291 enable_openal32
1292 enable_opencl
1293 enable_opengl32
1294 enable_packager
1295 enable_pdh
1296 enable_photometadatahandler
1297 enable_pidgen
1298 enable_powrprof
1299 enable_printui
1300 enable_prntvpt
1301 enable_propsys
1302 enable_psapi
1303 enable_pstorec
1304 enable_pwrshplugin
1305 enable_qasf
1306 enable_qcap
1307 enable_qdvd
1308 enable_qedit
1309 enable_qmgr
1310 enable_qmgrprxy
1311 enable_quartz
1312 enable_query
1313 enable_qwave
1314 enable_rasapi32
1315 enable_rasdlg
1316 enable_regapi
1317 enable_resutils
1318 enable_riched20
1319 enable_riched32
1320 enable_rpcrt4
1321 enable_rsabase
1322 enable_rsaenh
1323 enable_rstrtmgr
1324 enable_rtutils
1325 enable_rtworkq
1326 enable_samlib
1327 enable_sane_ds
1328 enable_sapi
1329 enable_sas
1330 enable_scarddlg
1331 enable_sccbase
1332 enable_schannel
1333 enable_schedsvc
1334 enable_scrobj
1335 enable_scrrun
1336 enable_scsiport_sys
1337 enable_sechost
1338 enable_secur32
1339 enable_security
1340 enable_sensapi
1341 enable_serialui
1342 enable_setupapi
1343 enable_sfc
1344 enable_sfc_os
1345 enable_shcore
1346 enable_shdoclc
1347 enable_shdocvw
1348 enable_shell32
1349 enable_shfolder
1350 enable_shlwapi
1351 enable_slbcsp
1352 enable_slc
1353 enable_snmpapi
1354 enable_softpub
1355 enable_spoolss
1356 enable_sppc
1357 enable_srclient
1358 enable_srvcli
1359 enable_sspicli
1360 enable_stdole2_tlb
1361 enable_stdole32_tlb
1362 enable_sti
1363 enable_strmdll
1364 enable_svrapi
1365 enable_sxs
1366 enable_t2embed
1367 enable_tapi32
1368 enable_taskschd
1369 enable_tbs
1370 enable_tdh
1371 enable_tdi_sys
1372 enable_traffic
1373 enable_twain_32
1374 enable_tzres
1375 enable_ucrtbase
1376 enable_uianimation
1377 enable_uiautomationcore
1378 enable_uiribbon
1379 enable_unicows
1380 enable_updspapi
1381 enable_url
1382 enable_urlmon
1383 enable_usbd_sys
1384 enable_user32
1385 enable_userenv
1386 enable_usp10
1387 enable_utildll
1388 enable_uxtheme
1389 enable_vbscript
1390 enable_vcomp
1391 enable_vcomp100
1392 enable_vcomp110
1393 enable_vcomp120
1394 enable_vcomp140
1395 enable_vcomp90
1396 enable_vcruntime140
1397 enable_vcruntime140_1
1398 enable_vdmdbg
1399 enable_version
1400 enable_vga
1401 enable_virtdisk
1402 enable_vssapi
1403 enable_vulkan_1
1404 enable_wbemdisp
1405 enable_wbemprox
1406 enable_wdscore
1407 enable_webservices
1408 enable_websocket
1409 enable_wer
1410 enable_wevtapi
1411 enable_wevtsvc
1412 enable_wiaservc
1413 enable_wimgapi
1414 enable_win32u
1415 enable_windows_devices_enumeration
1416 enable_windows_gaming_input
1417 enable_windows_globalization
1418 enable_windows_media_devices
1419 enable_windows_media_speech
1420 enable_windows_networking
1421 enable_windowscodecs
1422 enable_windowscodecsext
1423 enable_winealsa_drv
1424 enable_wineandroid_drv
1425 enable_winebus_sys
1426 enable_winecoreaudio_drv
1427 enable_winecrt0
1428 enable_wined3d
1429 enable_winegstreamer
1430 enable_winehid_sys
1431 enable_winemac_drv
1432 enable_winemapi
1433 enable_wineoss_drv
1434 enable_wineps_drv
1435 enable_winepulse_drv
1436 enable_wineusb_sys
1437 enable_winevulkan
1438 enable_winex11_drv
1439 enable_winexinput_sys
1440 enable_wing32
1441 enable_winhttp
1442 enable_wininet
1443 enable_winmm
1444 enable_winnls32
1445 enable_winscard
1446 enable_winspool_drv
1447 enable_winsta
1448 enable_wintab32
1449 enable_wintrust
1450 enable_wintypes
1451 enable_winusb
1452 enable_wlanapi
1453 enable_wlanui
1454 enable_wldap32
1455 enable_wmasf
1456 enable_wmi
1457 enable_wmiutils
1458 enable_wmp
1459 enable_wmphoto
1460 enable_wmvcore
1461 enable_wnaspi32
1462 enable_wow64
1463 enable_wow64cpu
1464 enable_wow64win
1465 enable_wpc
1466 enable_wpcap
1467 enable_ws2_32
1468 enable_wsdapi
1469 enable_wshom_ocx
1470 enable_wsnmp32
1471 enable_wsock32
1472 enable_wtsapi32
1473 enable_wuapi
1474 enable_wuaueng
1475 enable_x3daudio1_0
1476 enable_x3daudio1_1
1477 enable_x3daudio1_2
1478 enable_x3daudio1_3
1479 enable_x3daudio1_4
1480 enable_x3daudio1_5
1481 enable_x3daudio1_6
1482 enable_x3daudio1_7
1483 enable_xactengine2_0
1484 enable_xactengine2_4
1485 enable_xactengine2_7
1486 enable_xactengine2_9
1487 enable_xactengine3_0
1488 enable_xactengine3_1
1489 enable_xactengine3_2
1490 enable_xactengine3_3
1491 enable_xactengine3_4
1492 enable_xactengine3_5
1493 enable_xactengine3_6
1494 enable_xactengine3_7
1495 enable_xapofx1_1
1496 enable_xapofx1_2
1497 enable_xapofx1_3
1498 enable_xapofx1_4
1499 enable_xapofx1_5
1500 enable_xaudio2_0
1501 enable_xaudio2_1
1502 enable_xaudio2_2
1503 enable_xaudio2_3
1504 enable_xaudio2_4
1505 enable_xaudio2_5
1506 enable_xaudio2_6
1507 enable_xaudio2_7
1508 enable_xaudio2_8
1509 enable_xaudio2_9
1510 enable_xinput1_1
1511 enable_xinput1_2
1512 enable_xinput1_3
1513 enable_xinput1_4
1514 enable_xinput9_1_0
1515 enable_xmllite
1516 enable_xolehlp
1517 enable_xpsprint
1518 enable_xpssvcs
1519 enable_fonts
1520 enable_include
1521 enable_adsiid
1522 enable_dmoguids
1523 enable_dxerr8
1524 enable_dxerr9
1525 enable_dxguid
1526 enable_faudio
1527 enable_gsm
1528 enable_jpeg
1529 enable_jxr
1530 enable_lcms2
1531 enable_mfuuid
1532 enable_mpg123
1533 enable_png
1534 enable_strmbase
1535 enable_strmiids
1536 enable_tiff
1537 enable_uuid
1538 enable_vkd3d
1539 enable_wbemuuid
1540 enable_wine
1541 enable_wmcodecdspuuid
1542 enable_xml2
1543 enable_xslt
1544 enable_zlib
1545 enable_loader
1546 enable_nls
1547 enable_po
1548 enable_arp
1549 enable_aspnet_regiis
1550 enable_attrib
1551 enable_cabarc
1552 enable_cacls
1553 enable_chcp_com
1554 enable_clock
1555 enable_cmd
1556 enable_conhost
1557 enable_control
1558 enable_cscript
1559 enable_dism
1560 enable_dllhost
1561 enable_dplaysvr
1562 enable_dpnsvr
1563 enable_dpvsetup
1564 enable_dxdiag
1565 enable_eject
1566 enable_expand
1567 enable_explorer
1568 enable_extrac32
1569 enable_fc
1570 enable_find
1571 enable_findstr
1572 enable_fsutil
1573 enable_hh
1574 enable_hostname
1575 enable_icacls
1576 enable_icinfo
1577 enable_iexplore
1578 enable_ipconfig
1579 enable_lodctr
1580 enable_mofcomp
1581 enable_mshta
1582 enable_msidb
1583 enable_msiexec
1584 enable_msinfo32
1585 enable_net
1586 enable_netsh
1587 enable_netstat
1588 enable_ngen
1589 enable_notepad
1590 enable_oleview
1591 enable_ping
1592 enable_plugplay
1593 enable_powershell
1594 enable_presentationfontcache
1595 enable_progman
1596 enable_reg
1597 enable_regasm
1598 enable_regedit
1599 enable_regini
1600 enable_regsvcs
1601 enable_regsvr32
1602 enable_robocopy
1603 enable_rpcss
1604 enable_rundll32
1605 enable_sc
1606 enable_schtasks
1607 enable_sdbinst
1608 enable_secedit
1609 enable_servicemodelreg
1610 enable_services
1611 enable_shutdown
1612 enable_spoolsv
1613 enable_start
1614 enable_subst
1615 enable_svchost
1616 enable_systeminfo
1617 enable_taskkill
1618 enable_tasklist
1619 enable_taskmgr
1620 enable_termsv
1621 enable_uninstaller
1622 enable_unlodctr
1623 enable_view
1624 enable_wevtutil
1625 enable_where
1626 enable_whoami
1627 enable_wineboot
1628 enable_winebrowser
1629 enable_winecfg
1630 enable_wineconsole
1631 enable_winedbg
1632 enable_winedevice
1633 enable_winefile
1634 enable_winemenubuilder
1635 enable_winemine
1636 enable_winemsibuilder
1637 enable_winepath
1638 enable_winetest
1639 enable_winhlp32
1640 enable_winmgmt
1641 enable_winver
1642 enable_wmic
1643 enable_wmplayer
1644 enable_wordpad
1645 enable_write
1646 enable_wscript
1647 enable_wuauserv
1648 enable_wusa
1649 enable_xcopy
1650 enable_server
1651 enable_tools
1652 enable_sfnt2fon
1653 enable_widl
1654 enable_winebuild
1655 enable_winedump
1656 enable_winegcc
1657 enable_winemaker
1658 enable_wmc
1659 enable_wrc
1661 ac_precious_vars='build_alias
1662 host_alias
1663 target_alias
1665 CFLAGS
1666 LDFLAGS
1667 LIBS
1668 CPPFLAGS
1670 CXXFLAGS
1672 OBJC
1673 OBJCFLAGS
1674 FAUDIO_PE_CFLAGS
1675 FAUDIO_PE_LIBS
1676 GSM_PE_CFLAGS
1677 GSM_PE_LIBS
1678 JPEG_PE_CFLAGS
1679 JPEG_PE_LIBS
1680 JXR_PE_CFLAGS
1681 JXR_PE_LIBS
1682 LCMS2_PE_CFLAGS
1683 LCMS2_PE_LIBS
1684 MPG123_PE_CFLAGS
1685 MPG123_PE_LIBS
1686 PNG_PE_CFLAGS
1687 PNG_PE_LIBS
1688 TIFF_PE_CFLAGS
1689 TIFF_PE_LIBS
1690 VKD3D_PE_CFLAGS
1691 VKD3D_PE_LIBS
1692 XML2_PE_CFLAGS
1693 XML2_PE_LIBS
1694 XSLT_PE_CFLAGS
1695 XSLT_PE_LIBS
1696 ZLIB_PE_CFLAGS
1697 ZLIB_PE_LIBS
1698 XMKMF
1700 INOTIFY_CFLAGS
1701 INOTIFY_LIBS
1702 DBUS_CFLAGS
1703 DBUS_LIBS
1704 GNUTLS_CFLAGS
1705 GNUTLS_LIBS
1706 SANE_CFLAGS
1707 SANE_LIBS
1708 USB_CFLAGS
1709 USB_LIBS
1710 GPHOTO2_CFLAGS
1711 GPHOTO2_LIBS
1712 GPHOTO2_PORT_CFLAGS
1713 GPHOTO2_PORT_LIBS
1714 FREETYPE_CFLAGS
1715 FREETYPE_LIBS
1716 PULSE_CFLAGS
1717 PULSE_LIBS
1718 GSTREAMER_CFLAGS
1719 GSTREAMER_LIBS
1720 UDEV_CFLAGS
1721 UDEV_LIBS
1722 UNWIND_CFLAGS
1723 UNWIND_LIBS
1724 SDL2_CFLAGS
1725 SDL2_LIBS
1726 CAPI20_CFLAGS
1727 CAPI20_LIBS
1728 CUPS_CFLAGS
1729 CUPS_LIBS
1730 FONTCONFIG_CFLAGS
1731 FONTCONFIG_LIBS
1732 KRB5_CFLAGS
1733 KRB5_LIBS
1734 GSSAPI_CFLAGS
1735 GSSAPI_LIBS
1736 NETAPI_CFLAGS
1737 NETAPI_LIBS
1738 LDAP_CFLAGS
1739 LDAP_LIBS'
1742 # Initialize some variables set by options.
1743 ac_init_help=
1744 ac_init_version=false
1745 ac_unrecognized_opts=
1746 ac_unrecognized_sep=
1747 # The variables have the same names as the options, with
1748 # dashes changed to underlines.
1749 cache_file=/dev/null
1750 exec_prefix=NONE
1751 no_create=
1752 no_recursion=
1753 prefix=NONE
1754 program_prefix=NONE
1755 program_suffix=NONE
1756 program_transform_name=s,x,x,
1757 silent=
1758 site=
1759 srcdir=
1760 verbose=
1761 x_includes=NONE
1762 x_libraries=NONE
1764 # Installation directory options.
1765 # These are left unexpanded so users can "make install exec_prefix=/foo"
1766 # and all the variables that are supposed to be based on exec_prefix
1767 # by default will actually change.
1768 # Use braces instead of parens because sh, perl, etc. also accept them.
1769 # (The list follows the same order as the GNU Coding Standards.)
1770 bindir='${exec_prefix}/bin'
1771 sbindir='${exec_prefix}/sbin'
1772 libexecdir='${exec_prefix}/libexec'
1773 datarootdir='${prefix}/share'
1774 datadir='${datarootdir}'
1775 sysconfdir='${prefix}/etc'
1776 sharedstatedir='${prefix}/com'
1777 localstatedir='${prefix}/var'
1778 runstatedir='${localstatedir}/run'
1779 includedir='${prefix}/include'
1780 oldincludedir='/usr/include'
1781 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1782 infodir='${datarootdir}/info'
1783 htmldir='${docdir}'
1784 dvidir='${docdir}'
1785 pdfdir='${docdir}'
1786 psdir='${docdir}'
1787 libdir='${exec_prefix}/lib'
1788 localedir='${datarootdir}/locale'
1789 mandir='${datarootdir}/man'
1791 ac_prev=
1792 ac_dashdash=
1793 for ac_option
1795 # If the previous option needs an argument, assign it.
1796 if test -n "$ac_prev"; then
1797 eval $ac_prev=\$ac_option
1798 ac_prev=
1799 continue
1802 case $ac_option in
1803 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1804 *=) ac_optarg= ;;
1805 *) ac_optarg=yes ;;
1806 esac
1808 case $ac_dashdash$ac_option in
1810 ac_dashdash=yes ;;
1812 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1813 ac_prev=bindir ;;
1814 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1815 bindir=$ac_optarg ;;
1817 -build | --build | --buil | --bui | --bu)
1818 ac_prev=build_alias ;;
1819 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1820 build_alias=$ac_optarg ;;
1822 -cache-file | --cache-file | --cache-fil | --cache-fi \
1823 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1824 ac_prev=cache_file ;;
1825 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1826 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1827 cache_file=$ac_optarg ;;
1829 --config-cache | -C)
1830 cache_file=config.cache ;;
1832 -datadir | --datadir | --datadi | --datad)
1833 ac_prev=datadir ;;
1834 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1835 datadir=$ac_optarg ;;
1837 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1838 | --dataroo | --dataro | --datar)
1839 ac_prev=datarootdir ;;
1840 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1841 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1842 datarootdir=$ac_optarg ;;
1844 -disable-* | --disable-*)
1845 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1846 # Reject names that are not valid shell variable names.
1847 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1848 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1849 ac_useropt_orig=$ac_useropt
1850 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1851 case $ac_user_opts in
1853 "enable_$ac_useropt"
1854 "*) ;;
1855 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1856 ac_unrecognized_sep=', ';;
1857 esac
1858 eval enable_$ac_useropt=no ;;
1860 -docdir | --docdir | --docdi | --doc | --do)
1861 ac_prev=docdir ;;
1862 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1863 docdir=$ac_optarg ;;
1865 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1866 ac_prev=dvidir ;;
1867 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1868 dvidir=$ac_optarg ;;
1870 -enable-* | --enable-*)
1871 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1872 # Reject names that are not valid shell variable names.
1873 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1874 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1875 ac_useropt_orig=$ac_useropt
1876 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1877 case $ac_user_opts in
1879 "enable_$ac_useropt"
1880 "*) ;;
1881 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1882 ac_unrecognized_sep=', ';;
1883 esac
1884 eval enable_$ac_useropt=\$ac_optarg ;;
1886 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1887 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1888 | --exec | --exe | --ex)
1889 ac_prev=exec_prefix ;;
1890 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1891 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1892 | --exec=* | --exe=* | --ex=*)
1893 exec_prefix=$ac_optarg ;;
1895 -gas | --gas | --ga | --g)
1896 # Obsolete; use --with-gas.
1897 with_gas=yes ;;
1899 -help | --help | --hel | --he | -h)
1900 ac_init_help=long ;;
1901 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1902 ac_init_help=recursive ;;
1903 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1904 ac_init_help=short ;;
1906 -host | --host | --hos | --ho)
1907 ac_prev=host_alias ;;
1908 -host=* | --host=* | --hos=* | --ho=*)
1909 host_alias=$ac_optarg ;;
1911 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1912 ac_prev=htmldir ;;
1913 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1914 | --ht=*)
1915 htmldir=$ac_optarg ;;
1917 -includedir | --includedir | --includedi | --included | --include \
1918 | --includ | --inclu | --incl | --inc)
1919 ac_prev=includedir ;;
1920 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1921 | --includ=* | --inclu=* | --incl=* | --inc=*)
1922 includedir=$ac_optarg ;;
1924 -infodir | --infodir | --infodi | --infod | --info | --inf)
1925 ac_prev=infodir ;;
1926 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1927 infodir=$ac_optarg ;;
1929 -libdir | --libdir | --libdi | --libd)
1930 ac_prev=libdir ;;
1931 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1932 libdir=$ac_optarg ;;
1934 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1935 | --libexe | --libex | --libe)
1936 ac_prev=libexecdir ;;
1937 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1938 | --libexe=* | --libex=* | --libe=*)
1939 libexecdir=$ac_optarg ;;
1941 -localedir | --localedir | --localedi | --localed | --locale)
1942 ac_prev=localedir ;;
1943 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1944 localedir=$ac_optarg ;;
1946 -localstatedir | --localstatedir | --localstatedi | --localstated \
1947 | --localstate | --localstat | --localsta | --localst | --locals)
1948 ac_prev=localstatedir ;;
1949 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1950 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1951 localstatedir=$ac_optarg ;;
1953 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1954 ac_prev=mandir ;;
1955 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1956 mandir=$ac_optarg ;;
1958 -nfp | --nfp | --nf)
1959 # Obsolete; use --without-fp.
1960 with_fp=no ;;
1962 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1963 | --no-cr | --no-c | -n)
1964 no_create=yes ;;
1966 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1967 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1968 no_recursion=yes ;;
1970 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1971 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1972 | --oldin | --oldi | --old | --ol | --o)
1973 ac_prev=oldincludedir ;;
1974 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1975 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1976 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1977 oldincludedir=$ac_optarg ;;
1979 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1980 ac_prev=prefix ;;
1981 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1982 prefix=$ac_optarg ;;
1984 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1985 | --program-pre | --program-pr | --program-p)
1986 ac_prev=program_prefix ;;
1987 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1988 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1989 program_prefix=$ac_optarg ;;
1991 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1992 | --program-suf | --program-su | --program-s)
1993 ac_prev=program_suffix ;;
1994 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1995 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1996 program_suffix=$ac_optarg ;;
1998 -program-transform-name | --program-transform-name \
1999 | --program-transform-nam | --program-transform-na \
2000 | --program-transform-n | --program-transform- \
2001 | --program-transform | --program-transfor \
2002 | --program-transfo | --program-transf \
2003 | --program-trans | --program-tran \
2004 | --progr-tra | --program-tr | --program-t)
2005 ac_prev=program_transform_name ;;
2006 -program-transform-name=* | --program-transform-name=* \
2007 | --program-transform-nam=* | --program-transform-na=* \
2008 | --program-transform-n=* | --program-transform-=* \
2009 | --program-transform=* | --program-transfor=* \
2010 | --program-transfo=* | --program-transf=* \
2011 | --program-trans=* | --program-tran=* \
2012 | --progr-tra=* | --program-tr=* | --program-t=*)
2013 program_transform_name=$ac_optarg ;;
2015 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2016 ac_prev=pdfdir ;;
2017 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2018 pdfdir=$ac_optarg ;;
2020 -psdir | --psdir | --psdi | --psd | --ps)
2021 ac_prev=psdir ;;
2022 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2023 psdir=$ac_optarg ;;
2025 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2026 | -silent | --silent | --silen | --sile | --sil)
2027 silent=yes ;;
2029 -runstatedir | --runstatedir | --runstatedi | --runstated \
2030 | --runstate | --runstat | --runsta | --runst | --runs \
2031 | --run | --ru | --r)
2032 ac_prev=runstatedir ;;
2033 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2034 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2035 | --run=* | --ru=* | --r=*)
2036 runstatedir=$ac_optarg ;;
2038 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2039 ac_prev=sbindir ;;
2040 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2041 | --sbi=* | --sb=*)
2042 sbindir=$ac_optarg ;;
2044 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2045 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2046 | --sharedst | --shareds | --shared | --share | --shar \
2047 | --sha | --sh)
2048 ac_prev=sharedstatedir ;;
2049 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2050 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2051 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2052 | --sha=* | --sh=*)
2053 sharedstatedir=$ac_optarg ;;
2055 -site | --site | --sit)
2056 ac_prev=site ;;
2057 -site=* | --site=* | --sit=*)
2058 site=$ac_optarg ;;
2060 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2061 ac_prev=srcdir ;;
2062 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2063 srcdir=$ac_optarg ;;
2065 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2066 | --syscon | --sysco | --sysc | --sys | --sy)
2067 ac_prev=sysconfdir ;;
2068 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2069 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2070 sysconfdir=$ac_optarg ;;
2072 -target | --target | --targe | --targ | --tar | --ta | --t)
2073 ac_prev=target_alias ;;
2074 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2075 target_alias=$ac_optarg ;;
2077 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2078 verbose=yes ;;
2080 -version | --version | --versio | --versi | --vers | -V)
2081 ac_init_version=: ;;
2083 -with-* | --with-*)
2084 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2085 # Reject names that are not valid shell variable names.
2086 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2087 as_fn_error $? "invalid package name: \`$ac_useropt'"
2088 ac_useropt_orig=$ac_useropt
2089 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2090 case $ac_user_opts in
2092 "with_$ac_useropt"
2093 "*) ;;
2094 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2095 ac_unrecognized_sep=', ';;
2096 esac
2097 eval with_$ac_useropt=\$ac_optarg ;;
2099 -without-* | --without-*)
2100 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2101 # Reject names that are not valid shell variable names.
2102 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2103 as_fn_error $? "invalid package name: \`$ac_useropt'"
2104 ac_useropt_orig=$ac_useropt
2105 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2106 case $ac_user_opts in
2108 "with_$ac_useropt"
2109 "*) ;;
2110 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2111 ac_unrecognized_sep=', ';;
2112 esac
2113 eval with_$ac_useropt=no ;;
2115 --x)
2116 # Obsolete; use --with-x.
2117 with_x=yes ;;
2119 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2120 | --x-incl | --x-inc | --x-in | --x-i)
2121 ac_prev=x_includes ;;
2122 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2123 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2124 x_includes=$ac_optarg ;;
2126 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2127 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2128 ac_prev=x_libraries ;;
2129 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2130 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2131 x_libraries=$ac_optarg ;;
2133 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2134 Try \`$0 --help' for more information"
2137 *=*)
2138 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2139 # Reject names that are not valid shell variable names.
2140 case $ac_envvar in #(
2141 '' | [0-9]* | *[!_$as_cr_alnum]* )
2142 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2143 esac
2144 eval $ac_envvar=\$ac_optarg
2145 export $ac_envvar ;;
2148 # FIXME: should be removed in autoconf 3.0.
2149 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2150 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2151 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2152 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2155 esac
2156 done
2158 if test -n "$ac_prev"; then
2159 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2160 as_fn_error $? "missing argument to $ac_option"
2163 if test -n "$ac_unrecognized_opts"; then
2164 case $enable_option_checking in
2165 no) ;;
2166 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2167 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2168 esac
2171 # Check all directory arguments for consistency.
2172 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2173 datadir sysconfdir sharedstatedir localstatedir includedir \
2174 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2175 libdir localedir mandir runstatedir
2177 eval ac_val=\$$ac_var
2178 # Remove trailing slashes.
2179 case $ac_val in
2180 */ )
2181 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2182 eval $ac_var=\$ac_val;;
2183 esac
2184 # Be sure to have absolute directory names.
2185 case $ac_val in
2186 [\\/$]* | ?:[\\/]* ) continue;;
2187 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2188 esac
2189 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2190 done
2192 # There might be people who depend on the old broken behavior: `$host'
2193 # used to hold the argument of --host etc.
2194 # FIXME: To remove some day.
2195 build=$build_alias
2196 host=$host_alias
2197 target=$target_alias
2199 # FIXME: To remove some day.
2200 if test "x$host_alias" != x; then
2201 if test "x$build_alias" = x; then
2202 cross_compiling=maybe
2203 elif test "x$build_alias" != "x$host_alias"; then
2204 cross_compiling=yes
2208 ac_tool_prefix=
2209 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2211 test "$silent" = yes && exec 6>/dev/null
2214 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2215 ac_ls_di=`ls -di .` &&
2216 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2217 as_fn_error $? "working directory cannot be determined"
2218 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2219 as_fn_error $? "pwd does not report name of working directory"
2222 # Find the source files, if location was not specified.
2223 if test -z "$srcdir"; then
2224 ac_srcdir_defaulted=yes
2225 # Try the directory containing this script, then the parent directory.
2226 ac_confdir=`$as_dirname -- "$as_myself" ||
2227 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2228 X"$as_myself" : 'X\(//\)[^/]' \| \
2229 X"$as_myself" : 'X\(//\)$' \| \
2230 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2231 printf "%s\n" X"$as_myself" |
2232 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2233 s//\1/
2236 /^X\(\/\/\)[^/].*/{
2237 s//\1/
2240 /^X\(\/\/\)$/{
2241 s//\1/
2244 /^X\(\/\).*/{
2245 s//\1/
2248 s/.*/./; q'`
2249 srcdir=$ac_confdir
2250 if test ! -r "$srcdir/$ac_unique_file"; then
2251 srcdir=..
2253 else
2254 ac_srcdir_defaulted=no
2256 if test ! -r "$srcdir/$ac_unique_file"; then
2257 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2258 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2260 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2261 ac_abs_confdir=`(
2262 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2263 pwd)`
2264 # When building in place, set srcdir=.
2265 if test "$ac_abs_confdir" = "$ac_pwd"; then
2266 srcdir=.
2268 # Remove unnecessary trailing slashes from srcdir.
2269 # Double slashes in file names in object file debugging info
2270 # mess up M-x gdb in Emacs.
2271 case $srcdir in
2272 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2273 esac
2274 for ac_var in $ac_precious_vars; do
2275 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2276 eval ac_env_${ac_var}_value=\$${ac_var}
2277 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2278 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2279 done
2282 # Report the --help message.
2284 if test "$ac_init_help" = "long"; then
2285 # Omit some internal or obsolete options to make the list less imposing.
2286 # This message is too long to be a string in the A/UX 3.1 sh.
2287 cat <<_ACEOF
2288 \`configure' configures Wine 7.9 to adapt to many kinds of systems.
2290 Usage: $0 [OPTION]... [VAR=VALUE]...
2292 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2293 VAR=VALUE. See below for descriptions of some of the useful variables.
2295 Defaults for the options are specified in brackets.
2297 Configuration:
2298 -h, --help display this help and exit
2299 --help=short display options specific to this package
2300 --help=recursive display the short help of all the included packages
2301 -V, --version display version information and exit
2302 -q, --quiet, --silent do not print \`checking ...' messages
2303 --cache-file=FILE cache test results in FILE [disabled]
2304 -C, --config-cache alias for \`--cache-file=config.cache'
2305 -n, --no-create do not create output files
2306 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2308 Installation directories:
2309 --prefix=PREFIX install architecture-independent files in PREFIX
2310 [$ac_default_prefix]
2311 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2312 [PREFIX]
2314 By default, \`make install' will install all the files in
2315 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2316 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2317 for instance \`--prefix=\$HOME'.
2319 For better control, use the options below.
2321 Fine tuning of the installation directories:
2322 --bindir=DIR user executables [EPREFIX/bin]
2323 --sbindir=DIR system admin executables [EPREFIX/sbin]
2324 --libexecdir=DIR program executables [EPREFIX/libexec]
2325 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2326 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2327 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2328 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2329 --libdir=DIR object code libraries [EPREFIX/lib]
2330 --includedir=DIR C header files [PREFIX/include]
2331 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2332 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2333 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2334 --infodir=DIR info documentation [DATAROOTDIR/info]
2335 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2336 --mandir=DIR man documentation [DATAROOTDIR/man]
2337 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2338 --htmldir=DIR html documentation [DOCDIR]
2339 --dvidir=DIR dvi documentation [DOCDIR]
2340 --pdfdir=DIR pdf documentation [DOCDIR]
2341 --psdir=DIR ps documentation [DOCDIR]
2342 _ACEOF
2344 cat <<\_ACEOF
2346 X features:
2347 --x-includes=DIR X include files are in DIR
2348 --x-libraries=DIR X library files are in DIR
2350 System types:
2351 --build=BUILD configure for building on BUILD [guessed]
2352 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2353 _ACEOF
2356 if test -n "$ac_init_help"; then
2357 case $ac_init_help in
2358 short | recursive ) echo "Configuration of Wine 7.9:";;
2359 esac
2360 cat <<\_ACEOF
2362 Optional Features:
2363 --disable-option-checking ignore unrecognized --enable/--with options
2364 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2365 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2366 --disable-win16 do not include Win16 support
2367 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2368 binaries)
2369 --disable-tests do not build the regression tests
2370 --enable-build-id include .buildid section in output objects
2371 --enable-maintainer-mode
2372 enable maintainer-specific build rules
2373 --enable-silent-rules use silent build rules (override: "make V=1")
2374 --enable-werror treat compilation warnings as errors
2375 --disable-largefile omit support for large files
2377 Optional Packages:
2378 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2379 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2380 --without-alsa do not use the Alsa sound support
2381 --without-capi do not use CAPI (ISDN support)
2382 --without-coreaudio do not use the CoreAudio sound support
2383 --without-cups do not use CUPS
2384 --without-dbus do not use DBus (dynamic device support)
2385 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2386 --without-fontconfig do not use fontconfig
2387 --without-freetype do not use the FreeType library
2388 --without-gettext do not use gettext
2389 --with-gettextpo use the GetTextPO library to rebuild po files
2390 --without-gphoto do not use gphoto (Digital Camera support)
2391 --without-gnutls do not use GnuTLS (schannel support)
2392 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2393 --without-gstreamer do not use GStreamer (codecs support)
2394 --without-inotify do not use inotify (filesystem change notifications)
2395 --without-krb5 do not use krb5 (Kerberos)
2396 --without-ldap do not use LDAP
2397 --without-mingw do not use the MinGW cross-compiler
2398 --without-netapi do not use the Samba NetAPI library
2399 --without-openal do not use OpenAL
2400 --without-opencl do not use OpenCL
2401 --without-opengl do not use OpenGL
2402 --without-osmesa do not use the OSMesa library
2403 --without-oss do not use the OSS sound support
2404 --without-pcap do not use the Packet Capture library
2405 --without-pthread do not use the pthread library
2406 --without-pulse do not use PulseAudio sound support
2407 --without-sane do not use SANE (scanner support)
2408 --without-sdl do not use SDL
2409 --without-udev do not use udev (plug and play support)
2410 --without-unwind do not use the libunwind library (exception
2411 handling)
2412 --without-usb do not use the libusb library
2413 --without-v4l2 do not use v4l2 (video capture)
2414 --without-vulkan do not use Vulkan
2415 --without-xcomposite do not use the Xcomposite extension
2416 --without-xcursor do not use the Xcursor extension
2417 --without-xfixes do not use Xfixes for clipboard change notifications
2418 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2419 --without-xinput do not use the Xinput extension
2420 --without-xinput2 do not use the Xinput 2 extension
2421 --without-xrandr do not use Xrandr (multi-monitor support)
2422 --without-xrender do not use the Xrender extension
2423 --without-xshape do not use the Xshape extension
2424 --without-xshm do not use XShm (shared memory extension)
2425 --without-xxf86vm do not use XFree video mode extension
2426 --with-system-dllpath=PATH
2427 load external PE dependencies from colon-separated
2428 path PATH
2429 --with-wine-tools=DIR use Wine tools from directory DIR
2430 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2431 --with-x use the X Window System
2433 Some influential environment variables:
2434 CC C compiler command
2435 CFLAGS C compiler flags
2436 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2437 nonstandard directory <lib dir>
2438 LIBS libraries to pass to the linker, e.g. -l<library>
2439 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2440 you have headers in a nonstandard directory <include dir>
2441 CXX C++ compiler command
2442 CXXFLAGS C++ compiler flags
2443 OBJC Objective C compiler command
2444 OBJCFLAGS Objective C compiler flags
2445 FAUDIO_PE_CFLAGS
2446 C compiler flags for the PE faudio, overriding the bundled
2447 version
2448 FAUDIO_PE_LIBS
2449 Linker flags for the PE faudio, overriding the bundled version
2450 GSM_PE_CFLAGS
2451 C compiler flags for the PE gsm, overriding the bundled version
2452 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2453 JPEG_PE_CFLAGS
2454 C compiler flags for the PE jpeg, overriding the bundled version
2455 JPEG_PE_LIBS
2456 Linker flags for the PE jpeg, overriding the bundled version
2457 JXR_PE_CFLAGS
2458 C compiler flags for the PE jxr, overriding the bundled version
2459 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2460 LCMS2_PE_CFLAGS
2461 C compiler flags for the PE lcms2, overriding the bundled
2462 version
2463 LCMS2_PE_LIBS
2464 Linker flags for the PE lcms2, overriding the bundled version
2465 MPG123_PE_CFLAGS
2466 C compiler flags for the PE mpg123, overriding the bundled
2467 version
2468 MPG123_PE_LIBS
2469 Linker flags for the PE mpg123, overriding the bundled version
2470 PNG_PE_CFLAGS
2471 C compiler flags for the PE png, overriding the bundled version
2472 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2473 TIFF_PE_CFLAGS
2474 C compiler flags for the PE tiff, overriding the bundled version
2475 TIFF_PE_LIBS
2476 Linker flags for the PE tiff, overriding the bundled version
2477 VKD3D_PE_CFLAGS
2478 C compiler flags for the PE vkd3d, overriding the bundled
2479 version
2480 VKD3D_PE_LIBS
2481 Linker flags for the PE vkd3d, overriding the bundled version
2482 XML2_PE_CFLAGS
2483 C compiler flags for the PE xml2, overriding the bundled version
2484 XML2_PE_LIBS
2485 Linker flags for the PE xml2, overriding the bundled version
2486 XSLT_PE_CFLAGS
2487 C compiler flags for the PE xslt, overriding the bundled version
2488 XSLT_PE_LIBS
2489 Linker flags for the PE xslt, overriding the bundled version
2490 ZLIB_PE_CFLAGS
2491 C compiler flags for the PE zlib, overriding the bundled version
2492 ZLIB_PE_LIBS
2493 Linker flags for the PE zlib, overriding the bundled version
2494 XMKMF Path to xmkmf, Makefile generator for X Window System
2495 CPP C preprocessor
2496 INOTIFY_CFLAGS
2497 C compiler flags for libinotify, overriding pkg-config
2498 INOTIFY_LIBS
2499 Linker flags for libinotify, overriding pkg-config
2500 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2501 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2502 GNUTLS_CFLAGS
2503 C compiler flags for gnutls, overriding pkg-config
2504 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2505 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2506 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2507 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2508 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2509 GPHOTO2_CFLAGS
2510 C compiler flags for libgphoto2, overriding pkg-config
2511 GPHOTO2_LIBS
2512 Linker flags for libgphoto2, overriding pkg-config
2513 GPHOTO2_PORT_CFLAGS
2514 C compiler flags for libgphoto2_port, overriding pkg-config
2515 GPHOTO2_PORT_LIBS
2516 Linker flags for libgphoto2_port, overriding pkg-config
2517 FREETYPE_CFLAGS
2518 C compiler flags for freetype2, overriding pkg-config
2519 FREETYPE_LIBS
2520 Linker flags for freetype2, overriding pkg-config
2521 PULSE_CFLAGS
2522 C compiler flags for libpulse, overriding pkg-config
2523 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2524 GSTREAMER_CFLAGS
2525 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2526 gstreamer-audio-1.0, overriding pkg-config
2527 GSTREAMER_LIBS
2528 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2529 gstreamer-audio-1.0, overriding pkg-config
2530 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2531 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2532 UNWIND_CFLAGS
2533 C compiler flags for libunwind, overriding pkg-config
2534 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2535 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2536 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2537 CAPI20_CFLAGS
2538 C compiler flags for capi20, overriding pkg-config
2539 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2540 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2541 CUPS_LIBS Linker flags for cups, overriding pkg-config
2542 FONTCONFIG_CFLAGS
2543 C compiler flags for fontconfig, overriding pkg-config
2544 FONTCONFIG_LIBS
2545 Linker flags for fontconfig, overriding pkg-config
2546 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2547 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2548 GSSAPI_CFLAGS
2549 C compiler flags for krb5-gssapi, overriding pkg-config
2550 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2551 NETAPI_CFLAGS
2552 C compiler flags for netapi, overriding pkg-config
2553 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2554 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2555 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2557 Use these variables to override the choices made by `configure' or to help
2558 it to find libraries and programs with nonstandard names/locations.
2560 Report bugs to <wine-devel@winehq.org>.
2561 Wine home page: <https://www.winehq.org>.
2562 _ACEOF
2563 ac_status=$?
2566 if test "$ac_init_help" = "recursive"; then
2567 # If there are subdirs, report their specific --help.
2568 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2569 test -d "$ac_dir" ||
2570 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2571 continue
2572 ac_builddir=.
2574 case "$ac_dir" in
2575 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2577 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2578 # A ".." for each directory in $ac_dir_suffix.
2579 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2580 case $ac_top_builddir_sub in
2581 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2582 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2583 esac ;;
2584 esac
2585 ac_abs_top_builddir=$ac_pwd
2586 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2587 # for backward compatibility:
2588 ac_top_builddir=$ac_top_build_prefix
2590 case $srcdir in
2591 .) # We are building in place.
2592 ac_srcdir=.
2593 ac_top_srcdir=$ac_top_builddir_sub
2594 ac_abs_top_srcdir=$ac_pwd ;;
2595 [\\/]* | ?:[\\/]* ) # Absolute name.
2596 ac_srcdir=$srcdir$ac_dir_suffix;
2597 ac_top_srcdir=$srcdir
2598 ac_abs_top_srcdir=$srcdir ;;
2599 *) # Relative name.
2600 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2601 ac_top_srcdir=$ac_top_build_prefix$srcdir
2602 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2603 esac
2604 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2606 cd "$ac_dir" || { ac_status=$?; continue; }
2607 # Check for configure.gnu first; this name is used for a wrapper for
2608 # Metaconfig's "Configure" on case-insensitive file systems.
2609 if test -f "$ac_srcdir/configure.gnu"; then
2610 echo &&
2611 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2612 elif test -f "$ac_srcdir/configure"; then
2613 echo &&
2614 $SHELL "$ac_srcdir/configure" --help=recursive
2615 else
2616 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2617 fi || ac_status=$?
2618 cd "$ac_pwd" || { ac_status=$?; break; }
2619 done
2622 test -n "$ac_init_help" && exit $ac_status
2623 if $ac_init_version; then
2624 cat <<\_ACEOF
2625 Wine configure 7.9
2626 generated by GNU Autoconf 2.71
2628 Copyright (C) 2021 Free Software Foundation, Inc.
2629 This configure script is free software; the Free Software Foundation
2630 gives unlimited permission to copy, distribute and modify it.
2631 _ACEOF
2632 exit
2635 ## ------------------------ ##
2636 ## Autoconf initialization. ##
2637 ## ------------------------ ##
2639 # ac_fn_c_try_compile LINENO
2640 # --------------------------
2641 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2642 ac_fn_c_try_compile ()
2644 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2645 rm -f conftest.$ac_objext conftest.beam
2646 if { { ac_try="$ac_compile"
2647 case "(($ac_try" in
2648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2649 *) ac_try_echo=$ac_try;;
2650 esac
2651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2652 printf "%s\n" "$ac_try_echo"; } >&5
2653 (eval "$ac_compile") 2>conftest.err
2654 ac_status=$?
2655 if test -s conftest.err; then
2656 grep -v '^ *+' conftest.err >conftest.er1
2657 cat conftest.er1 >&5
2658 mv -f conftest.er1 conftest.err
2660 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2661 test $ac_status = 0; } && {
2662 test -z "$ac_c_werror_flag" ||
2663 test ! -s conftest.err
2664 } && test -s conftest.$ac_objext
2665 then :
2666 ac_retval=0
2667 else $as_nop
2668 printf "%s\n" "$as_me: failed program was:" >&5
2669 sed 's/^/| /' conftest.$ac_ext >&5
2671 ac_retval=1
2673 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2674 as_fn_set_status $ac_retval
2676 } # ac_fn_c_try_compile
2678 # ac_fn_cxx_try_compile LINENO
2679 # ----------------------------
2680 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2681 ac_fn_cxx_try_compile ()
2683 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2684 rm -f conftest.$ac_objext conftest.beam
2685 if { { ac_try="$ac_compile"
2686 case "(($ac_try" in
2687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2688 *) ac_try_echo=$ac_try;;
2689 esac
2690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2691 printf "%s\n" "$ac_try_echo"; } >&5
2692 (eval "$ac_compile") 2>conftest.err
2693 ac_status=$?
2694 if test -s conftest.err; then
2695 grep -v '^ *+' conftest.err >conftest.er1
2696 cat conftest.er1 >&5
2697 mv -f conftest.er1 conftest.err
2699 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2700 test $ac_status = 0; } && {
2701 test -z "$ac_cxx_werror_flag" ||
2702 test ! -s conftest.err
2703 } && test -s conftest.$ac_objext
2704 then :
2705 ac_retval=0
2706 else $as_nop
2707 printf "%s\n" "$as_me: failed program was:" >&5
2708 sed 's/^/| /' conftest.$ac_ext >&5
2710 ac_retval=1
2712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2713 as_fn_set_status $ac_retval
2715 } # ac_fn_cxx_try_compile
2717 # ac_fn_c_try_link LINENO
2718 # -----------------------
2719 # Try to link conftest.$ac_ext, and return whether this succeeded.
2720 ac_fn_c_try_link ()
2722 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2723 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2724 if { { ac_try="$ac_link"
2725 case "(($ac_try" in
2726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2727 *) ac_try_echo=$ac_try;;
2728 esac
2729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2730 printf "%s\n" "$ac_try_echo"; } >&5
2731 (eval "$ac_link") 2>conftest.err
2732 ac_status=$?
2733 if test -s conftest.err; then
2734 grep -v '^ *+' conftest.err >conftest.er1
2735 cat conftest.er1 >&5
2736 mv -f conftest.er1 conftest.err
2738 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2739 test $ac_status = 0; } && {
2740 test -z "$ac_c_werror_flag" ||
2741 test ! -s conftest.err
2742 } && test -s conftest$ac_exeext && {
2743 test "$cross_compiling" = yes ||
2744 test -x conftest$ac_exeext
2746 then :
2747 ac_retval=0
2748 else $as_nop
2749 printf "%s\n" "$as_me: failed program was:" >&5
2750 sed 's/^/| /' conftest.$ac_ext >&5
2752 ac_retval=1
2754 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2755 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2756 # interfere with the next link command; also delete a directory that is
2757 # left behind by Apple's compiler. We do this before executing the actions.
2758 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2759 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2760 as_fn_set_status $ac_retval
2762 } # ac_fn_c_try_link
2764 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2765 # -------------------------------------------------------
2766 # Tests whether HEADER exists and can be compiled using the include files in
2767 # INCLUDES, setting the cache variable VAR accordingly.
2768 ac_fn_c_check_header_compile ()
2770 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2772 printf %s "checking for $2... " >&6; }
2773 if eval test \${$3+y}
2774 then :
2775 printf %s "(cached) " >&6
2776 else $as_nop
2777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2778 /* end confdefs.h. */
2780 #include <$2>
2781 _ACEOF
2782 if ac_fn_c_try_compile "$LINENO"
2783 then :
2784 eval "$3=yes"
2785 else $as_nop
2786 eval "$3=no"
2788 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2790 eval ac_res=\$$3
2791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2792 printf "%s\n" "$ac_res" >&6; }
2793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2795 } # ac_fn_c_check_header_compile
2797 # ac_fn_objc_try_compile LINENO
2798 # -----------------------------
2799 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2800 ac_fn_objc_try_compile ()
2802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2803 rm -f conftest.$ac_objext conftest.beam
2804 if { { ac_try="$ac_compile"
2805 case "(($ac_try" in
2806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2807 *) ac_try_echo=$ac_try;;
2808 esac
2809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2810 printf "%s\n" "$ac_try_echo"; } >&5
2811 (eval "$ac_compile") 2>conftest.err
2812 ac_status=$?
2813 if test -s conftest.err; then
2814 grep -v '^ *+' conftest.err >conftest.er1
2815 cat conftest.er1 >&5
2816 mv -f conftest.er1 conftest.err
2818 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2819 test $ac_status = 0; } && {
2820 test -z "$ac_objc_werror_flag" ||
2821 test ! -s conftest.err
2822 } && test -s conftest.$ac_objext
2823 then :
2824 ac_retval=0
2825 else $as_nop
2826 printf "%s\n" "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2829 ac_retval=1
2831 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2832 as_fn_set_status $ac_retval
2834 } # ac_fn_objc_try_compile
2836 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
2837 # ----------------------------------------------------------
2838 # Tests whether HEADER exists and can be compiled using the include files in
2839 # INCLUDES, setting the cache variable VAR accordingly.
2840 ac_fn_objc_check_header_compile ()
2842 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2844 printf %s "checking for $2... " >&6; }
2845 if eval test \${$3+y}
2846 then :
2847 printf %s "(cached) " >&6
2848 else $as_nop
2849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2850 /* end confdefs.h. */
2852 #include <$2>
2853 _ACEOF
2854 if ac_fn_objc_try_compile "$LINENO"
2855 then :
2856 eval "$3=yes"
2857 else $as_nop
2858 eval "$3=no"
2860 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2862 eval ac_res=\$$3
2863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2864 printf "%s\n" "$ac_res" >&6; }
2865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2867 } # ac_fn_objc_check_header_compile
2869 # ac_fn_c_check_func LINENO FUNC VAR
2870 # ----------------------------------
2871 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2872 ac_fn_c_check_func ()
2874 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2876 printf %s "checking for $2... " >&6; }
2877 if eval test \${$3+y}
2878 then :
2879 printf %s "(cached) " >&6
2880 else $as_nop
2881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2882 /* end confdefs.h. */
2883 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2885 #define $2 innocuous_$2
2887 /* System header to define __stub macros and hopefully few prototypes,
2888 which can conflict with char $2 (); below. */
2890 #include <limits.h>
2891 #undef $2
2893 /* Override any GCC internal prototype to avoid an error.
2894 Use char because int might match the return type of a GCC
2895 builtin and then its argument prototype would still apply. */
2896 #ifdef __cplusplus
2897 extern "C"
2898 #endif
2899 char $2 ();
2900 /* The GNU C library defines this for functions which it implements
2901 to always fail with ENOSYS. Some functions are actually named
2902 something starting with __ and the normal name is an alias. */
2903 #if defined __stub_$2 || defined __stub___$2
2904 choke me
2905 #endif
2908 main (void)
2910 return $2 ();
2912 return 0;
2914 _ACEOF
2915 if ac_fn_c_try_link "$LINENO"
2916 then :
2917 eval "$3=yes"
2918 else $as_nop
2919 eval "$3=no"
2921 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2922 conftest$ac_exeext conftest.$ac_ext
2924 eval ac_res=\$$3
2925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2926 printf "%s\n" "$ac_res" >&6; }
2927 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2929 } # ac_fn_c_check_func
2931 # ac_fn_c_try_cpp LINENO
2932 # ----------------------
2933 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2934 ac_fn_c_try_cpp ()
2936 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2937 if { { ac_try="$ac_cpp conftest.$ac_ext"
2938 case "(($ac_try" in
2939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2940 *) ac_try_echo=$ac_try;;
2941 esac
2942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2943 printf "%s\n" "$ac_try_echo"; } >&5
2944 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2945 ac_status=$?
2946 if test -s conftest.err; then
2947 grep -v '^ *+' conftest.err >conftest.er1
2948 cat conftest.er1 >&5
2949 mv -f conftest.er1 conftest.err
2951 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2952 test $ac_status = 0; } > conftest.i && {
2953 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2954 test ! -s conftest.err
2956 then :
2957 ac_retval=0
2958 else $as_nop
2959 printf "%s\n" "$as_me: failed program was:" >&5
2960 sed 's/^/| /' conftest.$ac_ext >&5
2962 ac_retval=1
2964 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2965 as_fn_set_status $ac_retval
2967 } # ac_fn_c_try_cpp
2969 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2970 # ----------------------------------------------------
2971 # Tries to find if the field MEMBER exists in type AGGR, after including
2972 # INCLUDES, setting cache variable VAR accordingly.
2973 ac_fn_c_check_member ()
2975 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2977 printf %s "checking for $2.$3... " >&6; }
2978 if eval test \${$4+y}
2979 then :
2980 printf %s "(cached) " >&6
2981 else $as_nop
2982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2983 /* end confdefs.h. */
2986 main (void)
2988 static $2 ac_aggr;
2989 if (ac_aggr.$3)
2990 return 0;
2992 return 0;
2994 _ACEOF
2995 if ac_fn_c_try_compile "$LINENO"
2996 then :
2997 eval "$4=yes"
2998 else $as_nop
2999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3000 /* end confdefs.h. */
3003 main (void)
3005 static $2 ac_aggr;
3006 if (sizeof ac_aggr.$3)
3007 return 0;
3009 return 0;
3011 _ACEOF
3012 if ac_fn_c_try_compile "$LINENO"
3013 then :
3014 eval "$4=yes"
3015 else $as_nop
3016 eval "$4=no"
3018 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3020 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3022 eval ac_res=\$$4
3023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3024 printf "%s\n" "$ac_res" >&6; }
3025 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3027 } # ac_fn_c_check_member
3029 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3030 # -------------------------------------------
3031 # Tests whether TYPE exists after having included INCLUDES, setting cache
3032 # variable VAR accordingly.
3033 ac_fn_c_check_type ()
3035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3037 printf %s "checking for $2... " >&6; }
3038 if eval test \${$3+y}
3039 then :
3040 printf %s "(cached) " >&6
3041 else $as_nop
3042 eval "$3=no"
3043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3044 /* end confdefs.h. */
3047 main (void)
3049 if (sizeof ($2))
3050 return 0;
3052 return 0;
3054 _ACEOF
3055 if ac_fn_c_try_compile "$LINENO"
3056 then :
3057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3058 /* end confdefs.h. */
3061 main (void)
3063 if (sizeof (($2)))
3064 return 0;
3066 return 0;
3068 _ACEOF
3069 if ac_fn_c_try_compile "$LINENO"
3070 then :
3072 else $as_nop
3073 eval "$3=yes"
3075 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3077 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3079 eval ac_res=\$$3
3080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3081 printf "%s\n" "$ac_res" >&6; }
3082 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3084 } # ac_fn_c_check_type
3085 ac_configure_args_raw=
3086 for ac_arg
3088 case $ac_arg in
3089 *\'*)
3090 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3091 esac
3092 as_fn_append ac_configure_args_raw " '$ac_arg'"
3093 done
3095 case $ac_configure_args_raw in
3096 *$as_nl*)
3097 ac_safe_unquote= ;;
3099 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3100 ac_unsafe_a="$ac_unsafe_z#~"
3101 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3102 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3103 esac
3105 cat >config.log <<_ACEOF
3106 This file contains any messages produced by compilers while
3107 running configure, to aid debugging if configure makes a mistake.
3109 It was created by Wine $as_me 7.9, which was
3110 generated by GNU Autoconf 2.71. Invocation command line was
3112 $ $0$ac_configure_args_raw
3114 _ACEOF
3115 exec 5>>config.log
3117 cat <<_ASUNAME
3118 ## --------- ##
3119 ## Platform. ##
3120 ## --------- ##
3122 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3123 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3124 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3125 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3126 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3128 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3129 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3131 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3132 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3133 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3134 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3135 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3136 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3137 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3139 _ASUNAME
3141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3142 for as_dir in $PATH
3144 IFS=$as_save_IFS
3145 case $as_dir in #(((
3146 '') as_dir=./ ;;
3147 */) ;;
3148 *) as_dir=$as_dir/ ;;
3149 esac
3150 printf "%s\n" "PATH: $as_dir"
3151 done
3152 IFS=$as_save_IFS
3154 } >&5
3156 cat >&5 <<_ACEOF
3159 ## ----------- ##
3160 ## Core tests. ##
3161 ## ----------- ##
3163 _ACEOF
3166 # Keep a trace of the command line.
3167 # Strip out --no-create and --no-recursion so they do not pile up.
3168 # Strip out --silent because we don't want to record it for future runs.
3169 # Also quote any args containing shell meta-characters.
3170 # Make two passes to allow for proper duplicate-argument suppression.
3171 ac_configure_args=
3172 ac_configure_args0=
3173 ac_configure_args1=
3174 ac_must_keep_next=false
3175 for ac_pass in 1 2
3177 for ac_arg
3179 case $ac_arg in
3180 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3181 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3182 | -silent | --silent | --silen | --sile | --sil)
3183 continue ;;
3184 *\'*)
3185 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3186 esac
3187 case $ac_pass in
3188 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3190 as_fn_append ac_configure_args1 " '$ac_arg'"
3191 if test $ac_must_keep_next = true; then
3192 ac_must_keep_next=false # Got value, back to normal.
3193 else
3194 case $ac_arg in
3195 *=* | --config-cache | -C | -disable-* | --disable-* \
3196 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3197 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3198 | -with-* | --with-* | -without-* | --without-* | --x)
3199 case "$ac_configure_args0 " in
3200 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3201 esac
3203 -* ) ac_must_keep_next=true ;;
3204 esac
3206 as_fn_append ac_configure_args " '$ac_arg'"
3208 esac
3209 done
3210 done
3211 { ac_configure_args0=; unset ac_configure_args0;}
3212 { ac_configure_args1=; unset ac_configure_args1;}
3214 # When interrupted or exit'd, cleanup temporary files, and complete
3215 # config.log. We remove comments because anyway the quotes in there
3216 # would cause problems or look ugly.
3217 # WARNING: Use '\'' to represent an apostrophe within the trap.
3218 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3219 trap 'exit_status=$?
3220 # Sanitize IFS.
3221 IFS=" "" $as_nl"
3222 # Save into config.log some information that might help in debugging.
3224 echo
3226 printf "%s\n" "## ---------------- ##
3227 ## Cache variables. ##
3228 ## ---------------- ##"
3229 echo
3230 # The following way of writing the cache mishandles newlines in values,
3232 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3233 eval ac_val=\$$ac_var
3234 case $ac_val in #(
3235 *${as_nl}*)
3236 case $ac_var in #(
3237 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3238 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3239 esac
3240 case $ac_var in #(
3241 _ | IFS | as_nl) ;; #(
3242 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3243 *) { eval $ac_var=; unset $ac_var;} ;;
3244 esac ;;
3245 esac
3246 done
3247 (set) 2>&1 |
3248 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3249 *${as_nl}ac_space=\ *)
3250 sed -n \
3251 "s/'\''/'\''\\\\'\'''\''/g;
3252 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3253 ;; #(
3255 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3257 esac |
3258 sort
3260 echo
3262 printf "%s\n" "## ----------------- ##
3263 ## Output variables. ##
3264 ## ----------------- ##"
3265 echo
3266 for ac_var in $ac_subst_vars
3268 eval ac_val=\$$ac_var
3269 case $ac_val in
3270 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3271 esac
3272 printf "%s\n" "$ac_var='\''$ac_val'\''"
3273 done | sort
3274 echo
3276 if test -n "$ac_subst_files"; then
3277 printf "%s\n" "## ------------------- ##
3278 ## File substitutions. ##
3279 ## ------------------- ##"
3280 echo
3281 for ac_var in $ac_subst_files
3283 eval ac_val=\$$ac_var
3284 case $ac_val in
3285 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3286 esac
3287 printf "%s\n" "$ac_var='\''$ac_val'\''"
3288 done | sort
3289 echo
3292 if test -s confdefs.h; then
3293 printf "%s\n" "## ----------- ##
3294 ## confdefs.h. ##
3295 ## ----------- ##"
3296 echo
3297 cat confdefs.h
3298 echo
3300 test "$ac_signal" != 0 &&
3301 printf "%s\n" "$as_me: caught signal $ac_signal"
3302 printf "%s\n" "$as_me: exit $exit_status"
3303 } >&5
3304 rm -f core *.core core.conftest.* &&
3305 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3306 exit $exit_status
3308 for ac_signal in 1 2 13 15; do
3309 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3310 done
3311 ac_signal=0
3313 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3314 rm -f -r conftest* confdefs.h
3316 printf "%s\n" "/* confdefs.h */" > confdefs.h
3318 # Predefined preprocessor variables.
3320 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3322 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3324 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3326 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3328 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3330 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3333 # Let the site file select an alternate cache file if it wants to.
3334 # Prefer an explicitly selected file to automatically selected ones.
3335 if test -n "$CONFIG_SITE"; then
3336 ac_site_files="$CONFIG_SITE"
3337 elif test "x$prefix" != xNONE; then
3338 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3339 else
3340 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3343 for ac_site_file in $ac_site_files
3345 case $ac_site_file in #(
3346 */*) :
3347 ;; #(
3348 *) :
3349 ac_site_file=./$ac_site_file ;;
3350 esac
3351 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3353 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3354 sed 's/^/| /' "$ac_site_file" >&5
3355 . "$ac_site_file" \
3356 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3357 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3358 as_fn_error $? "failed to load site script $ac_site_file
3359 See \`config.log' for more details" "$LINENO" 5; }
3361 done
3363 if test -r "$cache_file"; then
3364 # Some versions of bash will fail to source /dev/null (special files
3365 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3366 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3368 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3369 case $cache_file in
3370 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3371 *) . "./$cache_file";;
3372 esac
3374 else
3375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3376 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3377 >$cache_file
3380 # Test code for whether the C compiler supports C89 (global declarations)
3381 ac_c_conftest_c89_globals='
3382 /* Does the compiler advertise C89 conformance?
3383 Do not test the value of __STDC__, because some compilers set it to 0
3384 while being otherwise adequately conformant. */
3385 #if !defined __STDC__
3386 # error "Compiler does not advertise C89 conformance"
3387 #endif
3389 #include <stddef.h>
3390 #include <stdarg.h>
3391 struct stat;
3392 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3393 struct buf { int x; };
3394 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3395 static char *e (p, i)
3396 char **p;
3397 int i;
3399 return p[i];
3401 static char *f (char * (*g) (char **, int), char **p, ...)
3403 char *s;
3404 va_list v;
3405 va_start (v,p);
3406 s = g (p, va_arg (v,int));
3407 va_end (v);
3408 return s;
3411 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3412 function prototypes and stuff, but not \xHH hex character constants.
3413 These do not provoke an error unfortunately, instead are silently treated
3414 as an "x". The following induces an error, until -std is added to get
3415 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3416 array size at least. It is necessary to write \x00 == 0 to get something
3417 that is true only with -std. */
3418 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3420 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3421 inside strings and character constants. */
3422 #define FOO(x) '\''x'\''
3423 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3425 int test (int i, double x);
3426 struct s1 {int (*f) (int a);};
3427 struct s2 {int (*f) (double a);};
3428 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3429 int, int);'
3431 # Test code for whether the C compiler supports C89 (body of main).
3432 ac_c_conftest_c89_main='
3433 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3436 # Test code for whether the C compiler supports C99 (global declarations)
3437 ac_c_conftest_c99_globals='
3438 // Does the compiler advertise C99 conformance?
3439 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3440 # error "Compiler does not advertise C99 conformance"
3441 #endif
3443 #include <stdbool.h>
3444 extern int puts (const char *);
3445 extern int printf (const char *, ...);
3446 extern int dprintf (int, const char *, ...);
3447 extern void *malloc (size_t);
3449 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3450 // dprintf is used instead of fprintf to avoid needing to declare
3451 // FILE and stderr.
3452 #define debug(...) dprintf (2, __VA_ARGS__)
3453 #define showlist(...) puts (#__VA_ARGS__)
3454 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3455 static void
3456 test_varargs_macros (void)
3458 int x = 1234;
3459 int y = 5678;
3460 debug ("Flag");
3461 debug ("X = %d\n", x);
3462 showlist (The first, second, and third items.);
3463 report (x>y, "x is %d but y is %d", x, y);
3466 // Check long long types.
3467 #define BIG64 18446744073709551615ull
3468 #define BIG32 4294967295ul
3469 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3470 #if !BIG_OK
3471 #error "your preprocessor is broken"
3472 #endif
3473 #if BIG_OK
3474 #else
3475 #error "your preprocessor is broken"
3476 #endif
3477 static long long int bignum = -9223372036854775807LL;
3478 static unsigned long long int ubignum = BIG64;
3480 struct incomplete_array
3482 int datasize;
3483 double data[];
3486 struct named_init {
3487 int number;
3488 const wchar_t *name;
3489 double average;
3492 typedef const char *ccp;
3494 static inline int
3495 test_restrict (ccp restrict text)
3497 // See if C++-style comments work.
3498 // Iterate through items via the restricted pointer.
3499 // Also check for declarations in for loops.
3500 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3501 continue;
3502 return 0;
3505 // Check varargs and va_copy.
3506 static bool
3507 test_varargs (const char *format, ...)
3509 va_list args;
3510 va_start (args, format);
3511 va_list args_copy;
3512 va_copy (args_copy, args);
3514 const char *str = "";
3515 int number = 0;
3516 float fnumber = 0;
3518 while (*format)
3520 switch (*format++)
3522 case '\''s'\'': // string
3523 str = va_arg (args_copy, const char *);
3524 break;
3525 case '\''d'\'': // int
3526 number = va_arg (args_copy, int);
3527 break;
3528 case '\''f'\'': // float
3529 fnumber = va_arg (args_copy, double);
3530 break;
3531 default:
3532 break;
3535 va_end (args_copy);
3536 va_end (args);
3538 return *str && number && fnumber;
3542 # Test code for whether the C compiler supports C99 (body of main).
3543 ac_c_conftest_c99_main='
3544 // Check bool.
3545 _Bool success = false;
3546 success |= (argc != 0);
3548 // Check restrict.
3549 if (test_restrict ("String literal") == 0)
3550 success = true;
3551 char *restrict newvar = "Another string";
3553 // Check varargs.
3554 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3555 test_varargs_macros ();
3557 // Check flexible array members.
3558 struct incomplete_array *ia =
3559 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3560 ia->datasize = 10;
3561 for (int i = 0; i < ia->datasize; ++i)
3562 ia->data[i] = i * 1.234;
3564 // Check named initializers.
3565 struct named_init ni = {
3566 .number = 34,
3567 .name = L"Test wide string",
3568 .average = 543.34343,
3571 ni.number = 58;
3573 int dynamic_array[ni.number];
3574 dynamic_array[0] = argv[0][0];
3575 dynamic_array[ni.number - 1] = 543;
3577 // work around unused variable warnings
3578 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3579 || dynamic_array[ni.number - 1] != 543);
3582 # Test code for whether the C compiler supports C11 (global declarations)
3583 ac_c_conftest_c11_globals='
3584 // Does the compiler advertise C11 conformance?
3585 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3586 # error "Compiler does not advertise C11 conformance"
3587 #endif
3589 // Check _Alignas.
3590 char _Alignas (double) aligned_as_double;
3591 char _Alignas (0) no_special_alignment;
3592 extern char aligned_as_int;
3593 char _Alignas (0) _Alignas (int) aligned_as_int;
3595 // Check _Alignof.
3596 enum
3598 int_alignment = _Alignof (int),
3599 int_array_alignment = _Alignof (int[100]),
3600 char_alignment = _Alignof (char)
3602 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3604 // Check _Noreturn.
3605 int _Noreturn does_not_return (void) { for (;;) continue; }
3607 // Check _Static_assert.
3608 struct test_static_assert
3610 int x;
3611 _Static_assert (sizeof (int) <= sizeof (long int),
3612 "_Static_assert does not work in struct");
3613 long int y;
3616 // Check UTF-8 literals.
3617 #define u8 syntax error!
3618 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3620 // Check duplicate typedefs.
3621 typedef long *long_ptr;
3622 typedef long int *long_ptr;
3623 typedef long_ptr long_ptr;
3625 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3626 struct anonymous
3628 union {
3629 struct { int i; int j; };
3630 struct { int k; long int l; } w;
3632 int m;
3633 } v1;
3636 # Test code for whether the C compiler supports C11 (body of main).
3637 ac_c_conftest_c11_main='
3638 _Static_assert ((offsetof (struct anonymous, i)
3639 == offsetof (struct anonymous, w.k)),
3640 "Anonymous union alignment botch");
3641 v1.i = 2;
3642 v1.w.k = 5;
3643 ok |= v1.i != 5;
3646 # Test code for whether the C compiler supports C11 (complete).
3647 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3648 ${ac_c_conftest_c99_globals}
3649 ${ac_c_conftest_c11_globals}
3652 main (int argc, char **argv)
3654 int ok = 0;
3655 ${ac_c_conftest_c89_main}
3656 ${ac_c_conftest_c99_main}
3657 ${ac_c_conftest_c11_main}
3658 return ok;
3662 # Test code for whether the C compiler supports C99 (complete).
3663 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3664 ${ac_c_conftest_c99_globals}
3667 main (int argc, char **argv)
3669 int ok = 0;
3670 ${ac_c_conftest_c89_main}
3671 ${ac_c_conftest_c99_main}
3672 return ok;
3676 # Test code for whether the C compiler supports C89 (complete).
3677 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3680 main (int argc, char **argv)
3682 int ok = 0;
3683 ${ac_c_conftest_c89_main}
3684 return ok;
3688 # Test code for whether the C++ compiler supports C++98 (global declarations)
3689 ac_cxx_conftest_cxx98_globals='
3690 // Does the compiler advertise C++98 conformance?
3691 #if !defined __cplusplus || __cplusplus < 199711L
3692 # error "Compiler does not advertise C++98 conformance"
3693 #endif
3695 // These inclusions are to reject old compilers that
3696 // lack the unsuffixed header files.
3697 #include <cstdlib>
3698 #include <exception>
3700 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3701 extern void assert (int);
3702 namespace std {
3703 extern int strcmp (const char *, const char *);
3706 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3707 using std::exception;
3708 using std::strcmp;
3710 namespace {
3712 void test_exception_syntax()
3714 try {
3715 throw "test";
3716 } catch (const char *s) {
3717 // Extra parentheses suppress a warning when building autoconf itself,
3718 // due to lint rules shared with more typical C programs.
3719 assert (!(strcmp) (s, "test"));
3723 template <typename T> struct test_template
3725 T const val;
3726 explicit test_template(T t) : val(t) {}
3727 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3730 } // anonymous namespace
3733 # Test code for whether the C++ compiler supports C++98 (body of main)
3734 ac_cxx_conftest_cxx98_main='
3735 assert (argc);
3736 assert (! argv[0]);
3738 test_exception_syntax ();
3739 test_template<double> tt (2.0);
3740 assert (tt.add (4) == 6.0);
3741 assert (true && !false);
3745 # Test code for whether the C++ compiler supports C++11 (global declarations)
3746 ac_cxx_conftest_cxx11_globals='
3747 // Does the compiler advertise C++ 2011 conformance?
3748 #if !defined __cplusplus || __cplusplus < 201103L
3749 # error "Compiler does not advertise C++11 conformance"
3750 #endif
3752 namespace cxx11test
3754 constexpr int get_val() { return 20; }
3756 struct testinit
3758 int i;
3759 double d;
3762 class delegate
3764 public:
3765 delegate(int n) : n(n) {}
3766 delegate(): delegate(2354) {}
3768 virtual int getval() { return this->n; };
3769 protected:
3770 int n;
3773 class overridden : public delegate
3775 public:
3776 overridden(int n): delegate(n) {}
3777 virtual int getval() override final { return this->n * 2; }
3780 class nocopy
3782 public:
3783 nocopy(int i): i(i) {}
3784 nocopy() = default;
3785 nocopy(const nocopy&) = delete;
3786 nocopy & operator=(const nocopy&) = delete;
3787 private:
3788 int i;
3791 // for testing lambda expressions
3792 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3794 return f(v);
3797 // for testing variadic templates and trailing return types
3798 template <typename V> auto sum(V first) -> V
3800 return first;
3802 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3804 return first + sum(rest...);
3809 # Test code for whether the C++ compiler supports C++11 (body of main)
3810 ac_cxx_conftest_cxx11_main='
3812 // Test auto and decltype
3813 auto a1 = 6538;
3814 auto a2 = 48573953.4;
3815 auto a3 = "String literal";
3817 int total = 0;
3818 for (auto i = a3; *i; ++i) { total += *i; }
3820 decltype(a2) a4 = 34895.034;
3823 // Test constexpr
3824 short sa[cxx11test::get_val()] = { 0 };
3827 // Test initializer lists
3828 cxx11test::testinit il = { 4323, 435234.23544 };
3831 // Test range-based for
3832 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3833 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3834 for (auto &x : array) { x += 23; }
3837 // Test lambda expressions
3838 using cxx11test::eval;
3839 assert (eval ([](int x) { return x*2; }, 21) == 42);
3840 double d = 2.0;
3841 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3842 assert (d == 5.0);
3843 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3844 assert (d == 5.0);
3847 // Test use of variadic templates
3848 using cxx11test::sum;
3849 auto a = sum(1);
3850 auto b = sum(1, 2);
3851 auto c = sum(1.0, 2.0, 3.0);
3854 // Test constructor delegation
3855 cxx11test::delegate d1;
3856 cxx11test::delegate d2();
3857 cxx11test::delegate d3(45);
3860 // Test override and final
3861 cxx11test::overridden o1(55464);
3864 // Test nullptr
3865 char *c = nullptr;
3868 // Test template brackets
3869 test_template<::test_template<int>> v(test_template<int>(12));
3872 // Unicode literals
3873 char const *utf8 = u8"UTF-8 string \u2500";
3874 char16_t const *utf16 = u"UTF-8 string \u2500";
3875 char32_t const *utf32 = U"UTF-32 string \u2500";
3879 # Test code for whether the C compiler supports C++11 (complete).
3880 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3881 ${ac_cxx_conftest_cxx11_globals}
3884 main (int argc, char **argv)
3886 int ok = 0;
3887 ${ac_cxx_conftest_cxx98_main}
3888 ${ac_cxx_conftest_cxx11_main}
3889 return ok;
3893 # Test code for whether the C compiler supports C++98 (complete).
3894 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3896 main (int argc, char **argv)
3898 int ok = 0;
3899 ${ac_cxx_conftest_cxx98_main}
3900 return ok;
3904 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3905 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3906 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3907 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3908 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3909 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3910 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3911 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3912 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3914 # Auxiliary files required by this configure script.
3915 ac_aux_files="config.guess config.sub"
3917 # Locations in which to look for auxiliary files.
3918 ac_aux_dir_candidates="${srcdir}/tools"
3920 # Search for a directory containing all of the required auxiliary files,
3921 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3922 # If we don't find one directory that contains all the files we need,
3923 # we report the set of missing files from the *first* directory in
3924 # $ac_aux_dir_candidates and give up.
3925 ac_missing_aux_files=""
3926 ac_first_candidate=:
3927 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3929 as_found=false
3930 for as_dir in $ac_aux_dir_candidates
3932 IFS=$as_save_IFS
3933 case $as_dir in #(((
3934 '') as_dir=./ ;;
3935 */) ;;
3936 *) as_dir=$as_dir/ ;;
3937 esac
3938 as_found=:
3940 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3941 ac_aux_dir_found=yes
3942 ac_install_sh=
3943 for ac_aux in $ac_aux_files
3945 # As a special case, if "install-sh" is required, that requirement
3946 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3947 # and $ac_install_sh is set appropriately for whichever one is found.
3948 if test x"$ac_aux" = x"install-sh"
3949 then
3950 if test -f "${as_dir}install-sh"; then
3951 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3952 ac_install_sh="${as_dir}install-sh -c"
3953 elif test -f "${as_dir}install.sh"; then
3954 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3955 ac_install_sh="${as_dir}install.sh -c"
3956 elif test -f "${as_dir}shtool"; then
3957 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3958 ac_install_sh="${as_dir}shtool install -c"
3959 else
3960 ac_aux_dir_found=no
3961 if $ac_first_candidate; then
3962 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3963 else
3964 break
3967 else
3968 if test -f "${as_dir}${ac_aux}"; then
3969 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3970 else
3971 ac_aux_dir_found=no
3972 if $ac_first_candidate; then
3973 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3974 else
3975 break
3979 done
3980 if test "$ac_aux_dir_found" = yes; then
3981 ac_aux_dir="$as_dir"
3982 break
3984 ac_first_candidate=false
3986 as_found=false
3987 done
3988 IFS=$as_save_IFS
3989 if $as_found
3990 then :
3992 else $as_nop
3993 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
3997 # These three variables are undocumented and unsupported,
3998 # and are intended to be withdrawn in a future Autoconf release.
3999 # They can cause serious problems if a builder's source tree is in a directory
4000 # whose full name contains unusual characters.
4001 if test -f "${ac_aux_dir}config.guess"; then
4002 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4004 if test -f "${ac_aux_dir}config.sub"; then
4005 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4007 if test -f "$ac_aux_dir/configure"; then
4008 ac_configure="$SHELL ${ac_aux_dir}configure"
4011 # Check that the precious variables saved in the cache have kept the same
4012 # value.
4013 ac_cache_corrupted=false
4014 for ac_var in $ac_precious_vars; do
4015 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4016 eval ac_new_set=\$ac_env_${ac_var}_set
4017 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4018 eval ac_new_val=\$ac_env_${ac_var}_value
4019 case $ac_old_set,$ac_new_set in
4020 set,)
4021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4022 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4023 ac_cache_corrupted=: ;;
4024 ,set)
4025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4026 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4027 ac_cache_corrupted=: ;;
4028 ,);;
4030 if test "x$ac_old_val" != "x$ac_new_val"; then
4031 # differences in whitespace do not lead to failure.
4032 ac_old_val_w=`echo x $ac_old_val`
4033 ac_new_val_w=`echo x $ac_new_val`
4034 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4036 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4037 ac_cache_corrupted=:
4038 else
4039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4040 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4041 eval $ac_var=\$ac_old_val
4043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4044 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4046 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4047 fi;;
4048 esac
4049 # Pass precious variables to config.status.
4050 if test "$ac_new_set" = set; then
4051 case $ac_new_val in
4052 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4053 *) ac_arg=$ac_var=$ac_new_val ;;
4054 esac
4055 case " $ac_configure_args " in
4056 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4057 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4058 esac
4060 done
4061 if $ac_cache_corrupted; then
4062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4063 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4065 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4066 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4067 and start over" "$LINENO" 5
4069 ## -------------------- ##
4070 ## Main body of script. ##
4071 ## -------------------- ##
4073 ac_ext=c
4074 ac_cpp='$CPP $CPPFLAGS'
4075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4081 ac_config_headers="$ac_config_headers include/config.h"
4085 libwine_version="1.0"
4088 # Check whether --enable-win16 was given.
4089 if test ${enable_win16+y}
4090 then :
4091 enableval=$enable_win16;
4094 # Check whether --enable-win64 was given.
4095 if test ${enable_win64+y}
4096 then :
4097 enableval=$enable_win64;
4100 # Check whether --enable-tests was given.
4101 if test ${enable_tests+y}
4102 then :
4103 enableval=$enable_tests;
4106 # Check whether --enable-build-id was given.
4107 if test ${enable_build_id+y}
4108 then :
4109 enableval=$enable_build_id;
4112 # Check whether --enable-maintainer-mode was given.
4113 if test ${enable_maintainer_mode+y}
4114 then :
4115 enableval=$enable_maintainer_mode;
4118 # Check whether --enable-silent-rules was given.
4119 if test ${enable_silent_rules+y}
4120 then :
4121 enableval=$enable_silent_rules;
4124 # Check whether --enable-werror was given.
4125 if test ${enable_werror+y}
4126 then :
4127 enableval=$enable_werror;
4132 # Check whether --with-alsa was given.
4133 if test ${with_alsa+y}
4134 then :
4135 withval=$with_alsa;
4139 # Check whether --with-capi was given.
4140 if test ${with_capi+y}
4141 then :
4142 withval=$with_capi;
4146 # Check whether --with-coreaudio was given.
4147 if test ${with_coreaudio+y}
4148 then :
4149 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4153 # Check whether --with-cups was given.
4154 if test ${with_cups+y}
4155 then :
4156 withval=$with_cups;
4160 # Check whether --with-dbus was given.
4161 if test ${with_dbus+y}
4162 then :
4163 withval=$with_dbus;
4167 # Check whether --with-float-abi was given.
4168 if test ${with_float_abi+y}
4169 then :
4170 withval=$with_float_abi;
4174 # Check whether --with-fontconfig was given.
4175 if test ${with_fontconfig+y}
4176 then :
4177 withval=$with_fontconfig;
4181 # Check whether --with-freetype was given.
4182 if test ${with_freetype+y}
4183 then :
4184 withval=$with_freetype;
4188 # Check whether --with-gettext was given.
4189 if test ${with_gettext+y}
4190 then :
4191 withval=$with_gettext;
4195 # Check whether --with-gettextpo was given.
4196 if test ${with_gettextpo+y}
4197 then :
4198 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4202 # Check whether --with-gphoto was given.
4203 if test ${with_gphoto+y}
4204 then :
4205 withval=$with_gphoto;
4209 # Check whether --with-gnutls was given.
4210 if test ${with_gnutls+y}
4211 then :
4212 withval=$with_gnutls;
4216 # Check whether --with-gssapi was given.
4217 if test ${with_gssapi+y}
4218 then :
4219 withval=$with_gssapi;
4223 # Check whether --with-gstreamer was given.
4224 if test ${with_gstreamer+y}
4225 then :
4226 withval=$with_gstreamer;
4230 # Check whether --with-inotify was given.
4231 if test ${with_inotify+y}
4232 then :
4233 withval=$with_inotify;
4237 # Check whether --with-krb5 was given.
4238 if test ${with_krb5+y}
4239 then :
4240 withval=$with_krb5;
4244 # Check whether --with-ldap was given.
4245 if test ${with_ldap+y}
4246 then :
4247 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4251 # Check whether --with-mingw was given.
4252 if test ${with_mingw+y}
4253 then :
4254 withval=$with_mingw;
4258 # Check whether --with-netapi was given.
4259 if test ${with_netapi+y}
4260 then :
4261 withval=$with_netapi;
4265 # Check whether --with-openal was given.
4266 if test ${with_openal+y}
4267 then :
4268 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4272 # Check whether --with-opencl was given.
4273 if test ${with_opencl+y}
4274 then :
4275 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4279 # Check whether --with-opengl was given.
4280 if test ${with_opengl+y}
4281 then :
4282 withval=$with_opengl;
4286 # Check whether --with-osmesa was given.
4287 if test ${with_osmesa+y}
4288 then :
4289 withval=$with_osmesa;
4293 # Check whether --with-oss was given.
4294 if test ${with_oss+y}
4295 then :
4296 withval=$with_oss;
4300 # Check whether --with-pcap was given.
4301 if test ${with_pcap+y}
4302 then :
4303 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4307 # Check whether --with-pthread was given.
4308 if test ${with_pthread+y}
4309 then :
4310 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4314 # Check whether --with-pulse was given.
4315 if test ${with_pulse+y}
4316 then :
4317 withval=$with_pulse;
4321 # Check whether --with-sane was given.
4322 if test ${with_sane+y}
4323 then :
4324 withval=$with_sane;
4328 # Check whether --with-sdl was given.
4329 if test ${with_sdl+y}
4330 then :
4331 withval=$with_sdl;
4335 # Check whether --with-udev was given.
4336 if test ${with_udev+y}
4337 then :
4338 withval=$with_udev;
4342 # Check whether --with-unwind was given.
4343 if test ${with_unwind+y}
4344 then :
4345 withval=$with_unwind;
4349 # Check whether --with-usb was given.
4350 if test ${with_usb+y}
4351 then :
4352 withval=$with_usb;
4356 # Check whether --with-v4l2 was given.
4357 if test ${with_v4l2+y}
4358 then :
4359 withval=$with_v4l2;
4363 # Check whether --with-vulkan was given.
4364 if test ${with_vulkan+y}
4365 then :
4366 withval=$with_vulkan;
4370 # Check whether --with-xcomposite was given.
4371 if test ${with_xcomposite+y}
4372 then :
4373 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4377 # Check whether --with-xcursor was given.
4378 if test ${with_xcursor+y}
4379 then :
4380 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4384 # Check whether --with-xfixes was given.
4385 if test ${with_xfixes+y}
4386 then :
4387 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4391 # Check whether --with-xinerama was given.
4392 if test ${with_xinerama+y}
4393 then :
4394 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4398 # Check whether --with-xinput was given.
4399 if test ${with_xinput+y}
4400 then :
4401 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4405 # Check whether --with-xinput2 was given.
4406 if test ${with_xinput2+y}
4407 then :
4408 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4412 # Check whether --with-xrandr was given.
4413 if test ${with_xrandr+y}
4414 then :
4415 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4419 # Check whether --with-xrender was given.
4420 if test ${with_xrender+y}
4421 then :
4422 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4426 # Check whether --with-xshape was given.
4427 if test ${with_xshape+y}
4428 then :
4429 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4433 # Check whether --with-xshm was given.
4434 if test ${with_xshm+y}
4435 then :
4436 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4440 # Check whether --with-xxf86vm was given.
4441 if test ${with_xxf86vm+y}
4442 then :
4443 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
4448 # Check whether --with-system-dllpath was given.
4449 if test ${with_system_dllpath+y}
4450 then :
4451 withval=$with_system_dllpath; system_dllpath=$withval
4456 # Check whether --with-wine-tools was given.
4457 if test ${with_wine_tools+y}
4458 then :
4459 withval=$with_wine_tools;
4463 # Check whether --with-wine64 was given.
4464 if test ${with_wine64+y}
4465 then :
4466 withval=$with_wine64;
4473 # Make sure we can run config.sub.
4474 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4475 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4478 printf %s "checking build system type... " >&6; }
4479 if test ${ac_cv_build+y}
4480 then :
4481 printf %s "(cached) " >&6
4482 else $as_nop
4483 ac_build_alias=$build_alias
4484 test "x$ac_build_alias" = x &&
4485 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4486 test "x$ac_build_alias" = x &&
4487 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4488 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4489 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4493 printf "%s\n" "$ac_cv_build" >&6; }
4494 case $ac_cv_build in
4495 *-*-*) ;;
4496 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4497 esac
4498 build=$ac_cv_build
4499 ac_save_IFS=$IFS; IFS='-'
4500 set x $ac_cv_build
4501 shift
4502 build_cpu=$1
4503 build_vendor=$2
4504 shift; shift
4505 # Remember, the first character of IFS is used to create $*,
4506 # except with old shells:
4507 build_os=$*
4508 IFS=$ac_save_IFS
4509 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4513 printf %s "checking host system type... " >&6; }
4514 if test ${ac_cv_host+y}
4515 then :
4516 printf %s "(cached) " >&6
4517 else $as_nop
4518 if test "x$host_alias" = x; then
4519 ac_cv_host=$ac_cv_build
4520 else
4521 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4522 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4527 printf "%s\n" "$ac_cv_host" >&6; }
4528 case $ac_cv_host in
4529 *-*-*) ;;
4530 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4531 esac
4532 host=$ac_cv_host
4533 ac_save_IFS=$IFS; IFS='-'
4534 set x $ac_cv_host
4535 shift
4536 host_cpu=$1
4537 host_vendor=$2
4538 shift; shift
4539 # Remember, the first character of IFS is used to create $*,
4540 # except with old shells:
4541 host_os=$*
4542 IFS=$ac_save_IFS
4543 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4547 dlldir=\${libdir}/wine
4549 fontdir=\${datadir}/wine/fonts
4551 nlsdir=\${datadir}/wine/nls
4556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4557 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4558 set x ${MAKE-make}
4559 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4560 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4561 then :
4562 printf %s "(cached) " >&6
4563 else $as_nop
4564 cat >conftest.make <<\_ACEOF
4565 SHELL = /bin/sh
4566 all:
4567 @echo '@@@%%%=$(MAKE)=@@@%%%'
4568 _ACEOF
4569 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4570 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4571 *@@@%%%=?*=@@@%%%*)
4572 eval ac_cv_prog_make_${ac_make}_set=yes;;
4574 eval ac_cv_prog_make_${ac_make}_set=no;;
4575 esac
4576 rm -f conftest.make
4578 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4580 printf "%s\n" "yes" >&6; }
4581 SET_MAKE=
4582 else
4583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4584 printf "%s\n" "no" >&6; }
4585 SET_MAKE="MAKE=${MAKE-make}"
4597 ac_ext=c
4598 ac_cpp='$CPP $CPPFLAGS'
4599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4602 if test -n "$ac_tool_prefix"; then
4603 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4604 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4606 printf %s "checking for $ac_word... " >&6; }
4607 if test ${ac_cv_prog_CC+y}
4608 then :
4609 printf %s "(cached) " >&6
4610 else $as_nop
4611 if test -n "$CC"; then
4612 ac_cv_prog_CC="$CC" # Let the user override the test.
4613 else
4614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4615 for as_dir in $PATH
4617 IFS=$as_save_IFS
4618 case $as_dir in #(((
4619 '') as_dir=./ ;;
4620 */) ;;
4621 *) as_dir=$as_dir/ ;;
4622 esac
4623 for ac_exec_ext in '' $ac_executable_extensions; do
4624 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4625 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4626 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4627 break 2
4629 done
4630 done
4631 IFS=$as_save_IFS
4635 CC=$ac_cv_prog_CC
4636 if test -n "$CC"; then
4637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4638 printf "%s\n" "$CC" >&6; }
4639 else
4640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4641 printf "%s\n" "no" >&6; }
4646 if test -z "$ac_cv_prog_CC"; then
4647 ac_ct_CC=$CC
4648 # Extract the first word of "gcc", so it can be a program name with args.
4649 set dummy gcc; ac_word=$2
4650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4651 printf %s "checking for $ac_word... " >&6; }
4652 if test ${ac_cv_prog_ac_ct_CC+y}
4653 then :
4654 printf %s "(cached) " >&6
4655 else $as_nop
4656 if test -n "$ac_ct_CC"; then
4657 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4658 else
4659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4660 for as_dir in $PATH
4662 IFS=$as_save_IFS
4663 case $as_dir in #(((
4664 '') as_dir=./ ;;
4665 */) ;;
4666 *) as_dir=$as_dir/ ;;
4667 esac
4668 for ac_exec_ext in '' $ac_executable_extensions; do
4669 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4670 ac_cv_prog_ac_ct_CC="gcc"
4671 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4672 break 2
4674 done
4675 done
4676 IFS=$as_save_IFS
4680 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4681 if test -n "$ac_ct_CC"; then
4682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4683 printf "%s\n" "$ac_ct_CC" >&6; }
4684 else
4685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4686 printf "%s\n" "no" >&6; }
4689 if test "x$ac_ct_CC" = x; then
4690 CC=""
4691 else
4692 case $cross_compiling:$ac_tool_warned in
4693 yes:)
4694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4695 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4696 ac_tool_warned=yes ;;
4697 esac
4698 CC=$ac_ct_CC
4700 else
4701 CC="$ac_cv_prog_CC"
4704 if test -z "$CC"; then
4705 if test -n "$ac_tool_prefix"; then
4706 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4707 set dummy ${ac_tool_prefix}cc; ac_word=$2
4708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4709 printf %s "checking for $ac_word... " >&6; }
4710 if test ${ac_cv_prog_CC+y}
4711 then :
4712 printf %s "(cached) " >&6
4713 else $as_nop
4714 if test -n "$CC"; then
4715 ac_cv_prog_CC="$CC" # Let the user override the test.
4716 else
4717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4718 for as_dir in $PATH
4720 IFS=$as_save_IFS
4721 case $as_dir in #(((
4722 '') as_dir=./ ;;
4723 */) ;;
4724 *) as_dir=$as_dir/ ;;
4725 esac
4726 for ac_exec_ext in '' $ac_executable_extensions; do
4727 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4728 ac_cv_prog_CC="${ac_tool_prefix}cc"
4729 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4730 break 2
4732 done
4733 done
4734 IFS=$as_save_IFS
4738 CC=$ac_cv_prog_CC
4739 if test -n "$CC"; then
4740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4741 printf "%s\n" "$CC" >&6; }
4742 else
4743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4744 printf "%s\n" "no" >&6; }
4750 if test -z "$CC"; then
4751 # Extract the first word of "cc", so it can be a program name with args.
4752 set dummy cc; ac_word=$2
4753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4754 printf %s "checking for $ac_word... " >&6; }
4755 if test ${ac_cv_prog_CC+y}
4756 then :
4757 printf %s "(cached) " >&6
4758 else $as_nop
4759 if test -n "$CC"; then
4760 ac_cv_prog_CC="$CC" # Let the user override the test.
4761 else
4762 ac_prog_rejected=no
4763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4764 for as_dir in $PATH
4766 IFS=$as_save_IFS
4767 case $as_dir in #(((
4768 '') as_dir=./ ;;
4769 */) ;;
4770 *) as_dir=$as_dir/ ;;
4771 esac
4772 for ac_exec_ext in '' $ac_executable_extensions; do
4773 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4774 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4775 ac_prog_rejected=yes
4776 continue
4778 ac_cv_prog_CC="cc"
4779 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4780 break 2
4782 done
4783 done
4784 IFS=$as_save_IFS
4786 if test $ac_prog_rejected = yes; then
4787 # We found a bogon in the path, so make sure we never use it.
4788 set dummy $ac_cv_prog_CC
4789 shift
4790 if test $# != 0; then
4791 # We chose a different compiler from the bogus one.
4792 # However, it has the same basename, so the bogon will be chosen
4793 # first if we set CC to just the basename; use the full file name.
4794 shift
4795 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4800 CC=$ac_cv_prog_CC
4801 if test -n "$CC"; then
4802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4803 printf "%s\n" "$CC" >&6; }
4804 else
4805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4806 printf "%s\n" "no" >&6; }
4811 if test -z "$CC"; then
4812 if test -n "$ac_tool_prefix"; then
4813 for ac_prog in cl.exe
4815 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4816 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4818 printf %s "checking for $ac_word... " >&6; }
4819 if test ${ac_cv_prog_CC+y}
4820 then :
4821 printf %s "(cached) " >&6
4822 else $as_nop
4823 if test -n "$CC"; then
4824 ac_cv_prog_CC="$CC" # Let the user override the test.
4825 else
4826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4827 for as_dir in $PATH
4829 IFS=$as_save_IFS
4830 case $as_dir in #(((
4831 '') as_dir=./ ;;
4832 */) ;;
4833 *) as_dir=$as_dir/ ;;
4834 esac
4835 for ac_exec_ext in '' $ac_executable_extensions; do
4836 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4837 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4838 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4839 break 2
4841 done
4842 done
4843 IFS=$as_save_IFS
4847 CC=$ac_cv_prog_CC
4848 if test -n "$CC"; then
4849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4850 printf "%s\n" "$CC" >&6; }
4851 else
4852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4853 printf "%s\n" "no" >&6; }
4857 test -n "$CC" && break
4858 done
4860 if test -z "$CC"; then
4861 ac_ct_CC=$CC
4862 for ac_prog in cl.exe
4864 # Extract the first word of "$ac_prog", so it can be a program name with args.
4865 set dummy $ac_prog; ac_word=$2
4866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4867 printf %s "checking for $ac_word... " >&6; }
4868 if test ${ac_cv_prog_ac_ct_CC+y}
4869 then :
4870 printf %s "(cached) " >&6
4871 else $as_nop
4872 if test -n "$ac_ct_CC"; then
4873 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4874 else
4875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4876 for as_dir in $PATH
4878 IFS=$as_save_IFS
4879 case $as_dir in #(((
4880 '') as_dir=./ ;;
4881 */) ;;
4882 *) as_dir=$as_dir/ ;;
4883 esac
4884 for ac_exec_ext in '' $ac_executable_extensions; do
4885 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4886 ac_cv_prog_ac_ct_CC="$ac_prog"
4887 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4888 break 2
4890 done
4891 done
4892 IFS=$as_save_IFS
4896 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4897 if test -n "$ac_ct_CC"; then
4898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4899 printf "%s\n" "$ac_ct_CC" >&6; }
4900 else
4901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4902 printf "%s\n" "no" >&6; }
4906 test -n "$ac_ct_CC" && break
4907 done
4909 if test "x$ac_ct_CC" = x; then
4910 CC=""
4911 else
4912 case $cross_compiling:$ac_tool_warned in
4913 yes:)
4914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4915 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4916 ac_tool_warned=yes ;;
4917 esac
4918 CC=$ac_ct_CC
4923 if test -z "$CC"; then
4924 if test -n "$ac_tool_prefix"; then
4925 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4926 set dummy ${ac_tool_prefix}clang; ac_word=$2
4927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4928 printf %s "checking for $ac_word... " >&6; }
4929 if test ${ac_cv_prog_CC+y}
4930 then :
4931 printf %s "(cached) " >&6
4932 else $as_nop
4933 if test -n "$CC"; then
4934 ac_cv_prog_CC="$CC" # Let the user override the test.
4935 else
4936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4937 for as_dir in $PATH
4939 IFS=$as_save_IFS
4940 case $as_dir in #(((
4941 '') as_dir=./ ;;
4942 */) ;;
4943 *) as_dir=$as_dir/ ;;
4944 esac
4945 for ac_exec_ext in '' $ac_executable_extensions; do
4946 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4947 ac_cv_prog_CC="${ac_tool_prefix}clang"
4948 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4949 break 2
4951 done
4952 done
4953 IFS=$as_save_IFS
4957 CC=$ac_cv_prog_CC
4958 if test -n "$CC"; then
4959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4960 printf "%s\n" "$CC" >&6; }
4961 else
4962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4963 printf "%s\n" "no" >&6; }
4968 if test -z "$ac_cv_prog_CC"; then
4969 ac_ct_CC=$CC
4970 # Extract the first word of "clang", so it can be a program name with args.
4971 set dummy clang; ac_word=$2
4972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4973 printf %s "checking for $ac_word... " >&6; }
4974 if test ${ac_cv_prog_ac_ct_CC+y}
4975 then :
4976 printf %s "(cached) " >&6
4977 else $as_nop
4978 if test -n "$ac_ct_CC"; then
4979 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4980 else
4981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4982 for as_dir in $PATH
4984 IFS=$as_save_IFS
4985 case $as_dir in #(((
4986 '') as_dir=./ ;;
4987 */) ;;
4988 *) as_dir=$as_dir/ ;;
4989 esac
4990 for ac_exec_ext in '' $ac_executable_extensions; do
4991 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4992 ac_cv_prog_ac_ct_CC="clang"
4993 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4994 break 2
4996 done
4997 done
4998 IFS=$as_save_IFS
5002 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5003 if test -n "$ac_ct_CC"; then
5004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5005 printf "%s\n" "$ac_ct_CC" >&6; }
5006 else
5007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5008 printf "%s\n" "no" >&6; }
5011 if test "x$ac_ct_CC" = x; then
5012 CC=""
5013 else
5014 case $cross_compiling:$ac_tool_warned in
5015 yes:)
5016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5017 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5018 ac_tool_warned=yes ;;
5019 esac
5020 CC=$ac_ct_CC
5022 else
5023 CC="$ac_cv_prog_CC"
5029 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5030 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5031 as_fn_error $? "no acceptable C compiler found in \$PATH
5032 See \`config.log' for more details" "$LINENO" 5; }
5034 # Provide some information about the compiler.
5035 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5036 set X $ac_compile
5037 ac_compiler=$2
5038 for ac_option in --version -v -V -qversion -version; do
5039 { { ac_try="$ac_compiler $ac_option >&5"
5040 case "(($ac_try" in
5041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5042 *) ac_try_echo=$ac_try;;
5043 esac
5044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5045 printf "%s\n" "$ac_try_echo"; } >&5
5046 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5047 ac_status=$?
5048 if test -s conftest.err; then
5049 sed '10a\
5050 ... rest of stderr output deleted ...
5051 10q' conftest.err >conftest.er1
5052 cat conftest.er1 >&5
5054 rm -f conftest.er1 conftest.err
5055 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5056 test $ac_status = 0; }
5057 done
5059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5060 /* end confdefs.h. */
5063 main (void)
5067 return 0;
5069 _ACEOF
5070 ac_clean_files_save=$ac_clean_files
5071 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5072 # Try to create an executable without -o first, disregard a.out.
5073 # It will help us diagnose broken compilers, and finding out an intuition
5074 # of exeext.
5075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5076 printf %s "checking whether the C compiler works... " >&6; }
5077 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5079 # The possible output files:
5080 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5082 ac_rmfiles=
5083 for ac_file in $ac_files
5085 case $ac_file in
5086 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5087 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5088 esac
5089 done
5090 rm -f $ac_rmfiles
5092 if { { ac_try="$ac_link_default"
5093 case "(($ac_try" in
5094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5095 *) ac_try_echo=$ac_try;;
5096 esac
5097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5098 printf "%s\n" "$ac_try_echo"; } >&5
5099 (eval "$ac_link_default") 2>&5
5100 ac_status=$?
5101 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5102 test $ac_status = 0; }
5103 then :
5104 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5105 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5106 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5107 # so that the user can short-circuit this test for compilers unknown to
5108 # Autoconf.
5109 for ac_file in $ac_files ''
5111 test -f "$ac_file" || continue
5112 case $ac_file in
5113 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5115 [ab].out )
5116 # We found the default executable, but exeext='' is most
5117 # certainly right.
5118 break;;
5119 *.* )
5120 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5121 then :; else
5122 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5124 # We set ac_cv_exeext here because the later test for it is not
5125 # safe: cross compilers may not add the suffix if given an `-o'
5126 # argument, so we may need to know it at that point already.
5127 # Even if this section looks crufty: it has the advantage of
5128 # actually working.
5129 break;;
5131 break;;
5132 esac
5133 done
5134 test "$ac_cv_exeext" = no && ac_cv_exeext=
5136 else $as_nop
5137 ac_file=''
5139 if test -z "$ac_file"
5140 then :
5141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5142 printf "%s\n" "no" >&6; }
5143 printf "%s\n" "$as_me: failed program was:" >&5
5144 sed 's/^/| /' conftest.$ac_ext >&5
5146 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5147 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5148 as_fn_error 77 "C compiler cannot create executables
5149 See \`config.log' for more details" "$LINENO" 5; }
5150 else $as_nop
5151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5152 printf "%s\n" "yes" >&6; }
5154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5155 printf %s "checking for C compiler default output file name... " >&6; }
5156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5157 printf "%s\n" "$ac_file" >&6; }
5158 ac_exeext=$ac_cv_exeext
5160 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5161 ac_clean_files=$ac_clean_files_save
5162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5163 printf %s "checking for suffix of executables... " >&6; }
5164 if { { ac_try="$ac_link"
5165 case "(($ac_try" in
5166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5167 *) ac_try_echo=$ac_try;;
5168 esac
5169 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5170 printf "%s\n" "$ac_try_echo"; } >&5
5171 (eval "$ac_link") 2>&5
5172 ac_status=$?
5173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5174 test $ac_status = 0; }
5175 then :
5176 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5177 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5178 # work properly (i.e., refer to `conftest.exe'), while it won't with
5179 # `rm'.
5180 for ac_file in conftest.exe conftest conftest.*; do
5181 test -f "$ac_file" || continue
5182 case $ac_file in
5183 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5184 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5185 break;;
5186 * ) break;;
5187 esac
5188 done
5189 else $as_nop
5190 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5191 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5192 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5193 See \`config.log' for more details" "$LINENO" 5; }
5195 rm -f conftest conftest$ac_cv_exeext
5196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5197 printf "%s\n" "$ac_cv_exeext" >&6; }
5199 rm -f conftest.$ac_ext
5200 EXEEXT=$ac_cv_exeext
5201 ac_exeext=$EXEEXT
5202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5203 /* end confdefs.h. */
5204 #include <stdio.h>
5206 main (void)
5208 FILE *f = fopen ("conftest.out", "w");
5209 return ferror (f) || fclose (f) != 0;
5212 return 0;
5214 _ACEOF
5215 ac_clean_files="$ac_clean_files conftest.out"
5216 # Check that the compiler produces executables we can run. If not, either
5217 # the compiler is broken, or we cross compile.
5218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5219 printf %s "checking whether we are cross compiling... " >&6; }
5220 if test "$cross_compiling" != yes; then
5221 { { ac_try="$ac_link"
5222 case "(($ac_try" in
5223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5224 *) ac_try_echo=$ac_try;;
5225 esac
5226 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5227 printf "%s\n" "$ac_try_echo"; } >&5
5228 (eval "$ac_link") 2>&5
5229 ac_status=$?
5230 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5231 test $ac_status = 0; }
5232 if { ac_try='./conftest$ac_cv_exeext'
5233 { { case "(($ac_try" in
5234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5235 *) ac_try_echo=$ac_try;;
5236 esac
5237 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5238 printf "%s\n" "$ac_try_echo"; } >&5
5239 (eval "$ac_try") 2>&5
5240 ac_status=$?
5241 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5242 test $ac_status = 0; }; }; then
5243 cross_compiling=no
5244 else
5245 if test "$cross_compiling" = maybe; then
5246 cross_compiling=yes
5247 else
5248 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5249 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5250 as_fn_error 77 "cannot run C compiled programs.
5251 If you meant to cross compile, use \`--host'.
5252 See \`config.log' for more details" "$LINENO" 5; }
5256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5257 printf "%s\n" "$cross_compiling" >&6; }
5259 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5260 ac_clean_files=$ac_clean_files_save
5261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5262 printf %s "checking for suffix of object files... " >&6; }
5263 if test ${ac_cv_objext+y}
5264 then :
5265 printf %s "(cached) " >&6
5266 else $as_nop
5267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5268 /* end confdefs.h. */
5271 main (void)
5275 return 0;
5277 _ACEOF
5278 rm -f conftest.o conftest.obj
5279 if { { ac_try="$ac_compile"
5280 case "(($ac_try" in
5281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5282 *) ac_try_echo=$ac_try;;
5283 esac
5284 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5285 printf "%s\n" "$ac_try_echo"; } >&5
5286 (eval "$ac_compile") 2>&5
5287 ac_status=$?
5288 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5289 test $ac_status = 0; }
5290 then :
5291 for ac_file in conftest.o conftest.obj conftest.*; do
5292 test -f "$ac_file" || continue;
5293 case $ac_file in
5294 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5295 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5296 break;;
5297 esac
5298 done
5299 else $as_nop
5300 printf "%s\n" "$as_me: failed program was:" >&5
5301 sed 's/^/| /' conftest.$ac_ext >&5
5303 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5304 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5305 as_fn_error $? "cannot compute suffix of object files: cannot compile
5306 See \`config.log' for more details" "$LINENO" 5; }
5308 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5311 printf "%s\n" "$ac_cv_objext" >&6; }
5312 OBJEXT=$ac_cv_objext
5313 ac_objext=$OBJEXT
5314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5315 printf %s "checking whether the compiler supports GNU C... " >&6; }
5316 if test ${ac_cv_c_compiler_gnu+y}
5317 then :
5318 printf %s "(cached) " >&6
5319 else $as_nop
5320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5321 /* end confdefs.h. */
5324 main (void)
5326 #ifndef __GNUC__
5327 choke me
5328 #endif
5331 return 0;
5333 _ACEOF
5334 if ac_fn_c_try_compile "$LINENO"
5335 then :
5336 ac_compiler_gnu=yes
5337 else $as_nop
5338 ac_compiler_gnu=no
5340 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5341 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5345 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5348 if test $ac_compiler_gnu = yes; then
5349 GCC=yes
5350 else
5351 GCC=
5353 ac_test_CFLAGS=${CFLAGS+y}
5354 ac_save_CFLAGS=$CFLAGS
5355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5356 printf %s "checking whether $CC accepts -g... " >&6; }
5357 if test ${ac_cv_prog_cc_g+y}
5358 then :
5359 printf %s "(cached) " >&6
5360 else $as_nop
5361 ac_save_c_werror_flag=$ac_c_werror_flag
5362 ac_c_werror_flag=yes
5363 ac_cv_prog_cc_g=no
5364 CFLAGS="-g"
5365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5366 /* end confdefs.h. */
5369 main (void)
5373 return 0;
5375 _ACEOF
5376 if ac_fn_c_try_compile "$LINENO"
5377 then :
5378 ac_cv_prog_cc_g=yes
5379 else $as_nop
5380 CFLAGS=""
5381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5382 /* end confdefs.h. */
5385 main (void)
5389 return 0;
5391 _ACEOF
5392 if ac_fn_c_try_compile "$LINENO"
5393 then :
5395 else $as_nop
5396 ac_c_werror_flag=$ac_save_c_werror_flag
5397 CFLAGS="-g"
5398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5399 /* end confdefs.h. */
5402 main (void)
5406 return 0;
5408 _ACEOF
5409 if ac_fn_c_try_compile "$LINENO"
5410 then :
5411 ac_cv_prog_cc_g=yes
5413 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
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
5418 ac_c_werror_flag=$ac_save_c_werror_flag
5420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5421 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5422 if test $ac_test_CFLAGS; then
5423 CFLAGS=$ac_save_CFLAGS
5424 elif test $ac_cv_prog_cc_g = yes; then
5425 if test "$GCC" = yes; then
5426 CFLAGS="-g -O2"
5427 else
5428 CFLAGS="-g"
5430 else
5431 if test "$GCC" = yes; then
5432 CFLAGS="-O2"
5433 else
5434 CFLAGS=
5437 ac_prog_cc_stdc=no
5438 if test x$ac_prog_cc_stdc = xno
5439 then :
5440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5441 printf %s "checking for $CC option to enable C11 features... " >&6; }
5442 if test ${ac_cv_prog_cc_c11+y}
5443 then :
5444 printf %s "(cached) " >&6
5445 else $as_nop
5446 ac_cv_prog_cc_c11=no
5447 ac_save_CC=$CC
5448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5449 /* end confdefs.h. */
5450 $ac_c_conftest_c11_program
5451 _ACEOF
5452 for ac_arg in '' -std=gnu11
5454 CC="$ac_save_CC $ac_arg"
5455 if ac_fn_c_try_compile "$LINENO"
5456 then :
5457 ac_cv_prog_cc_c11=$ac_arg
5459 rm -f core conftest.err conftest.$ac_objext conftest.beam
5460 test "x$ac_cv_prog_cc_c11" != "xno" && break
5461 done
5462 rm -f conftest.$ac_ext
5463 CC=$ac_save_CC
5466 if test "x$ac_cv_prog_cc_c11" = xno
5467 then :
5468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5469 printf "%s\n" "unsupported" >&6; }
5470 else $as_nop
5471 if test "x$ac_cv_prog_cc_c11" = x
5472 then :
5473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5474 printf "%s\n" "none needed" >&6; }
5475 else $as_nop
5476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5477 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5478 CC="$CC $ac_cv_prog_cc_c11"
5480 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5481 ac_prog_cc_stdc=c11
5484 if test x$ac_prog_cc_stdc = xno
5485 then :
5486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5487 printf %s "checking for $CC option to enable C99 features... " >&6; }
5488 if test ${ac_cv_prog_cc_c99+y}
5489 then :
5490 printf %s "(cached) " >&6
5491 else $as_nop
5492 ac_cv_prog_cc_c99=no
5493 ac_save_CC=$CC
5494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5495 /* end confdefs.h. */
5496 $ac_c_conftest_c99_program
5497 _ACEOF
5498 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5500 CC="$ac_save_CC $ac_arg"
5501 if ac_fn_c_try_compile "$LINENO"
5502 then :
5503 ac_cv_prog_cc_c99=$ac_arg
5505 rm -f core conftest.err conftest.$ac_objext conftest.beam
5506 test "x$ac_cv_prog_cc_c99" != "xno" && break
5507 done
5508 rm -f conftest.$ac_ext
5509 CC=$ac_save_CC
5512 if test "x$ac_cv_prog_cc_c99" = xno
5513 then :
5514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5515 printf "%s\n" "unsupported" >&6; }
5516 else $as_nop
5517 if test "x$ac_cv_prog_cc_c99" = x
5518 then :
5519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5520 printf "%s\n" "none needed" >&6; }
5521 else $as_nop
5522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5523 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5524 CC="$CC $ac_cv_prog_cc_c99"
5526 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5527 ac_prog_cc_stdc=c99
5530 if test x$ac_prog_cc_stdc = xno
5531 then :
5532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5533 printf %s "checking for $CC option to enable C89 features... " >&6; }
5534 if test ${ac_cv_prog_cc_c89+y}
5535 then :
5536 printf %s "(cached) " >&6
5537 else $as_nop
5538 ac_cv_prog_cc_c89=no
5539 ac_save_CC=$CC
5540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5541 /* end confdefs.h. */
5542 $ac_c_conftest_c89_program
5543 _ACEOF
5544 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5546 CC="$ac_save_CC $ac_arg"
5547 if ac_fn_c_try_compile "$LINENO"
5548 then :
5549 ac_cv_prog_cc_c89=$ac_arg
5551 rm -f core conftest.err conftest.$ac_objext conftest.beam
5552 test "x$ac_cv_prog_cc_c89" != "xno" && break
5553 done
5554 rm -f conftest.$ac_ext
5555 CC=$ac_save_CC
5558 if test "x$ac_cv_prog_cc_c89" = xno
5559 then :
5560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5561 printf "%s\n" "unsupported" >&6; }
5562 else $as_nop
5563 if test "x$ac_cv_prog_cc_c89" = x
5564 then :
5565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5566 printf "%s\n" "none needed" >&6; }
5567 else $as_nop
5568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5569 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5570 CC="$CC $ac_cv_prog_cc_c89"
5572 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5573 ac_prog_cc_stdc=c89
5577 ac_ext=c
5578 ac_cpp='$CPP $CPPFLAGS'
5579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5589 ac_ext=cpp
5590 ac_cpp='$CXXCPP $CPPFLAGS'
5591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5594 if test -z "$CXX"; then
5595 if test -n "$CCC"; then
5596 CXX=$CCC
5597 else
5598 if test -n "$ac_tool_prefix"; then
5599 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5601 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5602 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5604 printf %s "checking for $ac_word... " >&6; }
5605 if test ${ac_cv_prog_CXX+y}
5606 then :
5607 printf %s "(cached) " >&6
5608 else $as_nop
5609 if test -n "$CXX"; then
5610 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5611 else
5612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5613 for as_dir in $PATH
5615 IFS=$as_save_IFS
5616 case $as_dir in #(((
5617 '') as_dir=./ ;;
5618 */) ;;
5619 *) as_dir=$as_dir/ ;;
5620 esac
5621 for ac_exec_ext in '' $ac_executable_extensions; do
5622 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5623 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5624 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5625 break 2
5627 done
5628 done
5629 IFS=$as_save_IFS
5633 CXX=$ac_cv_prog_CXX
5634 if test -n "$CXX"; then
5635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5636 printf "%s\n" "$CXX" >&6; }
5637 else
5638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5639 printf "%s\n" "no" >&6; }
5643 test -n "$CXX" && break
5644 done
5646 if test -z "$CXX"; then
5647 ac_ct_CXX=$CXX
5648 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5650 # Extract the first word of "$ac_prog", so it can be a program name with args.
5651 set dummy $ac_prog; ac_word=$2
5652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5653 printf %s "checking for $ac_word... " >&6; }
5654 if test ${ac_cv_prog_ac_ct_CXX+y}
5655 then :
5656 printf %s "(cached) " >&6
5657 else $as_nop
5658 if test -n "$ac_ct_CXX"; then
5659 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5660 else
5661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5662 for as_dir in $PATH
5664 IFS=$as_save_IFS
5665 case $as_dir in #(((
5666 '') as_dir=./ ;;
5667 */) ;;
5668 *) as_dir=$as_dir/ ;;
5669 esac
5670 for ac_exec_ext in '' $ac_executable_extensions; do
5671 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5672 ac_cv_prog_ac_ct_CXX="$ac_prog"
5673 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5674 break 2
5676 done
5677 done
5678 IFS=$as_save_IFS
5682 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5683 if test -n "$ac_ct_CXX"; then
5684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5685 printf "%s\n" "$ac_ct_CXX" >&6; }
5686 else
5687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5688 printf "%s\n" "no" >&6; }
5692 test -n "$ac_ct_CXX" && break
5693 done
5695 if test "x$ac_ct_CXX" = x; then
5696 CXX="g++"
5697 else
5698 case $cross_compiling:$ac_tool_warned in
5699 yes:)
5700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5701 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5702 ac_tool_warned=yes ;;
5703 esac
5704 CXX=$ac_ct_CXX
5710 # Provide some information about the compiler.
5711 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5712 set X $ac_compile
5713 ac_compiler=$2
5714 for ac_option in --version -v -V -qversion; do
5715 { { ac_try="$ac_compiler $ac_option >&5"
5716 case "(($ac_try" in
5717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5718 *) ac_try_echo=$ac_try;;
5719 esac
5720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5721 printf "%s\n" "$ac_try_echo"; } >&5
5722 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5723 ac_status=$?
5724 if test -s conftest.err; then
5725 sed '10a\
5726 ... rest of stderr output deleted ...
5727 10q' conftest.err >conftest.er1
5728 cat conftest.er1 >&5
5730 rm -f conftest.er1 conftest.err
5731 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5732 test $ac_status = 0; }
5733 done
5735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5736 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5737 if test ${ac_cv_cxx_compiler_gnu+y}
5738 then :
5739 printf %s "(cached) " >&6
5740 else $as_nop
5741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5742 /* end confdefs.h. */
5745 main (void)
5747 #ifndef __GNUC__
5748 choke me
5749 #endif
5752 return 0;
5754 _ACEOF
5755 if ac_fn_cxx_try_compile "$LINENO"
5756 then :
5757 ac_compiler_gnu=yes
5758 else $as_nop
5759 ac_compiler_gnu=no
5761 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5762 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5766 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5769 if test $ac_compiler_gnu = yes; then
5770 GXX=yes
5771 else
5772 GXX=
5774 ac_test_CXXFLAGS=${CXXFLAGS+y}
5775 ac_save_CXXFLAGS=$CXXFLAGS
5776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5777 printf %s "checking whether $CXX accepts -g... " >&6; }
5778 if test ${ac_cv_prog_cxx_g+y}
5779 then :
5780 printf %s "(cached) " >&6
5781 else $as_nop
5782 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5783 ac_cxx_werror_flag=yes
5784 ac_cv_prog_cxx_g=no
5785 CXXFLAGS="-g"
5786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5787 /* end confdefs.h. */
5790 main (void)
5794 return 0;
5796 _ACEOF
5797 if ac_fn_cxx_try_compile "$LINENO"
5798 then :
5799 ac_cv_prog_cxx_g=yes
5800 else $as_nop
5801 CXXFLAGS=""
5802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5803 /* end confdefs.h. */
5806 main (void)
5810 return 0;
5812 _ACEOF
5813 if ac_fn_cxx_try_compile "$LINENO"
5814 then :
5816 else $as_nop
5817 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5818 CXXFLAGS="-g"
5819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5820 /* end confdefs.h. */
5823 main (void)
5827 return 0;
5829 _ACEOF
5830 if ac_fn_cxx_try_compile "$LINENO"
5831 then :
5832 ac_cv_prog_cxx_g=yes
5834 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
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
5839 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5842 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5843 if test $ac_test_CXXFLAGS; then
5844 CXXFLAGS=$ac_save_CXXFLAGS
5845 elif test $ac_cv_prog_cxx_g = yes; then
5846 if test "$GXX" = yes; then
5847 CXXFLAGS="-g -O2"
5848 else
5849 CXXFLAGS="-g"
5851 else
5852 if test "$GXX" = yes; then
5853 CXXFLAGS="-O2"
5854 else
5855 CXXFLAGS=
5858 ac_prog_cxx_stdcxx=no
5859 if test x$ac_prog_cxx_stdcxx = xno
5860 then :
5861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5862 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5863 if test ${ac_cv_prog_cxx_11+y}
5864 then :
5865 printf %s "(cached) " >&6
5866 else $as_nop
5867 ac_cv_prog_cxx_11=no
5868 ac_save_CXX=$CXX
5869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5870 /* end confdefs.h. */
5871 $ac_cxx_conftest_cxx11_program
5872 _ACEOF
5873 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5875 CXX="$ac_save_CXX $ac_arg"
5876 if ac_fn_cxx_try_compile "$LINENO"
5877 then :
5878 ac_cv_prog_cxx_cxx11=$ac_arg
5880 rm -f core conftest.err conftest.$ac_objext conftest.beam
5881 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5882 done
5883 rm -f conftest.$ac_ext
5884 CXX=$ac_save_CXX
5887 if test "x$ac_cv_prog_cxx_cxx11" = xno
5888 then :
5889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5890 printf "%s\n" "unsupported" >&6; }
5891 else $as_nop
5892 if test "x$ac_cv_prog_cxx_cxx11" = x
5893 then :
5894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5895 printf "%s\n" "none needed" >&6; }
5896 else $as_nop
5897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5898 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5899 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5901 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5902 ac_prog_cxx_stdcxx=cxx11
5905 if test x$ac_prog_cxx_stdcxx = xno
5906 then :
5907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5908 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5909 if test ${ac_cv_prog_cxx_98+y}
5910 then :
5911 printf %s "(cached) " >&6
5912 else $as_nop
5913 ac_cv_prog_cxx_98=no
5914 ac_save_CXX=$CXX
5915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5916 /* end confdefs.h. */
5917 $ac_cxx_conftest_cxx98_program
5918 _ACEOF
5919 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5921 CXX="$ac_save_CXX $ac_arg"
5922 if ac_fn_cxx_try_compile "$LINENO"
5923 then :
5924 ac_cv_prog_cxx_cxx98=$ac_arg
5926 rm -f core conftest.err conftest.$ac_objext conftest.beam
5927 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5928 done
5929 rm -f conftest.$ac_ext
5930 CXX=$ac_save_CXX
5933 if test "x$ac_cv_prog_cxx_cxx98" = xno
5934 then :
5935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5936 printf "%s\n" "unsupported" >&6; }
5937 else $as_nop
5938 if test "x$ac_cv_prog_cxx_cxx98" = x
5939 then :
5940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5941 printf "%s\n" "none needed" >&6; }
5942 else $as_nop
5943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5944 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5945 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5947 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5948 ac_prog_cxx_stdcxx=cxx98
5952 ac_ext=c
5953 ac_cpp='$CPP $CPPFLAGS'
5954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5958 if test -n "$ac_tool_prefix"; then
5959 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5960 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5962 printf %s "checking for $ac_word... " >&6; }
5963 if test ${ac_cv_prog_CPPBIN+y}
5964 then :
5965 printf %s "(cached) " >&6
5966 else $as_nop
5967 if test -n "$CPPBIN"; then
5968 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5969 else
5970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5971 for as_dir in $PATH
5973 IFS=$as_save_IFS
5974 case $as_dir in #(((
5975 '') as_dir=./ ;;
5976 */) ;;
5977 *) as_dir=$as_dir/ ;;
5978 esac
5979 for ac_exec_ext in '' $ac_executable_extensions; do
5980 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5981 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5982 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5983 break 2
5985 done
5986 done
5987 IFS=$as_save_IFS
5991 CPPBIN=$ac_cv_prog_CPPBIN
5992 if test -n "$CPPBIN"; then
5993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5994 printf "%s\n" "$CPPBIN" >&6; }
5995 else
5996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5997 printf "%s\n" "no" >&6; }
6002 if test -z "$ac_cv_prog_CPPBIN"; then
6003 ac_ct_CPPBIN=$CPPBIN
6004 # Extract the first word of "cpp", so it can be a program name with args.
6005 set dummy cpp; ac_word=$2
6006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6007 printf %s "checking for $ac_word... " >&6; }
6008 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6009 then :
6010 printf %s "(cached) " >&6
6011 else $as_nop
6012 if test -n "$ac_ct_CPPBIN"; then
6013 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6014 else
6015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6016 for as_dir in $PATH
6018 IFS=$as_save_IFS
6019 case $as_dir in #(((
6020 '') as_dir=./ ;;
6021 */) ;;
6022 *) as_dir=$as_dir/ ;;
6023 esac
6024 for ac_exec_ext in '' $ac_executable_extensions; do
6025 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6026 ac_cv_prog_ac_ct_CPPBIN="cpp"
6027 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6028 break 2
6030 done
6031 done
6032 IFS=$as_save_IFS
6036 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6037 if test -n "$ac_ct_CPPBIN"; then
6038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6039 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6040 else
6041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6042 printf "%s\n" "no" >&6; }
6045 if test "x$ac_ct_CPPBIN" = x; then
6046 CPPBIN="cpp"
6047 else
6048 case $cross_compiling:$ac_tool_warned in
6049 yes:)
6050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6051 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6052 ac_tool_warned=yes ;;
6053 esac
6054 CPPBIN=$ac_ct_CPPBIN
6056 else
6057 CPPBIN="$ac_cv_prog_CPPBIN"
6061 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6063 if test -n "$ac_tool_prefix"; then
6064 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6065 set dummy ${ac_tool_prefix}ld; ac_word=$2
6066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6067 printf %s "checking for $ac_word... " >&6; }
6068 if test ${ac_cv_prog_LD+y}
6069 then :
6070 printf %s "(cached) " >&6
6071 else $as_nop
6072 if test -n "$LD"; then
6073 ac_cv_prog_LD="$LD" # Let the user override the test.
6074 else
6075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6076 for as_dir in $PATH
6078 IFS=$as_save_IFS
6079 case $as_dir in #(((
6080 '') as_dir=./ ;;
6081 */) ;;
6082 *) as_dir=$as_dir/ ;;
6083 esac
6084 for ac_exec_ext in '' $ac_executable_extensions; do
6085 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6086 ac_cv_prog_LD="${ac_tool_prefix}ld"
6087 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6088 break 2
6090 done
6091 done
6092 IFS=$as_save_IFS
6096 LD=$ac_cv_prog_LD
6097 if test -n "$LD"; then
6098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6099 printf "%s\n" "$LD" >&6; }
6100 else
6101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6102 printf "%s\n" "no" >&6; }
6107 if test -z "$ac_cv_prog_LD"; then
6108 ac_ct_LD=$LD
6109 # Extract the first word of "ld", so it can be a program name with args.
6110 set dummy ld; ac_word=$2
6111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6112 printf %s "checking for $ac_word... " >&6; }
6113 if test ${ac_cv_prog_ac_ct_LD+y}
6114 then :
6115 printf %s "(cached) " >&6
6116 else $as_nop
6117 if test -n "$ac_ct_LD"; then
6118 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6119 else
6120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6121 for as_dir in $PATH
6123 IFS=$as_save_IFS
6124 case $as_dir in #(((
6125 '') as_dir=./ ;;
6126 */) ;;
6127 *) as_dir=$as_dir/ ;;
6128 esac
6129 for ac_exec_ext in '' $ac_executable_extensions; do
6130 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6131 ac_cv_prog_ac_ct_LD="ld"
6132 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6133 break 2
6135 done
6136 done
6137 IFS=$as_save_IFS
6141 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6142 if test -n "$ac_ct_LD"; then
6143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6144 printf "%s\n" "$ac_ct_LD" >&6; }
6145 else
6146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6147 printf "%s\n" "no" >&6; }
6150 if test "x$ac_ct_LD" = x; then
6151 LD=""
6152 else
6153 case $cross_compiling:$ac_tool_warned in
6154 yes:)
6155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6156 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6157 ac_tool_warned=yes ;;
6158 esac
6159 LD=$ac_ct_LD
6161 else
6162 LD="$ac_cv_prog_LD"
6166 case $host in
6167 *-darwin*)
6168 with_fontconfig=${with_fontconfig:-no}
6170 *-mingw32*|*-cygwin*)
6171 enable_win16=${enable_win16:-no}
6172 with_mingw=${with_mingw:-no}
6174 esac
6177 case $host in
6178 x86_64*|amd64*)
6179 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
6180 then
6181 CC="$CC -m32"
6182 CXX="$CXX -m32"
6184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6185 printf %s "checking whether $CC works... " >&6; }
6186 if test ${wine_cv_cc_m32+y}
6187 then :
6188 printf %s "(cached) " >&6
6189 else $as_nop
6190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6191 /* end confdefs.h. */
6194 main (void)
6198 return 0;
6200 _ACEOF
6201 if ac_fn_c_try_link "$LINENO"
6202 then :
6203 wine_cv_cc_m32=yes
6204 else $as_nop
6205 wine_cv_cc_m32=no
6207 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6208 conftest$ac_exeext conftest.$ac_ext
6210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6211 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6212 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
6213 host_cpu="i386"
6214 notice_platform="32-bit "
6215 TARGETFLAGS="$TARGETFLAGS -m32"
6216 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6217 export PKG_CONFIG_PATH
6218 enable_win16=${enable_win16:-yes}
6219 with_unwind=${with_unwind:-no}
6220 else
6221 if test "x${GCC}" = "xyes"
6222 then
6223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6224 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6225 if test ${wine_cv_builtin_ms_va_list+y}
6226 then :
6227 printf %s "(cached) " >&6
6228 else $as_nop
6229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6230 /* end confdefs.h. */
6231 #include <stdarg.h>
6233 main (void)
6235 void func(__builtin_ms_va_list *args);
6237 return 0;
6239 _ACEOF
6240 if ac_fn_c_try_compile "$LINENO"
6241 then :
6242 wine_cv_builtin_ms_va_list=yes
6243 else $as_nop
6244 wine_cv_builtin_ms_va_list=no
6246 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6249 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6250 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
6252 CC="$CC -m64"
6253 CXX="$CXX -m64"
6254 host_cpu="x86_64"
6255 notice_platform="64-bit "
6256 TARGETFLAGS="$TARGETFLAGS -m64"
6257 enable_wow64=${enable_wow64:-yes}
6258 enable_wow64win=${enable_wow64win:-yes}
6259 enable_wow64cpu=${enable_wow64cpu:-yes}
6262 arm*)
6263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6264 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6265 if test ${wine_cv_thumb2+y}
6266 then :
6267 printf %s "(cached) " >&6
6268 else $as_nop
6269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6270 /* end confdefs.h. */
6273 main (void)
6275 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6277 return 0;
6279 _ACEOF
6280 if ac_fn_c_try_link "$LINENO"
6281 then :
6282 wine_cv_thumb2=yes
6283 else $as_nop
6284 wine_cv_thumb2=no
6286 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6287 conftest$ac_exeext conftest.$ac_ext
6289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6290 printf "%s\n" "$wine_cv_thumb2" >&6; }
6291 if test x"$wine_cv_thumb2" = xyes
6292 then
6293 CFLAGS="$CFLAGS -mthumb"
6294 TARGETFLAGS="$TARGETFLAGS -mthumb"
6295 else
6296 CFLAGS="$CFLAGS -marm"
6297 TARGETFLAGS="$TARGETFLAGS -marm"
6299 case $with_float_abi in
6300 soft|softfp|hard)
6301 float_abi=$with_float_abi ;;
6303 case $host_os in
6304 *eabihf)
6305 float_abi=hard ;;
6307 float_abi=softfp
6308 saved_CFLAGS=$CFLAGS
6309 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6311 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6312 if test ${wine_cv_float_abi+y}
6313 then :
6314 printf %s "(cached) " >&6
6315 else $as_nop
6316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6317 /* end confdefs.h. */
6320 main (void)
6322 asm("vmrs r2,fpscr");
6324 return 0;
6326 _ACEOF
6327 if ac_fn_c_try_link "$LINENO"
6328 then :
6329 wine_cv_float_abi=yes
6330 else $as_nop
6331 wine_cv_float_abi=no
6333 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6334 conftest$ac_exeext conftest.$ac_ext
6336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6337 printf "%s\n" "$wine_cv_float_abi" >&6; }
6338 if test $wine_cv_float_abi = no
6339 then
6340 float_abi=soft
6341 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6343 CFLAGS=$saved_CFLAGS
6344 esac
6346 esac
6347 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6348 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6350 aarch64*)
6351 enable_wow64=${enable_wow64:-yes}
6352 enable_wow64win=${enable_wow64win:-yes}
6354 i[3456789]86*)
6355 enable_win16=${enable_win16:-yes}
6356 with_unwind=${with_unwind:-no}
6358 esac
6360 enable_win16=${enable_win16:-no}
6361 enable_win64=${enable_win64:-no}
6362 enable_wow64=${enable_wow64:-no}
6363 enable_wow64win=${enable_wow64win:-no}
6364 enable_wow64cpu=${enable_wow64cpu:-no}
6366 enable_winetest=${enable_winetest:-$enable_tests}
6368 if test "x$enable_win64" = "xyes"
6369 then
6370 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6371 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6374 case $build_os in
6375 cygwin*|mingw32*) toolsext=".exe"
6377 *) toolsext=""
6379 esac
6381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6382 printf %s "checking for the directory containing the Wine tools... " >&6; }
6383 if test ${wine_cv_toolsdir+y}
6384 then :
6385 printf %s "(cached) " >&6
6386 else $as_nop
6387 wine_cv_toolsdir="$with_wine_tools"
6388 if test -z "$with_wine_tools"; then
6389 if test "$cross_compiling" = "yes"; then
6390 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6391 elif test -n "$with_wine64"; then
6392 wine_cv_toolsdir="$with_wine64"
6396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6397 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6398 if test -z "$wine_cv_toolsdir"; then
6399 wine_makedep=tools/makedep$toolsext
6400 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6401 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6402 enable_tools=${enable_tools:-no}
6403 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6404 else
6405 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6407 toolsdir=$wine_cv_toolsdir
6409 MAKEDEP=$wine_makedep
6411 RUNTESTFLAGS="-q -P wine"
6413 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'"
6416 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6417 then
6418 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6421 for ac_prog in flex
6423 # Extract the first word of "$ac_prog", so it can be a program name with args.
6424 set dummy $ac_prog; ac_word=$2
6425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6426 printf %s "checking for $ac_word... " >&6; }
6427 if test ${ac_cv_prog_FLEX+y}
6428 then :
6429 printf %s "(cached) " >&6
6430 else $as_nop
6431 if test -n "$FLEX"; then
6432 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6433 else
6434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6435 for as_dir in $PATH
6437 IFS=$as_save_IFS
6438 case $as_dir in #(((
6439 '') as_dir=./ ;;
6440 */) ;;
6441 *) as_dir=$as_dir/ ;;
6442 esac
6443 for ac_exec_ext in '' $ac_executable_extensions; do
6444 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6445 ac_cv_prog_FLEX="$ac_prog"
6446 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6447 break 2
6449 done
6450 done
6451 IFS=$as_save_IFS
6455 FLEX=$ac_cv_prog_FLEX
6456 if test -n "$FLEX"; then
6457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6458 printf "%s\n" "$FLEX" >&6; }
6459 else
6460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6461 printf "%s\n" "no" >&6; }
6465 test -n "$FLEX" && break
6466 done
6467 test -n "$FLEX" || FLEX="none"
6469 if test "$FLEX" = "none"
6470 then
6471 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6474 printf %s "checking whether flex is recent enough... " >&6; }
6475 if test ${wine_cv_recent_flex+y}
6476 then :
6477 printf %s "(cached) " >&6
6478 else $as_nop
6479 cat >conftest.l <<EOF
6480 %top{
6481 #include "prediluvian.h"
6485 if $FLEX -t conftest.l >/dev/null 2>&5
6486 then
6487 wine_cv_recent_flex=yes
6488 else
6489 wine_cv_recent_flex=no
6492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6493 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6494 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
6496 for ac_prog in bison
6498 # Extract the first word of "$ac_prog", so it can be a program name with args.
6499 set dummy $ac_prog; ac_word=$2
6500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6501 printf %s "checking for $ac_word... " >&6; }
6502 if test ${ac_cv_prog_BISON+y}
6503 then :
6504 printf %s "(cached) " >&6
6505 else $as_nop
6506 if test -n "$BISON"; then
6507 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6508 else
6509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6510 for as_dir in $PATH
6512 IFS=$as_save_IFS
6513 case $as_dir in #(((
6514 '') as_dir=./ ;;
6515 */) ;;
6516 *) as_dir=$as_dir/ ;;
6517 esac
6518 for ac_exec_ext in '' $ac_executable_extensions; do
6519 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6520 ac_cv_prog_BISON="$ac_prog"
6521 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6522 break 2
6524 done
6525 done
6526 IFS=$as_save_IFS
6530 BISON=$ac_cv_prog_BISON
6531 if test -n "$BISON"; then
6532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6533 printf "%s\n" "$BISON" >&6; }
6534 else
6535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6536 printf "%s\n" "no" >&6; }
6540 test -n "$BISON" && break
6541 done
6542 test -n "$BISON" || BISON="none"
6544 if test "$BISON" = "none"
6545 then
6546 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6549 printf %s "checking whether bison is recent enough... " >&6; }
6550 if test ${wine_cv_recent_bison+y}
6551 then :
6552 printf %s "(cached) " >&6
6553 else $as_nop
6554 cat >conftest.y <<EOF
6555 %define parse.error verbose
6557 empty: ;
6559 if $BISON conftest.y >/dev/null 2>&5
6560 then
6561 wine_cv_recent_bison=yes
6562 else
6563 wine_cv_recent_bison=no
6566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6567 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6568 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
6570 if test -n "$ac_tool_prefix"; then
6571 for ac_prog in ar gar
6573 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6574 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6576 printf %s "checking for $ac_word... " >&6; }
6577 if test ${ac_cv_prog_AR+y}
6578 then :
6579 printf %s "(cached) " >&6
6580 else $as_nop
6581 if test -n "$AR"; then
6582 ac_cv_prog_AR="$AR" # Let the user override the test.
6583 else
6584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6585 for as_dir in $PATH
6587 IFS=$as_save_IFS
6588 case $as_dir in #(((
6589 '') as_dir=./ ;;
6590 */) ;;
6591 *) as_dir=$as_dir/ ;;
6592 esac
6593 for ac_exec_ext in '' $ac_executable_extensions; do
6594 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6595 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6596 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6597 break 2
6599 done
6600 done
6601 IFS=$as_save_IFS
6605 AR=$ac_cv_prog_AR
6606 if test -n "$AR"; then
6607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6608 printf "%s\n" "$AR" >&6; }
6609 else
6610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6611 printf "%s\n" "no" >&6; }
6615 test -n "$AR" && break
6616 done
6618 if test -z "$AR"; then
6619 ac_ct_AR=$AR
6620 for ac_prog in ar gar
6622 # Extract the first word of "$ac_prog", so it can be a program name with args.
6623 set dummy $ac_prog; ac_word=$2
6624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6625 printf %s "checking for $ac_word... " >&6; }
6626 if test ${ac_cv_prog_ac_ct_AR+y}
6627 then :
6628 printf %s "(cached) " >&6
6629 else $as_nop
6630 if test -n "$ac_ct_AR"; then
6631 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6632 else
6633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6634 for as_dir in $PATH
6636 IFS=$as_save_IFS
6637 case $as_dir in #(((
6638 '') as_dir=./ ;;
6639 */) ;;
6640 *) as_dir=$as_dir/ ;;
6641 esac
6642 for ac_exec_ext in '' $ac_executable_extensions; do
6643 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6644 ac_cv_prog_ac_ct_AR="$ac_prog"
6645 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6646 break 2
6648 done
6649 done
6650 IFS=$as_save_IFS
6654 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6655 if test -n "$ac_ct_AR"; then
6656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6657 printf "%s\n" "$ac_ct_AR" >&6; }
6658 else
6659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6660 printf "%s\n" "no" >&6; }
6664 test -n "$ac_ct_AR" && break
6665 done
6667 if test "x$ac_ct_AR" = x; then
6668 AR="ar"
6669 else
6670 case $cross_compiling:$ac_tool_warned in
6671 yes:)
6672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6673 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6674 ac_tool_warned=yes ;;
6675 esac
6676 AR=$ac_ct_AR
6680 if test -n "$ac_tool_prefix"; then
6681 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6682 set dummy ${ac_tool_prefix}strip; ac_word=$2
6683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6684 printf %s "checking for $ac_word... " >&6; }
6685 if test ${ac_cv_prog_STRIP+y}
6686 then :
6687 printf %s "(cached) " >&6
6688 else $as_nop
6689 if test -n "$STRIP"; then
6690 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6691 else
6692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6693 for as_dir in $PATH
6695 IFS=$as_save_IFS
6696 case $as_dir in #(((
6697 '') as_dir=./ ;;
6698 */) ;;
6699 *) as_dir=$as_dir/ ;;
6700 esac
6701 for ac_exec_ext in '' $ac_executable_extensions; do
6702 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6703 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6705 break 2
6707 done
6708 done
6709 IFS=$as_save_IFS
6713 STRIP=$ac_cv_prog_STRIP
6714 if test -n "$STRIP"; then
6715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6716 printf "%s\n" "$STRIP" >&6; }
6717 else
6718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6719 printf "%s\n" "no" >&6; }
6724 if test -z "$ac_cv_prog_STRIP"; then
6725 ac_ct_STRIP=$STRIP
6726 # Extract the first word of "strip", so it can be a program name with args.
6727 set dummy strip; ac_word=$2
6728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6729 printf %s "checking for $ac_word... " >&6; }
6730 if test ${ac_cv_prog_ac_ct_STRIP+y}
6731 then :
6732 printf %s "(cached) " >&6
6733 else $as_nop
6734 if test -n "$ac_ct_STRIP"; then
6735 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6736 else
6737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6738 for as_dir in $PATH
6740 IFS=$as_save_IFS
6741 case $as_dir in #(((
6742 '') as_dir=./ ;;
6743 */) ;;
6744 *) as_dir=$as_dir/ ;;
6745 esac
6746 for ac_exec_ext in '' $ac_executable_extensions; do
6747 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6748 ac_cv_prog_ac_ct_STRIP="strip"
6749 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6750 break 2
6752 done
6753 done
6754 IFS=$as_save_IFS
6758 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6759 if test -n "$ac_ct_STRIP"; then
6760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6761 printf "%s\n" "$ac_ct_STRIP" >&6; }
6762 else
6763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6764 printf "%s\n" "no" >&6; }
6767 if test "x$ac_ct_STRIP" = x; then
6768 STRIP="strip"
6769 else
6770 case $cross_compiling:$ac_tool_warned in
6771 yes:)
6772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6773 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6774 ac_tool_warned=yes ;;
6775 esac
6776 STRIP=$ac_ct_STRIP
6778 else
6779 STRIP="$ac_cv_prog_STRIP"
6782 if test -n "$ac_tool_prefix"; then
6783 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6784 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6786 printf %s "checking for $ac_word... " >&6; }
6787 if test ${ac_cv_prog_RANLIB+y}
6788 then :
6789 printf %s "(cached) " >&6
6790 else $as_nop
6791 if test -n "$RANLIB"; then
6792 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6793 else
6794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6795 for as_dir in $PATH
6797 IFS=$as_save_IFS
6798 case $as_dir in #(((
6799 '') as_dir=./ ;;
6800 */) ;;
6801 *) as_dir=$as_dir/ ;;
6802 esac
6803 for ac_exec_ext in '' $ac_executable_extensions; do
6804 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6805 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6806 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6807 break 2
6809 done
6810 done
6811 IFS=$as_save_IFS
6815 RANLIB=$ac_cv_prog_RANLIB
6816 if test -n "$RANLIB"; then
6817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6818 printf "%s\n" "$RANLIB" >&6; }
6819 else
6820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6821 printf "%s\n" "no" >&6; }
6826 if test -z "$ac_cv_prog_RANLIB"; then
6827 ac_ct_RANLIB=$RANLIB
6828 # Extract the first word of "ranlib", so it can be a program name with args.
6829 set dummy ranlib; ac_word=$2
6830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6831 printf %s "checking for $ac_word... " >&6; }
6832 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6833 then :
6834 printf %s "(cached) " >&6
6835 else $as_nop
6836 if test -n "$ac_ct_RANLIB"; then
6837 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6838 else
6839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6840 for as_dir in $PATH
6842 IFS=$as_save_IFS
6843 case $as_dir in #(((
6844 '') as_dir=./ ;;
6845 */) ;;
6846 *) as_dir=$as_dir/ ;;
6847 esac
6848 for ac_exec_ext in '' $ac_executable_extensions; do
6849 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6850 ac_cv_prog_ac_ct_RANLIB="ranlib"
6851 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6852 break 2
6854 done
6855 done
6856 IFS=$as_save_IFS
6860 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6861 if test -n "$ac_ct_RANLIB"; then
6862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6863 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6864 else
6865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6866 printf "%s\n" "no" >&6; }
6869 if test "x$ac_ct_RANLIB" = x; then
6870 RANLIB=":"
6871 else
6872 case $cross_compiling:$ac_tool_warned in
6873 yes:)
6874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6875 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6876 ac_tool_warned=yes ;;
6877 esac
6878 RANLIB=$ac_ct_RANLIB
6880 else
6881 RANLIB="$ac_cv_prog_RANLIB"
6884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6885 printf %s "checking whether ln -s works... " >&6; }
6886 LN_S=$as_ln_s
6887 if test "$LN_S" = "ln -s"; then
6888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6889 printf "%s\n" "yes" >&6; }
6890 else
6891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6892 printf "%s\n" "no, using $LN_S" >&6; }
6895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6896 printf %s "checking for grep that handles long lines and -e... " >&6; }
6897 if test ${ac_cv_path_GREP+y}
6898 then :
6899 printf %s "(cached) " >&6
6900 else $as_nop
6901 if test -z "$GREP"; then
6902 ac_path_GREP_found=false
6903 # Loop through the user's path and test for each of PROGNAME-LIST
6904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6905 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6907 IFS=$as_save_IFS
6908 case $as_dir in #(((
6909 '') as_dir=./ ;;
6910 */) ;;
6911 *) as_dir=$as_dir/ ;;
6912 esac
6913 for ac_prog in grep ggrep
6915 for ac_exec_ext in '' $ac_executable_extensions; do
6916 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6917 as_fn_executable_p "$ac_path_GREP" || continue
6918 # Check for GNU ac_path_GREP and select it if it is found.
6919 # Check for GNU $ac_path_GREP
6920 case `"$ac_path_GREP" --version 2>&1` in
6921 *GNU*)
6922 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6924 ac_count=0
6925 printf %s 0123456789 >"conftest.in"
6926 while :
6928 cat "conftest.in" "conftest.in" >"conftest.tmp"
6929 mv "conftest.tmp" "conftest.in"
6930 cp "conftest.in" "conftest.nl"
6931 printf "%s\n" 'GREP' >> "conftest.nl"
6932 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6933 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6934 as_fn_arith $ac_count + 1 && ac_count=$as_val
6935 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6936 # Best one so far, save it but keep looking for a better one
6937 ac_cv_path_GREP="$ac_path_GREP"
6938 ac_path_GREP_max=$ac_count
6940 # 10*(2^10) chars as input seems more than enough
6941 test $ac_count -gt 10 && break
6942 done
6943 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6944 esac
6946 $ac_path_GREP_found && break 3
6947 done
6948 done
6949 done
6950 IFS=$as_save_IFS
6951 if test -z "$ac_cv_path_GREP"; then
6952 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6954 else
6955 ac_cv_path_GREP=$GREP
6959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6960 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6961 GREP="$ac_cv_path_GREP"
6964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6965 printf %s "checking for egrep... " >&6; }
6966 if test ${ac_cv_path_EGREP+y}
6967 then :
6968 printf %s "(cached) " >&6
6969 else $as_nop
6970 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6971 then ac_cv_path_EGREP="$GREP -E"
6972 else
6973 if test -z "$EGREP"; then
6974 ac_path_EGREP_found=false
6975 # Loop through the user's path and test for each of PROGNAME-LIST
6976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6977 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6979 IFS=$as_save_IFS
6980 case $as_dir in #(((
6981 '') as_dir=./ ;;
6982 */) ;;
6983 *) as_dir=$as_dir/ ;;
6984 esac
6985 for ac_prog in egrep
6987 for ac_exec_ext in '' $ac_executable_extensions; do
6988 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
6989 as_fn_executable_p "$ac_path_EGREP" || continue
6990 # Check for GNU ac_path_EGREP and select it if it is found.
6991 # Check for GNU $ac_path_EGREP
6992 case `"$ac_path_EGREP" --version 2>&1` in
6993 *GNU*)
6994 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6996 ac_count=0
6997 printf %s 0123456789 >"conftest.in"
6998 while :
7000 cat "conftest.in" "conftest.in" >"conftest.tmp"
7001 mv "conftest.tmp" "conftest.in"
7002 cp "conftest.in" "conftest.nl"
7003 printf "%s\n" 'EGREP' >> "conftest.nl"
7004 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7005 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7006 as_fn_arith $ac_count + 1 && ac_count=$as_val
7007 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7008 # Best one so far, save it but keep looking for a better one
7009 ac_cv_path_EGREP="$ac_path_EGREP"
7010 ac_path_EGREP_max=$ac_count
7012 # 10*(2^10) chars as input seems more than enough
7013 test $ac_count -gt 10 && break
7014 done
7015 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7016 esac
7018 $ac_path_EGREP_found && break 3
7019 done
7020 done
7021 done
7022 IFS=$as_save_IFS
7023 if test -z "$ac_cv_path_EGREP"; then
7024 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7026 else
7027 ac_cv_path_EGREP=$EGREP
7032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7033 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7034 EGREP="$ac_cv_path_EGREP"
7037 # Extract the first word of "ldconfig", so it can be a program name with args.
7038 set dummy ldconfig; ac_word=$2
7039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7040 printf %s "checking for $ac_word... " >&6; }
7041 if test ${ac_cv_path_LDCONFIG+y}
7042 then :
7043 printf %s "(cached) " >&6
7044 else $as_nop
7045 case $LDCONFIG in
7046 [\\/]* | ?:[\\/]*)
7047 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7051 for as_dir in /sbin /usr/sbin $PATH
7053 IFS=$as_save_IFS
7054 case $as_dir in #(((
7055 '') as_dir=./ ;;
7056 */) ;;
7057 *) as_dir=$as_dir/ ;;
7058 esac
7059 for ac_exec_ext in '' $ac_executable_extensions; do
7060 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7061 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7062 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7063 break 2
7065 done
7066 done
7067 IFS=$as_save_IFS
7069 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7071 esac
7073 LDCONFIG=$ac_cv_path_LDCONFIG
7074 if test -n "$LDCONFIG"; then
7075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7076 printf "%s\n" "$LDCONFIG" >&6; }
7077 else
7078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7079 printf "%s\n" "no" >&6; }
7083 for ac_prog in msgfmt
7085 # Extract the first word of "$ac_prog", so it can be a program name with args.
7086 set dummy $ac_prog; ac_word=$2
7087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7088 printf %s "checking for $ac_word... " >&6; }
7089 if test ${ac_cv_prog_MSGFMT+y}
7090 then :
7091 printf %s "(cached) " >&6
7092 else $as_nop
7093 if test -n "$MSGFMT"; then
7094 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7095 else
7096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7097 for as_dir in $PATH
7099 IFS=$as_save_IFS
7100 case $as_dir in #(((
7101 '') as_dir=./ ;;
7102 */) ;;
7103 *) as_dir=$as_dir/ ;;
7104 esac
7105 for ac_exec_ext in '' $ac_executable_extensions; do
7106 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7107 ac_cv_prog_MSGFMT="$ac_prog"
7108 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7109 break 2
7111 done
7112 done
7113 IFS=$as_save_IFS
7117 MSGFMT=$ac_cv_prog_MSGFMT
7118 if test -n "$MSGFMT"; then
7119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7120 printf "%s\n" "$MSGFMT" >&6; }
7121 else
7122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7123 printf "%s\n" "no" >&6; }
7127 test -n "$MSGFMT" && break
7128 done
7129 test -n "$MSGFMT" || MSGFMT="false"
7131 if test ${ac_tool_prefix+y}
7132 then :
7133 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7134 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7136 printf %s "checking for $ac_word... " >&6; }
7137 if test ${ac_cv_prog_PKG_CONFIG+y}
7138 then :
7139 printf %s "(cached) " >&6
7140 else $as_nop
7141 if test -n "$PKG_CONFIG"; then
7142 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7143 else
7144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7145 for as_dir in $PATH
7147 IFS=$as_save_IFS
7148 case $as_dir in #(((
7149 '') as_dir=./ ;;
7150 */) ;;
7151 *) as_dir=$as_dir/ ;;
7152 esac
7153 for ac_exec_ext in '' $ac_executable_extensions; do
7154 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7155 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7157 break 2
7159 done
7160 done
7161 IFS=$as_save_IFS
7165 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7166 if test -n "$PKG_CONFIG"; then
7167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7168 printf "%s\n" "$PKG_CONFIG" >&6; }
7169 else
7170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7171 printf "%s\n" "no" >&6; }
7176 if ${ac_cv_prog_PKG_CONFIG:+false} :
7177 then :
7178 if test "x$cross_compiling" = xyes
7179 then :
7181 else $as_nop
7182 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7183 # Extract the first word of "pkg-config", so it can be a program name with args.
7184 set dummy pkg-config; ac_word=$2
7185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7186 printf %s "checking for $ac_word... " >&6; }
7187 if test ${ac_cv_prog_PKG_CONFIG+y}
7188 then :
7189 printf %s "(cached) " >&6
7190 else $as_nop
7191 if test -n "$PKG_CONFIG"; then
7192 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7193 else
7194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7195 for as_dir in $PATH
7197 IFS=$as_save_IFS
7198 case $as_dir in #(((
7199 '') as_dir=./ ;;
7200 */) ;;
7201 *) as_dir=$as_dir/ ;;
7202 esac
7203 for ac_exec_ext in '' $ac_executable_extensions; do
7204 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7205 ac_cv_prog_PKG_CONFIG="pkg-config"
7206 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7207 break 2
7209 done
7210 done
7211 IFS=$as_save_IFS
7215 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7216 if test -n "$PKG_CONFIG"; then
7217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7218 printf "%s\n" "$PKG_CONFIG" >&6; }
7219 else
7220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7221 printf "%s\n" "no" >&6; }
7226 else $as_nop
7227 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7230 if test "x$enable_maintainer_mode" != "xyes"
7231 then
7232 FONTFORGE=""
7233 RSVG=""
7234 CONVERT=""
7235 ICOTOOL=""
7236 else
7237 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7238 for ac_prog in fontforge
7240 # Extract the first word of "$ac_prog", so it can be a program name with args.
7241 set dummy $ac_prog; ac_word=$2
7242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7243 printf %s "checking for $ac_word... " >&6; }
7244 if test ${ac_cv_prog_FONTFORGE+y}
7245 then :
7246 printf %s "(cached) " >&6
7247 else $as_nop
7248 if test -n "$FONTFORGE"; then
7249 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7250 else
7251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7252 for as_dir in $PATH
7254 IFS=$as_save_IFS
7255 case $as_dir in #(((
7256 '') as_dir=./ ;;
7257 */) ;;
7258 *) as_dir=$as_dir/ ;;
7259 esac
7260 for ac_exec_ext in '' $ac_executable_extensions; do
7261 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7262 ac_cv_prog_FONTFORGE="$ac_prog"
7263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7264 break 2
7266 done
7267 done
7268 IFS=$as_save_IFS
7272 FONTFORGE=$ac_cv_prog_FONTFORGE
7273 if test -n "$FONTFORGE"; then
7274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7275 printf "%s\n" "$FONTFORGE" >&6; }
7276 else
7277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7278 printf "%s\n" "no" >&6; }
7282 test -n "$FONTFORGE" && break
7283 done
7284 test -n "$FONTFORGE" || FONTFORGE="false"
7286 for ac_prog in rsvg-convert rsvg
7288 # Extract the first word of "$ac_prog", so it can be a program name with args.
7289 set dummy $ac_prog; ac_word=$2
7290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7291 printf %s "checking for $ac_word... " >&6; }
7292 if test ${ac_cv_prog_RSVG+y}
7293 then :
7294 printf %s "(cached) " >&6
7295 else $as_nop
7296 if test -n "$RSVG"; then
7297 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7298 else
7299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7300 for as_dir in $PATH
7302 IFS=$as_save_IFS
7303 case $as_dir in #(((
7304 '') as_dir=./ ;;
7305 */) ;;
7306 *) as_dir=$as_dir/ ;;
7307 esac
7308 for ac_exec_ext in '' $ac_executable_extensions; do
7309 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7310 ac_cv_prog_RSVG="$ac_prog"
7311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7312 break 2
7314 done
7315 done
7316 IFS=$as_save_IFS
7320 RSVG=$ac_cv_prog_RSVG
7321 if test -n "$RSVG"; then
7322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7323 printf "%s\n" "$RSVG" >&6; }
7324 else
7325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7326 printf "%s\n" "no" >&6; }
7330 test -n "$RSVG" && break
7331 done
7332 test -n "$RSVG" || RSVG="false"
7334 for ac_prog in convert
7336 # Extract the first word of "$ac_prog", so it can be a program name with args.
7337 set dummy $ac_prog; ac_word=$2
7338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7339 printf %s "checking for $ac_word... " >&6; }
7340 if test ${ac_cv_prog_CONVERT+y}
7341 then :
7342 printf %s "(cached) " >&6
7343 else $as_nop
7344 if test -n "$CONVERT"; then
7345 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7346 else
7347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7348 for as_dir in $PATH
7350 IFS=$as_save_IFS
7351 case $as_dir in #(((
7352 '') as_dir=./ ;;
7353 */) ;;
7354 *) as_dir=$as_dir/ ;;
7355 esac
7356 for ac_exec_ext in '' $ac_executable_extensions; do
7357 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7358 ac_cv_prog_CONVERT="$ac_prog"
7359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7360 break 2
7362 done
7363 done
7364 IFS=$as_save_IFS
7368 CONVERT=$ac_cv_prog_CONVERT
7369 if test -n "$CONVERT"; then
7370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7371 printf "%s\n" "$CONVERT" >&6; }
7372 else
7373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7374 printf "%s\n" "no" >&6; }
7378 test -n "$CONVERT" && break
7379 done
7380 test -n "$CONVERT" || CONVERT="false"
7382 for ac_prog in icotool
7384 # Extract the first word of "$ac_prog", so it can be a program name with args.
7385 set dummy $ac_prog; ac_word=$2
7386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7387 printf %s "checking for $ac_word... " >&6; }
7388 if test ${ac_cv_prog_ICOTOOL+y}
7389 then :
7390 printf %s "(cached) " >&6
7391 else $as_nop
7392 if test -n "$ICOTOOL"; then
7393 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7394 else
7395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7396 for as_dir in $PATH
7398 IFS=$as_save_IFS
7399 case $as_dir in #(((
7400 '') as_dir=./ ;;
7401 */) ;;
7402 *) as_dir=$as_dir/ ;;
7403 esac
7404 for ac_exec_ext in '' $ac_executable_extensions; do
7405 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7406 ac_cv_prog_ICOTOOL="$ac_prog"
7407 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7408 break 2
7410 done
7411 done
7412 IFS=$as_save_IFS
7416 ICOTOOL=$ac_cv_prog_ICOTOOL
7417 if test -n "$ICOTOOL"; then
7418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7419 printf "%s\n" "$ICOTOOL" >&6; }
7420 else
7421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7422 printf "%s\n" "no" >&6; }
7426 test -n "$ICOTOOL" && break
7427 done
7428 test -n "$ICOTOOL" || ICOTOOL="false"
7430 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7431 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7433 if test "$CONVERT" = false
7434 then
7435 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7436 else
7437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7438 printf %s "checking for recent enough imagemagick... " >&6; }
7439 convert_version=`convert --version | head -n1`
7440 if test "x$convert_version" != "x"
7441 then
7442 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7443 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7444 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7445 then
7446 CONVERT=false
7449 if test "$CONVERT" = false
7450 then
7451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7452 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7453 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7454 else
7455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7456 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7460 if test "$ICOTOOL" = false
7461 then
7462 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7463 else
7464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7465 printf %s "checking for recent enough icotool... " >&6; }
7466 icotool_version=`icotool --version | head -n1`
7467 if test "x$icotool_version" != "x"
7468 then
7469 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7470 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7471 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7472 then
7473 ICOTOOL=false
7474 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7477 if test "$ICOTOOL" = false
7478 then
7479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7480 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7481 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7482 else
7483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7484 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7488 with_gettext=yes
7489 with_gettextpo=yes
7491 enable_werror=yes
7494 test "x$with_gettext" != xno || MSGFMT=false
7495 if test "$MSGFMT" != "false"
7496 then
7497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7498 printf %s "checking whether msgfmt supports contexts... " >&6; }
7499 if test ${wine_cv_msgfmt_contexts+y}
7500 then :
7501 printf %s "(cached) " >&6
7502 else $as_nop
7503 cat >conftest.po <<EOF
7504 # comment
7505 msgctxt "ctxt"
7506 msgid "id"
7507 msgstr "str"
7509 if $MSGFMT -o /dev/null conftest.po 2>&5
7510 then
7511 wine_cv_msgfmt_contexts=yes
7512 else
7513 wine_cv_msgfmt_contexts=no
7516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7517 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7518 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7520 if test "$MSGFMT" = false
7521 then :
7522 case "x$with_gettext" in
7523 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7524 xno) ;;
7525 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7526 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7527 esac
7528 enable_po=${enable_po:-no}
7532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7533 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7534 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7535 then :
7536 printf %s "(cached) " >&6
7537 else $as_nop
7538 ac_check_lib_save_LIBS=$LIBS
7539 LIBS="-li386 $LIBS"
7540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7541 /* end confdefs.h. */
7543 /* Override any GCC internal prototype to avoid an error.
7544 Use char because int might match the return type of a GCC
7545 builtin and then its argument prototype would still apply. */
7546 char i386_set_ldt ();
7548 main (void)
7550 return i386_set_ldt ();
7552 return 0;
7554 _ACEOF
7555 if ac_fn_c_try_link "$LINENO"
7556 then :
7557 ac_cv_lib_i386_i386_set_ldt=yes
7558 else $as_nop
7559 ac_cv_lib_i386_i386_set_ldt=no
7561 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7562 conftest$ac_exeext conftest.$ac_ext
7563 LIBS=$ac_check_lib_save_LIBS
7565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7566 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7567 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7568 then :
7569 I386_LIBS="-li386"
7574 OPENGL_LIBS=""
7578 # Check whether --enable-largefile was given.
7579 if test ${enable_largefile+y}
7580 then :
7581 enableval=$enable_largefile;
7584 if test "$enable_largefile" != no; then
7586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7587 printf %s "checking for special C compiler options needed for large files... " >&6; }
7588 if test ${ac_cv_sys_largefile_CC+y}
7589 then :
7590 printf %s "(cached) " >&6
7591 else $as_nop
7592 ac_cv_sys_largefile_CC=no
7593 if test "$GCC" != yes; then
7594 ac_save_CC=$CC
7595 while :; do
7596 # IRIX 6.2 and later do not support large files by default,
7597 # so use the C compiler's -n32 option if that helps.
7598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7599 /* end confdefs.h. */
7600 #include <sys/types.h>
7601 /* Check that off_t can represent 2**63 - 1 correctly.
7602 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7603 since some C++ compilers masquerading as C compilers
7604 incorrectly reject 9223372036854775807. */
7605 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7606 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7607 && LARGE_OFF_T % 2147483647 == 1)
7608 ? 1 : -1];
7610 main (void)
7614 return 0;
7616 _ACEOF
7617 if ac_fn_c_try_compile "$LINENO"
7618 then :
7619 break
7621 rm -f core conftest.err conftest.$ac_objext conftest.beam
7622 CC="$CC -n32"
7623 if ac_fn_c_try_compile "$LINENO"
7624 then :
7625 ac_cv_sys_largefile_CC=' -n32'; break
7627 rm -f core conftest.err conftest.$ac_objext conftest.beam
7628 break
7629 done
7630 CC=$ac_save_CC
7631 rm -f conftest.$ac_ext
7634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7635 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7636 if test "$ac_cv_sys_largefile_CC" != no; then
7637 CC=$CC$ac_cv_sys_largefile_CC
7640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7641 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7642 if test ${ac_cv_sys_file_offset_bits+y}
7643 then :
7644 printf %s "(cached) " >&6
7645 else $as_nop
7646 while :; do
7647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7648 /* end confdefs.h. */
7649 #include <sys/types.h>
7650 /* Check that off_t can represent 2**63 - 1 correctly.
7651 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7652 since some C++ compilers masquerading as C compilers
7653 incorrectly reject 9223372036854775807. */
7654 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7655 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7656 && LARGE_OFF_T % 2147483647 == 1)
7657 ? 1 : -1];
7659 main (void)
7663 return 0;
7665 _ACEOF
7666 if ac_fn_c_try_compile "$LINENO"
7667 then :
7668 ac_cv_sys_file_offset_bits=no; break
7670 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7672 /* end confdefs.h. */
7673 #define _FILE_OFFSET_BITS 64
7674 #include <sys/types.h>
7675 /* Check that off_t can represent 2**63 - 1 correctly.
7676 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7677 since some C++ compilers masquerading as C compilers
7678 incorrectly reject 9223372036854775807. */
7679 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7680 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7681 && LARGE_OFF_T % 2147483647 == 1)
7682 ? 1 : -1];
7684 main (void)
7688 return 0;
7690 _ACEOF
7691 if ac_fn_c_try_compile "$LINENO"
7692 then :
7693 ac_cv_sys_file_offset_bits=64; break
7695 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7696 ac_cv_sys_file_offset_bits=unknown
7697 break
7698 done
7700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7701 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7702 case $ac_cv_sys_file_offset_bits in #(
7703 no | unknown) ;;
7705 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7707 esac
7708 rm -rf conftest*
7709 if test $ac_cv_sys_file_offset_bits = unknown; then
7710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7711 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7712 if test ${ac_cv_sys_large_files+y}
7713 then :
7714 printf %s "(cached) " >&6
7715 else $as_nop
7716 while :; do
7717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7718 /* end confdefs.h. */
7719 #include <sys/types.h>
7720 /* Check that off_t can represent 2**63 - 1 correctly.
7721 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7722 since some C++ compilers masquerading as C compilers
7723 incorrectly reject 9223372036854775807. */
7724 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7725 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7726 && LARGE_OFF_T % 2147483647 == 1)
7727 ? 1 : -1];
7729 main (void)
7733 return 0;
7735 _ACEOF
7736 if ac_fn_c_try_compile "$LINENO"
7737 then :
7738 ac_cv_sys_large_files=no; break
7740 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7742 /* end confdefs.h. */
7743 #define _LARGE_FILES 1
7744 #include <sys/types.h>
7745 /* Check that off_t can represent 2**63 - 1 correctly.
7746 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7747 since some C++ compilers masquerading as C compilers
7748 incorrectly reject 9223372036854775807. */
7749 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7750 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7751 && LARGE_OFF_T % 2147483647 == 1)
7752 ? 1 : -1];
7754 main (void)
7758 return 0;
7760 _ACEOF
7761 if ac_fn_c_try_compile "$LINENO"
7762 then :
7763 ac_cv_sys_large_files=1; break
7765 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7766 ac_cv_sys_large_files=unknown
7767 break
7768 done
7770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7771 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7772 case $ac_cv_sys_large_files in #(
7773 no | unknown) ;;
7775 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7777 esac
7778 rm -rf conftest*
7783 ac_header= ac_cache=
7784 for ac_item in $ac_header_c_list
7786 if test $ac_cache; then
7787 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7788 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7789 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7791 ac_header= ac_cache=
7792 elif test $ac_header; then
7793 ac_cache=$ac_item
7794 else
7795 ac_header=$ac_item
7797 done
7806 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7807 then :
7809 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7812 ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
7813 if test "x$ac_cv_header_AL_al_h" = xyes
7814 then :
7815 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
7818 ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
7819 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
7820 then :
7821 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
7824 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7825 if test "x$ac_cv_header_CL_cl_h" = xyes
7826 then :
7827 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7830 ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
7831 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
7832 then :
7833 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
7836 ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
7837 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
7838 then :
7839 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
7842 ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
7843 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
7844 then :
7845 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
7848 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7849 if test "x$ac_cv_header_EGL_egl_h" = xyes
7850 then :
7851 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7854 ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
7855 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
7856 then :
7857 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
7860 ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
7861 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
7862 then :
7863 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
7866 ac_fn_c_check_header_compile "$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
7867 if test "x$ac_cv_header_OpenAL_al_h" = xyes
7868 then :
7869 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
7872 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7873 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7874 then :
7875 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7878 ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
7879 if test "x$ac_cv_header_Security_Security_h" = xyes
7880 then :
7881 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
7884 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
7885 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
7886 then :
7887 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
7890 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
7891 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
7892 then :
7893 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
7896 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7897 if test "x$ac_cv_header_arpa_inet_h" = xyes
7898 then :
7899 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7902 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7903 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7904 then :
7905 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7908 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7909 if test "x$ac_cv_header_asm_types_h" = xyes
7910 then :
7911 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7914 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7915 if test "x$ac_cv_header_asm_user_h" = xyes
7916 then :
7917 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7920 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7921 if test "x$ac_cv_header_elf_h" = xyes
7922 then :
7923 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7926 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7927 if test "x$ac_cv_header_float_h" = xyes
7928 then :
7929 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7932 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7933 if test "x$ac_cv_header_gettext_po_h" = xyes
7934 then :
7935 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7938 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7939 if test "x$ac_cv_header_libproc_h" = xyes
7940 then :
7941 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7944 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7945 if test "x$ac_cv_header_link_h" = xyes
7946 then :
7947 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7950 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7951 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7952 then :
7953 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7956 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7957 if test "x$ac_cv_header_linux_filter_h" = xyes
7958 then :
7959 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7962 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7963 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7964 then :
7965 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7968 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7969 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7970 then :
7971 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7974 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7975 if test "x$ac_cv_header_linux_input_h" = xyes
7976 then :
7977 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7980 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7981 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7982 then :
7983 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7986 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7987 if test "x$ac_cv_header_linux_major_h" = xyes
7988 then :
7989 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7992 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7993 if test "x$ac_cv_header_linux_param_h" = xyes
7994 then :
7995 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7998 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7999 if test "x$ac_cv_header_linux_serial_h" = xyes
8000 then :
8001 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8004 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8005 if test "x$ac_cv_header_linux_types_h" = xyes
8006 then :
8007 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8010 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8011 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8012 then :
8013 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8016 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8017 if test "x$ac_cv_header_lwp_h" = xyes
8018 then :
8019 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8022 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8023 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8024 then :
8025 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8028 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8029 if test "x$ac_cv_header_mach_mach_h" = xyes
8030 then :
8031 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8034 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8035 if test "x$ac_cv_header_machine_cpu_h" = xyes
8036 then :
8037 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8040 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8041 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8042 then :
8043 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8046 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8047 if test "x$ac_cv_header_mntent_h" = xyes
8048 then :
8049 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8052 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8053 if test "x$ac_cv_header_netdb_h" = xyes
8054 then :
8055 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8058 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8059 if test "x$ac_cv_header_netinet_in_h" = xyes
8060 then :
8061 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8064 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8065 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8066 then :
8067 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8070 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8071 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8072 then :
8073 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8076 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8077 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8078 then :
8079 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8082 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8083 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8084 then :
8085 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8088 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8089 if test "x$ac_cv_header_port_h" = xyes
8090 then :
8091 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8094 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8095 if test "x$ac_cv_header_pthread_h" = xyes
8096 then :
8097 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8100 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8101 if test "x$ac_cv_header_pwd_h" = xyes
8102 then :
8103 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8106 ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8107 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8108 then :
8109 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8112 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8113 if test "x$ac_cv_header_sched_h" = xyes
8114 then :
8115 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8118 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8119 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8120 then :
8121 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8124 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8125 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8126 then :
8127 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8130 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8131 if test "x$ac_cv_header_scsi_sg_h" = xyes
8132 then :
8133 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8136 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8137 if test "x$ac_cv_header_stdint_h" = xyes
8138 then :
8139 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8142 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8143 if test "x$ac_cv_header_sys_attr_h" = xyes
8144 then :
8145 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8148 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8149 if test "x$ac_cv_header_sys_auxv_h" = xyes
8150 then :
8151 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8154 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8155 if test "x$ac_cv_header_sys_cdio_h" = xyes
8156 then :
8157 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8160 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8161 if test "x$ac_cv_header_sys_epoll_h" = xyes
8162 then :
8163 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8166 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8167 if test "x$ac_cv_header_sys_event_h" = xyes
8168 then :
8169 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8172 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8173 if test "x$ac_cv_header_sys_filio_h" = xyes
8174 then :
8175 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8178 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8179 if test "x$ac_cv_header_sys_ipc_h" = xyes
8180 then :
8181 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8184 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8185 if test "x$ac_cv_header_sys_link_h" = xyes
8186 then :
8187 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8190 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8191 if test "x$ac_cv_header_sys_modem_h" = xyes
8192 then :
8193 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8196 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8197 if test "x$ac_cv_header_sys_mtio_h" = xyes
8198 then :
8199 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8202 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8203 if test "x$ac_cv_header_sys_param_h" = xyes
8204 then :
8205 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8208 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8209 if test "x$ac_cv_header_sys_prctl_h" = xyes
8210 then :
8211 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8214 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8215 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8216 then :
8217 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8220 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8221 if test "x$ac_cv_header_sys_queue_h" = xyes
8222 then :
8223 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8226 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8227 if test "x$ac_cv_header_sys_random_h" = xyes
8228 then :
8229 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8232 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8233 if test "x$ac_cv_header_sys_resource_h" = xyes
8234 then :
8235 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8238 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8239 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8240 then :
8241 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8244 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8245 if test "x$ac_cv_header_sys_shm_h" = xyes
8246 then :
8247 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8250 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8251 if test "x$ac_cv_header_sys_signal_h" = xyes
8252 then :
8253 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8256 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8257 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8258 then :
8259 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8262 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8263 if test "x$ac_cv_header_sys_sockio_h" = xyes
8264 then :
8265 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8268 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8269 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8270 then :
8271 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8274 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8275 if test "x$ac_cv_header_sys_strtio_h" = xyes
8276 then :
8277 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8280 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8281 if test "x$ac_cv_header_sys_syscall_h" = xyes
8282 then :
8283 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8286 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8287 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8288 then :
8289 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8292 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8293 if test "x$ac_cv_header_sys_times_h" = xyes
8294 then :
8295 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8298 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8299 if test "x$ac_cv_header_sys_uio_h" = xyes
8300 then :
8301 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8304 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8305 if test "x$ac_cv_header_sys_user_h" = xyes
8306 then :
8307 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8310 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8311 if test "x$ac_cv_header_sys_utsname_h" = xyes
8312 then :
8313 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8316 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8317 if test "x$ac_cv_header_sys_vnode_h" = xyes
8318 then :
8319 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8322 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8323 if test "x$ac_cv_header_syscall_h" = xyes
8324 then :
8325 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8328 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8329 if test "x$ac_cv_header_utime_h" = xyes
8330 then :
8331 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8334 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8335 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8336 then :
8337 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8340 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8341 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8342 then :
8343 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8347 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8348 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8349 then :
8351 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8355 if test $ac_cv_header_sys_mkdev_h = no; then
8356 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8357 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8358 then :
8360 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8366 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8367 if test ${ac_cv_header_stat_broken+y}
8368 then :
8369 printf %s "(cached) " >&6
8370 else $as_nop
8371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8372 /* end confdefs.h. */
8373 #include <sys/types.h>
8374 #include <sys/stat.h>
8376 #if defined S_ISBLK && defined S_IFDIR
8377 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8378 #endif
8380 #if defined S_ISBLK && defined S_IFCHR
8381 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8382 #endif
8384 #if defined S_ISLNK && defined S_IFREG
8385 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8386 #endif
8388 #if defined S_ISSOCK && defined S_IFREG
8389 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8390 #endif
8392 _ACEOF
8393 if ac_fn_c_try_compile "$LINENO"
8394 then :
8395 ac_cv_header_stat_broken=no
8396 else $as_nop
8397 ac_cv_header_stat_broken=yes
8399 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8402 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8403 if test $ac_cv_header_stat_broken = yes; then
8405 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8411 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8412 #ifdef HAVE_SYS_PARAM_H
8413 # include <sys/param.h>
8414 #endif
8416 if test "x$ac_cv_header_sys_conf_h" = xyes
8417 then :
8418 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8421 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8422 #ifdef HAVE_SYS_PARAM_H
8423 # include <sys/param.h>
8424 #endif
8426 if test "x$ac_cv_header_sys_mount_h" = xyes
8427 then :
8428 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8431 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8432 #ifdef HAVE_SYS_PARAM_H
8433 # include <sys/param.h>
8434 #endif
8436 if test "x$ac_cv_header_sys_statfs_h" = xyes
8437 then :
8438 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8441 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8442 #ifdef HAVE_SYS_PARAM_H
8443 # include <sys/param.h>
8444 #endif
8446 if test "x$ac_cv_header_sys_user_h" = xyes
8447 then :
8448 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8451 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8452 #ifdef HAVE_SYS_PARAM_H
8453 # include <sys/param.h>
8454 #endif
8456 if test "x$ac_cv_header_sys_vfs_h" = xyes
8457 then :
8458 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8463 saved_sysctl_h_CFLAGS=$CFLAGS
8464 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8465 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8466 #ifdef HAVE_SYS_PARAM_H
8467 # include <sys/param.h>
8468 #endif
8470 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8471 then :
8472 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8476 CFLAGS=$saved_sysctl_h_CFLAGS
8478 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8479 #include <sys/socket.h>
8480 #ifdef HAVE_SYS_SOCKETVAR_H
8481 # include <sys/socketvar.h>
8482 #endif
8483 #ifdef HAVE_NET_ROUTE_H
8484 # include <net/route.h>
8485 #endif
8486 #ifdef HAVE_NETINET_IN_H
8487 # include <netinet/in.h>
8488 #endif
8489 #ifdef HAVE_NETINET_IN_SYSTM_H
8490 # include <netinet/in_systm.h>
8491 #endif
8492 #ifdef HAVE_NET_IF_H
8493 # include <net/if.h>
8494 #endif
8495 #ifdef HAVE_NETINET_IP_H
8496 # include <netinet/ip.h>
8497 #endif
8499 if test "x$ac_cv_header_netinet_ip_h" = xyes
8500 then :
8501 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8504 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8505 #include <sys/socket.h>
8506 #ifdef HAVE_SYS_SOCKETVAR_H
8507 # include <sys/socketvar.h>
8508 #endif
8509 #ifdef HAVE_NET_ROUTE_H
8510 # include <net/route.h>
8511 #endif
8512 #ifdef HAVE_NETINET_IN_H
8513 # include <netinet/in.h>
8514 #endif
8515 #ifdef HAVE_NETINET_IN_SYSTM_H
8516 # include <netinet/in_systm.h>
8517 #endif
8518 #ifdef HAVE_NET_IF_H
8519 # include <net/if.h>
8520 #endif
8521 #ifdef HAVE_NETINET_IP_H
8522 # include <netinet/ip.h>
8523 #endif
8525 if test "x$ac_cv_header_net_if_h" = xyes
8526 then :
8527 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8530 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8531 #include <sys/socket.h>
8532 #ifdef HAVE_SYS_SOCKETVAR_H
8533 # include <sys/socketvar.h>
8534 #endif
8535 #ifdef HAVE_NET_ROUTE_H
8536 # include <net/route.h>
8537 #endif
8538 #ifdef HAVE_NETINET_IN_H
8539 # include <netinet/in.h>
8540 #endif
8541 #ifdef HAVE_NETINET_IN_SYSTM_H
8542 # include <netinet/in_systm.h>
8543 #endif
8544 #ifdef HAVE_NET_IF_H
8545 # include <net/if.h>
8546 #endif
8547 #ifdef HAVE_NETINET_IP_H
8548 # include <netinet/ip.h>
8549 #endif
8551 if test "x$ac_cv_header_net_if_arp_h" = xyes
8552 then :
8553 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8556 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8557 #include <sys/socket.h>
8558 #ifdef HAVE_SYS_SOCKETVAR_H
8559 # include <sys/socketvar.h>
8560 #endif
8561 #ifdef HAVE_NET_ROUTE_H
8562 # include <net/route.h>
8563 #endif
8564 #ifdef HAVE_NETINET_IN_H
8565 # include <netinet/in.h>
8566 #endif
8567 #ifdef HAVE_NETINET_IN_SYSTM_H
8568 # include <netinet/in_systm.h>
8569 #endif
8570 #ifdef HAVE_NET_IF_H
8571 # include <net/if.h>
8572 #endif
8573 #ifdef HAVE_NETINET_IP_H
8574 # include <netinet/ip.h>
8575 #endif
8577 if test "x$ac_cv_header_net_if_dl_h" = xyes
8578 then :
8579 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8582 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8583 #include <sys/socket.h>
8584 #ifdef HAVE_SYS_SOCKETVAR_H
8585 # include <sys/socketvar.h>
8586 #endif
8587 #ifdef HAVE_NET_ROUTE_H
8588 # include <net/route.h>
8589 #endif
8590 #ifdef HAVE_NETINET_IN_H
8591 # include <netinet/in.h>
8592 #endif
8593 #ifdef HAVE_NETINET_IN_SYSTM_H
8594 # include <netinet/in_systm.h>
8595 #endif
8596 #ifdef HAVE_NET_IF_H
8597 # include <net/if.h>
8598 #endif
8599 #ifdef HAVE_NETINET_IP_H
8600 # include <netinet/ip.h>
8601 #endif
8603 if test "x$ac_cv_header_net_if_types_h" = xyes
8604 then :
8605 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8608 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8609 #include <sys/socket.h>
8610 #ifdef HAVE_SYS_SOCKETVAR_H
8611 # include <sys/socketvar.h>
8612 #endif
8613 #ifdef HAVE_NET_ROUTE_H
8614 # include <net/route.h>
8615 #endif
8616 #ifdef HAVE_NETINET_IN_H
8617 # include <netinet/in.h>
8618 #endif
8619 #ifdef HAVE_NETINET_IN_SYSTM_H
8620 # include <netinet/in_systm.h>
8621 #endif
8622 #ifdef HAVE_NET_IF_H
8623 # include <net/if.h>
8624 #endif
8625 #ifdef HAVE_NETINET_IP_H
8626 # include <netinet/ip.h>
8627 #endif
8629 if test "x$ac_cv_header_net_route_h" = xyes
8630 then :
8631 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8634 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8635 #include <sys/socket.h>
8636 #ifdef HAVE_SYS_SOCKETVAR_H
8637 # include <sys/socketvar.h>
8638 #endif
8639 #ifdef HAVE_NET_ROUTE_H
8640 # include <net/route.h>
8641 #endif
8642 #ifdef HAVE_NETINET_IN_H
8643 # include <netinet/in.h>
8644 #endif
8645 #ifdef HAVE_NETINET_IN_SYSTM_H
8646 # include <netinet/in_systm.h>
8647 #endif
8648 #ifdef HAVE_NET_IF_H
8649 # include <net/if.h>
8650 #endif
8651 #ifdef HAVE_NETINET_IP_H
8652 # include <netinet/ip.h>
8653 #endif
8655 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8656 then :
8657 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8660 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8661 #include <sys/socket.h>
8662 #ifdef HAVE_SYS_SOCKETVAR_H
8663 # include <sys/socketvar.h>
8664 #endif
8665 #ifdef HAVE_NET_ROUTE_H
8666 # include <net/route.h>
8667 #endif
8668 #ifdef HAVE_NETINET_IN_H
8669 # include <netinet/in.h>
8670 #endif
8671 #ifdef HAVE_NETINET_IN_SYSTM_H
8672 # include <netinet/in_systm.h>
8673 #endif
8674 #ifdef HAVE_NET_IF_H
8675 # include <net/if.h>
8676 #endif
8677 #ifdef HAVE_NETINET_IP_H
8678 # include <netinet/ip.h>
8679 #endif
8681 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8682 then :
8683 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8686 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8687 #include <sys/socket.h>
8688 #ifdef HAVE_SYS_SOCKETVAR_H
8689 # include <sys/socketvar.h>
8690 #endif
8691 #ifdef HAVE_NET_ROUTE_H
8692 # include <net/route.h>
8693 #endif
8694 #ifdef HAVE_NETINET_IN_H
8695 # include <netinet/in.h>
8696 #endif
8697 #ifdef HAVE_NETINET_IN_SYSTM_H
8698 # include <netinet/in_systm.h>
8699 #endif
8700 #ifdef HAVE_NET_IF_H
8701 # include <net/if.h>
8702 #endif
8703 #ifdef HAVE_NETINET_IP_H
8704 # include <netinet/ip.h>
8705 #endif
8707 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8708 then :
8709 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8712 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8713 #include <sys/socket.h>
8714 #ifdef HAVE_SYS_SOCKETVAR_H
8715 # include <sys/socketvar.h>
8716 #endif
8717 #ifdef HAVE_NET_ROUTE_H
8718 # include <net/route.h>
8719 #endif
8720 #ifdef HAVE_NETINET_IN_H
8721 # include <netinet/in.h>
8722 #endif
8723 #ifdef HAVE_NETINET_IN_SYSTM_H
8724 # include <netinet/in_systm.h>
8725 #endif
8726 #ifdef HAVE_NET_IF_H
8727 # include <net/if.h>
8728 #endif
8729 #ifdef HAVE_NETINET_IP_H
8730 # include <netinet/ip.h>
8731 #endif
8733 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8734 then :
8735 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8738 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8739 #include <sys/socket.h>
8740 #ifdef HAVE_SYS_SOCKETVAR_H
8741 # include <sys/socketvar.h>
8742 #endif
8743 #ifdef HAVE_NET_ROUTE_H
8744 # include <net/route.h>
8745 #endif
8746 #ifdef HAVE_NETINET_IN_H
8747 # include <netinet/in.h>
8748 #endif
8749 #ifdef HAVE_NETINET_IN_SYSTM_H
8750 # include <netinet/in_systm.h>
8751 #endif
8752 #ifdef HAVE_NET_IF_H
8753 # include <net/if.h>
8754 #endif
8755 #ifdef HAVE_NETINET_IP_H
8756 # include <netinet/ip.h>
8757 #endif
8759 if test "x$ac_cv_header_netinet_udp_h" = xyes
8760 then :
8761 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8764 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8765 #include <sys/socket.h>
8766 #ifdef HAVE_SYS_SOCKETVAR_H
8767 # include <sys/socketvar.h>
8768 #endif
8769 #ifdef HAVE_NET_ROUTE_H
8770 # include <net/route.h>
8771 #endif
8772 #ifdef HAVE_NETINET_IN_H
8773 # include <netinet/in.h>
8774 #endif
8775 #ifdef HAVE_NETINET_IN_SYSTM_H
8776 # include <netinet/in_systm.h>
8777 #endif
8778 #ifdef HAVE_NET_IF_H
8779 # include <net/if.h>
8780 #endif
8781 #ifdef HAVE_NETINET_IP_H
8782 # include <netinet/ip.h>
8783 #endif
8785 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8786 then :
8787 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8790 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8791 #include <sys/socket.h>
8792 #ifdef HAVE_SYS_SOCKETVAR_H
8793 # include <sys/socketvar.h>
8794 #endif
8795 #ifdef HAVE_NET_ROUTE_H
8796 # include <net/route.h>
8797 #endif
8798 #ifdef HAVE_NETINET_IN_H
8799 # include <netinet/in.h>
8800 #endif
8801 #ifdef HAVE_NETINET_IN_SYSTM_H
8802 # include <netinet/in_systm.h>
8803 #endif
8804 #ifdef HAVE_NET_IF_H
8805 # include <net/if.h>
8806 #endif
8807 #ifdef HAVE_NETINET_IP_H
8808 # include <netinet/ip.h>
8809 #endif
8811 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8812 then :
8813 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8816 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8817 #include <sys/socket.h>
8818 #ifdef HAVE_SYS_SOCKETVAR_H
8819 # include <sys/socketvar.h>
8820 #endif
8821 #ifdef HAVE_NET_ROUTE_H
8822 # include <net/route.h>
8823 #endif
8824 #ifdef HAVE_NETINET_IN_H
8825 # include <netinet/in.h>
8826 #endif
8827 #ifdef HAVE_NETINET_IN_SYSTM_H
8828 # include <netinet/in_systm.h>
8829 #endif
8830 #ifdef HAVE_NET_IF_H
8831 # include <net/if.h>
8832 #endif
8833 #ifdef HAVE_NETINET_IP_H
8834 # include <netinet/ip.h>
8835 #endif
8837 if test "x$ac_cv_header_sys_un_h" = xyes
8838 then :
8839 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8844 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8845 #include <sys/socket.h>
8846 #ifdef HAVE_SYS_SOCKETVAR_H
8847 # include <sys/socketvar.h>
8848 #endif
8849 #ifdef HAVE_NETINET_IN_H
8850 # include <netinet/in.h>
8851 #endif
8852 #ifdef HAVE_NETINET_IN_SYSTM_H
8853 # include <netinet/in_systm.h>
8854 #endif
8855 #ifdef HAVE_NETINET_IP_H
8856 # include <netinet/ip.h>
8857 #endif
8858 #ifdef HAVE_NETINET_IP_VAR_H
8859 # include <netinet/ip_var.h>
8860 #endif
8861 #ifdef HAVE_NETINET_IP_ICMP_H
8862 # include <netinet/ip_icmp.h>
8863 #endif
8864 #ifdef HAVE_NETINET_UDP_H
8865 # include <netinet/udp.h>
8866 #endif
8867 #ifdef HAVE_NETINET_TCP_H
8868 # include <netinet/tcp.h>
8869 #endif
8871 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8872 then :
8873 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8876 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8877 #include <sys/socket.h>
8878 #ifdef HAVE_SYS_SOCKETVAR_H
8879 # include <sys/socketvar.h>
8880 #endif
8881 #ifdef HAVE_NETINET_IN_H
8882 # include <netinet/in.h>
8883 #endif
8884 #ifdef HAVE_NETINET_IN_SYSTM_H
8885 # include <netinet/in_systm.h>
8886 #endif
8887 #ifdef HAVE_NETINET_IP_H
8888 # include <netinet/ip.h>
8889 #endif
8890 #ifdef HAVE_NETINET_IP_VAR_H
8891 # include <netinet/ip_var.h>
8892 #endif
8893 #ifdef HAVE_NETINET_IP_ICMP_H
8894 # include <netinet/ip_icmp.h>
8895 #endif
8896 #ifdef HAVE_NETINET_UDP_H
8897 # include <netinet/udp.h>
8898 #endif
8899 #ifdef HAVE_NETINET_TCP_H
8900 # include <netinet/tcp.h>
8901 #endif
8903 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8904 then :
8905 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8908 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8909 #include <sys/socket.h>
8910 #ifdef HAVE_SYS_SOCKETVAR_H
8911 # include <sys/socketvar.h>
8912 #endif
8913 #ifdef HAVE_NETINET_IN_H
8914 # include <netinet/in.h>
8915 #endif
8916 #ifdef HAVE_NETINET_IN_SYSTM_H
8917 # include <netinet/in_systm.h>
8918 #endif
8919 #ifdef HAVE_NETINET_IP_H
8920 # include <netinet/ip.h>
8921 #endif
8922 #ifdef HAVE_NETINET_IP_VAR_H
8923 # include <netinet/ip_var.h>
8924 #endif
8925 #ifdef HAVE_NETINET_IP_ICMP_H
8926 # include <netinet/ip_icmp.h>
8927 #endif
8928 #ifdef HAVE_NETINET_UDP_H
8929 # include <netinet/udp.h>
8930 #endif
8931 #ifdef HAVE_NETINET_TCP_H
8932 # include <netinet/tcp.h>
8933 #endif
8935 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8936 then :
8937 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8940 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8941 #include <sys/socket.h>
8942 #ifdef HAVE_SYS_SOCKETVAR_H
8943 # include <sys/socketvar.h>
8944 #endif
8945 #ifdef HAVE_NETINET_IN_H
8946 # include <netinet/in.h>
8947 #endif
8948 #ifdef HAVE_NETINET_IN_SYSTM_H
8949 # include <netinet/in_systm.h>
8950 #endif
8951 #ifdef HAVE_NETINET_IP_H
8952 # include <netinet/ip.h>
8953 #endif
8954 #ifdef HAVE_NETINET_IP_VAR_H
8955 # include <netinet/ip_var.h>
8956 #endif
8957 #ifdef HAVE_NETINET_IP_ICMP_H
8958 # include <netinet/ip_icmp.h>
8959 #endif
8960 #ifdef HAVE_NETINET_UDP_H
8961 # include <netinet/udp.h>
8962 #endif
8963 #ifdef HAVE_NETINET_TCP_H
8964 # include <netinet/tcp.h>
8965 #endif
8967 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8968 then :
8969 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8974 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8975 #include <sys/socket.h>
8976 #ifdef HAVE_ASM_TYPES_H
8977 # include <asm/types.h>
8978 #endif
8979 #ifdef HAVE_LINUX_TYPES_H
8980 # include <linux/types.h>
8981 #endif
8983 if test "x$ac_cv_header_linux_ipx_h" = xyes
8984 then :
8985 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8988 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8989 #include <sys/socket.h>
8990 #ifdef HAVE_ASM_TYPES_H
8991 # include <asm/types.h>
8992 #endif
8993 #ifdef HAVE_LINUX_TYPES_H
8994 # include <linux/types.h>
8995 #endif
8997 if test "x$ac_cv_header_linux_irda_h" = xyes
8998 then :
8999 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9002 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9003 #include <sys/socket.h>
9004 #ifdef HAVE_ASM_TYPES_H
9005 # include <asm/types.h>
9006 #endif
9007 #ifdef HAVE_LINUX_TYPES_H
9008 # include <linux/types.h>
9009 #endif
9011 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9012 then :
9013 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9018 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9019 #include <sys/socket.h>
9020 #ifdef HAVE_NETINET_IN_H
9021 # include <netinet/in.h>
9022 #endif
9023 #ifdef HAVE_ARPA_NAMESER_H
9024 # include <arpa/nameser.h>
9025 #endif
9027 if test "x$ac_cv_header_resolv_h" = xyes
9028 then :
9029 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9034 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9036 if test "x$ac_cv_header_ifaddrs_h" = xyes
9037 then :
9038 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9043 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9045 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9046 then :
9047 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9052 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9053 #ifdef HAVE_SYS_UCONTEXT_H
9054 #include <sys/ucontext.h>
9055 #endif
9057 if test "x$ac_cv_header_sys_thr_h" = xyes
9058 then :
9059 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9064 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9065 #include <pthread.h>
9066 #endif
9068 if test "x$ac_cv_header_pthread_np_h" = xyes
9069 then :
9070 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9075 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9076 #include <sys/types.h>
9077 #ifdef HAVE_ASM_TYPES_H
9078 #include <asm/types.h>
9079 #endif
9081 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9082 then :
9083 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9088 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9089 #include <sys/param.h>
9090 #endif
9091 #include <sys/socket.h>
9092 #ifdef HAVE_SYS_QUEUE_H
9093 #include <sys/queue.h>
9094 #endif
9096 if test "x$ac_cv_header_libprocstat_h" = xyes
9097 then :
9098 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9104 DLLFLAGS=""
9106 LDDLLFLAGS=""
9108 LDEXECFLAGS=""
9110 EXTRACFLAGS=""
9112 UNIXDLLFLAGS="-fPIC"
9114 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9116 TOP_INSTALL_LIB=""
9118 TOP_INSTALL_DEV=""
9120 WINELOADER_LDFLAGS=""
9122 WINEPRELOADER_LDFLAGS=""
9124 LIBEXT="so"
9125 # Extract the first word of "ldd", so it can be a program name with args.
9126 set dummy ldd; ac_word=$2
9127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9128 printf %s "checking for $ac_word... " >&6; }
9129 if test ${ac_cv_path_LDD+y}
9130 then :
9131 printf %s "(cached) " >&6
9132 else $as_nop
9133 case $LDD in
9134 [\\/]* | ?:[\\/]*)
9135 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9139 as_dummy="/sbin:/usr/sbin:$PATH"
9140 for as_dir in $as_dummy
9142 IFS=$as_save_IFS
9143 case $as_dir in #(((
9144 '') as_dir=./ ;;
9145 */) ;;
9146 *) as_dir=$as_dir/ ;;
9147 esac
9148 for ac_exec_ext in '' $ac_executable_extensions; do
9149 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9150 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9151 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9152 break 2
9154 done
9155 done
9156 IFS=$as_save_IFS
9158 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9160 esac
9162 LDD=$ac_cv_path_LDD
9163 if test -n "$LDD"; then
9164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9165 printf "%s\n" "$LDD" >&6; }
9166 else
9167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9168 printf "%s\n" "no" >&6; }
9172 if test -n "$ac_tool_prefix"; then
9173 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9174 set dummy ${ac_tool_prefix}otool; ac_word=$2
9175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9176 printf %s "checking for $ac_word... " >&6; }
9177 if test ${ac_cv_prog_OTOOL+y}
9178 then :
9179 printf %s "(cached) " >&6
9180 else $as_nop
9181 if test -n "$OTOOL"; then
9182 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9183 else
9184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9185 for as_dir in $PATH
9187 IFS=$as_save_IFS
9188 case $as_dir in #(((
9189 '') as_dir=./ ;;
9190 */) ;;
9191 *) as_dir=$as_dir/ ;;
9192 esac
9193 for ac_exec_ext in '' $ac_executable_extensions; do
9194 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9195 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9196 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9197 break 2
9199 done
9200 done
9201 IFS=$as_save_IFS
9205 OTOOL=$ac_cv_prog_OTOOL
9206 if test -n "$OTOOL"; then
9207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9208 printf "%s\n" "$OTOOL" >&6; }
9209 else
9210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9211 printf "%s\n" "no" >&6; }
9216 if test -z "$ac_cv_prog_OTOOL"; then
9217 ac_ct_OTOOL=$OTOOL
9218 # Extract the first word of "otool", so it can be a program name with args.
9219 set dummy otool; ac_word=$2
9220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9221 printf %s "checking for $ac_word... " >&6; }
9222 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9223 then :
9224 printf %s "(cached) " >&6
9225 else $as_nop
9226 if test -n "$ac_ct_OTOOL"; then
9227 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9228 else
9229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9230 for as_dir in $PATH
9232 IFS=$as_save_IFS
9233 case $as_dir in #(((
9234 '') as_dir=./ ;;
9235 */) ;;
9236 *) as_dir=$as_dir/ ;;
9237 esac
9238 for ac_exec_ext in '' $ac_executable_extensions; do
9239 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9240 ac_cv_prog_ac_ct_OTOOL="otool"
9241 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9242 break 2
9244 done
9245 done
9246 IFS=$as_save_IFS
9250 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9251 if test -n "$ac_ct_OTOOL"; then
9252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9253 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9254 else
9255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9256 printf "%s\n" "no" >&6; }
9259 if test "x$ac_ct_OTOOL" = x; then
9260 OTOOL="otool"
9261 else
9262 case $cross_compiling:$ac_tool_warned in
9263 yes:)
9264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9265 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9266 ac_tool_warned=yes ;;
9267 esac
9268 OTOOL=$ac_ct_OTOOL
9270 else
9271 OTOOL="$ac_cv_prog_OTOOL"
9274 if test -n "$ac_tool_prefix"; then
9275 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9276 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9278 printf %s "checking for $ac_word... " >&6; }
9279 if test ${ac_cv_prog_READELF+y}
9280 then :
9281 printf %s "(cached) " >&6
9282 else $as_nop
9283 if test -n "$READELF"; then
9284 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9285 else
9286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9287 for as_dir in $PATH
9289 IFS=$as_save_IFS
9290 case $as_dir in #(((
9291 '') as_dir=./ ;;
9292 */) ;;
9293 *) as_dir=$as_dir/ ;;
9294 esac
9295 for ac_exec_ext in '' $ac_executable_extensions; do
9296 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9297 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9298 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9299 break 2
9301 done
9302 done
9303 IFS=$as_save_IFS
9307 READELF=$ac_cv_prog_READELF
9308 if test -n "$READELF"; then
9309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9310 printf "%s\n" "$READELF" >&6; }
9311 else
9312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9313 printf "%s\n" "no" >&6; }
9318 if test -z "$ac_cv_prog_READELF"; then
9319 ac_ct_READELF=$READELF
9320 # Extract the first word of "readelf", so it can be a program name with args.
9321 set dummy readelf; ac_word=$2
9322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9323 printf %s "checking for $ac_word... " >&6; }
9324 if test ${ac_cv_prog_ac_ct_READELF+y}
9325 then :
9326 printf %s "(cached) " >&6
9327 else $as_nop
9328 if test -n "$ac_ct_READELF"; then
9329 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9330 else
9331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9332 for as_dir in $PATH
9334 IFS=$as_save_IFS
9335 case $as_dir in #(((
9336 '') as_dir=./ ;;
9337 */) ;;
9338 *) as_dir=$as_dir/ ;;
9339 esac
9340 for ac_exec_ext in '' $ac_executable_extensions; do
9341 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9342 ac_cv_prog_ac_ct_READELF="readelf"
9343 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9344 break 2
9346 done
9347 done
9348 IFS=$as_save_IFS
9352 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9353 if test -n "$ac_ct_READELF"; then
9354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9355 printf "%s\n" "$ac_ct_READELF" >&6; }
9356 else
9357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9358 printf "%s\n" "no" >&6; }
9361 if test "x$ac_ct_READELF" = x; then
9362 READELF="true"
9363 else
9364 case $cross_compiling:$ac_tool_warned in
9365 yes:)
9366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9367 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9368 ac_tool_warned=yes ;;
9369 esac
9370 READELF=$ac_ct_READELF
9372 else
9373 READELF="$ac_cv_prog_READELF"
9376 wine_rules="all:"
9377 SUBDIRS=""
9379 DISABLED_SUBDIRS=""
9381 CONFIGURE_TARGETS=""
9384 wine_fn_append_file ()
9386 as_fn_append $1 " \\$as_nl $2"
9389 wine_fn_append_rule ()
9391 as_fn_append wine_rules "$as_nl$1"
9394 wine_fn_config_makefile ()
9396 wine_fn_append_file SUBDIRS $1
9397 if eval test \"x\$"$2"\" = x"no"
9398 then :
9399 wine_fn_append_file DISABLED_SUBDIRS $1
9403 wine_fn_config_symlink ()
9405 ac_links=$@
9406 wine_fn_append_rule \
9407 "$ac_links:
9408 @./config.status \$@"
9409 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
9412 wine_binary="wine"
9413 test "x$enable_win64" != "xyes" || wine_binary="wine64"
9414 WINELOADER_PROGRAMS="$wine_binary"
9416 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9418 case $host_os in
9419 cygwin*|mingw32*)
9420 if test -n "$ac_tool_prefix"; then
9421 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9422 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9424 printf %s "checking for $ac_word... " >&6; }
9425 if test ${ac_cv_prog_DLLTOOL+y}
9426 then :
9427 printf %s "(cached) " >&6
9428 else $as_nop
9429 if test -n "$DLLTOOL"; then
9430 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9431 else
9432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9433 for as_dir in $PATH
9435 IFS=$as_save_IFS
9436 case $as_dir in #(((
9437 '') as_dir=./ ;;
9438 */) ;;
9439 *) as_dir=$as_dir/ ;;
9440 esac
9441 for ac_exec_ext in '' $ac_executable_extensions; do
9442 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9443 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9444 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9445 break 2
9447 done
9448 done
9449 IFS=$as_save_IFS
9453 DLLTOOL=$ac_cv_prog_DLLTOOL
9454 if test -n "$DLLTOOL"; then
9455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9456 printf "%s\n" "$DLLTOOL" >&6; }
9457 else
9458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9459 printf "%s\n" "no" >&6; }
9464 if test -z "$ac_cv_prog_DLLTOOL"; then
9465 ac_ct_DLLTOOL=$DLLTOOL
9466 # Extract the first word of "dlltool", so it can be a program name with args.
9467 set dummy dlltool; ac_word=$2
9468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9469 printf %s "checking for $ac_word... " >&6; }
9470 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9471 then :
9472 printf %s "(cached) " >&6
9473 else $as_nop
9474 if test -n "$ac_ct_DLLTOOL"; then
9475 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9476 else
9477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9478 for as_dir in $PATH
9480 IFS=$as_save_IFS
9481 case $as_dir in #(((
9482 '') as_dir=./ ;;
9483 */) ;;
9484 *) as_dir=$as_dir/ ;;
9485 esac
9486 for ac_exec_ext in '' $ac_executable_extensions; do
9487 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9488 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9489 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9490 break 2
9492 done
9493 done
9494 IFS=$as_save_IFS
9498 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9499 if test -n "$ac_ct_DLLTOOL"; then
9500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9501 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9502 else
9503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9504 printf "%s\n" "no" >&6; }
9507 if test "x$ac_ct_DLLTOOL" = x; then
9508 DLLTOOL="false"
9509 else
9510 case $cross_compiling:$ac_tool_warned in
9511 yes:)
9512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9513 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9514 ac_tool_warned=yes ;;
9515 esac
9516 DLLTOOL=$ac_ct_DLLTOOL
9518 else
9519 DLLTOOL="$ac_cv_prog_DLLTOOL"
9522 LIBEXT="dll"
9523 EXTRACFLAGS="-D__WINE_PE_BUILD"
9524 case $host_cpu in
9525 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9526 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9527 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9528 then :
9529 printf %s "(cached) " >&6
9530 else $as_nop
9531 ac_wine_try_cflags_saved=$CFLAGS
9532 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9534 /* end confdefs.h. */
9535 int main(int argc, char **argv) { return 0; }
9536 _ACEOF
9537 if ac_fn_c_try_link "$LINENO"
9538 then :
9539 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9540 else $as_nop
9541 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9543 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9544 conftest$ac_exeext conftest.$ac_ext
9545 CFLAGS=$ac_wine_try_cflags_saved
9547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9548 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9549 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9550 then :
9551 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9552 fi ;;
9553 esac
9554 enable_loader=${enable_loader:-no}
9555 enable_server=${enable_server:-no}
9556 with_x=${with_x:-no}
9557 with_pthread=${with_pthread:-no}
9560 darwin*|macosx*)
9561 ac_ext=m
9562 ac_cpp='$OBJCPP $CPPFLAGS'
9563 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9564 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9565 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9567 ac_ext=m
9568 ac_cpp='$OBJCPP $CPPFLAGS'
9569 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9570 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9571 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9572 if test -n "$ac_tool_prefix"; then
9573 for ac_prog in gcc objcc objc cc CC clang
9575 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9576 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9578 printf %s "checking for $ac_word... " >&6; }
9579 if test ${ac_cv_prog_OBJC+y}
9580 then :
9581 printf %s "(cached) " >&6
9582 else $as_nop
9583 if test -n "$OBJC"; then
9584 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9585 else
9586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9587 for as_dir in $PATH
9589 IFS=$as_save_IFS
9590 case $as_dir in #(((
9591 '') as_dir=./ ;;
9592 */) ;;
9593 *) as_dir=$as_dir/ ;;
9594 esac
9595 for ac_exec_ext in '' $ac_executable_extensions; do
9596 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9597 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9598 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9599 break 2
9601 done
9602 done
9603 IFS=$as_save_IFS
9607 OBJC=$ac_cv_prog_OBJC
9608 if test -n "$OBJC"; then
9609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9610 printf "%s\n" "$OBJC" >&6; }
9611 else
9612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9613 printf "%s\n" "no" >&6; }
9617 test -n "$OBJC" && break
9618 done
9620 if test -z "$OBJC"; then
9621 ac_ct_OBJC=$OBJC
9622 for ac_prog in gcc objcc objc cc CC clang
9624 # Extract the first word of "$ac_prog", so it can be a program name with args.
9625 set dummy $ac_prog; ac_word=$2
9626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9627 printf %s "checking for $ac_word... " >&6; }
9628 if test ${ac_cv_prog_ac_ct_OBJC+y}
9629 then :
9630 printf %s "(cached) " >&6
9631 else $as_nop
9632 if test -n "$ac_ct_OBJC"; then
9633 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9634 else
9635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9636 for as_dir in $PATH
9638 IFS=$as_save_IFS
9639 case $as_dir in #(((
9640 '') as_dir=./ ;;
9641 */) ;;
9642 *) as_dir=$as_dir/ ;;
9643 esac
9644 for ac_exec_ext in '' $ac_executable_extensions; do
9645 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9646 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9647 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9648 break 2
9650 done
9651 done
9652 IFS=$as_save_IFS
9656 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9657 if test -n "$ac_ct_OBJC"; then
9658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9659 printf "%s\n" "$ac_ct_OBJC" >&6; }
9660 else
9661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9662 printf "%s\n" "no" >&6; }
9666 test -n "$ac_ct_OBJC" && break
9667 done
9669 if test "x$ac_ct_OBJC" = x; then
9670 OBJC="gcc"
9671 else
9672 case $cross_compiling:$ac_tool_warned in
9673 yes:)
9674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9675 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9676 ac_tool_warned=yes ;;
9677 esac
9678 OBJC=$ac_ct_OBJC
9682 # Provide some information about the compiler.
9683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9684 set X $ac_compile
9685 ac_compiler=$2
9686 for ac_option in --version -v -V -qversion; do
9687 { { ac_try="$ac_compiler $ac_option >&5"
9688 case "(($ac_try" in
9689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9690 *) ac_try_echo=$ac_try;;
9691 esac
9692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9693 printf "%s\n" "$ac_try_echo"; } >&5
9694 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9695 ac_status=$?
9696 if test -s conftest.err; then
9697 sed '10a\
9698 ... rest of stderr output deleted ...
9699 10q' conftest.err >conftest.er1
9700 cat conftest.er1 >&5
9702 rm -f conftest.er1 conftest.err
9703 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9704 test $ac_status = 0; }
9705 done
9707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9708 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9709 if test ${ac_cv_objc_compiler_gnu+y}
9710 then :
9711 printf %s "(cached) " >&6
9712 else $as_nop
9713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9714 /* end confdefs.h. */
9717 main (void)
9719 #ifndef __GNUC__
9720 choke me
9721 #endif
9724 return 0;
9726 _ACEOF
9727 if ac_fn_objc_try_compile "$LINENO"
9728 then :
9729 ac_compiler_gnu=yes
9730 else $as_nop
9731 ac_compiler_gnu=no
9733 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9734 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9738 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9739 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9741 if test $ac_compiler_gnu = yes; then
9742 GOBJC=yes
9743 else
9744 GOBJC=
9746 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9747 ac_save_OBJCFLAGS=$OBJCFLAGS
9748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9749 printf %s "checking whether $OBJC accepts -g... " >&6; }
9750 if test ${ac_cv_prog_objc_g+y}
9751 then :
9752 printf %s "(cached) " >&6
9753 else $as_nop
9754 ac_save_objc_werror_flag=$ac_objc_werror_flag
9755 ac_objc_werror_flag=yes
9756 ac_cv_prog_objc_g=no
9757 OBJCFLAGS="-g"
9758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9759 /* end confdefs.h. */
9762 main (void)
9766 return 0;
9768 _ACEOF
9769 if ac_fn_objc_try_compile "$LINENO"
9770 then :
9771 ac_cv_prog_objc_g=yes
9772 else $as_nop
9773 OBJCFLAGS=""
9774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9775 /* end confdefs.h. */
9778 main (void)
9782 return 0;
9784 _ACEOF
9785 if ac_fn_objc_try_compile "$LINENO"
9786 then :
9788 else $as_nop
9789 ac_objc_werror_flag=$ac_save_objc_werror_flag
9790 OBJCFLAGS="-g"
9791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9792 /* end confdefs.h. */
9795 main (void)
9799 return 0;
9801 _ACEOF
9802 if ac_fn_objc_try_compile "$LINENO"
9803 then :
9804 ac_cv_prog_objc_g=yes
9806 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
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
9811 ac_objc_werror_flag=$ac_save_objc_werror_flag
9813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9814 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9815 if test $ac_test_OBJCFLAGS; then
9816 OBJCFLAGS=$ac_save_OBJCFLAGS
9817 elif test $ac_cv_prog_objc_g = yes; then
9818 if test "$GOBJC" = yes; then
9819 OBJCFLAGS="-g -O2"
9820 else
9821 OBJCFLAGS="-g"
9823 else
9824 if test "$GOBJC" = yes; then
9825 OBJCFLAGS="-O2"
9826 else
9827 OBJCFLAGS=
9830 ac_ext=m
9831 ac_cpp='$OBJCPP $CPPFLAGS'
9832 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9833 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9834 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9837 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
9838 if test "x$ac_cv_header_Metal_Metal_h" = xyes
9839 then :
9840 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
9844 ac_ext=c
9845 ac_cpp='$CPP $CPPFLAGS'
9846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9850 LIBEXT="dylib"
9851 DLLFLAGS="$DLLFLAGS -fPIC"
9852 LDDLLFLAGS="-fPIC"
9853 COREFOUNDATION_LIBS="-framework CoreFoundation"
9855 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9857 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9859 CORESERVICES_LIBS="-framework CoreServices"
9861 APPKIT_LIBS="-framework AppKit"
9863 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9866 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9868 wine_can_build_preloader=yes
9869 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"
9870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9871 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9872 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9873 then :
9874 printf %s "(cached) " >&6
9875 else $as_nop
9876 ac_wine_try_cflags_saved=$CFLAGS
9877 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9879 /* end confdefs.h. */
9880 int main(int argc, char **argv) { return 0; }
9881 _ACEOF
9882 if ac_fn_c_try_link "$LINENO"
9883 then :
9884 ac_cv_cflags__Wl__no_new_main__e__main=yes
9885 else $as_nop
9886 ac_cv_cflags__Wl__no_new_main__e__main=no
9888 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9889 conftest$ac_exeext conftest.$ac_ext
9890 CFLAGS=$ac_wine_try_cflags_saved
9892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9893 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9894 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9895 then :
9896 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9897 { 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
9898 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9899 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9900 then :
9901 printf %s "(cached) " >&6
9902 else $as_nop
9903 ac_wine_try_cflags_saved=$CFLAGS
9904 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9906 /* end confdefs.h. */
9907 int main(int argc, char **argv) { return 0; }
9908 _ACEOF
9909 if ac_fn_c_try_link "$LINENO"
9910 then :
9911 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9912 else $as_nop
9913 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9915 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9916 conftest$ac_exeext conftest.$ac_ext
9917 CFLAGS=$ac_wine_try_cflags_saved
9919 { 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
9920 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9921 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9922 then :
9923 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9924 else $as_nop
9925 wine_can_build_preloader=no
9927 else $as_nop
9928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9929 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9930 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9931 then :
9932 printf %s "(cached) " >&6
9933 else $as_nop
9934 ac_wine_try_cflags_saved=$CFLAGS
9935 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9937 /* end confdefs.h. */
9938 int main(int argc, char **argv) { return 0; }
9939 _ACEOF
9940 if ac_fn_c_try_link "$LINENO"
9941 then :
9942 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9943 else $as_nop
9944 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9946 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9947 conftest$ac_exeext conftest.$ac_ext
9948 CFLAGS=$ac_wine_try_cflags_saved
9950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9951 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9952 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9953 then :
9954 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9955 else $as_nop
9956 wine_can_build_preloader=no
9959 if test "$wine_can_build_preloader" = "yes"
9960 then
9961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9962 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9963 if test ${ac_cv_cflags__Wl__no_pie+y}
9964 then :
9965 printf %s "(cached) " >&6
9966 else $as_nop
9967 ac_wine_try_cflags_saved=$CFLAGS
9968 CFLAGS="$CFLAGS -Wl,-no_pie"
9969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9970 /* end confdefs.h. */
9971 int main(int argc, char **argv) { return 0; }
9972 _ACEOF
9973 if ac_fn_c_try_link "$LINENO"
9974 then :
9975 ac_cv_cflags__Wl__no_pie=yes
9976 else $as_nop
9977 ac_cv_cflags__Wl__no_pie=no
9979 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9980 conftest$ac_exeext conftest.$ac_ext
9981 CFLAGS=$ac_wine_try_cflags_saved
9983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9984 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9985 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9986 then :
9987 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9989 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
9990 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
9991 else
9992 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9995 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
9996 then
9997 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
10000 if test "$ac_cv_header_Security_Security_h" = "yes"
10001 then
10002 SECURITY_LIBS="-framework Security -framework CoreFoundation"
10005 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
10006 then
10007 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
10009 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
10011 if test "$ac_cv_header_OpenAL_al_h" = "yes"
10012 then
10013 OPENAL_LIBS="-framework OpenAL"
10016 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
10018 ac_cv_lib_openal=yes
10020 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
10021 then
10022 OPENCL_LIBS="-framework OpenCL"
10024 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10026 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
10027 then
10028 ac_save_LIBS="$LIBS"
10029 LIBS="$LIBS $IOKIT_LIBS"
10030 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
10031 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
10032 then :
10033 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
10037 LIBS="$ac_save_LIBS"
10040 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
10041 then
10042 CARBON_LIBS="-framework Carbon"
10045 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10046 then
10047 METAL_LIBS="-framework Metal"
10051 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10052 then
10053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10054 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10055 ac_ext=m
10056 ac_cpp='$OBJCPP $CPPFLAGS'
10057 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10058 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10059 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10062 /* end confdefs.h. */
10063 #include <Metal/Metal.h>
10065 main (void)
10067 id<MTLDevice> device; device.registryID;
10069 return 0;
10071 _ACEOF
10072 if ac_fn_objc_try_compile "$LINENO"
10073 then :
10074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10075 printf "%s\n" "yes" >&6; }
10077 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10079 else $as_nop
10080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10081 printf "%s\n" "no" >&6; }
10083 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10084 ac_ext=c
10085 ac_cpp='$CPP $CPPFLAGS'
10086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10092 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10093 then
10094 ac_save_LIBS="$LIBS"
10095 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10096 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10097 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10098 then :
10099 enable_winemac_drv=${enable_winemac_drv:-yes}
10102 LIBS="$ac_save_LIBS"
10105 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
10106 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10108 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10110 WINELOADER_DEPENDS="wine_info.plist"
10112 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10115 linux-android*)
10117 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10119 DLLFLAGS="$DLLFLAGS -fPIC"
10120 LDDLLFLAGS="-fPIC"
10121 LDEXECFLAGS="-Wl,-pie"
10122 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10124 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10125 if test ${ac_cv_cflags__Wl__z_defs+y}
10126 then :
10127 printf %s "(cached) " >&6
10128 else $as_nop
10129 ac_wine_try_cflags_saved=$CFLAGS
10130 CFLAGS="$CFLAGS -Wl,-z,defs"
10131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10132 /* end confdefs.h. */
10133 int main(int argc, char **argv) { return 0; }
10134 _ACEOF
10135 if ac_fn_c_try_link "$LINENO"
10136 then :
10137 ac_cv_cflags__Wl__z_defs=yes
10138 else $as_nop
10139 ac_cv_cflags__Wl__z_defs=no
10141 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10142 conftest$ac_exeext conftest.$ac_ext
10143 CFLAGS=$ac_wine_try_cflags_saved
10145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10146 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10147 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10148 then :
10149 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10152 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10153 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10154 then :
10155 printf %s "(cached) " >&6
10156 else $as_nop
10157 ac_wine_try_cflags_saved=$CFLAGS
10158 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10160 /* end confdefs.h. */
10161 int main(int argc, char **argv) { return 0; }
10162 _ACEOF
10163 if ac_fn_c_try_link "$LINENO"
10164 then :
10165 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10166 else $as_nop
10167 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10169 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10170 conftest$ac_exeext conftest.$ac_ext
10171 CFLAGS=$ac_wine_try_cflags_saved
10173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10174 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10175 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10176 then :
10177 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10179 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10182 printf %s "checking for -lEGL... " >&6; }
10183 if test ${ac_cv_lib_soname_EGL+y}
10184 then :
10185 printf %s "(cached) " >&6
10186 else $as_nop
10187 ac_check_soname_save_LIBS=$LIBS
10188 LIBS="-lEGL $LIBS"
10189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10190 /* end confdefs.h. */
10192 /* Override any GCC internal prototype to avoid an error.
10193 Use char because int might match the return type of a GCC
10194 builtin and then its argument prototype would still apply. */
10195 char eglGetProcAddress ();
10197 main (void)
10199 return eglGetProcAddress ();
10201 return 0;
10203 _ACEOF
10204 if ac_fn_c_try_link "$LINENO"
10205 then :
10206 case "$LIBEXT" in
10207 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10208 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'` ;;
10209 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10210 if ${ac_cv_lib_soname_EGL:+false} :
10211 then :
10212 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10213 fi ;;
10214 esac
10215 else $as_nop
10216 ac_cv_lib_soname_EGL=
10218 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10219 conftest$ac_exeext conftest.$ac_ext
10220 LIBS=$ac_check_soname_save_LIBS
10222 if ${ac_cv_lib_soname_EGL:+false} :
10223 then :
10224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10225 printf "%s\n" "not found" >&6; }
10227 else $as_nop
10228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10229 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10231 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10236 printf %s "checking for -lGLESv2... " >&6; }
10237 if test ${ac_cv_lib_soname_GLESv2+y}
10238 then :
10239 printf %s "(cached) " >&6
10240 else $as_nop
10241 ac_check_soname_save_LIBS=$LIBS
10242 LIBS="-lGLESv2 $LIBS"
10243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10244 /* end confdefs.h. */
10246 /* Override any GCC internal prototype to avoid an error.
10247 Use char because int might match the return type of a GCC
10248 builtin and then its argument prototype would still apply. */
10249 char glFlush ();
10251 main (void)
10253 return glFlush ();
10255 return 0;
10257 _ACEOF
10258 if ac_fn_c_try_link "$LINENO"
10259 then :
10260 case "$LIBEXT" in
10261 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10262 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'` ;;
10263 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10264 if ${ac_cv_lib_soname_GLESv2:+false} :
10265 then :
10266 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10267 fi ;;
10268 esac
10269 else $as_nop
10270 ac_cv_lib_soname_GLESv2=
10272 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10273 conftest$ac_exeext conftest.$ac_ext
10274 LIBS=$ac_check_soname_save_LIBS
10276 if ${ac_cv_lib_soname_GLESv2:+false} :
10277 then :
10278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10279 printf "%s\n" "not found" >&6; }
10281 else $as_nop
10282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10283 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10285 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10290 if test "x$exec_prefix" = xNONE
10291 then
10292 case $host_cpu in
10293 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10294 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10295 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10296 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10297 esac
10303 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10305 test "$ac_cv_sys_file_offset_bits" = 64 &&
10306 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10308 case $host_cpu in
10309 *i[3456789]86*)
10310 DLLFLAGS="$DLLFLAGS -fno-PIC"
10311 LDDLLFLAGS="-fno-PIC"
10312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10313 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10314 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10315 then :
10316 printf %s "(cached) " >&6
10317 else $as_nop
10318 ac_wine_try_cflags_saved=$CFLAGS
10319 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10321 /* end confdefs.h. */
10322 int main(int argc, char **argv) { return 0; }
10323 _ACEOF
10324 if ac_fn_c_try_link "$LINENO"
10325 then :
10326 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10327 else $as_nop
10328 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10330 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10331 conftest$ac_exeext conftest.$ac_ext
10332 CFLAGS=$ac_wine_try_cflags_saved
10334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10335 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10336 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10337 then :
10338 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10342 DLLFLAGS="$DLLFLAGS -fPIC"
10343 LDDLLFLAGS="-fPIC" ;;
10344 esac
10345 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10347 echo '{ global: *; };' >conftest.map
10348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10349 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10350 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10351 then :
10352 printf %s "(cached) " >&6
10353 else $as_nop
10354 ac_wine_try_cflags_saved=$CFLAGS
10355 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10357 /* end confdefs.h. */
10358 int main(int argc, char **argv) { return 0; }
10359 _ACEOF
10360 if ac_fn_c_try_link "$LINENO"
10361 then :
10362 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10363 else $as_nop
10364 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10366 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10367 conftest$ac_exeext conftest.$ac_ext
10368 CFLAGS=$ac_wine_try_cflags_saved
10370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10371 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10372 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10373 then :
10374 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10376 rm -f conftest.map
10378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10379 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10380 if test ${ac_cv_cflags__Wl__z_defs+y}
10381 then :
10382 printf %s "(cached) " >&6
10383 else $as_nop
10384 ac_wine_try_cflags_saved=$CFLAGS
10385 CFLAGS="$CFLAGS -Wl,-z,defs"
10386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10387 /* end confdefs.h. */
10388 int main(int argc, char **argv) { return 0; }
10389 _ACEOF
10390 if ac_fn_c_try_link "$LINENO"
10391 then :
10392 ac_cv_cflags__Wl__z_defs=yes
10393 else $as_nop
10394 ac_cv_cflags__Wl__z_defs=no
10396 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10397 conftest$ac_exeext conftest.$ac_ext
10398 CFLAGS=$ac_wine_try_cflags_saved
10400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10401 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10402 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10403 then :
10404 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10407 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10408 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10409 then :
10410 printf %s "(cached) " >&6
10411 else $as_nop
10412 ac_wine_try_cflags_saved=$CFLAGS
10413 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10415 /* end confdefs.h. */
10416 int main(int argc, char **argv) { return 0; }
10417 _ACEOF
10418 if ac_fn_c_try_link "$LINENO"
10419 then :
10420 ac_cv_cflags__Wl___export_dynamic=yes
10421 else $as_nop
10422 ac_cv_cflags__Wl___export_dynamic=no
10424 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10425 conftest$ac_exeext conftest.$ac_ext
10426 CFLAGS=$ac_wine_try_cflags_saved
10428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10429 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10430 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10431 then :
10432 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10434 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10436 case $host_cpu in
10437 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10439 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10440 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10441 then :
10442 printf %s "(cached) " >&6
10443 else $as_nop
10444 ac_wine_try_cflags_saved=$CFLAGS
10445 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10447 /* end confdefs.h. */
10448 int main(int argc, char **argv) { return 0; }
10449 _ACEOF
10450 if ac_fn_c_try_link "$LINENO"
10451 then :
10452 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10453 else $as_nop
10454 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10456 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10457 conftest$ac_exeext conftest.$ac_ext
10458 CFLAGS=$ac_wine_try_cflags_saved
10460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10461 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10462 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10463 then :
10464 case $host_os in
10465 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10466 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10467 esac
10468 else $as_nop
10469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10470 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10471 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10472 then :
10473 printf %s "(cached) " >&6
10474 else $as_nop
10475 ac_wine_try_cflags_saved=$CFLAGS
10476 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10478 /* end confdefs.h. */
10479 int main(int argc, char **argv) { return 0; }
10480 _ACEOF
10481 if ac_fn_c_try_link "$LINENO"
10482 then :
10483 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10484 else $as_nop
10485 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10487 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10488 conftest$ac_exeext conftest.$ac_ext
10489 CFLAGS=$ac_wine_try_cflags_saved
10491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10492 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10493 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10494 then :
10495 case $host_os in
10496 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10497 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10498 esac
10500 # Extract the first word of "prelink", so it can be a program name with args.
10501 set dummy prelink; ac_word=$2
10502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10503 printf %s "checking for $ac_word... " >&6; }
10504 if test ${ac_cv_path_PRELINK+y}
10505 then :
10506 printf %s "(cached) " >&6
10507 else $as_nop
10508 case $PRELINK in
10509 [\\/]* | ?:[\\/]*)
10510 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10514 for as_dir in /sbin /usr/sbin $PATH
10516 IFS=$as_save_IFS
10517 case $as_dir in #(((
10518 '') as_dir=./ ;;
10519 */) ;;
10520 *) as_dir=$as_dir/ ;;
10521 esac
10522 for ac_exec_ext in '' $ac_executable_extensions; do
10523 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10524 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10525 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10526 break 2
10528 done
10529 done
10530 IFS=$as_save_IFS
10532 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10534 esac
10536 PRELINK=$ac_cv_path_PRELINK
10537 if test -n "$PRELINK"; then
10538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10539 printf "%s\n" "$PRELINK" >&6; }
10540 else
10541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10542 printf "%s\n" "no" >&6; }
10546 if test "x$PRELINK" = xfalse
10547 then
10548 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10552 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10553 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10554 then :
10555 printf %s "(cached) " >&6
10556 else $as_nop
10557 ac_wine_try_cflags_saved=$CFLAGS
10558 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10560 /* end confdefs.h. */
10561 int main(int argc, char **argv) { return 0; }
10562 _ACEOF
10563 if ac_fn_c_try_link "$LINENO"
10564 then :
10565 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10566 else $as_nop
10567 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10569 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10570 conftest$ac_exeext conftest.$ac_ext
10571 CFLAGS=$ac_wine_try_cflags_saved
10573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10574 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10575 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10576 then :
10577 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10580 esac
10581 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10583 LIBWINE_DEPENDS="wine.map"
10585 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10587 esac
10589 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10590 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10591 enable_winemac_drv=${enable_winemac_drv:-no}
10594 if test "x$with_mingw" != xno
10595 then
10596 case "x$with_mingw" in
10597 x|xyes) case "$host_cpu" in
10598 aarch64*)
10599 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
10600 arm*)
10601 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
10602 i[3456789]86*)
10603 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
10604 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
10605 mingw32-gcc clang" ;;
10606 x86_64)
10607 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
10608 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
10610 ac_prefix_list="" ;;
10611 esac
10612 for ac_prog in $ac_prefix_list
10614 # Extract the first word of "$ac_prog", so it can be a program name with args.
10615 set dummy $ac_prog; ac_word=$2
10616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10617 printf %s "checking for $ac_word... " >&6; }
10618 if test ${ac_cv_prog_CROSSCC+y}
10619 then :
10620 printf %s "(cached) " >&6
10621 else $as_nop
10622 if test -n "$CROSSCC"; then
10623 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
10624 else
10625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10626 for as_dir in $PATH
10628 IFS=$as_save_IFS
10629 case $as_dir in #(((
10630 '') as_dir=./ ;;
10631 */) ;;
10632 *) as_dir=$as_dir/ ;;
10633 esac
10634 for ac_exec_ext in '' $ac_executable_extensions; do
10635 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10636 ac_cv_prog_CROSSCC="$ac_prog"
10637 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10638 break 2
10640 done
10641 done
10642 IFS=$as_save_IFS
10646 CROSSCC=$ac_cv_prog_CROSSCC
10647 if test -n "$CROSSCC"; then
10648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
10649 printf "%s\n" "$CROSSCC" >&6; }
10650 else
10651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10652 printf "%s\n" "no" >&6; }
10656 test -n "$CROSSCC" && break
10657 done
10658 test -n "$CROSSCC" || CROSSCC="false"
10660 *) CROSSCC=$with_mingw ;;
10661 esac
10662 if test "$CROSSCC" != "false"
10663 then
10664 ac_save_CC="$CC"
10665 saved_CFLAGS=$CFLAGS
10666 saved_LDFLAGS=$LDFLAGS
10667 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
10669 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
10673 CC="$CROSSCC"
10674 CFLAGS=$CROSSCFLAGS
10675 LDFLAGS=$CROSSLDFLAGS
10676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
10677 printf %s "checking whether $CROSSCC works... " >&6; }
10678 if test ${wine_cv_crosscc+y}
10679 then :
10680 printf %s "(cached) " >&6
10681 else $as_nop
10682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10683 /* end confdefs.h. */
10686 main (void)
10690 return 0;
10692 _ACEOF
10693 if ac_fn_c_try_compile "$LINENO"
10694 then :
10695 wine_cv_crosscc=yes
10696 else $as_nop
10697 wine_cv_crosscc=no
10699 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
10702 printf "%s\n" "$wine_cv_crosscc" >&6; }
10703 if test $wine_cv_crosscc = yes
10704 then
10705 set x $CROSSCC
10706 shift
10707 while test $# -ge 1
10709 case "$1" in
10710 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
10711 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
10712 esac
10713 shift
10714 done
10716 llvm_target=$CROSSTARGET
10717 llvm_cflags="-fuse-ld=lld"
10718 if test -z "$llvm_target"
10719 then
10720 case $host_cpu in
10721 *i[3456789]86*) llvm_target=i686-windows ;;
10722 *) llvm_target=$host_cpu-windows ;;
10723 esac
10725 case $llvm_target in
10726 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
10727 esac
10728 as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
10729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
10730 printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
10731 if eval test \${$as_ac_var+y}
10732 then :
10733 printf %s "(cached) " >&6
10734 else $as_nop
10735 ac_wine_try_cflags_saved=$CFLAGS
10736 ac_wine_try_cflags_saved_cc=$CC
10737 ac_wine_try_cflags_saved_exeext=$ac_exeext
10738 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
10739 CC="$CROSSCC"
10740 ac_exeext=".exe"
10741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10742 /* end confdefs.h. */
10743 int __cdecl mainCRTStartup(void) { return 0; }
10744 _ACEOF
10745 if ac_fn_c_try_link "$LINENO"
10746 then :
10747 eval "$as_ac_var=yes"
10748 else $as_nop
10749 eval "$as_ac_var=no"
10751 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10752 conftest$ac_exeext conftest.$ac_ext
10753 CFLAGS=$ac_wine_try_cflags_saved
10754 CC=$ac_wine_try_cflags_saved_cc
10755 ac_exeext=$ac_wine_try_cflags_saved_exeext
10757 eval ac_res=\$$as_ac_var
10758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10759 printf "%s\n" "$ac_res" >&6; }
10760 if eval test \"x\$"$as_ac_var"\" = x"yes"
10761 then :
10762 CROSSTARGET=$llvm_target
10763 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
10764 DELAYLOADFLAG="-Wl,-delayload,"
10766 CFLAGS="$CFLAGS $llvm_cflags"
10769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CROSSCC option to enable C99 features" >&5
10770 printf %s "checking for $CROSSCC option to enable C99 features... " >&6; }
10771 if test ${wine_cv_crosscc_c99+y}
10772 then :
10773 printf %s "(cached) " >&6
10774 else $as_nop
10775 wine_cv_crosscc_c99=no
10776 for arg in '' '-std=gnu99'
10778 CC="$CROSSCC $arg"
10779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10780 /* end confdefs.h. */
10781 $ac_c_conftest_c99_program
10782 _ACEOF
10783 if ac_fn_c_try_compile "$LINENO"
10784 then :
10785 wine_cv_crosscc_c99=$arg
10786 else $as_nop
10787 wine_cv_crosscc_c99=no
10789 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10790 test "x$wine_cv_crosscc_c99" != xno && break
10791 done
10794 case "x$wine_cv_crosscc_c99" in
10795 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10796 printf "%s\n" "none needed" >&6; } ;;
10797 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10798 printf "%s\n" "unsupported" >&6; } ;;
10799 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc_c99" >&5
10800 printf "%s\n" "$wine_cv_crosscc_c99" >&6; }
10801 CROSSCC="$CROSSCC $wine_cv_crosscc_c99" ;;
10802 esac
10804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
10805 printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
10806 if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
10807 then :
10808 printf %s "(cached) " >&6
10809 else $as_nop
10810 ac_wine_try_cflags_saved=$CFLAGS
10811 ac_wine_try_cflags_saved_cc=$CC
10812 ac_wine_try_cflags_saved_exeext=$ac_exeext
10813 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
10814 CC="$CROSSCC"
10815 ac_exeext=".exe"
10816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10817 /* end confdefs.h. */
10818 int __cdecl mainCRTStartup(void) { return 0; }
10819 _ACEOF
10820 if ac_fn_c_try_link "$LINENO"
10821 then :
10822 ac_cv_crosscflags__fno_strict_aliasing=yes
10823 else $as_nop
10824 ac_cv_crosscflags__fno_strict_aliasing=no
10826 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10827 conftest$ac_exeext conftest.$ac_ext
10828 CFLAGS=$ac_wine_try_cflags_saved
10829 CC=$ac_wine_try_cflags_saved_cc
10830 ac_exeext=$ac_wine_try_cflags_saved_exeext
10832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
10833 printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
10834 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
10835 then :
10836 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
10838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
10839 printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
10840 if test ${ac_cv_crosscflags__Werror_unknown_warning_option+y}
10841 then :
10842 printf %s "(cached) " >&6
10843 else $as_nop
10844 ac_wine_try_cflags_saved=$CFLAGS
10845 ac_wine_try_cflags_saved_cc=$CC
10846 ac_wine_try_cflags_saved_exeext=$ac_exeext
10847 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
10848 CC="$CROSSCC"
10849 ac_exeext=".exe"
10850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10851 /* end confdefs.h. */
10852 int __cdecl mainCRTStartup(void) { return 0; }
10853 _ACEOF
10854 if ac_fn_c_try_link "$LINENO"
10855 then :
10856 ac_cv_crosscflags__Werror_unknown_warning_option=yes
10857 else $as_nop
10858 ac_cv_crosscflags__Werror_unknown_warning_option=no
10860 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10861 conftest$ac_exeext conftest.$ac_ext
10862 CFLAGS=$ac_wine_try_cflags_saved
10863 CC=$ac_wine_try_cflags_saved_cc
10864 ac_exeext=$ac_wine_try_cflags_saved_exeext
10866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
10867 printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
10868 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
10869 then :
10870 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
10873 printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
10874 if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
10875 then :
10876 printf %s "(cached) " >&6
10877 else $as_nop
10878 ac_wine_try_cflags_saved=$CFLAGS
10879 ac_wine_try_cflags_saved_cc=$CC
10880 ac_wine_try_cflags_saved_exeext=$ac_exeext
10881 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
10882 CC="$CROSSCC"
10883 ac_exeext=".exe"
10884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10885 /* end confdefs.h. */
10886 int __cdecl mainCRTStartup(void) { return 0; }
10887 _ACEOF
10888 if ac_fn_c_try_link "$LINENO"
10889 then :
10890 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
10891 else $as_nop
10892 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
10894 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10895 conftest$ac_exeext conftest.$ac_ext
10896 CFLAGS=$ac_wine_try_cflags_saved
10897 CC=$ac_wine_try_cflags_saved_cc
10898 ac_exeext=$ac_wine_try_cflags_saved_exeext
10900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
10901 printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
10902 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
10903 then :
10904 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
10907 printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
10908 if test ${ac_cv_crosscflags__Wdeclaration_after_statement+y}
10909 then :
10910 printf %s "(cached) " >&6
10911 else $as_nop
10912 ac_wine_try_cflags_saved=$CFLAGS
10913 ac_wine_try_cflags_saved_cc=$CC
10914 ac_wine_try_cflags_saved_exeext=$ac_exeext
10915 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
10916 CC="$CROSSCC"
10917 ac_exeext=".exe"
10918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10919 /* end confdefs.h. */
10920 int __cdecl mainCRTStartup(void) { return 0; }
10921 _ACEOF
10922 if ac_fn_c_try_link "$LINENO"
10923 then :
10924 ac_cv_crosscflags__Wdeclaration_after_statement=yes
10925 else $as_nop
10926 ac_cv_crosscflags__Wdeclaration_after_statement=no
10928 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10929 conftest$ac_exeext conftest.$ac_ext
10930 CFLAGS=$ac_wine_try_cflags_saved
10931 CC=$ac_wine_try_cflags_saved_cc
10932 ac_exeext=$ac_wine_try_cflags_saved_exeext
10934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
10935 printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
10936 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
10937 then :
10938 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
10940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
10941 printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
10942 if test ${ac_cv_crosscflags__Wempty_body+y}
10943 then :
10944 printf %s "(cached) " >&6
10945 else $as_nop
10946 ac_wine_try_cflags_saved=$CFLAGS
10947 ac_wine_try_cflags_saved_cc=$CC
10948 ac_wine_try_cflags_saved_exeext=$ac_exeext
10949 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
10950 CC="$CROSSCC"
10951 ac_exeext=".exe"
10952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10953 /* end confdefs.h. */
10954 int __cdecl mainCRTStartup(void) { return 0; }
10955 _ACEOF
10956 if ac_fn_c_try_link "$LINENO"
10957 then :
10958 ac_cv_crosscflags__Wempty_body=yes
10959 else $as_nop
10960 ac_cv_crosscflags__Wempty_body=no
10962 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10963 conftest$ac_exeext conftest.$ac_ext
10964 CFLAGS=$ac_wine_try_cflags_saved
10965 CC=$ac_wine_try_cflags_saved_cc
10966 ac_exeext=$ac_wine_try_cflags_saved_exeext
10968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
10969 printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
10970 if test "x$ac_cv_crosscflags__Wempty_body" = xyes
10971 then :
10972 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
10974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
10975 printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
10976 if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
10977 then :
10978 printf %s "(cached) " >&6
10979 else $as_nop
10980 ac_wine_try_cflags_saved=$CFLAGS
10981 ac_wine_try_cflags_saved_cc=$CC
10982 ac_wine_try_cflags_saved_exeext=$ac_exeext
10983 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10984 CC="$CROSSCC"
10985 ac_exeext=".exe"
10986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10987 /* end confdefs.h. */
10988 int __cdecl mainCRTStartup(void) { return 0; }
10989 _ACEOF
10990 if ac_fn_c_try_link "$LINENO"
10991 then :
10992 ac_cv_crosscflags__Wignored_qualifiers=yes
10993 else $as_nop
10994 ac_cv_crosscflags__Wignored_qualifiers=no
10996 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10997 conftest$ac_exeext conftest.$ac_ext
10998 CFLAGS=$ac_wine_try_cflags_saved
10999 CC=$ac_wine_try_cflags_saved_cc
11000 ac_exeext=$ac_wine_try_cflags_saved_exeext
11002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
11003 printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
11004 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
11005 then :
11006 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
11008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
11009 printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
11010 if test ${ac_cv_crosscflags__Winit_self+y}
11011 then :
11012 printf %s "(cached) " >&6
11013 else $as_nop
11014 ac_wine_try_cflags_saved=$CFLAGS
11015 ac_wine_try_cflags_saved_cc=$CC
11016 ac_wine_try_cflags_saved_exeext=$ac_exeext
11017 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11018 CC="$CROSSCC"
11019 ac_exeext=".exe"
11020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11021 /* end confdefs.h. */
11022 int __cdecl mainCRTStartup(void) { return 0; }
11023 _ACEOF
11024 if ac_fn_c_try_link "$LINENO"
11025 then :
11026 ac_cv_crosscflags__Winit_self=yes
11027 else $as_nop
11028 ac_cv_crosscflags__Winit_self=no
11030 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11031 conftest$ac_exeext conftest.$ac_ext
11032 CFLAGS=$ac_wine_try_cflags_saved
11033 CC=$ac_wine_try_cflags_saved_cc
11034 ac_exeext=$ac_wine_try_cflags_saved_exeext
11036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
11037 printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
11038 if test "x$ac_cv_crosscflags__Winit_self" = xyes
11039 then :
11040 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
11042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
11043 printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
11044 if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
11045 then :
11046 printf %s "(cached) " >&6
11047 else $as_nop
11048 ac_wine_try_cflags_saved=$CFLAGS
11049 ac_wine_try_cflags_saved_cc=$CC
11050 ac_wine_try_cflags_saved_exeext=$ac_exeext
11051 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11052 CC="$CROSSCC"
11053 ac_exeext=".exe"
11054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11055 /* end confdefs.h. */
11056 int __cdecl mainCRTStartup(void) { return 0; }
11057 _ACEOF
11058 if ac_fn_c_try_link "$LINENO"
11059 then :
11060 ac_cv_crosscflags__Wpacked_not_aligned=yes
11061 else $as_nop
11062 ac_cv_crosscflags__Wpacked_not_aligned=no
11064 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11065 conftest$ac_exeext conftest.$ac_ext
11066 CFLAGS=$ac_wine_try_cflags_saved
11067 CC=$ac_wine_try_cflags_saved_cc
11068 ac_exeext=$ac_wine_try_cflags_saved_exeext
11070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
11071 printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
11072 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
11073 then :
11074 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
11076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
11077 printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
11078 if test ${ac_cv_crosscflags__Wpragma_pack+y}
11079 then :
11080 printf %s "(cached) " >&6
11081 else $as_nop
11082 ac_wine_try_cflags_saved=$CFLAGS
11083 ac_wine_try_cflags_saved_cc=$CC
11084 ac_wine_try_cflags_saved_exeext=$ac_exeext
11085 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11086 CC="$CROSSCC"
11087 ac_exeext=".exe"
11088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11089 /* end confdefs.h. */
11090 int __cdecl mainCRTStartup(void) { return 0; }
11091 _ACEOF
11092 if ac_fn_c_try_link "$LINENO"
11093 then :
11094 ac_cv_crosscflags__Wpragma_pack=yes
11095 else $as_nop
11096 ac_cv_crosscflags__Wpragma_pack=no
11098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11099 conftest$ac_exeext conftest.$ac_ext
11100 CFLAGS=$ac_wine_try_cflags_saved
11101 CC=$ac_wine_try_cflags_saved_cc
11102 ac_exeext=$ac_wine_try_cflags_saved_exeext
11104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
11105 printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
11106 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
11107 then :
11108 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
11110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
11111 printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
11112 if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
11113 then :
11114 printf %s "(cached) " >&6
11115 else $as_nop
11116 ac_wine_try_cflags_saved=$CFLAGS
11117 ac_wine_try_cflags_saved_cc=$CC
11118 ac_wine_try_cflags_saved_exeext=$ac_exeext
11119 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11120 CC="$CROSSCC"
11121 ac_exeext=".exe"
11122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11123 /* end confdefs.h. */
11124 int __cdecl mainCRTStartup(void) { return 0; }
11125 _ACEOF
11126 if ac_fn_c_try_link "$LINENO"
11127 then :
11128 ac_cv_crosscflags__Wshift_overflow_2=yes
11129 else $as_nop
11130 ac_cv_crosscflags__Wshift_overflow_2=no
11132 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11133 conftest$ac_exeext conftest.$ac_ext
11134 CFLAGS=$ac_wine_try_cflags_saved
11135 CC=$ac_wine_try_cflags_saved_cc
11136 ac_exeext=$ac_wine_try_cflags_saved_exeext
11138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
11139 printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
11140 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
11141 then :
11142 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
11144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
11145 printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
11146 if test ${ac_cv_crosscflags__Wstrict_prototypes+y}
11147 then :
11148 printf %s "(cached) " >&6
11149 else $as_nop
11150 ac_wine_try_cflags_saved=$CFLAGS
11151 ac_wine_try_cflags_saved_cc=$CC
11152 ac_wine_try_cflags_saved_exeext=$ac_exeext
11153 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11154 CC="$CROSSCC"
11155 ac_exeext=".exe"
11156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11157 /* end confdefs.h. */
11158 int __cdecl mainCRTStartup(void) { return 0; }
11159 _ACEOF
11160 if ac_fn_c_try_link "$LINENO"
11161 then :
11162 ac_cv_crosscflags__Wstrict_prototypes=yes
11163 else $as_nop
11164 ac_cv_crosscflags__Wstrict_prototypes=no
11166 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11167 conftest$ac_exeext conftest.$ac_ext
11168 CFLAGS=$ac_wine_try_cflags_saved
11169 CC=$ac_wine_try_cflags_saved_cc
11170 ac_exeext=$ac_wine_try_cflags_saved_exeext
11172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
11173 printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
11174 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
11175 then :
11176 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
11178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
11179 printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
11180 if test ${ac_cv_crosscflags__Wtype_limits+y}
11181 then :
11182 printf %s "(cached) " >&6
11183 else $as_nop
11184 ac_wine_try_cflags_saved=$CFLAGS
11185 ac_wine_try_cflags_saved_cc=$CC
11186 ac_wine_try_cflags_saved_exeext=$ac_exeext
11187 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11188 CC="$CROSSCC"
11189 ac_exeext=".exe"
11190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11191 /* end confdefs.h. */
11192 int __cdecl mainCRTStartup(void) { return 0; }
11193 _ACEOF
11194 if ac_fn_c_try_link "$LINENO"
11195 then :
11196 ac_cv_crosscflags__Wtype_limits=yes
11197 else $as_nop
11198 ac_cv_crosscflags__Wtype_limits=no
11200 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11201 conftest$ac_exeext conftest.$ac_ext
11202 CFLAGS=$ac_wine_try_cflags_saved
11203 CC=$ac_wine_try_cflags_saved_cc
11204 ac_exeext=$ac_wine_try_cflags_saved_exeext
11206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
11207 printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
11208 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
11209 then :
11210 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
11212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
11213 printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
11214 if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
11215 then :
11216 printf %s "(cached) " >&6
11217 else $as_nop
11218 ac_wine_try_cflags_saved=$CFLAGS
11219 ac_wine_try_cflags_saved_cc=$CC
11220 ac_wine_try_cflags_saved_exeext=$ac_exeext
11221 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11222 CC="$CROSSCC"
11223 ac_exeext=".exe"
11224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11225 /* end confdefs.h. */
11226 int __cdecl mainCRTStartup(void) { return 0; }
11227 _ACEOF
11228 if ac_fn_c_try_link "$LINENO"
11229 then :
11230 ac_cv_crosscflags__Wunused_but_set_parameter=yes
11231 else $as_nop
11232 ac_cv_crosscflags__Wunused_but_set_parameter=no
11234 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11235 conftest$ac_exeext conftest.$ac_ext
11236 CFLAGS=$ac_wine_try_cflags_saved
11237 CC=$ac_wine_try_cflags_saved_cc
11238 ac_exeext=$ac_wine_try_cflags_saved_exeext
11240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
11241 printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
11242 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
11243 then :
11244 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
11246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
11247 printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
11248 if test ${ac_cv_crosscflags__Wvla+y}
11249 then :
11250 printf %s "(cached) " >&6
11251 else $as_nop
11252 ac_wine_try_cflags_saved=$CFLAGS
11253 ac_wine_try_cflags_saved_cc=$CC
11254 ac_wine_try_cflags_saved_exeext=$ac_exeext
11255 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
11256 CC="$CROSSCC"
11257 ac_exeext=".exe"
11258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11259 /* end confdefs.h. */
11260 int __cdecl mainCRTStartup(void) { return 0; }
11261 _ACEOF
11262 if ac_fn_c_try_link "$LINENO"
11263 then :
11264 ac_cv_crosscflags__Wvla=yes
11265 else $as_nop
11266 ac_cv_crosscflags__Wvla=no
11268 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11269 conftest$ac_exeext conftest.$ac_ext
11270 CFLAGS=$ac_wine_try_cflags_saved
11271 CC=$ac_wine_try_cflags_saved_cc
11272 ac_exeext=$ac_wine_try_cflags_saved_exeext
11274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
11275 printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
11276 if test "x$ac_cv_crosscflags__Wvla" = xyes
11277 then :
11278 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
11280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
11281 printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
11282 if test ${ac_cv_crosscflags__Wwrite_strings+y}
11283 then :
11284 printf %s "(cached) " >&6
11285 else $as_nop
11286 ac_wine_try_cflags_saved=$CFLAGS
11287 ac_wine_try_cflags_saved_cc=$CC
11288 ac_wine_try_cflags_saved_exeext=$ac_exeext
11289 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11290 CC="$CROSSCC"
11291 ac_exeext=".exe"
11292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11293 /* end confdefs.h. */
11294 int __cdecl mainCRTStartup(void) { return 0; }
11295 _ACEOF
11296 if ac_fn_c_try_link "$LINENO"
11297 then :
11298 ac_cv_crosscflags__Wwrite_strings=yes
11299 else $as_nop
11300 ac_cv_crosscflags__Wwrite_strings=no
11302 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11303 conftest$ac_exeext conftest.$ac_ext
11304 CFLAGS=$ac_wine_try_cflags_saved
11305 CC=$ac_wine_try_cflags_saved_cc
11306 ac_exeext=$ac_wine_try_cflags_saved_exeext
11308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
11309 printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
11310 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
11311 then :
11312 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
11314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
11315 printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
11316 if test ${ac_cv_crosscflags__Wpointer_arith+y}
11317 then :
11318 printf %s "(cached) " >&6
11319 else $as_nop
11320 ac_wine_try_cflags_saved=$CFLAGS
11321 ac_wine_try_cflags_saved_cc=$CC
11322 ac_wine_try_cflags_saved_exeext=$ac_exeext
11323 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11324 CC="$CROSSCC"
11325 ac_exeext=".exe"
11326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11327 /* end confdefs.h. */
11328 int __cdecl mainCRTStartup(void) { return 0; }
11329 _ACEOF
11330 if ac_fn_c_try_link "$LINENO"
11331 then :
11332 ac_cv_crosscflags__Wpointer_arith=yes
11333 else $as_nop
11334 ac_cv_crosscflags__Wpointer_arith=no
11336 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11337 conftest$ac_exeext conftest.$ac_ext
11338 CFLAGS=$ac_wine_try_cflags_saved
11339 CC=$ac_wine_try_cflags_saved_cc
11340 ac_exeext=$ac_wine_try_cflags_saved_exeext
11342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
11343 printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
11344 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
11345 then :
11346 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
11348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
11349 printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
11350 if test ${ac_cv_crosscflags__Wlogical_op+y}
11351 then :
11352 printf %s "(cached) " >&6
11353 else $as_nop
11354 ac_wine_try_cflags_saved=$CFLAGS
11355 ac_wine_try_cflags_saved_cc=$CC
11356 ac_wine_try_cflags_saved_exeext=$ac_exeext
11357 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11358 CC="$CROSSCC"
11359 ac_exeext=".exe"
11360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11361 /* end confdefs.h. */
11362 int __cdecl mainCRTStartup(void) { return 0; }
11363 _ACEOF
11364 if ac_fn_c_try_link "$LINENO"
11365 then :
11366 ac_cv_crosscflags__Wlogical_op=yes
11367 else $as_nop
11368 ac_cv_crosscflags__Wlogical_op=no
11370 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11371 conftest$ac_exeext conftest.$ac_ext
11372 CFLAGS=$ac_wine_try_cflags_saved
11373 CC=$ac_wine_try_cflags_saved_cc
11374 ac_exeext=$ac_wine_try_cflags_saved_exeext
11376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
11377 printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
11378 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
11379 then :
11380 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
11382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
11383 printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
11384 if test ${ac_cv_crosscflags__Wabsolute_value+y}
11385 then :
11386 printf %s "(cached) " >&6
11387 else $as_nop
11388 ac_wine_try_cflags_saved=$CFLAGS
11389 ac_wine_try_cflags_saved_cc=$CC
11390 ac_wine_try_cflags_saved_exeext=$ac_exeext
11391 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11392 CC="$CROSSCC"
11393 ac_exeext=".exe"
11394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11395 /* end confdefs.h. */
11396 int __cdecl mainCRTStartup(void) { return 0; }
11397 _ACEOF
11398 if ac_fn_c_try_link "$LINENO"
11399 then :
11400 ac_cv_crosscflags__Wabsolute_value=yes
11401 else $as_nop
11402 ac_cv_crosscflags__Wabsolute_value=no
11404 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11405 conftest$ac_exeext conftest.$ac_ext
11406 CFLAGS=$ac_wine_try_cflags_saved
11407 CC=$ac_wine_try_cflags_saved_cc
11408 ac_exeext=$ac_wine_try_cflags_saved_exeext
11410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
11411 printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
11412 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
11413 then :
11414 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
11417 case $host_cpu in
11418 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
11419 printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
11420 if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
11421 then :
11422 printf %s "(cached) " >&6
11423 else $as_nop
11424 ac_wine_try_cflags_saved=$CFLAGS
11425 ac_wine_try_cflags_saved_cc=$CC
11426 ac_wine_try_cflags_saved_exeext=$ac_exeext
11427 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11428 CC="$CROSSCC"
11429 ac_exeext=".exe"
11430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11431 /* end confdefs.h. */
11432 int __cdecl mainCRTStartup(void) { return 0; }
11433 _ACEOF
11434 if ac_fn_c_try_link "$LINENO"
11435 then :
11436 ac_cv_crosscflags__fno_omit_frame_pointer=yes
11437 else $as_nop
11438 ac_cv_crosscflags__fno_omit_frame_pointer=no
11440 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11441 conftest$ac_exeext conftest.$ac_ext
11442 CFLAGS=$ac_wine_try_cflags_saved
11443 CC=$ac_wine_try_cflags_saved_cc
11444 ac_exeext=$ac_wine_try_cflags_saved_exeext
11446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
11447 printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
11448 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
11449 then :
11450 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
11451 fi ;;
11452 x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11453 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11454 if test ${ac_cv_crosscflags__Wno_format+y}
11455 then :
11456 printf %s "(cached) " >&6
11457 else $as_nop
11458 ac_wine_try_cflags_saved=$CFLAGS
11459 ac_wine_try_cflags_saved_cc=$CC
11460 ac_wine_try_cflags_saved_exeext=$ac_exeext
11461 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11462 CC="$CROSSCC"
11463 ac_exeext=".exe"
11464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11465 /* end confdefs.h. */
11466 int __cdecl mainCRTStartup(void) { return 0; }
11467 _ACEOF
11468 if ac_fn_c_try_link "$LINENO"
11469 then :
11470 ac_cv_crosscflags__Wno_format=yes
11471 else $as_nop
11472 ac_cv_crosscflags__Wno_format=no
11474 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11475 conftest$ac_exeext conftest.$ac_ext
11476 CFLAGS=$ac_wine_try_cflags_saved
11477 CC=$ac_wine_try_cflags_saved_cc
11478 ac_exeext=$ac_wine_try_cflags_saved_exeext
11480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11481 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11482 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11483 then :
11484 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
11487 printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
11488 if test ${ac_cv_crosscflags__Wformat_overflow+y}
11489 then :
11490 printf %s "(cached) " >&6
11491 else $as_nop
11492 ac_wine_try_cflags_saved=$CFLAGS
11493 ac_wine_try_cflags_saved_cc=$CC
11494 ac_wine_try_cflags_saved_exeext=$ac_exeext
11495 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11496 CC="$CROSSCC"
11497 ac_exeext=".exe"
11498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11499 /* end confdefs.h. */
11500 int __cdecl mainCRTStartup(void) { return 0; }
11501 _ACEOF
11502 if ac_fn_c_try_link "$LINENO"
11503 then :
11504 ac_cv_crosscflags__Wformat_overflow=yes
11505 else $as_nop
11506 ac_cv_crosscflags__Wformat_overflow=no
11508 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11509 conftest$ac_exeext conftest.$ac_ext
11510 CFLAGS=$ac_wine_try_cflags_saved
11511 CC=$ac_wine_try_cflags_saved_cc
11512 ac_exeext=$ac_wine_try_cflags_saved_exeext
11514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
11515 printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
11516 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
11517 then :
11518 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
11520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
11521 printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
11522 if test ${ac_cv_crosscflags__Wnonnull+y}
11523 then :
11524 printf %s "(cached) " >&6
11525 else $as_nop
11526 ac_wine_try_cflags_saved=$CFLAGS
11527 ac_wine_try_cflags_saved_cc=$CC
11528 ac_wine_try_cflags_saved_exeext=$ac_exeext
11529 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11530 CC="$CROSSCC"
11531 ac_exeext=".exe"
11532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11533 /* end confdefs.h. */
11534 int __cdecl mainCRTStartup(void) { return 0; }
11535 _ACEOF
11536 if ac_fn_c_try_link "$LINENO"
11537 then :
11538 ac_cv_crosscflags__Wnonnull=yes
11539 else $as_nop
11540 ac_cv_crosscflags__Wnonnull=no
11542 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11543 conftest$ac_exeext conftest.$ac_ext
11544 CFLAGS=$ac_wine_try_cflags_saved
11545 CC=$ac_wine_try_cflags_saved_cc
11546 ac_exeext=$ac_wine_try_cflags_saved_exeext
11548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
11549 printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
11550 if test "x$ac_cv_crosscflags__Wnonnull" = xyes
11551 then :
11552 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
11554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
11555 printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
11556 if test ${ac_cv_crosscflags__mcx16+y}
11557 then :
11558 printf %s "(cached) " >&6
11559 else $as_nop
11560 ac_wine_try_cflags_saved=$CFLAGS
11561 ac_wine_try_cflags_saved_cc=$CC
11562 ac_wine_try_cflags_saved_exeext=$ac_exeext
11563 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
11564 CC="$CROSSCC"
11565 ac_exeext=".exe"
11566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11567 /* end confdefs.h. */
11568 int __cdecl mainCRTStartup(void) { return 0; }
11569 _ACEOF
11570 if ac_fn_c_try_link "$LINENO"
11571 then :
11572 ac_cv_crosscflags__mcx16=yes
11573 else $as_nop
11574 ac_cv_crosscflags__mcx16=no
11576 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11577 conftest$ac_exeext conftest.$ac_ext
11578 CFLAGS=$ac_wine_try_cflags_saved
11579 CC=$ac_wine_try_cflags_saved_cc
11580 ac_exeext=$ac_wine_try_cflags_saved_exeext
11582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
11583 printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
11584 if test "x$ac_cv_crosscflags__mcx16" = xyes
11585 then :
11586 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
11587 fi ;;
11588 aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11589 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11590 if test ${ac_cv_crosscflags__Wno_format+y}
11591 then :
11592 printf %s "(cached) " >&6
11593 else $as_nop
11594 ac_wine_try_cflags_saved=$CFLAGS
11595 ac_wine_try_cflags_saved_cc=$CC
11596 ac_wine_try_cflags_saved_exeext=$ac_exeext
11597 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11598 CC="$CROSSCC"
11599 ac_exeext=".exe"
11600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11601 /* end confdefs.h. */
11602 int __cdecl mainCRTStartup(void) { return 0; }
11603 _ACEOF
11604 if ac_fn_c_try_link "$LINENO"
11605 then :
11606 ac_cv_crosscflags__Wno_format=yes
11607 else $as_nop
11608 ac_cv_crosscflags__Wno_format=no
11610 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11611 conftest$ac_exeext conftest.$ac_ext
11612 CFLAGS=$ac_wine_try_cflags_saved
11613 CC=$ac_wine_try_cflags_saved_cc
11614 ac_exeext=$ac_wine_try_cflags_saved_exeext
11616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11617 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11618 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11619 then :
11620 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11621 fi ;;
11622 esac
11625 if test -z "$CROSSDEBUG"
11626 then
11627 for ac_flag in $CROSSCFLAGS; do
11628 case $ac_flag in
11629 -gdwarf*) CROSSDEBUG=dwarf ;;
11630 -gcodeview) CROSSDEBUG=pdb ;;
11631 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
11632 esac
11633 done
11636 ac_debug_format_seen=""
11637 for ac_flag in $CROSSCFLAGS; do
11638 case $ac_flag in
11639 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11640 esac
11641 done
11642 if test "x$ac_debug_format_seen" = x
11643 then
11644 case $CROSSDEBUG in
11645 *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-4" >&5
11646 printf %s "checking whether the cross-compiler supports -gdwarf-4... " >&6; }
11647 if test ${ac_cv_crosscflags__gdwarf_4+y}
11648 then :
11649 printf %s "(cached) " >&6
11650 else $as_nop
11651 ac_wine_try_cflags_saved=$CFLAGS
11652 ac_wine_try_cflags_saved_cc=$CC
11653 ac_wine_try_cflags_saved_exeext=$ac_exeext
11654 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11655 CC="$CROSSCC"
11656 ac_exeext=".exe"
11657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11658 /* end confdefs.h. */
11659 int __cdecl mainCRTStartup(void) { return 0; }
11660 _ACEOF
11661 if ac_fn_c_try_link "$LINENO"
11662 then :
11663 ac_cv_crosscflags__gdwarf_4=yes
11664 else $as_nop
11665 ac_cv_crosscflags__gdwarf_4=no
11667 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11668 conftest$ac_exeext conftest.$ac_ext
11669 CFLAGS=$ac_wine_try_cflags_saved
11670 CC=$ac_wine_try_cflags_saved_cc
11671 ac_exeext=$ac_wine_try_cflags_saved_exeext
11673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_4" >&5
11674 printf "%s\n" "$ac_cv_crosscflags__gdwarf_4" >&6; }
11675 if test "x$ac_cv_crosscflags__gdwarf_4" = xyes
11676 then :
11677 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-4"
11678 fi ;;
11679 pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
11680 printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
11681 if test ${ac_cv_crosscflags__gcodeview+y}
11682 then :
11683 printf %s "(cached) " >&6
11684 else $as_nop
11685 ac_wine_try_cflags_saved=$CFLAGS
11686 ac_wine_try_cflags_saved_cc=$CC
11687 ac_wine_try_cflags_saved_exeext=$ac_exeext
11688 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11689 CC="$CROSSCC"
11690 ac_exeext=".exe"
11691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11692 /* end confdefs.h. */
11693 int __cdecl mainCRTStartup(void) { return 0; }
11694 _ACEOF
11695 if ac_fn_c_try_link "$LINENO"
11696 then :
11697 ac_cv_crosscflags__gcodeview=yes
11698 else $as_nop
11699 ac_cv_crosscflags__gcodeview=no
11701 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11702 conftest$ac_exeext conftest.$ac_ext
11703 CFLAGS=$ac_wine_try_cflags_saved
11704 CC=$ac_wine_try_cflags_saved_cc
11705 ac_exeext=$ac_wine_try_cflags_saved_exeext
11707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
11708 printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
11709 if test "x$ac_cv_crosscflags__gcodeview" = xyes
11710 then :
11711 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
11712 fi ;;
11713 esac
11716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
11717 printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
11718 if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
11719 then :
11720 printf %s "(cached) " >&6
11721 else $as_nop
11722 ac_wine_try_cflags_saved=$CFLAGS
11723 ac_wine_try_cflags_saved_cc=$CC
11724 ac_wine_try_cflags_saved_exeext=$ac_exeext
11725 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
11726 CC="$CROSSCC"
11727 ac_exeext=".exe"
11728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11729 /* end confdefs.h. */
11730 int __cdecl mainCRTStartup(void) { return 0; }
11731 _ACEOF
11732 if ac_fn_c_try_link "$LINENO"
11733 then :
11734 ac_cv_crosscflags__fexcess_precision_standard=yes
11735 else $as_nop
11736 ac_cv_crosscflags__fexcess_precision_standard=no
11738 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11739 conftest$ac_exeext conftest.$ac_ext
11740 CFLAGS=$ac_wine_try_cflags_saved
11741 CC=$ac_wine_try_cflags_saved_cc
11742 ac_exeext=$ac_wine_try_cflags_saved_exeext
11744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
11745 printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
11746 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
11747 then :
11748 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
11752 if test "x$enable_werror" = "xyes"
11753 then
11754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
11755 printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
11756 if test ${ac_cv_crosscflags__Werror+y}
11757 then :
11758 printf %s "(cached) " >&6
11759 else $as_nop
11760 ac_wine_try_cflags_saved=$CFLAGS
11761 ac_wine_try_cflags_saved_cc=$CC
11762 ac_wine_try_cflags_saved_exeext=$ac_exeext
11763 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
11764 CC="$CROSSCC"
11765 ac_exeext=".exe"
11766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11767 /* end confdefs.h. */
11768 int __cdecl mainCRTStartup(void) { return 0; }
11769 _ACEOF
11770 if ac_fn_c_try_link "$LINENO"
11771 then :
11772 ac_cv_crosscflags__Werror=yes
11773 else $as_nop
11774 ac_cv_crosscflags__Werror=no
11776 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11777 conftest$ac_exeext conftest.$ac_ext
11778 CFLAGS=$ac_wine_try_cflags_saved
11779 CC=$ac_wine_try_cflags_saved_cc
11780 ac_exeext=$ac_wine_try_cflags_saved_exeext
11782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
11783 printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
11784 if test "x$ac_cv_crosscflags__Werror" = xyes
11785 then :
11786 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
11789 if test "x$enable_build_id" = "xyes"
11790 then
11791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
11792 printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
11793 if test ${ac_cv_crosscflags__Wl___build_id+y}
11794 then :
11795 printf %s "(cached) " >&6
11796 else $as_nop
11797 ac_wine_try_cflags_saved=$CFLAGS
11798 ac_wine_try_cflags_saved_cc=$CC
11799 ac_wine_try_cflags_saved_exeext=$ac_exeext
11800 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
11801 CC="$CROSSCC"
11802 ac_exeext=".exe"
11803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11804 /* end confdefs.h. */
11805 int __cdecl mainCRTStartup(void) { return 0; }
11806 _ACEOF
11807 if ac_fn_c_try_link "$LINENO"
11808 then :
11809 ac_cv_crosscflags__Wl___build_id=yes
11810 else $as_nop
11811 ac_cv_crosscflags__Wl___build_id=no
11813 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11814 conftest$ac_exeext conftest.$ac_ext
11815 CFLAGS=$ac_wine_try_cflags_saved
11816 CC=$ac_wine_try_cflags_saved_cc
11817 ac_exeext=$ac_wine_try_cflags_saved_exeext
11819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
11820 printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
11821 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
11822 then :
11823 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
11824 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
11828 CFLAGS=$saved_CFLAGS
11829 LDFLAGS=$saved_LDFLAGS
11830 CC="$ac_save_CC"
11833 if test "x$CROSSTARGET" = "x"
11834 then :
11835 case "x$with_mingw" in
11836 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11837 xno) ;;
11838 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11839 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11840 esac
11844 case $host_cpu in
11845 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 ;;
11846 esac
11849 if test "x$with_system_dllpath" != "x" -a "$CROSSCC" != "false"
11850 then
11851 case "$host_cpu" in
11852 i[3456789]86*)
11853 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11855 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11856 esac
11857 for ac_prog in $ac_prefix_list
11859 # Extract the first word of "$ac_prog", so it can be a program name with args.
11860 set dummy $ac_prog; ac_word=$2
11861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11862 printf %s "checking for $ac_word... " >&6; }
11863 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11864 then :
11865 printf %s "(cached) " >&6
11866 else $as_nop
11867 if test -n "$MINGW_PKG_CONFIG"; then
11868 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11869 else
11870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11871 for as_dir in $PATH
11873 IFS=$as_save_IFS
11874 case $as_dir in #(((
11875 '') as_dir=./ ;;
11876 */) ;;
11877 *) as_dir=$as_dir/ ;;
11878 esac
11879 for ac_exec_ext in '' $ac_executable_extensions; do
11880 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11881 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11882 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11883 break 2
11885 done
11886 done
11887 IFS=$as_save_IFS
11891 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11892 if test -n "$MINGW_PKG_CONFIG"; then
11893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11894 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11895 else
11896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11897 printf "%s\n" "no" >&6; }
11901 test -n "$MINGW_PKG_CONFIG" && break
11902 done
11903 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11905 if ${FAUDIO_PE_CFLAGS:+false} :
11906 then :
11907 if test ${MINGW_PKG_CONFIG+y}
11908 then :
11909 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11912 if ${FAUDIO_PE_LIBS:+false} :
11913 then :
11914 if test ${MINGW_PKG_CONFIG+y}
11915 then :
11916 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11919 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11920 ac_save_CPPFLAGS=$CPPFLAGS
11921 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11923 printf %s "checking for MinGW FAudio.h... " >&6; }
11924 if test ${ac_cv_mingw_header_FAudio_h+y}
11925 then :
11926 printf %s "(cached) " >&6
11927 else $as_nop
11928 ac_wine_check_headers_saved_cc=$CC
11929 ac_wine_check_headers_saved_exeext=$ac_exeext
11930 CC="$CROSSCC"
11931 ac_exeext=".exe"
11932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11933 /* end confdefs.h. */
11935 #include <FAudio.h>
11937 main (void)
11941 return 0;
11943 _ACEOF
11944 if ac_fn_c_try_compile "$LINENO"
11945 then :
11946 ac_cv_mingw_header_FAudio_h=yes
11947 else $as_nop
11948 ac_cv_mingw_header_FAudio_h=no
11950 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11951 CC=$ac_wine_check_headers_saved_cc
11952 ac_exeext=$ac_wine_check_headers_saved_exeext
11954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11955 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11956 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11957 then :
11958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11959 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11960 if test ${ac_cv_mingw_lib_FAudio+y}
11961 then :
11962 printf %s "(cached) " >&6
11963 else $as_nop
11964 ac_wine_check_headers_saved_cc=$CC
11965 ac_wine_check_headers_saved_exeext=$ac_exeext
11966 ac_wine_check_headers_saved_libs=$LIBS
11967 CC="$CROSSCC"
11968 ac_exeext=".exe"
11969 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11971 /* end confdefs.h. */
11973 /* Override any GCC internal prototype to avoid an error.
11974 Use char because int might match the return type of a GCC
11975 builtin and then its argument prototype would still apply. */
11976 char FAudio_CommitOperationSet ();
11978 main (void)
11980 return FAudio_CommitOperationSet ();
11982 return 0;
11984 _ACEOF
11985 if ac_fn_c_try_link "$LINENO"
11986 then :
11987 ac_cv_mingw_lib_FAudio=yes
11988 else $as_nop
11989 ac_cv_mingw_lib_FAudio=no
11991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11992 conftest$ac_exeext conftest.$ac_ext
11993 CC=$ac_wine_check_headers_saved_cc
11994 ac_exeext=$ac_wine_check_headers_saved_exeext
11995 LIBS=$ac_wine_check_headers_saved_libs
11997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11998 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11999 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12000 then :
12002 else $as_nop
12003 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12005 else $as_nop
12006 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12008 CPPFLAGS=$ac_save_CPPFLAGS
12010 if test "x$FAUDIO_PE_LIBS" = "x"
12011 then
12012 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12015 if ${JPEG_PE_CFLAGS:+false} :
12016 then :
12017 if test ${MINGW_PKG_CONFIG+y}
12018 then :
12019 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12022 if ${JPEG_PE_LIBS:+false} :
12023 then :
12024 if test ${MINGW_PKG_CONFIG+y}
12025 then :
12026 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12030 ac_save_CPPFLAGS=$CPPFLAGS
12031 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12033 printf %s "checking for MinGW jpeglib.h... " >&6; }
12034 if test ${ac_cv_mingw_header_jpeglib_h+y}
12035 then :
12036 printf %s "(cached) " >&6
12037 else $as_nop
12038 ac_wine_check_headers_saved_cc=$CC
12039 ac_wine_check_headers_saved_exeext=$ac_exeext
12040 CC="$CROSSCC"
12041 ac_exeext=".exe"
12042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12043 /* end confdefs.h. */
12044 #include <stddef.h>
12045 #include <stdio.h>
12046 #include <jpeglib.h>
12048 main (void)
12052 return 0;
12054 _ACEOF
12055 if ac_fn_c_try_compile "$LINENO"
12056 then :
12057 ac_cv_mingw_header_jpeglib_h=yes
12058 else $as_nop
12059 ac_cv_mingw_header_jpeglib_h=no
12061 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12062 CC=$ac_wine_check_headers_saved_cc
12063 ac_exeext=$ac_wine_check_headers_saved_exeext
12065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12066 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12067 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12068 then :
12069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12070 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12071 if test ${ac_cv_mingw_lib_jpeg+y}
12072 then :
12073 printf %s "(cached) " >&6
12074 else $as_nop
12075 ac_wine_check_headers_saved_cc=$CC
12076 ac_wine_check_headers_saved_exeext=$ac_exeext
12077 ac_wine_check_headers_saved_libs=$LIBS
12078 CC="$CROSSCC"
12079 ac_exeext=".exe"
12080 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12082 /* end confdefs.h. */
12084 /* Override any GCC internal prototype to avoid an error.
12085 Use char because int might match the return type of a GCC
12086 builtin and then its argument prototype would still apply. */
12087 char jpeg_start_decompress ();
12089 main (void)
12091 return jpeg_start_decompress ();
12093 return 0;
12095 _ACEOF
12096 if ac_fn_c_try_link "$LINENO"
12097 then :
12098 ac_cv_mingw_lib_jpeg=yes
12099 else $as_nop
12100 ac_cv_mingw_lib_jpeg=no
12102 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12103 conftest$ac_exeext conftest.$ac_ext
12104 CC=$ac_wine_check_headers_saved_cc
12105 ac_exeext=$ac_wine_check_headers_saved_exeext
12106 LIBS=$ac_wine_check_headers_saved_libs
12108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12109 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12110 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12111 then :
12113 else $as_nop
12114 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12116 else $as_nop
12117 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12119 CPPFLAGS=$ac_save_CPPFLAGS
12121 if test "x$JPEG_PE_LIBS" = "x"
12122 then
12123 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12126 if ${LCMS2_PE_CFLAGS:+false} :
12127 then :
12128 if test ${MINGW_PKG_CONFIG+y}
12129 then :
12130 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12133 if ${LCMS2_PE_LIBS:+false} :
12134 then :
12135 if test ${MINGW_PKG_CONFIG+y}
12136 then :
12137 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12140 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12141 ac_save_CPPFLAGS=$CPPFLAGS
12142 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12144 printf %s "checking for MinGW lcms2.h... " >&6; }
12145 if test ${ac_cv_mingw_header_lcms2_h+y}
12146 then :
12147 printf %s "(cached) " >&6
12148 else $as_nop
12149 ac_wine_check_headers_saved_cc=$CC
12150 ac_wine_check_headers_saved_exeext=$ac_exeext
12151 CC="$CROSSCC"
12152 ac_exeext=".exe"
12153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12154 /* end confdefs.h. */
12156 #include <lcms2.h>
12158 main (void)
12162 return 0;
12164 _ACEOF
12165 if ac_fn_c_try_compile "$LINENO"
12166 then :
12167 ac_cv_mingw_header_lcms2_h=yes
12168 else $as_nop
12169 ac_cv_mingw_header_lcms2_h=no
12171 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12172 CC=$ac_wine_check_headers_saved_cc
12173 ac_exeext=$ac_wine_check_headers_saved_exeext
12175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12176 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12177 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12178 then :
12179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12180 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12181 if test ${ac_cv_mingw_lib_lcms2+y}
12182 then :
12183 printf %s "(cached) " >&6
12184 else $as_nop
12185 ac_wine_check_headers_saved_cc=$CC
12186 ac_wine_check_headers_saved_exeext=$ac_exeext
12187 ac_wine_check_headers_saved_libs=$LIBS
12188 CC="$CROSSCC"
12189 ac_exeext=".exe"
12190 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12192 /* end confdefs.h. */
12194 /* Override any GCC internal prototype to avoid an error.
12195 Use char because int might match the return type of a GCC
12196 builtin and then its argument prototype would still apply. */
12197 char cmsOpenProfileFromFile ();
12199 main (void)
12201 return cmsOpenProfileFromFile ();
12203 return 0;
12205 _ACEOF
12206 if ac_fn_c_try_link "$LINENO"
12207 then :
12208 ac_cv_mingw_lib_lcms2=yes
12209 else $as_nop
12210 ac_cv_mingw_lib_lcms2=no
12212 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12213 conftest$ac_exeext conftest.$ac_ext
12214 CC=$ac_wine_check_headers_saved_cc
12215 ac_exeext=$ac_wine_check_headers_saved_exeext
12216 LIBS=$ac_wine_check_headers_saved_libs
12218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12219 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12220 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12221 then :
12223 else $as_nop
12224 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12226 else $as_nop
12227 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12229 CPPFLAGS=$ac_save_CPPFLAGS
12231 if test "x$LCMS2_PE_LIBS" = "x"
12232 then
12233 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12236 if ${MPG123_PE_CFLAGS:+false} :
12237 then :
12238 if test ${MINGW_PKG_CONFIG+y}
12239 then :
12240 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12243 if ${MPG123_PE_LIBS:+false} :
12244 then :
12245 if test ${MINGW_PKG_CONFIG+y}
12246 then :
12247 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12250 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12251 ac_save_CPPFLAGS=$CPPFLAGS
12252 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12254 printf %s "checking for MinGW mpg123.h... " >&6; }
12255 if test ${ac_cv_mingw_header_mpg123_h+y}
12256 then :
12257 printf %s "(cached) " >&6
12258 else $as_nop
12259 ac_wine_check_headers_saved_cc=$CC
12260 ac_wine_check_headers_saved_exeext=$ac_exeext
12261 CC="$CROSSCC"
12262 ac_exeext=".exe"
12263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12264 /* end confdefs.h. */
12266 #include <mpg123.h>
12268 main (void)
12272 return 0;
12274 _ACEOF
12275 if ac_fn_c_try_compile "$LINENO"
12276 then :
12277 ac_cv_mingw_header_mpg123_h=yes
12278 else $as_nop
12279 ac_cv_mingw_header_mpg123_h=no
12281 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12282 CC=$ac_wine_check_headers_saved_cc
12283 ac_exeext=$ac_wine_check_headers_saved_exeext
12285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12286 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12287 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12288 then :
12289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12290 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12291 if test ${ac_cv_mingw_lib_mpg123+y}
12292 then :
12293 printf %s "(cached) " >&6
12294 else $as_nop
12295 ac_wine_check_headers_saved_cc=$CC
12296 ac_wine_check_headers_saved_exeext=$ac_exeext
12297 ac_wine_check_headers_saved_libs=$LIBS
12298 CC="$CROSSCC"
12299 ac_exeext=".exe"
12300 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12302 /* end confdefs.h. */
12304 /* Override any GCC internal prototype to avoid an error.
12305 Use char because int might match the return type of a GCC
12306 builtin and then its argument prototype would still apply. */
12307 char mpg123_feed ();
12309 main (void)
12311 return mpg123_feed ();
12313 return 0;
12315 _ACEOF
12316 if ac_fn_c_try_link "$LINENO"
12317 then :
12318 ac_cv_mingw_lib_mpg123=yes
12319 else $as_nop
12320 ac_cv_mingw_lib_mpg123=no
12322 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12323 conftest$ac_exeext conftest.$ac_ext
12324 CC=$ac_wine_check_headers_saved_cc
12325 ac_exeext=$ac_wine_check_headers_saved_exeext
12326 LIBS=$ac_wine_check_headers_saved_libs
12328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12329 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12330 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12331 then :
12333 else $as_nop
12334 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12336 else $as_nop
12337 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12339 CPPFLAGS=$ac_save_CPPFLAGS
12341 if test "x$MPG123_PE_LIBS" = "x"
12342 then
12343 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12346 if ${PNG_PE_CFLAGS:+false} :
12347 then :
12348 if test ${MINGW_PKG_CONFIG+y}
12349 then :
12350 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12353 if ${PNG_PE_LIBS:+false} :
12354 then :
12355 if test ${MINGW_PKG_CONFIG+y}
12356 then :
12357 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12361 ac_save_CPPFLAGS=$CPPFLAGS
12362 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12364 printf %s "checking for MinGW png.h... " >&6; }
12365 if test ${ac_cv_mingw_header_png_h+y}
12366 then :
12367 printf %s "(cached) " >&6
12368 else $as_nop
12369 ac_wine_check_headers_saved_cc=$CC
12370 ac_wine_check_headers_saved_exeext=$ac_exeext
12371 CC="$CROSSCC"
12372 ac_exeext=".exe"
12373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12374 /* end confdefs.h. */
12376 #include <png.h>
12378 main (void)
12382 return 0;
12384 _ACEOF
12385 if ac_fn_c_try_compile "$LINENO"
12386 then :
12387 ac_cv_mingw_header_png_h=yes
12388 else $as_nop
12389 ac_cv_mingw_header_png_h=no
12391 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12392 CC=$ac_wine_check_headers_saved_cc
12393 ac_exeext=$ac_wine_check_headers_saved_exeext
12395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12396 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12397 if test "x$ac_cv_mingw_header_png_h" = xyes
12398 then :
12399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12400 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12401 if test ${ac_cv_mingw_lib_png+y}
12402 then :
12403 printf %s "(cached) " >&6
12404 else $as_nop
12405 ac_wine_check_headers_saved_cc=$CC
12406 ac_wine_check_headers_saved_exeext=$ac_exeext
12407 ac_wine_check_headers_saved_libs=$LIBS
12408 CC="$CROSSCC"
12409 ac_exeext=".exe"
12410 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12412 /* end confdefs.h. */
12414 /* Override any GCC internal prototype to avoid an error.
12415 Use char because int might match the return type of a GCC
12416 builtin and then its argument prototype would still apply. */
12417 char png_create_read_struct ();
12419 main (void)
12421 return png_create_read_struct ();
12423 return 0;
12425 _ACEOF
12426 if ac_fn_c_try_link "$LINENO"
12427 then :
12428 ac_cv_mingw_lib_png=yes
12429 else $as_nop
12430 ac_cv_mingw_lib_png=no
12432 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12433 conftest$ac_exeext conftest.$ac_ext
12434 CC=$ac_wine_check_headers_saved_cc
12435 ac_exeext=$ac_wine_check_headers_saved_exeext
12436 LIBS=$ac_wine_check_headers_saved_libs
12438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12439 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12440 if test "x$ac_cv_mingw_lib_png" = xyes
12441 then :
12443 else $as_nop
12444 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12446 else $as_nop
12447 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12449 CPPFLAGS=$ac_save_CPPFLAGS
12451 if test "x$PNG_PE_LIBS" = "x"
12452 then
12453 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12456 if ${TIFF_PE_CFLAGS:+false} :
12457 then :
12458 if test ${MINGW_PKG_CONFIG+y}
12459 then :
12460 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12463 if ${TIFF_PE_LIBS:+false} :
12464 then :
12465 if test ${MINGW_PKG_CONFIG+y}
12466 then :
12467 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12471 ac_save_CPPFLAGS=$CPPFLAGS
12472 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12474 printf %s "checking for MinGW tiffio.h... " >&6; }
12475 if test ${ac_cv_mingw_header_tiffio_h+y}
12476 then :
12477 printf %s "(cached) " >&6
12478 else $as_nop
12479 ac_wine_check_headers_saved_cc=$CC
12480 ac_wine_check_headers_saved_exeext=$ac_exeext
12481 CC="$CROSSCC"
12482 ac_exeext=".exe"
12483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12484 /* end confdefs.h. */
12486 #include <tiffio.h>
12488 main (void)
12492 return 0;
12494 _ACEOF
12495 if ac_fn_c_try_compile "$LINENO"
12496 then :
12497 ac_cv_mingw_header_tiffio_h=yes
12498 else $as_nop
12499 ac_cv_mingw_header_tiffio_h=no
12501 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12502 CC=$ac_wine_check_headers_saved_cc
12503 ac_exeext=$ac_wine_check_headers_saved_exeext
12505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12506 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12507 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12508 then :
12509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12510 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12511 if test ${ac_cv_mingw_lib_tiff+y}
12512 then :
12513 printf %s "(cached) " >&6
12514 else $as_nop
12515 ac_wine_check_headers_saved_cc=$CC
12516 ac_wine_check_headers_saved_exeext=$ac_exeext
12517 ac_wine_check_headers_saved_libs=$LIBS
12518 CC="$CROSSCC"
12519 ac_exeext=".exe"
12520 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12522 /* end confdefs.h. */
12524 /* Override any GCC internal prototype to avoid an error.
12525 Use char because int might match the return type of a GCC
12526 builtin and then its argument prototype would still apply. */
12527 char TIFFClientOpen ();
12529 main (void)
12531 return TIFFClientOpen ();
12533 return 0;
12535 _ACEOF
12536 if ac_fn_c_try_link "$LINENO"
12537 then :
12538 ac_cv_mingw_lib_tiff=yes
12539 else $as_nop
12540 ac_cv_mingw_lib_tiff=no
12542 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12543 conftest$ac_exeext conftest.$ac_ext
12544 CC=$ac_wine_check_headers_saved_cc
12545 ac_exeext=$ac_wine_check_headers_saved_exeext
12546 LIBS=$ac_wine_check_headers_saved_libs
12548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12549 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12550 if test "x$ac_cv_mingw_lib_tiff" = xyes
12551 then :
12553 else $as_nop
12554 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12556 else $as_nop
12557 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12559 CPPFLAGS=$ac_save_CPPFLAGS
12561 if test "x$TIFF_PE_LIBS" = "x"
12562 then
12563 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12566 if ${XML2_PE_CFLAGS:+false} :
12567 then :
12568 if test ${MINGW_PKG_CONFIG+y}
12569 then :
12570 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12573 if ${XML2_PE_LIBS:+false} :
12574 then :
12575 if test ${MINGW_PKG_CONFIG+y}
12576 then :
12577 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12580 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12581 ac_save_CPPFLAGS=$CPPFLAGS
12582 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12584 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12585 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12586 then :
12587 printf %s "(cached) " >&6
12588 else $as_nop
12589 ac_wine_check_headers_saved_cc=$CC
12590 ac_wine_check_headers_saved_exeext=$ac_exeext
12591 CC="$CROSSCC"
12592 ac_exeext=".exe"
12593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12594 /* end confdefs.h. */
12596 #include <libxml/parser.h>
12598 main (void)
12602 return 0;
12604 _ACEOF
12605 if ac_fn_c_try_compile "$LINENO"
12606 then :
12607 ac_cv_mingw_header_libxml_parser_h=yes
12608 else $as_nop
12609 ac_cv_mingw_header_libxml_parser_h=no
12611 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12612 CC=$ac_wine_check_headers_saved_cc
12613 ac_exeext=$ac_wine_check_headers_saved_exeext
12615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12616 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12617 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12618 then :
12621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12622 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12623 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12624 then :
12625 printf %s "(cached) " >&6
12626 else $as_nop
12627 ac_wine_check_headers_saved_cc=$CC
12628 ac_wine_check_headers_saved_exeext=$ac_exeext
12629 CC="$CROSSCC"
12630 ac_exeext=".exe"
12631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12632 /* end confdefs.h. */
12634 #include <libxml/xmlsave.h>
12636 main (void)
12640 return 0;
12642 _ACEOF
12643 if ac_fn_c_try_compile "$LINENO"
12644 then :
12645 ac_cv_mingw_header_libxml_xmlsave_h=yes
12646 else $as_nop
12647 ac_cv_mingw_header_libxml_xmlsave_h=no
12649 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12650 CC=$ac_wine_check_headers_saved_cc
12651 ac_exeext=$ac_wine_check_headers_saved_exeext
12653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12654 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12655 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12656 then :
12659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12660 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12661 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12662 then :
12663 printf %s "(cached) " >&6
12664 else $as_nop
12665 ac_wine_check_headers_saved_cc=$CC
12666 ac_wine_check_headers_saved_exeext=$ac_exeext
12667 CC="$CROSSCC"
12668 ac_exeext=".exe"
12669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12670 /* end confdefs.h. */
12672 #include <libxml/SAX2.h>
12674 main (void)
12678 return 0;
12680 _ACEOF
12681 if ac_fn_c_try_compile "$LINENO"
12682 then :
12683 ac_cv_mingw_header_libxml_SAX2_h=yes
12684 else $as_nop
12685 ac_cv_mingw_header_libxml_SAX2_h=no
12687 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12688 CC=$ac_wine_check_headers_saved_cc
12689 ac_exeext=$ac_wine_check_headers_saved_exeext
12691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12692 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12693 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12694 then :
12697 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"
12698 then
12699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12700 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12701 if test ${ac_cv_mingw_lib_xml2+y}
12702 then :
12703 printf %s "(cached) " >&6
12704 else $as_nop
12705 ac_wine_check_headers_saved_cc=$CC
12706 ac_wine_check_headers_saved_exeext=$ac_exeext
12707 ac_wine_check_headers_saved_libs=$LIBS
12708 CC="$CROSSCC"
12709 ac_exeext=".exe"
12710 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12712 /* end confdefs.h. */
12714 /* Override any GCC internal prototype to avoid an error.
12715 Use char because int might match the return type of a GCC
12716 builtin and then its argument prototype would still apply. */
12717 char xmlFirstElementChild ();
12719 main (void)
12721 return xmlFirstElementChild ();
12723 return 0;
12725 _ACEOF
12726 if ac_fn_c_try_link "$LINENO"
12727 then :
12728 ac_cv_mingw_lib_xml2=yes
12729 else $as_nop
12730 ac_cv_mingw_lib_xml2=no
12732 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12733 conftest$ac_exeext conftest.$ac_ext
12734 CC=$ac_wine_check_headers_saved_cc
12735 ac_exeext=$ac_wine_check_headers_saved_exeext
12736 LIBS=$ac_wine_check_headers_saved_libs
12738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12739 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12740 if test "x$ac_cv_mingw_lib_xml2" = xyes
12741 then :
12743 else $as_nop
12744 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12746 else
12747 XML2_PE_CFLAGS=""
12748 XML2_PE_LIBS=""
12750 CPPFLAGS=$ac_save_CPPFLAGS
12752 if test "x$XML2_PE_LIBS" = "x"
12753 then
12754 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12757 if ${XSLT_PE_CFLAGS:+false} :
12758 then :
12759 if test ${MINGW_PKG_CONFIG+y}
12760 then :
12761 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12764 if ${XSLT_PE_LIBS:+false} :
12765 then :
12766 if test ${MINGW_PKG_CONFIG+y}
12767 then :
12768 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12771 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12772 ac_save_CPPFLAGS=$CPPFLAGS
12773 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12775 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12776 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12777 then :
12778 printf %s "(cached) " >&6
12779 else $as_nop
12780 ac_wine_check_headers_saved_cc=$CC
12781 ac_wine_check_headers_saved_exeext=$ac_exeext
12782 CC="$CROSSCC"
12783 ac_exeext=".exe"
12784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12785 /* end confdefs.h. */
12787 #include <libxslt/pattern.h>
12789 main (void)
12793 return 0;
12795 _ACEOF
12796 if ac_fn_c_try_compile "$LINENO"
12797 then :
12798 ac_cv_mingw_header_libxslt_pattern_h=yes
12799 else $as_nop
12800 ac_cv_mingw_header_libxslt_pattern_h=no
12802 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12803 CC=$ac_wine_check_headers_saved_cc
12804 ac_exeext=$ac_wine_check_headers_saved_exeext
12806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12807 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12808 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12809 then :
12812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12813 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12814 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12815 then :
12816 printf %s "(cached) " >&6
12817 else $as_nop
12818 ac_wine_check_headers_saved_cc=$CC
12819 ac_wine_check_headers_saved_exeext=$ac_exeext
12820 CC="$CROSSCC"
12821 ac_exeext=".exe"
12822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12823 /* end confdefs.h. */
12825 #include <libxslt/transform.h>
12827 main (void)
12831 return 0;
12833 _ACEOF
12834 if ac_fn_c_try_compile "$LINENO"
12835 then :
12836 ac_cv_mingw_header_libxslt_transform_h=yes
12837 else $as_nop
12838 ac_cv_mingw_header_libxslt_transform_h=no
12840 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12841 CC=$ac_wine_check_headers_saved_cc
12842 ac_exeext=$ac_wine_check_headers_saved_exeext
12844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12845 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12846 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12847 then :
12850 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12851 then
12852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12853 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12854 if test ${ac_cv_mingw_lib_xslt+y}
12855 then :
12856 printf %s "(cached) " >&6
12857 else $as_nop
12858 ac_wine_check_headers_saved_cc=$CC
12859 ac_wine_check_headers_saved_exeext=$ac_exeext
12860 ac_wine_check_headers_saved_libs=$LIBS
12861 CC="$CROSSCC"
12862 ac_exeext=".exe"
12863 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12865 /* end confdefs.h. */
12867 /* Override any GCC internal prototype to avoid an error.
12868 Use char because int might match the return type of a GCC
12869 builtin and then its argument prototype would still apply. */
12870 char xsltCompilePattern ();
12872 main (void)
12874 return xsltCompilePattern ();
12876 return 0;
12878 _ACEOF
12879 if ac_fn_c_try_link "$LINENO"
12880 then :
12881 ac_cv_mingw_lib_xslt=yes
12882 else $as_nop
12883 ac_cv_mingw_lib_xslt=no
12885 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12886 conftest$ac_exeext conftest.$ac_ext
12887 CC=$ac_wine_check_headers_saved_cc
12888 ac_exeext=$ac_wine_check_headers_saved_exeext
12889 LIBS=$ac_wine_check_headers_saved_libs
12891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12892 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12893 if test "x$ac_cv_mingw_lib_xslt" = xyes
12894 then :
12896 else $as_nop
12897 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12899 else
12900 XSLT_PE_CFLAGS=""
12901 XSLT_PE_LIBS=""
12903 CPPFLAGS=$ac_save_CPPFLAGS
12905 if test "x$XSLT_PE_LIBS" = "x"
12906 then
12907 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12910 if ${VKD3D_PE_CFLAGS:+false} :
12911 then :
12912 if test ${MINGW_PKG_CONFIG+y}
12913 then :
12914 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12917 if ${VKD3D_PE_LIBS:+false} :
12918 then :
12919 if test ${MINGW_PKG_CONFIG+y}
12920 then :
12921 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12924 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12925 ac_save_CPPFLAGS=$CPPFLAGS
12926 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12928 printf %s "checking for MinGW vkd3d.h... " >&6; }
12929 if test ${ac_cv_mingw_header_vkd3d_h+y}
12930 then :
12931 printf %s "(cached) " >&6
12932 else $as_nop
12933 ac_wine_check_headers_saved_cc=$CC
12934 ac_wine_check_headers_saved_exeext=$ac_exeext
12935 CC="$CROSSCC"
12936 ac_exeext=".exe"
12937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12938 /* end confdefs.h. */
12940 #include <vkd3d.h>
12942 main (void)
12946 return 0;
12948 _ACEOF
12949 if ac_fn_c_try_compile "$LINENO"
12950 then :
12951 ac_cv_mingw_header_vkd3d_h=yes
12952 else $as_nop
12953 ac_cv_mingw_header_vkd3d_h=no
12955 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12956 CC=$ac_wine_check_headers_saved_cc
12957 ac_exeext=$ac_wine_check_headers_saved_exeext
12959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12960 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12961 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12962 then :
12965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12966 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12967 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12968 then :
12969 printf %s "(cached) " >&6
12970 else $as_nop
12971 ac_wine_check_headers_saved_cc=$CC
12972 ac_wine_check_headers_saved_exeext=$ac_exeext
12973 CC="$CROSSCC"
12974 ac_exeext=".exe"
12975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12976 /* end confdefs.h. */
12978 #include <vkd3d_shader.h>
12980 main (void)
12984 return 0;
12986 _ACEOF
12987 if ac_fn_c_try_compile "$LINENO"
12988 then :
12989 ac_cv_mingw_header_vkd3d_shader_h=yes
12990 else $as_nop
12991 ac_cv_mingw_header_vkd3d_shader_h=no
12993 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12994 CC=$ac_wine_check_headers_saved_cc
12995 ac_exeext=$ac_wine_check_headers_saved_exeext
12997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12998 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12999 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13000 then :
13003 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13004 then
13005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_serialize_versioned_root_signature in MinGW -lvkd3d" >&5
13006 printf %s "checking for vkd3d_serialize_versioned_root_signature in MinGW -lvkd3d... " >&6; }
13007 if test ${ac_cv_mingw_lib_vkd3d+y}
13008 then :
13009 printf %s "(cached) " >&6
13010 else $as_nop
13011 ac_wine_check_headers_saved_cc=$CC
13012 ac_wine_check_headers_saved_exeext=$ac_exeext
13013 ac_wine_check_headers_saved_libs=$LIBS
13014 CC="$CROSSCC"
13015 ac_exeext=".exe"
13016 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13018 /* end confdefs.h. */
13020 /* Override any GCC internal prototype to avoid an error.
13021 Use char because int might match the return type of a GCC
13022 builtin and then its argument prototype would still apply. */
13023 char vkd3d_serialize_versioned_root_signature ();
13025 main (void)
13027 return vkd3d_serialize_versioned_root_signature ();
13029 return 0;
13031 _ACEOF
13032 if ac_fn_c_try_link "$LINENO"
13033 then :
13034 ac_cv_mingw_lib_vkd3d=yes
13035 else $as_nop
13036 ac_cv_mingw_lib_vkd3d=no
13038 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13039 conftest$ac_exeext conftest.$ac_ext
13040 CC=$ac_wine_check_headers_saved_cc
13041 ac_exeext=$ac_wine_check_headers_saved_exeext
13042 LIBS=$ac_wine_check_headers_saved_libs
13044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13045 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13046 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13047 then :
13049 else $as_nop
13052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
13053 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
13054 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13055 then :
13056 printf %s "(cached) " >&6
13057 else $as_nop
13058 ac_wine_check_headers_saved_cc=$CC
13059 ac_wine_check_headers_saved_exeext=$ac_exeext
13060 ac_wine_check_headers_saved_libs=$LIBS
13061 CC="$CROSSCC"
13062 ac_exeext=".exe"
13063 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13065 /* end confdefs.h. */
13067 /* Override any GCC internal prototype to avoid an error.
13068 Use char because int might match the return type of a GCC
13069 builtin and then its argument prototype would still apply. */
13070 char vkd3d_shader_compile ();
13072 main (void)
13074 return vkd3d_shader_compile ();
13076 return 0;
13078 _ACEOF
13079 if ac_fn_c_try_link "$LINENO"
13080 then :
13081 ac_cv_mingw_lib_vkd3d_shader=yes
13082 else $as_nop
13083 ac_cv_mingw_lib_vkd3d_shader=no
13085 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13086 conftest$ac_exeext conftest.$ac_ext
13087 CC=$ac_wine_check_headers_saved_cc
13088 ac_exeext=$ac_wine_check_headers_saved_exeext
13089 LIBS=$ac_wine_check_headers_saved_libs
13091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13092 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13093 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13094 then :
13096 else $as_nop
13099 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13100 then
13101 VKD3D_PE_CFLAGS=""
13102 VKD3D_PE_LIBS=""
13104 else
13105 VKD3D_PE_CFLAGS=""
13106 VKD3D_PE_LIBS=""
13108 CPPFLAGS=$ac_save_CPPFLAGS
13110 if test "x$VKD3D_PE_LIBS" = "x"
13111 then
13112 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found; using bundled version."
13115 if ${ZLIB_PE_CFLAGS:+false} :
13116 then :
13117 if test ${MINGW_PKG_CONFIG+y}
13118 then :
13119 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13122 if ${ZLIB_PE_LIBS:+false} :
13123 then :
13124 if test ${MINGW_PKG_CONFIG+y}
13125 then :
13126 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13129 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13130 ac_save_CPPFLAGS=$CPPFLAGS
13131 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13133 printf %s "checking for MinGW zlib.h... " >&6; }
13134 if test ${ac_cv_mingw_header_zlib_h+y}
13135 then :
13136 printf %s "(cached) " >&6
13137 else $as_nop
13138 ac_wine_check_headers_saved_cc=$CC
13139 ac_wine_check_headers_saved_exeext=$ac_exeext
13140 CC="$CROSSCC"
13141 ac_exeext=".exe"
13142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13143 /* end confdefs.h. */
13145 #include <zlib.h>
13147 main (void)
13151 return 0;
13153 _ACEOF
13154 if ac_fn_c_try_compile "$LINENO"
13155 then :
13156 ac_cv_mingw_header_zlib_h=yes
13157 else $as_nop
13158 ac_cv_mingw_header_zlib_h=no
13160 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13161 CC=$ac_wine_check_headers_saved_cc
13162 ac_exeext=$ac_wine_check_headers_saved_exeext
13164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13165 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13166 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13167 then :
13168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13169 printf %s "checking for inflate in MinGW -lz... " >&6; }
13170 if test ${ac_cv_mingw_lib_z+y}
13171 then :
13172 printf %s "(cached) " >&6
13173 else $as_nop
13174 ac_wine_check_headers_saved_cc=$CC
13175 ac_wine_check_headers_saved_exeext=$ac_exeext
13176 ac_wine_check_headers_saved_libs=$LIBS
13177 CC="$CROSSCC"
13178 ac_exeext=".exe"
13179 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13181 /* end confdefs.h. */
13183 /* Override any GCC internal prototype to avoid an error.
13184 Use char because int might match the return type of a GCC
13185 builtin and then its argument prototype would still apply. */
13186 char inflate ();
13188 main (void)
13190 return inflate ();
13192 return 0;
13194 _ACEOF
13195 if ac_fn_c_try_link "$LINENO"
13196 then :
13197 ac_cv_mingw_lib_z=yes
13198 else $as_nop
13199 ac_cv_mingw_lib_z=no
13201 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13202 conftest$ac_exeext conftest.$ac_ext
13203 CC=$ac_wine_check_headers_saved_cc
13204 ac_exeext=$ac_wine_check_headers_saved_exeext
13205 LIBS=$ac_wine_check_headers_saved_libs
13207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13208 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13209 if test "x$ac_cv_mingw_lib_z" = xyes
13210 then :
13212 else $as_nop
13213 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13215 else $as_nop
13216 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13218 CPPFLAGS=$ac_save_CPPFLAGS
13220 if test "x$ZLIB_PE_LIBS" = "x"
13221 then
13222 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13226 if ${FAUDIO_PE_LIBS:+false} :
13227 then :
13228 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13229 if ${FAUDIO_PE_CFLAGS:+false} :
13230 then :
13231 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13232 else $as_nop
13233 enable_faudio=no
13235 else $as_nop
13236 enable_faudio=no
13238 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13239 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13241 if ${GSM_PE_LIBS:+false} :
13242 then :
13243 GSM_PE_LIBS=gsm
13244 if ${GSM_PE_CFLAGS:+false} :
13245 then :
13246 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13247 else $as_nop
13248 enable_gsm=no
13250 else $as_nop
13251 enable_gsm=no
13253 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13254 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13256 if ${JPEG_PE_LIBS:+false} :
13257 then :
13258 JPEG_PE_LIBS=jpeg
13259 if ${JPEG_PE_CFLAGS:+false} :
13260 then :
13261 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13262 else $as_nop
13263 enable_jpeg=no
13265 else $as_nop
13266 enable_jpeg=no
13268 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13269 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13271 if ${JXR_PE_LIBS:+false} :
13272 then :
13273 JXR_PE_LIBS=jxr
13274 if ${JXR_PE_CFLAGS:+false} :
13275 then :
13276 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13277 else $as_nop
13278 enable_jxr=no
13280 else $as_nop
13281 enable_jxr=no
13283 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13286 if ${LCMS2_PE_LIBS:+false} :
13287 then :
13288 LCMS2_PE_LIBS=lcms2
13289 if ${LCMS2_PE_CFLAGS:+false} :
13290 then :
13291 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13292 else $as_nop
13293 enable_lcms2=no
13295 else $as_nop
13296 enable_lcms2=no
13298 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13299 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13301 if ${MPG123_PE_LIBS:+false} :
13302 then :
13303 MPG123_PE_LIBS=mpg123
13304 if ${MPG123_PE_CFLAGS:+false} :
13305 then :
13306 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13307 else $as_nop
13308 enable_mpg123=no
13310 else $as_nop
13311 enable_mpg123=no
13313 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13316 if ${PNG_PE_LIBS:+false} :
13317 then :
13318 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13319 if ${PNG_PE_CFLAGS:+false} :
13320 then :
13321 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13322 else $as_nop
13323 enable_png=no
13325 else $as_nop
13326 enable_png=no
13328 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13329 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13331 if ${TIFF_PE_LIBS:+false} :
13332 then :
13333 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13334 if ${TIFF_PE_CFLAGS:+false} :
13335 then :
13336 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13337 else $as_nop
13338 enable_tiff=no
13340 else $as_nop
13341 enable_tiff=no
13343 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13344 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13346 if ${VKD3D_PE_LIBS:+false} :
13347 then :
13348 VKD3D_PE_LIBS=vkd3d
13349 if ${VKD3D_PE_CFLAGS:+false} :
13350 then :
13351 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13352 else $as_nop
13353 enable_vkd3d=no
13355 else $as_nop
13356 enable_vkd3d=no
13358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13361 if ${XML2_PE_LIBS:+false} :
13362 then :
13363 XML2_PE_LIBS=xml2
13364 if ${XML2_PE_CFLAGS:+false} :
13365 then :
13366 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13367 else $as_nop
13368 enable_xml2=no
13370 else $as_nop
13371 enable_xml2=no
13373 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13374 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13376 if ${XSLT_PE_LIBS:+false} :
13377 then :
13378 XSLT_PE_LIBS=xslt
13379 if ${XSLT_PE_CFLAGS:+false} :
13380 then :
13381 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13382 else $as_nop
13383 enable_xslt=no
13385 else $as_nop
13386 enable_xslt=no
13388 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13389 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13391 if ${ZLIB_PE_LIBS:+false} :
13392 then :
13393 ZLIB_PE_LIBS=z
13394 if ${ZLIB_PE_CFLAGS:+false} :
13395 then :
13396 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13397 else $as_nop
13398 enable_zlib=no
13400 else $as_nop
13401 enable_zlib=no
13403 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13404 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13408 if test "$ac_cv_header_pthread_h" = "yes"
13409 then
13410 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13411 if test "x$ac_cv_func_pthread_create" = xyes
13412 then :
13414 else $as_nop
13415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13416 printf %s "checking for pthread_create in -lpthread... " >&6; }
13417 if test ${ac_cv_lib_pthread_pthread_create+y}
13418 then :
13419 printf %s "(cached) " >&6
13420 else $as_nop
13421 ac_check_lib_save_LIBS=$LIBS
13422 LIBS="-lpthread $LIBS"
13423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13424 /* end confdefs.h. */
13426 /* Override any GCC internal prototype to avoid an error.
13427 Use char because int might match the return type of a GCC
13428 builtin and then its argument prototype would still apply. */
13429 char pthread_create ();
13431 main (void)
13433 return pthread_create ();
13435 return 0;
13437 _ACEOF
13438 if ac_fn_c_try_link "$LINENO"
13439 then :
13440 ac_cv_lib_pthread_pthread_create=yes
13441 else $as_nop
13442 ac_cv_lib_pthread_pthread_create=no
13444 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13445 conftest$ac_exeext conftest.$ac_ext
13446 LIBS=$ac_check_lib_save_LIBS
13448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13449 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13450 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13451 then :
13452 PTHREAD_LIBS="-lpthread"
13459 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13460 then :
13461 case "x$with_pthread" in
13462 xno) ;;
13463 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13464 Wine cannot support threads without libpthread.
13465 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13466 esac
13471 ac_ext=c
13472 ac_cpp='$CPP $CPPFLAGS'
13473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13477 printf %s "checking how to run the C preprocessor... " >&6; }
13478 # On Suns, sometimes $CPP names a directory.
13479 if test -n "$CPP" && test -d "$CPP"; then
13480 CPP=
13482 if test -z "$CPP"; then
13483 if test ${ac_cv_prog_CPP+y}
13484 then :
13485 printf %s "(cached) " >&6
13486 else $as_nop
13487 # Double quotes because $CC needs to be expanded
13488 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13490 ac_preproc_ok=false
13491 for ac_c_preproc_warn_flag in '' yes
13493 # Use a header file that comes with gcc, so configuring glibc
13494 # with a fresh cross-compiler works.
13495 # On the NeXT, cc -E runs the code through the compiler's parser,
13496 # not just through cpp. "Syntax error" is here to catch this case.
13497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13498 /* end confdefs.h. */
13499 #include <limits.h>
13500 Syntax error
13501 _ACEOF
13502 if ac_fn_c_try_cpp "$LINENO"
13503 then :
13505 else $as_nop
13506 # Broken: fails on valid input.
13507 continue
13509 rm -f conftest.err conftest.i conftest.$ac_ext
13511 # OK, works on sane cases. Now check whether nonexistent headers
13512 # can be detected and how.
13513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13514 /* end confdefs.h. */
13515 #include <ac_nonexistent.h>
13516 _ACEOF
13517 if ac_fn_c_try_cpp "$LINENO"
13518 then :
13519 # Broken: success on invalid input.
13520 continue
13521 else $as_nop
13522 # Passes both tests.
13523 ac_preproc_ok=:
13524 break
13526 rm -f conftest.err conftest.i conftest.$ac_ext
13528 done
13529 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13530 rm -f conftest.i conftest.err conftest.$ac_ext
13531 if $ac_preproc_ok
13532 then :
13533 break
13536 done
13537 ac_cv_prog_CPP=$CPP
13540 CPP=$ac_cv_prog_CPP
13541 else
13542 ac_cv_prog_CPP=$CPP
13544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13545 printf "%s\n" "$CPP" >&6; }
13546 ac_preproc_ok=false
13547 for ac_c_preproc_warn_flag in '' yes
13549 # Use a header file that comes with gcc, so configuring glibc
13550 # with a fresh cross-compiler works.
13551 # On the NeXT, cc -E runs the code through the compiler's parser,
13552 # not just through cpp. "Syntax error" is here to catch this case.
13553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13554 /* end confdefs.h. */
13555 #include <limits.h>
13556 Syntax error
13557 _ACEOF
13558 if ac_fn_c_try_cpp "$LINENO"
13559 then :
13561 else $as_nop
13562 # Broken: fails on valid input.
13563 continue
13565 rm -f conftest.err conftest.i conftest.$ac_ext
13567 # OK, works on sane cases. Now check whether nonexistent headers
13568 # can be detected and how.
13569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13570 /* end confdefs.h. */
13571 #include <ac_nonexistent.h>
13572 _ACEOF
13573 if ac_fn_c_try_cpp "$LINENO"
13574 then :
13575 # Broken: success on invalid input.
13576 continue
13577 else $as_nop
13578 # Passes both tests.
13579 ac_preproc_ok=:
13580 break
13582 rm -f conftest.err conftest.i conftest.$ac_ext
13584 done
13585 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13586 rm -f conftest.i conftest.err conftest.$ac_ext
13587 if $ac_preproc_ok
13588 then :
13590 else $as_nop
13591 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13592 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13593 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13594 See \`config.log' for more details" "$LINENO" 5; }
13597 ac_ext=c
13598 ac_cpp='$CPP $CPPFLAGS'
13599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13605 printf %s "checking for X... " >&6; }
13608 # Check whether --with-x was given.
13609 if test ${with_x+y}
13610 then :
13611 withval=$with_x;
13614 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13615 if test "x$with_x" = xno; then
13616 # The user explicitly disabled X.
13617 have_x=disabled
13618 else
13619 case $x_includes,$x_libraries in #(
13620 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13621 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13622 then :
13623 printf %s "(cached) " >&6
13624 else $as_nop
13625 # One or both of the vars are not set, and there is no cached value.
13626 ac_x_includes=no
13627 ac_x_libraries=no
13628 # Do we need to do anything special at all?
13629 ac_save_LIBS=$LIBS
13630 LIBS="-lX11 $LIBS"
13631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13632 /* end confdefs.h. */
13633 #include <X11/Xlib.h>
13635 main (void)
13637 XrmInitialize ()
13639 return 0;
13641 _ACEOF
13642 if ac_fn_c_try_link "$LINENO"
13643 then :
13644 # We can compile and link X programs with no special options.
13645 ac_x_includes=
13646 ac_x_libraries=
13648 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13649 conftest$ac_exeext conftest.$ac_ext
13650 LIBS="$ac_save_LIBS"
13651 # If that didn't work, only try xmkmf and file system searches
13652 # for native compilation.
13653 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13654 then :
13655 rm -f -r conftest.dir
13656 if mkdir conftest.dir; then
13657 cd conftest.dir
13658 cat >Imakefile <<'_ACEOF'
13659 incroot:
13660 @echo incroot='${INCROOT}'
13661 usrlibdir:
13662 @echo usrlibdir='${USRLIBDIR}'
13663 libdir:
13664 @echo libdir='${LIBDIR}'
13665 _ACEOF
13666 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13667 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13668 for ac_var in incroot usrlibdir libdir; do
13669 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13670 done
13671 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13672 for ac_extension in a so sl dylib la dll; do
13673 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13674 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13675 ac_im_usrlibdir=$ac_im_libdir; break
13677 done
13678 # Screen out bogus values from the imake configuration. They are
13679 # bogus both because they are the default anyway, and because
13680 # using them would break gcc on systems where it needs fixed includes.
13681 case $ac_im_incroot in
13682 /usr/include) ac_x_includes= ;;
13683 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13684 esac
13685 case $ac_im_usrlibdir in
13686 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13687 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13688 esac
13690 cd ..
13691 rm -f -r conftest.dir
13694 # Standard set of common directories for X headers.
13695 # Check X11 before X11Rn because it is often a symlink to the current release.
13696 ac_x_header_dirs='
13697 /usr/X11/include
13698 /usr/X11R7/include
13699 /usr/X11R6/include
13700 /usr/X11R5/include
13701 /usr/X11R4/include
13703 /usr/include/X11
13704 /usr/include/X11R7
13705 /usr/include/X11R6
13706 /usr/include/X11R5
13707 /usr/include/X11R4
13709 /usr/local/X11/include
13710 /usr/local/X11R7/include
13711 /usr/local/X11R6/include
13712 /usr/local/X11R5/include
13713 /usr/local/X11R4/include
13715 /usr/local/include/X11
13716 /usr/local/include/X11R7
13717 /usr/local/include/X11R6
13718 /usr/local/include/X11R5
13719 /usr/local/include/X11R4
13721 /opt/X11/include
13723 /usr/X386/include
13724 /usr/x386/include
13725 /usr/XFree86/include/X11
13727 /usr/include
13728 /usr/local/include
13729 /usr/unsupported/include
13730 /usr/athena/include
13731 /usr/local/x11r5/include
13732 /usr/lpp/Xamples/include
13734 /usr/openwin/include
13735 /usr/openwin/share/include'
13737 if test "$ac_x_includes" = no; then
13738 # Guess where to find include files, by looking for Xlib.h.
13739 # First, try using that file with no special directory specified.
13740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13741 /* end confdefs.h. */
13742 #include <X11/Xlib.h>
13743 _ACEOF
13744 if ac_fn_c_try_cpp "$LINENO"
13745 then :
13746 # We can compile using X headers with no special include directory.
13747 ac_x_includes=
13748 else $as_nop
13749 for ac_dir in $ac_x_header_dirs; do
13750 if test -r "$ac_dir/X11/Xlib.h"; then
13751 ac_x_includes=$ac_dir
13752 break
13754 done
13756 rm -f conftest.err conftest.i conftest.$ac_ext
13757 fi # $ac_x_includes = no
13759 if test "$ac_x_libraries" = no; then
13760 # Check for the libraries.
13761 # See if we find them without any special options.
13762 # Don't add to $LIBS permanently.
13763 ac_save_LIBS=$LIBS
13764 LIBS="-lX11 $LIBS"
13765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13766 /* end confdefs.h. */
13767 #include <X11/Xlib.h>
13769 main (void)
13771 XrmInitialize ()
13773 return 0;
13775 _ACEOF
13776 if ac_fn_c_try_link "$LINENO"
13777 then :
13778 LIBS=$ac_save_LIBS
13779 # We can link X programs with no special library path.
13780 ac_x_libraries=
13781 else $as_nop
13782 LIBS=$ac_save_LIBS
13783 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13785 # Don't even attempt the hair of trying to link an X program!
13786 for ac_extension in a so sl dylib la dll; do
13787 if test -r "$ac_dir/libX11.$ac_extension"; then
13788 ac_x_libraries=$ac_dir
13789 break 2
13791 done
13792 done
13794 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13795 conftest$ac_exeext conftest.$ac_ext
13796 fi # $ac_x_libraries = no
13799 # Record the results.
13800 case $ac_x_includes,$ac_x_libraries in #(
13801 no,* | *,no | *\'*) :
13802 # Didn't find X, or a directory has "'" in its name.
13803 ac_cv_have_x="have_x=no" ;; #(
13804 *) :
13805 # Record where we found X for the cache.
13806 ac_cv_have_x="have_x=yes\
13807 ac_x_includes='$ac_x_includes'\
13808 ac_x_libraries='$ac_x_libraries'" ;;
13809 esac
13811 ;; #(
13812 *) have_x=yes;;
13813 esac
13814 eval "$ac_cv_have_x"
13815 fi # $with_x != no
13817 if test "$have_x" != yes; then
13818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13819 printf "%s\n" "$have_x" >&6; }
13820 no_x=yes
13821 else
13822 # If each of the values was on the command line, it overrides each guess.
13823 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13824 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13825 # Update the cache value to reflect the command line values.
13826 ac_cv_have_x="have_x=yes\
13827 ac_x_includes='$x_includes'\
13828 ac_x_libraries='$x_libraries'"
13829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13830 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13833 if test "$no_x" = yes; then
13834 # Not all programs may use this symbol, but it does not hurt to define it.
13836 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13838 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13839 else
13840 if test -n "$x_includes"; then
13841 X_CFLAGS="$X_CFLAGS -I$x_includes"
13844 # It would also be nice to do this for all -L options, not just this one.
13845 if test -n "$x_libraries"; then
13846 X_LIBS="$X_LIBS -L$x_libraries"
13847 # For Solaris; some versions of Sun CC require a space after -R and
13848 # others require no space. Words are not sufficient . . . .
13849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13850 printf %s "checking whether -R must be followed by a space... " >&6; }
13851 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13852 ac_xsave_c_werror_flag=$ac_c_werror_flag
13853 ac_c_werror_flag=yes
13854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13855 /* end confdefs.h. */
13858 main (void)
13862 return 0;
13864 _ACEOF
13865 if ac_fn_c_try_link "$LINENO"
13866 then :
13867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13868 printf "%s\n" "no" >&6; }
13869 X_LIBS="$X_LIBS -R$x_libraries"
13870 else $as_nop
13871 LIBS="$ac_xsave_LIBS -R $x_libraries"
13872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13873 /* end confdefs.h. */
13876 main (void)
13880 return 0;
13882 _ACEOF
13883 if ac_fn_c_try_link "$LINENO"
13884 then :
13885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13886 printf "%s\n" "yes" >&6; }
13887 X_LIBS="$X_LIBS -R $x_libraries"
13888 else $as_nop
13889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13890 printf "%s\n" "neither works" >&6; }
13892 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13893 conftest$ac_exeext conftest.$ac_ext
13895 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13896 conftest$ac_exeext conftest.$ac_ext
13897 ac_c_werror_flag=$ac_xsave_c_werror_flag
13898 LIBS=$ac_xsave_LIBS
13901 # Check for system-dependent libraries X programs must link with.
13902 # Do this before checking for the system-independent R6 libraries
13903 # (-lICE), since we may need -lsocket or whatever for X linking.
13905 if test "$ISC" = yes; then
13906 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13907 else
13908 # Martyn Johnson says this is needed for Ultrix, if the X
13909 # libraries were built with DECnet support. And Karl Berry says
13910 # the Alpha needs dnet_stub (dnet does not exist).
13911 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13913 /* end confdefs.h. */
13915 /* Override any GCC internal prototype to avoid an error.
13916 Use char because int might match the return type of a GCC
13917 builtin and then its argument prototype would still apply. */
13918 char XOpenDisplay ();
13920 main (void)
13922 return XOpenDisplay ();
13924 return 0;
13926 _ACEOF
13927 if ac_fn_c_try_link "$LINENO"
13928 then :
13930 else $as_nop
13931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13932 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13933 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13934 then :
13935 printf %s "(cached) " >&6
13936 else $as_nop
13937 ac_check_lib_save_LIBS=$LIBS
13938 LIBS="-ldnet $LIBS"
13939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13940 /* end confdefs.h. */
13942 /* Override any GCC internal prototype to avoid an error.
13943 Use char because int might match the return type of a GCC
13944 builtin and then its argument prototype would still apply. */
13945 char dnet_ntoa ();
13947 main (void)
13949 return dnet_ntoa ();
13951 return 0;
13953 _ACEOF
13954 if ac_fn_c_try_link "$LINENO"
13955 then :
13956 ac_cv_lib_dnet_dnet_ntoa=yes
13957 else $as_nop
13958 ac_cv_lib_dnet_dnet_ntoa=no
13960 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13961 conftest$ac_exeext conftest.$ac_ext
13962 LIBS=$ac_check_lib_save_LIBS
13964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13965 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13966 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13967 then :
13968 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13971 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13973 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13974 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13975 then :
13976 printf %s "(cached) " >&6
13977 else $as_nop
13978 ac_check_lib_save_LIBS=$LIBS
13979 LIBS="-ldnet_stub $LIBS"
13980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13981 /* end confdefs.h. */
13983 /* Override any GCC internal prototype to avoid an error.
13984 Use char because int might match the return type of a GCC
13985 builtin and then its argument prototype would still apply. */
13986 char dnet_ntoa ();
13988 main (void)
13990 return dnet_ntoa ();
13992 return 0;
13994 _ACEOF
13995 if ac_fn_c_try_link "$LINENO"
13996 then :
13997 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13998 else $as_nop
13999 ac_cv_lib_dnet_stub_dnet_ntoa=no
14001 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14002 conftest$ac_exeext conftest.$ac_ext
14003 LIBS=$ac_check_lib_save_LIBS
14005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14006 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14007 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14008 then :
14009 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14014 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14015 conftest$ac_exeext conftest.$ac_ext
14016 LIBS="$ac_xsave_LIBS"
14018 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14019 # to get the SysV transport functions.
14020 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14021 # needs -lnsl.
14022 # The nsl library prevents programs from opening the X display
14023 # on Irix 5.2, according to T.E. Dickey.
14024 # The functions gethostbyname, getservbyname, and inet_addr are
14025 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14026 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14027 if test "x$ac_cv_func_gethostbyname" = xyes
14028 then :
14032 if test $ac_cv_func_gethostbyname = no; then
14033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14034 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14035 if test ${ac_cv_lib_nsl_gethostbyname+y}
14036 then :
14037 printf %s "(cached) " >&6
14038 else $as_nop
14039 ac_check_lib_save_LIBS=$LIBS
14040 LIBS="-lnsl $LIBS"
14041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14042 /* end confdefs.h. */
14044 /* Override any GCC internal prototype to avoid an error.
14045 Use char because int might match the return type of a GCC
14046 builtin and then its argument prototype would still apply. */
14047 char gethostbyname ();
14049 main (void)
14051 return gethostbyname ();
14053 return 0;
14055 _ACEOF
14056 if ac_fn_c_try_link "$LINENO"
14057 then :
14058 ac_cv_lib_nsl_gethostbyname=yes
14059 else $as_nop
14060 ac_cv_lib_nsl_gethostbyname=no
14062 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14063 conftest$ac_exeext conftest.$ac_ext
14064 LIBS=$ac_check_lib_save_LIBS
14066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14067 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14068 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14069 then :
14070 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14073 if test $ac_cv_lib_nsl_gethostbyname = no; then
14074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14075 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14076 if test ${ac_cv_lib_bsd_gethostbyname+y}
14077 then :
14078 printf %s "(cached) " >&6
14079 else $as_nop
14080 ac_check_lib_save_LIBS=$LIBS
14081 LIBS="-lbsd $LIBS"
14082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14083 /* end confdefs.h. */
14085 /* Override any GCC internal prototype to avoid an error.
14086 Use char because int might match the return type of a GCC
14087 builtin and then its argument prototype would still apply. */
14088 char gethostbyname ();
14090 main (void)
14092 return gethostbyname ();
14094 return 0;
14096 _ACEOF
14097 if ac_fn_c_try_link "$LINENO"
14098 then :
14099 ac_cv_lib_bsd_gethostbyname=yes
14100 else $as_nop
14101 ac_cv_lib_bsd_gethostbyname=no
14103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14104 conftest$ac_exeext conftest.$ac_ext
14105 LIBS=$ac_check_lib_save_LIBS
14107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14108 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14109 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14110 then :
14111 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14117 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14118 # socket/setsockopt and other routines are undefined under SCO ODT
14119 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14120 # on later versions), says Simon Leinen: it contains gethostby*
14121 # variants that don't use the name server (or something). -lsocket
14122 # must be given before -lnsl if both are needed. We assume that
14123 # if connect needs -lnsl, so does gethostbyname.
14124 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14125 if test "x$ac_cv_func_connect" = xyes
14126 then :
14130 if test $ac_cv_func_connect = no; then
14131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14132 printf %s "checking for connect in -lsocket... " >&6; }
14133 if test ${ac_cv_lib_socket_connect+y}
14134 then :
14135 printf %s "(cached) " >&6
14136 else $as_nop
14137 ac_check_lib_save_LIBS=$LIBS
14138 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14140 /* end confdefs.h. */
14142 /* Override any GCC internal prototype to avoid an error.
14143 Use char because int might match the return type of a GCC
14144 builtin and then its argument prototype would still apply. */
14145 char connect ();
14147 main (void)
14149 return connect ();
14151 return 0;
14153 _ACEOF
14154 if ac_fn_c_try_link "$LINENO"
14155 then :
14156 ac_cv_lib_socket_connect=yes
14157 else $as_nop
14158 ac_cv_lib_socket_connect=no
14160 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14161 conftest$ac_exeext conftest.$ac_ext
14162 LIBS=$ac_check_lib_save_LIBS
14164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14165 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14166 if test "x$ac_cv_lib_socket_connect" = xyes
14167 then :
14168 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14173 # Guillermo Gomez says -lposix is necessary on A/UX.
14174 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14175 if test "x$ac_cv_func_remove" = xyes
14176 then :
14180 if test $ac_cv_func_remove = no; then
14181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14182 printf %s "checking for remove in -lposix... " >&6; }
14183 if test ${ac_cv_lib_posix_remove+y}
14184 then :
14185 printf %s "(cached) " >&6
14186 else $as_nop
14187 ac_check_lib_save_LIBS=$LIBS
14188 LIBS="-lposix $LIBS"
14189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14190 /* end confdefs.h. */
14192 /* Override any GCC internal prototype to avoid an error.
14193 Use char because int might match the return type of a GCC
14194 builtin and then its argument prototype would still apply. */
14195 char remove ();
14197 main (void)
14199 return remove ();
14201 return 0;
14203 _ACEOF
14204 if ac_fn_c_try_link "$LINENO"
14205 then :
14206 ac_cv_lib_posix_remove=yes
14207 else $as_nop
14208 ac_cv_lib_posix_remove=no
14210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14211 conftest$ac_exeext conftest.$ac_ext
14212 LIBS=$ac_check_lib_save_LIBS
14214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14215 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14216 if test "x$ac_cv_lib_posix_remove" = xyes
14217 then :
14218 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14223 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14224 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14225 if test "x$ac_cv_func_shmat" = xyes
14226 then :
14230 if test $ac_cv_func_shmat = no; then
14231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14232 printf %s "checking for shmat in -lipc... " >&6; }
14233 if test ${ac_cv_lib_ipc_shmat+y}
14234 then :
14235 printf %s "(cached) " >&6
14236 else $as_nop
14237 ac_check_lib_save_LIBS=$LIBS
14238 LIBS="-lipc $LIBS"
14239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14240 /* end confdefs.h. */
14242 /* Override any GCC internal prototype to avoid an error.
14243 Use char because int might match the return type of a GCC
14244 builtin and then its argument prototype would still apply. */
14245 char shmat ();
14247 main (void)
14249 return shmat ();
14251 return 0;
14253 _ACEOF
14254 if ac_fn_c_try_link "$LINENO"
14255 then :
14256 ac_cv_lib_ipc_shmat=yes
14257 else $as_nop
14258 ac_cv_lib_ipc_shmat=no
14260 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14261 conftest$ac_exeext conftest.$ac_ext
14262 LIBS=$ac_check_lib_save_LIBS
14264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14265 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14266 if test "x$ac_cv_lib_ipc_shmat" = xyes
14267 then :
14268 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14274 # Check for libraries that X11R6 Xt/Xaw programs need.
14275 ac_save_LDFLAGS=$LDFLAGS
14276 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14277 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14278 # check for ICE first), but we must link in the order -lSM -lICE or
14279 # we get undefined symbols. So assume we have SM if we have ICE.
14280 # These have to be linked with before -lX11, unlike the other
14281 # libraries we check for below, so use a different variable.
14282 # John Interrante, Karl Berry
14283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14284 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14285 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14286 then :
14287 printf %s "(cached) " >&6
14288 else $as_nop
14289 ac_check_lib_save_LIBS=$LIBS
14290 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14292 /* end confdefs.h. */
14294 /* Override any GCC internal prototype to avoid an error.
14295 Use char because int might match the return type of a GCC
14296 builtin and then its argument prototype would still apply. */
14297 char IceConnectionNumber ();
14299 main (void)
14301 return IceConnectionNumber ();
14303 return 0;
14305 _ACEOF
14306 if ac_fn_c_try_link "$LINENO"
14307 then :
14308 ac_cv_lib_ICE_IceConnectionNumber=yes
14309 else $as_nop
14310 ac_cv_lib_ICE_IceConnectionNumber=no
14312 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14313 conftest$ac_exeext conftest.$ac_ext
14314 LIBS=$ac_check_lib_save_LIBS
14316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14317 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14318 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14319 then :
14320 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14323 LDFLAGS=$ac_save_LDFLAGS
14328 if test "$have_x" = "yes"
14329 then
14330 ac_save_CPPFLAGS="$CPPFLAGS"
14331 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14334 printf %s "checking for -lX11... " >&6; }
14335 if test ${ac_cv_lib_soname_X11+y}
14336 then :
14337 printf %s "(cached) " >&6
14338 else $as_nop
14339 ac_check_soname_save_LIBS=$LIBS
14340 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14342 /* end confdefs.h. */
14344 /* Override any GCC internal prototype to avoid an error.
14345 Use char because int might match the return type of a GCC
14346 builtin and then its argument prototype would still apply. */
14347 char XCreateWindow ();
14349 main (void)
14351 return XCreateWindow ();
14353 return 0;
14355 _ACEOF
14356 if ac_fn_c_try_link "$LINENO"
14357 then :
14358 case "$LIBEXT" in
14359 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14360 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'` ;;
14361 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14362 if ${ac_cv_lib_soname_X11:+false} :
14363 then :
14364 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14365 fi ;;
14366 esac
14367 else $as_nop
14368 ac_cv_lib_soname_X11=
14370 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14371 conftest$ac_exeext conftest.$ac_ext
14372 LIBS=$ac_check_soname_save_LIBS
14374 if ${ac_cv_lib_soname_X11:+false} :
14375 then :
14376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14377 printf "%s\n" "not found" >&6; }
14379 else $as_nop
14380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14381 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14383 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14388 printf %s "checking for -lXext... " >&6; }
14389 if test ${ac_cv_lib_soname_Xext+y}
14390 then :
14391 printf %s "(cached) " >&6
14392 else $as_nop
14393 ac_check_soname_save_LIBS=$LIBS
14394 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14396 /* end confdefs.h. */
14398 /* Override any GCC internal prototype to avoid an error.
14399 Use char because int might match the return type of a GCC
14400 builtin and then its argument prototype would still apply. */
14401 char XextCreateExtension ();
14403 main (void)
14405 return XextCreateExtension ();
14407 return 0;
14409 _ACEOF
14410 if ac_fn_c_try_link "$LINENO"
14411 then :
14412 case "$LIBEXT" in
14413 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14414 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'` ;;
14415 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14416 if ${ac_cv_lib_soname_Xext:+false} :
14417 then :
14418 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14419 fi ;;
14420 esac
14421 else $as_nop
14422 ac_cv_lib_soname_Xext=
14424 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14425 conftest$ac_exeext conftest.$ac_ext
14426 LIBS=$ac_check_soname_save_LIBS
14428 if ${ac_cv_lib_soname_Xext:+false} :
14429 then :
14430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14431 printf "%s\n" "not found" >&6; }
14433 else $as_nop
14434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14435 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14437 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14439 X_LIBS="$X_LIBS -lXext"
14441 X_LIBS="$X_LIBS -lX11"
14443 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14444 # include <X11/Xlib.h>
14445 #endif
14446 #ifdef HAVE_X11_XUTIL_H
14447 # include <X11/Xutil.h>
14448 #endif
14450 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14451 then :
14452 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14455 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14456 # include <X11/Xlib.h>
14457 #endif
14458 #ifdef HAVE_X11_XUTIL_H
14459 # include <X11/Xutil.h>
14460 #endif
14462 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14463 then :
14464 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14467 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14468 # include <X11/Xlib.h>
14469 #endif
14470 #ifdef HAVE_X11_XUTIL_H
14471 # include <X11/Xutil.h>
14472 #endif
14474 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14475 then :
14476 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14479 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14480 # include <X11/Xlib.h>
14481 #endif
14482 #ifdef HAVE_X11_XUTIL_H
14483 # include <X11/Xutil.h>
14484 #endif
14486 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14487 then :
14488 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14491 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14492 # include <X11/Xlib.h>
14493 #endif
14494 #ifdef HAVE_X11_XUTIL_H
14495 # include <X11/Xutil.h>
14496 #endif
14498 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14499 then :
14500 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14503 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14504 # include <X11/Xlib.h>
14505 #endif
14506 #ifdef HAVE_X11_XUTIL_H
14507 # include <X11/Xutil.h>
14508 #endif
14510 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14511 then :
14512 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14515 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14516 # include <X11/Xlib.h>
14517 #endif
14518 #ifdef HAVE_X11_XUTIL_H
14519 # include <X11/Xutil.h>
14520 #endif
14522 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14523 then :
14524 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14527 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14528 # include <X11/Xlib.h>
14529 #endif
14530 #ifdef HAVE_X11_XUTIL_H
14531 # include <X11/Xutil.h>
14532 #endif
14534 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14535 then :
14536 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14539 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14540 # include <X11/Xlib.h>
14541 #endif
14542 #ifdef HAVE_X11_XUTIL_H
14543 # include <X11/Xutil.h>
14544 #endif
14546 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14547 then :
14548 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14551 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14552 # include <X11/Xlib.h>
14553 #endif
14554 #ifdef HAVE_X11_XUTIL_H
14555 # include <X11/Xutil.h>
14556 #endif
14558 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14559 then :
14560 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14563 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14564 # include <X11/Xlib.h>
14565 #endif
14566 #ifdef HAVE_X11_XUTIL_H
14567 # include <X11/Xutil.h>
14568 #endif
14570 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14571 then :
14572 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14575 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14576 # include <X11/Xlib.h>
14577 #endif
14578 #ifdef HAVE_X11_XUTIL_H
14579 # include <X11/Xutil.h>
14580 #endif
14582 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14583 then :
14584 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14587 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14588 # include <X11/Xlib.h>
14589 #endif
14590 #ifdef HAVE_X11_XUTIL_H
14591 # include <X11/Xutil.h>
14592 #endif
14594 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14595 then :
14596 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14599 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14600 # include <X11/Xlib.h>
14601 #endif
14602 #ifdef HAVE_X11_XUTIL_H
14603 # include <X11/Xutil.h>
14604 #endif
14606 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14607 then :
14608 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14611 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14612 # include <X11/Xlib.h>
14613 #endif
14614 #ifdef HAVE_X11_XUTIL_H
14615 # include <X11/Xutil.h>
14616 #endif
14618 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14619 then :
14620 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14625 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14626 then
14627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14628 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14629 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14630 then :
14631 printf %s "(cached) " >&6
14632 else $as_nop
14633 ac_check_lib_save_LIBS=$LIBS
14634 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14636 /* end confdefs.h. */
14638 /* Override any GCC internal prototype to avoid an error.
14639 Use char because int might match the return type of a GCC
14640 builtin and then its argument prototype would still apply. */
14641 char XkbQueryExtension ();
14643 main (void)
14645 return XkbQueryExtension ();
14647 return 0;
14649 _ACEOF
14650 if ac_fn_c_try_link "$LINENO"
14651 then :
14652 ac_cv_lib_X11_XkbQueryExtension=yes
14653 else $as_nop
14654 ac_cv_lib_X11_XkbQueryExtension=no
14656 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14657 conftest$ac_exeext conftest.$ac_ext
14658 LIBS=$ac_check_lib_save_LIBS
14660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14661 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14662 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14663 then :
14665 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14671 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14672 then
14673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14674 printf %s "checking for -lXcursor... " >&6; }
14675 if test ${ac_cv_lib_soname_Xcursor+y}
14676 then :
14677 printf %s "(cached) " >&6
14678 else $as_nop
14679 ac_check_soname_save_LIBS=$LIBS
14680 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14682 /* end confdefs.h. */
14684 /* Override any GCC internal prototype to avoid an error.
14685 Use char because int might match the return type of a GCC
14686 builtin and then its argument prototype would still apply. */
14687 char XcursorImageLoadCursor ();
14689 main (void)
14691 return XcursorImageLoadCursor ();
14693 return 0;
14695 _ACEOF
14696 if ac_fn_c_try_link "$LINENO"
14697 then :
14698 case "$LIBEXT" in
14699 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14700 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'` ;;
14701 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14702 if ${ac_cv_lib_soname_Xcursor:+false} :
14703 then :
14704 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14705 fi ;;
14706 esac
14707 else $as_nop
14708 ac_cv_lib_soname_Xcursor=
14710 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14711 conftest$ac_exeext conftest.$ac_ext
14712 LIBS=$ac_check_soname_save_LIBS
14714 if ${ac_cv_lib_soname_Xcursor:+false} :
14715 then :
14716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14717 printf "%s\n" "not found" >&6; }
14719 else $as_nop
14720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14721 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14723 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14728 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14729 then :
14730 case "x$with_xcursor" in
14731 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14732 xno) ;;
14733 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14734 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14735 esac
14739 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14740 then
14741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14742 printf %s "checking for -lXi... " >&6; }
14743 if test ${ac_cv_lib_soname_Xi+y}
14744 then :
14745 printf %s "(cached) " >&6
14746 else $as_nop
14747 ac_check_soname_save_LIBS=$LIBS
14748 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14750 /* end confdefs.h. */
14752 /* Override any GCC internal prototype to avoid an error.
14753 Use char because int might match the return type of a GCC
14754 builtin and then its argument prototype would still apply. */
14755 char XOpenDevice ();
14757 main (void)
14759 return XOpenDevice ();
14761 return 0;
14763 _ACEOF
14764 if ac_fn_c_try_link "$LINENO"
14765 then :
14766 case "$LIBEXT" in
14767 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14768 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'` ;;
14769 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14770 if ${ac_cv_lib_soname_Xi:+false} :
14771 then :
14772 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14773 fi ;;
14774 esac
14775 else $as_nop
14776 ac_cv_lib_soname_Xi=
14778 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14779 conftest$ac_exeext conftest.$ac_ext
14780 LIBS=$ac_check_soname_save_LIBS
14782 if ${ac_cv_lib_soname_Xi:+false} :
14783 then :
14784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14785 printf "%s\n" "not found" >&6; }
14787 else $as_nop
14788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14789 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14791 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14796 if test "x$ac_cv_lib_soname_Xi" = "x"
14797 then :
14798 case "x$with_xinput" in
14799 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14800 xno) ;;
14801 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14802 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14803 esac
14807 if test "x$ac_cv_lib_soname_Xi" != x
14808 then
14809 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14810 then :
14811 case "x$with_xinput2" in
14812 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14813 xno) ;;
14814 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14815 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14816 esac
14821 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14822 then
14823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14824 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14825 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14826 then :
14827 printf %s "(cached) " >&6
14828 else $as_nop
14829 ac_check_lib_save_LIBS=$LIBS
14830 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14832 /* end confdefs.h. */
14834 /* Override any GCC internal prototype to avoid an error.
14835 Use char because int might match the return type of a GCC
14836 builtin and then its argument prototype would still apply. */
14837 char XShmQueryExtension ();
14839 main (void)
14841 return XShmQueryExtension ();
14843 return 0;
14845 _ACEOF
14846 if ac_fn_c_try_link "$LINENO"
14847 then :
14848 ac_cv_lib_Xext_XShmQueryExtension=yes
14849 else $as_nop
14850 ac_cv_lib_Xext_XShmQueryExtension=no
14852 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14853 conftest$ac_exeext conftest.$ac_ext
14854 LIBS=$ac_check_lib_save_LIBS
14856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14857 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14858 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14859 then :
14861 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14866 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14867 then :
14868 case "x$with_xshm" in
14869 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14870 xno) ;;
14871 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14872 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14873 esac
14877 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14878 then
14879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14880 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14881 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14882 then :
14883 printf %s "(cached) " >&6
14884 else $as_nop
14885 ac_check_lib_save_LIBS=$LIBS
14886 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14888 /* end confdefs.h. */
14890 /* Override any GCC internal prototype to avoid an error.
14891 Use char because int might match the return type of a GCC
14892 builtin and then its argument prototype would still apply. */
14893 char XShapeQueryExtension ();
14895 main (void)
14897 return XShapeQueryExtension ();
14899 return 0;
14901 _ACEOF
14902 if ac_fn_c_try_link "$LINENO"
14903 then :
14904 ac_cv_lib_Xext_XShapeQueryExtension=yes
14905 else $as_nop
14906 ac_cv_lib_Xext_XShapeQueryExtension=no
14908 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14909 conftest$ac_exeext conftest.$ac_ext
14910 LIBS=$ac_check_lib_save_LIBS
14912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14913 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14914 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14915 then :
14917 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14922 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14923 then :
14924 case "x$with_xshape" in
14925 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14926 xno) ;;
14927 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14928 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14929 esac
14933 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14934 then
14935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14936 printf %s "checking for -lXxf86vm... " >&6; }
14937 if test ${ac_cv_lib_soname_Xxf86vm+y}
14938 then :
14939 printf %s "(cached) " >&6
14940 else $as_nop
14941 ac_check_soname_save_LIBS=$LIBS
14942 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14944 /* end confdefs.h. */
14946 /* Override any GCC internal prototype to avoid an error.
14947 Use char because int might match the return type of a GCC
14948 builtin and then its argument prototype would still apply. */
14949 char XF86VidModeQueryExtension ();
14951 main (void)
14953 return XF86VidModeQueryExtension ();
14955 return 0;
14957 _ACEOF
14958 if ac_fn_c_try_link "$LINENO"
14959 then :
14960 case "$LIBEXT" in
14961 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14962 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'` ;;
14963 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14964 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14965 then :
14966 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14967 fi ;;
14968 esac
14969 else $as_nop
14970 ac_cv_lib_soname_Xxf86vm=
14972 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14973 conftest$ac_exeext conftest.$ac_ext
14974 LIBS=$ac_check_soname_save_LIBS
14976 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14977 then :
14978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14979 printf "%s\n" "not found" >&6; }
14981 else $as_nop
14982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14983 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14985 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14990 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14991 then :
14992 case "x$with_xxf86vm" in
14993 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14994 xno) ;;
14995 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14996 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14997 esac
15001 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15002 then
15003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15004 printf %s "checking for -lXrender... " >&6; }
15005 if test ${ac_cv_lib_soname_Xrender+y}
15006 then :
15007 printf %s "(cached) " >&6
15008 else $as_nop
15009 ac_check_soname_save_LIBS=$LIBS
15010 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15012 /* end confdefs.h. */
15014 /* Override any GCC internal prototype to avoid an error.
15015 Use char because int might match the return type of a GCC
15016 builtin and then its argument prototype would still apply. */
15017 char XRenderQueryExtension ();
15019 main (void)
15021 return XRenderQueryExtension ();
15023 return 0;
15025 _ACEOF
15026 if ac_fn_c_try_link "$LINENO"
15027 then :
15028 case "$LIBEXT" in
15029 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15030 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'` ;;
15031 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15032 if ${ac_cv_lib_soname_Xrender:+false} :
15033 then :
15034 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15035 fi ;;
15036 esac
15037 else $as_nop
15038 ac_cv_lib_soname_Xrender=
15040 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15041 conftest$ac_exeext conftest.$ac_ext
15042 LIBS=$ac_check_soname_save_LIBS
15044 if ${ac_cv_lib_soname_Xrender:+false} :
15045 then :
15046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15047 printf "%s\n" "not found" >&6; }
15049 else $as_nop
15050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15051 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15053 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15056 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15057 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15058 then :
15059 printf %s "(cached) " >&6
15060 else $as_nop
15061 ac_check_lib_save_LIBS=$LIBS
15062 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15064 /* end confdefs.h. */
15066 /* Override any GCC internal prototype to avoid an error.
15067 Use char because int might match the return type of a GCC
15068 builtin and then its argument prototype would still apply. */
15069 char XRenderSetPictureTransform ();
15071 main (void)
15073 return XRenderSetPictureTransform ();
15075 return 0;
15077 _ACEOF
15078 if ac_fn_c_try_link "$LINENO"
15079 then :
15080 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15081 else $as_nop
15082 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15084 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15085 conftest$ac_exeext conftest.$ac_ext
15086 LIBS=$ac_check_lib_save_LIBS
15088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15089 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15090 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15091 then :
15093 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15098 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15099 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15100 then :
15101 printf %s "(cached) " >&6
15102 else $as_nop
15103 ac_check_lib_save_LIBS=$LIBS
15104 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15106 /* end confdefs.h. */
15108 /* Override any GCC internal prototype to avoid an error.
15109 Use char because int might match the return type of a GCC
15110 builtin and then its argument prototype would still apply. */
15111 char XRenderCreateLinearGradient ();
15113 main (void)
15115 return XRenderCreateLinearGradient ();
15117 return 0;
15119 _ACEOF
15120 if ac_fn_c_try_link "$LINENO"
15121 then :
15122 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15123 else $as_nop
15124 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15126 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15127 conftest$ac_exeext conftest.$ac_ext
15128 LIBS=$ac_check_lib_save_LIBS
15130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15131 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15132 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15133 then :
15135 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15142 if test "x$ac_cv_lib_soname_Xrender" = "x"
15143 then :
15144 case "x$with_xrender" in
15145 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15146 xno) ;;
15147 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15148 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15149 esac
15153 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15154 then
15155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15156 /* end confdefs.h. */
15157 #include <X11/Xlib.h>
15158 #include <X11/extensions/Xrandr.h>
15160 main (void)
15162 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15164 return 0;
15166 _ACEOF
15167 if ac_fn_c_try_compile "$LINENO"
15168 then :
15169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15170 printf %s "checking for -lXrandr... " >&6; }
15171 if test ${ac_cv_lib_soname_Xrandr+y}
15172 then :
15173 printf %s "(cached) " >&6
15174 else $as_nop
15175 ac_check_soname_save_LIBS=$LIBS
15176 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15178 /* end confdefs.h. */
15180 /* Override any GCC internal prototype to avoid an error.
15181 Use char because int might match the return type of a GCC
15182 builtin and then its argument prototype would still apply. */
15183 char XRRQueryExtension ();
15185 main (void)
15187 return XRRQueryExtension ();
15189 return 0;
15191 _ACEOF
15192 if ac_fn_c_try_link "$LINENO"
15193 then :
15194 case "$LIBEXT" in
15195 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15196 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'` ;;
15197 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15198 if ${ac_cv_lib_soname_Xrandr:+false} :
15199 then :
15200 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15201 fi ;;
15202 esac
15203 else $as_nop
15204 ac_cv_lib_soname_Xrandr=
15206 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15207 conftest$ac_exeext conftest.$ac_ext
15208 LIBS=$ac_check_soname_save_LIBS
15210 if ${ac_cv_lib_soname_Xrandr:+false} :
15211 then :
15212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15213 printf "%s\n" "not found" >&6; }
15215 else $as_nop
15216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15217 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15219 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15222 /* end confdefs.h. */
15223 #include <X11/Xlib.h>
15224 #include <X11/extensions/Xrandr.h>
15226 main (void)
15228 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15230 return 0;
15232 _ACEOF
15233 if ac_fn_c_try_compile "$LINENO"
15234 then :
15236 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15238 else $as_nop
15239 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15241 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15244 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15246 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15247 then :
15248 case "x$with_xrandr" in
15249 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15250 xno) ;;
15251 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15252 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15253 esac
15257 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15258 then
15259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15260 /* end confdefs.h. */
15261 #include <X11/Xlib.h>
15262 #include <X11/extensions/Xfixes.h>
15264 main (void)
15266 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15268 return 0;
15270 _ACEOF
15271 if ac_fn_c_try_compile "$LINENO"
15272 then :
15273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15274 printf %s "checking for -lXfixes... " >&6; }
15275 if test ${ac_cv_lib_soname_Xfixes+y}
15276 then :
15277 printf %s "(cached) " >&6
15278 else $as_nop
15279 ac_check_soname_save_LIBS=$LIBS
15280 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15282 /* end confdefs.h. */
15284 /* Override any GCC internal prototype to avoid an error.
15285 Use char because int might match the return type of a GCC
15286 builtin and then its argument prototype would still apply. */
15287 char XFixesQueryVersion ();
15289 main (void)
15291 return XFixesQueryVersion ();
15293 return 0;
15295 _ACEOF
15296 if ac_fn_c_try_link "$LINENO"
15297 then :
15298 case "$LIBEXT" in
15299 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15300 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'` ;;
15301 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15302 if ${ac_cv_lib_soname_Xfixes:+false} :
15303 then :
15304 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15305 fi ;;
15306 esac
15307 else $as_nop
15308 ac_cv_lib_soname_Xfixes=
15310 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15311 conftest$ac_exeext conftest.$ac_ext
15312 LIBS=$ac_check_soname_save_LIBS
15314 if ${ac_cv_lib_soname_Xfixes:+false} :
15315 then :
15316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15317 printf "%s\n" "not found" >&6; }
15319 else $as_nop
15320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15321 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15323 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15328 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15330 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15331 then :
15332 case "x$with_xfixes" in
15333 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15334 xno) ;;
15335 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15336 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15337 esac
15341 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15342 then
15343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15344 /* end confdefs.h. */
15345 #include <X11/Xlib.h>
15346 #include <X11/extensions/Xinerama.h>
15348 main (void)
15350 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15352 return 0;
15354 _ACEOF
15355 if ac_fn_c_try_compile "$LINENO"
15356 then :
15357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15358 printf %s "checking for -lXinerama... " >&6; }
15359 if test ${ac_cv_lib_soname_Xinerama+y}
15360 then :
15361 printf %s "(cached) " >&6
15362 else $as_nop
15363 ac_check_soname_save_LIBS=$LIBS
15364 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15366 /* end confdefs.h. */
15368 /* Override any GCC internal prototype to avoid an error.
15369 Use char because int might match the return type of a GCC
15370 builtin and then its argument prototype would still apply. */
15371 char XineramaQueryScreens ();
15373 main (void)
15375 return XineramaQueryScreens ();
15377 return 0;
15379 _ACEOF
15380 if ac_fn_c_try_link "$LINENO"
15381 then :
15382 case "$LIBEXT" in
15383 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15384 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'` ;;
15385 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15386 if ${ac_cv_lib_soname_Xinerama:+false} :
15387 then :
15388 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15389 fi ;;
15390 esac
15391 else $as_nop
15392 ac_cv_lib_soname_Xinerama=
15394 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15395 conftest$ac_exeext conftest.$ac_ext
15396 LIBS=$ac_check_soname_save_LIBS
15398 if ${ac_cv_lib_soname_Xinerama:+false} :
15399 then :
15400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15401 printf "%s\n" "not found" >&6; }
15403 else $as_nop
15404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15405 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15407 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15412 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15414 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15415 then :
15416 case "x$with_xinerama" in
15417 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15418 xno) ;;
15419 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15420 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15421 esac
15425 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15426 then
15427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15428 printf %s "checking for -lXcomposite... " >&6; }
15429 if test ${ac_cv_lib_soname_Xcomposite+y}
15430 then :
15431 printf %s "(cached) " >&6
15432 else $as_nop
15433 ac_check_soname_save_LIBS=$LIBS
15434 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15436 /* end confdefs.h. */
15438 /* Override any GCC internal prototype to avoid an error.
15439 Use char because int might match the return type of a GCC
15440 builtin and then its argument prototype would still apply. */
15441 char XCompositeRedirectWindow ();
15443 main (void)
15445 return XCompositeRedirectWindow ();
15447 return 0;
15449 _ACEOF
15450 if ac_fn_c_try_link "$LINENO"
15451 then :
15452 case "$LIBEXT" in
15453 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15454 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'` ;;
15455 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15456 if ${ac_cv_lib_soname_Xcomposite:+false} :
15457 then :
15458 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15459 fi ;;
15460 esac
15461 else $as_nop
15462 ac_cv_lib_soname_Xcomposite=
15464 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15465 conftest$ac_exeext conftest.$ac_ext
15466 LIBS=$ac_check_soname_save_LIBS
15468 if ${ac_cv_lib_soname_Xcomposite:+false} :
15469 then :
15470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15471 printf "%s\n" "not found" >&6; }
15473 else $as_nop
15474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15475 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15477 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15482 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15483 then :
15484 case "x$with_xcomposite" in
15485 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15486 xno) ;;
15487 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15488 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15489 esac
15493 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15494 #include <X11/Xlib.h>
15495 #endif
15497 if test "x$ac_cv_member_XICCallback_callback" = xyes
15498 then :
15500 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15504 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15505 #include <X11/Xlib.h>
15506 #endif
15508 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15509 then :
15511 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15518 opengl_msg=""
15519 if test "x$with_opengl" != "xno"
15520 then
15521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15522 printf %s "checking for -lGL... " >&6; }
15523 if test ${ac_cv_lib_soname_GL+y}
15524 then :
15525 printf %s "(cached) " >&6
15526 else $as_nop
15527 ac_check_soname_save_LIBS=$LIBS
15528 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15530 /* end confdefs.h. */
15532 /* Override any GCC internal prototype to avoid an error.
15533 Use char because int might match the return type of a GCC
15534 builtin and then its argument prototype would still apply. */
15535 char glXCreateContext ();
15537 main (void)
15539 return glXCreateContext ();
15541 return 0;
15543 _ACEOF
15544 if ac_fn_c_try_link "$LINENO"
15545 then :
15546 case "$LIBEXT" in
15547 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15548 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'` ;;
15549 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15550 if ${ac_cv_lib_soname_GL:+false} :
15551 then :
15552 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15553 fi ;;
15554 esac
15555 else $as_nop
15556 ac_cv_lib_soname_GL=
15558 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15559 conftest$ac_exeext conftest.$ac_ext
15560 LIBS=$ac_check_soname_save_LIBS
15562 if ${ac_cv_lib_soname_GL:+false} :
15563 then :
15564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15565 printf "%s\n" "not found" >&6; }
15566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15567 printf %s "checking for -lGL... " >&6; }
15568 if test ${ac_cv_lib_soname_GL+y}
15569 then :
15570 printf %s "(cached) " >&6
15571 else $as_nop
15572 ac_check_soname_save_LIBS=$LIBS
15573 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"
15574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15575 /* end confdefs.h. */
15577 /* Override any GCC internal prototype to avoid an error.
15578 Use char because int might match the return type of a GCC
15579 builtin and then its argument prototype would still apply. */
15580 char glXCreateContext ();
15582 main (void)
15584 return glXCreateContext ();
15586 return 0;
15588 _ACEOF
15589 if ac_fn_c_try_link "$LINENO"
15590 then :
15591 case "$LIBEXT" in
15592 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15593 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'` ;;
15594 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15595 if ${ac_cv_lib_soname_GL:+false} :
15596 then :
15597 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15598 fi ;;
15599 esac
15600 else $as_nop
15601 ac_cv_lib_soname_GL=
15603 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15604 conftest$ac_exeext conftest.$ac_ext
15605 LIBS=$ac_check_soname_save_LIBS
15607 if ${ac_cv_lib_soname_GL:+false} :
15608 then :
15609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15610 printf "%s\n" "not found" >&6; }
15611 if test -f /usr/X11R6/lib/libGL.a
15612 then
15613 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15614 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15615 else
15616 opengl_msg="No OpenGL library found on this system."
15618 else $as_nop
15619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15620 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15622 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15624 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"
15626 else $as_nop
15627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15628 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15630 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15632 OPENGL_LIBS="-lGL"
15634 if test "x$with_osmesa" != "xno"
15635 then
15636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15637 printf %s "checking for -lOSMesa... " >&6; }
15638 if test ${ac_cv_lib_soname_OSMesa+y}
15639 then :
15640 printf %s "(cached) " >&6
15641 else $as_nop
15642 ac_check_soname_save_LIBS=$LIBS
15643 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15645 /* end confdefs.h. */
15647 /* Override any GCC internal prototype to avoid an error.
15648 Use char because int might match the return type of a GCC
15649 builtin and then its argument prototype would still apply. */
15650 char OSMesaGetProcAddress ();
15652 main (void)
15654 return OSMesaGetProcAddress ();
15656 return 0;
15658 _ACEOF
15659 if ac_fn_c_try_link "$LINENO"
15660 then :
15661 case "$LIBEXT" in
15662 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15663 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'` ;;
15664 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15665 if ${ac_cv_lib_soname_OSMesa:+false} :
15666 then :
15667 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15668 fi ;;
15669 esac
15670 else $as_nop
15671 ac_cv_lib_soname_OSMesa=
15673 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15674 conftest$ac_exeext conftest.$ac_ext
15675 LIBS=$ac_check_soname_save_LIBS
15677 if ${ac_cv_lib_soname_OSMesa:+false} :
15678 then :
15679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15680 printf "%s\n" "not found" >&6; }
15682 else $as_nop
15683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15684 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15686 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15690 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15691 then :
15692 case "x$with_osmesa" in
15693 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15694 xno) ;;
15695 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15696 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15697 esac
15702 if test -n "$opengl_msg"
15703 then :
15704 case "x$with_opengl" in
15705 x) as_fn_append wine_warnings "|$opengl_msg
15706 OpenGL and Direct3D won't be supported." ;;
15707 xno) ;;
15708 *) as_fn_error $? "$opengl_msg
15709 OpenGL and Direct3D won't be supported.
15710 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15711 esac
15715 CPPFLAGS="$ac_save_CPPFLAGS"
15716 else
15717 X_CFLAGS=""
15718 X_LIBS=""
15721 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15722 then
15723 if test "x$X_LIBS" = "x"
15724 then :
15725 case "x$with_x" in
15726 xno) ;;
15727 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15728 without X support, which probably isn't what you want. You will need
15729 to install ${notice_platform}development packages of Xlib at the very least.
15730 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15731 esac
15732 enable_winex11_drv=${enable_winex11_drv:-no}
15734 else
15735 if test "x$X_LIBS" = "x"
15736 then :
15737 case "x$with_x" in
15738 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15739 xno) ;;
15740 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15741 This is an error since --with-x was requested." "$LINENO" 5 ;;
15742 esac
15743 enable_winex11_drv=${enable_winex11_drv:-no}
15747 if test "$ac_cv_header_CL_cl_h" = "yes"
15748 then
15749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15750 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15751 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15752 then :
15753 printf %s "(cached) " >&6
15754 else $as_nop
15755 ac_check_lib_save_LIBS=$LIBS
15756 LIBS="-lOpenCL $LIBS"
15757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15758 /* end confdefs.h. */
15760 /* Override any GCC internal prototype to avoid an error.
15761 Use char because int might match the return type of a GCC
15762 builtin and then its argument prototype would still apply. */
15763 char clGetPlatformInfo ();
15765 main (void)
15767 return clGetPlatformInfo ();
15769 return 0;
15771 _ACEOF
15772 if ac_fn_c_try_link "$LINENO"
15773 then :
15774 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15775 else $as_nop
15776 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15778 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15779 conftest$ac_exeext conftest.$ac_ext
15780 LIBS=$ac_check_lib_save_LIBS
15782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15783 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15784 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15785 then :
15786 OPENCL_LIBS="-lOpenCL"
15791 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15792 then :
15793 case "x$with_opencl" in
15794 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15795 xno) ;;
15796 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15797 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15798 esac
15799 enable_opencl=${enable_opencl:-no}
15802 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15803 then
15804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15805 printf %s "checking for pcap_create in -lpcap... " >&6; }
15806 if test ${ac_cv_lib_pcap_pcap_create+y}
15807 then :
15808 printf %s "(cached) " >&6
15809 else $as_nop
15810 ac_check_lib_save_LIBS=$LIBS
15811 LIBS="-lpcap $LIBS"
15812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15813 /* end confdefs.h. */
15815 /* Override any GCC internal prototype to avoid an error.
15816 Use char because int might match the return type of a GCC
15817 builtin and then its argument prototype would still apply. */
15818 char pcap_create ();
15820 main (void)
15822 return pcap_create ();
15824 return 0;
15826 _ACEOF
15827 if ac_fn_c_try_link "$LINENO"
15828 then :
15829 ac_cv_lib_pcap_pcap_create=yes
15830 else $as_nop
15831 ac_cv_lib_pcap_pcap_create=no
15833 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15834 conftest$ac_exeext conftest.$ac_ext
15835 LIBS=$ac_check_lib_save_LIBS
15837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15838 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15839 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15840 then :
15841 PCAP_LIBS="-lpcap"
15846 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15847 then :
15848 case "x$with_pcap" in
15849 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15850 xno) ;;
15851 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15852 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15853 esac
15854 enable_wpcap=${enable_wpcap:-no}
15857 if test "x$with_inotify" != "xno"
15858 then
15859 if ${INOTIFY_CFLAGS:+false} :
15860 then :
15861 if test ${PKG_CONFIG+y}
15862 then :
15863 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15867 if ${INOTIFY_LIBS:+false} :
15868 then :
15869 if test ${PKG_CONFIG+y}
15870 then :
15871 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15876 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15877 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15878 ac_save_CPPFLAGS=$CPPFLAGS
15879 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15880 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15881 if test "x$ac_cv_header_sys_inotify_h" = xyes
15882 then :
15883 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15888 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15889 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15890 then :
15891 printf %s "(cached) " >&6
15892 else $as_nop
15893 ac_check_lib_save_LIBS=$LIBS
15894 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15896 /* end confdefs.h. */
15898 /* Override any GCC internal prototype to avoid an error.
15899 Use char because int might match the return type of a GCC
15900 builtin and then its argument prototype would still apply. */
15901 char inotify_add_watch ();
15903 main (void)
15905 return inotify_add_watch ();
15907 return 0;
15909 _ACEOF
15910 if ac_fn_c_try_link "$LINENO"
15911 then :
15912 ac_cv_lib_inotify_inotify_add_watch=yes
15913 else $as_nop
15914 ac_cv_lib_inotify_inotify_add_watch=no
15916 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15917 conftest$ac_exeext conftest.$ac_ext
15918 LIBS=$ac_check_lib_save_LIBS
15920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15921 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15922 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15923 then :
15925 else $as_nop
15926 INOTIFY_LIBS=""
15929 CPPFLAGS=$ac_save_CPPFLAGS
15932 if test "$ac_cv_header_sys_inotify_h" != "yes"
15933 then :
15934 case "x$with_inotify" in
15935 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15936 xno) ;;
15937 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15938 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15939 esac
15943 if test "x$with_dbus" != "xno"
15944 then
15945 if ${DBUS_CFLAGS:+false} :
15946 then :
15947 if test ${PKG_CONFIG+y}
15948 then :
15949 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
15953 if ${DBUS_LIBS:+false} :
15954 then :
15955 if test ${PKG_CONFIG+y}
15956 then :
15957 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15962 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15963 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15964 ac_save_CPPFLAGS=$CPPFLAGS
15965 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15966 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15967 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15968 then :
15969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15970 printf %s "checking for -ldbus-1... " >&6; }
15971 if test ${ac_cv_lib_soname_dbus_1+y}
15972 then :
15973 printf %s "(cached) " >&6
15974 else $as_nop
15975 ac_check_soname_save_LIBS=$LIBS
15976 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15978 /* end confdefs.h. */
15980 /* Override any GCC internal prototype to avoid an error.
15981 Use char because int might match the return type of a GCC
15982 builtin and then its argument prototype would still apply. */
15983 char dbus_connection_close ();
15985 main (void)
15987 return dbus_connection_close ();
15989 return 0;
15991 _ACEOF
15992 if ac_fn_c_try_link "$LINENO"
15993 then :
15994 case "$LIBEXT" in
15995 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15996 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'` ;;
15997 *) 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'`
15998 if ${ac_cv_lib_soname_dbus_1:+false} :
15999 then :
16000 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16001 fi ;;
16002 esac
16003 else $as_nop
16004 ac_cv_lib_soname_dbus_1=
16006 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16007 conftest$ac_exeext conftest.$ac_ext
16008 LIBS=$ac_check_soname_save_LIBS
16010 if ${ac_cv_lib_soname_dbus_1:+false} :
16011 then :
16012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16013 printf "%s\n" "not found" >&6; }
16014 DBUS_CFLAGS=""
16015 else $as_nop
16016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16017 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16019 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16023 else $as_nop
16024 DBUS_CFLAGS=""
16027 CPPFLAGS=$ac_save_CPPFLAGS
16030 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
16031 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
16032 then :
16033 case "x$with_dbus" in
16034 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16035 xno) ;;
16036 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16037 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16038 esac
16042 if test "x$with_gnutls" != "xno"
16043 then
16044 if ${GNUTLS_CFLAGS:+false} :
16045 then :
16046 if test ${PKG_CONFIG+y}
16047 then :
16048 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
16052 if ${GNUTLS_LIBS:+false} :
16053 then :
16054 if test ${PKG_CONFIG+y}
16055 then :
16056 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16060 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16061 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16062 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16063 ac_save_CPPFLAGS=$CPPFLAGS
16064 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16065 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16066 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16067 then :
16068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16069 /* end confdefs.h. */
16070 #include <gnutls/gnutls.h>
16071 #include <gnutls/crypto.h>
16073 main (void)
16075 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16077 return 0;
16079 _ACEOF
16080 if ac_fn_c_try_compile "$LINENO"
16081 then :
16082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16083 printf %s "checking for -lgnutls... " >&6; }
16084 if test ${ac_cv_lib_soname_gnutls+y}
16085 then :
16086 printf %s "(cached) " >&6
16087 else $as_nop
16088 ac_check_soname_save_LIBS=$LIBS
16089 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16091 /* end confdefs.h. */
16093 /* Override any GCC internal prototype to avoid an error.
16094 Use char because int might match the return type of a GCC
16095 builtin and then its argument prototype would still apply. */
16096 char gnutls_global_init ();
16098 main (void)
16100 return gnutls_global_init ();
16102 return 0;
16104 _ACEOF
16105 if ac_fn_c_try_link "$LINENO"
16106 then :
16107 case "$LIBEXT" in
16108 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16109 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'` ;;
16110 *) 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'`
16111 if ${ac_cv_lib_soname_gnutls:+false} :
16112 then :
16113 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'`
16114 fi ;;
16115 esac
16116 else $as_nop
16117 ac_cv_lib_soname_gnutls=
16119 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16120 conftest$ac_exeext conftest.$ac_ext
16121 LIBS=$ac_check_soname_save_LIBS
16123 if ${ac_cv_lib_soname_gnutls:+false} :
16124 then :
16125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16126 printf "%s\n" "not found" >&6; }
16127 GNUTLS_CFLAGS=""
16128 else $as_nop
16129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16130 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16132 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16136 ac_wine_check_funcs_save_LIBS="$LIBS"
16137 LIBS="$LIBS $GNUTLS_LIBS"
16139 for ac_func in gnutls_cipher_init
16140 do :
16141 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16142 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16143 then :
16144 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16146 else $as_nop
16147 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16150 done
16151 LIBS="$ac_wine_check_funcs_save_LIBS"
16153 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16154 else $as_nop
16155 GNUTLS_CFLAGS=""
16158 CPPFLAGS=$ac_save_CPPFLAGS
16161 if test "x$ac_cv_lib_soname_gnutls" = "x"
16162 then :
16163 case "x$with_gnutls" in
16164 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16165 xno) ;;
16166 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16167 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16168 esac
16172 if test "x$with_sane" != "xno"
16173 then
16174 if ${SANE_CFLAGS:+false} :
16175 then :
16176 if test ${PKG_CONFIG+y}
16177 then :
16178 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16181 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16182 if ${SANE_LIBS:+false} :
16183 then :
16184 if test ${PKG_CONFIG+y}
16185 then :
16186 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16189 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16191 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16192 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16193 ac_save_CPPFLAGS=$CPPFLAGS
16194 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16195 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16196 if test "x$ac_cv_header_sane_sane_h" = xyes
16197 then :
16198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16199 printf %s "checking for sane_init in -lsane... " >&6; }
16200 if test ${ac_cv_lib_sane_sane_init+y}
16201 then :
16202 printf %s "(cached) " >&6
16203 else $as_nop
16204 ac_check_lib_save_LIBS=$LIBS
16205 LIBS="-lsane $SANE_LIBS $LIBS"
16206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16207 /* end confdefs.h. */
16209 /* Override any GCC internal prototype to avoid an error.
16210 Use char because int might match the return type of a GCC
16211 builtin and then its argument prototype would still apply. */
16212 char sane_init ();
16214 main (void)
16216 return sane_init ();
16218 return 0;
16220 _ACEOF
16221 if ac_fn_c_try_link "$LINENO"
16222 then :
16223 ac_cv_lib_sane_sane_init=yes
16224 else $as_nop
16225 ac_cv_lib_sane_sane_init=no
16227 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16228 conftest$ac_exeext conftest.$ac_ext
16229 LIBS=$ac_check_lib_save_LIBS
16231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16232 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16233 if test "x$ac_cv_lib_sane_sane_init" = xyes
16234 then :
16240 CPPFLAGS=$ac_save_CPPFLAGS
16243 if test "$ac_cv_lib_sane_sane_init" != "yes"
16244 then :
16245 case "x$with_sane" in
16246 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16247 xno) ;;
16248 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16249 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16250 esac
16251 enable_sane_ds=${enable_sane_ds:-no}
16254 if test "x$with_usb" != "xno"
16255 then
16256 if ${USB_CFLAGS:+false} :
16257 then :
16258 if test ${PKG_CONFIG+y}
16259 then :
16260 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16264 if ${USB_LIBS:+false} :
16265 then :
16266 if test ${PKG_CONFIG+y}
16267 then :
16268 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16272 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16273 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16274 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16275 ac_save_CPPFLAGS=$CPPFLAGS
16276 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16277 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16278 if test "x$ac_cv_header_libusb_h" = xyes
16279 then :
16280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16281 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16282 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16283 then :
16284 printf %s "(cached) " >&6
16285 else $as_nop
16286 ac_check_lib_save_LIBS=$LIBS
16287 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16289 /* end confdefs.h. */
16291 /* Override any GCC internal prototype to avoid an error.
16292 Use char because int might match the return type of a GCC
16293 builtin and then its argument prototype would still apply. */
16294 char libusb_interrupt_event_handler ();
16296 main (void)
16298 return libusb_interrupt_event_handler ();
16300 return 0;
16302 _ACEOF
16303 if ac_fn_c_try_link "$LINENO"
16304 then :
16305 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16306 else $as_nop
16307 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16309 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16310 conftest$ac_exeext conftest.$ac_ext
16311 LIBS=$ac_check_lib_save_LIBS
16313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16314 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16315 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16316 then :
16318 else $as_nop
16319 USB_LIBS=""
16322 else $as_nop
16323 USB_LIBS=""
16326 CPPFLAGS=$ac_save_CPPFLAGS
16329 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16330 then :
16331 case "x$with_usb" in
16332 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16333 xno) ;;
16334 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16335 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16336 esac
16337 enable_wineusb_sys=${enable_wineusb_sys:-no}
16340 if test "x$with_v4l2" != "xno"
16341 then
16342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16343 printf %s "checking for -lv4l2... " >&6; }
16344 if test ${ac_cv_lib_soname_v4l2+y}
16345 then :
16346 printf %s "(cached) " >&6
16347 else $as_nop
16348 ac_check_soname_save_LIBS=$LIBS
16349 LIBS="-lv4l2 $LIBS"
16350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16351 /* end confdefs.h. */
16353 /* Override any GCC internal prototype to avoid an error.
16354 Use char because int might match the return type of a GCC
16355 builtin and then its argument prototype would still apply. */
16356 char v4l2_open ();
16358 main (void)
16360 return v4l2_open ();
16362 return 0;
16364 _ACEOF
16365 if ac_fn_c_try_link "$LINENO"
16366 then :
16367 case "$LIBEXT" in
16368 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16369 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'` ;;
16370 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16371 if ${ac_cv_lib_soname_v4l2:+false} :
16372 then :
16373 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16374 fi ;;
16375 esac
16376 else $as_nop
16377 ac_cv_lib_soname_v4l2=
16379 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16380 conftest$ac_exeext conftest.$ac_ext
16381 LIBS=$ac_check_soname_save_LIBS
16383 if ${ac_cv_lib_soname_v4l2:+false} :
16384 then :
16385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16386 printf "%s\n" "not found" >&6; }
16388 else $as_nop
16389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16390 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16392 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16397 if test "x$ac_cv_lib_soname_v4l2" = "x"
16398 then :
16399 case "x$with_v4l2" in
16400 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16401 xno) ;;
16402 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16403 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16404 esac
16408 if test "x$with_gphoto" != "xno"
16409 then
16410 if ${GPHOTO2_CFLAGS:+false} :
16411 then :
16412 if test ${PKG_CONFIG+y}
16413 then :
16414 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16417 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16418 if ${GPHOTO2_LIBS:+false} :
16419 then :
16420 if test ${PKG_CONFIG+y}
16421 then :
16422 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16425 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16426 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16427 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16428 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16429 ac_save_CPPFLAGS=$CPPFLAGS
16430 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16431 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16432 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16433 then :
16434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16435 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16436 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16437 then :
16438 printf %s "(cached) " >&6
16439 else $as_nop
16440 ac_check_lib_save_LIBS=$LIBS
16441 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16443 /* end confdefs.h. */
16445 /* Override any GCC internal prototype to avoid an error.
16446 Use char because int might match the return type of a GCC
16447 builtin and then its argument prototype would still apply. */
16448 char gp_camera_new ();
16450 main (void)
16452 return gp_camera_new ();
16454 return 0;
16456 _ACEOF
16457 if ac_fn_c_try_link "$LINENO"
16458 then :
16459 ac_cv_lib_gphoto2_gp_camera_new=yes
16460 else $as_nop
16461 ac_cv_lib_gphoto2_gp_camera_new=no
16463 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16464 conftest$ac_exeext conftest.$ac_ext
16465 LIBS=$ac_check_lib_save_LIBS
16467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16468 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16469 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16470 then :
16476 CPPFLAGS=$ac_save_CPPFLAGS
16478 if ${GPHOTO2_PORT_CFLAGS:+false} :
16479 then :
16480 if test ${PKG_CONFIG+y}
16481 then :
16482 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16485 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16486 if ${GPHOTO2_PORT_LIBS:+false} :
16487 then :
16488 if test ${PKG_CONFIG+y}
16489 then :
16490 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16493 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16494 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16495 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16496 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16497 ac_save_CPPFLAGS=$CPPFLAGS
16498 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16499 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16500 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16501 then :
16502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16503 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16504 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16505 then :
16506 printf %s "(cached) " >&6
16507 else $as_nop
16508 ac_check_lib_save_LIBS=$LIBS
16509 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16511 /* end confdefs.h. */
16513 /* Override any GCC internal prototype to avoid an error.
16514 Use char because int might match the return type of a GCC
16515 builtin and then its argument prototype would still apply. */
16516 char gp_port_info_list_new ();
16518 main (void)
16520 return gp_port_info_list_new ();
16522 return 0;
16524 _ACEOF
16525 if ac_fn_c_try_link "$LINENO"
16526 then :
16527 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16528 else $as_nop
16529 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16531 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16532 conftest$ac_exeext conftest.$ac_ext
16533 LIBS=$ac_check_lib_save_LIBS
16535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16536 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16537 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16538 then :
16540 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16542 else $as_nop
16543 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16546 else $as_nop
16547 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16550 CPPFLAGS=$ac_save_CPPFLAGS
16553 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16554 then :
16555 case "x$with_gphoto" in
16556 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16557 xno) ;;
16558 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16559 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16560 esac
16561 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16563 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16564 then :
16565 case "x$with_gphoto" in
16566 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16567 xno) ;;
16568 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16569 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16570 esac
16575 if test "$ac_cv_header_resolv_h" = "yes"
16576 then
16577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16578 printf %s "checking for resolver library... " >&6; }
16579 if test ${ac_cv_have_resolv+y}
16580 then :
16581 printf %s "(cached) " >&6
16582 else $as_nop
16583 ac_save_LIBS="$LIBS"
16584 for lib in '' -lresolv
16586 LIBS="$lib $ac_save_LIBS"
16587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16588 /* end confdefs.h. */
16589 #ifdef HAVE_NETINET_IN_H
16590 #include <netinet/in.h>
16591 #endif
16592 #include <resolv.h>
16594 main (void)
16596 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16598 return 0;
16600 _ACEOF
16601 if ac_fn_c_try_link "$LINENO"
16602 then :
16603 ac_cv_have_resolv=${lib:-"none required"}
16604 else $as_nop
16605 ac_cv_have_resolv="not found"
16607 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16608 conftest$ac_exeext conftest.$ac_ext
16609 test "x$ac_cv_have_resolv" = "xnot found" || break
16610 done
16611 LIBS="$ac_save_LIBS"
16613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16614 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16616 case "$ac_cv_have_resolv" in
16617 "not found") ;;
16618 "none required")
16620 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16623 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16625 RESOLV_LIBS=$ac_cv_have_resolv
16627 esac
16629 if test "x$ac_cv_have_resolv" != "xnot found"
16630 then
16631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16632 printf %s "checking for res_getservers... " >&6; }
16633 if test ${ac_cv_have_res_getservers+y}
16634 then :
16635 printf %s "(cached) " >&6
16636 else $as_nop
16637 ac_save_LIBS="$LIBS"
16638 LIBS="$RESOLV_LIBS $LIBS"
16639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16640 /* end confdefs.h. */
16641 #include <resolv.h>
16643 main (void)
16645 res_getservers(NULL, NULL, 0);
16647 return 0;
16649 _ACEOF
16650 if ac_fn_c_try_link "$LINENO"
16651 then :
16652 ac_cv_have_res_getservers=yes
16653 else $as_nop
16654 ac_cv_have_res_getservers=no
16656 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16657 conftest$ac_exeext conftest.$ac_ext
16658 LIBS="$ac_save_LIBS"
16660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16661 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16662 if test "$ac_cv_have_res_getservers" = "yes"
16663 then
16665 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16671 if test "x$with_freetype" != "xno"
16672 then
16673 if ${FREETYPE_CFLAGS:+false} :
16674 then :
16675 if test ${PKG_CONFIG+y}
16676 then :
16677 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16680 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16681 if ${FREETYPE_LIBS:+false} :
16682 then :
16683 if test ${PKG_CONFIG+y}
16684 then :
16685 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16688 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16689 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16690 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16691 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16692 ac_save_CPPFLAGS=$CPPFLAGS
16693 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16694 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16695 if test "x$ac_cv_header_ft2build_h" = xyes
16696 then :
16697 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16701 if test "$ac_cv_header_ft2build_h" = "yes"
16702 then
16703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16704 printf %s "checking for -lfreetype... " >&6; }
16705 if test ${ac_cv_lib_soname_freetype+y}
16706 then :
16707 printf %s "(cached) " >&6
16708 else $as_nop
16709 ac_check_soname_save_LIBS=$LIBS
16710 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16712 /* end confdefs.h. */
16714 /* Override any GCC internal prototype to avoid an error.
16715 Use char because int might match the return type of a GCC
16716 builtin and then its argument prototype would still apply. */
16717 char FT_Init_FreeType ();
16719 main (void)
16721 return FT_Init_FreeType ();
16723 return 0;
16725 _ACEOF
16726 if ac_fn_c_try_link "$LINENO"
16727 then :
16728 case "$LIBEXT" in
16729 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16730 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'` ;;
16731 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16732 if ${ac_cv_lib_soname_freetype:+false} :
16733 then :
16734 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16735 fi ;;
16736 esac
16737 else $as_nop
16738 ac_cv_lib_soname_freetype=
16740 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16741 conftest$ac_exeext conftest.$ac_ext
16742 LIBS=$ac_check_soname_save_LIBS
16744 if ${ac_cv_lib_soname_freetype:+false} :
16745 then :
16746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16747 printf "%s\n" "not found" >&6; }
16748 FREETYPE_LIBS=""
16749 else $as_nop
16750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16751 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16753 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16756 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16758 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16759 #include FT_MODULE_H
16761 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16762 then :
16764 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16770 else
16771 FREETYPE_CFLAGS=""
16772 FREETYPE_LIBS=""
16774 CPPFLAGS=$ac_save_CPPFLAGS
16777 if test "x$ac_cv_lib_soname_freetype" = x
16778 then :
16779 case "x$with_freetype" in
16780 xno) ;;
16781 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16782 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16783 esac
16784 enable_fonts=${enable_fonts:-no}
16787 ac_wine_check_funcs_save_LIBS="$LIBS"
16788 LIBS="$LIBS $PTHREAD_LIBS"
16789 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16790 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16791 then :
16792 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16796 LIBS="$ac_wine_check_funcs_save_LIBS"
16798 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16799 then
16800 if test "$ac_cv_header_gettext_po_h" = "yes"
16801 then
16802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16803 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16804 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16805 then :
16806 printf %s "(cached) " >&6
16807 else $as_nop
16808 ac_check_lib_save_LIBS=$LIBS
16809 LIBS="-lgettextpo $LIBS"
16810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16811 /* end confdefs.h. */
16813 /* Override any GCC internal prototype to avoid an error.
16814 Use char because int might match the return type of a GCC
16815 builtin and then its argument prototype would still apply. */
16816 char po_message_msgctxt ();
16818 main (void)
16820 return po_message_msgctxt ();
16822 return 0;
16824 _ACEOF
16825 if ac_fn_c_try_link "$LINENO"
16826 then :
16827 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16828 else $as_nop
16829 ac_cv_lib_gettextpo_po_message_msgctxt=no
16831 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16832 conftest$ac_exeext conftest.$ac_ext
16833 LIBS=$ac_check_lib_save_LIBS
16835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16836 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16837 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16838 then :
16840 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16842 GETTEXTPO_LIBS="-lgettextpo"
16847 if test "x$GETTEXTPO_LIBS" = "x"
16848 then :
16849 case "x$with_gettextpo" in
16850 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16851 xno) ;;
16852 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16853 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16854 esac
16857 if test "$srcdir" != .
16858 then :
16859 case "x$with_gettextpo" in
16860 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16861 xno) ;;
16862 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16863 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16864 esac
16869 if test "x$with_pulse" != "xno";
16870 then
16871 if ${PULSE_CFLAGS:+false} :
16872 then :
16873 if test ${PKG_CONFIG+y}
16874 then :
16875 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16879 if ${PULSE_LIBS:+false} :
16880 then :
16881 if test ${PKG_CONFIG+y}
16882 then :
16883 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16888 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16889 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16890 ac_save_CPPFLAGS=$CPPFLAGS
16891 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16892 for ac_header in pulse/pulseaudio.h
16893 do :
16894 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16895 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16896 then :
16897 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16899 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16900 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16901 then :
16902 printf %s "(cached) " >&6
16903 else $as_nop
16904 ac_check_lib_save_LIBS=$LIBS
16905 LIBS="-lpulse $PULSE_LIBS $LIBS"
16906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16907 /* end confdefs.h. */
16909 /* Override any GCC internal prototype to avoid an error.
16910 Use char because int might match the return type of a GCC
16911 builtin and then its argument prototype would still apply. */
16912 char pa_stream_is_corked ();
16914 main (void)
16916 return pa_stream_is_corked ();
16918 return 0;
16920 _ACEOF
16921 if ac_fn_c_try_link "$LINENO"
16922 then :
16923 ac_cv_lib_pulse_pa_stream_is_corked=yes
16924 else $as_nop
16925 ac_cv_lib_pulse_pa_stream_is_corked=no
16927 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16928 conftest$ac_exeext conftest.$ac_ext
16929 LIBS=$ac_check_lib_save_LIBS
16931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16932 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16933 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16934 then :
16936 else $as_nop
16937 PULSE_LIBS=""
16940 else $as_nop
16941 PULSE_LIBS=""
16944 done
16945 CPPFLAGS=$ac_save_CPPFLAGS
16948 if test -z "$PULSE_LIBS"
16949 then :
16950 case "x$with_pulse" in
16951 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16952 xno) ;;
16953 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16954 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16955 esac
16956 enable_winepulse_drv=${enable_winepulse_drv:-no}
16959 if test "x$with_gstreamer" != "xno"
16960 then
16961 if ${GSTREAMER_CFLAGS:+false} :
16962 then :
16963 if test ${PKG_CONFIG+y}
16964 then :
16965 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16969 if ${GSTREAMER_LIBS:+false} :
16970 then :
16971 if test ${PKG_CONFIG+y}
16972 then :
16973 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16978 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
16979 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
16980 ac_save_CPPFLAGS=$CPPFLAGS
16981 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16982 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16983 if test "x$ac_cv_header_gst_gst_h" = xyes
16984 then :
16985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16986 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16988 /* end confdefs.h. */
16989 #include <gst/gst.h>
16991 main (void)
16993 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16995 return 0;
16997 _ACEOF
16998 if ac_fn_c_try_compile "$LINENO"
16999 then :
17000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17001 printf "%s\n" "yes" >&6; }
17002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17003 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17004 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17005 then :
17006 printf %s "(cached) " >&6
17007 else $as_nop
17008 ac_check_lib_save_LIBS=$LIBS
17009 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17011 /* end confdefs.h. */
17013 /* Override any GCC internal prototype to avoid an error.
17014 Use char because int might match the return type of a GCC
17015 builtin and then its argument prototype would still apply. */
17016 char gst_pad_new ();
17018 main (void)
17020 return gst_pad_new ();
17022 return 0;
17024 _ACEOF
17025 if ac_fn_c_try_link "$LINENO"
17026 then :
17027 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17028 else $as_nop
17029 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17031 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17032 conftest$ac_exeext conftest.$ac_ext
17033 LIBS=$ac_check_lib_save_LIBS
17035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17036 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17037 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17038 then :
17042 else $as_nop
17043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17044 printf "%s\n" "no" >&6; }
17045 ac_glib2_broken=yes
17046 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17048 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17051 CPPFLAGS=$ac_save_CPPFLAGS
17054 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17055 then :
17056 case "x$with_gstreamer" in
17057 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17058 xno) ;;
17059 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17060 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17061 esac
17062 enable_winegstreamer=${enable_winegstreamer:-no}
17065 ALSA_LIBS=""
17067 if test "x$with_alsa" != "xno"
17068 then
17069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17070 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17071 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17072 then :
17073 printf %s "(cached) " >&6
17074 else $as_nop
17075 ac_check_lib_save_LIBS=$LIBS
17076 LIBS="-lasound $LIBS"
17077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17078 /* end confdefs.h. */
17080 /* Override any GCC internal prototype to avoid an error.
17081 Use char because int might match the return type of a GCC
17082 builtin and then its argument prototype would still apply. */
17083 char snd_pcm_hw_params_get_access_mask ();
17085 main (void)
17087 return snd_pcm_hw_params_get_access_mask ();
17089 return 0;
17091 _ACEOF
17092 if ac_fn_c_try_link "$LINENO"
17093 then :
17094 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17095 else $as_nop
17096 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17099 conftest$ac_exeext conftest.$ac_ext
17100 LIBS=$ac_check_lib_save_LIBS
17102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17103 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17104 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17105 then :
17106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17107 /* end confdefs.h. */
17108 #include <alsa/asoundlib.h>
17110 main (void)
17112 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17114 return 0;
17116 _ACEOF
17117 if ac_fn_c_try_compile "$LINENO"
17118 then :
17119 ALSA_LIBS="-lasound"
17121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17125 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17127 if test "x$with_oss" != xno
17128 then
17129 ac_save_CPPFLAGS="$CPPFLAGS"
17130 if test -f /etc/oss.conf
17131 then
17132 . /etc/oss.conf
17134 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17135 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17136 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17137 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17138 then :
17139 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17141 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17142 then :
17144 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17146 OSS4_CFLAGS="$ac_oss_incl"
17148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17149 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17150 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17151 then :
17152 printf %s "(cached) " >&6
17153 else $as_nop
17154 ac_check_lib_save_LIBS=$LIBS
17155 LIBS="-lossaudio $LIBS"
17156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17157 /* end confdefs.h. */
17159 /* Override any GCC internal prototype to avoid an error.
17160 Use char because int might match the return type of a GCC
17161 builtin and then its argument prototype would still apply. */
17162 char _oss_ioctl ();
17164 main (void)
17166 return _oss_ioctl ();
17168 return 0;
17170 _ACEOF
17171 if ac_fn_c_try_link "$LINENO"
17172 then :
17173 ac_cv_lib_ossaudio__oss_ioctl=yes
17174 else $as_nop
17175 ac_cv_lib_ossaudio__oss_ioctl=no
17177 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17178 conftest$ac_exeext conftest.$ac_ext
17179 LIBS=$ac_check_lib_save_LIBS
17181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17182 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17183 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17184 then :
17185 OSS4_LIBS="-lossaudio"
17193 CPPFLAGS="$ac_save_CPPFLAGS"
17195 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17196 then :
17197 case "x$with_oss" in
17198 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17199 xno) ;;
17200 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17201 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17202 esac
17203 enable_wineoss_drv=${enable_wineoss_drv:-no}
17206 if test "x$with_udev" != "xno"
17207 then
17208 if ${UDEV_CFLAGS:+false} :
17209 then :
17210 if test ${PKG_CONFIG+y}
17211 then :
17212 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17216 if ${UDEV_LIBS:+false} :
17217 then :
17218 if test ${PKG_CONFIG+y}
17219 then :
17220 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17224 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17225 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17226 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17227 ac_save_CPPFLAGS=$CPPFLAGS
17228 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17229 for ac_header in libudev.h
17230 do :
17231 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17232 if test "x$ac_cv_header_libudev_h" = xyes
17233 then :
17234 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17236 printf %s "checking for udev_new in -ludev... " >&6; }
17237 if test ${ac_cv_lib_udev_udev_new+y}
17238 then :
17239 printf %s "(cached) " >&6
17240 else $as_nop
17241 ac_check_lib_save_LIBS=$LIBS
17242 LIBS="-ludev $UDEV_LIBS $LIBS"
17243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17244 /* end confdefs.h. */
17246 /* Override any GCC internal prototype to avoid an error.
17247 Use char because int might match the return type of a GCC
17248 builtin and then its argument prototype would still apply. */
17249 char udev_new ();
17251 main (void)
17253 return udev_new ();
17255 return 0;
17257 _ACEOF
17258 if ac_fn_c_try_link "$LINENO"
17259 then :
17260 ac_cv_lib_udev_udev_new=yes
17261 else $as_nop
17262 ac_cv_lib_udev_udev_new=no
17264 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17265 conftest$ac_exeext conftest.$ac_ext
17266 LIBS=$ac_check_lib_save_LIBS
17268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17269 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17270 if test "x$ac_cv_lib_udev_udev_new" = xyes
17271 then :
17273 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17275 else $as_nop
17276 UDEV_LIBS=""
17279 else $as_nop
17280 UDEV_LIBS=""
17283 done
17284 CPPFLAGS=$ac_save_CPPFLAGS
17287 if test "x$UDEV_LIBS" = "x"
17288 then :
17289 case "x$with_udev" in
17290 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17291 xno) ;;
17292 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17293 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17294 esac
17298 if test "x$with_unwind" != xno
17299 then
17300 if ${UNWIND_CFLAGS:+false} :
17301 then :
17302 if test ${PKG_CONFIG+y}
17303 then :
17304 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17308 if ${UNWIND_LIBS:+false} :
17309 then :
17310 if test ${PKG_CONFIG+y}
17311 then :
17312 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17316 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17317 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17318 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17319 ac_save_CPPFLAGS=$CPPFLAGS
17320 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17322 printf %s "checking for unw_step... " >&6; }
17323 if test ${wine_cv_have_unw_step+y}
17324 then :
17325 printf %s "(cached) " >&6
17326 else $as_nop
17327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17328 /* end confdefs.h. */
17329 #define UNW_LOCAL_ONLY
17330 #include <libunwind.h>
17332 main (void)
17334 unw_cursor_t cursor; unw_step( &cursor );
17336 return 0;
17338 _ACEOF
17339 if ac_fn_c_try_link "$LINENO"
17340 then :
17341 wine_cv_have_unw_step="yes"
17342 else $as_nop
17343 wine_cv_have_unw_step="no"
17345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17346 conftest$ac_exeext conftest.$ac_ext
17348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17349 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17350 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17351 then
17352 save_libs=$LIBS
17353 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17354 LIBS="$UNWIND_LIBS $LIBS"
17355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17356 printf %s "checking for unw_step in libunwind... " >&6; }
17357 if test ${wine_cv_have_libunwind_unw_step+y}
17358 then :
17359 printf %s "(cached) " >&6
17360 else $as_nop
17361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17362 /* end confdefs.h. */
17363 #define UNW_LOCAL_ONLY
17364 #include <libunwind.h>
17366 main (void)
17368 unw_cursor_t cursor; unw_step( &cursor );
17370 return 0;
17372 _ACEOF
17373 if ac_fn_c_try_link "$LINENO"
17374 then :
17375 wine_cv_have_libunwind_unw_step="yes"
17376 else $as_nop
17377 wine_cv_have_libunwind_unw_step="no"
17379 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17380 conftest$ac_exeext conftest.$ac_ext
17382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17383 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17384 LIBS=$save_libs
17386 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17387 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17388 then
17390 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17393 CPPFLAGS=$ac_save_CPPFLAGS
17396 case $host in
17397 aarch64*|*-darwin*)
17398 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17399 then :
17400 case "x$with_unwind" in
17401 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17402 xno) ;;
17403 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17404 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17405 esac
17407 fi ;;
17408 esac
17410 if test "x$with_sdl" != "xno"
17411 then
17412 if ${SDL2_CFLAGS:+false} :
17413 then :
17414 if test ${PKG_CONFIG+y}
17415 then :
17416 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17420 if ${SDL2_LIBS:+false} :
17421 then :
17422 if test ${PKG_CONFIG+y}
17423 then :
17424 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17428 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17429 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17430 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17431 ac_save_CPPFLAGS=$CPPFLAGS
17432 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17433 for ac_header in SDL.h
17434 do :
17435 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17436 if test "x$ac_cv_header_SDL_h" = xyes
17437 then :
17438 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17440 printf %s "checking for -lSDL2... " >&6; }
17441 if test ${ac_cv_lib_soname_SDL2+y}
17442 then :
17443 printf %s "(cached) " >&6
17444 else $as_nop
17445 ac_check_soname_save_LIBS=$LIBS
17446 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17448 /* end confdefs.h. */
17450 /* Override any GCC internal prototype to avoid an error.
17451 Use char because int might match the return type of a GCC
17452 builtin and then its argument prototype would still apply. */
17453 char SDL_Init ();
17455 main (void)
17457 return SDL_Init ();
17459 return 0;
17461 _ACEOF
17462 if ac_fn_c_try_link "$LINENO"
17463 then :
17464 case "$LIBEXT" in
17465 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17466 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'` ;;
17467 *) 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'`
17468 if ${ac_cv_lib_soname_SDL2:+false} :
17469 then :
17470 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17471 fi ;;
17472 esac
17473 else $as_nop
17474 ac_cv_lib_soname_SDL2=
17476 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17477 conftest$ac_exeext conftest.$ac_ext
17478 LIBS=$ac_check_soname_save_LIBS
17480 if ${ac_cv_lib_soname_SDL2:+false} :
17481 then :
17482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17483 printf "%s\n" "not found" >&6; }
17485 else $as_nop
17486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17487 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17489 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17495 done
17496 CPPFLAGS=$ac_save_CPPFLAGS
17499 if test "x$ac_cv_lib_soname_SDL2" = "x"
17500 then :
17501 case "x$with_sdl" in
17502 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17503 xno) ;;
17504 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17505 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17506 esac
17510 if test "x$with_capi" != "xno"
17511 then
17512 if ${CAPI20_CFLAGS:+false} :
17513 then :
17514 if test ${PKG_CONFIG+y}
17515 then :
17516 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17520 if ${CAPI20_LIBS:+false} :
17521 then :
17522 if test ${PKG_CONFIG+y}
17523 then :
17524 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17529 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17530 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17531 ac_save_CPPFLAGS=$CPPFLAGS
17532 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17533 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17535 if test "x$ac_cv_header_capi20_h" = xyes
17536 then :
17537 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17540 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17542 if test "x$ac_cv_header_linux_capi_h" = xyes
17543 then :
17544 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17548 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17549 then
17550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17551 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17552 if test ${ac_cv_lib_capi20_capi20_register+y}
17553 then :
17554 printf %s "(cached) " >&6
17555 else $as_nop
17556 ac_check_lib_save_LIBS=$LIBS
17557 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17559 /* end confdefs.h. */
17561 /* Override any GCC internal prototype to avoid an error.
17562 Use char because int might match the return type of a GCC
17563 builtin and then its argument prototype would still apply. */
17564 char capi20_register ();
17566 main (void)
17568 return capi20_register ();
17570 return 0;
17572 _ACEOF
17573 if ac_fn_c_try_link "$LINENO"
17574 then :
17575 ac_cv_lib_capi20_capi20_register=yes
17576 else $as_nop
17577 ac_cv_lib_capi20_capi20_register=no
17579 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17580 conftest$ac_exeext conftest.$ac_ext
17581 LIBS=$ac_check_lib_save_LIBS
17583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17584 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17585 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17586 then :
17588 else $as_nop
17589 CAPI20_LIBS=""
17593 CPPFLAGS=$ac_save_CPPFLAGS
17596 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17597 then :
17598 case "x$with_capi" in
17599 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17600 xno) ;;
17601 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17602 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17603 esac
17604 enable_capi2032=${enable_capi2032:-no}
17607 if test "x$with_cups" != "xno"
17608 then
17609 if ${CUPS_CFLAGS:+false} :
17610 then :
17611 if test ${PKG_CONFIG+y}
17612 then :
17613 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
17616 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17617 if ${CUPS_LIBS:+false} :
17618 then :
17619 if test ${PKG_CONFIG+y}
17620 then :
17621 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17624 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17625 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17626 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17627 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17628 ac_save_CPPFLAGS=$CPPFLAGS
17629 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17630 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17631 if test "x$ac_cv_header_cups_cups_h" = xyes
17632 then :
17633 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17636 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17637 if test "x$ac_cv_header_cups_ppd_h" = xyes
17638 then :
17639 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17643 if test "$ac_cv_header_cups_cups_h" = "yes"
17644 then
17645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17646 printf %s "checking for -lcups... " >&6; }
17647 if test ${ac_cv_lib_soname_cups+y}
17648 then :
17649 printf %s "(cached) " >&6
17650 else $as_nop
17651 ac_check_soname_save_LIBS=$LIBS
17652 LIBS="-lcups $CUPS_LIBS $LIBS"
17653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17654 /* end confdefs.h. */
17656 /* Override any GCC internal prototype to avoid an error.
17657 Use char because int might match the return type of a GCC
17658 builtin and then its argument prototype would still apply. */
17659 char cupsGetDefault ();
17661 main (void)
17663 return cupsGetDefault ();
17665 return 0;
17667 _ACEOF
17668 if ac_fn_c_try_link "$LINENO"
17669 then :
17670 case "$LIBEXT" in
17671 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17672 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'` ;;
17673 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17674 if ${ac_cv_lib_soname_cups:+false} :
17675 then :
17676 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17677 fi ;;
17678 esac
17679 else $as_nop
17680 ac_cv_lib_soname_cups=
17682 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17683 conftest$ac_exeext conftest.$ac_ext
17684 LIBS=$ac_check_soname_save_LIBS
17686 if ${ac_cv_lib_soname_cups:+false} :
17687 then :
17688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17689 printf "%s\n" "not found" >&6; }
17690 CUPS_LIBS=""
17691 else $as_nop
17692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17693 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17695 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17699 else
17700 CUPS_CFLAGS=""
17701 CUPS_LIBS=""
17703 CPPFLAGS=$ac_save_CPPFLAGS
17706 if test "x$ac_cv_lib_soname_cups" = "x"
17707 then :
17708 case "x$with_cups" in
17709 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17710 xno) ;;
17711 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17712 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17713 esac
17717 if test "x$with_fontconfig" != "xno"
17718 then
17719 if ${FONTCONFIG_CFLAGS:+false} :
17720 then :
17721 if test ${PKG_CONFIG+y}
17722 then :
17723 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17726 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17727 if ${FONTCONFIG_LIBS:+false} :
17728 then :
17729 if test ${PKG_CONFIG+y}
17730 then :
17731 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17734 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17737 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17738 ac_save_CPPFLAGS=$CPPFLAGS
17739 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17740 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17741 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17742 then :
17743 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17747 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17748 then
17749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17750 printf %s "checking for -lfontconfig... " >&6; }
17751 if test ${ac_cv_lib_soname_fontconfig+y}
17752 then :
17753 printf %s "(cached) " >&6
17754 else $as_nop
17755 ac_check_soname_save_LIBS=$LIBS
17756 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17758 /* end confdefs.h. */
17760 /* Override any GCC internal prototype to avoid an error.
17761 Use char because int might match the return type of a GCC
17762 builtin and then its argument prototype would still apply. */
17763 char FcInit ();
17765 main (void)
17767 return FcInit ();
17769 return 0;
17771 _ACEOF
17772 if ac_fn_c_try_link "$LINENO"
17773 then :
17774 case "$LIBEXT" in
17775 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17776 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'` ;;
17777 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17778 if ${ac_cv_lib_soname_fontconfig:+false} :
17779 then :
17780 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17781 fi ;;
17782 esac
17783 else $as_nop
17784 ac_cv_lib_soname_fontconfig=
17786 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17787 conftest$ac_exeext conftest.$ac_ext
17788 LIBS=$ac_check_soname_save_LIBS
17790 if ${ac_cv_lib_soname_fontconfig:+false} :
17791 then :
17792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17793 printf "%s\n" "not found" >&6; }
17794 FONTCONFIG_CFLAGS=""
17795 else $as_nop
17796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17797 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17799 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17803 else
17804 FONTCONFIG_CFLAGS=""
17806 CPPFLAGS=$ac_save_CPPFLAGS
17809 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17810 then :
17811 case "x$with_fontconfig" in
17812 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17813 xno) ;;
17814 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17815 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17816 esac
17820 if test "x$with_krb5" != "xno"
17821 then
17822 if ${KRB5_CFLAGS:+false} :
17823 then :
17824 if test ${PKG_CONFIG+y}
17825 then :
17826 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17829 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17830 if ${KRB5_LIBS:+false} :
17831 then :
17832 if test ${PKG_CONFIG+y}
17833 then :
17834 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17837 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17839 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17840 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17841 ac_save_CPPFLAGS=$CPPFLAGS
17842 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17843 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17844 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17845 then :
17846 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17850 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17851 then
17852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17853 printf %s "checking for -lkrb5... " >&6; }
17854 if test ${ac_cv_lib_soname_krb5+y}
17855 then :
17856 printf %s "(cached) " >&6
17857 else $as_nop
17858 ac_check_soname_save_LIBS=$LIBS
17859 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17861 /* end confdefs.h. */
17863 /* Override any GCC internal prototype to avoid an error.
17864 Use char because int might match the return type of a GCC
17865 builtin and then its argument prototype would still apply. */
17866 char krb5_is_config_principal ();
17868 main (void)
17870 return krb5_is_config_principal ();
17872 return 0;
17874 _ACEOF
17875 if ac_fn_c_try_link "$LINENO"
17876 then :
17877 case "$LIBEXT" in
17878 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17879 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'` ;;
17880 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17881 if ${ac_cv_lib_soname_krb5:+false} :
17882 then :
17883 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17884 fi ;;
17885 esac
17886 else $as_nop
17887 ac_cv_lib_soname_krb5=
17889 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17890 conftest$ac_exeext conftest.$ac_ext
17891 LIBS=$ac_check_soname_save_LIBS
17893 if ${ac_cv_lib_soname_krb5:+false} :
17894 then :
17895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17896 printf "%s\n" "not found" >&6; }
17897 KRB5_CFLAGS=""
17898 else $as_nop
17899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17900 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17902 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17906 else
17907 KRB5_CFLAGS=""
17909 CPPFLAGS=$ac_save_CPPFLAGS
17912 if test "x$ac_cv_lib_soname_krb5" = "x"
17913 then :
17914 case "x$with_krb5" in
17915 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17916 xno) ;;
17917 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17918 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17919 esac
17922 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17924 if test "x$with_gssapi" != "xno"
17925 then
17926 if ${GSSAPI_CFLAGS:+false} :
17927 then :
17928 if test ${PKG_CONFIG+y}
17929 then :
17930 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
17933 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17934 if ${GSSAPI_LIBS:+false} :
17935 then :
17936 if test ${PKG_CONFIG+y}
17937 then :
17938 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17941 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17943 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17944 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17945 ac_save_CPPFLAGS=$CPPFLAGS
17946 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17947 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17948 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17949 then :
17950 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17953 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17954 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17955 then :
17956 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17960 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17961 then
17962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17963 printf %s "checking for -lgssapi_krb5... " >&6; }
17964 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17965 then :
17966 printf %s "(cached) " >&6
17967 else $as_nop
17968 ac_check_soname_save_LIBS=$LIBS
17969 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17971 /* end confdefs.h. */
17973 /* Override any GCC internal prototype to avoid an error.
17974 Use char because int might match the return type of a GCC
17975 builtin and then its argument prototype would still apply. */
17976 char gss_init_sec_context ();
17978 main (void)
17980 return gss_init_sec_context ();
17982 return 0;
17984 _ACEOF
17985 if ac_fn_c_try_link "$LINENO"
17986 then :
17987 case "$LIBEXT" in
17988 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17989 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'` ;;
17990 *) 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'`
17991 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17992 then :
17993 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17994 fi ;;
17995 esac
17996 else $as_nop
17997 ac_cv_lib_soname_gssapi_krb5=
17999 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18000 conftest$ac_exeext conftest.$ac_ext
18001 LIBS=$ac_check_soname_save_LIBS
18003 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18004 then :
18005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18006 printf "%s\n" "not found" >&6; }
18007 GSSAPI_CFLAGS=""
18008 else $as_nop
18009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18010 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18012 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18016 else
18017 GSSAPI_CFLAGS=""
18019 CPPFLAGS=$ac_save_CPPFLAGS
18022 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18023 then :
18024 case "x$with_gssapi" in
18025 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18026 xno) ;;
18027 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18028 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18029 esac
18033 if test "$ac_cv_header_AL_al_h" = "yes"
18034 then
18035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
18036 printf %s "checking for -lopenal... " >&6; }
18037 if test ${ac_cv_lib_soname_openal+y}
18038 then :
18039 printf %s "(cached) " >&6
18040 else $as_nop
18041 ac_check_soname_save_LIBS=$LIBS
18042 LIBS="-lopenal $LIBS"
18043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18044 /* end confdefs.h. */
18046 /* Override any GCC internal prototype to avoid an error.
18047 Use char because int might match the return type of a GCC
18048 builtin and then its argument prototype would still apply. */
18049 char alGetSource3i ();
18051 main (void)
18053 return alGetSource3i ();
18055 return 0;
18057 _ACEOF
18058 if ac_fn_c_try_link "$LINENO"
18059 then :
18060 case "$LIBEXT" in
18061 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18062 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'` ;;
18063 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18064 if ${ac_cv_lib_soname_openal:+false} :
18065 then :
18066 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18067 fi ;;
18068 esac
18069 else $as_nop
18070 ac_cv_lib_soname_openal=
18072 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18073 conftest$ac_exeext conftest.$ac_ext
18074 LIBS=$ac_check_soname_save_LIBS
18076 if ${ac_cv_lib_soname_openal:+false} :
18077 then :
18078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18079 printf "%s\n" "not found" >&6; }
18081 else $as_nop
18082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
18083 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
18085 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
18087 OPENAL_LIBS="-lopenal"
18089 ac_cv_lib_openal=yes
18091 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
18095 if test "x$ac_cv_lib_openal" != xyes
18096 then :
18097 case "x$with_openal" in
18098 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
18099 xno) ;;
18100 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
18101 This is an error since --with-openal was requested." "$LINENO" 5 ;;
18102 esac
18103 enable_openal32=${enable_openal32:-no}
18106 if test "$ac_cv_header_libprocstat_h" = "yes"
18107 then
18108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18109 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18110 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18111 then :
18112 printf %s "(cached) " >&6
18113 else $as_nop
18114 ac_check_lib_save_LIBS=$LIBS
18115 LIBS="-lprocstat $LIBS"
18116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18117 /* end confdefs.h. */
18119 /* Override any GCC internal prototype to avoid an error.
18120 Use char because int might match the return type of a GCC
18121 builtin and then its argument prototype would still apply. */
18122 char procstat_open_sysctl ();
18124 main (void)
18126 return procstat_open_sysctl ();
18128 return 0;
18130 _ACEOF
18131 if ac_fn_c_try_link "$LINENO"
18132 then :
18133 ac_cv_lib_procstat_procstat_open_sysctl=yes
18134 else $as_nop
18135 ac_cv_lib_procstat_procstat_open_sysctl=no
18137 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18138 conftest$ac_exeext conftest.$ac_ext
18139 LIBS=$ac_check_lib_save_LIBS
18141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18142 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18143 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18144 then :
18146 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18148 PROCSTAT_LIBS="-lprocstat"
18154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18155 printf %s "checking for -lodbc... " >&6; }
18156 if test ${ac_cv_lib_soname_odbc+y}
18157 then :
18158 printf %s "(cached) " >&6
18159 else $as_nop
18160 ac_check_soname_save_LIBS=$LIBS
18161 LIBS="-lodbc $LIBS"
18162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18163 /* end confdefs.h. */
18165 /* Override any GCC internal prototype to avoid an error.
18166 Use char because int might match the return type of a GCC
18167 builtin and then its argument prototype would still apply. */
18168 char SQLConnect ();
18170 main (void)
18172 return SQLConnect ();
18174 return 0;
18176 _ACEOF
18177 if ac_fn_c_try_link "$LINENO"
18178 then :
18179 case "$LIBEXT" in
18180 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18181 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'` ;;
18182 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18183 if ${ac_cv_lib_soname_odbc:+false} :
18184 then :
18185 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18186 fi ;;
18187 esac
18188 else $as_nop
18189 ac_cv_lib_soname_odbc=
18191 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18192 conftest$ac_exeext conftest.$ac_ext
18193 LIBS=$ac_check_soname_save_LIBS
18195 if ${ac_cv_lib_soname_odbc:+false} :
18196 then :
18197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18198 printf "%s\n" "not found" >&6; }
18199 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18201 else $as_nop
18202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18203 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18205 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18210 if test "x$with_netapi" != "xno"
18211 then
18212 if ${NETAPI_CFLAGS:+false} :
18213 then :
18214 if test ${PKG_CONFIG+y}
18215 then :
18216 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18220 if ${NETAPI_LIBS:+false} :
18221 then :
18222 if test ${PKG_CONFIG+y}
18223 then :
18224 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18229 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18230 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18231 ac_save_CPPFLAGS=$CPPFLAGS
18232 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18234 printf %s "checking for -lnetapi... " >&6; }
18235 if test ${ac_cv_lib_soname_netapi+y}
18236 then :
18237 printf %s "(cached) " >&6
18238 else $as_nop
18239 ac_check_soname_save_LIBS=$LIBS
18240 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18242 /* end confdefs.h. */
18244 /* Override any GCC internal prototype to avoid an error.
18245 Use char because int might match the return type of a GCC
18246 builtin and then its argument prototype would still apply. */
18247 char libnetapi_init ();
18249 main (void)
18251 return libnetapi_init ();
18253 return 0;
18255 _ACEOF
18256 if ac_fn_c_try_link "$LINENO"
18257 then :
18258 case "$LIBEXT" in
18259 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18260 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'` ;;
18261 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18262 if ${ac_cv_lib_soname_netapi:+false} :
18263 then :
18264 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18265 fi ;;
18266 esac
18267 else $as_nop
18268 ac_cv_lib_soname_netapi=
18270 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18271 conftest$ac_exeext conftest.$ac_ext
18272 LIBS=$ac_check_soname_save_LIBS
18274 if ${ac_cv_lib_soname_netapi:+false} :
18275 then :
18276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18277 printf "%s\n" "not found" >&6; }
18278 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18280 else $as_nop
18281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18282 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18284 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18288 CPPFLAGS=$ac_save_CPPFLAGS
18291 if test "x$ac_cv_lib_soname_netapi" = "x"
18292 then :
18293 case "x$with_netapi" in
18294 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18295 xno) ;;
18296 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18297 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18298 esac
18299 enable_netapi=${enable_netapi:-no}
18303 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18304 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18305 then
18306 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18309 if test "x$with_vulkan" != "xno"
18310 then
18311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18312 printf %s "checking for -lvulkan... " >&6; }
18313 if test ${ac_cv_lib_soname_vulkan+y}
18314 then :
18315 printf %s "(cached) " >&6
18316 else $as_nop
18317 ac_check_soname_save_LIBS=$LIBS
18318 LIBS="-lvulkan $LIBS"
18319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18320 /* end confdefs.h. */
18322 /* Override any GCC internal prototype to avoid an error.
18323 Use char because int might match the return type of a GCC
18324 builtin and then its argument prototype would still apply. */
18325 char vkGetInstanceProcAddr ();
18327 main (void)
18329 return vkGetInstanceProcAddr ();
18331 return 0;
18333 _ACEOF
18334 if ac_fn_c_try_link "$LINENO"
18335 then :
18336 case "$LIBEXT" in
18337 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18338 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'` ;;
18339 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18340 if ${ac_cv_lib_soname_vulkan:+false} :
18341 then :
18342 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18343 fi ;;
18344 esac
18345 else $as_nop
18346 ac_cv_lib_soname_vulkan=
18348 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18349 conftest$ac_exeext conftest.$ac_ext
18350 LIBS=$ac_check_soname_save_LIBS
18352 if ${ac_cv_lib_soname_vulkan:+false} :
18353 then :
18354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18355 printf "%s\n" "not found" >&6; }
18357 else $as_nop
18358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18359 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18361 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18365 if test "x$ac_cv_lib_soname_vulkan" = "x"
18366 then
18367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18368 printf %s "checking for -lMoltenVK... " >&6; }
18369 if test ${ac_cv_lib_soname_MoltenVK+y}
18370 then :
18371 printf %s "(cached) " >&6
18372 else $as_nop
18373 ac_check_soname_save_LIBS=$LIBS
18374 LIBS="-lMoltenVK $LIBS"
18375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18376 /* end confdefs.h. */
18378 /* Override any GCC internal prototype to avoid an error.
18379 Use char because int might match the return type of a GCC
18380 builtin and then its argument prototype would still apply. */
18381 char vkGetInstanceProcAddr ();
18383 main (void)
18385 return vkGetInstanceProcAddr ();
18387 return 0;
18389 _ACEOF
18390 if ac_fn_c_try_link "$LINENO"
18391 then :
18392 case "$LIBEXT" in
18393 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18394 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'` ;;
18395 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18396 if ${ac_cv_lib_soname_MoltenVK:+false} :
18397 then :
18398 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18399 fi ;;
18400 esac
18401 else $as_nop
18402 ac_cv_lib_soname_MoltenVK=
18404 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18405 conftest$ac_exeext conftest.$ac_ext
18406 LIBS=$ac_check_soname_save_LIBS
18408 if ${ac_cv_lib_soname_MoltenVK:+false} :
18409 then :
18410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18411 printf "%s\n" "not found" >&6; }
18413 else $as_nop
18414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18415 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18417 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18423 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18424 then :
18425 case "x$with_vulkan" in
18426 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18427 xno) ;;
18428 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18429 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18430 esac
18435 if test "x${GCC}" = "xyes"
18436 then
18437 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18439 saved_CFLAGS=$CFLAGS
18440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18441 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18442 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18443 then :
18444 printf %s "(cached) " >&6
18445 else $as_nop
18446 ac_wine_try_cflags_saved=$CFLAGS
18447 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18449 /* end confdefs.h. */
18450 int main(int argc, char **argv) { return 0; }
18451 _ACEOF
18452 if ac_fn_c_try_link "$LINENO"
18453 then :
18454 ac_cv_cflags__Werror_unknown_warning_option=yes
18455 else $as_nop
18456 ac_cv_cflags__Werror_unknown_warning_option=no
18458 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18459 conftest$ac_exeext conftest.$ac_ext
18460 CFLAGS=$ac_wine_try_cflags_saved
18462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18463 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18464 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18465 then :
18466 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18469 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18470 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18471 then :
18472 printf %s "(cached) " >&6
18473 else $as_nop
18474 ac_wine_try_cflags_saved=$CFLAGS
18475 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18477 /* end confdefs.h. */
18478 int main(int argc, char **argv) { return 0; }
18479 _ACEOF
18480 if ac_fn_c_try_link "$LINENO"
18481 then :
18482 ac_cv_cflags__Werror_unused_command_line_argument=yes
18483 else $as_nop
18484 ac_cv_cflags__Werror_unused_command_line_argument=no
18486 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18487 conftest$ac_exeext conftest.$ac_ext
18488 CFLAGS=$ac_wine_try_cflags_saved
18490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18491 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18492 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18493 then :
18494 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18497 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18498 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18499 then :
18500 printf %s "(cached) " >&6
18501 else $as_nop
18502 ac_wine_try_cflags_saved=$CFLAGS
18503 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18505 /* end confdefs.h. */
18506 int main(int argc, char **argv) { return 0; }
18507 _ACEOF
18508 if ac_fn_c_try_link "$LINENO"
18509 then :
18510 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18511 else $as_nop
18512 ac_cv_cflags__Werror_ignored_optimization_argument=no
18514 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18515 conftest$ac_exeext conftest.$ac_ext
18516 CFLAGS=$ac_wine_try_cflags_saved
18518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18519 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18520 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18521 then :
18522 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18525 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18526 if test ${ac_cv_cflags__fcf_protection_none+y}
18527 then :
18528 printf %s "(cached) " >&6
18529 else $as_nop
18530 ac_wine_try_cflags_saved=$CFLAGS
18531 CFLAGS="$CFLAGS -fcf-protection=none"
18532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18533 /* end confdefs.h. */
18534 int main(int argc, char **argv) { return 0; }
18535 _ACEOF
18536 if ac_fn_c_try_link "$LINENO"
18537 then :
18538 ac_cv_cflags__fcf_protection_none=yes
18539 else $as_nop
18540 ac_cv_cflags__fcf_protection_none=no
18542 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18543 conftest$ac_exeext conftest.$ac_ext
18544 CFLAGS=$ac_wine_try_cflags_saved
18546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18547 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18548 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18549 then :
18550 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18553 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18554 if test ${ac_cv_cflags__fno_stack_protector+y}
18555 then :
18556 printf %s "(cached) " >&6
18557 else $as_nop
18558 ac_wine_try_cflags_saved=$CFLAGS
18559 CFLAGS="$CFLAGS -fno-stack-protector"
18560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18561 /* end confdefs.h. */
18562 int main(int argc, char **argv) { return 0; }
18563 _ACEOF
18564 if ac_fn_c_try_link "$LINENO"
18565 then :
18566 ac_cv_cflags__fno_stack_protector=yes
18567 else $as_nop
18568 ac_cv_cflags__fno_stack_protector=no
18570 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18571 conftest$ac_exeext conftest.$ac_ext
18572 CFLAGS=$ac_wine_try_cflags_saved
18574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18575 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18576 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18577 then :
18578 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18581 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18582 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18583 then :
18584 printf %s "(cached) " >&6
18585 else $as_nop
18586 ac_wine_try_cflags_saved=$CFLAGS
18587 CFLAGS="$CFLAGS -fno-strict-aliasing"
18588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18589 /* end confdefs.h. */
18590 int main(int argc, char **argv) { return 0; }
18591 _ACEOF
18592 if ac_fn_c_try_link "$LINENO"
18593 then :
18594 ac_cv_cflags__fno_strict_aliasing=yes
18595 else $as_nop
18596 ac_cv_cflags__fno_strict_aliasing=no
18598 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18599 conftest$ac_exeext conftest.$ac_ext
18600 CFLAGS=$ac_wine_try_cflags_saved
18602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18603 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18604 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18605 then :
18606 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18609 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18610 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18611 then :
18612 printf %s "(cached) " >&6
18613 else $as_nop
18614 ac_wine_try_cflags_saved=$CFLAGS
18615 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18617 /* end confdefs.h. */
18618 int main(int argc, char **argv) { return 0; }
18619 _ACEOF
18620 if ac_fn_c_try_link "$LINENO"
18621 then :
18622 ac_cv_cflags__Wdeclaration_after_statement=yes
18623 else $as_nop
18624 ac_cv_cflags__Wdeclaration_after_statement=no
18626 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18627 conftest$ac_exeext conftest.$ac_ext
18628 CFLAGS=$ac_wine_try_cflags_saved
18630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18631 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18632 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18633 then :
18634 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18637 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18638 if test ${ac_cv_cflags__Wempty_body+y}
18639 then :
18640 printf %s "(cached) " >&6
18641 else $as_nop
18642 ac_wine_try_cflags_saved=$CFLAGS
18643 CFLAGS="$CFLAGS -Wempty-body"
18644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18645 /* end confdefs.h. */
18646 int main(int argc, char **argv) { return 0; }
18647 _ACEOF
18648 if ac_fn_c_try_link "$LINENO"
18649 then :
18650 ac_cv_cflags__Wempty_body=yes
18651 else $as_nop
18652 ac_cv_cflags__Wempty_body=no
18654 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18655 conftest$ac_exeext conftest.$ac_ext
18656 CFLAGS=$ac_wine_try_cflags_saved
18658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18659 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18660 if test "x$ac_cv_cflags__Wempty_body" = xyes
18661 then :
18662 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18665 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18666 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18667 then :
18668 printf %s "(cached) " >&6
18669 else $as_nop
18670 ac_wine_try_cflags_saved=$CFLAGS
18671 CFLAGS="$CFLAGS -Wignored-qualifiers"
18672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18673 /* end confdefs.h. */
18674 int main(int argc, char **argv) { return 0; }
18675 _ACEOF
18676 if ac_fn_c_try_link "$LINENO"
18677 then :
18678 ac_cv_cflags__Wignored_qualifiers=yes
18679 else $as_nop
18680 ac_cv_cflags__Wignored_qualifiers=no
18682 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18683 conftest$ac_exeext conftest.$ac_ext
18684 CFLAGS=$ac_wine_try_cflags_saved
18686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18687 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18688 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18689 then :
18690 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18693 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18694 if test ${ac_cv_cflags__Winit_self+y}
18695 then :
18696 printf %s "(cached) " >&6
18697 else $as_nop
18698 ac_wine_try_cflags_saved=$CFLAGS
18699 CFLAGS="$CFLAGS -Winit-self"
18700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18701 /* end confdefs.h. */
18702 int main(int argc, char **argv) { return 0; }
18703 _ACEOF
18704 if ac_fn_c_try_link "$LINENO"
18705 then :
18706 ac_cv_cflags__Winit_self=yes
18707 else $as_nop
18708 ac_cv_cflags__Winit_self=no
18710 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18711 conftest$ac_exeext conftest.$ac_ext
18712 CFLAGS=$ac_wine_try_cflags_saved
18714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18715 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18716 if test "x$ac_cv_cflags__Winit_self" = xyes
18717 then :
18718 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18721 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18722 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18723 then :
18724 printf %s "(cached) " >&6
18725 else $as_nop
18726 ac_wine_try_cflags_saved=$CFLAGS
18727 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18729 /* end confdefs.h. */
18730 int main(int argc, char **argv) { return 0; }
18731 _ACEOF
18732 if ac_fn_c_try_link "$LINENO"
18733 then :
18734 ac_cv_cflags__Wpacked_not_aligned=yes
18735 else $as_nop
18736 ac_cv_cflags__Wpacked_not_aligned=no
18738 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18739 conftest$ac_exeext conftest.$ac_ext
18740 CFLAGS=$ac_wine_try_cflags_saved
18742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18743 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18744 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18745 then :
18746 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18749 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18750 if test ${ac_cv_cflags__Wpragma_pack+y}
18751 then :
18752 printf %s "(cached) " >&6
18753 else $as_nop
18754 ac_wine_try_cflags_saved=$CFLAGS
18755 CFLAGS="$CFLAGS -Wpragma-pack"
18756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18757 /* end confdefs.h. */
18758 int main(int argc, char **argv) { return 0; }
18759 _ACEOF
18760 if ac_fn_c_try_link "$LINENO"
18761 then :
18762 ac_cv_cflags__Wpragma_pack=yes
18763 else $as_nop
18764 ac_cv_cflags__Wpragma_pack=no
18766 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18767 conftest$ac_exeext conftest.$ac_ext
18768 CFLAGS=$ac_wine_try_cflags_saved
18770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18771 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18772 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18773 then :
18774 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18777 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18778 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18779 then :
18780 printf %s "(cached) " >&6
18781 else $as_nop
18782 ac_wine_try_cflags_saved=$CFLAGS
18783 CFLAGS="$CFLAGS -Wshift-overflow=2"
18784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18785 /* end confdefs.h. */
18786 int main(int argc, char **argv) { return 0; }
18787 _ACEOF
18788 if ac_fn_c_try_link "$LINENO"
18789 then :
18790 ac_cv_cflags__Wshift_overflow_2=yes
18791 else $as_nop
18792 ac_cv_cflags__Wshift_overflow_2=no
18794 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18795 conftest$ac_exeext conftest.$ac_ext
18796 CFLAGS=$ac_wine_try_cflags_saved
18798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18799 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18800 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18801 then :
18802 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18805 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18806 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18807 then :
18808 printf %s "(cached) " >&6
18809 else $as_nop
18810 ac_wine_try_cflags_saved=$CFLAGS
18811 CFLAGS="$CFLAGS -Wstrict-prototypes"
18812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18813 /* end confdefs.h. */
18814 int main(int argc, char **argv) { return 0; }
18815 _ACEOF
18816 if ac_fn_c_try_link "$LINENO"
18817 then :
18818 ac_cv_cflags__Wstrict_prototypes=yes
18819 else $as_nop
18820 ac_cv_cflags__Wstrict_prototypes=no
18822 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18823 conftest$ac_exeext conftest.$ac_ext
18824 CFLAGS=$ac_wine_try_cflags_saved
18826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18827 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18828 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18829 then :
18830 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18833 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18834 if test ${ac_cv_cflags__Wtype_limits+y}
18835 then :
18836 printf %s "(cached) " >&6
18837 else $as_nop
18838 ac_wine_try_cflags_saved=$CFLAGS
18839 CFLAGS="$CFLAGS -Wtype-limits"
18840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18841 /* end confdefs.h. */
18842 int main(int argc, char **argv) { return 0; }
18843 _ACEOF
18844 if ac_fn_c_try_link "$LINENO"
18845 then :
18846 ac_cv_cflags__Wtype_limits=yes
18847 else $as_nop
18848 ac_cv_cflags__Wtype_limits=no
18850 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18851 conftest$ac_exeext conftest.$ac_ext
18852 CFLAGS=$ac_wine_try_cflags_saved
18854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18855 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18856 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18857 then :
18858 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18861 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18862 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18863 then :
18864 printf %s "(cached) " >&6
18865 else $as_nop
18866 ac_wine_try_cflags_saved=$CFLAGS
18867 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18869 /* end confdefs.h. */
18870 int main(int argc, char **argv) { return 0; }
18871 _ACEOF
18872 if ac_fn_c_try_link "$LINENO"
18873 then :
18874 ac_cv_cflags__Wunused_but_set_parameter=yes
18875 else $as_nop
18876 ac_cv_cflags__Wunused_but_set_parameter=no
18878 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18879 conftest$ac_exeext conftest.$ac_ext
18880 CFLAGS=$ac_wine_try_cflags_saved
18882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18883 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18884 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18885 then :
18886 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18889 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18890 if test ${ac_cv_cflags__Wvla+y}
18891 then :
18892 printf %s "(cached) " >&6
18893 else $as_nop
18894 ac_wine_try_cflags_saved=$CFLAGS
18895 CFLAGS="$CFLAGS -Wvla"
18896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18897 /* end confdefs.h. */
18898 int main(int argc, char **argv) { return 0; }
18899 _ACEOF
18900 if ac_fn_c_try_link "$LINENO"
18901 then :
18902 ac_cv_cflags__Wvla=yes
18903 else $as_nop
18904 ac_cv_cflags__Wvla=no
18906 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18907 conftest$ac_exeext conftest.$ac_ext
18908 CFLAGS=$ac_wine_try_cflags_saved
18910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18911 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18912 if test "x$ac_cv_cflags__Wvla" = xyes
18913 then :
18914 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18917 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18918 if test ${ac_cv_cflags__Wwrite_strings+y}
18919 then :
18920 printf %s "(cached) " >&6
18921 else $as_nop
18922 ac_wine_try_cflags_saved=$CFLAGS
18923 CFLAGS="$CFLAGS -Wwrite-strings"
18924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18925 /* end confdefs.h. */
18926 int main(int argc, char **argv) { return 0; }
18927 _ACEOF
18928 if ac_fn_c_try_link "$LINENO"
18929 then :
18930 ac_cv_cflags__Wwrite_strings=yes
18931 else $as_nop
18932 ac_cv_cflags__Wwrite_strings=no
18934 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18935 conftest$ac_exeext conftest.$ac_ext
18936 CFLAGS=$ac_wine_try_cflags_saved
18938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18939 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18940 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18941 then :
18942 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18945 if test -z "$CROSSTARGET"
18946 then
18947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
18948 printf %s "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
18949 if test ${ac_cv_cflags__fexcess_precision_standard+y}
18950 then :
18951 printf %s "(cached) " >&6
18952 else $as_nop
18953 ac_wine_try_cflags_saved=$CFLAGS
18954 CFLAGS="$CFLAGS -fexcess-precision=standard"
18955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18956 /* end confdefs.h. */
18957 int main(int argc, char **argv) { return 0; }
18958 _ACEOF
18959 if ac_fn_c_try_link "$LINENO"
18960 then :
18961 ac_cv_cflags__fexcess_precision_standard=yes
18962 else $as_nop
18963 ac_cv_cflags__fexcess_precision_standard=no
18965 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18966 conftest$ac_exeext conftest.$ac_ext
18967 CFLAGS=$ac_wine_try_cflags_saved
18969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
18970 printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
18971 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
18972 then :
18973 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
18978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18979 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18980 if test ${ac_cv_cflags__Wpointer_arith+y}
18981 then :
18982 printf %s "(cached) " >&6
18983 else $as_nop
18984 ac_wine_try_cflags_saved=$CFLAGS
18985 CFLAGS="$CFLAGS -Wpointer-arith"
18986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18987 /* end confdefs.h. */
18988 int main(int argc, char **argv) { return 0; }
18989 _ACEOF
18990 if ac_fn_c_try_link "$LINENO"
18991 then :
18992 ac_cv_cflags__Wpointer_arith=yes
18993 else $as_nop
18994 ac_cv_cflags__Wpointer_arith=no
18996 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18997 conftest$ac_exeext conftest.$ac_ext
18998 CFLAGS=$ac_wine_try_cflags_saved
19000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19001 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19002 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19003 then :
19004 saved_string_h_CFLAGS=$CFLAGS
19005 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19007 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19008 if test ${ac_cv_c_string_h_warnings+y}
19009 then :
19010 printf %s "(cached) " >&6
19011 else $as_nop
19012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19013 /* end confdefs.h. */
19014 #include <string.h>
19016 main (void)
19020 return 0;
19022 _ACEOF
19023 if ac_fn_c_try_compile "$LINENO"
19024 then :
19025 ac_cv_c_string_h_warnings=no
19026 else $as_nop
19027 ac_cv_c_string_h_warnings=yes
19029 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19032 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19033 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19034 CFLAGS=$saved_string_h_CFLAGS
19037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19038 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19039 if test ${ac_cv_cflags__Wlogical_op+y}
19040 then :
19041 printf %s "(cached) " >&6
19042 else $as_nop
19043 ac_wine_try_cflags_saved=$CFLAGS
19044 CFLAGS="$CFLAGS -Wlogical-op"
19045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19046 /* end confdefs.h. */
19047 int main(int argc, char **argv) { return 0; }
19048 _ACEOF
19049 if ac_fn_c_try_link "$LINENO"
19050 then :
19051 ac_cv_cflags__Wlogical_op=yes
19052 else $as_nop
19053 ac_cv_cflags__Wlogical_op=no
19055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19056 conftest$ac_exeext conftest.$ac_ext
19057 CFLAGS=$ac_wine_try_cflags_saved
19059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19060 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19061 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19062 then :
19063 saved_string_h_CFLAGS=$CFLAGS
19064 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19066 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19067 if test ${ac_cv_c_logicalop_noisy+y}
19068 then :
19069 printf %s "(cached) " >&6
19070 else $as_nop
19071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19072 /* end confdefs.h. */
19073 #include <string.h>
19074 char*f(const char *h,char n) {return strchr(h,n);}
19076 main (void)
19080 return 0;
19082 _ACEOF
19083 if ac_fn_c_try_compile "$LINENO"
19084 then :
19085 ac_cv_c_logicalop_noisy=no
19086 else $as_nop
19087 ac_cv_c_logicalop_noisy=yes
19089 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19092 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19093 CFLAGS=$saved_string_h_CFLAGS
19094 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19098 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19099 if test ${wine_cv_64bit_compare_swap+y}
19100 then :
19101 printf %s "(cached) " >&6
19102 else $as_nop
19103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19104 /* end confdefs.h. */
19105 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19106 #error no
19107 #endif
19109 main (void)
19113 return 0;
19115 _ACEOF
19116 if ac_fn_c_try_compile "$LINENO"
19117 then :
19118 wine_cv_64bit_compare_swap="none needed"
19119 else $as_nop
19120 case $host_cpu in
19121 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19122 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19123 *) wine_cv_64bit_compare_swap="unknown" ;;
19124 esac
19125 if test "x$wine_cv_64bit_compare_swap" != xunknown
19126 then
19127 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19129 /* end confdefs.h. */
19130 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19131 #error no
19132 #endif
19134 main (void)
19138 return 0;
19140 _ACEOF
19141 if ac_fn_c_try_compile "$LINENO"
19142 then :
19144 else $as_nop
19145 wine_cv_64bit_compare_swap="unknown"
19147 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19148 CFLAGS=$saved_CFLAGS
19151 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19154 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19155 case "$wine_cv_64bit_compare_swap" in
19156 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19157 "none needed") ;;
19158 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19159 esac
19161 ac_debug_format_seen=""
19162 for ac_flag in $CFLAGS; do
19163 case $ac_flag in
19164 -gdwarf*) ac_debug_format_seen=yes ;;
19165 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19166 esac
19167 done
19168 if test "x$ac_debug_format_seen" = xdefault
19169 then
19170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19171 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19172 if test ${ac_cv_cflags__gdwarf_4+y}
19173 then :
19174 printf %s "(cached) " >&6
19175 else $as_nop
19176 ac_wine_try_cflags_saved=$CFLAGS
19177 CFLAGS="$CFLAGS -gdwarf-4"
19178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19179 /* end confdefs.h. */
19180 int main(int argc, char **argv) { return 0; }
19181 _ACEOF
19182 if ac_fn_c_try_link "$LINENO"
19183 then :
19184 ac_cv_cflags__gdwarf_4=yes
19185 else $as_nop
19186 ac_cv_cflags__gdwarf_4=no
19188 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19189 conftest$ac_exeext conftest.$ac_ext
19190 CFLAGS=$ac_wine_try_cflags_saved
19192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19193 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19194 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19195 then :
19196 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19200 MSVCRTFLAGS=""
19202 case $host_os in
19203 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19204 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19205 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19206 then :
19207 printf %s "(cached) " >&6
19208 else $as_nop
19209 ac_wine_try_cflags_saved=$CFLAGS
19210 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19212 /* end confdefs.h. */
19213 int main(int argc, char **argv) { return 0; }
19214 _ACEOF
19215 if ac_fn_c_try_link "$LINENO"
19216 then :
19217 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19218 else $as_nop
19219 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19222 conftest$ac_exeext conftest.$ac_ext
19223 CFLAGS=$ac_wine_try_cflags_saved
19225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19226 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19227 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19228 then :
19229 DELAYLOADFLAG="-Wl,-delayload,"
19231 fi ;;
19232 *) MSVCRTFLAGS="-D_WIN32"
19233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19234 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19235 if test ${ac_cv_cflags__fno_builtin+y}
19236 then :
19237 printf %s "(cached) " >&6
19238 else $as_nop
19239 ac_wine_try_cflags_saved=$CFLAGS
19240 CFLAGS="$CFLAGS -fno-builtin"
19241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19242 /* end confdefs.h. */
19243 int main(int argc, char **argv) { return 0; }
19244 _ACEOF
19245 if ac_fn_c_try_link "$LINENO"
19246 then :
19247 ac_cv_cflags__fno_builtin=yes
19248 else $as_nop
19249 ac_cv_cflags__fno_builtin=no
19251 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19252 conftest$ac_exeext conftest.$ac_ext
19253 CFLAGS=$ac_wine_try_cflags_saved
19255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19256 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19257 if test "x$ac_cv_cflags__fno_builtin" = xyes
19258 then :
19259 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19262 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19263 if test ${ac_cv_cflags__fshort_wchar+y}
19264 then :
19265 printf %s "(cached) " >&6
19266 else $as_nop
19267 ac_wine_try_cflags_saved=$CFLAGS
19268 CFLAGS="$CFLAGS -fshort-wchar"
19269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19270 /* end confdefs.h. */
19271 int main(int argc, char **argv) { return 0; }
19272 _ACEOF
19273 if ac_fn_c_try_link "$LINENO"
19274 then :
19275 ac_cv_cflags__fshort_wchar=yes
19276 else $as_nop
19277 ac_cv_cflags__fshort_wchar=no
19279 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19280 conftest$ac_exeext conftest.$ac_ext
19281 CFLAGS=$ac_wine_try_cflags_saved
19283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19284 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19285 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19286 then :
19287 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19290 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19291 if test ${ac_cv_cflags__Wno_format+y}
19292 then :
19293 printf %s "(cached) " >&6
19294 else $as_nop
19295 ac_wine_try_cflags_saved=$CFLAGS
19296 CFLAGS="$CFLAGS -Wno-format"
19297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19298 /* end confdefs.h. */
19299 int main(int argc, char **argv) { return 0; }
19300 _ACEOF
19301 if ac_fn_c_try_link "$LINENO"
19302 then :
19303 ac_cv_cflags__Wno_format=yes
19304 else $as_nop
19305 ac_cv_cflags__Wno_format=no
19307 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19308 conftest$ac_exeext conftest.$ac_ext
19309 CFLAGS=$ac_wine_try_cflags_saved
19311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19312 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19313 if test "x$ac_cv_cflags__Wno_format" = xyes
19314 then :
19315 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19316 fi ;;
19317 esac
19319 case $host_cpu in
19320 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19321 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19322 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19323 then :
19324 printf %s "(cached) " >&6
19325 else $as_nop
19326 ac_wine_try_cflags_saved=$CFLAGS
19327 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19329 /* end confdefs.h. */
19330 int main(int argc, char **argv) { return 0; }
19331 _ACEOF
19332 if ac_fn_c_try_link "$LINENO"
19333 then :
19334 ac_cv_cflags__fno_omit_frame_pointer=yes
19335 else $as_nop
19336 ac_cv_cflags__fno_omit_frame_pointer=no
19338 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19339 conftest$ac_exeext conftest.$ac_ext
19340 CFLAGS=$ac_wine_try_cflags_saved
19342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19343 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19344 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19345 then :
19346 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
19347 fi ;;
19348 *x86_64*)
19349 case $host_os in
19350 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19351 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19352 if test ${ac_cv_cflags__Wno_format+y}
19353 then :
19354 printf %s "(cached) " >&6
19355 else $as_nop
19356 ac_wine_try_cflags_saved=$CFLAGS
19357 CFLAGS="$CFLAGS -Wno-format"
19358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19359 /* end confdefs.h. */
19360 int main(int argc, char **argv) { return 0; }
19361 _ACEOF
19362 if ac_fn_c_try_link "$LINENO"
19363 then :
19364 ac_cv_cflags__Wno_format=yes
19365 else $as_nop
19366 ac_cv_cflags__Wno_format=no
19368 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19369 conftest$ac_exeext conftest.$ac_ext
19370 CFLAGS=$ac_wine_try_cflags_saved
19372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19373 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19374 if test "x$ac_cv_cflags__Wno_format" = xyes
19375 then :
19376 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19377 fi ;;
19378 *) if test -z "$CROSSTARGET"
19379 then
19380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19381 printf %s "checking for working -mabi=ms... " >&6; }
19382 if test ${ac_cv_mabi_ms+y}
19383 then :
19384 printf %s "(cached) " >&6
19385 else $as_nop
19386 CFLAGS="$CFLAGS -mabi=ms"
19387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19388 /* end confdefs.h. */
19389 #include <stdarg.h>
19390 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19392 main (void)
19396 return 0;
19398 _ACEOF
19399 if ac_fn_c_try_compile "$LINENO"
19400 then :
19401 ac_cv_mabi_ms=yes
19402 else $as_nop
19403 ac_cv_mabi_ms=no
19405 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19406 CFLAGS=$saved_CFLAGS
19408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19409 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19410 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
19412 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19413 esac ;;
19414 esac
19416 CFLAGS=$saved_CFLAGS
19418 if test "x$enable_werror" = "xyes"
19419 then
19420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19421 printf %s "checking whether the compiler supports -Werror... " >&6; }
19422 if test ${ac_cv_cflags__Werror+y}
19423 then :
19424 printf %s "(cached) " >&6
19425 else $as_nop
19426 ac_wine_try_cflags_saved=$CFLAGS
19427 CFLAGS="$CFLAGS -Werror"
19428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19429 /* end confdefs.h. */
19430 int main(int argc, char **argv) { return 0; }
19431 _ACEOF
19432 if ac_fn_c_try_link "$LINENO"
19433 then :
19434 ac_cv_cflags__Werror=yes
19435 else $as_nop
19436 ac_cv_cflags__Werror=no
19438 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19439 conftest$ac_exeext conftest.$ac_ext
19440 CFLAGS=$ac_wine_try_cflags_saved
19442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19443 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19444 if test "x$ac_cv_cflags__Werror" = xyes
19445 then :
19446 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19449 if test "x$enable_build_id" = "xyes"
19450 then
19451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19452 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19453 if test ${ac_cv_cflags__Wl___build_id+y}
19454 then :
19455 printf %s "(cached) " >&6
19456 else $as_nop
19457 ac_wine_try_cflags_saved=$CFLAGS
19458 CFLAGS="$CFLAGS -Wl,--build-id"
19459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19460 /* end confdefs.h. */
19461 int main(int argc, char **argv) { return 0; }
19462 _ACEOF
19463 if ac_fn_c_try_link "$LINENO"
19464 then :
19465 ac_cv_cflags__Wl___build_id=yes
19466 else $as_nop
19467 ac_cv_cflags__Wl___build_id=no
19469 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19470 conftest$ac_exeext conftest.$ac_ext
19471 CFLAGS=$ac_wine_try_cflags_saved
19473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19474 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19475 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19476 then :
19477 CFLAGS="$CFLAGS -Wl,--build-id"
19478 LDFLAGS="$LDFLAGS -Wl,--build-id"
19484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19485 printf %s "checking for the need to disable Fortify... " >&6; }
19486 if test ${ac_cv_c_fortify_enabled+y}
19487 then :
19488 printf %s "(cached) " >&6
19489 else $as_nop
19490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19491 /* end confdefs.h. */
19492 #include <string.h>
19494 main (void)
19496 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19497 #error Fortify enabled
19498 #endif
19500 return 0;
19502 _ACEOF
19503 if ac_fn_c_try_compile "$LINENO"
19504 then :
19505 ac_cv_c_fortify_enabled=no
19506 else $as_nop
19507 ac_cv_c_fortify_enabled=yes
19509 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19512 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19513 if test "$ac_cv_c_fortify_enabled" = yes
19514 then
19515 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19520 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19521 if test ${ac_cv_c_cfi_support+y}
19522 then :
19523 printf %s "(cached) " >&6
19524 else $as_nop
19525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19526 /* end confdefs.h. */
19527 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19529 main (void)
19533 return 0;
19535 _ACEOF
19536 if ac_fn_c_try_compile "$LINENO"
19537 then :
19538 ac_cv_c_cfi_support="yes"
19539 else $as_nop
19540 ac_cv_c_cfi_support="no"
19542 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19545 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19546 if test "$ac_cv_c_cfi_support" = "yes"
19547 then
19548 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19549 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19550 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19551 else
19552 if test "x$enable_win64" = "xyes"
19553 then
19554 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19559 case $host_os in
19560 linux*)
19561 case $host_cpu in
19562 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19563 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
19564 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19566 esac
19568 esac
19571 ac_save_CFLAGS="$CFLAGS"
19572 CFLAGS="$CFLAGS $BUILTINFLAG"
19573 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19574 if test "x$ac_cv_func_epoll_create" = xyes
19575 then :
19576 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19579 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19580 if test "x$ac_cv_func_fstatfs" = xyes
19581 then :
19582 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19585 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19586 if test "x$ac_cv_func_futimens" = xyes
19587 then :
19588 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19591 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19592 if test "x$ac_cv_func_futimes" = xyes
19593 then :
19594 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19597 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19598 if test "x$ac_cv_func_futimesat" = xyes
19599 then :
19600 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19603 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19604 if test "x$ac_cv_func_getattrlist" = xyes
19605 then :
19606 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19609 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19610 if test "x$ac_cv_func_getauxval" = xyes
19611 then :
19612 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19615 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19616 if test "x$ac_cv_func_getifaddrs" = xyes
19617 then :
19618 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19621 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19622 if test "x$ac_cv_func_getrandom" = xyes
19623 then :
19624 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19627 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19628 if test "x$ac_cv_func_kqueue" = xyes
19629 then :
19630 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19633 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19634 if test "x$ac_cv_func_mach_continuous_time" = xyes
19635 then :
19636 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19639 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19640 if test "x$ac_cv_func_pipe2" = xyes
19641 then :
19642 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19645 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19646 if test "x$ac_cv_func_port_create" = xyes
19647 then :
19648 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19651 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19652 if test "x$ac_cv_func_posix_fadvise" = xyes
19653 then :
19654 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19657 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19658 if test "x$ac_cv_func_posix_fallocate" = xyes
19659 then :
19660 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19663 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19664 if test "x$ac_cv_func_prctl" = xyes
19665 then :
19666 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19669 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19670 if test "x$ac_cv_func_proc_pidinfo" = xyes
19671 then :
19672 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19675 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19676 if test "x$ac_cv_func_sched_yield" = xyes
19677 then :
19678 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19681 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19682 if test "x$ac_cv_func_setproctitle" = xyes
19683 then :
19684 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19687 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19688 if test "x$ac_cv_func_setprogname" = xyes
19689 then :
19690 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19693 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19694 if test "x$ac_cv_func_sigprocmask" = xyes
19695 then :
19696 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19699 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19700 if test "x$ac_cv_func_sysinfo" = xyes
19701 then :
19702 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19705 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19706 if test "x$ac_cv_func_tcdrain" = xyes
19707 then :
19708 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19711 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19712 if test "x$ac_cv_func_thr_kill2" = xyes
19713 then :
19714 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19718 CFLAGS="$ac_save_CFLAGS"
19720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19721 printf %s "checking for library containing dlopen... " >&6; }
19722 if test ${ac_cv_search_dlopen+y}
19723 then :
19724 printf %s "(cached) " >&6
19725 else $as_nop
19726 ac_func_search_save_LIBS=$LIBS
19727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19728 /* end confdefs.h. */
19730 /* Override any GCC internal prototype to avoid an error.
19731 Use char because int might match the return type of a GCC
19732 builtin and then its argument prototype would still apply. */
19733 char dlopen ();
19735 main (void)
19737 return dlopen ();
19739 return 0;
19741 _ACEOF
19742 for ac_lib in '' dl
19744 if test -z "$ac_lib"; then
19745 ac_res="none required"
19746 else
19747 ac_res=-l$ac_lib
19748 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19750 if ac_fn_c_try_link "$LINENO"
19751 then :
19752 ac_cv_search_dlopen=$ac_res
19754 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19755 conftest$ac_exeext
19756 if test ${ac_cv_search_dlopen+y}
19757 then :
19758 break
19760 done
19761 if test ${ac_cv_search_dlopen+y}
19762 then :
19764 else $as_nop
19765 ac_cv_search_dlopen=no
19767 rm conftest.$ac_ext
19768 LIBS=$ac_func_search_save_LIBS
19770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19771 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19772 ac_res=$ac_cv_search_dlopen
19773 if test "$ac_res" != no
19774 then :
19775 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19779 ac_wine_check_funcs_save_LIBS="$LIBS"
19780 LIBS="$LIBS $DL_LIBS"
19781 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19782 if test "x$ac_cv_func_dlinfo" = xyes
19783 then :
19784 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19788 LIBS="$ac_wine_check_funcs_save_LIBS"
19790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19791 printf %s "checking for library containing gethostbyname... " >&6; }
19792 if test ${ac_cv_search_gethostbyname+y}
19793 then :
19794 printf %s "(cached) " >&6
19795 else $as_nop
19796 ac_func_search_save_LIBS=$LIBS
19797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19798 /* end confdefs.h. */
19800 /* Override any GCC internal prototype to avoid an error.
19801 Use char because int might match the return type of a GCC
19802 builtin and then its argument prototype would still apply. */
19803 char gethostbyname ();
19805 main (void)
19807 return gethostbyname ();
19809 return 0;
19811 _ACEOF
19812 for ac_lib in '' nsl
19814 if test -z "$ac_lib"; then
19815 ac_res="none required"
19816 else
19817 ac_res=-l$ac_lib
19818 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19820 if ac_fn_c_try_link "$LINENO"
19821 then :
19822 ac_cv_search_gethostbyname=$ac_res
19824 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19825 conftest$ac_exeext
19826 if test ${ac_cv_search_gethostbyname+y}
19827 then :
19828 break
19830 done
19831 if test ${ac_cv_search_gethostbyname+y}
19832 then :
19834 else $as_nop
19835 ac_cv_search_gethostbyname=no
19837 rm conftest.$ac_ext
19838 LIBS=$ac_func_search_save_LIBS
19840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19841 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19842 ac_res=$ac_cv_search_gethostbyname
19843 if test "$ac_res" != no
19844 then :
19845 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19851 printf %s "checking for library containing connect... " >&6; }
19852 if test ${ac_cv_search_connect+y}
19853 then :
19854 printf %s "(cached) " >&6
19855 else $as_nop
19856 ac_func_search_save_LIBS=$LIBS
19857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19858 /* end confdefs.h. */
19860 /* Override any GCC internal prototype to avoid an error.
19861 Use char because int might match the return type of a GCC
19862 builtin and then its argument prototype would still apply. */
19863 char connect ();
19865 main (void)
19867 return connect ();
19869 return 0;
19871 _ACEOF
19872 for ac_lib in '' socket
19874 if test -z "$ac_lib"; then
19875 ac_res="none required"
19876 else
19877 ac_res=-l$ac_lib
19878 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19880 if ac_fn_c_try_link "$LINENO"
19881 then :
19882 ac_cv_search_connect=$ac_res
19884 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19885 conftest$ac_exeext
19886 if test ${ac_cv_search_connect+y}
19887 then :
19888 break
19890 done
19891 if test ${ac_cv_search_connect+y}
19892 then :
19894 else $as_nop
19895 ac_cv_search_connect=no
19897 rm conftest.$ac_ext
19898 LIBS=$ac_func_search_save_LIBS
19900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19901 printf "%s\n" "$ac_cv_search_connect" >&6; }
19902 ac_res=$ac_cv_search_connect
19903 if test "$ac_res" != no
19904 then :
19905 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19911 printf %s "checking for library containing inet_aton... " >&6; }
19912 if test ${ac_cv_search_inet_aton+y}
19913 then :
19914 printf %s "(cached) " >&6
19915 else $as_nop
19916 ac_func_search_save_LIBS=$LIBS
19917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19918 /* end confdefs.h. */
19920 /* Override any GCC internal prototype to avoid an error.
19921 Use char because int might match the return type of a GCC
19922 builtin and then its argument prototype would still apply. */
19923 char inet_aton ();
19925 main (void)
19927 return inet_aton ();
19929 return 0;
19931 _ACEOF
19932 for ac_lib in '' resolv
19934 if test -z "$ac_lib"; then
19935 ac_res="none required"
19936 else
19937 ac_res=-l$ac_lib
19938 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19940 if ac_fn_c_try_link "$LINENO"
19941 then :
19942 ac_cv_search_inet_aton=$ac_res
19944 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19945 conftest$ac_exeext
19946 if test ${ac_cv_search_inet_aton+y}
19947 then :
19948 break
19950 done
19951 if test ${ac_cv_search_inet_aton+y}
19952 then :
19954 else $as_nop
19955 ac_cv_search_inet_aton=no
19957 rm conftest.$ac_ext
19958 LIBS=$ac_func_search_save_LIBS
19960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19961 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19962 ac_res=$ac_cv_search_inet_aton
19963 if test "$ac_res" != no
19964 then :
19965 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19970 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19971 if test "x$ac_cv_func_getaddrinfo" = xyes
19972 then :
19973 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19978 case $host_os in
19979 darwin*|macosx*) ;;
19980 *) ac_save_LIBS=$LIBS
19981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19982 printf %s "checking for library containing clock_gettime... " >&6; }
19983 if test ${ac_cv_search_clock_gettime+y}
19984 then :
19985 printf %s "(cached) " >&6
19986 else $as_nop
19987 ac_func_search_save_LIBS=$LIBS
19988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19989 /* end confdefs.h. */
19991 /* Override any GCC internal prototype to avoid an error.
19992 Use char because int might match the return type of a GCC
19993 builtin and then its argument prototype would still apply. */
19994 char clock_gettime ();
19996 main (void)
19998 return clock_gettime ();
20000 return 0;
20002 _ACEOF
20003 for ac_lib in '' rt
20005 if test -z "$ac_lib"; then
20006 ac_res="none required"
20007 else
20008 ac_res=-l$ac_lib
20009 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20011 if ac_fn_c_try_link "$LINENO"
20012 then :
20013 ac_cv_search_clock_gettime=$ac_res
20015 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20016 conftest$ac_exeext
20017 if test ${ac_cv_search_clock_gettime+y}
20018 then :
20019 break
20021 done
20022 if test ${ac_cv_search_clock_gettime+y}
20023 then :
20025 else $as_nop
20026 ac_cv_search_clock_gettime=no
20028 rm conftest.$ac_ext
20029 LIBS=$ac_func_search_save_LIBS
20031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20032 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20033 ac_res=$ac_cv_search_clock_gettime
20034 if test "$ac_res" != no
20035 then :
20036 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20038 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20040 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20044 LIBS=$ac_save_LIBS
20046 esac
20048 if test "x$with_ldap" != "xno"
20049 then
20050 if ${LDAP_CFLAGS:+false} :
20051 then :
20052 if test ${PKG_CONFIG+y}
20053 then :
20054 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
20058 if ${LDAP_LIBS:+false} :
20059 then :
20060 if test ${PKG_CONFIG+y}
20061 then :
20062 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
20066 LDAP_LIBS=${LDAP_LIBS:-"-lldap -llber"}
20067 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
20068 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
20069 ac_save_CPPFLAGS=$CPPFLAGS
20070 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
20071 ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
20072 if test "x$ac_cv_header_ldap_h" = xyes
20073 then :
20074 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
20077 ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
20078 if test "x$ac_cv_header_lber_h" = xyes
20079 then :
20080 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
20084 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
20085 then
20086 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
20088 if test "x$ac_cv_type_LDAPSortKey" = xyes
20089 then :
20090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
20091 printf %s "checking for ldap_initialize in -lldap... " >&6; }
20092 if test ${ac_cv_lib_ldap_ldap_initialize+y}
20093 then :
20094 printf %s "(cached) " >&6
20095 else $as_nop
20096 ac_check_lib_save_LIBS=$LIBS
20097 LIBS="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20099 /* end confdefs.h. */
20101 /* Override any GCC internal prototype to avoid an error.
20102 Use char because int might match the return type of a GCC
20103 builtin and then its argument prototype would still apply. */
20104 char ldap_initialize ();
20106 main (void)
20108 return ldap_initialize ();
20110 return 0;
20112 _ACEOF
20113 if ac_fn_c_try_link "$LINENO"
20114 then :
20115 ac_cv_lib_ldap_ldap_initialize=yes
20116 else $as_nop
20117 ac_cv_lib_ldap_ldap_initialize=no
20119 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20120 conftest$ac_exeext conftest.$ac_ext
20121 LIBS=$ac_check_lib_save_LIBS
20123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
20124 printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
20125 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
20126 then :
20127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20128 printf %s "checking for ber_init in -llber... " >&6; }
20129 if test ${ac_cv_lib_lber_ber_init+y}
20130 then :
20131 printf %s "(cached) " >&6
20132 else $as_nop
20133 ac_check_lib_save_LIBS=$LIBS
20134 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20136 /* end confdefs.h. */
20138 /* Override any GCC internal prototype to avoid an error.
20139 Use char because int might match the return type of a GCC
20140 builtin and then its argument prototype would still apply. */
20141 char ber_init ();
20143 main (void)
20145 return ber_init ();
20147 return 0;
20149 _ACEOF
20150 if ac_fn_c_try_link "$LINENO"
20151 then :
20152 ac_cv_lib_lber_ber_init=yes
20153 else $as_nop
20154 ac_cv_lib_lber_ber_init=no
20156 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20157 conftest$ac_exeext conftest.$ac_ext
20158 LIBS=$ac_check_lib_save_LIBS
20160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20161 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20162 if test "x$ac_cv_lib_lber_ber_init" = xyes
20163 then :
20165 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20167 else $as_nop
20168 LDAP_LIBS=""
20171 else $as_nop
20172 LDAP_LIBS=""
20175 else $as_nop
20176 LDAP_LIBS=""
20179 else
20180 LDAP_LIBS=""
20182 CPPFLAGS=$ac_save_CPPFLAGS
20185 if test "x$LDAP_LIBS" = "x"
20186 then :
20187 case "x$with_ldap" in
20188 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20189 xno) ;;
20190 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20191 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20192 esac
20196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20197 printf %s "checking for sched_setaffinity... " >&6; }
20198 if test ${wine_cv_have_sched_setaffinity+y}
20199 then :
20200 printf %s "(cached) " >&6
20201 else $as_nop
20202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20203 /* end confdefs.h. */
20204 #include <sched.h>
20206 main (void)
20208 sched_setaffinity(0, 0, 0);
20210 return 0;
20212 _ACEOF
20213 if ac_fn_c_try_link "$LINENO"
20214 then :
20215 wine_cv_have_sched_setaffinity=yes
20216 else $as_nop
20217 wine_cv_have_sched_setaffinity=no
20219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20220 conftest$ac_exeext conftest.$ac_ext
20222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20223 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20224 if test "$wine_cv_have_sched_setaffinity" = "yes"
20225 then
20227 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20233 printf %s "checking for inline... " >&6; }
20234 if test ${ac_cv_c_inline+y}
20235 then :
20236 printf %s "(cached) " >&6
20237 else $as_nop
20238 ac_cv_c_inline=no
20239 for ac_kw in inline __inline__ __inline; do
20240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20241 /* end confdefs.h. */
20242 #ifndef __cplusplus
20243 typedef int foo_t;
20244 static $ac_kw foo_t static_foo (void) {return 0; }
20245 $ac_kw foo_t foo (void) {return 0; }
20246 #endif
20248 _ACEOF
20249 if ac_fn_c_try_compile "$LINENO"
20250 then :
20251 ac_cv_c_inline=$ac_kw
20253 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20254 test "$ac_cv_c_inline" != no && break
20255 done
20258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20259 printf "%s\n" "$ac_cv_c_inline" >&6; }
20261 case $ac_cv_c_inline in
20262 inline | yes) ;;
20264 case $ac_cv_c_inline in
20265 no) ac_val=;;
20266 *) ac_val=$ac_cv_c_inline;;
20267 esac
20268 cat >>confdefs.h <<_ACEOF
20269 #ifndef __cplusplus
20270 #define inline $ac_val
20271 #endif
20272 _ACEOF
20274 esac
20276 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20277 #include <signal.h>
20279 if test "x$ac_cv_type_sigset_t" = xyes
20280 then :
20282 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20287 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20289 if test "x$ac_cv_type_request_sense" = xyes
20290 then :
20292 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20298 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20299 #include <sys/socket.h>
20300 #ifdef HAVE_SYS_SOCKETVAR_H
20301 #include <sys/socketvar.h>
20302 #endif
20303 #ifdef HAVE_NET_ROUTE_H
20304 #include <net/route.h>
20305 #endif
20306 #ifdef HAVE_NETINET_IN_H
20307 #include <netinet/in.h>
20308 #endif
20309 #ifdef HAVE_NETINET_IN_SYSTM_H
20310 #include <netinet/in_systm.h>
20311 #endif
20312 #ifdef HAVE_NETINET_IP_H
20313 #include <netinet/ip.h>
20314 #endif
20315 #ifdef HAVE_NETINET_IN_PCB_H
20316 #include <netinet/in_pcb.h>
20317 #endif
20319 if test "x$ac_cv_type_struct_xinpgen" = xyes
20320 then :
20322 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20329 printf %s "checking for sigaddset... " >&6; }
20330 if test ${wine_cv_have_sigaddset+y}
20331 then :
20332 printf %s "(cached) " >&6
20333 else $as_nop
20334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20335 /* end confdefs.h. */
20336 #include <signal.h>
20338 main (void)
20340 sigset_t set; sigaddset(&set,SIGTERM);
20342 return 0;
20344 _ACEOF
20345 if ac_fn_c_try_link "$LINENO"
20346 then :
20347 wine_cv_have_sigaddset=yes
20348 else $as_nop
20349 wine_cv_have_sigaddset=no
20351 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20352 conftest$ac_exeext conftest.$ac_ext
20354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20355 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20356 if test "$wine_cv_have_sigaddset" = "yes"
20357 then
20359 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20365 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20366 if test ${wine_cv_linux_gethostbyname_r_6+y}
20367 then :
20368 printf %s "(cached) " >&6
20369 else $as_nop
20370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20371 /* end confdefs.h. */
20372 #include <netdb.h>
20374 main (void)
20377 char *name=0;
20378 struct hostent he;
20379 struct hostent *result;
20380 char *buf=0;
20381 int bufsize=0;
20382 int errnr;
20383 char *addr=0;
20384 int addrlen=0;
20385 int addrtype=0;
20386 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20387 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20390 return 0;
20392 _ACEOF
20393 if ac_fn_c_try_link "$LINENO"
20394 then :
20395 wine_cv_linux_gethostbyname_r_6=yes
20396 else $as_nop
20397 wine_cv_linux_gethostbyname_r_6=no
20400 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20401 conftest$ac_exeext conftest.$ac_ext
20404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20405 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20406 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20407 then
20409 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20413 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20414 #include <sys/socket.h>
20415 #ifdef HAVE_SYS_UN_H
20416 # include <sys/un.h>
20417 #endif
20419 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20420 then :
20422 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20426 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20427 #include <sys/socket.h>
20428 #ifdef HAVE_SYS_UN_H
20429 # include <sys/un.h>
20430 #endif
20432 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20433 then :
20435 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20441 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20442 #ifdef HAVE_SCSI_SG_H
20443 #include <scsi/sg.h>
20444 #endif
20446 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20447 then :
20449 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20453 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>
20454 #ifdef HAVE_SCSI_SG_H
20455 #include <scsi/sg.h>
20456 #endif
20458 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20459 then :
20461 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20467 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20469 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20470 then :
20472 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20478 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20479 #ifdef HAVE_SYS_MTIO_H
20480 #include <sys/mtio.h>
20481 #endif
20483 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20484 then :
20486 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20490 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20491 #ifdef HAVE_SYS_MTIO_H
20492 #include <sys/mtio.h>
20493 #endif
20495 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20496 then :
20498 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20502 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20503 #ifdef HAVE_SYS_MTIO_H
20504 #include <sys/mtio.h>
20505 #endif
20507 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20508 then :
20510 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20516 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20517 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20518 then :
20520 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20524 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20525 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20526 then :
20528 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20532 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20533 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20534 then :
20536 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20540 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20541 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20542 then :
20544 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20548 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20549 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20550 then :
20552 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20556 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20557 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20558 then :
20560 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20564 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20565 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20566 then :
20568 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20572 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20573 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20574 then :
20576 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20580 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20581 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20582 then :
20584 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20588 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20589 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20590 then :
20592 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20596 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20597 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20598 then :
20600 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20606 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>
20607 #ifdef HAVE_NETINET_IN_H
20608 #include <netinet/in.h>
20609 #endif
20611 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20612 then :
20614 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20620 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
20621 #include <resolv.h>
20622 #endif
20624 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20625 then :
20627 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20633 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20634 #include <netinet/in.h>
20635 #endif
20637 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20638 then :
20640 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20646 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20647 #ifdef HAVE_SYS_SOCKETVAR_H
20648 #include <sys/socketvar.h>
20649 #endif
20650 #ifdef HAVE_NETINET_IN_H
20651 #include <netinet/in.h>
20652 #endif
20653 #ifdef HAVE_NETINET_IP_VAR_H
20654 #include <netinet/ip_var.h>
20655 #endif
20657 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20658 then :
20660 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20666 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
20667 #include <netinet/ip_var.h>
20668 #endif
20670 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20671 then :
20673 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20679 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20680 #ifdef HAVE_SYS_SOCKETVAR_H
20681 #include <sys/socketvar.h>
20682 #endif
20683 #ifdef HAVE_NETINET_IN_H
20684 #include <netinet/in.h>
20685 #endif
20686 #ifdef HAVE_NETINET6_IP6_VAR_H
20687 #include <netinet6/ip6_var.h>
20688 #endif
20690 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20691 then :
20693 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20699 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20700 #ifdef HAVE_SYS_SOCKETVAR_H
20701 #include <sys/socketvar.h>
20702 #endif
20703 #ifdef HAVE_NETINET_IN_H
20704 #include <netinet/in.h>
20705 #endif
20706 #ifdef HAVE_NETINET_IP_H
20707 #include <netinet/ip.h>
20708 #endif
20709 #ifdef HAVE_NETINET_IP_ICMP_H
20710 #include <netinet/ip_icmp.h>
20711 #endif
20712 #ifdef HAVE_NETINET_ICMP_VAR_H
20713 #include <netinet/icmp_var.h>
20714 #endif
20716 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20717 then :
20719 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20725 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20726 #ifdef HAVE_SYS_SOCKETVAR_H
20727 #include <sys/socketvar.h>
20728 #endif
20729 #ifdef HAVE_NETINET_IN_H
20730 #include <netinet/in.h>
20731 #endif
20732 #ifdef HAVE_NETINET_ICMP6_H
20733 #include <netinet/icmp6.h>
20734 #endif
20736 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20737 then :
20739 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20745 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20746 #ifdef HAVE_SYS_SOCKETVAR_H
20747 #include <sys/socketvar.h>
20748 #endif
20749 #ifdef HAVE_NETINET_IN_H
20750 #include <netinet/in.h>
20751 #endif
20752 #ifdef HAVE_NETINET_TCP_H
20753 #include <netinet/tcp.h>
20754 #endif
20755 #ifdef HAVE_NETINET_TCP_VAR_H
20756 #include <netinet/tcp_var.h>
20757 #endif
20759 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20760 then :
20762 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20768 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
20769 #include <netinet/tcp_var.h>
20770 #endif
20772 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20773 then :
20775 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20781 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20782 #ifdef HAVE_NETINET_IN_H
20783 #include <netinet/in.h>
20784 #endif
20785 #ifdef HAVE_NETINET_IP_VAR_H
20786 #include <netinet/ip_var.h>
20787 #endif
20788 #ifdef HAVE_NETINET_UDP_H
20789 #include <netinet/udp.h>
20790 #endif
20791 #ifdef HAVE_NETINET_UDP_VAR_H
20792 #include <netinet/udp_var.h>
20793 #endif
20795 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20796 then :
20798 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20804 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20805 #ifdef HAVE_NET_IF_H
20806 # include <net/if.h>
20807 #endif
20809 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20810 then :
20812 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20818 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20819 # include <sys/sysinfo.h>
20820 #endif
20822 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20823 then :
20825 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20829 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20830 # include <sys/sysinfo.h>
20831 #endif
20833 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20834 then :
20836 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20842 LIBS="$ac_save_LIBS"
20844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20845 printf %s "checking for __builtin_popcount... " >&6; }
20846 if test ${ac_cv_have___builtin_popcount+y}
20847 then :
20848 printf %s "(cached) " >&6
20849 else $as_nop
20850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20851 /* end confdefs.h. */
20854 main (void)
20856 return __builtin_popcount(1)
20858 return 0;
20860 _ACEOF
20861 if ac_fn_c_try_link "$LINENO"
20862 then :
20863 ac_cv_have___builtin_popcount="yes"
20864 else $as_nop
20865 ac_cv_have___builtin_popcount="no"
20867 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20868 conftest$ac_exeext conftest.$ac_ext
20870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20871 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20872 if test "$ac_cv_have___builtin_popcount" = "yes"
20873 then
20875 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20880 printf %s "checking for __clear_cache... " >&6; }
20881 if test ${ac_cv_have___clear_cache+y}
20882 then :
20883 printf %s "(cached) " >&6
20884 else $as_nop
20885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20886 /* end confdefs.h. */
20889 main (void)
20891 __clear_cache((void*)0, (void*)0); return 0;
20893 return 0;
20895 _ACEOF
20896 if ac_fn_c_try_link "$LINENO"
20897 then :
20898 ac_cv_have___clear_cache="yes"
20899 else $as_nop
20900 ac_cv_have___clear_cache="no"
20902 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20903 conftest$ac_exeext conftest.$ac_ext
20905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20906 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20907 if test "$ac_cv_have___clear_cache" = "yes"
20908 then
20910 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20915 case $host_cpu in
20916 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20917 printf %s "checking whether we need to define __i386__... " >&6; }
20918 if test ${ac_cv_cpp_def___i386__+y}
20919 then :
20920 printf %s "(cached) " >&6
20921 else $as_nop
20922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20923 /* end confdefs.h. */
20924 #ifndef __i386__
20926 #endif
20927 _ACEOF
20928 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20929 $EGREP "yes" >/dev/null 2>&1
20930 then :
20931 ac_cv_cpp_def___i386__=yes
20932 else $as_nop
20933 ac_cv_cpp_def___i386__=no
20935 rm -rf conftest*
20938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20939 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20940 if test "x$ac_cv_cpp_def___i386__" = xyes
20941 then :
20942 CFLAGS="$CFLAGS -D__i386__"
20943 LINTFLAGS="$LINTFLAGS -D__i386__"
20944 fi ;;
20945 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20946 printf %s "checking whether we need to define __x86_64__... " >&6; }
20947 if test ${ac_cv_cpp_def___x86_64__+y}
20948 then :
20949 printf %s "(cached) " >&6
20950 else $as_nop
20951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20952 /* end confdefs.h. */
20953 #ifndef __x86_64__
20955 #endif
20956 _ACEOF
20957 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20958 $EGREP "yes" >/dev/null 2>&1
20959 then :
20960 ac_cv_cpp_def___x86_64__=yes
20961 else $as_nop
20962 ac_cv_cpp_def___x86_64__=no
20964 rm -rf conftest*
20967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20968 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20969 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20970 then :
20971 CFLAGS="$CFLAGS -D__x86_64__"
20972 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20973 fi ;;
20974 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20975 printf %s "checking whether we need to define __sparc64__... " >&6; }
20976 if test ${ac_cv_cpp_def___sparc64__+y}
20977 then :
20978 printf %s "(cached) " >&6
20979 else $as_nop
20980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20981 /* end confdefs.h. */
20982 #ifndef __sparc64__
20984 #endif
20985 _ACEOF
20986 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20987 $EGREP "yes" >/dev/null 2>&1
20988 then :
20989 ac_cv_cpp_def___sparc64__=yes
20990 else $as_nop
20991 ac_cv_cpp_def___sparc64__=no
20993 rm -rf conftest*
20996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20997 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20998 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20999 then :
21000 CFLAGS="$CFLAGS -D__sparc64__"
21001 LINTFLAGS="$LINTFLAGS -D__sparc64__"
21002 fi ;;
21003 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21004 printf %s "checking whether we need to define __sparc__... " >&6; }
21005 if test ${ac_cv_cpp_def___sparc__+y}
21006 then :
21007 printf %s "(cached) " >&6
21008 else $as_nop
21009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21010 /* end confdefs.h. */
21011 #ifndef __sparc__
21013 #endif
21014 _ACEOF
21015 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21016 $EGREP "yes" >/dev/null 2>&1
21017 then :
21018 ac_cv_cpp_def___sparc__=yes
21019 else $as_nop
21020 ac_cv_cpp_def___sparc__=no
21022 rm -rf conftest*
21025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21026 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21027 if test "x$ac_cv_cpp_def___sparc__" = xyes
21028 then :
21029 CFLAGS="$CFLAGS -D__sparc__"
21030 LINTFLAGS="$LINTFLAGS -D__sparc__"
21031 fi ;;
21032 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21033 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21034 if test ${ac_cv_cpp_def___powerpc64__+y}
21035 then :
21036 printf %s "(cached) " >&6
21037 else $as_nop
21038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21039 /* end confdefs.h. */
21040 #ifndef __powerpc64__
21042 #endif
21043 _ACEOF
21044 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21045 $EGREP "yes" >/dev/null 2>&1
21046 then :
21047 ac_cv_cpp_def___powerpc64__=yes
21048 else $as_nop
21049 ac_cv_cpp_def___powerpc64__=no
21051 rm -rf conftest*
21054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21055 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21056 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21057 then :
21058 CFLAGS="$CFLAGS -D__powerpc64__"
21059 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21060 fi ;;
21061 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21062 printf %s "checking whether we need to define __powerpc__... " >&6; }
21063 if test ${ac_cv_cpp_def___powerpc__+y}
21064 then :
21065 printf %s "(cached) " >&6
21066 else $as_nop
21067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21068 /* end confdefs.h. */
21069 #ifndef __powerpc__
21071 #endif
21072 _ACEOF
21073 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21074 $EGREP "yes" >/dev/null 2>&1
21075 then :
21076 ac_cv_cpp_def___powerpc__=yes
21077 else $as_nop
21078 ac_cv_cpp_def___powerpc__=no
21080 rm -rf conftest*
21083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21084 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21085 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21086 then :
21087 CFLAGS="$CFLAGS -D__powerpc__"
21088 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21089 fi ;;
21090 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21091 printf %s "checking whether we need to define __aarch64__... " >&6; }
21092 if test ${ac_cv_cpp_def___aarch64__+y}
21093 then :
21094 printf %s "(cached) " >&6
21095 else $as_nop
21096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21097 /* end confdefs.h. */
21098 #ifndef __aarch64__
21100 #endif
21101 _ACEOF
21102 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21103 $EGREP "yes" >/dev/null 2>&1
21104 then :
21105 ac_cv_cpp_def___aarch64__=yes
21106 else $as_nop
21107 ac_cv_cpp_def___aarch64__=no
21109 rm -rf conftest*
21112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21113 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21114 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21115 then :
21116 CFLAGS="$CFLAGS -D__aarch64__"
21117 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21118 fi ;;
21119 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21120 printf %s "checking whether we need to define __arm__... " >&6; }
21121 if test ${ac_cv_cpp_def___arm__+y}
21122 then :
21123 printf %s "(cached) " >&6
21124 else $as_nop
21125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21126 /* end confdefs.h. */
21127 #ifndef __arm__
21129 #endif
21130 _ACEOF
21131 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21132 $EGREP "yes" >/dev/null 2>&1
21133 then :
21134 ac_cv_cpp_def___arm__=yes
21135 else $as_nop
21136 ac_cv_cpp_def___arm__=no
21138 rm -rf conftest*
21141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21142 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21143 if test "x$ac_cv_cpp_def___arm__" = xyes
21144 then :
21145 CFLAGS="$CFLAGS -D__arm__"
21146 LINTFLAGS="$LINTFLAGS -D__arm__"
21147 fi ;;
21148 esac
21150 case $host_vendor in
21151 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21152 printf %s "checking whether we need to define __sun__... " >&6; }
21153 if test ${ac_cv_cpp_def___sun__+y}
21154 then :
21155 printf %s "(cached) " >&6
21156 else $as_nop
21157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21158 /* end confdefs.h. */
21159 #ifndef __sun__
21161 #endif
21162 _ACEOF
21163 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21164 $EGREP "yes" >/dev/null 2>&1
21165 then :
21166 ac_cv_cpp_def___sun__=yes
21167 else $as_nop
21168 ac_cv_cpp_def___sun__=no
21170 rm -rf conftest*
21173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21174 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21175 if test "x$ac_cv_cpp_def___sun__" = xyes
21176 then :
21177 CFLAGS="$CFLAGS -D__sun__"
21178 LINTFLAGS="$LINTFLAGS -D__sun__"
21179 fi ;;
21180 esac
21186 ac_config_commands="$ac_config_commands include/stamp-h"
21188 printf %s "creating Makefile rules..." >&6
21190 makedep_flags=""
21191 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21193 wine_srcdir=
21194 test "$srcdir" = . || wine_srcdir="$srcdir/"
21196 ac_config_links="$ac_config_links wine:tools/winewrapper"
21197 wine_fn_config_symlink wine
21198 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
21199 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21200 wine_fn_config_symlink wine64
21203 wine_fn_config_makefile dlls/acledit enable_acledit
21204 wine_fn_config_makefile dlls/aclui enable_aclui
21205 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21206 wine_fn_config_makefile dlls/activeds enable_activeds
21207 wine_fn_config_makefile dlls/activeds/tests enable_tests
21208 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21209 wine_fn_config_makefile dlls/adsldp enable_adsldp
21210 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21211 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21212 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21213 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21214 wine_fn_config_makefile dlls/advpack enable_advpack
21215 wine_fn_config_makefile dlls/advpack/tests enable_tests
21216 wine_fn_config_makefile dlls/amsi enable_amsi
21217 wine_fn_config_makefile dlls/amstream enable_amstream
21218 wine_fn_config_makefile dlls/amstream/tests enable_tests
21219 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21220 wine_fn_config_makefile dlls/apphelp enable_apphelp
21221 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21222 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21223 wine_fn_config_makefile dlls/atl enable_atl
21224 wine_fn_config_makefile dlls/atl/tests enable_tests
21225 wine_fn_config_makefile dlls/atl100 enable_atl100
21226 wine_fn_config_makefile dlls/atl100/tests enable_tests
21227 wine_fn_config_makefile dlls/atl110 enable_atl110
21228 wine_fn_config_makefile dlls/atl80 enable_atl80
21229 wine_fn_config_makefile dlls/atl80/tests enable_tests
21230 wine_fn_config_makefile dlls/atl90 enable_atl90
21231 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21232 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21233 wine_fn_config_makefile dlls/atmlib enable_atmlib
21234 wine_fn_config_makefile dlls/authz enable_authz
21235 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21236 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21237 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21238 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21239 wine_fn_config_makefile dlls/avrt enable_avrt
21240 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21241 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21242 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21243 wine_fn_config_makefile dlls/browseui enable_browseui
21244 wine_fn_config_makefile dlls/browseui/tests enable_tests
21245 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21246 wine_fn_config_makefile dlls/cabinet enable_cabinet
21247 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21248 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21249 wine_fn_config_makefile dlls/cards enable_cards
21250 wine_fn_config_makefile dlls/cdosys enable_cdosys
21251 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21252 wine_fn_config_makefile dlls/clusapi enable_clusapi
21253 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21254 wine_fn_config_makefile dlls/combase enable_combase
21255 wine_fn_config_makefile dlls/combase/tests enable_tests
21256 wine_fn_config_makefile dlls/comcat enable_comcat
21257 wine_fn_config_makefile dlls/comcat/tests enable_tests
21258 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21259 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21260 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21261 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21262 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21263 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21264 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21265 wine_fn_config_makefile dlls/compstui enable_compstui
21266 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21267 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21268 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21269 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21270 wine_fn_config_makefile dlls/connect enable_connect
21271 wine_fn_config_makefile dlls/credui enable_credui
21272 wine_fn_config_makefile dlls/credui/tests enable_tests
21273 wine_fn_config_makefile dlls/crtdll enable_crtdll
21274 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21275 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21276 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21277 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21278 wine_fn_config_makefile dlls/cryptext enable_cryptext
21279 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21280 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21281 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21282 wine_fn_config_makefile dlls/cryptui enable_cryptui
21283 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21284 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21285 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21286 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21287 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21288 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21289 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21290 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21291 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21292 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21293 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21294 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21295 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21296 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21297 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21298 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21299 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21300 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21301 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21302 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21303 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21304 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21305 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21306 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21307 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21308 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21309 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21310 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21311 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21312 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21313 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21314 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21315 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21316 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21317 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21318 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21319 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21320 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21321 wine_fn_config_makefile dlls/d3dim enable_d3dim
21322 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21323 wine_fn_config_makefile dlls/d3drm enable_d3drm
21324 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21325 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21326 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21327 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21328 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21329 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21330 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21331 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21332 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21333 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21334 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21335 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21336 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21337 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21338 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21339 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21340 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21341 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21342 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21343 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21344 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21345 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21346 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21347 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21348 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21349 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21350 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21351 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21352 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21353 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21354 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21355 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21356 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21357 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21358 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21359 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21360 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21361 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21362 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21363 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21364 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21365 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21366 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21367 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21368 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21369 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21370 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21371 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21372 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21373 wine_fn_config_makefile dlls/davclnt enable_davclnt
21374 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21375 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21376 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21377 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21378 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21379 wine_fn_config_makefile dlls/dcomp enable_dcomp
21380 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21381 wine_fn_config_makefile dlls/ddraw enable_ddraw
21382 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21383 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21384 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21385 wine_fn_config_makefile dlls/devenum enable_devenum
21386 wine_fn_config_makefile dlls/devenum/tests enable_tests
21387 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21388 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21389 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21390 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21391 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21392 wine_fn_config_makefile dlls/difxapi enable_difxapi
21393 wine_fn_config_makefile dlls/dinput enable_dinput
21394 wine_fn_config_makefile dlls/dinput/tests enable_tests
21395 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21396 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21397 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21398 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21399 wine_fn_config_makefile dlls/dispex enable_dispex
21400 wine_fn_config_makefile dlls/dispex/tests enable_tests
21401 wine_fn_config_makefile dlls/display.drv16 enable_win16
21402 wine_fn_config_makefile dlls/dmband enable_dmband
21403 wine_fn_config_makefile dlls/dmband/tests enable_tests
21404 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21405 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21406 wine_fn_config_makefile dlls/dmime enable_dmime
21407 wine_fn_config_makefile dlls/dmime/tests enable_tests
21408 wine_fn_config_makefile dlls/dmloader enable_dmloader
21409 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21410 wine_fn_config_makefile dlls/dmscript enable_dmscript
21411 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21412 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21413 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21414 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21415 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21416 wine_fn_config_makefile dlls/dmusic enable_dmusic
21417 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21418 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21419 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21420 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21421 wine_fn_config_makefile dlls/dplay enable_dplay
21422 wine_fn_config_makefile dlls/dplayx enable_dplayx
21423 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21424 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21425 wine_fn_config_makefile dlls/dpnet enable_dpnet
21426 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21427 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21428 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21429 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21430 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21431 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21432 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21433 wine_fn_config_makefile dlls/drmclien enable_drmclien
21434 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21435 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21436 wine_fn_config_makefile dlls/dsound enable_dsound
21437 wine_fn_config_makefile dlls/dsound/tests enable_tests
21438 wine_fn_config_makefile dlls/dsquery enable_dsquery
21439 wine_fn_config_makefile dlls/dssenh enable_dssenh
21440 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21441 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21442 wine_fn_config_makefile dlls/dswave enable_dswave
21443 wine_fn_config_makefile dlls/dswave/tests enable_tests
21444 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21445 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21446 wine_fn_config_makefile dlls/dwrite enable_dwrite
21447 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21448 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21449 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21450 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21451 wine_fn_config_makefile dlls/dxgi enable_dxgi
21452 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21453 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21454 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21455 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21456 wine_fn_config_makefile dlls/esent enable_esent
21457 wine_fn_config_makefile dlls/evr enable_evr
21458 wine_fn_config_makefile dlls/evr/tests enable_tests
21459 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21460 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21461 wine_fn_config_makefile dlls/faultrep enable_faultrep
21462 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21463 wine_fn_config_makefile dlls/feclient enable_feclient
21464 wine_fn_config_makefile dlls/fltlib enable_fltlib
21465 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21466 wine_fn_config_makefile dlls/fntcache enable_fntcache
21467 wine_fn_config_makefile dlls/fontsub enable_fontsub
21468 wine_fn_config_makefile dlls/fusion enable_fusion
21469 wine_fn_config_makefile dlls/fusion/tests enable_tests
21470 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21471 wine_fn_config_makefile dlls/gameux enable_gameux
21472 wine_fn_config_makefile dlls/gameux/tests enable_tests
21473 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21474 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21475 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21476 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21477 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21478 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21479 wine_fn_config_makefile dlls/glu32 enable_glu32
21480 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21481 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21482 wine_fn_config_makefile dlls/hal enable_hal
21483 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21484 wine_fn_config_makefile dlls/hid enable_hid
21485 wine_fn_config_makefile dlls/hid/tests enable_tests
21486 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21487 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21488 wine_fn_config_makefile dlls/hlink enable_hlink
21489 wine_fn_config_makefile dlls/hlink/tests enable_tests
21490 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21491 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21492 wine_fn_config_makefile dlls/http.sys enable_http_sys
21493 wine_fn_config_makefile dlls/httpapi enable_httpapi
21494 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21495 wine_fn_config_makefile dlls/iccvid enable_iccvid
21496 wine_fn_config_makefile dlls/icmp enable_icmp
21497 wine_fn_config_makefile dlls/ieframe enable_ieframe
21498 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21499 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21500 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21501 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21502 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21503 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21504 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21505 wine_fn_config_makefile dlls/imm32 enable_imm32
21506 wine_fn_config_makefile dlls/imm32/tests enable_tests
21507 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21508 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21509 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21510 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21511 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21512 wine_fn_config_makefile dlls/infosoft enable_infosoft
21513 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21514 wine_fn_config_makefile dlls/initpki enable_initpki
21515 wine_fn_config_makefile dlls/inkobj enable_inkobj
21516 wine_fn_config_makefile dlls/inseng enable_inseng
21517 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21518 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21519 wine_fn_config_makefile dlls/iprop enable_iprop
21520 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21521 wine_fn_config_makefile dlls/itircl enable_itircl
21522 wine_fn_config_makefile dlls/itss enable_itss
21523 wine_fn_config_makefile dlls/itss/tests enable_tests
21524 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21525 wine_fn_config_makefile dlls/jscript enable_jscript
21526 wine_fn_config_makefile dlls/jscript/tests enable_tests
21527 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21528 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21529 wine_fn_config_makefile dlls/kerberos enable_kerberos
21530 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21531 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21532 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21533 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21534 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21535 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21536 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21537 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21538 wine_fn_config_makefile dlls/ksuser enable_ksuser
21539 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21540 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21541 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21542 wine_fn_config_makefile dlls/loadperf enable_loadperf
21543 wine_fn_config_makefile dlls/localspl enable_localspl
21544 wine_fn_config_makefile dlls/localspl/tests enable_tests
21545 wine_fn_config_makefile dlls/localui enable_localui
21546 wine_fn_config_makefile dlls/localui/tests enable_tests
21547 wine_fn_config_makefile dlls/lz32 enable_lz32
21548 wine_fn_config_makefile dlls/lz32/tests enable_tests
21549 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21550 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21551 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21552 wine_fn_config_makefile dlls/mapistub enable_mapistub
21553 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21554 wine_fn_config_makefile dlls/mcicda enable_mcicda
21555 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21556 wine_fn_config_makefile dlls/mciseq enable_mciseq
21557 wine_fn_config_makefile dlls/mciwave enable_mciwave
21558 wine_fn_config_makefile dlls/mf enable_mf
21559 wine_fn_config_makefile dlls/mf/tests enable_tests
21560 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21561 wine_fn_config_makefile dlls/mferror enable_mferror
21562 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21563 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21564 wine_fn_config_makefile dlls/mfplat enable_mfplat
21565 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21566 wine_fn_config_makefile dlls/mfplay enable_mfplay
21567 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21568 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21569 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21570 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21571 wine_fn_config_makefile dlls/midimap enable_midimap
21572 wine_fn_config_makefile dlls/mlang enable_mlang
21573 wine_fn_config_makefile dlls/mlang/tests enable_tests
21574 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21575 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21576 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21577 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21578 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21579 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21580 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21581 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21582 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21583 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21584 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21585 wine_fn_config_makefile dlls/mpr enable_mpr
21586 wine_fn_config_makefile dlls/mpr/tests enable_tests
21587 wine_fn_config_makefile dlls/mprapi enable_mprapi
21588 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21589 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21590 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21591 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21592 wine_fn_config_makefile dlls/msado15 enable_msado15
21593 wine_fn_config_makefile dlls/msado15/tests enable_tests
21594 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21595 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21596 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21597 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21598 wine_fn_config_makefile dlls/mscms enable_mscms
21599 wine_fn_config_makefile dlls/mscms/tests enable_tests
21600 wine_fn_config_makefile dlls/mscoree enable_mscoree
21601 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21602 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21603 wine_fn_config_makefile dlls/msctf enable_msctf
21604 wine_fn_config_makefile dlls/msctf/tests enable_tests
21605 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21606 wine_fn_config_makefile dlls/msctfp enable_msctfp
21607 wine_fn_config_makefile dlls/msdaps enable_msdaps
21608 wine_fn_config_makefile dlls/msdasql enable_msdasql
21609 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21610 wine_fn_config_makefile dlls/msdelta enable_msdelta
21611 wine_fn_config_makefile dlls/msdmo enable_msdmo
21612 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21613 wine_fn_config_makefile dlls/msdrm enable_msdrm
21614 wine_fn_config_makefile dlls/msftedit enable_msftedit
21615 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21616 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21617 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21618 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21619 wine_fn_config_makefile dlls/mshtml enable_mshtml
21620 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21621 wine_fn_config_makefile dlls/msi enable_msi
21622 wine_fn_config_makefile dlls/msi/tests enable_tests
21623 wine_fn_config_makefile dlls/msident enable_msident
21624 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21625 wine_fn_config_makefile dlls/msimsg enable_msimsg
21626 wine_fn_config_makefile dlls/msimtf enable_msimtf
21627 wine_fn_config_makefile dlls/msisip enable_msisip
21628 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21629 wine_fn_config_makefile dlls/msls31 enable_msls31
21630 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21631 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21632 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21633 wine_fn_config_makefile dlls/msports enable_msports
21634 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21635 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21636 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21637 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21638 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21639 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21640 wine_fn_config_makefile dlls/mstask enable_mstask
21641 wine_fn_config_makefile dlls/mstask/tests enable_tests
21642 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21643 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21644 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21645 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21646 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21647 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21648 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21649 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21650 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21651 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21652 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21653 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21654 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21655 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21656 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21657 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21658 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21659 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21660 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21661 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21662 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21663 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21664 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21665 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21666 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21667 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21668 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21669 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21670 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21671 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21672 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21673 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21674 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21675 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21676 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21677 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21678 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21679 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21680 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21681 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21682 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21683 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21684 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21685 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21686 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21687 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21688 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21689 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21690 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21691 wine_fn_config_makefile dlls/mswsock enable_mswsock
21692 wine_fn_config_makefile dlls/msxml enable_msxml
21693 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21694 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21695 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21696 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21697 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21698 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21699 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21700 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21701 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21702 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21703 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21704 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21705 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21706 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21707 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21708 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21709 wine_fn_config_makefile dlls/netprofm enable_netprofm
21710 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21711 wine_fn_config_makefile dlls/netutils enable_netutils
21712 wine_fn_config_makefile dlls/newdev enable_newdev
21713 wine_fn_config_makefile dlls/ninput enable_ninput
21714 wine_fn_config_makefile dlls/ninput/tests enable_tests
21715 wine_fn_config_makefile dlls/normaliz enable_normaliz
21716 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21717 wine_fn_config_makefile dlls/npptools enable_npptools
21718 wine_fn_config_makefile dlls/nsi enable_nsi
21719 wine_fn_config_makefile dlls/nsi/tests enable_tests
21720 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21721 wine_fn_config_makefile dlls/ntdll enable_ntdll
21722 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21723 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21724 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21725 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21726 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21727 wine_fn_config_makefile dlls/ntprint enable_ntprint
21728 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21729 wine_fn_config_makefile dlls/objsel enable_objsel
21730 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21731 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21732 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21733 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21734 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21735 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21736 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21737 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21738 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21739 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21740 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21741 wine_fn_config_makefile dlls/ole32 enable_ole32
21742 wine_fn_config_makefile dlls/ole32/tests enable_tests
21743 wine_fn_config_makefile dlls/oleacc enable_oleacc
21744 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21745 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21746 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21747 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21748 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21749 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21750 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21751 wine_fn_config_makefile dlls/oledlg enable_oledlg
21752 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21753 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21754 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21755 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21756 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21757 wine_fn_config_makefile dlls/opcservices enable_opcservices
21758 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21759 wine_fn_config_makefile dlls/openal32 enable_openal32
21760 wine_fn_config_makefile dlls/opencl enable_opencl
21761 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21762 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21763 wine_fn_config_makefile dlls/packager enable_packager
21764 wine_fn_config_makefile dlls/packager/tests enable_tests
21765 wine_fn_config_makefile dlls/pdh enable_pdh
21766 wine_fn_config_makefile dlls/pdh/tests enable_tests
21767 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21768 wine_fn_config_makefile dlls/pidgen enable_pidgen
21769 wine_fn_config_makefile dlls/powrprof enable_powrprof
21770 wine_fn_config_makefile dlls/printui enable_printui
21771 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21772 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21773 wine_fn_config_makefile dlls/propsys enable_propsys
21774 wine_fn_config_makefile dlls/propsys/tests enable_tests
21775 wine_fn_config_makefile dlls/psapi enable_psapi
21776 wine_fn_config_makefile dlls/psapi/tests enable_tests
21777 wine_fn_config_makefile dlls/pstorec enable_pstorec
21778 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21779 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21780 wine_fn_config_makefile dlls/qasf enable_qasf
21781 wine_fn_config_makefile dlls/qasf/tests enable_tests
21782 wine_fn_config_makefile dlls/qcap enable_qcap
21783 wine_fn_config_makefile dlls/qcap/tests enable_tests
21784 wine_fn_config_makefile dlls/qdvd enable_qdvd
21785 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21786 wine_fn_config_makefile dlls/qedit enable_qedit
21787 wine_fn_config_makefile dlls/qedit/tests enable_tests
21788 wine_fn_config_makefile dlls/qmgr enable_qmgr
21789 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21790 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21791 wine_fn_config_makefile dlls/quartz enable_quartz
21792 wine_fn_config_makefile dlls/quartz/tests enable_tests
21793 wine_fn_config_makefile dlls/query enable_query
21794 wine_fn_config_makefile dlls/qwave enable_qwave
21795 wine_fn_config_makefile dlls/qwave/tests enable_tests
21796 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21797 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21798 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21799 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21800 wine_fn_config_makefile dlls/regapi enable_regapi
21801 wine_fn_config_makefile dlls/resutils enable_resutils
21802 wine_fn_config_makefile dlls/riched20 enable_riched20
21803 wine_fn_config_makefile dlls/riched20/tests enable_tests
21804 wine_fn_config_makefile dlls/riched32 enable_riched32
21805 wine_fn_config_makefile dlls/riched32/tests enable_tests
21806 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21807 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21808 wine_fn_config_makefile dlls/rsabase enable_rsabase
21809 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21810 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21811 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21812 wine_fn_config_makefile dlls/rtutils enable_rtutils
21813 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21814 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21815 wine_fn_config_makefile dlls/samlib enable_samlib
21816 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21817 wine_fn_config_makefile dlls/sapi enable_sapi
21818 wine_fn_config_makefile dlls/sapi/tests enable_tests
21819 wine_fn_config_makefile dlls/sas enable_sas
21820 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21821 wine_fn_config_makefile dlls/sccbase enable_sccbase
21822 wine_fn_config_makefile dlls/schannel enable_schannel
21823 wine_fn_config_makefile dlls/schannel/tests enable_tests
21824 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21825 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21826 wine_fn_config_makefile dlls/scrobj enable_scrobj
21827 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21828 wine_fn_config_makefile dlls/scrrun enable_scrrun
21829 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21830 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21831 wine_fn_config_makefile dlls/sechost enable_sechost
21832 wine_fn_config_makefile dlls/secur32 enable_secur32
21833 wine_fn_config_makefile dlls/secur32/tests enable_tests
21834 wine_fn_config_makefile dlls/security enable_security
21835 wine_fn_config_makefile dlls/sensapi enable_sensapi
21836 wine_fn_config_makefile dlls/serialui enable_serialui
21837 wine_fn_config_makefile dlls/serialui/tests enable_tests
21838 wine_fn_config_makefile dlls/setupapi enable_setupapi
21839 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21840 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21841 wine_fn_config_makefile dlls/sfc enable_sfc
21842 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21843 wine_fn_config_makefile dlls/shcore enable_shcore
21844 wine_fn_config_makefile dlls/shcore/tests enable_tests
21845 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21846 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21847 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21848 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21849 wine_fn_config_makefile dlls/shell32 enable_shell32
21850 wine_fn_config_makefile dlls/shell32/tests enable_tests
21851 wine_fn_config_makefile dlls/shfolder enable_shfolder
21852 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21853 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21854 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21855 wine_fn_config_makefile dlls/slc enable_slc
21856 wine_fn_config_makefile dlls/slc/tests enable_tests
21857 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21858 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21859 wine_fn_config_makefile dlls/softpub enable_softpub
21860 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21861 wine_fn_config_makefile dlls/spoolss enable_spoolss
21862 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21863 wine_fn_config_makefile dlls/sppc enable_sppc
21864 wine_fn_config_makefile dlls/srclient enable_srclient
21865 wine_fn_config_makefile dlls/srvcli enable_srvcli
21866 wine_fn_config_makefile dlls/sspicli enable_sspicli
21867 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21868 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21869 wine_fn_config_makefile dlls/sti enable_sti
21870 wine_fn_config_makefile dlls/sti/tests enable_tests
21871 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21872 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21873 wine_fn_config_makefile dlls/strmdll enable_strmdll
21874 wine_fn_config_makefile dlls/svrapi enable_svrapi
21875 wine_fn_config_makefile dlls/sxs enable_sxs
21876 wine_fn_config_makefile dlls/sxs/tests enable_tests
21877 wine_fn_config_makefile dlls/system.drv16 enable_win16
21878 wine_fn_config_makefile dlls/t2embed enable_t2embed
21879 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21880 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21881 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21882 wine_fn_config_makefile dlls/taskschd enable_taskschd
21883 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21884 wine_fn_config_makefile dlls/tbs enable_tbs
21885 wine_fn_config_makefile dlls/tdh enable_tdh
21886 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21887 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21888 wine_fn_config_makefile dlls/traffic enable_traffic
21889 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21890 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21891 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21892 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21893 wine_fn_config_makefile dlls/tzres enable_tzres
21894 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21895 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21896 wine_fn_config_makefile dlls/uianimation enable_uianimation
21897 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21898 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21899 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21900 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21901 wine_fn_config_makefile dlls/unicows enable_unicows
21902 wine_fn_config_makefile dlls/updspapi enable_updspapi
21903 wine_fn_config_makefile dlls/url enable_url
21904 wine_fn_config_makefile dlls/urlmon enable_urlmon
21905 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21906 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21907 wine_fn_config_makefile dlls/user.exe16 enable_win16
21908 wine_fn_config_makefile dlls/user32 enable_user32
21909 wine_fn_config_makefile dlls/user32/tests enable_tests
21910 wine_fn_config_makefile dlls/userenv enable_userenv
21911 wine_fn_config_makefile dlls/userenv/tests enable_tests
21912 wine_fn_config_makefile dlls/usp10 enable_usp10
21913 wine_fn_config_makefile dlls/usp10/tests enable_tests
21914 wine_fn_config_makefile dlls/utildll enable_utildll
21915 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21916 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21917 wine_fn_config_makefile dlls/vbscript enable_vbscript
21918 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21919 wine_fn_config_makefile dlls/vcomp enable_vcomp
21920 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21921 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21922 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21923 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21924 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21925 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21926 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21927 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21928 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21929 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21930 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21931 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21932 wine_fn_config_makefile dlls/version enable_version
21933 wine_fn_config_makefile dlls/version/tests enable_tests
21934 wine_fn_config_makefile dlls/vga enable_vga
21935 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21936 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21937 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21938 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21939 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21940 wine_fn_config_makefile dlls/vssapi enable_vssapi
21941 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21942 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21943 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21944 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21945 wine_fn_config_makefile dlls/w32skrnl enable_win16
21946 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21947 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21948 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21949 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21950 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21951 wine_fn_config_makefile dlls/wdscore enable_wdscore
21952 wine_fn_config_makefile dlls/webservices enable_webservices
21953 wine_fn_config_makefile dlls/webservices/tests enable_tests
21954 wine_fn_config_makefile dlls/websocket enable_websocket
21955 wine_fn_config_makefile dlls/wer enable_wer
21956 wine_fn_config_makefile dlls/wer/tests enable_tests
21957 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21958 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21959 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21960 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21961 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21962 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21963 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21964 wine_fn_config_makefile dlls/win32u enable_win32u
21965 wine_fn_config_makefile dlls/win32u/tests enable_tests
21966 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21967 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21968 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21969 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21970 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21971 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21972 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21973 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21974 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21975 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21976 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21977 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21978 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21979 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21980 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21981 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21982 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21983 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21984 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21985 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21986 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21987 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21988 wine_fn_config_makefile dlls/wined3d enable_wined3d
21989 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21990 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21991 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21992 wine_fn_config_makefile dlls/winemapi enable_winemapi
21993 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21994 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21995 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21996 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21997 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21998 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21999 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22000 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22001 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22002 wine_fn_config_makefile dlls/wing32 enable_wing32
22003 wine_fn_config_makefile dlls/winhttp enable_winhttp
22004 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22005 wine_fn_config_makefile dlls/wininet enable_wininet
22006 wine_fn_config_makefile dlls/wininet/tests enable_tests
22007 wine_fn_config_makefile dlls/winmm enable_winmm
22008 wine_fn_config_makefile dlls/winmm/tests enable_tests
22009 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22010 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22011 wine_fn_config_makefile dlls/winscard enable_winscard
22012 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22013 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22014 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22015 wine_fn_config_makefile dlls/winsta enable_winsta
22016 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22017 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22018 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22019 wine_fn_config_makefile dlls/wintrust enable_wintrust
22020 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22021 wine_fn_config_makefile dlls/wintypes enable_wintypes
22022 wine_fn_config_makefile dlls/wintypes/tests enable_tests
22023 wine_fn_config_makefile dlls/winusb enable_winusb
22024 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22025 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22026 wine_fn_config_makefile dlls/wlanui enable_wlanui
22027 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22028 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22029 wine_fn_config_makefile dlls/wmasf enable_wmasf
22030 wine_fn_config_makefile dlls/wmi enable_wmi
22031 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22032 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22033 wine_fn_config_makefile dlls/wmp enable_wmp
22034 wine_fn_config_makefile dlls/wmp/tests enable_tests
22035 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22036 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22037 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22038 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22039 wine_fn_config_makefile dlls/wow32 enable_win16
22040 wine_fn_config_makefile dlls/wow64 enable_wow64
22041 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22042 wine_fn_config_makefile dlls/wow64win enable_wow64win
22043 wine_fn_config_makefile dlls/wpc enable_wpc
22044 wine_fn_config_makefile dlls/wpc/tests enable_tests
22045 wine_fn_config_makefile dlls/wpcap enable_wpcap
22046 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22047 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22048 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22049 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22050 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22051 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22052 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22053 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22054 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22055 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22056 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22057 wine_fn_config_makefile dlls/wuapi enable_wuapi
22058 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22059 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22060 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22061 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22062 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22063 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22064 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22065 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22066 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22067 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22068 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22069 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22070 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22071 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22072 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22073 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22074 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22075 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22076 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22077 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22078 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22079 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22080 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22081 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22082 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22083 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22084 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22085 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22086 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22087 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22088 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22089 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22090 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22091 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22092 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22093 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22094 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22095 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22096 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22097 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22098 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22099 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22100 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22101 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22102 wine_fn_config_makefile dlls/xmllite enable_xmllite
22103 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22104 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22105 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22106 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22107 wine_fn_config_makefile fonts enable_fonts
22108 wine_fn_config_makefile include enable_include
22109 wine_fn_config_makefile libs/adsiid enable_adsiid
22110 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22111 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22112 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22113 wine_fn_config_makefile libs/dxguid enable_dxguid
22114 wine_fn_config_makefile libs/faudio enable_faudio
22115 wine_fn_config_makefile libs/gsm enable_gsm
22116 wine_fn_config_makefile libs/jpeg enable_jpeg
22117 wine_fn_config_makefile libs/jxr enable_jxr
22118 wine_fn_config_makefile libs/lcms2 enable_lcms2
22119 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22120 wine_fn_config_makefile libs/mpg123 enable_mpg123
22121 wine_fn_config_makefile libs/png enable_png
22122 wine_fn_config_makefile libs/strmbase enable_strmbase
22123 wine_fn_config_makefile libs/strmiids enable_strmiids
22124 wine_fn_config_makefile libs/tiff enable_tiff
22125 wine_fn_config_makefile libs/uuid enable_uuid
22126 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22127 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22128 wine_fn_config_makefile libs/wine enable_wine
22129 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22130 wine_fn_config_makefile libs/xml2 enable_xml2
22131 wine_fn_config_makefile libs/xslt enable_xslt
22132 wine_fn_config_makefile libs/zlib enable_zlib
22133 wine_fn_config_makefile loader enable_loader
22134 wine_fn_config_makefile nls enable_nls
22135 wine_fn_config_makefile po enable_po
22136 wine_fn_config_makefile programs/arp enable_arp
22137 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22138 wine_fn_config_makefile programs/attrib enable_attrib
22139 wine_fn_config_makefile programs/cabarc enable_cabarc
22140 wine_fn_config_makefile programs/cacls enable_cacls
22141 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22142 wine_fn_config_makefile programs/clock enable_clock
22143 wine_fn_config_makefile programs/cmd enable_cmd
22144 wine_fn_config_makefile programs/cmd/tests enable_tests
22145 wine_fn_config_makefile programs/conhost enable_conhost
22146 wine_fn_config_makefile programs/conhost/tests enable_tests
22147 wine_fn_config_makefile programs/control enable_control
22148 wine_fn_config_makefile programs/cscript enable_cscript
22149 wine_fn_config_makefile programs/dism enable_dism
22150 wine_fn_config_makefile programs/dllhost enable_dllhost
22151 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22152 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22153 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22154 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22155 wine_fn_config_makefile programs/eject enable_eject
22156 wine_fn_config_makefile programs/expand enable_expand
22157 wine_fn_config_makefile programs/explorer enable_explorer
22158 wine_fn_config_makefile programs/extrac32 enable_extrac32
22159 wine_fn_config_makefile programs/fc enable_fc
22160 wine_fn_config_makefile programs/find enable_find
22161 wine_fn_config_makefile programs/find/tests enable_tests
22162 wine_fn_config_makefile programs/findstr enable_findstr
22163 wine_fn_config_makefile programs/fsutil enable_fsutil
22164 wine_fn_config_makefile programs/fsutil/tests enable_tests
22165 wine_fn_config_makefile programs/hh enable_hh
22166 wine_fn_config_makefile programs/hostname enable_hostname
22167 wine_fn_config_makefile programs/icacls enable_icacls
22168 wine_fn_config_makefile programs/icinfo enable_icinfo
22169 wine_fn_config_makefile programs/iexplore enable_iexplore
22170 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22171 wine_fn_config_makefile programs/lodctr enable_lodctr
22172 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22173 wine_fn_config_makefile programs/mshta enable_mshta
22174 wine_fn_config_makefile programs/msidb enable_msidb
22175 wine_fn_config_makefile programs/msiexec enable_msiexec
22176 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22177 wine_fn_config_makefile programs/net enable_net
22178 wine_fn_config_makefile programs/netsh enable_netsh
22179 wine_fn_config_makefile programs/netstat enable_netstat
22180 wine_fn_config_makefile programs/ngen enable_ngen
22181 wine_fn_config_makefile programs/notepad enable_notepad
22182 wine_fn_config_makefile programs/oleview enable_oleview
22183 wine_fn_config_makefile programs/ping enable_ping
22184 wine_fn_config_makefile programs/plugplay enable_plugplay
22185 wine_fn_config_makefile programs/powershell enable_powershell
22186 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22187 wine_fn_config_makefile programs/progman enable_progman
22188 wine_fn_config_makefile programs/reg enable_reg
22189 wine_fn_config_makefile programs/reg/tests enable_tests
22190 wine_fn_config_makefile programs/regasm enable_regasm
22191 wine_fn_config_makefile programs/regedit enable_regedit
22192 wine_fn_config_makefile programs/regedit/tests enable_tests
22193 wine_fn_config_makefile programs/regini enable_regini
22194 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22195 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22196 wine_fn_config_makefile programs/robocopy enable_robocopy
22197 wine_fn_config_makefile programs/rpcss enable_rpcss
22198 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22199 wine_fn_config_makefile programs/rundll32 enable_rundll32
22200 wine_fn_config_makefile programs/sc enable_sc
22201 wine_fn_config_makefile programs/sc/tests enable_tests
22202 wine_fn_config_makefile programs/schtasks enable_schtasks
22203 wine_fn_config_makefile programs/schtasks/tests enable_tests
22204 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22205 wine_fn_config_makefile programs/secedit enable_secedit
22206 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22207 wine_fn_config_makefile programs/services enable_services
22208 wine_fn_config_makefile programs/services/tests enable_tests
22209 wine_fn_config_makefile programs/shutdown enable_shutdown
22210 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22211 wine_fn_config_makefile programs/start enable_start
22212 wine_fn_config_makefile programs/subst enable_subst
22213 wine_fn_config_makefile programs/svchost enable_svchost
22214 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22215 wine_fn_config_makefile programs/taskkill enable_taskkill
22216 wine_fn_config_makefile programs/tasklist enable_tasklist
22217 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22218 wine_fn_config_makefile programs/termsv enable_termsv
22219 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22220 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22221 wine_fn_config_makefile programs/view enable_view
22222 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22223 wine_fn_config_makefile programs/where enable_where
22224 wine_fn_config_makefile programs/whoami enable_whoami
22225 wine_fn_config_makefile programs/wineboot enable_wineboot
22226 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22227 wine_fn_config_makefile programs/winecfg enable_winecfg
22228 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22229 wine_fn_config_makefile programs/winedbg enable_winedbg
22230 wine_fn_config_makefile programs/winedevice enable_winedevice
22231 wine_fn_config_makefile programs/winefile enable_winefile
22232 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22233 wine_fn_config_makefile programs/winemine enable_winemine
22234 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22235 wine_fn_config_makefile programs/winepath enable_winepath
22236 wine_fn_config_makefile programs/winetest enable_winetest
22237 wine_fn_config_makefile programs/winevdm enable_win16
22238 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22239 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22240 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22241 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22242 wine_fn_config_makefile programs/winver enable_winver
22243 wine_fn_config_makefile programs/wmic enable_wmic
22244 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22245 wine_fn_config_makefile programs/wordpad enable_wordpad
22246 wine_fn_config_makefile programs/write enable_write
22247 wine_fn_config_makefile programs/wscript enable_wscript
22248 wine_fn_config_makefile programs/wscript/tests enable_tests
22249 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22250 wine_fn_config_makefile programs/wusa enable_wusa
22251 wine_fn_config_makefile programs/xcopy enable_xcopy
22252 wine_fn_config_makefile programs/xcopy/tests enable_tests
22253 wine_fn_config_makefile server enable_server
22254 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22255 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22256 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22257 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22258 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22259 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22260 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22261 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22262 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22265 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
22266 wine_fn_append_file CONFIGURE_TARGETS "tags"
22267 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
22268 wine_fn_append_file CONFIGURE_TARGETS "config.log"
22269 wine_fn_append_file CONFIGURE_TARGETS "config.status"
22270 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
22271 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
22272 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
22274 if test "x$enable_tools" != xno
22275 then
22276 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
22277 ac_config_commands="$ac_config_commands tools/makedep"
22281 ac_config_commands="$ac_config_commands Makefile"
22285 SHELL=/bin/sh
22288 wine_fn_append_rule "all: wine
22289 @echo \"Wine build complete.\"
22290 .INIT: Makefile
22291 .MAKEFILEDEPS:
22292 all: Makefile
22293 Makefile: config.status \$(MAKEDEP)
22294 @./config.status Makefile
22295 depend: \$(MAKEDEP)
22296 \$(MAKEDEP)$makedep_flags"
22299 wine_fn_append_rule "config.status: ${wine_srcdir}configure
22300 @./config.status --recheck
22301 include/config.h: include/stamp-h
22302 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22303 @./config.status include/config.h include/stamp-h"
22305 if test "x$enable_maintainer_mode" = xyes
22306 then
22307 wine_fn_append_rule "configure: configure.ac aclocal.m4
22308 autoconf --warnings=all
22309 include/config.h.in: include/stamp-h.in
22310 include/stamp-h.in: configure.ac aclocal.m4
22311 autoheader --warnings=all
22312 @echo timestamp > \$@"
22315 if test "x$enable_tools" != xno
22316 then
22317 wine_fn_append_rule "tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22318 @./config.status tools/makedep
22319 Makefile: tools/makedep$ac_exeext"
22320 else
22321 wine_fn_append_rule "\$(MAKEDEP):
22322 @echo \"You need to run make in $toolsdir first\" && false"
22326 if test -n "$with_wine64"
22327 then
22328 case "$with_wine64" in
22329 /*) reldir="" ;;
22330 *) reldir="../" ;;
22331 esac
22332 rm -f fonts server 2>/dev/null
22333 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22334 loader/wine64 loader/wine64-preloader:
22335 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22336 $with_wine64/loader/wine:
22337 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22338 $with_wine64/loader/wine-preloader:
22339 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22340 clean::
22341 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22342 else
22343 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22344 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22345 fonts \
22346 loader/wine.inf \
22347 nls \
22348 programs/msidb/msidb \
22349 programs/msiexec/msiexec \
22350 programs/notepad/notepad \
22351 programs/regedit/regedit \
22352 programs/regsvr32/regsvr32 \
22353 programs/wineboot/wineboot \
22354 programs/winecfg/winecfg \
22355 programs/wineconsole/wineconsole \
22356 programs/winedbg/winedbg \
22357 programs/winefile/winefile \
22358 programs/winemine/winemine \
22359 programs/winepath/winepath \
22360 server/wineserver"
22362 case $host_os in
22363 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22364 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22365 esac
22369 wine_fn_append_rule "distclean:: clean
22370 rm -rf autom4te.cache
22371 maintainer-clean::
22372 rm -f configure include/config.h.in"
22375 wine_fn_append_rule "dlls/ntdll/unix/version.c: dummy
22376 @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)
22377 programs/winetest/build.rc: dummy
22378 @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)
22379 programs/winetest/build.nfo:
22380 @-\$(CC) -v 2>\$@
22381 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
22382 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22383 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22386 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22388 wine_fn_append_rule "TAGS etags:
22389 rm -f TAGS
22390 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22391 tags ctags:
22392 rm -f tags
22393 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22394 dummy:
22395 .PHONY: depend dummy install-manpages"
22397 printf "%s\n" " done" >&6
22398 cat >confcache <<\_ACEOF
22399 # This file is a shell script that caches the results of configure
22400 # tests run on this system so they can be shared between configure
22401 # scripts and configure runs, see configure's option --config-cache.
22402 # It is not useful on other systems. If it contains results you don't
22403 # want to keep, you may remove or edit it.
22405 # config.status only pays attention to the cache file if you give it
22406 # the --recheck option to rerun configure.
22408 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22409 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22410 # following values.
22412 _ACEOF
22414 # The following way of writing the cache mishandles newlines in values,
22415 # but we know of no workaround that is simple, portable, and efficient.
22416 # So, we kill variables containing newlines.
22417 # Ultrix sh set writes to stderr and can't be redirected directly,
22418 # and sets the high bit in the cache file unless we assign to the vars.
22420 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22421 eval ac_val=\$$ac_var
22422 case $ac_val in #(
22423 *${as_nl}*)
22424 case $ac_var in #(
22425 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22426 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22427 esac
22428 case $ac_var in #(
22429 _ | IFS | as_nl) ;; #(
22430 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22431 *) { eval $ac_var=; unset $ac_var;} ;;
22432 esac ;;
22433 esac
22434 done
22436 (set) 2>&1 |
22437 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22438 *${as_nl}ac_space=\ *)
22439 # `set' does not quote correctly, so add quotes: double-quote
22440 # substitution turns \\\\ into \\, and sed turns \\ into \.
22441 sed -n \
22442 "s/'/'\\\\''/g;
22443 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22444 ;; #(
22446 # `set' quotes correctly as required by POSIX, so do not add quotes.
22447 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22449 esac |
22450 sort
22452 sed '
22453 /^ac_cv_env_/b end
22454 t clear
22455 :clear
22456 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22457 t end
22458 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22459 :end' >>confcache
22460 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22461 if test -w "$cache_file"; then
22462 if test "x$cache_file" != "x/dev/null"; then
22463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22464 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22465 if test ! -f "$cache_file" || test -h "$cache_file"; then
22466 cat confcache >"$cache_file"
22467 else
22468 case $cache_file in #(
22469 */* | ?:*)
22470 mv -f confcache "$cache_file"$$ &&
22471 mv -f "$cache_file"$$ "$cache_file" ;; #(
22473 mv -f confcache "$cache_file" ;;
22474 esac
22477 else
22478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22479 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22482 rm -f confcache
22484 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22485 # Let make expand exec_prefix.
22486 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22488 DEFS=-DHAVE_CONFIG_H
22490 ac_libobjs=
22491 ac_ltlibobjs=
22493 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22494 # 1. Remove the extension, and $U if already installed.
22495 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22496 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22497 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22498 # will be set to the directory where LIBOBJS objects are built.
22499 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22500 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22501 done
22502 LIBOBJS=$ac_libobjs
22504 LTLIBOBJS=$ac_ltlibobjs
22508 : "${CONFIG_STATUS=./config.status}"
22509 ac_write_fail=0
22510 ac_clean_files_save=$ac_clean_files
22511 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22513 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22514 as_write_fail=0
22515 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22516 #! $SHELL
22517 # Generated by $as_me.
22518 # Run this file to recreate the current configuration.
22519 # Compiler output produced by configure, useful for debugging
22520 # configure, is in config.log if it exists.
22522 debug=false
22523 ac_cs_recheck=false
22524 ac_cs_silent=false
22526 SHELL=\${CONFIG_SHELL-$SHELL}
22527 export SHELL
22528 _ASEOF
22529 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22530 ## -------------------- ##
22531 ## M4sh Initialization. ##
22532 ## -------------------- ##
22534 # Be more Bourne compatible
22535 DUALCASE=1; export DUALCASE # for MKS sh
22536 as_nop=:
22537 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22538 then :
22539 emulate sh
22540 NULLCMD=:
22541 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22542 # is contrary to our usage. Disable this feature.
22543 alias -g '${1+"$@"}'='"$@"'
22544 setopt NO_GLOB_SUBST
22545 else $as_nop
22546 case `(set -o) 2>/dev/null` in #(
22547 *posix*) :
22548 set -o posix ;; #(
22549 *) :
22551 esac
22556 # Reset variables that may have inherited troublesome values from
22557 # the environment.
22559 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22560 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22561 # side effect of setting IFS to empty, thus disabling word splitting.)
22562 # Quoting is to prevent editors from complaining about space-tab.
22563 as_nl='
22565 export as_nl
22566 IFS=" "" $as_nl"
22568 PS1='$ '
22569 PS2='> '
22570 PS4='+ '
22572 # Ensure predictable behavior from utilities with locale-dependent output.
22573 LC_ALL=C
22574 export LC_ALL
22575 LANGUAGE=C
22576 export LANGUAGE
22578 # We cannot yet rely on "unset" to work, but we need these variables
22579 # to be unset--not just set to an empty or harmless value--now, to
22580 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22581 # also avoids known problems related to "unset" and subshell syntax
22582 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22583 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22584 do eval test \${$as_var+y} \
22585 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22586 done
22588 # Ensure that fds 0, 1, and 2 are open.
22589 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22590 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22591 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22593 # The user is always right.
22594 if ${PATH_SEPARATOR+false} :; then
22595 PATH_SEPARATOR=:
22596 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22597 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22598 PATH_SEPARATOR=';'
22603 # Find who we are. Look in the path if we contain no directory separator.
22604 as_myself=
22605 case $0 in #((
22606 *[\\/]* ) as_myself=$0 ;;
22607 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22608 for as_dir in $PATH
22610 IFS=$as_save_IFS
22611 case $as_dir in #(((
22612 '') as_dir=./ ;;
22613 */) ;;
22614 *) as_dir=$as_dir/ ;;
22615 esac
22616 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22617 done
22618 IFS=$as_save_IFS
22621 esac
22622 # We did not find ourselves, most probably we were run as `sh COMMAND'
22623 # in which case we are not to be found in the path.
22624 if test "x$as_myself" = x; then
22625 as_myself=$0
22627 if test ! -f "$as_myself"; then
22628 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22629 exit 1
22634 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22635 # ----------------------------------------
22636 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22637 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22638 # script with STATUS, using 1 if that was 0.
22639 as_fn_error ()
22641 as_status=$1; test $as_status -eq 0 && as_status=1
22642 if test "$4"; then
22643 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22644 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22646 printf "%s\n" "$as_me: error: $2" >&2
22647 as_fn_exit $as_status
22648 } # as_fn_error
22652 # as_fn_set_status STATUS
22653 # -----------------------
22654 # Set $? to STATUS, without forking.
22655 as_fn_set_status ()
22657 return $1
22658 } # as_fn_set_status
22660 # as_fn_exit STATUS
22661 # -----------------
22662 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22663 as_fn_exit ()
22665 set +e
22666 as_fn_set_status $1
22667 exit $1
22668 } # as_fn_exit
22670 # as_fn_unset VAR
22671 # ---------------
22672 # Portably unset VAR.
22673 as_fn_unset ()
22675 { eval $1=; unset $1;}
22677 as_unset=as_fn_unset
22679 # as_fn_append VAR VALUE
22680 # ----------------------
22681 # Append the text in VALUE to the end of the definition contained in VAR. Take
22682 # advantage of any shell optimizations that allow amortized linear growth over
22683 # repeated appends, instead of the typical quadratic growth present in naive
22684 # implementations.
22685 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22686 then :
22687 eval 'as_fn_append ()
22689 eval $1+=\$2
22691 else $as_nop
22692 as_fn_append ()
22694 eval $1=\$$1\$2
22696 fi # as_fn_append
22698 # as_fn_arith ARG...
22699 # ------------------
22700 # Perform arithmetic evaluation on the ARGs, and store the result in the
22701 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22702 # must be portable across $(()) and expr.
22703 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22704 then :
22705 eval 'as_fn_arith ()
22707 as_val=$(( $* ))
22709 else $as_nop
22710 as_fn_arith ()
22712 as_val=`expr "$@" || test $? -eq 1`
22714 fi # as_fn_arith
22717 if expr a : '\(a\)' >/dev/null 2>&1 &&
22718 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22719 as_expr=expr
22720 else
22721 as_expr=false
22724 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22725 as_basename=basename
22726 else
22727 as_basename=false
22730 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22731 as_dirname=dirname
22732 else
22733 as_dirname=false
22736 as_me=`$as_basename -- "$0" ||
22737 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22738 X"$0" : 'X\(//\)$' \| \
22739 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22740 printf "%s\n" X/"$0" |
22741 sed '/^.*\/\([^/][^/]*\)\/*$/{
22742 s//\1/
22745 /^X\/\(\/\/\)$/{
22746 s//\1/
22749 /^X\/\(\/\).*/{
22750 s//\1/
22753 s/.*/./; q'`
22755 # Avoid depending upon Character Ranges.
22756 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22757 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22758 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22759 as_cr_digits='0123456789'
22760 as_cr_alnum=$as_cr_Letters$as_cr_digits
22763 # Determine whether it's possible to make 'echo' print without a newline.
22764 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22765 # for compatibility with existing Makefiles.
22766 ECHO_C= ECHO_N= ECHO_T=
22767 case `echo -n x` in #(((((
22768 -n*)
22769 case `echo 'xy\c'` in
22770 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22771 xy) ECHO_C='\c';;
22772 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22773 ECHO_T=' ';;
22774 esac;;
22776 ECHO_N='-n';;
22777 esac
22779 # For backward compatibility with old third-party macros, we provide
22780 # the shell variables $as_echo and $as_echo_n. New code should use
22781 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22782 as_echo='printf %s\n'
22783 as_echo_n='printf %s'
22785 rm -f conf$$ conf$$.exe conf$$.file
22786 if test -d conf$$.dir; then
22787 rm -f conf$$.dir/conf$$.file
22788 else
22789 rm -f conf$$.dir
22790 mkdir conf$$.dir 2>/dev/null
22792 if (echo >conf$$.file) 2>/dev/null; then
22793 if ln -s conf$$.file conf$$ 2>/dev/null; then
22794 as_ln_s='ln -s'
22795 # ... but there are two gotchas:
22796 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22797 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22798 # In both cases, we have to default to `cp -pR'.
22799 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22800 as_ln_s='cp -pR'
22801 elif ln conf$$.file conf$$ 2>/dev/null; then
22802 as_ln_s=ln
22803 else
22804 as_ln_s='cp -pR'
22806 else
22807 as_ln_s='cp -pR'
22809 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22810 rmdir conf$$.dir 2>/dev/null
22813 # as_fn_mkdir_p
22814 # -------------
22815 # Create "$as_dir" as a directory, including parents if necessary.
22816 as_fn_mkdir_p ()
22819 case $as_dir in #(
22820 -*) as_dir=./$as_dir;;
22821 esac
22822 test -d "$as_dir" || eval $as_mkdir_p || {
22823 as_dirs=
22824 while :; do
22825 case $as_dir in #(
22826 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22827 *) as_qdir=$as_dir;;
22828 esac
22829 as_dirs="'$as_qdir' $as_dirs"
22830 as_dir=`$as_dirname -- "$as_dir" ||
22831 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22832 X"$as_dir" : 'X\(//\)[^/]' \| \
22833 X"$as_dir" : 'X\(//\)$' \| \
22834 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22835 printf "%s\n" X"$as_dir" |
22836 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22837 s//\1/
22840 /^X\(\/\/\)[^/].*/{
22841 s//\1/
22844 /^X\(\/\/\)$/{
22845 s//\1/
22848 /^X\(\/\).*/{
22849 s//\1/
22852 s/.*/./; q'`
22853 test -d "$as_dir" && break
22854 done
22855 test -z "$as_dirs" || eval "mkdir $as_dirs"
22856 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22859 } # as_fn_mkdir_p
22860 if mkdir -p . 2>/dev/null; then
22861 as_mkdir_p='mkdir -p "$as_dir"'
22862 else
22863 test -d ./-p && rmdir ./-p
22864 as_mkdir_p=false
22868 # as_fn_executable_p FILE
22869 # -----------------------
22870 # Test if FILE is an executable regular file.
22871 as_fn_executable_p ()
22873 test -f "$1" && test -x "$1"
22874 } # as_fn_executable_p
22875 as_test_x='test -x'
22876 as_executable_p=as_fn_executable_p
22878 # Sed expression to map a string onto a valid CPP name.
22879 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22881 # Sed expression to map a string onto a valid variable name.
22882 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22885 exec 6>&1
22886 ## ----------------------------------- ##
22887 ## Main body of $CONFIG_STATUS script. ##
22888 ## ----------------------------------- ##
22889 _ASEOF
22890 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22893 # Save the log message, to keep $0 and so on meaningful, and to
22894 # report actual input values of CONFIG_FILES etc. instead of their
22895 # values after options handling.
22896 ac_log="
22897 This file was extended by Wine $as_me 7.9, which was
22898 generated by GNU Autoconf 2.71. Invocation command line was
22900 CONFIG_FILES = $CONFIG_FILES
22901 CONFIG_HEADERS = $CONFIG_HEADERS
22902 CONFIG_LINKS = $CONFIG_LINKS
22903 CONFIG_COMMANDS = $CONFIG_COMMANDS
22904 $ $0 $@
22906 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22909 _ACEOF
22912 case $ac_config_headers in *"
22913 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22914 esac
22917 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22918 # Files that config.status was made for.
22919 config_headers="$ac_config_headers"
22920 config_links="$ac_config_links"
22921 config_commands="$ac_config_commands"
22923 _ACEOF
22925 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22926 ac_cs_usage="\
22927 \`$as_me' instantiates files and other configuration actions
22928 from templates according to the current configuration. Unless the files
22929 and actions are specified as TAGs, all are instantiated by default.
22931 Usage: $0 [OPTION]... [TAG]...
22933 -h, --help print this help, then exit
22934 -V, --version print version number and configuration settings, then exit
22935 --config print configuration, then exit
22936 -q, --quiet, --silent
22937 do not print progress messages
22938 -d, --debug don't remove temporary files
22939 --recheck update $as_me by reconfiguring in the same conditions
22940 --header=FILE[:TEMPLATE]
22941 instantiate the configuration header FILE
22943 Configuration headers:
22944 $config_headers
22946 Configuration links:
22947 $config_links
22949 Configuration commands:
22950 $config_commands
22952 Report bugs to <wine-devel@winehq.org>.
22953 Wine home page: <https://www.winehq.org>."
22955 _ACEOF
22956 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22957 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22959 ac_cs_config='$ac_cs_config_escaped'
22960 ac_cs_version="\\
22961 Wine config.status 7.9
22962 configured by $0, generated by GNU Autoconf 2.71,
22963 with options \\"\$ac_cs_config\\"
22965 Copyright (C) 2021 Free Software Foundation, Inc.
22966 This config.status script is free software; the Free Software Foundation
22967 gives unlimited permission to copy, distribute and modify it."
22969 ac_pwd='$ac_pwd'
22970 srcdir='$srcdir'
22971 test -n "\$AWK" || AWK=awk
22972 _ACEOF
22974 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22975 # The default lists apply if the user does not specify any file.
22976 ac_need_defaults=:
22977 while test $# != 0
22979 case $1 in
22980 --*=?*)
22981 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22982 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22983 ac_shift=:
22985 --*=)
22986 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22987 ac_optarg=
22988 ac_shift=:
22991 ac_option=$1
22992 ac_optarg=$2
22993 ac_shift=shift
22995 esac
22997 case $ac_option in
22998 # Handling of the options.
22999 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23000 ac_cs_recheck=: ;;
23001 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23002 printf "%s\n" "$ac_cs_version"; exit ;;
23003 --config | --confi | --conf | --con | --co | --c )
23004 printf "%s\n" "$ac_cs_config"; exit ;;
23005 --debug | --debu | --deb | --de | --d | -d )
23006 debug=: ;;
23007 --header | --heade | --head | --hea )
23008 $ac_shift
23009 case $ac_optarg in
23010 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23011 esac
23012 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23013 ac_need_defaults=false;;
23014 --he | --h)
23015 # Conflict between --help and --header
23016 as_fn_error $? "ambiguous option: \`$1'
23017 Try \`$0 --help' for more information.";;
23018 --help | --hel | -h )
23019 printf "%s\n" "$ac_cs_usage"; exit ;;
23020 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23021 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23022 ac_cs_silent=: ;;
23024 # This is an error.
23025 -*) as_fn_error $? "unrecognized option: \`$1'
23026 Try \`$0 --help' for more information." ;;
23028 *) as_fn_append ac_config_targets " $1"
23029 ac_need_defaults=false ;;
23031 esac
23032 shift
23033 done
23035 ac_configure_extra_args=
23037 if $ac_cs_silent; then
23038 exec 6>/dev/null
23039 ac_configure_extra_args="$ac_configure_extra_args --silent"
23042 _ACEOF
23043 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23044 if \$ac_cs_recheck; then
23045 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23046 shift
23047 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23048 CONFIG_SHELL='$SHELL'
23049 export CONFIG_SHELL
23050 exec "\$@"
23053 _ACEOF
23054 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23055 exec 5>>config.log
23057 echo
23058 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23059 ## Running $as_me. ##
23060 _ASBOX
23061 printf "%s\n" "$ac_log"
23062 } >&5
23064 _ACEOF
23065 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23067 # INIT-COMMANDS
23069 wine_fn_output_makedep ()
23071 as_dir=tools; as_fn_mkdir_p
23072 $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
23074 wine_fn_output_makefile ()
23076 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23077 # This Makefile understands the following targets:
23079 # all (default): build wine
23080 # clean: remove all intermediate files
23081 # distclean: also remove all files created by configure
23082 # test: run tests
23083 # testclean: clean test results to force running all tests again
23084 # install-lib: install libraries needed to run applications
23085 # install-dev: install development environment
23086 # install: install everything
23087 # uninstall: uninstall everything
23088 # ctags: create a tags file for vim and others.
23089 # etags: create a TAGS file for Emacs.
23091 SHELL = $SHELL
23092 PATH_SEPARATOR = $PATH_SEPARATOR
23093 PACKAGE_NAME = $PACKAGE_NAME
23094 PACKAGE_TARNAME = $PACKAGE_TARNAME
23095 PACKAGE_VERSION = $PACKAGE_VERSION
23096 PACKAGE_STRING = $PACKAGE_STRING
23097 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23098 PACKAGE_URL = $PACKAGE_URL
23099 exec_prefix = $exec_prefix
23100 prefix = $prefix
23101 program_transform_name = $program_transform_name
23102 bindir = $bindir
23103 sbindir = $sbindir
23104 libexecdir = $libexecdir
23105 datarootdir = $datarootdir
23106 datadir = $datadir
23107 sysconfdir = $sysconfdir
23108 sharedstatedir = $sharedstatedir
23109 localstatedir = $localstatedir
23110 runstatedir = $runstatedir
23111 includedir = $includedir
23112 oldincludedir = $oldincludedir
23113 docdir = $docdir
23114 infodir = $infodir
23115 htmldir = $htmldir
23116 dvidir = $dvidir
23117 pdfdir = $pdfdir
23118 psdir = $psdir
23119 libdir = $libdir
23120 localedir = $localedir
23121 mandir = $mandir
23122 DEFS = $DEFS
23123 ECHO_C = $ECHO_C
23124 ECHO_N = $ECHO_N
23125 ECHO_T = $ECHO_T
23126 LIBS = $LIBS
23127 build_alias = $build_alias
23128 host_alias = $host_alias
23129 target_alias = $target_alias
23130 system_dllpath = $system_dllpath
23131 build = $build
23132 build_cpu = $build_cpu
23133 build_vendor = $build_vendor
23134 build_os = $build_os
23135 host = $host
23136 host_cpu = $host_cpu
23137 host_vendor = $host_vendor
23138 host_os = $host_os
23139 dlldir = $dlldir
23140 fontdir = $fontdir
23141 nlsdir = $nlsdir
23142 srcdir = $srcdir
23143 SET_MAKE = $SET_MAKE
23144 CC = $CC
23145 CFLAGS = $CFLAGS
23146 LDFLAGS = $LDFLAGS
23147 CPPFLAGS = $CPPFLAGS
23148 ac_ct_CC = $ac_ct_CC
23149 EXEEXT = $EXEEXT
23150 OBJEXT = $OBJEXT
23151 CXX = $CXX
23152 CXXFLAGS = $CXXFLAGS
23153 ac_ct_CXX = $ac_ct_CXX
23154 CPPBIN = $CPPBIN
23155 LD = $LD
23156 TARGETFLAGS = $TARGETFLAGS
23157 toolsext = $toolsext
23158 toolsdir = $toolsdir
23159 MAKEDEP = $MAKEDEP
23160 RUNTESTFLAGS = $RUNTESTFLAGS
23161 SED_CMD = $SED_CMD
23162 FLEX = $FLEX
23163 BISON = $BISON
23164 AR = $AR
23165 ac_ct_AR = $ac_ct_AR
23166 STRIP = $STRIP
23167 RANLIB = $RANLIB
23168 LN_S = $LN_S
23169 GREP = $GREP
23170 EGREP = $EGREP
23171 LDCONFIG = $LDCONFIG
23172 MSGFMT = $MSGFMT
23173 PKG_CONFIG = $PKG_CONFIG
23174 FONTFORGE = $FONTFORGE
23175 RSVG = $RSVG
23176 CONVERT = $CONVERT
23177 ICOTOOL = $ICOTOOL
23178 I386_LIBS = $I386_LIBS
23179 OPENGL_LIBS = $OPENGL_LIBS
23180 DLLFLAGS = $DLLFLAGS
23181 LDDLLFLAGS = $LDDLLFLAGS
23182 LDEXECFLAGS = $LDEXECFLAGS
23183 EXTRACFLAGS = $EXTRACFLAGS
23184 UNIXDLLFLAGS = $UNIXDLLFLAGS
23185 UNIXLDFLAGS = $UNIXLDFLAGS
23186 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23187 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23188 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23189 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23190 LDD = $LDD
23191 OTOOL = $OTOOL
23192 READELF = $READELF
23193 SUBDIRS = $SUBDIRS
23194 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23195 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23196 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23197 DLLTOOL = $DLLTOOL
23198 OBJC = $OBJC
23199 OBJCFLAGS = $OBJCFLAGS
23200 ac_ct_OBJC = $ac_ct_OBJC
23201 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23202 IOKIT_LIBS = $IOKIT_LIBS
23203 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23204 CORESERVICES_LIBS = $CORESERVICES_LIBS
23205 APPKIT_LIBS = $APPKIT_LIBS
23206 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23207 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23208 SECURITY_LIBS = $SECURITY_LIBS
23209 COREAUDIO_LIBS = $COREAUDIO_LIBS
23210 OPENAL_LIBS = $OPENAL_LIBS
23211 OPENCL_LIBS = $OPENCL_LIBS
23212 CARBON_LIBS = $CARBON_LIBS
23213 METAL_LIBS = $METAL_LIBS
23214 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23215 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23216 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23217 PRELINK = $PRELINK
23218 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23219 CROSSTARGET = $CROSSTARGET
23220 CROSSCC = $CROSSCC
23221 CROSSCFLAGS = $CROSSCFLAGS
23222 EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
23223 CROSSLDFLAGS = $CROSSLDFLAGS
23224 DELAYLOADFLAG = $DELAYLOADFLAG
23225 CROSSDEBUG = $CROSSDEBUG
23226 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
23227 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23228 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23229 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23230 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23231 GSM_PE_LIBS = $GSM_PE_LIBS
23232 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23233 JPEG_PE_LIBS = $JPEG_PE_LIBS
23234 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23235 JXR_PE_LIBS = $JXR_PE_LIBS
23236 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23237 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23238 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23239 MPG123_PE_LIBS = $MPG123_PE_LIBS
23240 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23241 PNG_PE_LIBS = $PNG_PE_LIBS
23242 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23243 TIFF_PE_LIBS = $TIFF_PE_LIBS
23244 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23245 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23246 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23247 XML2_PE_LIBS = $XML2_PE_LIBS
23248 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23249 XSLT_PE_LIBS = $XSLT_PE_LIBS
23250 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23251 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23252 PTHREAD_LIBS = $PTHREAD_LIBS
23253 XMKMF = $XMKMF
23254 CPP = $CPP
23255 X_CFLAGS = $X_CFLAGS
23256 X_PRE_LIBS = $X_PRE_LIBS
23257 X_LIBS = $X_LIBS
23258 X_EXTRA_LIBS = $X_EXTRA_LIBS
23259 PCAP_LIBS = $PCAP_LIBS
23260 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23261 INOTIFY_LIBS = $INOTIFY_LIBS
23262 DBUS_CFLAGS = $DBUS_CFLAGS
23263 DBUS_LIBS = $DBUS_LIBS
23264 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23265 GNUTLS_LIBS = $GNUTLS_LIBS
23266 SANE_CFLAGS = $SANE_CFLAGS
23267 SANE_LIBS = $SANE_LIBS
23268 USB_CFLAGS = $USB_CFLAGS
23269 USB_LIBS = $USB_LIBS
23270 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23271 GPHOTO2_LIBS = $GPHOTO2_LIBS
23272 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23273 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23274 RESOLV_LIBS = $RESOLV_LIBS
23275 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23276 FREETYPE_LIBS = $FREETYPE_LIBS
23277 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23278 PULSE_CFLAGS = $PULSE_CFLAGS
23279 PULSE_LIBS = $PULSE_LIBS
23280 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23281 GSTREAMER_LIBS = $GSTREAMER_LIBS
23282 ALSA_LIBS = $ALSA_LIBS
23283 OSS4_CFLAGS = $OSS4_CFLAGS
23284 OSS4_LIBS = $OSS4_LIBS
23285 UDEV_CFLAGS = $UDEV_CFLAGS
23286 UDEV_LIBS = $UDEV_LIBS
23287 UNWIND_CFLAGS = $UNWIND_CFLAGS
23288 UNWIND_LIBS = $UNWIND_LIBS
23289 SDL2_CFLAGS = $SDL2_CFLAGS
23290 SDL2_LIBS = $SDL2_LIBS
23291 CAPI20_CFLAGS = $CAPI20_CFLAGS
23292 CAPI20_LIBS = $CAPI20_LIBS
23293 CUPS_CFLAGS = $CUPS_CFLAGS
23294 CUPS_LIBS = $CUPS_LIBS
23295 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23296 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23297 KRB5_CFLAGS = $KRB5_CFLAGS
23298 KRB5_LIBS = $KRB5_LIBS
23299 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23300 GSSAPI_LIBS = $GSSAPI_LIBS
23301 PROCSTAT_LIBS = $PROCSTAT_LIBS
23302 NETAPI_CFLAGS = $NETAPI_CFLAGS
23303 NETAPI_LIBS = $NETAPI_LIBS
23304 MSVCRTFLAGS = $MSVCRTFLAGS
23305 RT_LIBS = $RT_LIBS
23306 LDAP_CFLAGS = $LDAP_CFLAGS
23307 LDAP_LIBS = $LDAP_LIBS
23308 TAGSFLAGS = $TAGSFLAGS
23309 LIBOBJS = $LIBOBJS
23310 LTLIBOBJS = $LTLIBOBJS
23311 $SET_MAKE
23312 $wine_rules
23313 _WINE_EOF
23314 as_fn_error $? "could not create Makefile" "$LINENO" 5
23317 _ACEOF
23319 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23321 # Handling of arguments.
23322 for ac_config_target in $ac_config_targets
23324 case $ac_config_target in
23325 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23326 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23327 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23328 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23329 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23330 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23332 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23333 esac
23334 done
23337 # If the user did not use the arguments to specify the items to instantiate,
23338 # then the envvar interface is used. Set only those that are not.
23339 # We use the long form for the default assignment because of an extremely
23340 # bizarre bug on SunOS 4.1.3.
23341 if $ac_need_defaults; then
23342 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23343 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23344 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23347 # Have a temporary directory for convenience. Make it in the build tree
23348 # simply because there is no reason against having it here, and in addition,
23349 # creating and moving files from /tmp can sometimes cause problems.
23350 # Hook for its removal unless debugging.
23351 # Note that there is a small window in which the directory will not be cleaned:
23352 # after its creation but before its name has been assigned to `$tmp'.
23353 $debug ||
23355 tmp= ac_tmp=
23356 trap 'exit_status=$?
23357 : "${ac_tmp:=$tmp}"
23358 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23360 trap 'as_fn_exit 1' 1 2 13 15
23362 # Create a (secure) tmp directory for tmp files.
23365 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23366 test -d "$tmp"
23367 } ||
23369 tmp=./conf$$-$RANDOM
23370 (umask 077 && mkdir "$tmp")
23371 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23372 ac_tmp=$tmp
23374 # Set up the scripts for CONFIG_HEADERS section.
23375 # No need to generate them if there are no CONFIG_HEADERS.
23376 # This happens for instance with `./config.status Makefile'.
23377 if test -n "$CONFIG_HEADERS"; then
23378 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23379 BEGIN {
23380 _ACEOF
23382 # Transform confdefs.h into an awk script `defines.awk', embedded as
23383 # here-document in config.status, that substitutes the proper values into
23384 # config.h.in to produce config.h.
23386 # Create a delimiter string that does not exist in confdefs.h, to ease
23387 # handling of long lines.
23388 ac_delim='%!_!# '
23389 for ac_last_try in false false :; do
23390 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23391 if test -z "$ac_tt"; then
23392 break
23393 elif $ac_last_try; then
23394 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23395 else
23396 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23398 done
23400 # For the awk script, D is an array of macro values keyed by name,
23401 # likewise P contains macro parameters if any. Preserve backslash
23402 # newline sequences.
23404 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23405 sed -n '
23406 s/.\{148\}/&'"$ac_delim"'/g
23407 t rset
23408 :rset
23409 s/^[ ]*#[ ]*define[ ][ ]*/ /
23410 t def
23412 :def
23413 s/\\$//
23414 t bsnl
23415 s/["\\]/\\&/g
23416 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23417 D["\1"]=" \3"/p
23418 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23420 :bsnl
23421 s/["\\]/\\&/g
23422 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23423 D["\1"]=" \3\\\\\\n"\\/p
23424 t cont
23425 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23426 t cont
23428 :cont
23430 s/.\{148\}/&'"$ac_delim"'/g
23431 t clear
23432 :clear
23433 s/\\$//
23434 t bsnlc
23435 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23437 :bsnlc
23438 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23439 b cont
23440 ' <confdefs.h | sed '
23441 s/'"$ac_delim"'/"\\\
23442 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23445 for (key in D) D_is_set[key] = 1
23446 FS = "\a"
23448 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23449 line = \$ 0
23450 split(line, arg, " ")
23451 if (arg[1] == "#") {
23452 defundef = arg[2]
23453 mac1 = arg[3]
23454 } else {
23455 defundef = substr(arg[1], 2)
23456 mac1 = arg[2]
23458 split(mac1, mac2, "(") #)
23459 macro = mac2[1]
23460 prefix = substr(line, 1, index(line, defundef) - 1)
23461 if (D_is_set[macro]) {
23462 # Preserve the white space surrounding the "#".
23463 print prefix "define", macro P[macro] D[macro]
23464 next
23465 } else {
23466 # Replace #undef with comments. This is necessary, for example,
23467 # in the case of _POSIX_SOURCE, which is predefined and required
23468 # on some systems where configure will not decide to define it.
23469 if (defundef == "undef") {
23470 print "/*", prefix defundef, macro, "*/"
23471 next
23475 { print }
23476 _ACAWK
23477 _ACEOF
23478 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23479 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23480 fi # test -n "$CONFIG_HEADERS"
23483 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23484 shift
23485 for ac_tag
23487 case $ac_tag in
23488 :[FHLC]) ac_mode=$ac_tag; continue;;
23489 esac
23490 case $ac_mode$ac_tag in
23491 :[FHL]*:*);;
23492 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23493 :[FH]-) ac_tag=-:-;;
23494 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23495 esac
23496 ac_save_IFS=$IFS
23497 IFS=:
23498 set x $ac_tag
23499 IFS=$ac_save_IFS
23500 shift
23501 ac_file=$1
23502 shift
23504 case $ac_mode in
23505 :L) ac_source=$1;;
23506 :[FH])
23507 ac_file_inputs=
23508 for ac_f
23510 case $ac_f in
23511 -) ac_f="$ac_tmp/stdin";;
23512 *) # Look for the file first in the build tree, then in the source tree
23513 # (if the path is not absolute). The absolute path cannot be DOS-style,
23514 # because $ac_f cannot contain `:'.
23515 test -f "$ac_f" ||
23516 case $ac_f in
23517 [\\/$]*) false;;
23518 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23519 esac ||
23520 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23521 esac
23522 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23523 as_fn_append ac_file_inputs " '$ac_f'"
23524 done
23526 # Let's still pretend it is `configure' which instantiates (i.e., don't
23527 # use $as_me), people would be surprised to read:
23528 # /* config.h. Generated by config.status. */
23529 configure_input='Generated from '`
23530 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23531 `' by configure.'
23532 if test x"$ac_file" != x-; then
23533 configure_input="$ac_file. $configure_input"
23534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23535 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23537 # Neutralize special characters interpreted by sed in replacement strings.
23538 case $configure_input in #(
23539 *\&* | *\|* | *\\* )
23540 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23541 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23542 *) ac_sed_conf_input=$configure_input;;
23543 esac
23545 case $ac_tag in
23546 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23547 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23548 esac
23550 esac
23552 ac_dir=`$as_dirname -- "$ac_file" ||
23553 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23554 X"$ac_file" : 'X\(//\)[^/]' \| \
23555 X"$ac_file" : 'X\(//\)$' \| \
23556 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23557 printf "%s\n" X"$ac_file" |
23558 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23559 s//\1/
23562 /^X\(\/\/\)[^/].*/{
23563 s//\1/
23566 /^X\(\/\/\)$/{
23567 s//\1/
23570 /^X\(\/\).*/{
23571 s//\1/
23574 s/.*/./; q'`
23575 as_dir="$ac_dir"; as_fn_mkdir_p
23576 ac_builddir=.
23578 case "$ac_dir" in
23579 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23581 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23582 # A ".." for each directory in $ac_dir_suffix.
23583 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23584 case $ac_top_builddir_sub in
23585 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23586 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23587 esac ;;
23588 esac
23589 ac_abs_top_builddir=$ac_pwd
23590 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23591 # for backward compatibility:
23592 ac_top_builddir=$ac_top_build_prefix
23594 case $srcdir in
23595 .) # We are building in place.
23596 ac_srcdir=.
23597 ac_top_srcdir=$ac_top_builddir_sub
23598 ac_abs_top_srcdir=$ac_pwd ;;
23599 [\\/]* | ?:[\\/]* ) # Absolute name.
23600 ac_srcdir=$srcdir$ac_dir_suffix;
23601 ac_top_srcdir=$srcdir
23602 ac_abs_top_srcdir=$srcdir ;;
23603 *) # Relative name.
23604 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23605 ac_top_srcdir=$ac_top_build_prefix$srcdir
23606 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23607 esac
23608 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23611 case $ac_mode in
23615 # CONFIG_HEADER
23617 if test x"$ac_file" != x-; then
23619 printf "%s\n" "/* $configure_input */" >&1 \
23620 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23621 } >"$ac_tmp/config.h" \
23622 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23623 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23625 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23626 else
23627 rm -f "$ac_file"
23628 mv "$ac_tmp/config.h" "$ac_file" \
23629 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23631 else
23632 printf "%s\n" "/* $configure_input */" >&1 \
23633 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23634 || as_fn_error $? "could not create -" "$LINENO" 5
23639 # CONFIG_LINK
23642 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23644 else
23645 # Prefer the file from the source tree if names are identical.
23646 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23647 ac_source=$srcdir/$ac_source
23650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23651 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23653 if test ! -r "$ac_source"; then
23654 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23656 rm -f "$ac_file"
23658 # Try a relative symlink, then a hard link, then a copy.
23659 case $ac_source in
23660 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23661 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23662 esac
23663 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23664 ln "$ac_source" "$ac_file" 2>/dev/null ||
23665 cp -p "$ac_source" "$ac_file" ||
23666 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23669 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23670 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23672 esac
23675 case $ac_file$ac_mode in
23676 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23677 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23678 "Makefile":C) wine_fn_output_makefile Makefile ;;
23680 esac
23681 done # for ac_tag
23684 as_fn_exit 0
23685 _ACEOF
23686 ac_clean_files=$ac_clean_files_save
23688 test $ac_write_fail = 0 ||
23689 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23692 # configure is writing to config.log, and then calls config.status.
23693 # config.status does its own redirection, appending to config.log.
23694 # Unfortunately, on DOS this fails, as config.log is still kept open
23695 # by configure, so config.status won't be able to write to it; its
23696 # output is simply discarded. So we exec the FD to /dev/null,
23697 # effectively closing config.log, so it can be properly (re)opened and
23698 # appended to by config.status. When coming back to configure, we
23699 # need to make the FD available again.
23700 if test "$no_create" != yes; then
23701 ac_cs_success=:
23702 ac_config_status_args=
23703 test "$silent" = yes &&
23704 ac_config_status_args="$ac_config_status_args --quiet"
23705 exec 5>/dev/null
23706 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23707 exec 5>>config.log
23708 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23709 # would make configure fail if this is the last instruction.
23710 $ac_cs_success || as_fn_exit 1
23712 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23714 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23718 if test "$no_create" = "yes"
23719 then
23720 exit 0
23723 ac_save_IFS="$IFS"
23724 if test "x$wine_notices" != x; then
23725 echo >&6
23726 IFS="|"
23727 for msg in $wine_notices; do
23728 IFS="$ac_save_IFS"
23729 if ${msg:+false} :
23730 then :
23732 else $as_nop
23733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23734 printf "%s\n" "$as_me: $msg" >&6;}
23736 done
23738 IFS="|"
23739 for msg in $wine_warnings; do
23740 IFS="$ac_save_IFS"
23741 if ${msg:+false} :
23742 then :
23744 else $as_nop
23745 echo >&2
23746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23747 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23749 done
23750 IFS="$ac_save_IFS"
23752 printf "%s\n" "
23753 $as_me: Finished. Do '${ac_make}' to compile Wine.
23754 " >&6